filesbox/web/dist/22004.c5103583.async.js
2024-07-26 14:10:54 +08:00

7 lines
105 KiB
JavaScript

(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[22004],{9996:function(Z){"use strict";var g=function(R){return D(R)&&!O(R)};function D(_){return!!_&&typeof _=="object"}function O(_){var R=Object.prototype.toString.call(_);return R==="[object RegExp]"||R==="[object Date]"||L(_)}var k=typeof Symbol=="function"&&Symbol.for,w=k?Symbol.for("react.element"):60103;function L(_){return _.$$typeof===w}function M(_){return Array.isArray(_)?[]:{}}function V(_,R){return R.clone!==!1&&R.isMergeableObject(_)?j(M(_),_,R):_}function I(_,R,E){return _.concat(R).map(function(S){return V(S,E)})}function A(_,R){if(!R.customMerge)return j;var E=R.customMerge(_);return typeof E=="function"?E:j}function N(_){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(_).filter(function(R){return Object.propertyIsEnumerable.call(_,R)}):[]}function U(_){return Object.keys(_).concat(N(_))}function z(_,R){try{return R in _}catch(E){return!1}}function $(_,R){return z(_,R)&&!(Object.hasOwnProperty.call(_,R)&&Object.propertyIsEnumerable.call(_,R))}function W(_,R,E){var S={};return E.isMergeableObject(_)&&U(_).forEach(function(C){S[C]=V(_[C],E)}),U(R).forEach(function(C){$(_,C)||(z(_,C)&&E.isMergeableObject(R[C])?S[C]=A(C,E)(_[C],R[C],E):S[C]=V(R[C],E))}),S}function j(_,R,E){E=E||{},E.arrayMerge=E.arrayMerge||I,E.isMergeableObject=E.isMergeableObject||g,E.cloneUnlessOtherwiseSpecified=V;var S=Array.isArray(R),C=Array.isArray(_),f=S===C;return f?S?E.arrayMerge(_,R,E):W(_,R,E):V(R,E)}j.all=function(R,E){if(!Array.isArray(R))throw new Error("first argument should be an array");return R.reduce(function(S,C){return j(S,C,E)},{})};var K=j;Z.exports=K},49090:function(Z){Z.exports=function(w,L,M){var V=document.head||document.getElementsByTagName("head")[0],I=document.createElement("script");typeof L=="function"&&(M=L,L={}),L=L||{},M=M||function(){},I.type=L.type||"text/javascript",I.charset=L.charset||"utf8",I.async="async"in L?!!L.async:!0,I.src=w,L.attrs&&g(I,L.attrs),L.text&&(I.text=""+L.text);var A="onload"in I?D:O;A(I,M),I.onload||D(I,M),V.appendChild(I)};function g(k,w){for(var L in w)k.setAttribute(L,w[L])}function D(k,w){k.onload=function(){this.onerror=this.onload=null,w(null,k)},k.onerror=function(){this.onerror=this.onload=null,w(new Error("Failed to load "+this.src),k)}}function O(k,w){k.onreadystatechange=function(){this.readyState!="complete"&&this.readyState!="loaded"||(this.onreadystatechange=null,w(null,k))}}},30845:function(Z,g,D){"use strict";D.r(g);var O=Number.isNaN||function(V){return typeof V=="number"&&V!==V};function k(M,V){return!!(M===V||O(M)&&O(V))}function w(M,V){if(M.length!==V.length)return!1;for(var I=0;I<M.length;I++)if(!k(M[I],V[I]))return!1;return!0}function L(M,V){V===void 0&&(V=w);var I,A=[],N,U=!1;function z(){for(var $=[],W=0;W<arguments.length;W++)$[W]=arguments[W];return U&&I===this&&V($,A)||(N=M.apply(this,$),U=!0,I=this,A=$),N}return z}g.default=L},60722:function(Z,g,D){"use strict";function O(n){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(r){return typeof r}:O=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},O(n)}Object.defineProperty(g,"__esModule",{value:!0}),g.default=void 0;var k=A(D(67294)),w=V(D(69590)),L=D(85741),M=D(38045);function V(n){return n&&n.__esModule?n:{default:n}}function I(){if(typeof WeakMap!="function")return null;var n=new WeakMap;return I=function(){return n},n}function A(n){if(n&&n.__esModule)return n;if(n===null||O(n)!=="object"&&typeof n!="function")return{default:n};var t=I();if(t&&t.has(n))return t.get(n);var r={},e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)){var u=e?Object.getOwnPropertyDescriptor(n,o):null;u&&(u.get||u.set)?Object.defineProperty(r,o,u):r[o]=n[o]}return r.default=n,t&&t.set(n,r),r}function N(){return N=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(n[e]=r[e])}return n},N.apply(this,arguments)}function U(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function z(n,t){for(var r=0;r<t.length;r++){var e=t[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(n,e.key,e)}}function $(n,t,r){return t&&z(n.prototype,t),r&&z(n,r),n}function W(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&j(n,t)}function j(n,t){return j=Object.setPrototypeOf||function(e,o){return e.__proto__=o,e},j(n,t)}function K(n){var t=E();return function(){var e=S(n),o;if(t){var u=S(this).constructor;o=Reflect.construct(e,arguments,u)}else o=e.apply(this,arguments);return _(this,o)}}function _(n,t){return t&&(O(t)==="object"||typeof t=="function")?t:R(n)}function R(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function E(){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(n){return!1}}function S(n){return S=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},S(n)}function C(n,t,r){return t in n?Object.defineProperty(n,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[t]=r,n}var f=5e3,y=function(n){W(r,n);var t=K(r);function r(){var e;U(this,r);for(var o=arguments.length,u=new Array(o),i=0;i<o;i++)u[i]=arguments[i];return e=t.call.apply(t,[this].concat(u)),C(R(e),"mounted",!1),C(R(e),"isReady",!1),C(R(e),"isPlaying",!1),C(R(e),"isLoading",!0),C(R(e),"loadOnReady",null),C(R(e),"startOnPlay",!0),C(R(e),"seekOnPlay",null),C(R(e),"onDurationCalled",!1),C(R(e),"handlePlayerMount",function(a){if(e.player){e.progress();return}e.player=a,e.player.load(e.props.url),e.progress()}),C(R(e),"getInternalPlayer",function(a){return e.player?e.player[a]:null}),C(R(e),"progress",function(){if(e.props.url&&e.player&&e.isReady){var a=e.getCurrentTime()||0,d=e.getSecondsLoaded(),P=e.getDuration();if(P){var s={playedSeconds:a,played:a/P};d!==null&&(s.loadedSeconds=d,s.loaded=d/P),(s.playedSeconds!==e.prevPlayed||s.loadedSeconds!==e.prevLoaded)&&e.props.onProgress(s),e.prevPlayed=s.playedSeconds,e.prevLoaded=s.loadedSeconds}}e.progressTimeout=setTimeout(e.progress,e.props.progressFrequency||e.props.progressInterval)}),C(R(e),"handleReady",function(){if(!!e.mounted){e.isReady=!0,e.isLoading=!1;var a=e.props,d=a.onReady,P=a.playing,s=a.volume,c=a.muted;d(),!c&&s!==null&&e.player.setVolume(s),e.loadOnReady?(e.player.load(e.loadOnReady,!0),e.loadOnReady=null):P&&e.player.play(),e.handleDurationCheck()}}),C(R(e),"handlePlay",function(){e.isPlaying=!0,e.isLoading=!1;var a=e.props,d=a.onStart,P=a.onPlay,s=a.playbackRate;e.startOnPlay&&(e.player.setPlaybackRate&&s!==1&&e.player.setPlaybackRate(s),d(),e.startOnPlay=!1),P(),e.seekOnPlay&&(e.seekTo(e.seekOnPlay),e.seekOnPlay=null),e.handleDurationCheck()}),C(R(e),"handlePause",function(a){e.isPlaying=!1,e.isLoading||e.props.onPause(a)}),C(R(e),"handleEnded",function(){var a=e.props,d=a.activePlayer,P=a.loop,s=a.onEnded;d.loopOnEnded&&P&&e.seekTo(0),P||(e.isPlaying=!1,s())}),C(R(e),"handleError",function(){var a;e.isLoading=!1,(a=e.props).onError.apply(a,arguments)}),C(R(e),"handleDurationCheck",function(){clearTimeout(e.durationCheckTimeout);var a=e.getDuration();a?e.onDurationCalled||(e.props.onDuration(a),e.onDurationCalled=!0):e.durationCheckTimeout=setTimeout(e.handleDurationCheck,100)}),C(R(e),"handleLoaded",function(){e.isLoading=!1}),e}return $(r,[{key:"componentDidMount",value:function(){this.mounted=!0}},{key:"componentWillUnmount",value:function(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.props.stopOnUnmount&&(this.player.stop(),this.player.disablePIP&&this.player.disablePIP()),this.mounted=!1}},{key:"componentDidUpdate",value:function(o){var u=this;if(!!this.player){var i=this.props,a=i.url,d=i.playing,P=i.volume,s=i.muted,c=i.playbackRate,h=i.pip,p=i.loop,l=i.activePlayer,b=i.disableDeferredLoading;if(!(0,w.default)(o.url,a)){if(this.isLoading&&!l.forceLoad&&!b&&!(0,M.isMediaStream)(a)){console.warn("ReactPlayer: the attempt to load ".concat(a," is being deferred until the player has loaded")),this.loadOnReady=a;return}this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(a,this.isReady)}!o.playing&&d&&!this.isPlaying&&this.player.play(),o.playing&&!d&&this.isPlaying&&this.player.pause(),!o.pip&&h&&this.player.enablePIP&&this.player.enablePIP(),o.pip&&!h&&this.player.disablePIP&&this.player.disablePIP(),o.volume!==P&&P!==null&&this.player.setVolume(P),o.muted!==s&&(s?this.player.mute():(this.player.unmute(),P!==null&&setTimeout(function(){return u.player.setVolume(P)}))),o.playbackRate!==c&&this.player.setPlaybackRate&&this.player.setPlaybackRate(c),o.loop!==p&&this.player.setLoop&&this.player.setLoop(p)}}},{key:"getDuration",value:function(){return this.isReady?this.player.getDuration():null}},{key:"getCurrentTime",value:function(){return this.isReady?this.player.getCurrentTime():null}},{key:"getSecondsLoaded",value:function(){return this.isReady?this.player.getSecondsLoaded():null}},{key:"seekTo",value:function(o,u){var i=this;if(!this.isReady){o!==0&&(this.seekOnPlay=o,setTimeout(function(){i.seekOnPlay=null},f));return}var a=u?u==="fraction":o>0&&o<1;if(a){var d=this.player.getDuration();if(!d){console.warn("ReactPlayer: could not seek using fraction \u2013\xA0duration not yet available");return}this.player.seekTo(d*o);return}this.player.seekTo(o)}},{key:"render",value:function(){var o=this.props.activePlayer;return o?k.default.createElement(o,N({},this.props,{onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}]),r}(k.Component);g.default=y,C(y,"displayName","Player"),C(y,"propTypes",L.propTypes),C(y,"defaultProps",L.defaultProps)},83855:function(Z,g,D){"use strict";function O(f){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(n){return typeof n}:O=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},O(f)}Object.defineProperty(g,"__esModule",{value:!0}),g.default=void 0;var k=L(D(67294));function w(){if(typeof WeakMap!="function")return null;var f=new WeakMap;return w=function(){return f},f}function L(f){if(f&&f.__esModule)return f;if(f===null||O(f)!=="object"&&typeof f!="function")return{default:f};var y=w();if(y&&y.has(f))return y.get(f);var n={},t=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in f)if(Object.prototype.hasOwnProperty.call(f,r)){var e=t?Object.getOwnPropertyDescriptor(f,r):null;e&&(e.get||e.set)?Object.defineProperty(n,r,e):n[r]=f[r]}return n.default=f,y&&y.set(f,n),n}function M(f,y){var n=Object.keys(f);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(f);y&&(t=t.filter(function(r){return Object.getOwnPropertyDescriptor(f,r).enumerable})),n.push.apply(n,t)}return n}function V(f){for(var y=1;y<arguments.length;y++){var n=arguments[y]!=null?arguments[y]:{};y%2?M(Object(n),!0).forEach(function(t){R(f,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach(function(t){Object.defineProperty(f,t,Object.getOwnPropertyDescriptor(n,t))})}return f}function I(f,y){if(!(f instanceof y))throw new TypeError("Cannot call a class as a function")}function A(f,y){for(var n=0;n<y.length;n++){var t=y[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(f,t.key,t)}}function N(f,y,n){return y&&A(f.prototype,y),n&&A(f,n),f}function U(f,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");f.prototype=Object.create(y&&y.prototype,{constructor:{value:f,writable:!0,configurable:!0}}),y&&z(f,y)}function z(f,y){return z=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},z(f,y)}function $(f){var y=K();return function(){var t=_(f),r;if(y){var e=_(this).constructor;r=Reflect.construct(t,arguments,e)}else r=t.apply(this,arguments);return W(this,r)}}function W(f,y){return y&&(O(y)==="object"||typeof y=="function")?y:j(f)}function j(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function K(){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(f){return!1}}function _(f){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_(f)}function R(f,y,n){return y in f?Object.defineProperty(f,y,{value:n,enumerable:!0,configurable:!0,writable:!0}):f[y]=n,f}var E="64px",S={},C=function(f){U(n,f);var y=$(n);function n(){var t;I(this,n);for(var r=arguments.length,e=new Array(r),o=0;o<r;o++)e[o]=arguments[o];return t=y.call.apply(y,[this].concat(e)),R(j(t),"mounted",!1),R(j(t),"state",{image:null}),R(j(t),"handleKeyPress",function(u){(u.key==="Enter"||u.key===" ")&&t.props.onClick()}),t}return N(n,[{key:"componentDidMount",value:function(){this.mounted=!0,this.fetchImage(this.props)}},{key:"componentDidUpdate",value:function(r){var e=this.props,o=e.url,u=e.light;(r.url!==o||r.light!==u)&&this.fetchImage(this.props)}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"fetchImage",value:function(r){var e=this,o=r.url,u=r.light,i=r.oEmbedUrl;if(!k.default.isValidElement(u)){if(typeof u=="string"){this.setState({image:u});return}if(S[o]){this.setState({image:S[o]});return}return this.setState({image:null}),window.fetch(i.replace("{url}",o)).then(function(a){return a.json()}).then(function(a){if(a.thumbnail_url&&e.mounted){var d=a.thumbnail_url.replace("height=100","height=480").replace("-d_295x166","-d_640");e.setState({image:d}),S[o]=d}})}}},{key:"render",value:function(){var r=this.props,e=r.light,o=r.onClick,u=r.playIcon,i=r.previewTabIndex,a=this.state.image,d=k.default.isValidElement(e),P={display:"flex",alignItems:"center",justifyContent:"center"},s={preview:V({width:"100%",height:"100%",backgroundImage:a&&!d?"url(".concat(a,")"):void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer"},P),shadow:V({background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:E,width:E,height:E,position:d?"absolute":void 0},P),playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},c=k.default.createElement("div",{style:s.shadow,className:"react-player__shadow"},k.default.createElement("div",{style:s.playIcon,className:"react-player__play-icon"}));return k.default.createElement("div",{style:s.preview,className:"react-player__preview",onClick:o,tabIndex:i,onKeyPress:this.handleKeyPress},d?e:null,u||c)}}]),n}(k.Component);g.default=C},70390:function(Z,g,D){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.createReactPlayer=void 0;var O=d(D(67294)),k=A(D(9996)),w=A(D(30845)),L=A(D(69590)),M=D(85741),V=D(38045),I=A(D(60722));function A(v){return v&&v.__esModule?v:{default:v}}function N(v){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?N=function(T){return typeof T}:N=function(T){return T&&typeof Symbol=="function"&&T.constructor===Symbol&&T!==Symbol.prototype?"symbol":typeof T},N(v)}function U(v,m){var T=Object.keys(v);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(v);m&&(H=H.filter(function(Y){return Object.getOwnPropertyDescriptor(v,Y).enumerable})),T.push.apply(T,H)}return T}function z(v){for(var m=1;m<arguments.length;m++){var T=arguments[m]!=null?arguments[m]:{};m%2?U(Object(T),!0).forEach(function(H){i(v,H,T[H])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(T)):U(Object(T)).forEach(function(H){Object.defineProperty(v,H,Object.getOwnPropertyDescriptor(T,H))})}return v}function $(){return $=Object.assign||function(v){for(var m=1;m<arguments.length;m++){var T=arguments[m];for(var H in T)Object.prototype.hasOwnProperty.call(T,H)&&(v[H]=T[H])}return v},$.apply(this,arguments)}function W(v){return R(v)||_(v)||K(v)||j()}function j(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function K(v,m){if(!!v){if(typeof v=="string")return E(v,m);var T=Object.prototype.toString.call(v).slice(8,-1);if(T==="Object"&&v.constructor&&(T=v.constructor.name),T==="Map"||T==="Set")return Array.from(v);if(T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T))return E(v,m)}}function _(v){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(v))return Array.from(v)}function R(v){if(Array.isArray(v))return E(v)}function E(v,m){(m==null||m>v.length)&&(m=v.length);for(var T=0,H=new Array(m);T<m;T++)H[T]=v[T];return H}function S(v,m){if(!(v instanceof m))throw new TypeError("Cannot call a class as a function")}function C(v,m){for(var T=0;T<m.length;T++){var H=m[T];H.enumerable=H.enumerable||!1,H.configurable=!0,"value"in H&&(H.writable=!0),Object.defineProperty(v,H.key,H)}}function f(v,m,T){return m&&C(v.prototype,m),T&&C(v,T),v}function y(v,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function");v.prototype=Object.create(m&&m.prototype,{constructor:{value:v,writable:!0,configurable:!0}}),m&&n(v,m)}function n(v,m){return n=Object.setPrototypeOf||function(H,Y){return H.__proto__=Y,H},n(v,m)}function t(v){var m=o();return function(){var H=u(v),Y;if(m){var F=u(this).constructor;Y=Reflect.construct(H,arguments,F)}else Y=H.apply(this,arguments);return r(this,Y)}}function r(v,m){return m&&(N(m)==="object"||typeof m=="function")?m:e(v)}function e(v){if(v===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return v}function o(){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(v){return!1}}function u(v){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(T){return T.__proto__||Object.getPrototypeOf(T)},u(v)}function i(v,m,T){return m in v?Object.defineProperty(v,m,{value:T,enumerable:!0,configurable:!0,writable:!0}):v[m]=T,v}function a(){if(typeof WeakMap!="function")return null;var v=new WeakMap;return a=function(){return v},v}function d(v){if(v&&v.__esModule)return v;if(v===null||N(v)!=="object"&&typeof v!="function")return{default:v};var m=a();if(m&&m.has(v))return m.get(v);var T={},H=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Y in v)if(Object.prototype.hasOwnProperty.call(v,Y)){var F=H?Object.getOwnPropertyDescriptor(v,Y):null;F&&(F.get||F.set)?Object.defineProperty(T,Y,F):T[Y]=v[Y]}return T.default=v,m&&m.set(v,T),T}var P=(0,O.lazy)(function(){return Promise.resolve().then(function(){return d(D(83855))})}),s=typeof window!="undefined"&&window.document,c=typeof D.g!="undefined"&&D.g.window&&D.g.window.document,h=Object.keys(M.propTypes),p=s||c?O.Suspense:function(){return null},l=[],b=function(m,T){var H,Y;return Y=H=function(F){y(q,F);var X=t(q);function q(){var B;S(this,q);for(var Q=arguments.length,J=new Array(Q),re=0;re<Q;re++)J[re]=arguments[re];return B=X.call.apply(X,[this].concat(J)),i(e(B),"state",{showPreview:!!B.props.light}),i(e(B),"references",{wrapper:function(G){B.wrapper=G},player:function(G){B.player=G}}),i(e(B),"handleClickPreview",function(x){B.setState({showPreview:!1}),B.props.onClickPreview(x)}),i(e(B),"showPreview",function(){B.setState({showPreview:!0})}),i(e(B),"getDuration",function(){return B.player?B.player.getDuration():null}),i(e(B),"getCurrentTime",function(){return B.player?B.player.getCurrentTime():null}),i(e(B),"getSecondsLoaded",function(){return B.player?B.player.getSecondsLoaded():null}),i(e(B),"getInternalPlayer",function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"player";return B.player?B.player.getInternalPlayer(x):null}),i(e(B),"seekTo",function(x,G){if(!B.player)return null;B.player.seekTo(x,G)}),i(e(B),"handleReady",function(){B.props.onReady(e(B))}),i(e(B),"getActivePlayer",(0,w.default)(function(x){for(var G=0,ee=[].concat(l,W(m));G<ee.length;G++){var te=ee[G];if(te.canPlay(x))return te}return T||null})),i(e(B),"getConfig",(0,w.default)(function(x,G){var ee=B.props.config;return k.default.all([M.defaultProps.config,M.defaultProps.config[G]||{},ee,ee[G]||{}])})),i(e(B),"getAttributes",(0,w.default)(function(x){return(0,V.omit)(B.props,h)})),i(e(B),"renderActivePlayer",function(x){if(!x)return null;var G=B.getActivePlayer(x);if(!G)return null;var ee=B.getConfig(x,G.key);return O.default.createElement(I.default,$({},B.props,{key:G.key,ref:B.references.player,config:ee,activePlayer:G.lazyPlayer||G,onReady:B.handleReady}))}),B}return f(q,[{key:"shouldComponentUpdate",value:function(Q,J){return!(0,L.default)(this.props,Q)||!(0,L.default)(this.state,J)}},{key:"componentDidUpdate",value:function(Q){var J=this.props.light;!Q.light&&J&&this.setState({showPreview:!0}),Q.light&&!J&&this.setState({showPreview:!1})}},{key:"renderPreview",value:function(Q){if(!Q)return null;var J=this.props,re=J.light,x=J.playIcon,G=J.previewTabIndex,ee=J.oEmbedUrl;return O.default.createElement(P,{url:Q,light:re,playIcon:x,previewTabIndex:G,oEmbedUrl:ee,onClick:this.handleClickPreview})}},{key:"render",value:function(){var Q=this.props,J=Q.url,re=Q.style,x=Q.width,G=Q.height,ee=Q.fallback,te=Q.wrapper,ne=this.state.showPreview,oe=this.getAttributes(J),ae=typeof te=="string"?this.references.wrapper:void 0;return O.default.createElement(te,$({ref:ae,style:z(z({},re),{},{width:x,height:G})},oe),O.default.createElement(p,{fallback:ee},ne?this.renderPreview(J):this.renderActivePlayer(J)))}}]),q}(O.Component),i(H,"displayName","ReactPlayer"),i(H,"propTypes",M.propTypes),i(H,"defaultProps",M.defaultProps),i(H,"addCustomPlayer",function(F){l.push(F)}),i(H,"removeCustomPlayers",function(){l.length=0}),i(H,"canPlay",function(F){for(var X=0,q=[].concat(l,W(m));X<q.length;X++){var B=q[X];if(B.canPlay(F))return!0}return!1}),i(H,"canEnablePIP",function(F){for(var X=0,q=[].concat(l,W(m));X<q.length;X++){var B=q[X];if(B.canEnablePIP&&B.canEnablePIP(F))return!0}return!1}),Y};g.createReactPlayer=b},22004:function(Z,g,D){"use strict";var O;O={value:!0},g.Z=void 0;var k=L(D(86497)),w=D(70390);function L(I){return I&&I.__esModule?I:{default:I}}var M=k.default[k.default.length-1],V=(0,w.createReactPlayer)(k.default,M);g.Z=V},71776:function(Z,g,D){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.canPlay=g.FLV_EXTENSIONS=g.DASH_EXTENSIONS=g.HLS_EXTENSIONS=g.VIDEO_EXTENSIONS=g.AUDIO_EXTENSIONS=g.MATCH_URL_KALTURA=g.MATCH_URL_VIDYARD=g.MATCH_URL_MIXCLOUD=g.MATCH_URL_DAILYMOTION=g.MATCH_URL_TWITCH_CHANNEL=g.MATCH_URL_TWITCH_VIDEO=g.MATCH_URL_WISTIA=g.MATCH_URL_STREAMABLE=g.MATCH_URL_FACEBOOK_WATCH=g.MATCH_URL_FACEBOOK=g.MATCH_URL_VIMEO=g.MATCH_URL_SOUNDCLOUD=g.MATCH_URL_YOUTUBE=void 0;var O=D(38045);function k(r,e){var o;if(typeof Symbol=="undefined"||r[Symbol.iterator]==null){if(Array.isArray(r)||(o=w(r))||e&&r&&typeof r.length=="number"){o&&(r=o);var u=0,i=function(){};return{s:i,n:function(){return u>=r.length?{done:!0}:{done:!1,value:r[u++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a=!0,d=!1,P;return{s:function(){o=r[Symbol.iterator]()},n:function(){var c=o.next();return a=c.done,c},e:function(c){d=!0,P=c},f:function(){try{!a&&o.return!=null&&o.return()}finally{if(d)throw P}}}}function w(r,e){if(!!r){if(typeof r=="string")return L(r,e);var o=Object.prototype.toString.call(r).slice(8,-1);if(o==="Object"&&r.constructor&&(o=r.constructor.name),o==="Map"||o==="Set")return Array.from(r);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return L(r,e)}}function L(r,e){(e==null||e>r.length)&&(e=r.length);for(var o=0,u=new Array(e);o<e;o++)u[o]=r[o];return u}var M=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//;g.MATCH_URL_YOUTUBE=M;var V=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/;g.MATCH_URL_SOUNDCLOUD=V;var I=/vimeo\.com\/(?!progressive_redirect).+/;g.MATCH_URL_VIMEO=I;var A=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;g.MATCH_URL_FACEBOOK=A;var N=/^https?:\/\/fb\.watch\/.+$/;g.MATCH_URL_FACEBOOK_WATCH=N;var U=/streamable\.com\/([a-z0-9]+)$/;g.MATCH_URL_STREAMABLE=U;var z=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?(.*)$/;g.MATCH_URL_WISTIA=z;var $=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;g.MATCH_URL_TWITCH_VIDEO=$;var W=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/;g.MATCH_URL_TWITCH_CHANNEL=W;var j=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?(?:[\w.#_-]+)?/;g.MATCH_URL_DAILYMOTION=j;var K=/mixcloud\.com\/([^/]+\/[^/]+)/;g.MATCH_URL_MIXCLOUD=K;var _=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/;g.MATCH_URL_VIDYARD=_;var R=/^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_].*)$/;g.MATCH_URL_KALTURA=R;var E=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;g.AUDIO_EXTENSIONS=E;var S=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i;g.VIDEO_EXTENSIONS=S;var C=/\.(m3u8)($|\?)/i;g.HLS_EXTENSIONS=C;var f=/\.(mpd)($|\?)/i;g.DASH_EXTENSIONS=f;var y=/\.(flv)($|\?)/i;g.FLV_EXTENSIONS=y;var n=function r(e){if(e instanceof Array){var o=k(e),u;try{for(o.s();!(u=o.n()).done;){var i=u.value;if(typeof i=="string"&&r(i)||r(i.src))return!0}}catch(a){o.e(a)}finally{o.f()}return!1}return(0,O.isMediaStream)(e)||(0,O.isBlobUrl)(e)?!0:E.test(e)||S.test(e)||C.test(e)||f.test(e)||y.test(e)},t={youtube:function(e){return e instanceof Array?e.every(function(o){return M.test(o)}):M.test(e)},soundcloud:function(e){return V.test(e)&&!E.test(e)},vimeo:function(e){return I.test(e)&&!S.test(e)&&!C.test(e)},facebook:function(e){return A.test(e)||N.test(e)},streamable:function(e){return U.test(e)},wistia:function(e){return z.test(e)},twitch:function(e){return $.test(e)||W.test(e)},dailymotion:function(e){return j.test(e)},mixcloud:function(e){return K.test(e)},vidyard:function(e){return _.test(e)},kaltura:function(e){return R.test(e)},file:n};g.canPlay=t},36807:function(Z,g,D){"use strict";function O(a){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(P){return typeof P}:O=function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},O(a)}Object.defineProperty(g,"__esModule",{value:!0}),g.default=void 0;var k=V(D(67294)),w=D(38045),L=D(71776);function M(){if(typeof WeakMap!="function")return null;var a=new WeakMap;return M=function(){return a},a}function V(a){if(a&&a.__esModule)return a;if(a===null||O(a)!=="object"&&typeof a!="function")return{default:a};var d=M();if(d&&d.has(a))return d.get(a);var P={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in a)if(Object.prototype.hasOwnProperty.call(a,c)){var h=s?Object.getOwnPropertyDescriptor(a,c):null;h&&(h.get||h.set)?Object.defineProperty(P,c,h):P[c]=a[c]}return P.default=a,d&&d.set(a,P),P}function I(a,d){var P=Object.keys(a);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(a);d&&(s=s.filter(function(c){return Object.getOwnPropertyDescriptor(a,c).enumerable})),P.push.apply(P,s)}return P}function A(a){for(var d=1;d<arguments.length;d++){var P=arguments[d]!=null?arguments[d]:{};d%2?I(Object(P),!0).forEach(function(s){r(a,s,P[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(P)):I(Object(P)).forEach(function(s){Object.defineProperty(a,s,Object.getOwnPropertyDescriptor(P,s))})}return a}function N(a,d){return j(a)||W(a,d)||z(a,d)||U()}function U(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function z(a,d){if(!!a){if(typeof a=="string")return $(a,d);var P=Object.prototype.toString.call(a).slice(8,-1);if(P==="Object"&&a.constructor&&(P=a.constructor.name),P==="Map"||P==="Set")return Array.from(a);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return $(a,d)}}function $(a,d){(d==null||d>a.length)&&(d=a.length);for(var P=0,s=new Array(d);P<d;P++)s[P]=a[P];return s}function W(a,d){if(!(typeof Symbol=="undefined"||!(Symbol.iterator in Object(a)))){var P=[],s=!0,c=!1,h=void 0;try{for(var p=a[Symbol.iterator](),l;!(s=(l=p.next()).done)&&(P.push(l.value),!(d&&P.length===d));s=!0);}catch(b){c=!0,h=b}finally{try{!s&&p.return!=null&&p.return()}finally{if(c)throw h}}return P}}function j(a){if(Array.isArray(a))return a}function K(a,d){if(!(a instanceof d))throw new TypeError("Cannot call a class as a function")}function _(a,d){for(var P=0;P<d.length;P++){var s=d[P];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(a,s.key,s)}}function R(a,d,P){return d&&_(a.prototype,d),P&&_(a,P),a}function E(a,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function");a.prototype=Object.create(d&&d.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),d&&S(a,d)}function S(a,d){return S=Object.setPrototypeOf||function(s,c){return s.__proto__=c,s},S(a,d)}function C(a){var d=n();return function(){var s=t(a),c;if(d){var h=t(this).constructor;c=Reflect.construct(s,arguments,h)}else c=s.apply(this,arguments);return f(this,c)}}function f(a,d){return d&&(O(d)==="object"||typeof d=="function")?d:y(a)}function y(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function n(){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(a){return!1}}function t(a){return t=Object.setPrototypeOf?Object.getPrototypeOf:function(P){return P.__proto__||Object.getPrototypeOf(P)},t(a)}function r(a,d,P){return d in a?Object.defineProperty(a,d,{value:P,enumerable:!0,configurable:!0,writable:!0}):a[d]=P,a}var e="https://api.dmcdn.net/all.js",o="DM",u="dmAsyncInit",i=function(a){E(P,a);var d=C(P);function P(){var s;K(this,P);for(var c=arguments.length,h=new Array(c),p=0;p<c;p++)h[p]=arguments[p];return s=d.call.apply(d,[this].concat(h)),r(y(s),"callPlayer",w.callPlayer),r(y(s),"onDurationChange",function(){var l=s.getDuration();s.props.onDuration(l)}),r(y(s),"mute",function(){s.callPlayer("setMuted",!0)}),r(y(s),"unmute",function(){s.callPlayer("setMuted",!1)}),r(y(s),"ref",function(l){s.container=l}),s}return R(P,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(c){var h=this,p=this.props,l=p.controls,b=p.config,v=p.onError,m=p.playing,T=c.match(L.MATCH_URL_DAILYMOTION),H=N(T,2),Y=H[1];if(this.player){this.player.load(Y,{start:(0,w.parseStartTime)(c),autoplay:m});return}(0,w.getSDK)(e,o,u,function(F){return F.player}).then(function(F){if(!!h.container){var X=F.player;h.player=new X(h.container,{width:"100%",height:"100%",video:Y,params:A({controls:l,autoplay:h.props.playing,mute:h.props.muted,start:(0,w.parseStartTime)(c),origin:window.location.origin},b.params),events:{apiready:h.props.onReady,seeked:function(){return h.props.onSeek(h.player.currentTime)},video_end:h.props.onEnded,durationchange:h.onDurationChange,pause:h.props.onPause,playing:h.props.onPlay,waiting:h.props.onBuffer,error:function(B){return v(B)}}})}},v)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(c){this.callPlayer("seek",c)}},{key:"setVolume",value:function(c){this.callPlayer("setVolume",c)}},{key:"getDuration",value:function(){return this.player.duration||null}},{key:"getCurrentTime",value:function(){return this.player.currentTime}},{key:"getSecondsLoaded",value:function(){return this.player.bufferedTime}},{key:"render",value:function(){var c=this.props.display,h={width:"100%",height:"100%",display:c};return k.default.createElement("div",{style:h},k.default.createElement("div",{ref:this.ref}))}}]),P}(k.Component);g.default=i,r(i,"displayName","DailyMotion"),r(i,"canPlay",L.canPlay.dailymotion),r(i,"loopOnEnded",!0)},31972:function(Z,g,D){"use strict";function O(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(e){return typeof e}:O=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O(t)}Object.defineProperty(g,"__esModule",{value:!0}),g.default=void 0;var k=V(D(67294)),w=D(38045),L=D(71776);function M(){if(typeof WeakMap!="function")return null;var t=new WeakMap;return M=function(){return t},t}function V(t){if(t&&t.__esModule)return t;if(t===null||O(t)!=="object"&&typeof t!="function")return{default:t};var r=M();if(r&&r.has(t))return r.get(t);var e={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var i=o?Object.getOwnPropertyDescriptor(t,u):null;i&&(i.get||i.set)?Object.defineProperty(e,u,i):e[u]=t[u]}return e.default=t,r&&r.set(t,e),e}function I(){return I=Object.assign||function(t){for(var r=1;r<arguments.length;r++){var e=arguments[r];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},I.apply(this,arguments)}function A(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function N(t,r){for(var e=0;e<r.length;e++){var o=r[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function U(t,r,e){return r&&N(t.prototype,r),e&&N(t,e),t}function z(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),r&&$(t,r)}function $(t,r){return $=Object.setPrototypeOf||function(o,u){return o.__proto__=u,o},$(t,r)}function W(t){var r=_();return function(){var o=R(t),u;if(r){var i=R(this).constructor;u=Reflect.construct(o,arguments,i)}else u=o.apply(this,arguments);return j(this,u)}}function j(t,r){return r&&(O(r)==="object"||typeof r=="function")?r:K(t)}function K(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _(){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(t){return!1}}function R(t){return R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},R(t)}function E(t,r,e){return r in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}var S="https://connect.facebook.net/en_US/sdk.js",C="FB",f="fbAsyncInit",y="facebook-player-",n=function(t){z(e,t);var r=W(e);function e(){var o;A(this,e);for(var u=arguments.length,i=new Array(u),a=0;a<u;a++)i[a]=arguments[a];return o=r.call.apply(r,[this].concat(i)),E(K(o),"callPlayer",w.callPlayer),E(K(o),"playerID",o.props.config.playerId||"".concat(y).concat((0,w.randomString)())),E(K(o),"mute",function(){o.callPlayer("mute")}),E(K(o),"unmute",function(){o.callPlayer("unmute")}),o}return U(e,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(u,i){var a=this;if(i){(0,w.getSDK)(S,C,f).then(function(d){return d.XFBML.parse()});return}(0,w.getSDK)(S,C,f).then(function(d){d.init({appId:a.props.config.appId,xfbml:!0,version:a.props.config.version}),d.Event.subscribe("xfbml.render",function(P){a.props.onLoaded()}),d.Event.subscribe("xfbml.ready",function(P){P.type==="video"&&P.id===a.playerID&&(a.player=P.instance,a.player.subscribe("startedPlaying",a.props.onPlay),a.player.subscribe("paused",a.props.onPause),a.player.subscribe("finishedPlaying",a.props.onEnded),a.player.subscribe("startedBuffering",a.props.onBuffer),a.player.subscribe("finishedBuffering",a.props.onBufferEnd),a.player.subscribe("error",a.props.onError),a.props.muted?a.callPlayer("mute"):a.callPlayer("unmute"),a.props.onReady(),document.getElementById(a.playerID).querySelector("iframe").style.visibility="visible")})})}},{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("seek",u)}},{key:"setVolume",value:function(u){this.callPlayer("setVolume",u)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentPosition")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var u=this.props.config.attributes,i={width:"100%",height:"100%"};return k.default.createElement("div",I({style:i,id:this.playerID,className:"fb-video","data-href":this.props.url,"data-autoplay":this.props.playing?"true":"false","data-allowfullscreen":"true","data-controls":this.props.controls?"true":"false"},u))}}]),e}(k.Component);g.default=n,E(n,"displayName","Facebook"),E(n,"canPlay",L.canPlay.facebook),E(n,"loopOnEnded",!0)},14926:function(Z,g,D){"use strict";function O(s){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(h){return typeof h}:O=function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},O(s)}Object.defineProperty(g,"__esModule",{value:!0}),g.default=void 0;var k=V(D(67294)),w=D(38045),L=D(71776);function M(){if(typeof WeakMap!="function")return null;var s=new WeakMap;return M=function(){return s},s}function V(s){if(s&&s.__esModule)return s;if(s===null||O(s)!=="object"&&typeof s!="function")return{default:s};var c=M();if(c&&c.has(s))return c.get(s);var h={},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in s)if(Object.prototype.hasOwnProperty.call(s,l)){var b=p?Object.getOwnPropertyDescriptor(s,l):null;b&&(b.get||b.set)?Object.defineProperty(h,l,b):h[l]=s[l]}return h.default=s,c&&c.set(s,h),h}function I(){return I=Object.assign||function(s){for(var c=1;c<arguments.length;c++){var h=arguments[c];for(var p in h)Object.prototype.hasOwnProperty.call(h,p)&&(s[p]=h[p])}return s},I.apply(this,arguments)}function A(s,c){if(!(s instanceof c))throw new TypeError("Cannot call a class as a function")}function N(s,c){for(var h=0;h<c.length;h++){var p=c[h];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(s,p.key,p)}}function U(s,c,h){return c&&N(s.prototype,c),h&&N(s,h),s}function z(s,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function");s.prototype=Object.create(c&&c.prototype,{constructor:{value:s,writable:!0,configurable:!0}}),c&&$(s,c)}function $(s,c){return $=Object.setPrototypeOf||function(p,l){return p.__proto__=l,p},$(s,c)}function W(s){var c=_();return function(){var p=R(s),l;if(c){var b=R(this).constructor;l=Reflect.construct(p,arguments,b)}else l=p.apply(this,arguments);return j(this,l)}}function j(s,c){return c&&(O(c)==="object"||typeof c=="function")?c:K(s)}function K(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}function _(){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(s){return!1}}function R(s){return R=Object.setPrototypeOf?Object.getPrototypeOf:function(h){return h.__proto__||Object.getPrototypeOf(h)},R(s)}function E(s,c,h){return c in s?Object.defineProperty(s,c,{value:h,enumerable:!0,configurable:!0,writable:!0}):s[c]=h,s}var S=typeof navigator!="undefined",C=S&&navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1,f=S&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||C)&&!window.MSStream,y=S&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&!window.MSStream,n="https://cdn.jsdelivr.net/npm/hls.js@VERSION/dist/hls.min.js",t="Hls",r="https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js",e="dashjs",o="https://cdn.jsdelivr.net/npm/flv.js@VERSION/dist/flv.min.js",u="flvjs",i=/www\.dropbox\.com\/.+/,a=/https:\/\/watch\.cloudflarestream\.com\/([a-z0-9]+)/,d="https://videodelivery.net/{id}/manifest/video.m3u8",P=function(s){z(h,s);var c=W(h);function h(){var p;A(this,h);for(var l=arguments.length,b=new Array(l),v=0;v<l;v++)b[v]=arguments[v];return p=c.call.apply(c,[this].concat(b)),E(K(p),"onReady",function(){var m;return(m=p.props).onReady.apply(m,arguments)}),E(K(p),"onPlay",function(){var m;return(m=p.props).onPlay.apply(m,arguments)}),E(K(p),"onBuffer",function(){var m;return(m=p.props).onBuffer.apply(m,arguments)}),E(K(p),"onBufferEnd",function(){var m;return(m=p.props).onBufferEnd.apply(m,arguments)}),E(K(p),"onPause",function(){var m;return(m=p.props).onPause.apply(m,arguments)}),E(K(p),"onEnded",function(){var m;return(m=p.props).onEnded.apply(m,arguments)}),E(K(p),"onError",function(){var m;return(m=p.props).onError.apply(m,arguments)}),E(K(p),"onPlayBackRateChange",function(m){return p.props.onPlaybackRateChange(m.target.playbackRate)}),E(K(p),"onEnablePIP",function(){var m;return(m=p.props).onEnablePIP.apply(m,arguments)}),E(K(p),"onDisablePIP",function(m){var T=p.props,H=T.onDisablePIP,Y=T.playing;H(m),Y&&p.play()}),E(K(p),"onPresentationModeChange",function(m){if(p.player&&(0,w.supportsWebKitPresentationMode)(p.player)){var T=p.player.webkitPresentationMode;T==="picture-in-picture"?p.onEnablePIP(m):T==="inline"&&p.onDisablePIP(m)}}),E(K(p),"onSeek",function(m){p.props.onSeek(m.target.currentTime)}),E(K(p),"mute",function(){p.player.muted=!0}),E(K(p),"unmute",function(){p.player.muted=!1}),E(K(p),"renderSourceElement",function(m,T){return typeof m=="string"?k.default.createElement("source",{key:T,src:m}):k.default.createElement("source",I({key:T},m))}),E(K(p),"renderTrack",function(m,T){return k.default.createElement("track",I({key:T},m))}),E(K(p),"ref",function(m){p.player&&(p.prevPlayer=p.player),p.player=m}),p}return U(h,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this),this.addListeners(this.player),this.player.src=this.getSource(this.props.url),f&&this.player.load()}},{key:"componentDidUpdate",value:function(l){this.shouldUseAudio(this.props)!==this.shouldUseAudio(l)&&(this.removeListeners(this.prevPlayer,l.url),this.addListeners(this.player)),this.props.url!==l.url&&!(0,w.isMediaStream)(this.props.url)&&(this.player.srcObject=null)}},{key:"componentWillUnmount",value:function(){this.player.src="",this.removeListeners(this.player),this.hls&&this.hls.destroy()}},{key:"addListeners",value:function(l){var b=this.props,v=b.url,m=b.playsinline;l.addEventListener("play",this.onPlay),l.addEventListener("waiting",this.onBuffer),l.addEventListener("playing",this.onBufferEnd),l.addEventListener("pause",this.onPause),l.addEventListener("seeked",this.onSeek),l.addEventListener("ended",this.onEnded),l.addEventListener("error",this.onError),l.addEventListener("ratechange",this.onPlayBackRateChange),l.addEventListener("enterpictureinpicture",this.onEnablePIP),l.addEventListener("leavepictureinpicture",this.onDisablePIP),l.addEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),this.shouldUseHLS(v)||l.addEventListener("canplay",this.onReady),m&&(l.setAttribute("playsinline",""),l.setAttribute("webkit-playsinline",""),l.setAttribute("x5-playsinline",""))}},{key:"removeListeners",value:function(l,b){l.removeEventListener("canplay",this.onReady),l.removeEventListener("play",this.onPlay),l.removeEventListener("waiting",this.onBuffer),l.removeEventListener("playing",this.onBufferEnd),l.removeEventListener("pause",this.onPause),l.removeEventListener("seeked",this.onSeek),l.removeEventListener("ended",this.onEnded),l.removeEventListener("error",this.onError),l.removeEventListener("ratechange",this.onPlayBackRateChange),l.removeEventListener("enterpictureinpicture",this.onEnablePIP),l.removeEventListener("leavepictureinpicture",this.onDisablePIP),l.removeEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),this.shouldUseHLS(b)||l.removeEventListener("canplay",this.onReady)}},{key:"shouldUseAudio",value:function(l){return l.config.forceVideo||l.config.attributes.poster?!1:L.AUDIO_EXTENSIONS.test(l.url)||l.config.forceAudio}},{key:"shouldUseHLS",value:function(l){return this.props.config.forceHLS||y&&this.props.config.forceSafariHLS?!0:f?!1:L.HLS_EXTENSIONS.test(l)||a.test(l)}},{key:"shouldUseDASH",value:function(l){return L.DASH_EXTENSIONS.test(l)||this.props.config.forceDASH}},{key:"shouldUseFLV",value:function(l){return L.FLV_EXTENSIONS.test(l)||this.props.config.forceFLV}},{key:"load",value:function(l){var b=this,v=this.props.config,m=v.hlsVersion,T=v.hlsOptions,H=v.dashVersion,Y=v.flvVersion;if(this.hls&&this.hls.destroy(),this.dash&&this.dash.reset(),this.shouldUseHLS(l)&&(0,w.getSDK)(n.replace("VERSION",m),t).then(function(F){if(b.hls=new F(T),b.hls.on(F.Events.MANIFEST_PARSED,function(){b.props.onReady()}),b.hls.on(F.Events.ERROR,function(q,B){b.props.onError(q,B,b.hls,F)}),a.test(l)){var X=l.match(a)[1];b.hls.loadSource(d.replace("{id}",X))}else b.hls.loadSource(l);b.hls.attachMedia(b.player),b.props.onLoaded()}),this.shouldUseDASH(l)&&(0,w.getSDK)(r.replace("VERSION",H),e).then(function(F){b.dash=F.MediaPlayer().create(),b.dash.initialize(b.player,l,b.props.playing),b.dash.on("error",b.props.onError),parseInt(H)<3?b.dash.getDebug().setLogToBrowserConsole(!1):b.dash.updateSettings({debug:{logLevel:F.Debug.LOG_LEVEL_NONE}}),b.props.onLoaded()}),this.shouldUseFLV(l)&&(0,w.getSDK)(o.replace("VERSION",Y),u).then(function(F){b.flv=F.createPlayer({type:"flv",url:l}),b.flv.attachMediaElement(b.player),b.flv.on(F.Events.ERROR,function(X,q){b.props.onError(X,q,b.flv,F)}),b.flv.load(),b.props.onLoaded()}),l instanceof Array)this.player.load();else if((0,w.isMediaStream)(l))try{this.player.srcObject=l}catch(F){this.player.src=window.URL.createObjectURL(l)}}},{key:"play",value:function(){var l=this.player.play();l&&l.catch(this.props.onError)}},{key:"pause",value:function(){this.player.pause()}},{key:"stop",value:function(){this.player.removeAttribute("src"),this.dash&&this.dash.reset()}},{key:"seekTo",value:function(l){this.player.currentTime=l}},{key:"setVolume",value:function(l){this.player.volume=l}},{key:"enablePIP",value:function(){this.player.requestPictureInPicture&&document.pictureInPictureElement!==this.player?this.player.requestPictureInPicture():(0,w.supportsWebKitPresentationMode)(this.player)&&this.player.webkitPresentationMode!=="picture-in-picture"&&this.player.webkitSetPresentationMode("picture-in-picture")}},{key:"disablePIP",value:function(){document.exitPictureInPicture&&document.pictureInPictureElement===this.player?document.exitPictureInPicture():(0,w.supportsWebKitPresentationMode)(this.player)&&this.player.webkitPresentationMode!=="inline"&&this.player.webkitSetPresentationMode("inline")}},{key:"setPlaybackRate",value:function(l){try{this.player.playbackRate=l}catch(b){this.props.onError(b)}}},{key:"getDuration",value:function(){if(!this.player)return null;var l=this.player,b=l.duration,v=l.seekable;return b===Infinity&&v.length>0?v.end(v.length-1):b}},{key:"getCurrentTime",value:function(){return this.player?this.player.currentTime:null}},{key:"getSecondsLoaded",value:function(){if(!this.player)return null;var l=this.player.buffered;if(l.length===0)return 0;var b=l.end(l.length-1),v=this.getDuration();return b>v?v:b}},{key:"getSource",value:function(l){var b=this.shouldUseHLS(l),v=this.shouldUseDASH(l),m=this.shouldUseFLV(l);if(!(l instanceof Array||(0,w.isMediaStream)(l)||b||v||m))return i.test(l)?l.replace("www.dropbox.com","dl.dropboxusercontent.com"):l}},{key:"render",value:function(){var l=this.props,b=l.url,v=l.playing,m=l.loop,T=l.controls,H=l.muted,Y=l.config,F=l.width,X=l.height,q=this.shouldUseAudio(this.props),B=q?"audio":"video",Q={width:F==="auto"?F:"100%",height:X==="auto"?X:"100%"};return k.default.createElement(B,I({ref:this.ref,src:this.getSource(b),style:Q,preload:"auto",autoPlay:v||void 0,controls:T,muted:H,loop:m},Y.attributes),b instanceof Array&&b.map(this.renderSourceElement),Y.tracks.map(this.renderTrack))}}]),h}(k.Component);g.default=P,E(P,"displayName","FilePlayer"),E(P,"canPlay",L.canPlay.file)},73911:function(Z,g,D){"use strict";function O(f){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(n){return typeof n}:O=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},O(f)}Object.defineProperty(g,"__esModule",{value:!0}),g.default=void 0;var k=V(D(67294)),w=D(38045),L=D(71776);function M(){if(typeof WeakMap!="function")return null;var f=new WeakMap;return M=function(){return f},f}function V(f){if(f&&f.__esModule)return f;if(f===null||O(f)!=="object"&&typeof f!="function")return{default:f};var y=M();if(y&&y.has(f))return y.get(f);var n={},t=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in f)if(Object.prototype.hasOwnProperty.call(f,r)){var e=t?Object.getOwnPropertyDescriptor(f,r):null;e&&(e.get||e.set)?Object.defineProperty(n,r,e):n[r]=f[r]}return n.default=f,y&&y.set(f,n),n}function I(f,y){if(!(f instanceof y))throw new TypeError("Cannot call a class as a function")}function A(f,y){for(var n=0;n<y.length;n++){var t=y[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(f,t.key,t)}}function N(f,y,n){return y&&A(f.prototype,y),n&&A(f,n),f}function U(f,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");f.prototype=Object.create(y&&y.prototype,{constructor:{value:f,writable:!0,configurable:!0}}),y&&z(f,y)}function z(f,y){return z=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},z(f,y)}function $(f){var y=K();return function(){var t=_(f),r;if(y){var e=_(this).constructor;r=Reflect.construct(t,arguments,e)}else r=t.apply(this,arguments);return W(this,r)}}function W(f,y){return y&&(O(y)==="object"||typeof y=="function")?y:j(f)}function j(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function K(){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(f){return!1}}function _(f){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_(f)}function R(f,y,n){return y in f?Object.defineProperty(f,y,{value:n,enumerable:!0,configurable:!0,writable:!0}):f[y]=n,f}var E="https://cdn.embed.ly/player-0.1.0.min.js",S="playerjs",C=function(f){U(n,f);var y=$(n);function n(){var t;I(this,n);for(var r=arguments.length,e=new Array(r),o=0;o<r;o++)e[o]=arguments[o];return t=y.call.apply(y,[this].concat(e)),R(j(t),"callPlayer",w.callPlayer),R(j(t),"duration",null),R(j(t),"currentTime",null),R(j(t),"secondsLoaded",null),R(j(t),"mute",function(){t.callPlayer("mute")}),R(j(t),"unmute",function(){t.callPlayer("unmute")}),R(j(t),"ref",function(u){t.iframe=u}),t}return N(n,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(r){var e=this;(0,w.getSDK)(E,S).then(function(o){!e.iframe||(e.player=new o.Player(e.iframe),e.player.on("ready",function(){setTimeout(function(){e.player.isReady=!0,e.player.setLoop(e.props.loop),e.props.muted&&e.player.mute(),e.addListeners(e.player,e.props),e.props.onReady()},500)}))},this.props.onError)}},{key:"addListeners",value:function(r,e){var o=this;r.on("play",e.onPlay),r.on("pause",e.onPause),r.on("ended",e.onEnded),r.on("error",e.onError),r.on("timeupdate",function(u){var i=u.duration,a=u.seconds;o.duration=i,o.currentTime=a})}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(r){this.callPlayer("setCurrentTime",r)}},{key:"setVolume",value:function(r){this.callPlayer("setVolume",r)}},{key:"setLoop",value:function(r){this.callPlayer("setLoop",r)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var r={width:"100%",height:"100%"};return k.default.createElement("iframe",{ref:this.ref,src:this.props.url,frameBorder:"0",scrolling:"no",style:r,allow:"encrypted-media; autoplay; fullscreen;",referrerPolicy:"no-referrer-when-downgrade"})}}]),n}(k.Component);g.default=C,R(C,"displayName","Kaltura"),R(C,"canPlay",L.canPlay.kaltura)},50143:function(Z,g,D){"use strict";function O(n){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(r){return typeof r}:O=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},O(n)}Object.defineProperty(g,"__esModule",{value:!0}),g.default=void 0;var k=V(D(67294)),w=D(38045),L=D(71776);function M(){if(typeof WeakMap!="function")return null;var n=new WeakMap;return M=function(){return n},n}function V(n){if(n&&n.__esModule)return n;if(n===null||O(n)!=="object"&&typeof n!="function")return{default:n};var t=M();if(t&&t.has(n))return t.get(n);var r={},e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)){var u=e?Object.getOwnPropertyDescriptor(n,o):null;u&&(u.get||u.set)?Object.defineProperty(r,o,u):r[o]=n[o]}return r.default=n,t&&t.set(n,r),r}function I(n,t){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(n);t&&(e=e.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),r.push.apply(r,e)}return r}function A(n){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?I(Object(r),!0).forEach(function(e){S(n,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))})}return n}function N(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function U(n,t){for(var r=0;r<t.length;r++){var e=t[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(n,e.key,e)}}function z(n,t,r){return t&&U(n.prototype,t),r&&U(n,r),n}function $(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&W(n,t)}function W(n,t){return W=Object.setPrototypeOf||function(e,o){return e.__proto__=o,e},W(n,t)}function j(n){var t=R();return function(){var e=E(n),o;if(t){var u=E(this).constructor;o=Reflect.construct(e,arguments,u)}else o=e.apply(this,arguments);return K(this,o)}}function K(n,t){return t&&(O(t)==="object"||typeof t=="function")?t:_(n)}function _(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function R(){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(n){return!1}}function E(n){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},E(n)}function S(n,t,r){return t in n?Object.defineProperty(n,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[t]=r,n}var C="https://widget.mixcloud.com/media/js/widgetApi.js",f="Mixcloud",y=function(n){$(r,n);var t=j(r);function r(){var e;N(this,r);for(var o=arguments.length,u=new Array(o),i=0;i<o;i++)u[i]=arguments[i];return e=t.call.apply(t,[this].concat(u)),S(_(e),"callPlayer",w.callPlayer),S(_(e),"duration",null),S(_(e),"currentTime",null),S(_(e),"secondsLoaded",null),S(_(e),"mute",function(){}),S(_(e),"unmute",function(){}),S(_(e),"ref",function(a){e.iframe=a}),e}return z(r,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(o){var u=this;(0,w.getSDK)(C,f).then(function(i){u.player=i.PlayerWidget(u.iframe),u.player.ready.then(function(){u.player.events.play.on(u.props.onPlay),u.player.events.pause.on(u.props.onPause),u.player.events.ended.on(u.props.onEnded),u.player.events.error.on(u.props.error),u.player.events.progress.on(function(a,d){u.currentTime=a,u.duration=d}),u.props.onReady()})},this.props.onError)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(o){this.callPlayer("seek",o)}},{key:"setVolume",value:function(o){}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var o=this.props,u=o.url,i=o.config,a=u.match(L.MATCH_URL_MIXCLOUD)[1],d={width:"100%",height:"100%"},P=(0,w.queryString)(A(A({},i.options),{},{feed:"/".concat(a,"/")}));return k.default.createElement("iframe",{key:a,ref:this.ref,style:d,src:"https://www.mixcloud.com/widget/iframe/?".concat(P),frameBorder:"0",allow:"autoplay"})}}]),r}(k.Component);g.default=y,S(y,"displayName","Mixcloud"),S(y,"canPlay",L.canPlay.mixcloud),S(y,"loopOnEnded",!0)},72648:function(Z,g,D){"use strict";function O(n){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(r){return typeof r}:O=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},O(n)}Object.defineProperty(g,"__esModule",{value:!0}),g.default=void 0;var k=V(D(67294)),w=D(38045),L=D(71776);function M(){if(typeof WeakMap!="function")return null;var n=new WeakMap;return M=function(){return n},n}function V(n){if(n&&n.__esModule)return n;if(n===null||O(n)!=="object"&&typeof n!="function")return{default:n};var t=M();if(t&&t.has(n))return t.get(n);var r={},e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)){var u=e?Object.getOwnPropertyDescriptor(n,o):null;u&&(u.get||u.set)?Object.defineProperty(r,o,u):r[o]=n[o]}return r.default=n,t&&t.set(n,r),r}function I(n,t){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(n);t&&(e=e.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),r.push.apply(r,e)}return r}function A(n){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?I(Object(r),!0).forEach(function(e){S(n,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))})}return n}function N(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function U(n,t){for(var r=0;r<t.length;r++){var e=t[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(n,e.key,e)}}function z(n,t,r){return t&&U(n.prototype,t),r&&U(n,r),n}function $(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&W(n,t)}function W(n,t){return W=Object.setPrototypeOf||function(e,o){return e.__proto__=o,e},W(n,t)}function j(n){var t=R();return function(){var e=E(n),o;if(t){var u=E(this).constructor;o=Reflect.construct(e,arguments,u)}else o=e.apply(this,arguments);return K(this,o)}}function K(n,t){return t&&(O(t)==="object"||typeof t=="function")?t:_(n)}function _(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function R(){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(n){return!1}}function E(n){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},E(n)}function S(n,t,r){return t in n?Object.defineProperty(n,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[t]=r,n}var C="https://w.soundcloud.com/player/api.js",f="SC",y=function(n){$(r,n);var t=j(r);function r(){var e;N(this,r);for(var o=arguments.length,u=new Array(o),i=0;i<o;i++)u[i]=arguments[i];return e=t.call.apply(t,[this].concat(u)),S(_(e),"callPlayer",w.callPlayer),S(_(e),"duration",null),S(_(e),"currentTime",null),S(_(e),"fractionLoaded",null),S(_(e),"mute",function(){e.setVolume(0)}),S(_(e),"unmute",function(){e.props.volume!==null&&e.setVolume(e.props.volume)}),S(_(e),"ref",function(a){e.iframe=a}),e}return z(r,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(o,u){var i=this;(0,w.getSDK)(C,f).then(function(a){if(!!i.iframe){var d=a.Widget.Events,P=d.PLAY,s=d.PLAY_PROGRESS,c=d.PAUSE,h=d.FINISH,p=d.ERROR;u||(i.player=a.Widget(i.iframe),i.player.bind(P,i.props.onPlay),i.player.bind(c,function(){var l=i.duration-i.currentTime;l<.05||i.props.onPause()}),i.player.bind(s,function(l){i.currentTime=l.currentPosition/1e3,i.fractionLoaded=l.loadedProgress}),i.player.bind(h,function(){return i.props.onEnded()}),i.player.bind(p,function(l){return i.props.onError(l)})),i.player.load(o,A(A({},i.props.config.options),{},{callback:function(){i.player.getDuration(function(b){i.duration=b/1e3,i.props.onReady()})}}))}})}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(o){this.callPlayer("seekTo",o*1e3)}},{key:"setVolume",value:function(o){this.callPlayer("setVolume",o*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 o=this.props.display,u={width:"100%",height:"100%",display:o};return k.default.createElement("iframe",{ref:this.ref,src:"https://w.soundcloud.com/player/?url=".concat(encodeURIComponent(this.props.url)),style:u,frameBorder:0,allow:"autoplay"})}}]),r}(k.Component);g.default=y,S(y,"displayName","SoundCloud"),S(y,"canPlay",L.canPlay.soundcloud),S(y,"loopOnEnded",!0)},50993:function(Z,g,D){"use strict";function O(f){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(n){return typeof n}:O=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},O(f)}Object.defineProperty(g,"__esModule",{value:!0}),g.default=void 0;var k=V(D(67294)),w=D(38045),L=D(71776);function M(){if(typeof WeakMap!="function")return null;var f=new WeakMap;return M=function(){return f},f}function V(f){if(f&&f.__esModule)return f;if(f===null||O(f)!=="object"&&typeof f!="function")return{default:f};var y=M();if(y&&y.has(f))return y.get(f);var n={},t=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in f)if(Object.prototype.hasOwnProperty.call(f,r)){var e=t?Object.getOwnPropertyDescriptor(f,r):null;e&&(e.get||e.set)?Object.defineProperty(n,r,e):n[r]=f[r]}return n.default=f,y&&y.set(f,n),n}function I(f,y){if(!(f instanceof y))throw new TypeError("Cannot call a class as a function")}function A(f,y){for(var n=0;n<y.length;n++){var t=y[n];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(f,t.key,t)}}function N(f,y,n){return y&&A(f.prototype,y),n&&A(f,n),f}function U(f,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");f.prototype=Object.create(y&&y.prototype,{constructor:{value:f,writable:!0,configurable:!0}}),y&&z(f,y)}function z(f,y){return z=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},z(f,y)}function $(f){var y=K();return function(){var t=_(f),r;if(y){var e=_(this).constructor;r=Reflect.construct(t,arguments,e)}else r=t.apply(this,arguments);return W(this,r)}}function W(f,y){return y&&(O(y)==="object"||typeof y=="function")?y:j(f)}function j(f){if(f===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f}function K(){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(f){return!1}}function _(f){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_(f)}function R(f,y,n){return y in f?Object.defineProperty(f,y,{value:n,enumerable:!0,configurable:!0,writable:!0}):f[y]=n,f}var E="https://cdn.embed.ly/player-0.1.0.min.js",S="playerjs",C=function(f){U(n,f);var y=$(n);function n(){var t;I(this,n);for(var r=arguments.length,e=new Array(r),o=0;o<r;o++)e[o]=arguments[o];return t=y.call.apply(y,[this].concat(e)),R(j(t),"callPlayer",w.callPlayer),R(j(t),"duration",null),R(j(t),"currentTime",null),R(j(t),"secondsLoaded",null),R(j(t),"mute",function(){t.callPlayer("mute")}),R(j(t),"unmute",function(){t.callPlayer("unmute")}),R(j(t),"ref",function(u){t.iframe=u}),t}return N(n,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(r){var e=this;(0,w.getSDK)(E,S).then(function(o){!e.iframe||(e.player=new o.Player(e.iframe),e.player.setLoop(e.props.loop),e.player.on("ready",e.props.onReady),e.player.on("play",e.props.onPlay),e.player.on("pause",e.props.onPause),e.player.on("seeked",e.props.onSeek),e.player.on("ended",e.props.onEnded),e.player.on("error",e.props.onError),e.player.on("timeupdate",function(u){var i=u.duration,a=u.seconds;e.duration=i,e.currentTime=a}),e.player.on("buffered",function(u){var i=u.percent;e.duration&&(e.secondsLoaded=e.duration*i)}),e.props.muted&&e.player.mute())},this.props.onError)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(r){this.callPlayer("setCurrentTime",r)}},{key:"setVolume",value:function(r){this.callPlayer("setVolume",r*100)}},{key:"setLoop",value:function(r){this.callPlayer("setLoop",r)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var r=this.props.url.match(L.MATCH_URL_STREAMABLE)[1],e={width:"100%",height:"100%"};return k.default.createElement("iframe",{ref:this.ref,src:"https://streamable.com/o/".concat(r),frameBorder:"0",scrolling:"no",style:e,allow:"encrypted-media; autoplay; fullscreen;"})}}]),n}(k.Component);g.default=C,R(C,"displayName","Streamable"),R(C,"canPlay",L.canPlay.streamable)},29482:function(Z,g,D){"use strict";function O(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(e){return typeof e}:O=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O(t)}Object.defineProperty(g,"__esModule",{value:!0}),g.default=void 0;var k=V(D(67294)),w=D(38045),L=D(71776);function M(){if(typeof WeakMap!="function")return null;var t=new WeakMap;return M=function(){return t},t}function V(t){if(t&&t.__esModule)return t;if(t===null||O(t)!=="object"&&typeof t!="function")return{default:t};var r=M();if(r&&r.has(t))return r.get(t);var e={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var i=o?Object.getOwnPropertyDescriptor(t,u):null;i&&(i.get||i.set)?Object.defineProperty(e,u,i):e[u]=t[u]}return e.default=t,r&&r.set(t,e),e}function I(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),e.push.apply(e,o)}return e}function A(t){for(var r=1;r<arguments.length;r++){var e=arguments[r]!=null?arguments[r]:{};r%2?I(Object(e),!0).forEach(function(o){S(t,o,e[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):I(Object(e)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))})}return t}function N(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function U(t,r){for(var e=0;e<r.length;e++){var o=r[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function z(t,r,e){return r&&U(t.prototype,r),e&&U(t,e),t}function $(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),r&&W(t,r)}function W(t,r){return W=Object.setPrototypeOf||function(o,u){return o.__proto__=u,o},W(t,r)}function j(t){var r=R();return function(){var o=E(t),u;if(r){var i=E(this).constructor;u=Reflect.construct(o,arguments,i)}else u=o.apply(this,arguments);return K(this,u)}}function K(t,r){return r&&(O(r)==="object"||typeof r=="function")?r:_(t)}function _(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R(){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(t){return!1}}function E(t){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E(t)}function S(t,r,e){return r in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}var C="https://player.twitch.tv/js/embed/v1.js",f="Twitch",y="twitch-player-",n=function(t){$(e,t);var r=j(e);function e(){var o;N(this,e);for(var u=arguments.length,i=new Array(u),a=0;a<u;a++)i[a]=arguments[a];return o=r.call.apply(r,[this].concat(i)),S(_(o),"callPlayer",w.callPlayer),S(_(o),"playerID",o.props.config.playerId||"".concat(y).concat((0,w.randomString)())),S(_(o),"mute",function(){o.callPlayer("setMuted",!0)}),S(_(o),"unmute",function(){o.callPlayer("setMuted",!1)}),o}return z(e,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(u,i){var a=this,d=this.props,P=d.playsinline,s=d.onError,c=d.config,h=d.controls,p=L.MATCH_URL_TWITCH_CHANNEL.test(u),l=p?u.match(L.MATCH_URL_TWITCH_CHANNEL)[1]:u.match(L.MATCH_URL_TWITCH_VIDEO)[1];if(i){p?this.player.setChannel(l):this.player.setVideo("v"+l);return}(0,w.getSDK)(C,f).then(function(b){a.player=new b.Player(a.playerID,A({video:p?"":l,channel:p?l:"",height:"100%",width:"100%",playsinline:P,autoplay:a.props.playing,muted:a.props.muted,controls:p?!0:h,time:(0,w.parseStartTime)(u)},c.options));var v=b.Player,m=v.READY,T=v.PLAYING,H=v.PAUSE,Y=v.ENDED,F=v.ONLINE,X=v.OFFLINE,q=v.SEEK;a.player.addEventListener(m,a.props.onReady),a.player.addEventListener(T,a.props.onPlay),a.player.addEventListener(H,a.props.onPause),a.player.addEventListener(Y,a.props.onEnded),a.player.addEventListener(q,a.props.onSeek),a.player.addEventListener(F,a.props.onLoaded),a.player.addEventListener(X,a.props.onLoaded)},s)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.callPlayer("pause")}},{key:"seekTo",value:function(u){this.callPlayer("seek",u)}},{key:"setVolume",value:function(u){this.callPlayer("setVolume",u)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentTime")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var u={width:"100%",height:"100%"};return k.default.createElement("div",{style:u,id:this.playerID})}}]),e}(k.Component);g.default=n,S(n,"displayName","Twitch"),S(n,"canPlay",L.canPlay.twitch),S(n,"loopOnEnded",!0)},36596:function(Z,g,D){"use strict";function O(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(e){return typeof e}:O=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O(t)}Object.defineProperty(g,"__esModule",{value:!0}),g.default=void 0;var k=V(D(67294)),w=D(38045),L=D(71776);function M(){if(typeof WeakMap!="function")return null;var t=new WeakMap;return M=function(){return t},t}function V(t){if(t&&t.__esModule)return t;if(t===null||O(t)!=="object"&&typeof t!="function")return{default:t};var r=M();if(r&&r.has(t))return r.get(t);var e={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var i=o?Object.getOwnPropertyDescriptor(t,u):null;i&&(i.get||i.set)?Object.defineProperty(e,u,i):e[u]=t[u]}return e.default=t,r&&r.set(t,e),e}function I(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),e.push.apply(e,o)}return e}function A(t){for(var r=1;r<arguments.length;r++){var e=arguments[r]!=null?arguments[r]:{};r%2?I(Object(e),!0).forEach(function(o){S(t,o,e[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):I(Object(e)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))})}return t}function N(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function U(t,r){for(var e=0;e<r.length;e++){var o=r[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function z(t,r,e){return r&&U(t.prototype,r),e&&U(t,e),t}function $(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),r&&W(t,r)}function W(t,r){return W=Object.setPrototypeOf||function(o,u){return o.__proto__=u,o},W(t,r)}function j(t){var r=R();return function(){var o=E(t),u;if(r){var i=E(this).constructor;u=Reflect.construct(o,arguments,i)}else u=o.apply(this,arguments);return K(this,u)}}function K(t,r){return r&&(O(r)==="object"||typeof r=="function")?r:_(t)}function _(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R(){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(t){return!1}}function E(t){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E(t)}function S(t,r,e){return r in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}var C="https://play.vidyard.com/embed/v4.js",f="VidyardV4",y="onVidyardAPI",n=function(t){$(e,t);var r=j(e);function e(){var o;N(this,e);for(var u=arguments.length,i=new Array(u),a=0;a<u;a++)i[a]=arguments[a];return o=r.call.apply(r,[this].concat(i)),S(_(o),"callPlayer",w.callPlayer),S(_(o),"mute",function(){o.setVolume(0)}),S(_(o),"unmute",function(){o.props.volume!==null&&o.setVolume(o.props.volume)}),S(_(o),"ref",function(d){o.container=d}),o}return z(e,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(u){var i=this,a=this.props,d=a.playing,P=a.config,s=a.onError,c=a.onDuration,h=u&&u.match(L.MATCH_URL_VIDYARD)[1];this.player&&this.stop(),(0,w.getSDK)(C,f,y).then(function(p){!i.container||(p.api.addReadyListener(function(l,b){i.player||(i.player=b,i.player.on("ready",i.props.onReady),i.player.on("play",i.props.onPlay),i.player.on("pause",i.props.onPause),i.player.on("seek",i.props.onSeek),i.player.on("playerComplete",i.props.onEnded))},h),p.api.renderPlayer(A({uuid:h,container:i.container,autoplay:d?1:0},P.options)),p.api.getPlayerMetadata(h).then(function(l){i.duration=l.length_in_seconds,c(l.length_in_seconds)}))},s)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){window.VidyardV4.api.destroyPlayer(this.player)}},{key:"seekTo",value:function(u){this.callPlayer("seek",u)}},{key:"setVolume",value:function(u){this.callPlayer("setVolume",u)}},{key:"setPlaybackRate",value:function(u){this.callPlayer("setPlaybackSpeed",u)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.callPlayer("currentTime")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var u=this.props.display,i={width:"100%",height:"100%",display:u};return k.default.createElement("div",{style:i},k.default.createElement("div",{ref:this.ref}))}}]),e}(k.Component);g.default=n,S(n,"displayName","Vidyard"),S(n,"canPlay",L.canPlay.vidyard)},80868:function(Z,g,D){"use strict";function O(n){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(r){return typeof r}:O=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},O(n)}Object.defineProperty(g,"__esModule",{value:!0}),g.default=void 0;var k=V(D(67294)),w=D(38045),L=D(71776);function M(){if(typeof WeakMap!="function")return null;var n=new WeakMap;return M=function(){return n},n}function V(n){if(n&&n.__esModule)return n;if(n===null||O(n)!=="object"&&typeof n!="function")return{default:n};var t=M();if(t&&t.has(n))return t.get(n);var r={},e=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)){var u=e?Object.getOwnPropertyDescriptor(n,o):null;u&&(u.get||u.set)?Object.defineProperty(r,o,u):r[o]=n[o]}return r.default=n,t&&t.set(n,r),r}function I(n,t){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(n);t&&(e=e.filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),r.push.apply(r,e)}return r}function A(n){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?I(Object(r),!0).forEach(function(e){S(n,e,r[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):I(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))})}return n}function N(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function U(n,t){for(var r=0;r<t.length;r++){var e=t[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(n,e.key,e)}}function z(n,t,r){return t&&U(n.prototype,t),r&&U(n,r),n}function $(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&W(n,t)}function W(n,t){return W=Object.setPrototypeOf||function(e,o){return e.__proto__=o,e},W(n,t)}function j(n){var t=R();return function(){var e=E(n),o;if(t){var u=E(this).constructor;o=Reflect.construct(e,arguments,u)}else o=e.apply(this,arguments);return K(this,o)}}function K(n,t){return t&&(O(t)==="object"||typeof t=="function")?t:_(n)}function _(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function R(){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(n){return!1}}function E(n){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},E(n)}function S(n,t,r){return t in n?Object.defineProperty(n,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[t]=r,n}var C="https://player.vimeo.com/api/player.js",f="Vimeo",y=function(n){$(r,n);var t=j(r);function r(){var e;N(this,r);for(var o=arguments.length,u=new Array(o),i=0;i<o;i++)u[i]=arguments[i];return e=t.call.apply(t,[this].concat(u)),S(_(e),"callPlayer",w.callPlayer),S(_(e),"duration",null),S(_(e),"currentTime",null),S(_(e),"secondsLoaded",null),S(_(e),"mute",function(){e.setMuted(!0)}),S(_(e),"unmute",function(){e.setMuted(!1)}),S(_(e),"ref",function(a){e.container=a}),e}return z(r,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(o){var u=this;this.duration=null,(0,w.getSDK)(C,f).then(function(i){if(!!u.container){var a=u.props.config,d=a.playerOptions,P=a.title;u.player=new i.Player(u.container,A({url:o,autoplay:u.props.playing,muted:u.props.muted,loop:u.props.loop,playsinline:u.props.playsinline,controls:u.props.controls},d)),u.player.ready().then(function(){var s=u.container.querySelector("iframe");s.style.width="100%",s.style.height="100%",P&&(s.title=P)}).catch(u.props.onError),u.player.on("loaded",function(){u.props.onReady(),u.refreshDuration()}),u.player.on("play",function(){u.props.onPlay(),u.refreshDuration()}),u.player.on("pause",u.props.onPause),u.player.on("seeked",function(s){return u.props.onSeek(s.seconds)}),u.player.on("ended",u.props.onEnded),u.player.on("error",u.props.onError),u.player.on("timeupdate",function(s){var c=s.seconds;u.currentTime=c}),u.player.on("progress",function(s){var c=s.seconds;u.secondsLoaded=c}),u.player.on("bufferstart",u.props.onBuffer),u.player.on("bufferend",u.props.onBufferEnd),u.player.on("playbackratechange",function(s){return u.props.onPlaybackRateChange(s.playbackRate)})}},this.props.onError)}},{key:"refreshDuration",value:function(){var o=this;this.player.getDuration().then(function(u){o.duration=u})}},{key:"play",value:function(){var o=this.callPlayer("play");o&&o.catch(this.props.onError)}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.callPlayer("unload")}},{key:"seekTo",value:function(o){this.callPlayer("setCurrentTime",o)}},{key:"setVolume",value:function(o){this.callPlayer("setVolume",o)}},{key:"setMuted",value:function(o){this.callPlayer("setMuted",o)}},{key:"setLoop",value:function(o){this.callPlayer("setLoop",o)}},{key:"setPlaybackRate",value:function(o){this.callPlayer("setPlaybackRate",o)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var o=this.props.display,u={width:"100%",height:"100%",overflow:"hidden",display:o};return k.default.createElement("div",{key:this.props.url,ref:this.ref,style:u})}}]),r}(k.Component);g.default=y,S(y,"displayName","Vimeo"),S(y,"canPlay",L.canPlay.vimeo),S(y,"forceLoad",!0)},8018:function(Z,g,D){"use strict";function O(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(e){return typeof e}:O=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O(t)}Object.defineProperty(g,"__esModule",{value:!0}),g.default=void 0;var k=V(D(67294)),w=D(38045),L=D(71776);function M(){if(typeof WeakMap!="function")return null;var t=new WeakMap;return M=function(){return t},t}function V(t){if(t&&t.__esModule)return t;if(t===null||O(t)!=="object"&&typeof t!="function")return{default:t};var r=M();if(r&&r.has(t))return r.get(t);var e={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(Object.prototype.hasOwnProperty.call(t,u)){var i=o?Object.getOwnPropertyDescriptor(t,u):null;i&&(i.get||i.set)?Object.defineProperty(e,u,i):e[u]=t[u]}return e.default=t,r&&r.set(t,e),e}function I(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);r&&(o=o.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),e.push.apply(e,o)}return e}function A(t){for(var r=1;r<arguments.length;r++){var e=arguments[r]!=null?arguments[r]:{};r%2?I(Object(e),!0).forEach(function(o){S(t,o,e[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):I(Object(e)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(e,o))})}return t}function N(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function U(t,r){for(var e=0;e<r.length;e++){var o=r[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function z(t,r,e){return r&&U(t.prototype,r),e&&U(t,e),t}function $(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),r&&W(t,r)}function W(t,r){return W=Object.setPrototypeOf||function(o,u){return o.__proto__=u,o},W(t,r)}function j(t){var r=R();return function(){var o=E(t),u;if(r){var i=E(this).constructor;u=Reflect.construct(o,arguments,i)}else u=o.apply(this,arguments);return K(this,u)}}function K(t,r){return r&&(O(r)==="object"||typeof r=="function")?r:_(t)}function _(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R(){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(t){return!1}}function E(t){return E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},E(t)}function S(t,r,e){return r in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}var C="https://fast.wistia.com/assets/external/E-v1.js",f="Wistia",y="wistia-player-",n=function(t){$(e,t);var r=j(e);function e(){var o;N(this,e);for(var u=arguments.length,i=new Array(u),a=0;a<u;a++)i[a]=arguments[a];return o=r.call.apply(r,[this].concat(i)),S(_(o),"callPlayer",w.callPlayer),S(_(o),"playerID",o.props.config.playerId||"".concat(y).concat((0,w.randomString)())),S(_(o),"onPlay",function(){var d;return(d=o.props).onPlay.apply(d,arguments)}),S(_(o),"onPause",function(){var d;return(d=o.props).onPause.apply(d,arguments)}),S(_(o),"onSeek",function(){var d;return(d=o.props).onSeek.apply(d,arguments)}),S(_(o),"onEnded",function(){var d;return(d=o.props).onEnded.apply(d,arguments)}),S(_(o),"onPlaybackRateChange",function(){var d;return(d=o.props).onPlaybackRateChange.apply(d,arguments)}),S(_(o),"mute",function(){o.callPlayer("mute")}),S(_(o),"unmute",function(){o.callPlayer("unmute")}),o}return z(e,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(u){var i=this,a=this.props,d=a.playing,P=a.muted,s=a.controls,c=a.onReady,h=a.config,p=a.onError;(0,w.getSDK)(C,f).then(function(l){h.customControls&&h.customControls.forEach(function(b){return l.defineControl(b)}),window._wq=window._wq||[],window._wq.push({id:i.playerID,options:A({autoPlay:d,silentAutoPlay:"allow",muted:P,controlsVisibleOnLoad:s,fullscreenButton:s,playbar:s,playbackRateControl:s,qualityControl:s,volumeControl:s,settingsControl:s,smallPlayButton:s},h.options),onReady:function(v){i.player=v,i.unbind(),i.player.bind("play",i.onPlay),i.player.bind("pause",i.onPause),i.player.bind("seek",i.onSeek),i.player.bind("end",i.onEnded),i.player.bind("playbackratechange",i.onPlaybackRateChange),c()}})},p)}},{key:"unbind",value:function(){this.player.unbind("play",this.onPlay),this.player.unbind("pause",this.onPause),this.player.unbind("seek",this.onSeek),this.player.unbind("end",this.onEnded),this.player.unbind("playbackratechange",this.onPlaybackRateChange)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.unbind(),this.callPlayer("remove")}},{key:"seekTo",value:function(u){this.callPlayer("time",u)}},{key:"setVolume",value:function(u){this.callPlayer("volume",u)}},{key:"setPlaybackRate",value:function(u){this.callPlayer("playbackRate",u)}},{key:"getDuration",value:function(){return this.callPlayer("duration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("time")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var u=this.props.url,i=u&&u.match(L.MATCH_URL_WISTIA)[1],a="wistia_embed wistia_async_".concat(i),d={width:"100%",height:"100%"};return k.default.createElement("div",{id:this.playerID,key:i,className:a,style:d})}}]),e}(k.Component);g.default=n,S(n,"displayName","Wistia"),S(n,"canPlay",L.canPlay.wistia),S(n,"loopOnEnded",!0)},60356:function(Z,g,D){"use strict";function O(c){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?O=function(p){return typeof p}:O=function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},O(c)}Object.defineProperty(g,"__esModule",{value:!0}),g.default=void 0;var k=V(D(67294)),w=D(38045),L=D(71776);function M(){if(typeof WeakMap!="function")return null;var c=new WeakMap;return M=function(){return c},c}function V(c){if(c&&c.__esModule)return c;if(c===null||O(c)!=="object"&&typeof c!="function")return{default:c};var h=M();if(h&&h.has(c))return h.get(c);var p={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in c)if(Object.prototype.hasOwnProperty.call(c,b)){var v=l?Object.getOwnPropertyDescriptor(c,b):null;v&&(v.get||v.set)?Object.defineProperty(p,b,v):p[b]=c[b]}return p.default=c,h&&h.set(c,p),p}function I(c,h){var p=Object.keys(c);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(c);h&&(l=l.filter(function(b){return Object.getOwnPropertyDescriptor(c,b).enumerable})),p.push.apply(p,l)}return p}function A(c){for(var h=1;h<arguments.length;h++){var p=arguments[h]!=null?arguments[h]:{};h%2?I(Object(p),!0).forEach(function(l){r(c,l,p[l])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(p)):I(Object(p)).forEach(function(l){Object.defineProperty(c,l,Object.getOwnPropertyDescriptor(p,l))})}return c}function N(c,h){return j(c)||W(c,h)||z(c,h)||U()}function U(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function z(c,h){if(!!c){if(typeof c=="string")return $(c,h);var p=Object.prototype.toString.call(c).slice(8,-1);if(p==="Object"&&c.constructor&&(p=c.constructor.name),p==="Map"||p==="Set")return Array.from(c);if(p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p))return $(c,h)}}function $(c,h){(h==null||h>c.length)&&(h=c.length);for(var p=0,l=new Array(h);p<h;p++)l[p]=c[p];return l}function W(c,h){if(!(typeof Symbol=="undefined"||!(Symbol.iterator in Object(c)))){var p=[],l=!0,b=!1,v=void 0;try{for(var m=c[Symbol.iterator](),T;!(l=(T=m.next()).done)&&(p.push(T.value),!(h&&p.length===h));l=!0);}catch(H){b=!0,v=H}finally{try{!l&&m.return!=null&&m.return()}finally{if(b)throw v}}return p}}function j(c){if(Array.isArray(c))return c}function K(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function _(c,h){for(var p=0;p<h.length;p++){var l=h[p];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(c,l.key,l)}}function R(c,h,p){return h&&_(c.prototype,h),p&&_(c,p),c}function E(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function");c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,writable:!0,configurable:!0}}),h&&S(c,h)}function S(c,h){return S=Object.setPrototypeOf||function(l,b){return l.__proto__=b,l},S(c,h)}function C(c){var h=n();return function(){var l=t(c),b;if(h){var v=t(this).constructor;b=Reflect.construct(l,arguments,v)}else b=l.apply(this,arguments);return f(this,b)}}function f(c,h){return h&&(O(h)==="object"||typeof h=="function")?h:y(c)}function y(c){if(c===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c}function n(){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(c){return!1}}function t(c){return t=Object.setPrototypeOf?Object.getPrototypeOf:function(p){return p.__proto__||Object.getPrototypeOf(p)},t(c)}function r(c,h,p){return h in c?Object.defineProperty(c,h,{value:p,enumerable:!0,configurable:!0,writable:!0}):c[h]=p,c}var e="https://www.youtube.com/iframe_api",o="YT",u="onYouTubeIframeAPIReady",i=/[?&](?:list|channel)=([a-zA-Z0-9_-]+)/,a=/user\/([a-zA-Z0-9_-]+)\/?/,d=/youtube-nocookie\.com/,P="https://www.youtube-nocookie.com",s=function(c){E(p,c);var h=C(p);function p(){var l;K(this,p);for(var b=arguments.length,v=new Array(b),m=0;m<b;m++)v[m]=arguments[m];return l=h.call.apply(h,[this].concat(v)),r(y(l),"callPlayer",w.callPlayer),r(y(l),"parsePlaylist",function(T){if(T instanceof Array)return{listType:"playlist",playlist:T.map(l.getID).join(",")};if(i.test(T)){var H=T.match(i),Y=N(H,2),F=Y[1];return{listType:"playlist",list:F.replace(/^UC/,"UU")}}if(a.test(T)){var X=T.match(a),q=N(X,2),B=q[1];return{listType:"user_uploads",list:B}}return{}}),r(y(l),"onStateChange",function(T){var H=T.data,Y=l.props,F=Y.onPlay,X=Y.onPause,q=Y.onBuffer,B=Y.onBufferEnd,Q=Y.onEnded,J=Y.onReady,re=Y.loop,x=Y.config,G=x.playerVars,ee=x.onUnstarted,te=window[o].PlayerState,ne=te.UNSTARTED,oe=te.PLAYING,ae=te.PAUSED,ie=te.BUFFERING,ue=te.ENDED,le=te.CUED;if(H===ne&&ee(),H===oe&&(F(),B()),H===ae&&X(),H===ie&&q(),H===ue){var ce=!!l.callPlayer("getPlaylist");re&&!ce&&(G.start?l.seekTo(G.start):l.play()),Q()}H===le&&J()}),r(y(l),"mute",function(){l.callPlayer("mute")}),r(y(l),"unmute",function(){l.callPlayer("unMute")}),r(y(l),"ref",function(T){l.container=T}),l}return R(p,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"getID",value:function(b){return!b||b instanceof Array||i.test(b)?null:b.match(L.MATCH_URL_YOUTUBE)[1]}},{key:"load",value:function(b,v){var m=this,T=this.props,H=T.playing,Y=T.muted,F=T.playsinline,X=T.controls,q=T.loop,B=T.config,Q=T.onError,J=B.playerVars,re=B.embedOptions,x=this.getID(b);if(v){if(i.test(b)||a.test(b)||b instanceof Array){this.player.loadPlaylist(this.parsePlaylist(b));return}this.player.cueVideoById({videoId:x,startSeconds:(0,w.parseStartTime)(b)||J.start,endSeconds:(0,w.parseEndTime)(b)||J.end});return}(0,w.getSDK)(e,o,u,function(G){return G.loaded}).then(function(G){!m.container||(m.player=new G.Player(m.container,A({width:"100%",height:"100%",videoId:x,playerVars:A(A({autoplay:H?1:0,mute:Y?1:0,controls:X?1:0,start:(0,w.parseStartTime)(b),end:(0,w.parseEndTime)(b),origin:window.location.origin,playsinline:F?1:0},m.parsePlaylist(b)),J),events:{onReady:function(){q&&m.player.setLoop(!0),m.props.onReady()},onPlaybackRateChange:function(te){return m.props.onPlaybackRateChange(te.data)},onStateChange:m.onStateChange,onError:function(te){return Q(te.data)}},host:d.test(b)?P:void 0},re)))},Q),re.events&&console.warn("Using `embedOptions.events` will likely break things. Use ReactPlayer\u2019s callback props instead, eg onReady, onPlay, onPause")}},{key:"play",value:function(){this.callPlayer("playVideo")}},{key:"pause",value:function(){this.callPlayer("pauseVideo")}},{key:"stop",value:function(){!document.body.contains(this.callPlayer("getIframe"))||this.callPlayer("stopVideo")}},{key:"seekTo",value:function(b){this.callPlayer("seekTo",b),this.props.playing||this.pause()}},{key:"setVolume",value:function(b){this.callPlayer("setVolume",b*100)}},{key:"setPlaybackRate",value:function(b){this.callPlayer("setPlaybackRate",b)}},{key:"setLoop",value:function(b){this.callPlayer("setLoop",b)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentTime")}},{key:"getSecondsLoaded",value:function(){return this.callPlayer("getVideoLoadedFraction")*this.getDuration()}},{key:"render",value:function(){var b=this.props.display,v={width:"100%",height:"100%",display:b};return k.default.createElement("div",{style:v},k.default.createElement("div",{ref:this.ref}))}}]),p}(k.Component);g.default=s,r(s,"displayName","YouTube"),r(s,"canPlay",L.canPlay.youtube)},86497:function(Z,g,D){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.default=void 0;var O=D(67294),k=D(38045),w=D(71776);function L(A){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?L=function(U){return typeof U}:L=function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},L(A)}function M(){if(typeof WeakMap!="function")return null;var A=new WeakMap;return M=function(){return A},A}function V(A){if(A&&A.__esModule)return A;if(A===null||L(A)!=="object"&&typeof A!="function")return{default:A};var N=M();if(N&&N.has(A))return N.get(A);var U={},z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $ in A)if(Object.prototype.hasOwnProperty.call(A,$)){var W=z?Object.getOwnPropertyDescriptor(A,$):null;W&&(W.get||W.set)?Object.defineProperty(U,$,W):U[$]=A[$]}return U.default=A,N&&N.set(A,U),U}var I=[{key:"youtube",name:"YouTube",canPlay:w.canPlay.youtube,lazyPlayer:(0,O.lazy)(function(){return Promise.resolve().then(function(){return V(D(60356))})})},{key:"soundcloud",name:"SoundCloud",canPlay:w.canPlay.soundcloud,lazyPlayer:(0,O.lazy)(function(){return Promise.resolve().then(function(){return V(D(72648))})})},{key:"vimeo",name:"Vimeo",canPlay:w.canPlay.vimeo,lazyPlayer:(0,O.lazy)(function(){return Promise.resolve().then(function(){return V(D(80868))})})},{key:"facebook",name:"Facebook",canPlay:w.canPlay.facebook,lazyPlayer:(0,O.lazy)(function(){return Promise.resolve().then(function(){return V(D(31972))})})},{key:"streamable",name:"Streamable",canPlay:w.canPlay.streamable,lazyPlayer:(0,O.lazy)(function(){return Promise.resolve().then(function(){return V(D(50993))})})},{key:"wistia",name:"Wistia",canPlay:w.canPlay.wistia,lazyPlayer:(0,O.lazy)(function(){return Promise.resolve().then(function(){return V(D(8018))})})},{key:"twitch",name:"Twitch",canPlay:w.canPlay.twitch,lazyPlayer:(0,O.lazy)(function(){return Promise.resolve().then(function(){return V(D(29482))})})},{key:"dailymotion",name:"DailyMotion",canPlay:w.canPlay.dailymotion,lazyPlayer:(0,O.lazy)(function(){return Promise.resolve().then(function(){return V(D(36807))})})},{key:"mixcloud",name:"Mixcloud",canPlay:w.canPlay.mixcloud,lazyPlayer:(0,O.lazy)(function(){return Promise.resolve().then(function(){return V(D(50143))})})},{key:"vidyard",name:"Vidyard",canPlay:w.canPlay.vidyard,lazyPlayer:(0,O.lazy)(function(){return Promise.resolve().then(function(){return V(D(36596))})})},{key:"kaltura",name:"Kaltura",canPlay:w.canPlay.kaltura,lazyPlayer:(0,O.lazy)(function(){return Promise.resolve().then(function(){return V(D(73911))})})},{key:"file",name:"FilePlayer",canPlay:w.canPlay.file,canEnablePIP:function(N){return w.canPlay.file(N)&&(document.pictureInPictureEnabled||(0,k.supportsWebKitPresentationMode)())&&!w.AUDIO_EXTENSIONS.test(N)},lazyPlayer:(0,O.lazy)(function(){return Promise.resolve().then(function(){return V(D(14926))})})}];g.default=I},85741:function(Z,g,D){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.defaultProps=g.propTypes=void 0;var O=k(D(45697));function k(K){return K&&K.__esModule?K:{default:K}}var w=O.default.string,L=O.default.bool,M=O.default.number,V=O.default.array,I=O.default.oneOfType,A=O.default.shape,N=O.default.object,U=O.default.func,z=O.default.node,$={url:I([w,V,N]),playing:L,loop:L,controls:L,volume:M,muted:L,playbackRate:M,width:I([w,M]),height:I([w,M]),style:N,progressInterval:M,playsinline:L,pip:L,stopOnUnmount:L,light:I([L,w,N]),playIcon:z,previewTabIndex:M,fallback:z,oEmbedUrl:w,wrapper:I([w,U,A({render:U.isRequired})]),config:A({soundcloud:A({options:N}),youtube:A({playerVars:N,embedOptions:N,onUnstarted:U}),facebook:A({appId:w,version:w,playerId:w,attributes:N}),dailymotion:A({params:N}),vimeo:A({playerOptions:N,title:w}),file:A({attributes:N,tracks:V,forceVideo:L,forceAudio:L,forceHLS:L,forceSafariHLS:L,forceDASH:L,forceFLV:L,hlsOptions:N,hlsVersion:w,dashVersion:w,flvVersion:w}),wistia:A({options:N,playerId:w,customControls:V}),mixcloud:A({options:N}),twitch:A({options:N,playerId:w}),vidyard:A({options:N})}),onReady:U,onStart:U,onPlay:U,onPause:U,onBuffer:U,onBufferEnd:U,onEnded:U,onError:U,onDuration:U,onSeek:U,onPlaybackRateChange:U,onProgress:U,onClickPreview:U,onEnablePIP:U,onDisablePIP:U};g.propTypes=$;var W=function(){},j={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},progressInterval:1e3,playsinline:!1,pip:!1,stopOnUnmount:!0,light:!1,fallback:null,wrapper:"div",previewTabIndex:0,oEmbedUrl:"https://noembed.com/embed?url={url}",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},onUnstarted:W},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null,attributes:{}},dailymotion:{params:{api:1,"endscreen-enable":!1}},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},title:null},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,forceFLV:!1,hlsOptions:{},hlsVersion:"1.1.4",dashVersion:"3.1.3",flvVersion:"1.5.0"},wistia:{options:{},playerId:null,customControls:null},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null},vidyard:{options:{}}},onReady:W,onStart:W,onPlay:W,onPause:W,onBuffer:W,onBufferEnd:W,onEnded:W,onError:W,onDuration:W,onSeek:W,onPlaybackRateChange:W,onProgress:W,onClickPreview:W,onEnablePIP:W,onDisablePIP:W};g.defaultProps=j},38045:function(Z,g,D){"use strict";Object.defineProperty(g,"__esModule",{value:!0}),g.parseStartTime=_,g.parseEndTime=R,g.randomString=E,g.queryString=S,g.getSDK=y,g.getConfig=n,g.omit=t,g.callPlayer=r,g.isMediaStream=e,g.isBlobUrl=o,g.supportsWebKitPresentationMode=u;var O=w(D(49090)),k=w(D(9996));function w(i){return i&&i.__esModule?i:{default:i}}function L(i,a){return N(i)||A(i,a)||V(i,a)||M()}function M(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function V(i,a){if(!!i){if(typeof i=="string")return I(i,a);var d=Object.prototype.toString.call(i).slice(8,-1);if(d==="Object"&&i.constructor&&(d=i.constructor.name),d==="Map"||d==="Set")return Array.from(i);if(d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d))return I(i,a)}}function I(i,a){(a==null||a>i.length)&&(a=i.length);for(var d=0,P=new Array(a);d<a;d++)P[d]=i[d];return P}function A(i,a){if(!(typeof Symbol=="undefined"||!(Symbol.iterator in Object(i)))){var d=[],P=!0,s=!1,c=void 0;try{for(var h=i[Symbol.iterator](),p;!(P=(p=h.next()).done)&&(d.push(p.value),!(a&&d.length===a));P=!0);}catch(l){s=!0,c=l}finally{try{!P&&h.return!=null&&h.return()}finally{if(s)throw c}}return d}}function N(i){if(Array.isArray(i))return i}var U=/[?&#](?:start|t)=([0-9hms]+)/,z=/[?&#]end=([0-9hms]+)/,$=/(\d+)(h|m|s)/g,W=/^\d+$/;function j(i,a){if(!(i instanceof Array)){var d=i.match(a);if(d){var P=d[1];if(P.match($))return K(P);if(W.test(P))return parseInt(P)}}}function K(i){for(var a=0,d=$.exec(i);d!==null;){var P=d,s=L(P,3),c=s[1],h=s[2];h==="h"&&(a+=parseInt(c,10)*60*60),h==="m"&&(a+=parseInt(c,10)*60),h==="s"&&(a+=parseInt(c,10)),d=$.exec(i)}return a}function _(i){return j(i,U)}function R(i){return j(i,z)}function E(){return Math.random().toString(36).substr(2,5)}function S(i){return Object.keys(i).map(function(a){return"".concat(a,"=").concat(i[a])}).join("&")}function C(i){return window[i]?window[i]:window.exports&&window.exports[i]?window.exports[i]:window.module&&window.module.exports&&window.module.exports[i]?window.module.exports[i]:null}var f={};function y(i,a){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){return!0},s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:O.default,c=C(a);return c&&P(c)?Promise.resolve(c):new Promise(function(h,p){if(f[i]){f[i].push({resolve:h,reject:p});return}f[i]=[{resolve:h,reject:p}];var l=function(m){f[i].forEach(function(T){return T.resolve(m)})};if(d){var b=window[d];window[d]=function(){b&&b(),l(C(a))}}s(i,function(v){v?(f[i].forEach(function(m){return m.reject(v)}),f[i]=null):d||l(C(a))})})}function n(i,a){return(0,k.default)(a.config,i.config)}function t(i){for(var a,d=arguments.length,P=new Array(d>1?d-1:0),s=1;s<d;s++)P[s-1]=arguments[s];for(var c=(a=[]).concat.apply(a,P),h={},p=Object.keys(i),l=0,b=p;l<b.length;l++){var v=b[l];c.indexOf(v)===-1&&(h[v]=i[v])}return h}function r(i){var a;if(!this.player||!this.player[i]){var d="ReactPlayer: ".concat(this.constructor.displayName," player could not call %c").concat(i,"%c \u2013 ");return this.player?this.player[i]||(d+="The method was not available"):d+="The player was not available",console.warn(d,"font-weight: bold",""),null}for(var P=arguments.length,s=new Array(P>1?P-1:0),c=1;c<P;c++)s[c-1]=arguments[c];return(a=this.player)[i].apply(a,s)}function e(i){return typeof window!="undefined"&&typeof window.MediaStream!="undefined"&&i instanceof window.MediaStream}function o(i){return/^blob:/.test(i)}function u(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document.createElement("video"),a=/iPhone|iPod/.test(navigator.userAgent)===!1;return i.webkitSupportsPresentationMode&&typeof i.webkitSetPresentationMode=="function"&&a}}}]);