ghostream/web/static/ovenplayer/ovenplayer.js

2 lines
296 KiB
JavaScript
Raw Normal View History

2020-11-09 12:48:44 +00:00
/*! For license information please see ovenplayer.js.LICENSE */
!function(t){function e(e){for(var A,r,o=e[0],i=e[1],s=0,u=[];s<o.length;s++)r=o[s],Object.prototype.hasOwnProperty.call(n,r)&&n[r]&&u.push(n[r][0]),n[r]=0;for(A in i)Object.prototype.hasOwnProperty.call(i,A)&&(t[A]=i[A]);for(a&&a(e);u.length;)u.shift()()}var A={},n={2:0,8:0};function r(e){if(A[e])return A[e].exports;var n=A[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(t){var e=[],A=n[t];if(0!==A)if(A)e.push(A[2]);else{var o=new Promise(function(e,r){A=n[t]=[e,r]});e.push(A[2]=o);var i,s=document.createElement("script");s.charset="utf-8",s.timeout=120,r.nc&&s.setAttribute("nonce",r.nc),s.src=function(t){return r.p+""+({0:"ovenplayer.provider.DashProvider~ovenplayer.provider.HlsProvider~ovenplayer.provider.Html5~ovenplaye~2ec193ac",1:"downloader",3:"ovenplayer.provider.DashProvider",4:"ovenplayer.provider.HlsProvider",5:"ovenplayer.provider.Html5",6:"ovenplayer.provider.RtmpProvider",7:"ovenplayer.provider.WebRTCProvider",9:"smiparser",10:"vendors~downloader",11:"vttparser"}[t]||t)+"-0.9.0.js"}(t);var a=new Error;i=function(e){s.onerror=s.onload=null,clearTimeout(u);var A=n[t];if(0!==A){if(A){var r=e&&("load"===e.type?"missing":e.type),o=e&&e.target&&e.target.src;a.message="Loading chunk "+t+" failed.\n("+r+": "+o+")",a.name="ChunkLoadError",a.type=r,a.request=o,A[1](a)}n[t]=void 0}};var u=setTimeout(function(){i({type:"timeout",target:s})},12e4);s.onerror=s.onload=i,document.head.appendChild(s)}return Promise.all(e)},r.m=t,r.c=A,r.d=function(t,e,A){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:A})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var A=Object.create(null);if(r.r(A),Object.defineProperty(A,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)r.d(A,n,function(e){return t[e]}.bind(null,n));return A},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r.oe=function(t){throw console.error(t),t};var o=window.webpackJsonp=window.webpackJsonp||[],i=o.push.bind(o);o.push=e,o=o.slice();for(var s=0;s<o.length;s++)e(o[s]);var a=i;r(r.s=137)}([function(t,e,A){var n=A(4),r=A(28),o=A(14),i=A(23),s=A(20),a=function(t,e,A){var u,l,c,f,g=t&a.F,p=t&a.G,d=t&a.S,y=t&a.P,E=t&a.B,w=p?n:d?n[e]||(n[e]={}):(n[e]||{}).prototype,h=p?r:r[e]||(r[e]={}),I=h.prototype||(h.prototype={});for(u in p&&(A=e),A)c=((l=!g&&w&&void 0!==w[u])?w:A)[u],f=E&&l?s(c,n):y&&"function"==typeof c?s(Function.call,c):c,w&&i(w,u,c,t&a.U),h[u]!=c&&o(h,u,f),y&&I[u]!=c&&(I[u]=c)};n.core=r,a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,e,A){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.STATE_BUFFERING="buffering",e.STATE_IDLE="idle";var n=e.STATE_COMPLETE="complete";e.STATE_PAUSED="paused",e.STATE_PLAYING="playing",e.STATE_ERROR="error",e.STATE_LOADING="loading",e.STATE_STALLED="stalled",e.STATE_AD_LOADING="adLoading",e.STATE_AD_LOADED="adLoaded",e.STATE_AD_PLAYING="adPlaying",e.STATE_AD_PAUSED="adPaused",e.STATE_AD_COMPLETE="adComplete",e.STATE_AD_ERROR="adError",e.PLAYER_AD_CLICK="adclick",e.PROVIDER_HTML5="html5",e.PROVIDER_WEBRTC="webrtc",e.PROVIDER_DASH="dash",e.PROVIDER_HLS="hls",e.PROVIDER_RTMP="rtmp",e.CONTENT_COMPLETE=n,e.READY="ready",e.DESTROY="destroy",e.CONTENT_SEEK="seek",e.CONTENT_BUFFER_FULL="bufferFull",e.DISPLAY_CLICK="displayClick",e.CONTENT_LOADED="loaded",e.PLAYLIST_CHANGED="playlistChanged",e.CONTENT_SEEKED="seeked",e.ALL_PLAYLIST_ENDED="allPlaylistEnded",e.NETWORK_UNSTABLED="unstableNetwork",e.ERROR="error",e.PLAYER_STATE="stateChanged",e.PLAYER_COMPLETE=n,e.PLAYER_PAUSE="pause",e.PLAYER_PLAY="play",e.PLAYER_CLICKED="clicked",e.PLAYER_RESIZED="resized",e.PLAYER_LOADING="loading",e.PLAYER_FULLSCREEN_REQUEST="fullscreenRequested",e.PLAYER_FULLSCREEN_CHANGED=