PageSourceSearch

https://hero-magazine.com/_next/static/chunks/6445-9f9fb4f9236ba81f.js

js hero-magazine.com collected 2026-10-02 02:53:50 UTC 41,538 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6445],{83864:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(25773),o=n(53782),i=n(27378),a=(n(23615),n(38944)),l=n(82617),u=(0,n(28291).Z)(i.createElement("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");var s=i.forwardRef((function(e,t){var n=e.alt,l=e.children,s=e.classes,c=e.className,f=e.component,p=void 0===f?"div":f,d=e.imgProps,y=e.sizes,h=e.src,m=e.srcSet,v=e.variant,b=void 0===v?"circle":v,g=(0,o.Z)(e,["alt","children","classes","className","component","imgProps","sizes","src","srcSet","variant"]),w=null,P=function(e){var t=e.src,n=e.srcSet,r=i.useState(!1),o=r[0],a=r[1];return i.useEffect((function(){if(t||n){a(!1);var e=!0,r=new Image;return r.src=t,r.srcSet=n,r.onload=function(){e&&a("loaded")},r.onerror=function(){e&&a("error")},function(){e=!1}}}),[t,n]),o}({src:h,srcSet:m}),O=h||m,_=O&&"error"!==P;return w=_?i.createElement("img",(0,r.Z)({alt:n,src:h,srcSet:m,sizes:y,className:s.img},d)):null!=l?l:O&&n?n[0]:i.createElement(u,{className:s.fallback}),i.createElement(p,(0,r.Z)({className:(0,a.Z)(s.root,s.system,s[b],c,!_&&s.colorDefault),ref:t},g),w)})),c=(0,l.Z)((function(e){return{root:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},colorDefault:{color:e.palette.background.default,backgroundColor:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600]},circle:{},circular:{},rounded:{borderRadius:e.shape.borderRadius},square:{borderRadius:0},img:{width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4},fallback:{width:"75%",height:"75%"}}}),{name:"MuiAvatar"})(s)},21857:function(e){"use strict";var t=function(e){return function(e){return!!e&&"object"===typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)};var n="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?u((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function o(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function i(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function a(e,t){try{return t in e}catch(n){return!1}}function l(e,t,n){var o={};return n.isMergeableObject(e)&&i(e).forEach((function(t){o[t]=r(e[t],n)})),i(t).forEach((function(i){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(a(e,i)&&n.isMergeableObject(t[i])?o[i]=function(e,t){if(!t.customMerge)return u;var n=t.customMerge(e);return"function"===typeof n?n:u}(i,n)(e[i],t[i],n):o[i]=r(t[i],n))})),o}function u(e,n,i){(i=i||{}).arrayMerge=i.arrayMerge||o,i.isMergeableObject=i.isMergeableObject||t,i.cloneUnlessOtherwiseSpecified=r;var a=Array.isArray(n);return a===Array.isArray(e)?a?i.arrayMerge(e,n,i):l(e,n,i):r(n,i)}u.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return u(e,n,t)}),{})};var s=u;e.exports=s},38203:function(e,t){var n,r,o;(function(){var i;i=function(){function e(e,t){var n,r;if(this.options={target:"instafeed",get:"popular",resolution:"thumbnail",sortBy:"none",links:!0,mock:!1,useHttp:!1},"object"===typeof e)for(n in e)r=e[n],this.options[n]=r;this.context=null!=t?t:this,this.unique=this._genKey()}return e.prototype.hasNext=function(){return"string"===typeof this.context.nextUrl&&this.context.nextUrl.length>0},e.prototype.next=function(){return!!this.hasNext()&&this.run(this.context.nextUrl)},e.prototype.run=function(t){var n,r;if("string"!==typeof this.options.clientId&&"string"!==typeof this.options.accessToken)throw new Error("Missing clientId or accessToken.");if("string"!==typeof this.options.accessToken&&"string"!==typeof this.options.clientId)throw new Error("Missing clientId or accessToken.");return null!=this.options.before&&"function"===typeof this.options.before&&this.options.before.call(this),"undefined"!==typeof document&&null!==document&&((r=document.createElement("script")).id="instafeed-fetcher",r.src=t||this._buildUrl(),document.getElementsByTagName("head")[0].appendChild(r),n="instafeedCache"+this.unique,window[n]=new e(this.options,this),window[n].unique=this.unique),!0},e.prototype.parse=function(e){var t,n,r,o,i,a,l,u,s,c,f,p,d,y,h,m,v,b,g,w,P,O,_,k,S,E,T,I;if("object"!==typeof e){if(null!=this.options.error&&"function"===typeof this.options.error)return this.options.error.call(this,"Invalid JSON data"),!1;throw new Error("Invalid JSON response")}if(200!==e.meta.code){if(null!=this.options.error&&"function"===typeof this.options.error)return this.options.error.call(this,e.meta.error_message),!1;throw new Error("Error from Instagram: "+e.meta.error_message)}if(0===e.data.length){if(null!=this.options.error&&"function"===typeof this.options.error)return this.options.error.call(this,"No images were returned from Instagram"),!1;throw new Error("No images were returned from Instagram")}if(null!=this.options.success&&"function"===typeof this.options.success&&this.options.success.call(this,e),this.context.nextUrl="",null!=e.pagination&&(this.context.nextUrl=e.pagination.next_url),"none"!==this.options.sortBy)switch(S="least"===(E="random"===this.options.sortBy?["","random"]:this.options.sortBy.split("-"))[0],E[1]){case"random":e.data.sort((function(){return.5-Math.random()}));break;
1case"recent":e.data=this._sortBy(e.data,"created_time",S);break;case"liked":e.data=this._sortBy(e.data,"likes.count",S);break;case"commented":e.data=this._sortBy(e.data,"comments.count",S);break;default:throw new Error("Invalid option for sortBy: '"+this.options.sortBy+"'.")}if("undefined"!==typeof document&&null!==document&&!1===this.options.mock){if(p=e.data,k=parseInt(this.options.limit,10),null!=this.options.limit&&p.length>k&&(p=p.slice(0,k)),a=document.createDocumentFragment(),null!=this.options.filter&&"function"===typeof this.options.filter&&(p=this._filter(p,this.options.filter)),null!=this.options.template&&"string"===typeof this.options.template){for(l="","","",I=document.createElement("div"),u=0,w=p.length;u<w;u++){if("object"!==typeof(c=(s=p[u]).images[this.options.resolution]))throw i="No image found for resolution: "+this.options.resolution+".",new Error(i);h="square",(m=c.width)>(y=c.height)&&(h="landscape"),m<y&&(h="portrait"),f=c.url,window.location.protocol.indexOf("http")>=0&&!this.options.useHttp&&(f=f.replace(/https?:\/\//,"//")),l+=this._makeTemplate(this.options.template,{model:s,id:s.id,link:s.link,type:s.type,image:f,width:m,height:y,orientation:h,caption:this._getObjectProperty(s,"caption.text"),likes:s.likes.count,comments:s.comments.count,location:this._getObjectProperty(s,"location.name")})}for(I.innerHTML=l,o=[],r=0,n=I.childNodes.length;r<n;)o.push(I.childNodes[r]),r+=1;for(b=0,P=o.length;b<P;b++)_=o[b],a.appendChild(_)}else for(g=0,O=p.length;g<O;g++){if(s=p[g],d=document.createElement("img"),"object"!==typeof(c=s.images[this.options.resolution]))throw i="No image found for resolution: "+this.options.resolution+".",new Error(i);f=c.url,window.location.protocol.indexOf("http")>=0&&!this.options.useHttp&&(f=f.replace(/https?:\/\//,"//")),d.src=f,!0===this.options.links?((t=document.createElement("a")).href=s.link,t.appendChild(d),a.appendChild(t)):a.appendChild(d)}if("string"===typeof(T=this.options.target)&&(T=document.getElementById(T)),null==T)throw i='No element with id="'+this.options.target+'" on page.',new Error(i);T.appendChild(a),document.getElementsByTagName("head")[0].removeChild(document.getElementById("instafeed-fetcher")),v="instafeedCache"+this.unique,window[v]=void 0;try{delete window[v]}catch(A){A}}return null!=this.options.after&&"function"===typeof this.options.after&&this.options.after.call(this),!0},e.prototype._buildUrl=function(){var e,t;switch("https://api.instagram.com/v1",this.options.get){case"popular":e="media/popular";break;case"tagged":if(!this.options.tagName)throw new Error("No tag name specified. Use the 'tagName' option.");e="tags/"+this.options.tagName+"/media/recent";break;case"location":if(!this.options.locationId)throw new Error("No location specified. Use the 'locationId' option.");e="locations/"+this.options.locationId+"/media/recent";break;case"user":if(!this.options.userId)throw new Error("No user specified. Use the 'userId' option.");e="users/"+this.options.userId+"/media/recent";break;default:throw new Error("Invalid option for get: '"+this.options.get+"'.")}return t="https://api.instagram.com/v1/"+e,null!=this.options.accessToken?t+="?access_token="+this.options.accessToken:t+="?client_id="+this.options.clientId,null!=this.options.limit&&(t+="&count="+this.options.limit),t+="&callback=instafeedCache"+this.unique+".parse"},e.prototype._genKey=function(){var e;return""+(e=function(){return(65536*(1+Math.random())|0).toString(16).substring(1)})()+e()+e()+e()},e.prototype._makeTemplate=function(e,t){var n,r,o,i,a;for(r=/(?:\{{2})([\w\[\]\.]+)(?:\}{2})/,n=e;r.test(n);)i=n.match(r)[1],a=null!=(o=this._getObjectProperty(t,i))?o:"",n=n.replace(r,(function(){return""+a}));return n},e.prototype._getObjectProperty=function(e,t){var n,r;for(r=(t=t.replace(/\[(\w+)\]/g,".$1")).split(".");r.length;){if(n=r.shift(),null==e||!(n in e))return null;e=e[n]}return e},e.prototype._sortBy=function(e,t,n){var r;return r=function(e,r){var o,i;return o=this._getObjectProperty(e,t),i=this._getObjectProperty(r,t),n?o>i?1:-1:o<i?1:-1},e.sort(r.bind(this)),e},e.prototype._filter=function(e,t){var n,r,o,i;for(n=[],r=function(e){if(t(e))return n.push(e)},o=0,i=e.length;o<i;o++)r(e[o]);return n},e}(),r=[],void 0===(o="function"===typeof(n=function(){return i})?n.apply(t,r):n)||(e.exports=o)}).call(this)},1204:function(e){function t(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function n(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,r,o){var i=document.head||document.getElementsByTagName("head")[0],a=document.createElement("script");"function"===typeof r&&(o=r,r={}),r=r||{},o=o||function(){},a.type=r.type||"text/javascript",a.charset=r.charset||"utf8",a.async=!("async"in r)||!!r.async,a.src=e,r.attrs&&function(e,t){for(var n in t)e.setAttribute(n,t[n])}(a,r.attrs),r.text&&(a.text=""+r.text),("onload"in a?t:n)(a,o),a.onload||t(a,o),i.appendChild(a)}},56583:function(e,t,n){"use strict";function r(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}n.r(t),t.default=function(e,t){var n;void 0===t&&(t=r);var o,i=[],a=!1;return function(){for(var r=[],l=0;l<arguments.length;l++)r[l]=arguments[l];return a&&n===this&&t(r,i)||(o=e.apply(this,r),a=!0,n=this,i=r),o}}},54335:function(e){var t="undefined"!==typeof Element,n="function"===typeof Map,r="function"===typeof Set,o="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,a){if(e===a)return!0;
1if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var l,u,s,c;if(Array.isArray(e)){if((l=e.length)!=a.length)return!1;for(u=l;0!==u--;)if(!i(e[u],a[u]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(c=e.entries();!(u=c.next()).done;)if(!a.has(u.value[0]))return!1;for(c=e.entries();!(u=c.next()).done;)if(!i(u.value[1],a.get(u.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(c=e.entries();!(u=c.next()).done;)if(!a.has(u.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((l=e.length)!=a.length)return!1;for(u=l;0!==u--;)if(e[u]!==a[u])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===a.toString();if((l=(s=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(u=l;0!==u--;)if(!Object.prototype.hasOwnProperty.call(a,s[u]))return!1;if(t&&e instanceof Element)return!1;for(u=l;0!==u--;)if(("_owner"!==s[u]&&"__v"!==s[u]&&"__o"!==s[u]||!e.$$typeof)&&!i(e[s[u]],a[s[u]]))return!1;return!0}return e!==e&&a!==a}e.exports=function(e,t){try{return i(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},46595:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(27378),o=[0];function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}function a(e){var t,n=function(e){var t,n,i=null!=(t=null==e?void 0:e.rootMargin)?t:"0px",a=null!=(n=null==e?void 0:e.threshold)?n:o,l=(0,r.useRef)(null),u=(0,r.useRef)(null),s=(0,r.useRef)(null),c=(0,r.useState)(),f=c[0],p=c[1],d=(0,r.useCallback)((function(){var e=s.current;null==e||e.disconnect(),s.current=null}),[]),y=(0,r.useCallback)((function(){var e=l.current;if(e){var t=u.current,n=new IntersectionObserver((function(e){var t=e[0];p(t)}),{root:t,rootMargin:i,threshold:a});n.observe(e),s.current=n}}),[i,a]),h=(0,r.useCallback)((function(){d(),y()}),[y,d]),m=(0,r.useCallback)((function(e){l.current=e,h()}),[h]),v=(0,r.useCallback)((function(e){u.current=e,h()}),[h]);return(0,r.useEffect)((function(){return h(),function(){d()}}),[h,d]),[m,{entry:f,rootRef:v}]}(e),a=n[0],l=n[1],u=Boolean(null==(t=l.entry)?void 0:t.isIntersecting),s=(0,r.useState)(u),c=s[0],f=s[1];return(0,r.useEffect)((function(){u&&f(u)}),[u]),[a,i({},l,{isVisible:u,wasEverVisible:c})]}var l=function(e){var t=e.loading,n=e.hasNextPage,o=e.onLoadMore,i=e.rootMargin,l=e.disabled,u=e.delayInMs,s=void 0===u?100:u,c=a({rootMargin:i}),f=c[0],p=c[1],d=p.rootRef,y=p.isVisible,h=!l&&!t&&y&&n;return(0,r.useEffect)((function(){if(h){var e=setTimeout((function(){o()}),s);return function(){clearTimeout(e)}}}),[o,h,s]),[f,{rootRef:d}]}},79026:function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=u();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(27378)),a=(o=n(54335))&&o.__esModule?o:{default:o},l=n(13208);function u(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return u=function(){return e},e}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}
1function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function d(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=function(e){!function(e,t){if("function"!==typeof t&&null!==t)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&&p(e,t)}(l,e);var t,n,r,o=d(l);function l(){var e;c(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(h(e=o.call.apply(o,[this].concat(n))),"mounted",!1),v(h(e),"isReady",!1),v(h(e),"isPlaying",!1),v(h(e),"isLoading",!0),v(h(e),"loadOnReady",null),v(h(e),"startOnPlay",!0),v(h(e),"seekOnPlay",null),v(h(e),"onDurationCalled",!1),v(h(e),"handlePlayerMount",(function(t){e.player=t,e.player.load(e.props.url),e.progress()})),v(h(e),"getInternalPlayer",(function(t){return e.player?e.player[t]:null})),v(h(e),"progress",(function(){if(e.props.url&&e.player&&e.isReady){var t=e.getCurrentTime()||0,n=e.getSecondsLoaded(),r=e.getDuration();if(r){var o={playedSeconds:t,played:t/r};null!==n&&(o.loadedSeconds=n,o.loaded=n/r),o.playedSeconds===e.prevPlayed&&o.loadedSeconds===e.prevLoaded||e.props.onProgress(o),e.prevPlayed=o.playedSeconds,e.prevLoaded=o.loadedSeconds}}e.progressTimeout=setTimeout(e.progress,e.props.progressFrequency||e.props.progressInterval)})),v(h(e),"handleReady",(function(){if(e.mounted){e.isReady=!0,e.isLoading=!1;var t=e.props,n=t.onReady,r=t.playing,o=t.volume,i=t.muted;n(),i||null===o||e.player.setVolume(o),e.loadOnReady?(e.player.load(e.loadOnReady,!0),e.loadOnReady=null):r&&e.player.play(),e.handleDurationCheck()}})),v(h(e),"handlePlay",(function(){e.isPlaying=!0,e.isLoading=!1;var t=e.props,n=t.onStart,r=t.onPlay,o=t.playbackRate;e.startOnPlay&&(e.player.setPlaybackRate&&1!==o&&e.player.setPlaybackRate(o),n(),e.startOnPlay=!1),r(),e.seekOnPlay&&(e.seekTo(e.seekOnPlay),e.seekOnPlay=null),e.handleDurationCheck()})),v(h(e),"handlePause",(function(t){e.isPlaying=!1,e.isLoading||e.props.onPause(t)})),v(h(e),"handleEnded",(function(){var t=e.props,n=t.activePlayer,r=t.loop,o=t.onEnded;n.loopOnEnded&&r&&e.seekTo(0),r||(e.isPlaying=!1,o())})),v(h(e),"handleError",(function(){var t;e.isLoading=!1,(t=e.props).onError.apply(t,arguments)})),v(h(e),"handleDurationCheck",(function(){clearTimeout(e.durationCheckTimeout);var t=e.getDuration();t?e.onDurationCalled||(e.props.onDuration(t),e.onDurationCalled=!0):e.durationCheckTimeout=setTimeout(e.handleDurationCheck,100)})),v(h(e),"handleLoaded",(function(){e.isLoading=!1})),e}return t=l,n=[{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(e){var t=this;if(this.player){var n=this.props,r=n.url,o=n.playing,i=n.volume,l=n.muted,u=n.playbackRate,s=n.pip,c=n.loop,f=n.activePlayer;if(!(0,a.default)(e.url,r)){if(this.isLoading&&!f.forceLoad)return console.warn("ReactPlayer: the attempt to load ".concat(r," is being deferred until the player has loaded")),void(this.loadOnReady=r);this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(r,this.isReady)}e.playing||!o||this.isPlaying||this.player.play(),e.playing&&!o&&this.isPlaying&&this.player.pause(),!e.pip&&s&&this.player.enablePIP&&this.player.enablePIP(
1),e.pip&&!s&&this.player.disablePIP&&this.player.disablePIP(),e.volume!==i&&null!==i&&this.player.setVolume(i),e.muted!==l&&(l?this.player.mute():(this.player.unmute(),null!==i&&setTimeout((function(){return t.player.setVolume(i)})))),e.playbackRate!==u&&this.player.setPlaybackRate&&this.player.setPlaybackRate(u),e.loop!==c&&this.player.setLoop&&this.player.setLoop(c)}}},{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(e,t){var n=this;if(!this.isReady&&0!==e)return this.seekOnPlay=e,void setTimeout((function(){n.seekOnPlay=null}),5e3);if(t?"fraction"===t:e>0&&e<1){var r=this.player.getDuration();return r?void this.player.seekTo(r*e):void console.warn("ReactPlayer: could not seek using fraction \u2013\xa0duration not yet available")}this.player.seekTo(e)}},{key:"render",value:function(){var e=this.props.activePlayer;return e?i.default.createElement(e,s({},this.props,{onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}],n&&f(t.prototype,n),r&&f(t,r),l}(i.Component);t.default=b,v(b,"displayName","Player"),v(b,"propTypes",l.propTypes),v(b,"defaultProps",l.defaultProps)},93698:function(e,t,n){"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.createReactPlayer=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!==typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(27378)),i=f(n(21857)),a=f(n(56583)),l=f(n(54335)),u=n(13208),s=n(92694),c=f(n(79026));function f(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return p=function(){return e},e}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){S(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(){return h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},h.apply(this,arguments)}function m(e){return function(e){if(Array.isArray(e))return v(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}
1function w(e,t){return w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},w(e,t)}function P(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var o=k(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O(this,n)}}function O(e,t){return!t||"object"!==r(t)&&"function"!==typeof t?_(e):t}function _(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=(0,o.lazy)((function(){return n.e(7664).then(n.bind(n,33102))})),T="undefined"!==typeof window&&window.document,I="undefined"!==typeof n.g&&n.g.window&&n.g.window.document,A=Object.keys(u.propTypes),j=T||I?o.Suspense:function(){return null},C=[];t.createReactPlayer=function(e,t){var n,r;return r=n=function(n){!function(e,t){if("function"!==typeof t&&null!==t)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&&w(e,t)}(v,n);var r,f,p,d=P(v);function v(){var n;b(this,v);for(var r=arguments.length,l=new Array(r),f=0;f<r;f++)l[f]=arguments[f];return S(_(n=d.call.apply(d,[this].concat(l))),"state",{showPreview:!!n.props.light}),S(_(n),"references",{wrapper:function(e){n.wrapper=e},player:function(e){n.player=e}}),S(_(n),"handleClickPreview",(function(e){n.setState({showPreview:!1}),n.props.onClickPreview(e)})),S(_(n),"showPreview",(function(){n.setState({showPreview:!0})})),S(_(n),"getDuration",(function(){return n.player?n.player.getDuration():null})),S(_(n),"getCurrentTime",(function(){return n.player?n.player.getCurrentTime():null})),S(_(n),"getSecondsLoaded",(function(){return n.player?n.player.getSecondsLoaded():null})),S(_(n),"getInternalPlayer",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"player";return n.player?n.player.getInternalPlayer(e):null})),S(_(n),"seekTo",(function(e,t){if(!n.player)return null;n.player.seekTo(e,t)})),S(_(n),"handleReady",(function(){n.props.onReady(_(n))})),S(_(n),"getActivePlayer",(0,a.default)((function(n){for(var r=0,o=[].concat(C,m(e));r<o.length;r++){var i=o[r];if(i.canPlay(n))return i}return t||null}))),S(_(n),"getConfig",(0,a.default)((function(e,t){var r=n.props.config;return i.default.all([u.defaultProps.config,u.defaultProps.config[t]||{},r,r[t]||{}])}))),S(_(n),"getAttributes",(0,a.default)((function(e){return(0,s.omit)(n.props,A)}))),S(_(n),"renderActivePlayer",(function(e){if(!e)return null;var t=n.getActivePlayer(e);if(!t)return null;var r=n.getConfig(e,t.key);return o.default.createElement(c.default,h({},n.props,{key:t.key,ref:n.references.player,config:r,activePlayer:t.lazyPlayer||t,onReady:n.handleReady}))})),n}return r=v,f=[{key:"shouldComponentUpdate",value:function(e,t){return!(0,l.default)(this.props,e)||!(0,l.default)(this.state,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props.light;!e.light&&t&&this.setState({showPreview:!0}),e.light&&!t&&this.setState({showPreview:!1})}},{key:"renderPreview",value:function(e){if(!e)return null;var t=this.props,n=t.light,r=t.playIcon,i=t.previewTabIndex;return o.default.createElement(E,{url:e,light:n,playIcon:r,previewTabIndex:i,onClick:this.handleClickPreview})}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.style,r=e.width,i=e.height,a=e.fallback,l=e.wrapper,u=this.state.showPreview,s=this.getAttributes(t);return o.default.createElement(l,h({ref:this.references.wrapper,style:y(y({},n),{},{width:r,height:i})},s),o.default.createElement(j,{fallback:a},u?this.renderPreview(t):this.renderActivePlayer(t)))}}],f&&g(r.prototype,f),p&&g(r,p),v}
1(o.Component),S(n,"displayName","ReactPlayer"),S(n,"propTypes",u.propTypes),S(n,"defaultProps",u.defaultProps),S(n,"addCustomPlayer",(function(e){C.push(e)})),S(n,"removeCustomPlayers",(function(){C.length=0})),S(n,"canPlay",(function(t){for(var n=0,r=[].concat(C,m(e));n<r.length;n++){if(r[n].canPlay(t))return!0}return!1})),S(n,"canEnablePIP",(function(t){for(var n=0,r=[].concat(C,m(e));n<r.length;n++){var o=r[n];if(o.canEnablePIP&&o.canEnablePIP(t))return!0}return!1})),r}},88821:function(e,t,n){"use strict";t.Z=void 0;var r,o=(r=n(19736))&&r.__esModule?r:{default:r},i=n(93698);var a=o.default[o.default.length-1],l=(0,i.createReactPlayer)(o.default,a);t.Z=l},8423:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canPlay=t.FLV_EXTENSIONS=t.DASH_EXTENSIONS=t.HLS_EXTENSIONS=t.VIDEO_EXTENSIONS=t.AUDIO_EXTENSIONS=t.MATCH_URL_KALTURA=t.MATCH_URL_VIDYARD=t.MATCH_URL_MIXCLOUD=t.MATCH_URL_DAILYMOTION=t.MATCH_URL_TWITCH_CHANNEL=t.MATCH_URL_TWITCH_VIDEO=t.MATCH_URL_WISTIA=t.MATCH_URL_STREAMABLE=t.MATCH_URL_FACEBOOK_WATCH=t.MATCH_URL_FACEBOOK=t.MATCH_URL_VIMEO=t.MATCH_URL_SOUNDCLOUD=t.MATCH_URL_YOUTUBE=void 0;var r=n(92694);function o(e,t){var n;if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return l=e.done,e},e:function(e){u=!0,a=e},f:function(){try{l||null==n.return||n.return()}finally{if(u)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var a=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//;t.MATCH_URL_YOUTUBE=a;var l=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/;t.MATCH_URL_SOUNDCLOUD=l;var u=/vimeo\.com\/.+/;t.MATCH_URL_VIMEO=u;var s=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;t.MATCH_URL_FACEBOOK=s;var c=/^https?:\/\/fb\.watch\/.+$/;t.MATCH_URL_FACEBOOK_WATCH=c;var f=/streamable\.com\/([a-z0-9]+)$/;t.MATCH_URL_STREAMABLE=f;var p=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?(.*)$/;t.MATCH_URL_WISTIA=p;var d=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;t.MATCH_URL_TWITCH_VIDEO=d;var y=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/;t.MATCH_URL_TWITCH_CHANNEL=y;var h=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?$/;t.MATCH_URL_DAILYMOTION=h;var m=/mixcloud\.com\/([^/]+\/[^/]+)/;t.MATCH_URL_MIXCLOUD=m;var v=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-]+)/;t.MATCH_URL_VIDYARD=v;var b=/^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-_]+)$/;t.MATCH_URL_KALTURA=b;var g=/\.(m4a|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;t.AUDIO_EXTENSIONS=g;var w=/\.(mp4|og[gv]|webm|mov|m4v)($|\?)/i;t.VIDEO_EXTENSIONS=w;var P=/\.(m3u8)($|\?)/i;t.HLS_EXTENSIONS=P;var O=/\.(mpd)($|\?)/i;t.DASH_EXTENSIONS=O;var _=/\.(flv)($|\?)/i;t.FLV_EXTENSIONS=_;var k={youtube:function(e){return e instanceof Array?e.every((function(e){return a.test(e)})):a.test(e)},soundcloud:function(e){return l.test(e)&&!g.test(e)},vimeo:function(e){return u.test(e)&&!w.test(e)&&!P.test(e)},facebook:function(e){return s.test(e)||c.test(e)},streamable:function(e){return f.test(e)},wistia:function(e){return p.test(e)},twitch:function(e){return d.test(e)||y.test(e)},dailymotion:function(e){return h.test(e)},mixcloud:function(e){return m.test(e)},vidyard:function(e){return v.test(e)},kaltura:function(e){return b.test(e)},file:function e(t){if(t instanceof Array){var n,i=o(t);try{for(i.s();!(n=i.n()).done;){var a=n.value;
1if("string"===typeof a&&e(a))return!0;if(e(a.src))return!0}}catch(l){i.e(l)}finally{i.f()}return!1}return!(!(0,r.isMediaStream)(t)&&!(0,r.isBlobUrl)(t))||(g.test(t)||w.test(t)||P.test(t)||O.test(t)||_.test(t))}};t.canPlay=k},19736:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(27378),o=n(92694),i=n(8423),a=[{key:"youtube",name:"YouTube",canPlay:i.canPlay.youtube,lazyPlayer:(0,r.lazy)((function(){return n.e(4439).then(n.bind(n,58883))}))},{key:"soundcloud",name:"SoundCloud",canPlay:i.canPlay.soundcloud,lazyPlayer:(0,r.lazy)((function(){return n.e(6125).then(n.bind(n,94638))}))},{key:"vimeo",name:"Vimeo",canPlay:i.canPlay.vimeo,lazyPlayer:(0,r.lazy)((function(){return n.e(3743).then(n.bind(n,47779))}))},{key:"facebook",name:"Facebook",canPlay:i.canPlay.facebook,lazyPlayer:(0,r.lazy)((function(){return n.e(2121).then(n.bind(n,49002))}))},{key:"streamable",name:"Streamable",canPlay:i.canPlay.streamable,lazyPlayer:(0,r.lazy)((function(){return n.e(2546).then(n.bind(n,38972))}))},{key:"wistia",name:"Wistia",canPlay:i.canPlay.wistia,lazyPlayer:(0,r.lazy)((function(){return n.e(8055).then(n.bind(n,36))}))},{key:"twitch",name:"Twitch",canPlay:i.canPlay.twitch,lazyPlayer:(0,r.lazy)((function(){return n.e(6216).then(n.bind(n,10535))}))},{key:"dailymotion",name:"DailyMotion",canPlay:i.canPlay.dailymotion,lazyPlayer:(0,r.lazy)((function(){return n.e(7596).then(n.bind(n,45491))}))},{key:"mixcloud",name:"Mixcloud",canPlay:i.canPlay.mixcloud,lazyPlayer:(0,r.lazy)((function(){return n.e(4667).then(n.bind(n,45419))}))},{key:"vidyard",name:"Vidyard",canPlay:i.canPlay.vidyard,lazyPlayer:(0,r.lazy)((function(){return n.e(3965).then(n.bind(n,62862))}))},{key:"kaltura",name:"Kaltura",canPlay:i.canPlay.kaltura,lazyPlayer:(0,r.lazy)((function(){return n.e(261).then(n.bind(n,14030))}))},{key:"file",name:"FilePlayer",canPlay:i.canPlay.file,canEnablePIP:function(e){return i.canPlay.file(e)&&(document.pictureInPictureEnabled||(0,o.supportsWebKitPresentationMode)())&&!i.AUDIO_EXTENSIONS.test(e)},lazyPlayer:(0,r.lazy)((function(){return n.e(6011).then(n.bind(n,35152))}))}];t.default=a},13208:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultProps=t.propTypes=void 0;var r,o=(r=n(23615))&&r.__esModule?r:{default:r};var i=o.default.string,a=o.default.bool,l=o.default.number,u=o.default.array,s=o.default.oneOfType,c=o.default.shape,f=o.default.object,p=o.default.func,d=o.default.node,y={url:s([i,u,f]),playing:a,loop:a,controls:a,volume:l,muted:a,playbackRate:l,width:s([i,l]),height:s([i,l]),style:f,progressInterval:l,playsinline:a,pip:a,stopOnUnmount:a,light:s([a,i]),playIcon:d,previewTabIndex:l,fallback:d,wrapper:s([i,p,c({render:p.isRequired})]),config:c({soundcloud:c({options:f}),youtube:c({playerVars:f,embedOptions:f,onUnstarted:p}),facebook:c({appId:i,version:i,playerId:i,attributes:f}),dailymotion:c({params:f}),vimeo:c({playerOptions:f}),file:c({attributes:f,tracks:u,forceVideo:a,forceAudio:a,forceHLS:a,forceDASH:a,forceFLV:a,hlsOptions:f,hlsVersion:i,dashVersion:i,flvVersion:i}),wistia:c({options:f,playerId:i,customControls:u}),mixcloud:c({options:f}),twitch:c({options:f,playerId:i}),vidyard:c({options:f})}),onReady:p,onStart:p,onPlay:p,onPause:p,onBuffer:p,onBufferEnd:p,onEnded:p,onError:p,onDuration:p,onSeek:p,onProgress:p,onClickPreview:p,onEnablePIP:p,onDisablePIP:p};t.propTypes=y;var h=function(){},m={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,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:h},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}},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,forceFLV:!1,hlsOptions:{},hlsVersion:"0.14.16",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:h,onStart:h,onPlay:h,onPause:h,onBuffer:h,onBufferEnd:h,onEnded:h,onError:h,onDuration:h,onSeek:h,onProgress:h,onClickPreview:h,onEnablePIP:h,onDisablePIP:h};t.defaultProps=m},92694:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.parseStartTime=function(e){return p(e,u)},t.parseEndTime=function(e){return p(e,s)},t.randomString=function(){return Math.random().toString(36).substr(2,5)},t.queryString=function(e){return Object.keys(e).map((function(t){return"".concat(t,"=").concat(e[t])})).join("&")},t.getSDK=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){return!0},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:r.default,a=d(t);if(a&&o(a))return Promise.resolve(a);return new Promise((function(r,o){if(y[e])y[e].push({resolve:r,reject:o});else{y[e]=[{resolve:r,reject:o}];var a=function(t){y[e].forEach((function(e){return e.resolve(t)}))};if(n){var l=window[n];window[n]=function(){l&&l(),a(d(t))}}i(e,(function(r){r?(y[e].forEach((function(e){return e.reject(r)})),y[e]=null):n||a(d(t))}))}}))},t.getConfig=function(e,t){return(0,o.default)(t.config,e.config)},t.omit=function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(var i=(t=[]).concat.apply(t,r),a={},l=Object.keys(e),u=0,s=l;u<s.length;u++){var c=s[u];-1===i.indexOf(c)&&(a[c]=e[c])}return a},t.callPlayer=function(e){var t;if(!this.player||!this.player[e]){var n="ReactPlayer: ".concat(this.constructor.displayName," player could not call %c").concat(e,"%c \u2013 ");return this.player?this.player[e]||(n+="The method was not available"):n+="The player was not available",console.warn(n,"font-weight: bold",""),null}for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return(t=this.player)[e].apply(t,o)},t.isMediaStream=function(e){return"undefined"!==typeof window&&"undefined"!==typeof window.MediaStream&&e instanceof window.MediaStream},t.isBlobUrl=function(e){return/^blob:/.test(e)},t.supportsWebKitPresentationMode=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.createElement("video"),t=!1===/iPhone|iPod/.test(navigator.userAgent);return e.webkitSupportsPresentationMode&&"function"===typeof e.webkitSetPresentationMode&&t};var r=i(n(1204)),o=i(n(21857));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"===typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u=/[?&#](?:start|t)=([0-9hms]+)/,s=/[?&#]end=([0-9hms]+)/,c=/(\d+)(h|m|s)/g,f=/^\d+$/;function p(e,t){if(!(e instanceof Array)){var n=e.match(t);if(n){var r=n[1];if(r.match(c))return function(e){var t=0,n=c.exec(e);for(;null!==n;){var r=a(n,3),o=r[1],i=r[2];"h"===i&&(t+=60*parseInt(o,10)*60),"m"===i&&(t+=60*parseInt(o,10)),"s"===i&&(t+=parseInt(o,10)),n=c.exec(e)}return t}(r);if(f.test(r))return parseInt(r)}}}function d(e){return window[e]?window[e]:window.exports&&window.exports[e]?window.exports[e]:window.module&&window.module.exports&&window.module.exports[e]?window.module.exports[e]:null}var y={}}}]);

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.