PageSourceSearch

https://www.splend.com/_next/static/chunks/reactPlayerYouTube.ca9709d089782db7.js

js splend.com collected 2026-10-02 15:12:02 UTC 4,383 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="dbab002c-e1b9-49c7-8c3c-2c2c128b312d",e._sentryDebugIdIdentifier="sentry-dbid-dbab002c-e1b9-49c7-8c3c-2c2c128b312d")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4439],{85034:function(e,t,a){let s,l,r;var i=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,c=Object.getOwnPropertyNames,y=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,p=(e,t,a)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,d=(e,t,a,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of c(t))u.call(e,l)||l===a||n(e,l,{get:()=>t[l],enumerable:!(s=o(t,l))||s.enumerable});return e},h=(e,t,a)=>(p(e,"symbol"!=typeof t?t+"":t,a),a),b={};((e,t)=>{for(var a in t)n(e,a,{get:t[a],enumerable:!0})})(b,{default:()=>T}),e.exports=d(n({},"__esModule",{value:!0}),b);var f=(r=null!=(s=a(67294))?i(y(s)):{},d(!l&&s&&s.__esModule?r:n(r,"default",{value:s,enumerable:!0}),s)),g=a(56281),P=a(99790);let m=/[?&](?:list|channel)=([a-zA-Z0-9_-]+)/,w=/user\/([a-zA-Z0-9_-]+)\/?/,k=/youtube-nocookie\.com/;class T extends f.Component{constructor(){super(...arguments),h(this,"callPlayer",g.callPlayer),h(this,"parsePlaylist",e=>{if(e instanceof Array)return{listType:"playlist",playlist:e.map(this.getID).join(",")};if(m.test(e)){let[,t]=e.match(m);return{listType:"playlist",list:t.replace(/^UC/,"UU")}}if(w.test(e)){let[,t]=e.match(w);return{listType:"user_uploads",list:t}}return{}}),h(this,"onStateChange",e=>{let{data:t}=e,{onPlay:a,onPause:s,onBuffer:l,onBufferEnd:r,onEnded:i,onReady:n,loop:o,config:{playerVars:c,onUnstarted:y}}=this.props,{UNSTARTED:u,PLAYING:p,PAUSED:d,BUFFERING:h,ENDED:b,CUED:f}=window.YT.PlayerState;if(t===u&&y(),t===p&&(a(),r()),t===d&&s(),t===h&&l(),t===b){let e=!!this.callPlayer("getPlaylist");o&&!e&&(c.start?this.seekTo(c.start):this.play()),i()}t===f&&n()}),h(this,"mute",()=>{this.callPlayer("mute")}),h(this,"unmute",()=>{this.callPlayer("unMute")}),h(this,"ref",e=>{this.container=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}getID(e){return!e||e instanceof Array||m.test(e)?null:e.match(P.MATCH_URL_YOUTUBE)[1]}load(e,t){let{playing:a,muted:s,playsinline:l,controls:r,loop:i,config:n,onError:o}=this.props,{playerVars:c,embedOptions:y}=n,u=this.getID(e);if(t){if(m.test(e)||w.test(e)||e instanceof Array){this.player.loadPlaylist(this.parsePlaylist(e));return}this.player.cueVideoById({videoId:u,startSeconds:(0,g.parseStartTime)(e)||c.start,endSeconds:(0,g.parseEndTime)(e)||c.end});return}(0,g.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:u,playerVars:{autoplay:a?1:0,mute:s?1:0,controls:r?1:0,start:(0,g.parseStartTime)(e),end:(0,g.parseEndTime)(e),origin:window.location.origin,playsinline:l?1:0,...this.parsePlaylist(e),...c},events:{onReady:()=>{i&&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=>o(e.data)},host:k.test(e)?"https://www.youtube-nocookie.com":void 0,...y}))},o),y.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(){let{display:e}=this.props;return f.default.createElement("div",{style:{width:"100%",height:"100%",display:e}},f.default.createElement("div",{ref:this.ref}))}}h(T,"displayName","YouTube"),h(T,"canPlay",P.canPlay.youtube)}}]);

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.