1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2236],{90597:function(e,s,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/util/search/content",function(){return a(54737)}])},45616:function(e,s,a){"use strict";var t=a(85893);a(67294);s.Z=function(){return(0,t.jsx)("div",{className:"box-layerLoading"})}},36873:function(e,s,a){"use strict";var t=a(85893),n=a(11163);a(67294);s.Z=function(e){var s=e.keyword,a=(0,n.useRouter)(),c=function(e){var t="";switch(e){case"review":t="/util/search/review";break;case"column":t="/util/search/column";break;case"news":t="/util/search/news";break;case"ovr":t="/util/search/ovr";break;case"content":t="/util/search/content";break;case"artist":t="/util/search/artist";break;case"video":t="/util/search/video";break;case"talk":t="/util/search/talk"}a.push("".concat(t,"?keyword=").concat(s))};return(0,t.jsx)("div",{className:"search-category swiper only-tab",children:(0,t.jsxs)("ul",{className:"swiper-wrapper",children:[(0,t.jsx)("li",{className:"swiper-slide ".concat("/util/search/news"===a.pathname&&"is-active"),children:(0,t.jsx)("a",{onClick:function(){return c("news")},children:"\ub274\uc2a4\xb7\uc778\ud130\ubdf0"})}),(0,t.jsx)("li",{className:"swiper-slide ".concat("/util/search/review"===a.pathname&&"is-active"),children:(0,t.jsx)("a",{onClick:function(){return c("review")},children:"\ub9ac\ubdf0"})}),(0,t.jsx)("li",{className:"swiper-slide ".concat("/util/search/column"===a.pathname&&"is-active"),children:(0,t.jsx)("a",{onClick:function(){return c("column")},children:"\uce7c\ub7fc\xb7\uc5f0\uc7ac"})}),(0,t.jsx)("li",{className:"swiper-slide ".concat("/util/search/ovr"===a.pathname&&"is-active"),children:(0,t.jsx)("a",{onClick:function(){return c("ovr")},children:"\uae00\ub85c\ubc8c \uc544\ud2b8"})}),(0,t.jsx)("li",{className:"swiper-slide ".concat("/util/search/artist"===a.pathname&&"is-active"),children:(0,t.jsx)("a",{onClick:function(){return c("artist")},children:"\uc544\ud2f0\uc2a4\ud2b8"})}),(0,t.jsx)("li",{className:"swiper-slide ".concat("/util/search/video"===a.pathname&&"is-active"),children:(0,t.jsx)("a",{onClick:function(){return c("video")},children:"\uc601\uc0c1"})}),(0,t.jsx)("li",{className:"swiper-slide ".concat("/util/search/talk"===a.pathname&&"is-active"),children:(0,t.jsx)("a",{onClick:function(){return c("talk")},children:"arte TALK"})}),(0,t.jsx)("li",{className:"swiper-slide ".concat("/util/search/content"===a.pathname&&"is-active"),children:(0,t.jsx)("a",{onClick:function(){return c("content")},children:"\uc74c\uc545\xb7\uacf5\uc5f0\xb7\uc804\uc2dc\xb7\ub3c4\uc11c"})})]})})}},59534:function(e,s,a){"use strict";var t=a(85893);a(67294);s.Z=function(e){var s=e.page,a=e.limit,n=e.totalCount,c=e.handleChangePage,i=Math.ceil(n/a)||1,r=function(e){c({target:{name:"page",value:e}})};return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"select-paging",children:[s>0&&(0,t.jsxs)("div",{className:"page-btn",children:[(0,t.jsx)("a",{role:"button",className:"btn-first",onClick:function(){return r(0)},children:(0,t.jsx)("span",{className:"txt",children:"\ucc98\uc74c"})}),(0,t.jsx)("a",{role:"button",className:"btn-prev",onClick:function(){return r(Number(s)-1)},children:(0,t.jsx)("span",{className:"txt",children:"\uc774\uc804"})})]}),(0,t.jsxs)("div",{className:"page-select txt-num",children:[(0,t.jsx)("div",{className:"select-box",children:(0,t.jsx)("select",{title:"\ud398\uc774\uc9c0 \uc120\ud0dd",onChange:function(e){c({target:{name:"page",value:Number(e.target.value)-1}})},value:Number(s)+1,children:Array.from(Array(i),(function(e,s){return(0,t.jsx)("option",{value:s+1,children:s+1},s)}))})}),(0,t.jsxs)("span",{className:"total",children:["/ ",i]})]}),s<i-1&&(0,t.jsxs)("div",{className:"page-btn",children:[(0,t.jsx)("a",{role:"button",className:"btn-next",onClick:function(){return r(Number(s)+1)},children:(0,t.jsx)("span",{className:"txt",children:"\ub2e4\uc74c"})}),(0,t.jsx)("a",{role:"button",className:"btn-last",onClick:function(){return r(Number(i)-1)},children:(0,t.jsx)("span",{className:"txt",children:"\ub9c8\uc9c0\ub9c9"})})]})]})})}},54737:function(e,s,a){"use strict";a.r(s);var t=a(47568),n=a(14924),c=a(26042),i=a(69396),r=a(29815),l=a(70655),o=a(85893),d=a(41664),h=a.n(d),m=a(9008),u=a.n(m),x=a(67294),j=a(11163),p=a(88767),_=a(9473),N=a(71312),v=a(36873),g=a(59534),b=a(37881),f=a(45616);s.default=function(){var e,s=(0,j.useRouter)(),a=null===(e=(0,_.v9)((function(e){return e.service})))||void 0===e?void 0:e.isMobile,d=(0,x.useState)(!1),m=d[0],w=d[1],k=(0,x.useState)([]),y=k[0],C=k[1],Z=(0,x.useState)(!1),O
1=(Z[0],Z[1],(0,x.useState)(0)),P=O[0],S=O[1],E=(0,x.useState)(""),K=E[0],T=E[1],q=(0,x.useState)({page:0,limit:20,sort:"reg_date",direction:"desc",search_keyword:""}),B=q[0],R=q[1],F=(0,x.useState)(!1),A=F[0],M=F[1],L=(0,x.useState)(!1),X=(L[0],L[1]),D=(0,x.useState)(!1),H=D[0],Q=D[1],Y=((0,p.useQuery)(["getSearchContents",B.search_keyword,B.page,B.sort],(0,t.Z)((function(){return(0,l.__generator)(this,(function(e){switch(e.label){case 0:return M(!0),[4,N.Z.get("/fo/util/search/contents",{params:B})];case 1:return[2,e.sent()]}}))})),{enabled:!!H,onSuccess:function(e){if(M(!1),X(!0),a&&m){w(!1);var s=(0,r.Z)(y);e.data.list.map((function(e){s.push(e)})),C(s)}else C(e.data.list);S(e.data.total)},onError:function(e){console.error(e)}}).refetch,function(){if(1!=K.length){var e=(0,i.Z)((0,c.Z)({},B),{search_keyword:K,page:0});G(e)}else alert("2\uc790 \uc774\uc0c1\uc73c\ub85c \uac80\uc0c9\uc5b4\ub97c \uc785\ub825\ud574\uc8fc\uc138\uc694.")}),z=function(e){var s=e.target,a=s.name,t=s.value,r=s.isMore;w(r);var l,o={};"page"===a?o=(0,i.Z)((0,c.Z)({},B),(0,n.Z)({},a,t)):o=(0,i.Z)((0,c.Z)({},B),(l={},(0,n.Z)(l,a,t),(0,n.Z)(l,"page",0),l));G(o)},G=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.pathname;s.push({pathname:a,query:e},void 0,{scroll:!0})};return(0,x.useEffect)((function(){if(s.isReady){var e={};e=s.query.hasOwnProperty("keyword")?(0,i.Z)((0,c.Z)({},B),{search_keyword:s.query.keyword}):(0,c.Z)({},Object.keys(B).reduce((function(e,a){return s.query.hasOwnProperty(a)&&(e[a]=B[a]),e}),{}),s.query),R(e),T(e.search_keyword),Q(!0)}}),[s.isReady,s.query]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(u(),{children:[(0,o.jsx)("title",{children:"arte : \ud1b5\ud569 \uac80\uc0c9"}),(0,o.jsx)("meta",{property:"og:type",content:"article"}),(0,o.jsx)("meta",{property:"og:title",content:"arte \ud1b5\ud569 \uac80\uc0c9"}),(0,o.jsx)("meta",{property:"og:description",content:"\uc608\uc220 \uad00\ub828 \ucd5c\uc2e0 \ub274\uc2a4\uc640 \ub9ac\ubdf0, \uc601\uc0c1\uc744 \uac80\uc0c9\ud558\uc138\uc694"}),(0,o.jsx)("meta",{property:"og:site_name",content:"\uc544\ub974\ub5bc - \uc138\uc0c1\uc5d0 \uc5c6\ub358 \uc608\uc220 \ub180\uc774\ud130, arte"}),(0,o.jsx)("meta",{property:"og:locale",content:"ko_KR"}),(0,o.jsx)("meta",{property:"og:image",content:"/assets/images/og_image/09_search.png"}),(0,o.jsx)("meta",{name:"title",content:"arte \ud1b5\ud569 \uac80\uc0c9"}),(0,o.jsx)("meta",{name:"description",content:"\uc608\uc220 \uad00\ub828 \ucd5c\uc2e0 \ub274\uc2a4\uc640 \ub9ac\ubdf0, \uc601\uc0c1\uc744 \uac80\uc0c9\ud558\uc138\uc694"}),(0,o.jsx)("meta",{itemProp:"name",content:"arte \ud1b5\ud569 \uac80\uc0c9"}),(0,o.jsx)("meta",{itemProp:"description",content:"\uc608\uc220 \uad00\ub828 \ucd5c\uc2e0 \ub274\uc2a4\uc640 \ub9ac\ubdf0, \uc601\uc0c1\uc744 \uac80\uc0c9\ud558\uc138\uc694"}),(0,o.jsx)("meta",{itemProp:"image",content:"/assets/images/og_image/09_search.png"}),(0,o.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,o.jsx)("meta",{name:"twitter:title",content:"arte \ud1b5\ud569 \uac80\uc0c9"}),(0,o.jsx)("meta",{name:"twitter:description",content:"\uc608\uc220 \uad00\ub828 \ucd5c\uc2e0 \ub274\uc2a4\uc640 \ub9ac\ubdf0, \uc601\uc0c1\uc744 \uac80\uc0c9\ud558\uc138\uc694"}),(0,o.jsx)("meta",{name:"twitter:image",content:"/assets/images/og_image/09_search.png"})]}),(0,o.jsxs)("div",{className:"container",id:"container",children:[(0,o.jsxs)("div",{className:"content",children:[(0,o.jsx)("h2",{className:"head-title",children:"arte SEARCH"}),(0,o.jsx)("div",{className:"search-section",children:(0,o.jsxs)("div",{className:"search-section__container",children:[(0,o.jsxs)("div",{className:"search-util tab-swiper",children:[(0,o.jsx)(v.Z,{keyword:K}),(0,o.jsxs)("div",{className:"search-box",children:[(0,o.jsx)("input",{type:"text",className:"o-input",placeholder:"\uac80\uc0c9\uc5b4\ub97c \uc785\ub825\ud574\uc8fc\uc138\uc694",name:"search_keyword",value:K,onChange:function(e){T(e.target.value)},onKeyDown:function(e){"Enter"===e.key&&Y()}}),(0,o.jsx)("button",{type:"button",className:"o-btn o-btn-search","aria-label":"\uac80\uc0c9",onClick:Y})]})]}),(0,o.jsx)("div",{className:"search-result__content",children:(0,o.jsxs)("div",{className:"search-result__list only-items",children:[(0,o.jsxs)("div",{className:"search-result__top",children:[(0,o.jsxs)("h2",{className:"search-result__title",children:["\uc74c\uc545\xb7\uacf5\uc5f0\xb7\uc804\uc2dc\xb7\ub3c4\uc11c",(0,o.jsxs)("span",{className:"num",children:["(",P,")"]})]}),(0,o.jsxs)("div",{className:"dropdown",children:[(0,o.jsx)("button",{type:"button",className:"dropdown__cur",children:(0,o.jsx)("em",{children:"\ucd5c\uc2e0\uc21c"})}),(0,o.jsxs)("ul",{className:"dropdown__list",children:[(0,o.jsx)("li",{className:"reg_date"===B.sort?"is-on":"",children:(0,o.jsx)("button",{type:"button",className:"dropdown__btn",name:"sort",value:"reg_date",onClick:z,children:"\ucd5c\uc2e0\uc21c"})}),(0,o.jsx)("li",{className:"view_cnt"===B.sort?"is-on":"",children:(0,o.jsx)("button",{type:"button",className:"dropdown__btn",name:"sort",value:"view_cnt",onClick:z,children:"\uc870\ud68c\uc21c"})}),(0,o.jsx)("li",{className:"like_cnt"===B.sort?"is-on":"",children:(0,o.jsx)("button",{type:"button",className:"dropdown__btn",name:"sort",value:"like_cnt",onClick:z,children:"\uc88b\uc544\uc694\uc21c"})}),(0,o.jsx)("li",{className:"reply_cnt"===B.sort?"is-on":"",children:(0,o.jsx)("button",{type:"button",className:"dropdown__btn",name:"sort",value:"reply_cnt",onClick:z,children:"\ub313\uae00\uc21c"})})]})]})]}),y.length<=0?(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("div",{className:"search-result__nodata",children:(0,o.jsx)("p",{children:"\uac80\uc0c9\uacb0\uacfc\uac00 \uc5c6\uc2b5\ub2c8\ub2e4."})})}):(0,o.jsx)("div",{className:"search-result__box",children:(0,o.jsx)("div",{className:"palette",children:(0,o.jsx)("div",{className:"palette__inbox",children:y.map((function(e,s){return"Y"===e.curation_yn?(0,o.jsx)("div",{className:"palette__item picked",children:(0,o.jsxs)("div",{className:"palette-box",children:[(0,o.jsx)("div",{className:"palette-box__img",children:(0,o.jsx)(h(),{href:e.to_link,children:(0,o.jsx)("a",{className:"thumb-img",children:(0,o.jsx)("span",{className:"img-holder",children:(0,o.jsx)("img",{src:e.thumbnail,alt:""})})})})}),(0,o.jsxs)("div",{className:"palette-box__info palette--col",children:[(0,o.jsxs)("div",{className:"palette-box-pick__top",children:[(0,o.jsx)("strong",{className:"show-pc",children:"arte\u2019s Pick"}),(0,o.jsx)("strong",{className:"show-mo",children:"arte\u2019s Pick"})]}),(0,o.jsxs)("div",{className:"palette-box__info-col",children:[(0,o.jsxs)("div",{className:"palette-box__info-col__tit",children:[(0,o.jsx)("p",{className:"palette-box__title",children:(0,o.jsx)(h(),{href:e.to_link,children:(0,o.jsx)("a",{children:e.title})})}),(0,o.jsxs)("div",{className:"art-info-by",children:[(0,o.jsx)("span",{className:"tag-gen-s",children:e.code362_name}),"PT_BOOK"!==e.code301&&(0,o.jsx)("span",{className:"tag",children:e.code921_name}),(0,o.jsxs)("span",{className:"grade",children:[(0,o.jsx)("span",{className:"star",children:(0,o.jsx)("i",{className:"star__point ".concat("p"+(0,b.x)(e.grade_avg))})}),(0,o.jsx)("em",{className:"grade__num",children:Number(e.grade_avg).toFixed(1)})]})]})]}),"PT_BOOK"===e.code301&&(0,o.jsxs)("ul",{className:"art-info",children:[(0,o.jsx)("li",{children:e.author}),(0,o.jsx)("li",{children:e.publisher})]}),"PT_BOOK"!==e.code301&&(0,o.jsxs)("ul",{className:"art-info",children:[(0,o.jsx)("li",{className:"ico-event",children:e.term}),(0,o.jsx)("li",{className:"ico-location",children:e.art_space_name})]})]})]})]})},e.id):(0,o.jsx)("div",{className:"palette__item",children:(0,o.jsxs)("div",{className:"palette-box",children:[(0,o.jsx)("div",{className:"palette-box__img",children:(0,o.jsx)(h(),{href:e.to_link,children:(0,o.jsx)("a",{className:"thumb-img",children:(0,o.jsx)("span",{className:"img-holder",children:(0,o.jsx)("img",{src:e.thumbnail,alt:""})})})})}),(0,o.jsx)("div",{className:"palette-box__info palette--col",children:(0,o.jsxs)("div",{className:"palette-box__info-col",children:[(0,o.jsxs)("div",{className:"palette-box__info-col__tit",children:[(0,o.jsx)("p",{className:"palette-box__title",children:(0,o.jsx)(h(),{href:e.to_link,children:(0,o.jsx)("a",{children:e.title})})}),(0,o.jsxs)("div",{className:"art-info-by",children:[(0,o.jsx)("span",{className:"tag-gen-s",children:e.code362_name}),"PT_BOOK"!==e.code301&&(0,o.jsx)("span",{className:"tag",children:e.code921_name}),(0,o.jsxs)("span",{className:"grade",children:[(0,o.jsx)("span",{className:"star",children:(0,o.jsx)("i",{className:"star__point ".concat("p"+(0,b.x)(e.grade_avg))})}),(0,o.jsx)("em",{className:"grade__num",children:Number(e.grade_avg).toFixed(1)})]})]})]}),"PT_BOOK"===e.code301&&(0,o.jsxs)("ul",{className:"art-info",children:[(0,o.jsx)("li",{children:e.author}),(0,o.jsx)("li",{children:e.publisher})]}),"PT_BOOK"!==e.code301&&(0,o.jsxs)("ul",{className:"art-info",children:[(0,o.jsx)("li",{className:"ico-event",children:e.term}),(0,o.jsx)("li",{className:"ico-location",children:e.art_space_name})]})]})})]})},e.id)}))})})}
1),(0,o.jsx)(g.Z,{page:B.page,limit:B.limit,totalCount:P,handleChangePage:z})]})})]})})]}),A&&(0,o.jsx)(f.Z,{})]})]})}},37881:function(e,s,a){"use strict";a.d(s,{x:function(){return t}});var t=function(e,s){var a=null;return(a=void 0!==s?5*Number(e-2*s):Number(e))>10?10:Math.floor(a)}}},function(e){e.O(0,[9774,2888,179],(function(){return s=90597,e(e.s=s);var s}));var s=e.O();_N_E=s}]);
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.