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]="96924cf0-bbdc-46c0-bc40-a8025f713c3d",e._sentryDebugIdIdentifier="sentry-dbid-96924cf0-bbdc-46c0-bc40-a8025f713c3d")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4766],{14766:(e,t,r)=>{"use strict";r.d(t,{C:()=>V});var n=r(60072),s=r(88510),a=r(94131),i=r(7317),l=r(91055),c=r(48782),o=r(84759),d=r.n(o),u=r(60004),m=r(20984),f=r(23162);let g=(0,r(93692).S)((0,u.memo)(function(e){let{color:t="black",size:r=24,...s}=e;return(0,n.jsxs)(f.BS,{width:r,height:r,viewBox:"0 0 24 24",fill:"none",stroke:t,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...s,children:[(0,n.jsx)(f.wA,{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",stroke:t}),(0,n.jsx)(f.Ro,{points:"16 17 21 12 16 7",stroke:t}),(0,n.jsx)(f.N1,{x1:"21",x2:"9",y1:"12",y2:"12",stroke:t})]})}));var y=r(72008),x=r(38086),p=r(98924),h=r(63735),b=r(36636),S=r(57585),w=r(24577),j=r(62274),$=r(84040),k=r(2856),I=r(49392),v=r(6407),_=r(55249),C=r(58573),P=r(6489),E=r(91287),H=r(16288);let A=()=>null,N=()=>{let e=(0,y.a)(),{user:t}=(0,c.A)(),r=t?.profile?.email?.trim()??"",s=(()=>{let{isReady:e,user:t}=(0,c.A)();return e&&t?` 2 3 4 5 6 __ 7 Email: ${t.profile?.email} 8 User ID: ${t.id} 9 `:null})(),{isActive:a}=(0,P.A)(),{showAlertDialog:i}=(0,H.Zz)(),[l,o]=(0,u.useState)(void 0),f=(0,E.W)(),N=(0,I.Xp)(S.Flag.SHOW_PAYMENT_IN_SETTINGS,!1),V=(0,m.i)({href:(0,w.cG)()}),G=(0,m.i)({href:(0,w.$m)()}),L=(0,m.i)({href:(0,w.C$)()}),T=(0,m.i)({href:(0,w.LE)()});(0,u.useEffect)(()=>{a&&(async()=>{let e=await v.m.getPermissionStatus();if(e.success)return o(e.permissionStatus);o(_._.Denied)})()},[a]);let z=async e=>{if(e){k.E.trackEvent("ClickedEnableNotifications",{});let e=await v.m.showPermissionStatusPrompt();e.success?e.permissionStatus===_._.Granted?(k.E.trackEvent("ClickedEnableNotificationsSuccess",{}),o(_._.Granted)):(k.E.trackEvent("ClickedEnableNotificationsDenied",{}),i((0,C.yr)())):(k.E.trackEvent("ClickedEnableNotificationsError",{}),i((0,C.LQ)()))}else k.E.trackEvent("ClickedDisableNotifications",{}),i((0,C.LZ)())};return(0,n.jsx)(j.qM,{disableScroll:!0,noPadding:!0,backgroundColor:"$surface1",stackProps:{pt:"$6",backgroundColor:"$surface1"},renderAfter:(0,n.jsx)(A,{}),"data-sentry-element":"ScreenView","data-sentry-component":"SettingsScreen","data-sentry-source-file":"screen.tsx",children:(0,n.jsx)(x.w,{"data-sentry-element":"Settings","data-sentry-source-file":"screen.tsx",children:(0,n.jsxs)(x.w.Items,{"data-sentry-element":"Settings.Items","data-sentry-source-file":"screen.tsx",children:[(0,n.jsxs)(x.w.Group,{"data-sentry-element":"Settings.Group","data-sentry-source-file":"screen.tsx",children:[(0,n.jsx)(x.w.Item,{isActive:e===(0,w.$m)(),...G,"data-sentry-element":"Settings.Item","data-sentry-source-file":"screen.tsx",children:"Profiles"}),(0,n.jsx)(x.w.Item,{isActive:e===(0,w.C$)(),...L,"data-sentry-element":"Settings.Item","data-sentry-source-file":"screen.tsx",children:"HIPAA Release Forms"}),p.HZ?null:(0,n.jsx)(x.w.Item,{customElement:(0,n.jsx)(h.d,{size:"$2",checked:l===_._.Granted,disabled:void 0===l,onCheckedChange:z,children:(0,n.jsx)(h.d.Thumb,{})}),children:"Notifications"})]}),(0,n.jsxs)(x.w.Group,{"data-sentry-element":"Settings.Group","data-sentry-source-file":"screen.tsx",children:[(0,n.jsx)(x.w.Item,{onPress:()=>(0,b.v)("mailto:[email protected]"),"data-sentry-element":"Settings.Item","data-sentry-source-file":"screen.tsx",children:"Contact us"}),(0,n.jsx)(x.w.Item,{onPress:()=>(0,b.v)(`mailto:[email protected]?${d().stringify({subject:"Bug Report",body:s})}`),"data-sentry-element":"Settings.Item","data-sentry-source-file":"screen.tsx",children:"Report a bug"}),N?(0,n.jsx)(x.w.Item,{isActive:e===(0,w.cG)(),...V,children:"Payments"}):null,(0,n.jsx)(x.w.Item,{isActive:e===(0,w.LE)(),subtitle:r.length>0?r:"â",...T,"data-sentry-element":"Settings.Item","data-sentry-source-file":"screen.tsx",children:"Account"})]}),(0,n.jsxs)(x.w.Group,{"data-sentry-element":"Settings.Group","data-sentry-source-file":"screen.tsx",children:[(0,n.jsx)(x.w.Item,{customElement:(0,n.jsx)(n.Fragment,{}),secondaryItem:!0,externalUrl:{title:"Privacy Policy",url:"https://grantedhealth.com/granted/legal/privacy"},"data-sentry-element":"Settings.Item","data-sentry-source-file":"screen.tsx",children:"Privacy Policy"}),(0,n.jsx)(x.w.Item,{customElement:(0,n.jsx)(n.Fragment,{}),secondaryItem:!0,externalUrl:{title:"Terms of Service",url:"https://grantedhealth.com/granted/legal/terms"},"data-sentry-element":"Settings.Item","data-sentry-source-file":"screen.tsx",children:"Terms of Service"}),(0,n.jsx)(x.w.Item,{icon:g,secondaryItem:!0,onPress:()=>{i({title:"Are you sure?",message:"Please confirm that you wanted to log out.",onAccept:()=>{f({reason:$.lJ.USER_LOGOUT,useReplace:!0})},cancellable:!0,acceptTestID:"settings.logout-confirm"})},testID:"settings.logout","data-sentry-element":"Settings.Item","data-sentry-source-file":"screen.tsx",children:"Log out"})]})]})})})},V=({children:e,isSettingsHome:t=!1})=>{let{isReady:r,user:o}=(0,c.A)();return r&&o?(0,n.jsxs)(a.Se,{f:1,"data-sentry-element":"YStack","data-sentry-component":"SettingsLayout","data-sentry-source-file":"layout.web.tsx",children:[(0,n.jsx)(l.z,{title:"Settings","data-sentry-element":"PageHeader","data-sentry-source-file":"layout.web.tsx"}),(0,n.jsxs)(a.lW,{f:1,borderTopWidth:1,borderColor:"$strokeSecondary","data-sentry-element":"XStack","data-sentry-source-file":"layout.web.tsx",children:[(0,n.jsx)(a.Se,{$sm:{flex:1,display:t?"flex":"none"},style:{transition:"200ms ease width"},$gtSm:{width:300},$gtLg:{width:400},"data-sentry-element":"YStack","data-sentry-source-file":"layout.web.tsx",children:(0,n.jsx)(N,{"data-sentry-element":"SettingsScreen","data-sentry-source-file":"layout.web.tsx"})}),(0,n.jsx)(i.w,{vertical:!0,"data-sentry-element":"Separator","data-sentry-source-file":"layout.web.tsx"}),(0,n.jsx)(a.Se,{f:1,ai:"flex-start",$sm:{display:t?"none":"block"},"data-sentry-element":"YStack","data-sentry-source-file":"layout.web.tsx",children:(0,n.jsx)(a.Se,{width:"100%",height:"100%",f:1,justifyContent:"center",alignItems:"center","data-sentry-element":"YStack","data-sentry-source-file":"layout.web.tsx",children:e})})]})]}):(0,n.jsx)(s.N,{})}},38086:(e,t,r)=>{"use strict";r.d(t,{w:()=>S});var n=r(60072),s=r(60004),a=r(87371),i=r(67978),l=r(98924),c=r(350),o=r(29705),d=r(55761),u=r(20984),m=r(25279),f=r(57585),g=r(94131),y=r(66212);let x=(0,a.I)(g.lW,{alignItems:"center",justifyContent:"center",cursor:"pointer",gap:"$4",borderRadius:"$4","$platform-web":{paddingHorizontal:"$sp2",paddingVertical:"$sp1.5",borderRadius:"$radiu
9s1"},"$platform-native":{minHeight:"$4",px:"$3",py:"$0"},variants:{isActive:{true:{bg:"$surface0","$platform-web":{}},false:{hoverStyle:{bg:"$surface1Hover"},pressStyle:{bg:"$surface1Hover"}}},error:{true:{hoverStyle:{bg:"$bgNegative"},pressStyle:{bg:"$bgNegative"}},false:{}}}}),p=(0,a.I)(i.Se,{boc:"$color4",gap:"$5",f:1}),h=(0,a.I)(i.Se,{px:"$1.5",bg:"transparent",gap:"$2"}),b=(0,a.I)(c.H2,{"$platform-web":{mx:"$6"},mx:"$4",py:"$4"}),S=(0,o.u)(p,{Item:({icon:e,leadingIcon:t,subtitle:r,customElement:s,children:a,isActive:i,externalUrl:c,secondaryItem:o,error:p,...h})=>{let b={},S=(0,u.i)({href:(0,f.settingPreviewUrl)({title:c?.title??"",uri:c?.url??""})});c&&(b=l.HZ?{onPress:()=>d.Linking.openURL(c.url)}:{...S});let w=p?"$iconNegative":o?"$iconSubtle":"$iconDefault",j=p?"$textNegative":"$textDefault";return(0,n.jsxs)(x,{isActive:!!i,error:!!p,...b,...h,"data-sentry-element":"SettingItemFrame","data-sentry-component":"SettingItem","data-sentry-source-file":"SettingItem.tsx",children:[t?(0,n.jsx)(t,{color:w,size:o?14:18}):null,o?(0,n.jsx)(y.jz,{f:1,color:"$textSubtle",children:a}):r?(0,n.jsxs)(g.Se,{f:1,gap:"$0.5",minWidth:0,children:[(0,n.jsx)(y.cR,{color:j,flexShrink:0,numberOfLines:1,children:a}),(0,n.jsx)(y.jz,{color:"$textSubtle",ellipsizeMode:"tail",flexShrink:1,minWidth:0,numberOfLines:1,children:r})]}):(0,n.jsx)(y.cR,{f:1,color:j,children:a}),e?(0,n.jsx)(e,{size:o?14:18,color:w}):l.HZ||s?null:(0,n.jsx)(m.c,{color:w,size:o?14:18}),s??null]})},Items:function({children:e,...t}){let r=s.Children.toArray(e);return(0,n.jsx)(i.Se,{gap:"$4",...l.HZ?{m:"$4"}:{},...t,"data-sentry-element":"YStack","data-sentry-component":"SettingsItems","data-sentry-source-file":"Settings.tsx",children:r.map((e,t)=>(0,n.jsxs)("div",{className:"is_View _pos-relative _fd-column",children:[t>0?(0,n.jsx)("div",{className:"is_Separator is_View _btc-borderColor _brc-borderColor _bbc-borderColor _blc-borderColor _fs-1 _btw-t-space-0--1603 _brw-t-space-0--1603 _bbw-t-space-0--1603 _blw-t-space-0--1603 _fg-1 _fb-auto _h-0px _mah-0px _bbs-solid _bts-solid _bls-solid _brs-solid _mr-t-space-4--53 _ml-t-space-4--53 _mb-t-space-4 _tr-translateY-1736186894"}):null,e]},t))})},Group:h,Title:b});r(54450)},54450:()=>{},58573:(e,t,r)=>{"use strict";r.d(t,{LQ:()=>i,LZ:()=>l,yr:()=>a});var n=r(55761);let s=e=>{(async()=>{try{await n.Linking.openSettings()}finally{e&&e()}})()},a=e=>({title:"Enable Notifications in Settings",message:"We're unable to enable notifications. Please enable them in your device settings.",acceptText:"Settings",cancellable:!0,onAccept:()=>{s(e)}}),i=e=>({title:"We experienced an error",message:"Please navigate to your phone settings and adjust notifications for the app.",acceptText:"Settings",cancellable:!0,onAccept:()=>{s(e)}}),l=e=>({title:"Disable Notifications in Settings",message:"Please disable notifications in your device settings.",acceptText:"Settings",cancellable:!0,onAccept:()=>{s(e)}})},62274:(e,t,r)=>{"use strict";r.d(t,{Lp:()=>x,O:()=>p,YJ:()=>h,qM:()=>y});var n=r(60072),s=r(60004),a=r(55761),i=r(87371),l=r(94131),c=r(98924),o=r(84875),d=r(67429),u=r(5018),m=r(52570),f=r(25496);let g=(0,i.I)(l.Se,{name:"ScreenStack",p:"$3",gap:"$3",alignItems:"stretch",variants:{centerHorizontal:{true:{alignSelf:"center"}},centerVertical:{true:{justifyContent:"center"}},centerContent:{true:{alignItems:"center"}},extraPadding:{true:{p:"$6",$gtSm:{p:"$8"}}},noPadding:{true:{p:0,$gtSm:{p:0}}}}}),y=({children:e,disableScroll:t=!1,extraPadding:r=!1,noPadding:i=!1,centerVertical:f=!1,centerHorizontal:y=!1,centerContent:x=!1,widthLimit:p=!0,backgroundColor:h,scrollViewProps:b,scrollViewContainerProps:S,stackProps:w,renderBefore:j,renderAfter:$,contentRefreshOffset:k=0,backgroundRadialGradient:I=!1,backgroundRadialGradientProps:v,onRefresh:_})=>{let C,{height:P,fontScale:E}=(0,a.useWindowDimensions)(),[H,A]=(0,s.useState)(!1),N=async()=>{if(_){A(!0);try{await _()}catch(e){d.$.captureException(e)}finally{A(!1)}}};return p&&("number"==typeof p?C=p:c.HZ&&!0===p&&(C=600)),(0,n.jsxs)(n.Fragment,{children:[I?(0,n.jsx)(u.F,{...v}):null,(0,n.jsxs)(o.B,{keyboardShouldPersistTaps:"handled",scrollEnabled:!!(P<=800||E>1.1)||!t,centerContent:f,contentContainerStyle:{display:"flex",flexDirection:"column",alignItems:"stretch",flexGrow:1,...S},backgroundColor:h,width:"100%",fg:1,refreshControl:_?(0,n.jsx)(a.RefreshControl,{refreshing:H,onRefresh:N,progressViewOffset:k}):void 0,...b,"data-sentry-element":"ScrollView","data-sentry-source-file":"ScreenView.tsx",children:[c.HZ?null:(0,n.jsx)(l.Se,{fg:0,children:(0,n.jsx)(m.G,{})}),j??null,(0,n.jsx)(g,{centerHorizontal:y,centerVertical:f,centerContent:x,extraPadding:r,noPadding:i,width:"100%",fg:1,maxWidth:C,backgroundColor:h,...w,"data-sentry-element":"ScreenStack","data-sentry-source-file":"ScreenView.tsx",children:e}),$?(0,n.jsx)(g,{maxWidth:C,width:"100%",centerHorizontal:y,extraPadding:r,noPadding:i,py:"$0",children:$}):null]})]})},x=e=>(0,n.jsx)(y,{centerVertical:!0,...e,"data-sentry-element":"ScreenView","data-sentry-component":"ScreenViewCenter","data-sentry-source-file":"ScreenView.tsx"}),p=e=>(0,n.jsx)(y,{renderBefore:(0,n.jsx)(l.lW,{flexGrow:1,flexShrink:1,maxHeight:100}),stackProps:{flexGrow:4,flexShrink:0},...e,"data-sentry-element":"ScreenView","data-sentry-component":"ScreenViewTopThird","data-sentry-source-file":"ScreenView.tsx"}),h=e=>{let{stackProps:t,...r}=e;return(0,n.jsx)(y,{backgroundRadialGradient:!0,centerHorizontal:!0,extraPadding:!0,disableScroll:!0,renderBefore:(0,n.jsx)(l.lW,{minHeight:"10%",$short:{minHeight:"2%"}}),stackProps:{px:"$8",gap:"$6",$short:{gap:"$2",px:"$4"},pt:f.k,...t},...r,"data-sentry-element":"ScreenView","data-sentry-component":"ScreenViewShadowCircle","data-sentry-source-file":"ScreenView.tsx"})}},91055:(e,t,r)=>{"use strict";r.d(t,{z:()=>l});var n=r(60072),s=r(84474),a=r(94131),i=r(66212);let l=({title:e,actions:t,hideOnMobile:r=!0})=>{let l=(0,s.Qf)();return r&&!l.gtSm?null:(0,n.jsx)(a.Se,{paddingHorizontal:"$5",paddingVertical:20,justifyContent:"center",backgroundColor:"$surface1",width:"100%","data-sentry-element":"YStack","data-sentry-component":"PageHeader","data-sentry-source-file":"PageHeader.web.tsx",children:(0,n.jsxs)(a.lW,{justifyContent:"space-between",alignItems:l.gtSm?"flex-start":"center","data-sentry-element":"XStack","data-sentry-source-file":"PageHeader.web.tsx",children:[(0,n.jsx)(i.mk,{color:"$textDefault",size:"$8","data-sentry-element":"Headline1","data-sentry-source-file":"PageHeader.web.tsx",children:e}),t?(0,n.jsx)(a.lW,{gap:"$3",children:t}):null]})})}}}]); 10//# sourceMappingURL=4766-f6783134563b617c.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.