https://www.helloarchive.co.kr/_next/static/chunks/pages/login/find-password-e78b2bc6de234af04503.js
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4231],{56934:function(r,e,n){"use strict";var t=n(85893),s=n(67294);e.Z=function(r){var e=r.path;return(0,s.useEffect)((function(){window.location.replace("".concat("https://join.yna.co.kr","/ko").concat(e))}),[e]),(0,t.jsx)(t.Fragment,{})}},32855:function(r,e,n){"use strict";n.r(e);var t=n(85893),s=n(809),o=n.n(s),c=n(92447),i=n(26265),a=n(67294),l=n(79941),_=n(11163),m=n(83983),d=n(37351),b=n(84751),u=n(41819),p=n(56934);function f(r,e){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.push.apply(n,t)}return n}function h(r){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){(0,i.Z)(r,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(n,e))}))}return r}e.default=function(){var r={mbr_typ_cd:"CO",mbr_id:"",mbr_id_error:!1,mbr_id_error_msg:"",mbr_nm:"",mbr_nm_error:!1,mbr_nm_error_msg:"",send_type:"email",bizlic_no:"",bizlic_no_error:!1,bizlic_no_error_msg:""},e=(0,a.useState)(r),n=e[0],s=e[1],i=(0,b.I0)(),f=function(e){s(h(h({},r),{},{mbr_typ_cd:e}))},x=function(e){s(h(h({},r),{},{mbr_typ_cd:n.mbr_typ_cd,send_type:e}))},y=function(r,e){n[e]=r.target.value,s((function(n){var t=h({},n);return t[e]=r.target.value,t["".concat(e,"_error")]=!1,t["".concat(e,"_error_msg")]="",t}))},j=function(){var r=(0,c.Z)(o().mark((function r(){var e,t;return o().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if("CO"!==n.mbr_typ_cd){r.next=19;break}if((0,m.wI)(n.bizlic_no)){r.next=4;break}return s((function(r){return h(h({},r),{},{bizlic_no:"",bizlic_no_error:!0,bizlic_no_error_msg:"\uc0ac\uc5c5\uc790\ubc88\ud638\ub97c \uc815\ud655\ud788 \uc785\ub825\ud574 \uc8fc\uc138\uc694."})})),r.abrupt("return",!1);case 4:return r.prev=4,r.next=7,(0,l.kS)({bizlic_no:n.bizlic_no});case 7:if(t=r.sent,"Y"===(null===(e=t.data)||void 0===e?void 0:e.data.registration_yn)){r.next=11;break}return s((function(r){return h(h({},r),{},{bizlic_no:"",bizlic_no_error:!0,bizlic_no_error_msg:"\uc0ac\uc5c5\uc790\ubc88\ud638\uc640 \uc77c\uce58\ud558\ub294 \uc815\ubcf4\uac00 \uc5c6\uc2b5\ub2c8\ub2e4."})})),r.abrupt("return",!1);case 11:r.next=17;break;case 13:r.prev=13,r.t0=r.catch(4),i(u.n.setModal({type:"error",message:"\uc778\ud130\ub137 \uc811\uc18d \uc7a5\uc560\ub85c \uc778\ud558\uc5ec \uc624\ub958\uac00 \ubc1c\uc0dd\ud558\uc600\uc2b5\ub2c8\ub2e4. \uc7a0\uc2dc \ud6c4 \ub2e4\uc2dc \uc2dc\ub3c4\ud574 \uc8fc\uc138\uc694."})),i(u.n.openModal());case 17:r.next=22;break;case 19:if(!((0,m.Ec)(n.mbr_nm)<4||(0,m.Ec)(n.mbr_nm)>120)){r.next=22;break}return s((function(r){return h(h({},r),{},{mbr_nm:"",mbr_nm_error:!0,mbr_nm_error_msg:"\ud68c\uc6d0\uba85\uc73c\ub85c \uac00\uc785\ub41c \uc815\ubcf4\uac00 \uc5c6\uc2b5\ub2c8\ub2e4."})})),r.abrupt("return",!1);case 22:if((0,m.lN)("userId",n.mbr_id)){r.next=25;break}return s((function(r){return h(h({},r),{},{mbr_id:"",mbr_id_error:!0,mbr_id_error_msg:"\uc544\uc774\ub514 \ud615\uc2dd\uc774 \uc62c\ubc14\ub974\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4."})})),r.abrupt("return",!1);case 25:return r.abrupt("return",!0);case 26:case"end":return r.stop()}}
1),r,null,[[4,13]])})));return function(){return r.apply(this,arguments)}}(),g=function(){var r=(0,c.Z)(o().mark((function r(){var e,t,c,a,d,b,p;return o().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,j();case 3:if(!r.sent){r.next=21;break}return r.next=7,(0,l.MU)({mbr_typ_cd:n.mbr_typ_cd,mbr_nm:n.mbr_nm,send_type:n.send_type,bizlic_no:n.bizlic_no,mbr_id:n.mbr_id.toUpperCase()});case 7:if(200!==(e=r.sent).status||"0000"!==e.data.result){r.next=20;break}return t=e.data,c=t.data,a=c.send_info,d=c.send_time,b={send_type:n.send_type,send_info:a,send_time:d},r.t0=encodeURIComponent,r.next=15,(0,m.l_)(JSON.stringify(b));case 15:r.t1=r.sent,p=(0,r.t0)(r.t1),_.default.push("/login/password-info?sid=".concat(p)),r.next=21;break;case 20:200===e.status&&"4001"===e.data.result||"4011"===e.data.result?(i(u.n.setModal({type:"error",message:"\uc544\uc774\ub514\uac00 \uc77c\uce58\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4."})),i(u.n.openModal()),s((function(r){return h(h({},r),{},{mbr_id:"",mbr_id_error:!0,mbr_id_error_msg:"\uc544\uc774\ub514\uac00 \uc77c\uce58\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4."})}))):(i(u.n.setModal({type:"error",message:"\uc778\ud130\ub137 \uc811\uc18d \uc7a5\uc560\ub85c \uc778\ud558\uc5ec \uc624\ub958\uac00 \ubc1c\uc0dd\ud558\uc600\uc2b5\ub2c8\ub2e4. \uc7a0\uc2dc \ud6c4 \ub2e4\uc2dc \uc2dc\ub3c4\ud574 \uc8fc\uc138\uc694."})),i(u.n.openModal()));case 21:r.next=27;break;case 23:r.prev=23,r.t2=r.catch(0),i(u.n.setModal({type:"error",message:"\uc778\ud130\ub137 \uc811\uc18d \uc7a5\uc560\ub85c \uc778\ud558\uc5ec \uc624\ub958\uac00 \ubc1c\uc0dd\ud558\uc600\uc2b5\ub2c8\ub2e4. \uc7a0\uc2dc \ud6c4 \ub2e4\uc2dc \uc2dc\ub3c4\ud574 \uc8fc\uc138\uc694."})),i(u.n.openModal());case 27:case"end":return r.stop()}}),r,null,[[0,23]])})));return function(){return r.apply(this,arguments)}}();return(0,t.jsxs)("div",{className:"center-760 panel-white ",children:[(0,t.jsx)("h2",{className:"fs-1",children:"\ube44\ubc00\ubc88\ud638 \ucc3e\uae30"}),(0,t.jsx)("p",{className:"cnt-text ",children:"\ud68c\uc6d0\uc815\ubcf4\uc758 \uc774\uba54\uc77c \ub610\ub294 \ud734\ub300\ud3f0 \ubc88\ud638\ub85c \uc784\uc2dc \ube44\ubc00\ubc88\ud638\ub97c \ubc1c\uc1a1\ud569\ub2c8\ub2e4."}),(0,t.jsxs)("p",{className:"cnt-smtext detail-txt",children:["\ud68c\uc6d0(\ubc95\uc778)\uba85 \ubc0f \uc544\uc774\ub514\ub97c \ubaa8\ub450 \uc785\ub825\ud558\uba74 [\ud655\uc778] \ubc84\ud2bc\uc73c\ub85c \ubcc0\ud658\ub429\ub2c8\ub2e4. ",(0,t.jsx)("br",{}),"[\ud655\uc778] \ubc84\ud2bc\uc744 \ud074\ub9ad\ud574 \uc784\uc2dc \ube44\ubc00\ubc88\ud638\ub97c \ubc1c\uae09 \ubc1b\uc73c\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4."]}),(0,t.jsx)("div",{className:"panel-cnt-wrap",children:(0,t.jsxs)("div",{className:"tab-wrap",children:[(0,t.jsxs)("ul",{className:"tab-menu",children:[(0,t.jsx)("li",{className:"".concat("CO"===n.mbr_typ_cd?"on":""),onClick:function(){return f("CO")},children:"\ubc95\uc778 \ud68c\uc6d0"}),(0,t.jsx)("li",{className:"".concat("PS"===n.mbr_typ_cd?"on":""),onClick:function(){return f("PS")},children:"\uac1c\uc778 \ud68c\uc6d0"}),(0,t.jsx)("li",{className:"".concat("CP"===n.mbr_typ_cd?"on":""),onClick:function(){return f("CP")},children:"\uc791\uac00 \ubc0f \uc81c\ud734\uc5b8\ub860"})]}),(0,t.jsx)("div",{className:"tab-cnt-wrap ".concat("PS"===n.mbr_typ_cd?"":"none"),children:"PS"===n.mbr_typ_cd&&(0,t.jsx)(p.Z,{path:"/find/password?type=email&redirectUrl=".concat(encodeURIComponent("https://www.helloarchive.co.kr"))})}),(0,t.jsxs)("div",{className:"tab-cnt-wrap ".concat("CO"===n.mbr_typ_cd?"":"none"),children:[(0,t.jsxs)("div",{className:"form-sty1",children:[(0,t.jsx)("label",{htmlFor:"",children:"\ubc1c\uc1a1\ubc29\ubc95 \uc120\ud0dd"}),(0,t.jsxs)("div",{className:"toogle-btn-bar",children:[(0,t.jsx)("button",{type:"button",className:"btn-md toogle-btn ".concat("email"===n.send_type?"on":""),onClick:function(){return x("email")},children:"\uc774\uba54\uc77c"}),(0,t.jsx)("button",{type:"button",className:"btn-md toogle-btn ".concat("sms"===n.send_type?"on":""),onClick:function(){return x("sms")},children:"\ud734\ub300\ud3f0"})]})]}),(0,t.jsxs)("div",{className:"form-sty1",children:[(0,t.jsx)("label",{htmlFor:"",children:"\uc0ac\uc5c5\uc790\ubc88\ud638"}),(0,t.jsx)(d.UP,{type:"text",placeholder:"\uc0ac\uc5c5\uc790\ubc88\ud638 10\uc790\ub9ac '-'\uc5c6\uc774 \uc22b\uc790\ub9cc \uc785\ub825",value:n.bizlic_no,onChange:function(r){return y(r,"bizlic_no")},onReset:function(){s((function(r){return h(h({},r),{},{bizlic_no:"",bizlic_no_error:!1,bizlic_no_error_msg:""})}))},isError:n.bizlic_no_error,errorMessage:n.bizlic_no_error_msg})]}),(0,t.jsxs)("div",{className:"form-sty1",children:[(0,t.jsx)("label",{htmlFor:"",children:"\uc544\uc774\ub514"}),(0,t.jsx)(d.UP,{type:"text",placeholder:"\uc544\uc774\ub514 \uc785\ub825",value:n.mbr_id,onChange:function(r){y(r,"mbr_id")},onReset:function(){s((function(r){return h(h({},r),{},{mbr_id:"",mbr_id_error:!1,mbr_id_error_msg:""})}))},isError:n.mbr_id_error,errorMessage:n.mbr_id_error_msg})]})]}),(0,t.jsxs)("div",{className:"tab-cnt-wrap ".concat("CP"===n.mbr_typ_cd?"":"none"),children:[(0,t.jsxs)("div",{className:"form-sty1",children:[(0,t.jsx)("label",{htmlFor:"",children:"\ubc1c\uc1a1\ubc29\ubc95 \uc120\ud0dd"}),(0,t.jsxs)("div",{className:"toogle-btn-bar",children:[(0,t.jsx)("button",{type:"button",className:"btn-md toogle-btn ".concat("email"===n.send_type?"on":""),onClick:function(){return x("email")},children:"\uc774\uba54\uc77c"}),(0,t.jsx)("button",{type:"button",className:"btn-md toogle-btn ".concat("sms"===n.send_type?"on":""),onClick:function(){return x("sms")},children:"\ud734\ub300\ud3f0"})]})]}),(0,t.jsxs)("div",{className:"form-sty1",children:[(0,t.jsx)("label",{htmlFor:"",children:"\ud68c\uc6d0(\ubc95\uc778)\uba85"}),(0,t.jsx)(d.UP,{type:"text",placeholder:"\ud68c\uc6d0\uba85 \uc785\ub825",value:n.mbr_nm,onChange:function(r){y(r,"mbr_nm")},onReset:function(){s((function(r){return h(h({},r),{},{mbr_nm:"",mbr_nm_error:!1,mbr_nm_error_msg:""})}))},isError:n.mbr_nm_error,errorMessage:n.mbr_nm_error_msg})]}),(0,t.jsxs)("div",{className:"form-sty1",children:[(0,t.jsx)("label",{htmlFor:"",children:"\uc544\uc774\ub514"}),(0,t.jsx)(d.UP,{type:"text",placeholder:"\uc544\uc774\ub514 \uc785\ub825",value:n.mbr_id,onChange:function(r){y(r,"mbr_id")},onReset:function(){s((function(r){return h(h({},r),{},{mbr_id:"",mbr_id_error:!1,mbr_id_error_msg:""})}))},isError:n.mbr_id_error,errorMessage:n.mbr_id_error_msg})]})]})]})}),"PS"!==n.mbr_typ_cd&&(0,t.jsxs)("div",{className:"d-flex-center-row btn-bar mt-10",children:[(0,t.jsx)("button",{type:"button",className:"btn btn-lg btn-outline w-100",onClick:function(){_.default.replace("/login")},children:"\ub2eb\uae30"}),(0,t.jsx)("button",{type:"button",className:"btn btn-lg btn-solid w-100",onClick:g,children:"\ud655\uc778"})]}),(0,t.jsx)("div",{className:"d-flex-center none",children:(0,t.jsxs)("div",{className:"alert-guied ",children:[(0,t.jsx)("i",{className:"ico16 ico-infomark-white"}),"\ube44\ubc00\ubc88\ud638 \ubcc0\uacbd\uc744 \uc704\ud574 \ubaa8\ub4e0 \uc815\ubcf4\ub97c \uc785\ub825\ud574\uc8fc\uc138\uc694"]})})]})}},29337:function(r,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/login/find-password",function(){return n(32855)}])}},function(r){r.O(0,[2561,7351,9774,2888,179],(function(){return e=29337,r(r.s=e);var e}));var e=r.O();_N_E=e}]);
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.