PageSourceSearch

https://cdn2.yalemedicine.org/build/1647.es2015.a42a436ae941226a64bf.js

js yalemedicine.org collected 2026-09-24 08:31:19 UTC 24,396 bytes, 1 lines download raw bytes

1"use strict";(globalThis.__LOADABLE_LOADED_CHUNKS__||=[]).push([[233,826,1647],{15959(j,c,t){const e="section-heading-load",n="section-heading-unload",r="listening-heading-load-event";var s=null;t.d(c,["Bh",0,r,"K5",0,e,"tc",0,n])},60069(j,c,t){var e=t(53754),n=t(15959),r=t(41833);function s(u,m){e.A.addCustomEventListener(u,n.K5,m,!1)}function A(u,m){e.A.removeCustomEventListener(u,n.K5,m)}function v(u,m){return{id:u,title:m}}function g(u,m){return new CustomEvent(u,{detail:m})}function a(u,m){const M=r.A.getComponentHeading(u);if(M?.id===void 0)return;const y=v(M.id,m);if(document.body.dataset.headingLoadEvent===n.Bh){const W=g(n.K5,y);window.dispatchEvent(W)}else M.dataset.unlistenedHeadingLoadEvent=JSON.stringify(y)}function l(u,m){e.A.addCustomEventListener(u,n.tc,m,!1)}function o(u,m){e.A.removeCustomEventListener(u,n.tc,m)}function E(u,m){const M=r.A.getComponentHeading(u);if(M?.id===void 0)return;const y=v(M.id,m),W=g(n.tc,y);window.dispatchEvent(W)}function x(){Array.from(document.querySelectorAll("[data-unlistened-heading-load-event]")).forEach(u=>{const{dataset:m}=u,M=JSON.parse(m.unlistenedHeadingLoadEvent);delete m.unlistenedHeadingLoadEvent;const y=g(n.K5,M);window.dispatchEvent(y)})}const P={addHeadingLoadListener:s,removeHeadingLoadListener:A,dispatchHeadingLoadEvent:a,redispatchUnlistenedHeadingLoadEvents:x,addHeadingUnloadListener:l,removeHeadingUnloadListener:o,dispatchHeadingUnloadEvent:E};t.d(c,["A",0,P])},45861(j,c,t){t.d(c,{A:()=>s});var e=t(47478),n=t(54526),r=t(60069);function s(A,v){const g=(0,e.useRef)(null);return(0,e.useEffect)(()=>{const a=g.current,l=a&&a.getElementsByClassName(v??n.lS);return l&&l.length>0&&l[0].classList.add(n.N9),r.A.dispatchHeadingLoadEvent(a,A),()=>{l&&l.length>0&&l[0].classList.remove(n.N9),r.A.dispatchHeadingUnloadEvent(a,A)}},[g,A,v]),{sectionRef:g}}},48499(j,c,t){t.d(c,{G:()=>A});var e=t(92422),n=t(83180),r=t(60033),s=t(64660),A=(a=>(a[a.Emerald=n.A.Emerald]="Emerald",a[a.Mint=n.A.Mint]="Mint",a))(A||{});function v({colorMode:a=A.Emerald,url:l}){return(0,e.jsx)(r.Ay,{className:`newsletter-button--${a}`,label:"SIGN UP FOR OUR E-NEWSLETTER",icon:s.A,href:l})}const g=v;t.d(c,["A",0,g])},98009(j,c,t){t.d(c,{A:()=>ht});var e=t(92422),n=t(52156),r=t.n(n),s=t(45248),A=t(21164),v=t(33259),g=t(49665),a=t(29901),l=t(15746),o=t(47478);function E(){return E=Object.assign?Object.assign.bind():function(i){for(var d=1;d<arguments.length;d++){var p=arguments[d];for(var O in p)({}).hasOwnProperty.call(p,O)&&(i[O]=p[O])}return i},E.apply(null,arguments)}const x=(i,d)=>o.createElement("svg",E({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:d},i),o.createElement("path",{d:"M6.5 14.5v9M19 12.5h3.5a1 1 0 0 1 1 1V23a.5.5 0 0 1-.5.5H1a.5.5 0 0 1-.5-.5v-9.5a1 1 0 0 1 1-1H5M17.5 23.5v-9",style:{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}}),o.createElement("circle",{cx:12,cy:7,r:6.5,style:{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}}),o.createElement("path",{d:"M15.5 6a.5.5 0 0 0-.5-.5h-1.5V4a.5.5 0 0 0-.5-.5h-2a.5.5 0 0 0-.5.5v1.5H9a.5.5 0 0 0-.5.5v2a.5.5 0 0 0 .5.5h1.5V10a.5.5 0 0 0 .5.5h2a.5.5 0 0 0 .5-.5V8.5H15a.5.5 0 0 0 .5-.5ZM2.5 16.5h2M2.5 18.5h2M2.5 20.5h2M19.5 16.5h2M19.5 18.5h2M19.5 20.5h2M8.5 17.5h1M8.5 19.5h1M11.5 17.5h1M11.5 19.5h1M14.5 17.5h1M14.5 19.5h1M13.5 23.5h-3V22a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5Z",style:{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}})),u=(0,o.forwardRef)(x);function m(){return m=Object.assign?Object.assign.bind():function(i){for(var d=1;d<arguments.length;d++){var p=arguments[d];for(var O in p)({}).hasOwnProperty.call(p,O)&&(i[O]=p[O])}return i},m.apply(null,arguments)}const M=(i,d)=>o.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:d},i),o.createElement("path",{d:"M22.775 8.664a.5.5 0 0 0 .183-.683l-2-3.464a.5.5 0 0 0-.3-.233.5.5 0 0 0-.379.05L14.5 7.669V1a.5.5 0 0 0-.5-.5h-4a.5.5 0 0 0-.5.5v6.668L3.725 4.334a.5.5 0 0 0-.683.183l-2 3.464a.5.5 0 0 0 .183.683L7 12l-5.775 3.334a.5.5 0 0 0-.183.683l2 3.464a.5.5 0 0 0 .683.183L9.5 16.329V23a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-6.671l5.776 3.335a.5.5 0 0 0 .379.05.5.5 0 0 0 .3-.233l2-3.464a.5.5 0 0 0-.183-.683L17 12Z",style:{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}})),W=(0,o.forwardRef)(M);function K(){return K=Object.assign?Object.assign.bind():function(i){for(var d=1;d<arguments.length;d++){var p=arguments[d];for(var O in p)({}).hasOwnProperty.call(p,O)&&(i[O]=p[O])}return i},K.apply(null,arguments)}const B=(i,d)=>o.createElement("svg",K({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:d},i),o.createElement("g",{"data-name":"10*23"},o.createElement("path",{d:"m7.5 23.5.5-6h2.5V14a5 5 0 0 0-10 0v3.5H3l.5 6Z",style:{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}}),o.createElement("circle",{cx:5.5,cy:4,r:3.5,style:{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}})),o.createElement("g",{"data-name":"10*23 - cut"},o.createElement("g",{"data-name":"<Group>"},o.createElement("path",{d:"M17.439 10.37a5.01 5.01 0 0 0-5.561-.9",style:{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}}),o.createElement("circle",{cx:14,cy:4.5,r:3,style:{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}}))),o.createElement("path",{d:"M18.5 15.5v4M20.5 17.5h-4M18.946 23.415l.461-.176C21.6 22.4 23.5 20.3 23.5 17.957V15.13a.87.87 0 0 0-.523-.8 13.2 13.2 0 0 0-4.5-.832 12.9 12.9 0 0 0-4.459.832.87.87 0 0 0-.523.8v2.827a6.06 6.06 0 0 0 4.057 5.282l.461.176a1.3 1.3 0 0 0 .933 0",style:{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}})),N=(0,o.forwardRef)(B);var L=t(78905);function h(){return h=Object.assign?Object.assign.bind():function(i){for(var d=1;d<arguments.length;d++){var p=arguments[d];for(var O in p)({}).hasOwnProperty.call(p,O)&&(i[O]=p[O])}return i},h.apply(null,arguments)}const f=(i,d)=>o.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:d},i),o.createElement("path",{d:"M13.5 11a2.5 2.5 0 0 1-3 0M23 23.5v-3.106a1.98 1.98 0 0 0-.77-1.579C20.9 17.8 17.73 16 12 16s-8.895 1.8-10.23 2.815A1.98 1.98 0 0 0 1 20.394V23.5M14 8.25a.25.25 0 1 1-.25.25.25.25 0 0 1 .25-.25M10 8.25a.25.25 0 1 1-.25.25.25.25 0 0 1 .25-.25",
1style:{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}}),o.createElement("path",{d:"M18 6.5a6 6 0 0 0-12 0v2a6 6 0 0 0 12 0Z",style:{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}}),o.createElement("path",{d:"M18 6.5c-1.327 0-4.058.337-6-2-1.942 2.337-4.673 2-6 2M12 16v7.5",style:{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}}),o.createElement("circle",{cx:7,cy:22,r:1.5,style:{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}}),o.createElement("path",{d:"M7 20.5v-5M17 20.5v-5M19.5 23.5l-.772-2.316a1 1 0 0 0-.949-.684h-1.558a1 1 0 0 0-.949.684L14.5 23.5",style:{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}})),C=(0,o.forwardRef)(f);function _(){return _=Object.assign?Object.assign.bind():function(i){for(var d=1;d<arguments.length;d++){var p=arguments[d];for(var O in p)({}).hasOwnProperty.call(p,O)&&(i[O]=p[O])}return i},_.apply(null,arguments)}const U=(i,d)=>o.createElement("svg",_({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",ref:d},i),o.createElement("path",{d:"M13.5 11a2.5 2.5 0 0 1-3 0M23 23.5v-3.106a1.98 1.98 0 0 0-.77-1.579C20.9 17.8 17.73 16 12 16s-8.895 1.8-10.23 2.815A1.98 1.98 0 0 0 1 20.394V23.5M14 8.25a.25.25 0 1 1-.25.25.25.25 0 0 1 .25-.25M10 8.25a.25.25 0 1 1-.25.25.25.25 0 0 1 .25-.25M12 16v7.5M7 20v3M5.5 21.5h3",style:{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}}),o.createElement("path",{d:"M14.5 18.75a.25.25 0 1 1-.25.25.25.25 0 0 1 .25-.25M14.5 21.75a.25.25 0 1 1-.25.25.25.25 0 0 1 .25-.25M17 6.975a5 5 0 0 1-.5.025A5 5 0 0 1 12 4.182 5 5 0 0 1 7.5 7a5 5 0 0 1-.5-.025V9.5a5 5 0 0 0 10 0Z",style:{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}}),o.createElement("path",{d:"M19.162 17.169 20.9 16.3a.5.5 0 0 0 .155-.773A8.54 8.54 0 0 1 19 9.964V7.5a7 7 0 0 0-14 0v2.464a8.54 8.54 0 0 1-2.059 5.561.5.5 0 0 0 .159.775l1.742.871",style:{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}})),R=(0,o.forwardRef)(U);var S=t(1339);function V(i){return[a.A.HomePage,a.A.NewsLanding].includes(i)}function F(i){switch(i){case a.A.HomePage:return l.A.HomePage;case a.A.NewsLanding:return l.A.News;case a.A.Specialists:case a.A.AppointmentRelatedUsers:return l.A.SpecialistSearch;case a.A.Department:case a.A.CareTeam:return l.A.Department;case a.A.Trials:return l.A.ClinicalTrialSearch;case a.A.AppointmentSingleUser:return l.A.Specialist;default:return null}}function I(i){switch(i){case a.A.HomePage:case a.A.NewsLanding:return S.A;case a.A.CallCenter:return L.A;case a.A.Specialists:return R;case a.A.Department:return u;case a.A.CareTeam:case a.A.AppointmentRelatedUsers:return N;case a.A.Trials:case a.A.SpecificTrial:return W;case a.A.AppointmentSingleUser:return C;default:throw new Error(`ctaLinkType has unsupported value: ${i}`)}}const H={isCtaWithYMLogoIcon:V,getSearchAnalyticsEntityType:F,getIcon:I};var Q=t(60162),Z=t(79178);function w({link:i,colorMode:d}){const{type:p,url:O,text:b,accessibleText:et}=i,q=r()("cta-link",`cta-link--${d}`),tt=I(p),nt=r()("cta-link__icon-container",{"cta-link__icon-container--with-ym-logo":H.isCtaWithYMLogoIcon(p)}),rt=H.getSearchAnalyticsEntityType(p),it=g.A.getLinkAnalyticsAttribute(i);return(0,e.jsx)(Z.A,{data:null,children:(0,e.jsx)(Q.A,{analyticsType:A.A.CtaLinkClick,resultType:rt,children:(0,e.jsxs)(v.A,{href:O,analyticsAttribute:it,"aria-label":et??b,className:q,children:[tt&&(0,e.jsx)("span",{className:nt,children:(0,e.jsx)(s.A,{icon:tt,className:"cta-link__icon"})}),b]})})})}var G=t(19687),X=t(60033),Y=(i=>(i.Url="url",i.PhoneNumber="phone",i))(Y||{});const k=Y;var z=t(76480),J=t(93516),at=t(65296),lt=t(60461),mt=t(95129),ut=t(38984),ot=(i=>(i.RelatedArticle="normal",i.Contrast="contrast",i))(ot||{});function ct(i){const{data:{heading:d,title:p,linkLabel:O,image:b,url:et,phone:q,linkType:tt},colorMode:nt,backgroundColorMode:rt,type:it}=i,dt=(0,o.useMemo)(()=>tt===k.PhoneNumber&&q?G.A.getPhoneContactLinkModel(q).url:et??void 0,[tt,et,q]),At=r()("cta-related-article",`cta-related-article--color-mode--${nt}`),Et=r()("cta-related-article__container",`cta-related-article__container--${rt}`,{"cta-related-article__container--with-image":!!b}),vt=g.A.buildBodyAttributeValue("yalemedicine-customlink",it,dt);return(0,e.jsx)(J.A,{children:(0,e.jsx)("section",{className:At,"aria-label":"CTA link",children:(0,e.jsxs)(v.A,{className:"cta-related-article__card-link","aria-label":d,href:dt,analyticsAttribute:vt,children:[(0,e.jsx)(z.A,{className:"cta-related-article__heading",children:d}),(0,e.jsxs)("div",{className:Et,children:[p&&(0,e.jsx)("div",{className:"cta-related-article__title",children:p}),b&&(0,e.jsx)("div",{className:"cta-related-article__image",children:(0,e.jsx)(at.A,{...mt.A.getCropHTMLAttributesFromModel(b,lt.A.Ratio16to9),aspectRatio:lt.A.Ratio16to9,colorMode:nt})}),(0,e.jsx)("div",{className:"cta-related-article__link-container",children:(0,e.jsx)(X.Ay,{styleMode:X.Xx.Secondary,label:O,className:"cta-related-article__link",icon:ut.A,tabIndex:-1})})]})]})})})}var st=t(20293);function ht({link:i,colorMode:d,backgroundColorMode:p}){if(i.type===a.A.RelatedArticle){const O=d===st.A.White?st.A.Mint:d;return(0,e.jsx)(ct,{type:ot.RelatedArticle,data:i.relatedArticle,colorMode:O,backgroundColorMode:p})}return i.type===a.A.ContrastLink?(0,e.jsx)(ct,{type:ot.Contrast,data:i.relatedArticle,colorMode:st.A.YaleBlue,backgroundColorMode:p}):(0,e.jsx)(w,{link:i,colorMode:d})}},50457(j,c,t){t.d(c,{A:()=>a,U:()=>g});var e=t(92422),n=t(52156),r=t.n(n),s=t(60033),A=t(76480),v=t(93516),g=(l
1=>(l.MidnightBlue="midnight-blue",l.Mint="mint",l))(g||{});function a(l){const{url:o,description:E,analyticsAttribute:x,theme:P="midnight-blue",containerClassName:u,className:m}=l,M=r()("specialist-appointment-cta__container",`specialist-appointment-cta__container--${P}`,m);return(0,e.jsx)(v.A,{children:(0,e.jsx)("section",{className:u,children:(0,e.jsxs)("div",{className:M,children:[(0,e.jsx)(A.A,{className:"specialist-appointment-cta__heading",children:"Connect with a specialist"}),E&&(0,e.jsx)("p",{className:"specialist-appointment-cta__description",children:E}),(0,e.jsx)(s.Ay,{className:"specialist-appointment-cta__button",label:"Schedule an Appointment",href:o,analyticsAttribute:x})]})})})}},58113(j,c,t){var e=t(83180),n=(s=>(s[s.Gray=e.A.Gray]="Gray",s[s.White=e.A.White]="White",s))(n||{});const r=n;t.d(c,["A",0,r])},20293(j,c,t){var e=t(83180),n=(s=>(s[s.Emerald=e.A.Emerald]="Emerald",s[s.Mint=e.A.Mint]="Mint",s[s.White=e.A.White]="White",s[s.YaleBlue=e.A.YaleBlue]="YaleBlue",s))(n||{});const r=n;t.d(c,["A",0,r])},81424(j,c,t){t.d(c,{A:()=>x});var e=t(92422),n=t(47478),r=t(52156),s=t.n(r),A=t(11226),v=t(62735),g=t(59356),a=t(80650),l=t(52905),o=t(62206);const E=5e3;function x({ref:P,photo:u,aspectRatio:m}){const M=(0,n.useRef)(0),{url:y,altText:W,credit:K,caption:B}=u,{width:$}=(0,v.A)(),[N,L]=(0,n.useState)(),h=(0,n.useRef)(null),{shouldIgnoreClickOnImage:f,isDisplayedOnTouchDevice:T,isImageLoaded:C,isExpandedModalOpen:_,hideExpandedModal:U,showExpandedModal:D,onImageClick:R,onImageLoad:S}=(0,o.A)(),V=B?(0,e.jsx)(A.A,{html:B,className:"hero-photo__caption",containerTag:"div"}):null,F=K?(0,e.jsxs)("span",{className:"hero-photo__credit",children:["Credit: "," ",K]}):null,[I,H]=(0,n.useState)(!0),Q=I&&C&&(!!F||!!V);(0,n.useEffect)(()=>{const J=h.current?h.current.clientHeight:0;L({bottom:J})},[$,Q]);const Z=()=>{H(!I)},w=()=>{T||(window.clearTimeout(M.current),H(!0))},G=(0,n.useCallback)(()=>{M.current=window.setTimeout(()=>{I&&H(!1)},E)},[I]),X=()=>{f&&Z()};(0,n.useEffect)(()=>(G(),()=>clearTimeout(M.current)),[G]);const Y=s()("hero-photo",{"hero-photo--with-touch-reaction":T}),k=s()("hero-photo__details-container",{"hero-photo__details-container--visible ":I}),z=W??void 0;return(0,e.jsxs)("figure",{ref:P,className:Y,onClick:X,onMouseEnter:w,onMouseLeave:G,children:[(0,e.jsx)(l.A,{className:"hero-photo__image",alt:z,src:y,aspectRatio:m,withPlaceholder:!0,onLoad:S,onClick:R}),C&&(0,e.jsxs)(n.Fragment,{children:[(0,e.jsx)("div",{className:"hero-photo__expand-button-wrapper",style:N,children:(0,e.jsx)(g.A,{imageAlt:z,onClick:D})}),(0,e.jsx)(a.A,{imageUrl:y,imageAlt:z,isModalOpen:_,onModalClose:U})]}),Q&&(0,e.jsxs)("figcaption",{ref:h,className:k,children:[V,F]})]})}},41349(j,c,t){var e=(r=>(r.Left="left",r.Right="right",r.None="none",r))(e||{});const n=e;t.d(c,["A",0,n])},40153(j,c,t){var e=t(83180),n=(s=>(s[s.Mint=e.A.Mint]="Mint",s[s.Emerald=e.A.Emerald]="Emerald",s))(n||{});const r=n;t.d(c,["A",0,r])},92348(j,c,t){t.d(c,{A:()=>n});var e=t(47478);function n(){const[r,s]=(0,e.useState)(null),A=(0,e.useCallback)(v=>{s(v)},[]);return{elementNode:r,elementNodeRefCallback:A}}},57354(j,c,t){t.d(c,{A:()=>N});var e=t(92422),n=t(47478),r=t(23079),s=t(28685),A=t(80752),v=t(58362),g=t(59946),a=t(60461),l=t(24828),o=t(41349),E=t(24221);const x="captionSide",P="imageLeft",u="imageFull";function m(L){return h=>{switch(h){case E.A.Lg:case E.A.Sm:return L;case E.A.Md:case E.A.Xsm:case E.A.Xxsm:default:return l.A.Bottom}}}function M(L){return L.dataset.ymLayout??null}function y(L){switch(L.dataset.ymCrop??null){case"1x1":return a.A.Ratio1to1;case"2x3":return a.A.Ratio2to3;case"3x2":return a.A.Ratio3to2;case"3x4":return a.A.Ratio3to4;case"16x9":return a.A.Ratio16to9;case"32x9":return a.A.Ratio32to9;default:return a.A.Ratio16to9}}function W(L){const h=M(L);return h?.includes(x)?h.includes(P)?l.A.Right:l.A.Left:l.A.Bottom}function K(L){const h=M(L);return!h||h.includes(x)||h.includes(u)?o.A.None:h.includes(P)?o.A.Left:o.A.Right}const B={parsePhotoRatio:y,parsePhotoDetailsAlignmentMode:W,parsePhotoFloatingMode:K,createPhotoDetailsAlignmentModeGetter:m};function $({container:L,className:h,colorMode:f,photoWrapperClassNameGetter:T,photoDetail
1sAlignmentModeGetterCreator:C}){const _=Array.from(L.querySelectorAll("figure")).filter(D=>{const R=D.dataset.ymLayout;return!!R&&R.startsWith("image")});if(s.A.isNullOrEmptyArray(_))return null;const U=_.map(D=>{const R=D.querySelector("noscript");if(!R?.textContent)return null;const S=new DOMParser().parseFromString(R.textContent,"text/html").querySelector("img");if(!S)return null;const{src:V,title:F,alt:I,dataset:H}=S,{originalSrc:Q}=H,Z=D.querySelector("figcaption")?.innerHTML??null,w=D.dataset.ymCredit??null,G=B.parsePhotoRatio(D),X=B.parsePhotoDetailsAlignmentMode(D),Y=C?C(X):B.createPhotoDetailsAlignmentModeGetter(X),k=B.parsePhotoFloatingMode(D),z=T?T(k):null,J=g.A.createWrapperElement(v.A.Photo,z);D.parentElement.replaceChild(J,D);const at={url:Q??V,title:null,altText:I||F,caption:Z,credit:w,imageVariants:[]};return r.createPortal((0,e.jsx)(A.A,{photo:at,aspectRatio:G,className:h,colorMode:f,detailsAlignmentModeGetter:Y}),J)});return(0,e.jsx)(n.Fragment,{children:U})}const N=(0,n.memo)($)},76585(j,c,t){t.d(c,{A:()=>h});var e=t(92422),n=t(47478),r=t(23079),s=t(28685),A=t(52156),v=t.n(A),g=t(11226),a=t(37880),l=(f=>(f.Left="left",f.Right="right",f))(l||{});const o=l;var E=t(40153);function x(f){let _=f;return f.startsWith("\u201C")||(_=`\u201C${f}`),f.endsWith("\u201D")||(_=`${_}\u201D`),_}function P({colorMode:f=E.A.Emerald,alignmentMode:T=o.Left,quote:C}){const{text:_,attribution:U,url:D}=C,R=v()("quote",`quote--${f}`,`quote--${T}-aligned`),S=x(_);return(0,e.jsx)(a.A,{zLayer:1,children:(0,e.jsxs)("blockquote",{className:R,cite:D??void 0,children:[(0,e.jsx)(g.A,{className:"quote__text",html:S,containerTag:"p"}),U&&(0,e.jsxs)("footer",{className:"quote__attribution",children:["\u2014 ",U]})]})})}const u=P;class m{constructor(T,C=null,_=null){this.text=T,this.attribution=C,this.url=_}}var M=t(58362),y=t(59946);function W(f){return f.classList.contains("align-right")?o.Right:o.Left}const K={parseAlignmentMode:W},B="figure blockquote",$="p",N="figcaption";function L({colorMode:f=E.A.Emerald,container:T,wrapperClassName:C}){const _=Array.from(T.querySelectorAll(`${B}`));if(s.A.isNullOrEmptyArray(_))return null;const U=_.map(D=>{const R=D.querySelector(`${$}`),S=R.innerHTML,V=D.querySelector(`${N}`)?.innerHTML,F=K.parseAlignmentMode(R),I=y.A.createWrapperElement(M.A.Quote,C);D.parentElement.replaceChild(I,D);const H=new m(S,V);return r.createPortal((0,e.jsx)(u,{quote:H,colorMode:f,alignmentMode:F}),I)});return(0,e.jsx)(n.Fragment,{children:U})}const h=(0,n.memo)(L)},92419(j,c,t){t.r(c),t.d(c,{default:()=>g});var e=t(92422),n=t(47478),r=t(23079),s=t(58362),A=t(59946),v=t(50074);class g extends n.PureComponent{render(){const{container:l,analyticsAttributeGetter:o,inlineMediaItems:E}=this.props;return Array.from(l.querySelectorAll("video, iframe")).map(P=>{const u=A.A.getMediaItemDetails(P,E);if(!u)return P.parentNode.removeChild(P),null;const m=A.A.createWrapperElement(s.A.Video,"videos-integrator");P.nodeName.toLowerCase()==="video"&&P.parentElement.removeAttribute("class"),P.parentNode.replaceChild(m,P);const M=o?.(u.media),y=(0,e.jsx)("div",{className:"videos-integrator__container",children:(0,e.jsx)(v.default,{video:u.media,analyticsAttribute:M})});return r.createPortal(y,m)})}}},58362(j,c,t){var e=(r=>(r.Quote="quote",r.Photo="photo",r.Slideshow="slideshow",r.Video="video",r))(e||{});const n=e;t.d(c,["A",0,n])},59946(j,c,t){var e=t(52156),n=t.n(e);const r="content-integration__wrapper";function s(a,l){const o=a.getAttribute(l);return o!=="null"?o:null}function A(a,l){const o=document.createElement("div");return o.className=n()(r,`${r}--${a}`,l),o}function v(a,l){const o=s(a,"data-media-item-id");if(!o)return null;const E=l.find(u=>u.id===+o);if(!E?.media)return null;const x=s(a,"data-title"),P=s(a,"data-caption");return"title"in E.media&&x&&(E.media.title=x),"description"in E.media&&(E.media.description=P),E}const g={createWrapperElement:A,getAttribute:s,getMediaItemDetails:v};t.d(c,["A",0,g])},74305(j,c,t){t.r(c),t.d(c,{default:()=>$});var e=t(92422),n=t(47478),r=t(59756),s=t(92348),A=t(45861),v=t(88228),g=t(47955),a=t(91480),l=t(48803),o=t(14423),E=t(62735),x=t(69411),P=t(76480),u=t(93516),m=t(80935),M=t(98521);function y(N){const{video:L,player:h,shouldShowDate:f,analyticsAttribute:T,onClick:C}=N,{title:_,description:U,videoUrl:D,uploadDate:R}
1=L,S=o.A.getDateTimeStringExtended(R,a.Z9,"utc"),V=o.A.getDateTimeStringExtended(R,a.Uv,"utc"),{isMobileVersion:F}=(0,n.use)(l.p1),{width:I}=(0,E.A)(),[H,Q]=(0,n.useState)(void 0);(0,n.useEffect)(()=>{const Y=h&&!F?h.offsetHeight:void 0;Q(Y)},[F,h,I]);const{containerRef:Z,slaveRef:w,slaveLinesCount:G,onTruncate:X}=(0,M.A)();return(0,e.jsx)(u.A,{children:(0,e.jsxs)("div",{ref:Z,style:{height:H,maxHeight:H},className:"video-details-info",children:[f&&(0,e.jsx)("time",{className:"video-details-info__date",dateTime:S,children:V}),(0,e.jsx)(P.A,{className:"video-details-info__title",children:(0,e.jsx)(m.A,{lines:4,tagName:"span",onTruncate:X,children:_})}),U&&(0,e.jsx)("div",{ref:w,className:"video-details-info__description",children:(0,e.jsx)(m.A,{lines:G,children:U})}),C&&(0,e.jsx)("div",{className:"video-details-info__action-container",children:(0,e.jsx)(x.Ay,{className:"video-details-info__action-link",styleMode:x.hO.Book,label:"View details",ariaAttributes:{ariaLabel:`Get more details about ${_}`},analyticsAttribute:T,href:D,onClick:C})})]},I)})}var W=t(11381),K=t(84104);function B(N){const{video:L,analyticsAttribute:h,playerRefCallback:f}=N,{id:T,title:C,videoUrl:_,videoType:U,thumbnailUrl:D,adaptiveStreamingUrl:R,progressiveDownloadUrl:S,transcriptUrl:V}=L;return(0,e.jsx)("div",{className:"video-details-player",children:(0,e.jsx)("div",{ref:f,children:(0,e.jsx)(K.A,{id:T,title:C,url:_,thumbnailUrl:D,videoType:U,analyticsAttribute:h,adaptiveStreamingUrl:R,progressiveDownloadUrl:S,transcriptUrl:V})})})}function $(N){const{video:L,hasDetailsModal:h,shouldShowDate:f,analyticsAttribute:T}=N,{id:C,title:_}=L,[U,D,R]=(0,r.A)(`video-details-modal-${C}`),S=(0,n.useCallback)(H=>{H.preventDefault(),D()},[D]),{elementNode:V,elementNodeRefCallback:F}=(0,s.A)(),{sectionRef:I}=(0,A.A)(_);return(0,e.jsxs)("article",{ref:I,className:"video-details","aria-label":_,children:[(0,e.jsx)(B,{video:L,playerRefCallback:F,analyticsAttribute:T}),(0,e.jsx)(y,{video:N.video,player:V,shouldShowDate:f,onClick:h?S:null}),h&&(0,e.jsx)(v.A,{isModalOpen:U,modalHeightMode:g.A.Large,pageShareUrl:N.video.shareUrl??"",hasSharePanel:!0,onClose:R,children:(0,e.jsx)(W.A,{video:L,autoplay:!1,analyticsAttribute:T})})]})}},11381(j,c,t){t.d(c,{A:()=>o});var e=t(92422),n=t(11226),r=t(91480),s=t(14423),A=t(37880),v=t(76480),g=t(93516),a=t(96010),l=t(84104);function o({video:E,autoplay:x,analyticsAttribute:P}){const{id:u,title:m,description:M,credits:y,uploadDate:W,videoUrl:K,videoType:B,thumbnailUrl:$,adaptiveStreamingUrl:N,progressiveDownloadUrl:L,transcriptUrl:h}=E,f=s.A.getDateTimeStringExtended(W,r.Z9,"utc"),T=s.A.getDateTimeStringExtended(W,r.Uv,"utc");return(0,e.jsx)(A.A,{zLayer:1,children:(0,e.jsx)("article",{className:"video-details-modal-content",children:(0,e.jsx)(a.A,{className:"video-details-modal-content__scrollbar",children:(0,e.jsxs)("div",{className:"video-details-modal-content__content",children:[(0,e.jsx)(l.A,{id:u,url:K,videoType:B,thumbnailUrl:$,adaptiveStreamingUrl:N,progressiveDownloadUrl:L,transcriptUrl:h,autoplay:x,analyticsAttribute:P}),(0,e.jsx)(g.A,{children:(0,e.jsxs)("div",{className:"video-details-modal-content__info-container",children:[(0,e.jsx)("time",{className:"video-details-modal-content__date",dateTime:f,children:T}),(0,e.jsx)(v.A,{className:"video-details-modal-content__title",children:(0,e.jsx)(n.A,{html:m,containerTag:"p"})}),M&&(0,e.jsx)(n.A,{className:"video-details-modal-content__description",html:M}),y&&(0,e.jsx)(n.A,{className:"video-details-modal-content__credits",html:y})]})})]})})})})}},50074(j,c,t){t.r(c),t.d(c,{default:()=>r});var e=t(92422),n=t(74305);function r({video:s,analyticsAttribute:A,shouldShowDate:v}){return(0,e.jsx)(n.default,{video:s,analyticsAttribute:A,shouldShowDate:v,hasDetailsModal:!0})}}}]);

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.