"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[142],{1188:(e,t,a)=>{a.d(t,{s:()=>r});let r=e=>{let t=null==e?void 0:e.match(/\d+(\.\d+)?/);return t?Number.parseFloat(t[0]):null}},6770:(e,t,a)=>{a.d(t,{x:()=>h});var r=a(37876),i=a(37477),o=a(82393),n=a(92087),s=a(82492),S=a(88992),l=a(18699);let c=e=>{let{isDisabled:t,...a}=e,{register:c,setValue:C,formState:{errors:d}}=(0,S.xW)(),m=(0,s.Q)("ssn",d,["minLength","maxLength"]);return(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-2",...a,children:[(0,r.jsx)(i.Text,{as:"label",variant:"text-body-large-bold",color:"text-primary-negative",htmlFor:"ssn",children:"Social Security Number"}),(0,r.jsx)(i.Text,{variant:"text-body-meta-regular",color:"text-secondary",children:"Last 4 Digits of your Social Security Number"}),(0,r.jsx)(l.p,{"data-test":"ssn",id:"ssn",isInvalid:m,isDisabled:t,onInput:e=>C("ssn",e.currentTarget.value),...c("ssn",{required:!0,minLength:{value:4,message:n.i.ssn.minLength},maxLength:{value:4,message:n.i.ssn.maxLength}})}),m&&(0,r.jsx)(o.gO,{errors:d,name:"ssn"})]})};var C=a(45383),d=a(19847),m=a(84441),u=a(15986),H=a(48496);let h=e=>{let{configuration:t,loading:a=!1,onSubmit:n,defaultValues:s}=e,{contentResources:l,fields:h}=t,p=(0,S.mN)({mode:"onBlur",defaultValues:s}),x=(0,d.a)(),g=()=>(0,r.jsx)(i.Button,{type:"submit",size:{base:"m",lg:"l"},isDisabled:!p.formState.isValid,width:"100%",isLoading:a,trailingIcon:(0,r.jsx)(i.IconArrowRight,{}),"aria-label":"Continue",children:"Continue"});return(0,r.jsx)(S.Op,{...p,children:(0,r.jsxs)(C.X,{as:"form",onSubmit:p.handleSubmit(n),noValidate:!0,children:[(0,r.jsx)(C.X.Side,{gap:0,children:l.title}),(0,r.jsxs)(C.X.Form,{children:[(0,r.jsx)(o.d5,{isDisabled:a}),(null==h?void 0:h.ssn)&&(0,r.jsx)(c,{isDisabled:a}),(0,r.jsx)(o.LP,{inputProps:{isDisabled:a}}),(0,r.jsxs)(i.Flex,{direction:{base:"column",lg:"row"},gap:"spacer-9",children:[(0,r.jsx)(m.PV,{isDisabled:a,flex:1}),(null==h?void 0:h.state)&&(0,r.jsx)(H.X,{isDisabled:a,flex:1,options:h.state.options})]}),(0,r.jsx)(u.h,{isDisabled:a,options:h.howDidYouFindUs.options}),(0,r.jsx)(m.Ci,{isDisabled:a,pb:{base:"spacer-24",lg:0}}),x?(0,r.jsx)(o.cI,{children:g()}):g()]})]})})}},10758:(e,t,a)=>{a.d(t,{v:()=>i});var r=a(12342);let i=async e=>await r.A.post("/api/auth/request-otp",e)},11427:(e,t,a)=>{a.d(t,{C:()=>l});var r=a(37876),i=a(37477),o=a(45383),n=a(20058),s=a(54587),S=a.n(s);let l=()=>(0,r.jsxs)(o.s,{gap:{lg:"spacer-20"},alignItems:"center",direction:"column",height:"100%",pt:{base:"spacer-16",md:"spacer-20",lg:"spacer-20"},children:[(0,r.jsxs)(i.Flex,{direction:"column",alignItems:"center",gap:"spacer-6",children:[(0,r.jsx)(S(),{alt:"Application Complete",width:180,height:180,src:"/static/assets/onboarding-error.png"}),(0,r.jsxs)(i.Text,{color:"text-primary",variant:{base:"text-header-L",md:"text-header-XL"},textAlign:"center",children:["Sorry, there was an error",(0,r.jsx)("br",{}),"submitting your information"]})]}),(0,r.jsxs)(i.Box,{position:{base:"fixed",lg:"unset"},bottom:0,pb:{base:"spacer-9",md:"spacer-12",lg:"0"},px:{md:"spacer-20",lg:"0"},children:[(0,r.jsx)(i.Text,{color:"text-secondary",variant:"text-body-bold",textAlign:"center",children:"Need some help?"}),(0,r.jsxs)(i.Text,{color:"text-secondary",variant:"text-body-regular",mt:"spacer-1",textAlign:"center",children:["Please call"," ",(0,r.jsx)(n.C,{fontWeight:"thin"})," ","to speak with a Care Coordinator."]})]})]})},11969:(e,t,a)=>{a.d(t,{I:()=>o});var r=a(12342),i=function(e){return e.PASSWORD_CHANGE="passwordChange",e}({});let o=async(e,t)=>{let a={action:i.PASSWORD_CHANGE,createPassword:!0,token:e,value:t};return r.A.post("/api/authmanagement",a)}},12342:(e,t,a)=>{a.d(t,{A:()=>r});let r=a(91040).A.create({timeout:18e4})},13533:(e,t,a)=>{a.d(t,{H:()=>i});var r=a(66952);let i=e=>{let{heightFeet:t,heightInches:a,weightPounds:i}=e;if(t<0||a<0||i<=0)throw new r.oC("Negative values are not allowed.");let o=12*t+a;return i/(o*o)*703}},13751:(e,t,a)=>{a.d(t,{gQ:()=>s,UH:()=>l,yF:()=>c,rS:()=>u,uN:()=>d,yS:()=>m,AU:()=>n,i_:()=>o,pE:()=>S,n6:()=>C,RW:()=>H});var r=a(68792),i=a(45352);let o={assignLabLocation:(0,i.a)({labLocation:e=>{let{event:t}=e;return t.data}}),assignLabsSkipped:(0,i.a)({labs:"SUBMIT_LATER"}),registerLabsUploaded:(0,i.a)({labs:"LABS_UPLOADED"})},n={updateFormData:(0,i.a)({formData:e=>{let{context:t,event:a}=e;return{...t.formData,...a.data}}})},s={assignBMI:(0,i.a)({bmi:e=>{let{context:t}=e,{heightInFoot:a,heightInInch:i,highestWeightInPounds:o}=t.formData;return(0,r.Hv)({heightFeet:(0,r.sC)(a),heightInches:(0,r.sC)(i),weightPounds:(0,r.sC)(o)})}})},S={assignOtpCode:(0,i.a)({otpData:e=>{let{context:t,event:a}=e;return{...t.otpData,otp:a.data.verificationCode}}})},l={assignConsents:(0,i.a)({consentsData:e=>{let{context:t,event:a}=e;return{...t.consentsData,items:a.output.data}}}),assignUserConsentStatus:(0,i.a)({consentsData:e=>{let{context:t,event:a}=e;return{...t.consentsData,userConsentStatus:Object.entries(a.data).map(e=>{let[t,a]=e;return{formType:t,isAccepted:a}})}}})},c={assignContactData:(0,i.a)({contactData:e=>{var t;let{context:a,event:r}=e;return{...a.contactData,contactId:null==(t=r.output)?void 0:t.contactId}}})},C={assignPasswordData:(0,i.a)({passwordData:e=>{let{context:t,event:a}=e;return{...t.passwordData,...a.data}}})},d={assignNewEmail:(0,i.a)({formData:e=>{let{context:t,event:a}=e;return{...t.formData,email:a.output.email}}})},m={assignError:(0,i.a)({error:e=>{var t,a,r;let{event:i}=e;return{message:(null==i||null==(r=i.error)||null==(a=r.response)||null==(t=a.data)?void 0:t.code)==="PASSWORD_PWNED"?"This password has been exposed in previous data breaches by an unrelated party. To keep your account secure, please choose a different, unique password.":"There was an error submitting. Please try again."}}}),resetError:(0,i.a)({error:void 0})},u=e=>({reset:(0,i.a)(e),resetBenefitsCheck:(0,i.a)({benefitsCheck:void 0})}),H={assignFlyteUserData:(0,i.a)({flyteUserData:e=>{let{event:t}=e;return t.output.data}})}},14901:(e,t,a)=>{a.d(t,{l:()=>C});var r=a(37876),i=a(37477),o=a(45383),n=a(20058),s=a(19847),S=a(80072),l=a(54587),c=a.n(l);let C=e=>{let{title:t,note:a}=e,l=(0,s.a)();return(0,r.jsxs)(o.s,{gap:{lg:"spacer-16",xl:"spacer-18",xxl:"spacer-64"},alignItems:"start","data-test":S.C.ApplicationReview,children:[(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-7",children:[t,(0,r.jsxs)(n.C,{size:"l",leadingIcon:(0,r.jsx)(i.IconPhone,{}),"aria-label":"Contact Us",variant:"primary-alt",isInline:!1,justifyContent:"center",alignSelf:"start",children:["Call"," ",n.F.formatted]}),a]}),!l&&(0,r.jsx)(c(),{alt:"Application Review",width:340,height:340,src:"/static/assets/application-review.png"})]})}},15986:(e,t,a)=>{a.d(t,{h:()=>l,l:()=>S});var r=a(37876),i=a(37477),o=a(34305),n=a(88992);let s=[o.UX.Brochure,o.UX.CompanyIntranet,o.UX.Email,o.UX.CoworkerReferral,o.UX.EpicEHRReferral,o.UX.FrameFertility,o.UX.GoogleAd,o.UX.Mailer,o.UX.NuvanceRhinebeck,o.UX.OnsiteMonitor,o.UX.Poster,o.UX.PrintAd,o.UX.ProfessionalReferral,o.UX.ProviderReferral,o.UX.QuantumHealth,o.UX.SocialMedia,o.UX.TVAd,o.UX.TradeShow,o.UX.UpswingHealth,o.UX.WebSearch,o.UX.Website,o.UX.WordOfMouth,o.UX.Other],S="howDidYouFindUS",l=e=>{let{isDisabled:t,options:a=s}=e,{register:o,watch:l}=(0,n.xW)();return(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-2",children:[(0,r.jsx)(i.Text,{as:"label",variant:"text-body-large-bold",color:"text-primary-negative",htmlFor:S,children:"How did you hear about us?"}),(0,r.jsx)(i.Select,{"data-test":S,id:S,size:"l",variant:"flushed",placeholder:"Select",isDisabled:t,...o(S,{required:!0}),value:l(S),children:a.map(e=>(0,r.jsx)("option",{value:e,children:e},e))})]})}},16741:(e,t,a)=>{a.d(t,{E:()=>r.E,k:()=>r.k});var r=a(79598)},18699:(e,t,a)=>{a.d(t,{p:()=>n});var r=a(37876),i=a(37477),o=a(14232);let n=(0,o.forwardRef)((e,t)=>{let{isDisabled:a,...n}=e,[s,S]=(0,o.useState)(!1),l=s?i.IconEyeOff:i.IconEye;return(0,r.jsx)(i.MaskInput,{type:s?"text":"password",inputMode:"numeric",maskOptions:{mask:[/\d/,/\d/,/\d/,/\d/]},placeholder:"SSN last 4 digits",size:"l",variant:"flushed",ref:t,isDisabled:a,trailingIcon:(0,r.jsx)(i.Box,{userSelect:"none",children:(0,r.jsx)(l,{onClick:()=>{a||S(e=>!e)},cursor:a?"not-allowed":"pointer"})}),...n})})},19847:(e,t,a)=>{a.d(t,{a:()=>i});var r=a(37477);let i=()=>(0,r.useBreakpointValue)({base:!0,lg:!1},{ssr:!1})},20058:(e,t,a)=>{a.d(t,{C:()=>S,F:()=>s});var r=a(37876),i=a(29261),o=a(74161),n=a(37477);let s={formatted:"(844) 359-8363"},S=e=>{let{onClick:t,children:a="(844) 359-8363",...s}=e,{track:S}=(0,o.useAnalytics)();return(0,r.jsx)(n.Link,{isInline:!0,href:"tel:+18443598363",children:a,onClick:e=>{S(i.A.phoneNumberClicked),null==t||t(e)},...s})}},20411:(e,t,a)=>{a.d(t,{R:()=>s});var r=a(12342),i=a(67751);let o={name:"Flyte Medical",npi:"1992372403"},n=e=>{let{payerCode:t,firstName:a,lastName:r,birthdate:n,insuranceMemberID:s,provider:S}=e;return{payer:{payerCode:t},patient:{firstName:a,lastName:r,dateOfBirth:(0,i.S)(n),memberId:s},provider:S||o}},s=async e=>{let t=n(e);return await r.A.post("/api/benefits/check",t)}},27297:(e,t,a)=>{a.d(t,{I:()=>v});var r=a(37876),i=a(37477),o=a(52036),n=a(14232),s=a(61032);function S(e){let{isOpen:t,onRequestLabs:a,onContinue:o,onClose:n,diabetes:S,bariatric:l}=e;if(!t)return null;let c=(0,s.o)({diabetes:S,bariatric:l,labName:"generic"});return(0,r.jsxs)(i.Modal,{isOpen:t,onClose:n,isCentered:!0,autoFocus:!1,closeOnOverlayClick:!0,children:[(0,r.jsx)(i.Modal.Overlay,{}),(0,r.jsxs)(i.Modal.Content,{px:{base:"spacer-6",lg:"spacer-7"},pb:"spacer-6",mx:0,maxWidth:{base:"100%",md:"600px"},mb:{base:0,lg:"auto"},borderTopRadius:{base:"xl",md:"lg"},borderBottomRadius:{base:"0",md:"lg"},maxHeight:"100vh",children:[(0,r.jsxs)(i.Modal.Header,{px:0,children:[(0,r.jsx)(i.Text,{variant:"text-header-M",color:"text-primary",display:{base:"block",md:"none"},children:"Required Lab results"}),(0,r.jsx)(i.Text,{variant:"text-header-M",color:"text-primary",display:{base:"none",md:"block"},children:"Lab Results Upload Requirements"})]}),(0,r.jsxs)(i.Modal.Body,{p:0,overflow:"hidden",display:"flex",flexDirection:"column",children:[(0,r.jsxs)(i.Alert,{status:"info",variant:"subtle",p:{base:"spacer-4",md:"spacer-2"},overflow:"hidden",children:[(0,r.jsx)(i.Alert.Icon,{}),(0,r.jsxs)(i.Alert.Description,{children:["You can only upload lab results if results are dated within the last"," ",(0,r.jsx)("strong",{children:"90 days"})]})]}),(0,r.jsx)(i.Text,{variant:"text-body-large-medium",mt:"spacer-4",mb:"spacer-3",display:{base:"none",md:"block"},children:"Results should include the following:"}),(0,r.jsx)(i.Box,{mt:{base:"spacer-4",md:"spacer-0"},bg:"background-page-01",fontSize:"18px",maxH:"360px",overflowY:"scroll",mb:"spacer-7",borderRadius:"radii-2",children:c.map(e=>(0,r.jsx)(i.Text,{mx:"spacer-4",py:"spacer-2",variant:"text-body-large-regular",fontSize:"18px",color:"text-secondary",children:e},e))})]}),(0,r.jsxs)(i.Modal.Footer,{flexDirection:"column",gap:"spacer-4",p:0,children:[(0,r.jsx)(i.Button,{variant:"primary",size:"l",width:"100%",onClick:o,rightIcon:(0,r.jsx)(i.IconArrowRight,{}),children:"Continue"}),(0,r.jsx)(i.Button,{size:"l",variant:"primary-alt",width:"100%",onClick:a,leftIcon:(0,r.jsx)(i.IconArrowLeft,{}),children:"Request Labs Instead"}),(0,r.jsx)(i.Text,{variant:"text-body-meta-regular",color:"text-secondary",children:"Not sure if your labs meet these requirements? We recommend you to request labs instead."})]})]})]})}function l(e){let{isOpen:t}=e;return t?(0,r.jsx)(i.Box,{position:"fixed",top:0,left:0,right:0,bottom:0,bg:"background-overlay",zIndex:9999,display:"flex",alignItems:"center",justifyContent:"center",children:(0,r.jsxs)(i.Flex,{direction:"column",alignItems:"center",justifyContent:"center",textAlign:"center",px:"spacer-6",children:[(0,r.jsx)(i.Spinner,{size:"s",color:"text-light",thickness:"4px",mb:"spacer-6"}),(0,r.jsx)(i.Text,{variant:"text-header-S",color:"text-light",mb:"spacer-2",fontWeight:"bold",children:"We're requesting your Lab"}),(0,r.jsx)(i.Text,{variant:"text-body-meta-medium",color:"text-light",children:"This may take a few seconds, do not close this window."})]})}):null}let c=e=>{let{name:t,address:a,city:o,state:n,zipCode:s,distance:S,isRecommended:l=!1,isSelected:c=!1,onChange:C,"data-test":d}=e;return(0,r.jsxs)(i.Box,{borderWidth:"1px",borderStyle:"solid",borderColor:c?"primary-default":"border-subtle",borderRadius:"md",p:"spacer-4",mb:"spacer-3",bg:"background-card",position:"relative",_hover:{borderColor:"border-hovered"},cursor:"pointer",onClick:C,"data-test":d,justifyContent:"start",children:[l&&(0,r.jsx)(i.Tooltip,{hasArrow:!0,placement:"top",label:"These labs offer next-day appointments or walk-in options, and your lab results will be sent directly to FlyteHealth—no manual upload needed",bg:"accent-default",color:"text-light",borderRadius:"radii-4",maxW:"320px",textAlign:"center",children:(0,r.jsx)(i.Tag,{position:"absolute",top:"0",size:"s",right:"spacer-12",transform:"translate(0, -50%)",bg:"accent-default",color:"text-light",_hover:{bg:"accent-default"},children:"Recommended"})}),(0,r.jsxs)(i.Flex,{justifyContent:"space-between",alignItems:"center",children:[(0,r.jsxs)(i.Box,{mr:"spacer-3",children:[(0,r.jsxs)(i.Flex,{alignItems:"flex-start",mb:"spacer-2",children:[(0,r.jsx)(i.Text,{variant:"text-header-S",color:"text-primary",fontWeight:"bold",mr:"spacer-3",noOfLines:2,children:t}),(0,r.jsx)(i.Tag,{size:"s",bgColor:"background-static",minWidth:"max-content",children:(0,r.jsxs)(i.Tag.Label,{color:"text-primary",children:[S," ","miles"]})})]}),(0,r.jsx)(i.Text,{fontWeight:400,variant:"text-body-meta-regular",color:"text-primary",children:a}),(0,r.jsxs)(i.Text,{fontWeight:400,variant:"text-body-meta-regular",color:"text-primary",children:[o,",",n," ",s]})]}),(0,r.jsx)(i.Radio,{isChecked:c,onChange:C,colorScheme:"primary",size:"l"})]})]})},C={maxRecommendedLabs:3,maxAdditionalMiles:10,preferredProvider:"quest"};function d(e,t){return e.toLowerCase().includes(t.toLowerCase())}var m=a(12342);async function u(e){return m.A.get("api/find-lab?zipCode=".concat(encodeURIComponent(e.zipCode),"&organizationName=").concat(encodeURIComponent(e.organizationName))).then(e=>e.data)}let H={selectedLabId:null,searchResults:null,isLoading:!1,error:null};function h(e,t){switch(t.type){case"SET_LOADING":return{...e,isLoading:t.payload,error:null};case"SET_RESULTS":return{...e,searchResults:t.payload,isLoading:!1,error:null};case"SET_ERROR":return{...e,error:t.payload,isLoading:!1};case"SELECT_LAB":return{...e,selectedLabId:t.payload};case"RESET_SEARCH":return{...e,searchResults:null,error:null};default:return e}}function p(e){var t;let{organizationName:a,onLabSelected:o,recommendationConfig:s=C}=e,[S,l]=(0,n.useReducer)(h,H),[m,p]=(0,n.useState)(""),[x,g]=(0,n.useState)(null),b=(0,n.useCallback)(async e=>{if(p(e),!e.trim())return void l({type:"RESET_SEARCH"});if(5===e.length){l({type:"SET_LOADING",payload:!0});try{var t;let r=await u({zipCode:e,organizationName:a});if(!r.success)throw Error("Error finding labs. Please try again.");let i=r.data.map(e=>({id:e.id,name:e.name,address:e.address1,city:e.city,state:e.state,zipCode:"",distance:Number(e.distance)})),o=[...(t=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:C;if(0===e.length)return{recommendedLabs:[],regularLabs:[]};let a=[...e].sort((e,t)=>e.distance-t.distance),r=a.find(e=>!d(e.name,t.preferredProvider)),i=r?r.distance+t.maxAdditionalMiles:1/0,o=new Set(a.filter(e=>d(e.name,t.preferredProvider)&&e.distance<=i).slice(0,t.maxRecommendedLabs).map(e=>e.id)),n=[],s=[];return a.forEach(e=>{let t={...e,isRecommended:o.has(e.id)};o.has(e.id)?n.push(t):s.push(t)}),{recommendedLabs:n,regularLabs:s}}(i,s)).recommendedLabs,...t.regularLabs];l({type:"SET_RESULTS",payload:o})}catch(e){console.error(e),l({type:"SET_ERROR",payload:"Error finding labs. Please try again."})}}},[a,s]),y=(0,n.useCallback)(e=>{p(e),x&&clearTimeout(x),g(setTimeout(()=>{b(e)},500))},[b,x]),R=e=>{l({type:"SELECT_LAB",payload:e.id})};return(0,r.jsxs)(i.Box,{display:"flex",flexDirection:"column",h:{base:"auto",md:"100%"},children:[(0,r.jsx)(i.Box,{bg:"white",position:"sticky",top:-5,zIndex:1,mt:"spacer-2",pt:{base:4,md:0},pb:{base:4,md:4},children:(0,r.jsxs)(i.Box,{py:"spacer-4",px:"spacer-3",bg:"background-dark",borderRadius:"md",flexShrink:0,children:[(0,r.jsx)(i.Text,{variant:"text-header-M",color:"text-light",pb:"spacer-3",children:"Find a Lab Near You"}),(0,r.jsx)(i.Input,{leadingIcon:(0,r.jsx)(i.IconSearch,{}),placeholder:"Enter your zip code to find a lab",value:m,onChange:e=>y(e.target.value),maxLength:5,"data-test":"zipCode"})]})}),(0,r.jsxs)(i.Box,{flexGrow:1,overflowY:"auto",children:[(0,r.jsx)(i.Text,{variant:"text-header-S",fontWeight:400,color:"text-secondary",children:"Your FlyteHealth provider can submit orders to any listed location. Some locations may have out-of-pocket costs. Please check with the lab or your insurance provider for details."}),(0,r.jsxs)(i.Box,{mt:"spacer-6",children:[S.isLoading&&(0,r.jsx)(i.Box,{textAlign:"center",py:"spacer-8",children:(0,r.jsx)(i.Text,{children:"Searching for labs..."})}),S.error&&(0,r.jsx)(i.Box,{textAlign:"center",py:"spacer-8",children:(0,r.jsx)(i.Text,{color:"text-error",children:S.error})}),!S.isLoading&&!S.error&&null!==S.searchResults&&0===S.searchResults.length&&5===m.length&&(0,r.jsx)(i.Box,{textAlign:"center",py:"spacer-8",children:(0,r.jsxs)(i.Text,{children:['No labs found for zip code "',m,'". Please try another zip code.']})}),!S.isLoading&&(null==(t=S.searchResults)?void 0:t.map(e=>(0,r.jsx)(c,{name:e.name,address:e.address,city:e.city,state:e.state,zipCode:e.zipCode,distance:e.distance,isRecommended:e.isRecommended,isSelected:S.selectedLabId===e.id,onChange:()=>R(e),"data-test":"labOption"},e.id)))]})]}),S.selectedLabId?(0,r.jsx)(i.Box,{flexShrink:0,position:"sticky",bottom:-5,bg:"white",pt:{base:"spacer-2",md:0},pb:{base:"spacer-4",md:0},mt:{base:0,md:"spacer-6"},mb:{base:0,md:"spacer-6"},children:(0,r.jsx)(i.Button,{size:{base:"m",md:"l"},variant:"primary",width:"100%",isDisabled:!S.selectedLabId,onClick:()=>{var e;if(!S.selectedLabId)return;let t=null==(e=S.searchResults)?void 0:e.find(e=>e.id===S.selectedLabId);t&&o(t)},"data-test":"selectLabButton",children:"Select Lab"})}):null]})}let x=()=>(0,r.jsxs)(i.Box,{position:"fixed",top:"0",left:"0",width:"100vw",height:"100vh",backgroundColor:"background-overlay",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",zIndex:"overlay",children:[(0,r.jsx)(i.Spinner,{size:"xs",color:"text-light"}),(0,r.jsx)(i.Text,{variant:"text-body-bold",color:"text-light",mt:"spacer-3",children:"We’re requesting your Lab"}),(0,r.jsx)(i.Text,{variant:"text-body-regular",color:"text-light",mt:"spacer-2",textAlign:"center",children:"This may take a few seconds, do not close this window."})]});async function g(e){await m.A.post("/api/select-lab",{clinicalProviderId:e.clinicalProviderId,patientId:e.patientId,note:e.note,labName:e.labName,bariatric:e.bariatricSurgery,diabetes:e.diabetes})}function b(e){let{onLabRequested:t,lab:a,onSubmitLabResults:o,onChooseAnotherLab:s,patientId:S,bariatricSurgery:l,diabetes:c}=e,[C,d]=(0,n.useState)(""),[m,u]=(0,n.useState)(!1),[H,h]=(0,n.useState)(null),p=async()=>{try{u(!0),h(null),await g({patientId:S,clinicalProviderId:a.id,note:C.trim()||void 0,labName:a.name,bariatricSurgery:l,diabetes:c}),t(a)}catch(e){console.error("Error selecting lab:",e),h("There was an error selecting the lab. Please try again.")}finally{u(!1)}};return(0,r.jsxs)(i.Box,{children:[(0,r.jsx)(i.Text,{variant:"text-header-S",color:"text-primary",mt:{base:"spacer-3",md:"spacer-5"},mb:{base:"spacer-4"},children:"Your preferred lab"}),(0,r.jsx)(i.Box,{borderWidth:"1px",borderStyle:"solid",borderColor:"border-subtle",borderRadius:"md",p:"spacer-4",mb:"spacer-3",bg:"background-card",position:"relative",_hover:{borderColor:"border-hovered"},cursor:"pointer",children:(0,r.jsx)(i.Flex,{justifyContent:"space-between",alignItems:"center",children:(0,r.jsxs)(i.Box,{mr:"spacer-3",children:[(0,r.jsxs)(i.Flex,{alignItems:"flex-start",mb:"spacer-2",children:[(0,r.jsx)(i.Text,{variant:"text-header-S",color:"text-primary",fontWeight:"bold",mr:"spacer-3",noOfLines:2,children:a.name}),(0,r.jsx)(i.Tag,{size:"s",bgColor:"background-static",minWidth:"max-content",children:(0,r.jsxs)(i.Tag.Label,{color:"text-primary",children:[a.distance," ","miles"]})})]}),(0,r.jsx)(i.Text,{fontWeight:400,variant:"text-body-meta-regular",color:"text-primary",children:a.address}),(0,r.jsxs)(i.Text,{fontWeight:400,variant:"text-body-meta-regular",color:"text-primary",children:[a.city,",",a.state," ",a.zipCode]})]})})}),(0,r.jsxs)(i.Text,{variant:"text-header-S",color:"text-primary",mt:"spacer-5",mb:"spacer-2",children:["Add a note for the care team"," ",(0,r.jsx)(i.Text,{as:"span",variant:"text-body-regular",color:"text-secondary",mb:"spacer-2",children:"(Optional)"})]}),(0,r.jsx)(i.Textarea,{placeholder:"Write a note here",value:C,onChange:e=>d(e.target.value),mb:"spacer-9",rows:1,variant:"flushed",disabled:m}),(0,r.jsxs)(i.Box,{display:{base:"block",md:"none"},pt:"spacer-2",pb:"spacer-5",mb:"auto",children:[(0,r.jsx)(i.Text,{variant:"text-header-S",children:"Already have lab results?"}),(0,r.jsx)(i.Box,{my:"spacer-3",children:(0,r.jsx)(i.Button,{p:0,size:"s",variant:"text-body-meta-medium",color:"text-link-primary-default",onClick:o,children:"Submit your Lab results"})}),(0,r.jsx)(i.Text,{variant:"text-body-meta-regular",mt:"spacer-6",children:"*Be aware that complete lab results must be submitted to FlyteHealth before you can meet with a provider."})]}),H&&(0,r.jsx)(i.Text,{color:"text-error",mb:"spacer-4",textAlign:"center",children:H}),(0,r.jsx)(i.Button,{variant:"primary",width:"100%",mb:"spacer-6",onClick:p,disabled:m,size:{base:"m",md:"l"},children:"Request Lab"}),(0,r.jsx)(i.Box,{textAlign:"center",children:(0,r.jsx)(i.Link,{variant:"link-primary",size:"m",onClick:s,children:"Choose another Lab"})}),m?(0,r.jsx)(x,{}):null]})}let y={selectedLab:null,isRequesting:!1,showRequirements:!1};function R(e,t){switch(t.type){case"RESET_LAB":return{...e,selectedLab:null};case"SELECT_LAB":return{...e,selectedLab:t.lab};case"SET_REQUESTING":return{...e,isRequesting:t.isRequesting};case"SET_SHOW_REQUIREMENTS":return{...e,showRequirements:t.show};default:return e}}function v(e){let{organizationName:t,patientId:a,onLabRequested:s,onProceedToSubmitLabs:c,formData:C}=e,[d,m]=(0,n.useReducer)(R,y),u=()=>{m({type:"SET_SHOW_REQUIREMENTS",show:!0})};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(S,{isOpen:d.showRequirements,onRequestLabs:()=>{m({type:"SET_SHOW_REQUIREMENTS",show:!1})},onContinue:()=>{m({type:"SET_SHOW_REQUIREMENTS",show:!1}),c()},onClose:()=>m({type:"SET_SHOW_REQUIREMENTS",show:!1}),diabetes:"yes"===C.diabetes,bariatric:"yes"===C.bariatricSurgery}),(0,r.jsx)(l,{isOpen:d.isRequesting}),(0,r.jsxs)(o.X,{opacity:+!d.isRequesting,overflow:{base:"auto",md:"hidden"},h:"100%","data-testid":"request-labs-form",gap:{base:"0",lg:"spacer-16",xl:"spacer-28",xxl:"spacer-44"},children:[(0,r.jsxs)(o.X.Side,{flex:{base:0,md:1},children:[(0,r.jsxs)(i.TextPairing,{variant:"textpairing-header-2XL",mb:{base:"spacer-4"},children:[(0,r.jsx)(i.TextPairing.Label,{color:"text-primary",children:"Request labs"}),(0,r.jsx)(i.TextPairing.SubLabel,{color:"text-secondary",children:"Lab results are essential for creating your personalized care plan. These tests provide key insights into your health, allowing us to guide your journey safely and effectively."})]}),(0,r.jsxs)(i.Box,{display:{base:"none",md:"block"},children:[(0,r.jsx)(i.Text,{variant:"text-header-S",children:"Already have lab results?"}),(0,r.jsx)(i.Box,{mt:"spacer-3",mb:"spacer-5",children:(0,r.jsx)(i.Button,{variant:"link-primary",onClick:u,children:"Submit your Lab results"})}),(0,r.jsx)(i.Text,{variant:"text-body-meta-regular",children:"*Be aware that complete lab results must be submitted to FlyteHealth before you can meet with a provider."})]})]}),(0,r.jsx)(o.X.Form,{children:d.selectedLab?(0,r.jsx)(b,{lab:d.selectedLab,onChooseAnotherLab:()=>{m({type:"RESET_LAB"})},onLabRequested:e=>{s(e)},onSubmitLabResults:()=>{c()},patientId:a,bariatricSurgery:"yes"===C.bariatricSurgery,diabetes:"yes"===C.diabetes}):(0,r.jsxs)(i.Box,{overflowY:{base:"initial",md:"hidden"},children:[(0,r.jsx)(p,{organizationName:t,onLabSelected:e=>{m({type:"SELECT_LAB",lab:e})}}),(0,r.jsxs)(i.Box,{display:{base:"block",md:"none"},pt:"spacer-2",pb:"spacer-5",children:[(0,r.jsx)(i.Text,{variant:"text-header-S",children:"Already have lab results?"}),(0,r.jsx)(i.Box,{my:"spacer-3",children:(0,r.jsx)(i.Button,{p:0,variant:"text-body-meta-medium",color:"text-link-primary-default",onClick:u,children:"Submit your Lab results"})}),(0,r.jsx)(i.Text,{variant:"text-body-meta-regular",mt:"spacer-6",children:"*Be aware that complete lab results must be submitted to FlyteHealth before you can meet with a provider."})]})]})})]})]})}},29261:(e,t,a)=>{a.d(t,{A:()=>i});var r=a(33841);let i={[r.CB.PreEligibility]:"pre_eligibility",[r.CB.ContactDetails]:"contact_details",[r.CB.InsuranceDetails]:"insurance_details",[r.CB.InsuranceDetailsReview]:"insurance_details_review",[r.CB.ApplicationReview]:"application_review",[r.CB.ApplicationComplete]:"application_complete",[r.CB.EligibilityUnmet]:"eligibility_unmet",[r.CB.ApplicationDetected]:"account_already_exists",[r.CB.EmailVerification]:"otp_code",[r.CB.OnboardingChecklist]:"welcome",[r.CB.ReviewConsents]:"agree_to_receive_care",[r.CB.CreatePassword]:"create_password",[r.CB.AppDownload]:"download_the_app",[r.CB.RequestLabs]:"request_labs",[r.CB.SubmitLabs]:"submit_labs",closeWorkflowEvent:"eligibility_signup_closed",openPartnerSelectorEvent:"partner_selector_opened",closeWorkflowConfirmationEvent:"eligibility_signup_cancel_confirmation_screen",abortCloseWorkflow:"eligibility_signup_cancel_aborted",phoneNumberClicked:"contact_phone_clicked",editEmail:"edit_email",patientConsent:"patient_consent",declinePatientConsent:"decline_patient_consent"}},30435:(e,t,a)=>{a.d(t,{d:()=>d});var r=a(37876),i=a(37477),o=a(82393),n=a(45383),s=a(19847),S=a(34305),l=a(14232),c=a(88992),C=a(76692);let d=e=>{let{configuration:t,loading:a=!1,onSubmit:d,onBack:m}=e,{contentResources:u,fields:H}=t,h=(0,c.mN)({mode:"onBlur"}),p=(0,s.a)(),x=h.watch(C.uQ)===S.RS.SelfPay,g=h.watch(C.ag)===S.lk.Other;(0,l.useEffect)(()=>{x&&(h.resetField(C.ag),h.resetField(C.JB))},[x,h]),(0,l.useEffect)(()=>{h.resetField(C.E6)},[h.watch(C.ag),h]);let b=()=>(0,r.jsxs)(i.Flex,{gap:{base:"spacer-8",md:"spacer-16"},alignItems:"center",flex:{base:1,lg:"unset"},children:[(0,r.jsx)(i.Button,{size:{base:"m",lg:"l"},isLoading:a,variant:"link","aria-label":"Back",leadingIcon:(0,r.jsx)(i.IconArrowLeft,{}),onClick:m,children:"Back"}),(0,r.jsx)(i.Button,{type:"submit",size:{base:"m",lg:"l"},isDisabled:!h.formState.isValid,flex:1,isLoading:a,trailingIcon:(0,r.jsx)(i.IconArrowRight,{}),"aria-label":"Continue",children:"Continue"})]});return(0,r.jsx)(c.Op,{...h,children:(0,r.jsxs)(n.X,{as:"form",onSubmit:h.handleSubmit(d),noValidate:!0,children:[(0,r.jsx)(n.X.Side,{gap:0,flex:{base:"none",lg:1},children:u.title}),(0,r.jsxs)(n.X.Form,{children:[(null==H?void 0:H.insuranceCoverage)&&(0,r.jsx)(C.Xq,{isDisabled:a}),(null==H?void 0:H.insurance)&&(0,r.jsx)(C._8,{isDisabled:a||x,isRequired:!x,...null==H?void 0:H.insurance},x.toString()),g&&(0,r.jsx)(C.jP,{isDisabled:a,...null==H?void 0:H.insuranceOther}),(0,r.jsx)(C.kV,{isDisabled:a||x,isRequired:!x,pb:{base:"spacer-24",lg:0},...null==H?void 0:H.insuranceMemberID}),p?(0,r.jsx)(o.cI,{children:b()}):b()]})]})})}},31346:(e,t,a)=>{a.d(t,{i:()=>i});var r=a(12342);let i=async()=>await r.A.get("/api/consents")},33841:(e,t,a)=>{a.d(t,{CB:()=>o.C,PM:()=>i.PM,XN:()=>i.XN,fz:()=>i.fz,h9:()=>r.h,hT:()=>i.hT,lk:()=>i.lk,wY:()=>r.w});var r=a(63826),i=a(34305),o=a(80072)},34305:(e,t,a)=>{a.d(t,{PM:()=>o,RS:()=>s,UX:()=>c,XN:()=>i,fz:()=>l,hT:()=>r,lk:()=>S,yj:()=>n});var r=function(e){return e.Insurance="Insurance",e.CashPay="Cash Pay",e.BMI="BMI",e.Expired="Expired",e}({}),i=function(e){return e.EligibleWaiting="Eligible Waiting",e.Ineligible="Ineligible",e.Review="Review",e}({}),o=function(e){return e.SIA="SIA Medical PC",e.Flyte="Flyte Medical PC",e["State of Connecticut"]="State of Connecticut",e["State of Connecticut Retirees"]="State of Connecticut Retirees",e["RiverSpring Living - Self Guided"]="RiverSpring Living - Self Guided",e["RiverSpring Living - Guided"]="RiverSpring Living - Guided",e["Pequot Tribal Family Health Plan"]="Pequot Tribal Family Health Plan",e["A Duie Pyle"]="A Duie Pyle",e.MDsave="MDsave",e["ChristianaCare - Caregivers"]="ChristianaCare - Caregivers",e["Kaiser Permanente"]="Kaiser Permanente",e.Emory="Emory",e["1199SEIU"]="1199SEIU Benefit Funds",e["SoNE Health"]="SoNE Health",e}({}),n=function(e){return e.Alabama="AL",e.Alaska="AK",e.Arizona="AZ",e.Arkansas="AR",e.California="CA",e.Colorado="CO",e.Connecticut="CT",e.Delaware="DE",e.Florida="FL",e.Georgia="GA",e.Hawaii="HI",e.Idaho="ID",e.Illinois="IL",e.Indiana="IN",e.Iowa="IA",e.Kansas="KS",e.Kentucky="KY",e.Louisiana="LA",e.Maine="ME",e.Maryland="MD",e.Massachusetts="MA",e.Michigan="MI",e.Minnesota="MN",e.Mississippi="MS",e.Missouri="MO",e.Montana="MT",e.Nebraska="NE",e.Nevada="NV",e["New Hampshire"]="NH",e["New Jersey"]="NJ",e["New Mexico"]="NM",e["New York"]="NY",e["North Carolina"]="NC",e["North Dakota"]="ND",e.Ohio="OH",e.Oklahoma="OK",e.Oregon="OR",e.Pennsylvania="PA",e["Rhode Island"]="RI",e["South Carolina"]="SC",e["South Dakota"]="SD",e.Tennessee="TN",e.Texas="TX",e.Utah="UT",e.Vermont="VT",e.Virginia="VA",e.Washington="WA",e["Washington D.C."]="DC",e["West Virginia"]="WV",e.Wisconsin="WI",e.Wyoming="WY",e}({}),s=function(e){return e.Insured="yes",e.SelfPay="no",e}({}),S=function(e){return e["1199SEIU"]="1199SEIU",e.Aetna="Aetna",e.Anthem="Anthem",e.Cigna="Cigna",e.BCBS="BCBS",e.BCBSPPO="BCBS Bluecard - PPO Briefcase",e.United="United",e.Other="Other",e.SelfPay="Self-Pay",e["Pequot HealthCare"]="Pequot HealthCare",e["Aetna Medicare"]="Aetna Medicare",e.Highmark="Highmark",e["Kaiser Colorado"]="Kaiser Permanente - Colorado",e["Kaiser Georgia"]="Kaiser Permanente - Georgia",e["Kaiser Hawaii"]="Kaiser Permanente - Hawaii",e["Kaiser MidAtlantic"]="Kaiser Permanente - Mid-Atlantic (Maryland / Virginia / D.C.)",e["Kaiser Northern California"]="Kaiser Permanente - Northern California",e["Kaiser Northwest"]="Kaiser Permanente - Northwest (Oregon / SW Washington)",e["Kaiser Southern California"]="Kaiser Permanente - Southern California",e["Kaiser Washington"]="Kaiser Permanente - Washington",e["Kaiser Washington Options"]="Kaiser Permanente - Washington Options",e}({}),l=function(e){return e.Flyte="flyte",e.CareCompass="careCompass",e.PequotHealthCare="pequotHealthCare",e.RiverSpringLiving="riverSpringLiving",e.PyleFamilyInsurance="pyleFamilyInsurance",e.Aetna="aetna",e.MDSave="mdSave",e.ChristianaCare="christianaCare",e.Emory="emory",e.KaiserPermanente="kaiserPermanente",e.Sone="sone",e["1199SEIU"]="1199SEIU",e}({}),c=function(e){return e.Brochure="Brochure",e.CompanyIntranet="Company Intranet",e.Email="Email",e.CoworkerReferral="Coworker Referral",e.EpicEHRReferral="Epic EHR Referral",e.FrameFertility="Frame Fertility",e.GoogleAd="Google Ad",e.Mailer="Mailer",e.NuvanceRhinebeck="Nuvance Rhinebeck",e.OnsiteMonitor="Onsite Monitor",e.Poster="Poster",e.PrintAd="Print Ad",e.ProfessionalReferral="Professional Referral",e.ProviderReferral="Provider Referral",e.QuantumHealth="Quantum Health",e.SocialMedia="Social Media",e.TVAd="TV Ad",e.TradeShow="Trade Show",e.UpswingHealth="Upswing Health",e.WebSearch="Web Search",e.WordOfMouth="Word of Mouth",e.Other="Other",e.BenefitsWebsite="Benefits Website",e.PrescriptionDenial="Prescription Denial",e.Website="Website",e.Pharmacy="Pharmacy",e.EmailMailer="Email/Mailer",e}({})},34580:(e,t,a)=>{a.d(t,{I:()=>r});let r=e=>({pvRequestID:e.checkId,pvStartDateOfService:e.startDateOfService,pvEndDateOfService:e.endDateOfService,pvPayerName:e.payer.payerName,pvSubscriberFullName:e.patient.fullName,pvMemberID:e.patient.memberId,pvEffectiveDate:e.coverage.effectiveDate,pvExpiryDate:e.coverage.expiryDate,pvStatus:e.coverage.status,pvPolicyType:e.coverage.policyType,pvGroupNumber:e.coverage.groupNumber,pvPlanName:e.coverage.planName,pvPlanNumber:e.coverage.planNumber,pvErrorDescription:e.errorDescription,pvEligibilityResult:e.eligibilityResult,pvDetailsURL:e.detailsUrl})},38360:(e,t,a)=>{a.d(t,{vY:()=>c,CI:()=>C});var r=a(12342),i=a(67751),o=a(1188),n=a(34580),s=a(45906);let S="/api/contact",l=e=>{let{birthdate:t,currentWeightInPounds:a,highestWeightInPounds:r,dateOfHighestWeightValue:S,heightInFoot:l,heightInInch:c,phone:C,insuranceCoverage:d,insuranceMemberID:m,state:u,howDidYouFindUS:H,firstName:h,lastName:p,ssn:x,benefitsCheck:g,eligibilityVerifiedBy:b,...y}=e;return{...y,birthdate:(0,i.S)(t),currentWeightInPounds:(0,o.s)(a),highestWeightInPounds:(0,o.s)(r),dateOfHighestWeightValue:"".concat(S,"-01-01"),heightInFoot:(0,o.s)(l),...c&&{heightInInch:(0,o.s)(c)},...m&&{insuranceMemberID:m},...C&&{phone:(0,s.h)(C)},...H&&{howDidYouFindUS:H},...h&&{firstName:h},...p&&{lastName:p},...u&&{state:u},...g&&{...(0,n.I)(g)},...b&&{eligibilityVerifiedBy:b}}},c=async e=>{let t=l(e);return(await r.A.post(S,t)).data},C=async e=>(await r.A.put(S,e)).data},39648:(e,t,a)=>{a.d(t,{w:()=>n});var r=a(12342),i=a(67751);let o=e=>{let{firstName:t,lastName:a,birthdate:r,insuranceMemberID:o,insurance:n,benefitProgram:s}=e;return{firstName:t,lastName:a,dateOfBirth:(0,i.S)(r),memberId:o,insurer:n,employerProgram:s}},n=async e=>{let t=o(e);return await r.A.post("/api/eligibility/check",t)}},39946:(e,t,a)=>{a.d(t,{i:()=>b});var r=a(37876),i=a(37477),o=a(82393),n=a(14232),s=a(88992),S=a(82492);let l=(0,n.forwardRef)((e,t)=>{let{isDisabled:a,...o}=e,[s,S]=(0,n.useState)(!1),l=s?i.IconEyeOff:i.IconEye;return(0,r.jsx)(i.Input,{type:s?"text":"password",inputMode:"text",placeholder:"Enter your password",size:"l",variant:"flushed",ref:t,isDisabled:a,trailingIcon:(0,r.jsx)(i.Box,{userSelect:"none",children:(0,r.jsx)(l,{onClick:()=>{a||S(e=>!e)},cursor:a?"not-allowed":"pointer"})}),...o})}),c=[{key:"LENGTH",regex:/^.{10,}$/,label:"Password must be at least ten characters long"},{key:"LOWERCASE",regex:/[a-z]/,label:"Use at least one lowercase letter"},{key:"UPPERCASE",regex:/[A-Z]/,label:"Use at least one uppercase letter"},{key:"NUMBER",regex:/\d/,label:"Use at least one number"},{key:"SPECIAL_CHAR",regex:/[^a-z0-9\s]/i,label:"Use at least one special character (like !@#$%)"}],C=e=>Object.fromEntries(c.map(t=>[t.key,t.regex.test(e)])),d=e=>({validate:Object.fromEntries(c.map(e=>[e.key.toLowerCase(),t=>e.regex.test(t)||e.label])),...e&&{matchesPassword:t=>t===e||"Passwords do not match"}}),m="password",u=e=>{let{name:t=m,label:a="Create password",showRules:o,checkMatchingPassword:n,isDisabled:u,isInvalid:H,...h}=e,{register:p,watch:x,formState:g,trigger:b}=(0,s.xW)(),{errors:y,touchedFields:R}=g,v=x(t)||"",f=R[t],j=(0,S.Q)(t,y,["matchesPassword"]),A=v?C(v):null,I=!!A&&Object.values(A).every(Boolean);return(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-2",...h,children:[(0,r.jsx)(i.Text,{as:"label",variant:"text-body-large-bold",color:"text-primary-negative",htmlFor:t,children:a}),(0,r.jsx)(l,{"data-test":t,id:t,isDisabled:u,isInvalid:H,...p(t,{...d(n),onBlur:()=>b(t)})}),f&&v&&!I&&o&&!j&&(0,r.jsx)(i.Text,{variant:"text-body-meta-regular",color:"text-error",children:"Password does not meet all criteria."}),o&&(0,r.jsx)(i.Flex,{direction:"column",gap:"spacer-1",children:c.map(e=>{let{key:t,label:a}=e;return(0,r.jsxs)(i.Flex,{gap:"spacer-1",alignItems:"center",children:[(null==A?void 0:A[t])?(0,r.jsx)(i.IconCircleCheck,{color:"alert-success-default",size:"s"}):f?(0,r.jsx)(i.IconAlertCircle,{color:"alert-error-default",size:"s"}):(0,r.jsx)(i.IconCircleCheck,{color:"primary-disabled",size:"s"}),(0,r.jsx)(i.Text,{variant:"text-body-meta-regular",color:"text-secondary",children:a})]},a)})})]})},H="confirmPassword",h=e=>{var t;let{name:a=H,label:o="Confirm password",placeholder:S,isDisabled:c,isInvalid:C,...d}=e,{register:u,watch:h,formState:{touchedFields:p,errors:x},trigger:g}=(0,s.xW)(),b=h(m),y=h(a),R=p[a];(0,n.useEffect)(()=>{R&&y&&g(a)},[b,R,y,g,a]);let v=!!(R&&y&&x[a]);return(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-2",...d,children:[(0,r.jsx)(i.Text,{as:"label",variant:"text-body-large-bold",color:"text-primary-negative",htmlFor:a,children:o}),(0,r.jsx)(l,{"data-test":a,id:a,isDisabled:c,placeholder:S,isInvalid:v,...u(a,{required:!0,validate:e=>e&&e===b||"Passwords do not match"})}),v&&(0,r.jsx)(i.Text,{variant:"text-body-meta-regular",color:"text-error",children:null==(t=x[a])?void 0:t.message})]})};var p=a(45383),x=a(19847),g=a(80072);let b=e=>{let{configuration:t,loading:a=!1,error:n,onSubmit:S}=e,{contentResources:l}=t,c=(0,s.mN)({mode:"onBlur"}),{handleSubmit:C,formState:{errors:d,isValid:b}}=c,y=(0,x.a)(),R=()=>(0,r.jsx)(i.Button,{type:"submit",size:{base:"m",lg:"l"},width:"100%","aria-label":"Create account",isDisabled:!b&&!a,isLoading:a,children:"Create account"});return(0,r.jsx)(s.Op,{...c,children:(0,r.jsxs)(p.X,{as:"form",onSubmit:C(S),noValidate:!0,"data-test":g.C.CreatePassword,children:[(0,r.jsx)(p.X.Side,{children:l.title}),(0,r.jsxs)(p.X.Form,{children:[n&&(0,r.jsxs)(i.Alert,{status:"error",variant:"subtle",children:[(0,r.jsx)(i.Alert.Icon,{}),(0,r.jsx)(i.Alert.Title,{children:n.message||"There was an error submitting your password. Please try again."})]}),(0,r.jsx)(u,{label:"Create password",isDisabled:a,isInvalid:!!d[m],showRules:!0}),(0,r.jsx)(h,{label:"Confirm password",placeholder:"Retype your password",isDisabled:a,isInvalid:!!d[H],pb:{base:"spacer-24",lg:0}}),y?(0,r.jsx)(o.cI,{children:R()}):R()]})]})})}},40917:(e,t,a)=>{a.d(t,{s:()=>s});var r=a(37876),i=a(37477),o=a(19847),n=a(14232);let s=e=>{let{steps:t,currentStep:a}=e,s=(0,o.a)(),S=t.length,l=t.findIndex(e=>e.label===a),{activeStep:c,setActiveStep:C}=(0,i.useSteps)({index:l,count:S});return((0,n.useEffect)(()=>{-1!==l&&C(l)},[l,C]),-1===l)?null:s?(0,r.jsx)(i.ProgressBar,{value:(c+1)/S*100,size:"xs",position:"absolute",left:0,right:0,bottom:0}):(0,r.jsx)(i.Stepper,{index:c,maxWidth:{base:"21rem",xl:"25rem",xxl:"33rem"},width:"100%",children:t.map((e,t)=>{let a=(0,r.jsx)(e.icon,{"data-testid":"".concat(e.label,"-icon"),size:"m"});return(0,r.jsxs)(i.Stepper.Step,{flexDirection:"column",_horizontal:{alignItems:"start"},gap:"spacer-2",children:[(0,r.jsxs)(i.Flex,{width:"100%",alignItems:"center",children:[(0,r.jsx)(i.Tooltip,{label:e.label,placement:"bottom",display:{base:"block",xxl:"none"},children:(0,r.jsx)(i.Box,{children:(0,r.jsx)(i.Stepper.Step.Indicator,{boxSize:"1.75rem",children:(0,r.jsx)(i.Stepper.Step.Status,{complete:(0,n.cloneElement)(a,{color:"text-light"}),incomplete:(0,n.cloneElement)(a,{color:"background-static"}),active:(0,n.cloneElement)(a,{color:"primary-default"})})})})}),(0,r.jsx)(i.Stepper.Step.Separator,{})]}),(0,r.jsx)(i.Stepper.Step.Title,{display:{base:"none",xxl:"block"},variant:"text-body-floating-label-bold",color:t<=c?"text-primary":"text-disabled",textTransform:{base:"none",xxl:"uppercase"},children:e.label})]},e.label)})})}},42037:(e,t,a)=>{a.d(t,{h:()=>f});var r=a(37876),i=a(37477),o=a(82393),n=a(45383),s=a(19847),S=a(14232),l=a(88992),c=a(92087),C=a(18699),d=a(84441),m=a(82492);let u="firstName",H="lastName",h="birthdate",p="state",x=e=>{let{isDisabled:t,...a}=e,{register:n,formState:{errors:s,defaultValues:S},setValue:x,watch:g}=(0,l.xW)(),b=(0,m.Q)(h,s,["isValid","isOver18YearsOld","isLessThan150YearsOld"]),y=(0,m.Q)("ssn",s,["minLength","maxLength"]);return(0,r.jsxs)(i.Flex,{direction:"column",...a,children:[(0,r.jsx)(i.Text,{as:"label",variant:"text-header-M",color:"text-primary",children:"About you"}),(0,r.jsxs)(i.Flex,{gap:{base:"spacer-4",md:"spacer-8"},mt:"spacer-5",children:[(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-2",flex:1,children:[(0,r.jsx)(i.Text,{as:"label",variant:"text-body-large-bold",color:"text-primary-negative",htmlFor:u,children:"Legal First name"}),(0,r.jsx)(o.MU,{id:u,isDisabled:t,...n(u,{required:!0})})]}),(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-2",flex:1,children:[(0,r.jsx)(i.Text,{as:"label",variant:"text-body-large-bold",color:"text-primary-negative",htmlFor:H,children:"Legal Last name"}),(0,r.jsx)(o.aB,{id:H,isDisabled:t,...n(H,{required:!0})})]})]}),(0,r.jsxs)(i.Flex,{gap:{base:"spacer-4",md:"spacer-8"},mt:"spacer-5",children:[(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-2",flex:1,children:[(0,r.jsx)(i.Text,{as:"label",variant:"text-body-large-bold",color:"text-primary-negative",htmlFor:h,children:"Date of birth"}),(0,r.jsx)(o.ry,{"aria-label":"Date of birth",id:h,isInvalid:b,isDisabled:t,onInput:e=>x(h,e.currentTarget.value),...n(h,{required:!0,validate:{isValid:e=>o.WT.isValid(e)||c.i[h].isValid,isOver18YearsOld:e=>o.WT.isOver18YearsOld(e)||c.i[h].isOver18YearsOld,isLessThan150YearsOld:e=>o.WT.isLessThan150YearsOld(e)||c.i[h].isLessThan150YearsOld}})}),b&&(0,r.jsx)(o.gO,{errors:s,name:h})]}),S[p]&&(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-2",flex:1,children:[(0,r.jsx)(i.Text,{as:"label",variant:"text-body-large-bold",color:"text-primary-negative",htmlFor:p,children:"State"}),(0,r.jsx)(o.mF,{"aria-label":"State",id:p,isDisabled:t,...n(p,{required:!0}),value:g(p)})]})]}),S.ssn&&(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-2",flex:1,mt:"spacer-5",children:[(0,r.jsx)(i.Text,{as:"label",variant:"text-body-large-bold",color:"text-primary-negative",htmlFor:"ssn",children:"Social Security Number"}),(0,r.jsx)(i.Text,{variant:"text-body-meta-regular",color:"text-secondary",children:"Last 4 Digits of your Social Security Number"}),(0,r.jsx)(C.p,{"data-test":"ssn",id:"ssn",isInvalid:y,isDisabled:t,onInput:e=>x("ssn",e.currentTarget.value),...n("ssn",{required:!0,minLength:{value:4,message:c.i.ssn.minLength},maxLength:{value:4,message:c.i.ssn.maxLength}})}),y&&(0,r.jsx)(o.gO,{errors:s,name:"ssn"})]}),(0,r.jsxs)(i.Flex,{gap:{base:"spacer-4",md:"spacer-8"},mt:"spacer-5",children:[(0,r.jsx)(o.LP,{inputProps:{isDisabled:t},flex:1}),(0,r.jsx)(d.PV,{isDisabled:t,flex:1})]})]})};var g=a(43400),b=a(76692),y=a(34305);let R="insuranceMemberID",v=e=>{let{isDisabled:t,insuranceMemberID:a,insurance:n,...s}=e,{register:c,formState:{defaultValues:C,errors:d},watch:u,setValue:H,resetField:h}=(0,l.xW)(),p=C[b.ag],x=u(b.ag)===y.lk.Other,v=(0,m.Q)(R,d,["minLength","maxLength"]),{registerOptions:f,...j}=a||{};(0,S.useEffect)(()=>{x||h(b.E6,{defaultValue:null})},[h,x]);let A=(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-2",flex:1,children:[(0,r.jsx)(i.Text,{as:"label",variant:"text-body-large-bold",color:"text-primary-negative",htmlFor:R,children:(null==a?void 0:a.label)||"Insurance Member ID"}),(0,r.jsx)(g.I,{id:R,isDisabled:t,onInput:e=>{let t=e.currentTarget.value,a=null==j?void 0:j.minLength,r=!a||a&&t.length>=a;H(R,t,{shouldValidate:r})},...j,...c(R,{required:!0,...f})}),v&&(0,r.jsx)(o.gO,{errors:d,name:R})]});return(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-5",...s,children:[(0,r.jsx)(i.Text,{variant:"text-header-M",color:"text-primary",children:"Insurance information"}),(0,r.jsxs)(i.Flex,{direction:"column",gap:{base:"spacer-4",md:"spacer-8"},children:[(0,r.jsxs)(i.Flex,{direction:{base:"column",md:"row"},gap:{base:"spacer-4",md:"spacer-8"},children:[p&&(0,r.jsx)(b._8,{isDisabled:t,isRequired:!0,defaultSelectedItem:p,flex:1,...n}),x?(0,r.jsx)(b.jP,{isDisabled:t,flex:1}):A]}),x&&A]})]})},f=e=>{var t,a;let{configuration:c,defaultValues:C,loading:d=!1,hasError:m=!1,onSubmit:u}=e,{contentResources:H}=c,h=(0,l.mN)({mode:"onBlur",defaultValues:C}),p=(0,s.a)(),[g,b]=(0,S.useState)(!1),y=d||!g,R=C.insurance||C.insuranceMemberID||C.insuranceOther,f=()=>b(e=>!e),j=()=>{h.reset(C),f()},A=()=>(0,r.jsxs)(i.Flex,{gap:{base:"spacer-6"},flex:1,children:[g&&!d&&(0,r.jsx)(i.Button,{size:{base:"m",lg:"l"},variant:"primary-alt","aria-label":"Cancel",onClick:j,children:"Cancel"}),(0,r.jsx)(i.Button,{type:"submit",size:{base:"m",lg:"l"},isDisabled:!h.formState.isValid,flex:1,isLoading:d,leadingIcon:(0,r.jsx)(i.IconCircleCheck,{}),"aria-label":"My information is correct",children:p&&g?"Confirm":"My information is correct"})]});return(0,r.jsx)(l.Op,{...h,children:(0,r.jsxs)(n.X,{as:"form",onSubmit:h.handleSubmit(e=>{b(!1),u(e)}),noValidate:!0,children:[(0,r.jsx)(n.X.Side,{gap:0,children:H.title}),(0,r.jsxs)(n.X.Form,{gap:0,children:[(0,r.jsx)(i.Text,{variant:"text-header-L",color:"text-primary",children:"Please confirm your personal information"}),(0,r.jsx)(i.Button,{mt:"spacer-2",variant:"link-primary",verticalAlign:"initial",onClick:f,alignSelf:"start",isDisabled:d||g,leadingIcon:(0,r.jsx)(i.IconPencil,{}),textDecoration:"underline",_hover:{textDecoration:"underline"},children:"Edit your information"}),g&&(0,r.jsxs)(i.Alert,{status:"warning",variant:"subtle",mt:"spacer-5",children:[(0,r.jsx)(i.Alert.Icon,{}),(0,r.jsx)(i.Alert.Title,{children:"You are editing your personal information"})]}),m&&(0,r.jsxs)(i.Alert,{status:"error",variant:"subtle",mt:"spacer-5",children:[(0,r.jsx)(i.Alert.Icon,{}),(0,r.jsx)(i.Alert.Title,{children:"There was an error submitting your information. Please try again."})]}),(0,r.jsxs)(i.Flex,{direction:"column",mt:"spacer-5",_last:{pb:{base:"spacer-24",lg:0}},children:[(0,r.jsx)(x,{isDisabled:y,mb:{base:R?"spacer-9":0,lg:"spacer-9"}}),R&&(0,r.jsx)(v,{isDisabled:y,insuranceMemberID:null==c||null==(t=c.fields)?void 0:t.insuranceMemberID,insurance:null==c||null==(a=c.fields)?void 0:a.insurance,mb:{base:0,lg:"spacer-9"}}),p?(0,r.jsx)(o.cI,{children:A()}):A()]})]})]})})}},43400:(e,t,a)=>{a.d(t,{I:()=>s});var r=a(37876),i=a(37477),o=a(14232);let n={mask:/^[a-z0-9]*$/i},s=(0,o.forwardRef)((e,t)=>{let{inputMode:a="text",placeholder:o="Insurance Member ID",maskOptions:s=n,...S}=e;return(0,r.jsx)(i.MaskInput,{type:"text",inputMode:a,size:"l",placeholder:o,variant:"flushed",maskOptions:s,ref:t,...S})})},43483:(e,t,a)=>{a.d(t,{U:()=>g});var r=a(37876),i=a(29261),o=a(74161),n=a(37477),s=a(82393),S=a(45383),l=a(20058),c=a(14232);let C=e=>{let{isOpen:t,onClose:a,onDeclineConsent:i,consentTitle:o,isConsentRequired:s=!1}=e;return(0,r.jsxs)(n.Modal,{isOpen:t,onClose:a,autoFocus:!1,isCentered:!0,children:[(0,r.jsx)(n.Modal.Overlay,{}),(0,r.jsxs)(n.Modal.Content,{px:"spacer-7",py:"spacer-6",maxWidth:{base:"342px",md:"460px"},borderRadius:"radii-4",children:[(0,r.jsx)(n.Modal.Header,{p:0,children:(0,r.jsxs)(n.Text,{variant:"text-body-large-bold",children:["Decline the"," ",o,"?"]})}),(0,r.jsx)(n.Modal.Body,{p:0,children:(0,r.jsx)(n.Text,{color:"text-secondary",variant:"text-body-regular",mb:"spacer-7",children:s?"Agreement with this document is required for us to provide care for you. Declining will stop you from joining FlyteHealth.":"To continue, we need to know if you decline or agree to this document."})}),(0,r.jsxs)(n.Modal.Footer,{flexDirection:{base:"column",md:"row-reverse"},gap:"spacer-4",p:0,children:[(0,r.jsx)(n.Button,{variant:"secondary",size:"m",width:{base:"100%",md:"auto"},flex:{base:1,md:"auto"},onClick:a,children:"Go back"}),(0,r.jsx)(n.Button,{variant:"destroy",size:"m",width:{base:"100%",md:"auto"},flex:{base:1,md:"1 0 0"},onClick:i,children:"I decline"})]})]})]})};var d=a(12227);let m=e=>{let{isOpen:t,consent:a,onClose:i,onDeclineConsent:o,onAgreeConsent:s,agreementLink:S,loading:C=!1,hasError:m=!1}=e,u=(0,c.useRef)(null),H=(0,c.useMemo)(()=>d.A.sanitize(a.forms[0]),[a]);return(0,r.jsxs)(n.Modal,{isOpen:t,onClose:i,autoFocus:!1,isCentered:!0,initialFocusRef:u,children:[(0,r.jsx)(n.Modal.Overlay,{}),(0,r.jsxs)(n.Modal.Content,{px:{base:"spacer-6",lg:"spacer-7"},pb:"spacer-6",gap:"spacer-6",mx:0,maxWidth:{lg:"680px"},mb:{base:0,lg:"auto"},height:{base:"calc(100% - 24px)",lg:"100%"},maxHeight:{lg:"80%"},children:[(0,r.jsxs)(n.Modal.Header,{p:0,children:[(0,r.jsx)(n.Text,{variant:"text-body-large-bold",pt:"20px",children:a.title}),(0,r.jsx)(n.Modal.CloseButton,{color:"text-secondary"})]}),(0,r.jsxs)(n.Modal.Body,{p:0,overflow:"hidden",display:"flex",flexDirection:"column",children:[m&&(0,r.jsxs)(n.Alert,{status:"error",variant:"subtle",mb:{base:"spacer-3",lg:"spacer-6"},flex:"none",children:[(0,r.jsx)(n.Alert.Icon,{}),(0,r.jsxs)(n.Alert.Title,{children:["We couldn't process the documents. Please try again or call"," ",(0,r.jsx)(l.C,{size:"m",variant:"link-primary","aria-label":"Contact Us",isInline:!0,children:"(844) 359-8363"})," ","to speak with a Care Coordinator."]})]}),(0,r.jsxs)(n.Text,{color:"text-secondary",variant:"text-body-regular",mb:{base:"spacer-3",lg:"spacer-6"},children:['By selecting "I agree", you agree to the terms of the'," ",(0,r.jsx)(n.Link,{textDecoration:"underline",href:S,target:"_blank",rel:"noopener noreferrer",isInline:!0,children:a.title}),". We will email you a confirmation for your records."]}),(0,r.jsx)(n.Flex,{height:"100%",direction:"column",wordBreak:"break-word",p:"spacer-3",backgroundColor:"background-page-01",borderRadius:"radii-3",overflow:"auto",__css:{ul:{paddingLeft:"2.5rem"},"h1, h2, h3, h4, h5, h6":{fontWeight:"bold",marginY:"0.67em"},"& p":{marginBottom:"1em"}},dangerouslySetInnerHTML:{__html:H}})]}),(0,r.jsxs)(n.Modal.Footer,{flexDirection:"row-reverse",gap:"spacer-2",p:0,children:[(0,r.jsx)(n.Button,{variant:"primary",size:{base:"m",lg:"l"},flex:1,width:"100%",onClick:s,ref:u,isLoading:C,"data-test":"agree-consent",children:"I agree"}),(0,r.jsx)(n.Button,{isDisabled:C,variant:"primary-alt",size:{base:"m",lg:"l"},flex:1,width:"100%",onClick:o,children:"I decline"})]})]})]})};var u=a(19847),H=a(88992);let h={consents:"https://www.joinflyte.com/patient-consent",consentHie:"https://www.joinflyte.com/health-information-exchange-consent"},p=e=>{let{consent:t,isRequired:a,isApproved:i,onReview:o,...s}=e,{register:S}=(0,H.xW)();return(0,r.jsxs)(n.Flex,{onClick:o,cursor:"pointer",py:"spacer-4",px:"spacer-3",backgroundColor:i?"background-success":"background-card",border:"1px solid",borderColor:i?"alert-success-default":"primary-default",borderRadius:"radii-4",alignItems:"center",gap:"spacer-5",...!i&&{_hover:{backgroundColor:"background-action-hover"},_active:{backgroundColor:"background-action-pressed"}},...S(t.formType,{validate:e=>void 0!==e,required:a}),...s,children:[(0,r.jsx)(n.IconFile,{size:"l",color:"text-secondary"}),(0,r.jsxs)(n.Flex,{direction:"column",flex:1,children:[(0,r.jsxs)(n.Flex,{flexDirection:"row",flexWrap:"wrap",gap:"8px",alignItems:"center",children:[(0,r.jsx)(n.Text,{variant:"text-header-S",children:t.title}),a&&!i&&(0,r.jsx)(n.Badge,{variant:"outline",status:"secondary",textTransform:"capitalize",children:"Required"})]}),!i&&(0,r.jsx)(n.Button,{mt:"6px",onClick:e=>{e.stopPropagation(),o()},variant:"link-primary",textDecoration:"underline",alignSelf:"start",_hover:{textDecoration:"underline"},p:0,size:"s","data-test":"review-consent",children:"Review and sign"})]}),(0,r.jsx)(n.IconCircleCheckFilled,{size:"l",color:i?"text-success":"primary-disabled"})]})},x=["consents"],g=e=>{let{consents:t,configuration:a,hasError:d=!1,loading:g=!1,onSubmit:b}=e,{contentResources:y}=a,R=(0,H.mN)({mode:"onBlur"}),{track:v}=(0,o.useAnalytics)(),f=(0,u.a)(),[j,A]=(0,c.useState)(null),[I,w]=(0,c.useState)(!1),T=t.sort((e,t)=>!!x.includes(t.formType)-!!x.includes(e.formType)),L=x.some(e=>!1===R.getValues()[e]),M=()=>(0,r.jsx)(n.Button,{type:"submit",size:{base:"m",lg:"l"},width:"100%","aria-label":"Continue",isDisabled:g||!R.formState.isValid||0===t.length,isLoading:g,trailingIcon:(0,r.jsx)(n.IconArrowRight,{}),children:"Continue"}),D=e=>{A(e),v(i.A.patientConsent)};return(0,r.jsxs)(r.Fragment,{children:[L&&(0,r.jsx)(n.Alert,{status:"warning",variant:"subtle",px:0,children:(0,r.jsx)(n.Flex,{margin:"0 auto",maxWidth:"90rem",width:"100%",px:{base:"spacer-6",md:"spacer-9",lg:"spacer-14",xl:"spacer-20",xxl:"spacer-28"},children:(0,r.jsxs)(n.Flex,{children:[(0,r.jsx)(n.Alert.Icon,{}),(0,r.jsxs)(n.Flex,{direction:"column",children:[(0,r.jsx)(n.Alert.Title,{children:"Patient Consent Form"}),(0,r.jsx)(n.Alert.Description,{children:"Agreement with the Patient Consent document is required for us to provide care for you."})]})]})})}),(0,r.jsx)(H.Op,{...R,children:(0,r.jsxs)(S.X,{as:"form",onSubmit:R.handleSubmit(b),noValidate:!0,gap:{base:"spacer-6",md:"spacer-10"},width:"100%",children:[(0,r.jsx)(S.X.Side,{gap:0,children:y.title}),(0,r.jsxs)(S.X.Form,{width:"100%",gap:"spacer-9",children:[d&&(0,r.jsxs)(n.Alert,{status:"error",variant:"subtle",width:"100%",children:[(0,r.jsx)(n.Alert.Icon,{}),(0,r.jsxs)(n.Alert.Title,{children:["We couldn't process the documents. Please try again or call"," ",(0,r.jsx)(l.C,{size:"m",variant:"link-primary","aria-label":"Contact Us",isInline:!0,fontWeight:"bold",children:"(844) 359-8363"})," ","to speak with a Care Coordinator."]})]}),(0,r.jsx)(n.Flex,{direction:"column",gap:"spacer-5",children:0===t.length?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.Skeleton,{height:"80px",borderRadius:"radii-4"}),(0,r.jsx)(n.Skeleton,{height:"80px",borderRadius:"radii-4"})]}):T.map(e=>(0,r.jsx)(p,{consent:e,isRequired:x.includes(e.formType),isApproved:R.getValues()[e.formType],onReview:()=>D(e)},e.formType))}),f?(0,r.jsx)(s.cI,{children:M()}):M()]})]})}),j&&(0,r.jsx)(m,{isOpen:!!j,onClose:()=>A(null),onAgreeConsent:()=>{R.setValue(j.formType,!0,{shouldValidate:!0}),A(null)},onDeclineConsent:()=>w(!0),consent:j,agreementLink:h[j.formType]}),(0,r.jsx)(C,{isOpen:I,onClose:()=>w(!1),onDeclineConsent:()=>{R.setValue(j.formType,!1,{shouldValidate:!0}),w(!1),A(null),v(i.A.declinePatientConsent)},consentTitle:null==j?void 0:j.title})]})}},45383:(e,t,a)=>{a.d(t,{s:()=>o,X:()=>n.X});var r=a(37876),i=a(37477);let o=e=>(0,r.jsx)(i.Flex,{px:{base:"spacer-6",md:"spacer-9",lg:"spacer-14",xl:"spacer-20",xxl:"spacer-28"},py:{base:"spacer-5",lg:"spacer-12"},maxWidth:"90rem",marginY:"0",marginX:"auto",...e});var n=a(52036)},45906:(e,t,a)=>{a.d(t,{h:()=>i});var r=a(9969);let i=e=>(0,r.L)(e,"US").nationalNumber},47353:(e,t,a)=>{a.d(t,{t:()=>S});var r=a(12342),i=a(68792),o=a(34580),n=a(45906);let s=e=>{let{birthdate:t,currentWeightInPounds:a,highestWeightInPounds:r,dateOfHighestWeightValue:s,heightInFoot:S,heightInInch:l,phone:c,insuranceCoverage:C,insuranceMemberID:d,state:m,benefitProgram:u,howDidYouFindUS:H,firstName:h,lastName:p,ssn:x,benefitsCheck:g,eligibilityVerifiedBy:b,insuranceOther:y,...R}=e;return{...R,birthdate:(0,i.S1)(t),currentWeightInPounds:(0,i.sC)(a),highestWeightInPounds:(0,i.sC)(r),dateOfHighestWeightValue:"".concat(s,"-01-01"),heightInFoot:(0,i.sC)(S),...l&&{heightInInch:(0,i.sC)(l)},...d&&{insuranceMemberID:d},...c&&{phone:(0,n.h)(c)},...H&&{howDidYouFindUS:H},...h&&{firstName:h},...p&&{lastName:p},...m&&{state:m},...g&&{...(0,o.I)(g)},...b&&{eligibilityVerifiedBy:b},...y&&{insuranceProviderName:y}}},S=async e=>{let t=s(e);return await r.A.post("/api/lead",t)}},48496:(e,t,a)=>{a.d(t,{X:()=>S,b:()=>s});var r=a(37876),i=a(37477),o=a(49631),n=a(88992);let s="state",S=e=>{let{isDisabled:t,options:a,...S}=e,{register:l,watch:c}=(0,n.xW)();return(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-2",...S,children:[(0,r.jsx)(i.Text,{as:"label",variant:"text-body-large-bold",color:"text-primary-negative",htmlFor:s,children:"State"}),(0,r.jsx)(o.m,{"data-test":s,id:s,isDisabled:t,...l(s,{required:!0}),value:c(s),options:a})]})}},48934:(e,t,a)=>{a.d(t,{r:()=>C});var r=a(37876),i=a(37477),o=a(45383),n=a(20058),s=a(19847),S=a(80072),l=a(54587),c=a.n(l);let C=e=>{let{title:t,email:a,description:l}=e,C=(0,s.a)();return(0,r.jsxs)(o.s,{gap:{lg:"spacer-16",xl:"spacer-18",xxl:"spacer-64"},alignItems:"start","data-test":S.C.ApplicationDetected,children:[(0,r.jsxs)(i.Flex,{direction:"column",justifyContent:{lg:"space-between"},height:"100%",children:[(0,r.jsxs)(i.Flex,{gap:"spacer-6",direction:"column",children:[t,(0,r.jsx)(i.Box,{alignSelf:{lg:"start"},backgroundColor:"background-container-active",px:"spacer-7",py:"spacer-6",borderRadius:"radii-2",display:{base:"block",lg:"inline-block"},children:(0,r.jsx)(i.Text,{variant:"text-header-M",children:a})}),l]}),(0,r.jsxs)(n.C,{mt:"spacer-7",size:"l",leadingIcon:(0,r.jsx)(i.IconPhone,{}),"aria-label":"Contact Us",variant:"primary-alt",isInline:!1,justifyContent:"center",alignSelf:"start",children:["Call"," ",n.F.formatted]})]}),!C&&(0,r.jsx)(c(),{alt:"Application Detected",width:340,height:340,src:"/static/assets/application-detected.png"})]})}},49631:(e,t,a)=>{a.d(t,{m:()=>S,r:()=>s});var r=a(37876),i=a(37477),o=a(34305),n=a(14232);let s=Object.entries(o.yj).map(e=>{let[t,a]=e;return{fullName:t,shortCode:a}}),S=(0,n.forwardRef)((e,t)=>{let{options:a=s,...o}=e;return(0,r.jsx)(i.Select,{size:"l",variant:"flushed",placeholder:"Select",ref:t,...o,children:a.map(e=>{let{fullName:t,shortCode:a}=e;return(0,r.jsx)("option",{value:a,children:t},a)})})})},50941:(e,t,a)=>{a.d(t,{Ay:()=>C});var r=a(46512),i=a(91123),o=a.n(i),n=a(99742);let s=()=>({level:n.env.LOG_LEVEL||"info",formatters:{level:e=>({level:e.toUpperCase()})},timestamp:()=>',"time":"'.concat(new Date(Date.now()).toISOString(),'"'),base:{environment:"production",service:"flyte-registration",branch:n.env.AWS_BRANCH||n.env.BRANCH||"local"}});var S=a(99742);class l{run(e,t){let a=this.currentId++;return this.storage.set(a,e),t().finally(()=>this.storage.delete(a))}getContext(){return this.storage.get(this.currentId-1)}setContext(e){this.storage.set(this.currentId-1,e)}constructor(){this.storage=new Map,this.currentId=0}}class c{setContext(e){let t=this.contextStorage.getContext()||{};this.contextStorage.setContext({...t,...e})}async withContext(e,t){return this.contextStorage.run(e,t)}createRequestContext(e,t,a){let i=(0,r.Ak)();a.setHeader("x-request-id",i);let o={host:t.headers.host,referer:t.headers.referer,handler:e,requestId:i,method:t.method,url:t.url,path:t.url?new URL(t.url,"http://".concat(t.headers.host)).pathname:void 0,query:t.query,params:t.query,timestamp:new Date().toISOString(),..."dev"===S.env.NODE&&{body:t.body}};return this.setContext(o),o}createLogEntry(e,t){let a=this.contextStorage.getContext();return{...a,environment:"production",service:(null==a?void 0:a.service)||"flyte-registration",branch:S.env.AWS_BRANCH||S.env.BRANCH||"local",...t,message:e}}error(e,t){this.pinoLogger.error(this.createLogEntry(e,t))}warn(e,t){this.pinoLogger.warn(this.createLogEntry(e,t))}info(e,t){this.pinoLogger.info(this.createLogEntry(e,t))}debug(e,t){this.pinoLogger.debug(this.createLogEntry(e,t))}constructor(){this.pinoLogger=o()(s()),this.contextStorage=new l}}let C=new c},52036:(e,t,a)=>{a.d(t,{X:()=>n});var r=a(37876),i=a(37477),o=a(45383);let n=e=>(0,r.jsx)(o.s,{direction:{base:"column",lg:"row"},gap:{base:"spacer-10",lg:"spacer-16",xl:"spacer-28",xxl:"spacer-44"},...e});n.Side=e=>(0,r.jsx)(i.Flex,{direction:"column",gap:{base:"spacer-6",lg:"spacer-8"},flex:1,...e}),n.Form=e=>(0,r.jsx)(i.Flex,{direction:"column",gap:"spacer-9",flex:1,...e})},52674:(e,t,a)=>{a.d(t,{fq:()=>c});var r=a(37876),i=a(37477),o=a(14232),n=a(87587);class s extends n.e{constructor(e="useFullModalLayoutContext must be used within a FullModalLayoutProvider"){super(e,"FULL_MODAL_CONTEXT_ERROR")}}let S=(0,o.createContext)({onClose:()=>{}}),l=()=>{let e=(0,o.useContext)(S);if(!e)throw new s;return e},c=e=>{let{isOpen:t,onClose:a,children:n}=e,s=o.useMemo(()=>({onClose:a}),[a]);return(0,r.jsx)(S.Provider,{value:s,children:(0,r.jsx)(i.Modal,{isOpen:t,onClose:a,size:"full",autoFocus:!1,children:(0,r.jsx)(i.Modal.Content,{p:0,backgroundColor:"background-page",height:"100%",containerProps:{overflow:"hidden"},motionProps:{initial:{opacity:1},animate:{opacity:1}},children:n})})})};c.Header=e=>{let{children:t}=e,{onClose:a}=l();return(0,r.jsx)(i.Modal.Header,{backgroundColor:"background-page",borderBottomColor:"ui-element-divider",borderBottomWidth:"1px",borderBottomStyle:"solid",borderRadius:"radius-0",p:0,position:{base:"fixed",lg:"relative"},width:"100%",zIndex:"2",children:(0,r.jsxs)(i.Flex,{alignItems:"center",justifyContent:"space-between",maxWidth:"90rem",px:{base:"spacer-6",md:"spacer-9",lg:"spacer-7",xl:"spacer-20",xxl:"spacer-28"},py:{base:"spacer-2",lg:"spacer-4"},width:"100%",margin:"0 auto",children:[t,(0,r.jsx)(i.ButtonIcon,{variant:"ghost","aria-label":"Close",size:"l",icon:(0,r.jsx)(i.IconX,{}),onClick:a})]})})},c.Body=e=>{let{children:t,...a}=e;return(0,r.jsx)(i.Modal.Body,{p:0,backgroundColor:"background-page",display:"flex",mt:{base:"4.25rem",lg:0},mx:"auto",overflow:"auto",borderRadius:"none",width:"100%",...a,children:(0,r.jsx)(i.Fade,{in:!0,style:{width:"100%"},transition:{enter:{duration:.4}},children:t})})}},53154:(e,t,a)=>{a.d(t,{e:()=>h});var r=a(37876),i=a(29261),o=a(74161),n=a(37477),s=a(14232),S=a(88992),l=a(82393);let c=e=>{let{isOpen:t,onClose:a,onSubmit:i,currentEmail:o,loading:c=!1,hasError:C}=e,d=(0,S.mN)({defaultValues:{currentEmail:o},mode:"onBlur"});(0,s.useEffect)(()=>{d.setValue("currentEmail",o)},[o]);let m=()=>{c||(a(),d.reset())};return(0,r.jsxs)(n.Modal,{isOpen:t,onClose:m,isCentered:!0,closeOnEsc:!c,closeOnOverlayClick:!c,children:[(0,r.jsx)(n.Modal.Overlay,{}),(0,r.jsxs)(n.Modal.Content,{borderRadius:"0.75rem",px:"spacer-7",py:"spacer-6",gap:"spacer-7",maxWidth:"26.25rem",mx:{base:"spacer-5",md:0},children:[(0,r.jsxs)(n.Modal.Header,{p:0,children:[(0,r.jsx)(n.Text,{variant:"text-body-large-bold",color:"text-primary",children:"Edit your email address"}),(0,r.jsx)(n.Text,{variant:"text-body-regular",color:"text-secondary",mt:"spacer-4",children:"This email will be used to create your FlyteHealth account. Next, you'll receive an email with a 6-digit code. Use this code to confirm your email."})]}),(0,r.jsx)(n.Modal.CloseButton,{isDisabled:c}),C&&(0,r.jsxs)(n.Alert,{status:"error",variant:"subtle",children:[(0,r.jsx)(n.Alert.Icon,{}),(0,r.jsx)(n.Alert.Title,{children:"There was an error submitting your information. Please call (844) 359-8363 to speak with a Care Coordinator."})]}),(0,r.jsx)(n.Modal.Body,{p:0,children:(0,r.jsx)(S.Op,{...d,children:(0,r.jsxs)(n.Flex,{as:"form",noValidate:!0,direction:"column",gap:"spacer-7",children:[(0,r.jsx)(l.LP,{name:"currentEmail",label:"Current email address",inputProps:{isDisabled:!0}}),(0,r.jsx)(l.LP,{name:"newEmail",label:"Enter your correct email address",inputProps:{isRequired:!0,isDisabled:c}})]})})}),(0,r.jsxs)(n.Modal.Footer,{p:0,gap:"spacer-4",children:[(0,r.jsx)(n.Button,{variant:"primary-alt",onClick:m,size:"m",isDisabled:c,"aria-label":"Cancel",flex:1,width:"100%",children:"Cancel"}),(0,r.jsx)(n.Button,{flex:1,width:"100%","aria-label":"Update email",onClick:d.handleSubmit(i),variant:"primary",isLoading:c,size:"m",isDisabled:!d.formState.isValid,children:"Update email"})]})]})]})},C="verificationCode",d=e=>{let{name:t=C,hasError:a=!1,loading:i=!1,onResendCode:o,onSubmit:l}=e,{control:c,reset:d,watch:m}=(0,S.xW)(),[u,H]=(0,s.useState)(60),h=a&&!m(C);(0,s.useEffect)(()=>{let e;return u>0&&(e=setInterval(()=>{H(t=>t<=1?(clearInterval(e),0):t-1)},1e3)),()=>clearInterval(e)},[u]);let p=e=>{6===e.length&&l(e)};return(0,s.useEffect)(()=>{a&&d({[t]:""})},[a,d,t]),(0,r.jsxs)(n.Flex,{direction:"column",gap:"spacer-2",children:[(0,r.jsxs)(n.Flex,{gap:"spacer-2",direction:"column",children:[(0,r.jsx)(S.xI,{name:t,control:c,rules:{required:!0,minLength:6,maxLength:6},render:e=>{let{field:{onChange:a,value:o}}=e;return(0,r.jsx)(n.PinInput,{"data-test":t,id:t,value:o,onChange:e=>{a(e),p(e)},"aria-label":"Enter the code",otp:!0,size:"l",variant:"outline",type:"number",isDisabled:i,isInvalid:h,children:Array.from({length:6}).map((e,a)=>(0,r.jsx)(n.PinInput.Field,{"data-test":"".concat(t,"-").concat(a),width:{base:"auto",lg:"4rem",xl:"5rem",xxl:"5.25rem"}},"pin-field-position-".concat(a+1)))})}}),h&&(0,r.jsxs)(n.InlineAlert,{status:"error",children:[(0,r.jsx)(n.InlineAlert.Icon,{}),(0,r.jsx)(n.InlineAlert.Message,{children:"Incorrect code. Please try again."})]})]}),(0,r.jsxs)(n.Flex,{gap:"spacer-1",mt:"spacer-2",flexWrap:"wrap",children:[(0,r.jsx)(n.Text,{variant:"text-body-meta-regular",color:"text-secondary",children:"Do you need a new code?"}),u>0?(0,r.jsxs)(n.Text,{variant:"text-body-meta-regular",color:"text-secondary",children:["You can request a new one in"," ",(0,r.jsxs)(n.Text,{as:"span",variant:"text-body-meta-medium",color:"text-secondary",children:[u,"s"]})]}):(0,r.jsx)(n.Button,{variant:"link-primary","aria-label":"Resend code",size:"s",textDecoration:"underline",onClick:()=>{o(),H(60)},isDisabled:i,children:"Resend code"})]})]})};var m=a(45383),u=a(20058),H=a(19847);let h=e=>{let{configuration:t,email:a,hasError:C=!1,loading:h=!1,isUpdateEmailLoading:p,hasUpdateEmailError:x,onResendCode:g,onEditEmail:b,onSubmit:y}=e,R=(0,S.mN)({mode:"onBlur"}),{contentResources:v}=t,[f,j]=(0,s.useState)(!1),[A,I]=(0,s.useState)(!0),w=(0,H.a)(),T=(0,n.useToast)(),{track:L}=(0,o.useAnalytics)(),M=()=>(0,r.jsx)(n.Button,{type:"submit",size:{base:"m",lg:"l"},isDisabled:!R.formState.isValid||h,width:"100%",isLoading:h,"aria-label":"Verify code",children:"Verify code"}),D=(0,s.useCallback)(e=>{A&&(y({verificationCode:e}),I(!1))},[y,A]),E=()=>{j(!1)},k=e=>{b(e,()=>{E(),T({title:"Email address updated",description:"Check your email for a 6-digit code to confirm your email address.",status:"success",titleAlignment:"top",position:"bottom",variant:"subtle",duration:3e3})})};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(S.Op,{...R,children:(0,r.jsxs)(m.X,{as:"form",onSubmit:R.handleSubmit(y),noValidate:!0,children:[(0,r.jsxs)(m.X.Side,{gap:"spacer-7",children:[v.title,(0,r.jsxs)(n.Flex,{gap:"spacer-1",children:[(0,r.jsx)(n.Text,{variant:"text-body-meta-regular",color:"text-secondary",children:"Not your email?"}),(0,r.jsx)(n.Button,{variant:"link-primary",size:"s",textDecoration:"underline",onClick:()=>{j(!0),L(i.A.editEmail)},isDisabled:h,"aria-label":"Edit email address",children:"Edit email address"})]})]}),(0,r.jsxs)(m.X.Form,{children:[(0,r.jsx)(d,{hasError:C,loading:h,onResendCode:()=>{g(()=>{T({title:"New code sent to your email",status:"success",position:"bottom",variant:"solid",duration:3e3})})},onSubmit:D}),(0,r.jsxs)(n.Flex,{direction:"column",children:[(0,r.jsx)(n.Text,{variant:"text-body-bold",color:"text-secondary",children:"Need some help?"}),(0,r.jsxs)(n.Text,{color:"text-secondary",variant:"text-body-regular",mt:"spacer-1",children:["Please call"," ",(0,r.jsx)(u.C,{fontWeight:"thin"})," ","to speak with a Care Coordinator."]})]}),w?(0,r.jsx)(l.cI,{children:M()}):M()]})]})}),f&&(0,r.jsx)(c,{isOpen:f,onClose:E,onSubmit:e=>{let{newEmail:t}=e;return k(t)},currentEmail:a,loading:p,hasError:x})]})}},58892:(e,t,a)=>{a.d(t,{e:()=>s});var r=a(37876),i=a(37477),o=a(14232),n=a(88992);let s=(0,o.forwardRef)((e,t)=>{let{name:a,"aria-label":s,...S}=e,l=(0,o.useRef)(null),c=(0,i.useMergeRefs)(l,t),{watch:C}=(0,n.xW)(),d=C(a)===S.value;return(0,r.jsx)(i.Flex,{as:"label","aria-label":s,flex:"1",onClick:()=>{var e;return null==(e=l.current)?void 0:e.click()},onKeyDown:e=>{if(" "===e.key||"Enter"===e.key){var t;e.preventDefault(),null==(t=l.current)||t.click()}},tabIndex:0,p:"spacer-3",borderWidth:"1px",borderRadius:"radii-2",cursor:"pointer",_hover:{bg:"background-action-hover"},_focusVisible:{outlineColor:"primary-focus",outlineWidth:"3px"},borderColor:d?"primary-default":"ui-element-outline-default",children:(0,r.jsx)(i.Box,{pointerEvents:"none",children:(0,r.jsx)(i.Radio,{ref:c,_focus:{boxShadow:"none"},...S})})})})},59004:(e,t,a)=>{a.d(t,{a:()=>c});var r=a(37876),i=a(37477),o=a(82393),n=a(45383),s=a(19847),S=a(80072);let l=e=>{let{image:t}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Flex,{justifyContent:"center",width:"100%",pb:{base:"spacer-24",lg:0},children:t?null:(0,r.jsx)(i.Image,{alt:"Application Complete",src:"/static/assets/application-download.png",width:{base:"200px",md:"254px"},height:{base:"200px",md:"254px"}})}),(0,r.jsx)(o.cI,{children:(0,r.jsx)(i.Link,{variant:"primary",size:"l",justifyContent:"center",width:"100%","aria-label":"Download the app",target:"_blank",href:"/api/app-download",children:"Download the app"})})]})},c=e=>{let{title:t,checklist:a,subTitle:o,image:c}=e,C=(0,s.a)();return(0,r.jsxs)(n.s,{gap:{base:"spacer-10",lg:"spacer-16",xl:"spacer-18",xxl:"spacer-64"},alignItems:"start",flexDirection:{base:"column",lg:"row"},"data-test":S.C.AppDownload,children:[(0,r.jsxs)(i.Flex,{direction:"column",justifyContent:{lg:"space-between"},height:"100%",flex:1,children:[t,o,c]}),C?(0,r.jsx)(l,{image:c}):(0,r.jsxs)(i.Flex,{flexDirection:"column",gap:"spacer-9",flex:1,children:[(0,r.jsx)(i.Text,{variant:"text-body-regular",fontWeight:"700",children:"Get Started by downloading the FlyteHealth app"}),a,(0,r.jsx)(i.Flex,{width:"100%",backgroundColor:"background-page-04",justifyContent:"center",padding:"spacer-5",borderRadius:"radii-2",children:(0,r.jsx)(i.Image,{alt:"QR application download",width:"200px",height:"200px",src:"/static/assets/app-qr-download.png"})})]})]})}},61032:(e,t,a)=>{function r(e){var t={diabetes:e.diabetes,bariatric:e.bariatric};let a=["Complete Blood Count (CBC)","Comprehensive Metabolic Panel (CMP)","Folate/Folic Acid Level (Vitamin B9)","Hemoglobin A1C (HbA1c)","High-Sensitivity C-Reactive Protein (hs-CRP)","Insulin Level","Iron Status Panel (Iron, Ferritin, and TIBC)","Kidney Protein Test (Urine Albumin/Creatinine Ratio or ACR)","Cholesterol Panel (Lipid Panel)","Thyroid Function Test (TSH with FT4 reflex)","Vitamin B12 Level","Vitamin D Level (25-OH, total)"];return t.bariatric&&a.push("Copper Level, Blood","Folate Level (Vitamin B9)","Free T3 Level","Free T4 Level","Magnesium Level","Manganese Level, Blood","Methylmalonic Acid and Homocysteine Levels","Parathyroid Hormone (PTH), Intact Without Calcium","Prothrombin Time (PT-INR)","Selenium Level","Thyroid Stimulating Hormone (TSH)","Vitamin A Level (Retinol)","Vitamin B1 Level (Thiamine)","Vitamin B6 Level, Plasma","Vitamin C Level","Vitamin E Level (Tocopherol)","Vitamin K Level","Zinc Level"),t.diabetes&&a.push("C-Peptide Level"),a.sort((e,t)=>e.localeCompare(t))}a.d(t,{o:()=>r})},61415:(e,t,a)=>{a.d(t,{J:()=>n});var r=a(99221),i=a(34305),o=a(68792);let n={[i.fz.Flyte]:e=>{let{bmi:t,comorbidity:a}=e;return t>=30||t>=27&&a===r.Y9.Yes},[i.fz.CareCompass]:e=>{let{birthdate:t,bmi:a,comorbidity:i}=e;return(0,o.Cb)(t)>=18&&(a>=30||a>=27&&i===r.Y9.Yes)},[i.fz.Aetna]:e=>{let{birthdate:t,bmi:a,comorbidity:i}=e;return(0,o.Cb)(t)>=18&&(a>=30||a>=27&&i===r.Y9.Yes)},[i.fz.RiverSpringLiving]:e=>{let{bmi:t}=e;return t>=27},[i.fz.PequotHealthCare]:e=>{let{birthdate:t,bmi:a,comorbidity:i}=e;return(0,o.Cb)(t)>=18&&(a>=30||a>=27&&i===r.Y9.Yes)},[i.fz.PyleFamilyInsurance]:e=>{let{bmi:t}=e;return t>=30},[i.fz.MDSave]:e=>{let{bmi:t,comorbidity:a}=e;return t>=30||t>=27&&a===r.Y9.Yes},[i.fz.ChristianaCare]:e=>{let{birthdate:t,bmi:a,comorbidity:i}=e;return(0,o.Cb)(t)>=18&&(a>=30||a>=27&&i===r.Y9.Yes)},[i.fz.Emory]:e=>{let{birthdate:t,bmi:a,comorbidity:i}=e;return(0,o.Cb)(t)>=18&&(a>=30||a>=27&&i===r.Y9.Yes)},[i.fz["1199SEIU"]]:e=>{let{birthdate:t,bmi:a,comorbidity:i}=e;return(0,o.Cb)(t)>=18&&(a>=35||a>=27&&i===r.Y9.Yes)}}},62344:(e,t,a)=>{a.d(t,{C:()=>r});let r=e=>{let t=new Date,a=new Date(e),r=t.getFullYear()-a.getFullYear(),i=t.getMonth()-a.getMonth();return(i<0||0===i&&t.getDate(){a.d(t,{B:()=>c});var r=a(37876),i=a(37477),o=a(82393),n=a(45383),s=a(19847),S=a(80072),l=a(88992);let c=e=>{let{configuration:t,loading:a=!1,isEmailSent:c=!1,hasError:C=!1,isMobileFooterSticky:d=!0,onSubmit:m}=e,{contentResources:u}=t,H=(0,l.mN)({mode:"onBlur"}),h=(0,s.a)(),p=()=>(0,r.jsx)(i.Button,{type:"submit",size:{base:"m",lg:"l"},isDisabled:!H.formState.isValid||c,width:"100%",isLoading:a,"aria-label":"Keep me posted",children:"Keep me posted"});return(0,r.jsx)(l.Op,{...H,children:(0,r.jsxs)(n.X,{as:"form",onSubmit:H.handleSubmit(m),noValidate:!0,"data-test":S.C.EligibilityUnmet,children:[(0,r.jsx)(n.X.Side,{children:u.title}),(0,r.jsxs)(n.X.Form,{pb:{base:"spacer-24",lg:0},children:[u.alert,(0,r.jsxs)(i.TextPairing,{variant:"textpairing-header-L",children:[(0,r.jsx)(i.TextPairing.Label,{children:"We work hard to try to offer our services to everyone who wants them."}),(0,r.jsx)(i.TextPairing.SubLabel,{color:"text-secondary",children:"Please provide your contact information so we can get in touch if our criteria change and you become eligible to join."})]}),(0,r.jsx)(o.d5,{isDisabled:a||c}),(0,r.jsx)(o.LP,{inputProps:{isDisabled:a||c}}),h&&d?(0,r.jsx)(o.cI,{children:p()}):p(),c&&(0,r.jsxs)(i.Alert,{status:"success",variant:"subtle",children:[(0,r.jsx)(i.Alert.Icon,{}),(0,r.jsxs)(i.Box,{children:[(0,r.jsx)(i.Alert.Title,{children:(0,r.jsx)(i.Text,{variant:"text-body-bold",children:"Email received"})}),(0,r.jsx)(i.Alert.Description,{children:(0,r.jsx)(i.Text,{variant:"text-body-regular",children:"We'll keep you up to date on our latest news and will send you an email if you become eligible to join."})})]})]}),C&&(0,r.jsxs)(i.Alert,{status:"error",variant:"subtle",children:[(0,r.jsx)(i.Alert.Icon,{}),(0,r.jsx)(i.Alert.Title,{children:"There was an error submitting your information. Please review the email address above and try again."})]})]})]})})}},63826:(e,t,a)=>{a.d(t,{h:()=>i,w:()=>r});var r=function(e){return e.FULL_MATCH="FULL_MATCH",e.EXPIRED="EXPIRED",e.PERSON_MATCH="PERSON_MATCH",e.INSURANCE_MATCH="INSURANCE_MATCH",e.NOT_FOUND="NOT_FOUND",e.ELIGIBLE_MATCH="ELIGIBLE_MATCH",e}({}),i=function(e){return e.Evolve="Evolve",e.Pverify="Pverify",e.EvolveAndPverify="Evolve & Pverify",e}({})},66885:(e,t,a)=>{a.d(t,{r:()=>r});let r=e=>"string"==typeof e?e:Object.keys(e)[0]},66952:(e,t,a)=>{a.d(t,{oC:()=>i,xD:()=>o});var r=a(87587);class i extends r.e{constructor(e){super(e,"INVALID_INPUT")}}class o extends r.e{constructor(e){super(e,"INVALID_DATE_FORMAT")}}r.e},67751:(e,t,a)=>{a.d(t,{S:()=>i});var r=a(66952);let i=e=>{let t=e.match(/^(\d{2})[-/](\d{2})[-/](\d{4})$/);if(t)return"".concat(t[3],"-").concat(t[1],"-").concat(t[2]);throw new r.xD("convertDateToISO was given an invalid date format, expected MM/DD/YYYY")}},68792:(e,t,a)=>{a.d(t,{Cb:()=>o.C,Hv:()=>n.H,J0:()=>s.J,S1:()=>S.S,sC:()=>l.s});var r=a(72881),i=a(87587);i.e,i.e,i.e,i.e,i.e,i.e,i.e,i.e;var o=a(62344),n=a(13533),s=a(61415),S=a(67751),l=a(1188)},69443:(e,t,a)=>{a.d(t,{M:()=>n});var r=a(37876),i=a(37477),o=a(80072);let n={[o.C.OnboardingChecklist]:{title:(0,r.jsxs)(i.TextPairing,{variant:"textpairing-header-2XL",children:[(0,r.jsxs)(i.TextPairing.Label,{color:"text-primary",children:["Welcome to"," ",(0,r.jsx)(i.Text,{as:"span",variant:"text-header-2XL",color:"text-secondary-negative",children:"FlyteHealth!"})]}),(0,r.jsx)(i.TextPairing.SubLabel,{color:"text-secondary",children:"Before we can connect you to your care team, you'll need to:"})]}),checklist:(0,r.jsxs)(i.Flex,{gap:"spacer-9",pb:{base:"spacer-24",lg:0},flexDirection:"column",children:[(0,r.jsxs)(i.Flex,{direction:"row",gap:"spacer-2",children:[(0,r.jsx)(i.IconCircle1,{color:"text-secondary",size:"l"}),(0,r.jsxs)(i.TextPairing,{variant:"textpairing-header-M",children:[(0,r.jsx)(i.TextPairing.Label,{color:"text-primary",children:"Complete Care Agreements"}),(0,r.jsx)(i.TextPairing.SubLabel,{color:"text-secondary",children:"These allow us to provide care for you"})]})]}),(0,r.jsxs)(i.Flex,{direction:"row",gap:"spacer-2",children:[(0,r.jsx)(i.IconCircle2,{color:"text-secondary",size:"l"}),(0,r.jsxs)(i.TextPairing,{variant:"textpairing-header-M",children:[(0,r.jsx)(i.TextPairing.Label,{color:"text-primary",children:"Create a Password"}),(0,r.jsx)(i.TextPairing.SubLabel,{color:"text-secondary",children:"So you can log into FlyteHealth and get support along the way."})]})]}),(0,r.jsxs)(i.Flex,{direction:"row",gap:"spacer-2",children:[(0,r.jsx)(i.IconCircle3,{color:"text-secondary",size:"l"}),(0,r.jsxs)(i.TextPairing,{variant:"textpairing-header-M",children:[(0,r.jsx)(i.TextPairing.Label,{color:"text-primary",children:"Download the App"}),(0,r.jsx)(i.TextPairing.SubLabel,{color:"text-secondary",children:"The patient app helps you prepare for your first visit with a FlyteHealth provider. Log into FlyteHealth and get support along the way."})]})]})]}),checklistWithLabs:(0,r.jsxs)(i.Flex,{gap:"spacer-9",pb:{base:"spacer-24",lg:0},flexDirection:"column",children:[(0,r.jsxs)(i.Flex,{direction:"row",gap:"spacer-2",children:[(0,r.jsx)(i.IconCircle1,{color:"text-secondary",size:"l"}),(0,r.jsxs)(i.TextPairing,{variant:"textpairing-header-M",children:[(0,r.jsx)(i.TextPairing.Label,{color:"text-primary",children:"Complete Care Agreements"}),(0,r.jsx)(i.TextPairing.SubLabel,{color:"text-secondary",children:"These allow us to provide care for you"})]})]}),(0,r.jsxs)(i.Flex,{direction:"row",gap:"spacer-2",children:[(0,r.jsx)(i.IconCircle2,{color:"text-secondary",size:"l"}),(0,r.jsxs)(i.TextPairing,{variant:"textpairing-header-M",children:[(0,r.jsx)(i.TextPairing.Label,{color:"text-primary",children:"Create a Password"}),(0,r.jsx)(i.TextPairing.SubLabel,{color:"text-secondary",children:"So you can log into FlyteHealth and get support along the way."})]})]}),(0,r.jsxs)(i.Flex,{direction:"row",gap:"spacer-2",children:[(0,r.jsx)(i.IconCircle3,{color:"text-secondary",size:"l"}),(0,r.jsxs)(i.TextPairing,{variant:"textpairing-header-M",children:[(0,r.jsx)(i.TextPairing.Label,{color:"text-primary",children:"Request Labs "}),(0,r.jsx)(i.TextPairing.SubLabel,{color:"text-secondary",children:"Request your lab results for FlyteHealth to accurately assess your treatment plan."})]})]}),(0,r.jsxs)(i.Flex,{direction:"row",gap:"spacer-2",children:[(0,r.jsx)(i.IconCircle4,{color:"text-secondary",size:"l"}),(0,r.jsxs)(i.TextPairing,{variant:"textpairing-header-M",children:[(0,r.jsx)(i.TextPairing.Label,{color:"text-primary",children:"Download the App"}),(0,r.jsx)(i.TextPairing.SubLabel,{color:"text-secondary",children:"The patient app helps you prepare for your first visit with a FlyteHealth provider. Log into FlyteHealth and get support along the way."})]})]})]})},[o.C.CreatePassword]:{title:(0,r.jsxs)(i.TextPairing,{variant:"textpairing-header-2XL",children:[(0,r.jsxs)(i.TextPairing.Label,{color:"text-primary",children:["Create a"," ",(0,r.jsxs)(i.Text,{as:"span",variant:"text-header-2XL",color:"text-secondary-negative",children:["password"," "]}),"for your account"]}),(0,r.jsx)(i.TextPairing.SubLabel,{color:"text-secondary",children:"Once created, you will use your email and this password to log into the FlyteHealth mobile app."})]})},[o.C.AppDownload]:{title:(0,r.jsxs)(i.TextPairing,{variant:"textpairing-header-2XL",children:[(0,r.jsxs)(i.TextPairing.Label,{color:"text-primary",children:["Download the"," ",(0,r.jsxs)(i.Text,{as:"span",color:"text-secondary-negative",variant:"text-header-2XL",children:["FlyteHealth"," "]}),"patient app"]}),(0,r.jsx)(i.TextPairing.SubLabel,{color:"text-secondary",children:"Now that your account is ready, use it to log into the patient app and complete the checklist so you can schedule your first visit."})]}),titleLabRequested:(0,r.jsxs)(i.TextPairing,{variant:"textpairing-header-2XL",children:[(0,r.jsx)(i.TextPairing.Label,{color:"text-primary",children:"You’re all set! Your Lab has been Requested"}),(0,r.jsx)(i.TextPairing.SubLabel,{color:"text-secondary",children:"Please check your email for detailed instructions on next steps."})]}),titleLabSubmitted:(0,r.jsxs)(i.TextPairing,{variant:"textpairing-header-2XL",children:[(0,r.jsx)(i.TextPairing.Label,{color:"text-primary",children:"Your lab results have been successfully submitted"}),(0,r.jsx)(i.TextPairing.SubLabel,{color:"text-secondary",children:"Our team will review them shortly and you'll receive an update by email."})]}),titleLabSkipped:(0,r.jsxs)(i.TextPairing,{variant:"textpairing-header-2XL",children:[(0,r.jsxs)(i.TextPairing.Label,{color:"text-primary",children:[(0,r.jsx)(i.Text,{as:"span",color:"text-secondary-negative",variant:"text-header-2XL",children:"You’re all set!"})," ","Now Download the FlyteHealth app"]}),(0,r.jsx)(i.TextPairing.SubLabel,{color:"text-secondary",children:"Your FlyteHealth account has been created. You'll use this to log into the FlyteHealth app to take the next steps towards scheduling your first appointment."})]}),checklist:(0,r.jsxs)(i.Flex,{gap:"spacer-6",pb:{base:"spacer-24",lg:0},flexDirection:"column",children:[(0,r.jsxs)(i.Flex,{direction:"row",gap:"spacer-2",children:[(0,r.jsx)(i.IconCircle1,{color:"text-secondary",size:"l"}),(0,r.jsx)(i.Text,{variant:"text-body-regular",color:"text-secondary",children:"Open the camera app on your phone"})]}),(0,r.jsxs)(i.Flex,{direction:"row",gap:"spacer-2",children:[(0,r.jsx)(i.IconCircle2,{color:"text-secondary",size:"l"}),(0,r.jsx)(i.Text,{variant:"text-body-regular",color:"text-secondary",children:"Scan the QR Code below"})]}),(0,r.jsxs)(i.Flex,{direction:"row",gap:"spacer-2",children:[(0,r.jsx)(i.IconCircle3,{color:"text-secondary",size:"l"}),(0,r.jsx)(i.Text,{variant:"text-body-regular",color:"text-secondary",children:"Follow the steps on your phone to download the app"})]})]})},[o.C.ReviewConsents]:{title:(0,r.jsxs)(i.TextPairing,{variant:"textpairing-header-2XL",children:[(0,r.jsx)(i.TextPairing.Label,{color:"text-primary",children:"Agree to Receive Care "}),(0,r.jsx)(i.TextPairing.SubLabel,{color:"text-secondary",children:"To begin your health journey, review the following documents."})]})},[o.C.EmailVerification]:e=>({title:(0,r.jsxs)(i.TextPairing,{variant:"textpairing-header-2XL",children:[(0,r.jsxs)(i.TextPairing.Label,{children:["Enter the"," ",(0,r.jsx)(i.Text,{color:"text-secondary-negative",as:"span",variant:"text-header-2XL",children:"6 digit code"})," ","we've sent you"]}),(0,r.jsxs)(i.TextPairing.SubLabel,{color:"text-secondary",children:["To confirm your email, enter the code we sent to"," ",(0,r.jsx)("b",{children:e})]})]})})}},70587:(e,t,a)=>{a.d(t,{E:()=>c});var r=a(37876),i=a(37477),o=a(82393),n=a(45383),s=a(19847),S=a(80072),l=a(88992);let c=e=>{let{configuration:t,onSubmit:a,showLabs:c=!1}=e,{contentResources:C}=t,d=(0,l.mN)({mode:"onBlur"}),m=(0,s.a)(),u=()=>(0,r.jsx)(i.Button,{type:"submit",size:{base:"m",lg:"l"},width:"100%","aria-label":"Continue",trailingIcon:(0,r.jsx)(i.IconArrowRight,{}),children:"Continue"});return(0,r.jsx)(l.Op,{...d,children:(0,r.jsxs)(n.X,{as:"form",onSubmit:d.handleSubmit(a),noValidate:!0,"data-test":S.C.OnboardingChecklist,children:[(0,r.jsx)(n.X.Side,{gap:"spacer-4",children:C.title}),(0,r.jsxs)(n.X.Form,{children:[c?C.checklistWithLabs:C.checklist,m?(0,r.jsx)(o.cI,{children:u()}):u()]})]})})}},72881:(e,t,a)=>{a.d(t,{$k:()=>i,BG:()=>o,V5:()=>s,mZ:()=>r,r2:()=>n});let r=400,i=401,o=405,n=409,s=500},76692:(e,t,a)=>{a.d(t,{_8:()=>c,Xq:()=>m,kV:()=>x,jP:()=>b,ag:()=>S,uQ:()=>d,JB:()=>p,E6:()=>g});var r=a(37876),i=a(37477),o=a(34305),n=a(14232),s=a(88992);let S="insurance",l=Object.values(o.lk).filter(e=>e!==o.lk.SelfPay),c=e=>{let{label:t="Name of the insurer",isRequired:a=!0,isDisabled:o=!1,defaultSelectedItem:c,insuranceCarriers:C=l,...d}=e,[m,u]=(0,n.useState)(C),{control:H,watch:h}=(0,s.xW)();return(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-2",...d,children:[(0,r.jsx)(i.Text,{as:"label",variant:"text-body-large-bold",color:"text-primary-negative",htmlFor:S,children:t}),(0,r.jsx)(s.xI,{control:H,name:S,rules:{required:a},render:e=>{let{field:{onChange:t,onBlur:a}}=e;return(0,r.jsxs)(i.Autocomplete,{id:"".concat(S,"-autocomplete"),items:m,onInputValueChange:e=>{let{inputValue:a}=e;if(!a){u(C),t(a);return}u(C.filter(e=>null==e?void 0:e.toLowerCase().includes(a.toLowerCase())))},onSelectedItemChange:e=>{let{selectedItem:a}=e;return t(a)},initialSelectedItem:c,selectedItem:h(S)||"",children:[(0,r.jsx)(i.Autocomplete.Input,{"data-test":S,id:S,size:"l",placeholder:"Select your insurance carrier",clearButtonMode:o?"never":"has-value",leadingIcon:(0,r.jsx)(i.IconSearch,{}),variant:"flushed",isDisabled:o,onBlur:a}),(0,r.jsx)(i.Autocomplete.List,{"data-test":"".concat(S,"List"),zIndex:2,renderItem:e=>(0,r.jsx)(i.Text,{variant:"text-body-regular",children:e}),overflowY:"auto",maxHeight:"13.5rem"})]})}})]})};var C=a(58892);let d="insuranceCoverage",m=e=>{let{isDisabled:t}=e,{register:a}=(0,s.xW)();return(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-4",children:[(0,r.jsx)(i.Text,{as:"label",variant:"text-body-large-bold",color:"text-primary-negative",children:"Do you have insurance coverage?"}),(0,r.jsxs)(i.RadioGroup,{display:"flex",flexDirection:"column",gap:"spacer-3",isDisabled:t,"data-test":d,name:d,children:[(0,r.jsx)(C.e,{name:d,value:o.RS.Insured,size:"m",isDisabled:t,...a(d,{required:!0}),children:"Yes, I'd like to check if my insurance can help cover the cost"}),(0,r.jsx)(C.e,{value:o.RS.SelfPay,size:"m",...a(d),name:d,isDisabled:t,children:"No, I will pay for it myself"})]})]})};var u=a(82393),H=a(43400),h=a(82492);let p="insuranceMemberID",x=e=>{let{label:t="Insurance Member ID",placeholder:a,description:o,tooltip:n,type:S,maxLength:l,minLength:c,maskOptions:C,inputMode:d,registerOptions:m,isDisabled:x=!1,isRequired:g=!0,...b}=e,{setValue:y,register:R,formState:{errors:v}}=(0,s.xW)(),f=(0,h.Q)(p,v,["minLength","maxLength","pattern"]);return(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-2",...b,children:[(0,r.jsxs)(i.Box,{children:[(0,r.jsxs)(i.Flex,{gap:"spacer-2",alignItems:"center",children:[(0,r.jsx)(i.Text,{as:"label",variant:"text-body-large-bold",color:"text-primary-negative",htmlFor:p,children:t}),n&&(0,r.jsx)(i.Tooltip,{label:n,placement:"auto-end",children:(0,r.jsx)(i.Flex,{children:(0,r.jsx)(i.IconInfoCircle,{size:"m",color:"text-link-primary-default"})})})]}),o]}),(0,r.jsx)(H.I,{"data-test":p,id:p,isInvalid:f,isDisabled:x,placeholder:a,type:S,inputMode:d,maxLength:l,minLength:c,maskOptions:C,onInput:e=>{let t=e.currentTarget.value,a=!c||c&&t.length>=c;y(p,t,{shouldValidate:a})},...R(p,{required:g,...m})}),f&&(0,r.jsx)(u.gO,{errors:v,name:p})]})},g="insuranceOther",b=e=>{let{label:t="Name of your Insurer",isRequired:a=!0,description:o,isDisabled:n=!1,...S}=e,{register:l}=(0,s.xW)();return(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-2",...S,children:[(0,r.jsxs)(i.Box,{children:[(0,r.jsx)(i.Text,{as:"label",variant:"text-body-large-bold",color:"text-primary-negative",children:t}),o]}),(0,r.jsx)(i.Input,{"data-test":g,"aria-label":"Insurer company name",placeholder:"Insurance company name",isRequired:a,type:"text",size:"l",variant:"flushed",isDisabled:n,...l(g,{required:a})})]})}},76803:(e,t,a)=>{a.d(t,{Z:()=>eH});var r=a(37876),i=a(37477),o=a(59004),n=a(91366),s=a(48934),S=a(14901),l=a(16741),c=a(80075),C=a(6770),d=a(39946),m=a(63583),u=a(53154),H=a(30435),h=a(42037),p=a(70587),x=a(11427),g=a(86535),b=a(27297),y=a(43483),R=a(81488),v=a(93511),f=a(34305),j=a(80072),A=a(66885),I=a(62227),w=a(14232),T=a(11969),L=a(10758),M=a(85007),D=a(20411),E=a(31346),k=a(38360),P=a(39648),B=a(87665),F=a(47353),z=a(83928),O=a(33841),U=a(92323),N=a(86687),_=a(89225),W=a(97793),q=a(68792),Y=a(13751),V=a(65159),X=a(39777),K=a(45352),Q=a(63826);let G=["031800000H","031800000S","031800001H","031800001S","031801001A","031801001H","031801001S","031801002A","031801002H","031801002S","031801003A","031801003H","031801003S","031801004H","031801004S","031801005A","031801005H","031801005S","031801006A","031801006H","031801006S","031802000H","031802000S","031802004H","031802004S","031802055H","031802055S","031803000H","031803000S","031804000H","031804000S","031805000A","031805000H","031805000S","031805001A","031805001H","031805001S","031805002A","031805002H","031805002S","031806000H","031806000S","031808000H","031808000S","031808055H","031808055S","031809055H","031809055S","031809056H","031809056S","031809057H","031809057S","031809058H","031809058S","031809059H","031809059S","031810000H","031810000S","031810004H","031810004S","031810055H","031810055S","031811000H","031811000S","031811001H","031811001S","031812000H","031812000S","031812001H","031812001S","031813001H","031813001S","031814000H","031814000S","031815000H","031815000S","031820004H","031820004S","031821000H","031821000S","031822000H","031822000S","031827000H","031827000S","031830000H","031830000S","031830001H","031830001S","031830002H","031830002S","031830003H","031830003S","031831000H","031831000S","031832000H","031832000S","031833000H","031833000S","031835000H","031835000S","031836004H","031836004S","031839000H","031839000S","031843000H","031843000S","031843002H","031843002S","031844000H","031844000S","031844003H","031844003S","031844006H","031844006S","031844007A","031844008A","031845000H","031845000S","031846001H","031846001S","031846002H","031846002S","031847000H","031847000S","031848000H","031848000S","031848003H","031848003S","031849015H","031849015S","031849017H","031849017S","031850001H","031850001S","031851000A","031851000H","031851000S","031851002A","031851002H","031851002S","031851003A","031851003H","031851003S","031851004A","031851004H","031851004S","031851009A","031851009H","031851009S","031851010A","031851010H","031851010S","031851013A","031851013H","031851013S","031851023A","031851023H","031851023S","031853000H","031853000S","031855000H","031855000S","031856000H","031856000S","031856001H","031856001S","031857000H","031857000S","031858000A","031858000H","031858000S","031859002A","031859002H","031859002S","031859008A","031859008H","031859008S","031859011A","031859011H","031859011S","031860000H","031860000S","031860002H","031860002S","031862004H","031862004S","031863011A","031863011H","031863011S","031863016H","031863016S","031863017H","031863017S","031864000A","031864000H","031864000S","031865001H","031865001S","031865002H","031865002S","031867000H","031867000S","031867001H","031867001S","031867002H","031867002S","031867003H","031867003S","031868001A","031869001S","031871000H","031871000S","031871001S","031871002A","031872000H","031872000S","031872001H","031872001S","031872002H","031872002S","031872003H","031872003S","031873001H","031873001S","031874000H","031874000S","031874003H","031874003S","031877000H","031877000S","031877001H","031877001S","031877058A","031877061A","031877065A","031877070A","031877071A","031878000H","031878000S","031879000H","031879000S","031880005H","031880005S","031881000H","031881000S","031881001A","031881001H","031881001S","031881002H","031881002S","031881003H","031881003S","031881004H","031881004S","031882000H","031882000S","031883000H","031883000S","031884000A","031884000H","031884000S","031885000H","031885000S","031886000A","031886000H","031886000S","031888000H","031888000S","031888001H","031888001S","031889043A","031889044H","031889044S","031889046A","031889047A","031889048A","031889143A","031889143B","031889144A","031889144B","031889146A","031889146B","031889147A","031889147B","031889243H","031889243S","031889244A","031889246H","031889246S","031889343H","031889343S","031889346A","031890004H","031890004S","031890010A","031890099A","031891000H","031891000S","031892000H","031892000S","031894000H","031894000S","031895000H","031895000S","031895001H","031895001S","031895002H","031895002S","031895003H","031895003S","031895004H","031895004S","031895005H","031895005S","031895006H","031895006S","031895102H","031895102S","031895103H","031895103S","031895104H","031895104S","031896000H","031896000S","031896001H","031896001S","031898000H","031898000S","031899000H","031899000S","041800000H","041800000S","041800001H","041800001S","041801001A","041801001H","041801001S","041801002A","041801002H","041801002S","041801003A","041801003H","041801003S","041801004H","041801004S","041801005A","041801005H","041801005S","041801006A","041801006H","041801006S","041802000H","041802000S","041802004H","041802004S","041802055H","041802055S","041803000H","041803000S","041804000H","041804000S","041805000A","041805000H","041805000S","041805001A","041805001H","041805001S","041805002A","041805002H","041805002S","041806000H","041806000S","041808000H","041808000S","041808055H","041808055S","041809055H","041809055S","041809056H","041809056S","041809057H","041809057S","041809058H","041809058S","041809059H","041809059S","041810000H","041810000S","041810004H","041810004S","041810055H","041810055S","041811000H","041811000S","041811001H","041811001S","041812000H","041812000S","041812001H","041812001S","041813001H","041813001S","041814000H","041814000S","041815000H","041815000S","041820004H","041820004S","041821000H","041821000S","041822000H","041822000S","041827000H","041827000S","041830000H","041830000S","041830001H","041830001S","041830002H","041830002S","041830003H","041830003S","041831000H","041831000S","041832000H","041832000S","041833000H","041833000S","041835000H","041835000S","041836004H","041836004S","041839000H","041839000S","041843000H","041843000S","041843002H","041843002S","041844000H","041844000S","041844003H","041844003S","041844006H","041844006S","041844008A","041844408A","041845000H","041845000S","041846001H","041846001S","041846002H","041846002S","041847000H","041847000S","041848000H","041848000S","041848003H","041848003S","041849015H","041849015S","041849017H","041849017S","041850001H","041850001S","041851000A","041851000H","041851000S","041851002A","041851002H","041851002S","041851003A","041851003H","041851003S","041851004A","041851004H","041851004S","041851009A","041851009H","041851009S","041851010A","041851010H","041851010S","041851013A","041851013H","041851013S","041851023A","041851023H","041851023S","041853000H","041853000S","041855000H","041855000S","041856000H","041856000S","041856001H","041856001S","041857000H","041857000S","041858000A","041858000H","041858000S","041859002A","041859002H","041859002S","041859008A","041859008H","041859008S","041859011A","041859011H","041859011S","041860000H","041860000S","041860002H","041860002S","041862004H","041862004S","041863011A","041863011H","041863011S","041863016H","041863016S","041863017H","041863017S","041864000A","041864000H","041864000S","041865001H","041865001S","041865002H","041865002S","041867000H","041867000S","041867001H","041867001S","041867002H","041867002S","041868001A","041869001S","041871000H","041871000S","041871001A","041871002A","041872000H","041872000S","041872001H","041872001S","041872002H","041872002S","041872003H","041872003S","041873001H","041873001S","041874000H","041874000S","041874001H","041874001S","041874003H","041874003S","041877000H","041877000S","041877001H","041877001S","041877050A","041877051A","041877058A","041877059A","041877065A","041877066A","041877070A","041877071A","041877408A","041878000H","041878000S","041879000H","041879000S","041880003H","041880003S","041880005H","041880005S","041881000H","041881000S","041881001A","041881001H","041881001S","041881002H","041881002S","041881003H","041881003S","041881004H","041881004S","041882000H","041882000S","041883000H","041883000S","041884000A","041884000H","041884000S","041885000H","041885000S","041886000A","041886000H","041886000S","041888000H","041888000S","041888001H","041888001S","041889009A","041889010A","041889040A","041889043A","041889044H","041889044S","041889045A","041889046A","041889049A","041889140A","041889140B","041889145A","041889145B","041889146A","041889146B","041889147A","041889147B","041889149A","041889149B","041889244A","041889245H","041889245S","041889249H","041889249S","041889345H","041889345S","041889346A","041890004H","041890004S","041890010A","041890011A","041890099A","041890410A","041891000H","041891000S","041892000H","041892000S","041894000H","041894000S","041895000H","041895000S","041895001H","041895001S","041895002H","041895002S","041895003H","041895003S","041895004H","041895004S","041895005H","041895005S","041895006H","041895006S","041895102H","041895102S","041895103H","041895103S","041895104H","041895104S","041896000H","041896000S","041896001H","041896001S","041898000H","041898000S","041899000H","041899000S","051800000H","051800000S","051800001H","051800001S","051801001A","051801001H","051801001S","051801002A","051801002H","051801002S","051801003A","051801003H","051801003S","051801004H","051801004S","051801005A","051801005H","051801005S","051801006A","051801006H","051801006S","051802000H","051802000S","051802004H","051802004S","051803000H","051803000S","051804000H","051804000S","051805000A","051805000H","051805000S","051805001A","051805001H","051805001S","051805002A","051805002H","051805002S","051806000H","051806000S","051808000H","051808000S","051808055H","051808055S","051809055H","051809055S","051809056H","051809056S","051809057H","051809057S","051809058H","051809058S","051809059H","051809059S","051810000H","051810000S","051810004H","051810004S","051810055H","051810055S","051811001H","051811001S","051812000H","051812000S","051812001H","051812001S","051813001H","051813001S","051814000H","051814000S","051815000H","051815000S","051820004H","051820004S","051821000H","051821000S","051827000H","051827000S","051830000H","051830000S","051830001H","051830001S","051830002H","051830002S","051830003H","051830003S","051831000H","051831000S","051832000H","051832000S","051833000H","051833000S","051835000H","051835000S","051836004H","051836004S","051839000H","051839000S","051843000H","051843000S","051844000H","051844000S","051844003H","051844003S","051844006H","051844006S","051845000H","051845000S","051846001H","051846001S","051846002H","051846002S","051847000H","051847000S","051848000H","051848000S","051848003H","051848003S","051849015H","051849015S","051849017H","051849017S","051850001H","051850001S","051851000A","051851000H","051851000S","051851002A","051851002H","051851002S","051851003A","051851003H","051851003S","051851004A","051851004H","051851004S","051851009A","051851009H","051851009S","051851010A","051851010H","051851010S","051851013A","051851013H","051851013S","051851023A","051851023H","051851023S","051853000H","051853000S","051855000H","051855000S","051856000H","051856000S","051856001H","051856001S","051857000H","051857000S","051858000A","051858000H","051858000S","051859002A","051859002H","051859002S","051859008A","051859008H","051859008S","051859011A","051859011H","051859011S","051860000H","051860000S","051860002H","051860002S","051862004H","051862004S","051863011A","051863011H","051863011S","051863016H","051863016S","051863017H","051863017S","051864000A","051864000H","051864000S","051865002H","051865002S","051867000H","051867000S","051867001H","051867001S","051869001S","051871000H","051871000S","051872001H","051872001S","051872003H","051872003S","051873001H","051873001S","051874000H","051874000S","051874003H","051874003S","051877000H","051877000S","051877001H","051877001S","051877058A","051877070A","051877071A","051878000H","051878000S","051880005H","051880005S","051881001A","051881001H","051881001S","051881002H","051881002S","051881003H","051881003S","051881004H","051881004S","051882000H","051882000S","051883000H","051883000S","051884000A","051884000H","051884000S","051885000H","051885000S","051886000A","051886000H","051886000S","051888000H","051888000S","051888001H","051888001S","051889008A","051889040A","051889043A","051889044H","051889044S","051889046A","051889047A","051889140A","051889140B","051889143A","051889143B","051889146A","051889146B","051889147A","051889147B","051889243H","051889243S","051889244A","051889246H","051889246S","051889343H","051889343S","051889346A","051890004H","051890004S","051890099A","051892000H","051892000S","051895000H","051895000S","051895001H","051895001S","051895002H","051895002S","051895003H","051895003S","051895004H","051895004S","051895005H","051895005S","051895006H","051895006S","051895102H","051895102S","051895103H","051895103S","051895104H","051895104S","051896000H","051896000S","051896001H","051896001S","051899000H","051899000S","061800000H","061800000S","061800001H","061800001S","061801001A","061801001H","061801001S","061801002A","061801002H","061801002S","061801003A","061801003H","061801003S","061801004H","061801004S","061801005A","061801005H","061801005S","061801006A","061801006H","061801006S","061802000H","061802000S","061802004H","061802004S","061802055H","061802055S","061803000H","061803000S","061804000H","061804000S","061805000A","061805000H","061805000S","061805001A","061805001H","061805001S","061805002A","061805002H","061805002S","061806000H","061806000S","061808000H","061808000S","061808055H","061808055S","061809055H","061809055S","061809056H","061809056S","061809057H","061809057S","061809058H","061809058S","061809059H","061809059S","061810000H","061810000S","061810004H","061810004S","061810055H","061810055S","061811001H","061811001S","061812000H","061812000S","061812001H","061812001S","061813001H","061813001S","061814000H","061814000S","061815000H","061815000S","061820004H","061820004S","061821000H","061821000S","061822000H","061822000S","061827000H","061827000S","061830000H","061830000S","061830001H","061830001S","061830002H","061830002S","061830003H","061830003S","061831000H","061831000S","061832000H","061832000S","061833000H","061833000S","061835000H","061835000S","061836004H","061836004S","061839000H","061839000S","061843000H","061843000S","061843002H","061843002S","061844000H","061844000S","061844003H","061844003S","061844006H","061844006S","061845000H","061845000S","061846001H","061846001S","061846002H","061846002S","061847000H","061847000S","061848000H","061848000S","061848003H","061848003S","061849015H","061849015S","061849017H","061849017S","061850001H","061850001S","061851000A","061851000H","061851000S","061851002A","061851002H","061851002S","061851003A","061851003H","061851003S","061851004A","061851004H","061851004S","061851009A","061851009H","061851009S","061851010A","061851010H","061851010S","061851013A","061851013H","061851013S","061851023A","061851023H","061851023S","061853000H","061853000S","061855000H","061855000S","061856000H","061856000S","061856001H","061856001S","061857000H","061857000S","061858000A","061858000H","061858000S","061859002A","061859002H","061859002S","061859008A","061859008H","061859008S","061859011A","061859011H","061859011S","061860000H","061860000S","061860002H","061860002S","061862004H","061862004S","061863011A","061863011H","061863011S","061863016H","061863016S","061863017H","061863017S","061864000A","061864000H","061864000S","061865001H","061865001S","061865002H","061865002S","061867000H","061867000S","061867001H","061867001S","061867002H","061867002S","061867003H","061867003S","061868001H","061868001S","061869001H","061869001S","061871000H","061871000S","061871001A","061871002A","061872000H","061872000S","061872001H","061872001S","061872002H","061872002S","061872003H","061872003S","061873001H","061873001S","061874000H","061874000S","061874001H","061874001S","061874003H","061874003S","061877000H","061877000S","061877001H","061877001S","061877058A","061877060A","061877061A","061877070A","061877071A","061877408A","061877410A","061878000H","061878000S","061879000H","061879000S","061880003H","061880003S","061880005H","061880005S","061881000H","061881000S","061881001A","061881001H","061881001S","061881002H","061881002S","061881003H","061881003S","061881004H","061881004S","061882000H","061882000S","061883000H","061883000S","061884000A","061884000H","061884000S","061885000H","061885000S","061886000A","061886000H","061886000S","061888000H","061888000S","061888001H","061888001S","061889008A","061889043A","061889046A","061889143A","061889143B","061889146A","061889146B","061889147A","061889147B","061889243H","061889243S","061889244A","061889246H","061889246S","061889343H","061889343S","061889346A","061890004H","061890004S","061890010A","061890099A","061891000H","061891000S","061892000H","061892000S","061894000H","061894000S","061895000H","061895000S","061895001H","061895001S","061895002H","061895002S","061895003H","061895003S","061895004H","061895004S","061895005H","061895005S","061895006H","061895006S","061895102H","061895102S","061895103H","061895103S","061895104H","061895104S","061896000H","061896000S","061896001H","061896001S","061898000H","061898000S","061899000H","061899000S","071800000H","071800000S","071800001H","071800001S","071801001A","071801001H","071801001S","071801002A","071801002H","071801002S","071801003A","071801003H","071801003S","071801004H","071801004S","071801005A","071801005H","071801005S","071801006A","071801006H","071801006S","071802000H","071802000S","071802004H","071802004S","071802055H","071802055S","071803000H","071803000S","071804000H","071804000S","071805000A","071805000H","071805000S","071805001A","071805001H","071805001S","071805002A","071805002H","071805002S","071806000H","071806000S","071808000H","071808000S","071808055H","071808055S","071809055H","071809055S","071809056H","071809056S","071809057H","071809057S","071809058H","071809058S","071809059H","071809059S","071810000H","071810000S","071810004H","071810004S","071810055H","071810055S","071811000H","071811000S","071811001H","071811001S","071812000H","071812000S","071812001H","071812001S","071813001H","071813001S","071814000H","071814000S","071815000H","071815000S","071820004H","071820004S","071821000H","071821000S","071822000H","071822000S","071827000H","071827000S","071830000H","071830000S","071830001H","071830001S","071830002H","071830002S","071830003H","071830003S","071831000H","071831000S","071832000H","071832000S","071833000H","071833000S","071835000H","071835000S","071836004H","071836004S","071839000H","071839000S","071843000H","071843000S","071843002H","071843002S","071844000H","071844000S","071844003H","071844003S","071844006H","071844006S","071845000H","071845000S","071846001H","071846001S","071846002H","071846002S","071847000H","071847000S","071848000H","071848000S","071848003H","071848003S","071849015H","071849015S","071849017H","071849017S","071850001H","071850001S","071851000A","071851000H","071851000S","071851002A","071851002H","071851002S","071851003A","071851003H","071851003S","071851004A","071851004H","071851004S","071851009A","071851009H","071851009S","071851010A","071851010H","071851010S","071851013A","071851013H","071851013S","071851023A","071851023H","071851023S","071853000H","071853000S","071855000H","071855000S","071856000H","071856000S","071856001H","071856001S","071857000H","071857000S","071858000A","071858000H","071858000S","071859002A","071859002H","071859002S","071859008A","071859008H","071859008S","071859011A","071859011H","071859011S","071860000H","071860000S","071860002H","071860002S","071862004H","071862004S","071863011A","071863011H","071863011S","071863016H","071863016S","071863017H","071863017S","071864000A","071864000H","071864000S","071865001H","071865001S","071865002H","071865002S","071867000H","071867000S","071867001H","071867001S","071867002H","071867002S","071867003H","071867003S","071868001A","071869001S","071871000H","071871000S","071871001S","071871002A","071872000H","071872000S","071872001H","071872001S","071872002H","071872002S","071872003H","071872003S","071873001H","071873001S","071874000H","071874000S","071874001H","071874001S","071874003H","071874003S","071877000H","071877000S","071877001H","071877001S","071877058A","071877059A","071877060A","071877070A","071877071A","071877408A","071878000H","071878000S","071879000H","071879000S","071879001A","071880003H","071880003S","071880005H","071880005S","071881000H","071881000S","071881001A","071881001H","071881001S","071881002H","071881002S","071881003H","071881003S","071881004H","071881004S","071882000H","071882000S","071883000H","071883000S","071884000A","071884000H","071884000S","071885000H","071885000S","071886000A","071886000H","071886000S","071888000H","071888000S","071888001H","071888001S","071889008A","071889040A","071889043A","071889044H","071889044S","071889046A","071889140A","071889140B","071889143A","071889143B","071889146A","071889146B","071889147A","071889147B","071889243H","071889243S","071889244A","071889246H","071889246S","071889343H","071889343S","071889346A","071890004H","071890004S","071890010A","071890099A","071890410A","071891000H","071891000S","071892000H","071892000S","071894000H","071894000S","071895000H","071895000S","071895001H","071895001S","071895002H","071895002S","071895003H","071895003S","071895004H","071895004S","071895005H","071895005S","071895006H","071895006S","071895102H","071895102S","071895103H","071895103S","071895104H","071895104S","071896000H","071896000S","071896001H","071896001S","071898000H","071898000S","071899000H","071899000S","081800000H","081800000S","081800001H","081800001S","081801001A","081801001H","081801001S","081801002A","081801002H","081801002S","081801003A","081801003H","081801003S","081801004H","081801004S","081801005A","081801005H","081801005S","081801006A","081801006H","081801006S","081802000H","081802000S","081802004H","081802004S","081802055H","081802055S","081803000H","081803000S","081804000H","081804000S","081805000A","081805000H","081805000S","081805001A","081805001H","081805001S","081805002A","081805002H","081805002S","081806000H","081806000S","081808000H","081808000S","081808055H","081808055S","081809055H","081809055S","081809056H","081809056S","081809057H","081809057S","081809058H","081809058S","081809059H","081809059S","081810000H","081810000S","081810004H","081810004S","081810055H","081810055S","081811000H","081811000S","081811001H","081811001S","081812000H","081812000S","081812001H","081812001S","081813001H","081813001S","081814000H","081814000S","081815000H","081815000S","081820004H","081820004S","081821000H","081821000S","081822000H","081822000S","081827000H","081827000S","081830000H","081830000S","081830001H","081830001S","081830002H","081830002S","081830003H","081830003S","081831000H","081831000S","081832000H","081832000S","081833000H","081833000S","081835000H","081835000S","081836004H","081836004S","081839000H","081839000S","081843000H","081843000S","081843002H","081843002S","081844000H","081844000S","081844003H","081844003S","081844006H","081844006S","081845000H","081845000S","081846001H","081846001S","081846002H","081846002S","081847000H","081847000S","081848000H","081848000S","081848003H","081848003S","081849015H","081849015S","081849017H","081849017S","081850001H","081850001S","081851000A","081851000H","081851000S","081851002A","081851002H","081851002S","081851003A","081851003H","081851003S","081851004A","081851004H","081851004S","081851009A","081851009H","081851009S","081851010A","081851010H","081851010S","081851013A","081851013H","081851013S","081851023A","081851023H","081851023S","081853000H","081853000S","081855000H","081855000S","081856000H","081856000S","081856001H","081856001S","081857000H","081857000S","081858000A","081858000H","081858000S","081859002A","081859002H","081859002S","081859008A","081859008H","081859008S","081859011A","081859011H","081859011S","081860000H","081860000S","081860002H","081860002S","081862004H","081862004S","081863011A","081863011H","081863011S","081863016H","081863016S","081863017H","081863017S","081864000A","081864000H","081864000S","081865001H","081865001S","081865002H","081865002S","081867000H","081867000S","081867001H","081867001S","081867002H","081867002S","081867003H","081867003S","081868001A","081869001S","081871000H","081871000S","081871001S","081871002A","081872000H","081872000S","081872001H","081872001S","081872002H","081872002S","081872003H","081872003S","081873001H","081873001S","081874000H","081874000S","081874001H","081874001S","081874003H","081874003S","081877000H","081877000S","081877001H","081877001S","081877058A","081877059A","081877060A","081877070A","081877071A","081877408A","081878000H","081878000S","081879000H","081879000S","081879001A","081880003H","081880003S","081880005H","081880005S","081881000H","081881000S","081881001A","081881001H","081881001S","081881002H","081881002S","081881003H","081881003S","081881004H","081881004S","081882000H","081882000S","081883000H","081883000S","081884000A","081884000H","081884000S","081885000H","081885000S","081886000A","081886000H","081886000S","081888000H","081888000S","081888001H","081888001S","081889008A","081889009A","081889040A","081889043A","081889044H","081889044S","081889046A","081889140A","081889140B","081889143A","081889143B","081889146A","081889146B","081889147A","081889147B","081889243H","081889243S","081889244A","081889246H","081889246S","081889343H","081889343S","081889346A","081890004H","081890004S","081890010A","081890099A","081890410A","081891000H","081891000S","081892000H","081892000S","081894000H","081894000S","081895000H","081895000S","081895001H","081895001S","081895002H","081895002S","081895003H","081895003S","081895004H","081895004S","081895005H","081895005S","081895006H","081895006S","081895102H","081895102S","081895103H","081895103S","081895104H","081895104S","081896000H","081896000S","081896001H","081896001S","081898000H","081898000S","081899000H","081899000S","CS0001M001","CS0001000C","CS0001000H","CS0002M001","CS000200HR","CS000200SR","CS0002000C","CS0002000H","CS0002000S","CS0004M001","CS0004000C","CS0004000H","CS0004000S","CS0005M001","CS0005000C","CS0005000H","CS0005000S","CS0007M001","CS0007000C","CS0007000H","CS0007000S","CS0007001H","CS0007001S","CS0007002H","CS0007002S","CS0007003H","CS0007003S","CS0007004H","CS0007004S","CS0008M001","CS0008000C","CS0008000H","CS0008000S","CS0009M001","CS000900HR","CS000900SR","CS0009000C","CS0009000H","CS0009000S","CS0009001C","CS0009001H","CS0009001S","CS0009002C","CS0009002H","CS0009002S","CS0009003C","CS0009003H","CS0009003S","CS0009004H","CS0009004S","CS0009005H","CS0009005S","CS0009006H","CS0009006S","CS0009007H","CS0009007S","CS0009008H","CS0009008S","CS0009009H","CS0009009S","CS000901HR","CS000901SR","CS0009010H","CS0009010S","CS0009011H","CS0009011S","CS000902HR","CS000902SR","CS000903HR","CS000903SR","CS000904HR","CS000904SR","CS000905HR","CS000905SR","CS000906HR","CS000906SR","CS000907HR","CS000907SR","CS000908HR","CS000908SR","CS000909HR","CS000909SR","CS000910HR","CS000910SR","CS000911HR","CS000911SR","CS0010M001","CS0010000C","CS0010000H","CS0010000S","CS0011M001","CS0011000C","CS0011000H","CS0011000S","CS0012M001","CS0012000C","CS0012000H","CS0012000S","CS0013M001","CS001300HR","CS001300SR","CS0013000C","CS0013000H","CS0013000S","CS0013001H","CS0013001S","CS0013002H","CS0013002S","CS0013003H","CS0013003S","CS0013004H","CS0013004S","CS0013005H","CS0013005S","CS0013006H","CS0013006S","CS001301HR","CS001301SR","CS0014M001","CS0014000C","CS0014000H","CS0014000S","CS0015M001","CS001500HR","CS001500SR","CS0015000C","CS0015000H","CS0015000S","CS0015001C","CS0015001H","CS0015001S","CS0015002H","CS0015002S","CS0015003H","CS0015003S","CS0015004H","CS0015004S","CS0015005H","CS0015005S","CS0015006H","CS0015006S","CS0015007H","CS0015007S","CS0015008H","CS0015008S","CS0015009H","CS0015009S","CS001501HR","CS001501SR","CS0015010H","CS0015010S","CS0015011H","CS0015011S","CS0015012H","CS0015012S","CS0015013H","CS0015013S","CS0015014H","CS0015014S","CS0015015H","CS0015015S","CS0015016H","CS0015016S","CS0015017H","CS0015017S","CS0015018H","CS0015018S","CS0015019H","CS0015019S","CS001502HR","CS001502SR","CS0015020H","CS0015020S","CS0015021H","CS0015021S","CS0015022H","CS0015022S","CS0015023H","CS0015023S","CS0015024H","CS0015024S","CS0015025H","CS0015025S","CS0015026H","CS0015026S","CS0015027H","CS0015027S","CS001503HR","CS001503SR","CS001504HR","CS001504SR","CS001505HR","CS001505SR","CS001506HR","CS001506SR","CS001507HR","CS001507SR","CS0016M001","CS001600HR","CS001600SR","CS0016000C","CS0016000H","CS0016000S","CS0016001H","CS0016001S","CS0016002H","CS0016002S","CS0016003H","CS0016003S","CS0016004H","CS0016004S","CS0016005H","CS0016005S","CS001601HR","CS001601SR","CS0017M001","CS001700HR","CS001700SR","CS0017000C","CS0017000H","CS0017000S","CS0017001H","CS0017001S","CS0017002H","CS0017002S","CS0017003H","CS0017003S","CS0017004H","CS0017004S","CS0018M001","CS001800HR","CS001800SR","CS0018000C","CS0018000H","CS0018000S","CS001801HR","CS001801SR","CS0020003H","CS0020003S","CS0020004H","CS0020004S","CS0020005H","CS0020005S","CS0020006H","CS0020006S","CS002001HR","CS002001SR","CS0020M001","CS002000HR","CS002000SR","CS0020000C","CS0020000H","CS0020000S","CS0020001H","CS0020001S","CS0020002H","CS0020002S","CS0021M001","CS002100HR","CS002100SR","CS0021000C","CS0021000H","CS0021000S","CS0021001H","CS0021001S","CS0021002H","CS0021002S","CS0021003H","CS0021003S","CS0021004H","CS0021004S","CS0021005H","CS0021005S","CS0021006H","CS0021006S","CS0021007H","CS0021007S","CS0021008H","CS0021008S","CS0021009H","CS0021009S","CS002101HR","CS002101SR","CS0021010H","CS0021010S","CS0021011H","CS0021011S","CS0021012H","CS0021012S","CS0021013H","CS0021013S","CS0021014H","CS0021014S","CS0021015H","CS0021015S","CS0021016H","CS0021016S","CS0021017H","CS0021017S","CS0021018H","CS0021018S","CS0021019H","CS0021019S","CS002102HR","CS002102SR","CS0021020H","CS0021020S","CS0021021H","CS0021021S","CS0021022H","CS0021022S","CS0021023H","CS0021023S","CS0021024H","CS0021024S","CS0021025H","CS0021025S","CS0021026H","CS0021026S","CS0021027H","CS0021027S","CS002103HR","CS002103SR","CS002104HR","CS002104SR","CS002105HR","CS002105SR","CS002106HR","CS002106SR","CS002107HR","CS002107SR","CS002108HR","CS002108SR","CS002109HR","CS002109SR","CS002110HR","CS002110SR","CS002111HR","CS002111SR","CS002112HR","CS002112SR","CS002113HR","CS002113SR","CS002114HR","CS002114SR","CS002115HR","CS002115SR","CS002116HR","CS002116SR","CS002117HR","CS002117SR","CS002118HR","CS002118SR","CS002119HR","CS002119SR","CS002120HR","CS002120SR","CS002121HR","CS002121SR","CS002122HR","CS002122SR","CS002123HR","CS002123SR","CS002124HR","CS002124SR","CS002125HR","CS002125SR","CS002126HR","CS002126SR","CS002127HR","CS002127SR","CS002128HR","CS002128SR","CS002129HR","CS002129SR","CS002130HR","CS002130SR","CS002131HR","CS002131SR","CS0022M001","CS0022000C","CS0022000H","CS0022000S","CS0023M001","CS0023000C","CS0023000H","CS0023000S","CS0024M001","CS0024000C","CS0024000H","CS0024000S","CS0025M001","CS002500HR","CS002500SR","CS0025000C","CS0025000H","CS0025000S","CS0025001H","CS0025001S","CS0025002H","CS0025002S","CS0025003H","CS0025003S","CS0025004H","CS0025004S","CS0025005H","CS0025005S","CS0025006H","CS0025006S","CS0025007H","CS0025007S","CS0025008H","CS0025008S","CS0025009H","CS0025009S","CS002501HR","CS002501SR","CS0025010H","CS0025010S","CS0025011H","CS0025011S","CS002502HR","CS002502SR","CS002503HR","CS002503SR","CS002504HR","CS002504SR","CS002505HR","CS002505SR","CS002506HR","CS002506SR","CS002507HR","CS002507SR","CS0026M001","CS002600HR","CS002600SR","CS0026000C","CS0026000H","CS0026000S","CS0026001H","CS0026001S","CS0026002H","CS0026002S","CS0026003H","CS0026003S","CS002601HR","CS002601SR","CS0028M001","CS0028000C","CS0028000H","CS0028000S","CS0029M001","CS0029000C","CS0029000H","CS0029000S","CS0032M001","CS0032000C","CS0032000H","CS0032000S","CS0034M001","CS0034000C","CS0034000H","CS0034000S","CS0035M001","CS003500HR","CS003500SR","CS0035000C","CS0035000H","CS0035000S","CS0035001C","CS0035001H","CS0035001S","CS0035002C","CS0035002H","CS0035002S","CS0035003C","CS0035003H","CS0035003S","CS0035004C","CS0035004H","CS0035004S","CS0035005C","CS0035005H","CS0035005S","CS0035006C","CS0035006H","CS0035006S","CS0035007C","CS0035007H","CS0035007S","CS0035008C","CS0035008H","CS0035008S","CS0035009C","CS0035009H","CS0035009S","CS003501HR","CS003501SR","CS0035010C","CS0035010H","CS0035010S","CS0035011C","CS0035011H","CS0035011S","CS0035012H","CS0035012S","CS0035013H","CS0035013S","CS003502HR","CS003502SR","CS003503HR","CS003503SR","CS003504HR","CS003504SR","CS003505HR","CS003505SR","CS003506HR","CS003506SR","CS003507HR","CS003507SR","CS003508HR","CS003508SR","CS003509HR","CS003509SR","CS0037M001","CS003700HR","CS003700SR","CS0037000C","CS0037000H","CS0037000S","CS0037001C","CS0037001H","CS0037001S","CS0037002H","CS0037002S","CS0037003H","CS0037003S","CS003701HR","CS003701SR","CS0038M001","CS0038000C","CS0038000H","CS0038000S","CS0039M001","CS003900HR","CS003900SR","CS0039000C","CS0039000H","CS0039000S","CS0039001C","CS0039001H","CS0039001S","CS0039002H","CS0039002S","CS0039003H","CS0039003S","CS003901HR","CS003901SR","CS0040M001","CS004000HR","CS004000SR","CS0040000C","CS0040000H","CS0040000S","CS0040001H","CS0040001S","CS0040002H","CS0040002S","CS0040003H","CS0040003S","CS004002HR","CS004002SR","CS0041M001","CS004100HR","CS004100SR","CS0041000C","CS0041000H","CS0041000S","CS0041001H","CS0041001S","CS0041002H","CS0041002S","CS0041003H","CS0041003S","CS0041004H","CS0041004S","CS0041005H","CS0041005S","CS0041006H","CS0041006S","CS0041007H","CS0041007S","CS0041008H","CS0041008S","CS0041009H","CS0041009S","CS004101HR","CS004101SR","CS0041010H","CS0041010S","CS0041011H","CS0041011S","CS0041012H","CS0041012S","CS0041013H","CS0041013S","CS004102HR","CS004102SR","CS004103HR","CS004103SR","CS004104HR","CS004104SR","CS004105HR","CS004105SR","CS004106HR","CS004106SR","CS004107HR","CS004107SR","CS004108HR","CS004108SR","CS004109HR","CS004109SR","CS004110HR","CS004110SR","CS004111HR","CS004111SR","CS004112HR","CS004112SR","CS0042M001"," CS0042000C","CS0042000H","CS0042000S","CS0043M001","CS004300HR","CS004300SR","CS0043000C","CS0043000H","CS0043000S","CS0043001C","CS0043001H","CS0043001S","CS0043002H","CS0043002S","CS0043003H","CS0043003S","CS004301HR","CS004301SR","CS0044M001","CS004400HR","CS004400SR","CS0044000C","CS0044000H","CS0044000S","CS0044001H","CS0044001S","CS0044002H","CS0044002S","CS0044003H","CS0044003S","CS0044004H","CS0044004S","CS0044005H","CS0044005S","CS0044006H","CS0044006S","CS0044007H","CS0044007S","CS0044008H","CS0044008S","CS004401HR","CS004401SR","CS004402HR","CS004402SR","CS004403HR","CS004403SR","CS0046M001","CS004600HR","CS004600SR","CS0046000C","CS0046000H","CS0046000S","CS004601HR","CS004601SR","CS0048M001","CS004800HR","CS004800SR","CS0048000C","CS0048000H","CS0048000S","CS0048001C","CS0048001H","CS0048001S","CS0048002H","CS0048002S","CS0048003H","CS0048003S","CS004801HR","CS004801SR","CS0049M001","CS004900HR","CS004900SR","CS0049000C","CS0049000H","CS0049000S","CS0049001C","CS0049001H","CS0049001S","CS0049002H","CS0049002S","CS0049003H","CS0049003S","CS004901HR","CS004901SR","CS0050M001","CS0050000C","CS0050000H","CS0050000S","CS0051M001"," CS0051000C","CS0051000H","CS0051000S","CS005100HR","CS005100SR","CS0052M001","CS005200HR","CS005200SR","CS0052000C","CS0052000H","CS0052000S","CS0052001C","CS0052001H","CS0052001S","CS0052002H","CS0052002S","CS0052003H","CS0052003S","CS005201HR","CS005201SR","CS0053M001","CS005300HR","CS005300SR","CS0053000C","CS0053000H","CS0053000S","CS0053001H","CS0053001S","CS0053002H","CS0053002S","CS0053003H","CS0053003S","CS0053004H","CS0053004S","CS0053005H","CS0053005S","CS0053006H","CS0053006S","CS005301HR","CS005301SR","CS0055M001","CS005500HR","CS005500SR","CS0055000C","CS0055000H","CS0055000S","CS0056M001","CS0056000C","CS0056000H","CS0056000S","CS0057M001","CS005700HR","CS005700SR","CS0057000C","CS0057000H","CS0057000S","CS0057001C","CS0057001H","CS0057001S","CS0057002H","CS0057002S","CS0057003H","CS0057003S","CS005701HR","CS005701SR","CS0058M001","CS005800HR","CS005800SR","CS0058000C","CS0058000H","CS0058000S","CS0058001H","CS0058001S","CS0059M001","CS0059000C","CS0059000H","CS0059000S","CS0060M001","CS0060000C","CS0060000H","CS0060000S","CS0061M001","CS006100HR","CS006100SR","CS0061000C","CS0061000H","CS0061000S","CS0061001H","CS0061001S","CS0065M001","CS0065000C","CS0065000H","CS0065000S","CS0066M001","CS006600HR","CS006600SR","CS0066000C","CS0066000H","CS0066000S","CS006601HR","CS006601SR","CS0068M001","CS0068M002","CS006800HR","CS006800SR","CS0068000C","CS0068000H","CS0068000S","CS0068001H","CS0068001S","CS0068002H","CS0068002S","CS0068003H","CS0068003S","CS0068004H","CS0068004S","CS0068005H","CS0068005S","CS0068006H","CS0068006S","CS0068007H","CS0068007S","CS0068009H","CS0068009S","CS006801HR","CS006801SR","CS0068010H","CS0068010S","CS0068011H","CS0068011S","CS0068012H","CS0068012S","CS0068013H","CS0068013S","CS0068014H","CS0068014S","CS0068015H","CS0068015S","CS006802HR","CS006802SR","CS006803HR","CS006803SR","CS006804HR","CS006804SR","CS006805HR","CS006805SR","CS006806HR","CS006806SR","CS006807HR","CS006807SR","CS006809HR","CS006809SR","CS006810HR","CS006810SR","CS006811HR","CS006811SR","CS006812HR","CS006812SR","CS006813HR","CS006813SR","CS006814HR","CS006814SR","CS006815HR","CS006815SR","CS006816HR","CS006816SR","CS006817HR","CS006817SR","CS006819HR","CS006819SR","CS006820HR","CS006820SR","CS0069M001","CS0069000C","CS0069000H","CS0069000S","CS0069001C","CS0069001H","CS0069001S","CS0069002C","CS0069002H","CS0069002S","CS0069003C","CS0069003H","CS0069003S","CS0070M001","CS007000HR","CS007000SR","CS0070000C","CS0070000H","CS0070000S","CS0072M001","CS007200HR","CS007200SR","CS0072000C","CS0072000H","CS0072000S","CS0072001H","CS0072001S","CS007201HR","CS007201SR","CS007202HR","CS007202SR","CS0073M001","CS0073000C","CS0073000H","CS0073000S","CS0074M001","CS0074000C","CS0074000H","CS0074000S","CS0075M001","CS0075000C","CS0075000H","CS0075000S","CS0077M001","CS007700HR","CS007700SR","CS0077000C","CS0077000H","CS0077000S","CS0077001H","CS0077001S","CS0077002H","CS0077002S","CS0080M001","CS0080M002","CS008000HR","CS008000SR","CS0080000C","CS0080000H","CS0080000S","CS0080001C","CS0080001H","CS0080001S","CS0080002H","CS0080002S","CS0080003H","CS0080003S","CS0080004H","CS0080004S","CS0080005H","CS0080005S","CS0080006H","CS0080006S","CS0080007H","CS0080007S","CS0080008H","CS0080008S","CS0080009H","CS0080009S","CS008001HR","CS008001SR","CS0080010H","CS0080010S","CS0080011H","CS0080011S","CS0080012H","CS0080012S","CS008002HR","CS008002SR","CS0081M001","CS0081000C","CS0081000H","CS0081000S","CS0082M001","CS0082000C"," CS0082000H","CS0082000S","CS0083M001","CS0083M002","CS008300HR","CS008300SR","CS0083000C","CS0083000H","CS0083000S","CS0083001C","CS0083001H","CS0083001S","CS0083002H","CS0083002S","CS0083003H","CS0083003S","CS0083004H","CS0083004S","CS0083005H","CS0083005S","CS0083006H","CS0083006S","CS0083007H","CS0083007S","CS0083008H","CS0083008S","CS0083009H","CS0083009S","CS008301HR","CS008301SR","CS0083010H","CS0083010S","CS0083011H","CS0083011S","CS0083012H","CS0083012S","CS0083013H"," CS0083013S","CS0083014H","CS0083014S","CS0083015H","CS0083015S","CS0083016H","CS0083016S","CS008302HR","CS008302SR","CS008303HR","CS008303SR","CS0084M001","CS0084000C","CS0084000H","CS0084000S","CS0084001H","CS0084001S","CS0088M001","CS0088000C","CS0088000H","CS0088000S","CS0090M001","CS009000HR","CS009000SR","CS0090000C","CS0090000H","CS0090000S","CS0091M001","CS0091000C","CS0091000H","CS0091000S","CS0093M001","CS0093000C","CS0093000H","CS0093000S","CS0095M001","CS009500HR","CS009500SR","CS0095000C","CS0095000H","CS0095000S","CS0095001H","CS0095001S","CS0095002H","CS0095002S","CS0095003H","CS0095003S","CS0095004H","CS0095004S","CS0095005H","CS0095005S","CS0095006H","CS0095006S","CS0095007H","CS0095007S","CS0095008H","CS0095008S","CS0095009H","CS0095009S"," CS009501HR","CS009501SR","CS009502HR","CS009502SR","CS009503HR","CS009503SR","CS009504HR","CS009504SR","CS009505HR","CS009505SR","CS009506HR","CS009506SR","CS009507HR","CS009507SR","CS009508HR","CS009508SR","CS009509HR","CS009509SR","CS009510HR","CS009510SR","CS009511HR","CS009511SR","CS009512HR","CS009512SR","CS009513HR","CS009513SR","CS0098M001","CS009800HR","CS009800SR","CS0098000C","CS0098000H","CS0098000S","CS0098001H","CS0098001S","CS0098002H","CS0098002S","CS0098003H","CS0098003S","CS0098004H","CS0098004S","CS0098005H","CS0098005S","CS0098006H","CS0098006S","CS009801HR","CS009801SR","CS009802HR","CS009802SR","CS009803HR","CS009803SR","CS009804HR","CS009804SR","CS009805HR","CS009805SR","CS009806HR","CS009806SR","CS009807HR","CS009807SR","CS0099M001","CS0099000C","CS0099000H","CS0099000S","CS0104M001","CS0104000C","CS0104000H","CS0104000S","CS0105M001","CS0105000C","CS0105000H","CS0105000S","CS0106M001","CS010600HR","CS010600SR","CS0106000C","CS0106000H","CS0106000S","CS0106001H","CS0106001S","CS0106002H","CS0106002S","CS0106003H","CS0106003S","CS0106004H","CS0106004S","CS0106005H","CS0106005S","CS0106006H","CS0106006S","CS0106007H","CS0106007S","CS0106008H","CS0106008S","CS010601HR","CS010601SR","CS010602HR","CS010602SR","CS0108M001","CS0108000C","CS0108000H","CS0108000S","CS0108001H","CS0108001S","CS0108002H","CS0108002S","CS0111M001","CS0111000C","CS0111000H","CS0111000S","CS0111001H","CS0111001S","CS0112M001","CS0112000C","CS0112000H","CS0112000S","CS0113M001","CS0113000C","CS0113000H","CS0113000S","CS0114M001","CS011400HR","CS011400SR","CS0114000C","CS0114000H","CS0114000S","CS0114001H","CS0114001S","CS0114002H","CS0114002S","CS0114003H","CS0114003S","CS0114004H","CS0114004S","CS0114005H","CS0114005S","CS0114006H","CS0114006S","CS011401HR","CS011401SR","CS011402HR","CS011402SR","CS0115M001","CS0115000C","CS0115000H","CS0115000S","CS0115001H","CS0115001S","CS0116M001","CS011600HR","CS011600SR","CS0116000C","CS0116000H","CS0116000S","CS0118M001","CS0118000C","CS0118000H","CS0118000S","CS0119M001","CS011900HR","CS011900SR","CS0119000C","CS0119000H","CS0119000S","CS0119001H","CS0119001S","CS0119002H","CS0119002S","CS0120M001","CS012000HR","CS012000SR","CS0120000C","CS0120000H","CS0120000S","CS012001HR","CS012001SR","CS0121M001","CS012100HR","CS012100SR","CS0121000C","CS0121000H","CS0121000S","CS0122M001","CS0122000C","CS0122000H","CS0122000S","CS0122001H","CS0122001S","CS0122002H","CS0122002S","CS0122003H","CS0122003S","CS0122004H","CS0122004S","CS0122005H","CS0122005S","CS0123M001","CS0123000C","CS0123000H","CS0123000S","CS0125M001","CS0125000C","CS0125000H","CS0125000S","CS0125001C","CS0125001H","CS0125001S","CS0126M001","CS0126000C","CS0126000H","CS0126000S","CS0127M001","CS012700HR","CS012700SR","CS0127000C","CS0127000H","CS0127000S","CS012701HR","CS012701SR","CS0128M001","CS012800HR","CS012800SR","CS0128000H","CS0128000S","CS012801HR","CS012801SR","CS0129M001","CS012900HR","CS012900SR","CS0129000C","CS0129000H","CS0129000S","CS0129001H","CS0129001S","CS0130M001","CS0130000C","CS0130000H","CS0130000S","CS0130001H","CS0130001S","CS0130002H","CS0130002S","CS0130003H","CS0130003S","CS0130004H","CS0130004S","CS0130005H","CS0130005S","CS0130006H","CS0130006S","CS013001HR","CS013001SR","CS013002HR","CS013002SR","CS0131M001","CS0131000C","CS0131000H","CS0131000S","CS0133M001","CS0133000C","CS0133000P","CS0133001P","CS0134M001","CS013400HR","CS013400SR","CS0134000C","CS0134000H","CS0134000S","CS0134001C","CS0134001H","CS0134001S","CS0134002C","CS0134002H","CS0134002S","CS0135M001","CS0135000C","CS0135000P","CS0135001P","CS0136M011","CS0136M012","CS0136010H","CS0136010S","CS0136011H","CS0136011S","CS0136012H","CS0136012S","CS0136013H","CS0136013S","CS0136014H","CS0136014S","CS0136015H","CS0136015S","CS0136016H","CS0136016S","CS013610HR","CS013610SR","CS0137M001","CS0137000C","CS0137000H","CS0137000S","CS0138M001","CS013800HR","CS013800SR","CS0138000C","CS0138000H","CS0138000S","CS013801HR","CS013801SR","CS0139M001","CS0139000C","CS0139000H","CS0139000S","CS0140M001","CS0140000C","CS0140000H","CS0140000S","CS0141M001","CS014100HR","CS014100SR","CS0141000C","CS0141000H","CS0141000S","CS0141001H","CS0141001S","CS0141002H","CS0141002S","CS0141003H","CS0141003S","CS0141004H","CS0141004S","CS0141005H","CS0141005S","CS0141006H","CS0141006S","CS0141007H","CS0141007S","CS0141008H","CS0141008S","CS014101HR","CS014101SR","CS0142M001","CS014200HR","CS014200SR","CS0142000C","CS0142000H","CS0142000S","CS0142001H","CS0142001S","CS0142002H","CS0142002S","CS014201HR","CS014201SR","CS0143M001","CS0143000C","CS0143000H","CS0143000S","CS0144M001","CS014400HR","CS014400SR","CS0144000C","CS0144000H","CS0144000S","CS014401HR","CS014401SR","CS0145M001","CS0145000C","CS0145000H","CS0145000S","CS0147M001","CS0147000C","CS0147000H","CS0147000S","CS014701HR","CS014701SR","CS014702HR","CS014702SR","CS0148M001","CS0148000C","CS0148000H","CS0148000S","CS014800HR","CS014800SR","CS0149M001","CS0149M003","CS0149001C","CS0149001H","CS0149001S","CS0149002H","CS0149002S","CS0149003H","CS0149003S","CS0149004H","CS0149004S","CS0149005H","CS0149005S","CS0149006H","CS0149006S","CS0149007H","CS0149007S","CS0149008H","CS0149008S","CS0149009H","CS0149009S","CS014901HR","CS014901SR","CS0149010H","CS0149010S","CS0149011H","CS0149011S","CS0149012H","CS0149012S","CS014902HR","CS014902SR","CS014903HR","CS014903SR","CS014904HR","CS014904SR","CS014905HR","CS014905SR","CS014906HR","CS014906SR","CS014907HR","CS014907SR","CS014908HR","CS014908SR","CS014909HR","CS014909SR","CS014910HR","CS014910SR","CS014911HR","CS014911SR","CS014912HR","CS014912SR","CS014913HR","CS014913SR","CS014914HR","CS014914SR","CS014915HR","CS014915SR","CS014916HR","CS014916SR","CS014917HR","CS014917SR","CS014918HR","CS014918SR","CS014919HR","CS014919SR","CS0149020H","CS0149020S","CS014920HR","CS014920SR","CS0150M001","CS0150000C","CS0150000H","CS0150000S","CS0151M001","CS0151000C","CS0151000H","CS0151000S","CS0152M001","CS0152001C","CS0152001H","CS0152001S","CS0152002H","CS0152002S","CS0153M001","CS0153001C","CS0153001H","CS0153001S","CS0153002H","CS0153002S","CS0153003H","CS0153003S","CS0153004H","CS0153004S","CS0153005H","CS0153005S","CS0153006H","CS0153006S","CS015301HR","CS015301SR","CS015301HR","CS015301SR","CS0154M001","CS015400HR","CS015400SR","CS0154000C","CS0154000H","CS0154000S","CS0154001H","CS0154001S","CS0154002H","CS0154002S","CS0154003H","CS0154003S","CS0154004H","CS0154004S","CS0154005H","CS0154005S","CS0154006H","CS0154006S","CS0154007H","CS0154007S","CS0154008H","CS0154008S","CS015401HR","CS015401SR","CS015402HR","CS015402SR","CS015403HR","CS015403SR","CS015404HR","CS015404SR","CS015405HR","CS015405SR","CS015406HR","CS015406SR","CS015407HR","CS015407SR","CS015408HR","CS015408SR","CS0155M001","CS0155001C","CS0155001H","CS0155001S","CS015501HR","CS015501SR","CS015502HR","CS015502SR","CS0156M001","CS0156M002","CS0156001C","CS0156001H","CS0156001S","CS0156002H","CS0156002S","CS015601HR","CS015601SR","CS015602HR","CS015602SR","CS015603HR","CS015603SR","CS015604HR","CS015604SR","CS0157M001","CS0157001C","CS0157001H","CS0157001S","CS0157002H","CS0157002S","CS0157003H","CS0157003S","CS0157004H","CS0157004S","CS0157005H","CS0157005S","CS0157006H","CS0157006S","CS0157007H","CS0157007S","CS015701HR","CS015701SR","CS015702HR","CS015702SR","CS0158M001","CS0158001C","CS0158001H","CS0158001S","CS0158002H","CS0158002S","CS0158003H","CS0158003S","CS0159M001","CS0159001C","CS0159001H","CS0159001S","CS0159002C","CS0159002H","CS0159002S","CS0159003C","CS0159003H","CS0159003S","CS0159004C","CS0159004H","CS0159004S","CS0159005C","CS015901HR","CS015901SR","CS0161M001","CS0161M002","CS0161001C","CS0161001H","CS0161001S","CS0161002C","CS0161002H","CS0161002S","CS0161003H","CS0161003S","CS0161004H","CS0161004S","CS0161005H","CS0161005S","CS0161006H","CS0161006S","CS0161007H","CS0161007S","CS0161008H","CS0161008S","CS0161009H","CS0161009S","CS016101HR","CS016101SR","CS016102HR","CS016102SR","CS0162M001","CS0162000C","CS0162000H","CS0162000S","CS0163M001","CS0163001C","CS0163001H","CS0163001S","CS016302HR","CS016302SR","CS0164M001","CS0164001C","CS0164001H","CS0164001S","CS016402HR","CS016402SR","CS016403HR","CS016403SR","CS0165M001","CS0165000C","CS0165000H","CS0165000S","CS0166M001","CS0166001C","CS0166001H","CS0166001S","CS0167M001","CS0167000C","CS0167000H","CS0167000S","CS0168M001","CS016800HR","CS016800SR","CS0168001C","CS0168001H","CS0168001S","CS016801HR","CS016801SR","CS0168002H","CS0168002S","CS0169M001","CS0169001C","CS0169001H","CS0169001S","CS016901HR","CS016901SR","CS016902HR","CS016902SR","CS0170M001","CS017000HR","CS017000SR","CS0170001C","CS0170001H","CS0170001S","CS017001HR","CS017001SR","CS0171M001","CS017100HR","CS017100SR","CS0171001C","CS0171001H","CS0171001S","CS017101HR","CS017101SR","CS0172M001","CS017200HR","CS017200SR","CS0172001C","CS0172001H","CS0172001S","CS017201HR","CS017201SR","CS0173M001","CS017300HR","CS017300SR","CS0173001C","CS0173001H","CS0173001S","CS017301HR","CS017301SR","CS0174M001","CS017400HR","CS017400SR","CS0174001C","CS0174001H","CS0174001S","CS017401HR","CS017401SR","CS0175M001","CS017500HR","CS017500SR","CS0175001C","CS0175001H","CS0175001S","CS0175002H","CS0175002S","CS0175003H","CS0175003S","CS0175004H","CS0175004S","CS0175005H","CS0175005S","CS0175006H","CS0175006S","CS0175007H","CS0175007S","CS017501HR","CS017501SR","CS017502HR","CS017502SR","CS0176M001","CS0176001C","CS0176001H","CS0176001S","CS0177M001","CS0177001C","CS0177001H","CS0177001S","CS0177002H","CS0177002S","CS0177003H","CS0177003S","CS0177004H","CS0177004S","CS0177005H","CS0177005S","CS0177006H","CS0177006S","CS0177007H","CS0177007S","CS0177008H","CS0177008S","CS0177009H","CS0177009S","CS017701HR","CS017701SR","CS017702HR","CS017702SR","CS0178001C","CS0178001H","CS0178001S","CS0178M001","CS0179M001","CS0179001C","CS0179001H","CS0179001S","CS0180M001","CS0180001C","CS0180001H","CS0180001S","CS0181M001","CS0181000C","CS0181001H","CS0181001S","CS0181002H","CS0181002S","CS0181003H","CS0181003S","CS0181004H","CS0181004S","CS0181005H","CS0181005S","CS018101HR","CS018101SR","CS018102HR","CS018102SR","CS0182M001","CS0182000C","CS0182001H","CS0182001S","CS018201HR","CS018201SR","CS018202HR","CS018202SR","CS0183M001","CS0183000C","CS0183001H","CS0183001S","CS0184M001","CS0184000C","CS0184000H","CS0184000S","CS0185M001","CS0185000C","CS0185001H","CS0185001S","CS0186M001","CS0186000C","CS0186000H","CS0186000S","CS0187M001","CS0187000C","CS0187000H","CS0187000S","CS0188M001","CS0188001H","CS0188002H","CS0188003H","CS0188004H","CS0188005H","CS0188006H","CS0188007H","CS0188001S","CS0188002S","CS0188003S","CS0188004S","CS0188005S","CS0188006S","CS0188007S","CS0188000C","CS0188001C","CS0188002C","CS0188003C","CS0188004C","CS0188005C","CS0188006C","CS0188007C","CS018801HR","CS018802HR","CS018803HR","CS018804HR","CS018805HR","CS018806HR","CS018807HR","CS018801SR","CS018802SR","CS018803SR","CS018804SR","CS018805SR","CS018806SR","CS018807SR","CS0189M001","CS0189000C","CS0189001H","CS0189001S","CS0189002H","CS0189002S","CS0189003H","CS0189003S","CS0189004H","CS0189004S","CS0189005H","CS0189005S","CS0189006H","CS0189006S","CS0189007H","CS0189007S","CS0189008H","CS0189008S","CS0189009H","CS0189009S","CS0189010H","CS0189010S","CS018901HR","CS018901SR","CS018902HR","CS018902SR","CS0190000C","CS0190000H","CS0190000S","CS019000HR","CS019000SR","CS019001HR","CS019001SR","CS0190M001","CS0191M001","CS0191000C","CS0191000H","CS0191000S","CS019100HR","CS019100SR","CS0192M001","CS0192000C","CS0192001H","CS0192001S","CS0192002H","CS0192002S","CS0192003H","CS0192003S","CS0192004H","CS0192004S","CS0192005H","CS0192005S","CS0192006H","CS0192006S","CS0192007H","CS0192007S","CS0192008H","CS0192008S","CS0192009H","CS0192009S","CS019201HR","CS019201SR","CS019202HR","CS019202SR","CS019203HR","CS019203SR","CS019204HR","CS019204SR","CS0192010H","CS0192010S","CS0192011H","CS0192011S","CS0193M001","CS0193000C","CS0193001H","CS0193002H","CS0193003H","CS0193004H","CS0193005H","CS0193006H","CS0193001S","CS0193002S","CS0193003S","CS0193004S","CS0193005S","CS0193006S","CS0193001C","CS0193002C","CS0193003C","CS0193004C","CS0193005C","CS019301HR","CS019302HR","CS019303HR","CS019304HR","CS019305HR","CS019301SR","CS019302SR","CS019303SR","CS019304SR","CS019305SR","CS0194M001","CS0194000C","CS0194001H","CS0194001S","CS0194M002","CS0194001C","CS0194002H","CS0194002S","CS0195M001","CS0195000C","CS0195001H","CS0195001S","CS0195002H","CS0195002S","CS0195003H","CS0195003S","CS0195004H","CS0195004S","CS0195005H","CS0195005S","CS0195006H","CS0195006S","CS0195007H","CS0195007S","CS0195008H","CS0195008S","CS019501HR","CS019501SR","CS019503HR","CS019503SR","CS019505HR","CS019505SR","CS0196M001","CS0196000C","CS0196001H","CS0196001S","CS0196002H","CS0196002S","CS0196003H","CS0196003S","CS0196004H","CS0196004S","CS0196005H","CS0196005S","CS0196006H","CS0196006S","CS0196007H","CS0196007S","CS0196008H","CS0196008S","CS0196009H","CS0196009S","CS0196010H","CS0196010S","CS0196011H","CS0196011S","CS0196012H","CS0196012S","CS0196013H","CS0196013S","CS0196014H","CS0196014S","CS0196015H","CS0196015S","CS019601HR","CS019601SR","CS019602HR","CS019602SR","CS019603HR","CS019603SR","CS019604HR","CS019604SR","CS019605HR","CS019605SR","CS019606HR","CS019606SR","CS019607HR","CS019607SR","CS019608HR","CS019608SR","CS019609HR","CS019609SR","CS019610HR","CS019610SR","CS019611HR","CS019611SR","CS019612HR","CS019612SR","CS019613HR","CS019613SR","CS019614HR","CS019614SR","CS0197000C","CS0197001H","CS0197001S","CS0197002H","CS0197002S","CS0197003H","CS0197003S","CS0197004H","CS0197004S","CS0197005H","CS0197005S","CS019701HR","CS019701SR","CS019702HR","CS019702SR","CS0197M001","CS0198M001","CS0198000C","CS0198001H","CS0198001S","CS0198002H","CS0198002S","CS0198003H","CS0198003S","CS0198004H","CS0198004S","CS0198005H","CS0198005S","CS0198006H","CS0198006S","CS0198007H","CS0198007S","CS0199M001","CS0199000C","CS0199001H","CS0199001S","CS0200M001","CS0200001H","CS0200001S","CS0201M001","CS0201000C","CS0201001H","CS0201002H","CS0201003H","CS0201004H","CS0201005H","CS0201006H","CS0201007H","CS0201008H","CS0201001S","CS0201002S","CS0201003S","CS0201004S","CS0201005S","CS0201006S","CS0201007S","CS0201008S","CS020101HR","CS020102HR","CS020103HR","CS020104HR","CS020105HR","CS020106HR","CS020107HR","CS020108HR","CS020109HR","CS020101SR","CS020102SR","CS020103SR","CS020104SR","CS020105SR","CS020106SR","CS020107SR","CS020108SR","CS020109SR","CS0202M001","CS0202000C","CS0202001H","CS0202002H","CS0202003H","CS0202004H","CS0202005H","CS0202006H","CS0202001S","CS0202002S","CS0202003S","CS0202004S","CS0202005S","CS0202006S","CS020201HR","CS020202HR","CS020203HR","CS020204HR","CS020205HR","CS020206HR","CS020201SR","CS020202SR","CS020203SR","CS020204SR","CS020205SR","CS020206SR","CS020207SR","CS0203M001","CS0203000C","CS0203001H","CS0203001S","CS0204M001","CS0204M002","CS0204M003","CS0204001H","CS0204002H","CS0204003H","CS0204004H","CS0204005H","CS0204006H","CS0204001S","CS0204002S","CS0204003S","CS0204004S","CS0204005S","CS0204006S","CS0204001C","CS0204002C","CS0204003C","CS0204004C","CS0204005C","CS0204006C","CS020401HR","CS020402HR","CS020403HR","CS020404HR","CS020405HR","CS020406HR","CS020407HR","CS020408HR","CS020401SR","CS020402SR","CS020403SR","CS020404SR","CS020405SR","CS020406SR","CS020407SR","CS020408SR","CS020409HR","CS020410HR","CS020411HR","CS020412HR","CS020409SR","CS020410SR","CS020411SR","CS020412SR","CS0205001C","CS0205001H","CS0205001S","CS0205002C","CS0205002H","CS0205002S","CS0205003H","CS0205003S","CS0205004H","CS0205004S","CS0205005H","CS0205005S","CS0205006H","CS0205006S","CS0205007H","CS0205007S","CS0205008H","CS0205008S","CS0205009H","CS0205009S","CS0205010H","CS0205010S","CS0205011H","CS0205011S","CS0205012H","CS0205012S","CS0205013H","CS0205013S","CS0205014H","CS0205014S","CS020501HR","CS020501SR","CS020502HR","CS020502SR","CS020503HR","CS020503SR","CS020504HR","CS020504SR","CS020505HR","CS020505SR","CS020506HR","CS020506SR","CS020507HR","CS020507SR","CS020508HR","CS020508SR","CS020509HR","CS020509SR","CS020510HR","CS020510SR","CS020511HR","CS020511SR","CS020512HR","CS020512SR","CS020513HR","CS020513SR","CS020514HR","CS020514SR","CS020515HR","CS020515SR","CS020516HR","CS020516SR","CS020517HR","CS020517SR","CS020518HR","CS020518SR","CS020519HR","CS020519SR","CS020520HR","CS020520SR","CS020521HR","CS020521SR","CS020522HR","CS020522SR","CS020523HR","CS020523SR","CS020524HR","CS020524SR","CS020525HR","CS020525SR","CS020526HR","CS020526SR","CS020527HR","CS020527SR","CS020528HR","CS020528SR","CS020529HR","CS020529SR","CS020530HR","CS020530SR","CS0205M001","CS0205M002","CS0206M001","CS0206000C","CS0206001H","CS0206001S","CS020601HR","CS020601SR","CS020602HR","CS020602SR","CS0206002H","CS0206002S","CS0206003H","CS0206003S","CS0206004H","CS0206004S","CS0207M001","CS0207000C","CS0207001H","CS0207001S","CS0208M001","CS0208000C","CS0208001C","CS0208001H","CS0208001S","CS0208002H","CS0208002S","CS020803HR","CS020803SR","CS020804HR","CS020804SR","CS0208005H","CS0208005S","CS0208006H","CS0208006S","CS0208007H","CS0208007S","CS0208009H","CS0208009S","CS020810HR","CS020810SR","CS020811HR","CS020811SR","CS0208012H","CS0208012S","CS0208013H","CS0208013S","CS0208014H","CS0208014S","CS0208M002","CS0209M001","CS0209000C","CS0209000H","CS0209000S","CS020901HR","CS020902HR","CS020901SR","CS020902SR","CS0210M001","CS0210000C","CS0210001H","CS0210001S","CS021001HR","CS021001SR","CS0209M001","CS0209M002","CS0209000C","CS0209000H","CS0209000S","CS020900HR","CS020900SR","CS0209001H","CS0209001S","CS020901HR","CS020901SR","CS0209002H","CS0209002S","CS020902HR","CS020902SR","CS0209003H","CS0209003S","CS020903HR","CS020903SR","CS0209004H","CS0209004S","CS020904HR","CS020904SR","CS0209005H","CS0209005S","CS020905HR","CS020905SR","CS0209006H","CS0209006S","CS020906HR","CS020906SR","CS0209007H","CS0209007S","CS020907HR","CS020907SR","CS0209008H","CS0209008S","CS020908HR","CS020908SR","CS0209009H","CS0209009S","CS020909HR","CS020909SR","CS0212M001","CS0212000C","CS0212001H","CS0212001S","CS0213001H","CS0213001S","CS0213002H","CS0213002S","CS0213003H","CS0213003S","CS0213004H","CS0213004S","CS0213005H","CS0213005S","CS0213006H","CS0213006S","CS0213007H","CS0213007S","CS0213008H","CS0213008S","CS021301HR","CS021301SR","CS021302HR","CS021302SR","CS021303HR","CS021303SR","CS021304HR","CS021304SR","CS0213000C","CS0214M001","CS021401HR","CS021401HR","CS0214002H","CS0214003H","CS0214001S","CS0214004H","CS0214005H","CS0214006H","CS0214007H","CS0214008H","CS0214000C","CS0215M001","CS0215000C","CS0215001H","CS0215001S","CS0216M001","CS0216000C","CS0216001H","CS0216001S","CS021600HR","CS021600SR","CS0217M001","CS0217000C","CS0217001H","CS0217001S","CS0217002H","CS0217002S","CS0217003H","CS0217003S","CS0217004H","CS0217004S","CS0217005H","CS0217005S","CS0217006H","CS0217006S","CS0217007H","CS0217007S","CS0217008H","CS0217008S","CS0217009H","CS0217009S","CS021701HR","CS021701SR","CS021702HR","CS021702SR","CS0218M001","CS0218000C","CS0218001H","CS0218001S","CS0218002H","CS0218002S","CT2239000H","CT2239000S","CT2239001H","CT2239001S","CT2239002H","CT2239002S","CT2239003H","CT2239003S","CT2239004H","CT2239004S","CT2239005H","CT2239005S","CT2239006H","CT2239006S","CT2239000C","CT223900HR","CT223900SR","CT223901HR","CT223901SR","CT2239M001","CT2246000H","CT2246000S","CT2246000C","CT2246M001","CT2252M001","CT2252000C","CT2252000H","CT2252000S","L00125M001","L0012500HR","L0012500SR","L00125000C","L00125000H","L00125000S","L00125001H","L00125001S","L00125002H","L00125002S","L00125003H","L00125003S","L00125004H","L00125004S","L00125005H","L00125005S","L0012501HR","L0012501SR","L00268M001","L00268000C","L00268000H","L00268000S","L00268001H","L00268001S","L00283M001","L00283000C","L00283000H","L00283000S","L00284M001","L00284000C","L00284000H","L00284000S","L00285M001","L00285000C","L00285000H","L00285000S","L00285001H","L00285001S","L00285002H","L00285002S","L00334M001","L0033400HR","L0033400SR","L00334000C","L00334000H","L00334000S","L00334001H","L00334001S","L00334002H","L00334002S","L00334003H","L00334003S","L00334004H","L00334004S","L0033401HR","L0033401SR","L00357M001","L00357000H","L00357000S","L00357001H","L00357001S","L00367M001","L0036700HR","L0036700SR","L00367000C","L00367000H","L00367000S","L00367001H","L00367001S","L00367002H","L00367002S","L0036701HR","L0036701SR","L0036702HR","L0036702SR","L0036703HR","L0036703SR"],J=e=>{switch(e){case Q.w.FULL_MATCH:case Q.w.ELIGIBLE_MATCH:return!0;case Q.w.PERSON_MATCH:case Q.w.INSURANCE_MATCH:case Q.w.EXPIRED:case Q.w.NOT_FOUND:default:return!1}},$=e=>{var t,a,r;return!!e&&(null==(t=e.coverage)?void 0:t.status)==="Active"&&(null==(a=e.payer)?void 0:a.payerName)==="BCBS of Connecticut"&&G.includes(null==(r=e.coverage)?void 0:r.groupNumber)},Z=e=>{let{matchType:t,benefitsCheck:a}=e;return J(t)||$(a)},ee=e=>e.substring(3),et=e=>{let{matchType:t,benefitsCheck:a}=e,r=J(t),i=$(a);return r&&i?Q.h.EvolveAndPverify:i?Q.h.Pverify:r?Q.h.Evolve:void 0};var ea=function(e){return e.CreateLead="createLead",e.CreateContact="createContact",e.UpdateContact="updateContact",e.DetermineContactOrLead="determineContactOrLead",e.FetchConsents="fetchConsents",e.UpdateEmail="updateEmail",e.CheckEligibility="checkEligibility",e.CheckBenefits="checkBenefits",e}(ea||{});let er={...W.f,...ea},ei=_.Ek[O.fz.CareCompass],eo={formData:{birthdate:"",comorbidity:"",currentWeightInPounds:"",dateOfHighestWeightValue:"",email:"",firstName:"",heightInFoot:"",heightInInch:"",highestWeightInPounds:"",insuranceCoverage:void 0,insuranceMemberID:"",insurance:void 0,lastName:"",phone:"",state:void 0,termsAgreement:!1,howDidYouFindUS:"",comorbidities:[],diabetes:"",bariatricSurgery:""},eligibilityCheckMatchType:void 0,bmi:void 0,benefitsCheck:void 0,otpData:void 0,consentsData:{items:[],userConsentStatus:[]},contactData:{},passwordData:{password:void 0,confirmPassword:void 0},flyteUserData:void 0,error:void 0,labs:void 0},en={...Y.AU,...Y.gQ,...Y.pE,...Y.UH,...Y.yF,...Y.n6,...Y.uN,...Y.yS,...Y.RW,...Y.i_,...(0,Y.rS)(eo).reset},es=(0,V.mj)({types:{},guards:{isPreEligibilityMet:e=>{let{context:{formData:t,bmi:a}}=e;return q.J0.careCompass({bmi:a,comorbidity:t.comorbidity,birthdate:t.birthdate})},isApplicationReviewRequired:e=>{let{context:{eligibilityCheckMatchType:t,benefitsCheck:a,formData:r}}=e;return!z.A.shouldBypassIsApplicationReviewRequired({email:r.email})&&!Z({matchType:t,benefitsCheck:a})},isApplicationDetected:N.L,isAthenaRecordCreated:U.z},actions:en}).createMachine({context:()=>eo,id:"careCompassMachine",initial:er.PreEligibility,states:{[er.PreEligibility]:{id:er.PreEligibility,initial:er.Idle,states:{[er.Idle]:{on:{SUBMIT:{target:er.Submitting,actions:"updateFormData"}}},[er.Submitting]:{entry:"assignBMI",always:[{target:"#".concat(er.ContactDetails),guard:"isPreEligibilityMet"},{target:"#".concat(er.EligibilityUnmet)}]}}},[er.ContactDetails]:{id:er.ContactDetails,initial:er.Idle,states:{[er.Idle]:{on:{SUBMIT:{target:"#".concat(er.InsuranceDetails),actions:"updateFormData"}}}}},[er.InsuranceDetails]:{id:er.InsuranceDetails,initial:er.Idle,states:{[er.Idle]:{on:{BACK:{target:"#".concat(er.ContactDetails)},SUBMIT:{target:"#".concat(er.InsuranceDetailsReview),actions:"updateFormData"}}}}},[er.InsuranceDetailsReview]:{id:er.InsuranceDetailsReview,initial:er.Idle,states:{[er.Idle]:{on:{SUBMIT:{actions:"updateFormData",target:er.Submitting}}},[er.Submitting]:{type:"parallel",states:{[er.CheckEligibility]:{id:er.CheckEligibility,initial:er.Idle,states:{[er.Idle]:{invoke:{src:(0,X.Sx)(async e=>{let{input:t}=e,a={...t,insuranceMemberID:ee(t.insuranceMemberID),insurance:_.w[O.fz.CareCompass],benefitProgram:_.Nl[O.fz.CareCompass]};return await (0,P.w)(a)}),input:e=>{let{context:{formData:t}}=e;return t},onDone:{actions:(0,K.a)({eligibilityCheckMatchType:e=>{let{event:t}=e;return t.output.data.matchType}}),target:er.Success},onError:er.Success}},[er.Success]:{type:"final"}}},[er.CheckBenefits]:{id:er.CheckBenefits,initial:er.Idle,states:{[er.Idle]:{invoke:{src:(0,X.Sx)(async e=>{let{input:t}=e,a={...t,payerCode:_.dT[O.lk.Anthem]};return await (0,D.R)(a)}),input:e=>{let{context:{formData:t}}=e;return t},onDone:{actions:(0,K.a)({benefitsCheck:e=>{let{event:t}=e;return t.output.data}}),target:er.Success},onError:{target:er.Success}}},[er.Success]:{type:"final"}}}},onDone:{target:"#".concat(er.DetermineContactOrLead)}},[er.DetermineContactOrLead]:{id:er.DetermineContactOrLead,always:[{guard:"isApplicationReviewRequired",target:er.CreateLead},{target:er.CreateContact}]},[er.CreateLead]:{id:er.CreateLead,invoke:{src:(0,X.Sx)(async e=>{let{input:t}=e,a=ee(t.formData.insuranceMemberID),r={...t.formData,...t.formData.insuranceMemberID&&{employmentVerificationCode:a,insuranceMemberID:a},...t.benefitsCheck&&{benefitsCheck:t.benefitsCheck},eligibilityVerifiedBy:et({matchType:t.eligibilityCheckMatchType,benefitsCheck:t.benefitsCheck}),company:ei,insurance:_.Ft[O.fz.CareCompass],evolveOrganization:O.PM["State of Connecticut"],leadStatus:O.XN.EligibleWaiting,automateEvolveEnrollment:!1};return await (0,F.t)(r)}),input:e=>{let{context:t}=e;return t},onDone:"#".concat(er.ApplicationReview),onError:[{guard:"isApplicationDetected",target:"#".concat(er.ApplicationDetected)},{target:"#".concat(er.InsuranceDetailsReview,".").concat(er.Error)}]}},[er.CreateContact]:{id:er.CreateContact,invoke:{src:(0,X.Sx)(async e=>{let{input:t}=e,a=ee(t.formData.insuranceMemberID),r={...t.formData,...t.formData.insuranceMemberID&&{employmentVerificationCode:a,insuranceMemberID:a},...t.benefitsCheck&&{benefitsCheck:t.benefitsCheck},eligibilityVerifiedBy:et({matchType:t.eligibilityCheckMatchType,benefitsCheck:t.benefitsCheck}),company:ei,insurance:_.Ft[O.fz.CareCompass],evolveOrganization:O.PM["State of Connecticut"],accountId:_.f3[O.fz.CareCompass]};return await (0,k.vY)(r)}),input:e=>{let{context:t}=e;return t},onDone:{actions:"assignContactData",target:"#".concat(er.EmailVerification)},onError:[{guard:"isApplicationDetected",target:"#".concat(er.ApplicationDetected)},{target:"#".concat(er.InsuranceDetailsReview,".").concat(er.Error)}]}},[er.Error]:{id:"".concat(er.InsuranceDetailsReview,".").concat(er.Error),on:{SUBMIT:{actions:["updateFormData","resetBenefitsCheck"],target:er.Submitting}}}}},[er.EmailVerification]:{id:er.EmailVerification,initial:er.Idle,states:{[er.Idle]:{id:"".concat(er.EmailVerification,".").concat(er.Idle),on:{SUBMIT:{actions:"assignOtpCode",target:er.Submitting},RESEND_EMAIL_VERIFICATION:{target:er.Idle,reenter:!0},UPDATE_EMAIL:{target:er.UpdateEmail}},invoke:{input:e=>{var t;let{context:a,event:r}=e;return{email:a.formData.email,firstName:a.formData.firstName,onSuccess:null==r||null==(t=r.data)?void 0:t.onSuccess}},src:(0,X.Sx)(async e=>{let{input:t}=e,a={email:t.email,firstName:t.firstName};return{token:(await (0,L.v)(a)).data.token,onSuccess:t.onSuccess}}),onDone:{actions:[(0,K.a)({otpData:e=>{let{context:t,event:a}=e;return{...t.otpData,token:a.output.token}}}),e=>{var t;let{event:a}=e;(null==a||null==(t=a.output)?void 0:t.onSuccess)&&a.output.onSuccess()}]},onError:er.Error}},[er.Submitting]:{invoke:{src:(0,X.Sx)(async e=>{let{input:t}=e,a={email:t.formData.email,token:t.otpData.token,otp:t.otpData.otp};return await (0,M.R)(a)}),input:e=>{let{context:t}=e;return t},onDone:"#".concat(er.OnboardingChecklist),onError:er.Error}},[er.Error]:{on:{SUBMIT:{actions:"assignOtpCode",target:er.Submitting},RESEND_EMAIL_VERIFICATION:{target:er.Idle},UPDATE_EMAIL:{target:er.UpdateEmail}}},[er.UpdateEmail]:{initial:er.Idle,states:{[er.Idle]:{invoke:{input:e=>{let{context:t,event:a}=e;return{contactId:t.contactData.contactId,email:a.data.email,onSuccess:a.data.onSuccess}},src:(0,X.Sx)(async e=>{let{input:t}=e,a={contactId:t.contactId,email:t.email};return await (0,k.CI)(a),{email:t.email,onSuccess:t.onSuccess}}),onDone:{actions:["assignNewEmail",e=>{var t;let{event:a}=e;(null==a||null==(t=a.output)?void 0:t.onSuccess)&&a.output.onSuccess()}],target:"#".concat(er.EmailVerification,".").concat(er.Idle)},onError:er.Error}},[er.Error]:{on:{SUBMIT:{target:"#".concat(er.EmailVerification,".").concat(er.Idle)},RESEND_EMAIL_VERIFICATION:{target:"#".concat(er.EmailVerification,".").concat(er.Idle)},UPDATE_EMAIL:{target:er.Idle}}}}}}},[er.ReviewConsents]:{id:er.ReviewConsents,initial:er.FetchConsents,states:{[er.Idle]:{on:{SUBMIT:{actions:["assignUserConsentStatus"],target:er.Submitting}}},[er.FetchConsents]:{invoke:{src:(0,X.Sx)(async()=>await (0,E.i)()),onDone:{actions:"assignConsents",target:er.Idle},onError:er.Error}},[er.Submitting]:{invoke:{src:(0,X.Sx)(async e=>{let{input:t}=e,a={patientIdentifier:t.contactData.contactId,firstName:t.formData.firstName,lastName:t.formData.lastName,phone:t.formData.phone,email:t.formData.email,birthDate:t.formData.birthdate,state:t.formData.state,heightInInch:t.formData.heightInInch,heightInFeet:t.formData.heightInFoot,currentWeightInPounds:t.formData.currentWeightInPounds,evolveOrganization:O.PM["State of Connecticut"],consents:t.consentsData.userConsentStatus};return await (0,B.Y)(a)}),input:e=>{let{context:t}=e;return t},onDone:[{actions:"assignFlyteUserData",target:er.UpdateContact}],onError:"#".concat(er.OnboardingUserError)}},[er.UpdateContact]:{invoke:{src:(0,X.Sx)(async e=>{let{input:t}=e,a={contactId:t.contactData.contactId,evolvePatientID:t.flyteUserData.patientId};return await (0,k.CI)(a)}),input:e=>{let{context:t}=e;return t},onDone:[{guard:"isAthenaRecordCreated",target:"#".concat(er.CreatePassword)},{target:"#".concat(er.OnboardingUserError)}],onError:"#".concat(er.OnboardingUserError)}},[er.Error]:{on:{SUBMIT:{actions:["assignUserConsentStatus"],target:er.Submitting}}}}},[er.CreatePassword]:{id:er.CreatePassword,initial:er.Idle,states:{[er.Idle]:{on:{SUBMIT:{actions:"assignPasswordData",target:er.Submitting}}},[er.Submitting]:{invoke:{src:(0,X.Sx)(async e=>{let{input:t}=e,a={email:t.formData.email,password:t.passwordData.password,confirmPassword:t.passwordData.confirmPassword};return await (0,T.I)(t.flyteUserData.verifyToken,a)}),input:e=>{let{context:t}=e;return t},onDone:"#".concat(er.RequestLabs),onError:{target:er.Error,actions:"assignError"}}},[er.Error]:{on:{SUBMIT:{actions:["resetError","assignPasswordData"],target:er.Submitting}}}}},[er.OnboardingChecklist]:{id:er.OnboardingChecklist,on:{SUBMIT:{target:"#".concat(er.ReviewConsents)}}},[er.RequestLabs]:{id:er.RequestLabs,on:{PROCEED_TO_SUBMIT_LABS:"#".concat(er.SubmitLabs),LAB_REQUESTED:{target:"#".concat(er.AppDownload),actions:"assignLabLocation"},SUBMIT_LABS_LATER:{actions:"assignLabsSkipped",target:"#".concat(er.AppDownload)}}},[er.SubmitLabs]:{id:er.SubmitLabs,on:{GO_BACK_TO_REQUEST_LABS:"#".concat(er.RequestLabs),LAB_SUBMITTED:{actions:"registerLabsUploaded",target:"#".concat(er.AppDownload)},SUBMIT_LABS_LATER:{actions:"assignLabsSkipped",target:"#".concat(er.AppDownload)}}},[er.AppDownload]:{id:er.AppDownload},[er.OnboardingUserError]:{id:er.OnboardingUserError},[er.ApplicationReview]:{id:er.ApplicationReview},[er.ApplicationComplete]:{id:er.ApplicationComplete},[er.ApplicationDetected]:{id:er.ApplicationDetected},[er.EligibilityUnmet]:{id:er.EligibilityUnmet,initial:er.Idle,states:{[er.Idle]:{on:{SUBMIT:{target:er.Submitting,actions:"updateFormData"}}},[er.Submitting]:{invoke:{src:(0,X.Sx)(async e=>{let{input:t}=e,a={...t,company:ei,leadStatus:O.XN.Ineligible,ineligibilityReason:O.hT.BMI,automateEvolveEnrollment:!1};return await (0,F.t)(a)}),input:e=>{let{context:{formData:t}}=e;return t},onDone:er.Success,onError:er.Error}},[er.Success]:{},[er.Error]:{on:{SUBMIT:{actions:"updateFormData",target:er.Submitting}}}}}},on:{RESET:{target:"#".concat(er.PreEligibility),actions:"reset"}}});var eS=a(69443);let el={[j.C.PreEligibility]:{title:(0,r.jsxs)(i.TextPairing,{variant:"textpairing-header-2XL",children:[(0,r.jsx)(i.TextPairing.Label,{color:"text-primary",children:"Let's make sure you're eligible for the FlyteHealth program."}),(0,r.jsx)(i.TextPairing.SubLabel,{color:"text-secondary",children:"To be eligible for the FlyteHealth program through your State of Connecticut Health Plan benefits, you must meet specific age and Body Mass Index (BMI)* requirements."})]}),bmiEnrollmentDisclaimer:(0,r.jsx)(i.Text,{variant:"text-body-meta-regular",color:"text-secondary",children:"*We acknowledge that Body Mass Index (BMI) is an imperfect way to screen for excess weight. FlyteHealth providers do not use BMI alone as a measure of overall health. Instead, BMI is used as a data point to see if someone is eligible to join the FlyteHealth program. Once someone joins the program, we'll ask each person more about their health to create a personalized treatment plan."})},[j.C.EligibilityUnmet]:{title:(0,r.jsxs)(i.TextPairing,{variant:"textpairing-header-2XL",children:[(0,r.jsx)(i.TextPairing.Label,{color:"text-secondary-negative",children:"Unfortunately, you are not eligible to join FlyteHealth at this time."}),(0,r.jsx)(i.TextPairing.SubLabel,{color:"text-secondary",children:"The FlyteHealth program requires a minimum BMI of 27+ (plus one or more weight-related health conditions) or a BMI of 30+."})]}),alert:(0,r.jsx)(()=>(0,r.jsxs)(i.Alert,{status:"info",variant:"subtle",bgColor:"background-action-hover",p:"spacer-5",flexDirection:{base:"column",md:"row"},gap:{base:"spacer-3",md:"spacer-5"},alignItems:{base:"flex-start"},children:[(0,r.jsx)(i.Image,{width:"70.56px",height:"auto",src:"/static/assets/insurance-cards.png",alt:"Insurance cards illustration"}),(0,r.jsxs)(i.Flex,{direction:"column",flex:"1",children:[(0,r.jsx)(i.Alert.Title,{textStyle:"text-body-large-bold",mb:"spacer-1",children:"Additional State of Connecticut Benefits"}),(0,r.jsx)(i.Alert.Description,{mb:"spacer-3",children:"While the FlyteHealth program isn't a match for you today, the State of Connecticut Health Plan offers a wide range of options that might suit your needs."}),(0,r.jsx)(i.Link,{href:"https://carecompass.ct.gov/state/medical/",color:"text-link-primary-default",isExternal:!0,trailingIcon:(0,r.jsx)(i.IconArrowRight,{color:"text-link-primary-default"}),children:"Learn More"})]})]}),{})},[j.C.ContactDetails]:{title:(0,r.jsxs)(i.TextPairing,{variant:"textpairing-header-2XL",children:[(0,r.jsx)(i.TextPairing.Label,{color:"text-secondary-negative",children:"Congratulations! You're eligible for the FlyteHealth program"}),(0,r.jsx)(i.TextPairing.SubLabel,{color:"text-secondary",children:"To help us match your information with your employer, tell us about yourself. Next, we'll ask about your Anthem membership. Be sure to have your insurance card handy."})]})},[j.C.InsuranceDetails]:{title:(0,r.jsxs)(i.Text,{variant:"text-header-2XL",color:"text-secondary-negative",children:["One more thing:"," ",(0,r.jsx)(i.Text,{as:"span",variant:"text-header-2XL",color:"text-primary",children:"What's your Anthem membership number?"})]})},[j.C.InsuranceDetailsReview]:{title:(0,r.jsxs)(i.TextPairing,{variant:"textpairing-header-2XL",children:[(0,r.jsx)(i.TextPairing.Label,{children:"Let's review: Is your info correct?"}),(0,r.jsx)(i.TextPairing.SubLabel,{color:"text-secondary",children:"Please double-check the information you provided to make sure everything is correct."})]})},[j.C.ApplicationComplete]:{title:(0,r.jsxs)(i.TextPairing,{variant:"textpairing-header-2XL",children:[(0,r.jsx)(i.TextPairing.Label,{color:"text-secondary-negative",children:"Welcome aboard! We're so excited you're here."}),(0,r.jsx)(i.TextPairing.SubLabel,{color:"text-secondary",children:"Next, we need to confirm your email. Click the link we sent to:"})]}),description:(0,r.jsx)(i.Text,{mt:"spacer-8",color:"text-secondary",variant:"text-body-regular",children:"Can’t find the email? Make sure to check your Spam folder."})},[j.C.ApplicationReview]:{title:(0,r.jsxs)(i.TextPairing,{variant:"textpairing-header-2XL",children:[(0,r.jsx)(i.TextPairing.Label,{color:"text-primary",children:"You're almost finished!"}),(0,r.jsx)(i.TextPairing.SubLabel,{color:"text-secondary",children:"We've received your application, but we need a little more information from you to move forward. Please call us to complete the application process."})]})},[j.C.ApplicationDetected]:{title:(0,r.jsx)(i.Text,{variant:"text-header-2XL",color:"text-primary",children:"We found an existing account for:"}),description:(0,r.jsx)(i.Text,{variant:"text-body-display-S",color:"text-secondary",children:"It looks like you already have an account with us. To continue or update your registration details, please contact our Care Coordinator team."})},[j.C.EmailVerification]:eS.M[j.C.EmailVerification],[j.C.OnboardingChecklist]:eS.M[j.C.OnboardingChecklist],[j.C.CreatePassword]:eS.M[j.C.CreatePassword],[j.C.AppDownload]:eS.M[j.C.AppDownload],[j.C.ReviewConsents]:eS.M[j.C.ReviewConsents]};var ec=a(82393);let eC=[f.UX.EmailMailer,f.UX.CoworkerReferral,f.UX.ProviderReferral,f.UX.QuantumHealth,f.UX.WordOfMouth,f.UX.Pharmacy,f.UX.BenefitsWebsite,f.UX.Other],ed={maxLength:13,minLength:13,registerOptions:{minLength:{value:13,message:"Enter the 13-character member ID number."},maxLength:{value:13,message:"Enter the 13-character member ID number."}},inputMode:"text",maskOptions:{mask:/^[a-z0-9]+$/i},label:"Anthem Membership ID Number",placeholder:"Insurance ID"},em={[j.C.ContactDetails]:{state:{options:ec.rI},howDidYouFindUs:{options:eC}},[j.C.InsuranceDetails]:{insuranceMemberID:{...ed,tooltip:(0,r.jsxs)(i.Box,{children:[(0,r.jsx)(i.Text,{variant:"text-body-meta-regular",color:"text-light",children:"Where to find my Membership ID Number:"}),(0,r.jsx)(i.Image,{width:"100%",height:"auto",src:"https://images.ctfassets.net/0t897tgc80v7/7uNdTqwf8eRDlvJB51S69E/972a00db0acaa4136dd531435cc22d36/anthem_member_id_13_char.png",alt:"Member ID guidance"})]}),description:(0,r.jsx)(i.Text,{variant:"text-body-meta-regular",color:"text-secondary",children:"Enter the 13-character Member ID number as displayed on your Anthem Membership ID Card."})}},[j.C.InsuranceDetailsReview]:{insuranceMemberID:ed}},eu=f.fz.CareCompass,eH=e=>{let{render:t}=e,[a,T]=(0,I.zl)(es),L=(0,w.useMemo)(()=>(0,A.r)(a.value),[a.value]);(0,v.t)(L,eu);let M=(0,w.useCallback)(e=>{T({type:"SUBMIT",data:e})},[T]),D=(0,w.useCallback)(()=>{T({type:"BACK"})},[T]),E=(0,w.useCallback)(()=>{switch(L){case er.PreEligibility:return(0,r.jsx)(g.P,{configuration:{contentResources:el[j.C.PreEligibility]},onSubmit:M});case er.ContactDetails:return(0,r.jsx)(C.x,{configuration:{contentResources:el[j.C.ContactDetails],fields:em[j.C.ContactDetails]},onSubmit:M,defaultValues:a.context.formData});case er.EligibilityUnmet:return(0,r.jsx)(m.B,{configuration:{contentResources:el[j.C.EligibilityUnmet]},onSubmit:M,loading:a.matches({[er.EligibilityUnmet]:er.Submitting}),isEmailSent:a.matches({[er.EligibilityUnmet]:er.Success}),hasError:a.matches({[er.EligibilityUnmet]:er.Error}),isMobileFooterSticky:!1});case er.InsuranceDetails:return(0,r.jsx)(H.d,{configuration:{contentResources:el[j.C.InsuranceDetails],fields:em[j.C.InsuranceDetails]},onSubmit:M,onBack:D});case er.InsuranceDetailsReview:return(0,r.jsx)(h.h,{configuration:{contentResources:el[j.C.InsuranceDetailsReview],fields:em[j.C.InsuranceDetailsReview]},onSubmit:M,loading:a.matches({[er.InsuranceDetailsReview]:er.Submitting})||a.matches({[er.InsuranceDetailsReview]:er.CreateLead})||a.matches({[er.InsuranceDetailsReview]:er.CreateContact}),hasError:a.matches({[er.InsuranceDetailsReview]:er.Error}),defaultValues:a.context.formData});case er.ApplicationComplete:return(0,r.jsx)(n.Q,{...el[j.C.ApplicationComplete],email:a.context.formData.email});case er.ApplicationReview:return(0,r.jsx)(S.l,{...el[j.C.ApplicationReview]});case er.ApplicationDetected:return(0,r.jsx)(s.r,{...el[j.C.ApplicationDetected],email:a.context.formData.email});case er.EmailVerification:return(0,r.jsx)(u.e,{configuration:{contentResources:{title:el[j.C.EmailVerification](a.context.formData.email).title}},email:a.context.formData.email,hasError:a.matches({[er.EmailVerification]:er.Error}),loading:a.matches({[er.EmailVerification]:er.Submitting}),isUpdateEmailLoading:a.matches({[er.EmailVerification]:{[er.UpdateEmail]:er.Idle}}),hasUpdateEmailError:a.matches({[er.EmailVerification]:{[er.UpdateEmail]:er.Error}}),onSubmit:M,onResendCode:e=>T({type:"RESEND_EMAIL_VERIFICATION",data:{onSuccess:e}}),onEditEmail:(e,t)=>T({type:"UPDATE_EMAIL",data:{email:e,onSuccess:t}})});case er.OnboardingChecklist:return(0,r.jsx)(p.E,{showLabs:!0,configuration:{contentResources:el[j.C.OnboardingChecklist]},onSubmit:M});case er.ReviewConsents:return(0,r.jsx)(y.U,{configuration:{contentResources:el[j.C.ReviewConsents]},consents:a.context.consentsData.items,hasError:a.matches({[er.ReviewConsents]:er.Error}),loading:a.matches({[er.ReviewConsents]:er.FetchConsents})||a.matches({[er.ReviewConsents]:er.Submitting})||a.matches({[er.ReviewConsents]:er.UpdateContact}),onSubmit:M});case er.CreatePassword:return(0,r.jsx)(d.i,{configuration:{contentResources:el[j.C.CreatePassword]},loading:a.matches({[er.CreatePassword]:er.Submitting}),error:a.context.error,onSubmit:M});case er.AppDownload:return(0,r.jsx)(o.a,{title:"SUBMIT_LATER"===a.context.labs?el[j.C.AppDownload].titleLabSkipped:"LABS_UPLOADED"===a.context.labs?el[j.C.AppDownload].titleLabSubmitted:el[j.C.AppDownload].titleLabRequested,checklist:el[j.C.AppDownload].checklist});case er.OnboardingUserError:return(0,r.jsx)(x.C,{});case er.RequestLabs:var e;return(0,r.jsx)(b.I,{organizationName:"State of Connecticut",patientId:null==(e=a.context.flyteUserData)?void 0:e.patientId,onProceedToSubmitLabs:()=>T({type:"PROCEED_TO_SUBMIT_LABS"}),onLabRequested:e=>T({type:"LAB_REQUESTED",data:{lab:e}}),formData:a.context.formData});case er.SubmitLabs:return(0,r.jsx)(R.x,{onGoBackToRequestLabs:()=>T({type:"GO_BACK_TO_REQUEST_LABS"}),onSubmitLabsLater:()=>T({type:"SUBMIT_LABS_LATER"}),onLabSubmitted:()=>T({type:"LAB_SUBMITTED"}),patientId:a.context.flyteUserData.patientId,diabetes:"yes"===a.context.formData.diabetes,bariatric:"yes"===a.context.formData.bariatricSurgery});default:return null}},[L,a]);return t({header:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i.Flex,{gap:"spacer-5",alignItems:"center",children:[(0,r.jsx)(l.E,{partner:f.fz.Flyte}),(0,r.jsx)(i.Divider,{orientation:"vertical",alignSelf:"stretch",height:"auto"}),(0,r.jsx)(l.E,{partner:eu})]}),(0,r.jsx)(c.nV,{currentStep:L})]}),body:E(),currentWorkFlowStep:L})}},79598:(e,t,a)=>{a.d(t,{E:()=>c,k:()=>S});var r=a(37876),i=a(19847),o=a(34305),n=a(54587),s=a.n(n);a(14232);let S={[o.fz.Flyte]:"/static/assets/programs/flyte/flyte-logo.png",[o.fz.CareCompass]:"/static/assets/programs/care-compass/care-compass-logo.png",[o.fz.PequotHealthCare]:"/static/assets/programs/pequot/pequot-logo.png",[o.fz.RiverSpringLiving]:"/static/assets/programs/riverspring/riverspring-logo.png",[o.fz.Aetna]:"/static/assets/programs/aetna/aetna-logo.png",[o.fz.PyleFamilyInsurance]:"/static/assets/programs/pyle/pyle-logo.png",[o.fz.MDSave]:"/static/assets/programs/mdsave/mdsave-logo.png",[o.fz.ChristianaCare]:"/static/assets/programs/christiana-care/christiana-care-logo.png",[o.fz.Emory]:"/static/assets/programs/emory/emory-logo.png",[o.fz.KaiserPermanente]:"/static/assets/kaiser-logo.png",[o.fz.Sone]:"/static/assets/sone-logo.png",[o.fz["1199SEIU"]]:"/static/assets/programs/seiu/seiu-logo.png"},l={[o.fz.Flyte]:{width:{base:95,lg:99},height:{base:27,lg:28}},[o.fz.CareCompass]:{width:{base:44,lg:44},height:{base:44,lg:44}},[o.fz.Aetna]:{width:{base:111,lg:143},height:{base:28,lg:36}},[o.fz.RiverSpringLiving]:{width:{base:184,lg:184},height:{base:23,lg:23}},[o.fz.PequotHealthCare]:{width:{base:103,lg:103},height:{base:40,lg:40}},[o.fz.PyleFamilyInsurance]:{width:{base:118,lg:118},height:{base:36,lg:36}},[o.fz.MDSave]:{width:{base:44,lg:44},height:{base:44,lg:44}},[o.fz.ChristianaCare]:{width:{base:169,lg:169},height:{base:32,lg:32}},[o.fz.Emory]:{width:{base:101,lg:101},height:{base:22,lg:22}},[o.fz["1199SEIU"]]:{width:{base:200,lg:210},height:{base:39,lg:40}}},c=e=>{let{partner:t}=e,a=(0,i.a)(),o=S[t]||S.flyte,n=l[t]||l.flyte;return(0,r.jsx)(s(),{src:o,width:a?n.width.base:n.width.lg,height:a?n.height.base:n.height.lg,alt:"".concat(t," Logo")})}},80072:(e,t,a)=>{a.d(t,{C:()=>r});var r=function(e){return e.WorkflowSelector="workflowSelector",e.PreEligibility="preEligibility",e.ContactDetails="contactDetails",e.InsuranceDetails="insuranceDetails",e.InsuranceDetailsReview="insuranceDetailsReview",e.ApplicationReview="applicationReview",e.ApplicationComplete="applicationComplete",e.ApplicationDetected="applicationDetected",e.EligibilityUnmet="eligibilityUnmet",e.EmailVerification="emailVerification",e.OnboardingChecklist="onboardingChecklist",e.CreatePassword="createPassword",e.AppDownload="appDownload",e.ReviewConsents="reviewConsents",e.OnboardingUserError="onboardingUserError",e.RequestLabs="requestLabs",e.SubmitLabs="submitLabs",e}({})},80075:(e,t,a)=>{a.d(t,{nV:()=>l});var r=a(37876),i=a(37477),o=a(40917),n=a(80072);a(14232);let s=[{label:"Age & BMI",icon:i.IconScaleOutline},{label:"Personal Details",icon:i.IconId},{label:"Insurance Info",icon:i.IconClipboardPlus}],S=[{label:"CARE AGREEMENTS",icon:i.IconFile},{label:"CREATE PASSWORD",icon:i.IconLock},{label:"LABS",icon:i.IconPill},{label:"DOWNLOAD APP",icon:i.IconDownload}],l=e=>{let{currentStep:t}=e;switch(t){case n.C.PreEligibility:return(0,r.jsx)(o.s,{currentStep:"Age & BMI",steps:s});case n.C.ContactDetails:return(0,r.jsx)(o.s,{currentStep:"Personal Details",steps:S});case n.C.InsuranceDetails:return(0,r.jsx)(o.s,{currentStep:"Insurance Info",steps:S});case n.C.RequestLabs:case n.C.SubmitLabs:return(0,r.jsx)(o.s,{currentStep:"LABS",steps:S});case n.C.AppDownload:return(0,r.jsx)(o.s,{currentStep:"DOWNLOAD APP",steps:S});default:return null}}},81488:(e,t,a)=>{a.d(t,{x:()=>h});var r=a(37876),i=a(37477),o=a(52036),n=a(14232);function s(e){let{name:t,onDelete:a}=e;return(0,r.jsxs)(i.Flex,{justify:"space-between",align:"center",borderBottomWidth:"1px",borderBottomColor:"border-subtle",borderBottomStyle:"solid",width:"100%",children:[(0,r.jsx)(i.Text,{variant:"text-body-regular",color:"text-primary",fontWeight:"normal",children:t}),(0,r.jsx)(i.ButtonIcon,{variant:"ghost",onClick:a,icon:(0,r.jsx)(i.IconTrash,{}),size:"l","aria-label":"delete",borderRadius:"radii-2",p:"spacer-1",m:"spacer-1"})]})}function S(){let{onSubmit:e,isSubmitting:t=!1,onRequestLabOrder:a,onSubmitLater:o}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[S,l]=(0,n.useState)([]),c=(0,n.useRef)(null),C=(0,i.useToast)(),d=()=>Math.random().toString(36).substring(2,9),m=e=>{l(t=>t.filter(t=>t.id!==e))},u=()=>{if(0===S.length)return void C({title:"Error",description:"Please upload at least one file",status:"error"});let t=S.map(e=>e.file);e?e(t):C({title:"Success",description:"Submitting ".concat(S.length," file(s): ").concat(S.map(e=>e.name).join(", ")),status:"success"})};return(0,r.jsxs)(i.Box,{children:[(0,r.jsxs)(i.Box,{py:"spacer-4",px:"spacer-3",bg:"background-dark",borderRadius:"radii-4",mb:"spacer-4",children:[(0,r.jsx)(i.Text,{variant:"text-header-M",color:"text-light",pb:"spacer-4",children:"Upload Your Lab Results"}),(0,r.jsxs)(i.Button,{borderRadius:"radii-3",as:"label",htmlFor:"input-files",variant:"secondary",w:"full",bg:"white",color:"text-link-secondary-default",_hover:{bg:"background-action-hover"},children:[(0,r.jsx)(i.IconFileUpload,{w:"24px",h:"24px"}),"Add File"]})]}),(0,r.jsx)("input",{id:"input-files",type:"file",ref:c,onChange:e=>{let t=e.target.files;if(!t||0===t.length)return;let a=Array.from(t).map(e=>({id:d(),name:e.name,file:e}));l(e=>[...e,...a]),c.current&&(c.current.value="")},style:{display:"none"},multiple:!0,accept:".pdf,.jpg,.jpeg,.png"}),S.length>0&&(0,r.jsx)(i.Box,{mb:"spacer-6",mt:"spacer-4",children:S.map(e=>(0,r.jsx)(s,{name:e.name,onDelete:()=>m(e.id)},e.id))}),(0,r.jsx)(i.Box,{mt:"spacer-9",display:{base:"none",md:S.length>0?"block":"none"},children:(0,r.jsx)(i.Button,{onClick:u,variant:"primary",w:"full",h:"50px",borderRadius:"3xl",isDisabled:0===S.length||t,isLoading:t,children:"Submit Lab Results"})}),(0,r.jsxs)(i.Box,{display:{base:"block",md:"none"},mt:"spacer-9",children:[(0,r.jsx)(i.Text,{variant:"text-header-S",color:"text-primary",children:"Don't have lab results yet?"}),(0,r.jsx)(i.Box,{my:"spacer-3",children:(0,r.jsx)(i.Button,{size:"s",variant:"link",onClick:a,children:"Request a lab order"})}),(0,r.jsx)(i.Text,{mt:"spacer-6",variant:"text-header-S",color:"text-primary",children:"Not ready?"}),(0,r.jsx)(i.Box,{my:"spacer-3",children:(0,r.jsx)(i.Button,{size:"s",variant:"link",onClick:o,children:"Submit lab results later"})})]}),(0,r.jsx)(i.Box,{h:"70px"}),(0,r.jsx)(i.Box,{display:{base:"block",md:"none"},position:"fixed",bottom:"0",left:"0",right:"0",p:"spacer-4",bg:"white",zIndex:"sticky",border:"none",background:"white",children:(0,r.jsx)(i.Button,{onClick:u,variant:"primary",w:"full",h:"50px",borderRadius:"3xl",isDisabled:0===S.length||t,isLoading:t,children:"Submit Lab Results"})})]})}var l=a(61032);function c(e){let{isOpen:t,onClose:a,diabetes:o,bariatric:n}=e;if(!t)return null;let s=(0,l.o)({diabetes:o,bariatric:n,labName:"generic"});return(0,r.jsx)(i.Box,{position:"fixed",top:0,left:0,right:0,bottom:0,bg:"background-overlay",zIndex:9999,display:"flex",alignItems:"center",justifyContent:"center",p:"spacer-4",children:(0,r.jsxs)(i.Box,{bg:"background-card",borderRadius:"lg",p:"spacer-8",maxW:"500px",w:"100%",children:[(0,r.jsxs)(i.Flex,{alignItems:"center",justifyContent:"space-between",mb:"spacer-6",children:[(0,r.jsx)(i.Text,{variant:"text-header-M",color:"text-primary",children:"Required labs"}),(0,r.jsx)(i.IconX,{color:"text-secondary",cursor:"pointer",onClick:a})]}),(0,r.jsx)(i.Box,{as:"ul",pl:"spacer-6",mb:"spacer-4",maxH:"400px",overflowY:"auto",children:s.map(e=>(0,r.jsx)(i.Text,{as:"li",color:"text-secondary",mb:"spacer-2",children:e},e))})]})})}function C(e){let{isOpen:t,onClose:a,onSubmitLater:o,onRequestLabs:n}=e;return(0,r.jsxs)(i.Modal,{isOpen:t,onClose:a,isCentered:!0,children:[(0,r.jsx)(i.Modal.Overlay,{}),(0,r.jsxs)(i.Modal.Content,{px:{base:"spacer-6",lg:"spacer-8"},pb:"spacer-8",gap:"spacer-6",mx:0,maxWidth:{base:"100%",md:"420px"},mb:{base:0,md:"auto"},borderBottomRadius:0,children:[(0,r.jsxs)(i.Modal.Header,{p:0,children:[(0,r.jsx)(i.Text,{variant:"text-header-M",color:"text-primary",pt:"20px",children:"Submit labs later?"}),(0,r.jsx)(i.Modal.CloseButton,{color:"text-secondary"})]}),(0,r.jsxs)(i.Modal.Body,{p:0,display:"flex",flexDirection:"column",children:[(0,r.jsx)(i.Text,{variant:"text-body-large-regular",color:"text-secondary",mb:"spacer-6",children:'By selecting "Submit later" you acknowledge that you will not be able to schedule a visit with a provider until labs are completed. You can submit labs using the FlyteHealth patient app or you can request new labs below.'}),(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-4",children:[(0,r.jsx)(i.Button,{variant:"primary",onClick:o,borderRadius:"3xl",size:{base:"m",md:"l"},children:"Submit labs later"}),(0,r.jsx)(i.Button,{variant:"primary-alt",onClick:n,borderRadius:"3xl",size:{base:"m",md:"l"},children:"Request Labs"})]})]})]})]})}let d=()=>(0,r.jsxs)(i.Box,{position:"fixed",top:"0",left:"0",width:"100vw",height:"100vh",backgroundColor:"background-overlay",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",zIndex:"overlay",children:[(0,r.jsx)(i.Spinner,{size:"s",color:"text-light"}),(0,r.jsx)(i.Text,{variant:"text-body-bold",color:"text-light",mt:"spacer-3",children:"We're sending your lab results"}),(0,r.jsx)(i.Text,{variant:"text-body-regular",color:"text-light",mt:"spacer-2",maxW:"300px",textAlign:"center",children:"This may take a few seconds, do not close this window."})]});var m=a(12342),u=a(50941);let H={submitLabs:async(e,t)=>{u.Ay.info("Submitting ".concat(e.length," lab PDF(s) to Evolve API for patient ").concat(t));let a=new FormData;return a.append("patientId",t),e.forEach(e=>{a.append("file",e)}),(await m.A.post("api/submit-labs",a,{headers:{"Content-Type":"multipart/form-data"}})).data}};function h(e){let{patientId:t,onSubmitLabsLater:a,onLabSubmitted:s,onGoBackToRequestLabs:l,diabetes:m,bariatric:u}=e,h=(0,i.useToast)(),[p,x]=(0,n.useState)(!1),[g,b]=(0,n.useState)(!1),[y,R]=(0,n.useState)(!1),v=e=>{if(e.length>10)return h({title:"Error",description:"You can only upload up to ".concat(10," files"),status:"error"}),!1;for(let t of e){if(t.size>5242880)return h({title:"Error",description:"File ".concat(t.name," exceeds the maximum size of 5MB"),status:"error"}),!1;if("application/pdf"!==t.type)return h({title:"Error",description:"File ".concat(t.name," must be a PDF"),status:"error"}),!1}return!0},f=async e=>{if(v(e))try{R(!0);let a=await H.submitLabs(e,t);s(),h({title:"Success",description:a.message,status:"success"})}catch(e){h({title:"Error",description:e instanceof Error?e.message:"Failed to submit lab results",status:"error"})}finally{R(!1)}},j=()=>{b(!0)},A=()=>{b(!1),l()};return y?(0,r.jsx)(d,{}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c,{isOpen:p,onClose:()=>{x(!1)},diabetes:m,bariatric:u}),(0,r.jsx)(C,{isOpen:g,onClose:()=>b(!1),onSubmitLater:()=>{b(!1),a()},onRequestLabs:A}),(0,r.jsxs)(o.X,{children:[(0,r.jsxs)(o.X.Side,{children:[(0,r.jsxs)(i.TextPairing,{variant:"textpairing-header-2XL",children:[(0,r.jsx)(i.TextPairing.Label,{color:"text-primary",children:"Submit Lab Results"}),(0,r.jsxs)(i.TextPairing.SubLabel,{color:"text-secondary",fontSize:"20px",children:["Before uploading, please confirm that your documents:",(0,r.jsxs)(i.Box,{as:"ul",listStyleType:"disc",pl:"spacer-6",ml:"0",mt:"spacer-3",sx:{"& li":{fontSize:"20px",lineHeight:"1",mb:"spacer-2"},"& li::marker":{fontSize:"24px"}},children:[(0,r.jsx)("li",{children:"Are dated within the last 90 days"}),(0,r.jsx)("li",{children:"Include your full name"}),(0,r.jsxs)("li",{children:["Include all"," ",(0,r.jsx)(i.Button,{fontSize:20,variant:"link",fontWeight:"400",onClick:()=>{x(!0)},children:"required labs."})]})]}),"Our team will review uploaded files and will be in touch if there are any issues or if new labs are needed."]})]}),(0,r.jsxs)(i.Box,{display:{base:"none",md:"block"},children:[(0,r.jsx)(i.Text,{variant:"text-header-S",color:"text-primary",children:"Don't have lab results yet?"}),(0,r.jsx)(i.Box,{my:"spacer-3",children:(0,r.jsx)(i.Button,{size:"s",variant:"link",onClick:A,children:"Request a lab order"})}),(0,r.jsx)(i.Text,{mt:"spacer-6",variant:"text-header-S",color:"text-primary",children:"Not ready?"}),(0,r.jsx)(i.Box,{my:"spacer-3",children:(0,r.jsx)(i.Button,{size:"s",variant:"link",onClick:j,children:"Submit lab results later"})})]})]}),(0,r.jsx)(o.X.Form,{children:(0,r.jsx)(S,{onSubmit:f,isSubmitting:y,onRequestLabOrder:A,onSubmitLater:j})})]})]})}},82393:(e,t,a)=>{a.d(t,{ry:()=>S,LP:()=>h,gO:()=>x,MU:()=>g,oE:()=>b,aB:()=>y,cI:()=>R,d5:()=>j,LR:()=>A,mF:()=>I.m,rs:()=>w,WT:()=>s,rI:()=>I.r});var r=a(37876),i=a(37477),o=a(62344),n=a(14232);let s={isValid:e=>10===e.length,isOver18YearsOld:e=>(0,o.C)(e)>=18,isLessThan150YearsOld:e=>150>(0,o.C)(e)},S=(0,n.forwardRef)((e,t)=>(0,r.jsx)(i.DateInput,{placeholder:"mm/dd/yyyy",inputMode:"numeric",mode:"mm/dd/yyyy",size:"l",variant:"flushed",ref:t,"data-test":"birthdate",...e}));var l=a(92087),c=a(82492);let C=["gmial.com","gmal.com","g-mail.com","gmaill.com","gmail.cm","gmail.co","gmail.con","gmail.comm","gmail.cmo","gmail.copm","gmail.vom","gmail.xom","gmai.com","gamil.com","gmall.com","gmail.c0m","gmaii.com","googlmail.com","gmail.ocm","gmail.om","gmail.net","gamail.com","gmailc.om","gmil.com","gmil.con","gmial.con","gemail.com","gmeil.com","gnail.com","gmail.ca","gmail.fr","gmsil.com","gmail.it","gmail.ru","gmail.de","gmail.jp","gimail.com","gmali.com","gmaul.com","gmaik.com","gmail.dom","gmail.coom","gmail.comn","gmai;.com","gmial.cm","gmail.colm","gmial.co","gmqail.com","gmzail.com","grmail.com","gemail.con","gmial.comm","gmail.xcom","gmail.ccom","hotmial.com","hotmail.cm","hoymail.com","homail.com","hotmai.com","hotmail.co","hotmal.com","hotmil.com","hotmain.com","hatmail.com","hotmail.con","hotmail.cmo","hotmail.vom","hotmail.ocm","hotmail.om","hotmail.comm","hotmaill.com","hootmail.com","hotamail.com","hotnail.com","hormail.com","hotmail.coim","hotmial.con","htmail.com","hotmali.com","homail.con","hotmael.com","hotmailc.om","hotmial.cm","hotmial.co","hotmail.coom","hotmail.colm","hotmali.con","hotmaol.com","hptmail.com","hotmqil.com","hotmzil.com","hotrmail.com","hotmai;.com","hotmakl.com","hotmajl.com","hotmaiil.com","yaho.com","yaoo.com","yahooo.com","yhaoo.com","yahoo.cm","yahoo.co","yahoo.con","yahoo.cmo","yahool.com","yhoo.com","yahoo.vom","yahoo.ocm","yahoo.om","yahoo.comm","yahooo.cm","yhao.com","yahho.com","yaahoo.com","yahocom","yaho0.com","yaboo.com","yahoo.coim","yahoo.net","yahoo.ca","yahoo.de","yahoo.fr","yaho.con","yahoo.coom","yahoo.colm","yahooc.om","yahool.con","yqhoo.com","yzhoo.com","yahool.cm","yahol.com","yahoom.com","yarhoo.com","yahoo.xcom","yahoo.dom","outlok.com","outloo.com","outlook.cm","outlook.co","outlook.con","outlook.cmo","outlook.vom","outlook.ocm","outlook.om","outlook.comm","outlookc.om","outllook.com","outloook.com","outluk.com","outook.com","outloook.com","outlook.coim","outlook.comn","outlook.coom","outlook.colm","outlok.con","outlok.cm","outlookl.com","outlpok.com","oytlook.com","outlookm.com","outllok.com","outlpook.com","qutlook.com","zutlook.com","outlookc.con","aol.cm","aol.co","aol.con","aol.comm","aol.cmo","aol.vom","aol.ocm","aol.om","aoll.com","aaol.com","aool.com","aio.com","apl.com","aolc.om","aoil.com","aol.coom","aol.colm","aolc.con","aol.dom","aol.xcom","aol.coim","qol.com","zol.com","apol.com","aol.net","icloud.cm","icloud.co","icloud.con","icloud.comm","icloud.cmo","icloud.vom","icloud.ocm","icloud.om","icoud.com","iclod.com","icloude.com","icluod.com","iclud.com","icloude.com","aicoud.com","icloud.coom","icloud.colm","icloudl.com","iclpud.com","ucloud.com","ycloud.com","icloyd.com","icloid.com","iclkud.com","iclkoud.com","icloyud.com","comcast.cm","comcast.co","comcast.con","comcast.comm","comcast.cmo","comcast.vom","comcast.ocm","comcast.om","comcastt.com","comcats.com","comast.com","concast.com","comcas.com","comcat.com","comcast.coom","comcast.colm","comcasr.com","comcastr.com","comcaest.com","comcasy.com","comcasg.com","comcazt.com","comcaqt.com","protonmail.con","protonmail.cm","protonmail.co","protonmail.comm","protonmail.cmo","protonmail.vom","protonmail.ocm","protonmail.om","protonmail.coom","protonmail.colm","protonmial.com","protanmail.com","protonmall.com","protonmal.com","protonmil.com","protonmaii.com","proronmail.com","protonmael.com","fastmail.cm","fastmail.co","fastmail.con","fastmail.comm","fastmail.cmo","fastmail.vom","fastmail.ocm","fastmail.om","fastmial.com","fastmall.com","fastmal.com","fastmil.com","fastmaii.com","fastmael.com","fastmail.coom","fastmail.colm","zoho.cm","zoho.co","zoho.con","zoho.comm","zoho.cmo","zoho.vom","zoho.ocm","zoho.om","zoho.coom","zoho.colm","zohoo.com","zoho.co.uk","zoho.co.in","zohomail.com","zohom.com","zohol.com","yandex.con","yandex.cm","yandex.co","yandex.comm","yandex.cmo","yandex.vom","yandex.ocm","yandex.om","yandex.coom","yandex.colm","yandx.com","yandex.ru","yandex.ua","yandex.by","yandex.kz","yandex.tj","yandx.ru","yandax.com","yandeex.com","mail.ru","mail.cm","mail.co","mail.con","mail.comm","mail.cmo","mail.vom","mail.ocm","mail.om","mail.coom","mail.colm","maiil.com","mial.com","mal.com","maill.com","maell.com","live.con","live.cm","live.co","live.comm","live.cmo","live.vom","live.ocm","live.om","live.coom","live.colm","livee.com","liva.com","luve.com","lyve.com","netcape.net","symaptico.ca","vidotron.ca","att.nett","verison.net","verizon.ner","iclould.com","msn.comm","msn.con","msn.cm","msn.co","msn.cmo","msn.vom","msn.ocm","msn.om","msn.coom","msn.colm","mns.com","msnn.com","msn.net"],d=["con","comm","om","cm","co,","c0m","cmo","copm","ocm","xom","vom","comn","com'","comj","coim","cpm","colm","conm","coom","fom","clm","cim","cn","cnn","cp","cpm","dom","cxm","ckom","ckm","ccm","coom","coj","xcom","ccom","cot","cole","coma","coms","con.ar","cons","kom","coom","co9m","c9m","cim","cpm","coom","coml","comu","comy","comi","como","coma","comz","comx","comp","comq","comr","coms","comt","comv","comw","cpon","clon","cgom","cyom","ctom","c0om","c9om","ciom","cpom","colom","conom","cogom","cokm","cojm","coinm","co0m","co9m","coem","cowm","corm","cotm","coym","coum","ogr","otg","ord","orgg","rog","or","ort","oeg","prg","orf","orh","orj","ork","orl","orm","orn","orp","orq","orr","ors","orv","orw","orx","ory","orz","o4g","0rg","9rg","org5","org6","orge","orgr","orgt","orgy","orgu","orgi","orgo","orgp","orga","orgs","orgd","orgf","orgc","orgx","orgz","orgv","orgb","orgn","orgm","nte","ne","nett","ner","netl","nete","not","nnet","ndt","bet","nef","neg","neh","nej","nek","nel","nem","nen","nep","neq","nes","nev","new","nex","ney","nez","n3t","n4t","nrt","nyt","nut","nit","n8t","n9t","n0t","ne5","ne6","nety","netu","neti","neto","netp","neta","nets","netd","netf","netg","neth","netj","netk","netm","netn","netq","netw","netx","netz","netv","netb","netc","ed","eud","due","ecu","eduu","eu","ude","edf","edg","edh","edj","edk","edl","edm","edn","edp","edq","edr","eds","edt","edv","edw","edx","edy","edz","3du","4du","rdu","wdu","sdu","ddu","fdu","edu5","edu6","eduy","edur","edut","edui","eduo","edup","edua","edus","edud","eduf","edug","eduh","eduj","eduk","edul","edum","edun","eduq","eduw","edux","eduz","eduv","edub","educ","co,","uk","gob","gop","goc","coc","govv","gv","go","mil","jp","bz","ca","usus","msc","infp","infk","infol","infl","infi","infom","infon","inf0","inf9","qinfo","zinfo","infor","infot","infoy","infou","biiz","bizl","bizk","bizj","bizh","bizg","bizf","bizd","bizs","biza","bizp","bizo","bizi","bizu","bizy","bizt","bizr","bizw","bizq","bizx","bizc","bizv","bizb","bizn","bizm","local","internal","private","corp","home","lan","domain","localdomain","workgroup","localhost","intranet","mail","dhcp","server","dev","test","invalid","example","temp","tmp","demo","sample","fake","mock","dummy","testing","testsite","localtest","staging","preview","beta","alpha","development","localhost","office","company","business","internal","intranet","private","local","site","website","page","web","www","email","emails","mailbox","inbox","outbox","messages","message","contact","contacts","address","addresses","admin","administrator","root","user","users","account","accounts","profile","profiles","settings","config","configuration","setup","install","installation","system","systems","network","networks","service","services","application","applications","app","apps","software","program","programs","database","databases","data","file","files","folder","folders","directory","directories","path","paths","url","urls","link","links","redirect","redirects","backup","backups","archive","archives","log","logs","report","reports","document","documents","doc","docs"],m=e=>{var t,a;if(!e)return!0;let r=null==(t=e.split("@")[1])?void 0:t.toLowerCase();if(!r)return!0;if(C.includes(r))return'This appears to be a typo. Did you mean to use a different domain than "'.concat(r,'"?');let i=null==(a=r.split(".").pop())?void 0:a.toLowerCase();if(i&&d.includes(i))return'".'.concat(i,'" appears to be a typo. Please check your email domain.');let o=e.split("@")[0];return!(o&&/\.{2,}|-{2,}|_{2,}|\+{2,}/.test(o))||"Email contains consecutive special characters."};var u=a(88992);let H="email",h=e=>{let{name:t=H,label:a="Email address",inputProps:o,...n}=e,{register:s,setValue:S,formState:{errors:C}}=(0,u.xW)(),d=(0,c.Q)(t,C,["maxLength","pattern","validate"]);return(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-2",...n,children:[(0,r.jsx)(i.Text,{as:"label",variant:"text-body-large-bold",color:"text-primary-negative",htmlFor:t,children:a}),(0,r.jsx)(i.Input,{"data-test":t,autoComplete:"email",placeholder:"name@email.com",inputMode:"email",type:"email",id:t,size:"l",variant:"flushed",isInvalid:d,...o,...s(t,{required:!0,onChange:e=>{var a;S(t,null==(a=e.target.value)?void 0:a.toLowerCase())},pattern:{value:/^[\w.+-]+@[a-z0-9.-]+\.[a-z]{2,150}$/i,message:l.i[H].pattern},maxLength:{value:150,message:l.i[H].maxLength},validate:m})}),d&&(0,r.jsx)(x,{errors:C,name:t})]})};var p=a(52197);let x=e=>{let{errors:t,name:a}=e;return(0,r.jsx)(p.K,{errors:t,name:a,render:e=>{let{message:t}=e;return(0,r.jsxs)(i.InlineAlert,{status:"error",children:[(0,r.jsx)(i.InlineAlert.Icon,{}),(0,r.jsx)(i.InlineAlert.Message,{children:t})]})}})},g=(0,n.forwardRef)((e,t)=>(0,r.jsx)(i.Input,{autoComplete:"given-name","aria-label":"Legal First name",placeholder:"Legal First name",type:"text",size:"l",variant:"flushed",ref:t,...e})),b=(0,n.forwardRef)((e,t)=>{let{unit:a,...o}=e;return(0,r.jsx)(i.MaskInput,{"aria-label":"Height (".concat(a,")"),placeholder:"Height (".concat(a,")"),inputMode:"numeric",size:"l",variant:"flushed",maskOptions:{mask:/^\d*$/,postfix:" (".concat(a,")")},ref:t,...o})});a(43400);let y=(0,n.forwardRef)((e,t)=>(0,r.jsx)(i.Input,{autoComplete:"family-name","aria-label":"Legal Last name",placeholder:"Legal Last name",type:"text",size:"l",variant:"flushed",ref:t,...e})),R=e=>{let{children:t,...a}=e;return(0,r.jsx)(i.Flex,{position:"fixed",bottom:0,left:0,right:0,role:"contentinfo",px:"spacer-6",py:"spacer-4",background:"background-page",borderTop:"1px",borderColor:"ui-element-divider",borderStyle:"solid",zIndex:1,...a,"data-testid":"mobile-footer",children:t})},v="firstName",f="lastName",j=e=>{let{isDisabled:t}=e,{register:a}=(0,u.xW)();return(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-2",children:[(0,r.jsxs)(i.Box,{children:[(0,r.jsx)(i.Text,{as:"label",variant:"text-body-large-bold",color:"text-primary-negative",children:"Tell us about yourself"}),(0,r.jsx)(i.Text,{variant:"text-body-meta-regular",color:"text-secondary",children:"Please enter your full legal name as on your ID or medical insurance."})]}),(0,r.jsxs)(i.Flex,{gap:{base:"spacer-4",md:"spacer-8"},children:[(0,r.jsx)(g,{"data-test":v,id:v,isDisabled:t,...a(v,{required:!0})}),(0,r.jsx)(y,{"data-test":f,id:f,isDisabled:t,...a(f,{required:!0})})]})]})},A=(0,n.forwardRef)((e,t)=>(0,r.jsx)(i.PhoneInput,{autoComplete:"tel-national",inputMode:"numeric",maskOptions:{countryIsoCode:"US",mask:["(",/\d/,/\d/,/\d/,")"," ",/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/]},placeholder:"(000) 000-0000",size:"l",variant:"flushed",ref:t,...e}));var I=a(49631);let w=(0,n.forwardRef)((e,t)=>(0,r.jsx)(i.MaskInput,{"aria-label":"Weight (lbs)",placeholder:"Weight (lbs)",inputMode:"decimal",size:"l",variant:"flushed",maskOptions:{mask:/^\d{0,3}(\.\d{0,2})?$/,postfix:" (lbs)"},ref:t,...e}))},82492:(e,t,a)=>{a.d(t,{Q:()=>r});let r=(e,t,a)=>{var r;if(!t[e])return!1;let i=Array.isArray(a)?a:[a],o=null==(r=t[e])?void 0:r.type;return"string"==typeof o&&i.includes(o)}},83439:(e,t,a)=>{a.d(t,{t:()=>n});var r=a(37876),i=a(37477),o=a(14232);let n=e=>{let{isOpen:t,onLeave:a,onContinue:n}=e,s=(0,o.useRef)(null);return(0,r.jsxs)(i.Modal,{isOpen:t,onClose:n,autoFocus:!1,isCentered:!0,initialFocusRef:s,children:[(0,r.jsx)(i.Modal.Overlay,{}),(0,r.jsxs)(i.Modal.Content,{px:"spacer-7",py:"spacer-6",gap:"spacer-7",mx:{base:"spacer-9",md:0},maxWidth:"26.25rem",children:[(0,r.jsxs)(i.Modal.Body,{p:0,children:[(0,r.jsx)(i.Text,{variant:"text-body-large-bold",children:"Are you sure you want to leave?"}),(0,r.jsx)(i.Text,{color:"text-secondary",variant:"text-body-regular",children:"You haven't finished signing up. If you leave, all information will be cleared."})]}),(0,r.jsxs)(i.Modal.Footer,{flexDirection:{base:"column",md:"row-reverse"},gap:"spacer-4",p:0,children:[(0,r.jsx)(i.Button,{variant:"secondary",size:"m",flex:1,width:"100%",onClick:n,ref:s,children:"Continue signing up"}),(0,r.jsx)(i.Button,{variant:"destroy",size:"m",flex:1,width:"100%",onClick:a,children:"Leave now"})]})]})]})}},83928:(e,t,a)=>{a.d(t,{A:()=>r});class r{static shouldBypassIsApplicationReviewRequired(e){return!!(e.email.includes("bypass")&&e.email.includes("@flytehealth.com"))&&(console.warn("Bypassing isApplicationReviewRequired"),!0)}static shouldBypassBenefitsCheck(e){return!!(e.email.includes("bypass")&&e.email.includes("@flytehealth.com"))&&(console.warn("Bypassing benefits check"),!0)}}},84441:(e,t,a)=>{a.d(t,{PV:()=>d,Ci:()=>u});var r=a(37876),i=a(37477),o=a(82393),n=a(92087),s=a(82492),S=a(13764),l=a(37224),c=a(88992);let C="phone",d=e=>{let{isDisabled:t,...a}=e,{register:d,setValue:m,formState:{errors:u}}=(0,c.xW)(),H=(0,s.Q)(C,u,"validate");return(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-2",...a,children:[(0,r.jsx)(i.Text,{as:"label",variant:"text-body-large-bold",color:"text-primary-negative",htmlFor:C,children:"Mobile phone"}),(0,r.jsx)(o.LR,{"data-test":C,id:C,isInvalid:H,isDisabled:t,onInput:e=>m(C,e.currentTarget.value),...d(C,{required:!0,validate:e=>(0,S.A)(e,"US",l.A)||n.i[C].validate})}),H&&(0,r.jsx)(o.gO,{errors:u,name:C})]})},m="termsAgreement",u=e=>{let{isDisabled:t,...a}=e,{register:o}=(0,c.xW)();return(0,r.jsxs)(i.Flex,{direction:"row",gap:"spacer-2",...a,children:[(0,r.jsx)(i.Checkbox,{"data-test":m,size:{base:"l",lg:"m"},"aria-label":"I agree to the terms",isDisabled:t,...o(m,{required:!0})}),(0,r.jsxs)(i.Text,{variant:"text-body-regular",color:"text-secondary",children:["I have read and agree to the\xa0",(0,r.jsx)(i.Link,{fontWeight:"thin",variant:"link-primary",isInline:!0,isExternal:!0,href:"https://www.flytehealth.com/terms/#elementor-toc__heading-anchor-2",children:"Terms of Service"}),",\xa0",(0,r.jsx)(i.Link,{fontWeight:"thin",variant:"link-primary",isInline:!0,isExternal:!0,href:"https://www.flytehealth.com/terms/#elementor-toc__heading-anchor-3",children:"Privacy Policy"}),"\xa0&\xa0",(0,r.jsx)(i.Link,{fontWeight:"thin",variant:"link-primary",isInline:!0,href:"https://www.flytehealth.com/terms/#elementor-toc__heading-anchor-4",isExternal:!0,children:"Notice of Privacy Practice"}),"."]})]})}},85007:(e,t,a)=>{a.d(t,{R:()=>i});var r=a(12342);let i=async e=>await r.A.post("/api/auth/verify-otp",e)},86535:(e,t,a)=>{a.d(t,{P:()=>h});var r=a(37876),i=a(37477),o=a(82393),n=a(45383),s=a(19847),S=a(80072),l=a(88992),c=a(99221),C=a(58892);let d="bariatricSurgery",m=e=>{let{isDisabled:t}=e,{register:a}=(0,l.xW)();return(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-4",children:[(0,r.jsx)(i.Text,{as:"label",variant:"text-body-large-bold",color:"text-primary-negative",children:"Have you had Bariatric surgery?"}),(0,r.jsxs)(i.RadioGroup,{display:"flex",gap:"spacer-3",isDisabled:t,"data-test":d,"data-testid":d,name:d,children:[(0,r.jsx)(C.e,{name:d,value:"yes",size:"m",isDisabled:t,"aria-label":"bariatric-surgery-yes",...a(d,{required:!0}),children:"Yes"}),(0,r.jsx)(C.e,{value:"no",size:"m",...a(d),name:d,isDisabled:t,"aria-label":"bariatric-surgery-no",children:"No"})]})]})},u="diabetes",H=e=>{let{isDisabled:t}=e,{register:a}=(0,l.xW)();return(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-4",children:[(0,r.jsx)(i.Text,{as:"label",variant:"text-body-large-bold",color:"text-primary-negative",children:"Do you have Type 1 or Type 2 Diabetes?"}),(0,r.jsxs)(i.RadioGroup,{display:"flex",gap:"spacer-3",isDisabled:t,"data-test":u,"data-testid":u,name:u,children:[(0,r.jsx)(C.e,{name:u,value:"yes",size:"m",isDisabled:t,"aria-label":"diabetes-yes",...a(u,{required:!0}),children:"Yes"}),(0,r.jsx)(C.e,{value:"no",size:"m","aria-label":"diabetes-no",...a(u),name:u,isDisabled:t,children:"No"})]})]})},h=e=>{let{configuration:t,loading:a=!1,onSubmit:C}=e,{contentResources:d}=t,u=(0,l.mN)({mode:"onBlur"}),h=(0,s.a)(),p=()=>(0,r.jsx)(i.Button,{type:"submit",size:{base:"m",lg:"l"},isDisabled:!u.formState.isValid,width:"100%",isLoading:a,"aria-label":"Am I eligible?",children:"Am I eligible?"});return(0,r.jsx)(l.Op,{...u,children:(0,r.jsxs)(n.X,{as:"form",onSubmit:u.handleSubmit(e=>{var t;let a=(null==(t=e.comorbidity)?void 0:t.length)>0;C({...e,comorbidities:e.comorbidity,comorbidity:a?c.Y9.Yes:c.Y9.No})}),noValidate:!0,"data-test":S.C.PreEligibility,children:[(0,r.jsxs)(n.X.Side,{children:[d.title,!h&&d.bmiEnrollmentDisclaimer]}),(0,r.jsxs)(n.X.Form,{children:[(0,r.jsx)(c.XU,{isDisabled:a}),(0,r.jsx)(c.YJ,{isDisabled:a,trigger:h?"click":"hover"}),(0,r.jsx)(H,{isDisabled:a}),(0,r.jsx)(m,{isDisabled:a}),(0,r.jsx)(c.Qg,{isDisabled:a}),(0,r.jsx)(c.kQ,{isDisabled:a}),h?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i.Flex,{gap:"spacer-10",direction:"column",pb:"spacer-24",children:[d.bmiEnrollmentDisclaimer,(0,r.jsx)(c.Xc,{})]}),(0,r.jsx)(o.cI,{children:p()})]}):(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-5",children:[p(),(0,r.jsx)(c.Xc,{})]})]})]})})}},86687:(e,t,a)=>{a.d(t,{L:()=>i});var r=a(72881);let i=e=>{var t,a;let{event:i}=e;return(null==i||null==(a=i.error)||null==(t=a.response)?void 0:t.status)===r.r2}},87587:(e,t,a)=>{a.d(t,{e:()=>i});var r=a(50941);class i extends Error{constructor(e,t,a){super(e),this.message=e,this.code=t,this.status=a,this.name=this.constructor.name,Object.setPrototypeOf(this,new.target.prototype),r.Ay.error(e,{error_code:t,error_type:this.constructor.name,stack:this.stack})}}},87665:(e,t,a)=>{a.d(t,{Y:()=>x});var r=a(12342);let i=e=>12*e;var o=a(1188),n=a(34305),s=a(67751);let S={coding:[{system:"http://terminology.hl7.org/CodeSystem/observation-category",code:"vital-signs",display:"Vital Signs"}],text:"Vital Signs"},l={coding:[{system:"http://snomed.info/sct",code:"733985002",display:"Reported (qualifier value)"}],text:"Reported"},c={LOINC:"http://loinc.org",UNITS_OF_MEASURE:"http://unitsofmeasure.org",CONSENT_SCOPE:"http://terminology.hl7.org/CodeSystem/consentscope",CONSENT_ACTION:"http://terminology.hl7.org/CodeSystem/consentaction",IDENTIFIER_TYPE:"http://terminology.hl7.org/CodeSystem/v2-0203",PATIENT_IDENTIFIER:"https://intellihealth.salesforce.com/contacts/"},C={HEIGHT:"http://hl7.org/fhir/us/vitals/StructureDefinition/height",BODY_WEIGHT:"http://hl7.org/fhir/us/vitals/StructureDefinition/body-weight"},d=(e,t)=>({resourceType:"Patient",identifier:[{use:"secondary",system:c.PATIENT_IDENTIFIER,value:t,period:{start:new Date().toISOString()}}],name:[{family:e.lastName,given:e.firstName}],telecom:[{system:"phone",value:e.phone,use:"home"},{system:"email",value:e.email},{system:"sms",value:e.phone}],birthDate:(0,s.S)(e.birthDate),address:[{use:"home",type:"both",text:e.addressText||"",line:e.addressLines||[],city:e.city||"",state:e.state,postalCode:e.postalCode||""}],extension:[{url:"http://hl7.org/fhir/StructureDefinition/timezone",valueString:Intl.DateTimeFormat().resolvedOptions().timeZone}]}),m=(e,t,a,r,i,o,n)=>({resourceType:"Observation",id:e,meta:{profile:["weight"===e?C.BODY_WEIGHT:C.HEIGHT]},status:"preliminary",category:[S],code:{coding:[{system:c.LOINC,code:r,display:i}]},subject:{type:"Patient",identifier:{use:"secondary",system:c.PATIENT_IDENTIFIER,value:o,period:{start:n}}},effectiveDateTime:n,valueQuantity:{value:t,unit:a,system:c.UNITS_OF_MEASURE,code:a},method:l}),u=e=>({resourceType:"Organization",name:e.evolveOrganization||n.PM.Flyte,...e.participantDepartmentorOrg&&{contained:[{resourceType:"Organization",name:e.participantDepartmentorOrg}]}}),H=e=>e?"permit":"deny",h=e=>e.map(e=>({resource:{resourceType:"Consent",identifier:{use:"official",type:{coding:[{system:c.IDENTIFIER_TYPE,code:"FILL",display:"Filler Identifier"}],text:"An identifier issued by FlyeHealth."},value:e.formType},status:"active",scope:{coding:[{system:c.CONSENT_SCOPE,code:"patient-privacy"}]},category:[{coding:[{system:c.LOINC,code:"59284-0"}]}],provision:[{action:[{coding:[{system:c.CONSENT_ACTION,code:"disclose"}]}],period:{start:new Date().toISOString(),end:new Date(new Date().getTime()+31536e6).toISOString()}}],decision:H(e.isAccepted)}})),p=e=>{let t=new Date().toISOString(),a=(0,o.s)(e.heightInFeet),r=(0,o.s)(e.heightInInch)+i(a);return{resourceType:"Bundle",identifier:{use:"temp",value:"onboarding-bundle"},type:"collection",timestamp:t,entry:[{resource:d(e,e.patientIdentifier)},{resource:m("height",r,"[in_i]","8302-2","Body height",e.patientIdentifier,t)},{resource:m("weight",(0,o.s)(e.currentWeightInPounds),"[lb_av]","29463-7","Body weight",e.patientIdentifier,t)},{resource:u(e)},...h(e.consents)]}},x=async e=>{let t=p(e);return await r.A.post("/api/fhir/onboard",t)}},89225:(e,t,a)=>{a.d(t,{Nl:()=>i,w:()=>o,dT:()=>S,f3:()=>c,Ek:()=>s,Ft:()=>n});var r=a(33841);let i={[r.fz.Aetna]:"State of Connecticut - Retirees",[r.fz.CareCompass]:"State of Connecticut - Employees",[r.fz.PequotHealthCare]:"PEQUOT - EMPLOYEES",[r.fz["1199SEIU"]]:"1199SEIU BENEFIT FUNDS"},o={[r.fz.Aetna]:"Aetna",[r.fz.CareCompass]:"Anthem",[r.fz.PequotHealthCare]:"PEQUOT",[r.fz["1199SEIU"]]:"1199SEIU BENEFIT FUNDS"},n={[r.fz.Aetna]:"Aetna",[r.fz.CareCompass]:"SoCT",[r.fz.PequotHealthCare]:"Pequot Healthcare",[r.fz.ChristianaCare]:"Highmark",[r.fz.Emory]:"Aetna",[r.fz["1199SEIU"]]:"1199SEIU"},s={[r.fz.Flyte]:"Flyte Direct",[r.fz.CareCompass]:"State of Connecticut (Flyte)",[r.fz.Aetna]:"State of Connecticut Retirees (Flyte)",[r.fz.RiverSpringLiving]:"RiverSpring Living (Flyte)",[r.fz.PequotHealthCare]:"Pequot Tribal Family Health Plan (Flyte)",[r.fz.PyleFamilyInsurance]:"A. Duie Pyle (Flyte)",[r.fz.MDSave]:"MDsave (Flyte)",[r.fz.ChristianaCare]:"ChristianaCare - Caregivers (Flyte)",[r.fz.Emory]:"Emory (Flyte)",[r.fz["1199SEIU"]]:"1199SEIU Benefit Funds (Flyte)"},S={[r.lk["1199SEIU"]]:"00634",[r.lk.BCBS]:"S001",[r.lk.BCBSPPO]:"S001",[r.lk.Aetna]:"00001",[r.lk.Cigna]:"00004",[r.lk.United]:"00192",[r.lk.Anthem]:"S001",[r.lk["Pequot HealthCare"]]:"00192",[r.lk["Aetna Medicare"]]:"00001",[r.lk.Highmark]:"01015",[r.lk["Kaiser Colorado"]]:"00121",[r.lk["Kaiser Georgia"]]:"00126",[r.lk["Kaiser Hawaii"]]:"00122",[r.lk["Kaiser MidAtlantic"]]:"00124",[r.lk["Kaiser Northern California"]]:"00127",[r.lk["Kaiser Northwest"]]:"00125",[r.lk["Kaiser Southern California"]]:"00488",[r.lk["Kaiser Washington"]]:"01340",[r.lk["Kaiser Washington Options"]]:"01341"},l={[r.fz.Flyte]:"0014U00003DawbO",[r.fz.CareCompass]:"0014U000034qD18",[r.fz.Aetna]:"0014U00003LU03D",[r.fz.RiverSpringLiving]:"0014U00002tQPkK",[r.fz.PequotHealthCare]:"0014U00003DCPzp",[r.fz.PyleFamilyInsurance]:"0014U00002ngNsZ",[r.fz.MDSave]:"001VY00000CYbSs",[r.fz.ChristianaCare]:"001VY00000AE6Ny",[r.fz.Emory]:"001VY00000GpdUN",[r.fz["1199SEIU"]]:"001VY00000JEmuvYAD"};r.fz.Flyte,r.fz.CareCompass,r.fz.Aetna,r.fz.RiverSpringLiving,r.fz.PequotHealthCare,r.fz.PyleFamilyInsurance,r.fz.MDSave,r.fz.ChristianaCare,r.fz.Emory,r.fz["1199SEIU"];let c=l},91366:(e,t,a)=>{a.d(t,{Q:()=>C});var r=a(37876),i=a(37477),o=a(45383),n=a(20058),s=a(19847),S=a(80072),l=a(54587),c=a.n(l);let C=e=>{let{title:t,email:a,description:l}=e,C=(0,s.a)();return(0,r.jsxs)(o.s,{gap:{lg:"spacer-16",xl:"spacer-18",xxl:"spacer-64"},alignItems:"start","data-test":S.C.ApplicationComplete,children:[(0,r.jsxs)(i.Flex,{direction:"column",justifyContent:{lg:"space-between"},height:"100%",children:[(0,r.jsxs)(i.Box,{children:[t,(0,r.jsx)(i.Box,{backgroundColor:"background-container-active",px:"spacer-7",py:"spacer-6",borderRadius:"radii-2",mt:"spacer-7",display:{base:"block",lg:"inline-block"},children:(0,r.jsx)(i.Text,{variant:"text-header-M",children:a})}),l]}),(0,r.jsxs)(i.Box,{children:[(0,r.jsx)(i.Text,{mt:"spacer-16",color:"text-secondary",variant:"text-body-bold",children:"Need some help?"}),(0,r.jsxs)(i.Text,{color:"text-secondary",variant:"text-body-regular",mt:"spacer-1",children:["Please call"," ",(0,r.jsx)(n.C,{fontWeight:"thin"})," ","to speak with a Care Coordinator."]})]})]}),!C&&(0,r.jsx)(c(),{alt:"Application Complete",width:340,height:340,src:"/static/assets/application-complete.png"})]})}},92087:(e,t,a)=>{a.d(t,{i:()=>r});let r={email:{pattern:"Enter a valid email address",maxLength:"Email must be less than 150 characters"},phone:{validate:"Enter a valid phone number"},birthdate:{isValid:"Enter a valid date of birth using the format MM/DD/YYYY",isOver18YearsOld:"To be eligible, you must be at least 18 years old",isLessThan150YearsOld:"Enter a valid date of birth using the format MM/DD/YYYY"},currentWeightInPounds:{validate:"Weight must be a number between 1 and 999"},heightInFoot:{validate:"Height (ft) must be a number between 4 and 7"},heightInInch:{validate:"Height (in) must be a number between 0 and 11"},highestWeightInPounds:{isValid:"Weight must be a number between 1 and 999",isLowerThanCurrentWeight:"Weight must be higher than current weight"},dateOfHighestWeightValue:{min:"Enter a year that is after your birth year",pattern:"Enter a year using the format (YYYY)",max:"Enter a year that is not in the future"},ssn:{minLength:"Enter the last 4 digits of your SSN",maxLength:"Enter the last 4 digits of your SSN"}}},92323:(e,t,a)=>{a.d(t,{z:()=>r});let r=e=>{var t;let{context:a}=e;return!!(null==a||null==(t=a.flyteUserData)?void 0:t.verifyToken)}},93511:(e,t,a)=>{a.d(t,{t:()=>n});var r=a(29261),i=a(74161),o=a(14232);let n=(e,t)=>{let{track:a}=(0,i.useAnalytics)(),n=(0,o.useRef)(null);(0,o.useEffect)(()=>{n.current!==e&&(a(r.A[e],{partner:t}),n.current=e)},[e,a])}},97793:(e,t,a)=>{a.d(t,{f:()=>o});var r=a(80072),i=function(e){return e.Idle="idle",e.Submitting="submitting",e.Error="error",e.Success="success",e}({});let o={...r.C,...i}},99221:(e,t,a)=>{a.d(t,{Qg:()=>m,Y9:()=>u,YJ:()=>p,XU:()=>g,Xc:()=>b,kQ:()=>f});var r=a(37876),i=a(37477),o=a(82393),n=a(92087),s=a(82492),S=a(1188),l=a(88992);let c="currentWeightInPounds",C="heightInFoot",d="heightInInch",m=e=>{let{isDisabled:t}=e,{register:a,setValue:m,formState:{errors:u}}=(0,l.xW)(),H=(0,s.Q)(c,u,"validate"),h=(0,s.Q)(C,u,"validate"),p=(0,s.Q)(d,u,"validate");return(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-2",children:[(0,r.jsx)(i.Text,{as:"label",variant:"text-body-large-bold",color:"text-primary-negative",children:"What is your current weight and height?"}),(0,r.jsxs)(i.Flex,{direction:{base:"column",md:"row",lg:"column",xl:"row"},gap:{base:"spacer-9",xl:"spacer-12"},children:[(0,r.jsx)(i.Flex,{flex:.6,children:(0,r.jsx)(o.rs,{"data-test":c,isDisabled:t,isInvalid:H,onInput:e=>m(c,e.currentTarget.value),...a(c,{required:!0,validate:e=>{let t=(0,S.s)(e);return t>=1&&t<1e3||n.i[c].validate}})})}),(0,r.jsxs)(i.Flex,{gap:"spacer-4",flex:1,children:[(0,r.jsx)(o.oE,{unit:"ft","data-test":C,isDisabled:t,isInvalid:h,onInput:e=>m(C,e.currentTarget.value),...a(C,{required:!0,validate:e=>{let t=(0,S.s)(e);return t>=4&&t<=7||n.i[C].validate}})}),(0,r.jsx)(o.oE,{"data-test":d,unit:"in",isDisabled:t,isInvalid:p,onInput:e=>m(d,e.currentTarget.value),...a(d,{required:!0,validate:e=>{let t=(0,S.s)(e);return t>=0&&t<=11||n.i[d].validate}})})]})]}),H&&(0,r.jsx)(o.gO,{errors:u,name:c}),h&&(0,r.jsx)(o.gO,{errors:u,name:C}),p&&(0,r.jsx)(o.gO,{errors:u,name:d})]})};var u=function(e){return e.Yes="yes",e.No="no",e}({});let H="comorbidity",h=["Asthma","Binge eating disorder","Chronic obstructive pulmonary disease","Cirrhosis","Congestive heart failure","Coronary artery disease","Fatty liver disease","Heart attack","Hyperlipidemia (high cholesterol)","Hypertension (high blood pressure)","Idiopathic intracranial hypertension","Insulin resistance/Metabolic syndrome","Low Testosterone/Hypogonadism in men","NASH (Non-alcoholic steatohepatitis)","Obstructive sleep apnea","Osteoarthritis","Polycystic ovarian syndrome","Prediabetes","Pseudotumor cerebri","Stress urinary incontinence","Stroke"],p=e=>{let{trigger:t,isDisabled:a}=e,{control:o,setValue:n}=(0,l.xW)();return(0,r.jsxs)(i.Flex,{direction:"column",children:[(0,r.jsxs)(i.Text,{as:"label",variant:"text-body-large-bold",color:"text-primary-negative",htmlFor:H,children:["Do you have a weight-related health condition?",(0,r.jsxs)(i.Popover,{trigger:t,closeOnBlur:!0,placement:"auto",children:[(0,r.jsx)(i.Popover.Trigger,{children:(0,r.jsx)(i.Flex,{display:"inline-flex",verticalAlign:"text-top",ml:"spacer-2",children:(0,r.jsx)(i.IconInfoCircle,{size:"m",color:"text-link-primary-default"})})}),(0,r.jsxs)(i.Popover.Content,{children:[(0,r.jsx)(i.Popover.Arrow,{backgroundColor:"text-secondary"}),(0,r.jsx)(i.Popover.Body,{backgroundColor:"text-secondary",borderColor:"transparent",borderRadius:"radii-1",p:"spacer-2",children:(0,r.jsx)(i.Text,{variant:"text-body-meta-regular",color:"text-light",children:"Examples include heart or cardiovascular disease, high blood pressure, sleep apnea, diabetes, gastrointestinal disease, fatty liver."})})]})]})]}),(0,r.jsx)(i.Text,{variant:"text-body-meta-regular",color:"text-secondary",marginBottom:"spacer-2",children:"If yes, select all that apply. If no, skip to the next question."}),(0,r.jsx)(l.xI,{name:H,control:o,rules:{required:!1},render:e=>{let{field:{onChange:t}}=e;return(0,r.jsxs)(i.AutocompleteMultiSelect,{items:h,useMultipleSelectionProps:{onSelectedItemsChange:e=>{let{selectedItems:a}=e;t(a),n(H,a,{shouldValidate:!0})}},isDisabled:a,children:[(0,r.jsx)(i.AutocompleteMultiSelect.SelectedItems,{renderSelectedItem:e=>{let{selectedItem:t,removeSelectedItem:o}=e;return(0,r.jsxs)(i.Tag,{size:"s",isDisabled:a,onClick:e=>{e.stopPropagation(),o(t)},cursor:"pointer",children:[(0,r.jsx)(i.Tag.Label,{children:t}),(0,r.jsx)(i.Tag.RightIcon,{as:i.IconX})]})}}),(0,r.jsx)(i.AutocompleteMultiSelect.Input,{"data-test":H,placeholder:"Select health condition",variant:"flushed"}),(0,r.jsx)(i.AutocompleteMultiSelect.List,{"data-test":"".concat(H,"List"),renderItem:e=>(0,r.jsx)(r.Fragment,{children:e}),overflowY:"auto",maxHeight:"13.5rem",zIndex:2})]})}})]})},x="birthdate",g=e=>{let{isDisabled:t}=e,{register:a,setValue:S,formState:{errors:c}}=(0,l.xW)(),C=(0,s.Q)(x,c,["isValid","isOver18YearsOld","isLessThan150YearsOld"]);return(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-2",children:[(0,r.jsx)(i.Text,{as:"label",variant:"text-body-large-bold",color:"text-primary-negative",htmlFor:x,children:"What is your date of birth?"}),(0,r.jsx)(o.ry,{id:x,isInvalid:C,isDisabled:t,onInput:e=>S(x,e.currentTarget.value),...a(x,{required:!0,validate:{isValid:e=>o.WT.isValid(e)||n.i[x].isValid,isOver18YearsOld:e=>o.WT.isOver18YearsOld(e)||n.i[x].isOver18YearsOld,isLessThan150YearsOld:e=>o.WT.isLessThan150YearsOld(e)||n.i[x].isLessThan150YearsOld}})}),C&&(0,r.jsx)(o.gO,{errors:c,name:x})]})},b=()=>(0,r.jsx)(i.Text,{variant:"text-body-floating-label-regular",color:"text-secondary",textAlign:"center",children:"Meeting eligibility criteria based on this information does not automatically guarantee program enrollment."});var y=a(14232);let R="highestWeightInPounds",v="dateOfHighestWeightValue",f=e=>{let{isDisabled:t}=e,{register:a,setValue:C,trigger:d,formState:{errors:m},watch:u}=(0,l.xW)(),H=u(c),h=u(x),p=(0,s.Q)(R,m,["isValid","isLowerThanCurrentWeight"]),g=(0,s.Q)(v,m,["pattern","min","max"]);return(0,y.useEffect)(()=>{d(R)},[H]),(0,r.jsxs)(i.Flex,{direction:"column",gap:"spacer-2",children:[(0,r.jsxs)(i.Box,{children:[(0,r.jsx)(i.Text,{as:"label",variant:"text-body-large-bold",color:"text-primary-negative",htmlFor:R,children:"What was your highest non-pregnancy lifetime weight and when did you reach it?"}),(0,r.jsx)(i.Text,{variant:"text-body-meta-regular",color:"text-secondary",children:"This will help your doctor customize your treatment plan"})]}),(0,r.jsxs)(i.Flex,{gap:"spacer-8",children:[(0,r.jsx)(i.MaskInput,{"data-test":R,"aria-label":"Weight (lbs)",id:R,inputMode:"decimal",size:"l",variant:"flushed",placeholder:"Weight (lbs)",isDisabled:t,isInvalid:p,maskOptions:{mask:/^\d{0,3}(\.\d{0,2})?$/,postfix:" (lbs)"},onInput:e=>C(R,e.currentTarget.value),...a(R,{required:!0,validate:{isValid:e=>{let t=(0,S.s)(e);return t>=1&&t<1e3||n.i[R].isValid},isLowerThanCurrentWeight:e=>{let t=(0,S.s)(H);return(0,S.s)(e)>=t||n.i[R].isLowerThanCurrentWeight}}})}),(0,r.jsx)(i.MaskInput,{"data-test":v,inputMode:"numeric",id:v,size:"l",variant:"flushed",placeholder:"YYYY",isDisabled:t,isInvalid:g,maskOptions:{mask:/^\d{0,4}$/},onInput:e=>{C(v,e.currentTarget.value),4===e.currentTarget.value.length&&d(v)},...a(v,{required:!0,pattern:{value:/^\d{4}$/,message:n.i[v].pattern},min:{value:new Date(h).getFullYear(),message:n.i[v].min},max:{value:new Date().getFullYear(),message:n.i[v].max}})})]}),p&&(0,r.jsx)(o.gO,{errors:m,name:R}),g&&(0,r.jsx)(o.gO,{errors:m,name:v})]})}}}]);