PageSourceSearch

https://www.moustique.be/pf/dist/components/combinations/reactPlayerSoundCloud.chunk.js?d=830&mxId=00000000

js moustique.be collected 2026-09-24 19:17:59 UTC 3,601 bytes, 1 lines download raw bytes

1(this.webpackChunkFusion_components=this.webpackChunkFusion_components||[]).push([[9979],{25273:function(e,t,r){function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function n(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach(function(t){i(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function i(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s,a=Object.create,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,c=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty,d=(e,t,r,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of p(t))h.call(e,n)||n===r||l(e,n,{get:()=>t[n],enumerable:!(o=u(t,n))||o.enumerable});return e},y=(e,t,r)=>(((e,t,r)=>{t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!=typeof t?t+"":t,r),r),f={};((e,t)=>{for(var r in t)l(e,r,{get:t[r],enumerable:!0})})(f,{default:()=>O}),e.exports=(s=f,d(l({},"__esModule",{value:!0}),s));var b=((e,t,r)=>(r=null!=e?a(c(e)):{},d(!t&&e&&e.__esModule?r:l(r,"default",{value:e,enumerable:!0}),e)))(r(40809)),m=r(79125),P=r(85397);class O extends b.Component{constructor(){super(...arguments),y(this,"callPlayer",m.callPlayer),y(this,"duration",null),y(this,"currentTime",null),y(this,"fractionLoaded",null),y(this,"mute",()=>{this.setVolume(0)}),y(this,"unmute",()=>{null!==this.props.volume&&this.setVolume(this.props.volume)}),y(this,"ref",e=>{this.iframe=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(e,t){(0,m.getSDK)("https://w.soundcloud.com/player/api.js","SC").then(r=>{if(!this.iframe)return;const{PLAY:o,PLAY_PROGRESS:i,PAUSE:s,FINISH:a,ERROR:l}=r.Widget.Events;t||(this.player=r.Widget(this.iframe),this.player.bind(o,this.props.onPlay),this.player.bind(s,()=>{this.duration-this.currentTime<.05||this.props.onPause()}),this.player.bind(i,e=>{this.currentTime=e.currentPosition/1e3,this.fractionLoaded=e.loadedProgress}),this.player.bind(a,()=>this.props.onEnded()),this.player.bind(l,e=>this.props.onError(e))),this.player.load(e,n(n({},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(){const{display:e}=this.props,t={width:"100%",height:"100%",display:e};return b.default.createElement("iframe",{ref:this.ref,src:`https://w.soundcloud.com/player/?url=${encodeURIComponent(this.props.url)}`,style:t,frameBorder:0,allow:"autoplay"})}}y(O,"displayName","SoundCloud"),y(O,"canPlay",P.canPlay.soundcloud),y(O,"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.