1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e7f7dd7f-516a-4584-acf3-59c629e751db",e._sentryDebugIdIdentifier="sentry-dbid-e7f7dd7f-516a-4584-acf3-59c629e751db")}catch(e){}}();var _global="u">typeof window?window:"u">typeof global?global:"u">typeof self?self:{};_global.SENTRY_RELEASE={id:"e1befdfb692b28496829f71c2490b06d48ba02c9"},(self.webpackChunkopus1io=self.webpackChunkopus1io||[]).push([["37850"],{66734:function(e,t,r){let a,l,o;var n=Object.create,s=Object.defineProperty,i=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,u=Object.getPrototypeOf,p=Object.prototype.hasOwnProperty,c=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of d(t))p.call(e,l)||l===r||s(e,l,{get:()=>t[l],enumerable:!(a=i(t,l))||a.enumerable});return e},f=(e,t,r)=>{let a;return(a="symbol"!=typeof t?t+"":t)in e?s(e,a,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[a]=r,r},b={},h={default:()=>_};for(var y in h)s(b,y,{get:h[y],enumerable:!0});e.exports=c(s({},"__esModule",{value:!0}),b);var g=(o=null!=(a=r(96540))?n(u(a)):{},c(!l&&a&&a.__esModule?o:s(o,"default",{value:a,enumerable:!0}),a));let m="64px",w={};class _ extends g.Component{constructor(){super(...arguments),f(this,"mounted",!1),f(this,"state",{image:null}),f(this,"handleKeyPress",e=>{("Enter"===e.key||" "===e.key)&&this.props.onClick()})}componentDidMount(){this.mounted=!0,this.fetchImage(this.props)}componentDidUpdate(e){let{url:t,light:r}=this.props;(e.url!==t||e.light!==r)&&this.fetchImage(this.props)}componentWillUnmount(){this.mounted=!1}fetchImage({url:e,light:t,oEmbedUrl:r}){if(!g.default.isValidElement(t))return"string"==typeof t?void this.setState({image:t}):w[e]?void this.setState({image:w[e]}):(this.setState({image:null}),window.fetch(r.replace("{url}",e)).then(e=>e.json()).then(t=>{if(t.thumbnail_url&&this.mounted){let r=t.thumbnail_url.replace("height=100","height=480").replace("-d_295x166","-d_640");this.setState({image:r}),w[e]=r}}))}render(){let{light:e,onClick:t,playIcon:r,previewTabIndex:a,previewAriaLabel:l}=this.props,{image:o}=this.state,n=g.default.isValidElement(e),s={display:"flex",alignItems:"center",justifyContent:"center"},i={preview:{width:"100%",height:"100%",backgroundImage:o&&!n?`url(${o})`:void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer",...s},shadow:{background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:m,width:m,height:m,position:n?"absolute":void 0,...s},playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},d=g.default.createElement("div",{style:i.shadow,className:"react-player__shadow"},g.default.createElement("div",{style:i.playIcon,className:"react-player__play-icon"}));return g.default.createElement("div",{style:i.preview,className:"react-player__preview",onClick:t,tabIndex:a,onKeyPress:this.handleKeyPress,...l?{"aria-label":l}:{}},n?e:null,r||d)}}}}]); 2//# sourceMappingURL=reactPlayerPreview.643c6c2b.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.