PageSourceSearch

https://time.com/replatform/_next/static/chunks/0r8pjtofjlce1.js

js time.com collected 2026-09-24 07:34:50 UTC 22,377 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,83593,(e,t,a)=>{e.e,t.exports=function(e,t){var a=t.prototype,r=a.format;a.format=function(e){var t=this,a=this.$locale();if(!this.isValid())return r.bind(this)(e);var i=this.$utils(),n=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(e){switch(e){case"Q":return Math.ceil((t.$M+1)/3);case"Do":return a.ordinal(t.$D);case"gggg":return t.weekYear();case"GGGG":return t.isoWeekYear();case"wo":return a.ordinal(t.week(),"W");case"w":case"ww":return i.s(t.week(),"w"===e?1:2,"0");case"W":case"WW":return i.s(t.isoWeek(),"W"===e?1:2,"0");case"k":case"kk":return i.s(String(0===t.$H?24:t.$H),"k"===e?1:2,"0");case"X":return Math.floor(t.$d.getTime()/1e3);case"x":return t.$d.getTime();case"z":return"["+t.offsetName()+"]";case"zzz":return"["+t.offsetName("long")+"]";default:return e}});return r.bind(this)(n)}}},879631,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(822315),i=e.i(895751),n=e.i(4824),s=e.i(83593);let l={EST:"ET",EDT:"ET",CST:"CT",CDT:"CT",MST:"MT",MDT:"MT",PST:"PT",PDT:"PT",AKST:"AKT",AKDT:"AKT",HST:"HST",GMT:"GMT",BST:"GMT",WET:"WET",WEST:"WET",CET:"CET",CEST:"CET",EET:"EET",EEST:"EET",AEST:"AET",AEDT:"AET",ACST:"ACT",ACDT:"ACT",AWST:"AWT",BRT:"BRT",BRST:"BRT",ART:"ART",ARST:"ART",NZST:"NZT",NZDT:"NZT",IST:"IST",IDT:"IST"};r.default.extend(i.default),r.default.extend(n.default),r.default.extend(s.default);let o=a.useLayoutEffect,c=(e,t,a,i)=>{let n=r.default.utc(e).tz(i),s=n.format(t);if(a){let e=n.format("z");/^GMT[+-]/.test(e)&&(e=n.format("zzz").match(/\b(\w)/g)?.join("")??e),e&&l[e]&&(e=l[e]),s=`${s} ${e}`}return s};e.s(["default",0,function({time:e,format:i="MMM D, YYYY h:mm A ",showShortTimezone:n=!0}){let[s,l]=(0,a.useState)(null);return(o(()=>{l(r.default.tz.guess())},[]),e)?s?(0,t.jsx)("time",{dateTime:e,className:"uppercase",children:c(e,i,n,s)}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("noscript",{children:(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:"time[data-ssr-fallback]{visibility:visible!important}"}})}),(0,t.jsx)("time",{dateTime:e,className:"uppercase","data-ssr-fallback":"",style:{visibility:"hidden"},children:c(e,i,n,"UTC")})]}):(0,t.jsx)("time",{className:"uppercase",children:"Loading..."})}],879631)},619245,e=>{"use strict";e.s(["RR_NEWSLETTER_BREAKPOINT",0,"(min-width: 1243px)","RR_NEWSLETTER_DESKTOP_HOST_ID",0,"time-rr-newsletter-desktop-host","RR_NEWSLETTER_MOBILE_HOST_ID",0,"time-rr-newsletter-mobile-host","RR_NEWSLETTER_SLOT_ID",0,"time-rr-newsletter-slot"])},796562,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(619245);let i={mobile:r.RR_NEWSLETTER_MOBILE_HOST_ID,desktop:r.RR_NEWSLETTER_DESKTOP_HOST_ID},n=null;function s(e){return document.querySelector(`#${i[e]}`)}function l(){return globalThis.matchMedia(r.RR_NEWSLETTER_BREAKPOINT).matches?"desktop":"mobile"}function o(e){(0,a.useEffect)(()=>{let t=()=>(function(e){let t,a=s(l());if(!a)return;let i=s("mobile"===l()?"desktop":"mobile");n!==e&&(a.replaceChildren(),i?.replaceChildren(),n=e);let o=a.firstElementChild??i?.firstElementChild;if(o){o.parentElement!==a&&a.append(o);return}a.append(((t=document.createElement("div")).id=r.RR_NEWSLETTER_SLOT_ID,t.className="my-8 w-full empty:hidden [@media(min-width:1243px)]:my-0",t.dataset.marfeelSlot="newsletter-rr",t.dataset.section=e,t))})(e);t();let a=globalThis.matchMedia(r.RR_NEWSLETTER_BREAKPOINT);return a.addEventListener("change",t),()=>a.removeEventListener("change",t)},[e])}e.s(["MarfeelRrNewsletterBreaker",0,function({section:e}){return o(e),(0,t.jsx)("div",{id:r.RR_NEWSLETTER_MOBILE_HOST_ID,className:"w-full empty:hidden [@media(min-width:1243px)]:hidden"})},"RrNewsletterDesktopHost",0,function({section:e}){return o(e),(0,t.jsx)("div",{className:"hidden [@media(min-width:1243px)]:block",children:(0,t.jsx)("div",{id:r.RR_NEWSLETTER_DESKTOP_HOST_ID,className:"w-[300px] empty:hidden"})})},"resetRailNewsletterSlot",0,function(){n=null}])},518708,e=>{"use strict";var t=e.i(843476),a=e.i(149727),r=e.i(815316),i=e.i(19477),n=e.i(618566);function s(e,t,a="page"){let r=new URLSearchParams(e);return null===t||t<2?r.delete(a):r.set(a,String(t)),r.toString()}let l="ellipse";e.s(["default",0,({currentPage:e,totalPages:o,authorName:c,tagName:d,sectionName:u,subjectName:m,partnerHubLandingArticleType:f,pageParamName:p})=>{let g=((e,t)=>{if(t<=5)return Array.from({length:t},(e,t)=>t+1);if(e>=t-2)return[1,l,t-2,t-1,t];let a=Math.max(1,e-1),r=Math.min(t,e+1);return 1===a?[1,2,3,l,t]:[a,e,r,l,t]}
1)(e,o),h=(0,n.usePathname)(),x=(0,n.useSearchParams)().toString(),b=e=>{let t;return(t=s(x,e,p))?`?${t}`:"."},T=t=>f?(0,i.buildPartnerArticleLandingClickGtmData)({linkLabel:t,clickURL:function(e,t,a,r,i){let n=function(e,t,a){if("prev"===e){if(t<=1)return;return t-1}if("next"===e){if(t>=a)return;return t+1}let r=Number.parseInt(e,10);if(Number.isFinite(r)&&!(r<1))return r}(a,r,i);if(void 0===n)return e;let l=s(t,n);return l?`${e}?${l}`:e}(h,x,t,e,o),pagePath:h,articleType:f}):u?(0,i.getSectionPagePaginationGTMData)(u,t):d?(0,i.getTagPagePaginationGTMData)(d,t):m?{event:i.eventName.INTERNAL_CLICK,componentType:i.componentType.latestMagazineIssues,topic:m,pagePath:h,direction:t,clickText:`${i.clickTextEnum.pagination} | ${t}`}:{event:i.eventName.RECIRC_CLICK,componentType:i.componentType.articleList,pagePath:h,author:c};return(0,t.jsx)(a.Pagination,{children:(0,t.jsxs)(a.PaginationContent,{className:"rounded-[100px] border border-warm-grey-1 px-6 py-2",children:[(0,t.jsx)(a.PaginationItem,{children:(0,t.jsx)(a.PaginationPrevious,{gtmData:T("prev"),scroll:!1,href:e>1?b(e-1):"",disabled:1===e,className:(0,r.cn)({"pointer-events-none opacity-50":1===e}),"aria-label":1===e?"Previous page, disabled":"Go to previous page"})}),g?.map((r,i)=>(0,t.jsx)(a.PaginationItem,{children:r===l?(0,t.jsx)(a.PaginationEllipsis,{"aria-hidden":"true"}):(0,t.jsx)(a.PaginationLink,{gtmData:T(r.toString()),href:b(r),isActive:r===e,scroll:!1,"aria-current":r===e?"page":void 0,"aria-label":r===e?`Page ${r}, current page`:`Go to page ${r}`,children:r})},`${r}-${i}`)),(0,t.jsx)(a.PaginationItem,{children:(0,t.jsx)(a.PaginationNext,{gtmData:T("next"),href:e<o?b(e+1):"",disabled:e>=o,className:(0,r.cn)({"pointer-events-none opacity-50":e>=o}),scroll:!1,"aria-label":e>=o?"Next page, disabled":"Go to next page"})})]})})}])},149727,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(547209),i=e.i(832431),n=e.i(888426),s=e.i(700064),l=e.i(815316);let o=({className:e,...a})=>(0,t.jsx)("nav",{role:"navigation","aria-label":"pagination",className:(0,l.cn)("mx-auto flex w-full justify-center",e),...a});o.displayName="Pagination";let c=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)("ul",{ref:r,className:(0,l.cn)("flex flex-row items-center space-x-7 font-graphik-compact",e),...a}));c.displayName="PaginationContent";let d=a.forwardRef(({className:e,...a},r)=>(0,t.jsx)("li",{ref:r,className:(0,l.cn)("",e),...a}));d.displayName="PaginationItem";let u=({className:e,isActive:a,disabled:i=!1,children:n,...o})=>{let c=(0,l.cn)("font-graphik-compact text-t4 text-grey-1",{"text-brand-red border-b-2 border-brand-red":a,"pointer-events-none opacity-50":i},!i&&s.brandRedHoverClass,!i&&s.focusClass,s.buttonReset,e);return i?(0,t.jsx)("span",{className:c,"aria-disabled":"true",children:n}):(0,t.jsx)(r.default,{"aria-current":a?"page":void 0,className:c,...o,children:n})};u.displayName="PaginationLink";let m=({className:e,...a})=>(0,t.jsx)(u,{"aria-label":"Go to previous page",className:(0,l.cn)("flex size-6 items-center justify-center text-dark-grey",e),...a,children:(0,t.jsx)(i.ChevronLeft,{size:"0.75rem"})});m.displayName="PaginationPrevious";let f=({className:e,...a})=>(0,t.jsx)(u,{"aria-label":"Go to next page",className:(0,l.cn)("flex size-6 items-center justify-center text-dark-grey",e),...a,children:(0,t.jsx)(n.ChevronRight,{size:"0.75rem"})});f.displayName="PaginationNext";let p=({className:e,...a})=>(0,t.jsxs)("span",{"aria-hidden":!0,className:(0,l.cn)("flex items-center justify-center",e),...a,children:["...",(0,t.jsx)("span",{className:"sr-only",children:"More pages"})]});p.displayName="PaginationEllipsis",e.s(["Pagination",0,o,"PaginationContent",0,c,"PaginationEllipsis",0,p,"PaginationItem",0,d,"PaginationLink",0,u,"PaginationNext",0,f,"PaginationPrevious",0,m])},622270,e=>{"use strict";var t=e.i(843476),a=e.i(271645),r=e.i(475254);let i=(0,r.default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),n=(0,r.default)("flame",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]]),s=(0,r.default)("loader",[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}
1],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]]),l=(0,r.default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);var o=e.i(37727),c=e.i(522016),d=Object.defineProperty,u=(e,t)=>d(e,"name",{value:t,configurable:!0});function m(e,r=[]){let i=[];function n(r,n){let s=a.createContext(n);s.displayName=r+"Context";let l=i.length;i=[...i,n];let o=u(r=>{let{scope:i,children:n,...o}=r,c=i?.[e]?.[l]||s,d=a.useMemo(()=>o,Object.values(o));return(0,t.jsx)(c.Provider,{value:d,children:n})},"Provider");function c(t,i,o={}){let{optional:d=!1}=o,u=i?.[e]?.[l]||s,m=a.useContext(u);if(m)return m;if(void 0!==n)return n;if(!d)throw Error(`\`${t}\` must be used within \`${r}\``)}return o.displayName=r+"Provider",u(c,"useContext"),[o,c]}u(n,"createContext");let s=u(()=>{let t=i.map(e=>a.createContext(e));return u(function(r){let i=r?.[e]||t;return a.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])},"useScope")},"createScope");return s.scopeName=e,[n,f(s,...r)]}function f(...e){let t=e[0];if(1===e.length)return t;let r=u(()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return u(function(e){let i=r.reduce((t,{useScope:a,scopeName:r})=>{let i=a(e)[`__scope${r}`];return{...t,...i}},{});return a.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}function p(e){let t=a.useRef(e);return a.useEffect(()=>{t.current=e}),a.useMemo(()=>(...e)=>t.current?.(...e),[])}u(function(e,r){let i=a.createContext(r);i.displayName=e+"Context";let n=u(e=>{let{children:r,...n}=e,s=a.useMemo(()=>n,Object.values(n));return(0,t.jsx)(i.Provider,{value:s,children:r})},"Provider");function s(t,n={}){let{optional:l=!1}=n,o=a.useContext(i);if(o)return o;if(void 0!==r)return r;if(!l)throw Error(`\`${t}\` must be used within \`${e}\``)}return n.displayName=e+"Provider",u(s,"useContext"),[n,s]},"createContext"),u(m,"createContextScope"),u(f,"composeContextScopes"),(0,Object.defineProperty)(p,"name",{value:"useCallbackRef",configurable:!0});var g=globalThis?.document?a.useLayoutEffect:()=>{},h=e.i(174080),x=e.i(991918),b=Object.defineProperty,T=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let i=(0,x.createSlot)(`Primitive.${r}`),n=a.forwardRef((e,a)=>{let{asChild:n,...s}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(n?i:r,{...s,ref:a})});return n.displayName=`Primitive.${r}`,{...e,[r]:n}},{});b(function(e,t){e&&h.flushSync(()=>e.dispatchEvent(t))},"name",{value:"dispatchDiscreteCustomEvent",configurable:!0});var v=Object.defineProperty,y=(e,t)=>v(e,"name",{value:t,configurable:!0}),N="Avatar",[j,w]=m(N),E=[0,()=>void 0],[S,k]=j(N),P=a.forwardRef(y(function(e,r){let{__scopeAvatar:i,...n}=e,[s,l]=a.useState("idle"),[o,c]=M();return(0,t.jsx)(S,{scope:i,imageLoadingStatus:s,setImageLoadingStatus:l,imageCount:o,setImageCount:c,children:(0,t.jsx)(T.span,{...n,ref:r})})},"Avatar")),R=a.forwardRef(y(function(e,r){let{__scopeAvatar:i,src:n,onLoadingStatusChange:s,...l}=e,o=k("AvatarImage",i);_(o.setImageCount);let c=C(n,{referrerPolicy:l.referrerPolicy,crossOrigin:l.crossOrigin,loadingStatus:o.imageLoadingStatus,setLoadingStatus:o.setImageLoadingStatus}),d=p(e=>{s?.(e)}),u=a.useRef(c);return g(()=>{let e=u.current;u.current=c,c!==e&&d(c)},[c,d]),"loaded"===c?(0,t.jsx)(T.img,{...l,ref:r,src:n}):null},"AvatarImage"));function C(e,{loadingStatus:t,setLoadingStatus:a,referrerPolicy:r,crossOrigin:i}){return g(()=>{if(!e)return void a("error");let t=new window.Image,n=y(e=>{a(L(e.currentTarget))},"handleLoad"),s=y(()=>a("error"),"handleError");return t.addEventListener("load",n),t.addEventListener("error",s),r&&(t.referrerPolicy=r),t.crossOrigin=i??null,t.src=e,a(L(t)),()=>{t.removeEventListener("load",n),t.removeEventListener("error",s),a("idle")}},[e,i,r,a]),t}
1function L(e){return e.complete?e.naturalWidth>0?"loaded":"error":"loading"}function M(){return E}function _(e){}y(C,"useImageLoadingStatus"),y(L,"getImageLoadingStatus"),y(M,"useImageCount"),y(_,"useUpdateImageCount");var I=e.i(815316),D=e.i(285385);let z=(0,a.memo)((0,a.forwardRef)(({className:e,...a},r)=>(0,t.jsx)(P,{ref:r,className:(0,I.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...a})));z.displayName=P.displayName;let A=(0,a.memo)((0,a.forwardRef)(({className:e,...a},r)=>(0,t.jsx)(D.default,{ref:r,className:(0,I.cn)("aspect-square h-full w-full object-cover",e),...a})));A.displayName=R.displayName;var O=e.i(397099),W=e.i(245423);let $=(0,r.default)("bell-off",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M17 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 .258-1.742",key:"178tsu"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.668 3.01A6 6 0 0 1 18 8c0 2.687.77 4.653 1.707 6.05",key:"1hqiys"}]]);var F=e.i(324402),G=e.i(778497);let B=({onFollowToggle:e,isFollowing:r=!1,className:i,size:n="md",onLoginStart:l,onLoginDisplayed:o})=>{let[c,d]=(0,a.useState)(!1),{user:u,displayLoginForm:m}=(0,F.default)(),f=async()=>{try{u?await e():(l?.(),m({displayMode:"modal",loginDisplayed:o,onLoggedIn:async t=>{let a=t.user.uid||t.user.sub;await (0,O.checkUserExists)(a)||await (0,O.createFirebaseUser)({...t.user,uid:a}),await e(t)}}))}catch(e){(0,G.logError)({message:"[FollowButton]: Toggle handler failed",error:e,context:{isFollowing:r,hasUser:!!u}}),d(!1)}finally{u&&d(!1)}},p={sm:"size-3",md:"size-4",lg:"size-5"};return(0,t.jsx)("button",{type:"button",onClick:()=>void f(),disabled:c,className:(0,I.cn)("mb-5 inline-flex w-full items-center justify-center gap-2 bg-black font-graphik text-white hover:bg-black/90 focus:outline-none focus-visible:ring-2 focus-visible:ring-black focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-70",{sm:"px-3 py-1.5 text-xs",md:"px-4 py-3 text-sm",lg:"px-6 py-4 text-base"}[n],i),"aria-pressed":r,"aria-busy":c,children:c?(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(s,{className:(0,I.cn)("animate-spin",p[n]),"aria-hidden":"true"}),(0,t.jsx)("span",{children:"Processing…"})]}):r?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)($,{className:p[n],"aria-hidden":"true"}),(0,t.jsx)("span",{children:"Unfollow"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(W.Bell,{className:p[n],"aria-hidden":"true"}),(0,t.jsx)("span",{children:"Follow"})]})})};var H=e.i(963219),K=e.i(669138),Y=e.i(387644),U=e.i(19477),X=e.i(618566);e.s(["default",0,({followedObjectType:e,followedObject:r,defaultFollowed:d,className:u="",isOpen:m=!1,size:f="base",variant:p="icon",onDarkBackground:g=!1})=>{let[h,x]=(0,a.useState)(m),[b,T]=(0,a.useState)(!1),v=(0,a.useRef)(null),[y,N]=(0,a.useState)(d),j=(0,a.useRef)(null),{follow:w,unfollow:E,isObjectFollowed:S}=(0,O.default)(),{pianoPreview:k}=(0,K.useFeatureFlags)(),P=(0,X.usePathname)(),R=()=>{v.current&&(clearTimeout(v.current),v.current=null)},C=()=>{R(),T(!1),x(!1)};(0,a.useEffect)(()=>R,[]);let L={base:"size-4",large:"size-4"},M="section"===e?"section":"tag"===e?"tag":"author";(0,a.useEffect)(()=>{let t=!0;return(async()=>{if(!0===d)return N(!0);if(!1===d)return N(!1);try{let a=await S(r.id,e);t&&N(a)}catch(t){(0,G.logError)({message:"[FollowModal]: Failed to check follow status",error:t,context:{followedObjectId:r.id,followedObjectType:e}}),N(!1)}})(),()=>{t=!1}},[S,r.id,e,d]),(0,a.useEffect)(()=>{let e=j.current;e&&(h?e.open||e.showModal():e.open&&e.close())},[h]),(0,a.useEffect)(()=>{let e=j.current;if(!e)return;let t=e=>{e.preventDefault(),x(!1)},a=t=>{let a=e.getBoundingClientRect();t.clientX>=a.left&&t.clientX<=a.right&&t.clientY>=a.top&&t.clientY<=a.bottom||x(!1)};return e.addEventListener("cancel",t),e.addEventListener("click",a),()=>{e.removeEventListener("cancel",t),e.removeEventListener("click",a)}},[]);let _=async t=>{let a=!y;(0,G.logDebug)({message:"[FollowModalTrigger] onFollowToggle",context:{nextIsFollowing:a,followedObject:r}});let i=void 0===r.id||null===r.id?"":String(r.id).trim(),n=(r.name??"").trim();if(!i||"0"===i||!n)return void(0,G.logError)({message:"[FollowModal]: refusing to follow/unfollow item with missing uid or name",context:{followedObjectType:e,followedObject:r}});N(a),a&&(0,Y.sendGTMEvent)({event:U.eventName.FOLLOW_CLICK,..."author"===e?{author:n}:{topic:n},pagePath:P});let s={type:e,title:n,url:r.url,system:{uid:i}},l=t?.user?.uid||t?.user?.sub;try{await (a?w:E)(s,l)}catch(t){(0,G.logError)({message:"[FollowModal]: Follow/unfollow toggle failed",error:t,context:{nextIsFollowing:a,followedObjectType:e,uid:l}}),N(y)}},D=e=>{e.preventDefault(),e.stopPropagation(),x(e=>!e)};return k?(0,t.jsxs)("div",{className:`relative inline-block ${u}`,children:["label"===p?(0,t.jsxs)("button",{type:"button","aria-haspopup":"dialog","aria-expanded":h,"aria-controls":"follow-centered-modal",onClick:D,className:(0,I.cn)("inline-flex items-center justify-center gap-2",{base:"px-3 py-1.5 text-xs",large:"px-4 py-2 text-sm"}[f],"font-graphik text-white","bg-black hover:bg-black/90","rounded-full","focus:outline-none focus-visible:ring-2 focus-visible:ring-black focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-70"),children:[y?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("span",{children:["Following ",r.name]}),(0,t.jsx)(i,{className:L[f],"aria-hidden":"true"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("span",{children:["Follow ",r.name]}),(0,t.jsx)(l,{className:L[f],"aria-hidden":"true"})]}),(0,t.jsx)("span",{className:"sr-only",children:"Open follow modal"})]}):(0,t.jsxs)("button",{type:"button","aria-haspopup":"dialog","aria-expanded":h,"aria-controls":"follow-centered-modal",onClick:D,className:(0,I.cn)("flex items-center justify-center rounded-full",g?"bg-transparent":(0,I.cn)("text-white",y?"bg-red-600":"bg-black"),{base:"size-5",large:"size-6"}[f]),children:[y?(0,t.jsx)(i,{className:L[f],"aria-hidden":"true"}):(0,t.jsx)(l,{className:L[f],"aria-hidden":"true"}),(0,t.jsx)("span",{className:"sr-only",children:"Open follow modal"})]}),(0,t.jsx)("dialog",{ref:j,id:"follow-centered-modal",className:"fixed inset-0 z-[299999] hidden place-items-center bg-transparent font-normal backdrop:bg-black/40 open:flex open:items-center open:justify-center",children:(0,t.jsxs)("div",{className:"relative z-[9999999] w-[min(92vw,560px)] overflow-hidden rounded-2xl bg-white shadow-2xl",role:"document",children:[b?(0,t.jsxs)("div",{className:"absolute inset-0 z-10 flex flex-col items-center justify-center gap-3 bg-white/95 text-center",role:"status","aria-live":"polite",children:[(0,t.jsx)(s,{className:"size-6 animate-spin text-red-600","aria-hidden":"true"}),(0,t.jsx)("p",{className:"font-graphik text-sm text-gray-700",children:"Opening sign in…"})]}):null,(0,t.jsxs)("div",{className:"flex items-center gap-2 bg-red-600 p-4 text-white",children:[(0,t.jsx)(n,{className:"size-4","aria-hidden":"true"}),(0,t.jsx)("p",{className:"font-graphik text-xs",children:"Personalized Content"})]}),(0,t.jsx)("button",{type:"button",onClick:()=>x(!1),className:"absolute right-3 top-3 rounded p-1 text-white","aria-label":"Close modal",children:(0,t.jsx)(o.X,{className:"size-5"})}),(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-6 p-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[r?.thumbnail?(0,t.jsx)(z,{className:"size-12 overflow-hidden rounded-xl ring-1 ring-gray-200",children:(0,t.jsx)(A,{width:48,height:48,src:r.thumbnail,alt:r.name})}):null,(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("h2",{className:"truncate font-editorial text-xl normal-case",children:r.name}),r.title?(0,t.jsx)("p",{className:"truncate text-xs text-gray-600",children:r.title}):null]})]}),(0,t.jsxs)("p",{className:"mt-4 whitespace-normal text-sm normal-case text-gray-700",children:["Follow this ",M," to personalize your feed and get instant alerts."]})]}),(0,t.jsxs)("div",{className:"flex flex-col justify-between",children:[(0,t.jsx)(B,{onFollowToggle:_,isFollowing:y,onLoginStart:()=>{T(!0),R(),v.current=setTimeout(C,3e3)},onLoginDisplayed:C}),(0,t.jsx)(c.default,{href:H.PathNames.MY_FEED,onClick:()=>x(!1),className:"inline-flex w-full items-center justify-center gap-2 border border-red-600 bg-white px-4 py-2 font-graphik text-sm normal-case text-red-700",children:"Go to your personalized feed"}),(0,t.jsxs)("div",{className:"mt-6 text-xs text-gray-600",children:[(0,t.jsx)("p",{className:"mb-3 font-medium text-gray-800",children:"WHY FOLLOW?"}),(0,t.jsxs)("ul",{className:"list-disc space-y-1 pl-5 normal-case",children:[(0,t.jsx)("li",{children:"Custom Feed: See the stories that matter most to you."}),(0,t.jsx)("li",{children:"Smart Alerts: Get notified about major news as it happens."})]})]})]})]}),(0,t.jsxs)("div",{className:"flex items-center justify-between border-t px-4 py-3",children:[(0,t.jsxs)("p",{className:"text-xs text-gray-600",children:["Update your preferences in"," ",(0,t.jsx)(c.default,{className:"text-brand-red",href:H.PathNames.ACCOUNT_PREFERENCES,children:"Account Settings"})]}),(0,t.jsx)("button",{type:"button",onClick:()=>x(!1),className:"rounded-md px-3 py-1.5 text-xs text-gray-700 hover:bg-gray-100 focus:outline-none focus-visible:ring-2 focus-visible:ring-red-600 focus-visible:ring-offset-2",children:"Close"})]})]})})]}):null}],622270)}]);

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.