PageSourceSearch

https://investment.jitojiif.com/static/js/88300.151d9c50.chunk.js

js jitojiif.com collected 2026-09-26 01:04:09 UTC 6,289 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkscip_react=self.webpackChunkscip_react||[]).push([[88300],{88300(e,t,n){n.r(t),n.d(t,{default:()=>N});var a=n(89379),s=n(5544),r=n(9950),i=n(42074),o=n(59335),c=n(97176),l=n(46114),u=n(83452),d=n(84084),p=n(88156),f=n(14209),m=n(93764),h=n(2629),v=n(35887),g=n(52264),x=n(745),y=n(28429),j=n(98758),A=n(44414);const N=()=>{document.title="Two Step Verification  | ".concat((0,g.P_)());const e=(0,y.Zp)(),t=(0,r.useState)({typeOfInput:"",text:"",recaptchaResponse:""}),n=(0,s.A)(t,2),N=n[0],b=n[1],S=(0,r.useState)(""),w=(0,s.A)(S,2),I=w[0],D=w[1],O=(0,r.useState)(!1),k=(0,s.A)(O,2),P=k[0],C=k[1],F=(0,r.useState)(!1),E=(0,s.A)(F,2),R=E[0],T=E[1],_=JSON.parse(sessionStorage.getItem("ForgotData")||"");(0,r.useEffect)(()=>{let e="";e="EMAIL"==_.typeOfInput?_.email:_.phone,b({typeOfInput:_.typeOfInput,text:e,recaptchaResponse:_.recaptchaResponse})},[]);console.log("data.text",N);return(0,A.jsx)(r.Fragment,{children:(0,A.jsx)("div",{className:"auth-page-wrapper",children:(0,A.jsx)(m.A,{children:(0,A.jsx)("div",{className:"auth-page-content",children:(0,A.jsxs)(o.A,{children:[(0,A.jsx)(c.A,{children:(0,A.jsx)(l.A,{lg:12,children:(0,A.jsx)("div",{className:"text-center mt-0 mb-2 text-white-50",children:(0,A.jsx)("div",{children:(0,A.jsx)(i.N_,{to:"/dashboard",className:"d-inline-block auth-logo",children:(0,A.jsx)("img",{src:h.A,alt:"",width:240})})})})})}),(0,A.jsx)(c.A,{className:"justify-content-center",children:(0,A.jsxs)(l.A,{children:[(0,A.jsx)(d.A,{className:"mt-2",children:(0,A.jsxs)(p.A,{className:"p-4",children:[(0,A.jsx)("div",{className:"mb-2",children:(0,A.jsx)("div",{className:"avatar-lg mx-auto",children:(0,A.jsx)("div",{className:"avatar-title bg-light text-brand display-5 rounded-circle",children:(0,A.jsx)("i",{className:"ri-mail-line"})})})}),(0,A.jsxs)("div",{className:"p-2 mt-2",children:[(0,A.jsxs)("div",{className:"text-muted text-center mb-4 mx-lg-3",children:[(0,A.jsx)("h4",{className:"",children:"Verify Your OTP"}),(0,A.jsx)("p",{children:"Please enter the 4 digit code sent to your email"})]}),(0,A.jsx)("form",{children:(0,A.jsx)(j.A,{onChange:e=>{D(e)},value:I,inputStyle:"otpInputStyle",numInputs:4,shouldAutoFocus:!0,renderSeparator:(0,A.jsx)("span",{}),renderInput:e=>(0,A.jsx)("input",(0,a.A)({},e))})}),(0,A.jsx)("div",{className:"mt-3",children:(0,A.jsxs)(u.A,{type:"button",disabled:!P&&!!R,className:"w-100 btn-brand-theme",onClick:()=>(()=>{let t={};t={email:_.email,otp:I,typeOfInput:_.typeOfInput},x.A.postAPI({action:"/verify-forgot-password-otp",body:t}).then(n=>{n&&(sessionStorage.setItem("ForgotData",JSON.stringify(t)),e("/reset-password"),v.Ay.success(n.message))}).catch(e=>{C(!0),D(""),T(!1)})})(),children:[P?null:R?(0,A.jsxs)(f.A,{size:"sm",className:"me-2",children:[" ","Loading..."," "]}):null,"Verify OTP"]})})]})]})}),(0,A.jsx)("div",{className:"mt-4 text-center",children:(0,A.jsxs)("p",{className:"mb-0",children:["Didn't receive a code ?"," ",(0,A.jsx)(i.N_,{to:"",className:"fw-semibold text-brand text-decoration-underline",onClick:()=>{(()=>{let e={};e.email=_.email,x.A.postAPI({action:"/forgot-password",body:e,id:"submit-forgetpass"}).then(e=>{if(e){var t={email:e.email,otp:e.otp};sessionStorage.setItem("ForgotData",JSON.stringify(t)),v.Ay.success(e.message)}}).catch(e=>{})})()},children:"Resend"})," "]})})]})})]})})})})})}},98758(e,t,n){n.d(t,{A:()=>r});var a=n(9950),s=function(e){return"object"===typeof e&&null!==e},r=function(e){var t=e.value,n=void 0===t?"":t,r=e.numInputs,i=void 0===r?4:r,o=e.onChange,c=e.onPaste,l=e.renderInput,u=e.shouldAutoFocus,d=void 0!==u&&u,p=e.inputType,f=void 0===p?"text":p,m=e.renderSeparator,h=e.placeholder,v=e.containerStyle,g=e.inputStyle,x=e.skipDefaultStyles,y=void 0!==x&&x,j=a.useState(0),A=j[0],N=j[1],b=a.useRef([]),S=function(){return n?n.toString().split(""):[]},w="number"===f||"tel"===f;a.useEffect(function(){b.current=b.current.slice(0,i)},[i]),a.useEffect(function(){var e;d&&(null===(e=b.current[0])||void 0===e||e.focus())},[d]);var I=function(){if("string"===typeof h){if(h.length===i)return h;h.length>0&&console.error("Length of the placeholder should be equal to the number of inputs.")}},D=function(e){return(w?!isNaN(Number(e)):"string"===typeof e)&&1===e.trim().length},O=function(e){var t=e.target.value;D(t)&&(E(t),F(A+1))},k=function(e){var t=e.nativeEvent,n=e.target.value;if(!D(n)){if(n.length===i)n.split("").some(function(e){return!D(e)})||(R(n.split("")),F(i-1));null===t.data&&"deleteContentBackward"===t.inputType&&(e.preventDefault(),E(""),F(A-1)),e.target.value=""}},P=function(){N(A-1)},C=function(e){var t=S();[e.code,e.key].includes("Backspace")?(e.preventDefault(),E(""),F(A-1)):"Delete"===e.code?(e.preventDefault(),E("")):"ArrowLeft"===e.code?(e.preventDefault(),F(A-1)):"ArrowRight"===e.code||e.key===t[A]?(e.preventDefault(),F(A+1)):"Spacebar"!==e.code&&"Space"!==e.code&&"ArrowUp"!==e.code&&"ArrowDown"!==e.code||e.preventDefault()},F=function(e){var t,n,a=Math.max(Math.min(i-1,e),0);b.current[a]&&(null===(t=b.current[a])||void 0===t||t.focus(),null===(n=b.current[a])||void 0===n||n.select(),N(a))},E=function(e){var t=S();t[A]=e[0],R(t)},R=function(e){var t=e.join("");o(t)},T=function(e){var t;e.preventDefault();var n=S(),a=A,s=e.clipboardData.getData("text/plain").slice(0,i-A).split("");
1if(!w||!s.some(function(e){return isNaN(Number(e))})){for(var r=0;r<i;++r)r>=A&&s.length>0&&(n[r]=null!==(t=s.shift())&&void 0!==t?t:"",a++);F(a),R(n)}};return a.createElement("div",{style:Object.assign({display:"flex",alignItems:"center"},s(v)&&v),className:"string"===typeof v?v:void 0,onPaste:c},Array.from({length:i},function(e,t){return t}).map(function(e){var t,n,r;return a.createElement(a.Fragment,{key:e},l({value:null!==(t=S()[e])&&void 0!==t?t:"",placeholder:null!==(r=null===(n=I())||void 0===n?void 0:n[e])&&void 0!==r?r:void 0,ref:function(t){return b.current[e]=t},onChange:O,onFocus:function(t){return function(e){return function(t){N(t),e.target.select()}}(t)(e)},onBlur:P,onKeyDown:C,onPaste:T,autoComplete:"off","aria-label":"Please enter OTP character ".concat(e+1),style:Object.assign(y?{}:{width:"1em",textAlign:"center"},s(g)?g:{}),className:"string"===typeof g?g:void 0,type:f,inputMode:w?"numeric":"text",onInput:k},e),e<i-1&&("function"===typeof m?m(e):m))}))}}}]);

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.