1"use strict";(self.webpackChunksemi_wallet=self.webpackChunksemi_wallet||[]).push([[411],{5411:((N,m,e)=>{e.r(m),e.d(m,{default:()=>w});var t=e(2540),a=e(3696),u=e(8680),h=e(3160);const k={mainBg:"var(--main-bg)",GameContainerBg:"var(--game-container-bg)",GameFilterBtnContainer:"var(--game-filter-btn-container)",GameFilterShadow:"var(--game-filter-shadow)",GameButtonCommonShadow:"var(--game-button-common-shadow)",AppGameUserInfoBackground:"var(--app-game-user-info-background)",AppGamePwInfoBackground:"var(--app-game-pw-info-background)",AppGameUserInfoTextColor:"var(--app-game-user-info-text-color)",AppGamePwInfoTextColor:"var(--app-game-pw-info-text-color)",FontSize16:"var(--fontSize16)",FontSize20:"var(--fontSize20)",MainTxt:"var(--main-txt)",AppGamePlayGameBackground:"var(--app-game-play-game-button-background)",MainBorder:"var(--main-border)",AppGamePlayGameBtnBorder:"var(--app-game-play-game-button-border)",AppGameWarningColor:"var(--app-game-warning-color)",AppGameAlertBackground:"var(--app-game-alert-background)",AppGamePlayGameText:"var(--app-game-play-game-text)",SubTxt:"var(--sub-txt)",BtnDisabledTxt:"var(--btn-disabled-txt)",BtnChangePassTxt:"var(--btn-change-pass-txt)",GameFilterSelected:"var(--game-filter-selected)",GameSearchIconBg:"var(--game-search-icon-bg)",GameSearchIconShadow:"var(--game-search-icon-shadow)",GameSearchIconBorder:"var(--game-search-icon-border)",SideMenuResponsiveWidth:"1281px",GreenTimer:"var(--timer-green)",YellowTimer:"var(--timer-yellow)",RedTimer:"var(--timer-red)"};var g=e(8219),d=e(9373),I=e(964),f=e(9622),b=e(2469),P=e(6644);function w(){const n=(0,a.useRef)(null),{t:s}=(0,u.B)(),G=(0,b.useNav)(),{profile:p}=(0,h.d4)(({user:C})=>C),v=s("general.label.currentPin"),S=s("general.label.newPin"),x=s("general.label.confirmPin"),[r,o]=(0,a.useState)(""),[A,B]=(0,a.useState)(""),[T,y]=(0,a.useState)(""),[i,c]=(0,a.useState)(1),[j,l]=(0,a.useState)(v);return(0,a.useEffect)(()=>{switch(i){case 1:l(v);break;case 2:l(S);break;case 3:l(x);break}},[i]),(0,a.useEffect)(()=>{if(r.length==6)switch(i){case 1:g.Ay.VerifyPassword({userId:p.mobileNumber.toString(),password:r,success:()=>{c(2),o(""),y(r),n.current.reset()},error:()=>{n.current.reset(),o("")}});break;case 2:c(3),B(r),n.current.reset(),o("");break;case 3:A!==r?d.A.show({show:!0,msg:s("dialog.err.pin"),type:"error",btnAct:()=>{c(2),o(""),n.current.reset(!0)}}):g.Ay.ResetPassword({mobileNumber:p.mobileNumber.toString(),password:r,oldPassword:T,success:()=>{d.A.show({show:!0,msg:s("dialog.msg.changePass"),type:"success",btnAct:()=>{G(-1)}})}});break}},[r]),(0,t.jsx)("div",{className:"changePin-container container-padding",children:(0,t.jsxs)("div",{className:"changePin-style",children:[(0,t.jsx)("div",{className:"changePin-sticky-header",children:(0,t.jsx)(P.A,{})}),(0,t.jsx)(f.A,{ref:n,pin:6,onChangeValue: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.