(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5956],{9393:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/art/ovr/list",function(){return s(7316)}])},3770:function(e,t,s){s(7758);var n=s(2923),a=s(7758);!function(e,t,s,a){UI.curationSw={sliderEl:'[data-slider="curation"]',defaultConfig:{observer:!0,observeParents:!0,initialSlide:0,lazy:!0,breakpoints:{768:{initialSlide:0}},on:{init:function(){}}},setSwiper:function(){var t=this;s(this.sliderEl).each((function(a,i){if(setConfig=s(i).attr("data-swiper")?JSON.parse(i.dataset.swiper):{},i.options=Object.assign({},t.defaultConfig,setConfig),"undefined"!==typeof s(i).attr("data-swiper-reinit")){var r=Number(s(i).attr("data-swiper-reinit"));i.options.initialSlide=r,i.options.breakpoints[768].initialSlide=r,s(i).removeAttr("data-swiper-reinit")}if("undefined"!==typeof i.options.pagination&&(i.options.pagination.el=s(i).closest(".page-kv").find(".swiper-pagination")[0],"fraction"===i.options.pagination.type&&(i.options.pagination.formatFractionCurrent=function(t){return"custom"===s(i).attr("data-curation-page")&&"mo"===e.winWChk?("0"+(t-1!==0?t-1:s(i).find(".swiper-slide:not(.swiper-slide-duplicate)").length)).slice(-2):("0"+t).slice(-2)},i.options.pagination.formatFractionTotal=function(e){return("0"+e).slice(-2)},i.options.pagination.renderFraction=function(e,t){return'<span class="'+e+'"></span><span class="bar"></span><span class="'+t+'"></span>'})),!0===i.options.navigation&&(i.options.navigation={nextEl:s(i).closest(".page-kv").find(".swiper-next"),prevEl:s(i).closest(".page-kv").find(".swiper-prev")}),!0===i.options.loop&&(i.options.loopedSlides=s(i).find(".swiper-slide").length),s(i).hasClass("kv-swiper__gallery")&&"pc"===e.winWChk&&(i.options.autoplay=!1),!0===i.options.autoplay&&(i.options.autoplay={delay:5e3,disableOnInteraction:!1}),"active-bigger"===s(i).attr("data-curation-style")&&(i.options.on.init=function(){s(i).find(".swiper-slide").addClass("changed")},i.options.on.slideChangeTransitionStart=function(){s(i).find(".swiper-slide").addClass("changing"),s(i).find(".swiper-slide").removeClass("changed")},i.options.on.slideChangeTransitionEnd=function(){s(i).find(".swiper-slide").removeClass("changing"),s(i).find(".swiper-slide").addClass("changed")},s("[data-slider=curation]").on("click",".swiper-slide",(function(e){if(!s(this).hasClass("swiper-slide-active")){e.preventDefault();var t=s(this).data("swiper-slide-index"),n=i.options.speed;swInstance.slideToLoop(t,n)}}))),"overlap"===s(i).attr("data-curation-style")&&(i.options.on.init=function(){"pc"===e.winWChk&&(s(i).find(".swiper-slide").eq(this.activeIndex).css("opacity",1).siblings(".swiper-slide").css("opacity",0),s(i).find(".swiper-slide").eq(this.activeIndex-1).css("opacity",1),s(i).find(".swiper-slide").eq(this.activeIndex-2).css("opacity",1))},i.options.on.slideChange=function(){"pc"===e.winWChk&&(s(i).find(".swiper-slide").eq(this.activeIndex).css("opacity",1).siblings(".swiper-slide").css("opacity",0),s(i).find(".swiper-slide").eq(this.activeIndex-1).css("opacity",1),s(i).find(".swiper-slide").eq(this.activeIndex-2).css("opacity",1))}),"preview"===s(i).attr("data-curation-nav")){var c=s(i).find(".swiper-prev").find(".swiper--btn__bg"),o=s(i).find(".swiper-next").find(".swiper--btn__bg");i.options.on.init=function(){var e=this.$el.find(".swiper-slide-prev").find(".kv-swiper__img img").attr("src"),t=this.$el.find(".swiper-slide-next").find(".kv-swiper__img img").attr("src");c.css("background-image","url(".concat(e,")")),o.css("background-image","url(".concat(t,")"))},i.options.on.slideChangeTransitionStart=function(){var e=this.$el.find(".swiper-slide-prev").find(".kv-swiper__img img").attr("src"),t=this.$el.find(".swiper-slide-next").find(".kv-swiper__img img").attr("src");c.css("background-image","url(".concat(e,")")),o.css("background-image","url(".concat(t,")"))},matchMedia("screen and (max-width: 768px)").matches&&(i.options.on.init=function(){c.css("background-image","none"),o.css("background-image","none")},i.options.on.slideChangeTransitionStart=function(){c.css("background-image","none"),o.css("background-image","none")})}if("undefined"===typeof s(i).data("ui")){if("undefined"===typeof i.options.thumbs)swInstance=new n(i,i.options),s(i).data("ui",swInstance);else{var l=s(i).closest('[data-role="swiper-container"]').find('[data-slider="curation"]')[0].swiper;swInstance=new n(i,i.options),s(i).data("ui",swInstance),swInstance.controller.control=l,l.controller.control=swInstance,swInstance.update(),l.update()}"undefined"!==typeof i.options.autoplay&&(!0===swInstance.params.autoplay.enabled?t.autoplaySet(swInstance,!0):t.autoplaySet(swInstance,!1))}}))},autoplaySet:function(e,t){setTimeout((function(){if(!0===t){var s=e.pagination.$el.closest(".page-kv").find(".swiper-controls");0===s.find(".btn-autoplay").length&&s.append('<button type="button" class="swiper--play btn-autoplay"><span>\uc2dc\uc791</span></button><button type="button" class="swiper--pause btn-autoplay"><span>\uba48\ucda4</span></button>'),e.autoplay.running?(s.find(".swiper--play").addClass("disabled").css("display","none"),s.find(".swiper--pause").removeClass("disabled").css("display","")):(s.find(".swiper--play").removeClass("disabled").css("display",""),s.find(".swiper--pause").addClass("disabled").css("display","none")),s.find(".swiper--play").off("click").on("click",(function(){e.autoplay.start(),s.find(".swiper--play").addClass("disabled").css("display","none"),s.find(".swiper--pause").removeClass("disabled").css("display","")})),s.find(".swiper--pause").off("click").on("click",(function(){e.autoplay.stop(),s.find(".swiper--play").removeClass("disabled").css("display",""),s.find(".swiper--pause").addClass("disabled").css("display","none")}))}else!0===e.autoplay.running&&e.autoplay.stop(),e.pagination.$el.closest(".page-kv").find(".btn-autoplay").remove()}),300)},init:function(){s(this.sliderEl).length>0&&this.setSwiper()},resize:function(){if(s(this.sliderEl).length){var t=this;s(this.sliderEl).each((function(n,a){if("undefined"!==typeof s(a).data("ui")){if("custom"===s(a).attr("data-curation-page")){var i=s(a).data("ui").realIndex;"mo"===e.winWChk?s(a).attr("data-swiper-reinit",i+1):s(a).attr("data-swiper-reinit",i-1),null!==s(a).data("ui")&&s(a).data("ui").destroy(),s(a).removeData("ui"),setTimeout((function(){t.setSwiper()}),300)}if(s(a).hasClass("kv-swiper__gallery")&&("mo"===e.winWChk?(t.autoplaySet(s(a).data("ui"),!0),s(a).data("ui").autoplay.start()):(t.autoplaySet(s(a).data("ui"),!1),s(a).data("ui").autoplay.stop())),"overlap"===s(a).attr("data-curation-style")){var r=s(a).data("ui");"mo"===e.winWChk?s(r.slides).css("opacity",""):(s(r.slides[r.activeIndex]).css("opacity",1).siblings(".swiper-slide").css("opacity",0),s(r.slides[r.activeIndex-1]).css("opacity",1),s(r.slides[r.activeIndex-2]).css("opacity",1))}if("active-bigger"===s(a).attr("data-curation-style")){var c=s(a).data("ui");"pc"===e.winWChk&&(s(c.slides).css("width",""),c.update())}}}))}}},UI.curationSw.init()}(window,document,a)},5616:function(e,t,s){"use strict";var n=s(5893);s(7294);t.Z=function(){return(0,n.jsx)("div",{className:"box-layerLoading"})}},6114:function(e,t,s){"use strict";var n=s(5893);t.Z=function(){return(0,n.jsx)("img",{src:"/assets/images/icon-p.svg",alt:"\ud504\ub9ac\ubbf8\uc5c4",className:"imgicon-p"})}},7316:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return E},default:function(){return I}});var n=s(7352),a=s(4924),i=s(6042),r=s(9396),c=s(9815),o=s(655),l=s(5893),d=s(9008),u=s.n(d),p=s(7294),m=s(8767),h=s(580),x=s(9473),f=s(9534),v=(s(5998),s(1312)),g=s(1664),b=s.n(g),j=s(1163),_=s(394),w=s(7715),N=s(5616),y=s(6114),k=s(1964),S=function(e){var t=e.category,s=e.ovrList,n=e.handleClickPostLike,a=e.postLikeName;return(0,l.jsx)("ul",{className:"art-list type-basic",children:s.map((function(e,s){var i,r;return(0,l.jsx)("li",{className:"art-list__item",children:(0,l.jsxs)("div",{className:"artbox",children:[e.thumbnail&&(0,l.jsx)(b(),{href:"/".concat(t,"/ovr/").concat(e.id),children:(0,l.jsx)("a",{className:"thumb-img",children:(0,l.jsx)("span",{className:"img-holder",children:(0,l.jsx)("img",{src:e.thumbnail,alt:""})})})}),(0,l.jsxs)("div",{className:"artbox__summary",children:[(0,l.jsx)("div",{className:"artbox__stit",children:(1===e.event_article_part&&e.event_cnt>0||0===e.event_article_part&&e.event_part_cnt>0)&&(0,l.jsx)("span",{className:"tag-gen-s event",children:"\uc774\ubca4\ud2b8"})}),(0,l.jsx)("p",{className:"artbox__title",children:(0,l.jsx)(b(),{href:"/".concat(t,"/ovr/").concat(e.id),children:(0,l.jsxs)("a",{children:["Y"===(null===e||void 0===e?void 0:e.payment)&&(0,l.jsx)(y.Z,{}),null===e||void 0===e||null===(i=e.title)||void 0===i?void 0:i.replace(" "," ").replace(/\n/g,"<br />")]})})})]}),(0,l.jsx)("div",{className:"artbox__detail",children:(0,l.jsx)(b(),{href:"/".concat(t,"/ovr/").concat(e.id),children:(0,l.jsx)("a",{dangerouslySetInnerHTML:{__html:null===(r=e.content)||void 0===r?void 0:r.replace(" "," ").replace(/\n/g,"<br />")}})})}),(0,l.jsx)("div",{className:"artbox__info",children:(0,l.jsxs)("div",{className:"art-info-sub",children:[(0,l.jsx)("span",{className:"text-date",children:e.article_date}),(0,l.jsxs)("div",{className:"access-nums",children:[(0,l.jsx)("span",{className:"acc-num acc-num--view",children:(0,l.jsx)("em",{children:(0,k.u)(e.view_cnt)})}),(0,l.jsx)("span",{className:"acc-num acc-num--like",children:(0,l.jsx)("em",{children:(0,k.u)(e.like_cnt)})}),(0,l.jsx)("span",{className:"acc-num acc-num--comment",children:(0,l.jsx)("em",{children:(0,k.u)(e.reply_cnt)})})]}),(0,l.jsx)("button",{type:"button",className:"btn-fav ".concat("Y"===e.is_like&&"is-fav"),"aria-label":"Like",onClick:function(t){return n(t,e.id,e.content_type,a,s)}})]})})]})},e.id)}))})},C=s(8252),Z=null,E=!0,I=function(e){var t,d=e.fullURL;Z=s(2923),s(7758),s(1007);var g=(0,j.useRouter)();(0,p.useEffect)((function(){var e=function(e){e.preventDefault()};return document.addEventListener("contextmenu",e),function(){document.removeEventListener("contextmenu",e)}}),[]);var k=(0,h.Z)(),E=null===(t=(0,x.v9)((function(e){return e.service})))||void 0===t?void 0:t.isMobile,I=(0,p.useState)([]),T=I[0],O=I[1],L=(0,p.useState)(!1),F=L[0],P=L[1];(0,p.useEffect)((function(){F&&(0,C.Z)(F)}),[F]),(0,p.useEffect)((function(){if(T.length>0){s(3770),window.UI.curationSw.init();var e=".swiper-btn-8";new Z(".swiper-11 .swiper-container",{slidesPerView:"auto",loop:!0,touchRatio:.2,slideToClickedSlide:!1,speed:700,pagination:{el:e+" .pageNumber",type:"fraction",formatFractionCurrent:function(e){return("0"+e).slice(-2)},formatFractionTotal:function(e){return("0"+e).slice(-2)},renderFraction:function(e,t){return'<span class="'+e+'"></span> <span class="line"></span> <span class="'+t+'"></span>'}},navigation:{prevEl:e+" .swiper-prev",nextEl:e+" .swiper-next"},breakpoints:{767:{spaceBetween:16}}})}}),[T]);var A=(0,p.useState)("HOT"),W=A[0],q=A[1],D=(0,p.useState)(""),R=D[0],Y=D[1],H=(0,p.useState)({page:0,limit:20,sort:"article_date",direction:"desc",search_keyword:""}),$=H[0],M=H[1],Q=(0,p.useState)(!1),U=Q[0],B=Q[1],K=(0,p.useState)(0),V=K[0],X=K[1],z=(0,p.useState)([]),G=z[0],J=z[1],ee=(0,p.useState)([]),te=ee[0],se=ee[1],ne=(0,p.useState)([]),ae=ne[0],ie=ne[1],re=(0,p.useState)([]),ce=re[0],oe=re[1],le=(0,p.useState)([]),de=le[0],ue=le[1],pe=(0,p.useState)(!1),me=pe[0],he=pe[1];(0,m.useQuery)("getBannerItems",(0,n.Z)((function(){return(0,o.__generator)(this,(function(e){switch(e.label){case 0:return[4,v.Z.get("/common/banner/position/EXHB_03_01")];case 1:return[2,e.sent()]}}))})),{onSuccess:function(e){e.data.data=e.data.data.filter((function(e){return e.is_open>=1})),ue(e.data.data)},onError:function(e){console.error(e)}}),(0,m.useQuery)("getKvData",(0,n.Z)((function(){return(0,o.__generator)(this,(function(e){switch(e.label){case 0:return[4,v.Z.get("/fo/common/kv/03_03_00_00")];case 1:return[2,e.sent()]}}))})),{onSuccess:function(e){e.data.data.kv_list.map((function(e){e.title=(0,_.Z)(e.title),e.sub_title=(0,_.Z)(e.sub_title)})),O(e.data.data.kv_list)},onError:function(e){console.error(e)}}),(0,m.useQuery)(["getArtOvrList",$.page,$.sort,$.search_keyword],(0,n.Z)((function(){return(0,o.__generator)(this,(function(e){switch(e.label){case 0:return he(!0),[4,v.Z.get("/fo/art/ovr/list",{params:$})];case 1:return[2,e.sent()]}}))})),{enabled:g.isReady,onSuccess:function(e){if(he(!1),P(!0),e.data.list.map((function(e){var t;e.grade=(null===(t=e.grade)||void 0===t?void 0:t.toFixed(1))||0})),E&&U){B(!1);var t=(0,c.Z)(te);e.data.list.map((function(e){t.push(e)})),se(t)}else se(e.data.list);X(e.data.total)},onError:function(e){}}),(0,m.useQuery)("getArtOvrThisweekColumn",(0,n.Z)((function(){return(0,o.__generator)(this,(function(e){switch(e.label){case 0:return[4,v.Z.get("/fo/art/ovr/thisweek/column",{})];case 1:return[2,e.sent()]}}))})),{onSuccess:function(e){ie(e.data.data)},onError:function(e){}}),(0,m.useQuery)(["getArtOvrHotNew",W],(0,n.Z)((function(){return(0,o.__generator)(this,(function(e){switch(e.label){case 0:return[4,v.Z.get("/fo/art/ovr/hot-new",{params:{tab_type:W}})];case 1:return[2,e.sent()]}}))})),{onSuccess:function(e){oe(e.data.data)},onError:function(e){}}),(0,m.useQuery)("getArtOvrThisweekKeyword",(0,n.Z)((function(){return(0,o.__generator)(this,(function(e){switch(e.label){case 0:return[4,v.Z.get("/fo/art/ovr/thisweek/keyword",{})];case 1:return[2,e.sent()]}}))})),{onSuccess:function(e){J(e.data.data)},onError:function(e){}});var xe=function(e){console.log(e),q(e)},fe=function(){if(1!=R.length){var e=(0,r.Z)((0,i.Z)({},$),{search_keyword:R,page:0});ge(e)}else alert("2\uc790 \uc774\uc0c1\uc73c\ub85c \uac80\uc0c9\uc5b4\ub97c \uc785\ub825\ud574\uc8fc\uc138\uc694.")},ve=function(e){var t=e.target,s=t.name,n=t.value,c=t.isMore;B(c);var o,l={};"page"===s?l=(0,r.Z)((0,i.Z)({},$),(0,a.Z)({},s,n)):l=(0,r.Z)((0,i.Z)({},$),(o={},(0,a.Z)(o,s,n),(0,a.Z)(o,"page",0),o));ge(l)},ge=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.pathname;g.push({pathname:t,query:e},void 0,{scroll:!1})},be=function(e,t,s,n,a){"artOvrList"===n?k.mutate({event:e,contentId:t,contentType:s,callback:function(){var e=[];(e="stageNewsTop3"===n?(0,c.Z)(stageNewsTop3):(0,c.Z)(stageNewsList))[a].is_like="Y"===e[a].is_like?"N":"Y",e[a].like_cnt="N"===e[a].is_like?e[a].like_cnt-=1:e[a].like_cnt+=1,setStageNewsList(e)}}):"keyVisual"===n&&k.mutate({event:e,contentId:t,contentType:s})};return(0,p.useEffect)((function(){de.length>0&&window.UI.adBanner.init()}),[de]),(0,p.useEffect)((function(){var e={};e=0===Object.keys(g.query).length?(0,i.Z)({},$):(0,i.Z)({},Object.keys($).reduce((function(e,t){return g.query.hasOwnProperty(t)&&(e[t]=$[t]),e}),{}),g.query),M(e)}),[g.query]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(u(),{children:[(0,l.jsx)("title",{children:"arte : ART \ubcf4\ub2e4"}),(0,l.jsx)("meta",{property:"og:url",content:d}),(0,l.jsx)("meta",{property:"og:type",content:"article"}),(0,l.jsx)("meta",{property:"og:title",content:"ART \ubcf4\ub2e4 > \uae00\ub85c\ubc8c \uc544\ud2b8"}),(0,l.jsx)("meta",{property:"og:description",content:"\ud574\uc678 \ubbf8\uc220\uacc4 \ud2b8\ub80c\ub4dc\uac00 \uad81\uae08\ud558\ub2e4\uba74?"}),(0,l.jsx)("meta",{property:"og:site_name",content:"\uc544\ub974\ub5bc - \uc138\uc0c1\uc5d0 \uc5c6\ub358 \uc608\uc220 \ub180\uc774\ud130, arte"}),(0,l.jsx)("meta",{property:"og:locale",content:"ko_KR"}),(0,l.jsx)("meta",{property:"og:image",content:"/assets/images/og_image/03_art_ovr.png"}),(0,l.jsx)("meta",{name:"title",content:"ART \ubcf4\ub2e4 > \uae00\ub85c\ubc8c \uc544\ud2b8"}),(0,l.jsx)("meta",{name:"description",content:"\ud574\uc678 \ubbf8\uc220\uacc4 \ud2b8\ub80c\ub4dc\uac00 \uad81\uae08\ud558\ub2e4\uba74?"}),(0,l.jsx)("meta",{itemProp:"name",content:"ART \ubcf4\ub2e4 > \uae00\ub85c\ubc8c \uc544\ud2b8"}),(0,l.jsx)("meta",{itemProp:"description",content:"\ud574\uc678 \ubbf8\uc220\uacc4 \ud2b8\ub80c\ub4dc\uac00 \uad81\uae08\ud558\ub2e4\uba74?"}),(0,l.jsx)("meta",{itemProp:"image",content:"/assets/images/og_image/03_art_ovr.png"}),(0,l.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,l.jsx)("meta",{name:"twitter:title",content:"ART \ubcf4\ub2e4 > \uae00\ub85c\ubc8c \uc544\ud2b8"}),(0,l.jsx)("meta",{name:"twitter:description",content:"\ud574\uc678 \ubbf8\uc220\uacc4 \ud2b8\ub80c\ub4dc\uac00 \uad81\uae08\ud558\ub2e4\uba74?"}),(0,l.jsx)("meta",{name:"twitter:image",content:"/assets/images/og_image/03_art_ovr.png"})]}),(0,l.jsxs)("div",{className:"container",id:"container",children:[(0,l.jsx)("div",{className:"sub-renew bg-type-2",children:(0,l.jsxs)("div",{className:"inner-renew",children:[(0,l.jsx)("h2",{className:"common-h2-type1",children:"\uae00\ub85c\ubc8c \uc544\ud2b8"}),(0,l.jsx)("div",{className:"ct",children:(0,l.jsx)("div",{className:"inner swiper-11",children:(0,l.jsx)("div",{className:"slider",children:(0,l.jsx)("div",{className:"swiper-container",children:(0,l.jsx)("ul",{className:"swiper-wrapper",children:T.length>0&&(0,l.jsx)(l.Fragment,{children:T.map((function(e,t){var s;return(0,l.jsx)("li",{className:"swiper-slide",children:(0,l.jsxs)("div",{className:"cover-img",children:[(0,l.jsx)(b(),{href:"/art/ovr/".concat(e.content_id),children:(0,l.jsx)("a",{className:"img-holder",children:(0,l.jsx)("img",{src:e.thumbnail,alt:""})})}),(0,l.jsx)("button",{type:"button",className:"btn-fav btn-fav--wt ".concat("Y"===e.is_like&&"is-fav"),"aria-label":"Like",onClick:function(t){return be(t,e.content_id,e.content_type,"keyVisual")}}),(0,l.jsx)(b(),{href:"/art/ovr/".concat(e.content_id),children:(0,l.jsx)("a",{children:(0,l.jsx)("span",{className:"txt-1",children:(0,l.jsxs)("span",{children:["Y"===(null===e||void 0===e?void 0:e.payment)&&(0,l.jsx)(y.Z,{}),null===e||void 0===e||null===(s=e.title)||void 0===s?void 0:s.replace(" "," "),"\u200b"]})})})})]})},e.content_id)}))})})})})})}),(0,l.jsxs)("div",{className:"common-swiper-sb swiper-btn-8",children:[(0,l.jsxs)("div",{className:"box-swiperControl",children:[(0,l.jsx)("div",{className:"pageNumber"}),(0,l.jsx)("button",{className:"btn-playPause swiper-play"}),(0,l.jsx)("button",{className:"btn-playPause swiper-pause",style:{display:"none"}})]}),(0,l.jsxs)("div",{className:"box-prevNext",children:[(0,l.jsx)("button",{className:"swiper-prev"}),(0,l.jsx)("button",{className:"swiper-next"})]})]})]})}),(0,l.jsxs)("div",{className:"content",children:[(0,l.jsxs)("div",{className:"ad-banner-wrap text-banner",children:[(0,l.jsx)("div",{className:"ad-banner swiper",children:(0,l.jsx)("div",{className:"ad-banner__list swiper-wrapper",children:de.map((function(e){return(0,l.jsx)(b(),{href:"".concat(e.link_url),children:(0,l.jsxs)("a",{className:"ad-banner__item ".concat("W"!==e.font_color?"white":""," swiper-slide"),children:[(0,l.jsx)("img",{src:e.img1,className:"ad-banner__img img--lg",alt:e.title}),(0,l.jsx)("img",{src:e.img2,className:"ad-banner__img img--mo",alt:e.title}),""!==e.part?(0,l.jsxs)("div",{className:"inner-box",children:[(0,l.jsx)("div",{className:"inner-thumbnail",children:(0,l.jsx)("img",{src:e.thumbnail,alt:"banner-thumbnail"})}),(0,l.jsxs)("div",{className:"inner-text",children:[(0,l.jsxs)("div",{className:"tag-flex",children:[(0,l.jsx)("span",{className:"tag box",children:"\uc544\ub974\ub5bc Poll"}),(0,l.jsx)("span",{className:"tag circle",children:e.part})]}),(0,l.jsx)("strong",{children:e.title}),(0,l.jsxs)("p",{children:[(0,w.wA)(e.start_date),"-",(0,w.wA)(e.end_date)]})]})]}):""]})},e.banner_pk)}))})}),(0,l.jsx)("div",{className:"ad-banner__pagination"})]}),(0,l.jsxs)("section",{className:"ex-section",children:[(0,l.jsxs)("div",{className:"hashtag-block",children:[(0,l.jsx)("h4",{className:"hashtag-block__title",children:"\uae08\uc8fc\uc758 \uc778\uae30 \uac80\uc0c9\uc5b4"}),G.map((function(e,t){return(0,l.jsx)(b(),{href:"/util/search/ovr?keyword=".concat(e.keyword),children:(0,l.jsxs)("a",{className:"hashtag",style:{cursor:"pointer"},children:["# ",e.keyword]})},"tag-".concat(t))}))]}),(0,l.jsxs)("div",{className:"ex-container",children:[(0,l.jsxs)("div",{className:"snb-section snb-section--right",children:[(0,l.jsxs)("article",{className:"ex-snb",children:[(0,l.jsx)("div",{className:"ex-snb__head",children:(0,l.jsx)("h4",{className:"ex-snb__title",children:"\ud574\uc678 \uc804\uc2dc\uacc4 NEWS"})}),(0,l.jsx)("div",{className:"ex-snb__filter",children:(0,l.jsxs)("ul",{className:"form-group form-group--col2",children:[(0,l.jsx)("li",{children:(0,l.jsxs)("label",{className:"chkbox-rnd",children:[(0,l.jsx)("input",{type:"radio",className:"o-input",name:"chk-cate",onChange:function(){xe("HOT")},checked:"HOT"===W}),(0,l.jsx)("span",{className:"label-text",children:"HOT"})]})}),(0,l.jsx)("li",{children:(0,l.jsxs)("label",{className:"chkbox-rnd",children:[(0,l.jsx)("input",{type:"radio",className:"o-input",name:"chk-cate",onChange:function(){xe("NEW")},checked:"NEW"===W}),(0,l.jsx)("span",{className:"label-text",children:"NEW"})]})})]})}),(0,l.jsx)("div",{className:"ex-snb__body",children:(0,l.jsx)("ul",{className:"sbox-list",children:ce.length<=0?(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("li",{className:"sbox-item no-item",children:[(0,l.jsx)("a",{href:"#",className:"thumb-img"}),(0,l.jsx)("div",{className:"sbox-item__texts",children:(0,l.jsx)("a",{href:"#",className:"sbox-item__title",children:"\ub4f1\ub85d\ub41c \ub274\uc2a4\uac00 \uc5c6\uc2b5\ub2c8\ub2e4."})})]})}):(0,l.jsx)(l.Fragment,{children:ce.map((function(e){var t;return(0,l.jsxs)("li",{className:"sbox-item",children:[(0,l.jsx)(b(),{href:"/art/news/".concat(e.id),children:(0,l.jsx)("a",{className:"thumb-img",children:(0,l.jsx)("span",{className:"img-holder",children:(0,l.jsx)("img",{src:e.thumbnail,alt:""})})})}),(0,l.jsx)("div",{className:"sbox-item__texts",children:(0,l.jsx)(b(),{href:"/art/news/".concat(e.id),children:(0,l.jsxs)("a",{className:"sbox-item__title",children:["Y"===(null===e||void 0===e?void 0:e.payment)&&(0,l.jsx)(y.Z,{}),null===e||void 0===e||null===(t=e.title)||void 0===t?void 0:t.replace(" "," ").replace(/\n/g,"<br />")]})})})]},e.id)}))})})})]}),(0,l.jsxs)("article",{className:"ex-snb",children:[(0,l.jsx)("div",{className:"ex-snb__head",children:(0,l.jsx)("h4",{className:"ex-snb__title",children:"\uc774\ubc88 \uc8fc \ucd94\ucc9c \ud14c\ub9c8 \uce7c\ub7fc"})}),(0,l.jsx)("div",{className:"ex-snb__body",children:(0,l.jsx)("ul",{className:"sbox-list sbox-list--cards",children:ae.length<=0?(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("li",{className:"sbox-item sbox-item--e no-item",children:[(0,l.jsx)("a",{href:"#",className:"thumb-img"}),(0,l.jsx)("div",{className:"sbox-item__texts",children:(0,l.jsx)("a",{href:"#",className:"sbox-item__title",children:"\ub4f1\ub85d\ub41c \ucd94\ucc9c \ud14c\ub9c8 \uce7c\ub7fc\uc774 \uc5c6\uc2b5\ub2c8\ub2e4."})})]})}):(0,l.jsx)(l.Fragment,{children:ae.map((function(e){var t;return(0,l.jsxs)("li",{className:"sbox-item sbox-item--e",children:[(0,l.jsx)(b(),{href:"/art/theme/".concat(e.id),children:(0,l.jsx)("a",{className:"thumb-img",children:(0,l.jsx)("span",{className:"img-holder",children:(0,l.jsx)("img",{src:e.thumbnail,alt:""})})})}),(0,l.jsxs)("div",{className:"sbox-item__texts",children:[(0,l.jsxs)("div",{className:"artbox__stit",children:[(0,l.jsx)("span",{className:"tag-gen-s",children:e.theme_name}),"\xa0",(0,l.jsx)("span",{className:"ex-name",children:e.author_name})]}),(0,l.jsx)(b(),{href:"/art/theme/".concat(e.id),children:(0,l.jsxs)("a",{className:"sbox-item__title",children:["Y"===(null===e||void 0===e?void 0:e.payment)&&(0,l.jsx)(y.Z,{}),null===e||void 0===e||null===(t=e.title)||void 0===t?void 0:t.replace(" "," ").replace(/\n/g,"<br />")]})})]})]},e.id)}))})})})]})]}),(0,l.jsxs)("article",{className:"ex-content",children:[(0,l.jsx)("div",{className:"sort-section",children:(0,l.jsxs)("div",{className:"sort-section__block",children:[(0,l.jsxs)("p",{className:"result-text",children:["\ucd1d ",V,"\uac1c\uc758 \ub274\uc2a4\uac00 \uc788\uc2b5\ub2c8\ub2e4"]}),(0,l.jsxs)("div",{className:"sort-section__side",children:[(0,l.jsxs)("div",{className:"view-sort",children:[(0,l.jsx)("button",{type:"button",className:"view-sort__cur",children:"\ucd5c\uc2e0\uc21c"}),(0,l.jsxs)("ul",{className:"view-sort__list",children:[(0,l.jsx)("li",{className:"article_date"===$.sort?"sort-on":"",children:(0,l.jsx)("button",{className:"view-sort__btn",type:"button",name:"sort",value:"article_date",onClick:ve,children:"\ucd5c\uc2e0\uc21c"})}),(0,l.jsx)("li",{className:"view_cnt"===$.sort?"sort-on":"",children:(0,l.jsx)("button",{className:"view-sort__btn",type:"button",name:"sort",value:"view_cnt",onClick:ve,children:"\uc870\ud68c\uc21c"})}),(0,l.jsx)("li",{className:"like_cnt"===$.sort?"sort-on":"",children:(0,l.jsx)("button",{className:"view-sort__btn",type:"button",name:"sort",value:"like_cnt",onClick:ve,children:"\uc88b\uc544\uc694\uc21c"})}),(0,l.jsx)("li",{className:"reply_cnt"===$.sort?"sort-on":"",children:(0,l.jsx)("button",{className:"view-sort__btn",type:"button",name:"sort",value:"reply_cnt",onClick:ve,children:"\ub313\uae00\uc21c"})})]})]}),(0,l.jsx)("div",{className:"rbox-block",children:(0,l.jsxs)("span",{className:"search-box",children:[(0,l.jsx)("input",{type:"text",className:"o-input",placeholder:"\uac80\uc0c9\uc5b4\ub97c \uc785\ub825\ud558\uc138\uc694",name:"search_keyword",value:R,onChange:function(e){Y(e.target.value)},maxLength:20,onKeyDown:function(e){"Enter"===e.key&&fe()}}),(0,l.jsx)("button",{type:"button",className:"o-btn o-btn-search","aria-label":"\uac80\uc0c9",onClick:fe})]})})]})]})}),te.length<=0?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:"search-result__nodata",children:(0,l.jsx)("p",{children:"\uac80\uc0c9\uacb0\uacfc\uac00 \uc5c6\uc2b5\ub2c8\ub2e4."})})}):(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:"art-list-wrap",children:[(0,l.jsx)(S,{category:"art",ovrList:te,handleClickPostLike:be,postLikeName:"artOvrList"}),(0,l.jsx)(f.Z,{page:$.page,limit:$.limit,totalCount:V,handleChangePage:ve})]})})]})]})]})]}),me&&(0,l.jsx)(N.Z,{})]})]})}},7715:function(e,t,s){"use strict";s.d(t,{E5:function(){return i},p6:function(){return n},tu:function(){return r},wA:function(){return a}});var n=function(e){if(e){"object"===typeof e&&e.toISOString(),e=e.replace(/-/g,"");var t,s,n;return t=e.substr(0,4),s=e.substr(4,2),n=e.substr(6,2),"".concat(t,". ").concat(s,". ").concat(n)}},a=function(e){if(e){"object"===typeof e&&e.toISOString(),e=e.replace(/-/g,"");var t,s,n;return t=e.substring(0,4),s=e.substring(4,6),n=e.substring(6,8),"".concat(t,".").concat(s,".").concat(n)}},i=function(e){if(e)return e.split("T")[0].replace(/-/g,".")},r=function(e,t){for(var s=[],n=-1;n<6;n++)-1===n?s.push(new Date(e.getTime()-t).toISOString().substring(0,10).replace(/-/g,".")):s.push(new Date(new Date(e.getFullYear(),e.getMonth(),e.getDate()+(n+e.getDay())).getTime()-t).toISOString().substring(0,10).replace(/-/g,"."));return s}},394:function(e,t){"use strict";t.Z=function(e){return null===e||void 0===e?void 0:e.replace(/<\/?\w*\b[^>]*>/gi,"")}},1964:function(e,t,s){"use strict";s.d(t,{D:function(){return a},u:function(){return n}});var n=function(e){return e?e>=1e3?(e/1e3).toFixed(1).replace(/\.0$/,"")+"k":e.toString():0},a=function(e){return null===e||void 0===e?0:("string"===typeof e&&(e=Number(e)),Math.floor(e/60))}},8252:function(e,t,s){"use strict";var n=s(5357);t.Z=function(e){if(e){var t=(0,n.G)("scrollPos"),s=(0,n.G)("isPopState");null!==t&&"Y"==s&&setTimeout((function(){window.scrollTo(0,t)}),500)}}}},function(e){e.O(0,[8085,9774,2888,179],(function(){return t=9393,e(e.s=t);var t}));var t=e.O();_N_E=t}]);