PageSourceSearch

https://www.childrens.com/_next/static/chunks/38620-f9bc9a06215e2ebd.js

js childrens.com collected 2026-10-02 09:49:21 UTC 200,836 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[38620],{70249:function(e,t,l){l.d(t,{XCv:function(){return n},nQG:function(){return s},wqn:function(){return i}});var a=l(27573),s=e=>(0,a.jsx)("svg",{...e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M20.1358 6.25943C20.4882 6.61185 20.4882 7.18173 20.1358 7.5304L10.238 17.4319C9.88557 17.7844 9.3157 17.7844 8.96702 17.4319L3.86441 12.3331C3.51199 11.9807 3.51199 11.4108 3.86441 11.0621C4.21683 10.7134 4.78671 10.7097 5.13538 11.0621L9.59688 15.5236L18.8611 6.25943C19.2135 5.90701 19.7834 5.90701 20.132 6.25943H20.1358Z",fill:"currentColor"})}),n=e=>(0,a.jsx)("svg",{...e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M17.4359 11.355C17.7883 11.7075 17.7883 12.2776 17.4359 12.6264L10.2389 19.8307C9.88658 20.1833 9.31681 20.1833 8.96821 19.8307C8.6196 19.4782 8.61586 18.9082 8.96821 18.5594L15.528 11.9963L8.96446 5.4295C8.61211 5.07696 8.61211 4.50692 8.96446 4.15814C9.31681 3.80935 9.88658 3.8056 10.2352 4.15814L17.4359 11.355Z",fill:"currentColor"})}),i=e=>(0,a.jsx)("svg",{...e,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M17.7357 7.53401C18.0881 7.18162 18.0881 6.6118 17.7357 6.26316C17.3833 5.91452 16.8135 5.91077 16.4649 6.26316L12.0037 10.7243L7.53889 6.25941C7.1865 5.90702 6.61668 5.90702 6.26804 6.25941C5.9194 6.6118 5.91565 7.18162 6.26804 7.53026L10.7291 11.9914L6.26429 16.4562C5.9119 16.8086 5.9119 17.3784 6.26429 17.7271C6.61668 18.0757 7.1865 18.0795 7.53515 17.7271L11.9963 13.266L16.4611 17.7308C16.8135 18.0832 17.3833 18.0832 17.732 17.7308C18.0806 17.3784 18.0843 16.8086 17.732 16.46L13.2709 11.9989L17.7357 7.53401Z",fill:"currentColor"})})},59421:function(e,t,l){l.d(t,{AK:function(){return j},AT:function(){return h},B8:function(){return m},HP:function(){return x},t_:function(){return u},vq:function(){return p}});var a,s,n,i,r,o,c,d,u=((a=u||{}).DoctorsAndProviders="Doctors and Providers",a.Providers="Providers",a),m=((s=m||{}).Providers="Providers",s.Locations="Locations",s.Conditions="Conditions",s.Treatments="Treatments",s.Specialties="Specialties",s.Articles="Articles",s.ClinicalTrials="Clinical Trials",s.Pages="Pages",s.Research="Research",s),h=((n=h||{}).variant1="variant1",n.variant2="variant2",n.variant3="variant3",n.variant4="variant4",n),p=((i=p||{}).dropdown="dropdown",i.boolean="boolean",i),x=((r=x||{}).Conditions="conditions",r.Treatments="treatments",r.Languages="languages",r.DepartmentsAndPrograms="programs",r.Gender="gender",r.Facility="facility",r.VirtualVisit="virtualVisit",r.TypeOfCare="type",r.Near="near",r.Sort="sort",r.ArticleType="subcat",r.DateRange="pubdate",r.StudyId="study_id",r.PrincipalInvestigator="investigator",r.AcceptingHealthyVolunteers="volunteers",r.CancerRelated="cancer",r.Location="location",r),v=((o=v||{}).small="small",o.medium="medium",o.large="large",o),f=((c=f||{}).suggestion="suggestion",c.resource="resource",c),y=((d=y||{}).All="all",d.Articles="articles",d.ClinicalTrials="clinical-trials",d.Conditions="conditions",d.Locations="locations",d.ProgramsSpecialties="programs-specialties",d.Pages="pages",d.Providers="providers",d.Research="research",d.Treatments="treatments",d),j={Providers:"providers",Locations:"locations",Conditions:"conditions",Treatments:"treatments",Specialties:"programs-specialties",Articles:"articles","Clinical Trials":"clinical-trials",Pages:"pages",Research:"research"}},38620:function(e,t,l){l.d(t,{$_C:function(){return t$},ATE:function(){return S.AT},Ai8:function(){return ne},B8G:function(){return S.B8},CvS:function(){return lh},DDH:function(){return W},Dfw:function(){return ev},EkP:function(){return aW},EyX:function(){return lD},GFj:function(){return aH},GUk:function(){return lL},HPN:function(){return S.HP},Hof:function(){return ed},IBn:function(){return lo},JA5:function(){return aP},JF9:function(){return la},JFD:function(){return aT},JJE:function(){return sl},K3w:function(){return eC},K52:function(){return tc},KBq:function(){return tv},Kcy:function(){return aj},L_M:function(){return lg},MBI:function(){return aJ},McI:function(){return l3},Mug:function(){return aA},NcS:function(){return e_},O9m:function(){return a7},PxS:function(){return eb},Q0:function(){return a6},Q2G:function(){return lV},Q8J:function(){return ai},R27:function(){return s7},RHz:function(){return tw},Rjp:function(){return aD},Ser:function(){return tp}
1,TJd:function(){return eZ},VAE:function(){return l2},VmB:function(){return nl},Vwb:function(){return ex},WF8:function(){return lj},Xri:function(){return aO},Z6O:function(){return eG},_7G:function(){return l9},_hU:function(){return a1},aWj:function(){return a9},ach:function(){return eT},arm:function(){return a8},auZ:function(){return nt},bcF:function(){return aQ},d3D:function(){return ay},eOJ:function(){return tA},eU1:function(){return ek},eco:function(){return ss},g96:function(){return lk},gKw:function(){return ty},hOb:function(){return tY},h_Q:function(){return lz},idk:function(){return ll},iuU:function(){return s9},jJj:function(){return lS},kBt:function(){return l5},kD0:function(){return tf},l2j:function(){return eI},m8j:function(){return eL},mm:function(){return ly},nu9:function(){return s8},oWq:function(){return lE},pIO:function(){return tI},pUJ:function(){return Z},pyq:function(){return ep},qMJ:function(){return al},reA:function(){return tC},sYY:function(){return lc},tA3:function(){return az},tIF:function(){return lC},t_u:function(){return S.t_},u0q:function(){return tO},vWq:function(){return sa},vqi:function(){return S.vq},wvC:function(){return l0},xEj:function(){return l8},xOK:function(){return lt},xu6:function(){return aB},y40:function(){return ab},yPs:function(){return aN},yWg:function(){return aY},zcD:function(){return ef}});var a,s,n,i,r,o,c,d,u,m,h,p,x,v,f,y,j,g,b,N,w,C,k,T,S=l(59421),E=l(7653),I=l(80386),_=l(83237),L=l(18966),A=l(67728),O=l(70249),z=l(27573),G=l(88146),M=l(37632),D=l(80533),R=new Set([A.BLOCKS.HEADING_1,A.BLOCKS.HEADING_2,A.BLOCKS.HEADING_3,A.BLOCKS.HEADING_4,A.BLOCKS.HEADING_5,A.BLOCKS.HEADING_6]),B=(e,t,l)=>{var a,s;if(t<1||!R.has(e.nodeType))return e;let n=l[t-1],i=null!==(s=R.has(n.nodeType))&&void 0!==s&&s;return{...e,data:{...e.data,_meta:{...null===(a=e.data)||void 0===a?void 0:a._meta,isFollowingHeading:i}}}},P=e=>{let t=e.content.map((e,t,l)=>B(e,t,l));return{...e,content:t}},H=((s=H||{}).normal="normal",s.large="large",s.small="small",s),q=(0,E.forwardRef)((e,t)=>{let{color:l="purple",className:a,children:s,title:n,size:i="normal",...r}=e,[o,c]=(0,_.n_I)("richtext-aside"),d=o([l,i].filter(Boolean)),u=(0,E.useId)();return(0,z.jsxs)("aside",{ref:t,className:"".concat(d).concat(a?" ".concat(a):""),"aria-labelledby":n?u:void 0,...r,children:[n&&(0,z.jsxs)("div",{className:c("header"),children:[(0,z.jsx)(O.nQG,{className:c("icon"),"aria-hidden":"true"}),(0,z.jsx)(_.xvT,{as:_.Gy$.span,textStyle:{type:_.yGm.caps,size:"Caps / -1"},weight:_.fsE.bold,className:c("title"),id:u,children:n})]}),(0,z.jsx)("div",{className:c("content"),children:s})]})}),F=((n=F||{}).large="large",n.medium="medium",n),U=e=>{let{citation:t,size:l,quote:a,className:s}=e,[n,i]=(0,_.n_I)("richtext-blockquote");return(0,z.jsxs)("section",{className:"".concat(n()).concat(s?" ".concat(s):""),children:[(0,z.jsx)("div",{className:i("decoration-top"),children:(0,z.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"presentation",className:i("decoration-icon"),children:(0,z.jsx)("path",{d:"M8.20231 12.1629C9.8474 12.6343 10.9696 13.9394 11.2081 15.8821C11.5456 18.6304 9.82395 20.6695 7.21788 20.9894C4.56442 21.3152 2.39482 19.7058 2.0632 17.005C1.91193 15.773 1.99092 14.8495 2.76075 12.1096L4.67119 4.949L9.36211 4.37303L8.20231 12.1629ZM19.3847 10.7899C21.0298 11.2613 22.152 12.5664 22.3905 14.5091C22.728 17.2573 21.0064 19.2964 18.4003 19.6164C15.7468 19.9422 13.5772 18.3328 13.2456 15.632C13.0943 14.4 13.1733 13.4765 13.9432 10.7366L15.8536 3.57597L20.5445 3L19.3847 10.7899Z",fill:"var(--brand-purple, #763AC7)"})})}),(0,z.jsxs)("div",{className:i("content"),children:[(0,z.jsx)("blockquote",{cite:(null==t?void 0:t.source)?null==t?void 0:t.source:void 0,children:(0,z.jsx)(_.xvT,{as:_.Gy$.p,textStyle:{type:_.yGm.headline,size:"large"===l?"Headline / 0":"Headline / -1"},weight:_.fsE.medium,className:i("quote"),children:a})}),t&&(0,z.jsxs)("div",{className:i("citation"),children:[(null==t?void 0:t.image)&&(0,z.jsx)(_.qEK,{imageUrl:t.image,size:_.DZU.xxxlarge,divider:_.cw3.none,radiu
1s:_.QtD.full,className:i("citation-image")}),((null==t?void 0:t.primary)||(null==t?void 0:t.secondary))&&(0,z.jsxs)("cite",{className:i("citation-text"),children:[(null==t?void 0:t.primary)&&(0,z.jsx)(_.xvT,{as:_.Gy$.span,textStyle:{type:_.yGm.caps,size:"Caps / -1"},weight:_.fsE.bold,className:i("citation-primary"),children:null==t?void 0:t.primary}),(null==t?void 0:t.secondary)&&(0,z.jsx)(_.xvT,{as:_.Gy$.span,textStyle:{type:_.yGm.caps,size:"Caps / -1"},weight:_.fsE.bold,className:i("citation-secondary"),children:null==t?void 0:t.secondary})]})]})]}),(0,z.jsx)("div",{className:i("decoration-bottom"),children:(0,z.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i("decoration-icon"),children:(0,z.jsx)("path",{d:"M7.42171 3.26134C10.0752 3.58714 11.7436 5.6678 11.412 8.36863C11.2607 9.60059 10.9606 10.4776 9.59821 12.9557L6.01222 19.4414L1.32129 18.8654L4.27799 11.6291C2.84318 10.7795 2.02268 9.23586 2.26703 7.24577C2.60447 4.49756 4.81564 2.94135 7.42171 3.26134ZM18.6041 4.63436C21.2576 4.96017 22.926 7.04082 22.5944 9.74166C22.4431 10.9736 22.143 11.8506 20.7806 14.3287L17.1946 20.8144L12.5037 20.2385L15.4604 13.0021C14.0256 12.1526 13.2051 10.6089 13.4494 8.6188C13.7869 5.87058 15.998 4.31438 18.6041 4.63436Z",fill:"var(--brand-purple, #763AC7)"})})})]})},$=((i=$||{}).small="small",i.medium="medium",i),V=((r=V||{}).neutral="neutral",r.accent="accent",r),W=((o=W||{}).Video="video",o.Image="image",o),Y=e=>{let{id:t,showAsCaption:l,captionText:a}=e,[,s]=(0,_.n_I)("richtext-media");return(0,z.jsx)(_.xvT,{id:t,as:"p",textStyle:{type:_.yGm.body,size:"Body / -4"},weight:"semibold",className:s("caption",l?"":"hidden"),children:a})},Z=e=>{let{media:t,className:l,...a}=e,[s,n]=(0,_.n_I)("richtext-media");if("video"===t.type&&!t.videoId&&!t.videoSrc||"image"===t.type&&!t.url)return null;let i="";switch(t.type){case"video":if(t.videoSrc&&t.poster)return i="video-".concat(t.videoSrc),(0,z.jsx)("span",{role:"figure",className:"".concat(s("video")).concat(l?" ".concat(l):""),children:(0,z.jsx)(_.Y7g,{src:t.videoSrc,poster:t.poster,classes:n("video-player"),caption:t.showAsCaption?(0,z.jsx)(Y,{id:i,showAsCaption:t.showAsCaption,captionText:t.descriptiveText}):void 0,"aria-describedby":t.showAsCaption?i:void 0})});if(t.videoId)return i="brightcove-video-".concat(t.videoId),(0,z.jsx)("span",{role:"figure",className:"".concat(s("video")).concat(l?" ".concat(l):""),children:(0,z.jsx)(_.Y7g,{videoId:t.videoId,classes:n("video-player"),caption:t.showAsCaption?(0,z.jsx)(Y,{id:i,showAsCaption:t.showAsCaption,captionText:t.descriptiveText}):void 0,"aria-describedby":t.showAsCaption?i:void 0})});return null;case"image":i="image-".concat(t.url);let r=t.width&&t.height&&t.width<t.height;return(0,z.jsxs)("span",{role:"figure",className:"".concat(s("image")).concat(l?" ".concat(l):""),children:[(0,z.jsx)("span",{className:n("image-wrapper",r?"portrait":"landscape"),children:(0,z.jsx)(_.Eep,{src:t.url,alt:t.descriptiveText||"Image","aria-describedby":t.showAsCaption?i:void 0,width:t.width||640,height:t.height||360,disableHoverScrim:!0,className:n("image",r?"portrait":""),...a})}),t.showAsCaption&&(0,z.jsx)(Y,{id:i,showAsCaption:t.showAsCaption,captionText:t.descriptiveText})]});default:return null}},J=e=>{let{level:t,children:l}=e;return(0,z.jsx)(_.xvT,{as:"h".concat(t),textStyle:6===t?{type:_.yGm.caps,size:"Caps / -1"}:{type:_.yGm.headline,size:({1:"Headline / 3",2:"Headline / 2",3:"Headline / 1",4:"Headline / 0",5:"Headline / -1"})[t]},weight:6===t?_.fsE.bold:_.fsE.semibold,children:l})},K=e=>{var t,l,a,s;let{node:n,children:i}=e;if((null==n?void 0:null===(t=n.content)||void 0===t?void 0:t.length)===1){let e=n.content[0];if("embedded-entry-inline"===e.nodeType&&(null==e?void 0:null===(s=e.data)||void 0===s?void 0:null===(a=s.target)||void 0===a?void 0:null===(l=a.fields)||void 0===l?void 0:l.__typename)==="MediaCollection")return(0,z.jsx)("div",{className:"richtext-media-paragraph",children:i})}return(0,z.jsx)(_.xvT,{as:_.Gy$.p,textStyle:{type:_.yGm.prose,size:"Prose / 0"},children:i})},X=e=>{let{children:t}=e;return(0,z.jsx)("ul",{children:t})},Q=e=>{let{children:t}=e;return(0,z.jsx)("ol",{children:t})},ee=e=>{let{children:t}=e;return(0,z.jsx)(_.xvT,{as:_.Gy$.li,textStyle:{type:_.yGm.prose,size:"Prose / 0"},children:t})},et=e=>{let{children:t}=e;return(0,z.jsx)(q,{color:"purple",children:t})},el=e=>{let{node:t,children:l}=e;return(0,z.jsx)(_.FgE,{href:t.data.uri,children:l})},ea=e=>(0,z.jsx)(_.xvT,{as:_.Gy$.strong,textStyle:{type:_.yGm.prose,size:"Prose / 0"},weight:_.fsE.semibold,children:e}),es=e=>(0,z.jsx)(_.xvT,{as:_.Gy$.span,textStyle:{type:_.yGm.prose,size:"Prose / 0"},italic:!0,children:e}),en={QUOTE_BLOCK:"quoteBlock",MEDIA_BLOCK:"mediaBlock",LINKED_IMAGE:"linkedImage",PROMO_BLOCK:"promoBlock",ACCORDION_BLOCK:"AccordionBlock",LINK:"link"},ei={"Primary Button":_.qGe.Filled,"Secondary Button":_.qGe.Outlined,"Text Link":_.qGe.Link},er=e=>{if(!(null==e?void 0:e.content))return"";let t=e=>e.map(e=>
1{if("object"==typeof e&&null!==e&&"nodeType"in e){if("text"===e.nodeType&&"string"==typeof e.value)return e.value;if(Array.isArray(e.content))return t(e.content)}return""}).join("");return t(e.content)},eo=(e,t)=>{var l,a,s,n,i,r,o,c,d,u,m,h;let p=null==e?void 0:null===(a=e.data)||void 0===a?void 0:null===(l=a.target)||void 0===l?void 0:l.fields,x=null==e?void 0:null===(o=e.data)||void 0===o?void 0:null===(r=o.target)||void 0===r?void 0:null===(i=r.sys)||void 0===i?void 0:null===(n=i.contentType)||void 0===n?void 0:null===(s=n.sys)||void 0===s?void 0:s.id;if(null==p||p.brightcoveId,x===en.LINKED_IMAGE){let e=null==p?void 0:p.image;p={url:null==p?void 0:p.url,...null!=e?e:{}}}switch(x){case en.QUOTE_BLOCK:{let e=p,t={primary:null==e?void 0:e.citationPrimary,secondary:null==e?void 0:e.citationSecondary,image:null==e?void 0:e.citationImage};return(0,z.jsx)(U,{quote:null==e?void 0:e.quote,citation:t,size:"large"})}case en.LINKED_IMAGE:case en.MEDIA_BLOCK:{let e=p,t="caption"in e?er(null===(c=e.caption)||void 0===c?void 0:c.json):"",l=null==e?void 0:null===(d=e.image)||void 0===d?void 0:d[0],a=(0,_.GwG)(l);if((null==l?void 0:l.type)==="video")return(0,z.jsx)(Z,{media:{type:"video",videoSrc:null==l?void 0:null===(u=l.videoPreviewURLs)||void 0===u?void 0:u[0],poster:a,descriptiveText:t,showAsCaption:!0}});if((null==l?void 0:l.type)==="image"&&a){let s=(0,z.jsx)(Z,{media:{type:"image",url:a,descriptiveText:t,showAsCaption:!0,width:null==l?void 0:l.width,height:null==l?void 0:l.height}});return(null==e?void 0:e.url)?(0,z.jsx)(G.default,{href:e.url,children:s}):s}return console.warn("Embedded mediaBlock or linkedImage entry has no usable image or video"),null}case en.PROMO_BLOCK:{let e=p;return(0,z.jsx)(q,{color:"purple",children:(0,L.h)(e.body,t)})}case en.LINK:{let e=p;if(!e.url||!e.linkLabel)return null;let t=ei[null!==(m=e.style)&&void 0!==m?m:"Primary Button"];return(0,z.jsx)(_.zxk,{href:e.url,label:e.linkLabel,variant:t})}case en.ACCORDION_BLOCK:{let e=p;return(0,z.jsx)(z.Fragment,{children:null==e?void 0:null===(h=e.items)||void 0===h?void 0:h.map((e,l)=>(0,z.jsxs)("div",{children:[(0,z.jsx)(_.UQy,{label:e.heading||"",indicator:_.Mwk.button,theme:_.l1m.onSurface,size:_.HRt.medium,children:(0,L.h)(e.body,t)}),(0,z.jsx)(_.izJ,{hierarchy:_.rks.Variant})]},l))})}default:return null}},ec=()=>(0,E.useMemo)(()=>{let e={renderNode:{[A.BLOCKS.HEADING_1]:(e,t)=>J({level:1,children:t}),[A.BLOCKS.HEADING_2]:(e,t)=>J({level:2,children:t}),[A.BLOCKS.HEADING_3]:(e,t)=>J({level:3,children:t}),[A.BLOCKS.HEADING_4]:(e,t)=>J({level:4,children:t}),[A.BLOCKS.HEADING_5]:(e,t)=>J({level:5,children:t}),[A.BLOCKS.HEADING_6]:(e,t)=>J({level:6,children:t}),[A.BLOCKS.PARAGRAPH]:(e,t)=>K({node:e,children:t}),[A.BLOCKS.UL_LIST]:(e,t)=>X({children:t}),[A.BLOCKS.OL_LIST]:(e,t)=>Q({children:t}),[A.BLOCKS.LIST_ITEM]:(e,t)=>ee({children:t}),[A.BLOCKS.QUOTE]:(e,t)=>et({children:t}),[A.INLINES.HYPERLINK]:(e,t)=>el({node:e,children:t}),[A.INLINES.EMBEDDED_ENTRY]:(e,t)=>{var l,a,s,n,i,r,o,c,d,u,m,h;let p=null==e?void 0:null===(a=e.data)||void 0===a?void 0:null===(l=a.target)||void 0===l?void 0:l.fields;if((null==p?void 0:p.slides)&&Array.isArray(p.slides)&&p.slides.length>0){let e=p.slides[0];p=e.fields||e}null==p||p.brightcoveId;let x=er(null==e?void 0:null===(r=e.data)||void 0===r?void 0:null===(i=r.target)||void 0===i?void 0:null===(n=i.fields)||void 0===n?void 0:null===(s=n.caption)||void 0===s?void 0:s.json);return(null==p?void 0:null===(c=p.image)||void 0===c?void 0:null===(o=c[0])||void 0===o?void 0:o.type)==="video"?(0,z.jsx)(Z,{media:{type:"video",videoSrc:null==p?void 0:null===(m=p.image)||void 0===m?void 0:null===(u=m[0])||void 0===u?void 0:null===(d=u.videoPreviewURLs)||void 0===d?void 0:d[0],poster:(0,_.GwG)(null==p?void 0:null===(h=p.image)||void 0===h?void 0:h[0]),descriptiveText:x,showAsCaption:!0}}):null},[A.BLOCKS.EMBEDDED_ENTRY]:(t,l)=>eo(t,e)},renderMark:{[A.MARKS.BOLD]:e=>ea(e),[A.MARKS.ITALIC]:e=>es(e)},preserveWhitespace:!0};return e},[!0]),ed=e=>{let{content:t,hasContainer:l=!0,shouldPreprocess:a=!1,className:s}=e,n=ec();if(!t)return null;let i=a?P(t):t,r=(0,L.h)(i,n);return l?(0,z.jsx)("div",{className:"richtext".concat(s?" ".concat(s):""),children:r}):(0,z.jsx)(z.Fragment,{children:r})},eu=e=>{let{name:t,fax:l,phone:a}=e,[s,n]=(0,_.n_I)("locations-side-bar");return(0,z.jsxs)("div",{className:n("location"),children:[(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.headline,size:"Headline / -1"},as:_.Gy$.h3,weight:_.fsE.semibold,className:n("heading"),children:t}),a&&(0,z.jsxs)("p",{className:n("line-item"),children:[(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.body,size:"Body / -1"},as:_.Gy$.span,weight:_.fsE.medium,children:"Call"}),(0,z.jsx)("span",{className:n("leader")}),(0,z.jsx)(_.FgE,{variant:_.Ev.underlined,as:_.WM6.link,className:n("link"),href:"tel:".concat(a),"aria-label":"Call the ".concat(t," location at ").concat(a),children:a})]}),l&&(0,z.jsxs)("p",{className:n("line-item"),children:[(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.body,size:"Body / -1"},as:_.Gy$.span,weight:_.fsE.medium,children:"Fax"}),(0,z.jsx)("span",{className:n("leader")}),(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.body,size:"Body / -1"},as:_.Gy$.span,weight:_.fsE.medium,"aria-label":"Fax the ".concat(t," location at ").concat(l),children:l})]})]})},em={bookAppointment:{key:"bookAppointment",order:1,label:"Book Appointment","aria-label":"Book Appointment",icon:(0,z.jsx)(I.VZI,{"aria-hidden":!0})},referAPatient:{key:"referAPatient",order:2,label:"Refer Patient","aria-label":"Refer Patient",icon:(0,z.jsx)(I.m42,{"aria-hidden":!0})},acceptInsurance:{key:"acceptInsurance",order:3,label:"Accepted Insurance","aria-label":"Accepted Insurance",icon:(0,z.jsx)(I.FjK,{"aria-hidden":!0})},callLocation:{key:"callLocation",order:4,label:"Call Location","aria-label":"Call location",icon:(0,z.jsx)(I.qWc,{"aria-hidden":!0})},locationDirections:{key:"locationDirections",order:5,label:"Get Directions","aria-label":"Get location directions",icon:(0,z.jsx)(I.Dt0,{"aria-hidden":!0})},providers:{key:"providers",order:6,label:"Providers","aria-label":"Providers"},email:{key:"email",order:7,label:"Email","aria-label":"Email",icon:(0,z.jsx)(I._XJ,{"aria-hidden":!0})}},eh=(e,t,l,a)=>{var s,n,i,r;if(!(null==l?void 0:l.show))return null;let o=em[e],c="bookAppointment"===e?_.qGe.Filled:_.qGe.Outlined,d="bookAppointment"===e?_.qMO.Accent:_.qMO.Neutral,u=null!==(s=l.label)&&void 0!==s?s:"callLocation"===e?"Call: ".concat(null==a?void 0:a.phone):o.label;return{key:o.key,order:null!==(n=l.order)&&void 0!==n?n:o.order,element:(0,z.jsx)(_.zxk,{className:t,label:u,endIcon:o.icon,href:l.href,variant:null!==(i=l.variant)&&void 0!==i?i:c,theme:null!==(r=l.theme)&&void 0!==r?r:d,"aria-label":o["aria-label"]})}},ep=e=>{var t,l,a,s,n;let{acceptInsurance:i,bookAppointment:r,callLocation:o,locationDirections:c,locations:d=[],providers:u,referAPatient:m,showContactInfo:h=!0,bottomCTA:p,email:x}=e,v=!1,f=!1;if((null==d?void 0:d.length)>0){let{phone:e,mapsLink:t}=d[0];v=!!e,f=!!t}let[y,j]=(0,_.n_I)("locations-side-bar"),g=[],b=eh("bookAppointment",j("button"),r);b&&g.push(b);let N=eh("referAPatient",j("button"),m);N&&g.push(N);let w=eh("acceptInsurance",j("button"),i);w&&g.push(w);let C=eh("callLocation",j("button"),o,null==d?void 0:d[0]);C&&v&&g.push(C);let k=eh("locationDirections",j("button"),c,null==d?void 0:d[0]);k&&f&&g.push(k);let T=eh("email",j("button"),x);if(T&&g.push(T),(null==u?void 0:u.show)&&(null===(t=u.providers)||void 0===t?void 0:t.length)>0){let e=u.href?{href:u.href}:u.onClick?{onClick:u.onClick}:{},t=(0,z.jsx)(_.zxk,{className:j("button"),endSlot:(0,z.jsx)("div",{className:j("provider-wrapper"),children:u.providers.slice(0,u.providers.length>3?3:u.providers.length).map((e,t)=>{let{name:l,avatarUrl:a}=e,s=l?l.trim().split(" ").map(e=>e[0]).join("").toUpperCase().slice(0,2):"P";return(0,z.jsx)(_.qEK,{className:j("provider-avatar"),initials:s,divider:_.cw3.none,imageUrl:a,size:_.DZU.small,style:{zIndex:t}},"avatar-".concat(t))})}),label:"Providers (".concat(u.providers.length,")"),variant:null!==(l=u.variant)&&void 0!==l?l:_.qGe.Outlined,theme:null!==(a=u.theme)&&void 0!==a?a:_.qMO.Neutral,"aria-label":"Providers",...e});g.push({key:"providers",order:null!==(s=u.order)&&void 0!==s?s:em.providers.order,element:t})}return g.sort((e,t)=>
1e.order-t.order),(0,z.jsxs)("div",{className:y(),children:[h&&(null==d?void 0:d.map((e,t)=>{let{name:l,fax:a,phone:s}=e;return(0,z.jsx)(eu,{name:l,fax:a,phone:s},"location-".concat(t))})),g.map(e=>{let{key:t,element:l}=e;return(0,z.jsx)(E.Fragment,{children:l},t)}),p&&p.show&&p.text&&(0,z.jsxs)("div",{className:j("cta"),"data-testid":"cta",children:[(0,z.jsx)("div",{"data-color-accent":"Blue",children:(0,z.jsx)(_.igV,{variant:_.aLs.surface,theme:_.rJN.accent,children:null!==(n=p.icon)&&void 0!==n?n:(0,z.jsx)(I.js$,{"aria-hidden":!0,"data-ui-icon-size":"24px"})})}),p.text&&(0,z.jsx)("div",{className:j("cta-info"),children:(0,z.jsx)(ed,{content:p.text,hasContainer:!1})})]})]})},ex=ep,ev={name:"Locations Side Bar",inputs:[{name:"data",friendlyName:"Data",type:"object",required:!0}]},ef=((c=ef||{}).RELATED_CONTENT="related-content",c.DEPARTMENTS="related-departments",c.PROVIDERS="providers",c),[ey,ej]=(0,_.n_I)("related-articles"),eg={"related-content":{top:{textStyle:{type:_.yGm.body,size:"Body / -2"},weight:_.fsE.medium,className:ej("text","secondary"),as:_.Gy$.p},bottom:{textStyle:{type:_.yGm.headline,size:"Headline / -3"},weight:_.fsE.bold,className:ej("text","primary"),as:_.Gy$.h4}},"related-departments":{top:{textStyle:{type:_.yGm.headline,size:"Headline / -3"},weight:_.fsE.bold,className:ej("text","primary"),as:_.Gy$.h4},bottom:{textStyle:{type:_.yGm.body,size:"Body / -2"},weight:_.fsE.medium,className:ej("text","secondary"),as:_.Gy$.p}},providers:{top:{textStyle:{type:_.yGm.headline,size:"Headline / -3"},weight:_.fsE.bold,className:ej("text","primary"),as:_.Gy$.h4},bottom:{textStyle:{type:_.yGm.body,size:"Body / -2"},weight:_.fsE.medium,className:ej("text","secondary"),as:_.Gy$.p}}},eb=e=>{var t,l,a;let{title:s,contentType:n,data:i,truncateOptions:r}=e,o=(0,E.useMemo)(()=>{var e;return null!==(e=null==r?void 0:r.ariaControlsId)&&void 0!==e?e:"truncate-".concat(s.toLowerCase().replace(/\s+/g,"-"))},[s,null==r?void 0:r.ariaControlsId]),c=(e,t)=>{let l="related-content"===n?t:e,a="related-content"===n?e:t;return(0,z.jsxs)(z.Fragment,{children:[l&&(0,z.jsx)(_.xvT,{...eg[n].top,children:l}),a&&(0,z.jsx)(_.xvT,{...eg[n].bottom,children:a})]})},d=(e,t)=>(0,z.jsx)("div",{className:ej("image",n),children:e?(0,z.jsx)("img",{src:e,alt:"Thumbnail for ".concat(null!=t?t:"related content"),className:ej("img",n),width:{"related-content":112,providers:48}[n],height:{"related-content":63,providers:48}[n]}):(0,z.jsx)("div",{className:ej("placeholder",n)})}),u=(e,t)=>{let{primaryText:l,secondaryText:a,url:s,imageUrl:i}=e,r="related-content"===n||"providers"===n;return(0,z.jsx)("li",{className:ej("item"),children:(0,z.jsx)("a",{href:s||"/search",className:ej("link"),
1children:(0,z.jsxs)("div",{className:ej("container",[n,r?"":"no-image"].filter(e=>null!==e)),children:[(0,z.jsx)("div",{className:ej("content"),children:c(l,a)}),r&&d(i||"",l)]})})},"".concat(l,"-").concat(t))},m=()=>(0,z.jsx)("ul",{className:ej("list"),children:i.map(u)});return i&&0!==i.length?(0,z.jsxs)("div",{className:ey(),children:[(0,z.jsxs)("div",{className:ej("header"),children:[(0,z.jsx)(_.xvT,{as:_.Gy$.h3,textStyle:{type:_.yGm.caps,size:"Caps / -1"},weight:_.fsE.bold,className:ej("title"),children:s}),(0,z.jsx)(_.izJ,{className:ej("divider"),hierarchy:_.rks.Variant})]}),(null==r?void 0:r.truncateContent)?(0,z.jsx)(_.kYk,{ariaControlsID:o,hasListContent:!0,triggerStyles:{theme:_.qMO.Neutral,variant:_.qGe.Outlined},previewSize:null!==(t=r.previewSize)&&void 0!==t?t:_.HFU.Small,buttonClosedLabel:null!==(l=r.closedLabel)&&void 0!==l?l:"Show More",buttonOpenLabel:null!==(a=r.openedLabel)&&void 0!==a?a:"Show Less",className:ej("truncate"),childrenClasses:ej("truncate-content"),children:m()}):m()]}):null},[eN,ew]=(0,_.n_I)("article-header"),eC=e=>{let{buttonLabel:t,backUrl:l,pageHeader:a}=e;return(0,z.jsxs)("div",{className:eN(),children:[(0,z.jsx)(_.zxk,{label:t,startIcon:(0,z.jsx)(I.wyc,{"aria-hidden":"true"}),size:_.qE.xsmall,iconSize:_.JhL.small,className:ew("back-button"),href:l}),(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.headline,size:"Headline / 5"},as:_.Gy$.h1,weight:_.fsE.semibold,children:a})]})};function ek(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"smooth",a="string"==typeof e?document.getElementById(e):e;if(a){var s;let e=a.getBoundingClientRect(),n=window.scrollY||document.documentElement.scrollTop,i=null!==(s=null==t?void 0:t.offsetHeight)&&void 0!==s?s:0;window.scrollTo({top:e.top+n-i,behavior:l})}}function eT(e){let[t,l]=(0,E.useState)(!1);return(0,E.useEffect)(()=>{var t;if(!(null===(t=globalThis)||void 0===t?void 0:t.matchMedia))return;let a=globalThis.matchMedia(e);l(a.matches);let s=e=>{l(e.matches)};return a.addEventListener("change",s),()=>a.removeEventListener("change",s)},[e]),t}var eS=(e,t)=>(null==e?void 0:e.trim())||t.replace(/[-_]+/g," ").trim().replace(/\b\w/g,e=>e.toUpperCase())||"Section",eE={ARRIVAL_THRESHOLD_PX:2,SAFETY_TIMEOUT_MS:2e3},eI=e=>{let{tabs:t}=e,l=eT("(max-width: ".concat(360,"px)")),a=l?_.OYk.None_GutterBleed_WithMask:_.OYk.Ghost_AtEdge_DoubleMask,[s,n]=(0,_.n_I)("nav-bar"),i=t.filter(e=>e.isPresent),[r,o]=(0,E.useState)(i.length>0?i[0].id:void 0),c=(0,E.useRef)(null),d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"smooth";return ek(e,c.current,t)},u=(0,E.useRef)(!0),m=(0,E.useRef)(null);(0,E.useEffect)(()=>{var e,t;let l=null!==(t=null===(e=c.current)||void 0===e?void 0:e.offsetHeight)&&void 0!==t?t:0,a=l+1-window.innerHeight,s=new IntersectionObserver(e=>{e.forEach(e=>{if(e.isIntersecting&&u.current){let t=i.find(t=>t.id===e.target.id);t&&o(t.id)}})},{rootMargin:"-".concat(l,"px 0px ").concat(a,"px 0px"),threshold:0});return i.forEach(e=>{let t=document.getElementById(e.id);t&&s.observe(t)}),()=>s.disconnect()},[i,o]);let h=e=>{var t,l;m.current&&m.current(),u.current=!1,o(e.id);let a=document.getElementById(e.id);if(!a){u.current=!0;return}let s=null!==(l=null===(t=c.current)||void 0===t?void 0:t.offsetHeight)&&void 0!==l?l:0,n=a.getBoundingClientRect().top+window.scrollY-s;d(e.id);let i=null,r=()=>{null!==i&&(cancelAnimationFrame(i),i=null),window.removeEventListener("scroll",h),clearTimeout(p),u.current=!0,m.current=null},h=()=>{null===i&&(i=requestAnimationFrame(()=>{i=null,Math.abs(window.scrollY-n)<eE.ARRIVAL_THRESHOLD_PX&&r()}))};window.addEventListener("scroll",h,{passive:!0});let p=setTimeout(r,eE.SAFETY_TIMEOUT_MS);m.current=r};return(0,E.useEffect)(()=>()=>{m.current&&m.current()},[]),(0,z.jsx)(z.Fragment,{children:(0,z.jsxs)("div",{ref:c,className:s(),children:[i.length>0&&(0,z.jsx)("div",{className:n("tabs"),"data-component-tabs-mode":"yspace4x",children:(0,z.jsx)(_.mQc,{enableOverlayNavButtons:!l,carouselNavType:a,children:i.map(e=>(0,z.jsx)(_.mQc.Tab,{label:eS(e.label,e.id),value:e.id,active:r===e.id,onClick:()=>h(e)},e.id))})}),(0,z.jsx)(_.izJ,{hierarchy:_.rks.Variant})]})})},e_=e=>{let{id:t,title:l,introduction:a,content:s,theme:n=_.l1m.onSurface,size:i=_.HRt.large,classes:r,indicator:o=_.Mwk.button,activeIndex:c,onActiveIndexChange:d,defaultOpenFirst:u=!1,defaultOpenIndex:m}
1=e,[h,p]=(0,_.n_I)("accordioned-segment"),x=[h(),r].filter(Boolean).join(" "),v=void 0!==c,f=(0,E.useMemo)(()=>s.length?"number"==typeof m?m>=0&&m<s.length?m:null:u?0:null:null,[s.length,u,m]),[y,j]=(0,E.useState)(f),g=v?null!=c?c:null:y,b=(0,E.useRef)(!1);(0,E.useEffect)(()=>{!v&&(b.current||j(f))},[v,f]);let N=e=>{b.current=!0,v||j(e),null==d||d(e)};return(0,z.jsxs)("div",{...t?{id:t}:{},className:x,children:[l&&(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.headline,size:"Headline / 2"},as:_.Gy$.h2,weight:_.fsE.semibold,className:p("title"),children:l}),a&&(0,z.jsx)("div",{className:p("introduction"),children:a}),(0,z.jsx)("div",{className:p("accordion-container"),children:s.map((e,t)=>{let l=g===t;return(0,z.jsxs)(E.Fragment,{children:[0===t&&(0,z.jsx)(_.izJ,{hierarchy:_.rks.Variant}),(0,z.jsx)(_.UQy,{indicator:o,label:e.label,theme:n,size:i,isOpen:l,onAccordionChange:e=>{N(e?t:null)},children:e.content}),(0,z.jsx)(_.izJ,{hierarchy:_.rks.Variant})]},"fragment-".concat(e.label,"-").concat(t))})})]})},eL=e=>{var t;let{id:l,title:a,titleAs:s=_.Gy$.h2,truncateOptions:n,classes:i,children:r}=e,[o,c]=(0,_.n_I)("segment"),d=[o(),i].filter(Boolean).join(" "),u=(0,E.useId)(),m=null===(t=null==n?void 0:n.truncateContent)||void 0===t||t;return(0,z.jsxs)("div",{...l?{id:l}:{},className:d,children:[(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.headline,size:"Headline / 2"},as:s,weight:_.fsE.semibold,className:c("title"),children:a}),m?(0,z.jsx)(_.kYk,{triggerStyles:{theme:_.qMO.Neutral,variant:_.qGe.Outlined},previewSize:(null==n?void 0:n.previewSize)||_.HFU.Small,ariaControlsID:(null==n?void 0:n.ariaControlsId)||"truncate-content-".concat(u),buttonClosedLabel:(null==n?void 0:n.closedLabel)||"Read More",buttonOpenLabel:(null==n?void 0:n.openedLabel)||"Show Less",children:r}):r]})};function eA(e){return e?(e.includes(",")?e.split(",")[0]:e).trim().split(" ").filter(Boolean).map(e=>e[0].toUpperCase()).join("").slice(0,2):""}var eO=((d=eO||{}).Zero="root-step-zero",d.NegativeOne="root-step-negative-one",d),ez=e=>{let{rootStep:t="root-step-zero",href:l,avatarUrl:a,avatarSize:s=_.DZU.medium,primaryText:n,secondaryText:i}=e,[r,o]=(0,_.n_I)("provider"),c=(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(_.qEK,{size:s,divider:_.cw3.none,radius:_.QtD.full,disableHoverScrim:!l,initials:eA(n),imageUrl:a}),(0,z.jsxs)("div",{className:o("text"),children:[(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.body,size:"Body / 0"},as:_.Gy$.span,weight:_.fsE.bold,className:o("primary",[t,l?"with-href":""]),children:n}),i&&(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.body,size:"Body / -2"},as:_.Gy$.span,weight:_.fsE.medium,className:o("secondary"),children:i})]})]});return l?(0,z.jsx)(G.default,{href:l,className:r("with-href"),children:c}):(0,z.jsx)("div",{className:r(),children:c})},eG=e=>{let{id:t,shouldTruncate:l=!0,title:a,description:s,classes:n,providers:i=[]}=e,[r,o]=(0,_.n_I)("providers-segment"),c=[r(),n].filter(Boolean).join(" "),d=l&&i.length>4,u=(0,z.jsxs)(z.Fragment,{children:[s&&(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.prose,size:"Prose / 0"},as:_.Gy$.p,weight:_.fsE.medium,className:o("description"),children:s}),i.length>0&&(0,z.jsx)("ul",{className:o("list"),children:i.map((e,t)=>(0,z.jsx)("li",{className:o("item"),children:(0,z.jsx)(ez,{...e})},t))})]});return(0,z.jsx)(eL,{...t?{id:t}:{},title:a,truncateOptions:{truncateContent:d,closedLabel:"Read More"},classes:c,children:u})},eM=e=>{let{hasClearAction:t=!0,show:l=!1,onClear:a,onSearch:s}=e,[n,i]=(0,_.n_I)("hero-search");return(0,z.jsx)(z.Fragment,{children:(0,z.jsxs)("div",{className:i("actions-wrapper",l?"visible":""),children:[t&&(0,z.jsx)(_.zxk,{className:i("action","clear"),startIcon:(0,z.jsx)(I.ro7,{"aria-hidden":!0}),onClick:a,"data-testid":"clear"}),(0,z.jsx)("span",{className:i("action-divider")}),(0,z.jsx)(_.zxk,{className:i("action"),startIcon:(0,z.jsx)(I.LZ3,{"aria-hidden":!0}),onClick:s,"data-testid":"search"})]})})},eD=(0,E.forwardRef)((e,t)=>{let{hasClearAction:l,placeholder:a="",size:s="small",results:n,onSearchTermChange:i,onSearch:r,dropdownPortalTarget:o,anchorPointRef:c,initialSearchTerm:d}=e,[u,m]=(0,E.useState)(d||""),[h,p]=(0,E.useState)(!1),[x,v]=(0,E.useState)(!1),f=(0,E.useRef)(null);(0,E.useEffect)(()=>{v(!!u)},[u]);let y=(e,t)=>(0,z.jsx)("ul",{className:k("results"),children:null==e?void 0:e.map((e,l)=>(0,z.jsx)("li",{className:k("result-item"),children:j(e,t)},"result-".concat(l)))}),j=(e,t)=>{var l,a;let s=null!==(a=null!==(l=e.label)&&void 0!==l?l:e.value)&&void 0!==a?a:"",n=e.url?e.url:"#",i=t=>{t.preventDefault(),b(e)};return"suggestion"===t?(0,z.jsxs)("a",{className:k("result","suggestion"),href:n,onClick:i,children:[(0,z.jsx)(I._Ve,{className:k("icon"),"aria-hidden":!0}),(0,z.jsx)("span",{className:k("result-title"),children:g(s,u)}),(0,z.jsx)(I.fC7,{className:k("icon"),"aria-hidden":!0})]}):(0,z.jsxs)("a",{className:k("result"),href:n,onClick:i,children:[(0,z.jsx)(I.Is0,{className:k("icon"),"aria-hidden":!0}),(0,z.jsx)("span",{className:k("result-title"),children:g(s,u)}),(0,z.jsx)(I.LZ3,{className:k("icon"),"aria-hidden":!0})]})},g=(e,t)=>{if(!t)return e;let l=t.toLocaleLowerCase(),a=e.toLocaleLowerCase().indexOf(l);return -1===a?e:(0,z.jsxs)(z.Fragment,{children:[e.slice(0,a),(0,z.jsx)(_.y$I,{text:e.slice(a,a+t.length),background:_.BWg.brand}),e.slice(a+t.length)]})},b=e=>{if("resource"===e.type&&e.url&&""!==e.url.trim())window.location.href=e.url;else{var t,l,a,s;m(null!==(l=null!==(t=e.value)&&void 0!==t?t:e.label)&&void 0!==l?l:""),p(!1),r(null!==(s=null!==(a=e.value)&&void 0!==a?a:e.label)&&void 0!==s?s:"")}},N=()=>{r(u)},w=(0,E.useRef)((0,_.DsO)(e=>{i(e)},250)),[C,k]=(0,_.n_I)("hero-search");return(0,z.jsx)("div",{ref:f,className:C(),"data-component-hero-search-mode":s,"data-testid":"heroSearch",children:(0,z.jsxs)("form",{className:k("anchor-point"),ref:c,onSubmit:e=>{e.preventDefault(),N()},children:[(0,z.jsx)(_.nvn,{ref:t,disabled:!1,value:u,EndSlot:(0,z.jsx)(eM,{hasClearAction:l,show:x,onClear:()=>{t&&"object"==typeof t&&t.current&&(t.current.value=""),m(""),p(!1),r("")},onSearch:N}),hasVisibleLabel:!1,isRequired:!1,label:"",placeholder:a,status:_.QBY.none,StartSlot:(0,z.jsx)(I._Ve,{className:k("icon"),"aria-hidden":!0}),onChange:e=>{m(e),p(!!e),w.current(e)}}),o?(0,z.jsx)(_.h_i,{to:o,children:(0,z.jsxs)(_.h_2,{anchorRef:f,open:h,onOpenChange:()=>{},"data-testid":"results",offset:0,children:[(null==n?void 0:n.searchSuggestions)&&n.searchSuggestions.length>0&&(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)("h4",{className:k("results-heading"),children:"Suggestions"}),y(n.searchSuggestions,"suggestion")]}),(null==n?void 0:n.resources)&&n.resources.length>0&&(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)("h4",{className:k("results-heading"),children:"Resources"}),y(n.resources,"resource")]})]})}):null]})})});function eR(e){if(!e)return;if("lat"in e&&"lng"in e){let t=Number(e.lat),l=Number(e.lng);return Number.isFinite(t)&&Number.isFinite(l)?{lat:t,lng:l}:void 0}let t=Number(null==e?void 0:e.latitude),l=Number(null==e?void 0:e.longitude);return Number.isFinite(t)&&Number.isFinite(l)?{lat:t,lng:l}:void 0}eD.displayName="HeroSearch";var eB={spotlight:{x:15,y:40},custom:{x:10,y:18},pinlet:{x:12,y:28},"pinlet-with-label":{x:12,y:28},"pinlet-with-dot":{x:12,y:28}},eP=e=>{let{position:t,markerType:l,onClose:a,title:s,titleLink:n,description:i,customContent:r}=e,[o,c]=(0,_.n_I)("map-info-window"),d=eB[l];return(0,z.jsx)(M.nx,{position:t,onCloseClick:a,options:{pixelOffset:new google.maps.Size(d.x,d.y)},children:(0,z.jsx)("div",{className:o(),children:r||(0,z.jsxs)(z.Fragment,{children:[s&&n?(0,z.jsx)(_.FgE,{href:n,className:c("title"),children:(0,z.jsx)(_.xvT,{as:"span",textStyle:{type:_.yGm.headline,size:"Headline / -1"},weight:"bold",children:s})}):s?(0,z.jsx)(_.xvT,{as:"h3",textStyle:{type:_.yGm.headline,size:"Headline / -1"},weight:"bold",className:c("title"),children:s}):null,i&&(0,z.jsx)(_.xvT,{as:"p",textStyle:{type:_.yGm.body,size:"Body / 0"},weight:"medium",className:c("description"),children:i})]})})})},eH=e=>e?"string"==typeof e?{text:e}:e:null,eq=((u=eq||{}).Custom="custom",u.Spotlight="spotlight",u.Pinlet="pinlet",u.PinletWithLabel="pinlet-with-label",u.PinletWithDot="pinlet-with-dot",u),eF=e=>{let{type:t,classes:l}=e;
1switch(t){case"custom":return(0,z.jsx)("svg",{className:l,"data-testid":"marker-icon-".concat(t),xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,z.jsx)("path",{d:"M10 1C13.8648 1 17 4.13522 17 8C17 8.87954 16.7128 9.84054 16.3252 10.7588C15.9305 11.6937 15.3948 12.668 14.8223 13.5967C13.6769 15.4547 12.3334 17.2085 11.5215 18.2246L11.5195 18.2266C10.7349 19.2023 9.26512 19.2023 8.48047 18.2266L8.47852 18.2246C7.66661 17.2085 6.32313 15.4547 5.17773 13.5967C4.60522 12.668 4.06947 11.6937 3.6748 10.7588C3.28718 9.84054 3 8.87954 3 8C3 4.13522 6.13522 1 10 1ZM10 7C9.73478 7 9.48051 7.10543 9.29297 7.29297C9.10543 7.48051 9 7.73478 9 8C9 8.26522 9.10543 8.5195 9.29297 8.70703C9.4805 8.89457 9.73478 9 10 9C10.2652 9 10.5195 8.89457 10.707 8.70703C10.8946 8.5195 11 8.26522 11 8C11 7.73478 10.8946 7.48051 10.707 7.29297C10.5195 7.10543 10.2652 7 10 7Z",fill:"#FF0000",stroke:"white",strokeWidth:2})});case"spotlight":return(0,z.jsxs)("svg",{className:l,"data-testid":"marker-icon-".concat(t),xmlns:"http://www.w3.org/2000/svg",width:"29",height:"42",viewBox:"0 0 29 42",fill:"none",children:[(0,z.jsx)("path",{d:"M14.5 1C21.9558 1 28 7.04416 28 14.5C28 17.5501 26.9874 20.367 25.2803 22.6279L25.2793 22.627C24.6778 23.4602 23.8808 24.3329 23.0586 25.2334C20.1344 28.4359 16.5 32.4506 16.5 39C16.5 40.1046 15.6046 41 14.5 41C13.3954 41 12.5 40.1046 12.5 39C12.5 32.4506 8.86557 28.4359 5.94141 25.2334C5.119 24.3327 4.32124 23.4604 3.71973 22.627C2.01282 20.3661 1 17.5499 1 14.5C1 7.04416 7.04416 1 14.5 1Z",fill:"var(--UI-Colors-Danger, #EA352B)",stroke:"white",strokeWidth:2}),(0,z.jsx)("circle",{cx:"14.5",cy:"14.5",r:"4.5",fill:"black",fillOpacity:.4})]});case"pinlet":case"pinlet-with-label":return(0,z.jsx)("svg",{className:l,"data-testid":"marker-icon-".concat(t),xmlns:"http://www.w3.org/2000/svg",width:"24",height:"30",viewBox:"0 0 24 30",fill:"none",children:(0,z.jsx)("path",{d:"M12 1C18.0751 1 23 5.92487 23 12C23 15.6368 21.2334 18.8603 18.5166 20.8613L18.5176 20.8623C16.6497 22.2698 14.2963 24.3012 13.7568 27.4863C13.6188 28.3016 12.9211 28.9971 12 28.9971C11.0789 28.9971 10.3812 28.3016 10.2432 27.4863C9.70374 24.3012 7.35033 22.2698 5.48242 20.8623V20.8613C2.76597 18.8603 1 15.6365 1 12C1 5.92487 5.92487 1 12 1Z",fill:"var(--UI-Colors-Danger, #EA352B)",stroke:"white",strokeWidth:2})});case"pinlet-with-dot":return(0,z.jsxs)("svg",{className:l,"data-testid":"marker-icon-".concat(t),xmlns:"http://www.w3.org/2000/svg",width:"24",height:"30",viewBox:"0 0 24 30",fill:"none",children:[(0,z.jsx)("path",{d:"M12 1C18.0751 1 23 5.92487 23 12C23 15.6368 21.2334 18.8603 18.5166 20.8613L18.5176 20.8623C16.6497 22.2698 14.2963 24.3012 13.7568 27.4863C13.6188 28.3016 12.9211 28.9971 12 28.9971C11.0789 28.9971 10.3812 28.3016 10.2432 27.4863C9.70374 24.3012 7.35033 22.2698 5.48242 20.8623V20.8613C2.76597 18.8603 1 15.6365 1 12C1 5.92487 5.92487 1 12 1Z",fill:"var(--UI-Colors-Danger, #EA352B)",stroke:"white",strokeWidth:2}),(0,z.jsx)("circle",{cx:"12",cy:"11.9985",r:"4",fill:"black",fillOpacity:.4})]});default:return null}},eU=e=>{let{type:t="spotlight",position:l,label:a,onClick:s}=e,[n,i]=(0,_.n_I)("map-marker"),r=eH(a);return(0,z.jsx)(M.xT,{position:l,mapPaneName:M.xT.OVERLAY_MOUSE_TARGET,children:(0,z.jsxs)("div",{onClick:s,className:n(),"data-testid":"map-marker",children:[(0,z.jsx)(eF,{type:t,classes:i("icon")}),(null==r?void 0:r.text)&&(0,z.jsx)(_.xvT,{as:_.Gy$.strong,weight:_.fsE.semibold,textStyle:{type:_.yGm.body,size:"Body / -3"},className:i("label"),children:r.text})]})})},e$={width:"100%",height:"200px",borderRadius:"24px",overflow:"hidden"},eV={disableDefaultUI:!0,clickableIcons:!1,fullscreenControl:!1,gestureHandling:"none"};function eW(e){return"https://www.google.com/maps/dir/?api=1&destination=".concat(encodeURIComponent(e.trim()))}var eY=e=>{var t;let{center:l,zoom:a=10,style:s,classes:n,locations:i=[{marker:!0}],options:r,linkTo:o,ariaLabel:c,children:d,libraries:u,onLoad:m,onUnmount:h,loadingFallback:p,disableInteractions:x=!0,showControls:v}=e,{isLoaded:f}=(0,M.Db)({googleMapsApiKey:"AIzaSyCPiyBT3qMUx7MBJk73IuU2ZSfHloIExok",libraries:u}),[y,j]=E.useState(null),[g,b]=E.useState(null),[N,w]=(0,_.n_I)("map-wrapper"),C="".concat(N()).concat(n?" ".concat(Array.isArray(n)?n.join(" "):n):""),k=E.useMemo(()=>eR(l),[l]),T=E.useMemo(()=>{let e={...eV};return(v&&(v.zoom&&(e.zoomControl=!0,e.disableDefaultUI=!1),v.mapType&&(e.mapTypeControl=!0,e.disableDefaultUI=!1),v.fullscreen&&(e.fullscreenControl=!0)),x)?{...e,...r||{}}:{...e,gestureHandling:"auto",...r||{}}},[r,x,v]);if(!f)return(0,z.jsx)("div",{className:C,style:{...e$,...s},children:null!=p?p:(0,z.jsx)(_.aNw,{ariaLabel:"Loading Map",className:w("loading")})});if(!k)return(0,z.jsx)("div",{className:C,style:{...e$,...s},children:(0,z.jsx)("div",{className:w("placeholder"),children:"Location unavailable"})});let S=e=>{let{marker:t}=e;return void 0===t||!0===t?[{position:k}]:!1===t?[]:Array.isArray(t)?t:[t]},I=(0,z.jsxs)("div",{className:w("inner"),children:[(0,z.jsxs)(M.b6,{mapContainerStyle:{width:"100%",height:"100%"},center:k,zoom:a,options:T,onLoad:m,onUnmount:h,children:[null==i?void 0:i.flatMap((e,t)=>S(e).map((l,a)=>{var s;return(0,z.jsx)(eU,{position:null!==(s=l.position)&&void 0!==s?s:k,label:l.label,type:l.type,onClick:()=>{e.infoWindow&&(j(e),b(l))}},"".concat(t,"-").concat(a))})),(null==y?void 0:y.infoWindow)&&g&&(0,z.jsx)(eP,{position:null!==(t=g.position)&&void 0!==t?t:k,markerType:g.type||"spotlight",onClose:()=>{j(null),b(null)},title:y.infoWindow.title,titleLink:y.infoWindow.titleLink,description:y.infoWindow.description,customContent:y.infoWindow.customContent})]}),d&&(0,z.jsx)("div",{className:w("overlay"),children:d})]});return o?(0,z.jsx)(G.default,{href:o,"aria-label":c,className:C,style:{display:"block",...e$,...s},children:I}):(0,z.jsx)("div",{className:C,style:{...e$,...s},children:I})},eZ=e=>{let{address:t,coordinates:l,zoom:a=12}=e,[s,n]=(0,_.n_I)("locations-section"),i=eW(t);return(0,z.jsxs)("div",{className:s(),children:[(0,z.jsx)("div",{className:n("container"),children:(0,z.jsxs)("div",{className:n("header"),children:[(0,z.jsxs)("div",{className:n("text-container"),children:[(0,z.jsx)(_.xvT,{as:"h2",className:n("title"),textStyle:{size:"Headline / 2",type:_.yGm.headline},weight:"semibold",children:"Location"}),(0,z.jsx)(_.xvT,{as:"span",className:n("subtitle"),textStyle:{size:"Body / 0",type:_.yGm.body},weight:"medium",children:t})]}),(0,z.jsx)("div",{className:n("tooltip"),children:(0,z.jsx)(_.hU,{theme:_.d4N.neutral,intent:_.xI3.outline,size:_.rmb.md,state:_.wrJ.enabled,ariaLabel:"Get directions to ".concat(t),href:i,target:"_blank",rel:"noopener noreferrer",children:(0,z.jsx)(I.Dt0,{})})})]})}),(0,z.jsx)("div",{className:n("container"),children:(0,z.jsx)(eY,{center:l,zoom:a,linkTo:i,ariaLabel:"Open Locations in Google Maps: ".concat(t),disableInteractions:!0,style:{width:"100%",height:"400px",borderRadius:"24px"}})})]})},eJ=e=>{let{icon:t,iconTheme:l=_.rJN.accent,type:a,metaText:s}=e,[n,i]=(0,_.n_I)("search-result-meta");return(0,z.jsxs)("div",{className:n(),children:[(0,z.jsx)(_.igV,{theme:l,variant:_.aLs.surface,size:_.xPj.small,classes:i("icon"),children:(0,z.jsx)(t,{})}),(0,z.jsxs)("div",{className:i("content"),children:[(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.body,size:"Body / -2"},as:_.Gy$.span,weight:_.fsE.semibold,className:i("type"),children:a}),s&&(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.body,size:"Body / -2"},as:_.Gy$.span,weight:_.fsE.medium,className:i("meta"),children:s})]})]})},eK=e=>{let{icon:t,type:l,metaText:a,title:s,imageUrl:n,href:i,children:r}=e,[o,c]=(0,_.n_I)("search-result"),d=i?(0,z.jsx)("a",{href:i,className:c("title-link"),children:(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.headline,size:"Headline / 2"},as:_.Gy$.h3,weight:_.fsE.semibold,className:c("title"),children:s})}):(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.headline,size:"Headline / 2"},as:_.Gy$.h3,weight:_.fsE.semibold,className:c("title"),children:s});return(0,z.jsxs)("div",{className:o(),children:[(0,z.jsx)("div",{className:c("meta"),children:(0,z.jsx)(eJ,{icon:t,type:l,metaText:a})}),(0,z.jsx)("div",{className:c("title-wrapper"),children:d}),(0,z.jsx)("div",{className:c("description"),children:r}),n&&(0,z.jsx)("div",{className:c("image"),children:i?(0,z.jsx)("a",{href:i,className:c("image-link"),children:(0,z.jsx)(_.BuX,{imageUrl:n,size:_.MxR["32x/128px"]})}):(0,z.jsx)(_.BuX,{imageUrl:n,size:_.MxR["32x/128px"]})})]})},eX=e=>{let{text:t}=e;return(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.body,size:"Body / -1"},as:_.Gy$.p,weight:_.fsE.medium,children:t})},eQ=e=>{let{specialist:t,degree:l,languages:a,phone:s,location:n,locationUrl:i,appointmentUrl:r,referPatient:o}
1=e,[c,d]=(0,_.n_I)("search-result-provider-description"),u=Array.isArray(a)?a.join(", "):a,m=t?"".concat(t).concat(l?", ".concat(l):""):null,h=Array.isArray(n)?n.join(", "):n;return(0,z.jsxs)("div",{className:c(),children:[(0,z.jsxs)(_.ZdG,{children:[m&&(0,z.jsx)(_.MpT,{icon:(0,z.jsx)(I.NCl,{}),text:m,classes:d("provider-list-item")}),u&&(0,z.jsx)(_.MpT,{icon:(0,z.jsx)(I.n9J,{}),text:"Speaks ".concat(u),classes:d("provider-list-item")}),s&&(0,z.jsx)(_.MpT,{icon:(0,z.jsx)(I.qWc,{}),link:"tel:".concat(s),linkText:s}),h&&(0,z.jsx)(_.MpT,{icon:(0,z.jsx)(I.Bjv,{}),text:h,classes:d("provider-list-item")}),o&&(0,z.jsx)(_.MpT,{icon:(0,z.jsx)(I.xk4,{}),link:"/for-healthcare-professionals/refer-a-patient",linkText:"Refer Patient"})]}),r&&(0,z.jsx)(_.zxk,{label:"Book Appointment",href:r,variant:"outlined",theme:"neutral",size:_.qE.small,startIcon:(0,z.jsx)(I.VZI,{})})]})},e0=["monday","tuesday","wednesday","thursday","friday","saturday","sunday"],e1=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"];function e2(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",l=arguments.length>2?arguments[2]:void 0;return e?e.toLocaleTimeString(t,{hour:"numeric",minute:"2-digit",hour12:!0,...l}):""}var e3=e=>{let{open:t,onClose:l,locationName:a,hoursOfOperation:s,onViewLocation:n,todayOverride:i}=e,[r,o]=(0,_.n_I)("location-hours-modal"),c=(0,E.useRef)(new Date);return(0,z.jsxs)(_.u_l,{open:t,onClose:l,position:_.e1N.CenterFilled,classes:r(),accessibility:{labelledById:"location-hours-header",describedById:"location-hours-body"},children:[(0,z.jsx)(_.u_l.Header,{contentType:_.W9u.TitleAndSubtitle,title:"Hours this week",subtitle:a,closeAffordance:{type:_.Ez6.Close,onClick:l}}),(0,z.jsx)(_.u_l.Body,{padding:_.t_D.XAllYAll,contentSlot:(0,z.jsx)("div",{className:o("hours-list"),children:e0.map((e,t)=>(function(e,t){let l=s[e];if(!l)return null;let{isClosed:a,isOpen247:n,open:r,close:d}=l,u=!!r&&!!d,m=a?"Closed":n?"Open 24 hours":u?"".concat(e2(r)," - ").concat(e2(d)):"",h=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,l=arguments.length>2?arguments[2]:void 0,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"monday";return l?e===l:"sunday"===a?e===e1[t.getDay()]:e===e0[(t.getDay()+6)%7]}(e,c.current,i,"monday");return(0,z.jsxs)(E.Fragment,{children:[(0,z.jsxs)("div",{className:o("day-row"),children:[(0,z.jsxs)("div",{className:o("day-info"),children:[(0,z.jsx)(_.xvT,{className:o("day-letter",a?"closed":""),as:"span",textStyle:{size:"Body / 0",type:_.yGm.body},weight:h?"bold":"medium",children:e.charAt(0).toUpperCase()}),(0,z.jsx)(_.xvT,{className:o("day-date",a?"closed":""),as:"span",textStyle:{size:"Body / 0",type:_.yGm.body},weight:h?"bold":"medium",children:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en-US";return(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,l=t.getDay(),a=e1.indexOf(e),s=new Date(t);return s.setDate(t.getDate()+(a-l+7)%7),s})(e,t).toLocaleDateString(l,{month:"short",day:"numeric"})}(e,c.current)})]}),(0,z.jsx)(_.xvT,{className:o("day-hours",a?"closed":""),as:"span",textStyle:{size:"Body / 0",type:_.yGm.body},weight:h?"bold":"medium",children:m})]}),!t&&(0,z.jsx)(_.izJ,{})]},e)})(e,t===e0.length-1))})}),(0,z.jsx)(_.u_l.Footer,{contentType:_.ygU.Filled,primaryAction:(0,z.jsx)(_.zxk,{theme:_.qMO.Accent,variant:_.qGe.Filled,size:_.qE.large,onClick:n,startIcon:(0,z.jsx)(I.ZyV,{}),label:"View Location Page",ariaLabel:"View full location page for ".concat(a)})})]})},e4=e=>{let{open:t,onClose:l,locationName:a,address:s,coordinates:n,zoom:i=14}=e,[r]=(0,_.n_I)("location-map-modal"),o=eW(s);return(0,z.jsxs)(_.u_l,{open:t,onClose:l,position:_.e1N.CenterFilled,classes:r(),accessibility:{labelledById:"location-modal-header",describedById:"location-modal-body"},children:[(0,z.jsx)(_.u_l.Header,{contentType:_.W9u.TitleAndSubtitle,title:"Location",subtitle:a,closeAffordance:{type:_.Ez6.Close,onClick:l}}),(0,z.jsx)(_.u_l.Body,{padding:_.t_D.XNoneYNone,contentSlot:(0,z.jsx)(eY,{center:n,zoom:i,disableInteractions:!1,showControls:{zoom:!0,mapType:!1,fullscreen:!1},ariaLabel:"Interactive map displaying ".concat(a," at ").concat(s,'. Use zoom controls to adjust view, or click "Get Directions" button to open in Google Maps.'),style:{width:"100%",height:"100%",minHeight:"400px",borderRadius:"0"}})}),(0,z.jsx)(_.u_l.Footer,{contentType:_.ygU.Filled,primaryAction:(0,z.jsx)(_.zxk,{theme:_.qMO.Accent,variant:_.qGe.Filled,size:_.qE.large,onClick:()=>{window.open(o,"_blank","noopener,noreferrer")},startIcon:(0,z.jsx)(I.Dt0,{}),label:"Get Directions",ariaLabel:"Get directions to ".concat(a," in Google Maps")})})]})},e6=["monday","tuesday","wednesday","thursday","friday","saturday","
1sunday"],e8={mon:"monday","mon.":"monday",tue:"tuesday",tues:"tuesday","tue.":"tuesday","tues.":"tuesday",wed:"wednesday","wed.":"wednesday",thu:"thursday",thurs:"thursday","thu.":"thursday","thurs.":"thursday",fri:"friday","fri.":"friday",sat:"saturday","sat.":"saturday",sun:"sunday","sun.":"sunday"},e7=e6.join("|"),e5=new Map;e5.set("7:30 am",()=>{let e=new Date;return e.setHours(7,30,0,0),e}),e5.set("8 am",()=>{let e=new Date;return e.setHours(8,0,0,0),e}),e5.set("8:00 am",()=>{let e=new Date;return e.setHours(8,0,0,0),e}),e5.set("8:30 am",()=>{let e=new Date;return e.setHours(8,30,0,0),e}),e5.set("4 pm",()=>{let e=new Date;return e.setHours(16,0,0,0),e}),e5.set("4:00 pm",()=>{let e=new Date;return e.setHours(16,0,0,0),e}),e5.set("4:30 pm",()=>{let e=new Date;return e.setHours(16,30,0,0),e}),e5.set("5 pm",()=>{let e=new Date;return e.setHours(17,0,0,0),e}),e5.set("5:00 pm",()=>{let e=new Date;return e.setHours(17,0,0,0),e}),e5.set("5:30 pm",()=>{let e=new Date;return e.setHours(17,30,0,0),e}),e5.set("6 pm",()=>{let e=new Date;return e.setHours(18,0,0,0),e}),e5.set("6:00 pm",()=>{let e=new Date;return e.setHours(18,0,0,0),e}),e5.set("6:30 pm",()=>{let e=new Date;return e.setHours(18,30,0,0),e});var e9=e=>{if(!e)return null;let t=new Date,l=e.replace(/\(.*?\)/g,"").replace(/\./g,"").trim().toLowerCase();if("noon"===l||"12 pm"===l)return t.setHours(12,0,0,0),t;if("midnight"===l||"12 am"===l)return t.setHours(0,0,0,0),t;let a=l.match(/(\d{1,2})(?::(\d{2}))?\s*(am|pm)/);if(a){let e=parseInt(a[1],10),l=a[2]?parseInt(a[2],10):0,s=a[3];return"pm"===s&&12!==e&&(e+=12),"am"===s&&12===e&&(e=0),t.setHours(e,l,0,0),t}return null},te=(e,t,l)=>{let a=l[e];if(a){if(null==t?void 0:t.includes("closed"))a.isClosed=!0;else if(null==t?void 0:t.includes("24 hours"))a.isOpen247=!0;else{let e=t.match(/(\d{1,2}(?::\d{2})?\s*(?:am|pm|a\.m\.|p\.m\.|noon|midnight)?)[^\d]*(\d{1,2}(?::\d{2})?\s*(?:am|pm|a\.m\.|p\.m\.|noon|midnight)?)/i);if(e){let t=e9(e[1]),l=e9(e[2]);t&&l&&l<=t&&l.setDate(l.getDate()+1),a.open=t,a.close=l}else a.open=null,a.close=null}}},tt=(e,t)=>{for(let l of e6)if(null==e?void 0:e.includes(l)){te(l,e,t);break}},tl=(e,t)=>{let l=e[1].toLowerCase(),a=e[2].toLowerCase(),s=e[3],n=e6.indexOf(l),i=e6.indexOf(a),r=[];for(let e of(-1!==n&&-1!==i&&(r=n<=i?e6.slice(n,i+1):[...e6.slice(n),...e6.slice(0,i+1)]),r))te(e,s,t)},ta=(e,t)=>{te(e[1].toLowerCase(),e[2],t)},ts=(e,t)=>{let l=e.replace(/[–—]/g,"-"),a=l.match(RegExp("^(".concat(e7,")\\s*-\\s*(").concat(e7,")[:\\s]+(.+)$"),"i"));if(a){tl(a,t);return}let s=l.match(RegExp("^(".concat(e7,")[:\\s]+(.+)$"),"i"));if(s){ta(s,t);return}tt(e,t)},tn=(e,t)=>{let l=e[1],a=e[2].trim(),s=e[3].trim(),n=new Date,i=new Date,r=a.match(/(\d{1,2}):(\d{2})\s*(am|pm)/i);if(r){let[,e,t,l]=r,a=parseInt(e,10);"am"===l.toLowerCase()&&12===a?a=0:"pm"===l.toLowerCase()&&12!==a&&(a+=12),n.setHours(a,parseInt(t,10),0,0)}else"12:00 am"===a&&n.setHours(0,0,0,0);let o=s.match(/(\d{1,2}):(\d{2})\s*(am|pm)/i);if(o){let[,e,t,l]=o,a=parseInt(e,10);"am"===l.toLowerCase()&&12===a?a=0:"pm"===l.toLowerCase()&&12!==a&&(a+=12),i.setHours(a,parseInt(t,10),0,0)}else"11:59 pm"===s&&i.setHours(23,59,0,0);(i.getHours()<n.getHours()||i.getHours()===n.getHours()&&i.getMinutes()<=n.getMinutes())&&i.setDate(i.getDate()+1),t[l.toLowerCase()]={isOpen247:"12:00 am"===a&&"11:59 pm"===s,isClosed:!1,open:n,close:i}},ti=e=>{if(Object.values(e).some(e=>null!==e.open||null!==e.close))for(let t of e6){let l=e[t];!l||l.isClosed||l.isOpen247||null!==l.open&&null!==l.close||(l.isClosed=!0)}},tr=e=>{let t={monday:{isOpen247:!1,isClosed:!1,open:null,close:null},tuesday:{isOpen247:!1,isClosed:!1,open:null,close:null},wednesday:{isOpen247:!1,isClosed:!1,open:null,close:null},thursday:{isOpen247:!1,isClosed:!1,open:null,close:null},friday:{isOpen247:!1,isClosed:!1,open:null,close:null},saturday:{isOpen247:!1,isClosed:!1,open:null,close:null},sunday:{isOpen247:!1,isClosed:!1,open:null,close:null}},l=function(e){let t=[],l=0;for(;l<e.length;){var a;let s=e[l].toLocaleLowerCase().trim(),n=null===(a=e[l+1])||void 0===a?void 0:a.toLocaleLowerCase().trim();s.match(RegExp("^(".concat(e7,")\\s*-\\s*(").concat(e7,")$"),"i"))&&n&&n.match(/\d{1,2}(:\d{2})?\s*(am|pm)\s*-\s*\d{1,2}(:\d{2})?\s*(am|pm)/i)?(t.push("".concat(s," ").concat(n)),l+=2):(t.push(e[l]),l+=1)}return t}(e),a=!1;for(let e of l||[]){let l=e.toLocaleLowerCase(),s=l.match(/^(monday|tuesday|wednesday|thursday|friday|saturday|sunday),\s*([\d:apm\s]+),\s*([\d:apm\s]+)$/i);if(s){tn(s,t);continue}for(let e of l.split(/\r?\n/)){let l=e.trim();if(l.includes("sleep studies")||l.includes("walk-in urgent care")){a=!0;continue}a||ts(l=(l=l.replace(/\b(mon\.|tues\.|tue\.|wed\.|thu\.|thurs\.|fri\.|sat\.|sun\.|mon|tues|tue|wed|thu|thurs|fri|sat|sun)\b/gi,e=>e8[e.toLowerCase()]||e).replace(RegExp("\\b(".concat(e7,")[\\.,:]"),"gi"),"$1")).replace(/[:,]$/,""),t)}}return ti(t),t},to=e=>{let t="",l=_.qMO.Positive,a="",s=new Date,n=e[s.toLocaleDateString("en-US",{weekday:"long"}).toLocaleLowerCase()];if(null==n?void 0:n.isClosed)t="Closed",l=_.qMO.Critical;else if(null==n?void 0:n.isOpen247)t="Open 24 hours";else{let e=null==n?void 0:n.open,i=null==n?void 0:n.close;if(e&&i){let n=e=>null==e?void 0:e.toLocaleTimeString("en-US",{hour:"numeric",minute:"2-digit"}),r=(e,t)=>Math.abs(e.getTime()-t.getTime())/36e5,o=s>=e&&s<i,c=s>=i;o?(t=1>=r(s,i)?"Closes Soon":"Open",a="Closes ".concat(n(i))):s<e?(1>=r(s,e)?t="Opens Soon":(t="Closed",l=_.qMO.Critical),a="Opens ".concat(n(e))):c&&(t="Closed",l=_.qMO.Critical)}}return""===t&&""===a&&(t="Hours Unavailable",l=_.qMO.Critical),{title:t,titleVariant:l,text:a}},tc=e=>{let{location:t}=e,[l,a]=(0,E.useState)(!1),[s,n]=(0,E.useState)(0),[i,r]=(0,E.useState)(!1),[o,c]=(0,E.useState)(!1),d=(0,E.useRef)({monday:{isOpen247:!1,isClosed:!1,open:null,close:null},tuesday:{isOpen247:!1,isClosed:!1,open:null,close:null},wednesday:{isOpen247:!1,isClosed:!1,open:null,close:null},thursday:{isOpen247:!1,isClosed:!1,open:null,close:null},friday:{isOpen247:!1,isClosed:!1,open:null,close:null},saturday:{isOpen247:!1,isClosed:!1,open:null,close:null},sunday:{isOpen247:!1,isClosed:!1,open:null,close:null}}),u=(0,E.useRef)(!1),{locationName:m,slug:h,coordinates:p,hoursOfOperation:x,address1:v,address2:f,city:y,state:j,zipCode:g,phone:b,fax:N,additionalInformation:w,parking:C}=t;(0,E.useEffect)(()=>{u.current||(d.current=tr(x),u.current=!0,a(!0),k())},[x]);let k=async()=>{try{let e=await (0,_.wV8)();if((null==e?void 0:e.length)>0){let t=(0,_.cLg)(e[0],e[1],Number(p.latitude),Number(p.longitude)),l=(0,_.Am$)(t);n(l)}}catch(e){console.error("Error getting user location.",e)}},T=()=>r(e=>!e),S=()=>c(e=>!e),{title:L,titleVariant:A,text:O}=to(d.current),G="".concat(v,", ").concat(y,", ").concat(j," ").concat(g),[M,D]=(0,_.n_I)("information-section");return(0,z.jsxs)("section",{className:M(),children:[(0,z.jsxs)(_.ZdG,{children:[(0,z.jsx)(_.MpT,{icon:(0,z.jsx)(I.T39,{style:{color:A===_.qMO.Critical?"var(--critical-on-surface-default, #d70205)":"var(--positive-on-surface-default, #367650)"}}),customContent:(0,z.jsxs)("div",{className:D("hours"),children:[L&&(0,z.jsx)(_.xvT,{weight:_.fsE.bold,textColorClassName:"information-section__open-status--".concat(A),children:L}),L&&O&&(0,z.jsx)("span",{className:D("divider"),"data-testid":"divider",children:"•"}),O&&(0,z.jsx)(_.xvT,{weight:_.fsE.medium,children:O}),(0,z.jsx)("button",{className:D("details"),onClick:S,children:"(details)"})]}),isLoading:!l}),(0,z.jsx)(_.MpT,{icon:(0,z.jsx)(I.Bjv,{}),customContent:(0,z.jsxs)("address",{children:[(0,z.jsxs)("button",{className:D("address"),onClick:T,children:[G,f&&(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)("br",{})," ",f]})]}),s>0&&(0,z.jsxs)("span",{children:["\xa0(",s.toFixed(2)," mi.)"]})]})}),b&&(0,z.jsx)(_.MpT,{icon:(0,z.jsx)(I.qWc,{}),link:"tel:".concat(b),linkText:b}),w&&(0,z.jsx)(_.MpT,{icon:(0,z.jsx)(I.kLh,{}),customContent:(0,z.jsx)("p",{dangerouslySetInnerHTML:{__html:w}})}),C&&(0,z.jsx)(_.MpT,{icon:(0,z.jsx)(I.KDf,{}),customContent:(0,z.jsx)("p",{dangerouslySetInnerHTML:{__html:C}})}),N&&(0,z.jsx)(_.MpT,{icon:(0,z.jsx)(I.LWU,{}),text:"Send faxes to ".concat(N)})]}),l&&(0,z.jsx)(e3,{open:o,locationName:m,hoursOfOperation:d.current,onClose:S,onViewLocation:()=>window.location.href=h}),(0,z.jsx)(e4,{open:i,locationName:m,coordinates:p,address:G,onClose:T})]})},td=e=>{let{title:t,hours:l,address:a,city:s,state:n,zip:i,phone:r,parking:o,appointmentUrl:c,latlng:d,url:u}=e,m={locationName:t||"",slug:u||"#",coordinates:(e=>{if(!e)return{latitude:"0",longitude:"0"};let[t,l]=e.split(",").map(e=>e.trim());return{latitude:t||"0",longitude:l||"0"}})(d),hoursOfOperation:l?l.split("|").map(e=>e.trim()):[],address1:a||"",city:s||"",state:n||"",zipCode:i||"",phone:r,parking:o};return(0,z.jsxs)("div",{className:"search-result-location-description",children:[(0,z.jsx)(tc,{location:m}),c&&(0,z.jsx)(_.zxk,{label:"Book Appointment",href:c,variant:"outlined",theme:"neutral",size:_.qE.small,startIcon:(0,z.jsx)(I.VZI,{})})]})},tu=e=>{switch(null==e?void 0:e.toLowerCase()){case"articles":default:return I.fS1;case"clinical-trials":return I.ulG;
1case"conditions":return I.SIo;case"locations":return I.ZyV;case"pages":return I.Is0;case"providers":return I.tBG;case"research":return I.FFS;case"programs-specialties":return D.tI;case"treatments":return I.Zpt}},tm=e=>{switch(e){case"articles":return"Article";case"clinical-trials":return"Clinical Trial";case"conditions":return"Condition";case"locations":return"Location";case"pages":return"Page";case"providers":return"Provider";case"research":return"Research Library";case"programs-specialties":return"Departments & Programs";case"treatments":return"Treatment";default:return e}},th=e=>{if(!e)return"";try{let t=new Date(e),l=new Date,a=Math.abs(l.getTime()-t.getTime()),s=Math.floor(a/864e5);if(0===s)return"Updated today";if(1===s)return"Updated yesterday";if(s<7)return"Updated ".concat(s," days ago");if(s<30){let e=Math.floor(s/7);return"Updated ".concat(e," week").concat(e>1?"s":""," ago")}else{if(!(s<365))return"Updated ".concat(t.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}));let e=Math.floor(s/30);return"Updated ".concat(e," month").concat(e>1?"s":""," ago")}}catch(e){return""}},tp=((m=tp||{}).PROVIDERS="providers",m.LOCATIONS="locations",m.ARTICLES="articles",m.CLINICAL_TRIALS="clinical-trials",m.PAGES="pages",m.RESEARCH="research",m.CONDITIONS="conditions",m.TREATMENTS="treatments",m.PROGRAMS_SPECIALTIES="programs-specialties",m),tx=e=>{if("string"!=typeof e)return!1;try{let t=new URL(e);return"http:"===t.protocol||"https:"===t.protocol}catch(e){return!1}},tv=e=>{var t;let{data:l}=e,a=l.category,s=tu(a),n=tm(a),i="providers"===a?tx(l.image)?l.image:void 0:tx(l.thumb)?l.thumb:void 0,r={icon:s,type:n,title:null!==(t=l.title||l.title_t)&&void 0!==t?t:"",imageUrl:i,href:l.url||l.id};switch(a){case"providers":return(0,z.jsx)(eK,{...r,metaText:l.specialist,children:(0,z.jsx)(eQ,{specialist:l.specialist,degree:l.degree,languages:l.languages_s||l.languages_ss,phone:l.phone,location:l.locations,appointmentUrl:l.appointment_url,referPatient:l.refer_patient})});case"locations":return(0,z.jsx)(eK,{...r,metaText:"".concat(l.city,", ").concat(l.state),children:(0,z.jsx)(td,{title:l.title||l.title_t,hours:l.hours,address:l.address1,city:l.city,state:l.state,zip:l.zip,distance:l.distance,phone:l.phone,parking:l.parking,directionsUrl:l.directions_url,appointmentUrl:l.appointment_url,latlng:l.latlng,url:l.url||l.id})});case"articles":return(0,z.jsx)(eK,{...r,metaText:th(l.lastmodified),children:(0,z.jsx)(eX,{text:l.summary||l.description||l.description_t||""})});case"clinical-trials":return(0,z.jsx)(eK,{...r,metaText:l.summary,children:(0,z.jsx)(eX,{text:l.description||l.description_t||""})});case"pages":return(0,z.jsx)(eK,{...r,metaText:"",children:(0,z.jsx)(eX,{text:l.description||l.description_t||""})});case"research":case"conditions":case"treatments":case"programs-specialties":return(0,z.jsx)(eK,{...r,metaText:"",children:(0,z.jsx)(eX,{text:l.summary||l.description||l.description_t||""})});default:return(0,z.jsx)(eK,{...r,children:(0,z.jsx)(eX,{text:l.description||l.description_t||""})})}},tf=e=>{let{resultCount:t=3,containment:l=_.JXo.adaptive}=e,[a,s]=(0,_.n_I)("search-skeleton"),n=e=>(0,z.jsxs)("div",{className:s("result"),children:[(0,z.jsx)("hr",{className:s("result-divider")}),(0,z.jsxs)("div",{className:s("result-meta"),children:[(0,z.jsx)("div",{className:s("skeleton-avatar"),children:(0,z.jsx)(_.OdW,{roundness:_.jpm.medium})}),(0,z.jsxs)("div",{className:s("result-meta-text"),children:[(0,z.jsx)("div",{className:s("skeleton-meta-text"),children:(0,z.jsx)(_.OdW,{roundness:_.jpm.weak})}),(0,z.jsx)("div",{className:s("skeleton-meta-text"),children:(0,z.jsx)(_.OdW,{roundness:_.jpm.weak})})]})]}),(0,z.jsx)("div",{className:s("result-content"),children:(0,z.jsxs)("div",{className:s("result-text"),children:[(0,z.jsx)("div",{className:s("skeleton-title"),children:(0,z.jsx)(_.OdW,{roundness:_.jpm.weak})}),(0,z.jsx)("div",{className:s("skeleton-title"),children:(0,z.jsx)(_.OdW,{roundness:_.jpm.weak})}),(0,z.jsx)("div",{className:s("skeleton-description"),children:(0,z.jsx)(_.OdW,{roundness:_.jpm.weak})}),(0,z.jsx)("div",{className:s("skeleton-description"),children:(0,z.jsx)(_.OdW,{roundness:_.jpm.weak})}),(0,z.jsx)("div",{className:s("skeleton-description"),children:(0,z.jsx)(_.OdW,{roundness:_.jpm.weak})})]})})]},"result-".concat(e)),i=(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)("div",{className:s("skeleton-meta-count"),children:(0,z.jsx)(_.OdW,{roundness:_.jpm.weak})}),(0,z.jsx)("div",{className:s("results"),children:Array.from({length:t},(e,t)=>n(t))})]}),r=(0,z.jsxs)("div",{className:s("aside"),children:[(0,z.jsx)("div",{className:s("skeleton-aside-bar"),children:(0,z.jsx)(_.OdW,{roundness:_.jpm.weak})}),(0,z.jsx)("div",{className:s("skeleton-aside-image"),children:(0,z.jsx)(_.OdW,{roundness:_.jpm.medium})})]}
1),o={main:{content:i,className:s("main")},aside:{content:r,className:s("aside-container")}};return(0,z.jsx)("div",{className:a(),"data-testid":"search-skeleton",children:(0,z.jsx)(_.mI_,{articleContent:o,container:{containment:l}})})},ty=e=>{let{images:t,showPhotosButtonSize:l=_.qE.small,showPhotosIconSize:a=_.JhL.medium,maxPreviewCount:s=3}=e,[n,i]=(0,E.useState)(!1),[r,o]=(0,E.useState)(0),c=e=>{o(e),i(!0)},d=1===t.length,u=eT("(max-width: ".concat(_.u3l.lg,"px)")),[m,h]=(0,_.n_I)("media-gallery-section");return(0,z.jsxs)("section",{className:m(),children:[null==t?void 0:t.slice(0,s).map((e,t)=>{let{url:l,altText:a}=e,s=h("card",d?"single":"");return d?(0,z.jsx)("div",{className:s,"data-testid":"card-".concat(t),onClick:()=>c(t),children:(0,z.jsx)("img",{src:l,alt:a,className:h("img")})},"card-".concat(t)):(0,z.jsx)("div",{className:s,style:{"--img-url":"url(".concat(l,")")},role:"img","aria-label":a,"data-testid":"card-".concat(t),onClick:()=>c(t)},"card-".concat(t))}),(0,z.jsx)(_.zxk,{className:h("show-photos","mobile"),iconSize:a,label:"1 / ".concat(null==t?void 0:t.length),size:l,startIcon:(0,z.jsx)(I.XBm,{}),onClick:()=>c(0),"data-testid":"show-all-photos-mobile"}),(0,z.jsx)(_.zxk,{className:h("show-photos"),iconSize:a,label:"Show All Photos",size:l,startIcon:(0,z.jsx)(I.XBm,{}),onClick:()=>c(0),"data-testid":"show-all-photos-desktop"}),(0,z.jsx)(_.ewM,{variant:u?_.N1.mobile:_.N1.desktop,initialIndex:r,show:n,showArrows:!d,onClose:()=>{i(!1)},children:null==t?void 0:t.map((e,t)=>{let{url:l,altText:a,caption:s}=e;return(0,z.jsx)(_.ewM.Item,{alt:null!=a?a:"",caption:null!=s?s:"",src:l},"item-".concat(t))})})]})},[tj,tg]=(0,_.n_I)("providers-carousel-card"),tb=e=>{let{avatarUrl:t,acceptingNewPatients:l=!1,primaryText:a,secondaryText:s,providerProfileUrl:n,requestAppointmentUrl:i,className:r}=e;return(0,z.jsx)(_.Zbd,{className:"".concat(tj()).concat(r?" ".concat(r):""),theme:_.qMO.Neutral,variant:_.UEO.outlinedVariant,itemAlignment:_.ek1.center,children:(0,z.jsxs)("div",{className:tg("content"),children:[(0,z.jsxs)("div",{className:tg("avatar-section"),children:[(0,z.jsx)("a",{href:n,"aria-label":"View profile for ".concat(a),"data-testid":"avatar-link",children:(0,z.jsx)(_.BuX,{size:_.MxR["32x/128px"],imageUrl:t,radius:_.QtD.full,initials:eA(a)})}),l&&(0,z.jsx)(_.Cts,{divider:_.Yc6.highest,label:"Accepting New Patients",icon:(0,z.jsx)(I.nQG,{}),size:_.ODk.xxxs,theme:_.awp.positive,variant:_.P24.surface,classes:tg("badge")})]}),(0,z.jsxs)("div",{className:tg("name-and-title-section"),children:[(0,z.jsx)("a",{href:n,"aria-label":"View profile for ".concat(a),"data-testid":"name-link",children:(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.body,size:"Body / 0"},as:_.Gy$.strong,className:tg("name-and-title","name"),weight:_.fsE.semibold,children:a})}),(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.body,size:"Body / -2"},as:_.Gy$.span,className:tg("name-and-title","title"),children:s})]}),i&&(0,z.jsx)(_.zxk,{label:"Request Appointment",theme:_.qMO.Neutral,variant:_.qGe.Outlined,size:_.qE.small,href:i})]})})},tN={xs:1,sm:1,md:2,lg:2,xl:2,xxl:2},tw=e=>{let{sectionTitle:t,providers:l}=e,a=E.useRef(null),[s,n]=(0,_.n_I)("doctors-and-providers-section");return(0,z.jsxs)("div",{className:s(),children:[(0,z.jsxs)("div",{className:n("header"),children:[(0,z.jsxs)("div",{className:n("header-text-section"),children:[(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.headline,size:"Headline / 2"},as:_.Gy$.strong,weight:_.fsE.semibold,className:n("header-title"),children:t}),(0,z.jsxs)(_.xvT,{textStyle:{type:_.yGm.body,size:"Body / 0"},as:_.Gy$.span,weight:_.fsE.medium,className:n("header-subtitle"),children:[l.length," ","at this location"]})]}),(0,z.jsx)("div",{className:n("header-nav-buttons"),children:(0,z.jsx)(_.mQP,{trackRef:a,layout:_.nN3.Filled,size:_.rmb.md,itemsAtBp:tN})})]}),(0,z.jsx)("div",{className:n("carousel"),children:(0,z.jsx)(_.lr9,{gap:"var(--scaffolding-grid-gap-x, 24px)",trackRef:a,enableOverlayNavButtons:!1,layout:_.nN3.Filled,navType:_.OYk.Ghost_AtEdge_DoubleMask,itemsAtBp:tN,children:l.map((e,t)=>(0,z.jsx)(tb,{...e},t))})})]})},tC=((h=tC||{}).bottom="bottom",h.bottomLeft="bottom-left",h.bottomRight="bottom-right",h.bottomRounded="bottom-rounded",h.left
1="left",h.leftRight="left-right",h.right="right",h.top="top",h.topLeft="top-left",h.topRight="top-right",h.topRounded="top-rounded",h),tk=((p=tk||{}).hug="hug",p.fixed="fixed",p),tT=e=>{let{children:t,aspectRatio:l=_.oM5["5:4"],curve:a="top",height:s="hug",useScrim:n=!1,scrimMask:i=_.J$1.full,scrimDirection:r=_.oKg.full,scrimSpread:o=_.tVd.full}=e,[c,d]=(0,_.n_I)("masked-media");return(0,z.jsx)("div",{className:c(),children:(0,z.jsxs)("div",{className:d("wrapper",["aspect-".concat(null==l?void 0:l.replace("/","-")),"curve-".concat(a),"height-".concat(s)]),"data-testid":"wrapper",children:[t,n&&(0,z.jsx)(_.ZMr,{mask:i,direction:r,spread:o})]})})},tS=((x=tS||{}).Link="link",x.Department="department",x.Button="button",x),tE=e=>{let{type:t,titleIcon:l,title:a,description:s}=e,[n,i]=(0,_.n_I)("callout"),r=[n(t),e.classes].filter(Boolean).join(" ");return(0,z.jsxs)("div",{className:r,"data-testid":"callout-container",children:[(0,z.jsxs)("div",{className:i("header"),"data-ui-icon-size":"24px",children:[l,(0,z.jsx)(_.xvT,{as:_.Gy$.h3,className:i("title"),textStyle:{size:"Caps / -1",type:_.yGm.caps},weight:_.fsE.bold,children:a})]}),(0,z.jsx)(_.xvT,{className:i("description"),as:_.Gy$.p,textStyle:{size:"Body / 1",type:_.yGm.body},weight:_.fsE.medium,children:s}),(0,z.jsxs)("div",{className:i("actions",t),children:["link"===e.type&&(0,z.jsxs)(_.FgE,{href:e.href,className:i("link"),"data-testid":"callout-link",children:[(0,z.jsx)(_.xvT,{className:i("link-text"),as:_.Gy$.span,textStyle:{size:"Body / 1",type:_.yGm.body},weight:_.fsE.bold,children:e.linkText}),(0,z.jsx)("span",{className:i("link-arrow"),children:"→"})]}),"department"===e.type&&(0,z.jsxs)(_.FgE,{href:e.href,className:i("department-link"),"data-testid":"callout-department-link",children:[(0,z.jsx)(_.xvT,{className:i("department-name"),children:e.departmentName}),e.departmentIcon&&(0,z.jsx)("span",{className:i("department-icon"),children:e.departmentIcon}),(0,z.jsx)("span",{className:i("state-layer")})]}),"button"===e.type&&(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(_.zxk,{theme:_.qMO.Neutral,variant:_.qGe.Outlined,href:e.primaryButtonConfig.href,onClick:e.primaryButtonConfig.onClick,className:i("button"),startIcon:e.primaryButtonConfig.startIcon,endIcon:e.primaryButtonConfig.endIcon,"data-testid":"callout-primary-button",label:e.primaryButtonConfig.label}),e.secondaryButtonConfig&&(0,z.jsx)(_.zxk,{theme:_.qMO.Neutral,variant:_.qGe.Outlined,href:e.secondaryButtonConfig.href,onClick:e.secondaryButtonConfig.onClick,className:i("button"),"data-testid":"callout-secondary-button",startIcon:e.secondaryButtonConfig.startIcon,endIcon:e.secondaryButtonConfig.endIcon,label:e.secondaryButtonConfig.label})]})]})]})},tI=e=>{let{appleAppStoreUrl:t,googlePlayUrl:l,description:a,title:s}=e,[n]=(0,_.n_I)("mobile-cta"),i=(0,z.jsx)(z.Fragment,{children:"For help navigating to and around this location, download the Children's Health Mobile App"});return(0,z.jsx)(tE,{classes:n(),type:"button",titleIcon:(0,z.jsx)(_.igV,{theme:_.rJN.accent,variant:_.aLs.surface,size:_.xPj.small,children:(0,z.jsx)(I.frg,{})}),title:null!=s?s:"Download the Mobile App",description:null!=a?a:i,primaryButtonConfig:{label:"Google Play",startIcon:(0,z.jsx)(D.Ur,{}),href:l},secondaryButtonConfig:{label:"Apple App Store",startIcon:(0,z.jsx)(D.rW,{}),href:t}})},t_={NoResults:"No results found",Start:"Start your search"},tL={NoResults:"We couldn’t find any results. Try adjusting your search or using different keywords.",Start:"Use the input above to search for anything or the filters below to begin with a content type"},tA=((v=tA||{}).NoResults="no-results",v.Start="start",v),tO=e=>{let[t,l]=(0,_.n_I)("empty-search-state"),{title:a,subtitle:s,variant:n,showBuddies:i=!0,classes:r}=e,o=[t(),r].filter(Boolean).join(" "),c="no-results"===n?a||t_.NoResults:a||t_.Start,d=(()=>{if("no-results"===n){let e=s||tL.NoResults;return(0,z.jsx)("span",{className:l("subtitle-inline"),children:e})}return s||tL.Start})(),u=[{category:"Providers",icon:(0,z.jsx)(I.tBG,{"aria-hidden":!0})},{category:"Locations",icon:(0,z.jsx)(I.ZyV,{"aria-hidden":!0})},{category:"Conditions",icon:(0,z.jsx)(I.SIo,{"aria-hidden":!0})},{category:"Treatments",icon:(0,z.jsx)(I.Zpt,{"aria-hidden":!0})},{category:"Specialties",icon:(0,z.jsx)(D.tI,{"aria-hidden":!0})},{category:"Articles",icon:(0,z.jsx)(I.fS1,{"aria-hidden":!0})},{category:"Research",icon:(0,z.jsx)(I.FFS,{"aria-hidden":!0}),hideOnMedium:!0},{category:"Clinical Trials",icon:(0,z.jsx)(I.ulG,{"aria-hidden":!0}),hideOnMedium:!0},{category:"Pages",icon:(0,z.jsx)(I.Is0,{"aria-hidden":!0}),hideOnMedium:!0}],m=n&&"start"!==n?"no-results"===n?(0,z.jsx)(_.zxk,{onClick:()=>{e.ctaHref&&(window.location.href=e.ctaHref)},theme:_.qMO.Accent,size:_.qE.large,variant:_.qGe.Filled,className:l("cta-button"),label:"Go to last search",startIcon:(0,z.jsx)(I.Y4O,{"aria-hidden":"true"})}):null:(0,z.jsx)("div",{className:l("chips"),children:u.map(e=>{let{category:t,icon:a,hideOnMedium:s}=e;return(0,z.jsx)("div",{className:s?l("chip--hide-on-md"):void 0,children:(0,z.jsx)(G.default,{href:{pathname:"/search",query:{category:S.AK[t]}},children:(0,z.jsx)(_.AfN,{label:t,icon:a,style:_.cpg.outlined})})},t)})});return(0,z.jsx)("div",{className:o,children:(0,z.jsxs)("div",{className:l("wrapper"),children:[(0,z.jsxs)("div",{className:l("content"),children:[(0,z.jsxs)("div",{className:l("header"),children:[(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.headline,size:"Headline / 1"},as:"h1",weight:_.fsE.semibold,className:l("title"),children:c}),(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.body,size:"Body / 0"},className:l("subtitle"),children:d})]}),m]}),i&&(0,z.jsx)("div",{className:l("buddies"),children:["teal","blue","violet","pink","red","peach","aqua"].map(e=>(0,z.jsx)(_.wbu,{color:e},e))})]})})},tz={facebook:{label:"Facebook",Icon:D.UR},twitter:{label:"Twitter / X",Icon:D.Wr},instagram:{label:"Instagram",Icon:D.yu},youtube:{label:"YouTube",Icon:D.LK},linkedin:{label:"LinkedIn",Icon:D.KV},threads:{label:"Threads",Icon:D.K9}},tG=e=>{let{socials:t}=e;if(!t)return null;let[l,a]=(0,_.n_I)("footer-socials"),s=Object.entries(tz).filter(e=>{let[l]=e;return t[l]});return 0===s.length?null:(0,z.jsxs)("div",{className:"footer-socials",children:[(0,z.jsx)("p",{className:a("cta"),children:"Follow Children's Health on social media"}),(0,z.jsx)("div",{className:a("icon-wrapper"),children:s.map(e=>{let[l,{label:s,Icon:n}]=e,i=t[l];return i?(0,z.jsx)(G.default,{href:i,target:"_blank",rel:"noopener noreferrer","aria-label":"Visit our ".concat(s," page"),className:a("link"),
1children:(0,z.jsx)(n,{})},l):null})})]})},tM=e=>{let{label:t,href:l}=e;if(!t||!l)return null;let[a,s]=(0,_.n_I)("footer-newsletter");return(0,z.jsxs)(G.default,{className:s("link"),href:l,children:[(0,z.jsx)(I._XJ,{className:s("envelope-icon")}),(0,z.jsxs)("div",{className:s("title"),children:[(0,z.jsx)("span",{children:t}),(0,z.jsx)(I.XCv,{className:"size-3"})]})]})},tD=e=>{let{contact:t}=e,{primaryText:l,secondaryText:a,href:s}=t;if(!l||!s)return null;let[n,i]=(0,_.n_I)("footer-contact");return(0,z.jsxs)("a",{href:s,className:i("link"),children:[(0,z.jsx)(I.qWc,{"aria-hidden":!0}),(0,z.jsxs)("div",{className:i("label-wrapper"),children:[(0,z.jsx)("span",{className:i("label-primary"),children:l}),a&&(0,z.jsx)("span",{className:i("label-secondary"),children:a})]})]})},tR=e=>{let{address:t,copyright:l}=e;if(!t&&!l)return null;let[a,s]=(0,_.n_I)("footer-footnote");return(0,z.jsxs)("div",{className:s("container"),children:[(0,z.jsx)("span",{children:t}),(0,z.jsx)("span",{children:l})]})},tB=e=>(null==e?void 0:e.length)===0?[]:null==e?void 0:e.reduce((e,t)=>{let l="number"==typeof t.column?t.column:"ungrouped";return e[l]||(e[l]=[]),e[l].push({...t,childLinks:t.childLinks||[]}),e},{}),tP=e=>{let{link:t}=e;if(!t)return null;let[l,a]=(0,_.n_I)("footer-navigation");return(0,z.jsx)("li",{children:t.href?(0,z.jsxs)(G.default,{className:a("list-link"),href:t.href,target:t.hrefTarget||"_self",children:[t.title,(0,z.jsx)(I.XCv,{className:"size-3"})]}):(0,z.jsx)("span",{className:a("list-link-title"),children:t.title})})},tH=e=>{let{links:t}=e;if(!t.length)return null;let[l,a]=(0,_.n_I)("footer-navigation");return(0,z.jsx)("ul",{className:a("list"),children:t.map(e=>(0,z.jsx)(tP,{link:e},e.title))})},tq=e=>{let{footerLinks:t}=e,[l,a]=(0,_.n_I)("footer-navigation"),s=tB(t);return(0,z.jsx)("div",{className:a("main"),children:Object.entries(s).map((e,t)=>{let[l,s]=e;return(0,z.jsx)("div",{className:a("main-wrapper"),children:null==s?void 0:s.map((e,t)=>{let{title:l,childLinks:s,href:n,hrefTarget:i}=e;return(0,z.jsxs)("div",{className:a("link-header-container"),children:[(0,z.jsxs)("div",{className:a("desktop-group"),children:[(0,z.jsx)("h3",{className:a("link-header-title"),children:n?(0,z.jsx)(G.default,{className:a("link-header-link"),href:n,target:i||"_self",children:l}):(0,z.jsx)("span",{children:l})}),s&&(0,z.jsx)(tH,{links:s})]}),(0,z.jsxs)("div",{className:a("mobile-group"),children:[(0,z.jsx)(_.UQy,{label:l,children:(0,z.jsx)(tH,{links:s})}),(0,z.jsx)(_.izJ,{className:"divider-bg"})]})]},"".concat(e.title,"-").concat(t))})},"column-".concat(l,"-").concat(t))})})},tF=[{title:"Patient Rights and Responsibilities",href:"/footer/policies-procedures/patient-rights-and-responsibilities"},{title:"Notice of Privacy Practices",href:"/footer/notice-of-privacy-practices"},{title:"Terms of Use",href:"/footer/policies-procedures/terms-of-use"},{title:"Privacy Policy",href:"/footer/policies-procedures/privacy-policy"},{title:"Quality and Safety",href:"/footer/policies-procedures/quality-and-patient-safety"},{title:"Complaint Resolution",href:"/footer/policies-procedures/complaint-resolution"},{title:"International Patient Services",href:"/footer/policies-procedures/international-policy"},{title:"CHNA Report",href:"https://assets.childrens.com/m/1c01c78d09395436/original/Final_Childrens-Health-CHNA-Report_Board-Approved_12-11-2025.pdf"}],tU=()=>{let[e,t]=(0,_.n_I)("footer-legal");return(0,z.jsx)("div",{className:"footer-legal",children:(0,z.jsx)("ul",{className:t("list"),children:tF.map(e=>{let{title:l,href:a}=e;return(0,z.jsx)("li",{className:t("list-item"),children:(0,z.jsx)(G.default,{href:a,children:l})},l)})})})},t$=e=>{let{footerNavigation:t,socials:l,newsletter:a,contact:s,footNote:n}=e,[i,r]=(0,_.n_I)("footer");return(0,z.jsxs)("footer",{className:"footer",children:[(0,z.jsxs)("div",{className:r("header"),children:[(0,z.jsx)(tG,{socials:l}),a&&(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(_.izJ,{className:"divider-bg",orientation:_.W6r.Vertical}),(0,z.jsx)(tM,{label:a.label,href:a.href})]})]}),(0,z.jsx)(_.izJ,{className:"divider-bg"}),(0,z.jsx)(_.W20,{children:(0,z.jsxs)("div",{className:r("main-content"),children:[(0,z.jsxs)("div",{className:r("main-content-wrapper"),children:[(0,z.jsx)(G.default,{href:"/",children:(0,z.jsx)(_.TRl,{theme:_.u7f.fullReversed,className:r("footer-logo")})}),(0,z.jsx)(tD,{contact:s}),(0,z.jsx)(_.izJ,{className:"divider-bg"})]}),(0,z.jsx)(tq,{footerLinks:t})]})}),(0,z.jsx)("div",{className:r("sub-content"),children:(0,z.jsxs)("div",{className:r("sub-content-wrapper"),children:[(0,z.jsx)(tU,{}),(0,z.jsx)(_.izJ,{className:"divider-bg"}),(0,z.jsx)(tR,{address:null==n?void 0:n.address,copyright:null==n?void 0:n.copyright})]})})]})},tV=e=>{let t=null;return(null==e?void 0:e.items.length)>0&&(t=e.items[0]),t},tW=(0,E.memo)(e=>{var t,l;let{utilityModalsCollection:a,onActionClick:s}=e,[n,i]=(0,_.n_I)("i-want-to-modal"),r=(0,E.useMemo)(()=>tV(a),[a]);return r&&(null==r?void 0:null===(l=r.linksCollection)||void 0===l?void 0:null===(t=l.items)||void 0===t?void 0:t.length)?(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)("div",{className:i("grid-container"),children:(0,z.jsx)("ul",{className:i("action-list"),children:r.linksCollection.items.map(e=>{var t,l;let a=null==e?void 0:null===(t=e.iconReference)||void 0===t?void 0:t.iconAsset,n=Array.isArray(a)&&a.length>
10&&(null===(l=a[0])||void 0===l?void 0:l.original)?a[0].original:void 0;return(0,z.jsx)("li",{children:(0,z.jsxs)("a",{href:e.url,className:i("action-item"),onClick:s,children:[(0,z.jsx)(_.hU,{children:(0,z.jsx)(t2,{src:n})}),(0,z.jsx)(_.xvT,{as:_.Gy$.div,className:i("action-label"),children:"".concat(e.text)})]})},e._id)})})}),(0,z.jsx)("div",{className:i("footer"),children:(0,z.jsx)(_.zxk,{label:"Contact Children's Health","aria-label":"Contact Children's Health",href:"/footer/contact",onClick:s,theme:_.qMO.Neutral,variant:_.qGe.Outlined,size:_.qE.small})})]}):null}),tY=e=>{var t,l;let{utilityModalsCollection:a,open:s,onClose:n,showBackground:i=!0}=e,r=(0,E.useMemo)(()=>tV(a),[a]);return r&&(null==r?void 0:null===(l=r.linksCollection)||void 0===l?void 0:null===(t=l.items)||void 0===t?void 0:t.length)?(0,z.jsx)(_.u_l,{open:s,onClose:n,position:_.e1N.CenterHugged,classes:"i-want-to-modal",dataTestId:"i-want-to-modal-dialog",showBackground:i,children:(0,z.jsx)(_.u_l.Body,{contentSlot:(0,z.jsx)(tW,{utilityModalsCollection:a,onActionClick:n})})}):null},tZ={type:_.yGm.display,size:"Display / -3"},tJ={type:_.yGm.body,size:"Body / -1"},tK=(0,E.memo)(e=>{let{isDesktop:t=!1,title:l,subtitle:a,buttonLabel:s,buttonHref:n,onButtonClick:i,imageSrc:r="",imageAlt:o="",badgeImageSrc:c="",badgeImageAlt:d=""}=e,[u,m]=(0,_.n_I)("featured-content");return(0,z.jsxs)("div",{className:u(),children:[!t&&(0,z.jsx)(_.izJ,{hierarchy:_.rks.Variant}),(0,z.jsxs)("div",{className:m("content"),children:[(0,z.jsxs)("div",{className:m("text-content"),children:[(0,z.jsx)(_.xvT,{as:"h3",textStyle:tZ,weight:_.fsE.bold,className:m("title"),alignment:"center",children:l}),a&&(0,z.jsx)(_.xvT,{as:"p",textStyle:tJ,weight:_.fsE.medium,className:m("subtitle"),alignment:"center",children:a})]}),(0,z.jsx)(_.zxk,{label:s,href:n,onClick:i,theme:_.qMO.Accent,variant:_.qGe.Filled,size:_.qE.large})]}),(0,z.jsx)("div",{className:m("media-wrapper"),children:r&&(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(tT,{aspectRatio:_.oM5["3:2"],curve:"top",children:(0,z.jsx)(_.Eep,{src:r,alt:o,fill:!0,sizes:"100vw",disableHoverScrim:!0})}),(0,z.jsxs)("div",{className:m("recognition-overlay"),children:[(0,z.jsx)("div",{className:m("balloon-background")}),c&&(0,z.jsx)(_.Eep,{src:c,alt:d,width:80,height:100,disableHoverScrim:!0})]})]})})]})}),tX={type:_.yGm.label,size:"Label / -2"},tQ=(0,E.memo)(function(e){let{subItem:t,isLast:l,isCritical:a,element:s}=e,n=(0,E.useMemo)(()=>s("sub-link-wrapper",a?"critical":""),[s,a]),i=(0,E.useMemo)(()=>s("feature-icon-space",l?"last":""),[s,l]),r=(0,z.jsxs)("div",{className:s("sub-link"),children:[(0,z.jsxs)("div",{className:i,children:[(0,z.jsx)("div",{className:s("half-left")}),(0,z.jsxs)("div",{className:s("middle"),children:[(0,z.jsx)("div",{className:s("half-vertical")}),(0,z.jsx)("div",{className:s("spacer")}),(0,z.jsx)("div",{className:s("half-vertical")})]}),(0,z.jsxs)("div",{className:s("half-right"),children:[(0,z.jsx)("div",{className:s("mask")}),(0,z.jsx)("div",{className:s("mask-wrap"),children:(0,z.jsx)("div",{className:s("line-horizontal")})})]}),(0,z.jsx)("div",{className:s("node")})]}),(0,z.jsx)("div",{className:s("sub-link-stack"),children:(0,z.jsx)("div",{className:s("label-wrap"),children:(0,z.jsx)(_.xvT,{as:"span",textStyle:tX,className:s("sub-link-label"),children:t.label})})})]});return t.href?(0,z.jsx)("a",{href:t.href,className:n,children:r}):t.onClick?(0,z.jsx)(_.zxk,{type:"button",className:n,onClick:t.onClick,children:r}):(0,z.jsx)("div",{className:n,children:r})}),t0=new Map;function t1(e,t){if(t0.has(e)&&t0.delete(e),t0.set(e,t),t0.size>200){let e=t0.keys().next().value;e&&t0.delete(e)}}function t2(e){let{src:t,className:l,ariaLabel:a,cacheFailures:s=!1}=e,[n,i]=(0,E.useState)(()=>{var e;return t&&null!==(e=t0.get(t))&&void 0!==e?e:null}),[r,o]=(0,E.useState)(()=>!!(t&&!t0.has(t))),c=(0,E.useRef)(0);return((0,E.useEffect)(()=>{if(!t){i(null),o(!1);return}let e=t0.get(t);if(void 0!==e){i(e),o(!1);return}i(null),o(!0)},[t]),(0,E.useEffect)(()=>{if(!t||void 0!==t0.get(t))return;let e=++c.current,l=!1;return fetch(t,{method:"GET",credentials:"omit"}).then(e=>{if(!e.ok)throw Error("Failed to fetch SVG from ".concat(t,": ").concat(e.status," ").concat(e.statusText));return e.text()}).then(a=>{l||c.current!==e||(t1(t,a),i(a))}).catch(()=>{l||c.current!==e||(s&&t1(t,null),i(null))}).finally(()=>{l||c.current!==e||o(!1)}),()=>{l=!0}},[t,s]),t&&(!r||null!==n)&&n)?(0,z.jsx)("span",{className:l,role:a?"img":void 0,"aria-label":a,dangerouslySetInnerHTML:{__html:n}}):null}var t3={type:_.yGm.label,size:"Label / -1"},t4=_.fsE.semibold,t6={type:_.yGm.body,size:"Body / -2"},t8=(0,E.memo)(function(e){let{topLink:t,element:l}=e,a=t.isCritical?_.rJN.critical:_.rJN.accent,s=(0,E.useMemo)(()=>l("top-link-wrapper",t.isCritical?"critical":""),[l,t.isCritical]),n=(0,z.jsxs)("div",{className:l("top-link"),children:[t.iconUrl?(0,z.jsx)(_.igV,{theme:a,variant:_.aLs.surface,size:_.xPj.small,children:(0,z.jsx)(t2,{src:t.iconUrl})}):null,(0,z.jsxs)("div",{className:l("top-link-stack"),children:[(0,z.jsx)("div",{className:l("label-wrap"),children:(0,z.jsx)(_.xvT,{as:"span",textStyle:t3,weight:t4,className:l("top-link-label"),children:t.label})}),t.description?(0,z.jsx)(_.xvT,{as:"p",textStyle:t6,className:l("top-link-description"),children:t.description}):null]})]});return t.href?(0,z.jsx)("a",{href:t.href,className:s,children:n}):t.onClick?(0,z.jsx)("button",{type:"button",className:s,onClick:t.onClick,children:n}):(0,z.jsx)("div",{className:s,children:n})}),t7=(0,E.memo)(function(e){var t;let{linkGroup:l,element:a}=e,s=null!==(t=l.topLink.subItems)&&void 0!==t?t:[],n=s.length-1;return(0,z.jsxs)("div",{className:a("link-group"),children:[(0,z.jsx)(t8,{topLink:l.topLink,element:a}),s.map((e,t)=>(0,z.jsx)(tQ,{subItem:e,isLast:t===n,isCritical:l.topLink.isCritical,element:a},e.label))]})}),t5={type:_.yGm.caps,size:"Caps / -1"},t9=_.fsE.bold,le=(0,E.memo)(e=>{let{section:t,element:l}=e;return(0,z.jsxs)("div",{className:l("section"),children:[(0,z.jsxs)("div",{className:l("section-header"),children:[(0,z.jsx)(_.xvT,{as:"strong",textStyle:t5,weight:t9,className:l("section-title"),children:t.title}),(0,z.jsx)(_.izJ,{hierarchy:_.rks.Variant})]}),(0,z.jsx)("div",{className:l("section-columns"),children:t.linkGroups.map(e=>(0,z.jsx)(t7,{linkGroup:e,element:l},e.topLink.label))})]},t.title)}),lt=e=>{let{utilityModalsCollection:t,open:l,onClose:a,categories:s,className:n}=e,[i,r]=(0,_.n_I)("mobile-navigation-modal"),[o,c]=(0,E.useState)(!0),[d,u]=(0,E.useState)(null);(0,E.useEffect)(()=>{l||u(null)},[l]);let m=(0,E.useMemo)(()=>(0,z.jsx)(_.TRl,{variant:_.YYS.primary,theme:_.u7f.standard}),[]),h=(0,E.useMemo)(()=>i()+(n?" ".concat(n):""),[i,n]),p=(0,E.useCallback)(()=>{c(e=>!e)},[]),x=(0,E.useCallback)(e=>{var t;if(!(null===(t=e.sections)||void 0===t?void 0:t.length))return null;let l=e.featuredContent?{...e.featuredContent,onButtonClick:()=>{var t,l;null===(l=e.featuredContent)||void 0===l||null===(t=l.onButtonClick)||void 0===t||t.call(l),a()}}:void 0;return(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)("div",{className:r("category-content"),children:e.sections.map(e=>(0,z.jsx)(le,{section:e,element:r},e.title))}),l&&(0,z.jsx)(tK,{...l})]})},[r,a]),v=(0,E.useCallback)(e=>{u(t=>t===e?null:e)},[]);return(0,z.jsxs)(_.u_l,{open:l,onClose:a,position:_.e1N.Right,classes:h,dataTestId:"mobile-navigation-dialog",children:[(0,z.jsx)(_.u_l.Header,{contentType:_.W9u.Slot,contentSlot:o?m:(0,z.jsx)(_.zxk,{label:"I want to...",onClick:p,theme:_.qMO.Accent,variant:_.qGe.Link,size:_.qE.large,startIcon:(0,z.jsx)(I.wyc,{})}),hasDivider:!0,closeAffordance:{type:_.Ez6.Close,onClick:a}}),(0,z.jsx)(_.u_l.Body,{padding:_.t_D.XNoneYNone,contentSlot:o?(0,z.jsx)("div",{className:r("body"),children:s.map((e,t)=>(0,z.jsxs)("div",{children:[(0,z.jsx)(_.UQy,{label:e.label,indicator:_.Mwk.button,theme:_.l1m.onSurface,size:_.HRt.large,isOpen:d===t,onAccordionChange:()=>v(t),children:d===t?x(e):null}),(0,z.jsx)(_.izJ,{hierarchy:_.rks.Variant})]},e.id))}):(0,z.jsx)(tW,{utilityModalsCollection:t})}),(0,z.jsx)(_.u_l.Footer,{contentType:_.ygU.Filled,hasDivider:!0,primaryAction:(0,z.jsx)(_.zxk,{label:o?"I Want To":"Main Navigation",onClick:p,theme:o?_.qMO.Accent:_.qMO.Neutral,variant:o?_.qGe.Filled:_.qGe.Outlined,size:_.qE.large,startIcon:o?void 0:(0,z.jsx)(I.wyc,{}),endIcon:o?(0,z.jsx)(I.XCv,{}):void 0})})]})},ll=E.memo(function(e){let{anchorRef:t,open:l,onOpenChange:a,sections:s,featuredContent:n}=e,i=(0,E.useMemo)(()=>(0,_.n_I)("desktop-navigation-dropdown"),[]),r=i[0],o=i[1];return(0,z.jsx)(_.h_2,{anchorRef:t,open:l,onOpenChange:a,className:r(),keepMounted:!0,children:(0,z.jsx)("div",{className:o("dropdown"),children:(0,z.jsxs)("div",{className:o("container"),children:[(0,z.jsx)("div",{className:o("main"),children:(0,z.jsx)("div",{className:o("sections"),children:s.map(e=>{var t;return(0,z.jsx)(le,{section:e,element:o},null!==(t=e.id)&&void 0!==t?t:e.title)})})}),n?(0,z.jsx)("div",{className:o("aside"),children:(0,z.jsx)(tK,{isDesktop:!0,...n,onButtonClick:()=>{var e;null==n||null===(e=n.onButtonClick)||void 0===e||e.call(n),a(!1)}})}):null]})})})}),la=e=>{let{updatedAt:t,microCopy:l,description:a,buttonUrl:s}=e,[n]=(0,_.n_I)("insurance-cta"),i=null==t?void 0:t.toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}),r=(0,z.jsxs)(z.Fragment,{children:["We accept many health insurance plans. You may want to contact your health insurance company to confirm your child's coverage. Learn more about"," ",(0,z.jsx)(_.FgE,{href:"/patient-families/billing-and-insurance",children:"billing and insurance"}),"."]}),o=(0,z.jsx)(I.FjK,{});return(0,z.jsx)(tE,{classes:n(),type:"button",titleIcon:(0,z.jsx)(_.igV,{theme:_.rJN.accent,variant:_.aLs.surface,size:_.xPj.small,children:o}),title:null!=l?l:i?"Updated ".concat(i):"",description:null!=a?a:r,primaryButtonConfig:{label:"Accepted Insurance",endIcon:(0,z.jsx)(I.LZ3,{}),href:s}})},ls=(0,E.lazy)(()=>l.e(38417).then(l.bind(l,38417))),ln=(0,E.lazy)(()=>l.e(79376).then(l.bind(l,79376))),li=(0,E.lazy)(()=>l.e(95450).then(l.bind(l,95450))),lr=(0,E.lazy)(()=>l.e(1695).then(l.bind(l,1695))),lo=((f=lo||{}).parentHoldingBaby="parent-holding-baby",f.balloons="balloons",f.providerSingle="provider-single",f.providerMulti="provider-multi",f),lc=e=>{let{variant:t,...l}=e,[a,s]=(0,_.n_I)("section-graphic"),n={balloons:ls,"parent-holding-baby":lr,"provider-multi":ln,"provider-single":li}[t];return(0,z.jsx)("div",{className:a(),...l,children:(0,z.jsx)(E.Suspense,{fallback:(0,z.jsx)(_.aNw,{}),children:n&&(0,z.jsx)(n,{className:s("graphic",t)})})})},[ld,lu]=(0,_.n_I)("amenities-section");function lm(e){return null==e?void 0:e.map((e,t)=>(0,z.jsx)(_.MpT,{...e,classes:lu("amenities-list-item")},t))}var lh=e=>{var t,l,a;let s,{amenities:n,googlePlayUrl:i,appleAppStoreUrl:r,mobileCTATitle:o,mobileCTADescription:c}=e,d=eT("(max-width: ".concat(768,"px)")),u=null!==(t=null==n?void 0:n.length)&&void 0!==t?t:0;if(d)s=(0,z.jsx)("div",{className:lu("amenities-list"),children:(0,z.jsx)(_.ZdG,{className:lu("amenities-list-column"),children:lm(n)})});else{let e=null!==(l=null==n?void 0:n.filter((e,t)=>
1t%2==0))&&void 0!==l?l:[],t=null!==(a=null==n?void 0:n.filter((e,t)=>t%2==1))&&void 0!==a?a:[];s=(0,z.jsxs)("div",{className:lu("amenities-list"),children:[(0,z.jsx)(_.ZdG,{className:lu("amenities-list-column"),children:lm(e)}),(0,z.jsx)(_.ZdG,{className:lu("amenities-list-column"),children:lm(t)})]})}let m=d&&u>5||!d&&u>10?(0,z.jsx)(_.kYk,{ariaControlsID:"amenities-list",triggerStyles:{variant:"outlined",theme:"neutral"},previewSize:_.HFU.Medium,buttonClosedLabel:"Read More",children:s}):s;return(0,z.jsxs)("div",{className:ld(),children:[(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.headline,size:"Headline / 2"},as:_.Gy$.h2,weight:_.fsE.semibold,className:lu("title"),children:"Amenities"}),(0,z.jsx)("div",{className:lu("truncated-section"),children:m}),(0,z.jsx)("div",{children:(0,z.jsx)(tI,{googlePlayUrl:i,appleAppStoreUrl:r,description:c,title:o})})]})},lp=(0,E.lazy)(()=>l.e(6128).then(l.bind(l,6128))),lx=(0,E.lazy)(()=>l.e(15095).then(l.bind(l,15095))),lv=(0,E.lazy)(()=>l.e(68351).then(l.bind(l,68351))),lf=(0,E.lazy)(()=>l.e(29210).then(l.bind(l,29210))),ly=((y=ly||{}).topLeft="top-left",y.topRight="top-right",y.bottomLeft="bottom-left",y.bottomRight="bottom-right",y),lj=e=>{let{fillColor:t=_.Te1.Violet,placement:l="top-left",primaryColor:a=_.Te1.Purple,secondaryColor:s=_.Te1.Red,showBalloonString:n=!0,variant:i="variant1",fallback:r=(0,z.jsx)(_.aNw,{})}=e,[o]=(0,_.n_I)("ornament");return(0,z.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",className:o(l),role:"img",width:"400",height:"225",viewBox:"0 0 400 225",preserveAspectRatio:"xMidYMid meet",fill:"none",stroke:"none",focu
1sable:!1,"aria-hidden":!0,"data-testid":"ornament",children:(0,z.jsx)(E.Suspense,{fallback:r,children:(0,z.jsx)({"top-left":lp,"top-right":lx,"bottom-left":lv,"bottom-right":lf}[l],{fillColor:t,primaryColor:a,secondaryColor:s,showBalloonString:n,variant:i})})})},lg=E.memo(e=>{let{categories:t,selectedCategory:l,subFilters:a,onAllFiltersClick:s,onCategoryClick:n,onCategoryDelete:i,onSubFilterClick:r,onSubFilterDelete:o}=e,[c,d]=(0,_.n_I)("search-filter-bar"),u=l?1+a.filter(e=>e.selected).length:0,m=[...a].sort((e,t)=>e.selected===t.selected?0:e.selected?-1:1),h=(0,E.useRef)(null),{atStart:p,atEnd:x}=(0,_.MEL)(h),v=eT("(max-width: ".concat(575,"px)")),f=v?_.OYk.None_GutterBleed_WithMask:_.OYk.Ghost_AtEdge_DoubleMask,y=e=>{e?n(e):i(),h.current&&h.current.scrollTo({left:0,behavior:"smooth"})};return(0,z.jsx)("div",{className:c(),children:(0,z.jsxs)(_.lr9,{gap:"var(--unit-space-2x, 8px)",trackRef:h,enableOverlayNavButtons:!v,layout:_.nN3.Hugged,navType:f,maskOpacity:{"--carousel-mask-left-opacity":p?1:0,"--carousel-mask-right-opacity":x?1:0},children:[(0,z.jsx)(_.AfN,{label:u>0?"".concat(u):"All Filters",style:u>0?_.cpg.filled:_.cpg.outlined,icon:(0,z.jsx)(I.KkO,{}),onClick:()=>s(l,a)},"allFilters"),l?(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(_.AfN,{label:l.label,active:!0,deletable:!0,onDelete:()=>y(),onClick:()=>y(),style:_.cpg.outlined},l.value),m.map(e=>(0,z.jsx)(_.AfN,{label:e.label,active:!!e.selected,deletable:"boolean"===e.type&&!!e.selected,dropdown:"dropdown"===e.type,style:_.cpg.outlined,onClick:t=>r(e,t),onDelete:()=>o(e)},e.value))]}):t.map(e=>(0,z.jsx)(_.AfN,{label:e.label,icon:e.icon,onClick:()=>y(e),style:_.cpg.outlined},e.value)),l&&(0,z.jsx)(_.AfN,{label:"Clear All",deletable:!0,style:_.cpg.ghost,onDelete:()=>y(),onClick:()=>y()})]})})});lg.displayName="SearchFilterBar";var lb=JSON.stringify({nodeType:A.BLOCKS.DOCUMENT,data:{},content:[{nodeType:A.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"Add Contentful rich text content or bind a rich text field.",marks:[],data:{}}]}]}),lN=e=>!(!e||"object"!=typeof e||Array.isArray(e))&&e.nodeType===A.BLOCKS.DOCUMENT&&Array.isArray(e.content),lw=e=>e?lN(e)?e:"object"==typeof e&&"json"in e&&lN(e.json)?e.json:"string"==typeof e&&e.trim()?(e=>{try{let t=JSON.parse(e);if(lN(t))return t;if("string"==typeof t){let e=JSON.parse(t);if(lN(e))return e}}catch(e){}return null})(e):null:null,lC=e=>{let{content:t,...l}=e,a=lw(t);return a?(0,z.jsx)(ed,{...l,content:a}):null},lk={name:"Rich Text",image:"https://assets.childrens.com/transform/5efa6e3f-7e85-4f63-9b95-a15f4150b374/builder-richtext",inputs:[{name:"content",friendlyName:"Serialized Contentful Document",type:"longText",required:!0,defaultValue:lb,helperText:"Bind this to a stringified Contentful rich text document, such as a body field formatted for Builder."},{name:"hasContainer",friendlyName:"Wrap In Container",type:"boolean",defaultValue:!0,helperText:"Wrap the rendered rich text in the component's default .richtext container."},{name:"shouldPreprocess",friendlyName:"Preprocess Headings",type:"boolean",defaultValue:!1,helperText:"Runs the existing preprocessing step before rendering the document."},{name:"className",friendlyName:"Additional Class Name",type:"string",helperText:"Optional CSS classes appended to the wrapper element."}]},lT=e=>{var t,l,a;let{category:s,filterOptions:n,placeholder:i,disabled:r=!1,startIcon:o,value:c,onChange:d,searchable:u}=e,[m,h]=(0,_.n_I)("search-filter-select-container"),[p,x]=(0,E.useState)(!1),[v,f]=(0,E.useState)(""),y=(0,E.useRef)(null),[j,g]=(0,E.useState)();(0,E.useLayoutEffect)(()=>{u&&p&&y.current&&g(y.current.offsetWidth)},[u,p]);let b=(0,E.useMemo)(()=>u&&v?n.filter(e=>e.label.toLowerCase().includes(v.toLowerCase())):n,[n,u,v]),N=null===(t=n.find(e=>e.value===c))||void 0===t?void 0:t.label,w=e=>{u&&(f(""),x(!1)),null==d||d(e)},C=(e,t)=>{if(!t)return e;let l=t.toLowerCase(),a=e.toLowerCase().indexOf(l);return -1===a?e:(0,z.jsxs)(z.Fragment,{children:[e.slice(0,a),(0,z.jsx)(_.y$I,{text:e.slice(a,a+t.length),background:_.BWg.brand}),e.slice(a+t.length)]})},k=(0,z.jsx)(_.PhF,{label:s,options:b,placeholder:i||"Select",StartSlot:o,disabled:r,value:null!=c?c:"-1",onChange:w}),T=(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)("div",{ref:y,className:h("anchor"),children:(0,z.jsx)(_.nvn,{hasVisibleLabel:!0,label:null!=s?s:"",status:_.QBY.none,StartSlot:o,EndSlot:(0,z.jsx)(I.np4,{className:h("end-slot",[r?"disabled":""]),"aria-hidden":!0}),disabled:r,isRequired:!1,placeholder:null!==(a=null!==(l=null==u?void 0:u.searchTermPlaceholder)&&void 0!==l?l:i)&&void 0!==a?a:"Select",value:p?v:null!=N?N:"",onCh
1ange:e=>{f(e),x(!0)},inputProps:{onFocus:()=>x(!0),role:"combobox","aria-expanded":p,"aria-controls":"search-filter-options"}})}),(0,z.jsx)(_.h_2,{anchorRef:y,open:p,onOpenChange:e=>{x(e),e||f("")},"data-testid":"options",offset:4,strategy:(null==u?void 0:u.absolutePositionOptions)?_.ZD2.absolute:_.ZD2.fixed,position:_.bJD.bottom,alignment:_.Nu5.start,autoposition:!1,style:{width:j},children:(0,z.jsxs)("ul",{id:"search-filter-options",role:"listbox",className:h("options"),children:[0===b.length&&(0,z.jsxs)("li",{className:h("no-options"),children:['No results for "',v,'"']}),null==b?void 0:b.map(e=>{var t,l;return(0,z.jsx)("li",{className:h("option-item"),role:"option",tabIndex:0,onMouseDown:e=>e.preventDefault(),onClick:()=>w(e.value),onKeyDown:t=>"Enter"===t.key&&w(e.value),children:(0,z.jsx)("span",{className:h("option-title"),children:C(null!==(l=null!==(t=e.label)&&void 0!==t?t:e.value)&&void 0!==l?l:"",v)})},"option-".concat(e.value))})]})})]});return(0,z.jsx)("div",{className:m(u?"searchable":""),"data-component-modal-mode":"xspace6x",children:u?T:k})},lS=((j=lS||{}).Default="default",j.Locations="locations",j.SearchResults="search-results",j),lE=e=>{var t;let{title:l,subtitle:a,imageUrl:s,showAvatar:n=!0,primaryCTA:i,secondaryCTA:r,scrollThreshold:o=100,classes:c="",...d}=e,u=(0,E.useRef)(null),[m,h]=(0,E.useState)(!1),[p,x]=(0,E.useState)(""),[v,f]=(0,E.useState)(""),[y,j]=(0,_.n_I)("sticky-footer"),g=null!==(t=d.variant)&&void 0!==t?t:"default",b="locations"===g?d.hoursOfOperation:void 0;(0,E.useEffect)(()=>{if("locations"!==g||!b){x(""),f("");return}let e=to(tr(b));x(e.title&&e.text?"".concat(e.title," • ").concat(e.text):e.title),f(e.titleVariant)},[g,b]),(0,E.useEffect)(()=>{let e=()=>{h(window.scrollY>o)};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[o]);let N=eA(l),w="locations"===g,C=w?p:a,k=w?v:_.qMO.Neutral,T=[y([m&&"sticky","default"!==g&&"variant-".concat(g)].filter(Boolean)),c].filter(Boolean).join(" ");return(0,z.jsx)("div",{ref:u,className:T,children:(0,z.jsxs)("div",{className:j("content"),children:[(0,z.jsx)("div",{className:j("section","left"),children:n&&(0,z.jsx)(_.qEK,{initials:N,imageUrl:s,size:_.DZU.large,divider:_.cw3.highest})}),(0,z.jsxs)("div",{className:j("section","middle"),children:[(0,z.jsx)(_.xvT,{as:"span",className:j("title"),textStyle:{type:_.yGm.headline,size:"Headline / -2"},weight:"semibold",children:l}),(null==C?void 0:C.trim())&&(0,z.jsx)(_.xvT,{as:"span",className:j("subtitle",k),textStyle:{type:_.yGm.body,size:"Body / -1"},weight:"bold",children:C})]}),(0,z.jsxs)("div",{className:j("section","right"),children:[i?(0,z.jsx)(_.zxk,{className:j("action-button"),href:i.href,startIcon:i.startIcon,label:i.text}):null,(0,z.jsx)(_.hU,{ref:r.ref,className:j("icon-button"),onClick:r.onClick,state:_.wrJ.enabled,size:_.rmb.md,theme:_.d4N.accent,intent:_.xI3.filled,ariaLabel:"More options",children:(0,z.jsx)(I.wsJ,{})})]})]})})},[lI,l_]=(0,_.n_I)("story-cards-section"),lL=e=>{let{title:t,description:l,heroCard:a,storyCards:s,ctaButton:n,className:i="",homeClasses:r="",containment:o=_.JXo.adaptive}=e,c=[lI(),i].filter(Boolean).join(" ");return(0,z.jsxs)("section",{className:c,children:[(0,z.jsx)(_.W20,{containment:o,children:(0,z.jsxs)("div",{className:l_("header"),children:[(0,z.jsx)(_.xvT,{as:_.Gy$.h2,textStyle:{type:_.yGm.display,size:"Display / 0"},weight:_.fsE.semibold,className:"".concat(l_("title")," ").concat(r),children:t}),(0,z.jsx)(_.xvT,{as:_.Gy$.p,textStyle:{type:_.yGm.body,size:"Body / 0"},weight:_.fsE.medium,className:l_("description"),children:l})]})}),(a||s&&s.length>0)&&(0,z.jsxs)(_.W20,{className:l_("content"),containment:o,children:[a,s&&s.length>0&&(0,z.jsx)("div",{className:l_("grid"),children:s})]}),n&&(0,z.jsx)(_.W20,{containment:o,children:(0,z.jsx)("div",{className:l_("footer"),children:n})})]})},[lA,lO]=(0,_.n_I)("hero-story-card"),lz=e=>{let{eyebrow:t,headline:l,imageUrl:a,imageAlt:s,layout:n,ctaButton:i,attribution:r,className:o=""}=e,c=!!(null==i?void 0:i.href),d=!!(null==r?void 0:r.linkHref)!==c,u=(null==i?void 0:i.href)||(null==r?void 0:r.linkHref),m=!!(null==r?void 0:r.name),h=!!(null==r?void 0:r.role),p=!!(null==r?void 0:r.linkText),x=()=>(0,z.jsxs)("div",{className:lO("attribution"),children:[(null==r?void 0:r.avatarUrl)&&(0,z.jsx)(_.qEK,{imageUrl:r.avatarUrl,divider:_.cw3.none,radiu
1s:_.QtD.full,size:_.DZU.large}),(0,z.jsxs)("div",{className:lO("attribution-text"),children:[m&&(0,z.jsx)(_.xvT,{as:_.Gy$.p,textStyle:{type:_.yGm.body,size:"Body / 0"},weight:_.fsE.semibold,className:lO("attribution-name"),children:null==r?void 0:r.name}),h&&(0,z.jsx)(_.xvT,{as:_.Gy$.p,textStyle:{type:_.yGm.body,size:"Body / -1"},className:lO("attribution-role"),children:null==r?void 0:r.role}),p&&(0,z.jsx)(_.xvT,{as:_.Gy$.p,textStyle:{type:_.yGm.body,size:"Body / 0"},weight:_.fsE.semibold,className:lO("attribution-link"),children:null==r?void 0:r.linkText})]})]}),v=()=>(0,z.jsxs)("div",{className:lO("content"),children:[(0,z.jsxs)("div",{className:lO("content-stack"),children:[(0,z.jsx)(_.xvT,{as:_.Gy$.span,textStyle:{type:_.yGm.caps,size:"Caps / -1"},weight:_.fsE.bold,className:lO("eyebrow"),children:t}),!d&&r?(0,z.jsx)("a",{href:r.linkHref,className:lO("headline-link"),children:(0,z.jsx)(_.xvT,{as:_.Gy$.h2,textStyle:{type:_.yGm.headline,size:"Headline / 0"},weight:_.fsE.semibold,className:lO("headline",u?"with-link":""),children:l})}):(0,z.jsx)(_.xvT,{as:_.Gy$.h2,textStyle:{type:_.yGm.headline,size:"Headline / 0"},weight:_.fsE.semibold,className:lO("headline",u?"with-link":""),children:l})]}),i&&(0,z.jsx)("div",{className:lO("cta-button-wrapper"),children:(0,z.jsx)(_.zxk,{label:i.label,href:d?void 0:i.href,theme:_.qMO.Accent,variant:_.qGe.Filled,size:_.qE.medium,className:lO("cta-button")})}),r&&(d?x():(0,z.jsx)("a",{href:r.linkHref,className:lO("attribution-wrapper-link"),"data-testid":"attribution-link",children:x()}))]}),f=()=>(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)("div",{className:lO("image--mobile"),children:(0,z.jsx)(tT,{aspectRatio:_.oM5["16:9"],curve:"bottom",children:(0,z.jsx)(_.Eep,{width:16,height:9,src:a,alt:s,aspectRatio:_.oM5["16:9"]})})}),(0,z.jsx)("div",{className:lO("image--desktop"),children:(0,z.jsx)(tT,{aspectRatio:_.oM5["5:4"],curve:"imageLeft"===n?"top-right":"top-left",children:(0,z.jsx)(_.Eep,{width:16,height:9,src:a,alt:s,aspectRatio:_.oM5["5:4"]})})})]}),y=()=>(0,z.jsxs)("div",{className:lO("container"),children:[(0,z.jsx)("div",{className:lO("segment--image",d?"":"no-link"),children:f()}),(0,z.jsx)("div",{className:lO("segment--content"),children:v()})]});return(0,z.jsx)("div",{className:"".concat(lA()," has-desktop-image-").concat("imageLeft"===n?"left":"right"," ").concat(o),children:(0,z.jsx)(_.Zbd,{theme:_.qMO.Neutral,variant:_.UEO.outlinedVariant,inset:_.PDU.two,className:lO("card"),children:d?(0,z.jsx)("a",{href:u,className:lO("card-link"),"aria-label":l,"data-testid":"hero-card-link",children:y()}):y()})})},[lG,lM]=(0,_.n_I)("story-card"),lD=e=>{let{image:t,imageAlt:l,eyebrow:a,title:s,href:n,summary:i,className:r=""}=e,o="string"==typeof n?n.trim():"",c=o&&!/^(?:javascript|data):/i.test(o)?o:"",d="".concat(lG(c?void 0:"static")," ").concat(r).trim(),u=(0,z.jsxs)(_.Zbd,{theme:_.qMO.Neutral,variant:_.UEO.outlinedVariant,inset:_.PDU.two,children:[(0,z.jsx)("div",{className:lM("image-wrapper"),children:(0,z.jsx)(_.Eep,{src:t,alt:l,aspectRatio:_.oM5["16:9"],disableHoverScrim:!c})}),(0,z.jsxs)("div",{className:lM("content"),children:[(0,z.jsx)(_.xvT,{as:_.Gy$.span,textStyle:{type:_.yGm.caps,size:"Caps / -1"},weight:_.fsE.bold,className:lM("eyebrow"),children:a}),(0,z.jsx)(_.xvT,{as:_.Gy$.h3,textStyle:{type:_.yGm.headline,size:"Headline / -1"},weight:_.fsE.semibold,className:lM("title"),children:s})]}),i&&(0,z.jsx)("div",{className:lM("content","summary"),children:(0,z.jsx)(ed,{content:i})})]});return c?(0,z.jsx)("a",{href:c,className:d,"aria-label":s,children:u}):(0,z.jsx)("div",{className:d,children:u})},[lR,lB]=(0,_.n_I)("top-page-section"),lP=e=>{let t=null==e?void 0:e.trim();return t&&t.length>0?t:void 0},lH=/\.(mp4|webm|ogg|mov|m4v|m3u8)(?:[?#].*)?$/i,lq=e=>{let t=null==e?void 0:e.trim();return!!(t&&lH.test(t))},lF=e=>{let{allDepartmentsUrl:t,title:l,titleRef:a,subtitle:s}=e;return(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(_.zxk,{href:t,iconSize:_.JhL.small,label:"All Departments",size:_.qE.small,startIcon:(0,z.jsx)(I.wyc,{})}),(0,z.jsxs)("div",{children:[(0,z.jsx)(_.xvT,{className:lB("title"),as:_.Gy$.h2,textContent:l,weight:_.fsE.semibold,ref:a}),s&&(0,z.jsx)(_.xvT,{className:lB("subtitle"),as:_.Gy$.h3,textContent:s,weight:_.fsE.semibold})]})]})},lU=e=>{let{title:t,titleRef:l,allDepartmentsUrl:a,mediaAlt:s,mediaSrc:n,posterSrc:i,subtitle:r="",phone:o,bookAppointment:c,referAPatient:d,acceptInsurance:u,maskCurve:m="left",badgeSrc:h="",showOrnaments:p=!0}=e,x=(0,E.useRef)(null),v=!!((null==o?void 0:o.phone)||(null==o?void 0:o.onClick)),f=lq(n),y=lP(null==c?void 0:c.href),j=lP(null==d?void 0:d.href),g=lP(null==u?void 0:u.href);return(0,z.jsxs)("div",{className:lB("mobile-view"),children:[(0,z.jsx)("div",{className:lB("card"),children:(0,z.jsx)(lF,{allDepartmentsUrl:a,title:t,titleRef:l,subtitle:r})}),(0,z.jsx)(_.lr9,{enableOverlayNavButtons:!1,gap:"unit-space-0x",layout:_.nN3.Filled,trackRef:x,navType:_.OYk.Floating_AtEdge_OutsetMask,children:(0,z.jsxs)("ul",{className:lB("actions"),children:[(null==c?void 0:c.show)&&y&&(0,z.jsxs)("li",{className:lB("action"),children:[(0,z.jsx)(_.hU,{className:lB("action-link"),href:y,ariaLabel:"Request appointment","data-testid":"appointment",children:(0,z.jsx)(I.VZI,{})}),(0,z.jsxs)("span",{className:lB("action-title"),children:["Request",(0,z.jsx)("br",{}),"appointment"]})]}),v&&(0,z.jsxs)("li",{className:lB("action"),children:[(0,z.jsx)(_.hU,{className:lB("action-link"),"data-testid":"phone",...(null==o?void 0:o.onClick)&&{onClick:o.onClick,ariaLabel:"Call a location"}||{},...(null==o?void 0:o.phone)&&{href:"tel:".concat(o.phone),ariaLabel:"Call location at ".concat(o.phone)}||{},children:(0,z.jsx)(I.qWc,{})}),(0,z.jsxs)("span",{className:lB("action-title"),children:["Call",(null==o?void 0:o.onClick)?" a":"",(0,z.jsx)("br",{}),(null==o?void 0:o.onClick)?"location":null==o?void 0:o.phone]})]}),(null==d?void 0:d.show)&&j&&(0,z.jsxs)("li",{className:lB("action"),children:[(0,z.jsx)(_.hU,{className:lB("action-link"),href:j,ariaLabel:"Refer a patient","data-testid":"refer",children:(0,z.jsx)(I.m42,{})}),(0,z.jsxs)("span",{className:lB("action-title"),children:["Refer a ",(0,z.jsx)("br",{}),"patient"]})]}),(null==u?void 0:u.show)&&g&&(0,z.jsxs)("li",{className:lB("action"),children:[(0,z.jsx)(_.hU,{className:lB("action-link"),href:g,ariaLabel:"Accepted insurances","data-testid":"insurances",children:(0,z.jsx)(I.FjK,{})}),(0,z.jsxs)("span",{className:lB("action-title"),children:["Accepted",(0,z.jsx)("br",{}),"insurance"]})]})]})}),n&&(0,z.jsxs)("div",{className:lB("media-wrapper"),children:[f?(0,z.jsx)(_.Y7g,{autoPlay:!0,controls:!1,loop:!0,muted:!0,src:n,poster:i||n}):(0,z.jsx)("img",{className:lB("media-image"),src:n,alt:s||"".concat(t," hero image"),"data-testid":"hero-image"}),h&&(0,z.jsx)("img",{className:lB("badge"),alt:"Badge",src:h,"data-testid":"badge"}),p&&(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(lj,{placement:"bottom-left"}),(0,z.jsx)(lj,{placement:"top-right"})]})]})]})},l$=e=>{var t;let{title:l,titleRef:a,allDepartmentsUrl:s,mediaAlt:n,mediaSrc:i,posterSrc:r,subtitle:o="",phone:c,bookAppointment:d,referAPatient:u,acceptInsurance:m,maskCurve:h="left",badgeSrc:p="",showOrnaments:x=!0}=e,v=(0,E.useRef)(null),f=(0,E.useRef)(null),y=(0,E.useRef)(null),j=!!((null==c?void 0:c.phone)||(null==c?void 0:c.onClick)),g=lq(i),b=lP(null==d?void 0:d.href),N=lP(null==u?void 0:u.href),w=lP(null==m?void 0:m.href);return(0,z.jsxs)("div",{className:lB("desktop-view"),children:[(0,z.jsxs)("div",{className:lB("card"),children:[(0,z.jsx)(lF,{allDepartmentsUrl:s,title:l,titleRef:a,subtitle:o}),(0,z.jsxs)("ul",{className:lB("actions"),children:[(null==d?void 0:d.show)&&b&&(0,z.jsx)("li",{className:lB("action"),children:(0,z.jsx)(_.zxk,{href:d.href,startIcon:(0,z.jsx)(I.VZI,{}),label:"Request Appointment","data-testid":"appointment"})}),j&&(0,z.jsxs)("li",{className:lB("action"),children:[(0,z.jsx)("div",{ref:v,children:(0,z.jsx)(_.hU,{size:_.rmb.lg,className:lB("action-link"),"data-testid":"phone",...(null==c?void 0:c.onClick)&&{onClick:c.onClick,ariaLabel:"Call a location"}||{},...(null==c?void 0:c.phone)&&{href:"tel:".concat(c.phone),ariaLabel:"Call location at ".concat(c.phone)}||{},children:(0,z.jsx)(I.qWc,{})})}),(0,z.jsx)(_.ua7,{iconRef:v,label:"Call ".concat(null!==(t=null==c?void 0:c.phone)&&void 0!==t?t:"a Location")})]}),(null==u?void 0:u.show)&&N&&(0,z.jsxs)("li",{className:lB("action"),children:[(0,z.jsx)("div",{ref:f,children:(0,z.jsx)(_.hU,{size:_.rmb.lg,className:lB("action-link"),href:N,ariaLabel:"Refer a patient","data-testid":"refer",children:(0,z.jsx)(I.m42,{})})}),(0,z.jsx)(_.ua7,{iconRef:f,label:"Refer a Patient"})]}),(null==m?void 0:m.show)&&w&&(0,z.jsxs)("li",{className:lB("action"),children:[(0,z.jsx)("div",{ref:y,children:(0,z.jsx)(_.hU,{size:_.rmb.lg,className:lB("action-link"),href:w,ariaLabel:"Accepted insurances","data-testid":"insurances",children:(0,z.jsx)(I.FjK,{})})}),(0,z.jsx)(_.ua7,{iconRef:y,label:"Accepted Insurance"})]})]})]}),i&&(0,z.jsxs)("div",{className:lB("media-wrapper"),children:[(0,z.jsxs)(tT,{curve:h,children:[g?(0,z.jsx)(_.Y7g,{autoPlay:!0,controls:!1,loop:!0,muted:!0,poster:r||i,src:i}):(0,z.jsx)("img",{className:lB("media-image"),src:i,alt:n||"".concat(l," hero image"),"data-testid":"hero-image"}),x&&(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(lj,{placement:"bottom-left"}),(0,z.jsx)(lj,{placement:"top-right"})]}),(0,z.jsx)(_.ZMr,{})]}),p&&(0,z.jsx)("img",{className:lB("badge"),alt:"Badge",src:p,"data-testid":"badge"})]})]})},lV=e=>(0,z.jsxs)("section",{className:lR(),children:[(0,z.jsx)("div",{className:lB("desktop-only"),children:(0,z.jsx)(l$,{...e})}),(0,z.jsx)("div",{className:lB("mobile-only"),children:(0,z.jsx)(lU,{...e})})]}),lW=e=>
1{let{title:t,helperText:l,onChange:a,value:s}=e,[n,i]=(0,_.n_I)("input-filter");return(0,z.jsxs)("div",{className:n(),"data-component-modal-mode":"xspace6x",children:[(0,z.jsx)("div",{children:(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.headline,size:"Headline / -2"},as:_.Gy$.h2,weight:_.fsE.semibold,className:i("title"),children:t})}),(0,z.jsx)("div",{className:i("input-container"),children:(0,z.jsx)(_.nvn,{status:_.QBY.none,disabled:!1,isRequired:!1,hasVisibleLabel:!1,label:t,onChange:a,helperText:l,value:s})})]})},lY=e=>{let{title:t,checkboxes:l,truncateRowsThreshold:a=2}=e,[s,n]=(0,_.n_I)("checkbox-filter"),i=l.map(e=>(0,z.jsx)("div",{className:n("checkbox-item"),children:(0,z.jsx)(_.XZJ,{...e})},e.name));return(0,z.jsxs)("div",{className:s(),"data-component-modal-mode":"xspace6x",children:[(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.headline,size:"Headline / -2"},as:_.Gy$.h2,weight:_.fsE.semibold,className:n("title"),children:t}),(0,z.jsx)(_.fT1,{ariaControlsID:"".concat(t,"-checkbox-options"),previewRows:a,rowGap:"var(--unit-space-4x, 16px)",columnGap:"var(--unit-space-2x, 8px)",children:i})]})},lZ=[{label:"Yes",value:"yes"},{label:"No",value:"no"}],lJ=e=>{let{label:t,name:l,options:a=lZ,defaultValue:s,value:n,bordered:i=!1,borderTheme:r=_.qMO.Neutral,isDisabled:o=!1,classes:c,onChange:d}=e,[u,m]=(0,_.n_I)("simple-radio-group"),[h,p]=E.useState(s),x=void 0!==n?n:h,v=e=>{o||(void 0===n&&p(e),null==d||d(e))},f=[u([i?"bordered":"",i?"theme-".concat(r):"",o?"disabled":""]),c].filter(Boolean).join(" ");return(0,z.jsxs)("div",{className:f,children:[(0,z.jsx)(_.xvT,{className:m("label"),as:_.Gy$.span,textStyle:{type:_.yGm.headline,size:"Headline / -2"},weight:"bold",children:t}),(0,z.jsx)("div",{className:m("options"),children:a.map(e=>(0,z.jsx)("div",{className:m("option"),children:(0,z.jsx)(_.EUY,{name:l,value:e.value,label:e.label,isSelected:x===e.value,isDisabled:o,onChange:v})},e.value))})]})},lK=e=>{let{label:t,filterOptions:l}=e,[a,s]=(0,_.n_I)("search-filter-card-group");return(0,z.jsxs)("div",{className:a(),"data-component-modal-mode":"xspace6x",children:[(0,z.jsx)("div",{className:s("title"),children:(0,z.jsx)(_.xvT,{as:_.Gy$.h2,textStyle:{type:_.yGm.headline,size:"Headline / -2"},weight:_.fsE.semibold,children:t})}),(0,z.jsx)(_.fT1,{previewRows:3,ariaControlsID:"search-filter-card-group-content",children:l.map(e=>(0,z.jsx)("div",{className:s("item"),children:(0,z.jsx)(_.ROx,{...e})},e.value))})]})},lX=["10","25","50","100+"],lQ=e=>{let{title:t,selectedLocation:l,onLocationChange:a,selectedDistance:s=lX[0],onDistanceChange:n}=e,[i,r]=(0,_.n_I)("location-filter");return(0,z.jsxs)("div",{className:i(),"data-component-modal-mode":"xspace6x",children:[(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.headline,size:"Headline / -2"},as:_.Gy$.h2,weight:_.fsE.semibold,className:r("title"),children:t}),(0,z.jsxs)("div",{className:r("inputs-wrapper"),children:[(0,z.jsx)(_.nvn,{status:_.QBY.none,disabled:!1,isRequired:!0,hasVisibleLabel:!0,label:"City or Zip",value:null!=l?l:"",onChange:a,StartSlot:(0,z.jsx)(I.Bjv,{})}),(0,z.jsxs)("div",{className:r("distance-input-wrapper"),children:[(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.label,size:"Label / -1"},as:_.Gy$.label,weight:_.fsE.semibold,children:"Distance in Miles*"}),(0,z.jsx)("div",{className:r("distance-buttons-wrapper"),children:lX.map(e=>(0,z.jsx)(_.zxk,{label:e,ariaLabel:e,theme:_.qMO.Neutral,variant:_.qGe.Outlined,size:_.qE.small,buttonState:e===s?_.BNj.pressed:_.BNj.enabled,onClick:()=>n(e),className:r("distance-button")},e))})]})]})]})},l0=((g=l0||{}).filledContent="filled-content",g.filledFigure="filled-figure",g.filledContentRightFigure="filled-content-right-figure",g.filledContentLeftFigure="filled-content-left-figure",g.filledContentHugged="filled-content-hugged",g),l1=((b=l1||{}).topLeft="top-left",b.topRight="top-right",b.bottomRight="bottom-right",b.bottomLeft="bottom-left",b),l2=e=>{let{layout:t="filled-content-right-figure",title:l,mainCopy:a,smallCopy:s="",icon:n=null,figureImgSrc:i,figureVideoSrc:r,figureAltText:o,figureBackgroundColor:c=_.Te1.Aqua,figureInsetOverlayVariant1:d="top-left",figureInsetOverlayVariant1Color:u=_.Te1.Pink,figureInsetOverlayVariant1Blend:m=!1,figureInsetOverlayVariant2:h="bottom-right",figureInsetOverlayVariant2Color:p=_.Te1.Purple,figureInsetOverlayVariant2Blend:x=!0,inl
1ineStyles:v={}}=e,[f,y]=(0,_.n_I)("highlight-card"),j=i?(0,z.jsx)("img",{alt:o,src:i,"data-testid":"figure"}):r?(0,z.jsx)(_.Y7g,{autoPlay:!0,loop:!0,muted:!0,controls:!1,poster:r,src:r,"data-testid":"figure"}):null;return(0,z.jsxs)("section",{className:f(t),style:v,children:[(0,z.jsxs)("div",{className:y("card"),children:[(0,z.jsx)(_.xvT,{className:y("eyebrow"),as:_.Gy$.h2,textStyle:{size:"Caps / 0",type:_.yGm.caps},weight:_.fsE.bold,children:l}),(0,z.jsx)("div",{className:y("main-copy"),children:a}),s&&(0,z.jsxs)("div",{className:y("card-footer"),children:[(0,z.jsx)(_.xvT,{className:y("small-copy"),italic:!0,children:s}),n&&(0,z.jsx)("span",{className:y("icon"),children:n})]})]}),(0,z.jsxs)("div",{className:y("card","figure"),style:{background:"var(--color-brand-".concat(c,")")},children:[(0,z.jsx)("div",{className:y("inset-overlay",[d,m?"blend":""]),style:{background:"var(--color-brand-".concat(u,")")}}),j&&(0,z.jsx)(tT,{aspectRatio:_.oM5["1:1"],curve:"left-right",children:j}),(0,z.jsx)("div",{className:y("inset-overlay",[h,x?"blend":""]),style:{background:"var(--color-brand-".concat(p,")")}})]})]})},l3=e=>{let{children:t}=e,[l]=(0,_.n_I)("link-list");return(0,z.jsx)("ul",{className:l(),children:t})};l3.Link=e=>{let{text:t,href:l,beforeLabel:a,textStyle:s="body",endIcon:n="chevron",hideBorder:i=!1,children:r}=e,[o,c]=(0,_.n_I)("link-list"),d="arrow"===n?I.t1z:I.XCv,u="headline"===s?{type:_.yGm.headline,size:"Headline / -2"}:{type:_.yGm.body,size:"Body / 0"},m=[];a&&m.push("with-icon"),i&&m.push("no-border"),l||m.push("read-only");let h=(0,z.jsxs)(z.Fragment,{children:[a&&(0,z.jsx)("span",{className:c("before-label"),children:a}),(0,z.jsx)(_.xvT,{textStyle:u,weight:_.fsE.semibold,italic:!l,children:t}),l&&(0,z.jsx)(d,{"aria-hidden":!0})]});return(0,z.jsxs)("li",{className:c("li"),children:[l?(0,z.jsx)("a",{className:c("link",m.length>0?m:void 0),href:l,children:h}):(0,z.jsx)("div",{className:c("link",m.length>0?m:void 0),children:h}),Array.isArray(r)&&r.map((e,t)=>(0,z.jsx)("a",{className:c("childLink"),href:e.url||e.slug||"",children:(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.body,size:"Body / -1"},weight:_.fsE.medium,children:e.heading||e.linkLabel||e.title||""})},t))]})};var[l4,l6]=(0,_.n_I)("parking-section"),l8=e=>{let{parkingContent:t,mapImageSrc:l,mapImageAlt:a}=e;return(0,z.jsxs)("section",{className:l4(),"data-testid":"parking-section",children:[(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.headline,size:"Headline / 2"},as:_.Gy$.h2,weight:_.fsE.semibold,className:l6("title"),children:"Parking"}),(0,z.jsx)("div",{className:l6("truncated-section"),children:(0,z.jsxs)(_.kYk,{ariaControlsID:"parking-section-body",triggerStyles:{variant:"outlined",theme:"neutral"},previewSize:_.HFU.Small,buttonClosedLabel:"Read More",children:[l&&(0,z.jsx)("figure",{className:l6("map"),children:(0,z.jsx)("img",{className:l6("map-image"),src:l,alt:null!=a?a:"Parking map"})}),t&&(0,z.jsx)("div",{className:l6("content"),children:(0,z.jsx)(ed,{content:t})})]})})]})},l7=[{label:"Google Play",href:"https://play.google.com/store/apps/details?id=com.example.app"},{label:"Apple App Store",href:"https://apps.apple.com/us/app/example-app/id1234567890"}].filter(e=>!!e.href),l5=e=>{let{imageUrl:t,imageAlt:l,description:a,microCopy:s,iconUrl:n,ctaLinks:i}=e,[r,o]=(0,_.n_I)("featured-mobile-app-card"),c=i&&i.length>0?i:l7;return(0,z.jsxs)("div",{className:r(),children:[(0,z.jsx)(_.MpT,{icon:n?(0,z.jsx)(_.JO$,{url:n}):(0,z.jsx)(I.owK,{}),iconSize:_.JhL.normal,customContent:(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.body,size:"Body / -2"},as:_.Gy$.h3,weight:_.fsE.semibold,children:s||"Featured • Mobile App"}),classes:o("icon-list-item")}),(0,z.jsxs)("div",{className:o("content"),children:[(0,z.jsx)("div",{className:o("hero-contained-media-wrapper"),children:(0,z.jsx)("div",{className:o("hero-contained-media-background"),children:(0,z.jsx)(_.inw,{sizeMode:_.C7k.Fill,balloonData:[{color:_.Te1.Teal,corner:_.lyr.BottomLeft,blendMode:_.btB.HardLight,front:!1},{color:_.Te1.Blue,corner:_.lyr.TopRight,blendMode:_.btB.HardLight,front:!0}],className:o("hero-contained-media"),children:(0,z.jsx)("div",{className:o("hero-contained-media-image"),children:(0,z.jsx)(_.Eep,{src:t||"/assets/images/search-mobile-cta-hero.png",alt:l,aspectRatio:_.oM5["1:1"]})})})})}),(0,z.jsxs)("div",{className:o("description-and-buttons-wrapper"),children:[(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.body,size:"Body / -2"},as:_.Gy$.p,weight:_.fsE.medium,className:o("description"),children:a}),(0,z.jsx)("div",{className:o("buttons"),children:c.map(e=>(0,z.jsx)(_.zxk,{label:e.label,href:e.href,"aria-label":e.label,theme:_.qMO.Neutral,variant:_.qGe.Outlined,size:_.qE.small},"".concat(e.label,"-").concat(e.href)))})]})]})]})},l9=e=>{let{badgeLabel:t,badgeTheme:l=_.awp.positive,heading:a,headingAs:s,ctaButton:n=null,graphic:i=null,...r}=e,[o]=(0,_.n_I)("section-hero");return(0,z.jsxs)("section",{className:o(),...r,children:[(0,z.jsx)(_.Cts,{label:t,theme:l,variant:_.P24.surface}),a&&(0,z.jsx)(_.xvT,{alignment:_.Ha9.center,as:null!=s?s:_.Gy$.h2,textStyle:{type:_.yGm.headline,size:"Headline / 2"},weight:_.fsE.semibold,children:a}),n,i]})},ae="MM/DD/YYYY",at=e=>{let{isRequired:t=!1,isDisabled:l=!1,startDate:a="",endDate:s="",onStartDateChange:n,onEndDateChange:i}=e,[r,o]=(0,_.n_I)("search-filter-date-range");return(0,z.jsxs)("div",{className:r(),children:[(0,z.jsx)(_.xvT,{className:o("title"),as:_.Gy$.span,textStyle:{type:_.yGm.headline,size:"Headline / -2"},weight:_.fsE.bold,children:"Date Range"}),(0,z.jsxs)("div",{className:o("filter-stack"),children:[(0,z.jsx)(_.nvn,{type:"date",status:_.QBY.none,hasVisibleLabel:!0,label:"Start",placeholder:ae,EndSlot:(0,z.jsx)(I.VZI,{}),isRequired:t,disabled:l,value:a,max:s||void 0,onChange:e=>{null==n||n(e),s&&new Date(e)>new Date(s)&&(null==i||i(""))}}),(0,z.jsx)(_.nvn,{type:"date",status:_.QBY.none,hasVisibleLabel:!0,label:"End",placeholder:ae,EndSlot:(0,z.jsx)(I.VZI,{}),isRequired:t,disabled:l,value:s,min:a||void 0,onChange:e=>{null==i||i(e)}})]})]})},al=e=>{var t,l,a,s,n,i,r,o,c;let{title:d,titleAs:u=_.Gy$.span,subtitle:m="",lead:h="",media:p=null,content:x=null,includeContentInCard:v=!1}=e,[f,y]=(0,E.useState)(0),j=(null==p?void 0:p.length)||0,g=p&&p.length>0,b=e=>{if(p){let t=e,l=j-1;e<0?t=0:e>l&&(t=l),y(t)}},[N,w]=(0,_.n_I)("general-content-section");return(0,z.jsx)("section",{className:N(),children:(0,z.jsxs)(_.W20,{className:w("container"),children:[(0,z.jsxs)("div",{className:w("header"),children:[(0,z.jsx)(_.Cts,{label:d,labelAs:u,variant:_.P24.surface}
1),(m||g&&(null==p?void 0:null===(t=p[f])||void 0===t?void 0:t.title))&&(0,z.jsx)(_.xvT,{className:w("subtitle",(null==p?void 0:null===(l=p[f])||void 0===l?void 0:l.url)?"link":void 0),as:_.Gy$.h2,textStyle:{type:_.yGm.headline,size:"Headline / 2"},weight:_.fsE.semibold,children:(null==p?void 0:null===(a=p[f])||void 0===a?void 0:a.url)?(0,z.jsx)("a",{href:p[f].url,"aria-label":p[f].title,children:m||p[f].title}):m||(null==p?void 0:null===(s=p[f])||void 0===s?void 0:s.title)}),(h||g&&(null==p?void 0:null===(n=p[f])||void 0===n?void 0:n.lead))&&(0,z.jsx)(_.xvT,{className:w("lead"),textStyle:{type:_.yGm.body,size:"Body / -1"},children:h||(null==p?void 0:null===(i=p[f])||void 0===i?void 0:i.lead)}),g&&p.length>1&&(0,z.jsxs)("div",{className:w("slide-controls"),children:[(0,z.jsx)(_.hU,{intent:_.xI3.ghost,size:_.rmb.sm,theme:_.d4N.neutral,onClick:()=>b(f-1),children:(0,z.jsx)(I.EZp,{})}),(0,z.jsxs)(_.xvT,{className:w("slide-count"),as:_.Gy$.span,textStyle:{type:_.yGm.body,size:"Body / -3"},weight:_.fsE.bold,children:[f+1," / ",j]}),(0,z.jsx)(_.hU,{intent:_.xI3.ghost,size:_.rmb.sm,theme:_.d4N.neutral,onClick:()=>b(f+1),children:(0,z.jsx)(I.EZp,{})})]})]}),p&&(0,z.jsx)("div",{className:w("card"),children:(null==p?void 0:null===(r=p[f])||void 0===r?void 0:r.url)?(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)("a",{href:p[f].url,"aria-label":p[f].title,children:null===(o=p[f])||void 0===o?void 0:o.media}),(0,z.jsx)(_.ZMr,{})]}):null===(c=p[f])||void 0===c?void 0:c.media}),x&&(0,z.jsxs)("div",{className:w("content"),children:[v&&(0,z.jsx)("div",{className:w("card","content"),children:x}),!v&&x]})]})})},aa=e=>{let{children:t,orientation:l=_.Pms.horizontal,badgeSrc:a}=e,[s,n]=(0,_.n_I)("marquee-section");return(0,z.jsxs)("section",{className:s(l),"data-testid":"marqueeSection",children:[t,a&&(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)("div",{className:n("badge-highlight"),"aria-hidden":!0}),(0,z.jsx)("div",{className:n("badge-wrapper"),children:(0,z.jsx)("img",{className:n("badge"),alt:"Badge",src:a,"data-testid":"badge"})})]})]})},as=((N=as||{}).Stacked="stacked",N.Inline="inline",N),an=((w=an||{}).One="one",w.Zero="zero",w.NegativeOne="negative-one",w),ai=e=>{let{graphicIcon:t,valueProp:l,...a}=e,[s]=(0,_.n_I)("value-prop-section");return(0,z.jsx)("section",{className:s(),...a,children:(0,z.jsx)(_.W20,{children:(0,z.jsx)(ar,{graphicIcon:t,valueProp:l})})})},ar=e=>{let{graphicIcon:t,valueProp:l}=e,[a,s]=(0,_.n_I)("value-prop-content");return(0,z.jsx)("div",{className:a(),children:(0,z.jsxs)(_.Zbd,{className:s("card"),variant:_.UEO.outlinedVariant,inset:_.PDU.zero,children:[(0,z.jsx)(ao,{...l}),(0,z.jsx)("div",{className:s("graphic-icon"),children:t})]})})},ao=e=>{let{size:t="zero",type:l="inline",startIcon:a,highlight:s,text:n}=e,[i,r]=(0,_.n_I)("value-prop");return(0,z.jsxs)("div",{className:i(l),"data-testid":"value-prop",children:[(0,z.jsxs)("div",{className:r("highlight",l),children:[a&&(0,z.jsx)("span",{className:r("start-icon"),"data-testid":"start-icon",children:a}),s&&(0,z.jsx)(_.xvT,{as:_.Gy$.span,textStyle:{type:_.yGm.body,size:"Body / -1"},weight:_.fsE.semibold,className:r("highlight-text",t),children:s})]}),n&&(0,z.jsx)(_.xvT,{as:_.Gy$.span,textStyle:{type:_.yGm.body,size:"Body / -1"},weight:_.fsE.medium,className:r("text",t),children:n})]})},ac=e=>{let{label:t,filterOption:l}=e,[a,s]=(0,_.n_I)("search-filter-single-card");return(0,z.jsxs)("div",{className:a(),"data-component-modal-mode":"xspace6x",children:[(0,z.jsx)("div",{className:s("title"),children:(0,z.jsx)(_.xvT,{as:_.Gy$.h2,textStyle:{type:_.yGm.headline,size:"Headline / -2"},weight:_.fsE.semibold,children:t})}),(0,z.jsx)("div",{className:s("item"),children:(0,z.jsx)(_.ROx,{...l})})]})},ad=(0,E.createContext)(void 0),au=()=>{let e=(0,E.useContext)(ad);if(!e)throw Error("useFilterValue must be used within a FilterValueProvider");return e},am=e=>{let{children:t,subFilterValue:l,selectedValue:a,value:s,setValue:n}=e,[i,r]=(0,E.useState)(function(e,t){switch(e){case"pubdate":return null!=t?t:{startDate:"",endDate:""};case"near":case"facility":return null!=t?t:{cityOrZip:"",distance:"10"};case"languages":return null!=t?t:[];default:return null!=t?t:null}}(l,a));return(0,z.jsx)(ad.Provider,{value:{subFilterType:l,value:void 0!==s?s:i,setValue:null!=n?n:r},children:t})};function ah(e,t,l){let{value:a,setValue:s}=au();switch(e.value){case"conditions":return(0,z.jsx)(lT,{searchable:{enabled:!0,absolutePositionOptions:null==l?void 0:l.absolutePositionSelectOptions},category:"Condition",filterOptions:ap(e.options),placeholder:"Select",startIcon:(0,z.jsx)(I.SIo,{"aria-hidden":"true"}),value:"string"==typeof a?a:void 0,onChange:s});case"treatments":return(0,z.jsx)(lT,{searchable:{enabled:!0,absolutePositionOptions:null==l?void 0:l.absolutePositionSelectOptions},category:"Treatment",filterOptions:ap(e.options),placeholder:"Select",startIcon:(0,z.jsx)(I.Zpt,{"aria-hidden":"true"}),value:"string"==typeof a?a:void 0,onChange:s});case"languages":return(0,z.jsx)(lY,{title:"Language",checkboxes:function(e,t,l){let a=Array.isArray(t)?t:[];return Array.isArray(e)&&e.every(e=>"string"==typeof e.value&&"string"==typeof e.label)?e.map(e=>({name:e.value,label:e.label,isSelected:a.includes(e.value),onChange:t=>{t?l([...a,e.value]):l(a.filter(t=>t!==e.value))}})):[]}(e.options,a,s)});case"programs":return(0,z.jsx)(lT,{searchable:{enabled:!0,absolutePositionOptions:null==l?void 0:l.absolutePositionSelectOptions},category:"Departments & Programs",filterOptions:ap(e.options),placeholder:"Select",startIcon:(0,z.jsx)(I.DXR,{"aria-hidden":"true"}),value:"string"==typeof a?a:void 0,onChange:s});case"gender":return(0,z.jsx)(lK,{label:"Gender",filterOptions:ax((e.options||[]).map(e=>({...e,icon:"male"===e.value.toLowerCase()?(0,z.jsx)(I.voz,{"aria-hidden":"true"}):"female"===e.value.toLowerCase()?(0,z.jsx)(I.ZVj,{"aria-hidden":"true"}):null}))).map(e=>({...e,name:"Gender",isSelected:a===e.value,onChange:s}))});case"location":case"near":case"facility":{let t=null!=a?a:{cityOrZip:"",distance:"10"};return(0,z.jsx)(lQ,{title:e.label,selectedLocation:t.cityOrZip,onLocationChange:e=>s({...t,cityOrZip:e}),selectedDistance:t.distance,onDistanceChange:e=>s({...t,distance:e})})}case"type":return(0,z.jsx)(lK,{label:"Type of Care",filterOptions:ax((e.options||[]).map(e=>{let{label:t,icon:l}=function(e){let t=e.toLowerCase();return t.includes("specialty")?{label:"Specialty",icon:(0,z.jsx)(I._bm,{"aria-hidden":"true"})}:t.includes("emergency")?{label:"Emergency",icon:(0,z.jsx)(I.l1q,{"aria-hidden":"true"})}:t.includes("urgent")?{label:"Urgent",icon:(0,z.jsx)(I.u0k,{"aria-hidden":"true"})}:t.includes("primary")?{label:"Primary",icon:(0,z.jsx)(I.eHx,{"aria-hidden":"true"})}:t.includes("hospital")?{label:"Hospital",icon:(0,z.jsx)(I.ZyV,{"aria-hidden":"true"})}:t.includes("imaging")?{label:"Imaging",icon:(0,z.jsx)(I.FFS,{"aria-hidden":"true"})}:t.includes("admin")?{label:"Admin",icon:(0,z.jsx)(I.sNg,{"aria-hidden":"true"})}:{label:e,icon:null}}(e.label);return{...e,label:t,icon:l}})).map(e=>({...e,name:"Type of Care",isSelected:a===e.value,onChange:s}))});case"subcat":return(0,z.jsx)(lK,{label:"Article Type",filterOptions:ax((e.options||[]).map(e=>{let{label:t,icon:l}=function(e){let t=e.toLowerCase();return t.includes("article")?{label:"Article",icon:(0,z.jsx)(I.Is0,{"aria-hidden":"true"})}:t.includes("infographic")?{label:"Infographic",icon:(0,z.jsx)(I.Npz,{"aria-hidden":"true"})}:t.includes("video")?{label:"Video",icon:(0,z.jsx)(I.g8d,{"aria-hidden":"true"})}:t.includes("podcast")?{label:"Podcast",icon:(0,z.jsx)(I.S6n,{"aria-hidden":"true"})}:{label:e,icon:null}}(e.label);return{...e,label:t,icon:l}})).map(e=>({...e,name:"Article Type",isSelected:a===e.value,onChange:s}))});case"pubdate":{let e=null!=a?a:{startDate:"",endDate:""};return(0,z.jsx)(at,{isRequired:!1,isDisabled:!1,startDate:e.startDate,endD
1ate:e.endDate,onStartDateChange:t=>s({...e,startDate:t}),onEndDateChange:t=>s({...e,endDate:t})})}case"virtualVisit":{var n;let t=ax((null!==(n=e.options)&&void 0!==n?n:[]).map(e=>({...e,label:"Offers Virtual Appointments",icon:(0,z.jsx)(I.WK5,{"aria-hidden":"true"})}))).find(e=>"yes"===e.value.toLowerCase());if(!t)return null;return(0,z.jsx)(ac,{label:"Virtual Visit",filterOption:{...t,name:"Virtual Visit",isSelected:a===t.value,onChange:s}})}case"sort":return(0,z.jsx)(lT,{searchable:{enabled:!0,absolutePositionOptions:null==l?void 0:l.absolutePositionSelectOptions},category:"Sort",filterOptions:ap(e.options),placeholder:"Select",value:"string"==typeof a?a:void 0,onChange:s});case"study_id":return(0,z.jsx)(lW,{title:"Study ID",value:"string"==typeof a?a:"",onChange:s});case"investigator":return(0,z.jsx)(lT,{searchable:{enabled:!0,absolutePositionOptions:null==l?void 0:l.absolutePositionSelectOptions},category:"Principal Investigator",filterOptions:ap(e.options),placeholder:"Select",value:"string"==typeof a?a:void 0,onChange:s});case"volunteers":return(0,z.jsx)(lJ,{label:"Healthy Volunteers",name:"healthy-volunteers",value:"string"==typeof a?a.toLowerCase():void 0,onChange:s,classes:t});case"cancer":return(0,z.jsx)(lJ,{label:"Cancer Related",name:"cancer-related",value:"string"==typeof a?a.toLowerCase():void 0,onChange:s,classes:t});default:return null}}function ap(e){return Array.isArray(e)&&e.every(e=>null!=e&&"string"==typeof e.label&&"string"==typeof e.value)?e:[]}function ax(e){return Array.isArray(e)&&e.every(e=>"string"==typeof e.label&&"string"==typeof e.value&&"object"==typeof e.icon)?e:[]}var av=e=>{let{subFilter:t}=e,[l,a]=(0,_.n_I)("filter-content"),s=ah(t);return(0,z.jsx)(z.Fragment,{children:(0,z.jsx)("div",{className:l(),children:s})})},af=e=>{let{subFilter:t,setSelectedValue:l,onOpenChange:a}=e,{value:s,setValue:n}=au(),[i,r]=(0,_.n_I)("desktop-filter-dropdown");return(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(av,{subFilter:t}),(0,z.jsx)(_.izJ,{hierarchy:_.rks.Variant}),(0,z.jsxs)("div",{className:r("actions"),children:[(0,z.jsx)(_.zxk,{label:"Clear",size:_.qE.small,theme:_.qMO.Neutral,variant:_.qGe.Ghost,onClick:()=>{n(null),l(null),a(!1)}}),(0,z.jsx)(_.zxk,{label:"Apply",size:_.qE.small,onClick:()=>{l(s),a(!1)}})]})]})},ay=E.memo(e=>{let{subFilter:t,anchorRef:l,open:a,onOpenChange:s,selectedValue:n,setSelectedValue:i,position:r=_.bJD.bottom,alignment:o=_.Nu5.start,strategy:c,offset:d=8}=e,[u]=(0,_.n_I)("desktop-filter-dropdown");return(0,z.jsx)(_.h_2,{anchorRef:l,bordered:!0,open:a,onOpenChange:s,className:u(),position:r,alignment:o,strategy:c,offset:d,children:(0,z.jsx)(am,{subFilterValue:t.value,selectedValue:n,children:(0,z.jsx)(af,{subFilter:t,setSelectedValue:i,onOpenChange:s})})})});function aj(e){if(!e)return _.Te1.Purple;switch(e?e.replace(/\s/g,"").toLowerCase():""){case"aqua":return _.Te1.Aqua;case"brightblue":return _.Te1.Blue;case"peach":return _.Te1.Peach;case"pink":return _.Te1.Pink;case"plum":return _.Te1.Magenta;case"purple":default:return _.Te1.Purple;case"red":return _.Te1.Red;case"teal":return _.Te1.Teal;case"violet":return _.Te1.Violet;case"utswblue":return _.Te1.UtswBlue}}ay.displayName="DesktopFilterDropdown";var ag=e=>{let{subFilter:t,setSelectedValue:l,onClose:a}=e,{value:s,setValue:n}=au();return(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(_.u_l.Body,{contentSlot:(0,z.jsx)(av,{subFilter:t}),padding:_.t_D.XNoneYNone}),(0,z.jsx)(_.u_l.Footer,{contentType:_.ygU.Filled,swapActionsOrder:!0,primaryAction:(0,z.jsx)(_.zxk,{label:"Apply All",size:_.qE.large,onClick:()=>{l(s),a()}}),secondaryAction:(0,z.jsx)(_.zxk,{label:"Clear All",size:_.qE.large,theme:_.qMO.Neutral,variant:_.qGe.Outlined,onClick:()=>{n(null),l(null),a()}}),hasDivider:!0})]})},ab=e=>{let{open:t,onClose:l,resultsCount:a,subFilter:s,selectedValue:n,setSelectedValue:i}=e,[r]=(0,_.n_I)("mobile-filter-modal");return(0,z.jsxs)(_.u_l,{open:t,onClose:l,position:_.e1N.BottomHugged,classes:r(),explicitlySetOpen:!0,children:[(0,z.jsx)(_.u_l.Header,{contentType:_.W9u.TitleAndSubtitle,title:"All Filters",subtitle:"".concat(a," ").concat("results found"),closeAffordance:{type:_.Ez6.Close,onClick:l}}),(0,z.jsx)(am,{subFilterValue:s.value,selectedValue:n,children:(0,z.jsx)(ag,{subFilter:s,setSelectedValue:i,onClose:l})},t?"open":"closed")]})};ab.displayName="MobileFilterModal";var aN=e=>{let{title:t,lead:l,marquees:a,badgeSrcs:s,findADoctorLabel:n,findADoctorSrc:i,findALocationLabel:r,findALocationSrc:o,classes:c}=e,[d,u]=(0,E.useState)(!1),[m,h]=(0,_.n_I)("award-winning-section"),p=Array.isArray(a)?a.length>0:!!a;return(0,z.jsxs)("section",{className:m(),children:[(0,z.jsx)(_.W20,{className:"".concat(c," ").concat(h("header")),children:(0,z.jsxs)("div",{className:h("header-section"),children:[(0,z.jsx)(_.xvT,{className:h("title"),as:_.Gy$.h2,textStyle:{size:"Display / 0",type:_.yGm.display},weight:_.fsE.semibold,children:t}),(0,z.jsx)(_.xvT,{className:h("lead"),weight:_.fsE.medium,children:l})]})}),(0,z.jsxs)(_.W20,{className:h("marquee-wrapper",p&&d?"paused":"default"),containment:_.JXo.fullWidth,children:[p?(0,z.jsxs)(z.Fragment,{children:[a&&(0,z.jsx)(aa,{children:a}),(0,z.jsx)("div",{className:h("badge-highlight")})]}):null,null==s?void 0:s.map((e,t)=>(0,z.jsx)("div",{className:h(p?"badge-wrapper":"badge-wrapper-default"),children:(0,z.jsx)("img",{className:h("badge"),alt:p?"Marquee badge":"Default badge",src:e,"data-testid":p?"badge":"default-badge"})},"badge-wrapper-".concat(t))),p&&(0,z.jsx)("div",{className:h("playback"),children:(0,z.jsx)(_.hU,{intent:_.xI3.floating,size:_.rmb.sm,onClick:()=>u(e=>!e),theme:_.d4N.neutral,children:d?(0,z.jsx)(I.o1U,{}):(0,z.jsx)(I.fpf,{})})})]}),(0,z.jsxs)(_.W20,{className:h("actions"),children:[(0,z.jsx)(_.zxk,{className:h("action"),startIcon:(0,z.jsx)(I.tBG,{}),href:i,label:n,theme:_.qMO.Neutral,variant:_.qGe.Outlined}),(0,z.jsx)(_.zxk,{className:h("action"),startIcon:(0,z.jsx)(I.Bjv,{}),href:o,label:r,theme:_.qMO.Neutral,variant:_.qGe.Outlined})]})]})},aw="Content Type",aC=e=>{let{categories:t,selectedCategory:l,onCategoryChange:a}=e;return(0,z.jsx)(lK,{label:aw,filterOptions:t.map(e=>({name:aw,label:e.label,value:e.value,icon:e.icon,isSelected:e.value===(null==l?void 0:l.value),onChange:()=>a(e)}))})},ak=e=>{let{subFilter:t,classes:l}=e;return(0,z.jsx)(z.Fragment,{children:ah(t,l,{absolutePositionSelectOptions:!0})})},aT=e=>{let{open:t,onClose:l,resultsCount:a,categories:s,subFilters:n,selectedCategory:i,selectedSubFilterValues:r,onCategoryChange:o,onApplyAll:c,onClearAll:d}=e,[u,m]=(0,_.n_I)("side-filter-modal"),[h,p]=(0,E.useState)(i),[x,v]=(0,E.useState)(r||{});(0,E.useEffect)(()=>{p(i),t||v(r||{})},[i,r,t]);let f=(e,t)=>{v(l=>({...l,[e]:t}))};return(0,z.jsxs)(_.u_l,{open:t,onClose:l,position:_.e1N.Left,classes:u(),children:[(0,z.jsx)(_.u_l.Header,{contentType:_.W9u.TitleAndSubtitle,title:"All Filters",subtitle:"".concat(a," ").concat("results found"),closeAffordance:{type:_.Ez6.Close,onClick:l}}),(0,z.jsx)(_.u_l.Body,{contentSlot:(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(aC,{categories:s,selectedCategory:h,onCategoryChange:e=>{p(e),v({}),o(e)}}),h&&n.map((e,t)=>(0,z.jsxs)(E.Fragment,{children:[(0,z.jsx)(_.izJ,{hierarchy:_.rks.Variant}),(0,z.jsx)(am,{subFilterValue:e.value,value:x[e.value],selectedValue:x[e.value],setValue:t=>f(e.value,t),children:(0,z.jsx)(ak,{subFilter:e,classes:m("filter-section")})},e.value)]},e.value))]}),padding:_.t_D.XNoneYNone}),(0,z.jsx)(_.u_l.Footer,{contentType:_.ygU.Filled,swapActionsOrder:!0,primaryAction:(0,z.jsx)(_.zxk,{label:"Apply All",size:_.qE.large,onClick:()=>{c(h,x),l()}}),secondaryAction:(0,z.jsx)(_.zxk,{label:"Clear All",size:_.qE.large,theme:_.qMO.Neutral,variant:_.qGe.Outlined,onClick:()=>{p(void 0),v({}),d(),l()}}),hasDivider:!0})]})},aS="Reset Map",aE=(e,t)=>(0,z.jsx)(_.xvT,{as:_.Gy$.span,className:t,textStyle:{type:_.yGm.body,size:"Body / -1"},weight:_.fsE.medium,children:e}),aI=(e,t,l,a)=>"button"===a?(0,z.jsx)(_.zxk,{className:l,href:e.href,startIcon:t,label:e.label,variant:_.qGe.Outlined,theme:_.qMO.Neutral}):(0,z.jsx)(_.hU,{className:l,href:e.href,state:_.wrJ.enabled,size:_.rmb.md,theme:_.d4N.neutral,intent:_.xI3.outline,ariaLabel:e.label,children:t}),a_=e=>{var t,l;let{name:a,building:s,imageUrl:n,address1:i,city:r,state:o,zip:c,suite:d,phoneCTA:u,mapsCTA:m,slug:h,isOwnedByChildrens:p,label:x}=e,[v,f]=(0,_.n_I)("location-list-item"),y=eT("(min-width: ".concat(_.u3l.lg,"px)")),j=eT("(max-width: ".concat(_.u3l.sm,"px)")),g=[[r,o].filter(
1Boolean).join(", "),c].filter(Boolean).join(" "),b="button",N=y||j?"icon-button":"button",w=f("cta-".concat(b),null!==(t=null==u?void 0:u.size)&&void 0!==t?t:"medium"),C=f("cta-".concat(N),null!==(l=null==m?void 0:m.size)&&void 0!==l?l:"medium"),k=eA(a)||x,T=!!(n||k);return(0,z.jsxs)("div",{className:v(),children:[(0,z.jsxs)("div",{className:f("stack"),children:[(0,z.jsxs)("div",{className:f("header"),children:[T&&(0,z.jsxs)("div",{className:f("avatar-container"),children:[(0,z.jsx)(_.qEK,{initials:k,className:f("avatar"),imageUrl:n,size:_.DZU.large,divider:_.cw3.highest}),x&&(0,z.jsx)(_.Cts,{label:x,theme:_.awp.critical,variant:_.P24.surface,size:_.ODk.xxxs,classes:f("avatar-badge")})]}),h?(0,z.jsx)(_.FgE,{href:h,className:f("name"),children:a}):(0,z.jsx)(_.xvT,{as:_.Gy$.strong,className:f("name"),textStyle:{type:_.yGm.headline,size:"Headline / -2"},weight:_.fsE.semibold,children:a})]}),(0,z.jsxs)("div",{className:f("content"),children:[p&&(0,z.jsx)(_.Cts,{label:"Practice Owned by Children's Health",theme:_.awp.critical,variant:_.P24.surface,size:_.ODk.xxxs,classes:f("badge")}),(0,z.jsxs)("div",{className:f("address"),children:[s&&aE(s,f("address-text")),aE(i,f("address-text")),g&&aE(g,f("address-text")),d&&aE(d,f("address-text"))]})]})]}),(0,z.jsxs)("div",{className:f("ctas"),children:[u&&aI(u,(0,z.jsx)(I.qWc,{"aria-hidden":"true",className:f("cta-icon")}),w,b),m&&aI(m,(0,z.jsx)(I.Dt0,{"aria-hidden":"true",className:f("cta-icon")}),C,N)]})]})},aL=e=>{let{locations:t}=e,[l,a]=(0,_.n_I)("locations-list"),s=eT("(min-width: ".concat(_.u3l.lg,"px)"))?"desktop":"mobile",n="mobile"===s&&t.length>3,i=(0,z.jsx)("div",{className:l(n?"truncated":void 0),"data-testid":"locations-list",children:t.map((e,l)=>(0,z.jsxs)(E.Fragment,{children:[(0,z.jsx)(a_,{...e}),l!==t.length-1&&(0,z.jsx)(_.izJ,{hierarchy:_.rks.Variant})]},l))});return(0,z.jsx)(z.Fragment,{children:"desktop"===s?(0,z.jsx)(_.Zbd,{className:a("card"),variant:_.UEO.outlinedVariant,inset:_.PDU.zero,children:(0,z.jsx)("div",{className:a("scroll"),children:i})}):n?(0,z.jsx)(_.kYk,{triggerStyles:{theme:_.qMO.Neutral,variant:_.qGe.Outlined},previewSize:_.HFU.XLarge,ariaControlsID:l(),buttonClosedLabel:"See All (".concat(t.length,")"),className:a("truncate"),children:i}):i})},aA=e=>{var t,l;let{locations:a}=e,s=E.useRef(null),n=(0,E.useRef)(null),[i,r]=(0,_.n_I)("locations-list-section"),o=eT("(min-width: ".concat(_.u3l.lg,"px)")),c=a.filter(e=>e.coordinates).map((e,t)=>({...e,label:String.fromCharCode(65+t)})),d=c.map(e=>({marker:{type:"pinlet-with-label",position:eR(e.coordinates),label:e.label}})).filter(e=>void 0!==e.marker.position);return 0===d.length?null:(0,z.jsx)("div",{className:i(),children:(0,z.jsx)(_.W20,{className:r("container"),children:"desktop"==(o?"desktop":"mobile")?(0,z.jsx)(eY,{center:null===(t=a[0])||void 0===t?void 0:t.coordinates,zoom:9,locations:d,onLoad:e=>{s.current=e},ariaLabel:"Location map showing ".concat(a.length," locations"),options:{gestureHandling:"auto",scrollwheel:!0},style:{width:"100%",height:"480px",borderRadius:"24px"},children:(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(_.hU,{ref:n,className:r("map-button"),state:_.wrJ.enabled,size:_.rmb.md,theme:_.d4N.neutral,intent:_.xI3.floating,ariaLabel:aS,onClick:()=>{if(!s.current)return;let e=eR(a[0].coordinates);e&&(s.current.panTo(e),s.current.setZoom(9))},children:(0,z.jsx)(I.p_C,{})}),(0,z.jsx)(_.ua7,{iconRef:n,position:_.bJD.top,alignment:_.Nu5.center,label:aS,autoPosition:!0}),(0,z.jsx)(aL,{locations:c})]})}):(0,z.jsxs)(_.Zbd,{className:r("card"),variant:_.UEO.outlinedVariant,inset:_.PDU.zero,children:[(0,z.jsx)("div",{className:r("map-wrapper"),children:(0,z.jsx)("div",{className:r("map-container"),children:(0,z.jsx)(eY,{center:null===(l=a[0])||void 0===l?void 0:l.coordinates,zoom:8,locations:d,ariaLabel:"Location map showing ".concat(a.length," locations"),options:{gestureHandling:"auto",scrollwheel:!0},style:{width:"100%",height:"100%"},classes:r("map"),showControls:{fullscreen:!0}})})}),(0,z.jsx)(aL,{locations:c})]})})})},aO=e=>{let{title:t,classes:l,description:a,aboutOurGrowthUrl:s,seeOurHistoryUrl:n,marquees:i}=e,[r,o]=(0,E.useState)(!1),c=(0,E.useRef)(null),d=()=>{o(e=>{if(e){var t;null===(t=c.current)||void 0===t||t.pause()}return!e})},[u,m]=(0,_.n_I)("watch-us-grow");return(0,z.jsxs)("div",{className:u(),children:[(0,z.jsxs)(_.W20,{className:"".concat(l," ").concat(m("intro")),children:[(0,z.jsxs)("div",{className:m("text-container"),children:[(0,z.jsx)(_.xvT,{className:m("heading"),as:_.Gy$.h2,textStyle:{type:_.yGm.display,size:"Display / 0"},weight:_.fsE.semibold,children:t}),(0,z.jsx)(_.xvT,{className:m("description"),as:_.Gy$.span,textStyle:{type:_.yGm.body,size:"Body / 0"},weight:_.fsE.medium,children:a})]}),(0,z.jsxs)("div",{className:m("cta-container"),children:[(0,z.jsx)(_.zxk,{label:"About Our Growth",href:s,theme:_.qMO.Accent,variant:_.qGe.Filled,endIcon:(0,z.jsx)(I.t1z,{})}),(0,z.jsx)(_.zxk,{label:"See Our History",theme:_.qMO.Neutral,variant:_.qGe.Outlined,startIcon:(0,z.jsx)(I.g8d,{}),onClick:d,"data-testid":"see-our-history-button"})]})]}),(0,z.jsx)("div",{className:m("marquee-container"),children:i&&(0,z.jsx)(aa,{children:i})}),(0,z.jsx)(_.u_l,{classes:m("modal"),open:r,position:_.e1N.CenterHugged,onClose:d,children:(0,z.jsx)(_.u_l.Body,{stickyClose:{bleed:!0,onClick:d},contentSlot:(0,z.jsx)("div",{className:m("video-wrapper"),children:(0,z.jsx)(_.Y7g,{src:n,videoRef:c})})})})]})},az=e=>{var t;let{title:l,mediaSrc:a="",posterSrc:s="",topLeftOrnamentVariant:n="variant1",topRightOrnamentVariant:i="variant2",bottomRightOrnamentVariant:r="variant1",bookAppointmentLabel:o,bookAppointmentSrc:c,referAPatientLabel:d,referAPatientSrc:u,callLocation:m,findADoctor:h,findALocation:p,costEstimates:x,makeADonation:v,exploreCareers:f}=e,y=(0,E.useRef)(null),j=null==m?void 0:null===(t=m.text)||void 0===t?void 0:t.split(/^\S+/).filter(e=>e),g=null==m?void 0:m.text.match(/^\S+/),b=j[0]&&j[0].trim(),N=!!(a&&a.length>0),[w,C]=(0,_.n_I)("home-top-page-section");return(0,E.useLayoutEffect)(()=>{let e=y.current;if(!e)return;let t=e.getBoundingClientRect(),l=window.scrollY||document.documentElement.scrollTop,a=Math.max(0,t.top+l);e.style.height="calc(100svh - ".concat(a+16,"px)")},[]),(0,z.jsxs)("section",{className:w(),children:[(0,z.jsxs)(_.W20,{ref:y,
1className:C("hero"),children:[(0,z.jsxs)(_.Zbd,{theme:_.qMO.Neutral,variant:_.UEO.outlinedVariant,className:C("media-wrapper",N?"":"no-media-src"),children:[N&&(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(_.Y7g,{autoPlay:!0,muted:!0,loop:!0,controls:!1,src:a,poster:s||a,classes:C("video")}),(0,z.jsx)(_.ZMr,{mask:_.J$1.radial,direction:_.oKg.bottomLeft,spread:_.tVd.percent50})]}),(0,z.jsxs)("div",{className:C("ornaments-container"),children:[(0,z.jsx)(lj,{placement:"top-left",primaryColor:_.Te1.Pink,secondaryColor:_.Te1.Peach,variant:n,fallback:null}),(0,z.jsx)(lj,{placement:"top-right",primaryColor:_.Te1.Blue,secondaryColor:_.Te1.Teal,variant:i,fallback:null}),(0,z.jsx)(lj,{placement:"bottom-right",primaryColor:_.Te1.Red,secondaryColor:_.Te1.Purple,variant:r,fallback:null})]}),(0,z.jsx)("div",{className:C("hero-content"),children:(0,z.jsxs)("div",{className:C("hero-content-stack"),children:[(0,z.jsx)(_.xvT,{className:C("title"),as:_.Gy$.h1,textStyle:{size:"Display / -1",type:_.yGm.display},weight:_.fsE.bold,children:l}),(0,z.jsxs)("div",{className:C("actions","desktop"),children:[(0,z.jsx)(_.zxk,{className:C("action"),label:o,href:c,startIcon:(0,z.jsx)(I.VZI,{}),theme:_.qMO.AlwaysLight,"data-testid":"book-appointment"}),(0,z.jsx)(_.zxk,{className:C("action","refer-patient"),label:d,href:u,startIcon:(0,z.jsx)(I.m42,{}),theme:_.qMO.AlwaysLight,variant:_.qGe.Ghost,"data-testid":"refer-patient"})]})]})})]}),(0,z.jsxs)("div",{className:C("actions","mobile"),children:[(0,z.jsx)(_.zxk,{className:C("action"),label:o,href:c,startIcon:(0,z.jsx)(I.VZI,{})}),(0,z.jsx)(_.zxk,{className:C("action"),label:d,href:u,startIcon:(0,z.jsx)(I.m42,{})})]})]}),(0,z.jsx)(_.W20,{className:C("links"),children:(0,z.jsxs)("div",{className:C("links-stack"),children:[(0,z.jsxs)("div",{className:C("link-row"),children:[(0,z.jsxs)("a",{className:C("link-wrapper"),href:"tel:".concat(null==m?void 0:m.src),"data-testid":"call-location",children:[(0,z.jsx)(_.zxk,{className:C("link"),startIcon:(0,z.jsx)(I.qWc,{}),iconSize:_.JhL.large,theme:_.qMO.Neutral,variant:_.qGe.Outlined}),(0,z.jsxs)(_.xvT,{as:_.Gy$.span,textStyle:{size:"Body / -2",type:_.yGm.body},weight:_.fsE.semibold,children:[(0,z.jsx)("span",{className:C("link-text","short"),children:null==m?void 0:m.shortText}),(0,z.jsxs)("span",{className:C("link-text","call"),children:[g,(0,z.jsx)("span",{children:b})]})]})]}),(0,z.jsxs)("a",{className:C("link-wrapper"),href:null==h?void 0:h.src,"data-testid":"find-doctor",children:[(0,z.jsx)(_.zxk,{className:C("link"),startIcon:(0,z.jsx)(I.tBG,{}),iconSize:_.JhL.large,theme:_.qMO.Neutral,variant:_.qGe.Outlined}),(0,z.jsxs)(_.xvT,{as:_.Gy$.span,textStyle:{size:"Body / -2",type:_.yGm.body},weight:_.fsE.semibold,children:[(0,z.jsx)("span",{className:C("link-text","short"),children:null==h?void 0:h.shortText}),(0,z.jsx)("span",{className:C("link-text"),children:null==h?void 0:h.text})]})]}),(0,z.jsxs)("a",{className:C("link-wrapper"),href:null==p?void 0:p.src,"data-testid":"find-location",children:[(0,z.jsx)(_.zxk,{className:C("link"),startIcon:(0,z.jsx)(I.Bjv,{}),iconSize:_.JhL.large,theme:_.qMO.Neutral,variant:_.qGe.Outlined}),(0,z.jsxs)(_.xvT,{as:_.Gy$.span,textStyle:{size:"Body / -2",type:_.yGm.body},weight:_.fsE.semibold,children:[(0,z.jsx)("span",{className:C("link-text","short"),children:null==p?void 0:p.shortText}),(0,z.jsx)("span",{className:C("link-text"),children:null==p?void 0:p.text})]})]})]}),(0,z.jsxs)("div",{className:C("link-row"),children:[(0,z.jsxs)("a",{className:C("link-wrapper"),href:null==x?void 0:x.src,"data-testid":"cost-estimates",children:[(0,z.jsx)(_.zxk,{className:C("link"),startIcon:(0,z.jsx)(I.Xki,{}),iconSize:_.JhL.large,theme:_.qMO.Neutral,variant:_.qGe.Outlined}),(0,z.jsxs)(_.xvT,{as:_.Gy$.span,textStyle:{size:"Body / -2",type:_.yGm.body},weight:_.fsE.semibold,children:[(0,z.jsx)("span",{className:C("link-text","short"),children:null==x?void 0:x.shortText}),(0,z.jsx)("span",{className:C("link-text"),children:null==x?void 0:x.text})]})]}),(0,z.jsxs)("a",{className:C("link-wrapper"),href:null==v?void 0:v.src,"data-testid":"make-donation",children:[(0,z.jsx)(_.zxk,{className:C("link"),startIcon:(0,z.jsx)(I.tW_,{}),iconSize:_.JhL.large,theme:_.qMO.Neutral,variant:_.qGe.Outlined}),(0,z.jsxs)(_.xvT,{as:_.Gy$.span,textStyle:{size:"Body / -2",type:_.yGm.body},weight:_.fsE.semibold,children:[(0,z.jsx)("span",{className:C("link-text","short"),children:null==v?void 0:v.shortText}),(0,z.jsx)("span",{className:C("link-text"),children:null==v?void 0:v.text})]})]}),(0,z.jsxs)("a",{className:C("link-wrapper"),href:null==f?void 0:f.src,"data-testid":"explore-careers",children:[(0,z.jsx)(_.zxk,{className:C("link"),startIcon:(0,z.jsx)(I.oyc,{}),iconSize:_.JhL.large,theme:_.qMO.Neutral,variant:_.qGe.Outlined}),(0,z.jsxs)(_.xvT,{as:_.Gy$.span,textStyle:{size:"Body / -2",type:_.yGm.body},weight:_.fsE.semibold,children:[(0,z.jsx)("span",{className:C("link-text","short"),children:null==f?void 0:f.shortText}),(0,z.jsx)("span",{className:C("link-text"),children:null==f?void 0:f.text})]})]})]})]})})]})},aG=e=>{let{onClick:t}=e,[l,a]=(0,_.n_I)("global-search-header-back-utility");return(0,z.jsx)("div",{className:l(),children:(0,z.jsx)("div",{className:a("wrapper"),children:(0,z.jsxs)("button",{type:"button",onClick:t,className:a("button"),children:[(0,z.jsx)(I.wyc,{className:a("icon"),"data-ui-icon-size":"16px","aria-hidden":"true"}),(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.label,size:"Label / -4"},as:_.Gy$.label,weight:_.fsE.semibold,className:a("label"),children:"Browse childrens.com"})]})})})},aM=e=>{let{onClick:t}=e,[l,a]=(0,_.n_I)("global-search-header-close-button");return(0,z.jsxs)("button",{className:l(),type:"button",onClick:t,children:[(0,z.jsx)("div",{className:a("state-layer")}),(0,z.jsx)(_.xvT,{textStyle:{type:_.yGm.label,size:"Label / -1"},as:_.Gy$.label,weight:_.fsE.semibold,className:a("label"),children:"Close"})]})},aD=e=>{let{onCloseButtonClick:t,onBackUtilityClick:l,closing:a,results:s,onSearchTermChange:n,onSearch:i,initialSearchTerm:r}=e,[o,c]=(0,_.n_I)("global-search-header"),d=(0,E.useRef)(null),u=(0,E.useRef)(null),m=(0,E.useRef)(null),[h,p]=(0,E.useState)(),x=()=>window.innerWidth<(parseInt(getComputedStyle(document.documentElement).getPropertyValue("--screen-sm"),10)||1e3);return(0,E.useLayoutEffect)(()=>{let e=()=>{x()&&d.current?p(d.current.offsetWidth):u.current&&p(u.current.offsetWidth)},t=(0,_.DsO)(e,250);return e(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[]),(0,E.useEffect)(()=>{m.current&&m.current.focus()},[]),(0,z.jsxs)("div",{className:o(),children:[(0,z.jsxs)("div",{className:c("wrapper"),style:h?{"--dropdown-width":"".concat(h,"px")}:void 0,children:[(0,z.jsx)(aG,{onClick:l}),(0,z.jsxs)("div",{className:c("search-bar-wrapper"),ref:d,children:[(0,z.jsx)("div",{className:c("logo-wrapper"),children:(0,z.jsx)("div",{className:c("logo-animation",a?"exit":"enter"),children:(0,z.jsx)(_.TRl,{variant:_.YYS.searchLogoClipped,className:c("logo")})})}),(0,z.jsx)(eD,{ref:m,results:s,onSearchTermChange:n,onSearch:i,dropdownPortalTarget:d.current,anchorPointRef:u,initialSearchTerm:r}),(0,z.jsx)(aM,{onClick:t})]})]}),(0,z.jsx)(_.izJ,{hierarchy:_.rks.Variant})]})},aR=((C=aR||{}).Hugged="hugged",C.Filled="filled",C),aB=e=>{let{imageSrc:t="",imageAlt:l="",icon:a=null,brandColor:s,category:n,categoryIcon:i="",className:r,title:o,lead:c="",hasFooter:d=!0,footerText:u="",footerIcon:m=null,verticalVariant:h="hugged",onClick:p}=e,[x,v]=(0,_.n_I)("health-wellness-card");
1return(0,z.jsxs)("div",{className:[x(h),r].filter(Boolean).join(" "),style:{"--currBrandColor":"var(--color-brand-".concat(s)},onClick:p,children:[(t||a)&&(0,z.jsx)("div",{className:v("header",a?"with-icon":""),"data-testid":"header",children:(0,z.jsxs)("div",{className:v("image-wrapper",[t||a?"":"no-image-icon",!t&&a?"no-image":""]),children:[t&&(0,z.jsx)(_.Eep,{className:v("image"),src:t,alt:l,title:l,"data-testid":"image",aspectRatio:_.oM5["16:9"]}),t&&(0,z.jsx)(_.ZMr,{}),a&&(0,z.jsx)("span",{className:v("icon-wrapper"),"data-testid":"iconWrapper",children:"string"==typeof a?/\.svg$/i.test(a)?(0,z.jsx)(_.JO$,{url:a,fillColor:s}):(0,z.jsx)(_.Eep,{src:a,alt:o,title:o}):a})]})}),(0,z.jsxs)("div",{className:v("content"),children:[(0,z.jsxs)(_.xvT,{className:v("category"),textStyle:{type:_.yGm.body,size:"Body / -3"},weight:_.fsE.bold,children:[i&&(0,z.jsx)("span",{className:v("category-icon"),children:i}),(0,z.jsx)("span",{children:n})]}),(0,z.jsx)(_.xvT,{className:v("title"),as:_.Gy$.h4,textStyle:{type:_.yGm.headline,size:"Headline / -1"},weight:_.fsE.semibold,children:o}),(0,z.jsx)(_.xvT,{className:v("lead"),italic:!0,textStyle:{type:_.yGm.body,size:"Body / -2"},"data-testid":"lead",children:c})]}),d&&(0,z.jsxs)("div",{className:v("footer"),"data-testid":"footer",children:[(0,z.jsx)("hr",{className:v("divider")}),(0,z.jsxs)(_.xvT,{className:v("footer-text"),textStyle:{type:_.yGm.headline,size:"Headline / -4"},weight:_.fsE.semibold,children:[u&&(0,z.jsx)("span",{children:u}),m&&(0,z.jsx)("span",{className:v("footer-icon"),children:m})]})]})]})},aP=e=>{let{iconUrl:t,name:l,accentColor:a,active:s=!1,loading:n=!1,onClick:i}=e,r=function(e){switch(e){case _.Te1.Aqua:return _.IS5.Aqua;case _.Te1.Blue:return _.IS5.Blue;case _.Te1.Peach:return _.IS5.Peach;case _.Te1.Pink:return _.IS5.Pink;case _.Te1.Magenta:return _.IS5.Magenta;case _.Te1.Purple:return _.IS5.Purple;case _.Te1.Red:return _.IS5.Red;case _.Te1.Teal:return _.IS5.Teal;case _.Te1.Violet:return _.IS5.Violet;case _.Te1.UtswBlue:return _.IS5.UtswBlue;default:return _.IS5.Purple}}(a),[o,c]=(0,_.n_I)("health-wellness-filter");return(0,z.jsxs)("div",{className:o([s?"active":"",n?"loading":""]),"data-color-accent":r,"data-testid":"filter",onClick:()=>i&&i(l),children:[(0,z.jsx)(_.hU,{state:n?_.wrJ.loading:_.wrJ.enabled,"data-testid":"icon",children:(0,z.jsx)(_.JO$,{url:t,fillColor:a})}),(0,z.jsx)(_.xvT,{className:c("name"),as:_.Gy$.span,textStyle:{size:"Body / -4",type:_.yGm.body},weight:_.fsE.semibold,"data-testid":"filterName",children:l})]})},aH=e=>{let{filterElements:t}=e,l=(0,E.useRef)(null),[a]=(0,_.n_I)("health-wellness-filter-carousel");return(0,z.jsx)("div",{className:a(),children:(0,z.jsx)(_.W20,{children:(0,z.jsx)(_.lr9,{gap:"var(--unit-space-4x, 16px)",enableOverlayNavButtons:!0,layout:_.nN3.Hugged,navType:_.OYk.Floating_AtEdge_OutsetMask,trackRef:l,children:t})})})},aq=e=>String(null!=e?e:"").trim().toLowerCase(),aF={"Specialty Care":"Purple","Emergency Care":"Magenta","Urgent Care":"Teal","Primary Care":"Blue"},aU={"Specialty Care":{balloonData:[{color:_.Te1.Teal,corner:_.lyr.BottomLeft,blendMode:_.btB.HardLight,front:!0,scaleX:1,scaleY:1},{color:_.Te1.Pink,corner:_.lyr.TopRight,blendMode:_.btB.HardLight,front:!1,scaleX:1,scaleY:1}]},"Emergency Care":{balloonData:[{color:_.Te1.Pink,corner:_.lyr.BottomRight,blendMode:_.btB.HardLight,front:!0,scaleX:1,scaleY:1},{color:_.Te1.Magenta,corner:_.lyr.TopLeft,blendMode:_.btB.HardLight,front:!1,scaleX:1,scaleY:1}]},"Urgent Care":{balloonData:[{color:_.Te1.Purple,corner:_.lyr.BottomLeft,blendMode:_.btB.HardLight,front:!0,scaleX:1,scaleY:1},{color:_.Te1.Green,corner:_.lyr.TopRight,blendMode:_.btB.HardLight,front:!1,scaleX:1,scaleY:1}]},"Primary Care":{balloonData:[{color:_.Te1.Aqua,corner:_.lyr.BottomRight,blendMode:_.btB.HardLight,front:!0,scaleX:1,scaleY:1},{color:_.Te1.Orange,corner:_.lyr.TopLeft,blendMode:_.btB.HardLight,front:!1,scaleX:1,scaleY:1}]}},a$="Specialty Care",aV=aU[a$],aW=e=>{var t,l,a,s,n,i,r;let{title:o,homeFontClass:c,items:d,defaultActiveIndex:u=0}=e,[m,h]=(0,_.n_I)("home-split-care-section");if(!d.length)return null;let p=Number.isFinite(u)&&u>=0&&u<d.length?u:0,[x,v]=(0,E.useState)(p),[f,y]=(0,E.useState)(p),j=d[null!=x?x:f],g=aq(null==j?void 0:j.label)||aq(a$),b=(0,E.useMemo)(()=>Object.fromEntries(Object.entries(aF).map(e=>{let[t,l]=e;return[aq(t),l]})),[]),N=null!==(l=null!==(t=b[g])&&void 0!==t?t:b[aq(a$)])&&void 0!==l?l:"",w=null!==(a=(0,E.useMemo)(()=>Object.fromEntries(Object.entries(aU).map(e=>{let[t,l]=e;return[aq(t),l]})),[])[g])&&void 0!==a?a:aV,C=null!==(s=null==j?void 0:j.label)&&void 0!==s?s:a$,k=d.map(e=>({label:e.label,content:(0,z.jsxs)(z.Fragment,{children:[e.content?(0,z.jsx)(_.xvT,{className:h("accordion-content-text"),as:_.Gy$.span,textStyle:{type:_.yGm.body,size:"Body / 0"},weight:_.fsE.medium,children:e.content}):null,(0,z.jsx)(_.zxk,{className:h("accordion-button"),variant:_.qGe.Filled,theme:_.qMO.Accent,label:"Specialty Care"===e.label?"Search Specialties":"Search Locations",startIcon:(0,z.jsx)(I._Ve,{}),size:_.qE.large,href:e.url})]})})),T=null!==(n=null==j?void 0:j.heroImageSrc)&&void 0!==n?n:"",S=null!==(i=null==j?void 0:j.heroVideoSrc)&&void 0!==i?i:"",L=null!==(r=null==j?void 0:j.heroAltText)&&void 0!==r?r:"";return(0,z.jsxs)("div",{className:m(),"data-split-care-theme":C,"data-color-accent":N,children:[(0,z.jsx)("div",{className:h("content-half-container"),children:(0,z.jsx)("div",{className:h("content-half"),children:(0,z.jsxs)("div",{className:h("intro-container"),children:[(0,z.jsx)(_.xvT,{className:"".concat(h("split-intro")," ").concat(null!=c?c:""),as:_.Gy$.h2,textStyle:{type:_.yGm.display,size:"Display / 0"},weight:_.fsE.semibold,children:o}),(0,z.jsx)(e_,{content:k,classes:h("accordion"),indicator:_.Mwk.icon,activeIndex:x,onActiveIndexChange:e=>{v(e),"number"==typeof e&&y(e)},defaultOpenFirst:!0})]})})}),(0,z.jsxs)(_.inw,{className:h("hero-half"),sizeMode:_.C7k.Fill,balloonData:w.balloonData,children:[(0,z.jsxs)("div",{className:h("hero-contained-media-image"),children:[T?(0,z.jsx)(_.Eep,{src:T,alt:L,aspectRatio:_.oM5["1:1"],disableHoverScrim:!0}):null,S?(0,z.jsx)(_.Y7g,{autoPlay:!0,controls:!1,loop:!0,muted:!0,src:S,poster:S}):null]}),(0,z.jsx)("div",{className:h("playback-button".concat(S?"":"-hidden")),children:(0,z.jsx)(_.hU,{size:_.rmb.sm,theme:_.d4N.accent,intent:_.xI3.outline,onClick:()=>{},"aria-label":"Pause hero video",children:(0,z.jsx)(I.fpf,{})})})]})]})},aY=e=>{let{isOpen:t,onClose:l,subtitle:a,providers:s,footerButtonOnClick:n,footerButtonHref:i,classes:r}
1=e,[o,c]=(0,_.n_I)("providers-modal"),d=[o(),r].filter(Boolean).join(" ");return 0===s.length?null:(0,z.jsxs)(_.u_l,{open:t,onClose:l,position:_.e1N.CenterFilled,classes:d,children:[(0,z.jsx)(_.u_l.Header,{hasDivider:!0,contentType:_.W9u.TitleAndSubtitle,title:"".concat("Providers"," (").concat(s.length,")"),subtitle:a,closeAffordance:{type:_.Ez6.Close,onClick:l}}),(0,z.jsx)(_.u_l.Body,{padding:_.t_D.XAllYAll,contentSlot:(0,z.jsx)("div",{className:c("providers-list"),children:s.map((e,t)=>(0,z.jsx)("div",{className:c("provider-item"),children:(0,z.jsx)(ez,{...e})},"provider-".concat(e.primaryText,"-").concat(t)))})}),(0,z.jsx)(_.u_l.Footer,{hasDivider:!0,contentType:_.ygU.Filled,primaryAction:(0,z.jsx)(_.zxk,{theme:_.qMO.Accent,variant:_.qGe.Filled,className:c("footer-button"),href:i,onClick:n,label:"Search and Filter",startIcon:(0,z.jsx)(I._Ve,{"aria-hidden":"true"})})})]})},aZ=e=>{let{onClick:t,href:l,icon:a="",brandColor:s=_.Te1.Red,title:n,description:i}=e,[r,o]=(0,_.n_I)("resource-cta");return(0,z.jsxs)("div",{className:r(),children:[(0,z.jsx)("div",{className:o("icon-wrapper"),children:(0,z.jsx)(_.JO$,{url:a,fillColor:s})}),(0,z.jsxs)("div",{className:o("body"),children:[(0,z.jsx)(_.xvT,{as:_.Gy$.h3,className:o("title"),textStyle:{size:"Caps / 1",type:_.yGm.caps},weight:_.fsE.bold,children:n}),(0,z.jsx)(ed,{className:o("description"),content:i})]}),l?(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(_.hU,{"aria-label":"more info",theme:_.d4N.neutral,intent:_.xI3.outline,size:_.rmb.sm,state:_.wrJ.enabled,href:l,children:(0,z.jsx)(I.LZ3,{"aria-hidden":!0})}),(0,z.jsx)(_.zxk,{label:"More Info",endIcon:(0,z.jsx)(I.LZ3,{}),theme:_.qMO.Neutral,variant:_.qGe.Outlined,className:o("more-info"),href:l})]}):(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(_.hU,{"aria-label":"more info",theme:_.d4N.neutral,intent:_.xI3.outline,size:_.rmb.sm,state:_.wrJ.enabled,onClick:t,children:(0,z.jsx)(I.LZ3,{"aria-hidden":!0})}),(0,z.jsx)(_.zxk,{label:"More Info",endIcon:(0,z.jsx)(I.LZ3,{}),theme:_.qMO.Neutral,variant:_.qGe.Outlined,className:o("more-info"),onClick:t})]})]})},aJ=e=>{let{accentColor:t,icon:l,title:a,lead:s,showCTA:n=!0,ctaText:i,ctaSrc:r,cardImageSrc:o,cardImageAlt:c,cardBadgeSrc:d,cardBadgeAlt:u}=e,m=t.toString(),h="".concat(m.charAt(0).toUpperCase()).concat(m.slice(1)),p=(()=>{let e=[_.Te1.Pink,_.Te1.Teal];switch(t){case _.Te1.Aqua:e[0]=_.Te1.Teal,e[1]=_.Te1.Blue;break;case _.Te1.Blue:e[0]=_.Te1.Peach,e[1]=_.Te1.Teal;break;case _.Te1.Peach:e[0]=_.Te1.Red,e[1]=_.Te1.Purple;break;case _.Te1.Pink:e[0]=_.Te1.Blue,e[1]=_.Te1.Purple;break;case _.Te1.Purple:e[0]=_.Te1.Pink,e[1]=_.Te1.Teal;break;case _.Te1.Red:e[0]=_.Te1.Peach,e[1]=_.Te1.Pink;break;case _.Te1.Teal:e[0]=_.Te1.Aqua,e[1]=_.Te1.Purple;break;case _.Te1.Violet:e[0]=_.Te1.Blue,e[1]=_.Te1.Pink;break;default:e[0]=_.Te1.Pink,e[1]=_.Te1.Teal}return e})(),[x,v]=(0,_.n_I)("health-wellness-news-report-section");return(0,z.jsx)("section",{className:x(),children:(0,z.jsxs)(_.W20,{className:v("container"),children:[(0,z.jsxs)("div",{className:v("col"),children:[(0,z.jsx)("span",{className:v("main-badge"),style:{color:"var(--color-brand-".concat(t,")")},"data-testid":"mainBadge",children:(0,z.jsx)(_.JO$,{url:l,fillColor:t})}),(0,z.jsx)(_.xvT,{className:v("title"),as:_.Gy$.h3,textStyle:{size:"Headline / 3",type:_.yGm.headline},weight:_.fsE.bold,children:a}),(0,z.jsx)(ed,{className:v("lead"),content:s}),n&&i&&r&&(0,z.jsx)(_.zxk,{className:v("cta"),endIcon:(0,z.jsx)(I.LZ3,{}),href:r,label:i,theme:_.qMO.Neutral,variant:_.qGe.Outlined,"data-color-accent":h,"data-testid":"cta"})]}),(0,z.jsx)("div",{className:v("col"),children:(0,z.jsxs)(_.Zbd,{className:v("card"),children:[(0,z.jsx)(_.inw,{balloonData:[{color:p[0],corner:_.lyr.TopRight,front:!1,blendMode:_.btB.HardLight,scaleX:1.5,scaleY:1.5},{color:p[1],corner:_.lyr.BottomLeft,front:!0,blendMode:_.btB.HardLight,scaleX:1.5,scaleY:1.5}],children:(0,z.jsx)("img",{className:v("card-img"),src:o,alt:c,"data-testid":"cardImg"})}),(0,z.jsx)("img",{className:v("award-badge"),alt:u,src:d,"data-testid":"cardBadge"})]})})]})})},aK=e=>
1{let{title:t,body:l,iconUrl:a,iconFillColor:s=_.Te1.Purple}=e,[n,i]=(0,_.n_I)("icon-info-segment");return(0,z.jsxs)("div",{className:n(),children:[(0,z.jsx)(_.JO$,{url:a,fillColor:s,className:i("icon")}),(0,z.jsxs)("div",{className:i("text-content"),children:[(0,z.jsx)(_.xvT,{className:i("title"),textStyle:{size:"Display / -1",type:_.yGm.display},weight:_.fsE.bold,children:t}),(0,z.jsx)(ed,{className:i("body"),content:l})]})]})},aX={xs:390,sm:680,md:960,lg:1280,xl:1440,xxl:1600},aQ=e=>{let{title:t,cards:l,showViewAll:a,showDivider:s=!0,viewAllSrc:n,viewAllText:i}=e,r=(0,E.useRef)(null),o={xs:1,sm:1,md:2,lg:3,xl:4,xxl:4},[c,d]=(0,_.n_I)("health-wellness-card-carousel");return(0,z.jsx)("section",{className:c(),children:(0,z.jsxs)("div",{className:d("container"),children:[(0,z.jsxs)("div",{className:d("header"),children:[(0,z.jsxs)("div",{className:d("intro"),children:[(0,z.jsx)(_.xvT,{className:d("title"),as:_.Gy$.h3,textStyle:{size:"Headline / 2",type:_.yGm.headline},weight:_.fsE.bold,children:t}),a&&n&&i&&(0,z.jsx)(_.zxk,{className:d("view-all"),href:n,endIcon:(0,z.jsx)(I.LZ3,{}),label:i,theme:_.qMO.Neutral,variant:_.qGe.Ghost})]}),(0,z.jsx)("div",{className:d("nav"),children:(0,z.jsx)(_.mQP,{layout:_.nN3.Filled,trackRef:r,itemsAtBp:o,breakpoints:aX})})]}),(0,z.jsx)(_.lr9,{gap:"var(--unit-space-4x, 16px)",enableOverlayNavButtons:!1,itemsAtBp:o,breakpoints:aX,layout:_.nN3.Filled,navType:_.OYk.None_GutterBleed_WithoutMask,trackRef:r,children:l}),s&&(0,z.jsx)(_.W20,{className:d("divider-wrapper"),children:(0,z.jsx)(_.izJ,{hierarchy:_.rks.Variant})})]})})},a0=e=>{let t=e.toString();return"".concat(t.charAt(0).toUpperCase()).concat(t.slice(1))},a1=e=>{let{accentColor:t,backButtonText:l,backButtonHref:a,open:s,title:n,lead:i}=e,r=a0(t),[o,c]=(0,_.n_I)("department-intro-section");return(0,z.jsx)("section",{className:o(s?"open":""),"data-testid":"departmentIntroSection",children:(0,z.jsx)(_.W20,{className:c("container"),children:(0,z.jsxs)("div",{className:c("inner-container"),children:[(0,z.jsx)(_.zxk,{className:c("back"),startIcon:(0,z.jsx)(I.wyc,{"aria-hidden":!0}),href:a,scroll:!1,replace:!0,label:l,"data-color-accent":r}),(0,z.jsxs)("div",{children:[(0,z.jsx)(_.xvT,{className:c("title"),as:_.Gy$.h3,textStyle:{size:"Headline / 2",type:_.yGm.headline},weight:_.fsE.bold,children:n}),(0,z.jsx)(_.xvT,{className:c("lead"),children:i})]})]})})})},a2={article:{label:"ARTICLE",icon:(0,z.jsx)(I.YAD,{"aria-hidden":!0})},podcast:{label:"PODCAST",icon:(0,z.jsx)(I.S6n,{"aria-hidden":!0})},video:{label:"VIDEO",icon:(0,z.jsx)(I.o1U,{"aria-hidden":!0})},infographic:{label:"INFOGRAPHIC",icon:(0,z.jsx)(I.Npz,{"aria-hidden":!0})}},a3=e=>a2[e.toLowerCase()]||a2.article,a4=((k=a4||{}).toEnd="to-end",k.toStart="to-start",k),a6=e=>{let{accentColor:t,articleSrc:l,category:a,categoryIcon:s,to:n="to-end",title:i,lead:r,avatarSrc:o,avatarBadgeContent:c,avatarBadgeIcon:d}=e,[u,m]=(0,_.n_I)("featured-article-card"),h=a3(a||"");return(0,z.jsxs)("a",{className:u(n),href:l,style:{"--current-accent-color":"var(--color-brand-".concat(t,")")},"data-testid":"articleCard",children:[(0,z.jsxs)("div",{className:m("header"),children:[a&&(0,z.jsxs)(_.xvT,{className:m("category"),textStyle:{type:_.yGm.body,size:"Body / -3"},weight:_.fsE.bold,children:[a&&(0,z.jsx)("span",{className:m("category-icon"),"data-testid":"categoryIcon",children:null!=s?s:h.icon}),(0,z.jsx)("span",{children:null!=a?a:h.label})]}),(0,z.jsx)(_.xvT,{className:m("title"),as:_.Gy$.h3,textStyle:{size:"Headline / -3",type:_.yGm.headline},weight:_.fsE.semibold,children:i}),r&&(0,z.jsx)(_.xvT,{className:m("lead"),italic:!0,textStyle:{size:"Body / -1",type:_.yGm.body},children:r})]}),o&&(0,z.jsxs)("div",{className:m("avatar"),"data-testid":"avatar",children:[(0,z.jsx)(_.BuX,{imageUrl:o,radius:_.QtD.full,size:_.MxR["16x/64px"],initials:r}),(d||c)&&(0,z.jsx)(_.Cts,{classes:m("badge"),icon:d,label:c})]})]})},a8=e=>{var t;let{accentColor:l,title:a,viewAllSrc:s,viewAllText:n,featuredArticle:i,featuredArticleSrc:r,featuredArticleHeroAlt:o,featuredArticleHeroSrc:c,readMoreSrc:d,readMoreText:u,articles:m}=e,h=(0,E.useMemo)(()=>{let e=l.toString();return"".concat(e.charAt(0).toUpperCase()).concat(e.slice(1))},[l]),[p,x]=(0,_.n_I)("featured-topic-section");return(0,z.jsxs)("section",{className:p(),style:{"--current-accent-color":"var(--color-brand-".concat(l,")")},"data-testid":"section",children:[(0,z.jsxs)(_.W20,{className:x("header"),children:[(0,z.jsx)(_.xvT,{className:x("title"),as:_.Gy$.h2,textStyle:{size:"Headline / 1",type:_.yGm.headline},children:a}),(0,z.jsx)(_.zxk,{className:x("view-all"),href:s,label:n,theme:_.qMO.Neutral,variant:_.qGe.Outlined,"data-color-accent":h,"data-testid":"viewAll"})]}),(0,z.jsxs)(_.W20,{className:x("content"),children:[(0,z.jsxs)("div",{className:x("featured-article"),children:[(0,z.jsxs)("div",{className:x("hero-wrapper"),children:[(0,z.jsx)("img",{className:x("hero"),alt:o,src:c,title:a}),(0,z.jsx)(lj,{primaryColor:_.Te1.Teal,secondaryColor:_.Te1.Pink}),(0,z.jsx)(_.ZMr,{})]}),(0,z.jsx)("div",{className:x("featured-article-wrapper"),children:(0,z.jsxs)("div",{className:x("featured-article-inner"),children:[i,(0,z.jsx)(_.zxk,{className:x("read-more"),href:d,label:u,theme:_.qMO.Neutral,variant:_.qGe.Outlined,"data-color-accent":h,"data-testid":"readMore"})]})})]}),(0,z.jsx)("ul",{className:x("articles"),children:null===(t=E.Children.toArray(m))||void 0===t?void 0:t.map((e,t)=>(0,z.jsx)("li",{className:x("article"),children:e},"article-".concat(t)))})]})]})},a7=e=>{let{content:t,imageAlt:l,imageSrc:a}=e,s=l&&a,[n,i]=(0,_.n_I)("health-wellness-marquee-card");return t||s?(0,z.jsxs)(_.Zbd,{className:n(s?"with-image":""),variant:_.UEO.brand,children:[t,s&&(0,z.jsx)(_.Eep,{className:i("image"),alt:l,height:360,src:a,width:360,"data-testid":"image"})]}):null},a5=e=>{let{label:t,icon:l,theme:a=_.rJN.accent}=e,[s,n]=(0,_.n_I)("masthead-eyebrow");return(0,z.jsxs)("div",{className:s(),children:[(0,z.jsx)(_.igV,{className:n("icon-container"),theme:a,variant:_.aLs.surface,rotation:_.FxS.none,"data-color-accent":"Red",children:null!=l?l:(0,z.jsx)(I.jdL,{})}),(0,z.jsx)(_.xvT,{className:n("text"),as:_.Gy$.span,textStyle:{type:_.yGm.caps,size:"Caps / -2"},weight:_.fsE.bold,children:t})]})},a9=e=>{var t;let{badge:l,title:a,articles:s}=e,[n,i]=(0,_.n_I)("trending-content");return(0,z.jsxs)("div",{className:n(),children:[(0,z.jsx)("div",{className:i("header"),children:(0,z.jsx)(a5,{label:a,icon:l,theme:_.rJN.critical})}),(0,z.jsx)("ul",{className:i("articles"),"data-testid":"articles",children:null===(t=E.Children.toArray(s))||void 0===t?void 0:t.map((e,t)=>(0,z.jsx)("li",{className:i("article-wrapper"),children:e},"article-wrapper-".concat(t)))})]})},[se,st]=(0,_.n_I)("top-story-card"),sl=e=>{let{image:t,imageAlt:l,eyebrow:a=(0,z.jsx)(I.jrq,{}),eyebrowLabel:s,title:n,href:i,className:r=""}=e;return(0,z.jsx)(G.default,{href:i,className:"".concat(se()," ").concat(r),"aria-label":n,children:(0,z.jsxs)(_.Zbd,{theme:_.qMO.Neutral,variant:_.UEO.outlinedVariant,inset:_.PDU.two,children:[(0,z.jsxs)("div",{className:st("card-header"),children:[(0,z.jsx)(a5,{label:s,icon:a,theme:_.rJN.critical}),(0,z.jsx)(_.xvT,{as:_.Gy$.h3,textStyle:{type:_.yGm.headline,size:"Headline / 1"},weight:_.fsE.semibold,className:st("story-title"),children:n})]}),(0,z.jsxs)("div",{className:st("image-wrapper"),children:[(0,z.jsx)(_.Eep,{src:t,alt:l,title:n,aspectRatio:_.oM5["16:9"],className:st("image")}),(0,z.jsx)(lj,{primaryColor:_.Te1.Pink,secondaryColor:_.Te1.Teal})]})]})})},sa=e=>{let{quote:t,attribution:l,icon:a=(0,z.jsx)(D.vf,{})}
1=e,[s,n]=(0,_.n_I)("testimonial-card"),{name:i,subtitle:r}=function(e){let t=(null!=e?e:"").trim();if(!t)return{name:""};let[l,...a]=t.split(","),s=a.join(",").trim();return{name:l.trim(),subtitle:s||void 0}}(l);return(0,z.jsx)(_.Zbd,{theme:_.qMO.Neutral,variant:_.UEO.higher,inset:_.PDU.two,itemAlignment:_.ek1.center,"data-testid":"testimonial-card",className:s(),children:(0,z.jsxs)("div",{className:n("container"),children:[(0,z.jsxs)("div",{className:n("quote-container"),children:[a?(0,z.jsx)("div",{className:n("icon"),children:a}):null,(0,z.jsx)(_.xvT,{className:n("quote"),as:_.Gy$.p,textStyle:{type:_.yGm.body,size:"Body / -1"},weight:_.fsE.medium,italic:!0,children:t})]}),(0,z.jsxs)("div",{className:n("attribution"),children:[(0,z.jsx)(_.xvT,{className:n("name"),as:_.Gy$.p,textStyle:{type:_.yGm.body,size:"Body / -4"},weight:_.fsE.medium,italic:!0,children:i}),r?(0,z.jsx)(_.xvT,{className:n("subtitle"),as:_.Gy$.p,textStyle:{type:_.yGm.body,size:"Body / -4"},weight:_.fsE.medium,italic:!0,children:r}):null]})]})})},ss=e=>{let{iconUrl:t,iconFillColor:l=_.Te1.Purple,title:a,body:s,resources:n}=e,[i,r]=(0,_.n_I)("resources-section");return(0,z.jsx)("section",{className:i(),children:(0,z.jsxs)(_.W20,{className:r("container"),children:[(0,z.jsx)("div",{className:r("left-col"),children:(0,z.jsx)(aK,{iconUrl:t,iconFillColor:l,title:a,body:s})}),(0,z.jsx)("div",{className:r("right-col"),children:n.map(e=>(0,z.jsx)(aZ,{icon:e.icon,brandColor:e.brandColor,title:e.title,description:e.description,href:e.href,onClick:e.onClick},e.title))})]})})},{entries:sn,setPrototypeOf:si,isFrozen:sr,getPrototypeOf:so,getOwnPropertyDescriptor:sc}=Object,{freeze:sd,seal:su,create:sm}=Object,{apply:sh,construct:sp}="undefined"!=typeof Reflect&&Reflect;sd||(sd=function(e){return e}),su||(su=function(e){return e}),sh||(sh=function(e,t,l){return e.apply(t,l)}),sp||(sp=function(e,t){return new e(...t)});var sx=sI(Array.prototype.forEach),sv=sI(Array.prototype.lastIndexOf),sf=sI(Array.prototype.pop),sy=sI(Array.prototype.push),sj=sI(Array.prototype.splice),sg=sI(String.prototype.toLowerCase),sb=sI(String.prototype.toString),sN=sI(String.prototype.match),sw=sI(String.prototype.replace),sC=sI(String.prototype.indexOf),sk=sI(String.prototype.trim),sT=sI(Object.prototype.hasOwnProperty),sS=sI(RegExp.prototype.test),sE=(a=TypeError,function(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return sp(a,t)});function sI(e){return function(t){for(var l=arguments.length,a=Array(l>1?l-1:0),s=1;s<l;s++)a[s-1]=arguments[s];return sh(e,t,a)}}function s_(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:sg;si&&si(e,null);let a=t.length;for(;a--;){let s=t[a];if("string"==typeof s){let e=l(s);e!==s&&(sr(t)||(t[a]=e),s=e)}e[s]=!0}return e}function sL(e){let t=sm(null);for(let[l,a]of sn(e))sT(e,l)&&(Array.isArray(a)?t[l]=function(e){for(let t=0;t<e.length;t++)sT(e,t)||(e[t]=null);return e}(a):a&&"object"==typeof a&&a.constructor===Object?t[l]=sL(a):t[l]=a);return t}function sA(e,t){for(;null!==e;){let l=sc(e,t);if(l){if(l.get)return sI(l.get);if("function"==typeof l.value)return sI(l.value)}e=so(e)}return function(){return null}}var sO=sd(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),sz=sd(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),sG=sd(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),sM=sd(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),sD=sd(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),sR=sd(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),sB=sd(["#text"]),sP=sd(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
1spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),sH=sd(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),sq=sd(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),sF=sd(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),sU=su(/\{\{[\w\W]*|[\w\W]*\}\}/gm),s$=su(/<%[\w\W]*|[\w\W]*%>/gm),sV=su(/\$\{[\w\W]*/gm),sW=su(/^data-[\-\w.\u00B7-\uFFFF]+$/),sY=su(/^aria-[\-\w]+$/),sZ=su(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),sJ=su(/^(?:\w+script|data):/i),sK=su(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),sX=su(/^html$/i),sQ=Object.freeze({__proto__:null,ARIA_ATTR:sY,ATTR_WHITESPACE:sK,CUSTOM_ELEMENT:su(/^[a-z][.\w]*(-[.\w]+)+$/i),DATA_ATTR:sW,DOCTYPE_NAME:sX,ERB_EXPR:s$,IS_ALLOWED_URI:sZ,IS_SCRIPT_OR_DATA:sJ,MUSTACHE_EXPR:sU,TMPLIT_EXPR:sV}),s0={element:1,text:3,progressingInstruction:7,comment:8,document:9},s1=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let l=null,a="data-tt-policy-suffix";t&&t.hasAttribute(a)&&(l=t.getAttribute(a));let s="dompurify"+(l?"#"+l:"");try{return e.createPolicy(s,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+s+" could not be created."),null}},s2=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},s3=function e(){let t,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,a=t=>e(t);if(a.version="3.2.4",a.removed=[],!l||!l.document||l.document.nodeType!==s0.document||!l.Element)return a.isSupported=!1,a;let{document:s}=l,n=s,i=n.currentScript,{DocumentFragment:r,HTMLTemplateElement:o,Node:c,Element:d,NodeFilter:u,NamedNodeMap:m=l.NamedNodeMap||l.MozNamedAttrMap,HTMLFormElement:h,DOMParser:p,trustedTypes:x}=l,v=d.prototype,f=sA(v,"cloneNode"),y=sA(v,"remove"),j=sA(v,"nextSibling"),g=sA(v,"childNodes"),b=sA(v,"parentNode");if("function"==typeof o){let e=s.createElement("template");e.content&&e.content.ownerDocument&&(s=e.content.ownerDocument)}let N="",{implementation:w,createNodeIterator:C,createDocumentFragment:k,getElementsByTagName:T}=s,{importNode:S}=n,E=s2();a.isSupported="function"==typeof sn&&"function"==typeof b&&w&&void 0!==w.createHTMLDocument;let{MUSTACHE_EXPR:I,ERB_EXPR:_,TMPLIT_EXPR:L,DATA_ATTR:A,ARIA_ATTR:O,IS_SCRIPT_OR_DATA:z,ATTR_WHITESPACE:G,CUSTOM_ELEMENT:M}=sQ,{IS_ALLOWED_URI:D}=sQ,R=null,B=s_({},[...sO,...sz,...sG,...sD,...sB]),P=null,H=s_({},[...sP,...sH,...sq,...sF]),q=Object.seal(sm(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),F=null,U=null,$=!0,V=!0,W=!1,Y=!0,Z=!1,J=!0,K=!1,X=!1,Q=!1,ee=!1,et=!1,el=!1,ea=!0,es=!1,en=!0,ei=!1,er={},eo=null,ec=s_({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),ed=null,eu=s_({},["audio","video","img","source","image","track"]),em=null,eh=s_({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ep="http://www.w3.org/1998/Math/MathML",ex="http://www.w3.org/2000/svg",ev="http://www.w3.org/1999/xhtml",ef=ev,ey=!1,ej=null,eg=s_({},[ep,ex,ev],sb),eb=s_({},["mi","mo","mn","ms","mtext"]),eN=s_({},["annotation-xml"]),ew=s_({},["title","style","font","a","script"]),eC=null,ek=["application/xhtml+xml","text/html"],eT=null,eS=null,eE=s.createElement("form"),eI=function(e){return e instanceof RegExp||e instanceof Function},e_=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!eS||eS!==e){if(e&&"object"==typeof e||(e={}),e=sL(e),eT="application/xhtml+xml"===(eC=-1===ek.indexOf(e.PARSER_MEDIA_TYPE
1)?"text/html":e.PARSER_MEDIA_TYPE)?sb:sg,R=sT(e,"ALLOWED_TAGS")?s_({},e.ALLOWED_TAGS,eT):B,P=sT(e,"ALLOWED_ATTR")?s_({},e.ALLOWED_ATTR,eT):H,ej=sT(e,"ALLOWED_NAMESPACES")?s_({},e.ALLOWED_NAMESPACES,sb):eg,em=sT(e,"ADD_URI_SAFE_ATTR")?s_(sL(eh),e.ADD_URI_SAFE_ATTR,eT):eh,ed=sT(e,"ADD_DATA_URI_TAGS")?s_(sL(eu),e.ADD_DATA_URI_TAGS,eT):eu,eo=sT(e,"FORBID_CONTENTS")?s_({},e.FORBID_CONTENTS,eT):ec,F=sT(e,"FORBID_TAGS")?s_({},e.FORBID_TAGS,eT):{},U=sT(e,"FORBID_ATTR")?s_({},e.FORBID_ATTR,eT):{},er=!!sT(e,"USE_PROFILES")&&e.USE_PROFILES,$=!1!==e.ALLOW_ARIA_ATTR,V=!1!==e.ALLOW_DATA_ATTR,W=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Y=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Z=e.SAFE_FOR_TEMPLATES||!1,J=!1!==e.SAFE_FOR_XML,K=e.WHOLE_DOCUMENT||!1,ee=e.RETURN_DOM||!1,et=e.RETURN_DOM_FRAGMENT||!1,el=e.RETURN_TRUSTED_TYPE||!1,Q=e.FORCE_BODY||!1,ea=!1!==e.SANITIZE_DOM,es=e.SANITIZE_NAMED_PROPS||!1,en=!1!==e.KEEP_CONTENT,ei=e.IN_PLACE||!1,D=e.ALLOWED_URI_REGEXP||sZ,ef=e.NAMESPACE||ev,eb=e.MATHML_TEXT_INTEGRATION_POINTS||eb,eN=e.HTML_INTEGRATION_POINTS||eN,q=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&eI(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(q.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&eI(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(q.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(q.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Z&&(V=!1),et&&(ee=!0),er&&(R=s_({},sB),P=[],!0===er.html&&(s_(R,sO),s_(P,sP)),!0===er.svg&&(s_(R,sz),s_(P,sH),s_(P,sF)),!0===er.svgFilters&&(s_(R,sG),s_(P,sH),s_(P,sF)),!0===er.mathMl&&(s_(R,sD),s_(P,sq),s_(P,sF))),e.ADD_TAGS&&(R===B&&(R=sL(R)),s_(R,e.ADD_TAGS,eT)),e.ADD_ATTR&&(P===H&&(P=sL(P)),s_(P,e.ADD_ATTR,eT)),e.ADD_URI_SAFE_ATTR&&s_(em,e.ADD_URI_SAFE_ATTR,eT),e.FORBID_CONTENTS&&(eo===ec&&(eo=sL(eo)),s_(eo,e.FORBID_CONTENTS,eT)),en&&(R["#text"]=!0),K&&s_(R,["html","head","body"]),R.table&&(s_(R,["tbody"]),delete F.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw sE('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw sE('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');N=(t=e.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===t&&(t=s1(x,i)),null!==t&&"string"==typeof N&&(N=t.createHTML(""));sd&&sd(e),eS=e}},eL=s_({},[...sz,...sG,...sM]),eA=s_({},[...sD,...sR]),eO=function(e){let t=b(e);t&&t.tagName||(t={namespaceURI:ef,tagName:"template"});let l=sg(e.tagName),a=sg(t.tagName);return!!ej[e.namespaceURI]&&(e.namespaceURI===ex?t.namespaceURI===ev?"svg"===l:t.namespaceURI===ep?"svg"===l&&("annotation-xml"===a||eb[a]):!!eL[l]:e.namespaceURI===ep?t.namespaceURI===ev?"math"===l:t.namespaceURI===ex?"math"===l&&eN[a]:!!eA[l]:e.namespaceURI===ev?(t.namespaceURI!==ex||!!eN[a])&&(t.namespaceURI!==ep||!!eb[a])&&!eA[l]&&(ew[l]||!eL[l]):"application/xhtml+xml"===eC&&!!ej[e.namespaceURI])},ez=function(e){sy(a.removed,{element:e});try{b(e).removeChild(e)}catch(t){y(e)}},eG=function(e,t){try{sy(a.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){sy(a.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e){if(ee||et)try{ez(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}}},eM=function(e){let l=null,a=null;if(Q)e="<remove></remove>"+e;else{let t=sN(e,/^[\r\n\t ]+/);a=t&&t[0]}"application/xhtml+xml"===eC&&ef===ev&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let n=t?t.createHTML(e):e;if(ef===ev)try{l=new p().parseFromString(n,eC)}catch(e){}if(!l||!l.documentElement){l=w.createDocument(ef,"template",null);try{l.documentElement.innerHTML=ey?N:n}catch(e){}}let i=l.body||l.documentElement;return(e&&a&&i.insertBefore(s.createTextNode(a),i.childNodes[0]||null),ef===ev)?T.call(l,K?"html":"body")[0]:K?l.documentElement:i},eD=function(e){return C.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},eR=function(e){return e instanceof h&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof m)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},eB=function(e){return"function"==typeof c&&e instanceof c};function eP(e,t,l){sx(e,e=>{e.call(a,t,l,eS)})}let eH=function(e){let t=null;if(eP(E.beforeSanitizeElements,e,null),eR(e))return ez(e),!0;let l=eT(e.nodeName);if(eP(E.uponSanitizeElement,e,{tagName:l,allowedTags:R}),e.hasChildNodes()&&!eB(e.firstElementChild)&&sS(/<[/\w]/g,e.innerHTML)&&sS(/<[/\w]/g,e.textContent)||e.nodeType===s0.progressingInstruction||J&&e.nodeType===s0.comment&&sS(/<[/\w]/g,e.data))return ez(e),!0;if(!R[l]||F[l]){if(!F[l]&&eF(l)&&(q.tagNameCheck instanceof RegExp&&sS(q.tagNameCheck,l)||q.tagNameCheck instanceof Function&&q.tagNameCheck(l)))return!1;if(en&&!eo[l]){let t=b(e)||e.parentNode,l=g(e)||e.childNodes;if(l&&t){let a=l.length;for(let s=a-1;s>=0;--s){let a=f(l[s],!0);a.__removalCount=(e.__removalCount||0)+1,t.insertBefore(a,j(e))}}}return ez(e),!0}return e instanceof d&&!eO(e)||("noscript"===l||"noembed"===l||"noframes"===l)&&sS(/<\/no(script|embed|frames)/i,e.innerHTML)?(ez(e),!0):(Z&&e.nodeType===s0.text&&(t=e.textContent,sx([I,_,L],e=>{t=sw(t,e," ")}),e.textContent!==t&&(sy(a.removed,{element:e.cloneNode()}),e.textContent=t)),eP(E.afterSanitizeElements,e,null),!1)},eq=function(e,t,l){if(ea&&("id"===t||"name"===t)&&(l in s||l in eE))return!1;if(V&&!U[t]&&sS(A,t));else if($&&sS(O,t));else if(!P[t]||U[t]){if(!(eF(e)&&(q.tagNameCheck instanceof RegExp&&sS(q.tagNameCheck,e)||q.tagNameCheck instanceof Function&&q.tagNameCheck(e))&&(q.attributeNameCheck instanceof RegExp&&sS(q.attributeNameCheck,t)||q.attributeNameCheck instanceof Function&&q.attributeNameCheck(t))||"is"===t&&q.allowCustomizedBuiltInElements&&(q.tagNameCheck instanceof RegExp&&sS(q.tagNameCheck,l)||q.tagNameCheck instanceof Function&&q.tagNameCheck(l))))return!1}else if(em[t]);else if(sS(D,sw(l,G,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===sC(l,"data:")&&ed[e]);else if(W&&!sS(z,sw(l,G,"")));else if(l)return!1;return!0},eF=function(e){return"annotation-xml"!==e&&sN(e,M)},eU=function(e){eP(E.beforeSanitizeAttributes,e,null);let{attributes:l}=e;if(!l||eR(e))return;let s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:P,forceKeepAttr:void 0},n=l.length;for(;n--;){let{name:i,namespaceURI:r,value:o}=l[n],c=eT(i),d="value"===i?o:sk(o);if(s.attrName=c,s.attrValue=d,s.keepAttr=!0,s.forceKeepAttr=void 0,eP(E.uponSanitizeAttribute,e,s),d=s.attrValue,es&&("id"===c||"name"===c)&&(eG(i,e),d="user-content-"+d),J&&sS(/((--!?|])>)|<\/(style|title)/i,d)){eG(i,e);continue}if(s.forceKeepAttr||(eG(i,e),!s.keepAttr))continue;if(!Y&&sS(/\/>/i,d)){eG(i,e);continue}Z&&sx([I,_,L],e=>{d=sw(d,e," ")});let u=eT(e.nodeName);if(eq(u,c,d)){if(t&&"object"==typeof x&&"function"==typeof x.getAttributeType){if(r);else switch(x.getAttributeType(u,c)){case"TrustedHTML":d=t.createHTML(d);break;case"TrustedScriptURL":d=t.createScriptURL(d)}}try{r?e.setAttributeNS(r,i,d):e.setAttribute(i,d),eR(e)?ez(e):sf(a.removed)}catch(e){}}}eP(E.afterSanitizeAttributes,e,null)},e$=function e(t){let l=null,a=eD(t);for(eP(E.beforeSanitizeShadowDOM,t,null);l=a.nextNode();)eP(E.uponSanitizeShadowNode,l,null),eH(l),eU(l),l.content instanceof r&&e(l.content);eP(E.afterSanitizeShadowDOM,t,null)};return a.sanitize=function(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=null,i=null,o=null,d=null;if((ey=!e)&&(e="<!-->"),"string"!=typeof e&&!eB(e)){if("function"==typeof e.toString){if("string"!=typeof(e=e.toString()))throw sE("dirty is not a string, aborting")}else throw sE("toString is not a function")}if(!a.isSupported)return e;if(X||e_(l),a.removed=[],"string"==typeof e&&(ei=!1),ei){if(e.nodeName){let t=eT(e.nodeName);if(!R[t]||F[t])throw sE("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof c)(i=(s=eM("<!---->")).ownerDocument.importNode(e,!0)).nodeType===s0.element&&"BODY"===i.nodeName?s=i:"HTML"===i.nodeName?s=i:s.appendChild(i);else{if(!ee&&!Z&&!K&&-1===e.indexOf("<"))return t&&el?t.createHTML(e):e;if(!(s=eM(e)))return ee?null:el?N:""}s&&Q&&ez(s.firstChild);let u=eD(ei?e:s);for(;o=u.nextNode();)eH(o),eU(o),o.content instanceof r&&e$(o.content);if(ei)return e;if(ee){if(et)for(d=k.call(s.ownerDocument);s.firstChild;)d.appendChild(s.firstChild);else d=s;return(P.shadowroot||P.shadowrootmode)&&(d=S.call(n,d,!0)),d}let m=K?s.outerHTML:s.innerHTML;return K&&R["!doctype"]&&s.ownerDocument&&s.ownerDocument.doctype&&s.ownerDocument.doctype.name&&sS(sX,s.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+s.ownerDocument.doctype.name+">\n"+m),Z&&sx([I,_,L],e=>{m=sw(m,e," ")}),t&&el?t.createHTML(m):m},a.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e_(e),X=!0},a.clearConfig=function(){eS=null,X=!1},a.isValidAttribute=function(e,t,l){return eS||e_({}),eq(eT(e),eT(t),l)},a.addHook=function(e,t){"function"==typeof t&&sy(E[e],t)},a.removeHook=function(e,t){if(void 0!==t){let l=sv(E[e],t);return -1===l?void 0:sj(E[e],l,1)[0]}return sf(E[e])},a.removeHooks=function(e){E[e]=[]},a.removeAllHooks=function(){E=s2()},a}(),s4=["div","p","a","strong","em","br","span","blockquote","ul","ol","li","img"],s6=["style","onclick","onerror"],s8=e=>{let{contentsRawHTML:t}=e,[l,a]=(0,_.n_I)("answer-box-component"),s=function(e){if("undefined"==typeof document)return e;{let t=new DOMParser().parseFromString(e,"text/html");for(let e of Array.from(t.querySelectorAll("a"))){let t=(e.getAttribute("href")||"").trim(),l=(e.textContent||"").trim();t&&l||e.remove()}for(let e of Array.from(t.querySelectorAll(".links")))0===Array.from(e.querySelectorAll("a")).filter(e=>{let t=(e.getAttribute("href")||"").trim(),l=(e.textContent||"").trim();return!!t&&!!l}).length&&e.remove();return t.body.innerHTML}}(s3.sanitize(t,{ALLOWED_TAGS:s4,FORBID_ATTR:s6}));return(0,z.jsxs)("div",{className:l(),children:[(0,z.jsx)(_.MpT,{icon:(0,z.jsx)(I.owK,{}),iconSize:_.JhL.normal,title:"Featured Answer",size:_.rUA.small}),(0,z.jsx)("div",{className:a("content"),dangerouslySetInnerHTML:{__html:s}})]})},s7=e=>{let{label:t,tags:l,icon:a,navType:s=_.OYk.Floating_GutterInset_OutsetMask}=e,[n,i]=(0,_.n_I)("masthead-carousel"),r=E.useRef(null);return(0,z.jsxs)(_.lr9,{className:n(),layout:_.nN3.Hugged,gap:"var(--unit-space-2x, 8px)",navType:s,trackRef:r,enableOverlayNavButtons:!0,children:[(0,z.jsxs)("div",{className:i("leading-container"),children:[(0,z.jsx)(a5,{icon:a,label:t}),(0,z.jsx)("div",{className:i("divider-container"),children:(0,z.jsx)(_.izJ,{className:i("divider"),orientation:_.W6r.Vertical,theme:_.qMO.Neutral,hierarchy:_.rks.Variant,variant:_.N7A.Solid,weight:_.Pmb.OnePixel,decorative:!0})})]}),l.map((e,t)=>(0,z.jsx)(_.AfN,{"data-color-accent":"Purple",style:_.cpg.outlined,label:e.tagName,icon:e.icon,href:e.slug},"chip-".concat(t)))]})},s5=e=>{let{microcopy:t,shortTeaser:l,imageUrl:a,inset:s=!1,disableScrim:n=!1,mediaSize:i="large",eyebrowIcon:r,ariaLabel:o,href:c,onClick:d}=e,[u,m]=(0,_.n_I)("marquee-story"),h="".concat(u(s?"inset":void 0)," ").concat(m("container")),p=(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)("div",{className:m("media-".concat(i)),children:(0,z.jsxs)("div",{className:m("media-container"),children:[(0,z.jsxs)("div",{className:m("image-wrapper"),children:[(0,z.jsx)(_.Eep,{className:m("image"),src:a,alt:"".concat(t," thumbnail"),width:200,height:200,disableHoverScrim:!0,title:t}),!n&&(0,z.jsx)("div",{className:m("scrim"),children:(0,z.jsx)(_.ZMr,{})})]}
1),r&&(0,z.jsxs)("div",{className:m("eyebrow"),"aria-hidden":!0,children:[(0,z.jsx)("div",{className:m("eyebrow-backdrop")}),(0,z.jsx)("div",{className:m("eyebrow-icon"),children:(0,z.jsx)("span",{className:m("eyebrow-icon-svg"),children:r})})]})]})}),(0,z.jsxs)("div",{className:m("content"),children:[(0,z.jsx)(_.xvT,{className:m("label"),as:_.Gy$.span,textStyle:{type:_.yGm.caps,size:"Caps / -1"},weight:_.fsE.bold,children:t}),(0,z.jsx)(_.xvT,{className:m("microcopy"),as:_.Gy$.span,textStyle:{type:_.yGm.headline,size:"Headline / -4"},weight:_.fsE.bold,children:l})]})]});return c?(0,z.jsx)("a",{className:"".concat(h," ").concat(u("clickable")),href:c,onClick:d,"aria-label":o,children:p}):(0,z.jsx)("div",{className:h,children:p})},s9=e=>{let{items:t,gap:l="var(--unit-space-6x, 24px)",snapping:a=!0,enableOverlayNavButtons:s=!0,navType:n=_.OYk.Floating_GutterInset_OutsetMask,hideDivider:i=!1}=e;if(!t.length)return null;let[r,o]=(0,_.n_I)("marquee-story-carousel"),c=(0,E.useRef)(null),d=(0,E.useMemo)(()=>Math.max(t.length-1,0),[t.length]);return(0,z.jsx)("div",{className:r(),children:(0,z.jsx)(_.lr9,{trackRef:c,enableOverlayNavButtons:s,layout:_.nN3.Hugged,navType:n,gap:l,snapping:a,"aria-label":"Marquee Story Carousel",children:t.map((e,t)=>(0,z.jsxs)("div",{className:o("item"),children:[(0,z.jsx)(s5,{...e,inset:!1}),!i&&t!==d&&(0,z.jsx)("div",{className:o("divider-wrapper"),children:(0,z.jsx)(_.izJ,{className:o("divider"),orientation:_.W6r.Vertical,theme:_.qMO.Neutral,hierarchy:_.rks.Variant,variant:_.N7A.Solid,weight:_.Pmb.OnePixel,decorative:!0})})]},e.id))})})},ne=e=>{let{badgeText:t,title:l,ctaText:a,ctaSrc:s,backgroundLayerBalloons:n,backgroundLayerMarquees:i,usnwrBadgeAlt:r,usnwrBadgeSrc:o}=e,[c,d]=(0,E.useState)(!1),u=(0,E.useRef)(null),m=()=>{var e;d(e=>!e),null===(e=u.current)||void 0===e||e.pause()},[h,p]=(0,_.n_I)("health-wellness-masthead-section");return(0,z.jsx)("div",{className:h(),children:(0,z.jsxs)(_.W20,{className:p("container"),children:[(0,z.jsxs)(_.inw,{balloonData:n,sizeMode:_.C7k.Fill,children:[(0,z.jsxs)("div",{className:p("content"),children:[(0,z.jsx)(_.Cts,{classes:p("badge"),label:t}),(0,z.jsx)(_.xvT,{className:p("title"),as:_.Gy$.h1,textStyle:{size:"Headline / 4",type:_.yGm.headline},weight:_.fsE.bold,children:l}),s&&a&&(0,z.jsx)(_.zxk,{className:p("cta"),startIcon:(0,z.jsx)(I.o1U,{}),label:a,onClick:m,"data-testid":"cta"})]}),i&&(0,z.jsx)("div",{className:p("marquees"),children:(0,z.jsx)(aa,{orientation:_.Pms.vertical,children:i})}),(0,z.jsx)("div",{className:p("blur")})]}),r&&o&&(0,z.jsx)("div",{className:p("usnwr-badge-wrapper"),"data-testid":"usnwrBadgeWrapper",children:(0,z.jsx)("img",{className:p("usnwr-badge"),alt:r,loading:"lazy",src:o})}),(0,z.jsx)(_.u_l,{classes:p("modal"),open:c,position:_.e1N.CenterHugged,onClose:m,children:(0,z.jsx)(_.u_l.Body,{stickyClose:{bleed:!0,onClick:m},contentSlot:(0,z.jsx)("div",{className:p("video-wrapper"),children:(0,z.jsx)(_.Y7g,{src:s,videoRef:u})})})})]})})},nt=e=>{let{suggestion:t,href:l,classes:a}=e,[s,n]=(0,_.n_I)("did-you-mean");return(0,z.jsxs)(_.xvT,{textStyle:{type:_.yGm.body,size:"Body / 1"},as:_.Gy$.p,weight:_.fsE.semibold,className:"".concat(s()).concat(a?" ".concat(a):""),children:["Did you mean: ",(0,z.jsx)(_.FgE,{href:l,showIcon:!1,children:t})]})},nl=e=>{let{open:t,title:l,body:a,primaryButtonText:s,secondaryButtonText:n,onClose:i,onAcknowledge:r}=e,[o]=(0,_.n_I)("provider-disclosure-modal");return(0,z.jsxs)(_.u_l,{classes:o(),open:t,position:_.e1N.CenterHugged,onClose:i,explicitlySetOpen:!0,children:[(0,z.jsx)(_.u_l.Header,{hasDivider:!1,title:l}),(0,z.jsx)(_.u_l.Body,{contentSlot:a}),(0,z.jsx)(_.u_l.Footer,{contentType:_.ygU.End,hasDivider:!1,primaryAction:(0,z.jsx)(_.zxk,{label:n,theme:_.qMO.Neutral,variant:_.qGe.Outlined,onClick:i}),secondaryAction:(0,z.jsx)(_.zxk,{label:s,onClick:r})})]})},na=((T=na||{}).Before="before",T.Middle="middle",T.After="after",T)}}]);

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.