1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e.SENTRY_RELEASE={id:"medbillai-web@7bdf109"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9d0274a2-24b4-4544-b61e-031463439bdf",e._sentryDebugIdIdentifier="sentry-dbid-9d0274a2-24b4-4544-b61e-031463439bdf")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4776],{3627:()=>{},4237:(e,t,r)=>{"use strict";r.d(t,{c:()=>s});var n=r(60072),o=r(55761);let s=({children:e,behavior:t,keyboardVerticalOffset:r,contentContainerStyle:s,enabled:a,...i})=>(0,n.jsx)(o.View,{...i,"data-sentry-element":"View","data-sentry-component":"KeyboardAvoidingView","data-sentry-source-file":"KeyboardAvoidingView.tsx",children:e})},7262:(e,t,r)=>{"use strict";r.d(t,{Py:()=>a,tZ:()=>s});var n=r(60072),o=r(62274);let s=e=>(0,n.jsx)(o.qM,{centerHorizontal:!0,disableScroll:!0,scrollViewProps:{"$platform-web":{height:"100%"}},stackProps:{alignItems:"center",gap:"$3",paddingRight:"$4.5",paddingLeft:"$4.5",paddingTop:"$3",marginTop:"$12",$gtSm:{gap:"$8",justifyContent:"flex-start"},flex:1,"$platform-web":{paddingTop:"$8"}},...e,"data-sentry-element":"ScreenView","data-sentry-component":"ScreenViewAccountLink","data-sentry-source-file":"AccountLinkScreenViews.tsx"}),a=e=>(0,n.jsx)(o.qM,{centerHorizontal:!0,disableScroll:!0,noPadding:!0,stackProps:{alignItems:"center",gap:"$3",paddingTop:"$1",$gtSm:{gap:"$8",justifyContent:"flex-start"},flex:1,height:"100%"},...e,"data-sentry-element":"ScreenView","data-sentry-component":"ScreenViewAccountSelect","data-sentry-source-file":"AccountLinkScreenViews.tsx"})},7317:(e,t,r)=>{"use strict";r.d(t,{u:()=>d,w:()=>l});var n=r(60072),o=r(60004),s=r(56168),a=r(87371),i=r(81803);let l=(0,a.I)(s.w,{borderColor:"$borderDefault",borderBottomWidth:i.T,variants:{vertical:{true:{borderRightWidth:i.T,borderBottomWidth:0}}}}),d=({separator:e,children:t})=>(0,n.jsx)(n.Fragment,{children:o.Children.toArray(t).map((t,r,s)=>(0,n.jsxs)(o.Fragment,{children:[t,r<s.length-1?e??(0,n.jsx)(l,{}):null]},r))})},11172:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/accounts-link/select",function(){return r(61963)}])},15482:(e,t,r)=>{"use strict";r.d(t,{R:()=>i});var n=r(60004),o=r(23162),s=r(93692),a=r(60072);let i=(0,s.S)((0,n.memo)(function(e){let{color:t="black",size:r=24,...n}=e;return(0,a.jsxs)(o.BS,{width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...n,children:[(0,a.jsx)(o.jl,{cx:"12",cy:"12",r:"10",stroke:t}),(0,a.jsx)(o.wA,{d:"M12 16v-4",stroke:t}),(0,a.jsx)(o.wA,{d:"M12 8h.01",stroke:t})]})}))},20578:(e,t,r)=>{"use strict";r.d(t,{g:()=>n});let n=()=>0},22627:(e,t,r)=>{"use strict";r.d(t,{To:()=>u,k5:()=>c,we:()=>p});var n=r(77141),o=r(98924),s=r(16922),a=r(11737),i=r(75104),l=r(24234),d=r(89034);let c={size:"$true",fontFamily:"$body",borderWidth:1,outlineWidth:0,color:"$color",...o.HZ?{tabIndex:0}:{focusable:!0},borderColor:"$borderColor",backgroundColor:"$background",minWidth:0,hoverStyle:{borderColor:"$borderColorHover"},focusStyle:{borderColor:"$borderColorFocus"},focusVisibleStyle:{outlineColor:"$outlineColor",outlineWidth:2,outlineStyle:"solid"}},u=(e="$true",t)=>{let{props:r}=t,n=(0,a.W)(e,t),d=(0,i.n)(e,t),c=r.rows??r.numberOfLines,u="number"==typeof c?c*(0,s.Wu)(d.lineHeight):"auto";!o.HZ&&d&&delete d.lineHeight;let p=(0,l.pp)(e,{shift:-2,bounds:[2]}),g=(0,l.pp)(e,{shift:-1,bounds:[2]});return{...n,...d,paddingVertical:p,paddingHorizontal:g,height:u}},p=[{name:"Input",render:"input",variants:{unstyled:{true:{outlineWidth:0,borderWidth:0,backgroundColor:"transparent"},false:c},size:{"...size":(e="$true",t)=>{if("textarea"===t.props.tag||t.props.rows>1||t.props.multiline||t.props.numberOfLines>1)return u(e,t);let r=(0,a.W)(e,t),n=(0,l.pp)(e,{shift:-1,bounds:[2]}),s=(0,i.n)(e,t);return!o.HZ&&s&&delete s.lineHeight,{...s,...r,paddingHorizontal:n}}},disabled:{true:{}}},defaultVariants:{unstyled:"1"===d.env.TAMAGUI_HEADLESS}},{isInput:!0,accept:{placeholderTextColor:"color",selectionColor:"color",curs
1orColor:"color",selectionHandleColor:"color",underlineColorAndroid:"color"},validStyles:n.EYj.staticConfig.validStyles}]},25133:(e,t,r)=>{"use strict";r.d(t,{e:()=>v});var n=r(60072),o=r(6050),s=r(60004),a=r(87371),i=r(77141),l=r(98924),d=r(45447),c=r(29557),u=r(74264),p=r(56588),g=r(66212);let h={neutral:{bg:"$surface0",text:"$textDefault",icon:"$iconDefault"},positive:{bg:"$bgPositive",text:"$textPositive",icon:"$iconPositive"},negative:{bg:"$bgNegative",text:"$textNegative",icon:"$iconNegative"},warning:{bg:"$bgWarning",text:"$textWarning",icon:"$iconWarning"},info:{bg:"$bgAccent",text:"$textAccent",icon:"$iconAccent"}},f={size:{small:{height:"$si4",width:"$si4"},medium:{height:"$si6",width:"$si6"},large:{height:"$si8",width:"$si8"}},shape:{circle:{borderRadius:"$brFull"},square:{}},status:{neutral:{backgroundColor:h.neutral.bg},positive:{backgroundColor:h.positive.bg},negative:{backgroundColor:h.negative.bg},warning:{backgroundColor:h.warning.bg},info:{backgroundColor:h.info.bg}}},m=(0,a.I)(i.Ss2,{name:"Avatar",variants:f,alignItems:"center",justifyContent:"center",defaultVariants:{shape:"circle",status:"neutral"}}),y={large:"$iconXLarge",medium:"$iconLarge",small:"$iconSmall"},b={small:"$br1",medium:"$br2",large:"$br2"},x={mixBlendMode:"multiply"},S={large:(0,a.I)(g.Km,{name:"AvatarTextLarge"}),medium:(0,a.I)(g.Dk,{name:"AvatarTextMedium"}),small:(0,a.I)(g.D1,{name:"AvatarTextSmall"})},v=e=>{let{icon:t,initials:r,image:a,loading:i,skeleton:g,size:f="medium",shape:v="circle",status:A="neutral",objectFit:$="contain",...w}=e,j=h[A],k="string"==typeof a||"number"==typeof a?a:a?.uri,[C,E]=(0,s.useState)(void 0),L=null!=a&&null==k||null!=C&&C===k,I=(0,s.useCallback)(()=>{E(k);let e="string"==typeof a?"string":"number"==typeof a?"number":"uri-object";o.Cp(Error("Avatar image failed to load"),{level:"warning",extra:{imageSourceType:e}})},[a,k]),_=null==a?void 0:"string"==typeof a?{uri:a}:a,T="string"==typeof a?a:"object"==typeof a&&null!=a&&"uri"in a?a.uri:void 0,N=S[f];return(0,n.jsx)(m,{overflow:"hidden",size:f,shape:v,status:A,..."square"===v?{borderRadius:b[f]}:{},...w,"data-sentry-element":"StyledAvatar","data-sentry-component":"Avatar","data-sentry-source-file":"Avatar.tsx",children:g?(0,n.jsx)(p.r,{radius:0}):i?(0,n.jsx)(u.a,{size:y[f],color:j.icon}):a&&!L&&(l.HZ?null!=T:null!=_)?(0,n.jsx)(c._,{src:l.HZ?T:_,onError:I,width:"100%",height:"100%",objectFit:$,...l.HZ?{style:x}:null}):r?(0,n.jsx)(N,{color:j.text,children:r}):t?(0,n.jsx)(d.I,{icon:t,size:y[f],color:j.icon}):null})};r(3627)},42353:()=>{},45293:(e,t,r)=>{"use strict";r.d(t,{v:()=>c});var n=r(60072),o=r(98924),s=r(94131),a=r(29557),i=r(66212),l=r(59037),d=r(29531);let c=({endpoint:e,style:t,imageStyle:r,orgSlug:c,maintainAspectRatio:u=!1})=>{let p=(0,l.xd)(e,c),g=(0,l.EN)(e,c),h=r?.height||43,f=d.N[p],m=f?.aspectRatio||1,y=u?h*m:h,b=o.HZ?!!f:!!f?.asset;return(0,n.jsx)(s.Ss,{overflow:"hidden",alignSelf:u?"flex-start":void 0,...t,"data-sentry-element":"View","data-sentry-component":"AccountLogo","data-sentry-source-file":"AccountLogo.tsx",children:b?o.HZ?(0,n.jsx)(a._,{src:`/static/logos/${p}.png`,width:y,height:h,objectFit:"contain",backgroundColor:"transparent",...r}):(0,n.jsx)(a._,{src:f.asset,width:y,height:h,objectFit:"contain",backgroundColor:"white",...r}):(0,n.jsx)(s.Se,{width:y,height:h,justifyContent:"center",alignItems:"center",...r,children:(0,n.jsx)(i.EY,{fontFamily:"$text",fontSize:r?.height?(r?.height||0)-20:o.HZ?"$3":"$5",bold:!0,children:g})})})}},49242:(e,t,r)=>{"use strict";r.d(t,{f:()=>i});var n=r(87371),o=r(92675),s=r(22627),a=r(89034);let i=(0,n.I)(o.p,{name:"TextArea",render:"textarea",whiteSpace:"pre-wrap",variants:{unstyled:{false:{height:"auto",...s.k5,rows:3}},size:{"...size":s.To}},defaultVariants:{unstyled:"1"===a.env.TAMAGUI_HEADLESS}})},56588:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l,r:()=>i});var n=r(60072),o=r(77141),s=r(88560),a=r(54750);function i({width:e="100%",height:t="100%",radius:r=8}){let l,{rest:d,highlight:c,restTransparent:u,radiusPx:p}={rest:l=String((0,s.N8)("$surface0","color")),highlight:String((0,s.N8)("$surface1","color")),restTransparent:(0,a.f)(l,0),radiusPx:"number"==typeof r?r:(0,s.N8)(r,"radius")};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("style",{href:"skeleton-shimmer",precedence:"default",children:` 2 @keyframes skeleton-shimmer { 3 0% { transform: translateX(-100%); } 4 100% { transform: translateX(100%); } 5 } 6 .skeleton-shimmer { 7 animation: skeleton-shimmer 1.4s ease-in-out infinite; 8 } 9 @media (prefers-reduced-motion: reduce) { 10 .skeleton-shimmer { display: none; } 11 } 12 `}),(0,n.jsx)(o.Ss2,{width:e,height:t,borderRadius:p,overflow:"hidden",style:{backgroundColor:d},"data-sentry-element":"View","data-sentry-source-file":"SkeletonShimmer.tsx",children:(0,n.jsx)("div",{className:"skeleton-shimmer",style:{position:"absolute",inset:0,backgroundImage:`linear-gradient(90deg, ${u} 0%, ${c} 50%, ${u} 100%)`}})})]})}let l=({width:e="100%",height:t,radius:r=8})=>(0,n.jsx)(i,{width:e,height:t,radius:r,"data-sentry-element":"SkeletonShimmer","data-sentry-component":"SkeletonBlock","data-sentry-source-file":"SkeletonShimmer.tsx"})},58175:(e,t,r)=>{"use strict";r.d(t,{W:()=>l,rq:()=>i,WS:()=>d,eC:()=>p,eK:()=>f,Jo:()=>c,j4:()=>u,MF:()=>h});
12var n=r(96857),o=r.n(n),s=r(93899);let a={aetna:{registerUrl:"https://www.aetna.com/managemyaccount/Register",forgotPasswordUrl:"https://www.aetna.com/managemyaccount/forgotPassword"},unitedhealthcare:{registerUrl:"https://www.healthsafe-id.com/rt/register/uhccom/en",forgotPasswordUrl:"https://www.healthsafe-id.com/rt/password/uhccom/en"},cigna:{registerUrl:"https://my.cigna.com/web/public/consumer/registration/intro",forgotPasswordUrl:"https://my.cigna.com/web/public/consumer/forgot/password"},anthem:{registerUrl:"https://membersecure.anthem.com/member/public/register?brand=ABCBS",forgotPasswordUrl:"https://membersecure.anthem.com/member/public/forgot-username-password?brand=ABCBS"},humana:{registerUrl:"https://account.humana.com/",forgotPasswordUrl:"https://account.humana.com/forgot-password"},"kaiser-permanentente":{registerUrl:"https://healthy.kaiserpermanente.org/register/member-registration#/info-new",forgotPasswordUrl:"https://healthy.kaiserpermanente.org/consumer-sign-on/help-signing-in"},"blue-shield-of-california":{registerUrl:"https://www.blueshieldca.com/memberwebapp/registration",forgotPasswordUrl:"https://www.blueshieldca.com/memberwebapp/forgot-password"},"florida-blue":{registerUrl:"https://registration.bcbsfl.com/ecir/public/Registration.do",forgotPasswordUrl:"https://registration.bcbsfl.com/ecir/public/MemberFPSSelect.do"},oscar:{registerUrl:"https://accounts.hioscar.com/account/initialize-account/",forgotPasswordUrl:"https://accounts.hioscar.com/account/reset-password/"},"oscar-health":{registerUrl:"https://accounts.hioscar.com/account/initialize-account/",forgotPasswordUrl:"https://accounts.hioscar.com/account/reset-password/"}},i=2e3,l=10,d=60,c="resultUnavailable",u={__typename:"webAgent__Endpoint_Type",displayName:c,id:c,slug:"PlaceHolder",isActive:!0,type:s.tmB.INSURANCE,displayUrl:"",loginUrl:"",metadata:[],portalGuideUrl:null,currentSupportLevel:null,organization:{__typename:"integration__Organization_Type",id:"PlaceHolder",displayName:"PlaceHolder",slug:"PlaceHolder"}};function p(e){let t,r=(e||[]).map(e=>e.status).filter(e=>!!e);return(r?.length??0)>0&&(r.some(e=>e===s.lEp.COMPLETED)||r.some(e=>e===s.lEp.PARTIAL)?t=s.lEp.COMPLETED:r.some(e=>e===s.lEp.IN_PROGRESS)?t=s.lEp.IN_PROGRESS:r.some(e=>e===s.lEp.FAILED)&&(t=s.lEp.FAILED)),t}let g=["COMPLETED","PARTIAL","PREVIOUSLY_COMPLETED"];function h(e,t){return[...e,...t].map(e=>{if("webAgent__Link_Type"===e.__typename){let t=(e=>{if(e.deactivatedAt)return{_tag:"DEACTIVATED",id:e.id};let t=p(e.latestExecution?.ingestions),r=o()().diff(e.createdAt,"minutes")<d;if(!t&&r)return{_tag:"CRAWL_IN_PROGRESS"};if(t===s.lEp.COMPLETED||t===s.lEp.PARTIAL){let t=e.latestExecution?.ingestions?.find(e=>e.status===s.lEp.COMPLETED||e.status===s.lEp.PARTIAL),r=e.lastSyncedAt?o()(e.lastSyncedAt).toDate():t?.endedAt?o()(t.endedAt).toDate():void 0;return r?{_tag:"COMPLETED",endedAt:r}:(console.error(`absurd: No endedAt found for successful ingestion. Link: ${e.id}, Ingestion: ${t?.id}. This is a bug in granted code.`),{_tag:"FAILED"})}if(t===s.lEp.IN_PROGRESS)return{_tag:"INGESTION_IN_PROGRESS",ingested:e.latestExecution?.ingestions?.flatMap(e=>e.resources||[])||[]};let n=e.executions?.find(e=>e.ingestions&&e.ingestions.length>0);return n?.ingestions?.[0]?{_tag:"PREVIOUSLY_COMPLETED",endedAt:n.ingestions[0].endedAt?o()(n.ingestions[0].endedAt).toDate():new Date}:{_tag:"FAILED"}})(e),r=g.includes(t._tag)&&"endedAt"in t?t.endedAt??void 0:void 0;return{id:e.id,status:t,endedAt:"COMPLETED"===t._tag||"PARTIAL"===t._tag?t.endedAt:void 0,ingested:"INGESTION_IN_PROGRESS"===t._tag?t.ingested:void 0,memberName:e.patientName||"",insuranceName:e.endpoint.displayName||"",insuranceSlug:e.endpoint.slug||"",relinkId:e.id,createdAt:new Date(e.createdAt),lastSyncedAt:r}}if("flexpa__Link_Type"===e.__typename){let t=(e=>{if(e.active&&!e.lastSyncedAt)if(o()().diff(e.createdAt,"minutes")<l)return{_tag:"CRAWL_IN_PROGRESS"};else return{_tag:"FAILED"};return e.active&&e.lastSyncedAt?{_tag:"COMPLETED",endedAt:new Date(e.lastSyncedAt)}:e.deactivatedReason===s.hTk.EXPIRED?{_tag:"EXPIRED"}:{_tag:"FAILED"}})(e);return{id:e.id,status:t,endedAt:"COMPLETED"===t._tag?t.endedAt:void 0,memberName:e.patientName||"",insuranceName:e.endpoint.displayName||e.endpoint.organization?.displayName||"",insuranceSlug:e.endpoint.slug||e.endpoint.organization?.slug||"",createdAt:new Date(e.createdAt),lastSyncedAt:e.lastSyncedAt?new Date(e.lastSyncedAt):void 0}}}).filter(e=>void 0!==e).sort((e,t)=>
12e.lastSyncedAt&&t.lastSyncedAt?t.lastSyncedAt.getTime()-e.lastSyncedAt.getTime():e.lastSyncedAt?1:t.lastSyncedAt?-1:t.createdAt.getTime()-e.createdAt.getTime())}function f(e){if(!e)return{forgotPasswordUrl:null,forgotPasswordIsVerified:!1,registerUrl:null};let t=e.slug?a[e.slug]:void 0;return{forgotPasswordUrl:t?.forgotPasswordUrl??e.loginUrl??null,forgotPasswordIsVerified:t?.forgotPasswordUrl!=null,registerUrl:t?.registerUrl??null}}},61963:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Page:()=>ef,__N_SSP:()=>eh,default:()=>em});var n=r(60072),o=r(76316),s=r.n(o),a=r(52924),i=r(8709),l=r(3619),d=r(40754),c=r(60004),u=r(65391),p=r(68312),g=r(93899),h=r(20578),f=r(97626),m=r(17189),y=r(88510),b=r(94131),x=r(98924),S=r(66212),v=r(57585),A=r(80418),$=r(58632),w=r(59037),j=r(49392),k=r(76894),C=r(52953),E=r(23162),L=r(93692);let I=(0,L.S)((0,c.memo)(function(e){let{color:t="black",size:r=24,...o}=e;return(0,n.jsxs)(E.BS,{width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...o,children:[(0,n.jsx)(E.wA,{d:"M11 2v2",stroke:t}),(0,n.jsx)(E.wA,{d:"M5 2v2",stroke:t}),(0,n.jsx)(E.wA,{d:"M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1",stroke:t}),(0,n.jsx)(E.wA,{d:"M8 15a6 6 0 0 0 12 0v-3",stroke:t}),(0,n.jsx)(E.jl,{cx:"20",cy:"10",r:"2",stroke:t})]})}));var _=r(77554),T=r(61622),N=r(99360),P=r(4237),R=r(51817),z=r(65993);let D=(0,c.forwardRef)(({size:e,error:t,onChangeText:r,value:o,label:s,disabled:a,placeholder:i,paddingHorizontal:l},d)=>{let c=(0,R.B)(d);return(0,n.jsxs)(z.D,{paddingHorizontal:l,size:e,theme:t?"red_alt2":"granted",children:[s?(0,n.jsx)(z.D.Label,{pb:"$1",pl:0,size:"$3",children:s}):null,(0,n.jsx)(z.D.Box,{focusStyle:{borderColor:"$borderColorFocus"},disabled:a,...c,children:(0,n.jsx)(z.D.Area,{disabled:a,ref:d,placeholderTextColor:"$placeholderColor",placeholder:i,onChangeText:r,value:o})})]})});D.displayName="InputWithRef";
12var F=r(81803),O=r(45851),B=r(75026);let H=(0,c.memo)(function({open:e,onOpenChange:t}){let[r,o]=(0,c.useState)(""),{bottom:s}=(0,f.O)(),{push:a}=(0,p.r)(),i=(0,w.JG)(),l=(0,B.$)(),d=(0,c.useRef)(null),[u,h]=(0,c.useState)(!1),[y,x]=(0,c.useState)(!1),v=(0,_.Y)(),$=(0,A.c)(e=>e.searchText);(0,c.useEffect)(()=>{o($)},[$]),(0,c.useEffect)(()=>{e&&d.current&&d.current.focus()},[e]);let j=async()=>{h(!0);try{await l.trackInsuranceLinkAttempt({status:g.dzQ.ABANDONED,abandonedReason:g.lB_.INSURANCE_NOT_FOUND,additionalData:{insuranceName:r}})}catch(e){console.error("Failed to track insurance link attempt",e)}x(!0),setTimeout(()=>{t(!1),setTimeout(()=>{a(i.unsupportedPlan),x(!1),h(!1)},300)},1e3)};return(0,n.jsx)(T.Z,{children:(0,n.jsxs)(N.cj,{open:e,onOpenChange:t,transition:"medium",snapPointsMode:"fit",dismissOnSnapToBottom:!0,moveOnKeyboardChange:!0,zIndex:1e5,containerComponent:v,children:[(0,n.jsx)(N.cj.Overlay,{backgroundColor:"$background05",enterStyle:{opacity:0},exitStyle:{opacity:0},transition:"medium"}),(0,n.jsx)(N.cj.Frame,{mb:s,borderTopLeftRadius:"$8",borderTopRightRadius:"$8",children:(0,n.jsxs)(P.c,{behavior:"padding",children:[(0,n.jsx)(b.lW,{justifyContent:"center",alignItems:"center",pt:"$2",children:(0,n.jsx)(b.lW,{backgroundColor:"$gray5",height:"$0.75",width:"$6",borderRadius:"$6"})}),(0,n.jsxs)(b.Se,{gap:"$3",paddingTop:"$6",px:"$4.5",children:[(0,n.jsxs)(b.Se,{gap:"$3",alignItems:"center",children:[(0,n.jsx)(I,{scale:1.5}),(0,n.jsx)(S.NM,{size:"$8",children:"Insurance Provider Request"}),(0,n.jsx)(S.fz,{textAlign:"center",children:"Please enter the name of the insurance provider you would like us to add."})]}),(0,n.jsx)(D,{ref:d,placeholder:"Insurance Name",value:r,onChangeText:o,error:!1,size:"$4"}),(0,n.jsx)(m.N,{exitBeforeEnter:!0,children:y?(0,n.jsx)(b.Se,{enterStyle:{scale:.5,opacity:0},transition:"bouncyTight",backgroundColor:"$green4",borderRadius:"$4",borderColor:"$green8",borderWidth:F.T,padding:"$3",children:(0,n.jsx)(S.fz,{textAlign:"center",color:"$green8",bold:!0,children:"Request Submitted"})},"success"):(0,n.jsx)(O.lV,{disabled:0===r.length,onPress:j,loading:u,exitStyle:{scale:.5,opacity:0},transition:"bouncyTight",children:"Submit Request"},"fail")})]})]})})]})})});var U=r(7262),W=r(78844),V=r(17854),M=r(88181),G=r(58175);let Y=({searchTextLength:e})=>(0,n.jsx)(b.Se,{zIndex:201,paddingHorizontal:"$4",height:15,"data-sentry-element":"YStack","data-sentry-component":"AccountLinkListLabel","data-sentry-source-file":"AccountLinkListLabel.tsx",children:(0,n.jsx)(m.N,{"data-sentry-element":"AnimatePresence","data-sentry-source-file":"AccountLinkListLabel.tsx",children:0===e?(0,n.jsx)(S.fz,{size:"$2",theme:"alt1",transition:"100ms",exitStyle:{opacity:0,transform:[{translateY:-5}]},transform:[{translateY:0}],enterStyle:{opacity:0,transform:[{translateY:-5}]},children:"Suggested"},"most-popular"):null})}),q={keys:[{name:"displayName",weight:3},{name:"aliases",weight:2},{name:"locations",weight:1}],threshold:.4,ignoreLocation:!0,minMatchCharLength:1,shouldSort:!0};function Z({popularEndpoints:e,fetchedEndpoints:t}){let r=(0,A.c)(e=>e.searchText),o=(0,A.c)(e=>e.setSearchText),s=(0,A.c)(e=>e.setFilteredEndpoints),[,a]=(0,c.useTransition)(),i=(0,c.useDeferredValue)(r),l=(0,c.useMemo)(()=>t.map(e=>{let t=e.metadata;if(!t||0===t.length)return e;let r=t.find(e=>"Aliases"===e.key)?.values,n=t.find(e=>"Locations"===e.key)?.values;return{...e,aliases:r&&r.length>0?r:void 0,locations:n&&n.length>0?n:void 0}}),[t]),d=(0,c.useMemo)(()=>new W.A(l,q),[l]);return(0,c.useEffect)(()=>{e.length>0&&""===r.trim()&&s(e)},[e,r,s]),(0,c.useEffect)(()=>{a(()=>{if(""===i.trim())e.length>0&&s(e);else{let e=d.search(i,{limit:100}).map(e=>e.item);s(e.length>0?[...e,G.j4]:[])}})},[i,s,e,d]),(0,n.jsxs)(b.Se,{gap:"$0","data-sentry-element":"YStack","data-sentry-component":"AccountLinkListSearchBar","data-sentry-source-file":"AccountLinkListSearchBar.tsx",children:[(0,n.jsx)(M.f,{paddingVertical:"$5",paddingHorizontal:"$4",size:"$5",onChangeText:o,value:r,placeholder:"Search",error:!1,leftIcon:V.v,autoCapitalize:"none",autoComplete:"off",autoCorrect:!1,spellCheck:!1,textContentType:"none","data-sentry-element":"InputLeftIcon","data-sentry-source-file":"AccountLinkListSearchBar.tsx"}),(0,n.jsx)(Y,{searchTextLength:r.length,"data-sentry-element":"AccountLinkListLabel","data-sentry-source-file":"AccountLinkListSearchBar.tsx"})]})}var X=r(58540),J=r(88560),K=r(54750);let Q=String((0,J.N8)("$surface1","color")),ee=(0,K.f)(Q,0),et=({topGradient:e=!0})=>x.HZ?null:(0,n.jsx)(X.W,{style:{position:"absolute",top:e?0:void 0,bottom:e?void 0:0,width:"100%",height:25,rotate:e?"180deg":"0
12deg",zIndex:200},colors:[ee,Q],pointerEvents:"none","data-sentry-element":"LinearGradient","data-sentry-component":"AccountLinkListGradient","data-sentry-source-file":"AccountLinkListGradient.tsx"});var er=r(96177),en=r(55761),eo=r(7317),es=r(71727);let ea=(0,L.S)((0,c.memo)(function(e){let{color:t="black",size:r=24,...o}=e;return(0,n.jsxs)(E.BS,{width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...o,children:[(0,n.jsx)(E.wA,{d:"m2 2 20 20",stroke:t}),(0,n.jsx)(E.wA,{d:"M8.35 2.69A10 10 0 0 1 21.3 15.65",stroke:t}),(0,n.jsx)(E.wA,{d:"M19.08 19.08A10 10 0 1 1 4.92 4.92",stroke:t})]})})),ei=({openSheet:e})=>(0,n.jsxs)(b.Se,{gap:"$3",paddingTop:"$3",paddingBottom:"$6",paddingHorizontal:"$5","data-sentry-element":"YStack","data-sentry-component":"AccountLinkNotFound","data-sentry-source-file":"AccountLinkNotFound.tsx",children:[(0,n.jsxs)(b.Se,{gap:"$1",alignItems:"center",pt:"$4","data-sentry-element":"YStack","data-sentry-source-file":"AccountLinkNotFound.tsx",children:[(0,n.jsx)(ea,{scale:1.5,"data-sentry-element":"CircleOffIcon","data-sentry-source-file":"AccountLinkNotFound.tsx"}),(0,n.jsx)(S.$j,{size:"$8",pt:"$5","data-sentry-element":"Headline","data-sentry-source-file":"AccountLinkNotFound.tsx",children:"No results found"}),(0,n.jsx)(S.fz,{theme:"alt1","data-sentry-element":"Paragraph","data-sentry-source-file":"AccountLinkNotFound.tsx",children:"Can't find your insurance? Request it here."})]}),(0,n.jsx)(O.lV,{onPress:e,"data-sentry-element":"LoadingButton","data-sentry-source-file":"AccountLinkNotFound.tsx",children:"Request Provider"})]});function el({onClickEndpoint:e,onRequestInsurance:t}){let r=(0,A.c)(e=>e.filteredEndpoints),o=(0,c.useRef)(null);(0,c.useEffect)(()=>{r.length>0&&o.current?.scrollToOffset({offset:0,animated:!1})},[r]);let s=(0,c.useCallback)(({item:t})=>(0,n.jsx)(es.B,{endpoint:t,onClick:()=>e(t)}),[e]),a=(0,c.useCallback)(e=>e.id,[]),i=(0,c.useCallback)(()=>(0,n.jsx)(eo.w,{borderColor:"$strokeSecondary"}),[]),l=(0,c.useCallback)(()=>(0,n.jsx)(ei,{openSheet:t}),[t]);return(0,n.jsx)(b.Se,{f:1,backgroundColor:"$surface1","data-sentry-element":"YStack","data-sentry-component":"AccountLinkList","data-sentry-source-file":"AccountLinkList.tsx",children:(0,n.jsx)(er.J6,{ref:o,data:r,renderItem:s,keyExtractor:a,ItemSeparatorComponent:i,ListEmptyComponent:l,contentContainerStyle:{paddingTop:10,paddingBottom:60},onScrollBeginDrag:()=>{en.Keyboard.dismiss()},keyboardShouldPersistTaps:"never","data-sentry-element":"FlashList","data-sentry-source-file":"AccountLinkList.tsx"})})}var ed=r(77901);let{useParams:ec}=(0,u.S)();function eu(){let{params:e}=ec(),t=(0,h.g)(),{bottom:r}=(0,f.O)(),{push:o}=(0,p.r)(),s=(0,j.SS)(),a=(0,w.JG)(),{trackEvent:i}=(0,$.F)(),u=(0,A.c)(e=>e.selectEndpoint),E=(0,A.c)(e=>e.setWorkflowId),L=(0,A.c)(e=>e.spanContext),I=e?.linkType??g.tmB.INSURANCE,_=(0,j.Xp)(v.Flag.SHOW_EHR_DEFAULT_LINKS,!1),[T,N]=(0,c.useState)(!1),[P,R]=(0,c.useState)(!1),{loading:z,data:D}=(0,ed.R)(),{popularEndpoints:F,fetchedEndpoints:O}=(0,c.useMemo)(()=>D?.webAgent__Endpoint?(0,w.zm)(D.webAgent__Endpoint,I,_):{popularEndpoints:[],fetchedEndpoints:[]},[D,I,_]);(0,c.useEffect)(()=>{if(!T){let e=setTimeout(()=>N(!0),300);return()=>clearTimeout(e)}},[T]);let B=(0,c.useCallback)(()=>{R(!0)},[]),W=(0,c.useCallback)(e=>{if(e.displayName===G.j4.displayName)return void B();let t=l.u.getSpan(L??d._.active());t&&e.slug&&t.addEvent("select_insurance.select_endpoint",{"endpoint.slug":e.slug}),E(null),console.log("setWorkflow endpoint",e),console.log("identify",s),u(e,s),i("ClickedConnectInsurance",{linkType:"WEB_AGENT",insuranceName:e.displayName}),k.N.event(C.D.insuranceLinkStart),o(a.webAgent.start)},[B,L,E,u,s,i,o,a]);return(0,n.jsxs)(U.Py,{scrollViewProps:{horizontal:!0,keyboardShouldPersistTaps:"handled","$platform-web":{paddingTop:"$5",height:"100%"},backgroundColor:"$surface1"},noPadding:!0,scrollViewContainerProps:{flex:1},"data-sentry-element":"ScreenViewAccountSelect","data-sentry-component":"SelectAccountScreen","data-sentry-source-file":"select-account.tsx",children:[(0,n.jsx)(m.N,{"data-sentry-element":"AnimatePresence","data-sentry-source-file":"select-account.tsx",children:!z&&T?null:(0,n.jsx)(y.v,{overlayColor:"$surface1",stackProps:{mt:-(t+r),exitStyle:{opacity:0}
12,transition:"100ms",backgroundColor:"$surface1"}},"overlay")}),(0,n.jsxs)(b.Se,{f:1,w:"100%",gap:"$0",justifyContent:"center",backgroundColor:"$surface1","data-sentry-element":"YStack","data-sentry-source-file":"select-account.tsx",children:[x.HZ?(0,n.jsx)(S.F_,{ta:"center",pt:"$2.5",children:"Select your account"}):null,(0,n.jsx)(Z,{popularEndpoints:F,fetchedEndpoints:O,"data-sentry-element":"AccountLinkListSearchBar","data-sentry-source-file":"select-account.tsx"}),(0,n.jsxs)(b.Se,{w:"100%",flex:1,pb:"$2",gap:"$2","data-sentry-element":"YStack","data-sentry-source-file":"select-account.tsx",children:[(0,n.jsx)(et,{"data-sentry-element":"AccountLinkListGradient","data-sentry-source-file":"select-account.tsx"}),(0,n.jsx)(el,{onClickEndpoint:W,onRequestInsurance:B,"data-sentry-element":"AccountLinkList","data-sentry-source-file":"select-account.tsx"}),(0,n.jsx)(et,{topGradient:!1,"data-sentry-element":"AccountLinkListGradient","data-sentry-source-file":"select-account.tsx"})]})]}),(0,n.jsx)(H,{open:P,onOpenChange:R,"data-sentry-element":"AccountLinkNotFoundSheet","data-sentry-source-file":"select-account.tsx"})]})}var ep=r(21424),eg=r(48),eh=!0;let ef=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s(),{"data-sentry-element":"Head","data-sentry-source-file":"select.tsx",children:(0,n.jsx)("title",{children:"Select Account"})}),(0,n.jsx)(eu,{"data-sentry-element":"SelectAccountScreen","data-sentry-source-file":"select.tsx"})]});ef.getLayout=e=>(0,n.jsx)(ep.i,{children:(0,n.jsx)(i.j,{children:(0,n.jsx)(a.t,{children:(0,n.jsx)(eg.v,{children:e})})})});let em=ef},65993:(e,t,r)=>{"use strict";r.d(t,{D:()=>D});var n=r(60072),o=r(60004),s=r(27996),a=r(98924),i=r(87371),l=r(71655),d=r(92675),c=r(49242),u=r(28078),p=r(77141),g=r(73007),h=r(83229),f=r(29705),m=r(66212),y=r(89034);function b(e,t,r){if(null==e||"object"!=typeof e||!(r in e))return;let n=e[r];if(null!=n&&"object"==typeof n&&t in n){var o=n[t];if("number"==typeof o)return o;if(null!=o&&"object"==typeof o&&"val"in o){let e=o.val;return"number"==typeof e?e:void 0}}}function x(e,t,r){if(null==e||"object"!=typeof e||!(t in e))return;let n=e[t];if(null==n||"object"!=typeof n||!(r in n))return;let o=n[r];if("string"==typeof o||"number"==typeof o)return o;if(null!=o&&"object"==typeof o&&"val"in o){let e=o.val;if("string"==typeof e||"number"==typeof e)return e}}let S=(0,s.P)({size:"$4",color:void 0}),v={size:"$4",fontFamily:"$body",color:"$color",borderWidth:1,margin:1,outlineWidth:0,...a.HZ?{tabIndex:-1}:{focusable:!0},borderColor:"$borderColor",backgroundColor:"$background",placeholderTextColor:"$textSubtle",hoverStyle:{borderColor:"$borderColorHover"},disabledStyle:{borderColor:"$borderStrong",backgroundColor:"$bgDisabledSubtle",color:"$textSubtle",disabled:!0},focusStyle:{borderColor:"$borderColorFocus",borderWidth:2,margin:0,hoverStyle:{borderColor:"$borderColorFocus"}}},A=(0,i.I)(l.ky,{justifyContent:"space-between",context:S,variants:{unstyled:{false:v},tone:{default:{},negative:{borderColor:"$borderNegative",hoverStyle:{borderColor:"$borderNegativeHover"}}}
12,focused:{true:v.focusStyle},size:{"...size":()=>({borderRadius:"$4"})},disabled:{true:v.disabledStyle,false:{}}},defaultVariants:{unstyled:"1"===y.env.TAMAGUI_HEADLESS,tone:"default"}}),$=(0,s.P)({setFocused:e=>{},focused:!1}),w=(0,o.forwardRef)((e,t)=>{let{children:r,tone:s,...a}=e,[i,l]=(0,o.useState)(!1),d=i&&"negative"===s?{borderColor:"$borderNegativeStrong",hoverStyle:{borderColor:"$borderNegativeStrong"}}:null;return(0,n.jsx)($.Provider,{scope:"",focused:i,setFocused:l,children:(0,n.jsx)(A,{ref:t,...a,tone:s,focused:i,...d,children:r})})});w.displayName="InputGroupImpl";let j={hasLabel:{true:{paddingTop:16},false:{paddingTop:0}}},k=(0,i.I)(d.p,{unstyled:!0,fontFamily:"$body",width:"100%",f:1,selectionColor:"$bgBrand",context:S,variants:j,defaultVariants:{hasLabel:!1}}),C=(0,i.I)(c.f,{unstyled:!0,fontFamily:"$body",width:"100%",f:1,selectionColor:"$bgBrand",context:S,variants:j,defaultVariants:{hasLabel:!1}}),E=k.styleable((e,t)=>{let{setFocused:r}=$.useStyledContext(),{size:o}=S.useStyledContext(),{disabled:s,onBlur:i,height:l,multiline:d,hasLabel:c,secureTextEntry:u,...p}=e,g=()=>{r(!0)}
12,h=e=>{i&&i(e),r(!1)},f=a.HZ&&u?{type:"password"}:{};return d?(0,n.jsx)(C,{ref:t,onFocus:g,onBlur:h,size:o,disabled:s,hasLabel:c,secureTextEntry:u,...p}):(0,n.jsx)(k,{ref:t,onFocus:g,onBlur:h,size:o,disabled:s,height:54,hasLabel:c,secureTextEntry:u,...f,...p})}),L=(0,i.I)(l.ky.Item,{justifyContent:"center",alignItems:"center",context:S}),I=(0,i.I)(u.$,{context:S,justifyContent:"center",alignItems:"center",variants:{size:{"...size":(e="$true",{tokens:t})=>"number"==typeof e?{paddingHorizontal:0,height:e,borderRadius:.2*e}:{paddingHorizontal:0,height:e,borderRadius:t.radius[e]}}}}),_=(0,i.I)(p.Ss2,{justifyContent:"center",alignItems:"center",context:S,variants:{size:{"...size":(e,{tokens:t})=>({paddingHorizontal:t.space[e]})}}}),T=_.styleable((e,t)=>{let{children:r,scaleIcon:o=1.2,color:s,...a}=e,i=S.useStyledContext(),l=$.useStyledContext(),{size:d="$true"}=i,c=s??(l.focused?"$borderIntense":"$borderDefault"),u=("number"==typeof d?.5*d:(0,g.ny)(d))*o,p=(0,h.g)({size:u,color:c});return(0,n.jsx)(_,{paddingRight:"$2",paddingLeft:"$3.5",ref:t,...a,children:p(r)})}),N=(0,i.I)(p.Ss2,{context:S,flexDirection:"column",position:"relative",variants:{size:{"...size":()=>({})},color:{"...color":()=>({})}},defaultVariants:{size:"$4"}}),P=(0,i.I)(m.fz,{context:S,fontFamily:"$body",position:"absolute",zIndex:1,left:18,top:8,fontWeight:"400",variants:{size:{"...size":(e,{font:t})=>{let r=parseInt(e.toString().replace("$",""),10);if(r>0){let e=`$${r-2}`;return{fontSize:b(t,e,"size")??"$3",lineHeight:b(t,e,"lineHeight")??"$3"}}return{fontSize:e,lineHeight:e}}}},defaultVariants:{size:"$2"}}),R=(0,i.I)(l.ky,{context:S,variants:{size:{"...size":(e,{tokens:t})=>({borderRadius:t.radius[e]??t.radius.true})}}}),z=(0,i.I)(m.fz,{context:S,variants:{size:{"...fontSize":(e,{font:t})=>{if(!t)return;let r=String(e),n=b(t,r,"size")??0,o=(b(t,r,"lineHeight")??0)*.8,s=x(t,"weight","$2"),a=x(t,"letterSpacing",r);return{fontSize:n,lineHeight:o,fontWeight:s,letterSpacing:a,textTransform:x(t,"transform",r),fontStyle:x(t,"style",r)}}}}}),D=(0,f.u)(N,{Box:w,Area:E,Section:L,Button:I,Icon:T,Info:z,Label:P,XGroup:(0,f.u)(R,{Item:l.ky.Item})});r(42353)},71655:(e,t,r)=>{"use strict";r.d(t,{YJ:()=>$,ky:()=>j,hf:()=>w,aO:()=>A});var n=r(87371),o=r(19405),s=r(10554),a=r(29705),i=r(67978),l=r(60004),d=r(60072);let c=l.createContext([]),u=l.createContext(null);function p(){let e=l.useContext(c),t=l.useContext(u);return l.useMemo(()=>{if(null===t)return null;let r=t.split(".").map(e=>Number.parseInt(e,10)),n=e[e.length-1],o=r[r.length-1];return{maxIndex:n,maxIndexPath:e,index:o,indexPath:r,indexPathString:t,
12isFirst:0===o,isLast:o===n,isEven:o%2==0,isOdd:1===Math.abs(o%2)}},[e,t])}var g=r(89034);let h="Group",[f,m]=(0,s.A)(h),[y,b]=f(h),x=(0,n.I)(i.Se,{name:"GroupFrame",variants:{unstyled:{false:{size:"$true"}},size:(e,{tokens:t})=>({borderRadius:t.radius[e]??e??t.radius.$true})},defaultVariants:{unstyled:"1"===g.env.TAMAGUI_HEADLESS}});function S(e){return(0,a.u)(x.styleable((t,r)=>{var n;let o,s,a,i,{__scopeGroup:p,children:g,orientation:h=e?"vertical":"horizontal",disabled:f,...m}=t,b="vertical"===h,S=(n=l.Children.toArray(g),o=l.useContext(c),s=l.useContext(u),a=l.Children.count(n),i=l.useMemo(()=>o.concat(a-1),[a]),(0,d.jsx)(c.Provider,{value:i,children:l.Children.map(n,(e,t)=>l.isValidElement(e)?(0,d.jsx)(u.Provider,{value:s?`${s}.${t.toString()}`:t.toString(),children:e},e.key):e)}));return(0,d.jsx)(y,{vertical:b,disabled:f,scope:p,children:(0,d.jsx)(x,{ref:r,flexDirection:b?"column":"row",...m,children:S})})}),{Item:v})}function v(e){let{__scopeGroup:t,children:r,forcePlacement:n,...s}=e,a=b("GroupItem",t),i=p();if(!i)throw Error("<Group.Item/> should only be used within a <Group/>");if(!l.isValidElement(r))return r;let d=k("first"===n||"last"!==n&&0===i.index,"last"===n||"first"!==n&&i.index===i.maxIndex,a.vertical),c={...s,...d};null!=a.disabled&&(c.disabled=r.props.disabled??a.disabled);let u=(0,o.A)(c,r.props);return l.cloneElement(r,u)}let A=(e,t,r)=>{let n=p(),o=b("GroupItem",r);if(!n)throw Error("useGroupItem should only be used within a <Group/>");let s=k("first"===t||"last"!==t&&0===n.index,"last"===t||"first"!==t&&n.index===n.maxIndex,o.vertical);return{disabled:e.disabled??o.disabled,...s}},$=S(!0),w=$,j=S(!1);function k(e,t,r){return r?{...e?null:{borderTopLeftRadius:0,borderTopRightRadius:0},...t?null:{borderBottomLeftRadius:0,borderBottomRightRadius:0}}:{...e?null:{borderTopLeftRadius:0,borderBottomLeftRadius:0},...t?null:{borderTopRightRadius:0,borderBottomRightRadius:0}}}},71727:(e,t,r)=>{"use strict";r.d(t,{B:()=>h});var n=r(60072),o=r(60004),s=r(94131),a=r(98924),i=r(25133),l=r(66212),d=r(45851),c=r(59037),u=r(29531),p=r(58175),g=r(45293);let h=(0,o.memo)(({endpoint:e,onClick:t})=>{let r=e?.displayName||"Unknown",o=(0,c.xd)(e),d=(0,c.EN)(e),h=u.N[o],m=`/static/logos/${o}.png`,y=e.displayUrl,b=e.displayName===p.Jo;return(0,n.jsx)(s.Se,{width:"100%",children:b?(0,n.jsx)(f,{onClick:t}):(0,n.jsx)(s.lW,{gap:"$3",ai:"center",width:"100%",py:"$2",onPress:t,backgroundColor:"$surface1",pressStyle:{backgroundColor:"$surface1Hover"},hoverStyle:{backgroundColor:"$surface1Hover"},children:(0,n.jsxs)(s.lW,{px:"$5",ai:"center",gap:"$3",children:[a.HZ?(0,n.jsx)(i.e,{image:null!=h?m:void 0,initials:d,width:43,height:43,borderRadius:"$12",borderColor:"transparent",objectFit:"contain"}):(0,n.jsx)(g.v,{endpoint:e,style:{br:"$12",backgroundColor:"$surface1",borderColor:"transparent"}}),(0,n.jsxs)(s.Se,{height:50,alignItems:"flex-start",jc:"center",f:1,children:[(0,n.jsx)(l.fz,{numberOfLines:1,overflow:"hidden",textOverflow:"ellipsis",children:r}),y?(0,n.jsx)(l.Xd,{theme:"alt1",numberOfLines:1,overflow:"hidden",textOverflow:"ellipsis",children:y}):null]})]})})})});h.displayName="AccountLinkEndpoint";let f=({onClick:e})=>(0,n.jsxs)(s.lW,{gap:"$3",ai:"center",px:"$4.5",py:"$2",width:"100%",br:"$3",jc:"space-between","data-sentry-element":"XStack","data-sentry-component":"AccountLinkRequestButton","data-sentry-source-file":"AccountLinkEndpoint.tsx",children:[(0,n.jsxs)(s.Se,{gap:"$1",jc:"center",height:50,alignItems:"flex-start","data-sentry-element":"YStack","data-sentry-source-file":"AccountLinkEndpoint.tsx",children:[(0,n.jsx)(l._I,{bold:!0,"data-sentry-element":"ParagraphSmall","data-sentry-source-file":"AccountLinkEndpoint.tsx",children:"Can't find your insurance?"}),(0,n.jsx)(l._I,{bold:!0,theme:"alt1","data-sentry-element":"ParagraphSmall","data-sentry-source-file":"AccountLinkEndpoint.tsx",children:"Request it here"})]}),(0,n.jsx)(d.lV,{width:"$12",height:"$4",onPress:e,"data-sentry-element":"LoadingButton","data-sentry-source-file":"AccountLinkEndpoint.tsx",children:"Request"})]})},73018:(e,t,r)=>{"use strict";r.d(t,{a:()=>i,sE:()=>o,ve:()=>s,zk:()=>a});var n=r(45994);let o=(0,n.J)(` 13 query GetInsuranceLinks { 14 me { 15 id 16 flexpaLinks { 17 id 18 active 19 createdAt 20 lastSyncedAt 21 patientName 22 patientDOB 23 deactivatedReason 24 endpoint { 25 displayName 26 id 27 slug 28 isActive 29 organization { 30 __typename 31 id 32 displayName 33 slug 34 } 35 } 36 } 37 webAgentLinks { 38 __typename 39 id 40 active 41 createdAt 42 lastSyncedAt 43 patientName 44 patientId 45 patientDOB 46 latestExecution { 47 id 48 ingestions { 49 id 50 startedAt 51 endedAt 52 status 53 resources { 54 id 55 } 56 } 57 } 58 executions(order: { createdAt: { dir: DESC } }) { 59 id 60 createdAt 61 ingestions(filter: { status: { in: [COMPLETED, PARTIAL] } }, order: { startedAt: { dir: DESC } }, first: 1) { 62 id 63 startedAt 64 endedAt 65 status 66 } 67 } 68 deactivatedAt 69 deactivatedReason 70 endpoint { 71 __typename 72 displayName 73 id 74 slug 75 isActive 76 organization { 77 __typename 78 id 79 displayName 80 slug 81 } 82 } 83 } 84 } 85 } 86`),s=(0,n.J)(` 87 query GetWebAgentEndpointsP012 { 88 webAgent__Endpoint( 89 filter: { 90 and: [ 91 { isActive: { eq: true } } 92 { currentSupportLevel: { supportLevel: { in: [P0, P1, P2] } } } 93 ] 94 } 95 ) { 96 isActive 97 __typename 98 id 99 type 100 displayName 101 displayUrl 102 slug 103 loginUrl 104 portalGuideUrl 105 currentSupportLevel { 106 supportLevel 107 } 108 metadata 109 organization { 110 id 111 displayName 112 slug 113 } 114 } 115 } 116`),a=(0,n.J)(` 117 query GetWebAgentEndpointsAll { 118 webAgent__Endpoint(filter: { isActive: { eq: true } }) { 119 __typename 120 id 121 type 122 isActive 123 displayName 124 displayUrl 125 slug 126 loginUrl 127 metadata 128 portalGuideUrl 129 currentSupportLevel { 130 supportLevel 131 } 132 organization { 133 id 134 displayName 135 slug 136 } 137 } 138 } 139`),i=(0,n.J)(` 140 query HasAnyCases { 141 me { 142 id 143 # Unfiltered on purpose: closed cases still count, and a narrowing arg 144 # would clobber the shared cache entry (User_Type.issues keyArgs: 145 # ["filter"], replace-merge). 146 issues { 147 id 148 } 149 } 150 } 151`)},77901:(e,t,r)=>{"use strict";r.d(t,{R:()=>l});var n=r(82910),o=r(23817),s=r(17859),a=r(49392),i=r(73018);function l(){let e=(0,a.Xp)(o.lN.SHOW_P3_ENDPOINTS,!1)?i.zk:i.ve;return(0,n.IT)(e,{context:(0,s.Q)("caller")})}},84248:()=>{},88181:(e,t,r)=>{"use strict";r.d(t,{f:()=>i});var n=r(60072),o=r(60004),s=r(51817),a=r(65993);function i({size:e,error:t,onChangeText:r,value:l,label:d,disabled:c,placeholder:u,leftIcon:p,rightIcon:g,paddingHorizontal:h,paddingVertical:f,...m}){let y=(0,o.useRef)(null),b=(0,s.B)(y);return(0,n.jsxs)(a.D,{paddingHorizontal:h,paddingVertical:f,size:e,minWidth:"100%","data-sentry-element":"BentoInput","data-sentry-component":"InputLeftIcon","data-sentry-source-file":"inputLeftIcon.tsx",children:[d?(0,n.jsx)(a.D.Label,{pb:"$1",pl:0,size:"$3",children:d}):null,(0,n.jsxs)(a.D.Box,{disabled:c,tone:t?"negative":"default",...b,backgroundColor:c?"$bgDisabledSubtle":"$surface2","data-sentry-element":"BentoInput.Box","data-sentry-source-file":"inputLeftIcon.tsx",children:[p?(0,n.jsx)(a.D.Icon,{...b,children:(0,n.jsx)(p,{color:"$iconSubtle",strokeWidth:2,scale:1})}):null,(0,n.jsx)(a.D.Area,{backgroundColor:c?"$bgDisabledSubtle":"$surface2",disabled:c,ref:y,paddingLeft:p?0:void 0,paddingRight:g?0:void 0,placeholderTextColor:"$textSubtle",placeholder:u,onCh
151angeText:r,value:l,...m,"data-sentry-element":"BentoInput.Area","data-sentry-source-file":"inputLeftIcon.tsx"}),g?(0,n.jsx)(a.D.Icon,{children:(0,n.jsx)(g,{strokeWidth:2,scale:1})}):null]})]})}},92675:(e,t,r)=>{"use strict";r.d(t,{p:()=>p});var n=r(87371),o=r(77141),s=r(1575),a=r(78955),i=r(52086),l=r(60004),d=r(22627),c=r(60072);let u=(0,n.I)(o.Ss2,d.we[0],d.we[1]),p=u.styleable((e,t)=>{let r,n,{disabled:o,id:d,onChangeText:p,onSubmitEditing:g,onSelectionChange:h,selection:f,placeholderTextColor:m,selectionColor:y,rows:b,keyboardAppearance:x,returnKeyType:S,submitBehavior:v,blurOnSubmit:A,caretHidden:$,contextMenuHidden:w,selectTextOnFocus:j,secureTextEntry:k,maxFontSizeMultiplier:C,allowFontScaling:E,multiline:L,keyboardType:I,autoCapitalize:_,autoCorrect:T,autoFocusNative:N,textContentType:P,onEndEditing:R,onContentSizeChange:z,onScroll:D,onKeyPress:F,clearButtonMode:O,clearTextOnFocus:B,enablesReturnKeyAutomatically:H,dataDetectorTypes:U,scrollEnabled:W,passwordRules:V,rejectResponderTermination:M,spellCheck:G,lineBreakStrategyIOS:Y,lineBreakModeIOS:q,smartInsertDelete:Z,inputAccessoryViewID:X,inputAccessoryViewButtonLabel:J,disableKeyboardShortcuts:K,cursorColor:Q,selectionHandleColor:ee,underlineColorAndroid:et,importantForAutofill:er,disableFullscreenUI:en,inlineImageLeft:eo,inlineImagePadding:es,returnKeyLabel:ea,textBreakStrategy:ei,textAlignVertical:el,verticalAlign:ed,showSoftInputOnFocus:ec,numberOfLines:eu,...ep}=e,{ref:eg,composedRef:eh}=(r=l.useRef(null),n=(0,i.sC)(r,t),{ref:r,composedRef:n}),ef=(0,s.D)();l.useEffect(()=>{if(!h)return;let e=eg.current;if(!e)return;let t=()=>{h({nativeEvent:{selection:{start:e.selectionStart??0,end:e.selectionEnd??0}}})};return e.addEventListener("select",t),()=>e.removeEventListener("select",t)},[h]),l.useEffect(()=>{f&&eg.current&&eg.current.setSelectionRange(f.start,f.end??f.start)},[f?.start,f?.end]),l.useEffect(()=>{if(d&&!o)return(0,a.O0)(d,{focusAndSelect:()=>eg.current?.focus(),focus:()=>eg.current?.focus()})},[d,o]);let em={...ep,disabled:o,id:d,rows:b,autoCorrect:!0===T?"on":!1===T?"off":T,autoCapitalize:"sentences"===_||"words"===_?"on":"none"===_||"characters"===_?"off":_,onKeyDown:g?e=>{"Enter"===e.key&&g&&g({nativeEvent:{text:e.target.value}}),ep.onKeyDown?.(e)}:ep.onKeyDown,onChange:p?e=>{p?.(e.target.value),ep.onChange?.(e)}:ep.onChange,style:{...ep.style,...m&&{"--t_placeholderColor":ef[m]?.variable||m},...y&&{"--t_selectionColor":ef[y]?.variable||y}}};return(0,c.jsx)(u,{ref:eh,...em})})},93172:(e,t,r)=>{"use strict";r.d(t,{W:()=>c,j:()=>d});var n=r(60072),o=r(17189),s=r(67978),a=r(15482),i=r(65993),l=r(66212);let d=({errorMessage:e})=>(0,n.jsxs)("div",{className:"is_View _fd-row _pos-relative _w-10037","data-sentry-element":"XStack","data-sentry-component":"FormError","data-sentry-source-file":"FormError.tsx",children:[(0,n.jsx)(o.N,{"data-sentry-element":"AnimatePresence","data-sentry-source-file":"FormError.tsx",children:e?(0,n.jsx)(s.Se,{height:"$1.5",enterStyle:{height:0},exitStyle:{height:0},transition:"bouncyTight"},"form-error-spacer"):null}),(0,n.jsx)(o.N,{"data-sentry-element":"AnimatePresence","data-sentry-source-file":"FormError.tsx",children:e?(0,n.jsxs)(s.lW,{py:"$1.5",top:0,px:16,position:"absolute",gap:"$1.5",width:"100%",flexDirection:"row",transition:"bouncyTight",alignItems:"center",scaleY:1,enterStyle:{opacity:0,y:-10,scaleY:.5},exitStyle:{opacity:0,y:-10,scaleY:.5},theme:"red",children:[(0,n.jsx)(i.D.Icon,{padding:0,children:(0,n.jsx)(a.R,{color:"$color10",strokeWidth:2,height:16,width:16})}),(0,n.jsx)(i.D.Info,{color:"$color10",flex:1,numberOfLines:1,size:"$2",lineHeight:16,children:e})]},"form-error-entry"):null})]}),c=({errorMessage:e})=>(0,n.jsxs)("div",{className:"is_View _fd-row _pos-relative _w-10037","data-sentry-element":"XStack","data-sentry-component":"FormErrorMessage","data-sentry-source-file":"FormError.tsx",children:[(0,n.jsx)(o.N,{"data-sentry-element":"AnimatePresence","data-sentry-source-file":"FormError.tsx",children:e?(0,n.jsx)(s.Se,{height:"$3",enterStyle:{height:0},exitStyle:{height:0},transition:"bouncyTight"},"error-message-spacer"):null}),(0,n.jsx)(o.N,{"data-sentry-element":"AnimatePresence","data-sentry-source-file":"FormError.tsx",children:e?(0,n.jsxs)(s.lW,{position:"absolute",top:0,width:"100%",height:"$3",alignItems:"center",justifyContent:"center",gap:"$2",borderRadius:"$2",borderWidth:"$1",borderColor:"$red10",padding:"$2",backgroundColor:"$red2",scaleY:1,enterStyle:{opacity:0,y:-10,scaleY:.5},exitStyle:{opacity:0,y:-10,scaleY:.5},transition:"bouncyTight",children:[(0,n.jsx)(a.R,{color:"$red10",pt:"$1",height:18,width:18}),(0,n.jsx)(l.Xd,{color:"$red10",children:e})]},"error-message-content"):null})]});r(84248)}},e=>{e.O(0,[2733,5023,151,6767,1116,3354,9628,9632,6177,206,8534,5563,6029,3735,2698,7313,636,6593,8792],()=>e(e.s=11172)),_N_E=e.O()}]); 152//# sourceMappingURL=select-f3c3c9060a4f96d4.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.