PageSourceSearch

https://www.softec.cz/_next/static/chunks/reactPlayerTwitch.e88b6d817a12766b.js

js softec.cz collected 2026-10-07 15:15:27 UTC 2,985 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f6bb7a24-0ff2-4d6a-b918-b86a42c77567",e._sentryDebugIdIdentifier="sentry-dbid-f6bb7a24-0ff2-4d6a-b918-b86a42c77567")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2042],{6627:(e,t,a)=>{let r,s;var l=Object.create,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,p=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty,d=(e,t,a,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of o(t))h.call(e,s)||s===a||n(e,s,{get:()=>t[s],enumerable:!(r=i(t,s))||r.enumerable});return e},u=(e,t,a)=>{let r;return(r="symbol"!=typeof t?t+"":t)in e?n(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,a},y={},c={default:()=>P};for(var b in c)n(y,b,{get:c[b],enumerable:!0});e.exports=d(n({},"__esModule",{value:!0}),y);var f=(s=null!=(r=a(4232))?l(p(r)):{},d(r&&r.__esModule?s:n(s,"default",{value:r,enumerable:!0}),r)),g=a(8352),m=a(1968);class P extends f.Component{constructor(){super(...arguments),u(this,"callPlayer",g.callPlayer),u(this,"playerID",this.props.config.playerId||`twitch-player-${(0,g.randomString)()}`),u(this,"mute",()=>{this.callPlayer("setMuted",!0)}),u(this,"unmute",()=>{this.callPlayer("setMuted",!1)})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e,t){let{playsinline:a,onError:r,config:s,controls:l}=this.props,n=m.MATCH_URL_TWITCH_CHANNEL.test(e),i=n?e.match(m.MATCH_URL_TWITCH_CHANNEL)[1]:e.match(m.MATCH_URL_TWITCH_VIDEO)[1];t?n?this.player.setChannel(i):this.player.setVideo("v"+i):(0,g.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:a,autoplay:this.props.playing,muted:this.props.muted,controls:!!n||l,time:(0,g.parseStartTime)(e),...s.options});let{READY:r,PLAYING:o,PAUSE:p,ENDED:h,ONLINE:d,OFFLINE:u,SEEK:y}=t.Player;this.player.addEventListener(r,this.props.onReady),this.player.addEventListener(o,this.props.onPlay),this.player.addEventListener(p,this.props.onPause),this.player.addEventListener(h,this.props.onEnded),this.player.addEventListener(y,this.props.onSeek),this.player.addEventListener(d,this.props.onLoaded),this.player.addEventListener(u,this.props.onLoaded)},r)}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 f.default.createElement("div",{style:{width:"100%",height:"100%"},id:this.playerID})}}u(P,"displayName","Twitch"),u(P,"canPlay",m.canPlay.twitch),u(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.