1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[422],{85884:(function(A,_,e){e.r(_);var i=e(86402),u=e(91436),n=e(84539),t=e(14041),D=e(2537),f=e(72307),l=e(81487),L=e(92651);const d=({link:r})=>{const a=t.useContext(D.Y),[c,O]=(0,t.useState)(!1),[m,w]=(0,t.useState)(typeof navigator<"u"&&(0,i.isIE)(navigator)),E=t.useRef(null);let o=!1;try{o=(0,L.A)(r)}catch{a.warn({link:r},"Unable to extract tweet ID")}const[s,T]=(0,n.v)({consentMet:{src:"https://platform.twitter.com/widgets.js"},consentRequiredLevel:u.Rg.All});return t.useEffect(()=>{if(s===n.r.Success&&o&&E.current&&typeof twttr<"u")try{twttr.widgets.createTweet(o,E.current).then(()=>{O(!0)})}catch{a.debug("Failed to create Tweet"),w(!0)}},[s,T,o,a]),s===n.r.NotConsented?t.createElement(f.V,null):s===n.r.Failed||m?t.createElement("div",null,t.createElement(l.Y,{href:r,openInNewWindow:!0},"View Tweet")):n.r.Loading||c?t.createElement("div",{ref:E},!c&&t.createElement(l.Y,{href:r,openInNewWindow:!0},"Loading Tweet")):null};_.default=d,e.d(_,["TwitterEmbed",0,d])})}]); 2 3//# sourceMappingURL=TwitterEmbed-web_ecdba6c9a61a5043f4b3.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.