1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="933299b8-a09c-4e58-ac58-368803f634b2",e._sentryDebugIdIdentifier="sentry-dbid-933299b8-a09c-4e58-ac58-368803f634b2")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2991],{4767:(e,t,r)=>{"use strict";r.d(t,{O:()=>c});var n=r(92797),i=r(18334),o=r(34906),a=r(65595),s=r(77704);async function l(){try{s.T&&a.vF.log("Flushing events..."),await (0,i.bX)(2e3),s.T&&a.vF.log("Done flushing events")}catch(e){s.T&&a.vF.log("Error while flushing events:\n",e)}}async function c(e){let{req:t,res:r,err:a}=e,s=r?.statusCode||e.statusCode;if(s&&s<500||!e.pathname)return Promise.resolve();(0,n.v4)(e=>{if(t){let r=function(e){let t=e.headers||{},r="string"==typeof t.host?t.host:void 0,n=e.protocol||(e.socket?.encrypted?"https":"http"),i=e.url||"",o=function({url:e,protocol:t,host:r}){return e?.startsWith("http")?e:e&&r?`${t}://${r}${e}`:void 0}({url:i,host:r,protocol:n}),a=e.body||void 0,s=e.cookies;return{url:o,method:e.method,query_string:function(e){if(e)try{let t=new URL(e,"http://s.io").search.slice(1);return t.length?t:void 0}catch{return}}(i),headers:function(e){let t=Object.create(null);try{Object.entries(e).forEach(([e,r])=>{"string"==typeof r&&(t[e]=r)})}catch{}return t}(t),cookies:s,data:a}}(t);e.setSDKProcessingMetadata({normalizedRequest:r})}(0,i.Cp)(a||`_error.js called with falsy error (${a})`,{mechanism:{type:"instrument",handled:!1,data:{function:"_error.getInitialProps"}}})});var c=l();let u=o.O[Symbol.for("@vercel/request-context")],d=u?.get&&u.get()?u.get():{};d?.waitUntil&&d.waitUntil(c)}},11197:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>b});var n=r(37876),i=r(14232),o=r(73085),a=r(2965),s=r(66941),l=r(89099),c=r(93004),u=r(15825),d=r(95118),h=r(54755),f=r(44610),g=r(48011),A=r(73109);let v=(0,g.Ng)(null,e=>({generateOTPForIDVerification:function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"SMS";return e(A.generateOTPForIDVerification(t,r))},validateOTPForIDVerification:function(t,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"SMS",i=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;return e(A.validateOTPForIDVerification(t,r,n,i,o))}})),p={src:"/_next/static/media/reload-qr.9a8f8900.png",height:344,width:344,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAGFBMVEX9/f39/f36+vr19vbu7/HDzeHK0+XW3erA9laXAAAAAXRSTlPuB1QXGQAAAAlwSFlzAAALEgAACxIB0t1+/AAAADBJREFUCJk1i8kJgAAQxOa2/45lBX+BJAAliYBi0hFot7Egbt0HfdqDZDvFWL74318ZHQC1iJwlHAAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:8},_=v(e=>{let{generateOTPForIDVerification:t,validateOTPForIDVerification:r}=e,{strings:{auth_page:{otp_login_page:o},general:a,kyc_flow:{id_validation_section:{qr_has_expired_text:g,reload_the_qr_text:A}}},geography:v}=(0,s.Ym)(),_=(0,l.useRouter)(),[b,w]=(0,i.useState)("QR_ACTIVE"),y=(0,i.useRef)((0,d.V8)(window.location.search,"token")||""),x=(0,i.useRef)((0,d.V8)(window.location.search,"redirectUrl")||(0,d.V8)(window.location.search,"redirecturl")||"");if((0,i.useEffect)(()=>{if(!y.current||!x.current)return void(0,u.k)(c.S3J,_,{geography:v,replace:!0})},[_]),!y.current||!x.current)return null;let E=()=>{w("QR_EXPIRED")},T=(0,n.jsx)(h.A,{buttonText:a.login_cta,generateOTP:()=>{t(y.current,"SMS")},message:o.id_verification_code_text,nextRoute:x.current,sendOtpOnMount:!0,showVoiceCallOption:!1,token:y.current,validateOTP:(e,t)=>{r(y.current,t,"SMS",x.current,E)}}),D=(0,n.jsxs)(f.pT,{alignItems:"center",bg:"N.4",flexDirection:"column",height:"100%",justifyContent:"center",px:6,children:[(0,n.jsx)(f.az,{mb:6,children:(0,n.jsx)(f.EY,{color:"BT.7",variant:"h5",children:g})}),(0,n.jsx)(f.az,{mb:6,children:(0,n.jsx)(f._V,{alt:"reload-qr",height:"172px",objectFit:"contain",src:p,width:"172px"})}),(0,n.jsx)(f.EY,{color:"BT.7",textAlign:"center",variant:"body2",children:A})]});return(0,n.jsxs)(n.Fragment,{children:["QR_ACTIVE"===b&&T,"QR_EXPIRED"===b&&D]})});function b(){let{geography:e}=(0,s.Ym)();return e!==a.XN.HK?(0,n.jsx)(o.default,{statusCode:404}):(0,n.jsx)(_,{})}},39908:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/identity-verification/validate",function(){return r(11197)}])},73085:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>u});
1var n=r(37876),i=r(4767),o=r(63698),a=r(87156),s=r.n(a),l=r(62965);let c=e=>404===e.statusCode?(0,n.jsx)(l.default,{}):(0,n.jsx)(o.A,{});c.getInitialProps=async e=>(await i.O(e),s().getInitialProps(e));let u=c},87156:(e,t,r)=>{e.exports=r(58123)}},e=>{e.O(0,[5912,8998,2965,4755,636,6593,8792],()=>e(e.s=39908)),_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.