PageSourceSearch

https://www.iltalehti.fi/assets/Twitter.840bb9170.chunk.js

js iltalehti.fi collected 2026-10-01 10:13:02 UTC 2,568 bytes, 2 lines download raw bytes

1(self.webpackChunk=self.webpackChunk||[]).push([[7708],{24709(t,e,r){r.r(e),r.d(e,{default:()=>l});var i,s=r(96540),n=r(3100),o=r.n(n),p=r(61225),d=r(64766),a=r.n(d),c=r(33016);function u(t,e,r,s){i||(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var n=t&&t.defaultProps,o=arguments.length-3;if(e||0===o||(e={children:void 0}),1===o)e.children=s;else if(o>1){for(var p=Array(o),d=0;d<o;d++)p[d]=arguments[d+3];e.children=p}if(e&&n)for(var a in n)void 0===e[a]&&(e[a]=n[a]);else e||(e=n||{});return{$$typeof:i,type:t,key:void 0===r?null:""+r,ref:null,props:e,_owner:null}}class h extends s.Component{constructor(t){super(t),this.state={renderingStatus:"rendering"}}componentDidMount(){if(window.twttr)this.createEmbed();else{const{dispatch:t}=this.props;t((0,c.B)("twitter"))}}shouldComponentUpdate(t,e){return"loaded"!==this.props.scriptStatus&&"loaded"===t.scriptStatus||this.state.renderingStatus!==e.renderingStatus}componentDidUpdate(){"loaded"===this.props.scriptStatus&&"rendered"!==this.state.renderingStatus&&window.twttr&&this.createEmbed()}createEmbed(){"tweet"===this.props.properties.type?this.createTweet():"video"===this.props.properties.type&&this.createVideo()}createTweet(){window.twttr.widgets.createTweet(this.props.properties.id,this.twitterComponent,{conversation:this.props.properties.conversation,cards:this.props.properties.media,lang:"fi",width:616}).then(()=>{this.setState({renderingStatus:"rendered"})})}createVideo(){window.twttr.widgets.createVideo(this.props.properties.id,this.twitterComponent,{conversation:this.props.properties.conversation,cards:this.props.properties.media,lang:"fi",width:510}).then(()=>{this.setState({renderingStatus:"rendered"})})}render(){return u("div",{className:"twitter-container article-embed"},void 0,s.createElement("div",{className:`twitter-status-${this.state.renderingStatus}`,ref:t=>{this.twitterComponent=t}}))}}const l=(0,p.connect)(function(t){let e;return e=t.embedScripts&&t.embedScripts.twitter?t.embedScripts.twitter.status:null,{scriptStatus:e}})(o()(a())(h))},27020(t,e,r){var i=r(76314)(function(t){return t[1]});i.push([t.id,".twitter-container{margin:0 14px 14px}.twitter-status-rendering{border:1px solid #e1e8ed;border-radius:4px;min-height:250px;width:100%}",""]),i.locals={},t.exports=i},64766(t,e,r){var i=r(27020),s=r(61352),n="string"==typeof i?[[t.id,i,""]]:i;(e=t.exports=i.locals||{})._getContent=function(){return n},e._getCss=function(){return""+i},e._insertCss=function(t){return s(n,t)}}}]);
2//# sourceMappingURL=Twitter.840bb9170.chunk.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.