PageSourceSearch

https://17.live/assets/PhoneVerifyModal.1e737ea7f89b98f7b827.chunk.js

js 17.live collected 2026-09-24 09:05:23 UTC 4,927 bytes, 2 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b7df6bf2-4382-4a24-8115-0a0c34497559",e._sentryDebugIdIdentifier="sentry-dbid-b7df6bf2-4382-4a24-8115-0a0c34497559")}catch(e){}("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{}).SENTRY_RELEASE={id:"181fb8e919aae039486d147a5d10e716b098e32b"};(self.webpackChunk_17live=self.webpackChunk_17live||[]).push([[1642],{82009:(e,n,t)=>{t.r(n),t.d(n,{default:()=>ee,mapDispatchToProps:()=>H});var o,r=t(14890),i=t(2040),a=t(80802),s=t(22222),u=t(5698),d=t(5775),c=t(54151),l=t(1260),f=t(50500),h=t(75799),p=t(12396),g=t(96950),y=t(52368),b=t(22928),C=t(15671),Z=t(43144),v=t(82963),m=t(61120),I=t(60136),D=t(4942),w=t(30168),S=t(67294),V=t(71893),_=t(33112),N=t(87989),P=t.n(N),T=t(26359),E=t(37981),q=t(2371),R=t(83153),L=t(85537),k=t(91391),M=t(56643),O=t(70604),x=t(1081),A=t(16571),Q=t(95449),W=t(13874),$=t(86114),z=t(74097),B=t(78547);function G(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(G=function(){return!!e})()}var j=(0,V.ZP)(q.Z).withConfig({componentId:"sc-1q9cz9h-0"})(["padding-bottom:16px;","{margin-bottom:60px;}&&&{","}"],q.j,(0,B.C4)(o||(o=(0,w.Z)(["\n      height: 100%;\n      min-height: 100%;\n    "])))),J=V.ZP.div.withConfig({componentId:"sc-1q9cz9h-1"})(["margin-top:20px;margin-bottom:","px;","{margin-bottom:22px;&:last-child{margin-bottom:0;}}"],function(e){return e.hasError?10:50},T.D),F=(0,b.Z)(R.Z,{}),K=(0,b.Z)(x.Z,{}),U=function(e){function n(){var e,t,o,r;(0,C.Z)(this,n);for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return t=this,o=n,r=[].concat(a),o=(0,m.Z)(o),e=(0,v.Z)(t,G()?Reflect.construct(o,r||[],(0,m.Z)(t).constructor):o.apply(t,r)),(0,D.Z)(e,"state",$.E3),(0,D.Z)(e,"handleChange",function(n){var t=n.currentTarget,o=t.name,r=t.value;e.setState((0,$.W3)(o,{isValid:!!r,value:r,error:null}))}),(0,D.Z)(e,"sendVerificationCode",function(){var n=e.state,t=n.openID,o=n.countryCode,r=n.phoneNumber;e.requestID=P()(),e.props.setStatus(E.Q_.LOADING),e.setState((0,$.W3)("phoneNumber",{isValid:!1}),function(){e.sendVerificationCode$.next({countryCallingCode:o,phoneNumber:r.value,requestID:e.requestID,openID:t.value})})}),(0,D.Z)(e,"handleChangeCountryCode",function(n){var t=n.countryCode;e.setState({countryCode:t})}),(0,D.Z)(e,"verifyPhone",function(n){var t=e.state,o=t.countryCode,r=t.phoneNumber,i=t.verificationCode,a=e.props,s=a.params,u=a.country;n.preventDefault(),e.props.setStatus(E.Q_.LOADING);var d=s.get("type"),c=s.get("oauthInfo").toJS(),l=s.get("thirdPartyInfo").toJS(),f={countryCallingCode:o,localPhoneNumber:r.value,verificationCode:i.value,phoneTwoDigitISO:u},h=s.get("referer");e.props.registerWithThirdParty(d,{oauthInfo:c,thirdPartyInfo:l,phoneInfo:f,requestID:e.requestID,referer:h})}),(0,D.Z)(e,"cancelVerify",function(){var n=e.props,t=n.error,o=n.setStatus,r=n.openLoginModal;t&&o(E.Q_.ERROR,null),r()}),(0,D.Z)(e,"sendVerificationCode$",(0,W.nK)(new _.xQ)),(0,D.Z)(e,"sendVerificationCodeSubscription",null),(0,D.Z)(e,"requestID",P()()),e}return(0,I.Z)(n,e),(0,Z.Z)(n,[{key:"componentDidMount",value:function(){var e=this;this.props.getCountry(),this.sendVerificationCodeSubscription=this.sendVerificationCode$.subscribe(function(n){n.error?e.props.setStatus(E.Q_.ERROR,n.error):(e.props.setStatus(E.Q_.IDLE),e.setState((0,$.C2)(Date.now()+Q._M)),e.setState((0,$.W3)("phoneNumber",n)))})}},{key:"componentWillUnmount",value:function(){this.sendVerificationCodeSubscription.unsubscribe()}},{key:"render",value:function(){var e=this.state,n=e.phoneNumber,t=e.verificationCode,o=e.countdownEndTime,r=this.props,i=r.country,a=r.status,s=r.error,u=r.openLoginModal,d=a===E.Q_.LOADING;return i?(0,b.Z)(j,{onSubmit:this.verifyPhone},void 0,(0,b.Z)(q.j,{},void 0,(0,b.Z)(L.Z,{handleAction:u}),(0,b.Z)(J,{},void 0,(0,b.Z)(k.Z,{autoFocus:!(0,z.Vq)(),phoneNumber:n,country:i,handleChangePhoneNumber:this.handleChange,handleChangeCountryCode:this.handleChangeCountryCode}),(0,b.Z)(A.Z,{handleChange:this.handleChange,verificationCode:t,disabled:!n.isValid,sendVerificationCode:this.sendVerificationCode,countdownEndTime:o}),(0,b.Z)(M.Z,{error:s,openLoginModal:u}),(0,b.Z)(O.Xt,{shouldDisabled:d||!(n.isValid&&t.isValid),handleOnCancel:this.cancelVerify}))),K):F}}])}(S.PureComponent);U.displayName="PhoneVerifyModal";const X=U;var Y=(0,s.zB)({country:(0,u.M)(),status:(0,h.Aw)(),error:(0,h.P$)()}),H={openLoginModal:function(){return(0,g.h7)({name:y._w})},getCountry:l.r,registerWithThirdParty:d.rm,setStatus:f.Tf};const ee=(0,r.qC)((0,a.Z)(c.Z,p.Z),(0,i.connect)(Y,H))(X)}}]);
2//# sourceMappingURL=PhoneVerifyModal.1e737ea7f89b98f7b827.chunk.js.map

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.