(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;I0&&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;yv.length)&&(m=v.length);for(var T=0,H=new Array(m);T0&&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=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);oa.length)&&(d=a.length);for(var P=0,s=new Array(d);P1,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;v0?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;nc.length)&&(h=c.length);for(var p=0,l=new Array(h);pi.length)&&(a=i.length);for(var d=0,P=new Array(a);d2&&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;s1?P-1:0),c=1;c0&&arguments[0]!==void 0?arguments[0]:document.createElement("video"),a=/iPhone|iPod/.test(navigator.userAgent)===!1;return i.webkitSupportsPresentationMode&&typeof i.webkitSetPresentationMode=="function"&&a}}}]);