1(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[6125],{16489:(function(k,S,h){var _=Object.defineProperty,w=Object.defineProperties,D=Object.getOwnPropertyDescriptors,R=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,A=Object.prototype.propertyIsEnumerable,g=(t,o,a)=>o in t?_(t,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[o]=a,L=(t,o)=>{for(var a in o||(o={}))E.call(o,a)&&g(t,a,o[a]);if(R)for(var a of R(o))A.call(o,a)&&g(t,a,o[a]);return t},j=(t,o)=>w(t,D(o)),T=Object.create,m=Object.defineProperty,C=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyNames,M=Object.getPrototypeOf,N=Object.prototype.hasOwnProperty,p=(t,o,a)=>o in t?m(t,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[o]=a,I=(t,o)=>{for(var a in o)m(t,a,{get:o[a],enumerable:!0})},P=(t,o,a,v)=>{if(o&&typeof o=="object"||typeof o=="function")for(let f of b(o))!N.call(t,f)&&f!==a&&m(t,f,{get:()=>o[f],enumerable:!(v=C(o,f))||v.enumerable});return t},s=(t,o,a)=>(a=t!=null?T(M(t)):{},P(o||!t||!t.__esModule?m(a,"default",{value:t,enumerable:!0}):a,t)),V=t=>P(m({},"__esModule",{value:!0}),t),c=(t,o,a)=>(p(t,typeof o!="symbol"?o+"":o,a),a),O={};I(O,{default:()=>l}),k.exports=V(O);var e=s(h(67294)),n=h(35457),i=h(58279);const r="https://w.soundcloud.com/player/api.js",u="SC";class l extends e.Component{constructor(){super(...arguments),c(this,"callPlayer",n.callPlayer),c(this,"duration",null),c(this,"currentTime",null),c(this,"fractionLoaded",null),c(this,"mute",()=>{this.setVolume(0)}),c(this,"unmute",()=>{this.props.volume!==null&&this.setVolume(this.props.volume)}),c(this,"ref",o=>{this.iframe=o})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(o,a){(0,n.getSDK)(r,u).then(v=>{if(!this.iframe)return;const{PLAY:f,PLAY_PROGRESS:W,PAUSE:K,FINISH:U,ERROR:d}=v.Widget.Events;a||(this.player=v.Widget(this.iframe),this.player.bind(f,this.props.onPlay),this.player.bind(K,()=>{this.duration-this.currentTime<.05||this.props.onPause()}),this.player.bind(W,y=>{this.currentTime=y.currentPosition/1e3,this.fractionLoaded=y.loadedProgress}),this.player.bind(U,()=>this.props.onEnded()),this.player.bind(d,y=>this.props.onError(y))),this.player.load(o,j(L({},this.props.config.options),{callback:()=>{this.player.getDuration(y=>{this.duration=y/1e3,this.props.onReady()})}}))})}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(o,a=!0){this.callPlayer("seekTo",o*1e3),a||this.pause()}setVolume(o){this.callPlayer("setVolume",o*100)}getDuration(){return this.duration}getCurrentTime(){return this.currentTime}getSecondsLoaded(){return this.fractionLoaded*this.duration}render(){const{display:o}=this.props,a={width:"100%",height:"100%",display:o};return e.default.createElement("iframe",{ref:this.ref,src:`https://w.soundcloud.com/player/?url=${encodeURIComponent(this.props.url)}`,style:a,frameBorder:0,allow:"autoplay"})}}c(l,"displayName","SoundCloud"),c(l,"canPlay",i.canPlay.soundcloud),c(l,"loopOnEnded",!0)}),76655:(function(k,S,h){"use strict";function _(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(i){return typeof i}:_=function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},_(e)}Object.defineProperty(S,"__esModule",{value:!0}),S.default=void 0;var w=A(h(67294)),D=h(56281),R=h(99790);function E(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return E=function(){return e},e}function A(e){if(e&&e.__esModule)return e;if(e===null||_(e)!=="object"&&typeof e!="function")return{default:e};var n=E();if(n&&n.has(e))return n.get(e);var i={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var l=r?Object.getOwnPropertyDescriptor(e,u):null;l&&(l.get||l.set)?Object.defineProperty(i,u,l):i[u]=e[u]}return i.default=e,n&&n.set(e,i),i}function g(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(e,u).enumerable})),i.push.apply(i,r)}return i}function L(e){for(var n=1;n<arguments.length;n++){var i=arguments[n]!=null?arguments[n]:{};
1n%2?g(Object(i),!0).forEach(function(r){s(e,r,i[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):g(Object(i)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(i,r))})}return e}function j(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function T(e,n){for(var i=0;i<n.length;i++){var r=n[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,n,i){return n&&T(e.prototype,n),i&&T(e,i),e}function C(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&b(e,n)}function b(e,n){return b=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},b(e,n)}function M(e){var n=I();return function(){var r=P(e),u;if(n){var l=P(this).constructor;u=Reflect.construct(r,arguments,l)}else u=r.apply(this,arguments);return N(this,u)}}function N(e,n){return n&&(_(n)==="object"||typeof n=="function")?n:p(e)}function p(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function P(e){return P=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},P(e)}function s(e,n,i){return n in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i,e}var V="https://w.soundcloud.com/player/api.js",c="SC",O=(function(e){C(i,e);var n=M(i);function i(){var r;j(this,i);for(var u=arguments.length,l=new Array(u),t=0;t<u;t++)l[t]=arguments[t];return r=n.call.apply(n,[this].concat(l)),s(p(r),"callPlayer",D.callPlayer),s(p(r),"duration",null),s(p(r),"currentTime",null),s(p(r),"fractionLoaded",null),s(p(r),"mute",function(){r.setVolume(0)}),s(p(r),"unmute",function(){r.props.volume!==null&&r.setVolume(r.props.volume)}),s(p(r),"ref",function(o){r.iframe=o}),r}return m(i,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(u,l){var t=this;(0,D.getSDK)(V,c).then(function(o){if(t.iframe){var a=o.Widget.Events,v=a.PLAY,f=a.PLAY_PROGRESS,W=a.PAUSE,K=a.FINISH,U=a.ERROR;l||(t.player=o.Widget(t.iframe),t.player.bind(v,t.props.onPlay),t.player.bind(W,function(){var d=t.duration-t.currentTime;d<.05||t.props.onPause()}),t.player.bind(f,function(d){t.currentTime=d.currentPosition/1e3,t.fractionLoaded=d.loadedProgress}),t.player.bind(K,function(){return t.props.onEnded()}),t.player.bind(U,function(d){return t.props.onError(d)})),t.player.load(u,L(L({},t.props.config.options),{},{callback:function(){t.player.getDuration(function(y){t.duration=y/1e3,t.props.onReady()})}}))}})}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(u){this.callPlayer("seekTo",u*1e3)}},{key:"setVolume",value:function(u){this.callPlayer("setVolume",u*100)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.fractionLoaded*this.duration}},{key:"render",value:function(){var u=this.props.display,l={width:"100%",height:"100%",display:u};return w.default.createElement("iframe",{ref:this.ref,src:"https://w.soundcloud.com/player/?url=".concat(encodeURIComponent(this.props.url)),style:l,frameBorder:0,allow:"autoplay"})}}]),i})(w.Component);S.default=O,s(O,"displayName","SoundCloud"),s(O,"canPlay",R.canPlay.soundcloud),s(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.