1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1690],{4832:e=>{e.exports={root:"tweet-link_root__4EzRS"}},6855:e=>{e.exports={root:"quoted-tweet-container_root__92393",article:"quoted-tweet-container_article__FoJQN"}},20197:e=>{e.exports={header:"quoted-tweet-header_header___qrcQ",avatar:"quoted-tweet-header_avatar__lGzrW",avatarOverflow:"quoted-tweet-header_avatarOverflow__H7yio",avatarSquare:"quoted-tweet-header_avatarSquare__l_eYT",author:"quoted-tweet-header_author__k48VI",authorText:"quoted-tweet-header_authorText__FULly",username:"quoted-tweet-header_username__YLPXR"}},25770:e=>{e.exports={verifiedOld:"verified-badge_verifiedOld__zcaba",verifiedBlue:"verified-badge_verifiedBlue__s3_Vu",verifiedGovernment:"verified-badge_verifiedGovernment__qRJxq"}},25805:e=>{e.exports={root:"tweet-info-created-at_root__KaxZi"}},28709:e=>{e.exports={header:"tweet-header_header__CXzdi",avatar:"tweet-header_avatar__0Wi9G",avatarOverflow:"tweet-header_avatarOverflow__E2gxj",avatarSquare:"tweet-header_avatarSquare__uIUBO",avatarShadow:"tweet-header_avatarShadow__CB9Zo",author:"tweet-header_author___jWoR",authorLink:"tweet-header_authorLink__qj5Sm",authorVerified:"tweet-header_authorVerified__OFYo2",authorLinkText:"tweet-header_authorLinkText__y6HdU",authorMeta:"tweet-header_authorMeta__gIC3U",authorFollow:"tweet-header_authorFollow__w_j4h",username:"tweet-header_username__UebZb",follow:"tweet-header_follow__Fi7bf",separator:"tweet-header_separator__d4pqe",brand:"tweet-header_brand__0FLQl",twitterIcon:"tweet-header_twitterIcon__m0Rzu"}},34412:e=>{e.exports={info:"tweet-info_info__ll_kH",infoLink:"tweet-info_infoLink__xdgYO",infoIcon:"tweet-info_infoIcon__S8lzA"}},36953:()=>{},44263:e=>{e.exports={skeleton:"skeleton_skeleton__gUMqh",loading:"skeleton_loading__XZoZ6"}},62308:e=>{e.exports={root:"tweet-in-reply-to_root__o784R"}},65330:e=>{e.exports={label:"highlighted-label_label__LOplu"}},66491:e=>{e.exports={verified:"icons_verified__1eJnA"}},70103:e=>{e.exports={root:"tweet-skeleton_root__1sn43"}},75270:e=>{e.exports={anchor:"tweet-media-video_anchor__EMqq1",videoButton:"tweet-media-video_videoButton__P9iF2",videoButtonIcon:"tweet-media-video_videoButtonIcon__7gRo1",watchOnTwitter:"tweet-media-video_watchOnTwitter__2ucCU",viewReplies:"tweet-media-video_viewReplies__dp8G_"}},77592:e=>{e.exports={root:"tweet-not-found_root__KQedq"}},81690:(e,t,r)=>{"use strict";let a;r.d(t,{Y:()=>e8});var n=r(95155),i=r(2821),l=r(90663);r(36953);let s=({className:e,children:t})=>(0,n.jsx)("div",{className:(0,i.A)("react-tweet-theme",l.root,e),children:(0,n.jsx)("article",{className:l.article,children:t})});var o=r(44263);let c=({style:e})=>(0,n.jsx)("span",{className:o.skeleton,style:e});var d=r(70103);let u=()=>(0,n.jsxs)(s,{className:d.root,children:[(0,n.jsx)(c,{style:{height:"3rem",marginBottom:"0.75rem"}}),(0,n.jsx)(c,{style:{height:"6rem",margin:"0.5rem 0"}}),(0,n.jsx)("div",{style:{borderTop:"var(--tweet-border)",margin:"0.5rem 0"}}),(0,n.jsx)(c,{style:{height:"2rem"}}),(0,n.jsx)(c,{style:{height:"2rem",borderRadius:"9999px",marginTop:"0.5rem"}})]});var _=r(77592);let h=e=>(0,n.jsx)(s,{children:(0,n.jsxs)("div",{className:_.root,children:[(0,n.jsx)("h3",{children:"Tweet not found"}),(0,n.jsx)("p",{children:"The embedded tweet could not be foundâ¦"})]})}),f=e=>(0,n.jsx)("img",{...e});var p=r(66491);let m=()=>(0,n.jsx)("svg",{viewBox:"0 0 24 24","aria-label":"Verified account",role:"img",className:p.verified,children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M22.25 12c0-1.43-.88-2.67-2.19-3.34.46-1.39.2-2.9-.81-3.91s-2.52-1.27-3.91-.81c-.66-1.31-1.91-2.19-3.34-2.19s-2.67.88-3.33 2.19c-1.4-.46-2.91-.2-3.92.81s-1.26 2.52-.8 3.91c-1.31.67-2.2 1.91-2.2 3.34s.89 2.67 2.2 3.34c-.46 1.39-.21 2.9.8 3.91s2.52 1.26 3.91.81c.67 1.31 1.91 2.19 3.34 2.19s2.68-.88 3.34-2.19c1.39.45 2.9.2 3.91-.81s1.27-2.52.81-3.91c1.31-.67 2.19-1.91 2.19-3.34zm-11.71 4.2L6.8 12.46l1.41-1.42 2.26 2.26 4.8-5.23 1.47 1.36-6.2 6.77z"})})}),x=()=>(0,n.jsx)("svg",{viewBox:"0 0 22 22","aria-label":"Verified account",role:"img",className:p.verified,children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{clipRule:"evenodd",d:"M12.05 2.056c-.568-.608-1.532-.608-2.1 0l-1.393 1.49c-.284.303-.685.47-1.1.455L5.42 3.932c-.832-.028-1.514.654-1.486 1.486l.069 2.039c.014.415-.152.816-.456 1.1l-1.49 1.392c-.608.568-.608 1.533 0 2.101l1.49 1.393c.304.284.47.684.456 1.1l-.07 2.038c-.027.832.655 1.514 1.487 1.486l2.038-.069c.415-.014.816.152 1.1.455l1.392 1.49c.569.609 1.533.609 2.102 0l1.393-1.49c.283-.303.684-.47 1.099-.45
15l2.038.069c.832.028 1.515-.654 1.486-1.486L18 14.542c-.015-.415.152-.815.455-1.099l1.49-1.393c.608-.568.608-1.533 0-2.101l-1.49-1.393c-.303-.283-.47-.684-.455-1.1l.068-2.038c.029-.832-.654-1.514-1.486-1.486l-2.038.07c-.415.013-.816-.153-1.1-.456zm-5.817 9.367l3.429 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z",fillRule:"evenodd"})})}),v=()=>(0,n.jsx)("svg",{viewBox:"0 0 22 22","aria-label":"Verified account",role:"img",className:p.verified,children:(0,n.jsxs)("g",{children:[(0,n.jsxs)("linearGradient",{gradientUnits:"userSpaceOnUse",id:"0-a",x1:"4.411",x2:"18.083",y1:"2.495",y2:"21.508",children:[(0,n.jsx)("stop",{offset:"0",stopColor:"#f4e72a"}),(0,n.jsx)("stop",{offset:".539",stopColor:"#cd8105"}),(0,n.jsx)("stop",{offset:".68",stopColor:"#cb7b00"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#f4ec26"}),(0,n.jsx)("stop",{offset:"1",stopColor:"#f4e72a"})]}),(0,n.jsxs)("linearGradient",{gradientUnits:"userSpaceOnUse",id:"0-b",x1:"5.355",x2:"16.361",y1:"3.395",y2:"19.133",children:[(0,n.jsx)("stop",{offset:"0",stopColor:"#f9e87f"}),(0,n.jsx)("stop",{offset:".406",stopColor:"#e2b719"}),(0,n.jsx)("stop",{offset:".989",stopColor:"#e2b719"})]}),(0,n.jsxs)("g",{clipRule:"evenodd",fillRule:"evenodd",children:[(0,n.jsx)("path",{d:"M13.324 3.848L11 1.6 8.676 3.848l-3.201-.453-.559 3.184L2.06 8.095 3.48 11l-1.42 2.904 2.856 1.516.559 3.184 3.201-.452L11 20.4l2.324-2.248 3.201.452.559-3.184 2.856-1.516L18.52 11l1.42-2.905-2.856-1.516-.559-3.184zm-7.09 7.575l3.428 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z",fill:"url(#0-a)"}),(0,n.jsx)("path",{d:"M13.101 4.533L11 2.5 8.899 4.533l-2.895-.41-.505 2.88-2.583 1.37L4.2 11l-1.284 2.627 2.583 1.37.505 2.88 2.895-.41L11 19.5l2.101-2.033 2.895.41.505-2.88 2.583-1.37L17.8 11l1.284-2.627-2.583-1.37-.505-2.88zm-6.868 6.89l3.429 3.428 5.683-6.206-1.347-1.247-4.4 4.795-2.072-2.072z",fill:"url(#0-b)"}),(0,n.jsx)("path",{d:"M6.233 11.423l3.429 3.428 5.65-6.17.038-.033-.005 1.398-5.683 6.206-3.429-3.429-.003-1.405.005.003z",fill:"#d18800"})]})]})});var w=r(25770);let g=({user:e,className:t})=>{let r=e.verified||e.is_blue_verified||e.verified_type,a=(0,n.jsx)(m,{}),l=w.verifiedBlue;if(r)switch(!e.is_blue_verified&&(l=w.verifiedOld),e.verified_type){case"Government":a=(0,n.jsx)(x,{}),l=w.verifiedGovernment;break;case"Business":a=(0,n.jsx)(v,{}),l=null}return r?(0,n.jsx)("div",{className:(0,i.A)(t,l),children:a}):null};var j=r(65330);let y=({user:e,className:t})=>{var r;let a=e.highlighted_label;if(!a)return null;let l=null==(r=a.badge)?void 0:r.url;return l?(0,n.jsx)("div",{className:(0,i.A)(j.label,t),children:(0,n.jsx)("img",{src:l,alt:a.description})}):null};var b=r(28709);let k=({tweet:e,components:t})=>{var r;let a=null!=(r=null==t?void 0:t.AvatarImg)?r:f,{user:l}=e;return(0,n.jsxs)("div",{className:b.header,children:[(0,n.jsxs)("a",{href:e.url,className:b.avatar,target:"_blank",rel:"noopener noreferrer",children:[(0,n.jsx)("div",{className:(0,i.A)(b.avatarOverflow,"Square"===l.profile_image_shape&&b.avatarSquare),children:(0,n.jsx)(a,{src:l.profile_image_url_https,alt:l.name,width:48,height:48})}),(0,n.jsx)("div",{className:b.avatarOverflow,children:(0,n.jsx)("div",{className:b.avatarShadow})})]}),(0,n.jsxs)("div",{className:b.author,children:[(0,n.jsxs)("a",{href:e.url,className:b.authorLink,target:"_blank",rel:"noopener noreferrer",children:[(0,n.jsx)("div",{className:b.authorLinkText,children:(0,n.jsx)("span",{title:l.name,children:l.name})}),(0,n.jsx)(g,{user:l,className:b.authorVerified}),(0,n.jsx)(y,{user:l})]}),(0,n.jsxs)("div",{className:b.authorMeta,children:[(0,n.jsx)("a",{href:e.url,className:b.username,target:"_blank",rel:"noopener noreferrer",children:(0,n.jsxs)("span",{title:`@${l.screen_name}`,children:["@",l.screen_name]})}),(0,n.jsxs)("div",{className:b.authorFollow,children:[(0,n.jsx)("span",{className:b.separator,children:"\xb7"}),(0,n.jsx)("a",{href:l.follow_url,className:b.follow,target:"_blank",rel:"noopener noreferrer",children:"Follow"})]})]})]}),(0,n.jsx)("a",{href:e.url,className:b.brand,target:"_blank",rel:"noopener noreferrer","aria-label":"View on Twitter",children:(0,n.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:b.twitterIcon,children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})})})]})};var N=r(62308);let S=({tweet:e})=>(0,n.jsxs)("a",{href:e.in_reply_to_url,className:N.root,target:"_blank",rel:"noopener noreferrer",children:["Replying to @",e.in_reply_to_screen_name]});var O=r(4832);let T=({href:e,children:t})=>(0,n.jsx)("a",{href:e,className:O.root,target:"_blank",rel:"noopener noreferrer nofollow",children:t});var L=r(99964);let I=({tweet:e})=>(0,n.jsxs)("p",{className:L.root,lang:e.lang,dir:"auto",children:[e.entities.map((e,t)=>{switch(e.type){case"hashtag":case"mention":case"url":case"symbol":return(0,n.jsx)(T,{href:e.href,children:e.text},t);case"media":return;default:return(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:e.text}},t)}}),e.note_tweet?(0,n.jsx)(R,{tweet:e}):null]});function R({tweet:e}){return(0,n.jsxs)(T,{href:e.url,children:[(0,n.jsx)("span",{children:"\xa0"}),"Show more"]})}var C=r(12115);let q=e=>`https://x.com/${e.user.screen_name}/status/${e.id_str}`,E=e=>`https://x.com/${"string"==typeof e?e:e.user.screen_name}`,M=(e,t)=>{let r=new URL(e.media_url_https),a=r.pathname.split(".").pop();return a?(r.pathname=r.pathname.replace(`.${a}`,""),r.searchParams.set("format",a),r.searchParams.set("name",t),r.toString()):e.media_url_https},$=e=>e>999999?`${(e/1e6).toFixed(1)}M`:e>999?`${(e/1e3).toFixed(1)}K`:e.toString();function z(e){let t=Array.from(e.text),r=[{indices:e.display_text_range,type:"text"}],{entities:a}=e;return a&&(F(r,"hashtag",a.hashtags),F(r,"mention",a.user_mentions),F(r,"url",a.urls),F(r,"symbol",a.symbols),F(r,"media",a.media)),function(e,t){var r;let a=null==(r=e.entities)?void 0:r.media;
1(null==a?void 0:a.length)&&a[0].indices[0]<e.display_text_range[1]&&(e.display_text_range[1]=a[0].indices[0]);let n=t.at(-1);n&&n.indices[1]>e.display_text_range[1]&&(n.indices[1]=e.display_text_range[1])}(e,r),r.map(e=>{let r=t.slice(e.indices[0],e.indices[1]).join("");switch(e.type){case"hashtag":return Object.assign(e,{href:`https://x.com/hashtag/${e.text}`,text:r});case"mention":return Object.assign(e,{href:E(e.screen_name),text:r});case"url":case"media":return Object.assign(e,{href:e.expanded_url,text:e.display_url});case"symbol":return Object.assign(e,{href:`https://x.com/search?q=%24${e.text}`,text:r});default:return Object.assign(e,{text:r})}})}function F(e,t,r){if(null==r?void 0:r.length)for(let a of r)for(let[r,n]of e.entries()){if(n.indices[0]>a.indices[0]||n.indices[1]<a.indices[1])continue;let i=[{...a,type:t}];n.indices[0]<a.indices[0]&&i.unshift({indices:[n.indices[0],a.indices[0]],type:"text"}),n.indices[1]>a.indices[1]&&i.push({indices:[a.indices[1],n.indices[1]],type:"text"}),e.splice(r,1,...i);break}}var V=r(94948),W=r(75270);let B=e=>{let{tweet:t,media:r}=e,[a,l]=(0,C.useState)(!0),[s,o]=(0,C.useState)(!1),[c,d]=(0,C.useState)(!1),u=(e=>{let t=(e=>{let{variants:t}=e.video_info;return t.filter(e=>"video/mp4"===e.content_type).sort((e,t)=>{var r,a;return(null!=(r=t.bitrate)?r:0)-(null!=(a=e.bitrate)?a:0)})})(e);return t.length>1?t[1]:t[0]})(r),_=0;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("video",{className:V.image,poster:M(r,"small"),controls:!a,playsInline:!0,preload:"none",tabIndex:a?-1:0,onPlay:()=>{_&&window.clearTimeout(_),s||o(!0),c&&d(!1)},onPause:()=>{_&&window.clearTimeout(_),_=window.setTimeout(()=>{s&&o(!1),_=0},100)},onEnded:()=>{d(!0)},children:(0,n.jsx)("source",{src:u.url,type:u.content_type})}),a&&(0,n.jsx)("button",{type:"button",className:W.videoButton,"aria-label":"View video on X",onClick:e=>{let t=e.currentTarget.previousSibling;e.preventDefault(),l(!1),t.load(),t.play().then(()=>{o(!0),t.focus()}).catch(e=>{console.error("Error playing video:",e),l(!0),o(!1)})},children:(0,n.jsx)("svg",{viewBox:"0 0 24 24",className:W.videoButtonIcon,"aria-hidden":"true",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M21 12L4 2v20l17-10z"})})})}),!s&&!c&&(0,n.jsx)("div",{className:W.watchOnTwitter,children:(0,n.jsx)("a",{href:t.url,className:W.anchor,target:"_blank",rel:"noopener noreferrer",children:a?"Watch on X":"Continue watching on X"})}),c&&(0,n.jsx)("a",{href:t.url,className:(0,i.A)(W.anchor,W.viewReplies),target:"_blank",rel:"noopener noreferrer",children:"View replies"})]})},A=e=>(0,n.jsx)("img",{...e}),D=(e,t)=>{let r=56.25;return 1===t&&(r=100/e.original_info.width*e.original_info.height),2===t&&(r*=2),{width:"photo"===e.type?void 0:"unset",paddingBottom:`${r}%`}},P=({tweet:e,components:t,quoted:r})=>{var a,l,s,o;let c=null!=(a=null==(s=e.mediaDetails)?void 0:s.length)?a:0,d=null!=(l=null==t?void 0:t.MediaImg)?l:A;return(0,n.jsx)("div",{className:(0,i.A)(V.root,!r&&V.rounded),children:(0,n.jsx)("div",{className:(0,i.A)(V.mediaWrapper,c>1&&V.grid2Columns,3===c&&V.grid3,c>4&&V.grid2x2),children:null==(o=e.mediaDetails)?void 0:o.map(t=>(0,n.jsx)(C.Fragment,{children:"photo"===t.type?(0,n.jsxs)("a",{href:e.url,className:(0,i.A)(V.mediaContainer,V.mediaLink),target:"_blank",rel:"noopener noreferrer",children:[(0,n.jsx)("div",{className:V.skeleton,style:D(t,c)}),(0,n.jsx)(d,{src:M(t,"small"),alt:t.ext_alt_text||"Image",className:V.image,draggable:!0})]},t.media_url_https):(0,n.jsxs)("div",{className:V.mediaContainer,children:[(0,n.jsx)("div",{className:V.skeleton,style:D(t,c)}),(0,n.jsx)(B,{tweet:e,media:t})]},t.media_url_https)},t.media_url_https))})})},U=new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"2-digit",hour12:!0,weekday:"short",month:"short",day:"numeric",year:"numeric"});var G=r(25805);let H=({tweet:e})=>{let t=new Date(e.created_at),r=(e=>{let t=(e=>{let t={};for(let r of e)t[r.type]=r.value;return t})(U.formatToParts(e)),r=`${t.hour}:${t.minute} ${t.dayPeriod}`,a=`${t.month} ${t.day}, ${t.year}`;return`${r} \xb7 ${a}`})(t);return(0,n.jsx)("a",{className:G.root,href:e.url,target:"_blank",rel:"noopener noreferrer","aria-label":r,children:(0,n.jsx)("time",{dateTime:t.toISOString(),children:r})})};var X=r(34412);let J=({tweet:e})=>(0,n.jsxs)("div",{className:X.info,children:[(0,n.jsx)(H,{tweet:e}),(0,n.jsx)("a",{className:X.infoLink,href:"https://help.x.com/en/x-for-websites-ads-info-and-privacy",target:"_blank",rel:"noopener noreferrer","aria-label":"Twitter for Websites, Ads Information and Privacy",children:(0,n.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:X.infoIcon,children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M13.5 8.5c0 .83-.67 1.5-1.5 1.5s-1.5-.67-1.5-1.5S11.17 7 12 7s1.5.67 1.5 1.5zM13 17v-5h-2v5h2zm-1 5.25c5.66 0 10.25-4.59 10.25-10.25S17.66 1.75 12 1.75 1.75 6.34 1.75 12 6.34 22.25 12 22.25zM20.25 12c0 4.56-3.69 8.25-8.25 8.25S3.75 16.56 3.75 12 7.44 3.75 12 3.75s8.25 3.69 8.25 8.25z"})})})})]});var Q=r(96091);let Y=e=>{let{tweet:t}=e,[r,a]=(0,C.useState)(!1);return(0,C.useEffect)(()=>
1{if(r){let e=setTimeout(()=>{a(!1)},6e3);return()=>clearTimeout(e)}},[r]),(0,n.jsxs)("button",{type:"button",className:Q.copy,"aria-label":"Copy link",onClick:()=>{navigator.clipboard.writeText(t.url),a(!0)},children:[(0,n.jsx)("div",{className:Q.copyIconWrapper,children:r?(0,n.jsx)("svg",{viewBox:"0 0 24 24",className:Q.copyIcon,"aria-hidden":"true",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M9.64 18.952l-5.55-4.861 1.317-1.504 3.951 3.459 8.459-10.948L19.4 6.32 9.64 18.952z"})})}):(0,n.jsx)("svg",{viewBox:"0 0 24 24",className:Q.copyIcon,"aria-hidden":"true",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M18.36 5.64c-1.95-1.96-5.11-1.96-7.07 0L9.88 7.05 8.46 5.64l1.42-1.42c2.73-2.73 7.16-2.73 9.9 0 2.73 2.74 2.73 7.17 0 9.9l-1.42 1.42-1.41-1.42 1.41-1.41c1.96-1.96 1.96-5.12 0-7.07zm-2.12 3.53l-7.07 7.07-1.41-1.41 7.07-7.07 1.41 1.41zm-12.02.71l1.42-1.42 1.41 1.42-1.41 1.41c-1.96 1.96-1.96 5.12 0 7.07 1.95 1.96 5.11 1.96 7.07 0l1.41-1.41 1.42 1.41-1.42 1.42c-2.73 2.73-7.16 2.73-9.9 0-2.73-2.74-2.73-7.17 0-9.9z"})})})}),(0,n.jsx)("span",{className:Q.copyText,children:r?"Copied!":"Copy link"})]})},Z=({tweet:e})=>{let t=$(e.favorite_count);return(0,n.jsxs)("div",{className:Q.actions,children:[(0,n.jsxs)("a",{className:Q.like,href:e.like_url,target:"_blank",rel:"noopener noreferrer","aria-label":`Like. This Tweet has ${t} likes`,children:[(0,n.jsx)("div",{className:Q.likeIconWrapper,children:(0,n.jsx)("svg",{viewBox:"0 0 24 24",className:Q.likeIcon,"aria-hidden":"true",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M20.884 13.19c-1.351 2.48-4.001 5.12-8.379 7.67l-.503.3-.504-.3c-4.379-2.55-7.029-5.19-8.382-7.67-1.36-2.5-1.41-4.86-.514-6.67.887-1.79 2.647-2.91 4.601-3.01 1.651-.09 3.368.56 4.798 2.01 1.429-1.45 3.146-2.1 4.796-2.01 1.954.1 3.714 1.22 4.601 3.01.896 1.81.846 4.17-.514 6.67z"})})})}),(0,n.jsx)("span",{className:Q.likeCount,children:t})]}),(0,n.jsxs)("a",{className:Q.reply,href:e.reply_url,target:"_blank",rel:"noopener noreferrer","aria-label":"Reply to this Tweet on Twitter",children:[(0,n.jsx)("div",{className:Q.replyIconWrapper,children:(0,n.jsx)("svg",{viewBox:"0 0 24 24",className:Q.replyIcon,"aria-hidden":"true",children:(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M1.751 10c0-4.42 3.584-8 8.005-8h4.366c4.49 0 8.129 3.64 8.129 8.13 0 2.96-1.607 5.68-4.196 7.11l-8.054 4.46v-3.69h-.067c-4.49.1-8.183-3.51-8.183-8.01z"})})})}),(0,n.jsx)("span",{className:Q.replyText,children:"Reply"})]}),(0,n.jsx)(Y,{tweet:e})]})};var K=r(98688);let ee=({tweet:e})=>(0,n.jsx)("div",{className:K.replies,children:(0,n.jsx)("a",{className:K.link,href:e.url,target:"_blank",rel:"noopener noreferrer",children:(0,n.jsx)("span",{className:K.text,children:0===e.conversation_count?"Read more on X":1===e.conversation_count?`Read ${$(e.conversation_count)} reply`:`Read ${$(e.conversation_count)} replies`})})});var et=r(6855);let er=e=>{let{tweet:t,children:r}=e;return(0,n.jsx)("div",{className:et.root,onClick:e=>{e.preventDefault(),window.open(t.url,"_blank")},children:(0,n.jsx)("article",{className:et.article,children:r})})};var ea=r(20197);let en=({tweet:e,components:t})=>{var r;let{user:a}=e,l=null!=(r=null==t?void 0:t.AvatarImg)?r:f;return(0,n.jsxs)("div",{className:ea.header,children:[(0,n.jsx)("a",{href:e.url,className:ea.avatar,target:"_blank",rel:"noopener noreferrer",children:(0,n.jsx)("div",{className:(0,i.A)(ea.avatarOverflow,"Square"===a.profile_image_shape&&ea.avatarSquare),children:(0,n.jsx)(l,{src:a.profile_image_url_https,alt:a.name,width:20,height:20})})}),(0,n.jsxs)("div",{className:ea.author,children:[(0,n.jsx)("div",{className:ea.authorText,children:(0,n.jsx)("span",{title:a.name,children:a.name})}),(0,n.jsx)(g,{user:a}),(0,n.jsx)(y,{user:a}),(0,n.jsx)("div",{className:ea.username,children:(0,n.jsxs)("span",{title:`@${a.screen_name}`,children:["@",a.screen_name]})})]})]})};var ei=r(97244);let el=({tweet:e})=>(0,n.jsx)("p",{className:ei.root,lang:e.lang,dir:"auto",children:e.entities.map((e,t)=>(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:e.text}},t))}),es=({tweet:e,components:t})=>{var r;return(0,n.jsxs)(er,{tweet:e,children:[(0,n.jsx)(en,{tweet:e,components:t}),(0,n.jsx)(el,{tweet:e}),(null==(r=e.mediaDetails)?void 0:r.length)?(0,n.jsx)(P,{quoted:!0,tweet:e}):null]})},eo=({tweet:e,components:t})=>{var r;let a=(0,C.useMemo)(()=>(e=>({...e,url:q(e),user:{...e.user,url:E(e),follow_url:`https://x.com/intent/follow?screen_name=${e.user.screen_name}`},like_url:`https://x.com/intent/like?tweet_id=${e.id_str}`,reply_url:`https://x.com/intent/tweet?in_reply_to=${e.id_str}`,in_reply_to_url:e.in_reply_to_screen_name?(e=>`https://x.com/${e.in_reply_to_screen_name}/status/${e.in_reply_to_status_id_str}`)(e):void 0,entities:z(e),quoted_tweet:e.quoted_tweet?{...e.quoted_tweet,url:q(e.quoted_tweet),entities:z(e.quoted_tweet)}:void 0}))(e),[e]);return(0,n.jsxs)(s,{children:[(0,n.jsx)(k,{tweet:a,components:t}),a.in_reply_to_status_id_str&&(0,n.jsx)(S,{tweet:a}),(0,n.jsx)(I,{tweet:a}),(null==(r=a.mediaDetails)?void 0:r.length)?(0,n.jsx)(P,{tweet:a,components:t}):null,a.quoted_tweet&&(0,n.jsx)(es,{tweet:a.quoted_tweet,components:t}),(0,n.jsx)(J,{tweet:a}),(0,n.jsx)(Z,{tweet:a}),(0,n.jsx)(ee,{tweet:a})]})};var ec=r(14806),ed=Object.prototype.hasOwnProperty;let eu=new WeakMap,e_=()=>{},eh=e_(),ef=Object,ep=e=>e===eh,em=(e,t)=>
1({...e,...t}),ex={},ev={},ew="undefined",eg=typeof window!=ew,ej=typeof document!=ew,ey=eg&&"Deno"in window,eb=(e,t)=>{let r=eu.get(e);return[()=>!ep(t)&&e.get(t)||ex,a=>{if(!ep(t)){let n=e.get(t);t in ev||(ev[t]=n),r[5](t,em(n,a),n||ex)}},r[6],()=>!ep(t)&&t in ev?ev[t]:!ep(t)&&e.get(t)||ex]},ek=!0,[eN,eS]=eg&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[e_,e_],eO={initFocus:e=>(ej&&document.addEventListener("visibilitychange",e),eN("focus",e),()=>{ej&&document.removeEventListener("visibilitychange",e),eS("focus",e)}),initReconnect:e=>{let t=()=>{ek=!0,e()},r=()=>{ek=!1};return eN("online",t),eN("offline",r),()=>{eS("online",t),eS("offline",r)}}},eT=!C.useId,eL=!eg||ey,eI=eL?C.useEffect:C.useLayoutEffect,eR="undefined"!=typeof navigator&&navigator.connection,eC=!eL&&eR&&(["slow-2g","2g"].includes(eR.effectiveType)||eR.saveData),eq=new WeakMap,eE=(e,t)=>e==="[object ".concat(t,"]"),eM=0,e$=e=>{let t,r,a=typeof e,n=ef.prototype.toString.call(e),i=eE(n,"Date"),l=eE(n,"RegExp"),s=eE(n,"Object");if(ef(e)!==e||i||l)t=i?e.toJSON():"symbol"==a?e.toString():"string"==a?JSON.stringify(e):""+e;else{if(t=eq.get(e))return t;if(t=++eM+"~",eq.set(e,t),Array.isArray(e)){for(r=0,t="@";r<e.length;r++)t+=e$(e[r])+",";eq.set(e,t)}if(s){t="#";let a=ef.keys(e).sort();for(;!ep(r=a.pop());)ep(e[r])||(t+=r+":"+e$(e[r])+",");eq.set(e,t)}}return t},ez=e=>{if("function"==typeof e)try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?e$(e):"",t]},eF=0,eV=()=>++eF;async function eW(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[a,n,i,l]=t,s=em({populateCache:!0,throwOnError:!0},"boolean"==typeof l?{revalidate:l}:l||{}),o=s.populateCache,c=s.rollbackOnError,d=s.optimisticData,u=s.throwOnError;if("function"==typeof n){let e=[];for(let t of a.keys())!/^\$(inf|sub)\$/.test(t)&&n(a.get(t)._k)&&e.push(t);return Promise.all(e.map(_))}return _(n);async function _(e){let r,[n]=ez(e);if(!n)return;let[l,_]=eb(a,n),[h,f,p,m]=eu.get(a),x=()=>{let t=h[n];return("function"==typeof s.revalidate?s.revalidate(l().data,e):!1!==s.revalidate)&&(delete p[n],delete m[n],t&&t[0])?t[0](2).then(()=>l().data):l().data};if(t.length<3)return x();let v=i,w=!1,g=eV();f[n]=[g,0];let j=!ep(d),y=l(),b=y.data,k=y._c,N=ep(k)?b:k;if(j&&_({data:d="function"==typeof d?d(N,b):d,_c:N}),"function"==typeof v)try{v=v(N)}catch(e){r=e,w=!0}if(v&&"function"==typeof v.then){let e;if(v=await v.catch(e=>{r=e,w=!0}),g!==f[n][0]){if(w)throw r;return v}w&&j&&(e=r,"function"==typeof c?c(e):!1!==c)&&(o=!0,_({data:N,_c:eh}))}if(o&&!w&&("function"==typeof o?_({data:o(v,N),error:eh,_c:eh}):_({data:v,error:eh,_c:eh})),f[n][1]=eV(),Promise.resolve(x()).then(()=>{_({_c:eh})}),w){if(u)throw r;return}return v}}let eB=(e,t)=>{for(let r in e)e[r][0]&&e[r][0](t)},eA=(e,t)=>{if(!eu.has(e)){let r=em(eO,t),a=Object.create(null),n=eW.bind(eh,e),i=e_,l=Object.create(null),s=(e,t)=>{let r=l[e]||[];return l[e]=r,r.push(t),()=>r.splice(r.indexOf(t),1)},o=(t,r,a)=>{e.set(t,r);let n=l[t];if(n)for(let e of n)e(r,a)},c=()=>{if(!eu.has(e)&&(eu.set(e,[a,Object.create(null),Object.create(null),Object.create(null),n,o,s]),!eL)){let t=r.initFocus(setTimeout.bind(eh,eB.bind(eh,a,0))),n=r.initReconnect(setTimeout.bind(eh,eB.bind(eh,a,1)));i=()=>{t&&t(),n&&n(),eu.delete(e)}}};return c(),[e,n,c,i]}return[e,eu.get(e)[4]]},[eD,eP]=eA(new Map),eU=em({onLoadingSlow:e_,onSuccess:e_,onError:e_,onErrorRetry:(e,t,r,a,n)=>{let i=r.errorRetryCount,l=n.retryCount,s=~~((Math.random()+.5)*(1<<(l<8?l:8)))*r.errorRetryInterval;(ep(i)||!(l>i))&&setTimeout(a,s,n)},onDiscarded:e_,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:eC?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:eC?5e3:3e3,compare:function e(t,r){var a,n;if(t===r)return!0;if(t&&r&&(a=t.constructor)===r.constructor){if(a===Date)return t.getTime()===r.getTime();if(a===RegExp)return t.toString()===r.toString();if(a===Array){if((n=t.length)===r.length)for(;n--&&e(t[n],r[n]););return -1===n}if(!a||"object"==typeof t){for(a in n=0,t)if(ed.call(t,a)&&++n&&!ed.call(r,a)||!(a in r)||!e(t[a],r[a]))return!1;return Object.keys(r).length===n}}return t!=t&&r!=r},isPaused:()=>!1,cache:eD,mutate:eP,fallback:{}},{isOnline:()=>ek,isVisible:()=>{let e=ej&&document.visibilityState;
1return ep(e)||"hidden"!==e}}),eG=(e,t)=>{let r=em(e,t);if(t){let{use:a,fallback:n}=e,{use:i,fallback:l}=t;a&&i&&(r.use=a.concat(i)),n&&l&&(r.fallback=em(n,l))}return r},eH=(0,C.createContext)({}),eX=eg&&window.__SWR_DEVTOOLS_USE__,eJ=(eX?window.__SWR_DEVTOOLS_USE__:[]).concat(e=>(t,r,a)=>{let n=r&&((...e)=>{let[a]=ez(t),[,,,n]=eu.get(eD);if(a.startsWith("$inf$"))return r(...e);let i=n[a];return ep(i)?r(...e):(delete n[a],i)});return e(t,n,a)});eX&&(window.__SWR_DEVTOOLS_REACT__=C);let eQ=()=>{},eY=eQ();new WeakMap;let eZ=C.use||(e=>{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}}),eK={dedupe:!0},e0=Promise.resolve(eh),e1=()=>e_;ef.defineProperty(e=>{let{value:t}=e,r=(0,C.useContext)(eH),a="function"==typeof t,n=(0,C.useMemo)(()=>a?t(r):t,[a,r,t]),i=(0,C.useMemo)(()=>a?n:eG(r,n),[a,r,n]),l=n&&n.provider,s=(0,C.useRef)(eh);l&&!s.current&&(s.current=eA(l(i.cache||eD),n));let o=s.current;return o&&(i.cache=o[0],i.mutate=o[1]),eI(()=>{if(o)return o[2]&&o[2](),o[3]},[]),(0,C.createElement)(eH.Provider,em(e,{value:i}))},"defaultValue",{value:eU});let e2=(a=(e,t,r)=>{let{cache:a,compare:n,suspense:i,fallbackData:l,revalidateOnMount:s,revalidateIfStale:o,refreshInterval:c,refreshWhenHidden:d,refreshWhenOffline:u,keepPreviousData:_,strictServerPrefetchWarning:h}=r,[f,p,m,x]=eu.get(a),[v,w]=ez(e),g=(0,C.useRef)(!1),j=(0,C.useRef)(!1),y=(0,C.useRef)(v),b=(0,C.useRef)(t),k=(0,C.useRef)(r),N=()=>k.current.isVisible()&&k.current.isOnline(),[S,O,T,L]=eb(a,v),I=(0,C.useRef)({}).current,R=ep(l)?ep(r.fallback)?eh:r.fallback[v]:l,q=(e,t)=>{for(let r in I)if("data"===r){if(!n(e[r],t[r])&&(!ep(e[r])||!n(A,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},E=!g.current,M=(0,C.useMemo)(()=>{let e=S(),r=L(),a=e=>{let r=em(e);return(delete r._k,(()=>{if(!v||!t||k.current.isPaused())return!1;if(E&&!ep(s))return s;let e=ep(R)?r.data:R;return ep(e)||o})())?{isValidating:!0,isLoading:!0,...r}:r},n=a(e),i=e===r?n:a(r),l=n;return[()=>{let e=a(S());return q(e,l)?(l.data=e.data,l.isLoading=e.isLoading,l.isValidating=e.isValidating,l.error=e.error,l):(l=e,e)},()=>i]},[a,v]),$=(0,ec.useSyncExternalStore)((0,C.useCallback)(e=>T(v,(t,r)=>{q(r,t)||e()}),[a,v]),M[0],M[1]),z=f[v]&&f[v].length>0,F=$.data,V=ep(F)?R&&"function"==typeof R.then?eZ(R):R:F,W=$.error,B=(0,C.useRef)(V),A=_?ep(F)?ep(B.current)?V:B.current:F:V,D=v&&ep(V),P=(0,C.useRef)(null);eL||(0,ec.useSyncExternalStore)(e1,()=>(P.current=!1,P),()=>(P.current=!0,P));let U=P.current;h&&U&&!i&&D&&console.warn(`Missing pre-initiated data for serialized key "${v}" during server-side rendering. Data fetching should be initiated on the server and provided to SWR via fallback data. You can set "strictServerPrefetchWarning: false" to disable this warning.`);let G=!(!v||!t||k.current.isPaused())&&(!z||!!ep(W))&&(E&&!ep(s)?s:i?!ep(V)&&o:ep(V)||o),H=E&&G,X=ep($.isValidating)?H:$.isValidating,J=ep($.isLoading)?H:$.isLoading,Q=(0,C.useCallback)(async e=>{let t,a,i=b.current;if(!v||!i||j.current||k.current.isPaused())return!1;let l=!0,s=e||{},o=!m[v]||!s.dedupe,c=()=>eT?!j.current&&v===y.current&&g.current:v===y.current,d={isValidating:!1,isLoading:!1},u=()=>{O(d)},_=()=>{let e=m[v];e&&e[1]===a&&delete m[v]},h={isValidating:!0};ep(S().data)&&(h.isLoading=!0);try{if(o&&(O(h),r.loadingTimeout&&ep(S().data)&&setTimeout(()=>{l&&c()&&k.current.onLoadingSlow(v,r)},r.loadingTimeout),m[v]=[i(w),eV()]),[t,a]=m[v],t=await t,o&&setTimeout(_,r.dedupingInterval),!m[v]||m[v][1]!==a)return o&&c()&&k.current.onDiscarded(v),!1;d.error=eh;let e=p[v];if(!ep(e)&&(a<=e[0]||a<=e[1]||0===e[1]))return u(),o&&c()&&k.current.onDiscarded(v),!1;let s=S().data;d.data=n(s,t)?s:t,o&&c()&&k.current.onSuccess(t,v,r)}catch(r){_();let e=k.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(d.error=r,o&&c())&&(e.onError(r,v,e),(!0===t||"function"==typeof t&&t(r))&&(!k.current.revalidateOnFocus||!k.current.revalidateOnReconnect||N())&&e.onErrorRetry(r,v,e,e=>{let t=f[v];t&&t[0]&&t[0](3,e)},{retryCount:(s.retryCount||0)+1,dedupe:!0}))}return l=!1,u(),!0},[v,a]),Y=(0,C.useCallback)((...e)=>eW(a,y.current,...e),[]);if(eI(()=>{b.current=t,k.current=r,ep(F)||(B.current=F)}),eI(()=>
1{if(!v)return;let e=Q.bind(eh,eK),t=0;k.current.revalidateOnFocus&&(t=Date.now()+k.current.focusThrottleInterval);let r=((e,t,r)=>{let a=t[e]||(t[e]=[]);return a.push(r),()=>{let e=a.indexOf(r);e>=0&&(a[e]=a[a.length-1],a.pop())}})(v,f,(r,a={})=>{if(0==r){let r=Date.now();k.current.revalidateOnFocus&&r>t&&N()&&(t=r+k.current.focusThrottleInterval,e())}else if(1==r)k.current.revalidateOnReconnect&&N()&&e();else if(2==r)return Q();else if(3==r)return Q(a)});return j.current=!1,y.current=v,g.current=!0,O({_k:w}),G&&!m[v]&&(ep(V)||eL?e():(e=>eg&&typeof window.requestAnimationFrame!=ew?window.requestAnimationFrame(e):setTimeout(e,1))(e)),()=>{j.current=!0,r()}},[v]),eI(()=>{let e;function t(){let t="function"==typeof c?c(S().data):c;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!S().error&&(d||k.current.isVisible())&&(u||k.current.isOnline())?Q(eK).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[c,d,u,v]),(0,C.useDebugValue)(A),i){if(!eT&&eL&&D)throw Error("Fallback data is required when using Suspense in SSR.");D&&(b.current=t,k.current=r,j.current=!1);let e=x[v];if(eZ(!ep(e)&&D?Y(e):e0),!ep(W)&&D)throw W;let a=D?Q(eK):e0;!ep(A)&&D&&(a.status="fulfilled",a.value=!0),eZ(a)}return{mutate:Y,get data(){return I.data=!0,A},get error(){return I.error=!0,W},get isValidating(){return I.isValidating=!0,X},get isLoading(){return I.isLoading=!0,J}}},function(...e){let t=(()=>{let e=(0,C.useContext)(eH);return(0,C.useMemo)(()=>em(eU,e),[e])})(),[r,n,i]="function"==typeof e[1]?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],l=eG(t,i),s=a,{use:o}=l,c=(o||[]).concat(eJ);for(let e=c.length;e--;)s=c[e](s);return s(r,n||l.fetcher||null,l)});class e4 extends Error{constructor({message:e,status:t,data:r}){super(e),this.name="TwitterApiError",this.status=t,this.data=r}}let e3=e2.default||e2;async function e5(e){let[t,r]=e,a=await fetch(t,r),n=await a.json();if(a.ok)return n.data||null;throw new e4({message:'Failed to fetch tweet at "'.concat(t,'" with "').concat(a.status,'".'),data:n,status:a.status})}let e8=e=>{let{id:t,apiUrl:r,fallback:a=(0,n.jsx)(u,{}),components:i,fetchOptions:l,onError:s}=e,{data:o,error:c,isLoading:d}=((e,t,r)=>{let{isLoading:a,data:n,error:i}=e3(()=>t||e?[t||e&&"".concat("https://react-tweet.vercel.app","/api/tweet/").concat(e),r]:null,e5,{revalidateIfStale:!1,revalidateOnFocus:!1,shouldRetryOnError:!1});return{isLoading:!!(a||void 0===n&&!i),data:n,error:i}})(t,r,l);if(d)return a;if(c||!o){let e=(null==i?void 0:i.TweetNotFound)||h;return(0,n.jsx)(e,{error:s?s(c):c})}return(0,n.jsx)(eo,{tweet:o,components:i})}},90663:e=>{e.exports={root:"tweet-container_root__0rJLq",article:"tweet-container_article__0ERPK"}},94948:e=>{e.exports={root:"tweet-media_root__k6gQ2",rounded:"tweet-media_rounded__LgwFx",mediaWrapper:"tweet-media_mediaWrapper__6rfqr",grid2Columns:"tweet-media_grid2Columns__tO2Ea",grid3:"tweet-media_grid3__XbH4s",grid2x2:"tweet-media_grid2x2__Wiunq",mediaContainer:"tweet-media_mediaContainer__rjXGp",mediaLink:"tweet-media_mediaLink__vFkZL",skeleton:"tweet-media_skeleton__qZmSS",image:"tweet-media_image__yoPJg"}},96091:e=>{e.exports={actions:"tweet-actions_actions__UDw7H",like:"tweet-actions_like__H1xYv",reply:"tweet-actions_reply__S4rFc",copy:"tweet-actions_copy__Tbdg_",likeIconWrapper:"tweet-actions_likeIconWrapper__JQkhp",likeCount:"tweet-actions_likeCount__MyxBd",replyIconWrapper:"tweet-actions_replyIconWrapper__NVdGa",copyIconWrapper:"tweet-actions_copyIconWrapper__toM2y",likeIcon:"tweet-actions_likeIcon__fhDng",replyIcon:"tweet-actions_replyIcon__MI2tG",copyIcon:"tweet-actions_copyIcon__SEaWw",replyText:"tweet-actions_replyText__doQct",copyText:"tweet-actions_copyText__fEqBx"}},97244:e=>{e.exports={root:"quoted-tweet-body_root__szSfI"}},98688:e=>{e.exports={replies:"tweet-replies_replies__PUxl8",link:"tweet-replies_link__roxYQ",text:"tweet-replies_text__o0Naf"}},99964:e=>{e.exports={root:"tweet-body_root__ChzUj"}}}]);
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.