PageSourceSearch

https://7bet.lt/reactPlayerYouTube.4ce9253c.chunk.js

js 7bet.lt collected 2026-10-05 01:57:45 UTC 4,323 bytes, 2 lines download raw bytes

1(self.webpackChunk_perlas_7bet=self.webpackChunk_perlas_7bet||[]).push([[4439],{"5RnD":(e,t,a)=>{var s,o=Object.create,l=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.getPrototypeOf,p=Object.prototype.hasOwnProperty,__copyProps=(e,t,a,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of n(t))p.call(e,o)||o===a||l(e,o,{get:()=>t[o],enumerable:!(s=r(t,o))||s.enumerable});return e},__publicField=(e,t,a)=>(((e,t,a)=>{t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a})(e,"symbol"!=typeof t?t+"":t,a),a),u={};((e,t)=>{for(var a in t)l(e,a,{get:t[a],enumerable:!0})})(u,{default:()=>YouTube}),e.exports=(s=u,__copyProps(l({},"__esModule",{value:!0}),s));var y=((e,t,a)=>(a=null!=e?o(i(e)):{},__copyProps(!t&&e&&e.__esModule?a:l(a,"default",{value:e,enumerable:!0}),e)))(a("q1tI")),c=a("ODpG"),h=a("AEgf");const d=/[?&](?:list|channel)=([a-zA-Z0-9_-]+)/,P=/user\/([a-zA-Z0-9_-]+)\/?/,b=/youtube-nocookie\.com/;class YouTube extends y.Component{constructor(){super(...arguments),__publicField(this,"callPlayer",c.callPlayer),__publicField(this,"parsePlaylist",(e=>{if(e instanceof Array)return{listType:"playlist",playlist:e.map(this.getID).join(",")};if(d.test(e)){const[,t]=e.match(d);return{listType:"playlist",list:t.replace(/^UC/,"UU")}}if(P.test(e)){const[,t]=e.match(P);return{listType:"user_uploads",list:t}}return{}})),__publicField(this,"onStateChange",(e=>{const{data:t}=e,{onPlay:a,onPause:s,onBuffer:o,onBufferEnd:l,onEnded:r,onReady:n,loop:i,config:{playerVars:p,onUnstarted:u}}=this.props,{UNSTARTED:y,PLAYING:c,PAUSED:h,BUFFERING:d,ENDED:P,CUED:b}=window.YT.PlayerState;if(t===y&&u(),t===c&&(a(),l()),t===h&&s(),t===d&&o(),t===P){const e=!!this.callPlayer("getPlaylist");i&&!e&&(p.start?this.seekTo(p.start):this.play()),r()}t===b&&n()})),__publicField(this,"mute",(()=>{this.callPlayer("mute")})),__publicField(this,"unmute",(()=>{this.callPlayer("unMute")})),__publicField(this,"ref",(e=>{this.container=e}))}componentDidMount(){this.props.onMount&&this.props.onMount(this)}getID(e){return!e||e instanceof Array||d.test(e)?null:e.match(h.MATCH_URL_YOUTUBE)[1]}load(e,t){const{playing:a,muted:s,playsinline:o,controls:l,loop:r,config:n,onError:i}=this.props,{playerVars:p,embedOptions:u}=n,y=this.getID(e);if(t)return d.test(e)||P.test(e)||e instanceof Array?void this.player.loadPlaylist(this.parsePlaylist(e)):void this.player.cueVideoById({videoId:y,startSeconds:(0,c.parseStartTime)(e)||p.start,endSeconds:(0,c.parseEndTime)(e)||p.end});(0,c.getSDK)("https://www.youtube.com/iframe_api","YT","onYouTubeIframeAPIReady",(e=>e.loaded)).then((t=>{this.container&&(this.player=new t.Player(this.container,{width:"100%",height:"100%",videoId:y,playerVars:{autoplay:a?1:0,mute:s?1:0,controls:l?1:0,start:(0,c.parseStartTime)(e),end:(0,c.parseEndTime)(e),origin:window.location.origin,playsinline:o?1:0,...this.parsePlaylist(e),...p},events:{onReady:()=>{r&&this.player.setLoop(!0),this.props.onReady()},onPlaybackRateChange:e=>this.props.onPlaybackRateChange(e.data),onPlaybackQualityChange:e=>this.props.onPlaybackQualityChange(e),onStateChange:this.onStateChange,onError:e=>i(e.data)},host:b.test(e)?"https://www.youtube-nocookie.com":void 0,...u}))}),i),u.events&&console.warn("Using `embedOptions.events` will likely break things. Use ReactPlayer’s callback props instead, eg onReady, onPlay, onPause")}play(){this.callPlayer("playVideo")}pause(){this.callPlayer("pauseVideo")}stop(){document.body.contains(this.callPlayer("getIframe"))&&this.callPlayer("stopVideo")}seekTo(e,t=!1){this.callPlayer("seekTo",e),t||this.props.playing||this.pause()}setVolume(e){this.callPlayer("setVolume",100*e)}setPlaybackRate(e){this.callPlayer("setPlaybackRate",e)}setLoop(e){this.callPlayer("setLoop",e)}getDuration(){return this.callPlayer("getDuration")}getCurrentTime(){return this.callPlayer("getCurrentTime")}getSecondsLoaded(){return this.callPlayer("getVideoLoadedFraction")*this.getDuration()}render(){const{display:e}=this.props,t={width:"100%",height:"100%",display:e};return y.default.createElement("div",{style:t},y.default.createElement("div",{ref:this.ref}))}}__publicField(YouTube,"displayName","YouTube"),__publicField(YouTube,"canPlay",h.canPlay.youtube)}}]);
2//# sourceMappingURL=reactPlayerYouTube.4ce9253c.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.