(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9981],{560:(e,t,r)=>{"use strict";r.d(t,{AtomHydrationBoundaries:()=>m});var a=r(16775),n=r(22501),i=r(29148),s=r(83251),l=r(61187);let o=(0,s.eU)(),c=(0,s.eU)([]);(0,s.eU)(e=>e(l.U)),(0,s.eU)(e=>e(i.X));var d=r(15545),h=r(36183);let u=e=>{let t=(0,h.Pj)(),r=(0,h.Xr)((0,d.useMemo)(()=>(0,s.eU)(null,(r,a)=>{for(let[r,n]of e)t.get(r)!==n&&(console.debug("Atom change detected, updating - store value:",t.get(r),"new value:",n),a(r,n))}),[e,t]));(0,d.useEffect)(()=>{r()},[r])},m=e=>(u([[a.m,e.pageId],[i.X,e.pageLocale],[n.$,e.metricsArticleData],[n.g,e.metricsLocationData],[o,e.adConfig],[c,e.adSlots]]),null)},6872:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});let a={src:"/_next/static/media/atmosphereLogo.8b654638.svg",height:40,width:215,blurWidth:0,blurHeight:0}},8807:(e,t,r)=>{"use strict";var a=r(71046).Y,n="undefined"!=typeof window?window.matchMedia:null;function i(e,t,r){var i,s=this;function l(e){s.matches=e.matches,s.media=e.media}n&&!r&&(i=n.call(window,e)),i?(this.matches=i.matches,this.media=i.media,i.addListener(l)):(this.matches=a(e,t),this.media=e),this.addListener=function(e){i&&i.addListener(e)},this.removeListener=function(e){i&&i.removeListener(e)},this.dispose=function(){i&&i.removeListener(l)}}e.exports=function(e,t,r){return new i(e,t,r)}},18919:(e,t,r)=>{"use strict";r.d(t,{K:()=>l});var a=r(7629),n=r(15545),i=r(47251);let s=(0,n.forwardRef)((e,t)=>{let{title:r,titleId:n,desc:i,descId:s,...l}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":s,...l,children:[i?(0,a.jsx)("desc",{id:s,children:i}):null,void 0===r?(0,a.jsx)("title",{id:n,children:"Twitter"}):r?(0,a.jsx)("title",{id:n,children:r}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M12.217 1.27h2.249L9.552 6.884l5.78 7.642h-4.525L7.262 9.892l-4.056 4.635H.956L6.21 8.52.666 1.27h4.64l3.205 4.236zm-.79 11.91h1.247L4.63 2.546H3.292z"})]})}),l=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:s,...e}));l.displayName="Twitter"},35319:(e,t,r)=>{"use strict";r.d(t,{i:()=>n});var a=r(59979);let n=()=>!(0,a.Ub)({query:"(min-width: 768px)"})},39981:(e,t,r)=>{Promise.resolve().then(r.bind(r,6872)),Promise.resolve().then(r.bind(r,37765)),Promise.resolve().then(r.bind(r,4173)),Promise.resolve().then(r.bind(r,10353)),Promise.resolve().then(r.bind(r,48702)),Promise.resolve().then(r.bind(r,11429)),Promise.resolve().then(r.bind(r,84281)),Promise.resolve().then(r.bind(r,84002)),Promise.resolve().then(r.bind(r,64213)),Promise.resolve().then(r.bind(r,28160)),Promise.resolve().then(r.bind(r,67821)),Promise.resolve().then(r.bind(r,82203)),Promise.resolve().then(r.bind(r,92947)),Promise.resolve().then(r.bind(r,36605)),Promise.resolve().then(r.bind(r,60731)),Promise.resolve().then(r.bind(r,68891)),Promise.resolve().then(r.bind(r,560)),Promise.resolve().then(r.bind(r,15863)),Promise.resolve().then(r.bind(r,38435)),Promise.resolve().then(r.bind(r,84870)),Promise.resolve().then(r.bind(r,48782)),Promise.resolve().then(r.t.bind(r,26817,23))},48782:(e,t,r)=>{"use strict";r.d(t,{WeatherLocationTickerClientComponent:()=>m});var a=r(7629),n=r(15545),i=r(96361),s=r(24044),l=r(31002),o=r(36183),c=r(52806),d=r(89192),h=r(27657),u=r(36706);function m(e){var t;let{node:r}=e,[m,p]=(0,n.useState)(null),[f,x]=(0,n.useState)(!0),[b,v]=(0,n.useState)(null),w=(0,o.md)(h.Yt),y=null==(t=(0,u.xP)(w))?void 0:t.code,{data:g,error:j}=(0,i.Ay)(r.geocode?["currentConditions",r.geocode,y]:null,async e=>{let[t,r,a]=e;try{return await (0,s.z)({geocode:r,units:a,language:"en-US"})}catch(e){return console.error("Error fetching weather:",e),null}},{revalidateOnFocus:!1,dedupingInterval:3e5});(0,n.useEffect)(()=>{g?(p(Math.round(g.temperature)),x(!1)):j&&(v(j),x(!1))},[g,j]);let k=r.placeId?"/weather/today/l/".concat(r.placeId):"#";return(0,a.jsxs)("a",{href:k,className:"inline-flex items-center gap-1",children:[(0,a.jsx)("span",{className:"border-b-2 border-dotted border-black",children:r.locationName}),f?(0,a.jsx)("span",{className:"text-gray-400",children:"..."}):b?(0,a.jsx)("span",{className:"text-gray-400",children:"!"}):(0,a.jsxs)("span",{className:"inline-flex items-center rounded-full bg-gray-100 px-2",children:[(null==g?void 0:g.iconCode)!==void 0&&(0,a.jsx)("span",{className:"flex items-center",children:"na"!==(l.ICON_CODE_MAP[g.iconCode]||"na")?(0,a.jsx)(c.De,{iconCode:g.iconCode,className:"lightBG","aria-label":l.ICON_CODE_MAP[g.iconCode]||"Weather condition ".concat(g.iconCode),iconTheme:"lightBG",size:"sm"}):(0,a.jsx)(d.Y,{className:"lightBG","aria-label":"Weather icon not available",size:"sm"})}),(0,a.jsxs)("span",{className:"font-medium",children:[m,"\xb0"]})]})]})}},56778:(e,t,r)=>{"use strict";r.d(t,{f:()=>l});var a=r(7629),n=r(15545),i=r(47251);let s=(0,n.forwardRef)((e,t)=>{let{title:r,titleId:n,desc:i,descId:s,...l}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":s,...l,children:[i?(0,a.jsx)("desc",{id:s,children:i}):null,void 0===r?(0,a.jsx)("title",{id:n,children:"Facebook"}):r?(0,a.jsx)("title",{id:n,children:r}):null,(0,a.jsx)("g",{clipPath:"url(#a)",children:(0,a.jsx)("path",{fill:"currentColor",d:"M8 0a8 8 0 0 0-1.932 15.765v-5.32h-1.65V8h1.65V6.947c0-2.723 1.232-3.985 3.905-3.985.507 0 1.382.1 1.74.198v2.216c-.19-.02-.518-.03-.925-.03-1.312 0-1.818.498-1.818 1.79V8h2.613l-.45 2.445H8.97v5.496A8 8 0 0 0 8 0"})}),(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"a",children:(0,a.jsx)("path",{fill:"currentColor",d:"M0 0h16v16H0z"})})})]})}),l=n.forwardRef((e,t)=>(0,a.jsx)(i.h,{ref:t,icon:s,...e}));l.displayName="Facebook"},59979:(e,t,r)=>{"use strict";r.d(t,{Ub:()=>M});var a=r(15545),n=r(8807),i=r.n(n),s=/[A-Z]/g,l=/^ms-/,o={};function c(e){return"-"+e.toLowerCase()}let d=function(e){if(o.hasOwnProperty(e))return o[e];var t=e.replace(s,c);return o[e]=l.test(t)?"-"+t:t};var h=r(70724),u=r.n(h);let m=u().oneOfType([u().string,u().number]),p={all:u().bool,grid:u().bool,aural:u().bool,braille:u().bool,handheld:u().bool,print:u().bool,projection:u().bool,screen:u().bool,tty:u().bool,tv:u().bool,embossed:u().bool},{type:f,...x}={orientation:u().oneOf(["portrait","landscape"]),scan:u().oneOf(["progressive","interlace"]),aspectRatio:u().string,deviceAspectRatio:u().string,height:m,deviceHeight:m,width:m,deviceWidth:m,color:u().bool,colorIndex:u().bool,monochrome:u().bool,resolution:m,type:Object.keys(p)},b={minAspectRatio:u().string,maxAspectRatio:u().string,minDeviceAspectRatio:u().string,maxDeviceAspectRatio:u().string,minHeight:m,maxHeight:m,minDeviceHeight:m,maxDeviceHeight:m,minWidth:m,maxWidth:m,minDeviceWidth:m,maxDeviceWidth:m,minColor:u().number,maxColor:u().number,minColorIndex:u().number,maxColorIndex:u().number,minMonochrome:u().number,maxMonochrome:u().number,minResolution:m,maxResolution:m,...x};var v={all:{...p,...b}};let w=e=>`not ${e}`,y=(e,t)=>{let r=d(e);return("number"==typeof t&&(t=`${t}px`),!0===t)?r:!1===t?w(r):`(${r}: ${t})`},g=e=>e.join(" and "),j=e=>{let t=[];return Object.keys(v.all).forEach(r=>{let a=e[r];null!=a&&t.push(y(r,a))}),g(t)},k=(0,a.createContext)(void 0),C=e=>e.query||j(e),N=e=>{if(e)return Object.keys(e).reduce((t,r)=>(t[d(r)]=e[r],t),{})},P=()=>{let e=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{e.current=!0},[]),e.current},A=e=>{let t=(0,a.useContext)(k),r=()=>N(e)||N(t),[n,i]=(0,a.useState)(r);return(0,a.useEffect)(()=>{let e=r();(function(e,t){if(e===t)return!0;if(!e||!t)return!1;let r=Object.keys(e),a=Object.keys(t),n=r.length;if(a.length!==n)return!1;for(let a=0;a{let t=()=>C(e),[r,n]=(0,a.useState)(t);return(0,a.useEffect)(()=>{let e=t();r!==e&&n(e)},[e]),r},L=(e,t)=>{let r=()=>i()(e,t||{},!!t),[n,s]=(0,a.useState)(r),l=P();return(0,a.useEffect)(()=>{if(l){let e=r();return s(e),()=>{e&&e.dispose()}}},[e,t]),n},O=e=>{let[t,r]=(0,a.useState)(e.matches);return(0,a.useEffect)(()=>{let t=e=>{r(e.matches)};return e.addListener(t),r(e.matches),()=>{e.removeListener(t)}},[e]),t},M=(e,t,r)=>{let n=A(t),i=R(e);if(!i)throw Error("Invalid or missing MediaQuery!");let s=L(i,n),l=O(s),o=P();return(0,a.useEffect)(()=>{o&&r&&r(l)},[l]),(0,a.useEffect)(()=>()=>{s&&s.dispose()},[]),l}},60016:(e,t,r)=>{"use strict";var a=r(86851);function n(){}function i(){}i.resetWarningCache=n,e.exports=function(){function e(e,t,r,n,i,s){if(s!==a){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:n};return r.PropTypes=r,r}},68891:(e,t,r)=>{"use strict";r.d(t,{ArticleShareButton:()=>_});var a=r(7629),n=r(15545),i=r(18967),s=r(20979),l=r(95445),o=r(85492),c=r(35238);let d=e=>{let{isOpen:t,setIsOpen:r,children:n,title:s}=e;return(0,a.jsx)(o.lG,{open:t,children:(0,a.jsxs)(o.ZJ,{children:[(0,a.jsx)(o.LC,{className:"bg-black/50"}),(0,a.jsxs)(o.Cf,{className:(0,c.cn)("p-0 [&>button]:hidden","fixed inset-x-0 bottom-0 top-auto z-50 flex h-auto flex-col bg-white","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:slide-out-to-bottom-[10%] data-[state=open]:slide-in-from-bottom-[10%]","left-0 w-full max-w-none translate-x-0 translate-y-0 shadow-lg duration-300","border-x-0 border-b-0","rounded-b-none rounded-t-3xl"),children:[(0,a.jsx)(o.L3,{className:"pt-4",children:(0,a.jsxs)("div",{className:"relative flex items-center justify-center pb-2",children:[(0,a.jsx)(l.Ay,{variant:"Body.M",className:"font-bold",children:s}),(0,a.jsx)("button",{onClick:()=>r(!1),className:"absolute right-5 top-0 cursor-pointer text-black hover:text-gray-700",children:(0,a.jsx)(i.A,{className:"h-6 w-6"})}),(0,a.jsx)("div",{className:"absolute bottom-0 left-0 right-0 h-[1px] bg-[#e9e9e9]"})]})}),(0,a.jsx)("div",{className:"max-h-[70vh] overflow-y-auto p-4 pt-0",children:n})]})]})})};var h=r(47251);let u=(0,n.forwardRef)((e,t)=>{let{title:r,titleId:n,desc:i,descId:s,...l}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":s,...l,children:[i?(0,a.jsx)("desc",{id:s,children:i}):null,void 0===r?(0,a.jsx)("title",{id:n,children:"Share"}):r?(0,a.jsx)("title",{id:n,children:r}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M11.5 10a2.5 2.5 0 0 0-1.944.945L5.9 8.66a2.23 2.23 0 0 0 0-1.32l3.655-2.285A2.5 2.5 0 1 0 9 3.5q.004.337.1.66L5.446 6.445a2.5 2.5 0 1 0 0 3.11L9.1 11.84a2.4 2.4 0 0 0-.1.66 2.5 2.5 0 1 0 2.5-2.5m0-8a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m-8 7.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m8 4.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"})]})}),m=n.forwardRef((e,t)=>(0,a.jsx)(h.h,{ref:t,icon:u,...e}));m.displayName="Share";let p=e=>{let{onClick:t,asChild:r=!1}=e,n={className:"flex cursor-pointer items-center text-sm text-gray-500",onClick:t,"data-testid":"share-button"},i=(0,a.jsxs)("div",{className:"align-center flex items-center","data-testid":"article-share-button",children:[(0,a.jsx)(m,{size:"sm",className:"m-0 mr-[8px]","data-testid":"share-icon-image"}),(0,a.jsx)(l.Ay,{variant:"Body.S",color:"brandDark",className:"m-0 font-bold","data-testid":"share-button-text",children:"Share"})]});return r?(0,a.jsx)("div",{...n,children:i}):(0,a.jsx)("button",{...n,children:i})};var f=r(18337);let x=(0,f.A)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);var b=r(18875);let v=(0,f.A)("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);var w=r(80743),y=r(70567),g=r(65836),j=r(11113),k=r(583);let C=()=>{let e=(0,k.q)(),t="content-shared",r=(0,y.G)(),a=(0,g.N)({effectiveLocation:e}),i=(0,j.A)(),s=(0,n.useCallback)(e=>{let{sharedMethod:n}=e,l={createdDate:null==i?void 0:i.createdDate,contentId:null==i?void 0:i.contentId,publishDate:null==i?void 0:i.publishDate,author:(null==i?void 0:i.author)||"",collection:null==i?void 0:i.collection,entitlements:null==i?void 0:i.entitlements,sharedMethod:n,...a};if(!r)return void console.warn("MParticle is not initialized");try{w.A.logEvent(t,w.A.EventType.Other,l),console.debug('MParticle: Event "'.concat(t,'" tracked'),l)}catch(e){console.error('MParticle: Event "'.concat(t,'" failed'),e)}return s},[null==i?void 0:i.author,null==i?void 0:i.contentId,null==i?void 0:i.collection,null==i?void 0:i.createdDate,null==i?void 0:i.entitlements,null==i?void 0:i.publishDate,a,r]);return s};var N=r(56778),P=r(18919);let A=(0,n.forwardRef)((e,t)=>{let{title:r,titleId:n,desc:i,descId:s,...l}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":s,...l,children:[i?(0,a.jsx)("desc",{id:s,children:i}):null,void 0===r?(0,a.jsx)("title",{id:n,children:"Reddit"}):r?(0,a.jsx)("title",{id:n,children:r}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M9.627 3.772a1.334 1.334 0 1 0-.008-.576 2.153 2.153 0 0 0-1.92 2.138v.007c-1.173.049-2.243.383-3.093.91a1.868 1.868 0 1 0-1.934 3.17c.061 2.168 2.424 3.913 5.331 3.913s5.273-1.747 5.332-3.917a1.869 1.869 0 1 0-1.939-3.169c-.857-.53-1.94-.864-3.124-.909v-.005c0-.793.59-1.452 1.355-1.56zM4.531 8.914c.031-.677.481-1.197 1.004-1.197s.923.55.892 1.227-.422.923-.946.923c-.523 0-.982-.275-.95-.953m5.941-1.197c.524 0 .974.52 1.004 1.197.032.678-.427.953-.95.953s-.915-.245-.946-.923.368-1.227.892-1.227m-.623 2.765c.099.01.161.112.123.203a2.133 2.133 0 0 1-3.938 0 .148.148 0 0 1 .123-.203 19 19 0 0 1 1.846-.09c.65 0 1.27.032 1.846.09"})]})}),R=n.forwardRef((e,t)=>(0,a.jsx)(h.h,{ref:t,icon:A,...e}));R.displayName="Reddit";let L=(0,n.forwardRef)((e,t)=>{let{title:r,titleId:n,desc:i,descId:s,...l}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":s,...l,children:[i?(0,a.jsx)("desc",{id:s,children:i}):null,void 0===r?(0,a.jsx)("title",{id:n,children:"LinkedIn"}):r?(0,a.jsx)("title",{id:n,children:r}):null,(0,a.jsx)("g",{clipPath:"url(#a)",children:(0,a.jsx)("path",{fill:"currentColor",d:"M14.816 0H1.18C.528 0 0 .516 0 1.153v13.69A1.17 1.17 0 0 0 1.181 16h13.635c.653 0 1.184-.519 1.184-1.153V1.153C16 .516 15.469 0 14.816 0M4.746 13.634H2.373V5.997h2.375zM3.56 4.956a1.376 1.376 0 1 1-.004-2.751 1.376 1.376 0 0 1 .004 2.751m10.075 8.678h-2.372V9.922c0-.885-.015-2.025-1.234-2.025-1.234 0-1.422.966-1.422 1.962v3.775H6.238V5.997h2.274V7.04h.032c.315-.6 1.09-1.235 2.243-1.235 2.404 0 2.847 1.582 2.847 3.638z"})}),(0,a.jsx)("defs",{children:(0,a.jsx)("clipPath",{id:"a",children:(0,a.jsx)("path",{fill:"currentColor",d:"M0 0h16v16H0z"})})})]})}),O=n.forwardRef((e,t)=>(0,a.jsx)(h.h,{ref:t,icon:L,...e}));O.displayName="LinkedIn";let M=(0,n.forwardRef)((e,t)=>{let{title:r,titleId:n,desc:i,descId:s,...l}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":s,...l,children:[i?(0,a.jsx)("desc",{id:s,children:i}):null,void 0===r?(0,a.jsx)("title",{id:n,children:"BlueSky"}):r?(0,a.jsx)("title",{id:n,children:r}):null,(0,a.jsx)("path",{fill:"currentColor",d:"M4.6 3.677C5.976 4.71 7.456 6.805 8 7.93c.543-1.124 2.023-3.219 3.4-4.252.992-.745 2.6-1.322 2.6.513 0 .367-.21 3.08-.333 3.52-.428 1.53-1.99 1.921-3.378 1.685 2.428.413 3.045 1.782 1.711 3.15-2.532 2.599-3.64-.652-3.924-1.485-.052-.153-.076-.224-.077-.164 0-.06-.024.011-.076.164-.284.833-1.392 4.084-3.925 1.485-1.333-1.368-.716-2.737 1.712-3.15C4.32 9.63 2.76 9.24 2.33 7.71c-.123-.44-.333-3.153-.333-3.52 0-1.835 1.609-1.258 2.602-.513"})]})}),I=n.forwardRef((e,t)=>(0,a.jsx)(h.h,{ref:t,icon:M,...e}));I.displayName="BlueSky";let S=(0,n.forwardRef)((e,t)=>{let{title:r,titleId:n,desc:i,descId:s,...l}=e;return(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:t,"aria-labelledby":n,"aria-describedby":s,...l,children:[i?(0,a.jsx)("desc",{id:s,children:i}):null,void 0===r?(0,a.jsx)("title",{id:n,children:"WhatsApp"}):r?(0,a.jsx)("title",{id:n,children:r}):null,(0,a.jsx)("path",{fill:"currentColor",d:"m0 16 1.125-4.109A7.9 7.9 0 0 1 .067 7.927C.069 3.557 3.625 0 7.995 0c2.121 0 4.112.827 5.609 2.325a7.88 7.88 0 0 1 2.32 5.61c-.002 4.371-3.559 7.928-7.929 7.928a7.93 7.93 0 0 1-3.792-.966zm4.398-2.538c1.117.663 2.184 1.06 3.595 1.061a6.6 6.6 0 0 0 6.592-6.59A6.59 6.59 0 0 0 7.998 1.34a6.6 6.6 0 0 0-6.593 6.589c0 1.483.434 2.594 1.164 3.756l-.666 2.432zm7.591-3.643c-.049-.082-.181-.132-.38-.231-.198-.1-1.172-.579-1.354-.645-.181-.066-.313-.099-.446.1-.132.198-.512.644-.627.776s-.231.149-.43.05c-.197-.1-.836-.308-1.593-.984a6 6 0 0 1-1.102-1.372c-.115-.198-.012-.306.087-.404.09-.089.198-.232.297-.348.101-.114.134-.197.2-.33.066-.132.034-.248-.016-.347s-.446-1.074-.611-1.47c-.161-.387-.325-.335-.446-.34l-.38-.007a.73.73 0 0 0-.528.248c-.181.198-.693.677-.693 1.652 0 .976.71 1.918.808 2.05.1.132 1.397 2.133 3.384 2.991.473.204.842.326 1.13.417.474.151.906.13 1.248.079.38-.057 1.172-.48 1.337-.942.165-.463.165-.86.115-.943"})]})}),E=n.forwardRef((e,t)=>(0,a.jsx)(h.h,{ref:t,icon:S,...e}));E.displayName="WhatsApp";var B=r(19129);let D=e=>{let{setIsOpen:t,setCopied:r,copied:n,title:i,imageUrl:s,subText:o}=e,d=C(),h=e=>{let r=encodeURIComponent(window.location.href),a=encodeURIComponent(i),n="";switch(e){case"twitter":n="https://twitter.com/intent/tweet?url=".concat(r,"&text=").concat(a);break;case"facebook":n="https://www.facebook.com/sharer.php?u=".concat(r);break;case"linkedin":n="https://www.linkedin.com/sharing/share-offsite/?url=".concat(r);break;case"reddit":n="https://www.reddit.com/submit?url=".concat(r,"&title=").concat(a);break;case"bluesky":n="https://bsky.app/intent/compose?text=".concat(a,"%20").concat(r);break;case"whatsapp":n="https://wa.me/?text=".concat(a,"%20").concat(r)}n&&(window.open(n,"_blank"),d({sharedMethod:e}),t(!1))},u=[{key:"facebook",name:"Facebook",icon:N.f,action:()=>h("facebook")},{key:"twitter",name:"X",icon:P.K,action:()=>h("twitter")},{key:"reddit",name:"Reddit",icon:R,action:()=>h("reddit")},{key:"linkedin",name:"LinkedIn",icon:O,action:()=>h("linkedin")},{key:"bluesky",name:"Bluesky",icon:I,action:()=>h("bluesky")},{key:"whatsapp",name:"WhatsApp",icon:E,action:()=>h("whatsapp")},{key:"email",name:"Email",icon:x,action:()=>{let e="mailto:?subject=".concat(encodeURIComponent(i),"&body=").concat(encodeURIComponent(window.location.href));document.body.setAttribute("data-mailto-url",e),window.location.href=e,d({sharedMethod:"email"}),t(!1)}},{key:"copy",name:n?"Copied":"Copy link",icon:n?b.A:v,action:()=>{"undefined"!=typeof navigator&&navigator.clipboard.writeText(window.location.href).then(()=>{r(!0),d({sharedMethod:"linkCopy"}),setTimeout(()=>t(!1),3e3),setTimeout(()=>r(!1),3400)})}}];return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex gap-2",children:[s&&(0,a.jsx)(B.A,{src:s,alt:"",className:"md:h-16.75 h-18 w-auto rounded-lg"}),(0,a.jsx)("p",{className:(0,c.cn)("line-clamp-3 overflow-hidden text-ellipsis","h-18 text-xl font-semibold leading-6","md:h-16.75 md:text-base md:font-bold md:leading-[140%]"),children:i})]}),o&&(0,a.jsx)(l.Ay,{variant:"Body.S",className:"m-0 mt-2 leading-[115%] text-gray-600",children:o}),(0,a.jsx)("hr",{className:"my-4 border-[#e9e9e9]"}),(0,a.jsx)("div",{className:"space-y-4","data-testid":"share-options-container",children:u.map(e=>(0,a.jsxs)("button",{onClick:e.action,className:"flex h-6 w-full cursor-pointer items-center rounded-md hover:bg-gray-50","data-testid":"share-".concat(e.key,"-button"),children:[(0,a.jsx)("div",{className:"mr-[8px] flex h-6 w-6 items-center justify-center","data-testid":"share-".concat(e.key,"-icon"),children:(0,a.jsx)(e.icon,{className:"w-6"})}),(0,a.jsx)(l.Ay,{variant:"Body.M","data-testid":"share-".concat(e.key,"-text"),children:e.name})]},e.key))})]})};var T=r(35319);let _=e=>{let{articleTitle:t,articleImageUrl:r,authors:o}=e,[c,h]=(0,n.useState)(!1),[u,m]=(0,n.useState)(!1),f=(0,T.i)(),x=null==o?void 0:o.reduce((e,t,r)=>{let{authorData:a}=t;if(!a)return e;let n="".concat(a.firstName," ").concat(a.lastName),i=r===o.length-1,s=r===o.length-2;return e+n+(i?"":s?" and ":", ")},""),b=()=>(0,a.jsx)(D,{setCopied:h,setIsOpen:m,copied:c,title:t,imageUrl:r,subText:x&&"By "+x});return(0,a.jsx)("div",{className:"flex items-center justify-between","data-testid":"article-share-container",children:f?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(p,{onClick:()=>m(!0)}),(0,a.jsx)(d,{title:"Share this article",isOpen:u,setIsOpen:m,"data-testid":"share-mobile-drawer",children:b()})]}):(0,a.jsxs)(s.AM,{open:u,onOpenChange:m,"data-testid":"share-popover",children:[(0,a.jsx)(s.Wv,{children:(0,a.jsx)(p,{asChild:!0})}),(0,a.jsxs)(s.hl,{arrowPadding:2,align:"end",alignOffset:-2,className:"drop-shadow-lg/25 relative z-10 w-[312px] rounded-2xl border-0 bg-white p-[16px]","data-testid":"share-popover-content",children:[(0,a.jsx)(s.Rp,{width:21,height:14,className:"fill-white"}),(0,a.jsxs)("div",{className:"mb-[8px] flex items-center justify-between",children:[(0,a.jsx)(l.Ay,{variant:"Body.L",className:"font-bold","data-testid":"share-title",children:"Share this article"}),(0,a.jsx)("button",{onClick:()=>m(!1),className:"cursor-pointer text-black hover:text-gray-700","data-testid":"share-close-button",children:(0,a.jsx)(i.A,{className:"h-6 w-6"})})]}),b()]})]})})}},70724:(e,t,r)=>{e.exports=r(60016)()},71046:(e,t)=>{"use strict";t.Y=function(e,t){return(function(e){return e.split(",").map(function(e){var t=(e=e.trim()).match(r),i=t[1],s=t[2],l=t[3]||"",o={};return o.inverse=!!i&&"not"===i.toLowerCase(),o.type=s?s.toLowerCase():"all",o.expressions=(l=l.match(/\([^\)]+\)/g)||[]).map(function(e){var t=e.match(a),r=t[1].toLowerCase().match(n);return{modifier:r[1],feature:r[2],value:t[2]}}),o})})(e).some(function(e){var r=e.inverse,a="all"===e.type||t.type===e.type;if(a&&r||!(a||r))return!1;var n=e.expressions.every(function(e){var r=e.feature,a=e.modifier,n=e.value,i=t[r];if(!i)return!1;switch(r){case"orientation":case"scan":return i.toLowerCase()===n.toLowerCase();case"width":case"height":case"device-width":case"device-height":n=c(n),i=c(i);break;case"resolution":n=o(n),i=o(i);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":n=l(n),i=l(i);break;case"grid":case"color":case"color-index":case"monochrome":n=parseInt(n,10)||1,i=parseInt(i,10)||0}switch(a){case"min":return i>=n;case"max":return i{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}}]);