PageSourceSearch

https://www.splend.com/_next/static/chunks/reactPlayerTwitch.73606964011fcb7c.js

js splend.com collected 2026-10-02 15:12:08 UTC 3,017 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]="ec5360a9-5b37-42a0-bf83-9e7e487f69b9",e._sentryDebugIdIdentifier="sentry-dbid-ec5360a9-5b37-42a0-bf83-9e7e487f69b9")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6216],{89743:function(e,t,r){let a,s,l;var n=Object.create,i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,d=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty,u=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,y=(e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of p(t))h.call(e,s)||s===r||i(e,s,{get:()=>t[s],enumerable:!(a=o(t,s))||a.enumerable});return e},c=(e,t,r)=>(u(e,"symbol"!=typeof t?t+"":t,r),r),f={};((e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})})(f,{default:()=>P}),e.exports=y(i({},"__esModule",{value:!0}),f);var b=(l=null!=(a=r(67294))?n(d(a)):{},y(!s&&a&&a.__esModule?l:i(l,"default",{value:a,enumerable:!0}),a)),m=r(56281),g=r(99790);class P extends b.Component{constructor(){super(...arguments),c(this,"callPlayer",m.callPlayer),c(this,"playerID",this.props.config.playerId||`twitch-player-${(0,m.randomString)()}`),c(this,"mute",()=>{this.callPlayer("setMuted",!0)}),c(this,"unmute",()=>{this.callPlayer("setMuted",!1)})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e,t){let{playsinline:r,onError:a,config:s,controls:l}=this.props,n=g.MATCH_URL_TWITCH_CHANNEL.test(e),i=n?e.match(g.MATCH_URL_TWITCH_CHANNEL)[1]:e.match(g.MATCH_URL_TWITCH_VIDEO)[1];if(t){n?this.player.setChannel(i):this.player.setVideo("v"+i);return}(0,m.getSDK)("https://player.twitch.tv/js/embed/v1.js","Twitch").then(t=>{this.player=new t.Player(this.playerID,{video:n?"":i,channel:n?i:"",height:"100%",width:"100%",playsinline:r,autoplay:this.props.playing,muted:this.props.muted,controls:!!n||l,time:(0,m.parseStartTime)(e),...s.options});let{READY:a,PLAYING:o,PAUSE:p,ENDED:d,ONLINE:h,OFFLINE:u,SEEK:y}=t.Player;this.player.addEventListener(a,this.props.onReady),this.player.addEventListener(o,this.props.onPlay),this.player.addEventListener(p,this.props.onPause),this.player.addEventListener(d,this.props.onEnded),this.player.addEventListener(y,this.props.onSeek),this.player.addEventListener(h,this.props.onLoaded),this.player.addEventListener(u,this.props.onLoaded)},a)}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){this.callPlayer("pause")}seekTo(e,t=!0){this.callPlayer("seek",e),t||this.pause()}setVolume(e){this.callPlayer("setVolume",e)}getDuration(){return this.callPlayer("getDuration")}getCurrentTime(){return this.callPlayer("getCurrentTime")}getSecondsLoaded(){return null}render(){return b.default.createElement("div",{style:{width:"100%",height:"100%"},id:this.playerID})}}c(P,"displayName","Twitch"),c(P,"canPlay",g.canPlay.twitch),c(P,"loopOnEnded",!0)}}]);

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.