1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="6bb8aafa-9534-c144-3d39-2809a0a7b83b")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,660678,e=>{"use strict";var o=e.i(271645),t=e.i(372775),a=e.i(912598);e.s(["HydrationBoundary",0,({children:e,options:n={},state:l,queryClient:i})=>{let r=(0,a.useQueryClient)(i),d=o.useRef(n);o.useEffect(()=>{d.current=n});let s=o.useMemo(()=>{if(l){if("object"!=typeof l)return;let e=r.getQueryCache(),o=l.queries||[],a=[],n=[];for(let t of o){let o=e.get(t.queryHash);o?(t.state.dataUpdatedAt>o.state.dataUpdatedAt||t.promise&&"pending"!==o.state.status&&"fetching"!==o.state.fetchStatus&&void 0!==t.dehydratedAt&&t.dehydratedAt>o.state.dataUpdatedAt)&&n.push(t):a.push(t)}if(a.length>0&&(0,t.hydrate)(r,{queries:a},d.current),n.length>0)return n}},[r,l]);return o.useEffect(()=>{s&&(0,t.hydrate)(r,{queries:s},d.current)},[r,s]),e}])},620709,e=>{e.v({badge:"HealthRecordNavIcon-module__dHIBaq__badge",badgeCheck:"HealthRecordNavIcon-module__dHIBaq__badgeCheck",badgeCircle:"HealthRecordNavIcon-module__dHIBaq__badgeCircle",badgeSettle:"HealthRecordNavIcon-module__dHIBaq__badgeSettle",iconWrapper:"HealthRecordNavIcon-module__dHIBaq__iconWrapper",orbit:"HealthRecordNavIcon-module__dHIBaq__orbit",orbitArc:"HealthRecordNavIcon-module__dHIBaq__orbitArc",orbitGroup:"HealthRecordNavIcon-module__dHIBaq__orbitGroup",orbitTrack:"HealthRecordNavIcon-module__dHIBaq__orbitTrack",overlay:"HealthRecordNavIcon-module__dHIBaq__overlay",ringDone:"HealthRecordNavIcon-module__dHIBaq__ringDone"})},270757,695170,e=>{"use strict";var o=e.i(843476),t=e.i(286323),a=e.i(223837),n=e.i(490523),l=e.i(620709);function i(e){return"importing"===e?"(records import in progress)":"completedUnseen"===e?"(records connected)":null}e.s(["HealthRecordNavIcon",0,function({size:e=20}){let r=(0,a.useMedicalImportIndicatorStatus)(),d="importing"===r,s="completedUnseen"===r;return(0,o.jsxs)("span",{className:l.default.iconWrapper,"data-import-status":r,children:[(0,o.jsx)(t.Icon,{name:"healthRecords",size:e}),d&&(0,o.jsxs)("svg",{className:l.default.overlay,viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false",children:[(0,o.jsx)("circle",{className:l.default.orbitTrack,cx:"12",cy:"12",r:"14.5"}),(0,o.jsx)("g",{className:l.default.orbitGroup,children:(0,o.jsx)("circle",{className:l.default.orbitArc,cx:"12",cy:"12",r:"14.5"})})]}),s&&(0,o.jsxs)("svg",{className:l.default.overlay,viewBox:"0 0 24 24","aria-hidden":"true",focusable:"false",children:[(0,o.jsx)("circle",{className:l.default.ringDone,cx:"12",cy:"12",r:"14.5"}),(0,o.jsxs)("g",{className:l.default.badge,children:[(0,o.jsx)("circle",{className:l.default.badgeCircle,cx:"19",cy:"5",r:"5"}),(0,o.jsx)("path",{className:l.default.badgeCheck,d:"M16.9 5L18.4 6.5L21.1 3.8"})]})]}),(d||s)&&(0,o.jsx)("span",{className:n.default.visuallyHidden,children:i(r)})]})},"getMedicalImportStatusLabel",0,i],270757);var r=e.i(618566),d=e.i(986454),s=e.i(345435),c=e.i(299022),u=e.i(59338),h=e.i(979432),p=e.i(997446),_=e.i(20272),m=e.i(61006);e.s(["useNavClickGuard",0,function(e){let o=(0,r.usePathname)(),t=(0,h.useAppStore)(e=>e.isIncognito),a=(0,h.useAppStore)(e=>e.isChatStarted),n=(0,h.useAppStore)(e=>e.resetChat),{confirmLeaveChat:l}=(0,u.useUnsavedChatConfirm)(),{logEvent:i}=(0,c.useAnalytics)();return{handleNewConsultClick:e=>{if(t&&a){if(!l())return void e.preventDefault();n()}if((0,m.isChatSurface)(o)){let o;e.preventDefault(),(o=document.getElementById(p.CHAT_INPUT_ID))instanceof HTMLTextAreaElement&&o.focus()}},handleNavLinkClick:(o,t)=>{l()?e&&t===_.HealthRecordRoute.Landing&&(0,s.logEventSafely)(i,d.ANALYTICS_EVENTS.EHR_NAV_CLICKED,{nav_surface:e}):o.preventDefault()}}}],695170)},319269,e=>{e.v({menu:"LogoDownloadMenu-module__eGje3G__menu",menuPopover:"LogoDownloadMenu-module__eGje3G__menuPopover",trigger:"LogoDownloadMenu-module__eGje3G__trigger"})},273060,e=>{"use strict";var o=e.i(843476),t=e.i(271645),a=e.i(207670),n=e.i(866069),l=e.i(286323),i=e.i(22761),r=e.i(522529),d=e.i(234343),s=e.i(319269);let c=[{header:"Color",items:[{href:"/logosDownload/doctronic-icon.png",download:"doctronic-icon.png",label:"Download icon (PNG)",testId:"download-doctronic-icon-png"},{href:"/logosDownload/doctronic-icon.svg",download:"doctronic-icon.svg",label:"Download icon (SVG)",testId:"download-doctronic-icon-svg"},{href:"/logosDownload/doctronic-logo.png",download:"doctronic-logo.png",label:"Download logo on light (PNG)",testId:"download-doctronic-logo-png"},{href:"/logosDownload/doctronic-logo.svg",download:"doctronic-logo.svg",label:"Download logo on light (SVG)",testId:"download-doctronic-logo-svg"},{href:"/logosDownload/doctronic-logo-on-dark.png",download:"doctronic-logo-on-dark.png",label:"Download logo on dark (PNG)",testId:"download-doctronic-logo-on-dark-png"},{href:"/logosDownload/doctronic-logo-on-dark.svg",download:"doctronic-logo-on-dark.svg",label:"Download logo on dark (SVG)",testId:"download-doctronic-logo-on-dark-svg"}]},{header:"Black and white on light",items:[{href:"/logosDownload/doctronic-icon-bw-on-light.png",download:"doctronic-icon-bw-on-light.png",label:"Download icon (PNG)",testId:"download-doctronic-icon-bw-on-light-png"},{href:"/logosDownload/doctronic-icon-bw-on-light.svg",download:"doctronic-icon-bw-on-light.svg",label:"Download icon (SVG)",testId:"download-doctronic-icon-bw-on-light-svg"},{href:"/logosDownload/doctronic-logo-bw-on-light.png",download:"doctronic-logo-bw-on-light.png",label:"Download logo (PNG)",testId:"download-doctronic-logo-bw-on-light-png"},{href:"/logosDownload/doctronic-logo-bw-on-light.svg",download:"doctronic-logo-bw-on-light.svg",label:"Download logo (SVG)",testId:"download-doctronic-logo-bw-on-light-svg"}]},{header:"Black and white on dark",items:[{href:"/logosDownload/doctronic-icon-bw-on-dark.png",download:"doctronic-icon-bw-on-dark.png",label:"Download icon (PNG)",testId:"download-doctronic-icon-bw-on-dark-png"},{href:"/logosDownload/doctronic-icon-bw-on-dark.svg",download:"doctronic-icon-bw-on-dark.svg",label:"Download icon (SVG)",testId:"download-doctronic-icon-bw-on-dark-svg"},{href:"/logosDownload/doctronic-logo-bw-on-dark.png",download:"doctronic-logo-bw-on-dark.png",label:"Download logo (PNG)",testId:"download-doctronic-logo-bw-on-dark-png"},{href:"/logosDownload/doctronic-logo-bw-on-dark.svg",download:"doctronic-logo-bw-on-dark.svg",label:"Download logo (SVG)",testId:"download-doctronic-logo-bw-on-dark-svg"}]}];e.s(["LogoDownloadMenu",0,function({children:e}){let u=(0,t.useRef)(null),[h,p]=(0,t.useState)(!1),_=(0,t.useCallback)(e=>{window.matchMedia("(hover: hover) and (pointer: fine)").matches&&(e.preventDefault(),p(!0))},[]);return(0,o.jsxs)("div",{ref:u,className:s.default.trigger,onContextMenu:_,children:[e,(0,o.jsx)(r.Po
2pover,{triggerRef:u,isOpen:h,onOpenChange:p,placement:"bottom start",hideArrow:!0,className:(0,a.default)(d.default.menuPopover,s.default.menuPopover),children:(0,o.jsx)(n.Menu,{"aria-label":"Download Doctronic logo",className:(0,a.default)(d.default.menu,d.default.small,s.default.menu),onAction:()=>p(!1),children:c.map(e=>(0,o.jsxs)(i.MenuSection,{children:[(0,o.jsx)(i.MenuHeader,{children:e.header}),e.items.map(t=>{var a,n;return(0,o.jsx)(i.MenuItem,{id:t.download,href:t.href,download:t.download,textValue:(a=e.header,n=t.label,`${a}, ${n}`),icon:(0,o.jsx)(l.Icon,{name:"download"}),"data-test-id":t.testId,children:t.label},t.download)})]},e.header))})})]})}])},140764,e=>{"use strict";var o=e.i(843476),t=e.i(618566),a=e.i(207670),n=e.i(53684),l=e.i(244969),i=e.i(522016),r=e.i(273060),d=e.i(225734),s=e.i(540937),c=e.i(101140);function u({isOpen:e,onToggle:t}){return(0,o.jsxs)("div",{className:(0,a.default)(c.default.wrapper,{[c.default.collapsed]:!e}),children:[(0,o.jsx)(r.LogoDownloadMenu,{children:(0,o.jsx)(i.default,{href:"/",className:c.default.logoLink,tabIndex:e?void 0:-1,"aria-hidden":!e,"data-test-id":"product-sidebar-logo-link",children:(0,o.jsx)(s.Logo,{})})}),(0,o.jsx)(d.IconButton,{label:e?"Collapse sidebar":"Expand sidebar",icon:e?"splitClose":"splitOpen",onPress:t,iconCustomSize:20,expandHitArea:!0,className:c.default.toggleButton,"data-test-id":"toggle-product-sidebar-button"})]})}var h=e.i(388184);function p({isOpen:e,children:t,onToggle:n,footer:i}){return(0,o.jsxs)("aside",{className:(0,a.default)(h.default.sidebar,{[h.default.collapsed]:!e}),"data-test-id":"product-sidebar",children:[(0,o.jsxs)("div",{className:h.default.content,children:[(0,o.jsx)(u,{isOpen:e,onToggle:n}),(0,o.jsx)(l.Divider,{}),t]}),i&&(0,o.jsx)("div",{className:h.default.footer,children:i})]})}var _=e.i(928972),m=e.i(330247),f=e.i(270757),g=e.i(296662),v=e.i(286323),b=e.i(709562),S=e.i(423007),w=e.i(61006),C=e.i(395812);function x({href:e,icon:n,iconSlot:l,label:r,tooltipLabel:d,isCollapsed:s=!1,dataTestId:c,onClick:u}){let h=(0,t.usePathname)(),p=(0,o.jsxs)(i.default,{href:e,className:(0,a.default)(C.default.wrapper,{[C.default.collapsed]:s,[C.default.highlighted]:(0,w.isActiveNavPath)(h,e)}),"data-test-id":c,onClick:u,children:[(0,o.jsx)("span",{className:C.default.iconSlot,children:l??(0,o.jsx)(v.Icon,{name:n,size:20})}),r&&(0,o.jsx)(S.Typography,{variant:"label",size:14,className:C.default.label,children:r})]});return s?(0,o.jsx)(b.Tooltip,{triggerElement:(0,o.jsx)(g.Pressable,{children:p}),placement:"right",desktopOnly:!0,desktopClassName:C.default.tooltip,children:(0,o.jsx)(S.Typography,{variant:"label",size:12,children:d})}):p}var N=e.i(695170),I=e.i(194369),j=e.i(93826),k=e.i(13431);let y=[{id:"nav-new-consult",title:"New chat",icon:"newChat",href:"/chat"},{id:"nav-health-record",title:"Health record",icon:"healthRecords",href:"/health-record"},{id:"nav-appointments",title:"Appointments",icon:"calendar",href:"/appointments"},{id:"nav-prescriptions",title:"Prescriptions",icon:"medicineBottle",href:"/prescription-refill/portal"}];function P({isCollapsed:e=!1}){let{handleNewConsultClick:t,handleNavLinkClick:n}=(0,N.useNavClickGuard)(j.EhrNavSurface.ProductSidebar),l=(0,m.useGateValue)("health_record_tab"),i=y.filter(({id:e})=>"nav-health-record"!==e||l).map(e=>"nav-new-consult"===e.id?{...e,title:I.SESSION_TERM_COPY.newSession}:e);return(0,o.jsx)("div",{className:(0,a.default)(k.default.section,{[k.default.collapsed]:e}),children:i.map(({href:a,id:l,icon:i,title:r})=>(0,o.jsx)(x,{href:a,icon:i,iconSlot:"nav-health-record"===l?(0,o.jsx)(f.HealthRecordNavIcon,{size:20}):void 0,label:r,tooltipLabel:r,isCollapsed:e,dataTestId:l,onClick:"nav-new-consult"===l?t:e=>n(e,a)},l))})}var R=e.i(316977),E=e.i(964629);function D({isCollapsed:e=!1}){let{handleNavLinkClick:t}=(0,N.useNavClickGuard)(),n=(0,R.useVisibleHealthRecordLinks)();return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(x,{href:"/chat",icon:"arrowLeft",label:"Back",tooltipLabel:"Back",isCollapsed:e,dataTestId:"nav-health-record-back",onClick:t}),(0,o.jsxs)("div",{className:E.default.section,children:[(0,o.jsx)(S.Typography,{variant:"heading",size:12,color:"muted",className:(0,a.default)(E.default.heading,{[E.default.collapsedHeading]:e}),"aria-hidden":e,children:"Health Record"}),(0,o.jsx)("div",{className:(0,a.default)(E.default.links,{[E.default.collapsed]:e}),children:n.map(({href:a,id:n,icon:l,title:i})=>(0,o.jsx)(x,{href:a,icon:l,iconSlot:"healthRecords"===l?(0,o.jsx)(f.HealthRecordNavIcon,{size:20}):void 0,label:i,tooltipLabel:i,isCollapsed:e,dataTestId:`nav-health-record-${n}`,onClick:t},n))})]})]})}var T=e.i(266098),A=e.i(59338),L=e.i(536534);function H({href:e,isActive:t,tabIndex:a,onUnpin:n,children:l}){let{confirmLeaveChat:r}=(0,A.useUnsavedChatConfirm)();return(0,o.jsxs)("div",{className:L.default.row,children:[(0,o.jsx)(i.default,{href:e,className:L.default.consultItem,"aria-current":t?"page":void 0,"data-test-id":"pinned-consult-link",onNavigate:e=>{r()||e.preventDefault()}
2,tabIndex:a,children:(0,o.jsx)(S.Typography,{variant:"body",size:14,children:l})}),(0,o.jsx)(d.IconButton,{className:L.default.unpinButton,icon:"pin",size:"small",label:I.SESSION_TERM_COPY.unpinSession,"data-test-id":"pinned-consult-unpin-button",onPress:n,excludeFromTabOrder:-1===a})]})}var M=e.i(481525);function O({isCollapsed:e=!1}){let n=(0,t.useParams)(),{data:l}=(0,T.useChats)({size:5,pinned:!0}),{mutate:i}=(0,T.usePinChat)({pinError:I.SESSION_TERM_COPY.pinError,unpinError:I.SESSION_TERM_COPY.unpinError}),r=l?.items??[];return r.length?(0,o.jsx)("div",{className:(0,a.default)(M.default.container,{[M.default.collapsed]:e}),"aria-hidden":e,"data-test-id":"pinned-consults-section",children:(0,o.jsxs)("div",{className:M.default.wrapper,children:[(0,o.jsx)(S.Typography,{variant:"heading",size:12,color:"disabled","data-test-id":"pinned-consults-title",children:"Pinned"}),r.map(t=>(0,o.jsx)(H,{href:`/consults/${t.id}`,isActive:n?.id===t.id,tabIndex:e?-1:void 0,onUnpin:()=>i({chatId:t.id,pinned:!1}),children:t.summary||I.SESSION_TERM_COPY.untitledSession},t.id))]})}):null}var z=e.i(271645),B=e.i(223837),G=e.i(38870);let q=[{id:"nav-new-consult",title:"New chat",icon:"newChat",href:"/chat"},{id:"nav-appointments",title:"Appointments",icon:"calendar",href:"/appointments"},{id:"nav-health-record",title:"Health record",icon:"healthRecords",href:"/health-record"},{id:"nav-prescriptions",title:"Prescriptions",icon:"medicineBottle",href:"/prescription-refill/portal"},{id:"nav-profile",title:"Profile",icon:"user",href:"/settings",requiresAuth:!0}];function U({link:e,isActive:t,ariaLabel:n,onClick:l}){let{wrapRef:r,labelRef:d,active:s,shift:c}=function(e,o){let t=(0,z.useRef)(null),a=(0,z.useRef)(null),[n,l]=(0,z.useState)({active:!1,shift:0});return(0,z.useEffect)(()=>{let o,n=t.current,i=a.current,r=()=>{if(!e||!n||!i||i.scrollWidth<=n.clientWidth+1)return void l({active:!1,shift:0});let o=parseFloat(getComputedStyle(document.documentElement).fontSize)||16;l({active:!0,shift:i.scrollWidth+1.5*o})},d=requestAnimationFrame(r);return e&&n&&"u">typeof ResizeObserver&&(o=new ResizeObserver(r)).observe(n),()=>{cancelAnimationFrame(d),o?.disconnect()}},[e,o]),{wrapRef:t,labelRef:a,...n}}(t,e.title);return(0,o.jsxs)(i.default,{href:e.href,className:(0,a.default)(G.default.pill,{[G.default.active]:t}),"aria-current":t?"page":void 0,"aria-label":n,"data-test-id":e.id,onClick:l,children:[(0,o.jsx)("span",{className:G.default.iconSlot,children:"nav-health-record"===e.id?(0,o.jsx)(f.HealthRecordNavIcon,{size:24}):(0,o.jsx)(v.Icon,{name:e.icon,size:24})}),(0,o.jsx)("span",{className:G.default.labelWrap,"aria-hidden":!t,ref:r,children:(0,o.jsxs)("span",{className:(0,a.default)(G.default.labelTrack,{[G.default.roll]:s}),style:s?{"--roll-shift":`${c}px`}:void 0,children:[(0,o.jsx)("span",{className:G.default.label,ref:d,children:(0,o.jsx)(S.Typography,{as:"span",variant:"heading",size:12,color:"inherit",children:e.title})}),(0,o.jsx)("span",{className:(0,a.default)(G.default.label,G.default.labelClone),"aria-hidden":!0,children:(0,o.jsx)(S.Typography,{as:"span",variant:"heading",size:12,color:"inherit",children:e.title})})]})})]})}function V(){let e=(0,t.usePathname)(),a="signedIn"===(0,n.useSessionState)(),{handleNewConsultClick:l,handleNavLinkClick:i}=(0,N.useNavClickGuard)(),r=(0,m.useGateValue)("health_record_tab"),d=(0,f.getMedicalImportStatusLabel)((0,B.useMedicalImportIndicatorStatus)()),s=q.filter(e=>(!e.requiresAuth||a)&&("nav-health-record"!==e.id||r)).map(e=>"nav-new-consult"===e.id?{...e,title:I.SESSION_TERM_COPY.newSession}:e);return(0,o.jsx)("nav",{className:G.default.nav,"data-test-id":"product-mobile-nav",children:s.map(t=>{let a=(0,w.isActiveNavPath)(e,t.href),n="nav-health-record"===t.id&&d?`${t.title} ${d}`:t.title;return(0,o.jsx)(U,{link:t,isActive:a,ariaLabel:n,onClick:"nav-new-consult"===t.id?l:i},t.id)})})}var W=e.i(26593);function F({href:e,isActive:t,isViewAll:n,tabIndex:l,onPin:r,children:s}){let{confirmLeaveChat:c}=(0,A.useUnsavedChatConfirm)();return(0,o.jsxs)("div",{className:W.default.row,children:[(0,o.jsx)(i.default,{href:e,className:(0,a.default)(W.default.consultItem,
2n&&W.default.viewAllLink),"aria-current":t?"page":void 0,"data-test-id":n?"view-all-consults-link":"recent-consult-link",onNavigate:e=>{c()||e.preventDefault()},tabIndex:l,children:(0,o.jsx)(S.Typography,{variant:"body",size:n?12:14,children:s})}),!n&&(0,o.jsx)(d.IconButton,{className:W.default.pinButton,icon:"pin",size:"small",label:I.SESSION_TERM_COPY.pinSession,"data-test-id":"recent-consult-pin-button",onPress:r,excludeFromTabOrder:-1===l})]})}var Y=e.i(117728);function K({isCollapsed:e=!1}){let n=(0,t.useParams)(),{data:l,isPending:i}=(0,T.useChats)({size:5,pinned:!1}),{mutate:r}=(0,T.usePinChat)({pinError:I.SESSION_TERM_COPY.pinError,unpinError:I.SESSION_TERM_COPY.unpinError}),d=l?.items??[];return(0,o.jsx)("div",{className:(0,a.default)(Y.default.container,{[Y.default.collapsed]:e}),"aria-hidden":e,"data-test-id":"recent-consults-section",children:(0,o.jsxs)("div",{className:Y.default.wrapper,children:[(0,o.jsx)(S.Typography,{variant:"heading",size:12,color:"disabled","data-test-id":"recent-consults-title",children:I.SESSION_TERM_COPY.recentSessions}),i?(0,o.jsx)("div",{className:Y.default.skeleton,"aria-busy":"true","aria-label":I.SESSION_TERM_COPY.loadingRecentSessions,"data-test-id":"recent-consults-skeleton",children:Array.from({length:3},(e,t)=>(0,o.jsx)("span",{className:Y.default.skeletonRow},t))}):d.length?(0,o.jsxs)(o.Fragment,{children:[d.map(t=>(0,o.jsx)(F,{href:`/consults/${t.id}`,isActive:n?.id===t.id,tabIndex:e?-1:void 0,onPin:()=>r({chatId:t.id,pinned:!0}),children:t.summary||I.SESSION_TERM_COPY.untitledSession},t.id)),(0,o.jsx)(F,{href:"/consults",isViewAll:!0,tabIndex:e?-1:void 0,children:"View all"})]}):(0,o.jsx)(S.Typography,{variant:"body",size:14,color:"subtle",children:I.SESSION_TERM_COPY.noRecentSessions})]})})}var X=e.i(837331),$=e.i(618608),Z=e.i(337198),J=e.i(275354),Q=e.i(159871),ee=e.i(113292),eo=e.i(986454),et=e.i(299022),ea=e.i(79534),en=e.i(313658);function el({isCollapsed:e=!1,className:n}){let l=(0,t.useSearchParams)(),i=(0,t.useRouter)(),{logEvent:r}=(0,et.useAnalytics)();return(0,o.jsxs)("div",{className:(0,a.default)(en.default.wrapper,{[en.default.collapsed]:e},n),children:[(0,o.jsx)("div",{className:en.default.collapsible,children:(0,o.jsx)(X.Button,{size:"small",className:en.default.button,onPress:()=>{r(eo.ANALYTICS_EVENTS.SIGNUP_VIEW),(0,ea.updateSearchParams)(i,l,{modal:ee.MODALS.SIGN_UP})},children:"Sign up for free"})}),(0,o.jsx)(X.Button,{variant:"secondary",size:"small",className:en.default.button,onPress:()=>{r(eo.ANALYTICS_EVENTS.LOGIN_CLICK),(0,ea.updateSearchParams)(i,l,{modal:ee.MODALS.SIGN_IN})},children:"Log in"}),(0,o.jsxs)("div",{className:en.default.collapsible,children:[(0,o.jsxs)(S.Typography,{variant:"body",size:10,color:"muted",children:["Contact us at"," ",(0,o.jsx)($.Link,{href:`mailto:${Q.HELP_DOCTRONIC_LINK}`,children:Q.HELP_DOCTRONIC_LINK})]}),(0,o.jsxs)(S.Typography,{variant:"body",size:10,color:"subtle",children:["Always discuss Doctronic output with a doctor. Doctronic is an AI doctor, not a licensed doctor, does not practice medicine, and does not provide medical advice or care. Doctronic is the first AI doctor working with human doctors licensed to practice medicine in all 50 states. By using Doctronic, you agree to our ",(0,o.jsx)(J.TermsOfServiceLink,{})," &"," ",(0,o.jsx)(Z.PrivacyPolicyLink,{}),"."]}),(0,o.jsxs)(S.Typography,{variant:"label",size:12,children:["v","1.30.0"]})]})]})}function ei({isCollapsed:e,className:t}){return(0,o.jsx)(z.Suspense,{children:(0,o.jsx)(el,{isCollapsed:e,className:t})})}var er=e.i(443341);function ed({isCollapsed:e=!1}){let{data:t}=(0,er.useUser)(),a=[t?.firstName,t?.lastName].filter(Boolean).join(" ")||t?.email;return(0,o.jsx)(x,{href:"/settings",icon:"user",label:a,tooltipLabel:"Profile",isCollapsed:e,dataTestId:"sidebar-footer-settings-link"})}let es=()=>()=>{},ec=()=>!0,eu=()=>!1;var eh=e.i(60649),ep=e.i(979432);function e_(e){for(var o=1;o<arguments.length;o++){var t=arguments[o];for(var a in t)"__proto__"!==a&&(e[a]=t[a])}return e}var em=function e(o,t){function a(e,a,n){if("u">typeof document){"number"==typeof(n=e_({},t,n)).expires&&(n.expires=new Date(Date.now()+864e5*n.expires)),n.expires&&(n.expires=n.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decode
2URIComponent).replace(/[()]/g,escape);var l="";for(var i in n)n[i]&&(l+="; "+i,!0!==n[i]&&(l+="="+n[i].split(";")[0]));return document.cookie=e+"="+o.write(a,e)+l}}return Object.create({set:a,get:function(e){if("u">typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],a={},n=0;n<t.length;n++){var l=t[n].split("="),i=l.slice(1).join("=");try{var r=decodeURIComponent(l[0]);if(r in a||(a[r]=o.read(i,r)),e===r)break}catch{}}return e?a[e]:a}},remove:function(e,o){a(e,"",e_({},o,{expires:-1}))},withAttributes:function(o){return e(this.converter,e_({},this.attributes,o))},withConverter:function(o){return e(e_({},this.converter,o),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(o)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"}),ef=e.i(270514);e.s(["ProductSidebarClient",0,function({isMobileDevice:e}){let l=(0,n.useSessionState)(),i="signedIn"===l,{isSessionLateResolved:r}=(0,n.useAuthUser)(),d=(0,ep.useAppStore)(e=>e.isProductSidebarExpanded),s=(0,ep.useAppStore)(e=>e.setProductSidebarExpanded),c=(0,ep.useAppStore)(e=>e.isChatStarted),u=(0,t.usePathname)(),h=(0,z.useSyncExternalStore)(es,ec,eu),m=(0,eh.default)("(min-width: 768px)"),f=(0,_.isHealthRecordSubnavPath)(u);return c?null:(h?m:!e)?(0,o.jsx)(p,{isOpen:d,onToggle:()=>{let e=!d;s(e),em.set("product-sidebar-expanded",String(e),{expires:30,path:"/",sameSite:"strict"})},footer:i?(0,o.jsx)(ed,{isCollapsed:!d}):"signedOut"===l?(0,o.jsx)(ei,{isCollapsed:!d,className:(0,a.default)(r&&ef.default.fadeIn)}):null,children:f?(0,o.jsx)(D,{isCollapsed:!d}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(P,{isCollapsed:!d}),i&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(O,{isCollapsed:!d}),(0,o.jsx)(K,{isCollapsed:!d})]})]})}):(0,o.jsx)(V,{})}],140764)},13431,e=>{e.v({collapsed:"DashboardSection-module__sJLd3W__collapsed",section:"DashboardSection-module__sJLd3W__section"})},964629,e=>{e.v({collapsed:"HealthRecordSection-module__qUtK_W__collapsed",collapsedHeading:"HealthRecordSection-module__qUtK_W__collapsedHeading",heading:"HealthRecordSection-module__qUtK_W__heading",links:"HealthRecordSection-module__qUtK_W__links",section:"HealthRecordSection-module__qUtK_W__section"})},536534,e=>{e.v({consultItem:"PinnedConsultLink-module__lkbmiq__consultItem",row:"PinnedConsultLink-module__lkbmiq__row",unpinButton:"PinnedConsultLink-module__lkbmiq__unpinButton"})},481525,e=>{e.v({collapsed:"PinnedConsults-module__vScYJG__collapsed",container:"PinnedConsults-module__vScYJG__container",wrapper:"PinnedConsults-module__vScYJG__wrapper"})},38870,e=>{e.v({active:"ProductMobileNav-module__DsT1Va__active",iconSlot:"ProductMobileNav-module__DsT1Va__iconSlot",label:"ProductMobileNav-module__DsT1Va__label",labelClone:"ProductMobileNav-module__DsT1Va__labelClone",labelTrack:"ProductMobileNav-module__DsT1Va__labelTrack",labelWrap:"ProductMobileNav-module__DsT1Va__labelWrap",nav:"ProductMobileNav-module__DsT1Va__nav",pill:"ProductMobileNav-module__DsT1Va__pill",roll:"ProductMobileNav-module__DsT1Va__roll"})},26593,e=>{e.v({consultItem:"RecentConsultLink-module__AKsDpq__consultItem",pinButton:"RecentConsultLink-module__AKsDpq__pinButton",row:"RecentConsultLink-module__AKsDpq__row",viewAllLink:"RecentConsultLink-module__AKsDpq__viewAllLink"})},117728,e=>{e.v({collapsed:"RecentConsults-module__F2zpma__collapsed",container:"RecentConsults-module__F2zpma__container",recentConsultsShimmer:"RecentConsults-module__F2zpma__recentConsultsShimmer",skeleton:"RecentConsults-module__F2zpma__skeleton",skeletonRow:"RecentConsults-module__F2zpma__skeletonRow",wrapper:"RecentConsults-module__F2zpma__wrapper"})},313658,e=>{e.v({button:"SidebarGuestFooter-module__z9sZXa__button",collapsed:"SidebarGuestFooter-module__z9sZXa__collapsed",collapsible:"SidebarGuestFooter-module__z9sZXa__collapsible",wrapper:"SidebarGuestFooter-module__z9sZXa__wrapper"})},395812,e=>{e.v({collapsed:"SidebarLink-module__Mb5dXW__collapsed",highlighted:"SidebarLink-module__Mb5dXW__highlighted",iconSlot:"SidebarLink-module__Mb5dXW__iconSlot",label:"SidebarLink-module__Mb5dXW__label",tooltip:"SidebarLink-module__Mb5dXW__tooltip",wrapper:"SidebarLink-module__Mb5dXW__wrapper"})},101140,e=>{e.v({collapsed:"HeaderSidebar-module__Nh8Zmq__collapsed",logoLink:"HeaderSidebar-module__Nh8Zmq__logoLink",toggleButton:"HeaderSidebar-module__Nh8Zmq__toggleButton",wrapper:"HeaderSidebar-module__Nh8Zmq__wrapper"})},388184,e=>{e.v({collapsed:"SidebarCollapsibleLayout-module__fovl3W__collapsed",content:"SidebarCollapsibleLayout-module__fovl3W__content",footer:"SidebarCollapsibleLayout-module__fovl3W__footer",sidebar:"SidebarCollapsibleLayout-module__fovl3W__sidebar"})},345435,e=>{"use strict";var o=e.i(484333);e.s(["logEventSafely",0,function(e,...t){try{e(...t)}catch(e){(0,o.captureError)(e)}}])},59338,e=>{"use strict";var o=e.i(618566),t=e.i(827085),a=e.i(194369),n=e.i(979432),l=e.i(582770),i=e.i(61006);e.s(["useUnsavedChatConfirm",0,function(){let e=(0,o.usePathname)(),{isSignedIn:r,isLoaded:d}=(0,t.useUser)(),s=(0,n.useAppStore)(e=>e.isIncognito),c=(0,n.useAppStore)(e=>e.isChatStarted),u=(s||d&&!r)&&c&&(0,i.isChatSurface)(e);return{hasUnsavedChat:u,confirmLeaveChat:()=>!u||(0,l.confirmLeaveIncognito)(a.SESSION_TERM_COPY.anonymousLeaveConfirm)}}])},316977,928972,e=>{"use strict";var o=e.i(330247),t=e.i(61006);let a=[{id:"summary",title:"Summary",icon:"healthRecords",href:"/health-record/summary"},{id:"conditions",title:"Conditions",icon:"stethoscope",href:"/health-record/conditions"},{id:"medications",title:"Medications",icon:"pill",href:"/health-record/medications"},{id:"vitalsAndLabs",title:"Vitals & labs",icon:"labs",href:"/health-record/vitals-and-labs"},{id:"allergies",title:"Allergies",icon:"flower",href:"/health-record/allergies"},{id:"immunizations",title:"Immunizations",icon:"vaccine",href:"/health-record/immunizations"}];e.s(["HEALTH_RECORD_LINKS",0,a,"isHealthRecordSubnavPath",0,function(e){return a.some(({href:o})=>(0,t.isActivePath)(e,o))}],928972);var n=e.i(814354);function l(){let{client:e}=(0,o.useStatsigClient)();return{isPending:"Ready"!==e.loadingStatus||!e.getContext().user.userID,categoryPagesEnabled:(0,n.useControlledExposureExperiment)({experimentID:"health_record_category_pages",requireUserID:!0}).get("show_health_record_category_pages",!1)}}e.s(["useCategoryPagesExperiment",0,l,"useVisibleHealthRecordLinks",0,function(){let{categoryPagesEnabled:e}=l();return e?a:a.filter(({id:e})=>"summary"===e)}],316977)},93826,e=>{"use strict";var o,t,a,n,l,i,r,d,s,c,u=((o={}).RecordRequest="record_request",o.Hie="hie",o),h=((t={}
2).Auto="auto",t.Manual="manual",t),p=((a={}).ProductSidebar="product_sidebar",a.MobileNav="mobile_nav",a.MarketingSidebar="marketing_sidebar",a),_=((n={}).NoRecordsPage="no_records_page",n.ConnectedProvidersMenu="connected_providers_menu",n.SummaryCard="summary_card",n.ConsentScreen="consent_screen",n.VerificationScreen="verification_screen",n.ChatPill="chat_pill",n.UtahRefill="utah_refill",n.AppointmentBooking="appointment_booking",n),m=((l={}).EntryClick="entry_click",l.IntroCompleted="intro_completed",l.ProviderAdded="provider_added",l.ConsentReviewed="consent_reviewed",l.ConsentAccepted="consent_accepted",l.IdentityPrompted="identity_prompted",l.IdentityPassed="identity_passed",l.ImportStarted="import_started",l),f=((i={}).Started="started",i.Completed="completed",i.Failed="failed",i),g=((r={}).Clear="clear",r),v=((d={}).Passed="passed",d.Failed="failed",d),b=((s={}).Granted="granted",s),S=((c={}).ConsentScreen="consent_screen",c.SettingsSwitch="settings_switch",c);e.s(["EhrConnectStep",()=>m,"EhrConsentAction",()=>b,"EhrConsentSurface",()=>S,"EhrEntrySurface",()=>_,"EhrIdentityProvider",()=>g,"EhrIdentityStatus",()=>v,"EhrImportStatus",()=>f,"EhrNavSurface",()=>p,"EhrPullMethod",()=>u,"EhrTrigger",()=>h])}]); 3 4//# debugId=6bb8aafa-9534-c144-3d39-2809a0a7b83b
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.