"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9025],{24266:function(e,t,r){r.d(t,{f:function(){return s}});var i=r(75414),n=r.n(i),o=r(1662),a=r(19207),l=function(e){var t=e.date,r=e.dateTime,i=e.className,n=function(e){if(!e)return"";var t=e.includes("T")||e.endsWith("Z")?e:e.replace(" ","T"),r=new Date(/[zZ]|[+-]\d{2}:?\d{2}$/.test(t)?t:"".concat(t,"Z"));return Number.isNaN(r.getTime())?"":r.toISOString()}(r);return(0,a.jsx)(o.D,{className:i,subtle:!0,children:n?(0,a.jsx)("time",{dateTime:n,children:t}):t})},s=l;l.propTypes={date:n().string.isRequired,dateTime:n().string,className:n().string}},7551:function(e,t,r){r.d(t,{Z:function(){return L}});var i=r(75414),n=r.n(i),o=r(42247),a=r(44363),l=r(40197),s=r(19207);function c(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return u(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r<t;r++)i[r]=e[r];return i}var d=function(e){var t,r,i,n,u=e.heroVideoID,d=e.heroVideoDetails;if(!d)return null;var p=[{image:d.thumbnailUrl,sources:[].concat(c(null!==(t=d.sources)&&void 0!==t&&t.secureHls?[{file:d.sources.secureHls}]:[]),c(null!==(r=d.sources)&&void 0!==r&&r.secureMp4?[{file:d.sources.secureMp4}]:[]),c(null!==(i=d.sources)&&void 0!==i&&i.hls?[{file:d.sources.hls}]:[]),c(null!==(n=d.sources)&&void 0!==n&&n.mp4?[{file:d.sources.mp4}]:[])),tracks:(d.captions||[]).filter(function(e){return e&&e.url&&/^https?:\/\//i.test(e.url)}).map(function(e){return{file:e.url,label:e.label,kind:e.kind}}),aspectratio:"16:9",primary:"html5",width:"100%",mute:!1}];return(0,s.jsx)(o.x,{width:"100%",children:d&&(0,s.jsx)(a.Z,{playerId:u,playerScript:l.cH,playlist:p,isAutoPlay:!1})})};d.propTypes={heroMediaType:n().string,heroVideoID:n().string.isRequired,heroVideoDetails:n().shape({thumbnailUrl:n().string,sources:n().shape({secureHls:n().string,hls:n().string,secureMp4:n().string,mp4:n().string}),captions:n().arrayOf(n().shape({id:n().string,label:n().string,language:n().string,kind:n().string,url:n().string,default:n().bool}))})};var p=r(1030),f=r(37278),m=r(95254),h=r(3804),g=r(18800),y=r(5957),b=r(24266),x=r(66095),v=r(21110),j=x.ZP.header.withConfig({componentId:"sc-19oivw5-0"})(["display:flex;flex-direction:column;.category-section{margin-bottom:16px;.article-hero-category{font-size:20px;font-weight:700;}}@media ","{padding-top:24px;}a{text-decoration:none;}a:hover{text-decoration:underline;text-decoration-color:#ffff;}.author-name{margin-bottom:1rem;text-transform:uppercase;}.date-text{text-transform:uppercase;font-size:14px;}.hero-photo{width:100%;height:auto;margin-top:1.5rem;}.no-gutter{padding-left:0;padding-right:0;}"],v.t.maxWidth.sm),w=r(92929),O=r(77153),P=r(36953),S=r(46906),k=r(98180);function T(e){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var D=["imageUrl","altText"];function I(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}var N=x.ZP.div.withConfig({componentId:"sc-niacgm-0"})(["width:100%;aspect-ratio:16 / 9;position:relative;overflow:hidden;.featured-image-wrapper{position:absolute;top:0;left:0;width:100%;height:100%;}picture,img{width:100%;height:100%;object-fit:cover;display:block;}@media ","{width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);}"],v.t.maxWidth.sm),C=function(e){var t=e.imageUrl,r=e.altText,i=function(e,t){if(null==e)return{};var r,i,n=function(e,t){if(null==e)return{};var r,i,n={},o=Object.keys(e);for(i=0;i<o.length;i++)r=o[i],t.indexOf(r)>=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,D);return(0,s.jsx)(N,{children:(0,s.jsx)(k.Q,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?I(Object(r),!0).forEach(function(t){var i,n;i=t,n=r[t],(i=function(e){var t=function(e,t){if("object"!==T(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!==T(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===T(t)?t:String(t)}(i))in e?Object.defineProperty(e,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[i]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({imageUrl:t,altText:r,breakpoints:l.H2,isLcp:!0,wrapperClassName:"featured-image-wrapper"},i),t)})},Z=r(20203),E=function(e){var t,r=e.categoryName,i=e.categoryLink,n=e.title,a=e.authorName,l=e.publishDate,c=e.publishDateGmt,u=e.hideFeaturedImageOnArticlePage,x=e.articleFeaturedImage,v=e.articleFeaturedVideo,k=e.authorLink,T=e.attribution,D=e.postLink,I=e.isSponsored,N=void 0!==I&&I,E=(0,h.t)((0,g.p)({only:"xs"}));return(0,s.jsxs)(j,{"data-testid":"article-hero-styled-container",children:[!N&&(0,s.jsxs)(p.X,{children:[(0,s.jsx)(f.J,{className:"category-section",xs:8,children:r&&(0,s.jsx)(w.M,{as:"p",categoryName:r,categoryLink:i,className:"article-hero-category"})}),(0,s.jsx)(f.J,{"data-testid":"article-social-media-links",xs:4,children:(0,s.jsx)(S.D,{postLink:D,postTitle:n})})]}),N&&(0,s.jsx)(p.X,{children:(0,s.jsx)(f.J,{className:"category-section",xs:12,children:r&&(0,s.jsx)(w.M,{as:"p",categoryName:r,categoryLink:i,className:"article-hero-category"})})}),(0,s.jsx)(p.X,{children:(0,s.jsx)(f.J,{lg:11,children:(0,s.jsx)(y.D,{className:"post-title",title:n,type:"pageTitle"})})}),(0,s.jsxs)(m.k,{flexDirection:E&&!N?"column":"row",margin:{y:3},gap:3,children:[(0,s.jsxs)(o.x,{className:"author-section",children:[(0,s.jsx)(O.U,{variant:"by",name:a,link:k,"data-eventitem":"hero-author"}),l&&(0,s.jsx)(b.f,{className:"date-text",date:l,dateTime:c})]}),N&&(0,s.jsx)(o.x,{flexGrow:1,display:"flex",justifyContent:"flex-end",alignItems:"flex-start",children:(0,s.jsx)(S.D,{postLink:D,postTitle:n})}),T&&(null==T?void 0:T.nodes[0])&&(0,s.jsx)(o.x,{flexGrow:1,children:(0,s.jsx)(P.T,{name:null==T?void 0:T.nodes[0].title,type:null==T?void 0:T.nodes[0].contentTypeName,url:null==T?void 0:T.nodes[0].attributionUrl,logo:null==T||null===(t=T.nodes[0])||void 0===t||null===(t=t.featuredImage)||void 0===t||null===(t=t.node)||void 0===t?void 0:t.sourceUrl,articleHero:!0})})]}),v&&"video"===v.heroMediaType&&v.heroVideoID?(0,s.jsx)(d,{"data-testid":"article-hero-featured-video",heroMediaType:v.heroMediaType,heroVideoID:v.heroVideoID,heroVideoDetails:v.heroVideoDetails}):!(void 0!==u&&u)&&x?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(C,{imageUrl:x.imageUrl,altText:x.altText}),x.imageCredit&&(0,s.jsx)(Z.k,{imageCredit:x.imageCredit,align:"left"})]}):null]})};E.propTypes={categoryName:n().string,categoryLink:n().string,title:n().string.isRequired,authorName:n().string.isRequired,publishDate:n().string,articleFeaturedImage:n().object,articleFeaturedVideo:n().object,authorLink:n().string.isRequired,attribution:n().object,isSponsored:n().bool};var L=E},14752:function(e,t,r){r.d(t,{Z:function(){return _}});var i=r(2700),n=r(2692),o=r(21110),a=r(35653),l=r(75357),s=r(64101),c=r(5957),u=r(77153),d=r(8015),p=r.n(d),f=r(40197),m=r(9827),h=r(66095),g=r(19207);function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function x(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach(function(t){var i,n;i=t,n=r[t],(i=function(e){var t=function(e,t){if("object"!==y(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!==y(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===y(t)?t:String(t)}(i))in e?Object.defineProperty(e,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[i]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var v=function(e,t){var r=e.replace(/\.jpe?g/i,"");return"\n    ".concat(r,"_x1.").concat(t," 1x,\n    ").concat(r,"_x2.").concat(t," 2x,\n    ").concat(r,"_x3.").concat(t," 3x\n  ").trim()},j=(0,h.ZP)(c.D).withConfig({componentId:"sc-1x1yrvs-0"})(["display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:4;-webkit-box-orient:vertical;margin-bottom:10px;"]),w=(0,h.ZP)(p()).withConfig({componentId:"sc-1x1yrvs-1"})(["text-decoration:none;"]),O=h.ZP.a.withConfig({componentId:"sc-1x1yrvs-2"})(["text-decoration:none;color:inherit;"]),P=(0,h.ZP)(n.Z).withConfig({componentId:"sc-1x1yrvs-3"})(["width:100px;height:100px;flex-shrink:0;"]),S=function(e){var t,r,i,n,c,d=e.article,h=e.isLast,y=e.showUnderline,b=(null==d||null===(t=d.featuredImage)||void 0===t||null===(t=t.node)||void 0===t?void 0:t.sourceUrl)||f.t,S={};y&&!h&&(S={borderBottom:"1px solid",borderColor:o.t.color.border.secondary});var k=(0,m.Vq)(b,100,100).replace(/\.jpe?g/i,""),T={sources:[{srcSet:v(k,"avif"),type:"image/avif",sizes:"100px"},{srcSet:v(k,"webp"),type:"image/webp",sizes:"100px"}],imgProps:{src:k,srcSet:v(k,"jpg"),alt:(null==d||null===(r=d.featuredImage)||void 0===r||null===(r=r.node)||void 0===r?void 0:r.altText)||(null==d?void 0:d.title),sizes:"100px"}},D=d.isExternalArticle;return(0,g.jsx)("article",{children:(0,g.jsxs)(a.Z,x(x({horizontalLayout:!0,styleType:"flat",alignItems:"start",padding:{bottom:4},margin:{bottom:4}},S),{},{children:[(0,g.jsxs)(l.a,{children:[D?(0,g.jsx)(O,{href:d.uri,title:d.title,target:"_blank",children:(0,g.jsx)(j,{title:d.title,type:"postCardTitle"})}):(0,g.jsx)(w,{href:d.uri,title:d.title,children:(0,g.jsx)(j,{title:d.title,type:"postCardTitle"})}),(null==d||null===(i=d.author)||void 0===i||null===(i=i.node)||void 0===i?void 0:i.name)&&(0,g.jsx)(u.U,{name:null==d||null===(n=d.author)||void 0===n||null===(n=n.node)||void 0===n?void 0:n.name,link:null==d||null===(c=d.author)||void 0===c||null===(c=c.node)||void 0===c?void 0:c.uri})]}),(0,g.jsx)(P,{children:D?(0,g.jsx)(O,{href:d.uri,title:d.title,target:"_blank",children:(0,g.jsx)(s.Y,{className:"featured-image",pictureProps:T},b)}):(0,g.jsx)(p(),{href:d.uri,children:(0,g.jsx)(s.Y,{className:"featured-image",pictureProps:T},b)})})]}))})},k=r(71501),T=(0,h.ZP)(n.Z).withConfig({componentId:"sc-1rwl8oh-0"})(["width:100px;height:100px;flex-shrink:0;"]),D=h.ZP.div.withConfig({componentId:"sc-1rwl8oh-1"})(["display:flex;flex-direction:row;align-items:flex-start;"]),I=h.ZP.div.withConfig({componentId:"sc-1rwl8oh-2"})(["flex:1;margin-right:16px;"]),N=function(){return(0,g.jsx)(a.Z,{horizontalLayout:!0,styleType:"flat",alignItems:"start",padding:{bottom:4},margin:{bottom:4},children:(0,g.jsx)(l.a,{children:(0,g.jsxs)(D,{children:[(0,g.jsx)(I,{children:(0,g.jsx)(k.O,{layout:[{width:"90%",height:"22px"},{width:"90%",height:"22px"},{width:"90%",height:"22px"},{width:"50%",height:"22px"}],spacing:"8px"})}),(0,g.jsx)(T,{children:(0,g.jsx)(k.O,{layout:[{width:"100px",height:"100px"}],shape:"rectangle"})})]})})})},C=r(55821),Z=r(1662),E=r(42247),L=r(3804),U=r(18800);function V(e){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function M(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach(function(t){var i,n;i=t,n=r[t],(i=function(e){var t=function(e,t){if("object"!==V(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!==V(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===V(t)?t:String(t)}(i))in e?Object.defineProperty(e,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[i]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var _=function(e){var t=e.articles,r=e.title,n=e.columns,o=(0,L.t)((0,U.p)({max:"sm"}))?1:void 0===n?1:n,a=i.useId(),l=void 0===t,s=(null==t?void 0:t.length)===0;return!l&&s?null:(0,g.jsxs)("section",{"aria-labelledby":a,children:[(0,g.jsx)(Z.D,M(M({id:a,suppressHydrationWarning:!0},f.Xy.editorPick),{},{gutter:{bottom:3},dangerouslySetInnerHTML:{__html:(0,C.sanitize)(r)}})),(0,g.jsx)(E.x,{display:"grid",gridTemplateColumns:"repeat(".concat(o,", 1fr)"),gap:3===o?5:0,children:l?Array.from({length:5}).map(function(e,t){return(0,g.jsx)(N,{},"skeleton-".concat(t))}):t.map(function(e,r){return(0,g.jsx)(S,{article:e,isLast:t.length-1===r,showUnderline:3!==o},r)})})]})}},73901:function(e,t,r){r.d(t,{l:function(){return o}});var i=r(85747),n=function(e){return fetch(e).then(function(e){if(!e.ok)throw Error("Fetch failed: ".concat(e.status));return e.json()})};function o(e){var t=(0,i.ZP)(e,n),r=t.data;return t.error?[]:r}}}]);
//# sourceMappingURL=9025-b0988bce0174e1b2.js.map