PageSourceSearch

https://www.kaggle.com/static/assets/reactPlayerSoundCloud.9ff1d6083b825030.js

js kaggle.com collected 2026-09-24 09:05:47 UTC 2,605 bytes, 2 lines download raw bytes

1(self.webpackChunk_kaggle_workspace=self.webpackChunk_kaggle_workspace||[]).push([["5912"],{93127(e,t,r){let o,s,l;var a=Object.create,i=Object.defineProperty,n=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,p=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty,d=(e,t,r,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let s of u(t))h.call(e,s)||s===r||i(e,s,{get:()=>t[s],enumerable:!(o=n(t,s))||o.enumerable});return e},c=(e,t,r)=>{let o;return(o="symbol"!=typeof t?t+"":t)in e?i(e,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[o]=r,r},y={},m={default:()=>w};for(var f in m)i(y,f,{get:m[f],enumerable:!0});e.exports=d(i({},"__esModule",{value:!0}),y);var b=(l=null!=(o=r(96540))?a(p(o)):{},d(!s&&o&&o.__esModule?l:i(l,"default",{value:o,enumerable:!0}),o)),g=r(75635),P=r(50327);class w extends b.Component{constructor(){super(...arguments),c(this,"callPlayer",g.callPlayer),c(this,"duration",null),c(this,"currentTime",null),c(this,"fractionLoaded",null),c(this,"mute",()=>{this.setVolume(0)}),c(this,"unmute",()=>{null!==this.props.volume&&this.setVolume(this.props.volume)}),c(this,"ref",e=>{this.iframe=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e,t){(0,g.getSDK)("https://w.soundcloud.com/player/api.js","SC").then(r=>{if(!this.iframe)return;let{PLAY:o,PLAY_PROGRESS:s,PAUSE:l,FINISH:a,ERROR:i}=r.Widget.Events;t||(this.player=r.Widget(this.iframe),this.player.bind(o,this.props.onPlay),this.player.bind(l,()=>{this.duration-this.currentTime<.05||this.props.onPause()}),this.player.bind(s,e=>{this.currentTime=e.currentPosition/1e3,this.fractionLoaded=e.loadedProgress}),this.player.bind(a,()=>this.props.onEnded()),this.player.bind(i,e=>this.props.onError(e))),this.player.load(e,{...this.props.config.options,callback:()=>{this.player.getDuration(e=>{this.duration=e/1e3,this.props.onReady()})}})})}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(e,t=!0){this.callPlayer("seekTo",1e3*e),t||this.pause()}setVolume(e){this.callPlayer("setVolume",100*e)}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return this.fractionLoaded*this.duration}render(){let{display:e}=this.props;return b.default.createElement("iframe",{ref:this.ref,src:`https://w.soundcloud.com/player/?url=${encodeURIComponent(this.props.url)}`,style:{width:"100%",height:"100%",display:e},frameBorder:0,allow:"autoplay"})}}c(w,"displayName","SoundCloud"),c(w,"canPlay",P.canPlay.soundcloud),c(w,"loopOnEnded",!0)}}]);
2//# sourceMappingURL=reactPlayerSoundCloud.9ff1d6083b825030.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.