1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8448,932,6228,9291,2613,7194,6696,3770,1756],{25927:function(e,l,t){"use strict";t.r(l);var n=t(85893),i=t(16850);let o=e=>{var l,t;return(0,n.jsx)("div",{"data-testid":"audios",children:null==e?void 0:null===(l=e.data)||void 0===l?void 0:null===(t=l.docs)||void 0===t?void 0:t.map((l,t)=>(0,n.jsx)(i.default,{index:t,queryUrl:null==e?void 0:e.queryUrl,element:l,media:null==e?void 0:e.media},t))})};l.default=o},70434:function(e,l,t){"use strict";t.r(l);var n=t(85893),i=t(74335);let o=e=>{var l,t;return(0,n.jsx)("div",{"data-testid":"BiodigitalContent",children:null==e?void 0:null===(l=e.data)||void 0===l?void 0:null===(t=l.docs)||void 0===t?void 0:t.map((l,t)=>(0,n.jsx)(i.default,{queryUrl:null==e?void 0:e.queryUrl,index:t,element:l,media:null==e?void 0:e.media},t))})};l.default=o},72244:function(e,l,t){"use strict";t.r(l);var n=t(85893),i=t(71537);let o=e=>{var l,t;return(0,n.jsx)(n.Fragment,{children:null==e?void 0:null===(l=e.data)||void 0===l?void 0:null===(t=l.docs)||void 0===t?void 0:t.map((l,t)=>(0,n.jsx)(i.default,{queryUrl:null==e?void 0:e.queryUrl,index:t,element:l,media:null==e?void 0:e.media},t))})};l.default=o},37196:function(e,l,t){"use strict";t.r(l);var n=t(85893),i=t(6877);let o=e=>{var l,t;return(0,n.jsx)(n.Fragment,{children:null==e?void 0:null===(l=e.data)||void 0===l?void 0:null===(t=l.docs)||void 0===t?void 0:t.map((l,t)=>(0,n.jsx)(i.default,{element:l,media:null==e?void 0:e.media,index:t,queryUrl:null==e?void 0:e.queryUrl},t))})};l.default=o},29870:function(e,l,t){"use strict";t.r(l);var n=t(85893),i=t(15612),o=t.n(i),d=t(65313),a=t(89755),u=t.n(a),r=t(67294),s=t(58483),v=t(5152),c=t.n(v),m=t(43959),_=t(22556),h=t(69998),p=t(32862),g=t(10627),f=t(5817);let x=c()(()=>Promise.all([t.e(2978),t.e(1843),t.e(1768),t.e(1325),t.e(6366),t.e(2731),t.e(907),t.e(259),t.e(5911),t.e(4813),t.e(2855),t.e(7180),t.e(4974),t.e(7232),t.e(2383)]).then(t.bind(t,97232)).then(e=>e.default),{loadableGenerated:{webpack:()=>[97232]},loading:()=>(0,n.jsx)(n.Fragment,{}),ssr:!1}),y=e=>{var l,t,i,a,v,c,y,C,T,b,I;let{t:S}=(0,_.QT)(),{sitecoreContext:N}=(0,p.z)(),w=null==N?void 0:null===(l=N.language)||void 0===l?void 0:l.toLowerCase(),[j,L]=(0,r.useState)(!1),{edition:P}=(0,r.useContext)(f.ZP),[D,k]=(0,r.useState)(!1),[M,A]=(0,r.useState)({Title:"",Description:"",Credits:"",ItemId:"",UniqueId:"",topicIds:{targetItems:[]},MediaURL:"",ContentType:""});(0,r.useEffect)(()=>{setTimeout(()=>{var e;null==x||null===(e=x.render)||void 0===e||e.preload()},2e3)},[]),(0,r.useEffect)(()=>{U()},[]);let U=()=>{var l,t,n,i,o,d,a,u,r,s,v,c,m,_,p,g,f,x,y,C,T;let b=(null==e?void 0:null===(l=e.element)||void 0===l?void 0:l.inthistopicscomputed_s)?null==e?void 0:null===(t=e.element)||void 0===t?void 0:t.inthistopicscomputed_s:"";b=JSON.parse(b);let I=[];Array.isArray(b)&&(null==b||b.map(e=>I.push({displayName:null==e?void 0:e.TopicName,ContentType:{value:null==e?void 0:e.ContentType},url:{path:null==e?void 0:e.Url},Title:{value:null==e?void 0:e.Title}}))),A({Title:(null==e?void 0:null===(n=e.element)||void 0===n?void 0:n.titlecomputed_t)?null==e?void 0:null===(i=e.element)||void 0===i?void 0:i.titlecomputed_t:"",Description:(null==e?void 0:null===(o=e.element)||void 0===o?void 0:o.descriptioncomputed_t)?null==e?void 0:null===(d=e.element)||void 0===d?void 0:d.descriptioncomputed_t:"",Credits:(null==e?void 0:null===(a=e.element)||void 0===a?void 0:a.vasontcopyright_t)?null==e?void 0:null===(u=e.element)||void 0===u?void 0:u.vasontcopyright_t:"",ItemId:(null==e?void 0:null===(r=e.element)||void 0===r?void 0:r.uniqueid_t)?null==e?void 0:null===(s=e.element)||void 0===s?void 0:s.uniqueid_t:"",UniqueId:(null==e?void 0:null===(v=e.element)||void 0===v?void 0:v.uniqueid_t)?null==e?void 0:null===(c=e.element)||void 0===c?void 0:c.uniqueid_t:"",topicIds:{targetItems:I},ContentType:h.Media.Image,MediaURL:(null==e?void 0:null===(m=e.element)||void 0===m?void 0:m.coverimageurlcomputed_s)?null==e?void 0:null===(_=e.element)||void 0===_?void 0:_.coverimageurlcomputed_s:"",ShareUrl:(null==e?void 0:null===(p=e.element)||void 0===p?void 0:p.relativeurlcomputed_s)?null==e?void 0:null===(g=e.element)||void 0===g?void 0:g.relativeurlcomputed_s:"",dwnWidth:null==e?void 0:null===(f=e.element)||void 0===f?void 0:f.width_t,dwnHeight:null==e?void 0:null===(x=e.element)||void 0===x?void 0:x.height_t,ResourceContentType:(null==e?void 0:null===(y=e.element)||void 0===y?void 0:y.contenttype_s)?null==e?void 0:null===(C=e.element)||void 0===C?void 0:C.contenttype_s:""}),k(!!(null==e?void 0:null===(T=e.element)||void 0===T?void 0:T.isrestricted_b))},R=()=>{var l,t,n,i;(0,g.oR)(h.Media.Image,null==e?void 0:null===(l=e.element)||void 0===l?void 0:l.titlecomputed_t,P,null==e?void 0:null===(t=e.element)||void 0===t?void 0:t.uniqueid_t),L(!0),(0,m.h)(null==e?void 0:null===(n=e.element)||void 0===n?void 0:n.titlecomputed_t,null==e?void 0:e.queryUrl,(null==e?void 0:null===(i=e.element)||void 0===i?void 0:i.relativeurlcomputed_s)+"?query="+(null==e?void 0:e.queryUrl),(null==e?void 0:e.index)?(null==e?void 0:e.index)+1:null,w)};return(0,n.jsxs)("div",{className:"".concat(o().imageContainer," ").concat(e.isAIEnabled&&o().aiImageContainer),"data-testid":"searchImage",children:[(0,n.jsx)("div",{className:o().type,children:(0,n.jsx)("div",{className:"resourceTag",children:S("Image")})}),(0,n.jsxs)("div",{className:"".concat(o().imageItemAllTab," ").concat((null==e?void 0:null===(t=e.media)||void 0===t?void 0:t.includes(h.Media.MEDIA_PRINT))&&o().disableAllTabImageItem),onClick:R,onKeyDown:e=>{"Enter"===e.key&&R()},tabIndex:0,role:"button",children:[(0,n.jsx)("div",{className:o().imageWrap,children:(0,n.jsx)(u(),{src:(null==e?void 0:null===(i=e.element)||void 0===i?void 0:i.coverimageurlcomputed_s)?(0,d.CreateImageUrlPrefix)(null==e?void 0:null===(a=e.element)||void 0===a?void 0:a.coverimageurlcomputed_s):"",alt:(null==e?void 0:null===(v=e.element)||void 0===v?void 0:v.alt_t)?null==e?void 0:null===(c=e.element)||void 0===c?void 0:c.alt_t:"",height:0,width:0,"data-pin-nopin":(null==e?void 0:null===(y=e.element)||void 0===y?void 0:y.isrestricted_b)?"true":null,loader:e=>(0,d.customImageLoader)(e,{mw:200})})}),(0,n.jsxs)("div",{className:o().titleWrap,children:[(0,n.jsx)("h3",{dangerouslySetInnerHTML:{__html:(null==e?void 0:null===(C=e.element)||void 0===C?void 0:C.titlecomputed_t)?null==e?void 0:null===(T=e.element)||void 0===T?void 0:T.titlecomputed_t:""},className:"".concat((null==e?void 0:e.clientTheme)?"clientFontColor":""," ").concat(o().imageTitle)}),(0,n.jsx)("div",{className:o().description,dangerouslySetInnerHTML:{__html:(null==e?void 0:null===(b=e.element)||void 0===b?void 0:b.descriptioncomputed_t)?null==e?void 0:null===(I=e.element)||void 0===I?void 0:I.descriptioncomputed_t:""}})]})]}),j&&(0,n.jsx)(s.default,{show:j,handleClose:()=>L(!1),modalTitle:S("Image"),size:"xl",showFullScreen:!0,children:(0,n.jsx)(x,{content:M,fromSearch:!0,isShareRestricted:D})})]})};l.default=y},16280:function(e,l,t){"use strict";t.r(l);var n=t(85893),i=t(35187),o=t(67294),d=t(89755),a=t.n(d),u=t(15612),r=t.n(u),s=t(58483),v=t(5152),c=t.n(v),m=t(22556),_=t(65313),h=t(69998),p=t(4187),g=t(10627),f=t(5817),x=t(43959),y=t(32862);let C=c()(()=>Promise.all([t.e(2978),t.e(1843),t.e(1768),t.e(1325),t.e(6366),t.e(2731),t.e(907),t.e(259),t.e(5911),t.e(4813),t.e(2855),t.e(7180),t.e(4974),t.e(7232),t.e(2383)]).then(t.bind(t,97232)).then(e=>e.default),{loadableGenerated:{webpack:()=>[97232]},loading:()=>(0,n.jsx)(n.Fragment,{}),ssr:!1}),T=e=>{var l;let{edition:t,pinterestLoadingPriority:d,mediaObj:u}=(0,o.useContext)(f.ZP),{sitecoreContext:v}=(0,y.z)(),c=null==v?void 0:null===(l=v.language)||void 0===l?void 0:l.toLowerCase(),[T,b]=(0,o.useState)(0),[I,S]=(0,o.useState)([]),[N,w]=(0,o.useState)({Title:"",Description:"",Credits:"",ItemId:"",UniqueId:"",topicIds:{targetItems:[]},MediaURL:"",ContentType:""}),[j,L]=(0,o.useState)(!1),[P,D]=(0,o.useState)(!1),[k,M]=(0,o.useState)(0),{t:A}=(0,m.QT)();(0,o.useEffect)(()=>{setTimeout(()=>{var e;null==C||null===(e=C.render)||void 0===e||e.preload()},2e3)},[]),(0,o.useEffect)(()=>{let l=(0,i.getSearchResultsImagesParam)(null==e?void 0:e.query,null==e?void 0:e.language,null==e?void 0:e.startIndex,!1,"SearchResult",null==e?void 0:e.refineFilter,null==e?void 0:e.VetFilterData,t);l&&U(l)},[null==e?void 0:e.language,null==e?void 0:e.query,null==e?void 0:e.startIndex]),(0,o.useEffect)(()=>{var e,l;let t=null;if(null==window?void 0:null===(e=window.location)||void 0===e?void 0:e.search){let e=new URLSearchParams(null==window?void 0:null===(l=window.location)||void 0===l?void 0:l.search);t=e?e.get("query"):null}if(t&&(null==I?void 0:I.length)>0){let e=null==I?void 0:I.map((e,l)=>({cDocId:(null==e?void 0:e.relativeurlcomputed_s)+"?query="+t,cDocTitle:(null==e?void 0:e.titlecomputed_t)?null==e?void 0:e.titlecomputed_t:"",position:l+1}));(0,x.g)(t,e,null==I?void 0:I.length,T,c||"",1)}},[I.length]);let U=async l=>{if(!e.shouldFetchImageData)return;let t=await fetch("".concat((0,p.Q)(),"/api/search/search?").concat(l)),n=await (null==t?void 0:t.json());if((null==n?void 0:n.status)===200){var i,o,d,a,u,r;S(null==n?void 0:null===(i=n.data)||void 0===i?void 0:null===(o=i.response)||void 0===o?void 0:o.docs),null==e||e.getImageData(null==n?void 0:null===(d=n.data)||void 0===d?void 0:null===(a=d.response)||void 0===a?void 0:a.docs),b(null==n?void 0:null===(u=n.data)||void 0===u?void 0:null===(r=u.response)||void 0===r?void 0:r.numFound)}},R=(l,n)=>{(0,x.h)(null==l?void 0:l.title_t,null==e?void 0:e.queryUrl,(null==l?void 0:l.relativeurlcomputed_s)+"?query="+(null==e?void 0:e.queryUrl),n+1,c);let i=(null==l?void 0:l.inthistopicscomputed_s)?null==l?void 0:l.inthistopicscomputed_s:"";i=JSON.parse(i);let o=[];Array.isArray(i)&&(null==i||i.map(e=>o.push({displayName:null==e?void 0:e.TopicName,url:{path:null==e?void 0:e.Url},ContentType:{value:null==e?void 0:e.ContentType},Title:{value:null==e?void 0:e.Title}}))),w({Title:(null==l?void 0:l.titlecomputed_t)?null==l?void 0:l.titlecomputed_t:"",Description:(null==l?void 0:l.descriptioncomputed_t)?null==l?void 0:l.descriptioncomputed_t:"",Credits:(null==l?void 0:l.vasontcopyright_t)?null==l?void 0:l.vasontcopyright_t:"",ItemId:(null==l?void 0:l.uniqueid_t)?null==l?void 0:l.uniqueid_t:"",UniqueId:(null==l?void 0:l.uniqueid_t)?null==l?void 0:l.uniqueid_t:"",topicIds:{targetItems:o},ContentType:h.Media.Image,MediaURL:(null==l?void 0:l.coverimageurlcomputed_s)?null==l?void 0:l.coverimageurlcomputed_s:"",ShareUrl:(null==l?void 0:l.relativeurlcomputed_s)?null==l?void 0:l.relativeurlcomputed_s:"",dwnWidth:null==l?void 0:l.width_t,dwnHeight:null==l?void 0:l.height_t,ResourceContentType:(null==l?void 0:l.contenttype_s)?null==l?void 0:l.contenttype_s:""}),(0,g.oR)(null==l?void 0:l.itemtypenamecomputed_s,null==l?void 0:l.titlecomputed_t,t,null==l?void 0:l.uniqueid_t),L(!!(null==l?void 0:l.isrestricted_b)),D(!0),M(window.scrollY)},E=()=>{D(!1),window.scrollTo(0,k)};return(0,n.jsxs)("div",{className:r().imageContent,"data-testid":"Images",children:[I&&I.length>0&&I.map((l,t)=>{var i;return(0,n.jsx)("div",{className:r().imageContainer,children:(0,n.jsxs)("div",{className:"".concat(r().imageItem," ").concat((null==e?void 0:null===(i=e.media)||void 0===i?void 0:i.includes(h.Media.MEDIA_PRINT))&&r().disableImageItem),onClick:()=>R(l,t),tabIndex:0,onKeyUp:e=>{(13===e.keyCode||32==e.keyCode)&&R(l,t)},role:"button",children:[(0,n.jsx)("div",{className:r().imageData,children:(0,n.jsx)(a(),{src:(null==l?void 0:l.coverimageurlcomputed_s)?(0,_.CreateImageUrlPrefix)(null==l?void 0:l.coverimageurlcomputed_s):"",alt:(null==l?void 0:l.alt_t)?null==l?void 0:l.alt_t:"",layout:"fill",loader:e=>
1(0,_.customImageLoader)(e),loading:d?"eager":"lazy","data-pin-nopin":(null==l?void 0:l.isrestricted_b)||(null==l?void 0:l.iscensored_b)?"true":null})},t),(null==l?void 0:l.title_t)&&(null==l?void 0:l.title_t)!==""?(0,n.jsx)("h3",{className:"".concat((null==u?void 0:u.isClientTheme)&&"clientFontColor"," ").concat(r().imageTitleContent),dangerouslySetInnerHTML:{__html:(null==l?void 0:l.title_t)?null==l?void 0:l.title_t:""}}):null]},t)},t)}),P&&(0,n.jsx)(s.default,{show:P,handleClose:E,modalTitle:A("Image"),size:"xl",showFullScreen:!0,children:(0,n.jsx)(C,{content:N,fromSearch:!0,isShareRestricted:j})})]})};l.default=T},42613:function(e,l,t){"use strict";t.r(l);var n=t(85893),i=t(67851);let o=e=>{var l,t;return(0,n.jsx)(n.Fragment,{children:null==e?void 0:null===(l=e.data)||void 0===l?void 0:null===(t=l.docs)||void 0===t?void 0:t.map((l,t)=>(0,n.jsx)(i.default,{queryUrl:null==e?void 0:e.queryUrl,index:t,element:l},t))})};l.default=o},1845:function(e,l,t){"use strict";t.r(l);var n=t(85893),i=t(98364);let o=e=>{var l,t;return(0,n.jsx)(n.Fragment,{children:null==e?void 0:null===(l=e.data)||void 0===l?void 0:null===(t=l.docs)||void 0===t?void 0:t.map((l,t)=>(0,n.jsx)(i.default,{index:t,queryUrl:null==e?void 0:e.queryUrl,element:l,media:null==e?void 0:e.media},t))})};l.default=o},76228:function(e,l,t){"use strict";t.r(l);var n=t(85893),i=t(67294),o=t(87194);let d=e=>{var l,t;return(0,n.jsx)(n.Fragment,{children:null==e?void 0:null===(l=e.data)||void 0===l?void 0:null===(t=l.docs)||void 0===t?void 0:t.map((l,t)=>(0,n.jsx)(o.default,{queryUrl:null==e?void 0:e.queryUrl,index:t,element:l,dateformat:null==e?void 0:e.dateformat},t))})};l.default=(0,i.memo)(d)},99291:function(e,l,t){"use strict";t.r(l);var n=t(85893),i=t(86696);let o=e=>{var l,t;return(0,n.jsx)("div",{"data-testid":"podcast",children:null==e?void 0:null===(l=e.data)||void 0===l?void 0:null===(t=l.docs)||void 0===t?void 0:t.map((l,t)=>(0,n.jsx)(i.default,{queryUrl:null==e?void 0:e.queryUrl,index:t,element:l},t))})};l.default=o},80874:function(e,l,t){"use strict";t.r(l),t.d(l,{PromotionalBox:function(){return S}});var n=t(85893),i=t(32862),o=t(22556),d=t(89755),a=t.n(d),u=t(41664),r=t.n(u),s=t(67294),v=t(73192),c=t(85509),m=t(73935),_=t(69998),h=t(84546),p=t(39317),g=t(65313),f=t(6810),x=t(65984),y=t(84595),C=t.n(y),T=t(39332),b=t(5817),I=t(52498);let S=e=>{var l,t,d,u,y,S,N,w,j,L,P,D,k,M,A,U,R,E,q,B,F;let{t:O}=(0,o.QT)(),{sitecoreContext:V}=(0,i.z)(),H=(0,T.usePathname)(),z=(0,T.useSearchParams)(),{mediaObj:K}=(0,s.useContext)(b.ZP),Q=(0,s.useRef)(null),Z=null==V?void 0:null===(l=V.language)||void 0===l?void 0:l.toLocaleLowerCase(),[G,W]=(0,s.useState)(""),J=(0,p.QE)(),Y=(0,p.DD)(),$=(0,p.SJ)(),X=(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.leftmenunavigation_t)?null==e?void 0:null===(d=e.data)||void 0===d?void 0:d.leftmenunavigation_t:"",ee=X?JSON.parse(X):null,el=(null==e?void 0:null===(u=e.data)||void 0===u?void 0:u.reviewerscomputed_t)?null==e?void 0:null===(y=e.data)||void 0===y?void 0:y.reviewerscomputed_t:"",et=el?JSON.parse(el):null,en=null==et?void 0:et.map(e=>O("AuthorReviewedBy")+" <strong>".concat(null==e?void 0:e.AuthorName,"</strong>")+", "+(null==e?void 0:e.Degree)+", "+(null==e?void 0:e.Affiliation)),ei=0,eo=async e=>{let l=null==e?void 0:e.map(async e=>{var l,t,n,i,o,d,a,u,r,s,v,c,m,_,p,g,x,y,C;let T={ItemName:e,language:V.language},b=await (0,I.d)(f.AuthorDetailsForPromotionalBox,T),S={props:{datasource:b}},N=e?"<strong>".concat(e,"</strong>"):"";N+=(null===(l=null==S?void 0:null===(t=S.props)||void 0===t?void 0:null===(n=t.datasource)||void 0===n?void 0:null===(i=n.search)||void 0===i?void 0:i.results[0])||void 0===l?void 0:null===(o=l.degree)||void 0===o?void 0:null===(d=o.value)||void 0===d?void 0:d.toString())?", "+(null===(a=null==S?void 0:null===(u=S.props)||void 0===u?void 0:null===(r=u.datasource)||void 0===r?void 0:null===(s=r.search)||void 0===s?void 0:s.results[0])||void 0===a?void 0:null===(v=a.degree)||void 0===v?void 0:null===(c=v.value)||void 0===c?void 0:c.toString()):"";let w=null===(m=(0,h.n)(null===(_=null==S?void 0:null===(p=S.props)||void 0===p?void 0:null===(g=p.datasource)||void 0===g?void 0:null===(x=g.search)||void 0===x?void 0:x.results[0])||void 0===_?void 0:null===(y=_.affiliation)||void 0===y?void 0:null===(C=y.value)||void 0===C?void 0:C.split("<li")))||void 0===m?void 0:m[0];return N+(w?", "+w:"")}),t=await (await Promise.all(l)).join(";<br />");W(O("By")+" ".concat(t))},ed=null==ee?void 0:ee.some((e,l)=>l<=3&&(null==e?void 0:e.SchemeItemProp)!=="");(0,s.useEffect)(()=>{var l,t;eo((null==e?void 0:null===(l=e.data)||void 0===l?void 0:l.authorscomputed_sm)?null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.authorscomputed_sm:[])},[]);let ea=null==ee?void 0:ee.filter(e=>(null==e?void 0:e.SchemeItemProp)!=="");return((null==ea?void 0:ea.length)>3&&ea.slice(0,3),ed)?(0,n.jsxs)("div",{className:C().container,children:[(0,n.jsxs)(r(),{prefetch:!1,locale:(null===_.defaultLanguages||void 0===_.defaultLanguages?void 0:_.defaultLanguages.includes(null==V?void 0:null===(S=V.language)||void 0===S?void 0:S.toLocaleLowerCase()))?"":null==V?void 0:null===(N=V.language)||void 0===N?void 0:N.toLocaleLowerCase(),href:(0,g.AppendQueryParameters)(null!=H?H:"/",z,(null==e?void 0:null===(w=e.data)||void 0===w?void 0:w.relativeurlcomputed_s)?null==e?void 0:null===(j=e.data)||void 0===j?void 0:j.relativeurlcomputed_s:""),children:[(null==e?void 0:null===(L=e.data)||void 0===L?void 0:L.title_t)&&(null==e?void 0:null===(P=e.data)||void 0===P?void 0:P.title_t)?(0,n.jsx)("div",{className:"".concat(C().header," ").concat((null==K?void 0:K.isClientTheme)&&"clientbackgroundColor"),dangerouslySetInnerHTML:{__html:null==e?void 0:null===(D=e.data)||void 0===D?void 0:D.title_t}}):null,(0,n.jsxs)("div",{className:"".concat(C().content," ").concat((null==K?void 0:K.isClientTheme)&&"clientbackgroundColor"),children:[(null==e?void 0:null===(k=e.data)||void 0===k?void 0:k.coverimage_t)&&(0,n.jsx)("div",{className:C().contentImage,children:(0,n.jsx)(a(),{src:(null==e?void 0:null===(M=e.data)||void 0===M?void 0:M.coverimage_t)?(0,g.CreateImageUrlPrefix)(null==e?void 0:null===(A=e.data)||void 0===A?void 0:A.coverimage_t):"",layout:"fill",objectFit:"cover",loader:e=>(0,g.customImageLoader)(e,{mw:500})})}),(0,n.jsxs)("div",{className:C().bottomContents,children:[(0,n.jsx)("div",{className:C().type,children:O("SearchResult_MedicalTopic")}),(null==e?void 0:null===(U=e.data)||void 0===U?void 0:U.summarycomputed_t)&&(null==e?void 0:null===(R=e.data)||void 0===R?void 0:R.summarycomputed_t)!==""?(0,n.jsx)("p",{className:C().summary,dangerouslySetInnerHTML:{__html:null==e?void 0:null===(E=e.data)||void 0===E?void 0:E.summarycomputed_t}}):null]})]})]}),(0,n.jsx)("div",{className:C().navs,children:(0,n.jsxs)(c.Z,{fill:!0,justify:!0,className:C().monographTabsNav,defaultActiveKey:1,id:"tab",children:[null==ea?void 0:ea.map((l,t)=>{var i;return t<3&&(null==l?void 0:l.SchemeItemProp)!=""?(ei++,(0,n.jsx)(v.Z,{className:C().tab,eventKe
1y:ei,title:(null==l?void 0:l.Title)&&(null==l?void 0:l.Title)!==""?(0,n.jsx)("span",{className:"".concat(C().tabData," ").concat((null==K?void 0:K.isClientTheme)&&"clientborderColor"),dangerouslySetInnerHTML:{__html:null==l?void 0:l.Title}}):null,children:(0,n.jsxs)(r(),{prefetch:!1,locale:(null===_.defaultLanguages||void 0===_.defaultLanguages?void 0:_.defaultLanguages.includes(Z))?"":Z,href:(0,g.AppendQueryParameters)(null!=H?H:"/",z,(null==e?void 0:null===(i=e.data)||void 0===i?void 0:i.relativeurlcomputed_s)+"#"+(null==l?void 0:l.UniqueID)),children:[(null==l?void 0:l.Summary)&&(null==l?void 0:l.Summary)!==""?(0,n.jsx)("span",{ref:Q,className:C().tabData,dangerouslySetInnerHTML:{__html:(null==l?void 0:l.Summary)?null==l?void 0:l.Summary:""}}):null,(0,n.jsx)("span",{className:"".concat(C().contentReadmore," ").concat((null==K?void 0:K.isClientTheme)&&"clientFontColor"),children:"..."+O("TooltipReadMore")})]})},t)):null}),(null==Q?void 0:Q.current)&&(0,n.jsx)(n.Fragment,{children:null===(q=Array.from(document.getElementsByClassName("mlinkBlock")))||void 0===q?void 0:q.map(e=>{let l=e.getAttribute("data-popup-model"),t=e.getAttribute("data-popup-options");if(!l||!t)return null;{let i=null,o=null;try{i=JSON.parse(l),(null==(o=JSON.parse(t))?void 0:o.LinkText)&&(o.LinkText=decodeURIComponent(o.LinkText))}catch(e){return console.error("Failed to parse popup data:",e),null}return(0,m.createPortal)((0,n.jsx)(x.default,{...o,MultimediaModel:i,mediaType:Y,themeWithEdition:J,theme:$}),e)}})})]})}),(0,n.jsxs)("div",{className:C().footers,children:[(0,n.jsxs)("div",{className:C().authorAndReviewer,children:[G?(0,n.jsx)("div",{className:C().copyright,dangerouslySetInnerHTML:{__html:G}}):(0,n.jsx)("div",{className:C().copyright,children:"".concat(O("Loading")," ...")}),en&&(0,n.jsx)("div",{className:C().copyright,dangerouslySetInnerHTML:{__html:en}})]}),(0,n.jsxs)("div",{className:C().readMore,children:[(0,n.jsx)("div",{className:C().readMoreIcon}),(0,n.jsx)(r(),{className:"".concat((null==K?void 0:K.isClientTheme)&&"clientFontColor"),locale:(null===_.defaultLanguages||void 0===_.defaultLanguages?void 0:_.defaultLanguages.includes(Z))?"":Z,href:(0,g.AppendQueryParameters)(null!=H?H:"/",z,(null==e?void 0:null===(B=e.data)||void 0===B?void 0:B.relativeurlcomputed_s)?null==e?void 0:null===(F=e.data)||void 0===F?void 0:F.relativeurlcomputed_s:""),children:O("TooltipReadMore")})]})]})]}):(0,n.jsx)(n.Fragment,{children:" "})};l.default=S},35282:function(e,l,t){"use strict";t.r(l);var n=t(85893),i=t(81837);let o=e=>{var l,t;return(0,n.jsx)("div",{"data-testid":"quizContent",children:null==e?void 0:null===(l=e.data)||void 0===l?void 0:null===(t=l.docs)||void 0===t?void 0:t.map((l,t)=>(0,n.jsx)(i.default,{queryUrl:null==e?void 0:e.queryUrl,index:t,element:l,media:null==e?void 0:e.media},t))})};l.default=o},41756:function(e,l,t){"use strict";t.r(l);var n=t(85893),i=t(32862),o=t(22556),d=t(41664),a=t.n(d),u=t(63824),r=t.n(u),s=t(43959),v=t(69998),c=t(65313),m=t(39332),_=t(67294),h=t(5817);let p=e=>{var l,t,d,u,p,g;let{t:f}=(0,o.QT)(),{sitecoreContext:x}=(0,i.z)(),y=null==x?void 0:null===(l=x.language)||void 0===l?void 0:l.toLowerCase(),C=(0,m.usePathname)(),T=(0,m.useSearchParams)(),{mediaObj:b}=(0,_.useContext)(h.ZP);return(0,n.jsxs)("div",{"data-testid":"searchAboutUs",className:r().aboutUsContainer,children:[(0,n.jsx)("div",{className:"resourceTag",children:f("SearchResult_ContentPage")}),(null==e?void 0:null===(t=e.element)||void 0===t?void 0:t.titlecomputed_t)&&""!==e.element.titlecomputed_t.trim()&&(0,n.jsx)("div",{className:r().aboutUsTitle,children:(0,n.jsx)(a(),{legacyBehavior:!0,prefetch:!1,locale:(null===v.defaultLanguages||void 0===v.defaultLanguages?void 0:v.defaultLanguages.includes(null==x?void 0:null===(d=x.language)||void 0===d?void 0:d.toLocaleLowerCase()))?"":null==x?void 0:null===(u=x.language)||void 0===u?void 0:u.toLocaleLowerCase(),href:(0,c.AppendQueryParameters)(null!=C?C:"/",T,null==e?void 0:null===(p=e.element)||void 0===p?void 0:p.relativeurlcomputed_s),children:(0,n.jsx)("a",{onClick:()=>{var l,t;return(0,s.h)(null==e?void 0:null===(l=e.element)||void 0===l?void 0:l.titlecomputed_t,null==e?void 0:e.queryUrl,(null==e?void 0:null===(t=e.element)||void 0===t?void 0:t.relativeurlcomputed_s)+"?query="+(null==e?void 0:e.queryUrl),(null==e?void 0:e.index)!=null?(null==e?void 0:e.index)+1:null,y)},className:"".concat(r().title," ").concat((null==b?void 0:b.isClientTheme)&&"clientFontColor"),children:(0,n.jsx)("h3",{className:"h3Title",dangerouslySetInnerHTML:{__html:null==e?void 0:null===(g=e.element)||void 0===g?void 0:g.titlecomputed_t}})})})})]})};l.default=p},16850:function(e,l,t){"use strict";t.r(l);var n=t(85893),i=t(58483),o=t(22556),d=t(89755),a=t.n(d),u=t(67294),r=t(65313),s=t(5152),v=t.n(s),c=t(43959),m=t(69017),_=t.n(m),h=t(69998),p=t(10627),g=t(5817),f=t(32862);let x=v()(()=>Promise.all([t.e(2978),t.e(1843),t.e(1768),t.e(1325),t.e(6366),t.e(2731),t.e(907),t.e(259),t.e(5911),t.e(4813),t.e(2855),t.e(7180),t.e(4974),t.e(7232),t.e(2383)]).then(t.bind(t,97232)).then(e=>e.default),{loadableGenerated:{webpack:()=>[97232]},loading:()=>(0,n.jsx)(n.Fragment,{}),ssr:!1}),y=e=>{var l,t,d,s,v,m,y,C,T,b;let{edition:I,mediaObj:S}=(0,u.useContext)(g.ZP),{sitecoreContext:N}=(0,f.z)(),w=null==N?void 0:null===(l=N.language)||void 0===l?void 0:l.toLowerCase(),[j,L]=(0,u.useState)(!1),[P,D]=(0,u.useState)({}),[k,M]=(0,u.useState)(0),{t:A}=(0,o.QT)();(0,u.useEffect)(()=>{setTimeout(()=>{var e;null==x||null===(e=x.render)||void 0===e||e.preload()},2e3)},[]);let U=l=>{var t,n,i,o,d,a,u,r;let s=(null==l?void 0:l.inthistopicscomputed_s)?null==l?void 0:l.inthistopicscomputed_s:"";s=JSON.parse(s);let v=[];Array.isArray(s)&&(null==s||s.map(e=>v.push({displayName:e.TopicName,url:{path:e.Url},ContentType:{value:null==e?void 0:e.ContentType}})));let c={MediaURL:null==e?void 0:null===(t=e.element)||void 0===t?void 0:t.publicurlcomputed_s,Credits:null==e?void 0:null===(n=e.element)||void 0===n?void 0:n.vasontcopyright_t,Description:null==e?void 0:null===(i=e.element)||void 0===i?void 0:i.descriptioncomputed_t,MimeType:null==e?void 0:null===(o=e.element)||void 0===o?void 0:o.mime_type_t,Title:null==e?void 0:null===(d=e.element)||void 0===d?void 0:d.titlecomputed_t,ShareUrl:null==e?void 0:null===(a=e.element)||void 0===a?void 0:a.relativeurlcomputed_s,UniqueId:null==e?void 0:null===(u=e.element)||void 0===u?void 0:u.uniqueid_t,ItemId:null==e?void 0:null===(r=e.element)||void 0===r?void 0:r.uniqueid_t,topicIds:{targetItems:v},ContentType:h.Media.Audio};D(c),M(window.scrollY),L(!0)},R=()=>{L(!1),window.scrollTo(0,k)};return(0,n.jsxs)("div",{className:_().container,"data-testid":"searchAudio",children:[(0,n.jsxs)("div",{className:_().leftColumn,children:[(0,n.jsx)("div",{className:_().type,children:(0,n.jsx)("div",{className:"resourceTag",children:A("Audios")})}
1),(null==e?void 0:null===(t=e.element)||void 0===t?void 0:t.titlecomputed_t)&&""!==e.element.titlecomputed_t.trim()&&(0,n.jsx)("button",{tabIndex:0,role:"link",onClick:()=>{var l,t,n,i,o;U(null==e?void 0:e.element),(0,c.h)(null==e?void 0:null===(l=e.element)||void 0===l?void 0:l.titlecomputed_t,null==e?void 0:e.queryUrl,(null==e?void 0:null===(t=e.element)||void 0===t?void 0:t.relativeurlcomputed_s)+"?query="+(null==e?void 0:e.queryUrl),(null==e?void 0:e.index)!=null?(null==e?void 0:e.index)+1:null,w),(0,p.oR)(null==e?void 0:null===(n=e.element)||void 0===n?void 0:n.itemtypenamecomputed_s,null==e?void 0:null===(i=e.element)||void 0===i?void 0:i.titlecomputed_t,I,null==e?void 0:null===(o=e.element)||void 0===o?void 0:o.uniqueid_t)},className:"".concat(_().title," ").concat((null==e?void 0:null===(d=e.media)||void 0===d?void 0:d.includes(h.Media.MEDIA_PRINT))&&_().disableAudioItem," ").concat((null==S?void 0:S.isClientTheme)&&"clientFontColor"),children:(0,n.jsx)("h3",{className:"h3Title",dangerouslySetInnerHTML:{__html:null==e?void 0:null===(s=e.element)||void 0===s?void 0:s.titlecomputed_t}})}),(null==e?void 0:null===(v=e.element)||void 0===v?void 0:v.summarycomputed_t)&&""!==e.element.summarycomputed_t.trim()&&(0,n.jsx)("div",{className:_().description,dangerouslySetInnerHTML:{__html:null==e?void 0:null===(m=e.element)||void 0===m?void 0:m.summarycomputed_t}})]}),(0,n.jsx)("div",{className:_().rightColumn,children:(0,n.jsx)(a(),{src:(0,r.CreateImageUrlPrefix)((null==e?void 0:null===(y=e.element)||void 0===y?void 0:y.thumbnailurlcomputed_s)?null==e?void 0:null===(C=e.element)||void 0===C?void 0:C.thumbnailurlcomputed_s:""),alt:null==e?void 0:null===(T=e.element)||void 0===T?void 0:T.titlecomputed_t,className:_().audioImage,loading:"lazy",onClick:()=>U(null==e?void 0:e.element),height:40,width:40})}),j&&(0,n.jsx)(i.default,{show:j,handleClose:R,modalTitle:A("Audio"),size:"xl",showFullScreen:!0,children:(0,n.jsx)(x,{content:P,isShareRestricted:!!(null==e?void 0:null===(b=e.element)||void 0===b?void 0:b.isrestricted_b)})})]})};l.default=y},74335:function(e,l,t){"use strict";t.r(l);var n=t(85893),i=t(55386),o=t.n(i),d=t(22556),a=t(67294),u=t(58483),r=t(5152),s=t.n(r),v=t(43959),c=t(5817),m=t(65313),_=t(89755),h=t.n(_),p=t(69998),g=t(10627),f=t(32862);let x=s()(()=>Promise.all([t.e(1843),t.e(3898),t.e(5118)]).then(t.bind(t,73898)).then(e=>e.default),{loadableGenerated:{webpack:()=>[73898]},loading:()=>(0,n.jsx)(n.Fragment,{}),ssr:!1}),y=e=>{var l,t,i,r,s,_,y,C,T,b,I,S,N,w,j,L,P;let[D,k]=(0,a.useState)(!1),[M,A]=(0,a.useState)(),{t:U}=(0,d.QT)(),{sitecoreContext:R}=(0,f.z)(),E=null==R?void 0:null===(l=R.language)||void 0===l?void 0:l.toLowerCase(),{direction:q,edition:B,pinterestLoadingPriority:F,mediaObj:O}=(0,a.useContext)(c.ZP),[V,H]=(0,a.useState)(0);(0,a.useEffect)(()=>{setTimeout(()=>{var e;null==x||null===(e=x.render)||void 0===e||e.preload()},2e3)},[]);let z=e=>{let l=(null==e?void 0:e.inthistopicscomputed_s)?null==e?void 0:e.inthistopicscomputed_s:"";l=JSON.parse(l);let t=[];Array.isArray(l)&&(t=null==l?void 0:l.map(e=>({displayName:null==e?void 0:e.TopicName,url:{path:null==e?void 0:e.Url},ContentType:{value:null==e?void 0:e.ContentType},Title:{value:null==e?void 0:e.Title}}))),A(t),k(!0),H(window.scrollY)},K=()=>{k(!1),window.scrollTo(0,V)},Q=()=>{var l,t,n,i,o;z(null==e?void 0:e.element),(0,v.h)(null==e?void 0:null===(l=e.element)||void 0===l?void 0:l.titlecomputed_t,null==e?void 0:e.queryUrl,(null==e?void 0:null===(t=e.element)||void 0===t?void 0:t.relativeurlcomputed_s)+"?query="+(null==e?void 0:e.queryUrl),(null==e?void 0:e.index)!=null?(null==e?void 0:e.index)+1:null,E),(0,g.oR)(null==e?void 0:null===(n=e.element)||void 0===n?void 0:n.itemtypenamecomputed_s,null==e?void 0:null===(i=e.element)||void 0===i?void 0:i.titlecomputed_t,B,null==e?void 0:null===(o=e.element)||void 0===o?void 0:o.uniqueid_t)};return(0,n.jsxs)("div",{className:"".concat(o().container," ").concat(e.isAIEnabled&&o().aiBiodigitalContainer),"data-testid":"searchBiodigital",children:[(0,n.jsx)("div",{className:o().topContainer,children:(0,n.jsx)("div",{className:"resourceTag",children:U("BiodigitalModel")})}),(0,n.jsxs)("div",{className:o().bottomContainer,children:[(0,n.jsx)("div",{className:o().imageContainer,children:(0,n.jsx)("div",{className:"".concat(o().biodigitalImage," ").concat((null==e?void 0:null===(t=e.media)||void 0===t?void 0:t.includes(p.Media.MEDIA_PRINT))&&o().disableBiodigitalImage," innerCurvedBorder"),children:(0,n.jsx)(h(),{src:(0,m.CreateImageUrlPrefix)((null==e?void 0:null===(i=e.element)||void 0===i?void 0:i.thumbnailurlcomputed_s)?null==e?void 0:null===(r=e.element)||void 0===r?void 0:r.thumbnailurlcomputed_s:""),alt:null==e?void 0:null===(s=e.element)||void 0===s?void 0:s.titlecomputed_t,onClick:()=>z(null==e?void 0:e.element),loading:F?"eager":"lazy",height:120,width:200})})}),(null==e?void 0:null===(_=e.element)||void 0===_?void 0:_.titlecomputed_t)&&""!==e.element.titlecomputed_t.trim()&&(0,n.jsx)("div",{className:o().titleContainer,dir:q,children:(0,n.jsx)("div",{className:"".concat(o().title," ").concat((null==O?void 0:O.isClientTheme)&&"clientFontColor"),onClick:Q,onKeyDown:e=>{"Enter"===e.key&&Q()},tabIndex:0,role:"button",children:(0,n.jsx)("h3",{dangerouslySetInnerHTML:{__html:null==e?void 0:null===(y=e.element)||void 0===y?void 0:y.titlecomputed_t},className:"h3Title"})})})]}),D&&(0,n.jsx)(u.default,{show:D,handleClose:K,modalTitle:U("BiodigitalModel"),size:"xl",showFullScreen:!0,children:(0,n.jsx)(x,{element:{Title:null==e?void 0:null===(C=e.element)||void 0===C?void 0:C.titlecomputed_t,url:null==e?void 0:null===(T=e.element)||void 0===T?void 0:T.externalurl_t,ContentType:null==e?void 0:null===(b=e.element)||void 0===b?void 0:b.contenttype_s,topicIds:{targetItems:M},ShareUrl:null==e?void 0:null===(I=e.element)||void 0===I?void 0:I.relativeurlcomputed_s,tooltipImage:{height:"",width:"",alt:(null==e?void 0:null===(S=e.element)||void 0===S?void 0:S.titlecomputed_t)?null==e?void 0:null===(N=e.element)||void 0===N?void 0:N.titlecomputed_t:"",src:(null==e?void 0:null===(w=e.element)||void 0===w?void 0:w.thumbnailurlcomputed_s)?null==e?void 0:null===(j=e.element)||void 0===j?void 0:j.thumbnailurlcomputed_s:"",title:(null==e?void 0:null===(L=e.element)||void 0===L?void 0:L.titlecomputed_t)?null==e?void 0:null===(P=e.element)||void 0===P?void 0:P.titlecomputed_t:""}}})})]})};l.default=y},71537:function(e,l,t){"use strict";t.r(l);var n=t(85893),i=t(22556),o=t(81043),d=t.n(o),a=t(89755),u=t.n(a),r=t(65313),s=t(67294),v=t(58483),c=t(5152),m=t.n(c),_=t(43959),h=t(69998),p=t(10627),g=t(5817),f=t(32862);let x=m()(()=>Promise.all([t.e(1843),t.e(3898),t.e(5118)]).then(t.bind(t,73898)).then(e=>e.default),{loadableGenerated:{webpack:()=>[73898]},loading:()=>(0,n.jsx)(n.Fragment,{}),ssr:!1}),y=e=>{var l,t,o,a,c,m,y,C,T,b;let{edition:I,mediaObj:S}=(0,s.useContext)(g.ZP),{sitecoreContext:N}=(0,f.z)(),w=null==N?void 0:null===(l=N.language)||void 0===l?void 0:l.toLowerCase(),[j,L]=(0,s.use
1State)(!1),[P,D]=(0,s.useState)(),{t:k}=(0,i.QT)(),[M,A]=(0,s.useState)(0);(0,s.useEffect)(()=>{setTimeout(()=>{var e;null==x||null===(e=x.render)||void 0===e||e.preload()},2e3)},[]);let U=e=>{let l=(null==e?void 0:e.inthistopicscomputed_s)?null==e?void 0:e.inthistopicscomputed_s:"";l=JSON.parse(l);let t=[];Array.isArray(l)&&(null==l||l.map(e=>t.push({displayName:null==e?void 0:e.TopicName,url:{path:null==e?void 0:e.Url},ContentType:{value:null==e?void 0:e.ContentType},Title:{value:null==e?void 0:e.Title}}))),D(t),L(!0),A(window.scrollY)},R=()=>{L(!1),window.scrollTo(0,M)},E=()=>{var l,t,n,i,o;U(null==e?void 0:e.element),(0,_.h)(null==e?void 0:null===(l=e.element)||void 0===l?void 0:l.titlecomputed_t,null==e?void 0:e.queryUrl,(null==e?void 0:null===(t=e.element)||void 0===t?void 0:t.relativeurlcomputed_s)+"?query="+(null==e?void 0:e.queryUrl),(null==e?void 0:e.index)!=null?(null==e?void 0:e.index)+1:null,w),(0,p.oR)(null==e?void 0:null===(n=e.element)||void 0===n?void 0:n.itemtypenamecomputed_s,null==e?void 0:null===(i=e.element)||void 0===i?void 0:i.titlecomputed_t,I,null==e?void 0:null===(o=e.element)||void 0===o?void 0:o.uniqueid_t)};return(0,n.jsxs)("div",{"data-testid":"searchCalculator",className:d().container,children:[(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:"resourceTag",children:k("Calculator")})}),(0,n.jsxs)("div",{className:d().content,children:[(null==e?void 0:null===(t=e.element)||void 0===t?void 0:t.titlecomputed_t)&&""!==e.element.titlecomputed_t.trim()&&(0,n.jsx)("div",{onClick:E,onKeyDown:e=>{"Enter"===e.key&&E()},className:"".concat(d().title," ").concat((null==e?void 0:null===(o=e.media)||void 0===o?void 0:o.includes(h.Media.MEDIA_PRINT))&&d().disablePopupItem," ").concat((null==S?void 0:S.isClientTheme)&&"clientFontColor"),tabIndex:0,children:(0,n.jsx)("h3",{dangerouslySetInnerHTML:{__html:null==e?void 0:null===(a=e.element)||void 0===a?void 0:a.titlecomputed_t},className:"h3Title"})}),(0,n.jsx)("span",{className:d().image,children:(0,n.jsx)(u(),{src:(0,r.CreateImageUrlPrefix)((null==e?void 0:null===(c=e.element)||void 0===c?void 0:c.thumbnailurlcomputed_s)?null==e?void 0:null===(m=e.element)||void 0===m?void 0:m.thumbnailurlcomputed_s:""),height:40,width:40})})]}),j&&(0,n.jsx)(v.default,{show:j,handleClose:R,modalTitle:k("Calculator"),size:"xl",showFullScreen:!0,children:(0,n.jsx)(x,{element:{Title:null==e?void 0:null===(y=e.element)||void 0===y?void 0:y.titlecomputed_t,url:null==e?void 0:null===(C=e.element)||void 0===C?void 0:null===(T=C.externalurl_t)||void 0===T?void 0:T.toLowerCase(),ContentType:k("ClinicalCalculator"),MediaType:h.shareUrlMediaType.ClinicalCalculator,topicIds:{targetItems:P},ShareUrl:null==e?void 0:null===(b=e.element)||void 0===b?void 0:b.relativeurlcomputed_s}})})]})};l.default=y},6877:function(e,l,t){"use strict";t.r(l);var n=t(85893),i=t(22556),o=t(1823),d=t.n(o),a=t(67294),u=t(5152),r=t.n(u),s=t(5817),v=t(69998),c=t(86252),m=t(3529),_=t(10627),h=t(43959),p=t(52498);let g=r()(()=>t.e(6871).then(t.bind(t,58483)).then(e=>e.default),{loadableGenerated:{webpack:()=>[58483]},loading:()=>(0,n.jsx)(n.Fragment,{}),ssr:!1}),f=r()(()=>Promise.all([t.e(4830),t.e(8647)]).then(t.bind(t,54830)).then(e=>e.default),{loadableGenerated:{webpack:()=>[54830]},loading:()=>(0,n.jsx)(n.Fragment,{}),ssr:!1}),x=r()(()=>t.e(3983).then(t.bind(t,23983)).then(e=>e.default),{loadableGenerated:{webpack:()=>[23983]},loading:()=>(0,n.jsx)(n.Fragment,{}),ssr:!1}),y=r()(()=>Promise.all([t.e(6886),t.e(8630)]).then(t.bind(t,76886)).then(e=>e.default),{loadableGenerated:{webpack:()=>[76886]},loading:()=>(0,n.jsx)(n.Fragment,{}),ssr:!1}),C=e=>{var l,t,o,u,r,C,T;let b=null==e?void 0:null===(l=e.element)||void 0===l?void 0:null===(t=l.brandnames_t)||void 0===t?void 0:t.replaceAll("|",", "),I=null==b?void 0:b.substring(0,100),{t:S}=(0,i.QT)(),[N,w]=(0,a.useState)(!1),{edition:j,language:L,mediaObj:P}=(0,a.useContext)(s.ZP),[D,k]=(0,a.useState)({dataName:"",dataId:""}),[M,A]=(0,a.useState)(!1),[U,R]=(0,a.useState)({BrandNames:{value:""},ViewModel:{value:{}},MonographTitle:{value:""},ProductId:{value:""},DosageForms:{value:""}}),[E,q]=(0,a.useState)({BrandNames:{value:""},children:{results:[]}}),[B,F]=(0,a.useState)({ViewModel:{value:{}},MonographTitle:{value:""},ProductId:{value:""}}),O=(e,l)=>{k({dataName:e,dataId:l}),j===v.Edition.PROFESSIONAL?V(e,l):z(e)},V=async(e,l)=>{var t,n,i,o;let d=await (0,p.d)(c.MonographDetailPopup,{monographTtile:e,edition:v.Edition.PROFESSIONAL,ProductId:l,language:L});
1R({...null==d?void 0:null===(t=d.ChildPopupDetails)||void 0===t?void 0:t.results[0],DosageForms:null!==(o=null===(n=null==d?void 0:null===(i=d.ChildPopupDetails)||void 0===i?void 0:i.results[0])||void 0===n?void 0:n.DosageForms)&&void 0!==o?o:{value:""}}),w(!0)},H=async(e,l)=>{var t;let n=await (0,p.d)(c.MonographDetailPopup,{language:L,monographTtile:e,edition:"home",ProductId:l});F(null==n?void 0:null===(t=n.ChildPopupDetails)||void 0===t?void 0:t.results[0]),A(!0)},z=async e=>{var l,t,n,i,o,d,a;let u=await (0,p.d)(m.MonographDetailPopupConsumer,{language:L,monographTtile:e,edition:"home",productId:"0"});if((null==u?void 0:u.ParenttPopuDetails)&&(null===(l=null==u?void 0:null===(t=u.ParenttPopuDetails)||void 0===t?void 0:t.results[0])||void 0===l?void 0:null===(n=l.children)||void 0===n?void 0:n.results.length)>1)q(null==u?void 0:null===(i=u.ParenttPopuDetails)||void 0===i?void 0:i.results[0]),w(!0);else{let e=null===(o=null==u?void 0:null===(d=u.ParenttPopuDetails)||void 0===d?void 0:d.results[0])||void 0===o?void 0:null===(a=o.children)||void 0===a?void 0:a.results[0];F(e),A(!0)}};return(0,n.jsxs)("div",{"data-testid":"searchDrug",className:d().container,children:[(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:"resourceTag",children:S("SearchResult_DrugMonograph")})}),(0,n.jsxs)("div",{className:d().content,children:[(0,n.jsxs)("div",{className:d().contentLeft,children:[(null==e?void 0:null===(o=e.element)||void 0===o?void 0:o.monographtitlecomputed_t)&&""!==e.element.monographtitlecomputed_t.trim()&&(0,n.jsx)("div",{className:"".concat(d().title," ").concat((null==e?void 0:null===(u=e.media)||void 0===u?void 0:u.includes(v.Media.MEDIA_PRINT))&&d().disableDrugPopupItem," ").concat((null==P?void 0:P.isClientTheme)&&"clientFontColor"),onClick:()=>{var l,t,n,i,o,d;(0,_.oR)("Monograph",null==e?void 0:null===(l=e.element)||void 0===l?void 0:l.monographtitlecomputed_t,j,""),O(null==e?void 0:null===(t=e.element)||void 0===t?void 0:t.monographtitlecomputed_t,(null==e?void 0:null===(n=e.element)||void 0===n?void 0:n.productid_t)?null==e?void 0:null===(i=e.element)||void 0===i?void 0:i.productid_t:""),(0,h.h)(null==e?void 0:null===(o=e.element)||void 0===o?void 0:o.monographtitlecomputed_t,null==e?void 0:e.queryUrl,(null==e?void 0:null===(d=e.element)||void 0===d?void 0:d.relativeurlcomputed_s)+"?query="+(null==e?void 0:e.queryUrl),(null==e?void 0:e.index)!=null?(null==e?void 0:e.index)+1:null,L)},tabIndex:0,role:"link",onKeyUp:l=>{var t,n,i;(13===l.keyCode||32==l.keyCode)&&O(null==e?void 0:null===(t=e.element)||void 0===t?void 0:t.monographtitlecomputed_t,(null==e?void 0:null===(n=e.element)||void 0===n?void 0:n.productid_t)?null==e?void 0:null===(i=e.element)||void 0===i?void 0:i.productid_t:"")},children:(0,n.jsx)("h3",{dangerouslySetInnerHTML:{__html:null==e?void 0:null===(r=e.element)||void 0===r?void 0:r.monographtitlecomputed_t},className:"h3Title"})}),(0,n.jsxs)("div",{className:d().brandName,children:[(0,n.jsx)("b",{children:S("Search_BrandNames")+" "}),I||S("NoBrandNameText"),b&&(null==b?void 0:b.length)>=100&&"... ",(0,n.jsx)("button",{onClick:()=>{var l,t,n,i,o,d;(0,_.oR)("Monograph",null==e?void 0:null===(l=e.element)||void 0===l?void 0:l.monographtitlecomputed_t,j,""),(0,h.h)(null==e?void 0:null===(t=e.element)||void 0===t?void 0:t.monographtitlecomputed_t,null==e?void 0:e.queryUrl,(null==e?void 0:null===(n=e.element)||void 0===n?void 0:n.relativeurlcomputed_s)+"?query="+(null==e?void 0:e.queryUrl),(null==e?void 0:e.index)!=null?(null==e?void 0:e.index)+1:null,L),O(null==e?void 0:null===(i=e.element)||void 0===i?void 0:i.monographtitlecomputed_t,(null==e?void 0:null===(o=e.element)||void 0===o?void 0:o.productid_t)?null==e?void 0:null===(d=e.element)||void 0===d?void 0:d.productid_t:"")},tabIndex:0,role:"link",onKeyUp:l=>{var t,n,i;(13===l.keyCode||32==l.keyCode)&&O(null==e?void 0:null===(t=e.element)||void 0===t?void 0:t.monographtitlecomputed_t,(null==e?void 0:null===(n=e.element)||void 0===n?void 0:n.productid_t)?null==e?void 0:null===(i=e.element)||void 0===i?void 0:i.productid_t:"")},className:"".concat((null==e?void 0:null===(C=e.media)||void 0===C?void 0:C.includes(v.Media.MEDIA_PRINT))&&d().disableDrugPopupItem),children:b&&(null==b?void 0:b.length)>=100&&S("SearchMoreLikeThis")})]})]}),(0,n.jsx)("div",{className:d().image})]}),(0,n.jsx)(g,{size:"xl",show:N,handleClose:()=>w(!1),modalTitle:null==D?void 0:D.dataName,showFullScreen:!1,children:j===v.Edition.PROFESSIONAL?(0,n.jsx)(f,{data:U}):j===v.Edition.CONSUMER&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(x,{data:E,showChildData:H})})}),(0,n.jsx)(g,{size:"xl",show:M,handleClose:()=>A(!1),modalTitle:null==B?void 0:null===(T=B.MonographTitle)||void 0===T?void 0:T.value,showFullScreen:!1,children:(0,n.jsx)(y,{data:B})})]})};l.default=C},67851:function(e,l,t){"use strict";t.r(l);var n=t(85893),i=t(65313),o=t(96827),d=t.n(o),a=t(89755),u=t.n(a),r=t(41664),s=t.n(r),v=t(32862),c=t(43959),m=t(69998),_=t(67294),h=t(5817),p=t(39332);let g=e=>{var l,t,o,a,r,g,f,x,y,C,T,b,I,S,N,w;let j=(0,p.usePathname)(),L=(0,p.useSearchParams)(),{sitecoreContext:P}=(0,v.z)(),D=null==P?void 0:null===(l=P.language)||void 0===l?void 0:l.toLowerCase(),{pinterestLoadingPriority:k}=(0,_.useContext)(h.ZP);return(0,n.jsxs)("div",{className:d().container,"data-testid":"searchInfographic",children:[(0,n.jsx)("div",{className:d().topContainer,children:(null==e?void 0:null===(t=e.element)||void 0===t?void 0:t.itemtypenamecomputed_s)&&""!==e.element.itemtypenamecomputed_s.trim()&&(0,n.jsx)("div",{className:"resourceTag",dangerouslySetInnerHTML:{__html:null==e?void 0:null===(o=e.element)||void 0===o?void 0:o.itemtypenamecomputed_s}})}),(0,n.jsxs)("div",{className:d().bottomContainer,children:[(null==e?void 0:null===(a=e.element)||void 0===a?void 0:a.titlecomputed_t)&&""!==e.element.titlecomputed_t.trim()&&(0,n.jsx)("div",{className:d().titleContainer,children:(0,n.jsx)(s(),{legacyBehavior:!0,prefetch:!1,locale:(null===m.defaultLanguages||void 0===m.defaultLanguages?void 0:m.defaultLanguages.includes(null==P?void 0:null===(r=P.language)||void 0===r?void 0:r.toLocaleLowerCase()))?"":null==P?void 0:null===(g=P.language)||void 0===g?void 0:g.toLocaleLowerCase(),href:(0,i.AppendQueryParameters)(null!=j?j:"/",L,(null==e?void 0:null===(f=e.element)||void 0===f?void 0:f.relativeurlcomputed_s)?null==e?void 0:null===(x=e.element)||void 0===x?void 0:x.relativeurlcomputed_s:""),children:(0,n.jsx)("a",{onClick:()=>{var l,t;return(0,c.h)(null==e?void 0:null===(l=e.element)||void 0===l?void 0:l.titlecomputed_t,null==e?void 0:e.queryUrl,(null==e?void 0:null===(t=e.element)||void 0===t?void 0:t.relativeurlcomputed_s)+"?query="+(null==e?void 0:e.queryUrl),(null==e?void 0:e.index)?(null==e?void 0:e.index)+1:null,D)},className:d().title,tabIndex:0,children:(0,n.jsx)("h3",{dangerouslySetInnerHTML:{__html:null==e?void 0:null===(y=e.element)||void 0===y?void 0:y.titlecomputed_t},className:"h3Title"})})})}),(0,n.jsx)("div",{className:d().imageContainer,children:(0,n.jsx)(s(),{legacyBehavior:!0,prefetch:!1,locale:(null===m.defaultLanguages||void 0===m.defaultLanguages?void 0:m.defaultLanguages.includes(null==P?void 0:null===(C=P.language)||void 0===C?void 0:C.toLocaleLowerCase()))?"":null==P?void 0:null===(T=P.language)||void 0===T?void 0:T.toLocaleLowerCase(),href:(0,i.AppendQueryParameters)(null!=j?j:"/",L,(null==e?void 0:null===(b=e.element)||void 0===b?void 0:b.relativeurlcomputed_s)?null==e?void 0:null===(I=e.element)||void 0===I?void 0:I.relativeurlcomputed_s:""),className:d().InfographicsImage,children:(0,n.jsx)("a",{className:d().InfographicsImage,children:(0,n.jsx)(u(),{src:(0,i.CreateImageUrlPrefix)((null==e?void 0:null===(S=e.element)||void 0===S?void 0:S.thumbnailurlcomputed_s)?null==e?void 0:null===(N=e.element)||void 0===N?void 0:N.thumbnailurlcomputed_s:""),alt:null==e?void 0:null===(w=e.element)||void 0===w?void 0:w.titlecomputed_t,loading:k?"eager":"lazy",height:40,width:30,onClick:()=>{var l,t;return(0,c.h)(null==e?void 0:null===(l=e.element)||void 0===l?void 0:l.titlecomputed_t,null==e?void 0:e.queryUrl,(null==e?void 0:null===(t=e.element)||void 0===t?void 0:t.relativeurlcomputed_s)+"?query="+(null==e?void 0:e.queryUrl),(null==e?void 0:e.index)?(null==e?void 0:e.index)+1:null,D)}})})})})]})]})};l.default=g},98364:function(e,l,t){"use strict";t.r(l);var n=t(85893),i=t(22556),o=t(89346),d=t.n(o),a=t(89755),u=t.n(a),r=t(65313),s=t(67294),v=t(58483),c=t(5152),m=t.n(c),_=t(43959),h=t(69998),p=t(10627),g=t(5817),f=t(32862);let x=m()(()=>Promise.all([t.e(1843),t.e(3898),t.e(5118)]).then(t.bind(t,73898)).then(e=>e.default),{loadableGenerated:{webpack:()=>[73898]},loading:()=>(0,n.jsx)(n.Fragment,{}),ssr:!1}),y=e=>{var l,t,o,a,c,m,y,C,T,b,I,S;let{edition:N,mediaObj:w}=(0,s.useContext)(g.ZP),{sitecoreContext:j}=(0,f.z)(),L=null==j?void 0:null===(l=j.language)||void 0===l?void 0:l.toLowerCase(),[P,D]=(0,s.use
1State)(!1),{t:k}=(0,i.QT)();(0,s.useEffect)(()=>{setTimeout(()=>{var e;null==x||null===(e=x.render)||void 0===e||e.preload()},2e3)},[]);let M=(null==e?void 0:null===(t=e.element)||void 0===t?void 0:t.inthistopicscomputed_s)?null==e?void 0:null===(o=e.element)||void 0===o?void 0:o.inthistopicscomputed_s:"";M=JSON.parse(M);let A=[];return Array.isArray(M)&&(null==M||M.map(e=>A.push({displayName:e.TopicName,url:{path:e.Url},ContentType:{value:null==e?void 0:e.ContentType},Title:{value:null==e?void 0:e.Title}}))),(0,n.jsxs)("div",{"data-testid":"searchLabtest",className:d().container,children:[(0,n.jsx)("div",{className:"resourceTag",children:k("LabTest")}),(0,n.jsxs)("div",{className:d().content,onClick:()=>{var l,t,n,i,o;D(!0),(0,_.h)(null==e?void 0:null===(l=e.element)||void 0===l?void 0:l.titlecomputed_t,null==e?void 0:e.queryUrl,(null==e?void 0:null===(t=e.element)||void 0===t?void 0:t.relativeurlcomputed_s)+"?query="+(null==e?void 0:e.queryUrl),(null==e?void 0:e.index)!=null?(null==e?void 0:e.index)+1:null,L),(0,p.oR)(null==e?void 0:null===(n=e.element)||void 0===n?void 0:n.itemtypenamecomputed_s,null==e?void 0:null===(i=e.element)||void 0===i?void 0:i.titlecomputed_t,N,null==e?void 0:null===(o=e.element)||void 0===o?void 0:o.uniqueid_t)},tabIndex:0,role:"link",onKeyUp:e=>{(13===e.keyCode||32==e.keyCode)&&D(!0)},children:[(null==e?void 0:null===(a=e.element)||void 0===a?void 0:a.titlecomputed_t)&&""!==e.element.titlecomputed_t.trim()&&(0,n.jsx)("div",{className:"".concat(d().title," ").concat((null==e?void 0:null===(c=e.media)||void 0===c?void 0:c.includes(h.Media.MEDIA_PRINT))&&d().disablePopupItem," ").concat((null==w?void 0:w.isClientTheme)&&"clientFontColor"),children:(0,n.jsx)("h3",{dangerouslySetInnerHTML:{__html:null==e?void 0:null===(m=e.element)||void 0===m?void 0:m.titlecomputed_t},className:"h3Title"})}),(0,n.jsx)("span",{className:d().image,children:(0,n.jsx)(u(),{src:(0,r.CreateImageUrlPrefix)((null==e?void 0:null===(y=e.element)||void 0===y?void 0:y.thumbnailurlcomputed_s)?null==e?void 0:null===(C=e.element)||void 0===C?void 0:C.thumbnailurlcomputed_s:""),height:40,width:40})})]}),P&&(0,n.jsx)(v.default,{show:P,handleClose:()=>D(!1),modalTitle:k("LabTest"),size:"xl",showFullScreen:!0,children:(0,n.jsx)(x,{element:{Title:null==e?void 0:null===(T=e.element)||void 0===T?void 0:T.titlecomputed_t,url:null==e?void 0:null===(b=e.element)||void 0===b?void 0:null===(I=b.externalurl_t)||void 0===I?void 0:I.toLowerCase(),ContentType:k("LabTest"),MediaType:h.shareUrlMediaType.LabTests,topicIds:{targetItems:A},ShareUrl:null==e?void 0:null===(S=e.element)||void 0===S?void 0:S.relativeurlcomputed_s},fromSearch:!0})})]})};l.default=y},87194:function(e,l,t){"use strict";t.r(l);var n=t(85893),i=t(32862),o=t(41664),d=t.n(o),a=t(67294),u=t(5817),r=t(69998),s=t(49433),v=t.n(s),c=t(22556),m=t(43959),_=t(65313),h=t(5152),p=t.n(h),g=t(39332);let f=p()(()=>Promise.all([t.e(2693),t.e(2772),t.e(3503)]).then(t.bind(t,33503)),{loadableGenerated:{webpack:()=>[33503]},loading:()=>(0,n.jsx)(n.Fragment,{}),ssr:!1}),x=e=>{var l,t,o,s,h,p,x,y,C,T;let{edition:b,mediaObj:I}=(0,a.useContext)(u.ZP),{sitecoreContext:S}=(0,i.z)(),N=null==S?void 0:null===(l=S.language)||void 0===l?void 0:l.toLowerCase(),{t:w}=(0,c.QT)(),j=(0,g.usePathname)(),L=(0,g.useSearchParams)(),P=(null==e?void 0:e.dateformat)?null==e?void 0:e.dateformat:"MMM DD, YYYY";return(0,n.jsxs)("div",{"data-testid":"searchNews",className:"".concat(v().newsContainer," ").concat(b===r.Edition.PROFESSIONAL?"professional":b===r.Edition.CONSUMER?"consumer":"veterinary"),children:[(0,n.jsx)("div",{className:"resourceTag",children:w("SearchResult_News")}),(0,n.jsx)("div",{className:v().date,children:(0,n.jsx)(f,{format:P,data:null!==(T=null==e?void 0:null===(t=e.element)||void 0===t?void 0:t.createddatecomputed_tdt)&&void 0!==T?T:""})}),(null==e?void 0:null===(o=e.element)||void 0===o?void 0:o.newstitlecomputed_t)&&""!==e.element.newstitlecomputed_t.trim()&&(0,n.jsx)(d(),{legacyBehavior:!0,prefetch:!1,locale:(null===r.defaultLanguages||void 0===r.defaultLanguages?void 0:r.defaultLanguages.includes(null==S?void 0:null===(s=S.language)||void 0===s?void 0:s.toLocaleLowerCase()))?"":null==S?void 0:null===(h=S.language)||void 0===h?void 0:h.toLocaleLowerCase(),href:(0,_.AppendQueryParameters)(null!=j?j:"/",L,null==e?void 0:null===(p=e.element)||void 0===p?void 0:p.relativeurlcomputed_s),children:(0,n.jsx)("a",{onClick:()=>{var l,t;return(0,m.h)(null==e?void 0:null===(l=e.element)||void 0===l?void 0:l.newstitlecomputed_t,null==e?void 0:e.queryUrl,(null==e?void 0:null===(t=e.element)||void 0===t?void 0:t.relativeurlcomputed_s)+"?query="+(null==e?void 0:e.queryUrl),(null==e?void 0:e.index)!=null?(null==e?void 0:e.index)+1:null,N)},className:"".concat(v().title," ").concat((null==I?void 0:I.isCl
1ientTheme)&&"clientFontColor"),children:(0,n.jsx)("h3",{dangerouslySetInnerHTML:{__html:null==e?void 0:null===(x=e.element)||void 0===x?void 0:x.newstitlecomputed_t},className:"h3Title"})})}),(null==e?void 0:null===(y=e.element)||void 0===y?void 0:y.summarycomputed_t)&&""!==e.element.summarycomputed_t.trim()&&(0,n.jsx)("div",{className:v().summary,dangerouslySetInnerHTML:{__html:null==e?void 0:null===(C=e.element)||void 0===C?void 0:C.summarycomputed_t}})]})};l.default=x},86696:function(e,l,t){"use strict";t.r(l);var n=t(85893),i=t(65313),o=t(63672),d=t.n(o),a=t(89755),u=t.n(a),r=t(43959),s=t(32862),v=t(69998),c=t(67294),m=t(5817),_=t(39332),h=t(41664),p=t.n(h);let g=e=>{var l,t,o,a,h,g,f,x,y,C,T,b,I,S;let{sitecoreContext:N}=(0,s.z)(),w=null==N?void 0:null===(l=N.language)||void 0===l?void 0:l.toLowerCase(),{pinterestLoadingPriority:j,mediaObj:L}=(0,c.useContext)(m.ZP),P=(0,_.usePathname)(),D=(0,_.useSearchParams)(),k=v.defaultLanguages.includes(null==N?void 0:null===(t=N.language)||void 0===t?void 0:t.toLocaleLowerCase())?"":"/"+(null==N?void 0:null===(o=N.language)||void 0===o?void 0:o.toLocaleLowerCase());return(0,n.jsxs)("div",{className:d().container,"data-testid":"searchPodcast",children:[(0,n.jsxs)("div",{className:d().leftColumn,children:[(null==e?void 0:null===(a=e.element)||void 0===a?void 0:a.itemtypenamecomputed_s)&&""!==e.element.itemtypenamecomputed_s.trim()&&(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:"resourceTag",dangerouslySetInnerHTML:{__html:null==e?void 0:null===(h=e.element)||void 0===h?void 0:h.itemtypenamecomputed_s}})}),(null==e?void 0:null===(g=e.element)||void 0===g?void 0:g.titlecomputed_t)&&""!==e.element.titlecomputed_t.trim()&&(0,n.jsx)(p(),{onClick:()=>{var l,t;return(0,r.h)(null==e?void 0:null===(l=e.element)||void 0===l?void 0:l.titlecomputed_t,null==e?void 0:e.queryUrl,(null==e?void 0:null===(t=e.element)||void 0===t?void 0:t.externalurl_t)+"?query="+(null==e?void 0:e.queryUrl),(null==e?void 0:e.index)!=null?(null==e?void 0:e.index)+1:null,w)},href:(0,i.AppendQueryParameters)(null!=P?P:"/",D,null!==(S=null==e?void 0:null===(f=e.element)||void 0===f?void 0:f.externalurl_t)&&void 0!==S?S:"",k),className:"".concat(d().title," ").concat((null==L?void 0:L.isClientTheme)&&"clientFontColor"),children:(0,n.jsx)("h3",{dangerouslySetInnerHTML:{__html:null==e?void 0:null===(x=e.element)||void 0===x?void 0:x.titlecomputed_t},className:"h3Title"})})]}),(0,n.jsx)("div",{className:d().podcastImage,children:(0,n.jsx)(u(),{src:(0,i.CreateImageUrlPrefix)((null==e?void 0:null===(y=e.element)||void 0===y?void 0:y.thumbnailurlcomputed_s)?null==e?void 0:null===(C=e.element)||void 0===C?void 0:null===(T=C.thumbnailurlcomputed_s)||void 0===T?void 0:T.toLowerCase():""),alt:null==e?void 0:null===(b=e.element)||void 0===b?void 0:b.titlecomputed_t,loading:j?"eager":"lazy",height:150,width:150,"data-pin-nopin":(null==e?void 0:null===(I=e.element)||void 0===I?void 0:I.isrestricted_b)?"true":null,className:"innerCurvedBorder"})})]})};l.default=g},81837:function(e,l,t){"use strict";t.r(l);var n=t(85893),i=t(67294),o=t(58483),d=t(5152),a=t.n(d),u=t(43959),r=t(49433),s=t.n(r),v=t(22556),c=t(5817),m=t(69998),_=t(99012),h=t(10627);let p=a()(()=>Promise.all([t.e(1843),t.e(3898),t.e(5118)]).then(t.bind(t,73898)).then(e=>e.default),{loadableGenerated:{webpack:()=>[73898]},loading:()=>(0,n.jsx)(n.Fragment,{}),ssr:!1}),g=e=>{var l,t,d,a,r,g,f;let[x,y]=(0,i.useState)(!1),{t:C}=(0,v.QT)(),{edition:T,language:b,mediaObj:I}=(0,i.useContext)(c.ZP),[S,N]=(0,i.useState)(0);(0,i.useEffect)(()=>{setTimeout(()=>{var e;null==p||null===(e=p.render)||void 0===e||e.preload()},2e3)},[]);let w=()=>{var l,t,n,i,o;j(),(0,u.h)(null==e?void 0:null===(l=e.element)||void 0===l?void 0:l.titlecomputed_t,null==e?void 0:e.queryUrl,(null==e?void 0:null===(t=e.element)||void 0===t?void 0:t.relativeurlcomputed_s)+"?query="+(null==e?void 0:e.queryUrl),(null==e?void 0:e.index)!=null?(null==e?void 0:e.index)+1:null,b),(0,h.oR)(null==e?void 0:null===(n=e.element)||void 0===n?void 0:n.itemtypenamecomputed_s,null==e?void 0:null===(i=e.element)||void 0===i?void 0:i.titlecomputed_t,T,null==e?void 0:null===(o=e.element)||void 0===o?void 0:o.uniqueid_t)},j=()=>{N(window.scrollY),y(!0)},L=()=>{y(!1),window.scrollTo(0,S)};return(0,n.jsxs)("div",{"data-testid":"searchQuiz",className:"".concat(s().newsContainer," ").concat(T===m.Edition.PROFESSIONAL?"professional":T===m.Edition.CONSUMER?"consumer":"veterinary"),children:[(0,n.jsx)("div",{className:"resourceTag",children:C("SearchResult_Quiz")}
1),(0,n.jsxs)("div",{className:s().content,children:[(0,n.jsxs)("div",{className:s().contentWrapper,children:[(null==e?void 0:null===(l=e.element)||void 0===l?void 0:l.titlecomputed_t)&&""!==e.element.titlecomputed_t.trim()&&(0,n.jsx)("div",{onClick:w,onKeyDown:e=>{"Enter"===e.key&&w()},className:"".concat(s().title," ").concat((null==e?void 0:null===(t=e.media)||void 0===t?void 0:t.includes(m.Media.MEDIA_PRINT))&&s().disablePopupItem," ").concat((null==I?void 0:I.isClientTheme)&&"clientFontColor"),tabIndex:0,children:(0,n.jsx)("h3",{dangerouslySetInnerHTML:{__html:e.element.titlecomputed_t},className:"h3Title"})}),(null==e?void 0:null===(d=e.element)||void 0===d?void 0:d.summarycomputed_t)&&""!==e.element.summarycomputed_t.trim()&&(0,n.jsx)("div",{className:s().summary,dangerouslySetInnerHTML:{__html:e.element.summarycomputed_t}})]}),(0,n.jsx)("div",{className:s().quizbtnContainer,children:(0,n.jsx)("button",{className:s().quizzIcon,"aria-label":C("Quiz"),onClick:w})})]}),x&&(0,n.jsx)(o.default,{show:x,handleClose:L,modalTitle:C("Quiz"),size:"xl",showFullScreen:!0,children:(0,n.jsx)(p,{hideTitle:!0,element:{Title:null==e?void 0:null===(a=e.element)||void 0===a?void 0:a.titlecomputed_t,url:(0,_.Vt)(null!==(f=null==e?void 0:null===(r=e.element)||void 0===r?void 0:r.quizzurl_t)&&void 0!==f?f:"",null==b?void 0:b.toLowerCase()),ContentType:C("Quiz"),MediaType:m.shareUrlMediaType.Quiz,ShareUrl:null==e?void 0:null===(g=e.element)||void 0===g?void 0:g.relativeurlcomputed_s}})})]})};l.default=g},30932:function(e,l,t){"use strict";t.r(l);var n=t(85893),i=t(22556),o=t(67294),d=t(5817),a=t(90562),u=t.n(a);let r=e=>{let[l,t]=(0,o.useState)([]),[a,r]=(0,o.useState)(!0),[s,v]=(0,o.useState)(!0),{mediaObj:c}=(0,o.useContext)(d.ZP),m=(0,o.useRef)(null),{t:_}=(0,i.QT)();(0,o.useEffect)(()=>{let l=[],n=(null==e?void 0:e.semanticscomputedsm)?null==e?void 0:e.semanticscomputedsm:[];for(let t=0;t<(null==n?void 0:n.length);t++)if("string"==typeof n[t]){var i,o,d,a,u;let r=null==e?void 0:null===(i=e.sectionList)||void 0===i?void 0:i.findIndex(e=>n[t]==(null==e?void 0:e.uniqueid_t));null==e||e.sectionList[r],(null==e?void 0:e.checkedFilter.length)>0?(null==e?void 0:e.sectionList[r])&&((null==e?void 0:null===(o=e.checkedFilter)||void 0===o?void 0:o.includes(n[t].toString()))?l.push({title:null===(a=null==e?void 0:e.sectionList[r])||void 0===a?void 0:a.titlecomputed_t,id:n[t],count:n[t+1],checked:!0}):l.push({title:null===(d=null==e?void 0:e.sectionList[r])||void 0===d?void 0:d.titlecomputed_t,id:n[t],count:n[t+1],checked:!1})):(null==e?void 0:e.sectionList[r])&&l.push({title:null===(u=null==e?void 0:e.sectionList[r])||void 0===u?void 0:u.titlecomputed_t,id:n[t],count:n[t+1],checked:!0})}let s=l.filter(function(e){var l,t;return null===(l=null==e?void 0:null===(t=e.title)||void 0===t?void 0:t.toString())||void 0===l?void 0:l.includes(":")}),v=l.filter(function(e){var l,t;return!(null===(l=null==e?void 0:null===(t=e.title)||void 0===t?void 0:t.toString())||void 0===l?void 0:l.includes(":"))});t(l=[...v,...s]);let c=l.findIndex(e=>!1==e.checked);c>=0?r(!1):r(!0)},[null==e?void 0:e.sectionList]);let h=e=>{let n=l[e].checked;l[e].checked=!n,t([...l]);let i=l.findIndex(e=>!1==e.checked);i>=0?r(!1):r(!0);let o=l.findIndex(e=>!0==e.checked);o>=0?v(!0):v(!1)},p=()=>{if(a){v(!1),r(!1);for(let e=0;e<(null==l?void 0:l.length);e++)l[e].checked=!1;t([...l])}else{v(!0),r(!0);for(let e=0;e<(null==l?void 0:l.length);e++)l[e].checked=!0;t([...l])}},g=()=>{if(s){let t=[];null==l||l.map(e=>{(null==e?void 0:e.checked)&&t.push(null==e?void 0:e.id)}),null==e||e.handleApplyFilter(t)}};return(0,o.useEffect)(()=>{if(!m.current)return;let l=m.current,t=l.querySelectorAll("div[tabindex],li[tabindex],button:not([disabled])"),n=t[0],i=t[t.length-1],o=l=>{"Escape"===l.key&&e.setShowRefine(!1),"Tab"!==l.key||(l.shiftKey&&document.activeElement===n?(l.preventDefault(),null==i||i.focus()):l.shiftKey||document.activeElement!==i||(l.preventDefault(),null==n||n.focus()))};return l.addEventListener("keydown",o),null==n||n.focus(),()=>{l.removeEventListener("keydown",o)}},[]),(0,n.jsx)("div",{className:u().searchRefineContainer,children:(0,n.jsxs)("div",{ref:m,className:u().refineMenu,"data-testid":"searchRefine",children:[(0,n.jsxs)("div",{className:u().refineMenuContainer,children:[(0,n.jsx)("div",{className:u().selectAllWrap,children:(0,n.jsxs)("div",{tabIndex:0,onKeyPress:e=>{"Enter"===e.key&&p()},"aria-label":_("SearchFilter_AllSections"),children:[(0,n.jsx)("input",{className:u().refineInput,type:"checkbox",checked:a,tabIndex:-1,onClick:()=>p(),onKeyPress:e=>{"Enter"===e.key&&p()}}),(0,n.jsx)("span",{onClick:()=>p(),className:u().refineCheckMark}),(0,n.jsx)("span",{className:u().selectAll,children:_("SearchFilter_AllSections")})]})}),(0,n.jsx)("ul",{className:u().listContainer,children:null==l?void 0:l.map((e,l)=>(0,n.jsx)("li",{className:u().listItem,tabIndex:0,onKeyPress:e=>{"Enter"===e.key&&h(l)},children:(0,n.jsxs)("div",{children:[(0,n.jsx)("input",{className:u().refineInput,type:"checkbox",checked:null==e?void 0:e.checked,onClick:()=>h(l),tabIndex:-1,onKeyPress:e=>{"Enter"===e.key&&h(l)}}),(0,n.jsx)("span",{className:"".concat(u().refineCheckMark),onClick:()=>h(l)}),(null==e?void 0:e.title)&&""!==e.title.toString().trim()&&(0,n.jsx)("span",{onClick:()=>h(l),dangerouslySetInnerHTML:{__html:(null==e?void 0:e.title)+"("+e.count+")"}})]})},l))})]}),(0,n.jsx)("button",{className:"".concat(s?u().apply:u().inactiveAp
1ply," ").concat((null==c?void 0:c.isClientTheme)&&s?"clientbackgroundColor":""," curvedButton"),onClick:()=>g(),children:_("Apply")})]})})};l.default=r},98629:function(e,l,t){"use strict";t.r(l);var n=t(85893),i=t(22556),o=t(81043),d=t.n(o),a=t(67294),u=t(58483),r=t(37936),s=t(32862),v=t(50710),c=t(5817),m=t(69998),_=t(43959),h=t(10627),p=t(52498);let g=e=>{var l,t,o,g,f,x,y;let{sitecoreContext:C}=(0,s.z)(),T=null==C?void 0:null===(l=C.language)||void 0===l?void 0:l.toLowerCase(),[b,I]=(0,a.useState)(!1),[S,N]=(0,a.useState)(),{theme:w,edition:j,mediaObj:L}=(0,a.useContext)(c.ZP),[P,D]=(0,a.useState)(0),k=()=>{I(!1),window.scrollTo(0,P)},{t:M}=(0,i.QT)(),A=async e=>{var l,t,n,i,o,d,a,u,s,v,c,m;let _={language:null==C?void 0:C.language,ItemId:e},h=await (0,p.d)(r.TablePopUpQuery,_),g={props:{datasource:h}};if(!((null==g?void 0:null===(l=g.props)||void 0===l?void 0:null===(t=l.datasource)||void 0===t?void 0:null===(n=t.search)||void 0===n?void 0:null===(i=n.results)||void 0===i?void 0:i.length)>0))return[];{let e=null==g?void 0:null===(o=g.props)||void 0===o?void 0:null===(d=o.datasource)||void 0===d?void 0:null===(a=d.search)||void 0===a?void 0:a.results[0],l="string"==typeof(null==e?void 0:null===(u=e.tableViewModel)||void 0===u?void 0:u.value)&&(null==e?void 0:null===(s=e.tableViewModel)||void 0===s?void 0:null===(v=s.value)||void 0===v?void 0:v.length)>0?JSON.parse(null==e?void 0:null===(c=e.tableViewModel)||void 0===c?void 0:c.value):"";return{title:null==e?void 0:null===(m=e._Title)||void 0===m?void 0:m.value,tableViewModel:l,topicIds:(null==e?void 0:e.topicIds)?null==e?void 0:e.topicIds:{}}}},U=async()=>{var l,t;D(window.scrollY);let n=await A((null==e?void 0:null===(l=e.element)||void 0===l?void 0:l._group)?null==e?void 0:null===(t=e.element)||void 0===t?void 0:t._group:"");N(n),I(!0)},R=()=>{var l,t,n,i,o;U(),(0,_.h)(null==e?void 0:null===(l=e.element)||void 0===l?void 0:l.titlecomputed_t,null==e?void 0:e.queryUrl,(null==e?void 0:null===(t=e.element)||void 0===t?void 0:t.relativeurlcomputed_s)+"?query="+(null==e?void 0:e.queryUrl),(null==e?void 0:e.index)!=null?(null==e?void 0:e.index)+1:null,T),(0,h.oR)(null==e?void 0:null===(n=e.element)||void 0===n?void 0:n.itemtypenamecomputed_s,null==e?void 0:null===(i=e.element)||void 0===i?void 0:i.titlecomputed_t,j,null==e?void 0:null===(o=e.element)||void 0===o?void 0:o.uniqueid_t)};return(0,n.jsxs)("div",{"data-testid":"searchTable",className:d().container,children:[(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:"resourceTag",children:M("Table")})}),(0,n.jsxs)("div",{className:d().content,children:[(null==e?void 0:null===(t=e.element)||void 0===t?void 0:t.titlecomputed_t)&&""!==e.element.titlecomputed_t.trim()&&(0,n.jsx)("div",{onClick:R,onKeyDown:e=>{"Enter"===e.key&&R()},className:"".concat(d().title," ").concat((null==e?void 0:null===(o=e.media)||void 0===o?void 0:o.includes(m.Media.MEDIA_PRINT))&&d().disablePopupItem," ").concat((null==L?void 0:L.isClientTheme)&&"clientFontColor"),tabIndex:0,children:(0,n.jsx)("h3",{dangerouslySetInnerHTML:{__html:null==e?void 0:null===(g=e.element)||void 0===g?void 0:g.titlecomputed_t},className:"h3Title"})}),(0,n.jsx)("span",{className:d().tableImage})]}),(0,n.jsx)(u.default,{show:b,handleClose:k,modalTitle:M("Table"),size:"xl",showFullScreen:!0,children:Array.isArray(S)?null:(0,n.jsx)(v.PopupTable,{...S,baseillustrativeMaterialType:null==S?void 0:null===(f=S.tableViewModel)||void 0===f?void 0:f.MaterialType,showInPopup:!0,themeWithEdition:w,showTopicIds:!0,showPrintShare:!0,component:m.TopicResourceItemTypes.searchTable,shareUrl:(null==e?void 0:null===(x=e.element)||void 0===x?void 0:x.relativeurlcomputed_s)?null==e?void 0:null===(y=e.element)||void 0===y?void 0:y.relativeurlcomputed_s:""})})]})};l.default=g},34123:function(e,l,t){"use strict";t.r(l);var n=t(85893),i=t(98629);let o=e=>{var l,t;return(0,n.jsx)(n.Fragment,{children:null==e?void 0:null===(l=e.data)||void 0===l?void 0:null===(t=l.docs)||void 0===t?void 0:t.map((l,t)=>(0,n.jsx)(i.default,{queryUrl:null==e?void 0:e.queryUrl,index:t,element:l,media:null==e?void 0:e.media},t))})};l.default=o},86216:function(e,l,t){"use strict";t.r(l),t.d(l,{default:function(){return f}});var n=t(85893),i=t(67294),o=t(23067),d=t.n(o),a=t(89755),u=t.n(a),r=t(57823),s=t(38917),v=t(22556),c=t(69998),m=t(5817),_=t
1(40322),h=t(39024),p=t(32862),g=t(65313);function f(e){var l,t,o,a,f,x;let[y,C]=(0,i.useState)("All"),[T,b]=(0,i.useState)(!1),{setSearchRefineToggle:I,mediaObj:S,isMobile:N}=(0,i.useContext)(m.ZP),w=null==window?void 0:window.speechSynthesis,[j,L]=(0,i.useState)([]),P=(0,i.useRef)(null),{t:D}=(0,v.QT)(),{sitecoreContext:k}=(0,p.z)(),M=(0,i.useRef)(null),A=(0,i.useRef)(null);(0,i.useEffect)(()=>{if(C(null==e?void 0:e.activeTab),(null==e?void 0:e.activeTab)===c.SearchTabName.VIDEO_TAB&&A){var l,t;let e=null!==(t=null===(l=A.current)||void 0===l?void 0:l.getBoundingClientRect().top)&&void 0!==t?t:0,n=e+window.pageYOffset-120;window.scrollTo({top:n,behavior:"smooth"})}},[null==e?void 0:e.activeTab]);let U=(e,l)=>y===e?"".concat(d().active," ").concat(l&&"clientborderColor"):"",[R,E]=(0,i.useState)(!1),q=()=>{(null==window?void 0:window.innerWidth)>320&&(null==window?void 0:window.innerWidth)<720?E(!0):E(!1)};(0,i.useEffect)(()=>(void 0!==window&&(q(),null==window||window.addEventListener("resize",q)),()=>{window.removeEventListener("resize",q)}),[]),(0,i.useEffect)(()=>{B(y===e.activeTab?y:null==e?void 0:e.activeTab)},[null==e?void 0:e.tabDataCount,y,R]);let B=l=>{let t;let n=e.tabData.map(e=>{var l;return{...e,count:null!==(l=O(null==e?void 0:e.Key.toLowerCase()))&&void 0!==l?l:0}}),i={Key:"All",Value:D("TopResults"),count:0,display:!0},o={Key:c.SearchTabName.TOP_IMAGES,Value:D("TopImagesPlus"),count:0,display:!0},d=n.filter(e=>"All"!==e.Key),a=d.filter(e=>e.count>0),u=d.filter(e=>0===e.count);t=N?[i,o,...a,...u]:[i,...a,...u];let r=t.filter(e=>e.Key.toLowerCase()!==c.SearchTabName.JPEG).map((e,n)=>{let i=!1,o=4;window.innerWidth>960&&window.innerWidth<1200&&(o=3),window.innerWidth>720&&window.innerWidth<959&&(o=2);let d=(null==window?void 0:window.innerWidth)>320&&(null==window?void 0:window.innerWidth)<720;d&&(o=2);let a=t.findIndex(e=>e.Key===l),u=d?o:a>o?o:o+1;return i=n<u||e.Key===l,{...e,display:i}});L(r)},F=l=>{C(l),b(!1),null==e||e.selectedTab(l,1,!1,e.isSearchStaxTopicFacetPresent),B(l),w&&"function"==typeof w.cancel&&w.cancel()},O=l=>{var t,n,i,o,d,a,u,r,s,v,m,_,h,p,g,f,x,y,C,T,b,I;if(l.toLowerCase()===c.SearchTabName.ALL_ITEMS){let l=0;return null==e||null===(t=e.tabDataCount)||void 0===t||t.map((e,t)=>l+=t%2!=0?Number(e):0),l}if(null===(n=null==l?void 0:l.toLowerCase())||void 0===n?void 0:n.includes(c.SearchTabName.IMAGE)){let t=null===(i=null==l?void 0:l.toLowerCase())||void 0===i?void 0:i.replace(/\s/g,""),n=(null==e?void 0:e.tabDataCount)?null==e?void 0:null===(o=e.tabDataCount)||void 0===o?void 0:o.indexOf(t):-1,u=(null==e?void 0:e.tabDataCount)?null==e?void 0:null===(d=e.tabDataCount)||void 0===d?void 0:d.indexOf(c.SearchTabName.JPEG):-1;return(null==e?void 0:e.tabDataCount)&&(null==e?void 0:null===(a=e.tabDataCount)||void 0===a?void 0:a.length)>0&&(n>=0||u>=0)?(n>=0?Number(null==e?void 0:e.tabDataCount[n+1]):0)+(u>=0?Number(null==e?void 0:e.tabDataCount[u+1]):0):0}if((null==l?void 0:l.toLowerCase())===c.SearchTabName.CONTENT_AUDIO.toLowerCase()){let l=(null==e?void 0:e.tabDataCount)?null==e?void 0:null===(u=e.tabDataCount)||void 0===u?void 0:u.indexOf(c.SearchTabName.AUDIO):-1;return(null==e?void 0:e.tabDataCount)&&(null==e?void 0:null===(r=e.tabDataCount)||void 0===r?void 0:r.length)>=0&&l>=0?Number(null==e?void 0:e.tabDataCount[l+1]):0}if((null==l?void 0:l.toLowerCase())===c.SearchTabName.ABOUT_TAB.toLowerCase()){let l=(null==e?void 0:e.tabDataCount)?null==e?void 0:null===(s=e.tabDataCount)||void 0===s?void 0:s.indexOf(c.SearchTabName.ABOUT_TAB_CONTENT1):-1,t=(null==e?void 0:e.tabDataCount)?null==e?void 0:null===(v=e.tabDataCount)||void 0===v?void 0:v.indexOf(c.SearchTabName.ABOUT_TAB_CONTENT2):-1;return(null==e?void 0:e.tabDataCount)&&(null==e?void 0:null===(m=e.tabDataCount)||void 0===m?void 0:m.length)>0&&(l>=0||t>=0)?(l>=0?Number(null==e?void 0:e.tabDataCount[l+1]):0)+(t>=0?Number(null==e?void 0:e.tabDataCount[t+1]):0):0}if((null==l?void 0:l.toLowerCase())===c.SearchTabName.PET_HEALTH_TAB.toLowerCase()){let l=(null==e?void 0:e.tabDataCount)?null==e?void 0:null===(_=e.tabDataCount)||void 0===_?void 0:_.indexOf(c.SearchTabName.PET_HEALTH_TAB):-1;return(null==e?void 0:e.tabDataCount)&&(null==e?void 0:null===(h=e.tabDataCount)||void 0===h?void 0:h.length)>=0&&l>=0?Number(null==e?void 0:e.tabDataCount[l+1]):0}if((null==l?void 0:l.toLowerCase())===c.SearchTabName.VET_TOPIC.toLowerCase()){let l=(null==e?void 0:e.tabDataCount)?null==e?void 0:null===(p=e.tabDataCount)||void 0===p?void 0:p.indexOf(c.SearchTabName.VET_TOPIC):-1;return(null==e?void 0:e.tabDataCount)&&(null==e?void 0:null===(g=e.tabDataCount)||void 0===g?void 0:g.length)>=0&&l>=0?Number(null==e?void 0:e.tabDataCount[l+1]):0}if((null==l?void 0:l.toLowerCase())===c.SearchTabName.VIDEO||(null==l?void 0:l.toLowerCase())===c.mediaTypes.video){let t=null===(f=null==l?void 0:l.toLowerCase())||void 0===f?void 0:f.replace(/\s/g,""),n=(null==e?void 0:e.tabDataCount)?null==e?void 0:null===(x=e.tabDataCount)||void 0===x?void 0:x.indexOf(t):-1,i=(null==e?void 0:e.tabDataCount)?null==e?void 0:null===(y=e.tabDataCount)||void 0===y?void 0:y.indexOf(c.mediaTypes.video):-1;return(null==e?void 0:e.tabDataCount)&&(null==e?void 0:null===(C=e.tabDataCount)||void 0===C?void 0:C.length)>0&&(n>=0||i>=0)?(n>=0?Number(null==e?void 0:e.tabDataCount[n+1]):0)+(i>=0?Number(null==e?void 0:e.tabDataCount[i+1]):0):0}
1else{let t=null===(T=null==l?void 0:l.toLowerCase())||void 0===T?void 0:T.replace(/\s/g,""),n=(null==e?void 0:e.tabDataCount)?null==e?void 0:null===(b=e.tabDataCount)||void 0===b?void 0:b.indexOf(t):-1;return(null==e?void 0:e.tabDataCount)&&(null==e?void 0:null===(I=e.tabDataCount)||void 0===I?void 0:I.length)>0&&n>=0?Number(null==e?void 0:e.tabDataCount[n+1]):0}};return(0,i.useEffect)(()=>{let e=e=>{var l;null==P||!P.current||(null==P?void 0:null===(l=P.current)||void 0===l?void 0:l.contains(e.target))||b(!1)};return window.addEventListener("click",e),()=>{window.removeEventListener("click",e)}},[]),(0,i.useEffect)(()=>{if(!T||!M.current)return;let e=M.current,l=e.querySelectorAll('a[href], button:not([disabled]), [tabindex="0"]'),t=l[0],n=l[l.length-1],i=e=>{"Escape"===e.key&&b(!1),"Tab"!==e.key||(e.shiftKey&&document.activeElement===t?(e.preventDefault(),null==n||n.focus()):e.shiftKey||document.activeElement!==n||(e.preventDefault(),null==t||t.focus()))};return e.addEventListener("keydown",i),null==t||t.focus({preventScroll:!0}),()=>{e.removeEventListener("keydown",i)}},[T]),(0,i.useEffect)(()=>{if(!T)return;let e=e=>{var l;null!==(l=M.current)&&void 0!==l&&l.contains(e.target)||b(!1)};return window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("scroll",e,!0)}},[T]),(0,n.jsx)("section",{className:d().searchTabs,"data-testid":"searchLayout",children:(0,n.jsx)("div",{className:d().tabs,children:(0,n.jsxs)("ul",{className:d().navDesktop,id:"navDesktop",ref:A,children:[null==j?void 0:j.map((e,l)=>{var t,o;return(0,n.jsx)(i.Fragment,{children:(0,n.jsx)(n.Fragment,{children:(null==e?void 0:e.display)&&(null==e?void 0:null===(t=e.Key)||void 0===t?void 0:t.toLowerCase())!==c.SearchTabName.JPEG&&(0,n.jsx)("li",{className:"".concat(U(null==e?void 0:e.Key)," ").concat(d().navLi," ").concat((null==k?void 0:null===(o=k.language)||void 0===o?void 0:o.toLowerCase())==="ru"&&d().ruNavLi," ").concat(0===l&&"search__type"," ").concat(y===(null==e?void 0:e.Key)?"".concat((null==S?void 0:S.isClientTheme)&&"clientborderColor"):""),children:(0,n.jsxs)("div",{onClick:()=>F(null==e?void 0:e.Key),onKeyPress:l=>{"Enter"===l.key&&F(null==e?void 0:e.Key)},tabIndex:0,children:[(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:(null==e?void 0:e.Value)?null==e?void 0:e.Value:""}}),(null==e?void 0:e.Key)!=="All"&&(null==e?void 0:e.Key)!==c.SearchTabName.TOP_IMAGES&&(0,n.jsxs)("span",{children:[" (",O(null==e?void 0:e.Key),")"]})]})},"item"+l)})},"item"+l)}),(0,n.jsxs)("li",{className:"".concat(d().navLi," ").concat((null==k?void 0:null===(l=k.language)||void 0===l?void 0:l.toLowerCase())==="ru"&&d().ruNavLi),children:[(0,n.jsx)("div",{ref:P,onClick:()=>{b(!T),I(!1)},onKeyPress:e=>{"Enter"===e.key&&(e.preventDefault(),b(!T))},children:(0,n.jsxs)("button",{tabIndex:0,className:d().moreButton,"aria-label":D("SearchMoreLikeThis"),"aria-expanded":T?"true":"false",children:[(0,n.jsx)("span",{children:D("SearchMoreLikeThis")}),(0,n.jsx)("span",{className:d().moreOption,children:(0,n.jsx)(u(),{src:T?null!==(o=null===h.Z||void 0===h.Z?void 0:h.Z.src)&&void 0!==o?o:"":null!==(a=null===_.Z||void 0===_.Z?void 0:_.Z.src)&&void 0!==a?a:"",alt:D("SearchMoreLikeThis"),height:6,width:12,loader:e=>(0,g.customImageLoader)(e)})})]})}),(0,n.jsx)(r.Z,{show:T,target:P.current,placement:"bottom",container:P,popperConfig:N?{strategy:"fixed"}:void 0,containerPadding:20,ref:M,children:(0,n.jsx)(s.Z,{id:"popover-contained",className:"".concat(d().accordianPopover," innerCurvedBorder"),children:(0,n.jsx)(s.Z.Body,{className:d().accordianPopoverBody,children:(0,n.jsx)("ul",{children:null==j?void 0:j.map((e,l)=>(0,n.jsx)(i.Fragment,{children:(0,n.jsx)(n.Fragment,{children:(null==e?void 0:e.Key.toLowerCase())!==c.SearchTabName.JPEG&&(null==e?void 0:e.display)===!1&&(0,n.jsx)("li",{children:(0,n.jsxs)("button",{onClick:()=>{F(null==e?void 0:e.Key)},className:d().popoverButton,onKeyPress:l=>{"Enter"===l.key&&F(null==e?void 0:e.Key)},tabIndex:0,role:"link",children:[(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:(null==e?void 0:e.Value)?null==e?void 0:e.Value:""}}),(0,n.jsxs)("span",{children:[" (",O(null==e?void 0:e.Key),")"]})]})},"element_"+l)})},"element"+e))})})})})]}),!(y===c.SearchTabName.ALL_TAB||y===c.SearchTabName.TOP_IMAGES||y===c.SearchTabName.TOPIC&&!e.isSearchStaxTopicFacetPresent)&&(0,n.jsx)("li",{className:"".concat(d().navLi," ").concat(d().floatRight," ").concat((null==e?void 0:e.showRefine)&&d().navRefineFilter," ").concat((null==k?void 0:null===(t=k.language)||void 0===t?void 0:t.toLowerCase())==="ru"&&d().ruNavLi),onClick:()=>null==e?void 0:e.setShowRefine(!(null==e?void 0:e.showRefine)),onKeyPress:l=>{"Enter"===l.key&&(null==e||e.setShowRefine(null==e?void 0:e.showRefine))},children:(0,n.jsxs)("button",{className:d().refineButton,tabIndex:0,"aria-expanded":(null==e?void 0:e.showRefine)?"true":"false","aria-label":D("RefineResults"),children:[(0,n.jsx)("span",{className:d().filterIcon}),(0,n.jsx)("span",{children:D("RefineResults")}),(0,n.jsx)("span",{className:d().moreOptionRefine,children:(0,n.jsx)(u(),{src:(null==e?void 0:e.showRefine)?null!==(f=null===h.Z||void 0===h.Z?void 0:h.Z.src)&&void 0!==f?f:"":null!==(x=null===_.Z||void 0===_.Z?void 0:_.Z.src)&&void 0!==x?x:"",alt:D("RefineResults"),height:6,width:12,loader:e=>(0,g.customImageLoader)(e)})})]})},"refine")]})})})}},67341:function(e,l,t){"use strict";t.r(l),l.default="query Item($consumerRootItem: String!, $professionalRootItem: String!, $language: String!) {\n home: item(path:$consumerRootItem, language: $language) {\n displayName \n }\n professional: item(path: $professionalRootItem, language: $language) {\n displayName \n }\n}\n"},58771:function(e,l,t){"use strict";t.r(l)},78272:function(e,l,t){"use strict";t.r(l)},69514:function(e,l,t){"use strict";t.r(l)},97157:function(e,l,t){"use strict";t.r(l),t.d(l,{TopicMediaSchemQuery:function(){return n}});let n='query Item($contextItem: String!, $language: String!) {\n datasource: item(path: $contextItem, language: $language) {\n ResourceId: field(name: "ResourceIds") {\n name\n ... on MultilistField {\n targetItems {\n name\n displayName\n id\n template: __typename\n VasontTitle: field(name: "VasontTitle") {\n value\n }\n VasontDescription: field(name: "VasontDescription") {\n value\n }\n ThumbnailURL: field(name: "VideoStillUrl") {\n value\n }\n UploadData: field(name: "CreationDate") {\n value\n }\n restricted: field(name: "restricted") {\n value\n }\n ID: field(name: "ID") {\n value\n }\n ExcludeFromBrand: field(name: "ExcludeFromBrand") {\n value\n }\n Duration: field(name: "Duration") {\n value\n }\n MimeType: field(name: "Mime Type") {\n value\n }\n Title: field(name: "_Title") {\n value\n }\n urlPathSegment: field(name: "Url Path Segment"){\n value\n }\n MediaTitle: field(name: "Title") {\n value\n }\n ExternalUrl: field(name: "ExternalUrl") {\n value\n }\n Description: field(name: "Description") {\n value\n }\n }\n }\n }\n }\n BrightcoveSettings: item(\n path: "/sitecore/content/Configuration/BrightcoveSettings"\n language: $language\n ) {\n AccountId: field(name: "AccountId") {\n value\n }\n RestrictedPlayerId: field(name: "RestrictedPlayerId") {\n value\n }\n ShareablePlayerId: field(name: "ShareablePlayerId") {\n value\n }\n }\n Root: item(path: $contextItem, language: $language) {\n parent {\n parent {\n parent {\n displayName\n }\n }\n }\n }\n}';l.default=n},42158:function(e,l,t){"use strict";t.r(l),t.d(l,{Default:function(){return d}});var n=t(85893);t(67294);var i=t(82349);l.default={title:"Components/Settings",component:i.default};let o=e=>(0,n.jsx)(i.default,{...e}),d=o.bind({viewprop:"Get the view where Settings is used"});d.args={placement:"",visible:!0}},15612:function(e){e.exports={imageWrap:"Images_imageWrap__Vx2DR",aiImageContainer:"Images_aiImageContainer__4HSVo",type:"Images_type__NUluM",imageItemAllTab:"Images_imageItemAllTab__wNd1D",titleWrap:"Images_titleWrap__W4tCL",imageTitle:"Images_imageTitle__J71EZ",disableAllTabImageItem:"Images_disableAllTabImageItem__BVaVR",description:"Images_description__xbRAh",imageContent:"Images_imageContent__0Vfep",imageContainer:"Images_imageContainer__c9eMp",imageItem:"Images_imageItem__Ku83c",imageData:"Images_imageData__esita",disableImageItem:"Images_disableImageItem__JWHRC",imageTitleContent:"Images_imageTitleContent__evxJx"}},84595:function(e){e.exports={container:"PromotionalBox_container__6wD77",header:"PromotionalBox_header__2jQ_q",contentImage:"PromotionalBox_contentImage__Lx9l5",bottomContents:"PromotionalBox_bottomContents__hcxMU",summary:"PromotionalBox_summary__k6kUR",type:"PromotionalBox_type__2HpBx",navs:"PromotionalBox_navs__TSFH1",tabData:"PromotionalBox_tabData__hq6ee",contentReadmore:"PromotionalBox_contentReadmore__IADRq",footers:"PromotionalBox_footers__ATMFj",authorAndReviewer:"PromotionalBox_authorAndReviewer__EGM6G",copyright:"PromotionalBox_copyright__CiFBQ",readMore:"PromotionalBox_readMore__TnhPg",readMoreIcon:"PromotionalBox_readMoreIcon__IxGxe",content:"PromotionalBox_content__M61Tt"}},63824:function(e){e.exports={date:"SearchAboutUs_date__VnASa",aboutUsTitle:"SearchAboutUs_aboutUsTitle__O_M55",title:"SearchAboutUs_title__eoVDZ",summary:"SearchAboutUs_summary__r9nfm"}},55386:function(e){e.exports={container:"SearchBiodigital_container__wx0TP",aiBiodigitalContainer:"SearchBiodigital_aiBiodigitalContainer__ThXHl",bottomContainer:"SearchBiodigital_bottomContainer__enco_",imageContainer:"SearchBiodigital_imageContainer__xSQT7",titleContainer:"SearchBiodigital_titleContainer__NBaTQ",topContainer:"SearchBiodigital_topContainer__Plj_f",title:"SearchBiodigital_title__BT1dy",biodigitalImage:"SearchBiodigital_biodigitalImage__ijygJ",disableBiodigitalImage:"SearchBiodigital_disableBiodigitalImage__37v6n"}},81043:function(e){e.exports={container:"SearchCalculator_container__NFb8m",content:"SearchCalculator_content__NcNA3",image:"SearchCalculator_image__SqOj1",title:"SearchCalculator_title___BOd9",disablePopupItem:"SearchCalculator_disablePopupItem__oNEfk",date:"SearchCalculator_date__NGI8O",summary:"SearchCalculator_summary__fIXm2",tableImage:"SearchCalculator_tableImage__TfpHv"}},1823:function(e){e.exports={container:"SearchDrug_container__HKNUb",content:"SearchDrug_content__piBHh",contentLeft:"SearchDrug_contentLeft__2_JX4",image:"SearchDrug_image__XotEu",brandName:"SearchDrug_brandName__bkNYa",title:"SearchDrug_title__RcwQq",disableDrugPopupItem:"SearchDrug_disableDrugPopupItem__tCyAw"}},96827:function(e){e.exports={container:"SearchInfographics_container__sj6B7",topContainer:"SearchInfographics_topContainer__viyQe",bottomContainer:"SearchInfographics_bottomContainer__UlRT6",titleContainer:"SearchInfographics_titleContainer__VbakE",title:"SearchInfographics_title__gAatu",imageContainer:"SearchInfographics_imageContainer__3L1aP",InfographicsImage:"SearchInfographics_InfographicsImage__UliXL"}},89346:function(e){e.exports={container:"SearchLabtest_container__U48SD",content:"SearchLabtest_content__USI0Y",image:"SearchLabtest_image__88a7U",title:"SearchLabtest_title__FyBxu",disablePopupItem:"SearchLabtest_disablePopupItem__nyeXK",date:"SearchLabtest_date__ALWxr",summary:"SearchLabtest_summary__HJ_HK"}},49433:function(e){e.exports={date:"SearchNews_date__UfJVT",title:"SearchNews_title__uJvc0",disablePopupItem:"SearchNews_disablePopupItem__pEAZ5",summary:"SearchNews_summary__LQjCs",content:"SearchNews_content__2BGHm",quizbtnContainer:"SearchNews_quizbtnContainer__muWt_",quizzIcon:"SearchNews_quizzIcon__r6sVv"}},63672:function(e){e.exports={container:"SearchPodcast_container__1fvy2",leftColumn:"SearchPodcast_leftColumn__dD4Jk",title:"SearchPodcast_title__2FFgL",podcastImage:"SearchPodcast_podcastImage__iZs1F"}},90562:function(e){e.exports={refineMenu:"SearchRefine_refineMenu__yBKGl",searchRefineContainer:"SearchRefine_searchRefineContainer__JEla2",selectAllWrap:"SearchRefine_selectAllWrap__4rckT",refineCheckMark:"SearchRefine_refineCheckMark__k3sMp",selectAll:"SearchRefine_selectAll__V9zTh",listContainer:"SearchRefine_listContainer__Ttw1x",listItem:"SearchRefine_listItem__Chb3j",refineInput:"SearchRefine_refineInput__bfK4H",apply:"SearchRefine_apply__s3jge",inactiveAp
1ply:"SearchRefine_inactiveApply__3vwmy"}},51321:function(e){e.exports={videoWrapper:"Videos_videoWrapper__h8q4W",videoItemSingle:"Videos_videoItemSingle__8YwIB",videoItemContainer:"Videos_videoItemContainer__6pr9b",thumbnailContainer:"Videos_thumbnailContainer__YYuvl",thumbnailImageContainer:"Videos_thumbnailImageContainer__P2fm4",featuredMediaOverlay:"Videos_featuredMediaOverlay__bqxiA",featuredMediaPlayButton:"Videos_featuredMediaPlayButton__AX0Xc",playProfessional:"Videos_playProfessional__lr0U1",playHome:"Videos_playHome__20j6n",playVet:"Videos_playVet__RpNkz",disableVideoItem:"Videos_disableVideoItem__da_nk",videoItemTitleAllTab:"Videos_videoItemTitleAllTab__2Moof",type:"Videos_type__UC5mX",videosContainer:"Videos_videosContainer__QH_z_",videoItem:"Videos_videoItem___mwoT",videoItemTitle:"Videos_videoItemTitle__rHQDt",themeDark:"Videos_themeDark__CQGMt",summary:"Videos_summary__6q4CA",date:"Videos_date__GthBE",allvideoItemContainer:"Videos_allvideoItemContainer__wiaZL"}},69017:function(e){e.exports={container:"searchAudios_container__cesYQ",leftColumn:"searchAudios_leftColumn__w6mwS",title:"searchAudios_title__Ek2tb",disableAudioItem:"searchAudios_disableAudioItem__xtipO",rightColumn:"searchAudios_rightColumn__H4hBC",audioImage:"searchAudios_audioImage__jyLZu",description:"searchAudios_description__YPA5G"}},23067:function(e){e.exports={searchTabs:"searchLayout_searchTabs__EknBo",tabs:"searchLayout_tabs__16CHu",navDesktop:"searchLayout_navDesktop__rFNDr",navLi:"searchLayout_navLi__QUyVF",moreOption:"searchLayout_moreOption__davZs",moreOptionRefine:"searchLayout_moreOptionRefine__2wcPG",ruNavLi:"searchLayout_ruNavLi__b9oe_",active:"searchLayout_active__joTsA",filterIcon:"searchLayout_filterIcon__f7mfj",navRefineFilter:"searchLayout_navRefineFilter__wY4OD",floatRight:"searchLayout_floatRight__m_v2c",accordianPopover:"searchLayout_accordianPopover__gZfm2",moreButton:"searchLayout_moreButton__9t8lq",refineButton:"searchLayout_refineButton__FwnSO",searchType:"searchLayout_searchType__9XSvt",popoverButton:"searchLayout_popoverButton__vQTkX"}}}]);
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.