PageSourceSearch

https://www.arte.co.kr/_next/static/chunks/pages/video/[id]-875f42f59385d4b5.js

js arte.co.kr collected 2026-09-24 11:25:12 UTC 13,859 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7582],{44614:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/video/[id]",function(){return a(21644)}])},45616:function(e,t,a){"use strict";var s=a(85893);a(67294);t.Z=function(){return(0,s.jsx)("div",{className:"box-layerLoading"})}},21644:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return w}});var s=a(47568),n=a(14924),i=a(26042),r=a(69396),c=a(70655),l=a(85893),d=a(9008),o=a.n(d),u=a(41664),m=a.n(u),h=a(11163),p=a(67294),_=a(88767),v=a(30580),x=a(71312),j=a(77715),f=a(1964),g=a(50758),N=a(38883),b=a(45616),w=!0;t.default=function(e){var t,d,u=e.data,w=e.fullURL;a(31007);var y=(0,h.useRouter)(),k=(0,v.Z)(),S=(0,p.useState)(""),E=S[0],Z=S[1],I=(0,p.useState)({}),T=I[0],P=I[1],D=(0,p.useState)([]),L=D[0],O=D[1],V=(0,p.useState)({page:0,limit:10,sort:"created_at",direction:"desc"}),Y=V[0],A=V[1],C=(0,p.useState)([]),R=C[0],U=C[1],Q=(0,p.useState)(0),B=Q[0],F=Q[1],M=(0,p.useState)([]),H=M[0],X=M[1],q=(0,p.useState)([]),K=q[0],W=q[1],z=(0,p.useState)(""),G=z[0],J=z[1],$=(0,p.useState)(!1),ee=$[0],te=$[1];(0,_.useQuery)("getBannerItems",(0,s.Z)((function(){return(0,c.__generator)(this,(function(e){switch(e.label){case 0:return[4,x.Z.get("/common/banner/position/ATEP_01_02")];case 1:return[2,e.sent()]}}))})),{onSuccess:function(e){e.data.data=e.data.data.filter((function(e){return e.is_open>=1})),W(e.data.data)},onError:function(e){console.error(e)}}),(0,_.useQuery)(["getArteVideoDetail",E],(0,s.Z)((function(){return(0,c.__generator)(this,(function(e){switch(e.label){case 0:return E?(te(!0),[4,x.Z.get("/fo/tv/arte/".concat(E))]):[3,2];case 1:return[2,e.sent()];case 2:return[2]}}
1))})),{onSuccess:function(e){if(te(!1),e){P(e.data.data.video),O(e.data.data.keywords);var t="";if(e.data.data.video.vod_url.includes("https://www.youtube.com/live/")){var a=e.data.data.video.vod_url.split("/");t=a[a.length-1]}else if(e.data.data.video.vod_url.includes("https://youtu.be/")){var s=e.data.data.video.vod_url.split("/");t=s[s.length-1]}else if(e.data.data.video.vod_url.includes("/embed/")){var n=e.data.data.video.vod_url.split("/");t=n[n.length-1]}else e.data.data.video.vod_url.includes("https://www.youtube.com/")&&(t=e.data.data.video.vod_url.split("?")[1].split("&").find((function(e){return e.includes("v=")})).replace(/v=/g,""));J(t)}},onError:function(e){console.error(e)}});var ae=(0,_.useQuery)(["getArteVideoReply",E,Y.sort],(0,s.Z)((function(){return(0,c.__generator)(this,(function(e){switch(e.label){case 0:return E?[4,x.Z.get("/fo/tv/arte/".concat(E,"/reply"),{params:Y})]:[3,2];case 1:return[2,e.sent()];case 2:return[2]}}))})),{onSuccess:function(e){e&&(U(e.data.list),F(e.data.total))},onError:function(e){console.error(e)}}).refetch;(0,_.useQuery)("getNewUploadVideo",(0,s.Z)((function(){return(0,c.__generator)(this,(function(e){switch(e.label){case 0:return[4,x.Z.get("/fo/tv/arte/upload/new3",{})];case 1:return[2,e.sent()]}}))})),{onSuccess:function(e){X(e.data.data)},onError:function(e){console.error(e)}});var se=function(e,t,a,s,n){k.mutate({event:e,contentId:t,contentType:a,callback:function(){P((0,r.Z)((0,i.Z)({},T),{is_like:"Y"===T.is_like?"N":"Y",like_cnt:"Y"===T.is_like?T.like_cnt-=1:T.like_cnt+=1}))}})};return(0,p.useEffect)((function(){K.length>0&&window.UI.adBanner.init()}),[K]),(0,p.useEffect)((function(){H.length>0&&window.UI.artItem.init()}),[H]),(0,p.useEffect)((function(){y.isReady&&Z(y.query.id)}),[y]),(0,p.useEffect)((function(){T.description_s&&T.description_d&&window.UI.editorYoutube.init()}),[T.description_s,T.description_d]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(o(),{children:[(0,l.jsx)("title",{children:"arte : arteTV \uc601\uc0c1"}),(0,l.jsx)("meta",{property:"og:url",content:w}),(0,l.jsx)("meta",{property:"og:type",content:"article"}),(0,l.jsx)("meta",{property:"og:title",content:u.data.video.title}),(0,l.jsx)("meta",{property:"og:description",content:u.data.video.description_d}),(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:u.data.video.thumbnail}),(0,l.jsx)("meta",{name:"title",content:u.data.video.title}),(0,l.jsx)("meta",{name:"description",content:u.data.video.description_d}),(0,l.jsx)("meta",{name:"image",content:u.data.video.thumbnail}),(0,l.jsx)("meta",{itemProp:"name",content:u.data.video.title}),(0,l.jsx)("meta",{itemProp:"description",content:u.data.video.description_d}),(0,l.jsx)("meta",{itemProp:"image",content:u.data.video.thumbnail}),(0,l.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,l.jsx)("meta",{name:"twitter:title",content:u.data.video.title}),(0,l.jsx)("meta",{name:"twitter:description",content:u.data.video.description_d}),(0,l.jsx)("meta",{name:"twitter:image",content:u.data.video.thumbnail})]}),(0,l.jsxs)("div",{className:"container",id:"container",children:[(0,l.jsx)("div",{className:"content",children:(0,l.jsx)("section",{className:"view-section",children:(0,l.jsxs)("div",{className:"view-wrap arte-vod-wrap",children:[(0,l.jsxs)("div",{className:"editor-section",children:[(0,l.jsxs)("div",{className:"editor-info-section",children:[(0,l.jsx)("h2",{className:"editor-info__title gradient",children:"arteTV \uc720\ud29c\ube0c\u200b"}),(0,l.jsx)("p",{className:"editor-info__sub-title",children:"\uc5f0\uadf9, \ubba4\uc9c0\uceec, \ud074\ub798\uc2dd, \uc624\ud398\ub77c, \ubb34\uc6a9, \uad6d\uc545, \uc804\uc2dc, \ub3c4\uc11c \uad00\ub828 \uc601\uc0c1"})]}),(0,l.jsxs)("div",{className:"arte-vod",children:[(0,l.jsx)("div",{className:"arte-vod__video",children:(0,l.jsx)("iframe",{width:"100%",height:"100%",src:"https://www.youtube.com/embed/".concat(G),title:"",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0})}),(0,l.jsxs)("div",{className:"arte-vod__info",children:[(0,l.jsx)("span",{className:"arte-vod__tab",children:T.code301_name}),(0,l.jsxs)("strong",{className:"arte-vod__title",children:[u.data.video.title,"\u200b"]}),(0,l.jsx)("div",{className:"arte-vod__detail",children:(0,l.jsxs)("ul",{className:"arte-vod__detail-top",children:[(0,l.jsx)("li",{className:"txt-box",children:(0,l.jsxs)("p",{className:"arte-vod__detail-text",children:[(0,l.jsx)("span",{className:"title",children:"\ud504\ub85c\uadf8\ub7a8\uba85"}),(0,l.jsx)("span",{className:"cont",children:T.code221_name})]})}),(0,l.jsxs)("li",{className:"txt-box",children:[(0,l.jsxs)("p",{className:"arte-vod__detail-text",children:[(0,l.jsx)("span",{className:"title",children:"\uc601\uc0c1 \ucd9c\ucc98"}),(0,l.jsx)("span",{className:"cont",children:T.code211_name})]}),(0,l.jsxs)("p",{className:"arte-vod__detail-text",children:[(0,l.jsx)("span",{className:"title",children:"\uccab \ubc29\uc1a1"}),(0,l.jsx)("span",{className:"cont",children:(0,j.E5)(T.start_date)})]}),(0,l.jsxs)("p",{className:"arte-vod__detail-text",children:[(0,l.jsx)("span",{className:"title",children:"\uc7ac\uc0dd \uc2dc\uac04"}),(0,l.jsxs)("span",{className:"cont",children:[(0,f.D)(T.play_time),"min"]})]})]})]})}),(0,l.jsxs)("div",{className:"editor-info__util",children:[(0,l.jsx)("div",{className:"art-info-wrap",children:(0,l.jsxs)("div",{className:"art-info-sub",children:[(0,l.jsx)("span",{className:"text-date",children:(0,j.E5)(T.created_at)}),(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,f.u)(T.view_cnt)})}),(0,l.jsx)("span",{className:"acc-num acc-num--like",children:(0,l.jsx)("em",{children:(0,f.u)(T.like_cnt)})}),(0,l.jsx)("span",{className:"acc-num acc-num--comment",children:(0,l.jsx)("em",{children:(0,f.u)(T.reply_cnt)})})]}),(0,l.jsx)("button",{type:"button",className:"btn-fav ".concat("Y"===T.is_like&&"is-fav"),"aria-label":"Like",onClick:function(e){return se(e,T.i
1d,"VOD")}})]})}),(0,l.jsx)("button",{type:"button",className:"btn-share align-end","aria-label":"Share","data-pop-open":"popupShare"})]})]})]}),(0,l.jsx)("div",{className:"view-editor",children:(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:null===T||void 0===T||null===(t=T.description_s)||void 0===t?void 0:t.replace("&nbsp;"," ").replace(/\n/g,"<br />")}})}),(0,l.jsx)("p",{children:"\xa0"}),(0,l.jsx)("div",{className:"view-editor",children:(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:null===T||void 0===T||null===(d=T.description_d)||void 0===d?void 0:d.replace("&nbsp;"," ").replace(/\n/g,"<br />")}})}),(0,l.jsx)("p",{children:"\xa0"}),(0,l.jsx)("div",{className:"hashtag-block",children:L.map((function(e,t){return(0,l.jsx)(m(),{href:"/util/search/video?keyword=".concat(e.keyword),children:(0,l.jsxs)("a",{className:"hashtag",style:{cursor:"pointer"},children:["# ",e.keyword]})},"tag-".concat(t))}))})]}),(0,l.jsx)("div",{className:"vote-seciton vote-result-section",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:K.map((function(e){return(0,l.jsx)(m(),{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:K.title}),(0,l.jsx)("img",{src:e.img2,className:"ad-banner__img img--mo",alt:K.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,j.wA)(e.start_date),"-",(0,j.wA)(e.end_date)]})]})]}):""]})},e.banner_pk)}))})}),(0,l.jsx)("div",{className:"ad-banner__pagination"})]})}),(0,l.jsx)("div",{className:"reply-wrap",children:(0,l.jsx)(g.Z,{replys:R,total:B,contentType:T.content_type,contentId:T.id,refresh:ae,onChangeSearchParams:function(e,t){A((0,r.Z)((0,i.Z)({},Y),(0,n.Z)({},e,t)))},searchParams:Y,apiEndPoint:"/fo/tv/arte/".concat(E,"/reply")})}),(0,l.jsx)("div",{className:"editor-paging",children:(0,l.jsx)(m(),{href:"/video/list",children:(0,l.jsx)("a",{href:"#",className:"paging__list",children:(0,l.jsx)("span",{className:"paging__list__text",children:"LIST"})})})}),(0,l.jsx)("div",{className:"art-vt",children:(0,l.jsxs)("div",{className:"art-vt__container",children:[(0,l.jsx)("div",{className:"art-vt__titbox",children:(0,l.jsx)("h2",{className:"art-vt__title",children:"arte TV \ucd5c\uc2e0 \uc5c5\ub85c\ub4dc \uc601\uc0c1"})}),(0,l.jsxs)("div",{className:"art-vt-slide__wrap art-vt-slide art-vt-grid art-vt-grid__mid",children:[(0,l.jsx)("div",{className:"art-vt-slide__content swiper",children:(0,l.jsx)("ul",{className:"art-vt-slide__box swiper-wrapper",children:H.map((function(e,t){return(0,l.jsxs)("li",{className:"art-vt-grid__item swiper-slide",children:[(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 se(t,e.id,e.content_type)}}),(0,l.jsxs)("div",{className:"art-vt-block",children:[(0,l.jsx)(m(),{href:"/video/".concat(e.id),children:(0,l.jsxs)("a",{className:"art-vt-block__link",children:[(0,l.jsxs)("div",{className:"thumb-img",children:[(0,l.jsx)("span",{className:"img-holder",children:(0,l.jsx)("img",{src:e.thumbnail,alt:""})}),(0,l.jsx)("span",{className:"tag-gen",children:e.code301_name})]}),(0,l.jsxs)("div",{className:"art-vt-block__titbox",children:[(0,l.jsx)("p",{className:"art-vt-block__title art-vt-block__title--multi",children:e.title}),(0,l.jsx)("p",{className:"art-vt-block__sub",children:e.code211_name})]})]})}),(0,l.jsx)("div",{className:"art-vt-block__inbox",children:(0,l.jsxs)("div",{className:"art-info-sub",children:[(0,l.jsxs)("span",{className:"text-min",children:[(0,f.D)(e.play_time),"min"]}),(0,l.jsx)("span",{className:"text-date",children:(0,j.E5)(e.created_at)}),(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,f.u)(e.view_cnt)})}),(0,l.jsx)("span",{className:"acc-num acc-num--like",children:(0,l.jsx)("em",{children:(0,f.u)(e.like_cnt)})}),(0,l.jsx)("span",{className:"acc-num acc-num--comment",children:(0,l.jsx)("em",{children:(0,f.u)(e.reply_cnt)})})]})]})})]})]},e.id)}))})}),(0,l.jsx)("div",{className:"art-vt-slide__pagination"})]})]})})]})})}),ee&&(0,l.jsx)(b.Z,{})]}),(0,l.jsx)(N.Z,{shareTitle:T.title||"",shareDesc:T.description_s||"",shareImage:T.thumbnail||""})]})}}
1,77715:function(e,t,a){"use strict";a.d(t,{E5:function(){return i},p6:function(){return s},tu:function(){return r},wA:function(){return n}});var s=function(e){if(e){"object"===typeof e&&e.toISOString(),e=e.replace(/-/g,"");var t,a,s;return t=e.substr(0,4),a=e.substr(4,2),s=e.substr(6,2),"".concat(t,". ").concat(a,". ").concat(s)}},n=function(e){if(e){"object"===typeof e&&e.toISOString(),e=e.replace(/-/g,"");var t,a,s;return t=e.substring(0,4),a=e.substring(4,6),s=e.substring(6,8),"".concat(t,".").concat(a,".").concat(s)}},i=function(e){if(e)return e.split("T")[0].replace(/-/g,".")},r=function(e,t){for(var a=[],s=-1;s<6;s++)-1===s?a.push(new Date(e.getTime()-t).toISOString().substring(0,10).replace(/-/g,".")):a.push(new Date(new Date(e.getFullYear(),e.getMonth(),e.getDate()+(s+e.getDay())).getTime()-t).toISOString().substring(0,10).replace(/-/g,"."));return a}}},function(e){e.O(0,[2205,758,9774,2888,179],(function(){return t=44614,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.