1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4871],{259:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/beta/user",function(){return n(9029)}])},9029:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return j},default:function(){return y}});var i=n(5893),r=n(1163),l=n(7294),o=n(9288),a=n(8037),s=n(189),x=n(8527),c=n(9609),u=n(5193),d=n(8277),p=n(8957),m=n(5966),h=e=>{let{betaToken:t}=e,{locale:n}=(0,p.o)(),{token:i,isLogin:r,isLogging:o,login:a}=(0,m.a)(),[s,x]=(0,l.useState)(),[c,u]=(0,l.useState)(),[h,g]=(0,l.useState)(),b=async()=>{var e,r;if(!t)return;x(!0);let l=await (0,d.Ym)("/api/cms-user/v1/users/confirmation",{token:t,locale:n},i);(null==l?void 0:l.statusCode)===200&&(null==l?void 0:null===(e=l.data)||void 0===e?void 0:e.app_id)?(g(null==l?void 0:null===(r=l.data)||void 0===r?void 0:r.app_id),u(!0)):u(!1),x(!1)};(0,l.useEffect)(()=>{r&&n&&b()},[r,n]);let j={Loading:0,NotLogin:1,Valid:2,NotValid:3};return{LayoutType:o||s?j.Loading:r?c?j.Valid:j.NotValid:j.NotLogin,Type:j,login:a,appId:h}},g=n(9636);function b(e){let{token:t,commonProps:n}=e,{LayoutType:l,Type:d,login:p,appId:m}=h({betaToken:t}),{t:b,isPcclient:j}=n,{push:y}=(0,r.useRouter)();return(0,i.jsx)(x.xu,{maxW:{base:"90vw",xl:"1100px"},mx:{base:"20px",md:"64px",lg:"auto"},mt:"3vw",mb:"80px",children:(0,o.Z)([[(0,a.Z)(d.Loading),(0,s.Z)((0,i.jsx)(x.kC,{minH:"370px",align:"center",justify:"center",children:(0,i.jsx)(c.$,{boxSize:"48px",thickness:"6px",emptyColor:"#065970",color:"#00B3E3"})}))],[(0,a.Z)(d.NotLogin),(0,s.Z)((0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(x.kC,{align:"center",justify:"center",mt:"80px",mb:"44px",color:"neutral.20",children:[(0,i.jsx)(g.Su,{boxSize:"40px",mr:4}),(0,i.jsx)(x.xv,{textStyle:"header3",color:"white",children:b("global.signIn","Sign in")})]}),(0,i.jsxs)(x.kC,{flexDir:"column",align:"center",bg:"#1D1D24",p:{base:"40px 30px",md:"40px 40px",lg:"40px 80px"},children:[(0,i.jsx)(x.xv,{textStyle:"body1",color:"neutral.20",children:b("beta.not-login",'Sign in with your HTC account to join the beta program. If you don\'t have an account yet, click "Create account" to go to the HTC account creation page.')}),(0,i.jsx)(u.zx,{minW:"220px",variant:"solid-primary",size:"lg",mt:"40px",onClick:()=>p(),children:b("beta.create-account","Create account")})]})]}))],[(0,a.Z)(d.Valid),(0,s.Z)((0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(x.kC,{align:"center",justify:"center",mt:"80px",mb:"44px",color:"neutral.20",children:[(0,i.jsx)(g.h8,{boxSize:"38px",mr:4}),(0,i.jsx)(x.xv,{textStyle:"header3",color:"white",children:b("beta.validated","Validated")})]}),(0,i.jsxs)(x.kC,{flexDir:"column",align:"center",bg:"#1D1D24",p:{base:"40px 30px",md:"40px 40px",lg:"40px 80px"},children:[(0,i.jsx)(x.xv,{textStyle:"body1",color:"neutral.20",children:b("beta.valid-description","<0>Welcome to the beta testing program.</0><2></2>You can now find the app in your library.<3></3><1>PCVR titles:</1> Launch them via the VIVEPORT Desktop App.<3></3><1>Mobile VR titles:</1>Launch them from your headset's library.<2></2>We'll be sending you beta files and tutorials soon. If your title is also a part of another program (for example, VIVE Business program), follow the instructions there to join beta testing.",{0:(0,i.jsx)(x.xu,{textStyle:"header4",display:"inline-flex"}),1:(0,i.jsx)(x.xu,{textStyle:"subheader1",display:"inline-flex",mr:1}),2:(0,i.jsx)(x.xu,{mt:4}),3:(0,i.jsx)(x.xu,{mt:1})})}),(0,i.jsx)(u.zx,{minW:"220px",variant:"solid-primary",size:"lg",mt:"40px",onClick:()=>{y("/apps/beta-".concat(m))},children:b("global.ok","OK")})]})]}))],[(0,a.Z)(d.NotValid),(0,s.Z)((0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(x.kC,{align:"center",justify:"center",mt:"80px",mb:"44px",color:"neutral.20",children:[(0,i.jsx)(g.Ik,{boxSize:"38px",mr:4}),(0,i.jsx)(x.xv,{textStyle:"header3",color:"white",children:b("beta.invalid-url","Invalid URL")})]}),(0,i.jsxs)(x.kC,{flexDir:"column",align:"center",bg:"#1D1D24",p:{base:"40px 30px",md:"40px 40px",lg:"40px 80px"},children:[(0,i.jsx)(x.xv,{textStyle:"body1",color:"neutral.20",children:b("beta.invalid-url-desc","The url is invali
1d or expired. Please make sure the url is correct or contact System Administrator of this Beta testing program.")}),(0,i.jsx)(u.zx,{minW:"220px",variant:"solid-primary",size:"lg",mt:"40px",onClick:()=>y("/"),children:b("global.ok","OK")})]})]}))]])(l)})}var j=!0;function y(e){let t=(0,r.useRouter)().query.token;return(0,i.jsx)(b,{token:t,...e})}}},function(e){e.O(0,[9774,1216,532,2888,179],function(){return e(e.s=259)}),_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.