1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3979],{11207:function(e,i,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/activate/registration/[aid]",function(){return t(1575)}])},1575:function(e,i,t){"use strict";t.r(i),t.d(i,{__N_SSP:function(){return y}});var r=t(85893),s=t(89755),n=t.n(s),l=t(67294),a=t(11163),o=t(44810),u=t(34572),c=t(59047),d=t(91016),h=t(83989),g=t(45675),v=t.n(g),_=t(91639),m=t(8356),p=t(45312),f=t(22024),U=t(31028),x=t(32415),j=t(33299),C=t(64316),y=!0;i.default=(0,a.withRouter)(function(e){let i,t,s;let[g,y]=(0,l.useState)(!1);(i=document.getElementById("header-nav"))&&(i.style.visibility="hidden"),(t=document.getElementById("footer"))&&(t.style.visibility="hidden"),(s=document.getElementById("matchpoint_footer"))&&(s.style.visibility="hidden");let R=(0,a.useRouter)(),L=e.tvUser.ironlogin&&void 0!==e.tvUser.ironlogin?e.tvUser.ironlogin:void 0,[N,b]=(0,l.useState)(0),[E,w]=(0,l.useState)(""),S=e=>{b(e)},[I,O]=(0,l.useState)(0),T=e=>{O(e)},[Y,W]=(0,l.useState)(""),k=e=>{W(e)},{status:Z}=(0,j.useSession)(),A="Sign In with Email",D=p.isLoginAppName?p.LoginAppName:p.displayAppName,P="Sign In to your ".concat(D," Account:");1==N&&(A="Let's create your account",P="Welcome to ".concat(p.displayAppName,":"));let B=[{label:"Sign In",index:0,inner_val:(0,r.jsx)(m.Z,{from:"active",...e,loginUrl:(0,x.tY)(e.urls.loginWithCodeUrl?e.urls.loginWithCodeUrl:""),changeCurrentTab:e=>S(e),verifyCode:(0,x.tY)(e.urls.verifyCodeURL?e.urls.verifyCodeURL:""),mainLoginUrl:(0,x.tY)(e.urls.loginUrl?e.urls.loginUrl:""),authenticationURL:(0,x.tY)(e.urls.authenticationURL?e.urls.authenticationURL:""),profileDetailsURL:(0,x.tY)(e.urls.profileDetailsURL?e.urls.profileDetailsURL:""),regReportUrl:(0,x.tY)(e.urls.regReportUrl?e.urls.regReportUrl:"")})},{label:"Sign Up",index:1,inner_val:p.issignupNew?(0,r.jsx)(o.ZP,{changeCurrentTab:e=>S(e),changeEmail:e=>k(e),changeCurrentModal:e=>T(e),from:"active",signupURL:(0,x.tY)(e.urls.signupWithOfferURL?e.urls.signupWithOfferURL:"")}):(0,r.jsx)(C.ZP,{changeCurrentTab:e=>S(e),changeEmail:e=>k(e),changeCurrentModal:e=>T(e),from:"active",signupWithOfferURL:(0,x.tY)(e.urls.signupWithOfferURL?e.urls.signupWithOfferURL:"")})}];return((0,l.useEffect)(()=>{let i=R.query.aid;if(i&&void 0!=i){let r=(0,x.tY)(e.urls.verifyCodeURL?e.urls.verifyCodeURL:"").replace("__JTV__VERIFY__CODE__",i);(0,x.bf)(r,i=>{i&&i.data&&"success"==i.data.result?!0==L&&void 0!=L?void 0!==e.tvUser.user?R.push("/activate/thank-you"):t(e.tvUser.ironuser.user.email,e.tvUser.ironuser.device_num):void 0!==e.tvUser.user?R.push("/activate/thank-you"):w("active"):w("disabled")},"",!1,null,Z)}let t=(t,r)=>{let s=(0,x.tY)(e.urls.loginWithNoPassUrl?e.urls.loginWithNoPassUrl:""),n={type:"tvLogin",bdata:{device_num:r},url:s=(s=s.replace("__JTV__SUBSCRIBER__ID__",encodeURIComponent(t))).replace("__JTV__ACTIVATION__CODE__",i)};(0,x._i)(n,e=>{e.data&&"success"==e.data.result?R.push("/activate/thank-you"):y(!0)})};return()=>{}},[e.urls.verifyCodeURL,e.tvUser,R]),g)?(0,r.jsx)(f.nl,{}):(0,r.jsx)("div",{children:"active"==E?(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(u.Z,{open:!0,closeModal:()=>handleCloseModal(),showCancel:!1,children:[(0,r.jsxs)("div",{className:"logo-img",children:[" ",(0,r.jsx)(n(),{src:"../../images/cineverse.png",width:"150",height:"50",alt:"Cineverse"})]}),(0,r.jsx)("div",{className:"custom-modal-container",children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(_.Z,{title:A}),(0,r.jsxs)(h.Z,{children:[(0,r.jsx)(c.Z,{className:v().descriptionBottom,children:P}),(0,r.jsx)(d.Z,{selected:N,changeCurrentTab:e=>S(e),tabObj:B})]})]})})]})}):""==E?(0,r.jsx)("div",{}):(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"thankyou_main-container",children:[(0,r.jsx)(n(),{src:"../../images/cineverse.png",width:"150",height:"50",alt:"Cineverse"}),(0,r.jsxs)("span",{className:"error-container",children:[(0,r.jsx)("div",{className:"error-img",children:(0,r.jsx)(n(),{src:"../../images/errorpage.png",width:"50",height:"40",alt:"Cineverse"})}),"\xa0"," ",(0,r.jsx)("h2",{className:p.isDove?"dove_welcome_text":"welcome_text",children:"Error invalid code"})]}),(0,r.jsx)("br",{}),(0,r.jsx)("br",{}),(0,r.jsx)("br",{}),(0,r.jsx)(U.Z,{style:{width:150,marginLeft:12},onClick:e=>R.push("/home"),children:"Go to Cineverse"})]})})})})}}
1,function(e){e.O(0,[6205,4810,4150,8356,2888,9774,179],function(){return e(e.s=11207)}),_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.