PageSourceSearch

https://www.rullion.co.uk/_next/static/chunks/reactPlayerStreamable.25ab443755e4475e.js

js rullion.co.uk collected 2026-10-02 20:06:28 UTC 4,314 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7627],{87424:(e,t,r)=>{var n=r(65301),o=r(79923),a=r(58960),u=r(10510),l=r(66037);function i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(i=function(){return!!e})()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var s=Object.create,f=Object.defineProperty,p=Object.getOwnPropertyDescriptor,y=Object.getOwnPropertyNames,d=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,v=function(e,t,r,n){if(t&&"object"==typeof t||"function"==typeof t){var o,a=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return c(e,void 0);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(e))){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return u=e.done,e},e:function(e){l=!0,a=e},f:function(){try{u||null==r.return||r.return()}finally{if(l)throw a}}}}(y(t));try{for(a.s();!(o=a.n()).done;)!function(){var a=o.value;m.call(e,a)||a===r||f(e,a,{get:function(){return t[a]},enumerable:!(n=p(t,a))||n.enumerable})}()}catch(e){a.e(e)}finally{a.f()}}return e},h=function(e,t,r){var n;return(n="symbol"!=typeof t?t+"":t)in e?f(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r,r},b={};!function(e,t){for(var r in t)f(e,r,{get:t[r],enumerable:!0})}(b,{default:function(){return w}}),e.exports=v(f({},"__esModule",{value:!0}),b);var g=function(e,t,r){return r=null!=e?s(d(e)):{},v(e&&e.__esModule?r:f(r,"default",{value:e,enumerable:!0}),e)}(r(12115)),k=r(56403),P=r(8832),w=function(e){"use strict";function t(){var e,r,o;return n(this,t),r=t,o=arguments,r=u(r),h(e=a(this,i()?Reflect.construct(r,o||[],u(this).constructor):r.apply(this,o)),"callPlayer",k.callPlayer),h(e,"duration",null),h(e,"currentTime",null),h(e,"secondsLoaded",null),h(e,"mute",function(){e.callPlayer("mute")}),h(e,"unmute",function(){e.callPlayer("unmute")}),h(e,"ref",function(t){e.iframe=t}),e}
1return l(t,e),o(t,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this;(0,k.getSDK)("https://cdn.embed.ly/player-0.1.0.min.js","playerjs").then(function(e){t.iframe&&(t.player=new e.Player(t.iframe),t.player.setLoop(t.props.loop),t.player.on("ready",t.props.onReady),t.player.on("play",t.props.onPlay),t.player.on("pause",t.props.onPause),t.player.on("seeked",t.props.onSeek),t.player.on("ended",t.props.onEnded),t.player.on("error",t.props.onError),t.player.on("timeupdate",function(e){var r=e.duration,n=e.seconds;t.duration=r,t.currentTime=n}),t.player.on("buffered",function(e){var r=e.percent;t.duration&&(t.secondsLoaded=t.duration*r)}),t.props.muted&&t.player.mute())},this.props.onError)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];this.callPlayer("setCurrentTime",e),t||this.pause()}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",100*e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var e=this.props.url.match(P.MATCH_URL_STREAMABLE)[1];return g.default.createElement("iframe",{ref:this.ref,src:"https://streamable.com/o/".concat(e),frameBorder:"0",scrolling:"no",style:{width:"100%",height:"100%"},allow:"encrypted-media; autoplay; fullscreen;"})}}])}(g.Component);h(w,"displayName","Streamable"),h(w,"canPlay",P.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.