1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[428],{26949:function(){},33556:function(e){e.exports={verified:"icons_verified__1eJnA"}},55468:function(e){e.exports={root:"quoted-tweet-body_root__szSfI"}},70956:function(e){e.exports={root:"quoted-tweet-container_root__92393",article:"quoted-tweet-container_article__FoJQN"}},34093:function(e){e.exports={header:"quoted-tweet-header_header___qrcQ",avatar:"quoted-tweet-header_avatar__lGzrW",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"}},40099:function(e){e.exports={skeleton:"skeleton_skeleton__gUMqh",loading:"skeleton_loading__XZoZ6"}},88371:function(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"}},39950:function(e){e.exports={root:"tweet-body_root__ChzUj"}},81066:function(e){e.exports={root:"tweet-container_root__0rJLq",article:"tweet-container_article__0ERPK"}},50896:function(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"}},38449:function(e){e.exports={root:"tweet-in-reply-to_root__o784R"}},51809:function(e){e.exports={root:"tweet-info-created-at_root__KaxZi"}},1343:function(e){e.exports={info:"tweet-info_info__ll_kH",infoLink:"tweet-info_infoLink__xdgYO",infoIcon:"tweet-info_infoIcon__S8lzA"}},19177:function(e){e.exports={root:"tweet-link_root__4EzRS"}},99260:function(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_"}},44629:function(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"}},50977:function(e){e.exports={root:"tweet-not-found_root__KQedq"}},85128:function(e){e.exports={replies:"tweet-replies_replies__PUxl8",link:"tweet-replies_link__roxYQ",text:"tweet-replies_text__o0Naf"}},83534:function(e){e.exports={root:"tweet-skeleton_root__1sn43"}},15650:function(e){e.exports={verifiedOld:"verified-badge_verifiedOld__zcaba",verifiedBlue:"verified-badge_verifiedBlue__s3_Vu",verifiedGovernment:"verified-badge_verifiedGovernment__qRJxq"}},3428:function(e,t,r){"use strict";r.d(t,{t:function(){return eg}});var a=r(85893),n=function(){for(var e,t,r=0,a="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=function e(t){var r,a,n="";if("string"==typeof t||"number"==typeof t)n+=t;else if("object"==typeof t){if(Array.isArray(t)){var i=t.length;for(r=0;r<i;r++)t[r]&&(a=e(t[r]))&&(n&&(n+=" "),n+=a)}else for(a in t)t[a]&&(n&&(n+=" "),n+=a)}return n}(e))&&(a&&(a+=" "),a+=t);return a},i=r(81066);r(26949);let s=e=>{let{className:t,children:r}=e;return(0,a.jsx)("div",{className:n("react-tweet-theme",i.root,t),children:(0,a.jsx)("article",{className:i.article,children:r})})};var o=r(40099);let l=e=>{let{style:t}=e;return(0,a.jsx)("span",{className:o.skeleton,style:t})};var c=r(83534);let d=()=>(0,a.jsxs)(s,{className:c.root,children:[(0,a.jsx)(l,{style:{height:"3rem",marginBottom:"0.75rem"}}),(0,a.jsx)(l,{style:{height:"6rem",margin:"0.5rem 0"}}),(0,a.jsx)("div",{style:{borderTop:"var(--tweet-border)",margin:"0.5rem 0"}}),(0,a.jsx)(l,{style:{height:"2rem"}}),(0,a.jsx)(l,{style:{height:"2rem",borderRadius:"9999px",marginTop:"0.5rem"}})]});var _=r(50977);let u=e=>(0,a.jsx)(s,{children:(0,a.jsxs)("div",{className:_.root,children:[(0,a.jsx)("h3",{children:"Tweet not found"}),(0,a.jsx)("p",{children:"The embedded tweet could not be foundâ¦"})]})}),h=e=>(0,a.jsx)("img",{...e});var p=r(50896),m=r(33556);let x=()=>(0,a.jsx)("svg",{viewBox:"0 0 24 24","aria-label":"Verified account",role:"img",className:m.verified,children:(0,a.jsx)("g",{children:(0,a.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"})})}),f=()=>(0,a.jsx)("svg",{viewBox:"0 0 22 22","aria-label":"Verified account",role:"img",className:m.verified,children:(0,a.jsx)("g",{children:(0,a.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"})})}),w=()=>(0,a.jsx)("svg",{viewBox:"0 0 22 22","aria-label":"Verified account",role:"img",className:m.verified,children:(0,a.jsxs)("g",{children:[(0,a.jsxs)("linearGradient",{gradientUnits:"userSpaceOnUse",id:"0-a",x1:"4.411",x2:"18.083",y1:"2.495",y2:"21.508",children:[(0,a.jsx)("stop",{offset:"0",stopColor:"#f4e72a"}),(0,a.jsx)("stop",{offset:".539",stopColor:"#cd8105"}),(0,a.jsx)("stop",{offset:".68",stopColor:"#cb7b00"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#f4ec26"}),(0,a.jsx)("stop",{offset:"1",stopColor:"#f4e72a"})]}),(0,a.jsxs)("linearGradient",{gradientUnits:"userSpaceOnUse",id:"0-b",x1:"5.355",x2:"16.361",y1:"3.395",y2:"19.133",children:[(0,a.jsx)("stop",{offset:"0",stopColor:"#f9e87f"}),(0,a.jsx)("stop",{offset:".406",stopColor:"#e2b719"}),(0,a.jsx)("stop",{offset:".989",stopColor:"#e2b719"})]}),(0,a.jsxs)("g",{clipRule:"evenodd",fillRule:"evenodd",children:[(0,a.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,a.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,a.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 v=r(15650);let j=e=>{let{user:t,className:r}=e,i=t.verified||t.is_blue_verified||t.verified_type,s=(0,a.jsx)(x,{}),o=v.verifiedBlue;if(i)switch(t.is_blue_verified||(o=v.verifiedOld),t.verified_type){case"Government":s=(0,a.jsx)(f,{}),o=v.verifiedGovernment;break;case"Business":s=(0,a.jsx)(w,{}),o=null}return i?(0,a.jsx)("div",{className:n(r,o),children:s}):null},g=e=>{var t;let{tweet:r,components:i}=e,s=null!=(t=null==i?void 0:i.AvatarImg)?t:h,{user:o}=r;return(0,a.jsxs)("div",{className:p.header,children:[(0,a.jsxs)("a",{href:r.url,className:p.avatar,target:"_blank",rel:"noopener noreferrer",children:[(0,a.jsx)("div",{className:n(p.avatarOverflow,"Square"===o.profile_image_shape&&p.avatarSquare),children:(0,a.jsx)(s,{src:o.profile_image_url_https,alt:o.name,width:48,height:48})}),(0,a.jsx)("div",{className:p.avatarOverflow,children:(0,a.jsx)("div",{className:p.avatarShadow})})]}),(0,a.jsxs)("div",{className:p.author,children:[(0,a.jsxs)("a",{href:r.url,className:p.authorLink,target:"_blank",rel:"noopener noreferrer",children:[(0,a.jsx)("div",{className:p.authorLinkText,children:(0,a.jsx)("span",{title:o.name,children:o.name})}),(0,a.jsx)(j,{user:o,className:p.authorVerified})]}),(0,a.jsxs)("div",{className:p.authorMeta,children:[(0,a.jsx)("a",{href:r.url,className:p.username,target:"_blank",rel:"noopener noreferrer",children:(0,a.jsxs)("span",{title:"@".concat(o.screen_name),children:["@",o.screen_name]})}),(0,a.jsxs)("div",{className:p.authorFollow,children:[(0,a.jsx)("span",{className:p.separator,children:"\xb7"}),(0,a.jsx)("a",{href:o.follow_url,className:p.follow,target:"_blank",rel:"noopener noreferrer",children:"Follow"})]})]})]}),(0,a.jsx)("a",{href:r.url,className:p.brand,target:"_blank",rel:"noopener noreferrer","aria-label":"View on Twitter",children:(0,a.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:p.twitterIcon,children:(0,a.jsx)("g",{children:(0,a.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 y=r(38449);let b=e=>{let{tweet:t}=e;return(0,a.jsxs)("a",{href:t.in_reply_to_url,className:y.root,target:"_blank",rel:"noopener noreferrer",children:["Replying to @",t.in_reply_to_screen_name]})};var k=r(19177);let N=e=>{let{href:t,children:r}=e;return(0,a.jsx)("a",{href:t,className:k.root,target:"_blank",rel:"noopener noreferrer nofollow",children:r})};var I=r(39950);let T=e=>{let{tweet:t}=e;return(0,a.jsx)("p",{className:I.root,children:t.entities.map((e,t)=>{switch(e.type){case"hashtag":case"mention":case"url":case"symbol":return(0,a.jsx)(N,{href:e.href,children:e.text},t);case"media":return;default:return(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:e.text}},t)}})})};var q=r(67294);let L=e=>"https://twitter.com/".concat(e.user.screen_name,"/status/").concat(e.id_str),S=e=>"https://twitter.com/".concat("string"==typeof e?e:e.user.screen_name),C=e=>"https://twitter.com/intent/like?tweet_id=".concat(e.id_str),z=e=>"https://twitter.com/intent/tweet?in_reply_to=".concat(e.id_str),M=e=>"https://twitter.com/intent/follow?screen_name=".concat(e.user.screen_name),B=e=>"https://twitter.com/hashtag/".concat(e.text),O=e=>"https://twitter.com/search?q=%24".concat(e.text),R=e=>"https://twitter.com/".concat(e.in_reply_to_screen_name,"/status/").concat(e.in_reply_to_status_id_str),F=(e,t)=>{let r=new URL(e.media_url_https),a=r.pathname.split(".").pop();return a?(r.pathname=r.pathname.replace(".".concat(a),""),r.searchParams.set("format",a),r.searchParams.set("name",t),r.toString()):e.media_url_https},W=e=>{let{variants:t}=e.video_info;return t.filter(e=>"video/mp4"===e.content_type).sort((e,t)=>
1{var r,a;return(null!=(r=t.bitrate)?r:0)-(null!=(a=e.bitrate)?a:0)})},U=e=>{let t=W(e);return t.length>1?t[1]:t[0]},E=e=>e>999999?"".concat((e/1e6).toFixed(1),"M"):e>999?"".concat((e/1e3).toFixed(1),"K"):e.toString();function P(e){let t=Array.from(e.text),r=[{indices:e.display_text_range,type:"text"}];return G(r,"hashtag",e.entities.hashtags),G(r,"mention",e.entities.user_mentions),G(r,"url",e.entities.urls),G(r,"symbol",e.entities.symbols),e.entities.media&&G(r,"media",e.entities.media),function(e,t){e.entities.media&&e.entities.media[0].indices[0]<e.display_text_range[1]&&(e.display_text_range[1]=e.entities.media[0].indices[0]);let r=t.at(-1);r&&r.indices[1]>e.display_text_range[1]&&(r.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:B(e),text:r});case"mention":return Object.assign(e,{href:S(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:O(e),text:r});default:return Object.assign(e,{text:r})}})}function G(e,t,r){for(let a of r)for(let[r,n]of e.entries()){if(n.indices[
10]>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}}let V=e=>({...e,url:L(e),user:{...e.user,url:S(e),follow_url:M(e)},like_url:C(e),reply_url:z(e),in_reply_to_url:e.in_reply_to_screen_name?R(e):void 0,entities:P(e),quoted_tweet:e.quoted_tweet?{...e.quoted_tweet,url:L(e.quoted_tweet),entities:P(e.quoted_tweet)}:void 0});var H=r(44629),D=r(99260);let X=e=>{let{tweet:t,media:r}=e,[i,s]=(0,q.useState)(!0),[o,l]=(0,q.useState)(!1),[c,d]=(0,q.useState)(!1),_=U(r),u=0;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("video",{className:H.image,poster:F(r,"small"),controls:!i,muted:!0,preload:"none",tabIndex:i?-1:0,onPlay:()=>{u&&window.clearTimeout(u),o||l(!0),c&&d(!1)},onPause:()=>{u&&window.clearTimeout(u),u=window.setTimeout(()=>{o&&l(!1),u=0},100)},onEnded:()=>{d(!0)},children:(0,a.jsx)("source",{src:_.url,type:_.content_type})}),i&&(0,a.jsx)("button",{type:"button",className:D.videoButton,"aria-label":"View video on X",onClick:e=>{let t=e.currentTarget.previousSibling;e.preventDefault(),s(!1),l(!0),t.play(),t.focus()},children:(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:D.videoButtonIcon,"aria-hidden":"true",children:(0,a.jsx)("g",{children:(0,a.jsx)("path",{d:"M21 12L4 2v20l17-10z"})})})}),!o&&!c&&(0,a.jsx)("div",{className:D.watchOnTwitter,children:(0,a.jsx)("a",{href:t.url,className:D.anchor,target:"_blank",rel:"noopener noreferrer",children:i?"Watch on X":"Continue watching on X"})}),c&&(0,a.jsx)("a",{href:t.url,className:n(D.anchor,D.viewReplies),target:"_blank",rel:"noopener noreferrer",children:"View replies"})]})},Z=e=>(0,a.jsx)("img",{...e}),A=(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:"".concat(r,"%")}},Q=e=>{var t,r,i,s;let{tweet:o,components:l,quoted:c}=e,d=null!=(i=null==(t=o.mediaDetails)?void 0:t.length)?i:0,_=null!=(s=null==l?void 0:l.MediaImg)?s:Z;return(0,a.jsx)("div",{className:n(H.root,!c&&H.rounded),children:(0,a.jsx)("div",{className:n(H.mediaWrapper,d>1&&H.grid2Columns,3===d&&H.grid3,d>4&&H.grid2x2),children:null==(r=o.mediaDetails)?void 0:r.map(e=>(0,a.jsx)(q.Fragment,{children:"photo"===e.type?(0,a.jsxs)("a",{href:o.url,className:n(H.mediaContainer,H.mediaLink),target:"_blank",rel:"noopener noreferrer",children:[(0,a.jsx)("div",{className:H.skeleton,style:A(e,d)}),(0,a.jsx)(_,{src:F(e,"small"),alt:e.ext_alt_text||"Image",className:H.image,draggable:!0})]},e.media_url_https):(0,a.jsxs)("div",{className:H.mediaContainer,children:[(0,a.jsx)("div",{className:H.skeleton,style:A(e,d)}),(0,a.jsx)(X,{tweet:o,media:e})]},e.media_url_https)},e.media_url_https))})})},J=new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"2-digit",hour12:!0,weekday:"short",month:"short",day:"numeric",year:"numeric"}),Y=e=>{let t={};for(let r of e)t[r.type]=r.value;return t},K=e=>{let t=Y(J.formatToParts(e)),r="".concat(t.hour,":").concat(t.minute," ").concat(t.dayPeriod),a="".concat(t.month," ").concat(t.day,", ").concat(t.year);return"".concat(r," \xb7 ").concat(a)};var $=r(51809);let ee=e=>{let{tweet:t}=e,r=new Date(t.created_at),n=K(r);return(0,a.jsx)("a",{className:$.root,href:t.url,target:"_blank",rel:"noopener noreferrer","aria-label":n,children:(0,a.jsx)("time",{dateTime:r.toISOString(),children:n})})};var et=r(1343);let er=e=>{let{tweet:t}=e;return(0,a.jsxs)("div",{className:et.info,children:[(0,a.jsx)(ee,{tweet:t}),(0,a.jsx)("a",{className:et.infoLink,href:"https://help.twitter.com/en/twitter-for-websites-ads-info-and-privacy",target:"_blank",rel:"noopener noreferrer","aria-label":"Twitter for Websites, Ads Information and Privacy",children:(0,a.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:et.infoIcon,children:(0,a.jsx)("g",{children:(0,a.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 ea=r(88371);let en=e=>{let{tweet:t}=e,[r,n]=(0,q.useState)(!1),[i,s]=(0,q.useState)(!1);return(0,q.useEffect)(()=>
1{if(r){let e=setTimeout(()=>{n(!1),s(!0)},6e3);return()=>clearTimeout(e)}},[r]),(0,a.jsxs)("button",{type:"button",className:ea.copy,"aria-label":"Copy link",onClick:()=>{navigator.clipboard.writeText(t.url),n(!0)},children:[(0,a.jsx)("div",{className:ea.copyIconWrapper,children:r?(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:ea.copyIcon,"aria-hidden":"true",children:(0,a.jsx)("g",{children:(0,a.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,a.jsx)("svg",{viewBox:"0 0 24 24",className:ea.copyIcon,"aria-hidden":"true",children:(0,a.jsx)("g",{children:(0,a.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,a.jsx)("span",{className:ea.copyText,children:r?"Copied!":i?"Copy link to Tweet":"Copy link"})]})},ei=e=>{let{tweet:t}=e,r=E(t.favorite_count);return(0,a.jsxs)("div",{className:ea.actions,children:[(0,a.jsxs)("a",{className:ea.like,href:t.like_url,target:"_blank",rel:"noopener noreferrer","aria-label":"Like. This Tweet has ".concat(r," likes"),children:[(0,a.jsx)("div",{className:ea.likeIconWrapper,children:(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:ea.likeIcon,"aria-hidden":"true",children:(0,a.jsx)("g",{children:(0,a.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,a.jsx)("span",{className:ea.likeCount,children:r})]}),(0,a.jsxs)("a",{className:ea.reply,href:t.reply_url,target:"_blank",rel:"noopener noreferrer","aria-label":"Reply to this Tweet on Twitter",children:[(0,a.jsx)("div",{className:ea.replyIconWrapper,children:(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:ea.replyIcon,"aria-hidden":"true",children:(0,a.jsx)("g",{children:(0,a.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,a.jsx)("span",{className:ea.replyText,children:"Reply"})]}),(0,a.jsx)(en,{tweet:t})]})};var es=r(85128);let eo=e=>{let{tweet:t}=e;return(0,a.jsx)("div",{className:es.replies,children:(0,a.jsx)("a",{className:es.link,href:t.url,target:"_blank",rel:"noopener noreferrer",children:(0,a.jsx)("span",{className:es.text,children:0===t.conversation_count?"Read more on X":1===t.conversation_count?"Read ".concat(E(t.conversation_count)," reply"):"Read ".concat(E(t.conversation_count)," replies")})})})};var el=r(70956);let ec=e=>{let{tweet:t,children:r}=e;return(0,a.jsx)("div",{className:el.root,onClick:e=>{e.preventDefault(),window.open(t.url,"_blank")},children:(0,a.jsx)("article",{className:el.article,children:r})})};var ed=r(34093);let e_=e=>{let{tweet:t}=e,{user:r}=t;return(0,a.jsxs)("div",{className:ed.header,children:[(0,a.jsx)("a",{href:t.url,className:ed.avatar,target:"_blank",rel:"noopener noreferrer",children:(0,a.jsx)("div",{className:n(ed.avatarOverflow,"Square"===r.profile_image_shape&&ed.avatarSquare),children:(0,a.jsx)(h,{src:r.profile_image_url_https,alt:r.name,width:20,height:20})})}),(0,a.jsxs)("div",{className:ed.author,children:[(0,a.jsx)("div",{className:ed.authorText,children:(0,a.jsx)("span",{title:r.name,children:r.name})}),(0,a.jsx)(j,{user:r}),(0,a.jsx)("div",{className:ed.username,children:(0,a.jsxs)("span",{title:"@".concat(r.screen_name),children:["@",r.screen_name]})})]})]})};var eu=r(55468);let eh=e=>{let{tweet:t}=e;return(0,a.jsx)("p",{className:eu.root,children:t.entities.map((e,t)=>(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:e.text}},t))})},ep=e=>{var t;let{tweet:r}=e;return(0,a.jsxs)(ec,{tweet:r,children:[(0,a.jsx)(e_,{tweet:r}),(0,a.jsx)(eh,{tweet:r}),(null==(t=r.mediaDetails)?void 0:t.length)?(0,a.jsx)(Q,{quoted:!0,tweet:r}):null]})},em=e=>{var t;let{tweet:r,components:n}=e,i=(0,q.useMemo)(()=>V(r),[r]);return(0,a.jsxs)(s,{children:[(0,a.jsx)(g,{tweet:i,components:n}
1),i.in_reply_to_status_id_str&&(0,a.jsx)(b,{tweet:i}),(0,a.jsx)(T,{tweet:i}),(null==(t=i.mediaDetails)?void 0:t.length)?(0,a.jsx)(Q,{tweet:i,components:n}):null,i.quoted_tweet&&(0,a.jsx)(ep,{tweet:i.quoted_tweet}),(0,a.jsx)(er,{tweet:i}),(0,a.jsx)(ei,{tweet:i}),(0,a.jsx)(eo,{tweet:i})]})};var ex=r(81758);class ef extends Error{constructor({message:e,status:t,data:r}){super(e),this.name="TwitterApiError",this.status=t,this.data=r}}let ew=ex.ZP.default||ex.ZP;async function ev(e){let[t,r]=e,a=await fetch(t,r),n=await a.json();if(a.ok)return n.data||null;throw new ef({message:'Failed to fetch tweet at "'.concat(t,'" with "').concat(a.status,'".'),data:n,status:a.status})}let ej=(e,t,r)=>{let{isLoading:a,data:n,error:i}=ew(()=>t||e?[t||e&&"".concat("https://react-tweet.vercel.app","/api/tweet/").concat(e),r]:null,ev,{revalidateIfStale:!1,revalidateOnFocus:!1,shouldRetryOnError:!1});return{isLoading:!!(a||void 0===n&&!i),data:n,error:i}},eg=e=>{let{id:t,apiUrl:r,fallback:n=(0,a.jsx)(d,{}),components:i,fetchOptions:s,onError:o}=e,{data:l,error:c,isLoading:_}=ej(t,r,s);if(_)return n;if(c||!l){let e=(null==i?void 0:i.TweetNotFound)||u;return(0,a.jsx)(e,{error:o?o(c):c})}return(0,a.jsx)(em,{tweet:l,components:i})}}}]);
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.