"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[760],{50264:(e,t,a)=>{a.d(t,{x:()=>d});var n=a(37876),r=a(74161),l=a(37477),o=a(14232),i=a(62847);let s=e=>{let{isVideoModalOpen:t,track:a,videoTitle:n,videoSrc:r,iframeRef:l,videoStateRef:i,processProgressMilestones:s}=e;(0,o.useEffect)(()=>{let e=e=>{var t,o,d,c,u,p,x,h,m,g,v,y,f,C,b,k,j,w;let M;if(!e.origin.includes("vimeo.com")||!e.data||"string"!=typeof e.data)return;try{M=JSON.parse(e.data)}catch(e){return}if(!M.event)return;let P=i.current;if(!P)return;let A={videoTitle:n,videoSrc:r,provider:"vimeo"};switch(M.event){case"ready":(null==(t=l.current)?void 0:t.contentWindow)&&['{"method":"addEventListener","value":"play"}','{"method":"addEventListener","value":"pause"}','{"method":"addEventListener","value":"ended"}','{"method":"addEventListener","value":"playProgress"}','{"method":"addEventListener","value":"seeked"}','{"method":"addEventListener","value":"loaded"}','{"method":"getDuration"}'].forEach(e=>{var t,a;null==(a=l.current)||null==(t=a.contentWindow)||t.postMessage(e,"*")});break;case"loaded":(null==(o=l.current)?void 0:o.contentWindow)&&l.current.contentWindow.postMessage('{"method":"getDuration"}',"*");break;case"play":P.isPlaying=!0,P.hasStarted?a("video_resumed",{...A,currentTime:(null==(u=M.data)?void 0:u.seconds)||0,duration:(null==(p=M.data)?void 0:p.duration)||P.duration||void 0,percent:(null==(x=M.data)?void 0:x.percent)?Math.round(100*M.data.percent):0}):(P.hasStarted=!0,a("video_started",{...A,currentTime:(null==(d=M.data)?void 0:d.seconds)||0,duration:(null==(c=M.data)?void 0:c.duration)||P.duration||void 0,percent:0}));break;case"pause":P.isPlaying=!1,a("video_paused",{...A,currentTime:(null==(h=M.data)?void 0:h.seconds)||0,duration:(null==(m=M.data)?void 0:m.duration)||P.duration||void 0,percent:(null==(g=M.data)?void 0:g.percent)?Math.round(100*M.data.percent):0});break;case"ended":P.isPlaying=!1,a("video_ended",{...A,currentTime:(null==(v=M.data)?void 0:v.seconds)||P.duration||0,duration:(null==(y=M.data)?void 0:y.duration)||P.duration||void 0,percent:100});break;case"playProgress":{let e=(null==(f=M.data)?void 0:f.seconds)||0,t=(null==(C=M.data)?void 0:C.duration)||P.duration,n=(null==(b=M.data)?void 0:b.percent)?Math.round(100*M.data.percent):0;t>0&&t!==P.duration&&(P.duration=t),s(e,n,P,A,a);break}case"seeked":a("video_seek",{...A,currentTime:(null==(k=M.data)?void 0:k.seconds)||0,duration:(null==(j=M.data)?void 0:j.duration)||P.duration||void 0,percent:(null==(w=M.data)?void 0:w.percent)?Math.round(100*M.data.percent):0});break;default:"getDuration"===M.method&&"number"==typeof M.value&&(P.duration=M.value)}};if(t)return window.addEventListener("message",e),()=>window.removeEventListener("message",e)},[t,a,n,r,s,l,i])},d=e=>{let{videoSrc:t=i.$,videoTitle:a="Lab Work Instructional Video",buttonText:d="Watch Our Intro Video",size:c="l",variant:u="primary-alt",...p}=e,[x,h]=(0,o.useState)(!1),{track:m}=(0,r.useAnalytics)(),g=(0,o.useRef)(null),v=(0,o.useRef)({hasStarted:!1,duration:0,lastProgress:0,milestonesReached:new Set,isPlaying:!1}),y=(0,o.useCallback)(()=>{h(!0),m("video_modal_opened_flyte",{videoTitle:a,videoSrc:t})},[m,a,t]),f=(0,o.useCallback)(()=>{h(!1);let e=v.current;m("video_modal_closed_flyte",{videoTitle:a,videoSrc:t,hasStarted:e.hasStarted.toString(),duration:e.duration,lastProgress:e.lastProgress,isPlaying:e.isPlaying.toString()}),v.current={hasStarted:!1,duration:0,lastProgress:0,milestonesReached:new Set,isPlaying:!1}},[m,a,t]),C=(0,o.useCallback)((e,t,a,n,r)=>{a.duration>0&&t>0&&([25,50,75,100].forEach(l=>{t>=l&&!a.milestonesReached.has(l)&&(a.milestonesReached.add(l),r("video_progress_".concat(l,"_percent"),{...n,currentTime:e,duration:a.duration,percent:l,progressPercent:l,watchedSequentially:"true"}))}),a.lastProgress=t)},[m]);s({isVideoModalOpen:x,track:m,videoTitle:a,videoSrc:t,iframeRef:g,videoStateRef:v,processProgressMilestones:C});let b="".concat(t).concat(t.includes("?")?"&":"?","api=1&player_id=vimeo-player");return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l.Button,{onClick:y,trailingIcon:(0,n.jsx)(l.IconArrowRight,{}),size:c,variant:u,"data-test":"flyteVideoLauncher",...p,children:d}),(0,n.jsxs)(l.Modal,{isOpen:x,onClose:f,isCentered:!0,children:[(0,n.jsx)(l.Modal.Overlay,{}),(0,n.jsx)(l.Modal.Content,{backgroundColor:"transparent",boxShadow:"none",width:{base:"100%",md:"620px",lg:"687px",xl:"747px",xxl:"804px"},padding:0,margin:0,overflow:"hidden",borderRadius:{base:0,md:"16px"},children:(0,n.jsx)(l.Box,{width:"100%",aspectRatio:"16/9",overflow:"hidden",children:(0,n.jsx)(l.Box,{as:"iframe",ref:g,id:"vimeo-player",width:"100%",height:"100%",src:b,title:a,allow:"fullscreen; picture-in-picture",frameBorder:"0"})})})]})]})}},58361:(e,t,a)=>{a.d(t,{q:()=>x});var n=a(37876),r=a(29261),l=a(74161),o=a(37477),i=a(52674),s=a(83439),d=a(80072),c=a(14232);let u=e=>{let{isOpen:t,onClose:a,onContinue:r}=e,l=(0,c.useRef)(null);return(0,n.jsxs)(o.Modal,{isOpen:t,onClose:a,autoFocus:!1,isCentered:!0,initialFocusRef:l,children:[(0,n.jsx)(o.Modal.Overlay,{}),(0,n.jsxs)(o.Modal.Content,{p:"spacer-6",mx:0,maxWidth:{lg:"720px"},mb:{base:0,lg:"auto"},height:{base:"calc(100% - 24px)",lg:"auto"},"data-test":"careCompassAcknowledgementModal",children:[(0,n.jsx)(o.Modal.Header,{p:0,children:(0,n.jsx)(o.Text,{variant:"text-header-M",color:"text-primary",children:"Important Benefit Plan Change: New Monthly Program Fee"})}),(0,n.jsx)(o.Modal.Body,{p:0,overflow:"auto",display:"flex",flexDirection:"column",children:(0,n.jsxs)(o.Flex,{direction:"column",mt:"spacer-4",gap:"spacer-4",children:[(0,n.jsx)(o.Text,{variant:"text-body-large-regular",color:"text-secondary",children:"Beginning Aug. 1, 2025 through June 30, 2026 (current plan year), a new Monthly Program Fee of $12.50/month will be required to participate in the FlyteHealth Clinical Program. Participants must complete weekly, monthly, and annual tasks as part of being in the FlyteHealth Clinical Program, including:"}),(0,n.jsxs)(o.Flex,{direction:"column",gap:"spacer-1",pl:"spacer-3",children:[(0,n.jsxs)(o.Text,{variant:"text-body-large-regular",color:"text-secondary",children:[(0,n.jsx)(o.Text,{as:"span",color:"text-secondary",mr:"10px",display:"inline-flex",alignItems:"center",children:"•"}),"Weekly Medication Check-In"]}),(0,n.jsxs)(o.Text,{variant:"text-body-large-regular",color:"text-secondary",children:[(0,n.jsx)(o.Text,{as:"span",color:"text-secondary",mr:"10px",display:"inline-flex",alignItems:"center",children:"•"}),"Monthly Weight and Blood Pressure Readings from Your Connected Devices"]}),(0,n.jsxs)(o.Text,{variant:"text-body-large-regular",color:"text-secondary",children:[(0,n.jsx)(o.Text,{as:"span",color:"text-secondary",mr:"10px",display:"inline-flex",alignItems:"center",children:"•"}),"Annual Submission of Required Lab Panels"]}),(0,n.jsxs)(o.Text,{variant:"text-body-large-regular",color:"text-secondary",children:[(0,n.jsx)(o.Text,{as:"span",color:"text-secondary",mr:"10px",display:"inline-flex",alignItems:"center",children:"•"}),"Attending All Clinical Appointments with No Late Cancellations or Missing Clinical Appointments"]}),(0,n.jsxs)(o.Text,{variant:"text-body-large-regular",color:"text-secondary",children:[(0,n.jsx)(o.Text,{as:"span",color:"text-secondary",mr:"10px",display:"inline-flex",alignItems:"center",children:"•"}),"Logging Meal and Exercise Activities a Week Before All Clinical Appointments"]})]}),(0,n.jsxs)(o.Text,{variant:"text-body-large-regular",color:"text-secondary",mb:"spacer-4",children:["If these steps aren't completed, the monthly program fee may increase to $25/month next year. For more details and support, please visit our"," ",(0,n.jsx)(o.Link,{href:"https://intellihealthcorp.zendesk.com/hc/en-us/articles/39855593674388-Monthly-Program-Fee-Compliance-Task-Requirements-for-State-of-Connecticut-Members",target:"_blank",rel:"noopener noreferrer",color:"text-link",textDecoration:"underline",size:"l",children:"Help Center"}),"."]})]})}),(0,n.jsxs)(o.Modal.Footer,{flexDirection:"column",gap:"spacer-4",p:0,children:[(0,n.jsx)(o.Button,{variant:"primary",size:{base:"m",lg:"l"},flex:1,width:"100%",onClick:()=>{r()},ref:l,"data-test":"careCompassAcknowledgementContinue",children:"Continue"}),(0,n.jsx)(o.Button,{variant:"primary-alt",size:{base:"m",lg:"l"},flex:1,width:"100%",onClick:a,"data-test":"careCompassAcknowledgementCancel",children:"Cancel"})]})]})]})};var p=a(76803);let x=e=>{let{size:t="l",children:a="Get Started",...x}=e,[h,m]=(0,c.useState)(!1),[g,v]=(0,c.useState)(!1),[y,f]=(0,c.useState)(!1),{track:C}=(0,l.useAnalytics)(),b=(0,c.useCallback)(()=>{f(!1),v(!1),C(r.A.closeWorkflowEvent)},[]),k=(0,c.useCallback)(()=>f(e=>!e),[]),j=(0,c.useCallback)(e=>{[d.C.ApplicationReview,d.C.ApplicationComplete,d.C.ApplicationDetected,d.C.EligibilityUnmet,d.C.AppDownload].includes(e)?v(!1):(C(r.A.closeWorkflowConfirmationEvent),k())},[]),w=(0,c.useCallback)(()=>{C(r.A.abortCloseWorkflow),k()},[k,C]),M=(0,c.useCallback)(()=>{m(!1),v(!0)},[]),P=(0,c.useCallback)(()=>{m(!1)},[]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.Button,{onClick:()=>m(!0),trailingIcon:(0,n.jsx)(o.IconArrowRight,{}),size:t,children:a,"data-test":"careCompassSignUpLauncher",...x}),h&&(0,n.jsx)(u,{isOpen:!0,onClose:P,onContinue:M}),g&&(0,n.jsx)(p.Z,{render:e=>{let{header:t,body:a,currentWorkFlowStep:r}=e;return(0,n.jsxs)(i.fq,{isOpen:!0,onClose:()=>j(r),children:[(0,n.jsx)(i.fq.Header,{children:t}),(0,n.jsx)(i.fq.Body,{children:a},r)]})}}),(0,n.jsx)(s.t,{isOpen:y,onContinue:w,onLeave:b})]})}},62847:(e,t,a)=>{a.d(t,{$:()=>n});let n="https://player.vimeo.com/video/1084676369"}}]);