1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2694],{2694:function(e,t,r){r.r(t);var n=r(7582),s=r(7294),i={width:350,overflow:"hidden",borderRadius:"6px",display:"block"},o={width:"100%",display:"block",overflow:"hidden",borderRadius:"8px"},a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={height:0},t.mounted=!1,t.onMessage=function(e){var r=e.data;if(t.mounted&&"string"===typeof r)try{var n=JSON.parse(r);if("resize_imgur"!==n.message)return;if("string"!==typeof n.href)return;if(n.href!==t.src())return;if("number"!==typeof n.height)return;t.setState({height:n.height})}catch(s){}},t}return(0,n.__extends)(t,e),t.prototype.componentDidMount=function(){this.mounted=!0,window.addEventListener("message",this.onMessage)},t.prototype.componentWillUnmount=function(){this.mounted=!1,window.removeEventListener("message",this.onMessage)},t.prototype.src=function(){return"https://imgur.com/a/".concat(this.props.id,"/embed?pub=true&w=340")},t.prototype.render=function(){var e=this.state.height||0;return this.props.renderWrap(s.createElement("div",{style:(0,n.__assign)((0,n.__assign)({},i),{border:e?"1px solid #E5E9F2":""})},s.createElement("iframe",{scrolling:"no",frameBorder:"0",src:this.src(),style:(0,n.__assign)((0,n.__assign)({},o),{height:e})})))},t}(s.Component);t.default=a}}]);
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.