1(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[7596],{59935:(function(V,S,h){var d=Object.defineProperty,v=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable,D=(u,o,a)=>o in u?d(u,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):u[o]=a,R=(u,o)=>{for(var a in o||(o={}))m.call(o,a)&&D(u,a,o[a]);if(v)for(var a of v(o))M.call(o,a)&&D(u,a,o[a]);return u},A=Object.create,_=Object.defineProperty,j=Object.getOwnPropertyDescriptor,C=Object.getOwnPropertyNames,I=Object.getPrototypeOf,T=Object.prototype.hasOwnProperty,N=(u,o,a)=>o in u?_(u,o,{enumerable:!0,configurable:!0,writable:!0,value:a}):u[o]=a,k=(u,o)=>{for(var a in o)_(u,a,{get:o[a],enumerable:!0})},E=(u,o,a,e)=>{if(o&&typeof o=="object"||typeof o=="function")for(let t of C(o))!T.call(u,t)&&t!==a&&_(u,t,{get:()=>o[t],enumerable:!(e=j(o,t))||e.enumerable});return u},L=(u,o,a)=>(a=u!=null?A(I(u)):{},E(o||!u||!u.__esModule?_(a,"default",{value:u,enumerable:!0}):a,u)),K=u=>E(_({},"__esModule",{value:!0}),u),c=(u,o,a)=>(N(u,typeof o!="symbol"?o+"":o,a),a),g={};k(g,{default:()=>b}),V.exports=K(g);var w=L(h(67294)),O=h(35457),f=h(58279);const B="https://api.dmcdn.net/all.js",P="DM",p="dmAsyncInit";class b extends w.Component{constructor(){super(...arguments),c(this,"callPlayer",O.callPlayer),c(this,"onDurationChange",()=>{const o=this.getDuration();this.props.onDuration(o)}),c(this,"mute",()=>{this.callPlayer("setMuted",!0)}),c(this,"unmute",()=>{this.callPlayer("setMuted",!1)}),c(this,"ref",o=>{this.container=o})}componentDidMount(){this.props.onMount&&this.props.onMount(this)}load(o){const{controls:a,config:e,onError:t,playing:r}=this.props,[,n]=o.match(f.MATCH_URL_DAILYMOTION);if(this.player){this.player.load(n,{start:(0,O.parseStartTime)(o),autoplay:r});return}(0,O.getSDK)(B,P,p,i=>i.player).then(i=>{if(!this.container)return;const l=i.player;this.player=new l(this.container,{width:"100%",height:"100%",video:n,params:R({controls:a,autoplay:this.props.playing,mute:this.props.muted,start:(0,O.parseStartTime)(o),origin:window.location.origin},e.params),events:{apiready:this.props.onReady,seeked:()=>this.props.onSeek(this.player.currentTime),video_end:this.props.onEnded,durationchange:this.onDurationChange,pause:this.props.onPause,playing:this.props.onPlay,waiting:this.props.onBuffer,error:s=>t(s)}})},t)}play(){this.callPlayer("play")}pause(){this.callPlayer("pause")}stop(){}seekTo(o,a=!0){this.callPlayer("seek",o),a||this.pause()}setVolume(o){this.callPlayer("setVolume",o)}getDuration(){return this.player.duration||null}getCurrentTime(){return this.player.currentTime}getSecondsLoaded(){return this.player.bufferedTime}render(){const{display:o}=this.props,a={width:"100%",height:"100%",display:o};return w.default.createElement("div",{style:a},w.default.createElement("div",{ref:this.ref}))}}c(b,"displayName","DailyMotion"),c(b,"canPlay",f.canPlay.dailymotion),c(b,"loopOnEnded",!0)}),65134:(function(V,S,h){"use strict";function d(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?d=function(r){return typeof r}:d=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},d(e)}Object.defineProperty(S,"__esModule",{value:!0}),S.default=void 0;var v=R(h(67294)),m=h(56281),M=h(99790);function D(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return D=function(){return e},e}function R(e){if(e&&e.__esModule)return e;if(e===null||d(e)!=="object"&&typeof e!="function")return{default:e};var t=D();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var l=n?Object.getOwnPropertyDescriptor(e,i):null;l&&(l.get||l.set)?Object.defineProperty(r,i,l):r[i]=e[i]}return r.default=e,t&&t.set(e,r),r}function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
1t%2?A(Object(r),!0).forEach(function(n){p(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function j(e,t){return k(e)||N(e,t)||I(e,t)||C()}function C(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function I(e,t){if(e){if(typeof e=="string")return T(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return T(e,t)}}function T(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function N(e,t){if(!(typeof Symbol=="undefined"||!(Symbol.iterator in Object(e)))){var r=[],n=!0,i=!1,l=void 0;try{for(var s=e[Symbol.iterator](),y;!(n=(y=s.next()).done)&&(r.push(y.value),!(t&&r.length===t));n=!0);}catch(U){i=!0,l=U}finally{try{!n&&s.return!=null&&s.return()}finally{if(i)throw l}}return r}}function k(e){if(Array.isArray(e))return e}function E(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function K(e,t,r){return t&&L(e.prototype,t),r&&L(e,r),e}function c(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},g(e,t)}function w(e){var t=B();return function(){var n=P(e),i;if(t){var l=P(this).constructor;i=Reflect.construct(n,arguments,l)}else i=n.apply(this,arguments);return O(this,i)}}function O(e,t){return t&&(d(t)==="object"||typeof t=="function")?t:f(e)}function f(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function P(e){return P=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},P(e)}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var b="https://api.dmcdn.net/all.js",u="DM",o="dmAsyncInit",a=(function(e){c(r,e);var t=w(r);function r(){var n;E(this,r);for(var i=arguments.length,l=new Array(i),s=0;s<i;s++)l[s]=arguments[s];return n=t.call.apply(t,[this].concat(l)),p(f(n),"callPlayer",m.callPlayer),p(f(n),"onDurationChange",function(){var y=n.getDuration();n.props.onDuration(y)}),p(f(n),"mute",function(){n.callPlayer("setMuted",!0)}),p(f(n),"unmute",function(){n.callPlayer("setMuted",!1)}),p(f(n),"ref",function(y){n.container=y}),n}return K(r,[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(i){var l=this,s=this.props,y=s.controls,U=s.config,W=s.onError,G=s.playing,Y=i.match(M.MATCH_URL_DAILYMOTION),$=j(Y,2),H=$[1];if(this.player){this.player.load(H,{start:(0,m.parseStartTime)(i),autoplay:G});return}(0,m.getSDK)(b,u,o,function(x){return x.player}).then(function(x){if(l.container){var z=x.player;l.player=new z(l.container,{width:"100%",height:"100%",video:H,params:_({controls:y,autoplay:l.props.playing,mute:l.props.muted,start:(0,m.parseStartTime)(i),origin:window.location.origin},U.params),events:{apiready:l.props.onReady,seeked:function(){return l.props.onSeek(l.player.currentTime)},video_end:l.props.onEnded,durationchange:l.onDurationChange,pause:l.props.onPause,playing:l.props.onPlay,waiting:l.props.onBuffer,error:function(J){return W(J)}}})}},W)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(i){this.callPlayer("seek",i)}},{key:"setVolume",value:function(i){this.callPlayer("setVolume",i)}},{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 i=this.props.display,l={width:"100%",height:"100%",display:i};return v.default.createElement("div",{style:l},v.default.createElement("div",{ref:this.ref}))}}]),r})(v.Component);S.default=a,p(a,"displayName","DailyMotion"),p(a,"canPlay",M.canPlay.dailymotion),p(a,"loopOnEnded",!0)})}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.