1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[54],{"3kph":function(e,t,n){"use strict";n.r(t),n.d(t,"GET_REFERRAL_ISACTIVE",(function(){return k}));var o,r=n("QsI/"),a=n("zygG"),i=n("KD1n"),s=n("ERkP"),c=n.n(s),l=n("ysqo"),u=n.n(l),d=n("7xIC"),f=n("/jxk"),p=n("jvFD"),g=n.n(p),b=n("KUOH"),m=n("ZNCQ"),h=n("ttZb"),O=n("OtkT"),y=n("j5Ji"),v=n("kriW"),w=n("Z4DO"),j=c.a.createElement;function x(){var e,t,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",r=n.toStringTag||"@@toStringTag";function a(n,o,r,a){var c=o&&o.prototype instanceof s?o:s,l=Object.create(c.prototype);return C(l,"_invoke",function(n,o,r){var a,s,c,l=0,u=r||[],d=!1,f={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,s=0,c=e,f.n=n,i}};function p(n,o){for(s=n,c=o,t=0;!d&&l&&!r&&t<u.length;t++){var r,a=u[t],p=f.p,g=a[2];n>3?(r=g===o)&&(c=a[(s=a[4])?5:(s=3,3)],a[4]=a[5]=e):a[0]<=p&&((r=n<2&&p<a[1])?(s=0,f.v=o,f.n=a[1]):p<g&&(r=n<3||a[0]>o||o>g)&&(a[4]=n,a[5]=o,f.n=g,s=0))}if(r||n>1)return i;throw d=!0,o}return function(r,u,g){if(l>1)throw TypeError("Generator is already running");for(d&&1===u&&p(u,g),s=u,c=g;(t=s<2?e:c)||!d;){a||(s?s<3?(s>1&&(f.n=-1),p(s,c)):f.n=c:f.v=c);try{if(l=2,a){if(s||(r="next"),t=a[r]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,s<2&&(s=0)}else 1===s&&(t=a.return)&&t.call(a),s<2&&(c=TypeError("The iterator does not provide a '"+r+"' method"),s=1);a=e}else if((t=(d=f.n<0)?c:n.call(o,f))!==i)break}catch(t){a=e,s=1,c=t}finally{l=1}}return{value:t,done:d}}}(n,r,a),!0),l}var i={};function s(){}function c(){}function l(){}t=Object.getPrototypeOf;var u=[][o]?t(t([][o]())):(C(t={},o,(function(){return this})),t),d=l.prototype=s.prototype=Object.create(u);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,C(e,r,"GeneratorFunction")),e.prototype=Object.create(d),e}return c.prototype=l,C(d,"constructor",l),C(l,"constructor",c),c.displayName="GeneratorFunction",C(l,r,"GeneratorFunction"),C(d),C(d,r,"Generator"),C(d,o,(function(){return this})),C(d,"toString",(function(){return"[object Generator]"})),(x=function(){return{w:a,m:f}})()}function C(e,t,n,o){var r=Object.defineProperty;try{r({},"",{})}catch(e){r=0}(C=function(e,t,n,o){function a(t,n){C(e,t,(function(e){return this._invoke(t,n,e)}))}t?r?r(e,t,{value:n,enumerable:!o,configurable:!o,writable:!o}):e[t]=n:(a("next",0),a("throw",1),a("return",2))})(e,t,n,o)}var k=Object(w.a)(o||(o=Object(i.a)(["\nquery getReferralIsActive{\n getReferralIsActive\n}\n"])));t.default=Object(m.a)((function(){var e=Object(d.useRouter)(),t=Object(d.useRouter)().query,n=(t.token,Object(s.useContext)(y.a).authDispatch,c.a.useState("")),o=Object(a.a)(n,2),i=(o[0],o[1],c.a.useState("")),l=Object(a.a)(i,2),p=l[0],m=l[1],w=c.a.useState(""),C=Object(a.a)(w,2),S=C[0],_=C[1],I=Object(h.b)(b.a),E=Object(a.a)(I,2),$=E[0],T=(E[1].data,Object(h.b)(b.c)),N=Object(a.a)(T,2),P=(N[0],N[1].data,Object(h.b)(b.b)),R=Object(a.a)(P,1)[0],F=Object(s.useState)(!1),L=F[0],M=F[1],q=c.a.useState(t.referralCode),B=Object(a.a)(q,2),z=B[0],D=B[1],H=Object(h.c)(k),W=H.data;H.error,Object(s.useEffect)((function(){W&&M("true"==W.getReferralIsActive)}),[W]);var U=Object(h.c)(b.h,{variables:{token:t.code?t.code:t.referralId,email:t.email}}),A=U.data;if(U.error,U.refetch,U.loading)return j("div",null,"loading...");var K=function(){var t=Object(r.a)(x().m((function t(n){var o,r;return x().w((function(t){for(;;)switch(t.p=t.n){case 0:if(t.p=0,n.preventDefault(),!z||!L){t.n=2;break}return t.n=1,R({variables:{referralCode:z,email:A.getRegistrationToken}});case 1:if(o=t.v,"Invalid Code"!==o.data.CreateIfNotExistReferral){t.n=2;break}return f.b.error("\ud83e\udd84 Invalid Referral Code",{position:"top-right",autoClose:3e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0}),t.a(2);case 2:if(p!=S){t.n=4;break}return L||D(""),t.n=3,$({variables:{email:A.getRegistrationToken,password:p,referralCode:z}});case 3:(r=t.v)?"Success"===r.data.registerUser?(f.b.success("\ud83e\udd84 Account created successfully",{position:"top-right",autoClose:3e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0}),setTimeout((function(){e.push("signin")}),3e3)):f.b.warn("\ud83e\udd84 ".concat(r.data.registerUser),{position:"top-right",autoClose:3e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0}):f.b.error("\ud83e\udd84 SomeThing Went Wrong",{position:"top-right",autoClose:3e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0}),t.n=5;break;case 4:f.b.warn("\ud83e\udd84 Your passwords do not match",{position:"top-right",autoClose:3e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0});case 5:t.n=7;break;case 6:t.p=6,t.v,f.b.error("\ud83e\udd84 SomeThing Went Wrong",{position:"top-right",autoClose:3e3,hideProgressBar:!1,closeOnClick:!0,pauseOnHover:!0,draggable:!0,progress:void 0});case 7:return t.a(2)}}),t,null,[[0,6]])})));return function(e){return t.apply(this,arguments)}}();return null!==A&&void 0!==A&&A.getRegistrationToken?j(c.a.Fragment,null,j(u.a,null,j("meta",{name:"robots",content:"noindex, nofollow"})),j("div",{className:"",style:{height:"100vh",display:"flex",alignItems:"center"}},j("div",{className:"container"},j("div",{className:"row"},j("div",{className:"col-lg-6 offset-lg-3"},j(O.k,null,j(O.b,null,j("form",{onSubmit:function(e){return K(e)}}
1,j(O.d,null,j(v.a,{id:"VerifyBtnText",defaultMessage:"Account Info"})),j(O.j,null,j(v.a,{id:"signUpTextSubHeader",defaultMessage:"Please submit the following to create your account"})),j(v.a,{id:"emailAddressPlaceholder",defaultMessage:"Email Address"},(function(e){return j(O.f,{disabled:!0,placeholder:null===A||void 0===A?void 0:A.getRegistrationToken})})),j(v.a,{id:"password",defaultMessage:"Choose Password (min 12 characters)"}),j(v.a,{id:"passwordPlaceholder",defaultMessage:"Choose Password (min 12 characters)"},(function(e){return j(O.f,{type:"password",value:p,name:"password",placeholder:"Password",onChange:function(e){return m(e.target.value)},minlength:"12",required:!0})})),j(v.a,{id:"confirmpassword",defaultMessage:"Confirm Password"}),j(v.a,{id:"passwordPlaceholder",defaultMessage:"Confirm Password"},(function(e){return j(O.f,{type:"password",value:S,name:"confirmpassword",placeholder:"Confirm Password",onChange:function(e){return _(e.target.value)},minlength:"12",required:!0})})),L&&j(v.a,{id:"referralCode",defaultMessage:"Referral Code (Optional)"}),L&&j(v.a,{id:"referralCodePlaceholder",defaultMessage:"Referral Code"},(function(e){return j(O.f,{value:z,name:"referralCode",placeholder:z,onChange:function(e){return D(e.target.value)}})})),j(O.e,{style:{padding:"20px 0 30px"}},j(v.a,{id:"signUpTexts",defaultMessage:"By signing up, you agree to Exponet's"})," ",j(g.a,{href:"https://www.exponet.ca/termsandconditions.html"},j("a",null,j(v.a,{id:"termsConditionText",defaultMessage:"Terms & Conditions"})))),j(O.a,{fullwidth:!0,title:"Submit",intlButtonId:"continueBtn",style:{color:"#fff",marginBottom:"40px"},type:"submit"}))),j(f.a,{autoClose:2e3}))))))):j(c.a.Fragment,null,j(u.a,null,j("meta",{name:"robots",content:"noindex, nofollow"})),j("div",{className:"centering404"},j("div",null,j("h1",{className:"header404"},"404"),j("div",{className:"text404"},j("h2",{className:"textheader404"},"This verification token is no longer valid.")))))}))},KUOH:function(e,t,n){"use strict";n.d(t,"e",(function(){return b})),n.d(t,"f",(function(){return m})),n.d(t,"h",(function(){return h})),n.d(t,"a",(function(){return O})),n.d(t,"c",(function(){return y})),n.d(t,"d",(function(){return v})),n.d(t,"g",(function(){return w})),n.d(t,"b",(function(){return j}));var o,r,a,i,s,c,l,u,d,f,p=n("KD1n"),g=n("Z4DO"),b=Object(g.a)(o||(o=Object(p.a)(["\nmutation login($userEmail: String!, $password: String!, $recaptchaToken: String){\n userLogin(email: $userEmail, password: $password, recaptchaToken: $recaptchaToken)\n}"]))),m=Object(g.a)(r||(r=Object(p.a)(["\nmutation signup($email: String!, $code: String, $recaptchaToken: String){\n signup(email:$email, referralCode: $code, recaptchaToken: $recaptchaToken) \n}"]))),h=Object(g.a)(a||(a=Object(p.a)(["\nquery verification($token: String!, $email: String!){\n getRegistrationToken(token: $token, email: $email)\n}"]))),O=Object(g.a)(i||(i=Object(p.a)(["\nmutation signup($email: String!, $password: String!,$referralCode:String){\n registerUser(email: $email, password: $password, referralCode: $referralCode)\n}"]))),y=Object(g.a)(s||(s=Object(p.a)(["\n mutation deleteToken($key: ObjectId!){\n signupDelete(id: $key ) {\n error\n }\n}"]))),v=Object(g.a)(c||(c=Object(p.a)(["\n mutation forgotCode($code: String){\n forgotCode(code:$code ) {\n status\n message\n }\n}"]))),w=Object(g.a)(l||(l=Object(p.a)(["\n mutation resetPassword($email:String,$password:String){\n resetPassword(email: $email, password:$password )\n}"]))),j=(Object(g.a)(u||(u=Object(p.a)(["\n mutation resetPassword($code:String,$password:String){\n resetPassword(code:$code,password:$password ) {\n status\n message\n }\n}"]))),Object(g.a)(d||(d=Object(p.a)(["\nmutation logout{\n logout\n}\n"]))),Object(g.a)(f||(f=Object(p.a)(["\n mutation CreateIfNotExistReferral($email:String!,$referralCode:String!){\n CreateIfNotExistReferral(email:$email,referralCode:$referralCode)\n }\n"]))))},KeDb:function(e,t,n){"use strict";var o=n("x3oR"),r=n("pONU");t.__esModule=!0,t.default=void 0;var a,i=r(n("ERkP")),s=n("L9lV"),c=n("7xIC"),l=new Map,u=window.IntersectionObserver,d={};var f=function(e,t){var n=a||(u?a=new u((function(e){e.forEach((function(e){if(l.has(e.target)){var t=l.get(e.target);(e.isIntersecting||e.intersectionRatio>0)&&(a.unobserve(e.target),l.delete(e.target),t())}}))}),{rootMargin:"200px"}):void 0);return n?(n.observe(e),l.set(e,t),function(){try{n.unobserve(e)}catch(t){console.error(t)}l.delete(e)}):function(){}};function p(e,t,n,o){(0,s.isLocalURL)(t)&&(e.prefetch(t,n,o).catch((function(e){0})),d[t+"%"+n]=!0)}var g=function(e){var t=!1!==e.prefetch,n=i.default.useState(),r=o(n,2),a=r[0],l=r[1],g=(0,c.useRouter)(),b=g&&g.pathname||"/",m=i.default.useMemo((function(){var t=(0,s.resolveHref)(b,e.href,!0),n=o(t,2),r=n[0],a=n[1];return{href:r,as:e.as?(0,s.resolveHref)(b,e.as):a||r}}),[b,e.href,e.as]),h=m.href,O=m.as;i.default.useEffect((function(){if(t&&u&&a&&a.tagName&&(0,s.isLocalURL)(h)&&!d[h+"%"+O])return f(a,(function(){p(g,h,O)}))}),[t,a,h,O,g]);var y=e.children,v=e.replace,w=e.shallow,j=e.scroll;"string"===typeof y&&(y=i.default.createElement("a",null,y));var x=i.Children.only(y),C={ref:function(e){e&&l(e),x&&"object"===typeof x&&x.ref&&("function"===typeof x.ref?x.ref(e):"object"===typeof x.ref&&(x.ref.current=e))},onClick:function(e){x.props&&"function"===typeof x.props.onClick&&x.props.onClick(e),e.defaultPrevented||function(e,t,n,o,r,a,i){("A"!==e.currentTarget.nodeName||!function(e){var t=e.currentTarget.target;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&(0,s.isLocalURL)(n))&&(e.preventDefault(),null==i&&(i=o.indexOf("#")<0),t[r?"replace":"push"](n,o,{shallow:a}).then((function(e){e&&i&&(window.scrollTo(0,0),document.body.focus())})))}(e,g,h,O,v,w,j)}};return t&&(C.onMouseEnter=function(e){(0,s.isLocalURL)(h)&&(x.props&&"function"===typeof x.props.onMouseEnter&&x.props.onMouseEnter(e),p(g,h,O,{priority:!0}))}),(e.passHref||"a"===x.type&&!("href"in x.props))&&(C.href=(0,s.addBasePath)((0,s.addLocale)(O,g&&g.locale,g&&g.defaultLocale))),i.default.cloneElement(x,C)};t.default=g},OtkT:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"k",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"d",(function(){return l})),n.d(t,"j",(function(){return u})),n.d(t,"i",(function(){return d})),n.d(t,"h",(function(){return f})),n.d(t,"e",(function(){return p})),n.d(t,"f",(function(){return g})),n.d(t,"c",(function(){return b})),n.d(t,"g",(function(){return m}));var o=n("j/s1"),r=n("tZdC"),a=n("89Ff"),i=Object(o.e)(a.a).withConfig({displayName:"Sign
1InOutFormstyle__Button",componentId:"sc-yqn025-0"})(["&.google{background-color:#4285f4;}&.facebook{background-color:#4267b2;margin-bottom:10px;}"]),s=o.e.div.withConfig({displayName:"SignInOutFormstyle__Wrapper",componentId:"sc-yqn025-1"})(["text-align:center;background-color:#fff;@media (max-width:990px){margin-top:54px}"]),c=o.e.div.withConfig({displayName:"SignInOutFormstyle__Container",componentId:"sc-yqn025-2"})(["padding:40px 104px 0;@media (min-width:767px) and (max-width:991px){padding:40px 179px 0;}@media (max-width:767px){padding:40px 89px 0;}"]),l=(o.e.div.withConfig({displayName:"SignInOutFormstyle__LogoWrapper",componentId:"sc-yqn025-3"})(["margin-bottom:30px;img{max-width:160px;}"]),o.e.h3.withConfig({displayName:"SignInOutFormstyle__Heading",componentId:"sc-yqn025-4"})(["color:",";margin-bottom:10px;font-family:'Poppins',sans-serif;font-size:","px;font-weight:",";"],Object(r.a)("colors.primary","#009E7F"),Object(r.a)("fontSizes.4","21"),Object(r.a)("fontWeights.6","700"))),u=o.e.span.withConfig({displayName:"SignInOutFormstyle__SubHeading",componentId:"sc-yqn025-5"})(["margin-bottom:30px;font-family:'Lato',sans-serif;font-size:","px;font-weight:",";color:",";display:block;"],Object(r.a)("fontSizes.2","15"),Object(r.a)("fontWeights.3","400"),Object(r.a)("colors.darkRegular","#77798c")),d=o.e.div.withConfig({displayName:"SignInOutFormstyle__OfferSection",componentId:"sc-yqn025-6"})(["padding:20px;background-color:",";color:",";display:flex;justify-content:center;align-items:center;"],Object(r.a)("colors.lightColor","#F7F7F7"),Object(r.a)("colors.primary","#009E7F")),f=o.e.p.withConfig({displayName:"SignInOutFormstyle__Offer",componentId:"sc-yqn025-7"})(["font-family:'Lato',sans-serif;font-size:","px;font-weight:",";margin:0;"],Object(r.a)("fontSizes.2","15"),Object(r.a)("fontWeights.3","400")),p=o.e.p.withConfig({displayName:"SignInOutFormstyle__HelperText",componentId:"sc-yqn025-8"})(["font-family:'Lato',sans-serif;font-size:","px;font-weight:",";color:",";margin:0;text-align:center;width:100%;a{font-weight:700;color:#4285f4;text-decoration:underline;}"],Object(r.a)("fontSizes.1","13"),Object(r.a)("fontWeights.3","400"),Object(r.a)("colors.darkRegular","#77798c")),g=o.e.input.withConfig({displayName:"SignInOutFormstyle__Input",componentId:"sc-yqn025-9"})(["width:100%;height:48px;border-radius:6px;background-color:",";border:1px solid ",";font-family:'Lato',sans-serif;font-size:","px;font-weight:",";color:",";line-height:19px;padding:0 18px;box-sizing:border-box;transition:border-color 0.25s ease;margin-bottom:10px;&:hover,&:focus{outline:0;}&:focus{border-color:",";}&::placeholder{color:",";font-size:14px;}&::-webkit-inner-spin-button,&::-webkit-outer-spin-button{-webkit-appearance:none;margin:0;}&.disabled{.inner-wrap{cursor:not-allowed;opacity:0.6;}}"],Object(r.a)("colors.lightColor","#F7F7F7"),Object(r.a)("colors.borderColor","#E6E6E6"),Object(r.a)("fontSizes.2","15"),Object(r.a)("fontWeights.3","400"),Object(r.a)("colors.darkBold","#0D1136"),Object(r.a)("colors.primary","#009e7f"),Object(r.a)("colors.darkRegular","#77798c")),b=o.e.div.withConfig({displayName:"SignInOutFormstyle__Divider",componentId:"sc-yqn025-10"})(["padding:15px 0;width:100%;display:flex;justify-content:center;align-items:center;position:relative;span{font-family:'Lato',sans-serif;font-size:","px;font-weight:",";color:",";line-height:1;background-color:#fff;z-index:1;position:relative;padding:0 10px;}&::before{content:'';width:100%;height:1px;background-color:",";position:absolute;top:50%;}"],Object(r.a)("fontSizes.2","15"),Object(r.a)("fontWeights.3","400"),Object(r.a)("colors.darkBold","#0D1136"),Object(r.a)("colors.borderColor","#E6E6E6")),m=o.e.button.withConfig({displayName:"SignInOutFormstyle__LinkButton",componentId:"sc-yqn025-11"})(["background-color:transparent;border:0;outline:0;box-shadow:none;padding:0;font-size:14px;font-weight:700;color:",";text-decoration:underline;cursor:pointer;"],Object(r.a)("colors.primary","#009E7F"))},j5Ji:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n("ERkP"),r=Object(o.createContext)({})},jvFD:function(e,t,n){e.exports=n("KeDb")},oBM5:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/verify",function(){return n("3kph")}])}},[["oBM5",1,0,6,2,3,4,5,7]]]);
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.