1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8041],{56934:function(e,t,a){"use strict";var n=a(85893),s=a(67294);t.Z=function(e){var t=e.path;return(0,s.useEffect)((function(){window.location.replace("".concat("https://join.yna.co.kr","/ko").concat(t))}),[t]),(0,n.jsx)(n.Fragment,{})}},31577:function(e,t,a){"use strict";a.d(t,{s:function(){return s}});var n=a(85893),s=a(67294).memo((function(e){var t=e.name,a=e.initFunction;return(0,n.jsx)("button",{type:"button",value:t,className:"ico24 ico-input-close",onMouseDown:function(e){e.preventDefault()},onClick:a})}))},80334:function(e,t,a){"use strict";var n=a(85893),s=a(809),r=a.n(s),i=a(92447),c=a(67294),l=a(11163),o=a(83983),u=a(79941),d=a(84751),p=a(31577),h=function(e){var t=e.setIsConfirm,a=e.type,s=(0,l.useRouter)(),h=((0,d.I0)(),(0,c.useState)("")),m=h[0],f=h[1],g=(0,c.useState)(""),x=g[0],j=g[1],v=(0,c.useState)(!1),y=(v[0],v[1]),b=(0,c.useState)(!1),N=b[0],w=b[1],P=function(){w((function(e){return!e}))},S=function(){var e=(0,i.Z)(r().mark((function e(){var a,n,s,i;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=null!==(a=sessionStorage.getItem("ynau"))&&void 0!==a?a:localStorage.getItem("ynau-ps"),s=JSON.parse((0,o.PB)(n)),!("NA"!==s.userMig||(0,o.lN)("password",m))){e.next=10;break}return e.next=6,(0,o.vC)(m);case 6:i=e.sent,(0,u.hw)({password:i}).then((function(e){if(e&&200===e.status){var a=e.data,n=a.result;a.field;"0000"===n?t(!0):"4004"===n&&(y(!0),j(k("msg0")))}else alert("\uc624\ub958\uac00 \ubc1c\uc0dd\ud558\uc600\uc2b5\ub2c8\ub2e4. \uc7a0\uc2dc \ud6c4 \ub2e4\uc2dc \uc2dc\ub3c4\ud574 \uc8fc\uc138\uc694.")})),e.next=12;break;case 10:y(!0),j(k("msg1"));case 12:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),k=function(e){switch(e){case"msg0":return"\ube44\ubc00\ubc88\ud638\uac00 \uc77c\uce58\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.";case"msg1":return"\ucd5c\uc18c 8\uc790 \uc774\uc0c1~ 20\uc790 \uc774\ub0b4\ub85c \uc785\ub825\ud574 \uc8fc\uc138\uc694.";default:return""}};return(0,n.jsxs)("div",{className:"guied-cnt-wrap",children:[(0,n.jsx)("img",{src:"/images/common/ic_my_info_password.png",alt:""}),(0,n.jsxs)("div",{className:"text-box",children:[(0,n.jsx)("h5",{className:"point-text",children:"\ube44\ubc00\ubc88\ud638"}),(0,n.jsx)("p",{className:"cnt-mdtext gray-777 mt-10",children:function(e){switch(e){case"myinfomation":return"\ud68c\uc6d0\uc815\ubcf4 \uc218\uc815\uc744 \uc704\ud574\uc11c\ub294 \ube44\ubc00\ubc88\ud638 \ud655\uc778\uc774 \ud544\uc694\ud569\ub2c8\ub2e4.";case"account-del":return"\ud68c\uc6d0\ud0c8\ud1f4\ub97c \uc704\ud574\uc11c\ub294 \ube44\ubc00\ubc88\ud638 \ud655\uc778\uc774 \ud544\uc694\ud569\ub2c8\ub2e4.";default:return""}}(a)})]}),(0,n.jsxs)("div",{className:"cnt-box mt-10",children:[(0,n.jsxs)("div",{className:(0,o.W9)("basic-input",x,m,N),children:[(0,n.jsxs)("div",{className:"input-wrap ",children:[(0,n.jsx)("input",{type:"text",style:{width:"0px",height:"0px",position:"absolute"},"aria-hidden":"true"}),(0,n.jsx)("input",{type:"password",placeholder:"\ube44\ubc00\ubc88\ud638\ub97c \uc785\ub825\ud558\uc138\uc694.",value:m,onChange:function(e){f(e.currentTarget.value)},onKeyPress:function(e){"Enter"===e.key&&S()},onFocus:P,onBlur:P,autoComplete:"new-password",spellCheck:"false"}),(0,n.jsx)(p.s,{name:"password",initFunction:function(){f("")}})]}),(0,n.jsx)("p",{className:"input-text error",children:x})]}),(0,n.jsxs)("div",{className:"btn-bar",children:[(0,n.jsx)("button",{type:"button",className:"btn btn-lg btn-outline w-100",onClick:function(){s.back()},children:"\ucde8\uc18c"}),(0,n.jsx)("button",{type:"button",className:"btn btn-lg btn-solid w-100",onClick:S,children:"\ud655\uc778"})]})]})]})};t.Z=c.memo(h)},8041:function(e,t,a){"use strict";a.r(t);var n=a(85893),s=a(56934),r=a(80334),i=a(83983),c=a(67294),l=a(92043);t.default=function(e){var t=e.children,a=e.path,o=e.pathDesc,u=e.ulsPath,d=e.subPath,p=(0,c.useState)(!1),h=p[0],m=p[1],f=(0,c.useState)(""),g=f[0],x=f[1];return(0,c.useEffect)((function(){var e,t=null!==(e=sessionStorage.getItem("ynau"))&&void 0!==e?e:localStorage.getItem("ynau-ps"),a=JSON.parse((0,i.PB)(t)).userType;"PS"!==a&&"CO"!==a||x(a)}),[]),"PS"===g?(0,n.jsx)(s.Z,{path:u}):h?(0,n.jsx)(n.Fragment,{children:t}):(0,n.jsx)(l.default,{path:a,subPath:d,children:(0,n.jsxs)("div",{className:"right-cnt-body",children:[(0,n.jsx)("h3",{className:"tit",children:a}),(0,n.jsx)("div",{className:"tit-discription-wrap bd-bottom",children:(0,n.jsx)("p",{children:o})}),(0,n.jsx)(r.Z,{setIsConfirm:m,type:"myinfomation"})]})})}},92043:function(e,t,a){"use strict";a.r(t);var n=a(85893),s=a(67294),r=a(11163),i=a(83983),c=a(84751),l=a(41819),o=a(24094),u=a(44699);t.default=function(e){var t=e.children,a=e.path,d=e.subPath,p=(0,r.useRouter)(),h=(0,c.I0)(),m=(0,s.use
1State)(!1),f=m[0],g=m[1],x=(0,s.useState)(!1),j=x[0],v=x[1],y=(0,s.useState)(!1),b=y[0],N=y[1];return(0,s.useEffect)((function(){var e,t=null!==(e=sessionStorage.getItem("ynat"))&&void 0!==e?e:localStorage.getItem("ynat-ps");if(null===t||void 0===t){var a=window.location.href;window.location.href="".concat("https://join.yna.co.kr","/ko/login?redirectUrl=").concat(encodeURIComponent(a))}else{var n;g(!0);var s=null!==(n=sessionStorage.getItem("ynau"))&&void 0!==n?n:localStorage.getItem("ynau-ps"),r=JSON.parse((0,i.PB)(s)).userType;"PS"!==r&&"CO"!==r?(p.push("/401"),h(l.n.setModal({type:"error",message:"\uc811\uadfc \uad8c\ud55c\uc774 \uc5c6\uc2b5\ub2c8\ub2e4."})),h(l.n.openModal())):(v(!0),N(r))}}),[]),f&&j?(0,n.jsxs)("div",{className:"center-1280-container",children:[(0,n.jsx)(o.default,{path:a,subPath:d}),(0,n.jsxs)("div",{className:"d-flex-center-row cnt-body",children:[(0,n.jsx)(u.default,{userType:b}),t]})]}):null}},24094:function(e,t,a){"use strict";a.r(t);var n=a(85893),s=(a(67294),a(83983));t.default=function(e){var t=e.path,a=e.subPath;return(0,n.jsxs)("ul",{className:"history-link",children:[(0,n.jsxs)("li",{children:["\ub9c8\uc774\ud398\uc774\uc9c0",(0,n.jsx)("span",{className:"ico16 ico-location-arrow2"})]}),(0,n.jsxs)("li",{className:(0,s.xb)(a)?"on":"",children:[t,(0,n.jsx)("span",{className:"ico16 ico-location-arrow2"})]}),(0,s.xb)(a)?"":(0,n.jsxs)("li",{className:"on",children:[a,(0,n.jsx)("span",{className:"ico16 ico-location-arrow2"})]})]})}},44699:function(e,t,a){"use strict";a.r(t);var n=a(85893),s=(a(67294),a(41664)),r=a(94184),i=a.n(r),c=a(11163),l=function(e){var t=e.title,a=e.pagePath,r=e.isSelected,l=e.target,u=(0,c.useRouter)(),d="menu-items".concat("\ud68c\uc6d0\uc815\ubcf4\ubcc0\uacbd"===t?" menu-snb":""),p=i()(d,{select:r});return l?(0,n.jsx)("a",{href:a,target:l,children:(0,n.jsx)("li",{className:p,children:t})}):(0,n.jsx)(s.default,{href:a,children:(0,n.jsx)("li",{className:p,children:"\ud68c\uc6d0\uc815\ubcf4\ubcc0\uacbd"===t?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"menu-1depth",children:"\ud68c\uc6d0\uc815\ubcf4\ubcc0\uacbd"}),(0,n.jsx)("ul",{className:"menu-snb-wrap",children:[{title:"\ub0b4\uc815\ubcf4",pagePath:"/mypage/edit",hasSub:!1},{title:"\ube44\ubc00\ubc88\ud638 \ubcc0\uacbd",pagePath:"/mypage/edit/password",hasSub:!1},{title:"\ud68c\uc6d0 \ud0c8\ud1f4",pagePath:"/mypage/edit/account-del",hasSub:!1}].map((function(e,t){var a,s=u.pathname.split("/").reverse()[0],r=e.pagePath.split("/").reverse()[0];return a=-1!==s.indexOf("info")?"edit"===r:-1!==s.indexOf("pwInfo")?"account-del"===r:s===r,(0,n.jsx)(o,{title:e.title,pagePath:e.pagePath,isSelected:a},"sidebar_sub_".concat(t))}))})]}):t})})},o=function(e){var t=e.title,a=e.pagePath,r=e.isSelected,c=i()("menu-snb-itmes",{on:r});return(0,n.jsx)(s.default,{href:a,children:(0,n.jsx)("li",{className:c,children:t})})};t.default=function(e){var t=e.userType,a=(0,c.useRouter)(),s=[{title:"\uad6c\ub9e4\ub0b4\uc5ed",pagePath:"/mypage/purchase-history",target:""},{title:"\ub2e4\uc6b4\ub85c\ub4dc\ub0b4\uc5ed",pagePath:"/mypage/download-history",target:""},{title:"\uc7a5\ubc14\uad6c\ub2c8",pagePath:"/mypage/cart",target:""},{title:"\uad00\uc2ec\ud3f4\ub354",pagePath:"/mypage/interest-folder",target:""},{title:"\uacc4\uc57d\ud604\ud669",pagePath:"/mypage/contract",target:""},{title:"\uc778\ubb3c\uc774\uc6a9\uad8c",pagePath:"/mypage/voucher",target:""},{title:"PS"===t?"\ub0b4 \uc815\ubcf4 \uad00\ub9ac":"\ud68c\uc6d0\uc815\ubcf4\ubcc0\uacbd",pagePath:"PS"===t?"".concat("https://join.yna.co.kr","/ko/my/setting"):"/mypage/edit",target:"PS"===t?"_blank":""},{title:"1:1 \ubb38\uc758",pagePath:"/mypage/help",target:""}];return(0,n.jsxs)("div",{className:"left-menu aut-left-menu",children:[(0,n.jsx)("h3",{className:"tit",children:"\ub9c8\uc774\ud398\uc774\uc9c0"}),(0,n.jsx)("ul",{className:"left-menu-cnt",children:s.map((function(e,t){return(0,n.jsx)(l,{title:e.title,pagePath:e.pagePath,isSelected:-1!==a.pathname.indexOf(e.pagePath),target:e.target},"sidebar_".concat(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.