PageSourceSearch

https://www.clevelandart.org/_next/static/chunks/reactPlayerFilePlayer.1e99fd03e8c07047.js

js clevelandart.org collected 2026-10-01 08:16:36 UTC 32,617 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7458],{24627: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(Error("Failed to load "+this.src),e)}}e.exports=function(e,r,s){var n=document.head||document.getElementsByTagName("head")[0],i=document.createElement("script");"function"==typeof r&&(s=r,r={}),s=s||function(){},i.type=(r=r||{}).type||"text/javascript",i.charset=r.charset||"utf8",i.async=!("async"in r)||!!r.async,i.src=e,r.attrs&&function(e,t){for(var r in t)e.setAttribute(r,t[r])}(i,r.attrs),r.text&&(i.text=""+r.text),("onload"in i?t:function(e,t){e.onreadystatechange=function(){("complete"==this.readyState||"loaded"==this.readyState)&&(this.onreadystatechange=null,t(null,e))}})(i,s),i.onload||t(i,s),n.appendChild(i)}},24657:(e,t,r)=>{var s=Object.create,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,a=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(e,t,r,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of o(t))l.call(e,a)||a===r||n(e,a,{get:()=>t[a],enumerable:!(s=i(t,a))||s.enumerable});return e},c=(e,t,r)=>(r=null!=e?s(a(e)):{},u(!t&&e&&e.__esModule?r:n(r,"default",{value:e,enumerable:!0}),e)),h={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(h,{callPlayer:()=>j,getConfig:()=>M,getSDK:()=>_,isBlobUrl:()=>R,isMediaStream:()=>T,lazy:()=>y,omit:()=>I,parseEndTime:()=>P,parseStartTime:()=>w,queryString:()=>O,randomString:()=>S,supportsWebKitPresentationMode:()=>U}),e.exports=u(n({},"__esModule",{value:!0}),h);var p=c(r(14232)),d=c(r(24627)),f=c(r(94410));let y=e=>p.default.lazy(async()=>{let t=await e();return"function"==typeof t.default?t:t.default}),m=/[?&#](?:start|t)=([0-9hms]+)/,b=/[?&#]end=([0-9hms]+)/,v=/(\d+)(h|m|s)/g,g=/^\d+$/;function E(e,t){if(e instanceof Array)return;let r=e.match(t);if(r){let e=r[1];if(e.match(v)){var s=e;let t=0,r=v.exec(s);for(;null!==r;){let[,e,n]=r;"h"===n&&(t+=60*parseInt(e,10)*60),"m"===n&&(t+=60*parseInt(e,10)),"s"===n&&(t+=parseInt(e,10)),r=v.exec(s)}return t}if(g.test(e))return parseInt(e)}}function w(e){return E(e,m)}function P(e){return E(e,b)}function S(){return Math.random().toString(36).substr(2,5)}function O(e){return Object.keys(e).map(t=>`${t}=${e[t]}`).join("&")}function L(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}let A={},_=function(e,t,r=null,s=()=>!0,n=d.default){let i=L(t);return i&&s(i)?Promise.resolve(i):new Promise((s,i)=>{if(A[e])return void A[e].push({resolve:s,reject:i});A[e]=[{resolve:s,reject:i}];let o=t=>{A[e].forEach(e=>e.resolve(t))};if(r){let e=window[r];window[r]=function(){e&&e(),o(L(t))}}n(e,s=>{s?(A[e].forEach(e=>e.reject(s)),A[e]=null):r||o(L(t))})})};function M(e,t){return(0,f.default)(t.config,e.config)}function I(e,...t){let r=[].concat(...t),s={};for(let t of Object.keys(e))-1===r.indexOf(t)&&(s[t]=e[t]);return s}function j(e,...t){if(!this.player||!this.player[e]){let t=`ReactPlayer: ${this.constructor.displayName} player could not call %c${e}%c \u2013 `;return this.player?this.player[e]||(t+="The method was not available"):t+="The player was not available",console.warn(t,"font-weight: bold",""),null}return this.player[e](...t)}function T(e){return"undefined"!=typeof window&&void 0!==window.MediaStream&&e instanceof window.MediaStream}function R(e){return/^blob:/.test(e)}function U(e=document.createElement("video")){let t=!1===/iPhone|iPod/.test(navigator.userAgent);return e.webkitSupportsPresentationMode&&"function"==typeof e.webkitSetPresentationMode&&t}},26545:(e,t,r)=>{var s=Object.create,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,a=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(e,t,r,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of o(t))l.call(e,a)||a===r||n(e,a,{get:()=>t[a],enumerable:!(s=i(t,a))||s.enumerable});return e},c=(e,t,r)=>(r=null!=e?s(a(e)):{}
1,u(!t&&e&&e.__esModule?r:n(r,"default",{value:e,enumerable:!0}),e)),h={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(h,{callPlayer:()=>j,getConfig:()=>M,getSDK:()=>_,isBlobUrl:()=>R,isMediaStream:()=>T,lazy:()=>y,omit:()=>I,parseEndTime:()=>P,parseStartTime:()=>w,queryString:()=>O,randomString:()=>S,supportsWebKitPresentationMode:()=>U}),e.exports=u(n({},"__esModule",{value:!0}),h);var p=c(r(12115)),d=c(r(76351)),f=c(r(98482));let y=e=>p.default.lazy(async()=>{let t=await e();return"function"==typeof t.default?t:t.default}),m=/[?&#](?:start|t)=([0-9hms]+)/,b=/[?&#]end=([0-9hms]+)/,v=/(\d+)(h|m|s)/g,g=/^\d+$/;function E(e,t){if(e instanceof Array)return;let r=e.match(t);if(r){let e=r[1];if(e.match(v)){var s=e;let t=0,r=v.exec(s);for(;null!==r;){let[,e,n]=r;"h"===n&&(t+=60*parseInt(e,10)*60),"m"===n&&(t+=60*parseInt(e,10)),"s"===n&&(t+=parseInt(e,10)),r=v.exec(s)}return t}if(g.test(e))return parseInt(e)}}function w(e){return E(e,m)}function P(e){return E(e,b)}function S(){return Math.random().toString(36).substr(2,5)}function O(e){return Object.keys(e).map(t=>`${t}=${e[t]}`).join("&")}function L(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}let A={},_=function(e,t,r=null,s=()=>!0,n=d.default){let i=L(t);return i&&s(i)?Promise.resolve(i):new Promise((s,i)=>{if(A[e])return void A[e].push({resolve:s,reject:i});A[e]=[{resolve:s,reject:i}];let o=t=>{A[e].forEach(e=>e.resolve(t))};if(r){let e=window[r];window[r]=function(){e&&e(),o(L(t))}}n(e,s=>{s?(A[e].forEach(e=>e.reject(s)),A[e]=null):r||o(L(t))})})};function M(e,t){return(0,f.default)(t.config,e.config)}function I(e,...t){let r=[].concat(...t),s={};for(let t of Object.keys(e))-1===r.indexOf(t)&&(s[t]=e[t]);return s}function j(e,...t){if(!this.player||!this.player[e]){let t=`ReactPlayer: ${this.constructor.displayName} player could not call %c${e}%c \u2013 `;return this.player?this.player[e]||(t+="The method was not available"):t+="The player was not available",console.warn(t,"font-weight: bold",""),null}return this.player[e](...t)}function T(e){return"undefined"!=typeof window&&void 0!==window.MediaStream&&e instanceof window.MediaStream}function R(e){return/^blob:/.test(e)}function U(e=document.createElement("video")){let t=!1===/iPhone|iPod/.test(navigator.userAgent);return e.webkitSupportsPresentationMode&&"function"==typeof e.webkitSetPresentationMode&&t}},46616:(e,t,r)=>{var s=Object.create,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,a=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(e,t,r,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of o(t))l.call(e,a)||a===r||n(e,a,{get:()=>t[a],enumerable:!(s=i(t,a))||s.enumerable});return e},c=(e,t,r)=>(((e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r),r),h={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(h,{default:()=>w}),e.exports=u(n({},"__esModule",{value:!0}),h);var p=((e,t,r)=>(r=null!=e?s(a(e)):{},u(!t&&e&&e.__esModule?r:n(r,"default",{value:e,enumerable:!0}),e)))(r(12115)),d=r(26545),f=r(62319);let y="undefined"!=typeof navigator,m=y&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,b=y&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||m)&&!window.MSStream,v=y&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&!window.MSStream,g=/www\.dropbox\.com\/.+/,E=/https:\/\/watch\.cloudflarestream\.com\/([a-z0-9]+)/;class w extends p.Component{constructor(){super(...arguments),c(this,"onReady",(...e)=>this.props.onReady(...e)),c(this,"onPlay",(...e)=>this.props.onPlay(...e)),c(this,"onBuffer",(...e)=>this.props.onBuffer(...e)),c(this,"onBufferEnd",(...e)=>this.props.onBufferEnd(...e)),c(this,"onPause",(...e)=>this.props.onPause(...e)),c(this,"onEnded",(...e)=>this.props.onEnded(...e)),c(this,"onError",(...e)=>this.props.onError(...e)),c(this,"onPlayBackRateChange",e=>this.props.onPlaybackRateChange(e.target.playbackRate)),c(this,"onEnablePIP",(...e)=>this.props.onEnablePIP(...e)),c(this,"onDisablePIP",e=>{let{onDisablePIP:t,playing:r}=this.props;t(e),r&&this.play()}),c(this,"onPresentationModeChange",e=>
1{if(this.player&&(0,d.supportsWebKitPresentationMode)(this.player)){let{webkitPresentationMode:t}=this.player;"picture-in-picture"===t?this.onEnablePIP(e):"inline"===t&&this.onDisablePIP(e)}}),c(this,"onSeek",e=>{this.props.onSeek(e.target.currentTime)}),c(this,"mute",()=>{this.player.muted=!0}),c(this,"unmute",()=>{this.player.muted=!1}),c(this,"renderSourceElement",(e,t)=>"string"==typeof e?p.default.createElement("source",{key:t,src:e}):p.default.createElement("source",{key:t,...e})),c(this,"renderTrack",(e,t)=>p.default.createElement("track",{key:t,...e})),c(this,"ref",e=>{this.player&&(this.prevPlayer=this.player),this.player=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this),this.addListeners(this.player);let e=this.getSource(this.props.url);e&&(this.player.src=e),(b||this.props.config.forceDisableHls)&&this.player.load()}componentDidUpdate(e){this.shouldUseAudio(this.props)!==this.shouldUseAudio(e)&&(this.removeListeners(this.prevPlayer,e.url),this.addListeners(this.player)),this.props.url===e.url||(0,d.isMediaStream)(this.props.url)||this.props.url instanceof Array||(this.player.srcObject=null)}componentWillUnmount(){this.player.removeAttribute("src"),this.removeListeners(this.player),this.hls&&this.hls.destroy()}addListeners(e){let{url:t,playsinline:r}=this.props;e.addEventListener("play",this.onPlay),e.addEventListener("waiting",this.onBuffer),e.addEventListener("playing",this.onBufferEnd),e.addEventListener("pause",this.onPause),e.addEventListener("seeked",this.onSeek),e.addEventListener("ended",this.onEnded),e.addEventListener("error",this.onError),e.addEventListener("ratechange",this.onPlayBackRateChange),e.addEventListener("enterpictureinpicture",this.onEnablePIP),e.addEventListener("leavepictureinpicture",this.onDisablePIP),e.addEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),this.shouldUseHLS(t)||e.addEventListener("canplay",this.onReady),r&&(e.setAttribute("playsinline",""),e.setAttribute("webkit-playsinline",""),e.setAttribute("x5-playsinline",""))}removeListeners(e,t){e.removeEventListener("canplay",this.onReady),e.removeEventListener("play",this.onPlay),e.removeEventListener("waiting",this.onBuffer),e.removeEventListener("playing",this.onBufferEnd),e.removeEventListener("pause",this.onPause),e.removeEventListener("seeked",this.onSeek),e.removeEventListener("ended",this.onEnded),e.removeEventListener("error",this.onError),e.removeEventListener("ratechange",this.onPlayBackRateChange),e.removeEventListener("enterpictureinpicture",this.onEnablePIP),e.removeEventListener("leavepictureinpicture",this.onDisablePIP),e.removeEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),this.shouldUseHLS(t)||e.removeEventListener("canplay",this.onReady)}shouldUseAudio(e){return!e.config.forceVideo&&!e.config.attributes.poster&&(f.AUDIO_EXTENSIONS.test(e.url)||e.config.forceAudio)}shouldUseHLS(e){return!!v&&!!this.props.config.forceSafariHLS||!!this.props.config.forceHLS||!b&&!this.props.config.forceDisableHls&&(f.HLS_EXTENSIONS.test(e)||E.test(e))}shouldUseDASH(e){return f.DASH_EXTENSIONS.test(e)||this.props.config.forceDASH}shouldUseFLV(e){return f.FLV_EXTENSIONS.test(e)||this.props.config.forceFLV}load(e){let{hlsVersion:t,hlsOptions:r,dashVersion:s,flvVersion:n}=this.props.config;if(this.hls&&this.hls.destroy(),this.dash&&this.dash.reset(),this.shouldUseHLS(e)&&(0,d.getSDK)("https://cdn.jsdelivr.net/npm/hls.js@VERSION/dist/hls.min.js".replace("VERSION",t),"Hls").then(t=>{if(this.hls=new t(r),this.hls.on(t.Events.MANIFEST_PARSED,()=>{this.props.onReady()}),this.hls.on(t.Events.ERROR,(e,r)=>{this.props.onError(e,r,this.hls,t)}),E.test(e)){let t=e.match(E)[1];this.hls.loadSource("https://videodelivery.net/{id}/manifest/video.m3u8".replace("{id}",t))}else this.hls.loadSource(e);this.hls.attachMedia(this.player),this.props.onLoaded()}),this.shouldUseDASH(e)&&(0,d.getSDK)("https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js".replace("VERSION",s),"dashjs").then(t=>{this.dash=t.MediaPlayer().create(),this.dash.initialize(this.player,e,this.props.playing),this.dash.on("error",this.props.onError),3>
1parseInt(s)?this.dash.getDebug().setLogToBrowserConsole(!1):this.dash.updateSettings({debug:{logLevel:t.Debug.LOG_LEVEL_NONE}}),this.props.onLoaded()}),this.shouldUseFLV(e)&&(0,d.getSDK)("https://cdn.jsdelivr.net/npm/flv.js@VERSION/dist/flv.min.js".replace("VERSION",n),"flvjs").then(t=>{this.flv=t.createPlayer({type:"flv",url:e}),this.flv.attachMediaElement(this.player),this.flv.on(t.Events.ERROR,(e,r)=>{this.props.onError(e,r,this.flv,t)}),this.flv.load(),this.props.onLoaded()}),e instanceof Array)this.player.load();else if((0,d.isMediaStream)(e))try{this.player.srcObject=e}catch(t){this.player.src=window.URL.createObjectURL(e)}}play(){let e=this.player.play();e&&e.catch(this.props.onError)}pause(){this.player.pause()}stop(){this.player.removeAttribute("src"),this.dash&&this.dash.reset()}seekTo(e,t=!0){this.player.currentTime=e,t||this.pause()}setVolume(e){this.player.volume=e}enablePIP(){this.player.requestPictureInPicture&&document.pictureInPictureElement!==this.player?this.player.requestPictureInPicture():(0,d.supportsWebKitPresentationMode)(this.player)&&"picture-in-picture"!==this.player.webkitPresentationMode&&this.player.webkitSetPresentationMode("picture-in-picture")}disablePIP(){document.exitPictureInPicture&&document.pictureInPictureElement===this.player?document.exitPictureInPicture():(0,d.supportsWebKitPresentationMode)(this.player)&&"inline"!==this.player.webkitPresentationMode&&this.player.webkitSetPresentationMode("inline")}setPlaybackRate(e){try{this.player.playbackRate=e}catch(e){this.props.onError(e)}}getDuration(){if(!this.player)return null;let{duration:e,seekable:t}=this.player;return e===1/0&&t.length>0?t.end(t.length-1):e}getCurrentTime(){return this.player?this.player.currentTime:null}getSecondsLoaded(){if(!this.player)return null;let{buffered:e}=this.player;if(0===e.length)return 0;let t=e.end(e.length-1),r=this.getDuration();return t>r?r:t}getSource(e){let t=this.shouldUseHLS(e),r=this.shouldUseDASH(e),s=this.shouldUseFLV(e);if(!(e instanceof Array||(0,d.isMediaStream)(e))&&!t&&!r&&!s)return g.test(e)?e.replace("www.dropbox.com","dl.dropboxusercontent.com"):e}render(){let{url:e,playing:t,loop:r,controls:s,muted:n,config:i,width:o,height:a}=this.props,l=this.shouldUseAudio(this.props);return p.default.createElement(l?"audio":"video",{ref:this.ref,src:this.getSource(e),style:{width:"auto"===o?o:"100%",height:"auto"===a?a:"100%"},preload:"auto",autoPlay:t||void 0,controls:s,muted:n,loop:r,...i.attributes},e instanceof Array&&e.map(this.renderSourceElement),i.tracks.map(this.renderTrack))}}c(w,"displayName","FilePlayer"),c(w,"canPlay",f.canPlay.file)},62319:(e,t,r)=>{var s=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:!0})})(a,{AUDIO_EXTENSIONS:()=>S,DASH_EXTENSIONS:()=>A,FLV_EXTENSIONS:()=>_,HLS_EXTENSIONS:()=>L,MATCH_URL_DAILYMOTION:()=>g,MATCH_URL_FACEBOOK:()=>d,MATCH_URL_FACEBOOK_WATCH:()=>f,MATCH_URL_KALTURA:()=>P,MATCH_URL_MIXCLOUD:()=>E,MATCH_URL_MUX:()=>p,MATCH_URL_SOUNDCLOUD:()=>c,MATCH_URL_STREAMABLE:()=>y,MATCH_URL_TWITCH_CHANNEL:()=>v,MATCH_URL_TWITCH_VIDEO:()=>b,MATCH_URL_VIDYARD:()=>w,MATCH_URL_VIMEO:()=>h,MATCH_URL_WISTIA:()=>m,MATCH_URL_YOUTUBE:()=>u,VIDEO_EXTENSIONS:()=>O,canPlay:()=>I}),e.exports=((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of i(t))o.call(e,l)||l===r||s(e,l,{get:()=>t[l],enumerable:!(a=n(t,l))||a.enumerable});return e})(s({},"__esModule",{value:!0}),a);var l=r(26545);let u=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,c=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/,h=/vimeo\.com\/(?!progressive_redirect).+/,p=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,d=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/,f=/^https?:\/\/fb\.watch\/.+$/,y=/streamable\.com\/([a-z0-9]+)$/,m=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,b=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/,v=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/,g=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?(?:[\w.#_-]+)?/,E=/mixcloud\.com\/([^/]+\/[^/]+)/,w=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/,P=/^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-_].*)$/,S=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,O=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,L=/\.(m3u8)($|\?)/i,A=/\.(mpd)($|\?)/i,_=/\.(flv)($|\?)/i,M=e=>{if(e instanceof Array){for(let t of e)if("string"==typeof t&&M(t)||M(t.src))return!0;return!1}return!!((0,l.isMediaStream)(e)||(0,l.isBlobUrl)(e))||S.test(e)||O.test(e)||L.test(e)||A.test(e)||_.test(e)},I={youtube:e=>e instanceof Array?e.every(e=>u.test(e)):u.test(e),soundcloud:e=>c.test(e)&&!S.test(e),vimeo:e=>h.test(e)&&!O.test(e)&&!L.test(e),mux:e=>p.test(e),facebook:e=>d.test(e)||f.test(e),streamable:e=>y.test(e),wistia:e=>m.test(e),twitch:e=>b.test(e)||v.test(e),dailymotion:e=>g.test(e),mixcloud:e=>E.test(e),vidyard:e=>
1w.test(e),kaltura:e=>P.test(e),file:M}},73443:(e,t,r)=>{var s=Object.defineProperty,n=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,a={};((e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:!0})})(a,{AUDIO_EXTENSIONS:()=>S,DASH_EXTENSIONS:()=>A,FLV_EXTENSIONS:()=>_,HLS_EXTENSIONS:()=>L,MATCH_URL_DAILYMOTION:()=>g,MATCH_URL_FACEBOOK:()=>d,MATCH_URL_FACEBOOK_WATCH:()=>f,MATCH_URL_KALTURA:()=>P,MATCH_URL_MIXCLOUD:()=>E,MATCH_URL_MUX:()=>p,MATCH_URL_SOUNDCLOUD:()=>c,MATCH_URL_STREAMABLE:()=>y,MATCH_URL_TWITCH_CHANNEL:()=>v,MATCH_URL_TWITCH_VIDEO:()=>b,MATCH_URL_VIDYARD:()=>w,MATCH_URL_VIMEO:()=>h,MATCH_URL_WISTIA:()=>m,MATCH_URL_YOUTUBE:()=>u,VIDEO_EXTENSIONS:()=>O,canPlay:()=>I}),e.exports=((e,t,r,a)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of i(t))o.call(e,l)||l===r||s(e,l,{get:()=>t[l],enumerable:!(a=n(t,l))||a.enumerable});return e})(s({},"__esModule",{value:!0}),a);var l=r(24657);let u=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,c=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/,h=/vimeo\.com\/(?!progressive_redirect).+/,p=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,d=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/,f=/^https?:\/\/fb\.watch\/.+$/,y=/streamable\.com\/([a-z0-9]+)$/,m=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,b=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/,v=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/,g=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?(?:[\w.#_-]+)?/,E=/mixcloud\.com\/([^/]+\/[^/]+)/,w=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/,P=/^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-_].*)$/,S=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,O=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,L=/\.(m3u8)($|\?)/i,A=/\.(mpd)($|\?)/i,_=/\.(flv)($|\?)/i,M=e=>{if(e instanceof Array){for(let t of e)if("string"==typeof t&&M(t)||M(t.src))return!0;return!1}return!!((0,l.isMediaStream)(e)||(0,l.isBlobUrl)(e))||S.test(e)||O.test(e)||L.test(e)||A.test(e)||_.test(e)},I={youtube:e=>e instanceof Array?e.every(e=>u.test(e)):u.test(e),soundcloud:e=>c.test(e)&&!S.test(e),vimeo:e=>h.test(e)&&!O.test(e)&&!L.test(e),mux:e=>p.test(e),facebook:e=>d.test(e)||f.test(e),streamable:e=>y.test(e),wistia:e=>m.test(e),twitch:e=>b.test(e)||v.test(e),dailymotion:e=>g.test(e),mixcloud:e=>E.test(e),vidyard:e=>w.test(e),kaltura:e=>P.test(e),file:M}},76351: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(Error("Failed to load "+this.src),e)}}e.exports=function(e,r,s){var n=document.head||document.getElementsByTagName("head")[0],i=document.createElement("script");"function"==typeof r&&(s=r,r={}),s=s||function(){},i.type=(r=r||{}).type||"text/javascript",i.charset=r.charset||"utf8",i.async=!("async"in r)||!!r.async,i.src=e,r.attrs&&function(e,t){for(var r in t)e.setAttribute(r,t[r])}(i,r.attrs),r.text&&(i.text=""+r.text),("onload"in i?t:function(e,t){e.onreadystatechange=function(){("complete"==this.readyState||"loaded"==this.readyState)&&(this.onreadystatechange=null,t(null,e))}})(i,s),i.onload||t(i,s),n.appendChild(i)}},77044:(e,t,r)=>{var s=Object.create,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,a=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=(e,t,r,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of o(t))l.call(e,a)||a===r||n(e,a,{get:()=>t[a],enumerable:!(s=i(t,a))||s.enumerable});return e},c=(e,t,r)=>(((e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r),r),h={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(h,{default:()=>w}),e.exports=u(n({},"__esModule",{value:!0}),h);var p=((e,t,r)=>(r=null!=e?s(a(e)):{}
1,u(!t&&e&&e.__esModule?r:n(r,"default",{value:e,enumerable:!0}),e)))(r(14232)),d=r(24657),f=r(73443);let y="undefined"!=typeof navigator,m=y&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,b=y&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||m)&&!window.MSStream,v=y&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&!window.MSStream,g=/www\.dropbox\.com\/.+/,E=/https:\/\/watch\.cloudflarestream\.com\/([a-z0-9]+)/;class w extends p.Component{constructor(){super(...arguments),c(this,"onReady",(...e)=>this.props.onReady(...e)),c(this,"onPlay",(...e)=>this.props.onPlay(...e)),c(this,"onBuffer",(...e)=>this.props.onBuffer(...e)),c(this,"onBufferEnd",(...e)=>this.props.onBufferEnd(...e)),c(this,"onPause",(...e)=>this.props.onPause(...e)),c(this,"onEnded",(...e)=>this.props.onEnded(...e)),c(this,"onError",(...e)=>this.props.onError(...e)),c(this,"onPlayBackRateChange",e=>this.props.onPlaybackRateChange(e.target.playbackRate)),c(this,"onEnablePIP",(...e)=>this.props.onEnablePIP(...e)),c(this,"onDisablePIP",e=>{let{onDisablePIP:t,playing:r}=this.props;t(e),r&&this.play()}),c(this,"onPresentationModeChange",e=>{if(this.player&&(0,d.supportsWebKitPresentationMode)(this.player)){let{webkitPresentationMode:t}=this.player;"picture-in-picture"===t?this.onEnablePIP(e):"inline"===t&&this.onDisablePIP(e)}}),c(this,"onSeek",e=>{this.props.onSeek(e.target.currentTime)}),c(this,"mute",()=>{this.player.muted=!0}),c(this,"unmute",()=>{this.player.muted=!1}),c(this,"renderSourceElement",(e,t)=>"string"==typeof e?p.default.createElement("source",{key:t,src:e}):p.default.createElement("source",{key:t,...e})),c(this,"renderTrack",(e,t)=>p.default.createElement("track",{key:t,...e})),c(this,"ref",e=>{this.player&&(this.prevPlayer=this.player),this.player=e})}componentDidMount(){this.props.onMount&&this.props.onMount(this),this.addListeners(this.player);let e=this.getSource(this.props.url);e&&(this.player.src=e),(b||this.props.config.forceDisableHls)&&this.player.load()}componentDidUpdate(e){this.shouldUseAudio(this.props)!==this.shouldUseAudio(e)&&(this.removeListeners(this.prevPlayer,e.url),this.addListeners(this.player)),this.props.url===e.url||(0,d.isMediaStream)(this.props.url)||this.props.url instanceof Array||(this.player.srcObject=null)}componentWillUnmount(){this.player.removeAttribute("src"),this.removeListeners(this.player),this.hls&&this.hls.destroy()}addListeners(e){let{url:t,playsinline:r}=this.props;e.addEventListener("play",this.onPlay),e.addEventListener("waiting",this.onBuffer),e.addEventListener("playing",this.onBufferEnd),e.addEventListener("pause",this.onPause),e.addEventListener("seeked",this.onSeek),e.addEventListener("ended",this.onEnded),e.addEventListener("error",this.onError),e.addEventListener("ratechange",this.onPlayBackRateChange),e.addEventListener("enterpictureinpicture",this.onEnablePIP),e.addEventListener("leavepictureinpicture",this.onDisablePIP),e.addEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),this.shouldUseHLS(t)||e.addEventListener("canplay",this.onReady),r&&(e.setAttribute("playsinline",""),e.setAttribute("webkit-playsinline",""),e.setAttribute("x5-playsinline",""))}removeListeners(e,t){e.removeEventListener("canplay",this.onReady),e.removeEventListener("play",this.onPlay),e.removeEventListener("waiting",this.onBuffer),e.removeEventListener("playing",this.onBufferEnd),e.removeEventListener("pause",this.onPause),e.removeEventListener("seeked",this.onSeek),e.removeEventListener("ended",this.onEnded),e.removeEventListener("error",this.onError),e.removeEventListener("ratechange",this.onPlayBackRateChange),e.removeEventListener("enterpictureinpicture",this.onEnablePIP),e.removeEventListener("leavepictureinpicture",this.onDisablePIP),e.removeEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),this.shouldUseHLS(t)||e.removeEventListener("canplay",this.onReady)}shouldUseAudio(e){return!e.config.forceVideo&&!e.config.attributes.poster&&(f.AUDIO_EXTENSIONS.test(e.url)||e.config.forceAudio)}shouldUseHLS(e){return!!v&&!!this.props.config.forceSafariHLS||!!this.props.config.forceHLS||!b&&!this.props.config.forceDisableHls&&(f.HLS_EXTENSIONS.test(e)||E.test(e))}shouldUseDASH(e){return f.DASH_EXTENSIONS.test(e)||this.props.config.forceDASH}shouldUseFLV(e){return f.FLV_EXTENSIONS.test(e)||this.props.config.forceFLV}load(e){let{hlsVersion:t,hlsOptions:r,dashVersion:s,flvVersion:n}=this.props.config;if(this.hls&&this.hls.destroy(),this.dash&&this.dash.reset(),this.shouldUseHLS(e)&&(0,d.getSDK)("https://cdn.jsdelivr.net/npm/hls.js@VERSION/dist/hls.min.js".replace("VERSION",t),"Hls").then(t=>{if(this.hls=new t(r),this.hls.on(t.Events.MANIFEST_PARSED,()=>{this.props.onReady()}),this.hls.on(t.Events.ERROR,(e,r)=>{this.props.onError(e,r,this.hls,t)}),E.test(e)){let t=e.match(E)[1];this.hls.loadSource("https://videodelivery.net/{id}/manifest/video.m3u8".replace("{id}",t))}else this.hls.loadSource(e);this.hls.attachMedia(this.player),this.props.onLoaded()}),this.shouldUseDASH(e)&&(0,d.getSDK)("https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js".replace("VERSION",s),"dashjs").then(t=>{this.dash=t.MediaPlayer().create(),this.dash.initialize(this.player,e,this.props.playing),this.dash.on("error",this.props.onError),3>
1parseInt(s)?this.dash.getDebug().setLogToBrowserConsole(!1):this.dash.updateSettings({debug:{logLevel:t.Debug.LOG_LEVEL_NONE}}),this.props.onLoaded()}),this.shouldUseFLV(e)&&(0,d.getSDK)("https://cdn.jsdelivr.net/npm/flv.js@VERSION/dist/flv.min.js".replace("VERSION",n),"flvjs").then(t=>{this.flv=t.createPlayer({type:"flv",url:e}),this.flv.attachMediaElement(this.player),this.flv.on(t.Events.ERROR,(e,r)=>{this.props.onError(e,r,this.flv,t)}),this.flv.load(),this.props.onLoaded()}),e instanceof Array)this.player.load();else if((0,d.isMediaStream)(e))try{this.player.srcObject=e}catch(t){this.player.src=window.URL.createObjectURL(e)}}play(){let e=this.player.play();e&&e.catch(this.props.onError)}pause(){this.player.pause()}stop(){this.player.removeAttribute("src"),this.dash&&this.dash.reset()}seekTo(e,t=!0){this.player.currentTime=e,t||this.pause()}setVolume(e){this.player.volume=e}enablePIP(){this.player.requestPictureInPicture&&document.pictureInPictureElement!==this.player?this.player.requestPictureInPicture():(0,d.supportsWebKitPresentationMode)(this.player)&&"picture-in-picture"!==this.player.webkitPresentationMode&&this.player.webkitSetPresentationMode("picture-in-picture")}disablePIP(){document.exitPictureInPicture&&document.pictureInPictureElement===this.player?document.exitPictureInPicture():(0,d.supportsWebKitPresentationMode)(this.player)&&"inline"!==this.player.webkitPresentationMode&&this.player.webkitSetPresentationMode("inline")}setPlaybackRate(e){try{this.player.playbackRate=e}catch(e){this.props.onError(e)}}getDuration(){if(!this.player)return null;let{duration:e,seekable:t}=this.player;return e===1/0&&t.length>0?t.end(t.length-1):e}getCurrentTime(){return this.player?this.player.currentTime:null}getSecondsLoaded(){if(!this.player)return null;let{buffered:e}=this.player;if(0===e.length)return 0;let t=e.end(e.length-1),r=this.getDuration();return t>r?r:t}getSource(e){let t=this.shouldUseHLS(e),r=this.shouldUseDASH(e),s=this.shouldUseFLV(e);if(!(e instanceof Array||(0,d.isMediaStream)(e))&&!t&&!r&&!s)return g.test(e)?e.replace("www.dropbox.com","dl.dropboxusercontent.com"):e}render(){let{url:e,playing:t,loop:r,controls:s,muted:n,config:i,width:o,height:a}=this.props,l=this.shouldUseAudio(this.props);return p.default.createElement(l?"audio":"video",{ref:this.ref,src:this.getSource(e),style:{width:"auto"===o?o:"100%",height:"auto"===a?a:"100%"},preload:"auto",autoPlay:t||void 0,controls:s,muted:n,loop:r,...i.attributes},e instanceof Array&&e.map(this.renderSourceElement),i.tracks.map(this.renderTrack))}}c(w,"displayName","FilePlayer"),c(w,"canPlay",f.canPlay.file)},94410:e=>{"use strict";var t=function(e){var t,s,n;return!!(t=e)&&"object"==typeof t&&(s=e,"[object RegExp]"!==(n=Object.prototype.toString.call(s))&&"[object Date]"!==n&&s.$$typeof!==r)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function s(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a(Array.isArray(e)?[]:{},e,t):e}function n(e,t,r){return e.concat(t).map(function(e){return s(e,r)})}function i(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function o(e,t){try{return t in e}catch(e){return!1}}function a(e,r,l){(l=l||{}).arrayMerge=l.arrayMerge||n,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=s;var u,c,h=Array.isArray(r);return h!==Array.isArray(e)?s(r,l):h?l.arrayMerge(e,r,l):(c={},(u=l).isMergeableObject(e)&&i(e).forEach(function(t){c[t]=s(e[t],u)}),i(r).forEach(function(t){o(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))||(o(e,t)&&u.isMergeableObject(r[t])?c[t]=(function(e,t){if(!t.customMerge)return a;var r=t.customMerge(e);return"function"==typeof r?r:a})(t,u)(e[t],r[t],u):c[t]=s(r[t],u))}),c)}a.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,r){return a(e,r,t)},{})},e.exports=a},98482:e=>{"use strict";var t=function(e){var t,s,n;return!!(t=e)&&"object"==typeof t&&(s=e,"[object RegExp]"!==(n=Object.prototype.toString.call(s))&&"[object Date]"!==n&&s.$$typeof!==r)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function s(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a(Array.isArray(e)?[]:{},e,t):e}function n(e,t,r){return e.concat(t).map(function(e){return s(e,r)})}function i(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function o(e,t){try{return t in e}catch(e){return!1}}function a(e,r,l){(l=l||{}).arrayMerge=l.arrayMerge||n,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=s;var u,c,h=Array.isArray(r);
1return h!==Array.isArray(e)?s(r,l):h?l.arrayMerge(e,r,l):(c={},(u=l).isMergeableObject(e)&&i(e).forEach(function(t){c[t]=s(e[t],u)}),i(r).forEach(function(t){o(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))||(o(e,t)&&u.isMergeableObject(r[t])?c[t]=(function(e,t){if(!t.customMerge)return a;var r=t.customMerge(e);return"function"==typeof r?r:a})(t,u)(e[t],r[t],u):c[t]=s(r[t],u))}),c)}a.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,r){return a(e,r,t)},{})},e.exports=a}}]);

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.