PageSourceSearch

https://www.starlight.org/_next/static/chunks/9358.71aa4f93a4e660fd.js

js starlight.org collected 2026-09-24 18:20:34 UTC 13,425 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9358],{49358:(e,r,s)=>{s.r(r),s.d(r,{EmbedTwitter:()=>es});var l=s(41996),a=s(36025),t=s(38941);s(15099);let n=({className:e,children:r})=>(0,l.jsx)("div",{className:(0,a.A)("react-tweet-theme",t.root,e),children:(0,l.jsx)("article",{className:t.article,children:r})});var i=s(89641);let o=({style:e})=>(0,l.jsx)("span",{className:i.skeleton,style:e});var d=s(94221);let c=()=>(0,l.jsxs)(n,{className:d.root,children:[(0,l.jsx)(o,{style:{height:"3rem",marginBottom:"0.75rem"}}),(0,l.jsx)(o,{style:{height:"6rem",margin:"0.5rem 0"}}),(0,l.jsx)("div",{style:{borderTop:"var(--tweet-border)",margin:"0.5rem 0"}}),(0,l.jsx)(o,{style:{height:"2rem"}}),(0,l.jsx)(o,{style:{height:"2rem",borderRadius:"9999px",marginTop:"0.5rem"}})]});var h=s(12702);let x=e=>(0,l.jsx)(n,{children:(0,l.jsxs)("div",{className:h.root,children:[(0,l.jsx)("h3",{children:"Tweet not found"}),(0,l.jsx)("p",{children:"The embedded tweet could not be found…"})]})}),m=e=>(0,l.jsx)("img",{...e});var j=s(47663),u=s(60341);let p=()=>(0,l.jsx)("svg",{viewBox:"0 0 24 24","aria-label":"Verified account",role:"img",className:u.verified,children:(0,l.jsx)("g",{children:(0,l.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"})})}),v=()=>(0,l.jsx)("svg",{viewBox:"0 0 22 22","aria-label":"Verified account",role:"img",className:u.verified,children:(0,l.jsx)("g",{children:(0,l.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-.455l2.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"})})}),f=()=>(0,l.jsx)("svg",{viewBox:"0 0 22 22","aria-label":"Verified account",role:"img",className:u.verified,children:(0,l.jsxs)("g",{children:[(0,l.jsxs)("linearGradient",{gradientUnits:"userSpaceOnUse",id:"0-a",x1:"4.411",x2:"18.083",y1:"2.495",y2:"21.508",children:[(0,l.jsx)("stop",{offset:"0",stopColor:"#f4e72a"}),(0,l.jsx)("stop",{offset:".539",stopColor:"#cd8105"}),(0,l.jsx)("stop",{offset:".68",stopColor:"#cb7b00"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#f4ec26"}),(0,l.jsx)("stop",{offset:"1",stopColor:"#f4e72a"})]}),(0,l.jsxs)("linearGradient",{gradientUnits:"userSpaceOnUse",id:"0-b",x1:"5.355",x2:"16.361",y1:"3.395",y2:"19.133",children:[(0,l.jsx)("stop",{offset:"0",stopColor:"#f9e87f"}),(0,l.jsx)("stop",{offset:".406",stopColor:"#e2b719"}),(0,l.jsx)("stop",{offset:".989",stopColor:"#e2b719"})]}),(0,l.jsxs)("g",{clipRule:"evenodd",fillRule:"evenodd",children:[(0,l.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,l.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,l.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 g=s(61680);let _=({user:e,className:r})=>{let s=e.verified||e.is_blue_verified||e.verified_type,t=(0,l.jsx)(p,{}),n=g.verifiedBlue;if(s)switch(!e.is_blue_verified&&(n=g.verifiedOld),e.verified_type){case"Government":t=(0,l.jsx)(v,{}),n=g.verifiedGovernment;break;case"Business":t=(0,l.jsx)(f,{}),n=null}return s?(0,l.jsx)("div",{className:(0,a.A)(r,n),children:t}):null},w=({tweet:e,components:r})=>{var s;let t=null!=(s=null==r?void 0:r.AvatarImg)?s:m,{user:n}=e;return(0,l.jsxs)("div",{className:j.header,children:[(0,l.jsxs)("a",{href:e.url,className:j.avatar,target:"_blank",rel:"noopener noreferrer",children:[(0,l.jsx)("div",{className:(0,a.A)(j.avatarOverflow,"Square"===n.profile_image_shape&&j.avatarSquare),children:(0,l.jsx)(t,{src:n.profile_image_url_https,alt:n.name,width:48,height:48})}),(0,l.jsx)("div",{className:j.avatarOverflow,children:(0,l.jsx)("div",{className:j.avatarShadow})})]}),(0,l.jsxs)("div",{className:j.author,children:[(0,l.jsxs)("a",{href:e.url,className:j.authorLink,target:"_blank",rel:"noopener noreferrer",children:[(0,l.jsx)("div",{className:j.authorLinkText,children:(0,l.jsx)("span",{title:n.name,children:n.name})}),(0,l.jsx)(_,{user:n,className:j.authorVerified})]}),(0,l.jsxs)("div",{className:j.authorMeta,children:[(0,l.jsx)("a",{href:e.url,className:j.username,target:"_blank",rel:"noopener noreferrer",children:(0,l.jsxs)("span",{title:`@${n.screen_name}`,children:["@",n.screen_name]})}),(0,l.jsxs)("div",{className:j.authorFollow,children:[(0,l.jsx)("span",{className:j.separator,children:"\xb7"}),(0,l.jsx)("a",{href:n.follow_url,className:j.follow,target:"_blank",rel:"noopener noreferrer",children:"Follow"})]})]})]}),(0,l.jsx)("a",{href:e.url,className:j.brand,target:"_blank",rel:"noopener noreferrer","aria-label":"View on Twitter",children:(0,l.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:j.twitterIcon,children:(0,l.jsx)("g",{children:(0,l.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=s(37218);let b=({tweet:e})=>(0,l.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 y=s(77974);let k=({href:e,children:r})=>(0,l.jsx)("a",{href:e,className:y.root,target:"_blank",rel:"noopener noreferrer nofollow",children:r});var T=s(35026);let L=({tweet:e})=>(0,l.jsx)("p",{className:T.root,lang:e.lang,dir:"auto",children:e.entities.map((e,r)=>{switch(e.type){case"hashtag":case"mention":case"url":case"symbol":return(0,l.jsx)(k,{href:e.href,children:e.text},r);case"media":return;default:return(0,l.jsx)("span",{dangerouslySetInnerHTML:{__html:e.text}},r)}})});var z=s(41728),M=s(18817),C=s(32150);let S=e=>(0,l.jsx)("img",{...e});var $=s(16270);let I=(e,r)=>{let s=56.25;return 1===r&&(s=100/e.original_info.width*e.original_info.height),2===r&&(s*=2),{width:"photo"===e.type?void 0:"unset",paddingBottom:`${s}%`}},R=({tweet:e,components:r,quoted:s})=>{var t,n,i,o;let d=null!=(i=null==(t=e.mediaDetails)?void 0:t.length)?i:0,c=null!=(o=null==r?void 0:r.MediaImg)?o:S;return(0,l.jsx)("div",{className:(0,a.A)($.root,!s&&$.rounded),children:(0,l.jsx)("div",{className:(0,a.A)($.mediaWrapper,d>1&&$.grid2Columns,3===d&&$.grid3,d>4&&$.grid2x2),children:null==(n=e.mediaDetails)?void 0:n.map(r=>(0,l.jsx)(z.Fragment,{children:"photo"===r.type?(0,l.jsxs)("a",{href:e.url,className:(0,a.A)($.mediaContainer,$.mediaLink),target:"_blank",rel:"noopener noreferrer",children:[(0,l.jsx)("div",{className:$.skeleton,style:I(r,d)}),(0,l.jsx)(c,{src:(0,M.eN)(r,"small"),alt:r.ext_alt_text||"Image",className:$.image,draggable:!0})]},r.media_url_https):(0,l.jsxs)("div",{className:$.mediaContainer,children:[(0,l.jsx)("div",{className:$.skeleton,style:I(r,d)}),(0,l.jsx)(C.TweetMediaVideo,{tweet:e,media:r})]},r.media_url_https)},r.media_url_https))})})},B=new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"2-digit",hour12:!0,weekday:"short",month:"short",day:"numeric",year:"numeric"}),A=e=>{let r={};for(let s of e)r[s.type]=s.value;return r},V=e=>{let r=A(B.formatToParts(e)),s=`${r.hour}:${r.minute} ${r.dayPeriod}`,l=`${r.month} ${r.day}, ${r.year}`;return`${s} \xb7 ${l}`};var q=s(72411);let O=({tweet:e})=>{let r=new Date(e.created_at),s=V(r);return(0,l.jsx)("a",{className:q.root,href:e.url,target:"_blank",rel:"noopener noreferrer","aria-label":s,children:(0,l.jsx)("time",{dateTime:r.toISOString(),children:s})})};var D=s(5998);let H=({tweet:e})=>(0,l.jsxs)("div",{className:D.info,children:[(0,l.jsx)(O,{tweet:e}),(0,l.jsx)("a",{className:D.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,l.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:D.infoIcon,children:(0,l.jsx)("g",{children:(0,l.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 F=s(19239),U=s(1957);let E=({tweet:e})=>{let r=(0,M.ZV)(e.favorite_count);return(0,l.jsxs)("div",{className:U.actions,children:[(0,l.jsxs)("a",{className:U.like,href:e.like_url,target:"_blank",rel:"noopener noreferrer","aria-label":`Like. This Tweet has ${r} likes`,children:[(0,l.jsx)("div",{className:U.likeIconWrapper,children:(0,l.jsx)("svg",{viewBox:"0 0 24 24",className:U.likeIcon,"aria-hidden":"true",children:(0,l.jsx)("g",{children:(0,l.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,l.jsx)("span",{className:U.likeCount,children:r})]}),(0,l.jsxs)("a",{className:U.reply,href:e.reply_url,target:"_blank",rel:"noopener noreferrer","aria-label":"Reply to this Tweet on Twitter",children:[(0,l.jsx)("div",{className:U.replyIconWrapper,children:(0,l.jsx)("svg",{viewBox:"0 0 24 24",className:U.replyIcon,"aria-hidden":"true",children:(0,l.jsx)("g",{children:(0,l.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,l.jsx)("span",{className:U.replyText,children:"Reply"})]}),(0,l.jsx)(F.TweetActionsCopy,{tweet:e})]})};var G=s(23666);let W=({tweet:e})=>(0,l.jsx)("div",{className:G.replies,children:(0,l.jsx)("a",{className:G.link,href:e.url,target:"_blank",rel:"noopener noreferrer",children:(0,l.jsx)("span",{className:G.text,children:0===e.conversation_count?"Read more on X":1===e.conversation_count?`Read ${(0,M.ZV)(e.conversation_count)} reply`:`Read ${(0,M.ZV)(e.conversation_count)} replies`})})});var P=s(48247),Z=s(39831);let Q=({tweet:e})=>{let{user:r}=e;return(0,l.jsxs)("div",{className:Z.header,children:[(0,l.jsx)("a",{href:e.url,className:Z.avatar,target:"_blank",rel:"noopener noreferrer",children:(0,l.jsx)("div",{className:(0,a.A)(Z.avatarOverflow,"Square"===r.profile_image_shape&&Z.avatarSquare),children:(0,l.jsx)(m,{src:r.profile_image_url_https,alt:r.name,width:20,height:20})})}),(0,l.jsxs)("div",{className:Z.author,children:[(0,l.jsx)("div",{className:Z.authorText,children:(0,l.jsx)("span",{title:r.name,children:r.name})}),(0,l.jsx)(_,{user:r}),(0,l.jsx)("div",{className:Z.username,children:(0,l.jsxs)("span",{title:`@${r.screen_name}`,children:["@",r.screen_name]})})]})]})};var X=s(91818);let J=({tweet:e})=>(0,l.jsx)("p",{className:X.root,lang:e.lang,dir:"auto",children:e.entities.map((e,r)=>(0,l.jsx)("span",{dangerouslySetInnerHTML:{__html:e.text}},r))}),K=({tweet:e})=>{var r;return(0,l.jsxs)(P.QuotedTweetContainer,{tweet:e,children:[(0,l.jsx)(Q,{tweet:e}),(0,l.jsx)(J,{tweet:e}),(null==(r=e.mediaDetails)?void 0:r.length)?(0,l.jsx)(R,{quoted:!0,tweet:e}):null]})},Y=({tweet:e,components:r})=>{var s;let a=(0,z.useMemo)(()=>(0,M.nl)(e),[e]);return(0,l.jsxs)(n,{children:[(0,l.jsx)(w,{tweet:a,components:r}),a.in_reply_to_status_id_str&&(0,l.jsx)(b,{tweet:a}),(0,l.jsx)(L,{tweet:a}),(null==(s=a.mediaDetails)?void 0:s.length)?(0,l.jsx)(R,{tweet:a,components:r}):null,a.quoted_tweet&&(0,l.jsx)(K,{tweet:a.quoted_tweet}),(0,l.jsx)(H,{tweet:a}),(0,l.jsx)(E,{tweet:a}),(0,l.jsx)(W,{tweet:a})]})};var ee=s(31419);let er=e=>{let{id:r,apiUrl:s,fallback:a=(0,l.jsx)(c,{}),components:t,fetchOptions:n,onError:i}=e,{data:o,error:d,isLoading:h}=(0,ee.useTweet)(r,s,n);if(h)return a;
1if(d||!o){let e=(null==t?void 0:t.TweetNotFound)||x;return(0,l.jsx)(e,{error:i?i(d):d})}return(0,l.jsx)(Y,{tweet:o,components:t})};function es(e){var r;let{entry:s}=e,a=s.url&&(null==(r=s.url.split("status/").pop())?void 0:r.split("?")[0]),t=RegExp("^[0-9]*$");return a&&t.test(a)?(0,l.jsx)(er,{id:a}):null}}}]);
2//# sourceMappingURL=9358.71aa4f93a4e660fd.js.map

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.