1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7826],{3479:(e,t,r)=>{"use strict";r.d(t,{A:()=>x});var n=r(14232),a=r(15039),o=r.n(a),s=r(73967),c=r(59825),i=r(68908),l=r(66209),d=r(93908),m=r(61060);let u=(0,d.OF)("Divider",e=>{let t=(0,m.oX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,sizePaddingEdgeHorizontal:0});return[(e=>{let{componentCls:t,sizePaddingEdgeHorizontal:r,colorSplit:n,lineWidth:a,textPaddingInline:o,orientationMargin:s,verticalMarginInline:c}=e;return{[t]:Object.assign(Object.assign({},(0,l.dF)(e)),{borderBlockStart:"".concat((0,i.zA)(a)," solid ").concat(n),"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:c,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:"".concat((0,i.zA)(a)," solid ").concat(n)},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:"".concat((0,i.zA)(e.marginLG)," 0")},["&-horizontal".concat(t,"-with-text")]:{display:"flex",alignItems:"center",margin:"".concat((0,i.zA)(e.dividerHorizontalWithTextGutterMargin)," 0"),color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:"0 ".concat(n),"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:"".concat((0,i.zA)(a)," solid transparent"),borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},["&-horizontal".concat(t,"-with-text-start")]:{"&::before":{width:"calc(".concat(s," * 100%)")},"&::after":{width:"calc(100% - ".concat(s," * 100%)")}},["&-horizontal".concat(t,"-with-text-end")]:{"&::before":{width:"calc(100% - ".concat(s," * 100%)")},"&::after":{width:"calc(".concat(s," * 100%)")}},["".concat(t,"-inner-text")]:{display:"inline-block",paddingBlock:0,paddingInline:o},"&-dashed":{background:"none",borderColor:n,borderStyle:"dashed",borderWidth:"".concat((0,i.zA)(a)," 0 0")},["&-horizontal".concat(t,"-with-text").concat(t,"-dashed")]:{"&::before, &::after":{borderStyle:"dashed none none"}},["&-vertical".concat(t,"-dashed")]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:n,borderStyle:"dotted",borderWidth:"".concat((0,i.zA)(a)," 0 0")},["&-horizontal".concat(t,"-with-text").concat(t,"-dotted")]:{"&::before, &::after":{borderStyle:"dotted none none"}},["&-vertical".concat(t,"-dotted")]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},["&-plain".concat(t,"-with-text")]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},["&-horizontal".concat(t,"-with-text-start").concat(t,"-no-default-orientation-margin-start")]:{"&::before":{width:0},"&::after":{width:"100%"},["".concat(t,"-inner-text")]:{paddingInlineStart:r}},["&-horizontal".concat(t,"-with-text-end").concat(t,"-no-default-orientation-margin-end")]:{"&::before":{width:"100%"},"&::after":{width:0},["".concat(t,"-inner-text")]:{paddingInlineEnd:r}}})}})(t),(e=>{let{componentCls:t}=e;return{[t]:{"&-horizontal":{["&".concat(t)]:{"&-sm":{marginBlock:e.marginXS},"&-md":{marginBlock:e.margin}}}}}})(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}});var p=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,n=Object.getOwnPropertySymbols(e);a<n.length;a++)0>t.indexOf(n[a])&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]]);return r};let h={small:"sm",middle:"md"},x=e=>{let{getPrefixCls:t,direction:r,className:a,style:i}=(0,s.TP)("divider"),{prefixCls:l,type:d="horizontal",orientation:m="center",orientationMargin:x,className:g,rootClassName:f,children:w,dashed:j,variant:b="solid",plain:_,style:v,size:y}=e,S=p(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style","size"]),C=t("divider",l),[z,A,E]=u(C),N=h[(0,c.A)(y)],P=!!w,k=n.useMemo(()=>"left"===m?"rtl"===r?"end":"start":"right"===m?"rtl"===r?"start":"end":m,[r,m]),O="start"===k&&null!=x,T="end"===k&&null!=x,M=o()(C,a,A,E,"".concat(C,"-").concat(d),{["".concat(C,"-with-text")]:P,["".concat(C,"-with-text-").concat(k)]:P,["".concat(C,"-dashed")]:!!j,["".concat(C,"-").concat(b)]:"solid"!==b,["".concat(C,"-plain")]:!!_,["".concat(C,"-rtl")]:"rtl"===r,["".concat(C,"-no-default-orientation-margin-start")]:O,["".concat(C,"-no-default-orientation-margin-end")]:T,["".concat(C,"-").concat(N)]:!!N},g,f),R=n.useMemo(()=>"number"==typeof x?x:/^\d+$/.test(x)?Number(x):x,[x]);return z(n.createElement("div",Object.assign({className:M,style:Object.assign(Object.assign({},i),v)},S,{role:"separator"}),w&&"vertical"!==d&&n.createElement("span",{className:"".concat(C,"-inner-text"),style:{marginInlineStart:O?R:void 0,marginInlineEnd:T?R:void 0}},w)))}},13854:(e,t,r)=>{"use strict";r.d(t,{y:()=>d});var n=r(37876),a=r(85878),o=r(8116),s=r(51526),c=r(45325),i=r.n(c);
1let{useBreakpoint:l}=s.Ay,d=e=>{let t=l();return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(o.u,{componentProps:{justify:"center",className:i().row},children:[(0,n.jsx)(a.Q,{componentProps:{xxl:6,xl:6,lg:0,md:0,sm:0,xs:0}}),(0,n.jsx)(a.Q,{componentProps:{xxl:12,xl:12,lg:24,md:24,sm:24,xs:24,className:t.lg?i().main_col:""},children:e.children}),(0,n.jsx)(a.Q,{componentProps:{xxl:6,xl:6,lg:0,md:0,sm:0,xs:0}})]})})}},22178:(e,t,r)=>{"use strict";r.d(t,{g:()=>o});var n=r(37876),a=r(40576);let o=e=>(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(a.A,{...e.componentProps,direction:"vertical",style:{display:"flex"},children:e.children})})},27646:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSG:()=>k,default:()=>O});var n=r(37876),a=r(41162),o=r(89099),s=r(31970),c=r(53890);let i=e=>{let{children:t}=e,r=(0,o.useRouter)(),i=r.query.u,l=r.query.t;return r.isReady?i&&l?(0,n.jsxs)(n.Fragment,{children:[t,(0,n.jsx)(c.b,{})]}):(r.replace(a.X.page.LOGIN_LOGIN),(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(s.R,{})})):(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(s.R,{})})};var l=r(24446),d=r(68543),m=r(17273),u=r(70790),p=r(74276),h=r(30414),x=r(11158),g=r(91011),f=r(22178),w=r(99748),j=r(72474),b=r.n(j),_=r(50242),v=r(71090),y=r(59232),S=r(14232),C=r(88992),z=r(91408),A=r(70749),E=r.n(A),N=r(13854);let P=()=>{let{t:e}=(0,y.Bd)(),t=(0,o.useRouter)(),[r,s]=(0,S.useState)(0),[c]=(0,S.useState)({password:"",token:"",userid:""}),{isFetching:i,isError:l,error:d}=(0,m.Xp)(c,{query:{enabled:0!=r}}),[j,A]=(0,S.useState)(!1),[,P]=(0,w.e)([a.X.accountRegist.RESET_PASSWORD_RESULT]),[,k]=(0,w.e)([a.X.hold.HOLD_SETTLEMENT_ID],""),[O,T]=(0,S.useState)(""),M=z.Ik({password:z.Yj().required(e("Error.required",{ns:"errorCommon"})).min(8,e("Error.lowestLength",{ns:"errorCommon",num:"8"})).max(32,e("Error.charactersOrLess",{ns:"errorCommon",num:"32"})).matches(/^[a-zA-Z0-9!@#$%^&*()_+\-=\[\]{};':"\\|,`~.<>\/?]+$/,{message:e("Error.halfwidthAlphanumericSymbol",{ns:"errorCommon"})}).matches(/^[a-zA-Z0-9@.!$*+-/=?^_`~]*$/,{message:e("Error.forbiddenSymbols",{ns:"errorCommon"})}).matches(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d).+$/,{message:e("Error.passwordRule",{ns:"errorCommon"})}),passwordConf:z.Yj().oneOf([z.KR("password"),""],e("Error.passwordMismatch",{ns:"errorCommon"})).required(e("Error.required",{ns:"errorCommon"}))}),R=(0,C.mN)({resolver:(0,v.t)(M),mode:"onChange"}),{trigger:I,formState:{errors:B}}=R,q=t.query.u,L=t.query.t,F=t.query.s,W=L.replace(/\s/g,"+");(0,S.useEffect)(()=>{if(r>0)if(l){var e;
1d.response&&"string"==typeof(null==(e=d.response.data)?void 0:e.message)?T(d.response.data.message):T("Error.internalServerError"),A(!1),s(0)}else i||(F&&k(F),t.push(a.X.page.ACCOUNT_RESET_PASSWORD_RESULT))},[r,l,i,d,F,k,t]);let D=async e=>{A(!0),c.userid=q,c.password=e.password,c.token=W,P(!0),T(""),s(e=>e+1)};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(C.Op,{...R,children:(0,n.jsx)("form",{onSubmit:R.handleSubmit(D),children:(0,n.jsx)(N.y,{children:(0,n.jsxs)(f.g,{componentProps:{size:"middle"},children:[(0,n.jsx)(u.L,{title:e("Common.pageResetPassword"),currentStep:"3",totalStep:"4"}),(0,n.jsxs)(x.s,{componentProps:{title:e("Account.resetPasswordTitle",{ns:"account"})},children:[(0,n.jsxs)(f.g,{children:[(0,n.jsx)(p.l,{title:e("Account.newPassword",{ns:"account"}),requiredMark:e("Common.required"),marginTop:0}),(0,n.jsx)(g.J,{name:"password",componentProps:{className:E().input_password,allowClear:!0,type:"password",inputMode:"text",maxLength:32,onChange:()=>{R.getValues("passwordConf")&&I("passwordConf")}}}),(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{children:e("Account.accountPasswordDescription1",{ns:"account"})}),(0,n.jsx)("p",{children:e("Account.accountPasswordDescription2",{ns:"account"})}),(0,n.jsx)("p",{children:e("Account.accountPasswordDescription3",{ns:"account"})}),(0,n.jsx)("p",{children:e("Account.accountPasswordDescription4",{ns:"account"})})]})]}),(0,n.jsx)(p.l,{title:e("Account.retypeNewPassword",{ns:"account"}),requiredMark:e("Common.required")}),(0,n.jsx)(g.J,{name:"passwordConf",componentProps:{className:E().input_password,allowClear:!0,type:"password",inputMode:"text",maxLength:32}})]}),(0,n.jsxs)("div",{className:E().btn_area,children:[Object.keys(B).length>0&&(0,n.jsx)("div",{className:b().input_error,children:e("Error.inputValue",{ns:"errorCommon"})}),O&&(0,n.jsx)("div",{className:b().input_error,children:e(O,{ns:"errorCommon"})}),(0,n.jsx)(h.e,{componentProps:{type:"primary",htmlType:"submit",size:"large",loading:j,disabled:j,className:b().primary_btn},children:e("Common.update")})]})]})})})}),(0,n.jsx)(_.DevTool,{control:R.control})]})};var k=!0;let O=()=>{let{t:e}=(0,y.Bd)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l.p,{title:e("Common.pageResetPassword")}),(0,n.jsx)(d.P,{}),(0,n.jsx)("main",{className:"".concat(b().main," ").concat(E().main_area),children:(0,n.jsx)(i,{children:(0,n.jsx)(P,{})})}),(0,n.jsx)(c.b,{})]})}},39020:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/ResetPassword",function(){return r(27646)}])},42398:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(44501),a=r(14232);let o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"};var s=r(81601);let c=a.forwardRef(function(e,t){return a.createElement(s.A,(0,n.A)({},e,{ref:t,icon:o}))})},45325:e=>{e.exports={row:"AccountGrid_row__Uic4u",main_col:"AccountGrid_main_col__VJ_Jy"}},50242:e=>{"use strict";e.exports={DevTool:()=>null}},61019:e=>{e.exports={title:"GeneralStep_title__hU4Ar"}},70749:e=>{e.exports={btn_area:"AccountResetPassword_btn_area___s_Zn",input_password:"AccountResetPassword_input_password__T8hdi"}},70788:(e,t,r)=>{"use strict";r.d(t,{J:()=>s});var n=r(37876),a=r(72474),o=r.n(a);let s=e=>(0,n.jsx)("span",{className:o().input_required,children:e.text})},70790:(e,t,r)=>{"use strict";r.d(t,{L:()=>l});var n=r(37876),a=r(72474),o=r.n(a),s=r(86183),c=r(61019),i=r.n(c);let l=e=>{let t=e.title,r=Number(e.currentStep),a=Number(e.totalStep);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.A,{type:"circle",strokeWidth:10,percent:100/a*r,size:70,format:()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:o().step_current_area,children:r}),(0,n.jsx)("span",{className:o().step_total_area_slash,children:"/"}),(0,n.jsx)("span",{className:o().step_total_area,children:a})]}),className:o().step_area}),(0,n.jsx)("span",{className:"".concat(o().color_text," ").concat(i().title),children:t})]})}},74276:(e,t,r)=>{"use strict";r.d(t,{l:()=>c});var n=r(37876),a=r(72474),o=r.n(a),s=r(70788);let c=e=>(0,n.jsxs)("div",{className:o().input_title,style:{marginTop:void 0!==e.marginTop?e.marginTop:16},children:[e.title,e.requiredMark?(0,n.jsx)(s.J,{text:e.requiredMark}):""]})},91011:(e,t,r)=>{"use strict";r.d(t,{J:()=>h});var n=r(37876),a=r(72474),o=r.n(a),s=r(44501),c=r(14232);let i={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M81.8 537.8a60.3 60.3 0 010-51.5C176.6 286.5 319.8 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c-192.1 0-335.4-100.5-430.2-300.2z",fill:t}},{tag:"path",attrs:{d:"M512 258c-161.3 0-279.4 81.8-362.7 254C232.6 684.2 350.7 766 512 766c161.4 0 279.5-81.8 362.7-254C791.4 339.8 673.3 258 512 258zm-4 430c-97.2 0-176-78.8-176-176s78.8-176 176-176 176 78.8 176 176-78.8 176-176 176z",fill:t}},{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2
1-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258s279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766z",fill:e}},{tag:"path",attrs:{d:"M508 336c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z",fill:e}}]}},name:"eye",theme:"twotone"};var l=r(81601),d=c.forwardRef(function(e,t){return c.createElement(l.A,(0,s.A)({},e,{ref:t,icon:i}))}),m=r(27119),u=r(75815),p=r(88992);let h=e=>{let{name:t,componentProps:r}=e,{control:a,formState:{errors:s}}=(0,p.xW)();return(0,n.jsx)(p.xI,{name:t,control:a,render:e=>{var a;let{field:c,fieldState:i}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(u.A.Password,{name:t,"data-testid":t,value:c.value,onBlur:c.onBlur,...r,onChange:e=>{var t;c.onChange(e),null==r||null==(t=r.onChange)||t.call(r,e)},status:i.error?"error":"",iconRender:e=>e?(0,n.jsx)(d,{}):(0,n.jsx)(m.A,{})}),i.error&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:o().error,"data-testid":"".concat(t,"ErrorLabel"),children:s[t]?null==(a=s[t])?void 0:a.message:""})})]})}})}}},e=>{e.O(0,[984,7485,2690,1857,3549,4076,5633,2008,6183,6853,636,6593,8792],()=>e(e.s=39020)),_N_E=e.O()}]);
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.