(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]||(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]=[])).push(["object"==typeof document?document.currentScript:void 0,973855,e=>{"use strict";let t=(0,e.i(514514).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",0,t],973855)},482317,e=>{"use strict";let t=(0,e.i(514514).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],482317)},146691,e=>{"use strict";var t=e.i(902875),n=e.i(247865),a=e.i(747961);let i=(0,n.forwardRef)(({title:e,titleId:n,desc:a,descId:i,...r},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":n,"aria-describedby":i,...r,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:n,children:"Share"}):e?(0,t.jsx)("title",{id:n,children:e}):null,(0,t.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"})]})),r=n.default.forwardRef((e,n)=>(0,t.jsx)(a.BaseIcon,{ref:n,icon:i,...e}));r.displayName="Share",e.s(["Share",0,r])},186624,e=>{"use strict";var t=e.i(981030);let n=(0,t.atom)(void 0),a=(0,t.atom)(void 0),i=(0,t.atom)(void 0);(0,t.atom)(void 0),e.s(["jwPlayerPlaylistIdAtom",0,a,"selectedPlaylistIdAtom",0,n,"selectedVideoAtom",0,i])},265225,e=>{"use strict";let t=(0,e.i(981030).atom)(null);e.s(["commentCountAtom",0,t])},190228,e=>{"use strict";var t=e.i(902875),n=e.i(247865),a=e.i(482317),i=e.i(809058),r=e.i(368847),o=e.i(144103);function l({children:e,fallback:t,delayMs:a=0}){let[i,r]=(0,n.useState)(!1);return((0,n.useEffect)(()=>{if(a>0){let e=setTimeout(()=>{r(!0)},a);return()=>clearTimeout(e)}r(!0)},[a]),i)?e:t||null}var s=e.i(146691),c=e.i(632137);let d=({onClick:e=()=>void 0,asChild:n=!1,className:a,type:i,...o})=>{let l={className:(0,c.cn)("flex cursor-pointer items-center text-sm text-gray-500","article"===i&&"px-3 py-2 rounded-lg border border-[#676767] bg-transparent",a),onClick:e,"data-testid":"share-button"},d=(0,t.jsxs)("div",{className:"align-center flex items-center","data-testid":"share-button-content",children:[(0,t.jsx)(s.Share,{size:"sm",className:"m-0 mr-[8px]","data-testid":"share-icon-image"}),(0,t.jsx)(r.default,{variant:"Body.S",color:"brandDark",className:"m-0 font-bold","data-testid":"share-button-text",children:"Share"})]});return n?(0,t.jsx)("div",{...l,children:d}):(0,t.jsx)("button",{type:"button",...o,...l,children:d})};var u=e.i(514514);let m=(0,u.default)("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 h=e.i(729496);let f=(0,u.default)("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 p=e.i(487709),b=e.i(737801),x=e.i(630986),g=e.i(546446),v=e.i(540768),w=e.i(682142),y=e.i(782937),j=e.i(695881),k=e.i(333350),C=e.i(64412),S=e.i(950771),I=e.i(537989),A=e.i(695203),N=e.i(604323),D=e.i(158662),T=e.i(358273),R=e.i(777638),P=e.i(924776),E=e.i(409628),B=e.i(605781),M=e.i(289681);let F=(0,j.createLogger)("useTrackContentShared");var $=e.i(393864),_=e.i(499167),L=e.i(747961);let H=(0,n.forwardRef)(({title:e,titleId:n,desc:a,descId:i,...r},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":n,"aria-describedby":i,...r,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:n,children:"Reddit"}):e?(0,t.jsx)("title",{id:n,children:e}):null,(0,t.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"})]})),V=n.default.forwardRef((e,n)=>(0,t.jsx)(L.BaseIcon,{ref:n,icon:H,...e}));V.displayName="Reddit";let z=(0,n.forwardRef)(({title:e,titleId:n,desc:a,descId:i,...r},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":n,"aria-describedby":i,...r,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:n,children:"LinkedIn"}):e?(0,t.jsx)("title",{id:n,children:e}):null,(0,t.jsx)("g",{clipPath:"url(#a)",children:(0,t.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,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"a",children:(0,t.jsx)("path",{fill:"currentColor",d:"M0 0h16v16H0z"})})})]})),K=n.default.forwardRef((e,n)=>(0,t.jsx)(L.BaseIcon,{ref:n,icon:z,...e}));K.displayName="LinkedIn";let O=(0,n.forwardRef)(({title:e,titleId:n,desc:a,descId:i,...r},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":n,"aria-describedby":i,...r,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:n,children:"BlueSky"}):e?(0,t.jsx)("title",{id:n,children:e}):null,(0,t.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"})]})),G=n.default.forwardRef((e,n)=>(0,t.jsx)(L.BaseIcon,{ref:n,icon:O,...e}));G.displayName="BlueSky";let U=(0,n.forwardRef)(({title:e,titleId:n,desc:a,descId:i,...r},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":n,"aria-describedby":i,...r,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:n,children:"WhatsApp"}):e?(0,t.jsx)("title",{id:n,children:e}):null,(0,t.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"})]})),q=n.default.forwardRef((e,n)=>(0,t.jsx)(L.BaseIcon,{ref:n,icon:U,...e}));q.displayName="WhatsApp";var W=e.i(37429);let X=({setIsOpen:e,setCopied:a,copied:i,title:o,imageUrl:l,subText:s})=>{let d,u,j,L,H=(d="content-shared",u=(0,b.useEventAttributes)(),j=(0,x.useCMSAttributes)(),L=(0,n.useCallback)(({sharedMethod:e})=>{let t={createdDate:j?.createdDate,contentId:j?.contentId,publishDate:j?.publishDate,author:j?.author||"",collection:j?.collection,entitlements:j?.entitlements,sharedMethod:e,...u};if(!(0,p.canLogEvent)())return void console.warn("MParticle is not loaded");try{window.mParticle?.logEvent?.(d,window.mParticle?.EventType?.Other,t),console.debug(`MParticle: Event "${d}" tracked`,t)}catch(e){console.error(`MParticle: Event "${d}" failed`,e)}return L},[j?.author,j?.contentId,j?.collection,j?.createdDate,j?.entitlements,j?.publishDate,u])),z=(()=>{let e=(0,g.useAtomValue)(I.pageIdAtom),t=(0,g.useAtomValue)(S.pageLocaleAtom),a=(0,g.useAtomValue)(A.deviceClassAtom),i=(0,g.useAtomValue)(N.metricsArticleDataAtom),r=(0,g.useAtomValue)(D.experimentJoinListAtom),{location:o}=(0,C.useLocation)(),l=(0,P.useIsHightouchReady)(),s=(0,n.useCallback)(()=>{let n=(0,w.getCICookie)(),l=n?.["TWC-GeoIP-Country"]??(0,v.getCookie)("twc-location-country"),s=n?.["TWC-GeoIP-Region"]??(0,v.getCookie)("twc-location-region"),c=n?.["TWC-Privacy"]??(0,v.getCookie)("twc-privacy"),d=window.DprSdk?.getGdprConsentOptInsString()??"",u=window.DprSdk?.getCcpaSaleOptInString()??"",m=window.navigator?.globalPrivacyControl??!1,h=d?.includes("functional-technology")??!1,f=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,p=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,b=(0,M.getConsentAuthorization)("sale-of-data"),x=(0,M.getConsentAuthorization)("sensitive-data"),g=navigator?.cookieEnabled??!1,j=(0,v.getCookie)("partner")||"",k=(0,y.getPartnerByPattern)(j)??j,C=(0,T.getMetricsSession)(),S=C?.sessionId||"",I=new Date(C?.sessionStartTime||0).toISOString(),A=new Date,N=A.getHours(),D=E.WEEK_DAYS[A.getDay()]??"";return{pageId:e??"",schemaVersion:"nextgen",author:i?.author||"",contentId:i?.contentId??null,createdDate:i?.createdDate??null,publishDate:i?.publishDate??null,collection:i?.collection??null,entitlements:i?.entitlements??null,nodeTypes:i?.nodeType??null,pageTemplate:i?.pageTemplate??null,premiumContent:i?.premiumContent!=null?String(i.premiumContent):null,provider:i?.provider??null,tagsGeo:i?.tagsGeo??null,tagsKeyword:i?.tagsKeyword??null,tagsStorm:i?.tagsStorm??null,title:i?.title??null,referrer:document.referrer,locale:t,deviceClass:a,partner:k,sessionId:S,sessionStartTime:I,siteMode:"normal",dayOfWeek:D,hourOfDay:N,regime:c??"",cookiesEnabled:g,gpcSignalOptOut:m,functionalTechnologies:h,geographicallyRelevantAds:f,interestBasedAds:p,priv:d,privProducts:u,saleOfData:b??void 0,saleOfDataAuthorization:b,sensitiveDataAuthorization:x,campaign:(0,R.getCampaign)(),linkReferral:(0,R.getLinkReferral)()??void 0,experimentJoinList:r,weatherMode:"normal",physicalCountry:l??"",physicalState:s??"",wlocCity:o?.city??null,wlocCountry:o?.countryCode??null,wlocState:o?.adminDistrictCode??null,wlocDMA:o?.dmaCd??null,samsungVersion:(0,R.getSamsungVersion)(),appVersion:"0404f88080af60073c643d025e42bd9b3fcc20b4".slice(0,10)}},[e,t,a,i,r,o]);return(0,n.useCallback)(()=>{if(k.default){if(!l)return void F.warn('Hightouch: Event "content-shared" skipped - SDK not ready');try{(0,B.trackContentShared)(s()),F.info('Hightouch: Event "content-shared" tracked')}catch(e){F.error('Hightouch: Event "content-shared" failed',{error:e})}}},[l,s])})(),O=e=>{H({sharedMethod:e}),z()},U=t=>{let n=encodeURIComponent(window.location.href),a=encodeURIComponent(o),i="";switch(t){case"twitter":i=`https://twitter.com/intent/tweet?url=${n}&text=${a}`;break;case"facebook":i=`https://www.facebook.com/sharer.php?u=${n}`;break;case"linkedin":i=`https://www.linkedin.com/sharing/share-offsite/?url=${n}`;break;case"reddit":i=`https://www.reddit.com/submit?url=${n}&title=${a}`;break;case"bluesky":i=`https://bsky.app/intent/compose?text=${a}%20${n}`;break;case"whatsapp":i=`https://wa.me/?text=${a}%20${n}`}i&&(window.open(i,"_blank"),O(t),e(!1))},X=[{key:"facebook",name:"Facebook",icon:$.Facebook,action:()=>U("facebook")},{key:"twitter",name:"X",icon:_.Twitter,action:()=>U("twitter")},{key:"reddit",name:"Reddit",icon:V,action:()=>U("reddit")},{key:"linkedin",name:"LinkedIn",icon:K,action:()=>U("linkedin")},{key:"bluesky",name:"Bluesky",icon:G,action:()=>U("bluesky")},{key:"whatsapp",name:"WhatsApp",icon:q,action:()=>U("whatsapp")},{key:"email",name:"Email",icon:m,action:()=>{let t=`mailto:?subject=${encodeURIComponent(o)}&body=${encodeURIComponent(window.location.href)}`;document.body.setAttribute("data-mailto-url",t),window.location.href=t,O("email"),e(!1)}},{key:"copy",name:i?"Copied":"Copy link",icon:i?h.Check:f,action:()=>{"u">typeof navigator&&navigator.clipboard.writeText(window.location.href).then(()=>{a(!0),O("linkCopy"),setTimeout(()=>e(!1),3e3),setTimeout(()=>a(!1),3400)})}}];return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex gap-2",children:[l&&(0,t.jsx)(W.default,{src:l,alt:"",className:"h-18 w-auto rounded-lg md:h-16.75"}),(0,t.jsx)("p",{className:(0,c.cn)("line-clamp-3 overflow-hidden text-ellipsis","h-18 text-xl leading-6 font-semibold","md:h-16.75 md:text-base md:leading-[140%] md:font-bold"),children:o})]}),s&&(0,t.jsx)(r.default,{variant:"Body.S",className:"m-0 mt-2 leading-[115%] text-gray-600",children:s}),(0,t.jsx)("hr",{className:"my-4 border-[#e9e9e9]"}),(0,t.jsx)("div",{className:"space-y-4","data-testid":"share-options-container",children:X.map(e=>(0,t.jsxs)("button",{onClick:e.action,className:"flex h-6 w-full cursor-pointer items-center rounded-md hover:bg-gray-50","data-testid":`share-${e.key}-button`,children:[(0,t.jsx)("div",{className:"mr-[8px] flex h-6 w-6 items-center justify-center","data-testid":`share-${e.key}-icon`,children:(0,t.jsx)(e.icon,{className:"w-6"})}),(0,t.jsx)(r.default,{variant:"Body.M","data-testid":`share-${e.key}-text`,children:e.name})]},e.key))})]})};var J=e.i(498076);e.s(["Share",0,({type:e="link",title:s,closeLabel:c,imageUrl:u,authors:m})=>{let[h,f]=(0,n.useState)(!1),[p,b]=(0,n.useState)(!1),x=(0,J.useIsMobile)(),g=(m??[]).map(e=>"string"==typeof e?"":`${e.firstName||""} ${e.lastName||""}`.trim()).filter(Boolean).reduce((e,t,n,a)=>{let i=n===a.length-1,r=n===a.length-2;return e+t+(i?"":r?" and ":", ")},""),v=()=>(0,t.jsx)(X,{setCopied:f,setIsOpen:b,copied:h,title:s,imageUrl:u,subText:g?"By "+g:void 0});return(0,t.jsx)(l,{fallback:(0,t.jsx)("div",{className:"flex items-center justify-between","data-testid":"share-container","aria-hidden":"true",children:(0,t.jsx)(d,{type:e})}),children:(0,t.jsx)("div",{className:"flex items-center justify-between","data-testid":"share-container",children:x?(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(o.MobileDrawer,{title:`Share this ${e}`,closeLabel:c,isOpen:!!x&&p,setIsOpen:b,trigger:(0,t.jsx)(d,{type:e}),"data-testid":"share-mobile-drawer",children:v()})}):(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(i.Popover,{open:!x&&p,onOpenChange:b,"data-testid":"share-popover",children:[(0,t.jsx)(i.PopoverTrigger,{children:(0,t.jsx)(d,{asChild:!0,type:e})}),(0,t.jsxs)(i.PopoverContent,{arrowPadding:2,align:"end",alignOffset:-2,className:"relative z-50 w-[312px] rounded-2xl border-0 bg-white p-[16px] drop-shadow-lg/25","data-testid":"share-popover-content",children:[(0,t.jsx)(i.PopoverArrow,{width:21,height:14,className:"fill-white"}),(0,t.jsxs)("div",{className:"mb-[8px] flex items-center justify-between",children:[(0,t.jsxs)(r.default,{variant:"Body.L",className:"font-bold","data-testid":"share-title",children:["Share this ",e]}),(0,t.jsx)("button",{type:"button","aria-label":c,onClick:()=>b(!1),className:"cursor-pointer text-black hover:text-gray-700","data-testid":"share-close-button",children:(0,t.jsx)(a.X,{className:"h-6 w-6","aria-hidden":"true"})})]}),v()]})]})})})})}],190228)},143911,e=>{"use strict";var t=e.i(902875),n=e.i(546446),a=e.i(247865),i=e.i(368847),r=e.i(747961);let o=(0,a.forwardRef)(({title:e,titleId:n,desc:a,descId:i,...r},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":n,"aria-describedby":i,...r,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:n,children:"Description"}):e?(0,t.jsx)("title",{id:n,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"M8.87 15 8 14.5l2-3.5h3a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h4.5v1H3a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2h-2.42z"}),(0,t.jsx)("path",{d:"M12 5H4v1h8zM9 8H4v1h5z"})]})]})),l=a.default.forwardRef((e,n)=>(0,t.jsx)(r.BaseIcon,{ref:n,icon:o,...e}));l.displayName="Description";var s=e.i(632137),c=e.i(265225);e.s(["ViewCommentsButton",0,({articleId:e,onClick:r,className:o,isMobile:d=!1})=>{let u=(0,n.useAtomValue)(c.commentCountAtom),[m,h]=(0,a.useState)(!1);(0,a.useEffect)(()=>{if(null!==u)h(!0);else{let e=setTimeout(()=>{h(!0)},3e3);return()=>clearTimeout(e)}},[u]),(0,a.useEffect)(()=>{null===u&&h(!1)},[u]);let f=!d&&0!==u;return m?(0,t.jsx)("button",{className:(0,s.cn)("flex cursor-pointer items-center px-3 py-2 text-sm text-gray-500","rounded-lg border border-[#676767] bg-transparent",null===u?"hidden":"flex",o),onClick:()=>{let e=document.getElementById("openweb-comments");if(!e){let t=document.querySelectorAll('[id^="openweb-video-comments-"]');t.length>0&&(e=t[0])}if(!e){let t=document.querySelectorAll('[id*="openweb"]');t.length>0&&(e=t[0])}e&&e.scrollIntoView({behavior:"smooth",block:"start"}),r?.()},"data-testid":"view-comments-button",children:(0,t.jsxs)("div",{className:"flex items-center gap-1","data-testid":"view-comments-button-content",children:[(0,t.jsx)(l,{size:"sm",className:"m-0","data-testid":"comments-icon"}),f&&(0,t.jsx)(i.default,{variant:"Body.S",color:"brandDark",className:"m-0 font-bold","data-testid":"view-text",children:null!==u&&u>=3?"View all":"View"}),0!==u&&(0,t.jsx)(i.default,{variant:"Body.S",color:"brandDark",className:"m-0 font-bold","data-testid":"comments-count",children:u}),(0,t.jsx)(i.default,{variant:"Body.S",color:"brandDark",className:"m-0 font-bold","data-testid":"comments-text",children:0===u?"Start the conversation":1===u?"comment":"comments"})]})}):null}],143911)},550385,e=>{"use strict";var t=e.i(902875),n=e.i(581014),a=e.i(877957),i=e.i(240058),r=e.i(632137),o=e.i(683199);function l({variant:e="inline",className:s}){let c=(0,n.useTranslations)("PremiumGating"),d="cover"===e,u=(0,o.usePremiumSource)();return(0,t.jsxs)("div",{role:"region","aria-label":c("title"),"data-testid":"limited-access-overlay",className:(0,r.cn)("flex flex-col items-center gap-4 text-center",d?"absolute inset-0 z-10 justify-center bg-black/70 px-4 text-white backdrop-blur-sm":"relative -mt-24 bg-gradient-to-t from-white via-white to-transparent px-4 pt-24 pb-8",s),children:[(0,t.jsx)("p",{className:(0,r.cn)("text-xl font-bold",d?"text-white":"text-gray-900"),children:c("title")}),(0,t.jsx)("p",{className:(0,r.cn)("max-w-md text-sm",d?"text-gray-100":"text-gray-600"),children:c("description")}),(0,t.jsx)(a.Button,{asChild:!0,className:"h-10 px-5 font-bold",children:(0,t.jsx)(i.default,{href:"/subscribe?tpcc=mktg-premium-content-gate",onClick:()=>u({sourceModule:"content-gate",sourceElement:"subscribe"}),children:c("cta")})})]})}e.s(["LimitedAccessOverlay",0,l,"default",0,l])},144103,e=>{"use strict";var t=e.i(902875),n=e.i(62544),a=e.i(632137),i=e.i(368847),r=e.i(710746);e.s(["MobileDrawer",0,({isOpen:e,setIsOpen:o,children:l,title:s,closeLabel:c,trigger:d,onCloseAutoFocus:u})=>(0,t.jsxs)(n.Dialog,{open:e,onOpenChange:o,children:[d&&(0,t.jsx)(n.DialogTrigger,{asChild:!0,children:d}),(0,t.jsxs)(n.DialogContent,{showCloseButton:!1,onCloseAutoFocus:u,className:(0,a.cn)("p-0","fixed inset-x-0 top-auto bottom-0 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 sm:max-w-none","border-x-0 border-b-0","rounded-t-3xl rounded-b-none"),children:[(0,t.jsxs)("div",{className:"relative pt-4",children:[(0,t.jsx)(n.DialogTitle,{className:"flex items-center justify-center pt-0 pb-2",children:(0,t.jsx)(i.default,{variant:"Body.M",elementType:"span",className:"min-w-0 px-12 text-center font-bold break-words",children:s})}),(0,t.jsx)(n.DialogClose,{"aria-label":c,className:"absolute end-5 top-4 cursor-pointer rounded-sm text-black hover:text-gray-700 focus-visible:ring-2 focus-visible:ring-blue-500 focus-visible:outline-none",children:(0,t.jsx)(r.Close,{ariaHidden:!0,title:"",className:"text-current"})}),(0,t.jsx)("div",{className:"absolute right-0 bottom-0 left-0 h-[1px] bg-[#e9e9e9]"})]}),(0,t.jsx)("div",{className:"max-h-[70vh] overflow-y-auto p-4 pt-0",children:l})]})]})])},457492,e=>{"use strict";var t=e.i(902875),n=e.i(247865),a=e.i(632137),i=e.i(546446),r=e.i(663333),o=e.i(235577),l=e.i(315730),s=e.i(240058);let c=(0,a.cn)("h-full rounded-3xl px-4 text-sm whitespace-nowrap transition-colors text-gray-900 font-bold","inline-flex items-center hover:bg-gray-100 active:bg-gray-200 focus-visible:outline-none focus-visible:bg-gray-100"),d=e=>{let{activeIndex:n,index:i,link:r}=e,o=n===i,l=(0,a.cn)(c,{"bg-gray-100 text-blue-500":o});if(e.onSelect){let{onSelect:n}=e;return(0,t.jsx)("button",{type:"button",onClick:()=>n(i,r),className:(0,a.cn)("cursor-pointer",l),"aria-current":o?"page":void 0,children:r.label})}let{basePath:d,mpa:u}=e,m=r.href??("/"===r.slug?d||"/":`${d}/${r.slug}`);return(0,t.jsx)(s.default,{href:m,mpa:u,className:l,"aria-current":o?"page":void 0,sourceModule:"subnavigation",children:r.label})},u=(0,n.memo)(e=>{let{links:n,activeIndex:s,className:c,constrained:u=!0}=e,m=(0,i.useAtomValue)(r.deviceClassAtom),{ref:h,showLeft:f,showRight:p,scrollLeft:b,scrollRight:x}=(0,l.useHorizontalScroll)({enabled:"mobile"!==m&&"tablet"!==m,scrollAmount:200,contentKey:n});return(0,t.jsxs)("div",{className:(0,a.cn)("relative overflow-hidden rounded-3xl bg-white p-1 shadow-[0_4px_16px_0_rgba(0,0,0,0.08),_0_0_32px_0_rgba(0,0,0,0.12)]","md:rounded-4xl md:rounded-[28px]",u&&"md:mr-auto md:max-w-[min(958px,100%)]",c),"data-testid":"subnavigation",children:[(0,t.jsx)("div",{className:(0,a.cn)("pointer-events-none absolute top-0 -left-25 h-full w-24 bg-gradient-to-r from-white from-0% via-white via-60% to-transparent transition-[left] md:-top-1 md:h-14 md:rounded-s-[28px]",{"-left-1":f}),"aria-hidden":"true"}),(0,t.jsx)(o.ScrollButton,{hidden:!f,onClick:b,direction:"left"}),(0,t.jsx)("div",{ref:h,className:(0,a.cn)("scrollbar-hide flex h-10 items-center gap-1 overflow-x-auto md:h-12"),children:n.map((n,a)=>e.onSelect?(0,t.jsx)(d,{link:n,index:a,activeIndex:s,onSelect:e.onSelect},`${n.label}_${n.slug}`):(0,t.jsx)(d,{link:n,index:a,activeIndex:s,basePath:e.basePath,mpa:e.mpa},`${n.label}_${n.slug}`))}),(0,t.jsx)("div",{className:(0,a.cn)("pointer-events-none absolute top-0 -right-25 h-full w-24 bg-gradient-to-l from-white from-0% via-white via-60% to-transparent transition-[right] md:-top-1 md:h-14 md:rounded-e-[28px]",{"-right-1":p}),"aria-hidden":"true"}),(0,t.jsx)(o.ScrollButton,{hidden:!p,onClick:x,direction:"right"})]})},(e,t)=>e.activeIndex===t.activeIndex&&e.basePath===t.basePath&&e.mpa===t.mpa&&e.onSelect===t.onSelect&&e.constrained===t.constrained&&e.links.length===t.links.length&&e.links.every((e,n)=>e.label===t.links[n]?.label&&e.slug===t.links[n]?.slug&&e.href===t.links[n]?.href));u.displayName="SubnavigationUI",e.s(["SubnavigationUI",0,u],457492)},626923,e=>{"use strict";var t=e.i(902875),n=e.i(247865),a=e.i(543836),i=e.i(855128),r=e.i(251590),o=e.i(271359),l=e.i(296994),s=e.i(942928),c=e.i(843265),d=e.i(803976),u=e.i(986044),m=e.i(714035),h=Object.defineProperty,f=(e,t)=>h(e,"name",{value:t,configurable:!0}),p=!1;function b(){let[e,t]=n.useState(p);return n.useEffect(()=>{p||(p=!0,t(!0))},[]),e}f(b,"useIsHydrated");var x=n[" useSyncExternalStore ".trim().toString()];function g(){return()=>{}}function v(){return x(g,()=>!0,()=>!1)}f(g,"subscribe"),f(v,"useIsHydratedModern");var w="function"==typeof x?v:b,y=Object.defineProperty,j=(e,t)=>y(e,"name",{value:t,configurable:!0}),k="rovingFocusGroup.onEntryFocus",C={bubbles:!1,cancelable:!0},S="RovingFocusGroup",[I,A,N]=(0,r.createCollection)(S),[D,T]=(0,i.createContextScope)(S,[N]),[R,P]=D(S),E=n.forwardRef(j(function(e,n){return(0,t.jsx)(I.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,t.jsx)(I.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,t.jsx)(B,{...e,ref:n})})})},"RovingFocusGroup")),B=n.forwardRef(j(function(e,i){let{__scopeRovingFocusGroup:r,orientation:l,loop:m=!1,dir:h,currentTabStopId:f,defaultCurrentTabStopId:p,onCurrentTabStopIdChange:b,onEntryFocus:x,preventScrollOnEntryFocus:g=!1,...v}=e,w=n.useRef(null),y=(0,o.useComposedRefs)(i,w),j=(0,u.useDirection)(h),[I,N]=(0,d.useControllableState)({prop:f,defaultProp:p??null,onChange:b,caller:S}),[D,T]=n.useState(!1),P=(0,c.useCallbackRef)(x),E=A(r),B=n.useRef(!1),[M,F]=n.useState(0);return n.useEffect(()=>{let e=w.current;if(e)return e.addEventListener(k,P),()=>e.removeEventListener(k,P)},[P]),(0,t.jsx)(R,{scope:r,orientation:l,dir:j,loop:m,currentTabStopId:I,onItemFocus:n.useCallback(e=>N(e),[N]),onItemShiftTab:n.useCallback(()=>T(!0),[]),onFocusableItemAdd:n.useCallback(()=>F(e=>e+1),[]),onFocusableItemRemove:n.useCallback(()=>F(e=>e-1),[]),children:(0,t.jsx)(s.Primitive.div,{tabIndex:D||0===M?-1:0,"data-orientation":l,...v,ref:y,style:{outline:"none",...e.style},onMouseDown:(0,a.composeEventHandlers)(e.onMouseDown,()=>{B.current=!0}),onFocus:(0,a.composeEventHandlers)(e.onFocus,e=>{let t=!B.current;if(e.target===e.currentTarget&&t&&!D){let t=new CustomEvent(k,C);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=E().filter(e=>e.focusable);L([e.find(e=>e.active),e.find(e=>e.id===I),...e].filter(Boolean).map(e=>e.ref.current),g)}}B.current=!1}),onBlur:(0,a.composeEventHandlers)(e.onBlur,()=>T(!1))})})},"RovingFocusGroupImpl")),M=n.forwardRef(j(function(e,i){let{__scopeRovingFocusGroup:r,focusable:o=!0,active:c=!1,tabStopId:d,children:u,...h}=e,f=(0,l.useId)(),p=d||f,b=P("RovingFocusGroupItem",r),x=b.currentTabStopId===p,g=A(r),{onFocusableItemAdd:v,onFocusableItemRemove:y,currentTabStopId:j}=b,k=w();return(0,m.useLayoutEffect)(()=>{if(k&&o)return v(),()=>y()},[k,o,v,y]),n.useEffect(()=>{if(!k&&o)return v(),()=>y()},[k,o,v,y]),(0,t.jsx)(I.ItemSlot,{scope:r,id:p,focusable:o,active:c,children:(0,t.jsx)(s.Primitive.span,{tabIndex:x?0:-1,"data-orientation":b.orientation,...h,ref:i,onMouseDown:(0,a.composeEventHandlers)(e.onMouseDown,e=>{o?b.onItemFocus(p):e.preventDefault()}),onFocus:(0,a.composeEventHandlers)(e.onFocus,()=>b.onItemFocus(p)),onKeyDown:(0,a.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void b.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=_(e,b.orientation,b.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=g().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)n.reverse();else if("prev"===t||"next"===t){"prev"===t&&n.reverse();let a=n.indexOf(e.currentTarget);n=b.loop?H(n,a+1):n.slice(a+1)}setTimeout(()=>L(n))}}),children:"function"==typeof u?u({isCurrentTabStop:x,hasTabStop:null!=j}):u})})},"RovingFocusGroupItem")),F={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function $(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}function _(e,t,n){let a=$(e.key,n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(a))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(a)))return F[a]}function L(e,t=!1){let n=document.activeElement;for(let a of e)if(a===n||(a.focus({preventScroll:t}),document.activeElement!==n))return}function H(e,t){return e.map((n,a)=>e[(t+a)%e.length])}j($,"getDirectionAwareKey"),j(_,"getFocusIntent"),j(L,"focusFirst"),j(H,"wrapArray");var V=e.i(312610),z=Object.defineProperty,K=(e,t)=>z(e,"name",{value:t,configurable:!0}),O="Tabs",[G,U]=(0,i.createContextScope)(O,[T]),q=T(),[W,X]=G(O),J=n.forwardRef(K(function(e,n){let{__scopeTabs:a,value:i,onValueChange:r,defaultValue:o,orientation:c="horizontal",dir:m,activationMode:h="automatic",...f}=e,p=(0,u.useDirection)(m),[b,x]=(0,d.useControllableState)({prop:i,onChange:r,defaultProp:o??"",caller:O});return(0,t.jsx)(W,{scope:a,baseId:(0,l.useId)(),value:b,onValueChange:x,orientation:c,dir:p,activationMode:h,children:(0,t.jsx)(s.Primitive.div,{dir:p,"data-orientation":c,...f,ref:n})})},"Tabs")),Y=n.forwardRef(K(function(e,n){let{__scopeTabs:a,loop:i=!0,...r}=e,o=X("TabsList",a),l=q(a);return(0,t.jsx)(E,{asChild:!0,...l,orientation:o.orientation,dir:o.dir,loop:i,children:(0,t.jsx)(s.Primitive.div,{role:"tablist","aria-orientation":o.orientation,...r,ref:n})})},"TabsList")),Q=n.forwardRef(K(function(e,n){let{__scopeTabs:i,value:r,disabled:o=!1,...l}=e,c=X("TabsTrigger",i),d=q(i),u=ee(c.baseId,r),m=et(c.baseId,r),h=r===c.value;return(0,t.jsx)(M,{asChild:!0,...d,focusable:!o,active:h,children:(0,t.jsx)(s.Primitive.button,{type:"button",role:"tab","aria-selected":h,"aria-controls":m,"data-state":h?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:u,...l,ref:n,onMouseDown:(0,a.composeEventHandlers)(e.onMouseDown,e=>{o||0!==e.button||!1!==e.ctrlKey?e.preventDefault():c.onValueChange(r)}),onKeyDown:(0,a.composeEventHandlers)(e.onKeyDown,e=>{!o&&e.target===e.currentTarget&&[" ","Enter"].includes(e.key)&&c.onValueChange(r)}),onFocus:(0,a.composeEventHandlers)(e.onFocus,()=>{let e="manual"!==c.activationMode;h||o||!e||c.onValueChange(r)})})})},"TabsTrigger")),Z=n.forwardRef(K(function(e,a){let{__scopeTabs:i,value:r,forceMount:o,children:l,...c}=e,d=X("TabsContent",i),u=ee(d.baseId,r),m=et(d.baseId,r),h=r===d.value,f=n.useRef(h);return n.useEffect(()=>{let e=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,t.jsx)(V.Presence,{present:o||h,children:({present:n})=>(0,t.jsx)(s.Primitive.div,{"data-state":h?"active":"inactive","data-orientation":d.orientation,role:"tabpanel","aria-labelledby":u,hidden:!n,id:m,tabIndex:0,...c,ref:a,style:{...e.style,animationDuration:f.current?"0s":void 0},children:n&&l})})},"TabsContent"));function ee(e,t){return`${e}-trigger-${t}`}function et(e,t){return`${e}-content-${t}`}K(ee,"makeTriggerId"),K(et,"makeContentId");var en=e.i(632137);e.s(["Tabs",0,function({className:e,...n}){return(0,t.jsx)(J,{"data-slot":"tabs",className:(0,en.cn)("flex flex-col gap-x-2",e),...n})},"TabsContent",0,function({className:e,...n}){return(0,t.jsx)(Z,{"data-slot":"tabs-content",className:(0,en.cn)("flex-1 outline-none",e),...n})},"TabsList",0,function({className:e,...n}){return(0,t.jsx)(Y,{"data-slot":"tabs-list",className:(0,en.cn)("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",e),...n})},"TabsTrigger",0,function({className:e,...n}){return(0,t.jsx)(Q,{"data-slot":"tabs-trigger",className:(0,en.cn)("focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...n})}],626923)}]);