!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e2a57438-81a1-4650-980f-a821f8514a58",e._sentryDebugIdIdentifier="sentry-dbid-e2a57438-81a1-4650-980f-a821f8514a58")}catch(e){}}(),("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"f92eb2497ee348ad973a18a5039ebf77ac65fb03"},(self.webpackChunkhw_admin=self.webpackChunkhw_admin||[]).push([[670],{85295:(e,t,r)=>{r.d(t,{x:()=>y});var o=r(35944),n=r(41864),i=r(31909),a=r(15952),s=r(77836),l=r(25768),c=r(41342),u=r(70917),d=r(616),m=e=>(0,u.iv)("width:100%;background:",e.surface.level1,";flex-shrink:0;margin-top:1rem;","label:AuthFooter-styles"),p=e=>(0,u.iv)("border-top:1px solid ",e.separator.base,";","label:AuthFooter-styles"),g=(0,u.iv)("display:flex;flex-direction:column;","label:AuthFooter-styles"),h=(0,u.iv)("max-width:1440px;width:100%;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:0.5rem 1rem;@media (max-width:",d.Sv,"){flex-direction:column;padding:0;}","label:AuthFooter-styles"),y=e=>{var{children:t}=e,{tablet:r}=(0,s.k)();return(0,o.tZ)("footer",{css:[m,r.greaterThan&&p],children:(0,o.tZ)(a.o,{css:h,isMarginless:!0,isMultiline:!0,children:r.greaterThan?(0,o.BX)(o.HY,{children:[(0,o.tZ)(n.s,{columnWidth:3,children:(0,o.tZ)(l.l,{})}),(0,o.BX)(n.s,{textAlign:"center",children:[t,(0,o.tZ)(c.k,{})]}),(0,o.tZ)(n.s,{columnWidth:3})]}):(0,o.BX)(n.s,{css:g,textAlign:"center",columnWidth:"narrow",children:[t,(0,o.tZ)(i.L,{height:"double"}),(0,o.tZ)(l.l,{}),(0,o.tZ)(i.L,{height:"oneHalf"}),(0,o.tZ)(c.k,{})]})})})}},25768:(e,t,r)=>{r.d(t,{l:()=>u});var o=r(35944),n=r(11463),i=r(6734),a=r(89113),s=r(55837),l=r(54702),c=r(97084),u=()=>{var{t:e}=(0,i.$G)(),{isUS:t,isEmerson:r}=(0,c.Q)(),u=(0,n.u)(),d=(0,s.b)()&&"dark"===u.theme;return(0,o.tZ)(a.g,{isWrapped:!1,spacing:"none",justify:"center",children:t&&!r&&(d?(0,o.tZ)(l.Qw,{role:"img","aria-label":e("aviary:footer.HIPAAalttext")}):(0,o.tZ)(l.G5,{role:"img","aria-label":e("aviary:footer.HIPAAalttext")}))})}},41342:(e,t,r)=>{r.d(t,{k:()=>m});var o=r(34788),n=r(12796),i=r(20567),a=r(14932),s=r(35944),l=r(6734),c=r(66821),u=r(41757),d=(0,r(70917).iv)("white-space:nowrap;","label:FooterPrivacy-styles"),m=e=>{var t=(0,o._)({},(0,n._)(e));return(0,s.tZ)(c.Z,(0,a._)((0,i._)({isFullWidth:!0,type:"footnote"},t),{children:(0,s.BX)(l.cC,{i18nKey:"sharedCommon:footerTerms",children:["This page is protected by reCAPTCHA, and subject to the  ",(0,s.tZ)(u.r,{css:d,href:"https://policies.google.com/privacy",noExternalIcon:!0,children:"Google Privacy Policy"}),"and  ",(0,s.tZ)(u.r,{css:d,href:"https://policies.google.com/terms",noExternalIcon:!0,children:"Google Terms of Service"})]})}))}},1358:(e,t,r)=>{r.d(t,{JU:()=>g,LB:()=>m,Ps:()=>d,Yq:()=>y,cr:()=>s,cs:()=>c,jY:()=>p,lv:()=>l,pe:()=>u,v6:()=>h});var o=r(70917),n=r(23845),i=r(23667),a=r(49935),s=e=>(0,o.iv)("display:inline-block;border-radius:4px;border:1px solid ",n.BA.lightFamily.dark,";cursor:pointer;",i.eR,"  &:hover{box-shadow:0 1px 2px 0 ",a.a(e.text.body,.25),";border:1px solid ",n.BA.lightFamily.darker,";}&:active{border:1px solid ",e.success.textBase,";}","label:GoogleSSOButton-styles"),l=(0,o.iv)("background-color:",n.BA.lightFamily.light,";border-color:",n.BA.lightFamily.dark,";cursor:not-allowed;&:hover{box-shadow:none;border-color:",n.BA.lightFamily.dark,";}&:active{background-color:",n.BA.lightFamily.light,";}","label:GoogleSSOButton-styles"),c=(0,o.iv)("display:flex;align-content:center;width:250px;padding:0.5625rem 0.3125rem 0.5625rem 0.5625rem;cursor:pointer;justify-content:center;input{-webkit-appearance:none;-moz-appearance:none;appearance:none;font-weight:normal;}","label:GoogleSSOButton-styles"),u=(0,o.iv)("width:250px;text-align:left;margin:1rem auto 0 auto;","label:GoogleSSOButton-styles"),d=(0,o.iv)('font-family:"Roboto",sans-serif;background:',n.ix,";border:none;font-size:1rem;color:",n.Sn,";cursor:pointer;padding-bottom:0;","label:GoogleSSOButton-styles"),m=(0,o.iv)("color:",n.BA.darkFamily.light,";background-color:",n.BA.lightFamily.light,";cursor:not-allowed;","label:GoogleSSOButton-styles"),p=(0,o.iv)("width:1.3125rem;height:1.3125rem;margin-right:0.1rem;","label:GoogleSSOButton-styles"),g=(0,o.iv)("cursor:not-allowed;","label:GoogleSSOButton-styles"),h=(0,o.iv)("margin:1rem 0;color:",n.BA.darkFamily.light,";overflow:hidden;text-transform:uppercase;&:before,&:after{background-color:",n.BA.lightFamily.darker,';content:"";display:inline-block;height:1px;position:relative;vertical-align:middle;width:25%;}&:before{right:0.5rem;margin-left:-50%;}&:after{left:0.5rem;margin-right:-50%;}',"label:GoogleSSOButton-styles"),y=(0,o.iv)("text-align:center;width:100%;","label:GoogleSSOButton-styles")},14142:(e,t,r)=>{r.d(t,{c:()=>w});var o=r(11010),n=r(20567),i=r(14932),a=r(47702),s=(r(76265),r(35944)),l=r(67294),c=r(6734),u=r(56529),d=r(66821),m=r(31909),p=r(34537),g=r(84168),h=(r(64043),r(41729)),y=r(66495),f=r(1358),w=e=>{var t,r,w,v,b,S,_,{formData:x,signUpPage:C,treatmentPlanSlug:P,labRecommendationId:E,storeSlug:T,pracTypeId:A,pageVersion:I,disabled:k,isOrTextRendered:F,additionalAttributes:B,uuid:Z,buttonStyles:N,orStyles:U,isIntake:D,requestedPractitionerId:M}=e,R=(0,a._)(e,["formData","signUpPage","treatmentPlanSlug","labRecommendationId","storeSlug","pracTypeId","pageVersion","disabled","isOrTextRendered","additionalAttributes","uuid","buttonStyles","orStyles","isIntake","requestedPractitionerId"]),{t:L}=(0,c.$G)(),O=(0,g.m)(),W=null===(t=document.querySelector("meta[name='csrf-token']"))||void 0===t?void 0:t.getAttribute("content"),G=L("googleSSO:ContinueWithGoogle"),H=[f.cr,k&&f.lv,N],Y=[f.Ps,k&&f.LB],q=[f.jY,k&&f.JU],z=[f.cs,k&&f.JU],X=(r=navigator.userAgent.toLowerCase(),w=navigator.standalone,v=/ip(ad|hone|od)/.test(r)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,b=/android/.test(r),S=/safari/.test(r),b&&/; wv\)/.test(r)||v&&!w&&!S),[K,j]=(0,l.useState)(!1),$=(_=(0,o._)((function*(){var{redirectPath:e}=null!=B?B:{};(null==e?void 0:e.startsWith("http"))?yield O(e,{successMessage:L("sharedCommon:linkCopied")}):yield O(window.location.href,{successMessage:L("sharedCommon:linkCopied")})})),function(){return _.apply(this,arguments)});return X?(0,s.BX)("div",{css:f.Yq,onClick:()=>j(!0),children:[(0,s.tZ)("div",(0,i._)((0,n._)({css:H},R),{children:(0,s.BX)("label",{"aria-label":G,css:z,htmlFor:G,children:[(0,s.tZ)(y.Z,{css:q}),(0,s.tZ)("input",{id:G,value:G,type:"submit",css:Y,disabled:k})]})})),K&&(0,s.BX)(u.v,{color:"system",css:f.pe,children:[(0,s.tZ)(d.Z,{isMarginless:!0,children:L("googleSSO:ContinueWithGoogleInBrowser")}),(0,s.tZ)(m.L,{height:"one"}),(0,s.tZ)(p.z,{size:"small",isColor:"system","aria-label":L("sharedCommon:copyLink"),onClick:$,children:L("sharedCommon:copyLink")})]})]}):(0,s.BX)(s.HY,{children:[(0,s.tZ)("link",{rel:"preconnect",href:"https://fonts.gstatic.com"}),(0,s.tZ)("link",{href:"https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap",rel:"stylesheet"}),(0,s.BX)("div",{css:f.Yq,"data-e2e":"new-sign-in-flow",children:[(0,s.tZ)("div",(0,i._)((0,n._)({css:H},R),{children:(0,s.BX)("form",{action:(0,h.F)("Google",x,B,C,P,E,T,A,I,Z,D,M),method:"post","data-e2e":"google-sso-button",children:[(0,s.BX)("label",{"aria-label":G,css:z,htmlFor:G,children:[(0,s.tZ)(y.Z,{css:q}),(0,s.tZ)("input",{id:G,value:G,type:"submit",css:Y,disabled:k})]}),(0,s.tZ)("input",{type:"hidden",name:"authenticity_token",value:W})]})})),F&&(0,s.tZ)(d.Z,{type:"footnote",isMarginless:!0,css:[f.v6,U],children:L("googleSSO:Or")})]})]})}},41729:(e,t,r)=>{r.d(t,{F:()=>o});r(79307),r(98858),r(61318),r(33228),r(76265);var o=(e,t,r,o,n,i,a,s,l,c,u,d)=>{var m,{firstName:p,lastName:g,storeName:h,tosAcceptedAt:y}=t||{},{referralCode:f,referralPartnerId:w,referralCodeId:v,micrositeId:b,redirectPath:S,signupSource:_,apiClientId:x,isOauth:C,source:P,peerReferralCode:E,peerReferrerSlug:T,utmSource:A,utmCampaign:I,utmMedium:k,utmId:F,utmContent:B,utmTerm:Z,roleId:N,roleType:U}=r||{},D=new URLSearchParams;return p&&D.set("custom_first_name",p),g&&D.set("custom_last_name",g),h&&D.set("store_name",h),y&&D.set("tos_accepted_at",y),l&&D.set("page_version",l),o&&D.set("sign_up_page",o),n&&D.set("treatment_plan_slug",n),a&&D.set("store_slug",a),s&&D.set("practitioner_type_id",s),f&&D.set("referral_code",f),w&&D.set("referral_partner_id",w),v&&D.set("referral_code_id",v),b&&D.set("microsite_id",b),E&&D.set("peer_referral_code",E),T&&D.set("peer_referrer_slug",T),S&&D.set("redirect_path",S),_&&D.set("signup_source",_),x&&D.set("api_client_id",x),C&&D.set("is_oauth",C),P&&D.set("source",P),c&&D.set("uuid",c),A&&D.set("utm_source",A),I&&D.set("utm_campaign",I),k&&D.set("utm_medium",k),Z&&D.set("utm_term",Z),F&&D.set("utm_id",F),B&&D.set("utm_content",B),U&&D.set("role_type",U),N&&D.set("role_id",N),u&&D.set("intake","true"),d&&D.set("requested_practitioner_id",d),"Google"===e?m="/user/auth/google_oauth2":"Apple"===e&&(m="/user/auth/apple"),"".concat(m,"?").concat(D.toString())}},84168:(e,t,r)=>{r.d(t,{m:()=>a});var o=r(11010),n=r(6734),i=r(83071),a=()=>{var e,{t}=(0,n.$G)(),{makeToast:r}=(0,i.p)();return e=(0,o._)((function*(e,o){var{successMessage:n,errorMessage:i}=o;try{yield navigator.clipboard.writeText(e),r("success",null!=n?n:t("sharedCommon:CopiedToClipboard"))}catch(e){r("error",null!=i?i:t("sharedCommon:FailedToCopyText"))}})),function(t,r){return e.apply(this,arguments)}}},36985:(e,t,r)=>{r.d(t,{T:()=>u});var o=r(35944),n=r(57224),i=r(66821),a=r(77836),s=r(70917),l=r(616),c=(0,s.iv)("text-align:center;@media (max-width:",l.wt,"){max-width:25rem;width:100%;margin:0 auto;}","label:ErrorBox-styles"),u=e=>{var{error:t,subMessage:r}=e,{phoneLarge:s}=(0,a.k)(),l=s.greaterThan?"body":"footnote";return(0,o.BX)(n.x,{isBordered:!0,isColor:"danger",padding:"xsmall",layoutStyles:c,children:[(0,o.tZ)(i.Z,{isFullWidth:!0,isSecondaryWeight:!!r,type:l,children:t}),!!r&&(0,o.tZ)(i.Z,{isFullWidth:!0,type:l,children:r})]})}},9507:(e,t,r)=>{r.d(t,{n:()=>a});var o=r(20567),n=r(35944),i=(0,r(70917).iv)("display:flex;flex-direction:column;justify-content:space-between;align-items:center;flex:1;width:100%;max-width:31.5rem;margin:0 auto;","label:FormWrapper-styles"),a=e=>(0,n.tZ)("div",(0,o._)({css:i},e))},23698:(e,t,r)=>{r.d(t,{W:()=>g});var o=r(20567),n=r(47702),i=(r(76265),r(35944)),a=r(68779),s=r(6734),l=r(27176),c=r(15584),u=r(58040),d=r(70856),m=r(70917),p=e=>(0,m.iv)("margin-right:0.5rem;color:",e.success.textBase,";","label:PasswordInput-styles"),g=e=>{var{isDirty:t,value:r,errors:m,disabled:g,isLoading:h,label:y}=e,f=(0,n._)(e,["isDirty","value","errors","disabled","isLoading","label"]),{t:w}=(0,s.$G)(),v=(0,d.M)(r);return(0,i.tZ)(l.y,(0,o._)({descriptiveText:t&&v?(0,i.BX)(i.HY,{children:[(0,i.tZ)(c.G,{icon:a.LEp,size:"sm",css:p}),w("common:LengthConfirmation")]}):null,id:"password",name:"password","data-e2e":u.p.practitionerSignup.password,label:y||w("common:Password"),value:r,errors:t?v?m:[...m||[],w("common:LengthValidation")]:null,disabled:g||h},f))}},70856:(e,t,r)=>{r.d(t,{M:()=>o,m:()=>n});var o=e=>e.length>=8,n=e=>o(e)},3734:(e,t,r)=>{r.d(t,{k:()=>a});var o=r(35944),n=r(6734),i=r(36985),a=()=>{var{t:e}=(0,n.$G)();return(0,o.tZ)(i.T,{error:e("signIn:recaptchaErrorBox.title"),subMessage:e("signIn:recaptchaErrorBox.description")})}},98414:(e,t,r)=>{r.d(t,{c:()=>m});var o=r(35944),n=r(6734),i=r(41757),a=r(56529),s=r(66821),l=r(40869),c=r(88225),u=r(18640),d=(0,r(70917).iv)("text-align:left;","label:SSOErrorBox-styles"),m=e=>{var{ssoErrorPage:t,ssoErrors:r,onRedirect:m}=e,p=(0,c.F)();if(!r)return null;var g=()=>t===u.E.OAUTH?(0,o.tZ)(i.r,{onClick:m,children:(0,o.tZ)(n.cC,{i18nKey:"ssoError:signUp",children:"sign up"})}):(0,o.tZ)(i.r,{to:l.j.practitioner_sign_up,children:(0,o.tZ)(n.cC,{i18nKey:"ssoError:signUp",children:"sign up"})}),h=(e=>{switch(e){case"apple/an_account_already_exists":case"google/an_account_already_exists":return{message:(0,o.BX)(n.cC,{i18nKey:"ssoError:signUpEmailAlreadyExist",children:["An account with this email exists. Please"," ",(0,o.tZ)(i.r,{onClick:m,children:(0,o.tZ)(n.cC,{i18nKey:"ssoError:signIn",children:"sign in"})})]})};case"apple/no_user_info_found":return{title:(0,o.tZ)(n.cC,{i18nKey:"ssoError:appleAccountCantConnectHeader",children:"Unable to connect Apple account"}),message:(0,o.tZ)(n.cC,{i18nKey:"ssoError:appleAccountCantConnectMessage",children:"Please use your email and password to sign in."})};case"apple/rx_email_mismatch":case"google/rx_email_mismatch":return{message:(0,o.BX)(n.cC,{i18nKey:"ssoError:rxSignInWrongEmail",children:["The email you selected is not associated with this ",{treatmentPlanTerm:p}]})};case"apple/rx_not_found":case"google/rx_not_found":return{message:(0,o.tZ)(n.cC,{i18nKey:"ssoError:invalidEmailLink",children:"This link is invalid. Click on the link in the email to try again."})};case"apple/user_not_found":return{title:(0,o.BX)(n.cC,{i18nKey:"ssoError:signInEmailDoesntExistTitle",children:["Please try another email, or ",g()]}),message:(0,o.tZ)(n.cC,{i18nKey:"ssoError:signInAppleEmailDoesntExistMessage",children:"Your Apple ID isn’t connected to a Fullscript account."})};case"google/user_not_found":return{title:(0,o.BX)(n.cC,{i18nKey:"ssoError:signInEmailDoesntExistTitle",children:["Please try another email, or ",g()]}),message:(0,o.tZ)(n.cC,{i18nKey:"ssoError:signInGoogleEmailDoesntExistMessage",children:"Your Google email isn’t connected to a Fullscript account."})};case"apple/user_not_invited":case"google/user_not_invited":return{title:(0,o.tZ)(n.cC,{i18nKey:"ssoError:officeSignUpWrongEmailTitle",children:"The email you selected hasn't received an invitation."}),message:(0,o.tZ)(n.cC,{i18nKey:"ssoError:officeSignUpWrongEmailMessage",children:"To join the dispensary, you must use the same email address from your invite."})};default:return{message:(0,o.tZ)(o.HY,{children:e})}}})(r);return(0,o.tZ)(a.v,{css:d,isColor:"danger",titleContent:null==h?void 0:h.title,children:(0,o.tZ)(s.Z,{children:h.message})})}},18640:(e,t,r)=>{var o;r.d(t,{E:()=>o}),function(e){e.OAUTH="oauth"}(o||(o={}))},15570:(e,t,r)=>{r.d(t,{G:()=>d});var o=r(20567),n=r(47702),i=(r(64043),r(35944)),a=r(6734),s=r(59246),l=r(79475),c=r(78565),u=r(58040),d=e=>{var{value:t,isDirty:r}=e,d=(0,n._)(e,["value","isDirty"]),{t:m}=(0,a.$G)(),{emailRegex:p}=(0,c.WS)();return(0,i.tZ)(s.u,(0,o._)({maxLength:255,"data-e2e":u.p.login.signInEmail,type:"email",id:"email",label:m("common:Email"),errors:[r?(0,l.GN)(t)?(0,l.XK)(t)?(0,l.fc)(t)?p.test(t)?void 0:m("common:EmailInvalidFormat"):m("common:EmailMustHaveDot"):m("common:EmailMustHaveAt"):m("common:EmailRequired"):null],value:t},d))}},77500:(e,t,r)=>{r.d(t,{O7:()=>s,Ry:()=>n,cr:()=>i,fU:()=>a,wM:()=>c,yl:()=>l});var o=r(70917),n=(0,o.iv)("text-align:left;","label:SignInForm-styles"),i=(0,o.iv)("width:100%;",n,"label:SignInForm-styles"),a=(0,o.iv)("display:flex;","label:SignInForm-styles"),s=(0,o.iv)(a,"  justify-content:space-between;align-items:center;width:100%;","label:SignInForm-styles"),l=(0,o.iv)("margin-bottom:1rem;","label:SignInForm-styles"),c=(0,o.iv)("margin:1.5rem 0 0.5rem 0;","label:SignInForm-styles")},80179:(e,t,r)=>{r.d(t,{l:()=>l});var o=r(20567),n=r(47702),i=(r(76265),r(35944)),a=r(6734),s=r(27176),l=e=>{var{isDirty:t,value:r,errors:l,disabled:c,isLoading:u,isCredentialsIncorrect:d}=e,m=(0,n._)(e,["isDirty","value","errors","disabled","isLoading","isCredentialsIncorrect"]),{t:p}=(0,a.$G)(),g=!!r;return(0,i.tZ)(s.y,(0,o._)({autoComplete:"on",id:"password",name:"password",label:p("common:Password"),value:r,errors:t?g?d?[p("signIn:IncorrectEmailOrPassword")]:[...l||[]]:[p("signIn:PasswordIsRequired")]:null,disabled:c||u},m))}},47565:(e,t,r)=>{r.d(t,{e:()=>l});var o=r(20567),n=r(14932),i=r(47702),a=r(35944),s=(0,r(70917).iv)("display:flex;flex-direction:column;align-items:center;width:100%;max-width:26rem;margin:0 auto;text-align:center;","label:SignInWrapper-styles"),l=e=>{var{children:t}=e,r=(0,i._)(e,["children"]);return(0,a.tZ)("div",(0,n._)((0,o._)({css:s},r),{children:t}))}},65095:(e,t,r)=>{r.d(t,{Y:()=>a});var o=r(35944),n=r(6734),i=r(36985),a=()=>{var{t:e}=(0,n.$G)();return(0,o.tZ)(i.T,{error:e("signIn:NotAuthorized"),subMessage:e("signIn:ContactAPrac")})}},78565:(e,t,r)=>{r.d(t,{nS:()=>c,WS:()=>l});var o=r(35944),n=r(67294),i=(r(52003),r(68518),r(64043),new RegExp("^([\\w.%+-]+)@([\\w-]+\\.)+(\\w{2,})$")),a={treatmentPlanTerm:"",emailRegex:i},s=(0,n.createContext)(a),l=()=>{var{emailRegex:e,treatmentPlanTerm:t}=(0,n.useContext)(s);return{emailRegex:e,treatmentPlanTerm:t}},c=e=>{var{children:t,treatmentPlanTerm:r}=e;return(0,o.tZ)(s.Provider,{value:{treatmentPlanTerm:r,emailRegex:i},children:t})}},40869:(e,t,r)=>{r.d(t,{j:()=>n});var o=(0,r(77825).yv)()?"":"/emerson",n={base:"/",wellevate_patients_authorize:"/wellevate/patients/authorize",practitioner_sign_up:"/practitioner-signup",patient_sign_up:"/patient-signup",continue_without_password:"/continue-without-password",login:"/login",forgot_password:"/password",edit_password:"/edit_password",emerson:{base:o,accountSettings:"".concat(o,"/account/security"),sign_up:"".concat(o,"/practitioner-signup"),login:"".concat(o,"/login"),forgot_password:"".concat(o,"/password"),edit_password:"".concat(o,"/edit_password")},usApp:"https://us.fullscript.com",caApp:"https://ca.fullscript.com",intakeSignUp:function(){return i(arguments.length>0&&void 0!==arguments[0]?arguments[0]:":storeSlug",null,"intake")},rx_sign_in:"/welcome/:practitionerSlug/:tpSlug",rxSignUp:function(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:":tpSlug";return"/welcome/".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:":practitionerSlug","/").concat(e,"/signup")},welcomeSignUp:function(){return i(arguments.length>0&&void 0!==arguments[0]?arguments[0]:":storeSlug",null,"signup".concat(arguments.length>1&&void 0!==arguments[1]&&arguments[1]?"?preview=true":""))},welcomeStart:function(){return i(arguments.length>0&&void 0!==arguments[0]?arguments[0]:":storeSlug",arguments.length>1?arguments[1]:void 0,"store-start")},welcomePassword:function(){return i(arguments.length>0&&void 0!==arguments[0]?arguments[0]:":storeSlug",arguments.length>1?arguments[1]:void 0,"store-password")},welcomeActivation:function(){return i(arguments.length>0&&void 0!==arguments[0]?arguments[0]:":storeSlug",arguments.length>1?arguments[1]:void 0,"activation")},welcomeForgotPassword:function(){return i(arguments.length>0&&void 0!==arguments[0]?arguments[0]:":storeSlug",arguments.length>1?arguments[1]:void 0,"forgot-password")}},i=(e,t,r)=>t?"/welcome/".concat(e,"/").concat(t,"/").concat(r):"/welcome/".concat(e,"/").concat(r)},74892:(e,t,r)=>{r.r(t),r.d(t,{UserSignIn_UnauthenticatedShared_Mutation:()=>s,useUserSignIn:()=>l});var o=r(82729),n=r(31230),i=r(50319);function a(){var e=(0,o._)(["\n  mutation UserSignIn_UnauthenticatedShared_Mutation($input: AuthUserSignInInput!) {\n    auth {\n      userSignIn(input: $input) {\n        user {\n          id\n        }\n        twoFactorAuthenticationToken\n        otpMethod\n        userEmail\n        phoneLast4\n        redirectPath\n        errors {\n          message\n        }\n      }\n    }\n  }\n"]);return a=function(){return e},e}var s=(0,n.Ps)(a()),l=e=>(0,i.D)(s,e)},58040:(e,t,r)=>{r.d(t,{p:()=>o});var o={login:{signInButton:"sign-in-button",signInEmail:"sign-in-email",signInPassword:"sign-in-password",createPractitionerLink:"create-practitioner-link",emersonLogo:"emerson-logo"},practitionerSignup:{createPractitionerButton:"create-practitioner-button",firstName:"first_name",lastName:"last_name",tosCheckbox:"tos_checkbox",nextButton:"next_button",email:"email",password:"password",practitionerTypeTrigger:"practitioner-type-trigger",continueWithEmail:"continue-with-email",fieldErrorInformation:"form-field-error-information"}}},88225:(e,t,r)=>{r.d(t,{F:()=>i});var o=r(6734),n=r(78565),i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{treatmentPlanTerm:t}=(0,n.WS)(),{t:r}=(0,o.$G)(),i="".concat(null!=t?t:"prescription");return e.recommended&&(i+="_past_participle"),e.capitalize&&(i+="_capitalized"),r("common:".concat(i),{count:e.plural?100:1})}},1477:(e,t,r)=>{r.d(t,{y:()=>a});var o=r(20567),n=r(14932),i=r(82363),a=(0,n._)((0,o._)({},i.j),{HaveAcount:"Already have an account?",HaveExistingEmersonAccount:"You have an existing Emerson Ecologics account and it will be used to access Fullscript.",SignIn:"Sign in",EmailAlreadyExists:"An account with this email exists, <2>sign in to continue</2>",LengthValidation:"Must be at least 8 characters long",LengthConfirmation:"Password is 8+ characters long",FirstName:"First name",LastName:"Last name",DispensaryName:"Dispensary name",DesignationSearch:"Search for your health profession",DesignationNoResults:"No results found",FirstNameRequired:"First name is required",FirstNameInvalid:"First name can't be a url",DispensaryNameDefaultWithPlatform:"{{- fullName}} {{storePlatform}} Account",DispensaryNameDefault:"{{- fullName}} Fullscript Account",DispensaryDisplayName:"{{- fullName }} Dispensary",DispensaryNameInvalid:"Dispensary name can't be a url",DispensaryNameTooShort:"Dispensary name is too short",EditOnceSignedIn:"You can edit this information once you are signed in",LastNameRequired:"Last name is required",LastNameInvalid:"Last name can't be a url",CreateMyAccount:"Create my account",CreateAccount:"Create account",IAmA:"I am a ...",IAmAPatient:"I'm a patient,",FindInvite:"find my invite.",Password:"Password",TermsOfService:"By creating your account you agree to our <2>Terms of Service</2>",TermsOfServiceWithExistingEmersonAccount:"By activating your account you agree to our ",Or:"Or",WeRequireType:"Required so we can tailor your experience accordingly",Search:"Search...",PasswordPrompt:"Input your password to continue",emailInUse:"This email is already in use. Try <1>sign in</1> or <3>forgot password</3> instead",Terms:"I agree to {{platform}} <2>{{terms}}</2> and <4>{{privacy}}</4>",Fullscript:"Fullscript's",EmersonEcologics:"Emerson Ecologics'",Emerson:{DispensaryName:"Business name",DispensaryNameInvalid:"Business name can't be a url",DispensaryNameTooShort:"Business name is too short"},PracAcccount:"Practitioner account",PatientAccount:"Patient account",GetStartedWithFs:"Get started with Fullscript",WhichTypeOfAccount:"Which type of account would you like to create?",Next:"Next",privacyPolicy:"Privacy Policy",privacyStatement:"Privacy Statement",termsOfSale:"Terms of Sale",termsOfServices:"Terms of Service",prescription:"prescription",prescription_plural:"prescriptions",prescription_capitalized:"Prescription",prescription_capitalized_plural:"Prescriptions",prescription_past_participle:"prescribed",prescription_past_participle_capitalized:"Prescribed",recommendation:"recommendation",recommendation_plural:"recommendations",recommendation_capitalized:"Recommendation",recommendation_capitalized_plural:"Recommendations",recommendation_past_participle:"recommended",recommendation_past_participle_capitalized:"Recommended"})},41814:(e,t,r)=>{r.d(t,{B:()=>o});var o={userSignup:"<0>{{user}}</0> sign-up",Practitioner:"Practitioner",CreateAccountHeader:"Create a practitioner account",TellUsAboutYourPractice:"Tell us a bit about your practice to get started. All accounts are <2>100% free.</2>",HowToCompleteYourAccount:"How would you like to complete your account, {{ firstName }}?",SelectSignUpMethod:"Select your preferred sign up method to finish creating your account.",Emerson:{CreateAccountHeader:"Create account",TellUsAboutYourPractice:"Tell us a bit about your business to get started.",HowToCompleteYourAccount:"Complete your signup, {{ firstName }}",SelectSignUpMethod:"Add your email and your preferred password to finish creating your account.",PractUSPOne:"Choose from over <strong>400</strong> of healthcare's best brands at wholesale prices.",PractUSPTwo:"Comprehensive catalog with advanced search & highest quality products.",PractUSPThree:"Offer supplements from <strong>Thorne, Metagenics, Ortho Molecular and more.</strong>"},NextSelectSignUpMethod:"Next: Select sign up method",disabledNextButtonTooltip:"Complete all form fields and accept the terms of service to continue.",LetsGetStarted:"Let's get started! All accounts are 100% <2>free</2>",peerReferral:{signUpTitle:"{{ referrerFirstName }} thinks you'll love Fullscript! We do too.",demoVideoModalTitle:"How Fullscript can help your practice",demoVideoLink:"https://www.youtube.com/embed/RH9goQv6qmE",demoVideoTitle:""},PractUSPOne:"Total dispensing freedom with one platform.",PractUSPTwo:"Streamline your workflow with more EHR integrations than any other dispensing platform.",PractUSPThree:"Use supplements to grow your practice. Use our features to promote it. Do both with one platform.",PractUSPFour:"Automated patient adherence built right into your dispensing workflow.",PractUSPFive:"Look no further. We have the best product search out there.",SelectPractitioner:"Select a practitioner type",ImAPatient:"I'm a <1>patient</1> - Help me get started",ImAPatientMobile:"Take me to <1>patient</1> sign-up",ContinueWithEmail:"Continue with email",ComingFromWellevate:{fromWellevate:"Coming over from Wellevate?",lookingForwardToServingYou:"Welcome! We're looking forward to serving you and your patients. Have questions? <1>Book a demo</1>"},PracNameTooltip:"This is the name your patients will see.",DispensaryNameTooltip:"Your dispensary is where your patients will purchase supplements. You can use your practice name here. If you don't want to customize it, we'll use your first and last name.",DesignationSearchTooltip:"This helps us provide suitable products for you.",ComingEmersonEcologics:{complementEmersonEcologics:"Complement your Emerson Ecologics® wholesale practice by adding a virtual dispensing option with a Fullscript store.",allAccountsZeroPerMonth:"All accounts are $0/month for both practitioners and patients.",lookingForwardToServingYou:"We're looking forward to serving you and your patients. Have questions? Our world-class customer support team is here to help. <1>Book a demo</1>"},AnAccountWithThisEmail:"An account with this email exists. Please <1>sign in</1>.",signInRedirectCTA:"sign in",HealthcaresBestSupplement:"Write healthcare’s best supplement and wellness plans — free on Fullscript.",PracOnboarding:{headerText:"Create your practitioner account",TellUsAboutYourself:"Tell us a bit about yourself to get started. All accounts are <2>100% free.</2>",nextButtonText:"Continue",steps:{AccountCreation:"Account creation",SignUp:"Sign up",AccountGoals:"Account goals",Credentials:"Credentials",Confirmation:"Confirmation"},Continue:"Continue",HowToSignIn:"Choose your sign up method",CreateYourLogin:"Create your credentials or sign up with a partner account."}}},74124:(e,t,r)=>{r.d(t,{z:()=>o});var o={signInAccount:"Sign in to your account",ForgotPassword:"Forgot password?",StaySignedIn:"Stay signed in",staySignedInFor7Days:"Stay signed in  for 7 days",SignIn:"Sign in",ContinueToFullscript:"Continue to Fullscript",NewToFullScript:"New to Fullscript?",Emerson:{NewToEmersonEcologics:"New to Emerson Ecologics?",ResetPassword:"Forgot your password?",ResetLinkText:"We'll email you a link to reset it and get back on track."},CreateAccount:"Create an account",CaptchaFailed:"For security purposes we need to verify your account. Please check your email for an easy sign in link.",backToSignIn:"Back to sign in options",enterPasswordBelow:"Please enter your password below to sign in to your account.",PasswordIsRequired:"Password is required",IncorrectEmailOrPassword:"Incorrect email or password. Please try again.",ResetPassword:"Reset your password",NotAuthorized:"You are not authorized to sign in with this email",CaptchaError:"Captcha verification failed. If you have an account we'll send you an email with a magic link.",EmersonCaptchaError:"Captcha verification failed.",recaptchaErrorBox:{title:"Something went wrong",description:"Please reload the page and try again."},ContactAPrac:"Please contact your practitioner",HappensToTheBest:"It happens to the best of us. We'll send you an email with instructions to reset your password.",EmailMeLink:"Email me a reset link",ReturnToSignIn:"Return to Sign In",SetYourPassword:"Set your new password",ItMustBeLong:"It must be at least 8 characters long.",PlaceholderPassword:"New password",PlaceHolderConfirmPassword:"Confirm new password",EmailHasBeenSent:"An email has been sent to {{ email }}",textMessageHasBeenSent:"A text message has been sent to the mobile number ending in {{ phoneLast4 }}",IfEmailExists:"If the account <1>{{ email }}</1> exists, you will receive an email with instructions on how to set a new password.",DidNotGetEmail:"Didn't get the email? Check your spam folder or <1>resend</1>.",didNotGetTextMessage:"Didn't get the text message? <1>Resend</1>.",EmailSentAgain:"Email succesfully sent again!",emailNotSent:"An error occurred while sending your email. Please try again.",textMessageNotSent:"An error occurred while sending your text message. Please try again.",PasswordsDontMatch:"The passwords you entered do not match.",LinkIsBroken:"Hmm, that link appears to be broken.",TryAgainResetPassword:"To reset your password, please try again.",GmailNotConnected:"Your Google email isn’t connected to a Fullscript account.",PleaseTryAnotherEmail:"Please try another email, or <1>sign up</1>.",signUpRedirectCTA:"sign up",twoFactorAuthForm:{backToSignIn:"Back to Sign in",codeWillExpire:"This code will expire in 10 minutes.",enterYourCode:"Enter your code",errorMessage:"An error occurred while authenticating your account. Please try again.",oneTimeCode:"One-time code",oneTimeCodeMismatch:"The code does not match. Try again.",otpRetrieval:{app:"Enter the one-time code from your authenticator app to sign in.",email:"A one-time code has been sent to your email <strong>{{email}}</strong> to sign in.",sms:"A one-time code has been sent to your mobile number ending in <strong>{{mobileNumber}}</strong>. Enter the code below to sign in."},unableToAccessOtpMethod:{app:"Unable to access your authenticator app?",email:"Unable to access your email account?",sms:"Unable to access your text messages?"},useBackupCodeToSignIn:"Use backup code to sign in"},backupCode:"Backup code",backupCodeForm:{title:"Enter your backup code",subtitle:"Enter your backup code to sign in.",backupCodeIncorrect:"Backup code was incorrect. Try again."},newBackupCodeView:{subtitle:"<0>Here is your new backup code. Please store it securely.</0> <1>You can view this again in your {{storePlatform}} <2><0>Account settings</0></2>.</1>"},contactFullscriptSupport:"Contact Fullscript support",contactEmersonSupport:"Contact Emerson Ecologics support",accountLocked:"Account locked",maximumAttemptsExceeded:"Maximum number of attempts exceeded. For security reasons, please try again in 10 minutes."}},34788:(e,t,r)=>{function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},o.apply(this,arguments)}r.d(t,{_:()=>o})},12796:(e,t,r)=>{function o(e){if(null==e)throw new TypeError("Cannot destructure "+e);return e}r.d(t,{_:()=>o})}}]);
//# sourceMappingURL=670.576e99d6f1b517a4.js.map