1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="37eff07d-0b7a-38b0-f50a-c33dd7083960")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,291408,e=>{"use strict";let r={gre:"We were unable to verify your browser, please try again.",csrf:"We were unable to verify your request, please try again.",email:"Please enter your email address.",password:"Please enter your password.",incorrect:"Your login details were incorrect, please try again.",invalid:"Your login details were incorrect, please try again.",password_required:"Please enter your password.",deactivated:"Your account has been deactivated.",pwned:"Your password has appeared in public data breaches from other websites so is not secure, please enter a new one.",pw_nomatch:"Passwords do not match",terms:"Please confirm that you accept the Privacy policy and Terms & Conditions",already_registered:"You tried to sign up using an email address that is already registered with MedShr. Please log in below.",reset_code_invalid:"The password reset link you followed is invalid, has been used before, or has expired"};e.s(["useErrorMessage",0,e=>{let t="function"==typeof e.get?e.get("error_code"):e.error_code;return"s"===t?"function"==typeof e.get?e.get("error_msg"):e.error_msg:t&&t in r?r[t]:void 0}])},849615,e=>{"use strict";var r=e.i(120786),t=e.i(92808),a=e.i(843476),s=e.i(271645),n=e.i(618566),i=e.i(752687),l=e.i(291408);e.i(589480),"u"<typeof atob&&(e.g.atob=e=>e),e.s(["RegisterForm",0,()=>{var e,o,d,c,m,u,h,p;let f=(0,n.useSearchParams)(),g=(0,s.useRef)(void 0),v=(0,s.useRef)(void 0);(0,s.useRef)(void 0);let b=f.get("e"),x="string"==typeof b&&f.get("c")===(e=>{for(var r,t=[],a=0;a<256;a++){r=a;for(let e=0;e<8;e++)r=1&r?0xedb88320^r>>>1:r>>>1;t[a]=r}for(var s=-1,n=0;n<e.length;n++)s=s>>>8^t[255&(s^e.charCodeAt(n))];return(-1^s)>>>0})(b).toString()?JSON.parse(atob(b)):void 0,w=null!=(e=null==x?void 0:x.e)?e:f.get("email"),y=!!(null!=(o=null==x?void 0:x.t)?o:f.get("tc")),j=!!(null!=(d=null==x?void 0:x.m)?d:f.get("mc")),_="webinars"===f.get("product"),[k,N]=(0,s.useState)({email:w,hasTerms:y}),S=(0,l.useErrorMessage)(f),C=e=>{let{name:a,value:s,checked:n}=e.target;N(e=>"password"===a?(0,t._)((0,r._)({},e),{hasPassword:s.length>0}):"terms"===a?(0,t._)((0,r._)({},e),{hasTerms:n}):(0,t._)((0,r._)({},e),{[a]:s}))},P=(null==(u=k.email)?void 0:u.length)>0&&/^.+@.+\..{2,}/.test(k.email)&&k.hasPassword&&k.hasTerms&&(!_||(null==(h=k.first_name)?void 0:h.trim().length)>0&&(null==(p=k.last_name)?void 0:p.trim().length)>0),[T,F]=(0,s.useState)(!1);return(0,s.useEffect)(()=>F(!0),[]),(0,a.jsxs)(i.TokenizedForm,{actionName:"signup","data-hydrated":T||void 0,className:"tw-mx-auto tw-w-full md:tw-w-3/5 large auth-form fs-unmask",encType:"multipart/form-data",method:"post",action:"/auth/register",children:[S?(0,a.jsx)("p",{className:"form__error",children:S.split("\n").map(e=>(0,a.jsx)("div",{children:e}))}):null,_?(0,a.jsxs)("div",{className:"fields fields--inline",children:[(0,a.jsxs)("div",{className:"field field--first-name",children:[(0,a.jsx)("label",{htmlFor:"auth-first-name",children:(0,a.jsx)("span",{children:"First name:"})}),(0,a.jsx)("input",{autoFocus:!0,name:"first_name",id:"auth-first-name",type:"text",autoComplete:"given-name",placeholder:"First name",onChange:C})]}),(0,a.jsxs)("div",{className:"field field--last-name",children:[(0,a.jsx)("label",{htmlFor:"auth-last-name",children:(0,a.jsx)("span",{children:"Last name:"})}),(0,a.jsx)("input",{name:"last_name",id:"auth-last-name",type:"text",autoComplete:"family-name",placeholder:"Last name",onChange:C})]})]}):null,(0,a.jsxs)("div",{className:"field field--email",children:[(0,a.jsx)("label",{htmlFor:"auth-email",children:(0,a.jsx)("span",{children:"Email address:"})}),(0,a.jsx)("input",{ref:g,autoFocus:!w&&!_,defaultValue:w,name:"email",id:"auth-email",type:"email",autoComplete:"email",placeholder:"Email",onChange:C})]}),(0,a.jsxs)("div",{className:"field field--password",children:[(0,a.jsx)("label",{htmlFor:"auth-password",children:(0,a.jsx)("span",{children:"Password:"})}),(0,a.jsx)("input",{ref:v,autoFocus:!!w,name:"password",id:"auth-password",type:"password",autoComplete:"new-password",placeholder:"Password",onChange:C})]}),(0,a.jsx)("div",{className:"field field--terms",children:(0,a.jsx)("div",{className:"fm-property--terms",children:(0,a.jsxs)("span",{className:"fm-checkbox",children:[(0,a.jsx)("input",{type:"checkbox",className:"fm-property--terms__check",name:"terms",value:"1",id:"terms-check",defaultChecked:y,onChange:C}),(0,a.jsxs)("label",{className:"fm-property--terms__label",htmlFor:"terms-check",children:["I confirm that I have read and agreed to the"," ",(0,a.jsx)("a",{href:"/pages/privacy",target:"_blank",rel:"noreferrer noopener",children:"Privacy Policy"})," ","and"," ",(0,a.jsx)("a",{href:"/pages/terms",target:"_blank",rel:"noreferrer noopener",children:"Terms & Conditions"})]})]})})}),(0,a.jsx)("div",{className:"field field--marketing",children:(0,a.jsx)("div",{className:"fm-property--marketing",children:(0,a.jsxs)("span",{className:"fm-checkbox",children:[(0,a.jsx)("input",{type:"checkbox",className:"fm-property--marketing__check",name:"marketing",value:"1",id:"marketing-check",defaultChecked:j}),(0,a.jsx)("label",{className:"fm-property--marketing__label",htmlFor:"marketing-check",children:"Receive marketing communications from MedShr"})]})})}),(0,a.jsxs)("div",{className:"footer",children:[(0,a.jsx)("input",{type:"hidden",name:"referer",value:null!=(c=null!=(m=f.get("referer"))?m:f.get("next"))?c:""}),_?(0,a.jsx)("input",{type:"hidden",name:"c-prod",value:"webinars"}):null,(0,a.jsxs)("button",{type:"submit",className:"btn btn--block btn--primary btn--continue tw-text-2xl tw-font-bold",disabled:!P,children:["Join"," ",(0,a.jsx)("img",{className:"continue-arrow",src:"/static/images/continue-button-circle-arrow.svg",width:45,height:45,alt:""})]})]})]})}],849615)},752687,e=>{"use strict";var r=e.i(120786),t=e.i(92808),a=e.i(233027),s=e.i(843476),n=e.i(271645);e.s(["TokenizedForm",0,e=>{var i;let{actionName:l,children:o}=e,d=(0,a._)(e,["actionName","children"]),c=(0,n.useRef)(void 0),m=(0,n.useRef)(void 0),[u,h]=(0,n.use
2State)({});return(0,n.useEffect)(()=>{u.wantSubmit&&c.current&&m.current&&u.rltoken&&u.rltoken===m.current.value&&(h((0,t._)((0,r._)({},u),{wantSubmit:!1})),setTimeout(()=>c.current?c.current.submit():void 0,50))},[!!u.wantSubmit,u.rltoken]),(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("form",(0,t._)((0,r._)({},d),{ref:c,onSubmit:e=>{if(!u.rltoken)return e.preventDefault(),fetch("/api/auth/rltoken",{credentials:"include",method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({actionName:l})}).then(e=>e.ok?e.json():e.json().then(e=>{if(e.redirect){let r=new URL(e.redirect,document.location.href);r.protocol===document.location.protocol&&r.host===document.location.host&&(document.location.href=r.href)}throw Error(e.error)})).then(e=>h((0,t._)((0,r._)({},u),{rltoken:e.value,wantSubmit:!0}))).catch(e=>{console.error(e),h((0,t._)((0,r._)({},u),{rltoken:"",wantSubmit:!1}))}),!1;d.onSubmit&&d.onSubmit(e)},children:[o,(0,s.jsx)("input",{ref:m,type:"hidden",name:"rltoken",id:"rltoken-input",value:null!=(i=u.rltoken)?i:""})]}))})}])}]); 3 4//# debugId=37eff07d-0b7a-38b0-f50a-c33dd7083960
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.