PageSourceSearch

https://www.nasstar.com/_next/static/chunks/reactPlayerTwitch.a418d6cbd6e8dc98.js

js nasstar.com collected 2026-10-02 04:00:43 UTC 3,060 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9542cf9c-ad00-4e85-a8a3-1f83eceacf81",e._sentryDebugIdIdentifier="sentry-dbid-9542cf9c-ad00-4e85-a8a3-1f83eceacf81")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2042],{95080:(e,t,a)=>{var r=Object.create,s=Object.defineProperty,l=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,i=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,p=(e,t,a,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of n(t))o.call(e,i)||i===a||s(e,i,{get:()=>t[i],enumerable:!(r=l(t,i))||r.enumerable});return e},d=(e,t,a)=>(((e,t,a)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a)(e,"symbol"!=typeof t?t+"":t,a),a),h={};((e,t)=>{for(var a in t)s(e,a,{get:t[a],enumerable:!0})})(h,{default:()=>f}),e.exports=p(s({},"__esModule",{value:!0}),h);var y=((e,t,a)=>(a=null!=e?r(i(e)):{},p(!t&&e&&e.__esModule?a:s(a,"default",{value:e,enumerable:!0}),e)))(a(41791)),u=a(88729),c=a(7063);class f extends y.Component{constructor(){super(...arguments),d(this,"callPlayer",u.callPlayer),d(this,"playerID",this.props.config.playerId||`twitch-player-${(0,u.randomString)()}`),d(this,"mute",()=>{this.callPlayer("setMuted",!0)}),d(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=c.MATCH_URL_TWITCH_CHANNEL.test(e),i=n?e.match(c.MATCH_URL_TWITCH_CHANNEL)[1]:e.match(c.MATCH_URL_TWITCH_VIDEO)[1];if(t)return void(n?this.player.setChannel(i):this.player.setVideo("v"+i));(0,u.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,u.parseStartTime)(e),...s.options});let{READY:r,PLAYING:o,PAUSE:p,ENDED:d,ONLINE:h,OFFLINE:y,SEEK:c}=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(d,this.props.onEnded),this.player.addEventListener(c,this.props.onSeek),this.player.addEventListener(h,this.props.onLoaded),this.player.addEventListener(y,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 y.default.createElement("div",{style:{width:"100%",height:"100%"},id:this.playerID})}}d(f,"displayName","Twitch"),d(f,"canPlay",c.canPlay.twitch),d(f,"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.