(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,469295,e=>{"use strict";let t=(0,e.i(463032).f)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],469295)},146691,e=>{"use strict";var t=e.i(458201),a=e.i(538167),i=e.i(747961);let l=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...n},r)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:r,"aria-labelledby":a,"aria-describedby":l,...n,children:[i?(0,t.jsx)("desc",{id:l,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Share"}):e?(0,t.jsx)("title",{id:a,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"})]})),n=a.default.forwardRef((e,a)=>(0,t.jsx)(i.f,{ref:a,icon:l,...e}));n.displayName="Share",e.s(["f",0,n])},190228,e=>{"use strict";var t=e.i(458201),a=e.i(538167),i=e.i(469295),l=e.i(809058),n=e.i(368847),r=e.i(367810),s=e.i(632137),o=e.i(710746);let d=({isOpen:e,setIsOpen:a,children:i,title:l,closeLabel:d,trigger:c,onCloseAutoFocus:h})=>(0,t.jsxs)(r.N,{open:e,onOpenChange:a,children:[c&&(0,t.jsx)(r.a,{asChild:!0,children:c}),(0,t.jsxs)(r.d,{showCloseButton:!1,onCloseAutoFocus:h,className:(0,s.f)("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)(r.F,{className:"flex items-center justify-center pt-0 pb-2",children:(0,t.jsx)(n.U,{variant:"Body.M",elementType:"span",className:"min-w-0 px-12 text-center font-bold break-words",children:l})}),(0,t.jsx)(r.t,{"aria-label":d,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)(o.f,{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:i})]})]});function c({children:e,fallback:t,delayMs:i=0}){let[l,n]=(0,a.useState)(!1);return((0,a.useEffect)(()=>{if(i>0){let e=setTimeout(()=>{n(!0)},i);return()=>clearTimeout(e)}n(!0)},[i]),l)?e:t||null}var h=e.i(146691);let u=({onClick:e=()=>void 0,asChild:a=!1,className:i,type:l,...r})=>{let o={className:(0,s.f)("flex cursor-pointer items-center text-sm text-gray-500","article"===l&&"px-3 py-2 rounded-lg border border-[#676767] bg-transparent",i),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)(h.f,{size:"sm",className:"m-0 mr-[8px]","data-testid":"share-icon-image"}),(0,t.jsx)(n.U,{variant:"Body.S",color:"brandDark",className:"m-0 font-bold","data-testid":"share-button-text",children:"Share"})]});return a?(0,t.jsx)("div",{...o,children:d}):(0,t.jsx)("button",{type:"button",...r,...o,children:d})};var m=e.i(463032);let f=(0,m.f)("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 p=e.i(539900);let x=(0,m.f)("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=e.i(487709),b=e.i(737801),y=e.i(630986),g=e.i(282446),v=e.i(201542),j=e.i(682142),k=e.i(782937),C=e.i(695881),N=e.i(333350),S=e.i(64412),T=e.i(950771),I=e.i(537989),A=e.i(695203),R=e.i(604323),D=e.i(158662),E=e.i(358273),B=e.i(777638),$=e.i(924776),_=e.i(24638),M=e.i(409628),L=e.i(605781),O=e.i(963722),P=e.i(313983);let U=(0,C.createLogger)("useTrackContentShared");var V=e.i(393864),H=e.i(499167),z=e.i(747961);let G=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...n},r)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:r,"aria-labelledby":a,"aria-describedby":l,...n,children:[i?(0,t.jsx)("desc",{id:l,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Reddit"}):e?(0,t.jsx)("title",{id:a,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"})]})),F=a.default.forwardRef((e,a)=>(0,t.jsx)(z.f,{ref:a,icon:G,...e}));F.displayName="Reddit";let W=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...n},r)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:r,"aria-labelledby":a,"aria-describedby":l,...n,children:[i?(0,t.jsx)("desc",{id:l,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"LinkedIn"}):e?(0,t.jsx)("title",{id:a,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"})})})]})),q=a.default.forwardRef((e,a)=>(0,t.jsx)(z.f,{ref:a,icon:W,...e}));q.displayName="LinkedIn";let K=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...n},r)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:r,"aria-labelledby":a,"aria-describedby":l,...n,children:[i?(0,t.jsx)("desc",{id:l,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"BlueSky"}):e?(0,t.jsx)("title",{id:a,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"})]})),X=a.default.forwardRef((e,a)=>(0,t.jsx)(z.f,{ref:a,icon:K,...e}));X.displayName="BlueSky";let Y=(0,a.forwardRef)(({title:e,titleId:a,desc:i,descId:l,...n},r)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:r,"aria-labelledby":a,"aria-describedby":l,...n,children:[i?(0,t.jsx)("desc",{id:l,children:i}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"WhatsApp"}):e?(0,t.jsx)("title",{id:a,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"})]})),J=a.default.forwardRef((e,a)=>(0,t.jsx)(z.f,{ref:a,icon:Y,...e}));J.displayName="WhatsApp";var Q=e.i(37429);let Z=({setIsOpen:e,setCopied:i,copied:l,title:r,imageUrl:o,subText:d})=>{let c,h,u,m,C=(c="content-shared",h=(0,b.f)(),u=(0,y.f)(),m=(0,a.useCallback)(({sharedMethod:e})=>{let t={createdDate:u?.createdDate,contentId:u?.contentId,publishDate:u?.publishDate,author:u?.author||"",collection:u?.collection,entitlements:u?.entitlements,sharedMethod:e,...h};if(!(0,w.f)())return void console.warn("MParticle is not loaded");try{window.mParticle?.logEvent?.(c,window.mParticle?.EventType?.Other,t),console.debug(`MParticle: Event "${c}" tracked`,t)}catch(e){console.error(`MParticle: Event "${c}" failed`,e)}return m},[u?.author,u?.contentId,u?.collection,u?.createdDate,u?.entitlements,u?.publishDate,h])),z=(()=>{let e=(0,g.y)(I.f),t=(0,g.y)(T.f),i=(0,g.y)(A.f),l=(0,g.y)(R.f),n=(0,g.y)(D.f),{location:r}=(0,S.f)(),s=(0,_.f)(),o=(0,$.f)()&&void 0!==s,d=(0,a.useCallback)(()=>{let a=(0,j.f)(),o=a?.["TWC-GeoIP-Country"]??(0,v.getCookie)("twc-location-country"),d=a?.["TWC-GeoIP-Region"]??(0,v.getCookie)("twc-location-region"),c=a?.["TWC-Privacy"]??(0,v.getCookie)("twc-privacy"),h=window.DprSdk?.getGdprConsentOptInsString()??"",u=window.DprSdk?.getCcpaSaleOptInString()??"",m=window.navigator?.globalPrivacyControl??!1,f=(0,O.u)(P.f.FUNCTIONAL_TECHNOLOGY),p=(0,O.u)(P.f.GEOGRAPHICALLY_RELEVANT_ADVERTISING),x=(0,O.u)(P.f.SALE_OF_DATA),w=(0,O.u)(P.f.SENSITIVE_DATA),b=navigator?.cookieEnabled??!1,y=(0,v.getCookie)("partner")||"",g=(0,k.i)(y)??y,C=(0,E.N)(),N=C?.sessionId||"",S=new Date(C?.sessionStartTime||0).toISOString(),T=new Date,I=T.getHours(),A=M.f[T.getDay()]??"";return{pageId:e??"",schemaVersion:"nextgen",author:l?.author||"",contentId:l?.contentId??null,createdDate:l?.createdDate??null,publishDate:l?.publishDate??null,collection:l?.collection??null,entitlements:l?.entitlements??null,nodeTypes:l?.nodeType??null,pageTemplate:l?.pageTemplate??null,premiumContent:l?.premiumContent!=null?String(l.premiumContent):null,provider:l?.provider??null,tagsGeo:l?.tagsGeo??null,tagsKeyword:l?.tagsKeyword??null,tagsStorm:l?.tagsStorm??null,title:l?.title??null,referrer:document.referrer,locale:t,deviceClass:i,partner:g,sessionId:N,sessionStartTime:S,siteMode:"normal",dayOfWeek:A,hourOfDay:I,regime:c??"",cookiesEnabled:b,gpcSignalOptOut:m,functionalTechnologies:f,geographicallyRelevantAds:p,interestBasedAds:s?.[P.f.INTEREST_BASED_ADS]??null,priv:h,privProducts:u,saleOfDataAuthorization:x,sensitiveDataAuthorization:w,campaign:(0,B.s)(),linkReferral:(0,B.W)()??void 0,experimentJoinList:n,weatherMode:"normal",physicalCountry:o??"",physicalState:d??"",wlocCity:r?.city??null,wlocCountry:r?.countryCode??null,wlocState:r?.adminDistrictCode??null,wlocDMA:r?.dmaCd??null,samsungVersion:(0,B.L)(),appVersion:"6bbd4204dd7437768dd9e31d47333d570221fb89".slice(0,10)}},[e,t,i,l,n,r,s]);return(0,a.useCallback)(()=>{if(N.default){if(!o)return void U.warn('Hightouch: Event "content-shared" skipped - SDK not ready');try{(0,L.q)(d()),U.info('Hightouch: Event "content-shared" tracked')}catch(e){U.error('Hightouch: Event "content-shared" failed',{error:e})}}},[o,d])})(),G=e=>{C({sharedMethod:e}),z()},W=t=>{let a=encodeURIComponent(window.location.href),i=encodeURIComponent(r),l="";switch(t){case"twitter":l=`https://twitter.com/intent/tweet?url=${a}&text=${i}`;break;case"facebook":l=`https://www.facebook.com/sharer.php?u=${a}`;break;case"linkedin":l=`https://www.linkedin.com/sharing/share-offsite/?url=${a}`;break;case"reddit":l=`https://www.reddit.com/submit?url=${a}&title=${i}`;break;case"bluesky":l=`https://bsky.app/intent/compose?text=${i}%20${a}`;break;case"whatsapp":l=`https://wa.me/?text=${i}%20${a}`}l&&(window.open(l,"_blank"),G(t),e(!1))},K=[{key:"facebook",name:"Facebook",icon:V.f,action:()=>W("facebook")},{key:"twitter",name:"X",icon:H.f,action:()=>W("twitter")},{key:"reddit",name:"Reddit",icon:F,action:()=>W("reddit")},{key:"linkedin",name:"LinkedIn",icon:q,action:()=>W("linkedin")},{key:"bluesky",name:"Bluesky",icon:X,action:()=>W("bluesky")},{key:"whatsapp",name:"WhatsApp",icon:J,action:()=>W("whatsapp")},{key:"email",name:"Email",icon:f,action:()=>{let t=`mailto:?subject=${encodeURIComponent(r)}&body=${encodeURIComponent(window.location.href)}`;document.body.setAttribute("data-mailto-url",t),window.location.href=t,G("email"),e(!1)}},{key:"copy",name:l?"Copied":"Copy link",icon:l?p.f:x,action:()=>{"u">typeof navigator&&navigator.clipboard.writeText(window.location.href).then(()=>{i(!0),G("linkCopy"),setTimeout(()=>e(!1),3e3),setTimeout(()=>i(!1),3400)})}}];return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex gap-2",children:[o&&(0,t.jsx)(Q.U,{src:o,alt:"",className:"h-18 w-auto rounded-lg md:h-16.75"}),(0,t.jsx)("p",{className:(0,s.f)("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:r})]}),d&&(0,t.jsx)(n.U,{variant:"Body.S",className:"m-0 mt-2 leading-[115%] text-gray-600",children:d}),(0,t.jsx)("hr",{className:"my-4 border-[#e9e9e9]"}),(0,t.jsx)("div",{className:"space-y-4","data-testid":"share-options-container",children:K.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)(n.U,{variant:"Body.M","data-testid":`share-${e.key}-text`,children:e.name})]},e.key))})]})};var ee=e.i(498076);e.s(["Share",0,({type:e="link",title:r,closeLabel:s,imageUrl:o,authors:h})=>{let[m,f]=(0,a.useState)(!1),[p,x]=(0,a.useState)(!1),w=(0,ee.f)(),b=(h??[]).map(e=>"string"==typeof e?"":`${e.firstName||""} ${e.lastName||""}`.trim()).filter(Boolean).reduce((e,t,a,i)=>{let l=a===i.length-1,n=a===i.length-2;return e+t+(l?"":n?" and ":", ")},""),y=()=>(0,t.jsx)(Z,{setCopied:f,setIsOpen:x,copied:m,title:r,imageUrl:o,subText:b?"By "+b:void 0});return(0,t.jsx)(c,{fallback:(0,t.jsx)("div",{className:"flex items-center justify-between","data-testid":"share-container","aria-hidden":"true",children:(0,t.jsx)(u,{type:e})}),children:(0,t.jsx)("div",{className:"flex items-center justify-between","data-testid":"share-container",children:w?(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(d,{title:`Share this ${e}`,closeLabel:s,isOpen:!!w&&p,setIsOpen:x,trigger:(0,t.jsx)(u,{type:e}),"data-testid":"share-mobile-drawer",children:y()})}):(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(l.V,{open:!w&&p,onOpenChange:x,"data-testid":"share-popover",children:[(0,t.jsx)(l.J,{children:(0,t.jsx)(u,{asChild:!0,type:e})}),(0,t.jsxs)(l.T,{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)(l._,{width:21,height:14,className:"fill-white"}),(0,t.jsxs)("div",{className:"mb-[8px] flex items-center justify-between",children:[(0,t.jsxs)(n.U,{variant:"Body.L",className:"font-bold","data-testid":"share-title",children:["Share this ",e]}),(0,t.jsx)("button",{type:"button","aria-label":s,onClick:()=>x(!1),className:"cursor-pointer text-black hover:text-gray-700","data-testid":"share-close-button",children:(0,t.jsx)(i.X,{className:"h-6 w-6","aria-hidden":"true"})})]}),y()]})]})})})})}],190228)},775668,function(e){e.n(e.i(190228))}]);