PageSourceSearch

https://jobs.travelnursesinc.com/static/js/reactPlayerSoundCloud.53ac50c9.chunk.js

js travelnursesinc.com collected 2026-10-08 19:49:30 UTC 2,693 bytes, 2 lines download raw bytes

1(this.webpackJsonptravel=this.webpackJsonptravel||[]).push([[14],{814:function(e,t,r){var o,s=r(95),i=Object.create,a=Object.defineProperty,l=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,p=Object.getPrototypeOf,u=Object.prototype.hasOwnProperty,h=(e,t,r,o)=>{if(t&&"object"===typeof t||"function"===typeof t)for(let s of n(t))u.call(e,s)||s===r||a(e,s,{get:()=>t[s],enumerable:!(o=l(t,s))||o.enumerable});return e},d=(e,t,r)=>(((e,t,r)=>{t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r})(e,"symbol"!==typeof t?t+"":t,r),r),c={};((e,t)=>{for(var r in t)a(e,r,{get:t[r],enumerable:!0})})(c,{default:()=>b}),e.exports=(o=c,h(a({},"__esModule",{value:!0}),o));var y=((e,t,r)=>(r=null!=e?i(p(e)):{},h(!t&&e&&e.__esModule?r:a(r,"default",{value:e,enumerable:!0}),e)))(r(0)),m=r(91),f=r(94);class b extends y.Component{constructor(){super(...arguments),d(this,"callPlayer",m.callPlayer),d(this,"duration",null),d(this,"currentTime",null),d(this,"fractionLoaded",null),d(this,"mute",()=>{this.setVolume(0)}),d(this,"unmute",()=>{null!==this.props.volume&&this.setVolume(this.props.volume)}),d(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:a,FINISH:l,ERROR:n}=r.Widget.Events;t||(this.player=r.Widget(this.iframe),this.player.bind(o,this.props.onPlay),this.player.bind(a,()=>{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(l,()=>this.props.onEnded()),this.player.bind(n,e=>this.props.onError(e))),this.player.load(e,s(s({},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){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];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 y.default.createElement("iframe",{ref:this.ref,src:"https://w.soundcloud.com/player/?url=".concat(encodeURIComponent(this.props.url)),style:t,frameBorder:0,allow:"autoplay"})}}d(b,"displayName","SoundCloud"),d(b,"canPlay",f.canPlay.soundcloud),d(b,"loopOnEnded",!0)}}]);
2//# sourceMappingURL=reactPlayerSoundCloud.53ac50c9.chunk.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.