1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[546],{50993:function(a,b,c){var d,e,f,g=Object.create,h=Object.defineProperty,i=Object.getOwnPropertyDescriptor,j=Object.getOwnPropertyNames,k=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,m=(a,b,c)=>b in a?h(a,b,{enumerable:!0,configurable:!0,writable:!0,value:c}):a[b]=c,n=(a,b,c,d)=>{if(b&&"object"==typeof b||"function"==typeof b)for(let e of j(b))l.call(a,e)||e===c||h(a,e,{get:()=>b[e],enumerable:!(d=i(b,e))||d.enumerable});return a},o=(a,b,c)=>(m(a,"symbol"!=typeof b?b+"":b,c),c),p={};((a,b)=>{for(var c in b)h(a,c,{get:b[c],enumerable:!0})})(p,{default:()=>t}),a.exports=(d=p,n(h({},"__esModule",{value:!0}),d));var q=(f=null!=(e=c(67294))?g(k(e)):{},n(e&&e.__esModule?f:h(f,"default",{value:e,enumerable:!0}),e)),r=c(38045),s=c(71776);class t extends q.Component{constructor(){super(...arguments),o(this,"callPlayer",r.callPlayer),o(this,"duration",null),o(this,"currentTime",null),o(this,"secondsLoaded",null),o(this,"mute",()=>{this.callPlayer("mute")}),o(this,"unmute",()=>{this.callPlayer("unmute")}),o(this,"ref",a=>{this.iframe=a})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(a){(0,r.getSDK)("https://cdn.embed.ly/player-0.1.0.min.js","playerjs").then(a=>{this.iframe&&(this.player=new a.Player(this.iframe),this.player.setLoop(this.props.loop),this.player.on("ready",this.props.onReady),this.player.on("play",this.props.onPlay),this.player.on("pause",this.props.onPause),this.player.on("seeked",this.props.onSeek),this.player.on("ended",this.props.onEnded),this.player.on("error",this.props.onError),this.player.on("timeupdate",({duration:a,seconds:b})=>{this.duration=a,this.currentTime=b}),this.player.on("buffered",({percent:a})=>{this.duration&&(this.secondsLoaded=this.duration*a)}),this.props.muted&&this.player.mute())},this.props.onError)}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(a,b=!0){this.callPlayer("setCurrentTime",a),b||this.pause()}setVolume(a){this.callPlayer("setVolume",100*a)}setLoop(a){this.callPlayer("setLoop",a)}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return this.secondsLoaded}render(){let a=this.props.url.match(s.MATCH_URL_STREAMABLE)[1];return q.default.createElement("iframe",{ref:this.ref,src:`https://streamable.com/o/${a}`,frameBorder:"0",scrolling:"no",style:{width:"100%",height:"100%"},allow:"encrypted-media; autoplay; fullscreen;"})}}o(t,"displayName","Streamable"),o(t,"canPlay",s.canPlay.streamable)}}])
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.