1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[107],{9364:function(e,t,n){"use strict";var r=n(9538),i=n(9277),a=n(7571),c=n(5944);t.Z=function(e){var t=e.children,n=e.title,o=e.disabledSearch;return(0,c.BX)("div",{css:a.vw,children:[(0,c.tZ)(i.bU,{disabledSearch:o,children:n}),(0,c.tZ)(i.fv,{}),(0,c.tZ)("main",{children:t}),(0,c.tZ)(r.V,{}),(0,c.tZ)(i.$_,{})]})}},102:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return B}});var r=n(9008),i=n.n(r),a=n(9364),c=n(29),o=n(7794),l=n.n(o);var s={name:"y14ie0",styles:"font-family:'Pretendard',sans-serif;.inner{width:375px;height:171px;text-align:center;}img{margin:0 auto;}h3{color:#fff;font-size:15px;font-weight:300;letter-spacing:-0.5px;}p{color:#fff;margin-top:16px;font-size:15px;line-height:24px;letter-spacing:-0.5px;}.article-list{padding:32px 20px;}.article-item{display:flex;justify-content:space-between;gap:1rem;padding:10px 0;span{align-items:flex-start;}&__content{display:flex;width:100%;}&__title{display:flex;margin:0;align-items:center;font-size:12px;line-height:14.63px;font-weight:normal;color:#909090;}&__number{display:inline-flex;justify-content:left;align-items:center;width:20px;height:20px;color:#333333;border-radius:50%;font-size:14px;margin-right:8px;line-height:17.07px;}&__description{font-size:14px;line-height:18px;color:#000000;font-weight:400;margin-top:5px;}&__image{width:80px;height:80px;object-fit:cover;}}.view-buttons{display:grid;grid-template-columns:1fr 1fr;margin-top:32px;}.view-button{padding:12px;border:1px solid #ddd;background:none;text-align:center;font-size:14px;width:100%;}.den-footer{margin-bottom:-4px;img{width:100%;}}.magazine{display:flex;align-items:center;margin-bottom:20px;gap:1.5rem;}.magazine-cover img{width:6.5rem;height:auto;border:1px solid #ddd;border-radius:5px;}.magazine-info{flex:1;h2{font-size:15px;line-height:18px;margin-bottom:5px;color:#000000;}p{font-size:16px;line-height:19px;color:#000000;}}.featured-article{img{width:100%;margin-bottom:10px;}h3{font-size:20px;line-height:20px;color:#333;text-align:center;font-weight:500;}}"},d=function(){return s},u=n(2484),h=n(2450),f=n(5944),p=function(e){var t=e.item,n=e.index;return(0,f.BX)("article",{className:"article-item",style:{borderTop:0===n?"1.6px solid #000":"none",paddingTop:0===n?"20p
1x":"0"},children:[(0,f.BX)("div",{className:"article-item__content",children:[(0,f.tZ)("span",{className:"article-item__number",children:n+1}),(0,f.BX)("div",{children:[(0,f.tZ)("h3",{className:"article-item__title",children:t.category}),(0,f.tZ)("a",{href:t.link,target:"_blank",rel:"noreferrer",style:{textDecoration:"none",color:"inherit"},children:(0,f.tZ)("p",{className:"article-item__description",children:t.title})})]})]}),(0,f.tZ)("a",{href:t.link,target:"_blank",rel:"noreferrer",children:(0,f.tZ)("img",{alt:t.title,src:t.imageUrl||h._e,onError:function(e){e.currentTarget.onerror=null,e.currentTarget.src=h._e},className:"article-item__image"})})]})},m=n(7294),g=n(5516),x="".concat("https://api.doctorville.co.kr/api","/den-magazine"),Z=function(){var e=(0,c.Z)(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,g.U2)("".concat(x,"/random"));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),v=function(){var e=(0,c.Z)(l().mark((function e(){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,g.U2)("".concat(x,"/item"));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),_=function(e){var t=e.currentDenMagazine,n=(0,m.useState)([]),r=n[0],i=n[1],a=(0,m.useCallback)((0,c.Z)(l().mark((function e(){var t;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Z();case 2:t=e.sent,i(t.differResponseData.data);case 4:case"end":return e.stop()}}),e)}))),[]);return(0,m.useEffect)((function(){a().then()}),[a]),(0,f.tZ)("div",{css:d,children:(0,f.BX)(u.$0,{children:[r.map((function(e,t){return(0,f.tZ)(p,{item:e,index:t},t)})),(0,f.BX)("div",{className:"view-buttons",children:[(0,f.tZ)("a",{href:t,target:"_blank",rel:"noreferrer",style:{textDecoration:"none",color:"inherit"},children:(0,f.tZ)("button",{className:"view-button",style:{borderRight:"none"},children:"\uc774\ubc88 \ud638 \uc804\uccb4\ubcf4\uae30 \u2192"})}),(0,f.tZ)("a",{href:"https://www.theden.co.kr/news/serial.html",target:"_blank",rel:"noreferrer",style:{textDecoration:"none",color:"inherit"},children:(0,f.tZ)("button",{className:"view-button",children:"\uc9c0\ub09c \ud638 \uc804\uccb4\ubcf4\uae30 \u2192"})})]})]})})},b=n(4248),w=function(){return(0,f.tZ)(f.HY,{children:(0,f.tZ)(b.uj,{href:"#",image:{src:"/images/den/visual.png",alt:"den"}})})},k=n(3797),y=function(e){var t=e.denItem;return(0,f.tZ)(f.HY,{children:(0,f.tZ)("div",{css:d,children:(0,f.tZ)(u.$0,{style:k.DX,children:t&&(0,f.BX)(f.HY,{children:[(0,f.BX)("section",{className:"magazine",children:[(0,f.tZ)("div",{className:"magazine-cover",children:(0,f.tZ)("img",{src:t.coverImageUrl||h._e,alt:t.coverTitle||"Cover",onError:function(e){e.currentTarget.onerror=null,e.currentTarget.src=h._e}})}),(0,f.BX)("div",{className:"magazine-info",children:[(0,f.tZ)("h2",{children:t.publicationDate||"\ubc1c\ud589 \ub0a0\uc9dc \uc5c6\uc74c"}),(0,f.tZ)("p",{children:t.coverTitle||"\uc81c\ubaa9 \uc5c6\uc74c"})]})]}),(0,f.BX)("section",{className:"featured-article",children:[(0,f.tZ)("a",{href:t.mainLink,target:"_blank",rel:"noreferrer",children:(0,f.tZ)("img",{src:t.mainImageUrl||h._e,alt:t.mainTitle||"Main Article",onError:function(e){e.currentTarget.onerror=null,e.currentTarget.src=h._e}})}),(0,f.tZ)("a",{href:t.mainLink,target:"_blank",rel:"noreferrer",style:{textDecoration:"none",color:"inherit"},children:(0,f.tZ)("h3",{children:t.mainTitle||"\uba54\uc778 \ubb38\uad6c \uc5c6\uc74c"})})]})]})})})})},z=function(){return(0,f.tZ)(f.HY,{children:(0,f.tZ)("div",{css:d,children:(0,f.tZ)("div",{className:"den-footer",children:(0,f.tZ)("a",{href:"https://magazine.theden.co.kr/?idx=1",target:"_blank",rel:"noreferrer",children:(0,f.tZ)("img",{src:"/images/den/den_bn.jpg",alt:"den"})})})})})},N=function(){var e=(0,m.useState)(),t=e[0],n=e[1],r=(null===t||void 0===t?void 0:t.currentMagazineLink)||void 0,i=(0,m.useCallback)((0,c.Z)(l().mark((function e(){var t;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v();case 2:t=e.sent,n(t.differResponseData.data);case 4:case"end":return e.stop()}}),e)}))),[]);return(0,m.useEffect)((function(){i().then()}),[i]),(0,f.BX)(f.HY,{children:[(0,f.tZ)(w,{}),(0,f.tZ)(y,{denItem:t}),(0,f.tZ)(_,{currentDenMagazine:r}),(0,f.tZ)(z,{})]})},X=function(){return(0,f.BX)(f.HY,{children:[(0,f.tZ)(i(),{children:(0,f.tZ)("title",{children:"\ub2e5\ud130\ube4c | ".concat(T)})}),(0,f.tZ)(N,{})]})};X.getLayout=function(e){return(0,f.tZ)(a.Z,{title:T,children:e})};var T="\ub374 \ub9e4\uac70\uc9c4",B=X},5482:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/fun/denmagazine",function(){return n(102)}])}},function(e){e.O(0,[8692,5675,6349,2484,4248,9774,2888,179],(function(){return t=5482,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.