aliyun-aliplayer 2.29.1 → 2.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +0,0 @@
1
- /*! aliyun-aliplayer - v2.29.1 - 2025-02-14 16.16.20 */
2
- !function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Aliplayer=e()}(function(){return function o(n,i,a){function s(t,e){if(!i[t]){if(!n[t]){var r="function"==typeof require&&require;if(!e&&r)return r(t,!0);if(l)return l(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}r=i[t]={exports:{}},n[t][0].call(r.exports,function(e){return s(n[t][1][e]||e)},r,r.exports,o,n,i,a)}return i[t].exports}for(var l="function"==typeof require&&require,e=0;e<a.length;e++)s(a[e]);return s}({1:[function(e,t,r){},{}],2:[function(_,r,o){!function(f){!function(){var e,t;e=this,t=function(){var o,c=Math;if("undefined"!=typeof window&&window.crypto&&(o=window.crypto),"undefined"!=typeof self&&self.crypto&&(o=self.crypto),!(o=!(o=!(o="undefined"!=typeof globalThis&&globalThis.crypto?globalThis.crypto:o)&&"undefined"!=typeof window&&window.msCrypto?window.msCrypto:o)&&void 0!==f&&f.crypto?f.crypto:o)&&"function"==typeof _)try{o=_("crypto")}catch(e){}var r=Object.create||function(e){return t.prototype=e,e=new t,t.prototype=null,e};function t(){}var e={},n=e.lib={},i=n.Base={extend:function(e){var t=r(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),(t.init.prototype=t).$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},u=n.WordArray=i.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||s).stringify(this)},concat:function(e){var t=this.words,r=e.words,o=this.sigBytes,n=e.sigBytes;if(this.clamp(),o%4)for(var i=0;i<n;i++){var a=r[i>>>2]>>>24-i%4*8&255;t[o+i>>>2]|=a<<24-(o+i)%4*8}else for(var s=0;s<n;s+=4)t[o+s>>>2]=r[s>>>2];return this.sigBytes+=n,this},clamp:function(){var e=this.words,t=this.sigBytes;e[t>>>2]&=4294967295<<32-t%4*8,e.length=c.ceil(t/4)},clone:function(){var e=i.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r<e;r+=4)t.push((()=>{if(o){if("function"==typeof o.getRandomValues)try{return o.getRandomValues(new Uint32Array(1))[0]}catch(e){}if("function"==typeof o.randomBytes)try{return o.randomBytes(4).readInt32LE()}catch(e){}}throw new Error("Native crypto module could not be used to get secure random number.")})());return new u.init(t,e)}}),a=e.enc={},s=a.Hex={stringify:function(e){for(var t=e.words,r=e.sigBytes,o=[],n=0;n<r;n++){var i=t[n>>>2]>>>24-n%4*8&255;o.push((i>>>4).toString(16)),o.push((15&i).toString(16))}return o.join("")},parse:function(e){for(var t=e.length,r=[],o=0;o<t;o+=2)r[o>>>3]|=parseInt(e.substr(o,2),16)<<24-o%8*4;return new u.init(r,t/2)}},l=a.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,o=[],n=0;n<r;n++){var i=t[n>>>2]>>>24-n%4*8&255;o.push(String.fromCharCode(i))}return o.join("")},parse:function(e){for(var t=e.length,r=[],o=0;o<t;o++)r[o>>>2]|=(255&e.charCodeAt(o))<<24-o%4*8;return new u.init(r,t)}},p=a.Utf8={stringify:function(e){try{return decodeURIComponent(escape(l.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return l.parse(unescape(encodeURIComponent(e)))}},d=n.BufferedBlockAlgorithm=i.extend({reset:function(){this._data=new u.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=p.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(e){var t,r=this._data,o=r.words,n=r.sigBytes,i=this.blockSize,a=n/(4*i),s=(a=e?c.ceil(a):c.max((0|a)-this._minBufferSize,0))*i,e=c.min(4*s,n);if(s){for(var l=0;l<s;l+=i)this._doProcessBlock(o,l);t=o.splice(0,s),r.sigBytes-=e}return new u.init(t,e)},clone:function(){var e=i.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0}),h=(n.Hasher=d.extend({cfg:i.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){d.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(r){return function(e,t){return new r.init(t).finalize(e)}},_createHmacHelper:function(r){return function(e,t){return new h.HMAC.init(r,t).finalize(e)}}}),e.algo={});return e},"object"==typeof o?r.exports=o=t():e.CryptoJS=t()}.call(this)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{crypto:1}],3:[function(e,t,r){var o,n;o=this,n=function(e){var f;return f=e.lib.WordArray,e.enc.Base64={stringify:function(e){for(var t=e.words,r=e.sigBytes,o=this._map,n=(e.clamp(),[]),i=0;i<r;i+=3)for(var a=(t[i>>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,s=0;s<4&&i+.75*s<r;s++)n.push(o.charAt(a>>>6*(3-s)&63));var l=o.charAt(64);if(l)for(;n.length%4;)n.push(l);return n.join("")},parse:function(e){var t=e.length,r=this._map;if(!(o=this._reverseMap))for(var o=this._reverseMap=[],n=0;n<r.length;n++)o[r.charCodeAt(n)]=n;for(var i,a,s=r.charAt(64),l=(s&&-1!==(s=e.indexOf(s))&&(t=s),e),c=t,u=o,p=[],d=0,h=0;h<c;h++)h%4&&(i=u[l.charCodeAt(h-1)]<<h%4*2,a=u[l.charCodeAt(h)]>>>6-h%4*2,p[d>>>2]|=(i|a)<<24-d%4*8,d++);return f.create(p,d)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},e.enc.Base64},"object"==typeof r?t.exports=r=n(e("./core")):n(o.CryptoJS)},{"./core":2}],4:[function(e,t,r){var o,n;o=this,n=function(e){return e.enc.Utf8},"object"==typeof r?t.exports=r=n(e("./core")):n(o.CryptoJS)},{"./core":2}],5:[function(e,t,r){var o,n;o=this,n=function(e){return e.HmacSHA1},"object"==typeof r?t.exports=r=n(e("./core"),e("./sha1"),e("./hmac")):n(o.CryptoJS)},{"./core":2,"./hmac":6,"./sha1":7}],6:[function(e,t,r){var o,n;o=this,n=function(e){var t,s;t=e.lib.Base,s=e.enc.Utf8,e.algo.HMAC=t.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=s.parse(t));for(var r=e.blockSize,o=4*r,e=((t=t.sigBytes>o?e.finalize(t):t).clamp(),this._oKey=t.clone()),t=this._iKey=t.clone(),n=e.words,i=t.words,a=0;a<r;a++)n[a]^=1549556828,i[a]^=909522486;e.sigBytes=t.sigBytes=o,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher,e=t.finalize(e);return t.reset(),t.finalize(this._oKey.clone().concat(e))}})},"object"==typeof r?t.exports=r=n(e("./core")):n(o.CryptoJS)},{"./core":2}],7:[function(e,t,r){var o,n;o=this,n=function(e){var t,r,o,n,u;return r=(t=e).lib,o=r.WordArray,n=r.Hasher,u=[],r=t.algo.SHA1=n.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var r=this._hash.words,o=r[0],n=r[1],i=r[2],a=r[3],s=r[4],l=0;l<80;l++){u[l]=l<16?0|e[t+l]:(c=u[l-3]^u[l-8]^u[l-14]^u[l-16])<<1|c>>>31;var c=(o<<5|o>>>27)+s+u[l];c+=l<20?1518500249+(n&i|~n&a):l<40?1859775393+(n^i^a):l<60?(n&i|n&a|i&a)-1894007588:(n^i^a)-899497514,s=a,a=i,i=n<<30|n>>>2,n=o,o=c}r[0]=r[0]+o|0,r[1]=r[1]+n|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+s|0},_doFinalize:function(){var e=this._data,t=e.words,r=8*this._nDataBytes,o=8*e.sigBytes;return t[o>>>5]|=128<<24-o%32,t[14+(64+o>>>9<<4)]=Math.floor(r/4294967296),t[15+(64+o>>>9<<4)]=r,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e}}),t.SHA1=n._createHelper(r),t.HmacSHA1=n._createHmacHelper(r),e.SHA1},"object"==typeof r?t.exports=r=n(e("./core")):n(o.CryptoJS)},{"./core":2}],8:[function(W,r,o){!function(B,V){!function(){var e,t;e=this,t=function(){function l(e){return"function"==typeof e}var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},o=0,t=void 0,n=void 0,a=function(e,t){p[o]=e,p[o+1]=t,2===(o+=2)&&(n?n(d):O())};var e="undefined"!=typeof window?window:void 0,i=e||{},i=i.MutationObserver||i.WebKitMutationObserver,s="undefined"==typeof self&&void 0!==B&&"[object process]"==={}.toString.call(B),c="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function u(){var e=setTimeout;return function(){return e(d,1)}}var p=new Array(1e3);function d(){for(var e=0;e<o;e+=2)(0,p[e])(p[e+1]),p[e]=void 0,p[e+1]=void 0;o=0}function h(){try{var e=Function("return this")().require("vertx");return void 0!==(t=e.runOnLoop||e.runOnContext)?function(){t(d)}:u()}catch(e){return u()}}var f,_,m,O=void 0;function y(e,t){var r,o=this,n=new this.constructor(S),i=(void 0===n[v]&&A(n),o._state);return i?(r=arguments[i-1],a(function(){return R(i,n,r,o._result)})):L(o,n,e,t),n}function g(e){var t;return e&&"object"==typeof e&&e.constructor===this?e:(E(t=new this(S),e),t)}var O=s?function(){return B.nextTick(d)}:i?(_=0,s=new i(d),m=document.createTextNode(""),s.observe(m,{characterData:!0}),function(){m.data=_=++_%2}):c?((f=new MessageChannel).port1.onmessage=d,function(){return f.port2.postMessage(0)}):(void 0===e&&"function"==typeof W?h:u)(),v=Math.random().toString(36).substring(2);function S(){}var x=void 0,b=1,w=2;function N(e,o,n){a(function(t){var r=!1,e=((e,t,r,o)=>{try{e.call(t,r,o)}catch(e){return e}})(n,o,function(e){r||(r=!0,(o!==e?E:C)(t,e))},function(e){r||(r=!0,k(t,e))},t._label);!r&&e&&(r=!0,k(t,e))},e)}function T(e,t,r){var o,n;t.constructor===e.constructor&&r===y&&t.constructor.resolve===g?(o=e,(n=t)._state===b?C(o,n._result):n._state===w?k(o,n._result):L(n,void 0,function(e){return E(o,e)},function(e){return k(o,e)})):void 0!==r&&l(r)?N(e,t,r):C(e,t)}function E(t,e){if(t===e)k(t,new TypeError("You cannot resolve a promise with itself"));else if(r=typeof e,null===e||"object"!=r&&"function"!=r)C(t,e);else{r=void 0;try{r=e.then}catch(e){return void k(t,e)}T(t,e,r)}var r}function U(e){e._onerror&&e._onerror(e._result),D(e)}function C(e,t){e._state===x&&(e._result=t,e._state=b,0!==e._subscribers.length)&&a(D,e)}function k(e,t){e._state===x&&(e._state=w,e._result=t,a(U,e))}function L(e,t,r,o){var n=e._subscribers,i=n.length;e._onerror=null,n[i]=t,n[i+b]=r,n[i+w]=o,0===i&&e._state&&a(D,e)}function D(e){var t=e._subscribers,r=e._state;if(0!==t.length){for(var o,n=void 0,i=e._result,a=0;a<t.length;a+=3)o=t[a],n=t[a+r],o?R(r,o,n,i):n(i);e._subscribers.length=0}}function R(e,t,r,o){var n=l(r),i=void 0,a=void 0,s=!0;if(n){try{i=r(o)}catch(e){s=!1,a=e}if(t===i)return void k(t,new TypeError("A promises callback cannot return that same promise."))}else i=o;t._state===x&&(n&&s?E(t,i):!1===s?k(t,a):e===b?C(t,i):e===w&&k(t,i))}var P=0;function A(e){e[v]=P++,e._state=void 0,e._result=void 0,e._subscribers=[]}I.prototype._enumerate=function(e){for(var t=0;this._state===x&&t<e.length;t++)this._eachEntry(e[t],t)},I.prototype._eachEntry=function(t,e){var r=this._instanceConstructor,o=r.resolve;if(o===g){var n,i=void 0,a=void 0,s=!1;try{i=t.then}catch(e){s=!0,a=e}i===y&&t._state!==x?this._settledAt(t._state,e,t._result):"function"!=typeof i?(this._remaining--,this._result[e]=t):r===H?(n=new r(S),s?k(n,a):T(n,t,i),this._willSettleAt(n,e)):this._willSettleAt(new r(function(e){return e(t)}),e)}else this._willSettleAt(o(t),e)},I.prototype._settledAt=function(e,t,r){var o=this.promise;o._state===x&&(this._remaining--,e===w?k(o,r):this._result[t]=r),0===this._remaining&&C(o,this._result)},I.prototype._willSettleAt=function(e,t){var r=this;L(e,void 0,function(e){return r._settledAt(b,t,e)},function(e){return r._settledAt(w,t,e)})};var F=I;function I(e,t){this._instanceConstructor=e,this.promise=new e(S),this.promise[v]||A(this.promise),r(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0!==this.length&&(this.length=this.length||0,this._enumerate(t),0!==this._remaining)||C(this.promise,this._result)):k(this.promise,new Error("Array Methods must be provided an Array"))}M.prototype.catch=function(e){return this.then(null,e)},M.prototype.finally=function(t){var r=this.constructor;return l(t)?this.then(function(e){return r.resolve(t()).then(function(){return e})},function(e){return r.resolve(t()).then(function(){throw e})}):this.then(t,t)};var H=M;function M(e){if(this[v]=P++,this._result=this._state=void 0,this._subscribers=[],S!==e){if("function"!=typeof e)throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(!(this instanceof M))throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");var t=this;try{e(function(e){E(t,e)},function(e){k(t,e)})}catch(e){k(t,e)}}}return H.prototype.then=y,H.all=function(e){return new F(this,e).promise},H.race=function(n){var i=this;return r(n)?new i(function(e,t){for(var r=n.length,o=0;o<r;o++)i.resolve(n[o]).then(e,t)}):new i(function(e,t){return t(new TypeError("You must pass an array to race."))})},H.resolve=g,H.reject=function(e){var t=new this(S);return k(t,e),t},H._setScheduler=function(e){n=e},H._setAsap=function(e){a=e},H._asap=a,H.polyfill=function(){var e=void 0;if(void 0!==V)e=V;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var r=null;try{r=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===r&&!t.cast)return}e.Promise=H},H.Promise=H},"object"==typeof o&&void 0!==r?r.exports=t():e.ES6Promise=t()}.call(this)}.call(this,W("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:9}],9:[function(e,t,r){var o,n,t=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}try{o="function"==typeof setTimeout?setTimeout:i}catch(e){o=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}function s(t){if(o===setTimeout)return setTimeout(t,0);if((o===i||!o)&&setTimeout)return(o=setTimeout)(t,0);try{return o(t,0)}catch(e){try{return o.call(null,t,0)}catch(e){return o.call(this,t,0)}}}var l,c=[],u=!1,p=-1;function d(){u&&l&&(u=!1,l.length?c=l.concat(c):p=-1,c.length)&&h()}function h(){if(!u){for(var e=s(d),t=(u=!0,c.length);t;){for(l=c,c=[];++p<t;)l&&l[p].run();p=-1,t=c.length}l=null,u=!1,!function(t){if(n===clearTimeout)return clearTimeout(t);if((n===a||!n)&&clearTimeout)return(n=clearTimeout)(t);try{n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function _(){}t.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new f(e,t)),1!==c.length||u||s(h)},f.prototype.run=function(){this.fun.apply(null,this.array)},t.title="browser",t.browser=!0,t.env={},t.argv=[],t.version="",t.versions={},t.on=_,t.addListener=_,t.once=_,t.off=_,t.removeListener=_,t.removeAllListeners=_,t.emit=_,t.prependListener=_,t.prependOnceListener=_,t.listeners=function(e){return[]},t.binding=function(e){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(e){throw new Error("process.chdir is not supported")},t.umask=function(){return 0}},{}],10:[function(e,t,r){t.exports={name:"aliyun-aliplayer",version:"2.29.1",description:"\u963f\u91cc\u4e91 Web \u64ad\u653e\u5668",main:"./build/aliplayer-min",style:"./build/skins/default/aliplayer-min.css",files:["build"],repository:{type:"git",url:""},keywords:["aliyun","aliplayer"],scripts:{start:"npx grunt live","start:hls":"npx grunt live --hls=true","start:flv":"npx grunt live --flv=true",build:"npx grunt build",release:"commit-and-tag-version",prepublishOnly:"npm run build","test:unit":"karma start","test:unit:watch":"karma start --no-single-run"},devDependencies:{"@ali/mediabox-quality-tracer":"^0.23.0","@babel/core":"^7.26.0","@babel/preset-env":"^7.26.0","@types/chai":"^5.0.1","@types/mocha":"^10.0.10","babel-loader":"^9.2.1","babel-plugin-es6-promise":"^1.1.1","babel-plugin-istanbul":"^7.0.0",babelify:"^10.0.0",chai:"^5.1.2","commit-and-tag-version":"^11.2.1","es6-promise":"^4.2.8",grunt:"^1.0.4","grunt-autoprefixer":"^3.0.4","grunt-babel":"^8.0.0","grunt-browserify":"^5.3.0","grunt-contrib-clean":"^2.0.0","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-cssmin":"^3.0.0","grunt-contrib-less":"^2.0.0","grunt-contrib-uglify":"^4.0.1","grunt-contrib-watch":"^1.1.0","grunt-run":"^0.8.1","grunt-text-replace":"^0.4.0",karma:"^6.4.4","karma-chrome-launcher":"^3.2.0","karma-coverage":"^2.2.1","karma-mocha":"^2.0.1","karma-mocha-reporter":"^2.2.5","karma-webpack":"^5.0.1",mocha:"^11.0.1","node-args":"^2.1.8",sinon:"^19.0.2","sinon-chai":"^4.0.0",webpack:"^5.97.1"},dependencies:{"crypto-js":"^4.1.1"},optionalDependencies:{puppeteer:"^23.11.1"}}},{}],11:[function(e,t,r){var o=e("../ui/component"),n=(e("../lib/util"),e("../lib/dom")),i=e("../lib/event"),a=(e("../lib/ua"),e("../lang/index")),s=e("../player/base/event/eventtype"),e=o.extend({init:function(e,t){o.call(this,e,t),this.className=t.className||"prism-auto-stream-selector",this.addClass(this.className)},createEl:function(){var e=o.prototype.createEl.call(this,"div");return e.innerHTML="<div><p class='tip-text'></p></div><div class='operators'><a class='prism-button prism-button-ok' type='button'>"+a.get("OK_Text")+"</a><a class='prism-button prism-button-cancel' target='_blank'>"+a.get("Cancel_Text")+"</a></div>",e},bindEvent:function(){var o=this,e=(o._player.on(s.Private.AutoStreamShow,function(e){var t,r=document.querySelector("#"+o.getId()+" .tip-text");o._player._getLowerQualityLevel&&(t=o._player._getLowerQualityLevel())&&(o._switchUrl=t,r.innerText=a.get("Auto_Stream_Tip_Text").replace("$$",t.item.desc),n.css(o.el(),"display","block"))}),o._player.on(s.Private.AutoStreamHide,function(e){document.querySelector("#"+o.getId()+" .tip-text");n.css(o.el(),"display","none")}),document.querySelector("#"+o.getId()+" .prism-button-ok")),e=(i.on(e,"click",function(){o._player._changeStream&&o._switchUrl&&(o._player._changeStream(o._switchUrl.index,a.get("Quality_Change_Text")),o._player.trigger(s.Private.SettingListHide)),n.css(o.el(),"display","none")}),document.querySelector("#"+o.getId()+" .prism-button-cancel"));i.on(e,"click",function(){n.css(o.el(),"display","none"),o._player.trigger(s.Private.SettingListHide)})}});t.exports=e},{"../lang/index":18,"../lib/dom":23,"../lib/event":24,"../lib/ua":34,"../lib/util":36,"../player/base/event/eventtype":37,"../ui/component":43}],12:[function(e,t,r){e=e("../package.json");t.exports={domain:"g.alicdn.com",path:"/apsara-media-box/imp-web-player/",flashVersion:"2.8.2",h5Version:e.version.split("-")[0],rtsVersion:"2.9.1",cityBrain:!0,logDuration:3,logCount:100,logReportTo:"https://videocloud.cn-hangzhou.log.aliyuncs.com/logstores/newplayer/track",dumpLogReportTo:"https://web-video.cn-hangzhou.log.aliyuncs.com/logstores/player-dump/track"}},{"../package.json":10}],13:[function(e,t,r){function o(e){var t=i.createWrapper(e),e=i.handleOption(e);return i.adjustContainerLayout(t,e),t.player||new n(t,e)}var n=e("./player/flash/flashplayer"),i=(e("./lib/dom"),e("./lib/ua"),e("./lib/object"),e("./lib/playerutil")),e=(e("./config"),window.Aliplayer=o);o.players={},t.exports=e},{"./config":12,"./lib/dom":23,"./lib/object":30,"./lib/playerutil":32,"./lib/ua":34,"./player/flash/flashplayer":39}],14:[function(e,t,r){var o=e("../lib/oo"),n=e("../lang/index"),e=o.extend({init:function(e,t){this._player=e,this._options=e.options()}}),i=(e.prototype.handle=function(e){var t,r;this._options.autoPlayDelay&&(t=(t=this._options.autoPlayDelayDisplayText)||n.get("AutoPlayDelayDisplayText").replace("$$",this._options.autoPlayDelay),this._player.trigger("info_show",t),this._player.trigger("h5_loading_hide"),this._player.trigger("play_btn_hide"),(r=this)._timeHandler=setTimeout(function(){r._player.trigger("info_hide"),r._options.autoPlayDelay=0,e&&e()},1e3*this._options.autoPlayDelay),this._player.on("play",function(){i(r)}),this._player.on("pause",function(){i(r)}))},e.prototype.dispose=function(){i(this),this._player=null},function(e){e._timeHandler&&(clearTimeout(e._timeHandler),e._timeHandler=null)});t.exports=e},{"../lang/index":18,"../lib/oo":31}],15:[function(e,t,r){t.exports={OD:"OD",FD:"360p",LD:"540p",SD:"720p",HD:"1080p","2K":"2K","4K":"4K",FHD:"FHD",XLD:"XLD",SQ:"SQ",HQ:"HQ",Speed:"Speed",Speed_05X_Text:"0.5X",Speed_1X_Text:"Normal",Speed_125X_Text:"1.25X",Speed_15X_Text:"1.5X",Speed_2X_Text:"2X",Refresh_Text:"Refresh",Cancel:"Cancel",Mute:"Mute",Click_To_Unmute:"Click to unmute",Snapshot:"Snapshot",Detection_Text:"Diagnose",Play_DateTime:"Time",Default:"Default",Quality_Change_Fail_Switch_Text:"Cannot play, switch to ",Quality_Change_Text:"Switching to ",Quality_Change_Result:"Switched to ",Quality_The_Url:"The url",AutoPlayDelayDisplayText:"Play in $$ seconds",Error_Load_Abort_Text:"Data abort erro",Error_Network_Text:"Loading failed due to network error",Error_Decode_Text:"Decode error",Error_No_Decoder_Text:"Unsupported codec",Error_Server_Network_NotSupport_Text:"Network error or \xa0the format of video is unsupported",Error_Offline_Text:"The network is unreachable, please click Refresh",Error_Play_Text:"Error occured while playing",Error_Retry_Text:" Please close or refresh",Error_AuthKey_Text:"Authentication expired or the domain is not in white list",Error_H5_Not_Support_Text:"The format/codec of video is not supported",Error_Not_Support_M3U8_Text:"The format of m3u8 is not supported by this explorer",Error_Not_Support_MP4_Text:"The format of mp4\xa0is not supported by this explorer",Error_Not_Support_encrypt_Text:"To play the encrypted video,please set encryptType to 1",Error_Encrypt_Fetch_Failed_Text:"Failed to fetch the encrypted video",Error_Vod_URL_Is_Empty_Text:"The url is empty",Error_Vod_Fetch_Urls_Text:"Error occured when fetch urls from vod service\uff0cplease close or refresh",Fetch_Playauth_Error:"Error occured when fetch playauth close or refresh",Error_Playauth_Decode_Text:"PlayAuth parse failed",Error_Vid_Not_Same_Text:"Cannot renew url due to vid changed",Error_Playauth_Expired_Text:"Playauth expired, please close or refresh",Error_MTS_Fetch_Urls_Text:"Error occurred while requesting mst server",Error_Load_M3U8_Failed_Text:"The m3u8 file loaded failed,possibly due to HTTPS certificate issues, cross-origin problems, or DNS resolution failures",Error_Load_M3U8_Timeout_Text:"Timeout error occored\xa0when the\xa0m3u8 file loaded",Error_Liveshift_M3U8_Not_Found_Text:"No more liveshift video avaliable",Error_M3U8_Decode_Text:"The m3u8 file decoded failed",Error_TX_Decode_Text:"Video decoded failed",Error_Manifest_Decode_Text:"Failed to parse manifest",Error_Waiting_Timeout_Text:"Buffering timeout,\xa0please close or refresh",Error_Invalidate_Source:"Video shoud be mp4\u3001mp3\u3001m3u8\u3001mpd or flv",Error_Empty_Source:"Video URL shouldn't be empty",Error_Vid_Empty_Source:"vid's video URL hasn't been fetched",Error_Mediaauth_Empty_Source:"mediaAuth's video URL hasn't been fetched",Error_Fetch_NotStream:"The vid has no stream to play",Error_Fetch_Media_Not_Found:"Data is not found",Error_Not_Found:"Url is not found",Error_Drm_License_Request_Failed:"DRM license request failed",Error_Drm_Not_Supported:"DRM in not supported",Error_Drm_Load:"DRM load error",Error_Drm_No_Sts:"STS(accessKeyId/accessKeySecret/securityToken) is required for DRM playback",Error_Drm_Params_Missing:"Parameters for drm.widevine/fairplay, etc. are missing",Error_Region_Block_Text:"This video is not available in your region",Error_SW_Conflict:"Service Worker conflict. Please try disabling browser extensions, restarting the browser, and closing other tabs.",Error_SW_Register_Failed:"Service Worker registration failed.",Error_SW_ScriptURL_Empty:"Please provide the swScriptURL parameter.",Error_SW_ScriptURL_Https:"The swScriptURL parameter must use an absolute address with https:// protocol.",Error_SW_ScriptURL_Scope:"The swScriptURL (subpath: @scope1@) and the current webpage (subpath: @scope2@) must be under the same subpath.",Error_SW_Version_Not_Match:"The version number of swScriptURL (@swVersion@) must match the player version (@playerVersion@).",Error_SW_ScriptURL_ILlegal:"Please provide a valid swScriptURL(@detail@).",Error_SW_Https_required:"Https is required when playing Vod's encription video",Tip_Err_Common:"please contact us for support, the error detail is:<br />",Tip_Err_Common_Short:"the error detail is:<br />",Tip_Drm_Request_Err:"The request failed with an error, please check the browser console to check whether it is caused by DNS, HTTPS certificates, or network problems. <br/> If the above tests are fine,",Tip_Drm_Secure_Context:"DRM can only be accessed under https, localhost, 127.0.0.1 web pages, and manifest and media segments must also use https.",Tip_Drm_Key_System_Unavailable:"1. This browser does not support Widevine or the current Widevine configuration<br/>2. The request that pops up in the browser was rejected by the user<br/>3. Please open the browser settings, look for the [Protected Content] setting and allow",Tip_Drm_File_Not_Allowed:"Do not use the file:// to open the file directly, you need to use a https:// to access the file",Tip_Drm_Playlist_Hierarchy:"HLS playlist level error, the main list needs to be master playlist",Tip_Drm_Info_Missing:"Please make sure the parameters of drm.widevine/fairplay you provided are valid",Tip_Drm_Unsupported:"Your browser does not currently support Widevine. If you are using Chrome, you can visit the URL chrome://components/ to locate the 'Widevine Content Decryption Module' and click on 'Update'. If this module is not present, the browser will be unable to play DRM-protected videos.",Tip_Err_Decode:"The decoding error refers to the current audio/video frame is not compatible with the browser, you can try the following methods: <br />1.chrome/edge browser open the chrome://flags, search for Hardware-accelerated video decode, select disabled<br />2.If the decoding error persists, please transcode the video to fix the problem frame",Tip_Err_Rts_Http_Failed:"The error indicates that the RTS streaming request encountered an HTTP error, which is usually related to HTTPS certificate, DNS resolution, or network connectivity issues. Due to browser restrictions on JavaScript, the player cannot obtain detailed error information. If you need further information, you can follow these steps:<br>Right-click on a blank area of the browser and select 'Inspect'.<br>2.In the newly opened interface, select 'Console'.<br>3.Check for any red error messages:<br>If you see 'SSL', it means that you have not correctly configured the HTTPS certificate for the streaming domain.<br>If you see 'NOT RESOLVED', it means that the DNS resolution for your domain has failed.<br>You can also use the <a style='color:white;text-decoration:underline;' href='https://live.console.aliyun.com/#/tool/url' target='_blank'>ApsaraVideo Live Diagnostic Tool</a> for self-diagnosis.",Tip_Err_Not_found:"For live streams, this might be due to the broadcast not starting yet, having ended, or being disrupted. For on-demand videos, it could indicate the video is unavailable.",Tip_Err_Blocked:"If you have a network proxy enabled, please try disabling it and then retrying.",Tip_Err_Splayer:"For best practices regarding playback of H.265/H.266 encoded videos, please refer to",Tip_Err_Splayer_Doc:" this document.",Tip_SW_Register:"1.Please access the webpage using HTTPS<br>2.Please ensure that the provided swScriptURL is a complete address starting with https:// and is accessible.",Tip_License_Required:"Starting 2024-12-01, the new version of the player must be configured with a license to use. The license for the basic functions of the player can be applied for free and is valid for 1 year. Please apply in advance to avoid any disruption in usage ",Tip_License_Params:"After completing the application, please refer to this document to pass the license information into the SDK ",Tip_License_Check:"Please ensure that the provided license key/domain parameters match exactly with what were obtained from the VOD console.",Tip_License_Domain:"The current website domain does not match with your licensed domain",Tip_License_Feature:"The feature is not authorized by your license:",Live_End:"Live has finished",Play_Before_Fullscreen:"Please play before fullscreen",Can_Not_Seekable:"Can not seek to this position",Cancel_Text:"Cancel",OK_Text:"OK",Auto_Stream_Tip_Text:"Internet is slow, does switch to $$",Request_Block_Text:"This request is blocked, the video Url should be over https",Open_Html_By_File:"Html page should be on the server",Maybe_Cors_Error:"there is a network error, possibly due to HTTPS certificate issues, cross-origin problems, or DNS resolution failures",Speed_Switch_To:"Speed switch to ",Curent_Volume:"Current volume:",Volume_Mute:"set to mute",Volume_UnMute:"set to unmute",ShiftLiveTime_Error:"Live start time should not be greater than over time",Error_Not_Support_Format_On_Mobile:"flv\u3001rmtp can't be supported on mobile\uff0cplease use m3u8",Error_Not_Support_Mse_Flv:"Flv is not supported by this browser.",Error_Not_Support_Mse_Dash:"Dash is not supported by this browser.",Error_Not_Support_RTMP:"RTMP is not supported by this browser.",SessionId_Ticket_Invalid:"please assign value for sessionId and ticket properties",Http_Error:" An HTTP network request failed with an error, but not from the server.",Http_Timeout:"A network request timed out",DRM_License_Expired:"DRM license is expired, please refresh",Not_Support_DRM:"Browser doesn't support DRM",CC_Switch_To:"Subtitle switch to ",AudioTrack_Switch_To:"Audio tracks switch to ",Subtitle:"Subtitle/CC",AudioTrack:"Audio Track",Quality:"Quality",Auto:"Auto",Quality_Switch_To:"Quality switching to ",Fullscreen:"Full Screen",Setting:"Settings",Volume:"Volume",Play:"Play",Pause:"Pause",CloseSubtitle:"Close CC",OpenSubtitle:"Open CC",ExistFullScreen:"Exit Full Screen",Muted:"Muted",Retry:"Retry",SwitchToLive:"Return to live",iOSNotSupportVodEncription:"Versions of iOS below 17.1 doesn't support Vod's private encription video",iOSVodEncriptionBlacklist:"Please use Safari/Chrome browser to play Vod's private encription video",UseChromeForVodEncription:"This browser desn't suport Vod's encription video, please use latest Chrome/Edge",Record_Not_Allowed:"Recording or playing in seperated window is not allowed, please disable related plugins or switch browser.",License_No_Authorization:"Aliplayer without Authorization",License_Click_To_Apply:"Click to apply",License_Empty:"License params are required",License_Not_Found:"Unregistered license",License_Expired:"Expired license",License_License_Key_Invalid:"Invalid license key",License_Domain_Invalid:"Unexpected domain",License_Feature_Unauthorized:"Unauthorized feature",Rts_Err_Http_Signal_Error:"(RTS)http signal error",Rts_Err_Play_Failed:"(RTS)play faild error",Rts_Err_No_Data_For:"s received no data",Rts_Err_Browser_Not_Support:"(RTS)browser not support",Rts_Err_Not_Support_Webrtc:"(RTS)not support webrtc",Rts_Err_Browser_Version_Too_Low:"(RTS)browser version too low",Rts_Err_Not_Support_H264:"(RTS)not support h264",Rts_Err_Create_Offer_Error:"(RTS)create offer error",Rts_Err_Play_Url_Error:"(RTS)play url error",Rts_Err_Subscribe_Nonthing:"(RTS)subscribe nonthing",Rts_Err_Http_Request_Failed:"(RTS)HTTP request failed",Rts_Err_Http_Answer_Failed:"(RTS)answer failed",Rts_Err_PeerConnection_Unknown:"(RTS)Unknown PeerConnection",Splayer_Err_Env_Check:"(SP)This browser can't play this media",Splayer_Err_Coroutine:"(SP)Coroutine error",Splayer_Err_Decoder:"(SP)Decode error",Splayer_Err_Buffering:"(SP)Buffering error",Splayer_Err_Parser_Not_Found:"(SP)Media container is not supported"}},{}],16:[function(e,t,r){t.exports={OD:"OD",LD:"360p",FD:"540p",SD:"720p",HD:"1080p","2K":"2K","4K":"4K",FHD:"FHD",XLD:"XLD",SQ:"SQ",HQ:"HQ",Forbidden_Text:"Internal information is strictly forbidden to outsider",Refresh:"Refresh",Diagnosis:"Diagnosis",Live_Finished:"Live has finished, thanks for watching",Play:"Play",Pause:"Pause",Snapshot:"Snapshot",Replay:"Replay",Live:"Live",Encrypt:"Encrypt",Sound:"Sound",Fullscreen:"Full Screen",Exist_Fullscreen:"Exit Full-screen",Resolution:"Resolution",Next:"Next Video",Brightness:"Brightness",Default:"Default",Contrast:"Contrast",Titles_Credits:"Titles\xa0and\xa0Credits",Skip_Titles:"Skip Titles",Skip_Credits:"Skip Credits",Not_Support_Out_Site:"The video is not supported for outside website, please watch it by TaoTV",Watch_Now:"Watch now",Network_Error:"Network is unreachable, please try to refresh",Video_Error:"Playing a video error,\xa0please try to refresh",Decode_Error:"Data decoding\xa0error",Live_Not_Start:"Live has not started, to be expected",Live_Loading:"Live information is loading,\xa0please try to refresh",Fetch_Playauth_Error:"Error occured when fetch playauth close or refresh",Live_End:"Live has finished",Live_Abrot:"Signal aborted,\xa0please try to refresh",Corss_Domain_Error:"Please ensure your domain has obtained IPC license and combined CNAME, \r\n or to set\xa0\xa0cross-domain accessing available",Url_Timeout_Error:"The video url is timeout,\xa0please try to refresh",Connetction_Error:"Sorry\uff0cthe video cannot play because of connection error, please try to watch other videos",Fetch_MTS_Error:"Fetching video list failed, please ensure",Token_Expired_Error:"Requesting open api failed, please ensure token expired or not",Video_Lists_Empty_Error:"The video list is empty, please check the format of video",Encrypted_Failed_Error:"Fetching encrypted file failed, please check the permission of player",Fetch_Failed_Permission_Error:"Fetching video list failed, please check the permission of player",Invalidate_Param_Error:"No video url, please check the parameters",AutoPlayDelayDisplayText:"Play in $$ seconds",Fetch_MTS_NOT_NotStream_Error:"The vid has no stream to play",Cancel_Text:"Cancel",OK_Text:"OK",Auto_Stream_Tip_Text:"Internet is slow, does switch to $$",Open_Html_By_File:"Html page should be on the server",Cant_Use_Flash_On_Mobile:"Mobile doesn't support flash player\uff0cplease use h5 player",Flash_Not_Ready:"Flash Player plugin hasn't been installed <a href='https://www.flash.cn/' target='_blank'>install plugin</a>, or check if disable Flash plugin"}},{}],17:[function(e,t,r){t.exports={OD:"\u539f\u753b",FD:"\u6d41\u7545",LD:"\u6807\u6e05",SD:"\u9ad8\u6e05",HD:"\u8d85\u6e05","2K":"2K","4K":"4K",FHD:"\u5168\u9ad8\u6e05",XLD:"\u6781\u901f",SQ:"\u666e\u901a\u97f3\u8d28",HQ:"\u9ad8\u97f3\u8d28",Forbidden_Text:"\u5185\u90e8\u4fe1\u606f\uff0c\u4e25\u7981\u5916\u4f20",Refresh:"\u5237\u65b0",Diagnosis:"\u8bca\u65ad",Live_Finished:"\u76f4\u64ad\u5df2\u7ed3\u675f,\u8c22\u8c22\u89c2\u770b",Play:"\u64ad\u653e",Pause:"\u6682\u505c",Snapshot:"\u622a\u56fe",Replay:"\u91cd\u64ad",Live:"\u76f4\u64ad",Encrypt:"\u52a0\u5bc6",Sound:"\u58f0\u97f3",Fullscreen:"\u5168\u5c4f",Exist_Fullscreen:"\u9000\u51fa\u5168\u5c4f",Resolution:"\u6e05\u6670\u5ea6",Next:"\u4e0b\u4e00\u96c6",Brightness:"\u4eae\u5ea6",Default:"\u9ed8\u8ba4",Contrast:"\u5bf9\u6bd4\u5ea6",Titles_Credits:"\u7247\u5934\u7247\u5c3e",Skip_Titles:"\u8df3\u8fc7\u7247\u5934",Skip_Credits:"\u8df3\u8fc7\u7247\u5c3e",Not_Support_Out_Site:"\u8be5\u89c6\u9891\u6682\u4e0d\u652f\u6301\u7ad9\u5916\u64ad\u653e\uff0c\u8bf7\u5230\u6dd8TV\u89c2\u770b",Watch_Now:"\u7acb\u5373\u89c2\u770b",Network_Error:"\u7f51\u7edc\u65e0\u6cd5\u8fde\u63a5\uff0c\u8bf7\u5c1d\u8bd5\u68c0\u67e5\u7f51\u7edc\u540e\u5237\u65b0\u8bd5\u8bd5",Video_Error:"\u89c6\u9891\u64ad\u653e\u5f02\u5e38\uff0c\u8bf7\u5237\u65b0\u8bd5\u8bd5",Decode_Error:"\u64ad\u653e\u6570\u636e\u89e3\u7801\u9519\u8bef",Live_Not_Start:"\u4eb2\uff0c\u76f4\u64ad\u8fd8\u672a\u5f00\u59cb\u54e6\uff0c\u656c\u8bf7\u671f\u5f85",Live_Loading:"\u76f4\u64ad\u4fe1\u606f\u52a0\u8f7d\u4e2d\uff0c\u8bf7\u5237\u65b0\u8bd5\u8bd5",Live_End:"\u4eb2\uff0c\u76f4\u64ad\u5df2\u7ed3\u675f",Live_Abrot:"\u5f53\u524d\u76f4\u64ad\u4fe1\u53f7\u4e2d\u65ad\uff0c\u8bf7\u5237\u65b0\u540e\u91cd\u8bd5",Corss_Domain_Error:"\u8bf7\u786e\u8ba4\u60a8\u7684\u57df\u540d\u5df2\u5b8c\u6210\u5907\u6848\u548cCNAME\u7ed1\u5b9a\uff0c\r\n\u5e76\u5904\u4e8e\u542f\u7528\u72b6\u6001\uff0c\u6216\u8d44\u6e90\u5141\u8bb8\u8de8\u8d8a\u8bbf\u95ee",Url_Timeout_Error:"\u60a8\u6240\u89c2\u770b\u7684\u89c6\u9891\u5730\u5740\u8fde\u63a5\u8d85\u65f6\uff0c\u8bf7\u5237\u65b0\u540e\u91cd\u8bd5",Connetction_Error:"\u62b1\u6b49,\u8be5\u89c6\u9891\u7531\u4e8e\u8fde\u63a5\u9519\u8bef\u6682\u65f6\u4e0d\u80fd\u64ad\u653e,\u8bf7\u89c2\u770b\u5176\u5b83\u89c6\u9891",Fetch_MTS_Error:"\u83b7\u53d6\u89c6\u9891\u5217\u8868\u5931\u8d25\uff0c\u8bf7\u786e\u8ba4",Token_Expired_Error:"\u8bf7\u6c42\u63a5\u53e3\u5931\u8d25\uff0c\u8bf7\u786e\u8ba4Token\u662f\u5426\u8fc7\u671f",Video_Lists_Empty_Error:"\u83b7\u53d6\u89c6\u9891\u5217\u8868\u4e3a\u7a7a\uff0c\u8bf7\u786e\u8ba4\u64ad\u653e\u6570\u636e\u4e0e\u683c\u5f0f",Encrypted_Failed_Error:"\u83b7\u53d6\u89c6\u9891\u52a0\u5bc6\u79d8\u94a5\u9519\u8bef\uff0c\u8bf7\u786e\u8ba4\u64ad\u653e\u6743\u9650",Fetch_Failed_Permission_Error:"\u83b7\u53d6\u89c6\u9891\u5217\u8868\u5931\u8d25\uff0c\u8bf7\u786e\u8ba4\u64ad\u653e\u6743\u9650",Invalidate_Param_Error:"\u65e0\u8f93\u5165\u89c6\u9891\uff0c\u8bf7\u786e\u8ba4\u8f93\u5165\u53c2\u6570",AutoPlayDelayDisplayText:"$$\u79d2\u4ee5\u540e\u5f00\u59cb\u64ad\u653e",Fetch_MTS_NOT_NotStream_Error:"\u6b64vid\u6ca1\u6709\u53ef\u64ad\u653e\u89c6\u9891",Cancel_Text:"\u53d6\u6d88",OK_Text:"\u786e\u8ba4",Auto_Stream_Tip_Text:"\u7f51\u7edc\u4e0d\u7ed9\u529b\uff0c\u662f\u5426\u5207\u6362\u5230$$",Fetch_Playauth_Error:"\u83b7\u53d6\u64ad\u653e\u51ed\u8bc1\u51fa\u9519\u5566\uff0c\u8bf7\u5c1d\u8bd5\u9000\u51fa\u91cd\u8bd5\u6216\u5237\u65b0",Open_Html_By_File:"\u4e0d\u80fd\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u6253\u5f00html\u6587\u4ef6\uff0c\u8bf7\u90e8\u7f72\u5230\u670d\u52a1\u7aef",Cant_Use_Flash_On_Mobile:"\u79fb\u52a8\u7aef\u4e0d\u652f\u6301Flash\u64ad\u653e\u5668\uff0c\u8bf7\u4f7f\u7528h5\u64ad\u653e\u5668",Flash_Not_Ready:"Flash Player\u63d2\u4ef6\u672a\u5b89\u88c5<a href='https://www.flash.cn/' target='_blank'>\u5b89\u88c5\u63d2\u4ef6</a>\uff0c\u5982\u679c\u5df2\u7ecf\u5b89\u88c5\u8bf7\u68c0\u67e5\u662f\u5426\u88ab\u7981\u7528"}},{}],18:[function(a,e,t){function i(e,t,r){var o=d(e),n="",i=p(),n="flash"==e?"en-us"==i?a("./flash/en-us"):"zh-cn"==i?a("./flash/zh-cn"):t[i]:"en-us"==i?a("./en-us"):"zh-cn"==i?a("./zh-cn"):t[i];r&&(n=Object.assign({},n,r[i])),s.set(o,JSON.stringify(n)),u(e,n),r&&a("../lib/constants").updateByLanguage()}var r=a("../config"),s=a("../lib/storage"),o=(a("../lib/io"),"aliplayer_lang_data"),l="aliplayer_lang",c=function(){var e;return void 0!==window[l]&&window[l]||(e=(e=(navigator.language||navigator.browserLanguage).toLowerCase())&&-1<e.indexOf("zh")?"zh-cn":"en-us",window[l]=e),window[l]},u=function(e,t){e=d(e);window[e]=t},p=function(){return c()},d=function(e){var t=p();return o+"_"+(e=e||"h5")+"_"+r.h5Version.replace(/\./g,"_")+"_"+t};e.exports.setCurrentLanguage=function(e,t,r,o){var n=window[l];if(!("en-us"==(e=void 0!==e&&e?e:c())||"zh-cn"==e||r&&r[e]))throw new Error("There is not language resource for "+e+", please specify the language resource by languageTexts property");window[l]=e,i(t,r,o),e!=n&&a("../lib/constants").updateByLanguage()},e.exports.getCurrentLanguage=c,e.exports.getLanguageData=function(e,t){e=d(e);return window[e]},e.exports.load=i,e.exports.get=function(e,t,r){t=d(t=t||"h5"),t=window[t];if(t){var o=t[e];if(r)for(var n in r)o=o.replace(new RegExp("@"+n+"@","g"),r[n]);return o}}},{"../config":12,"../lib/constants":20,"../lib/io":28,"../lib/storage":33,"./en-us":15,"./flash/en-us":16,"./flash/zh-cn":17,"./zh-cn":19}],19:[function(e,t,r){t.exports={OD:"\u539f\u753b",FD:"\u6d41\u7545",LD:"\u6807\u6e05",SD:"\u9ad8\u6e05",HD:"\u8d85\u6e05","2K":"2K","4K":"4K",FHD:"\u5168\u9ad8\u6e05",XLD:"\u6781\u901f",SQ:"\u666e\u901a\u97f3\u8d28",HQ:"\u9ad8\u97f3\u8d28",Speed:"\u500d\u901f",Speed_05X_Text:"0.5X",Speed_1X_Text:"\u6b63\u5e38",Speed_125X_Text:"1.25X",Speed_15X_Text:"1.5X",Speed_2X_Text:"2X",Quality_Change_Fail_Switch_Text:"\u4e0d\u80fd\u64ad\u653e\uff0c\u5207\u6362\u4e3a",Quality_Change_Text:"\u6b63\u5728\u4e3a\u60a8\u5207\u6362\u5230 ",Quality_Change_Result:"\u5df2\u5207\u6362\u5230 ",Quality_The_Url:"\u6b64\u5730\u5740",Refresh_Text:"\u5237\u65b0",Detection_Text:"\u67e5\u770b\u5efa\u8bae",Cancel:"\u53d6\u6d88",Mute:"\u9759\u97f3",Click_To_Unmute:"\u70b9\u51fb\u53d6\u6d88\u9759\u97f3",Snapshot:"\u622a\u56fe",Play_DateTime:"\u64ad\u653e\u65f6\u95f4",Default:"\u9ed8\u8ba4",AutoPlayDelayDisplayText:"$$\u79d2\u4ee5\u540e\u5f00\u59cb\u64ad\u653e",Error_Load_Abort_Text:"\u83b7\u53d6\u6570\u636e\u8fc7\u7a0b\u88ab\u4e2d\u6b62",Error_Network_Text:"\u7f51\u7edc\u9519\u8bef\u52a0\u8f7d\u6570\u636e\u5931\u8d25",Error_Decode_Text:"\u89e3\u7801\u9519\u8bef",Error_No_Decoder_Text:"\u4e0d\u652f\u6301\u6b64\u7f16\u7801\u683c\u5f0f",Error_Server_Network_NotSupport_Text:"\u670d\u52a1\u5668\u3001\u7f51\u7edc\u9519\u8bef\u6216\u683c\u5f0f\u4e0d\u652f\u6301",Error_Offline_Text:"\u7f51\u7edc\u4e0d\u53ef\u7528\uff0c\u8bf7\u786e\u5b9a",Error_Play_Text:"\u64ad\u653e\u51fa\u9519\u5566",Error_Retry_Text:"\u8bf7\u5c1d\u8bd5\u9000\u51fa\u91cd\u8bd5\u6216\u5237\u65b0",Error_AuthKey_Text:"\u53ef\u80fd\u9274\u6743\u8fc7\u671f\u3001\u57df\u540d\u4e0d\u5728\u767d\u540d\u5355\u6216\u8bf7\u6c42\u88ab\u62e6\u622a",Error_H5_Not_Support_Text:"\u4e0d\u652f\u6301\u6b64\u683c\u5f0f\u7684\u89c6\u9891",Error_Not_Support_M3U8_Text:"\u6d4f\u89c8\u5668\u4e0d\u652f\u6301m3u8\u89c6\u9891\u64ad\u653e",Error_Not_Support_MP4_Text:"\u6d4f\u89c8\u5668\u4e0d\u652f\u6301mp4\u89c6\u9891\u64ad\u653e",Error_Not_Support_encrypt_Text:"\u64ad\u653e\u79c1\u6709\u52a0\u5bc6\u89c6\u9891\uff0c\u8bf7\u8bbe\u7f6e\u5c5e\u6027encryptType\u4e3a1",Error_Encrypt_Fetch_Failed_Text:"\u8bf7\u6c42\u52a0\u5bc6\u5730\u5740\u5931\u8d25",Error_Vod_URL_Is_Empty_Text:"\u83b7\u53d6\u64ad\u653e\u5730\u5740\u4e3a\u7a7a",Error_Vod_Fetch_Urls_Text:"\u70b9\u64ad\u63a5\u53e3\u5f02\u5e38\uff0c\u8bf7\u5c1d\u8bd5\u9000\u51fa\u91cd\u8bd5\u6216\u5237\u65b0",Fetch_Playauth_Error:"\u83b7\u53d6\u64ad\u653e\u51ed\u8bc1\u51fa\u9519\u5566\uff0c\u8bf7\u5c1d\u8bd5\u9000\u51fa\u91cd\u8bd5\u6216\u5237\u65b0",Error_Playauth_Decode_Text:"playauth\u89e3\u6790\u9519\u8bef",Error_Vid_Not_Same_Text:"\u4e0d\u80fd\u66f4\u65b0\u5730\u5740\uff0cvid\u548c\u64ad\u653e\u4e2d\u7684\u4e0d\u4e00\u81f4",Error_Playauth_Expired_Text:"\u51ed\u8bc1\u5df2\u8fc7\u671f\uff0c\u8bf7\u5c1d\u8bd5\u9000\u51fa\u91cd\u8bd5\u6216\u5237\u65b0",Error_MTS_Fetch_Urls_Text:"MTS\u83b7\u53d6\u53d6\u6570\u5931\u8d25",Error_Load_M3U8_Failed_Text:"\u83b7\u53d6m3u8\u6587\u4ef6\u5931\u8d25,\u53ef\u80fd\u662fhttps\u8bc1\u4e66\u3001\u8de8\u57df\u95ee\u9898\u6216DNS\u89e3\u6790\u5931\u8d25",Error_Load_M3U8_Timeout_Text:"\u83b7\u53d6m3u8\u6587\u4ef6\u8d85\u65f6",Error_Liveshift_M3U8_Not_Found_Text:"\u6ca1\u6709\u66f4\u591a\u65f6\u79fb\u89c6\u9891\u4e86",Error_M3U8_Decode_Text:"\u83b7\u53d6m3u8\u6587\u4ef6\u89e3\u6790\u5931\u8d25",Error_TX_Decode_Text:"\u89e3\u6790\u6570\u636e\u51fa\u9519",Error_Manifest_Decode_Text:"Manifest\u89e3\u6790\u51fa\u9519",Error_Waiting_Timeout_Text:"\u7f13\u51b2\u6570\u636e\u8d85\u65f6\uff0c\u8bf7\u5c1d\u8bd5\u9000\u51fa\u91cd\u8bd5\u6216\u5237\u65b0",Error_Invalidate_Source:"\u64ad\u653e\u5730\u5740\u683c\u5f0f\u9700\u8981\u4e3amp4\u3001mp3\u3001m3u8\u3001mpd\u6216flv",Error_Empty_Source:"\u64ad\u653e\u5730\u5740\u4e0d\u80fd\u4e3a\u7a7a",Error_Vid_Empty_Source:"vid\u5bf9\u5e94\u7684\u89c6\u9891\u5730\u5740\u8fd8\u672a\u83b7\u53d6\u5230",Error_Mediaauth_Empty_Source:"mediaAuth\u5bf9\u5e94\u7684\u89c6\u9891\u5730\u5740\u8fd8\u672a\u83b7\u53d6\u5230",Error_Fetch_NotStream:"\u6b64vid\u6ca1\u6709\u53ef\u64ad\u653e\u89c6\u9891",Error_Fetch_Media_Not_Found:"\u6570\u636e\u4e0d\u5b58\u5728\u6216\u5df2\u88ab\u5220\u9664",Error_Not_Found:"\u64ad\u653e\u5730\u5740\u4e0d\u5b58\u5728",Error_Drm_License_Request_Failed:"DRM License \u8bf7\u6c42\u5931\u8d25",Error_Drm_Not_Supported:"\u5f53\u524d\u6d4f\u89c8\u5668\u4e0d\u652f\u6301 DRM \u64ad\u653e",Error_Drm_Load:"DRM \u64ad\u653e\u9519\u8bef",Error_Drm_No_Sts:"DRM \u64ad\u653e\u9700\u8981\u4f7f\u7528STS(accessKeyId/accessKeySecret/securityToken)",Error_Drm_Params_Missing:"\u7f3a\u5c11drm.widevine/fairplay\u7b49\u53c2\u6570",Error_Region_Block_Text:"\u60a8\u6240\u5728\u7684\u5730\u533a\u65e0\u6cd5\u89c2\u770b\u8be5\u89c6\u9891",Error_SW_Conflict:"ServiceWorker\u51b2\u7a81\uff0c\u8bf7\u5c1d\u8bd5\u7981\u7528\u6d4f\u89c8\u5668\u63d2\u4ef6\u3001\u91cd\u542f\u6d4f\u89c8\u5668\u5e76\u5173\u95ed\u5176\u4ed6\u7f51\u9875",Error_SW_Register_Failed:"Service Worker\u6ce8\u518c\u5931\u8d25",Error_SW_ScriptURL_Empty:"\u8bf7\u4f20\u5165 swScriptURL \u53c2\u6570",Error_SW_ScriptURL_Https:"swScriptURL\u53c2\u6570\u8bf7\u4f7f\u7528 https:// \u534f\u8bae\u7684\u7edd\u5bf9\u5730\u5740",Error_SW_ScriptURL_Scope:"swScriptURL(\u5b50\u8def\u5f84:@scope1@)\u548c\u5f53\u524d\u7f51\u9875(\u5b50\u8def\u5f84:@scope2@)\u5fc5\u987b\u5728\u540c\u4e00\u4e2a\u5b50\u8def\u5f84\u4e0b",Error_SW_Version_Not_Match:"swScriptURL\u7684\u7248\u672c\u53f7(@swVersion@)\u5fc5\u987b\u548c\u64ad\u653e\u5668\u7248\u672c(@playerVersion@)\u53f7\u4e00\u81f4",Error_SW_ScriptURL_ILlegal:"\u8bf7\u4f20\u5165\u5408\u6cd5\u7684swScriptURL(@detail@)",Error_SW_Https_required:"\u79c1\u6709\u52a0\u5bc6\u64ad\u653e\u9700\u8981\u4f7f\u7528 https \u73af\u5883",Tip_Err_Common:"\u60a8\u53ef\u8054\u7cfb\u552e\u540e\u652f\u6301\uff0c\u9519\u8bef\u8be6\u60c5:<br />",Tip_Err_Common_Short:"\u9519\u8bef\u8be6\u60c5:<br />",Tip_Drm_Request_Err:"\u8bf7\u6c42\u51fa\u9519\uff0c\u8bf7\u5148\u67e5\u770b\u6d4f\u89c8\u5668\u63a7\u5236\u53f0\uff0c\u68c0\u67e5\u662f\u5426\u7531\u57df\u540d\u89e3\u6790\u3001https\u8bc1\u4e66\u3001\u6216\u7f51\u7edc\u95ee\u9898\u5f15\u8d77\u3002<br />\u82e5\u4ee5\u4e0a\u68c0\u67e5\u6ca1\u95ee\u9898\uff0c",Tip_Drm_Secure_Context:"DRM\u4ec5\u53ef\u4ee5\u5728https\u3001localhost\u3001127.0.0.1\u7f51\u9875\u4e0b\u8bbf\u95ee\uff0c\u540c\u65f6manifest\u548c\u5207\u7247\u4e5f\u5fc5\u987b\u4f7f\u7528https\u3002",Tip_Drm_Key_System_Unavailable:"1.\u6b64\u6d4f\u89c8\u5668\u4e0d\u652f\u6301Widevine\u6216\u8005\u5f53\u524d\u7684Widevine\u914d\u7f6e<br />2.\u6d4f\u89c8\u5668\u5f39\u51fa\u7684\u8bf7\u6c42\u88ab\u7528\u6237\u62d2\u7edd\u4e86<br />3.\u8bf7\u6253\u5f00\u6d4f\u89c8\u5668\u8bbe\u7f6e\uff0c\u67e5\u627e\u5173\u4e8e\u3010\u53d7\u4fdd\u62a4\u7684\u5185\u5bb9\u3011\u8bbe\u7f6e\u5e76\u5141\u8bb8",Tip_Drm_File_Not_Allowed:"\u8bf7\u4e0d\u8981\u4f7f\u7528file://\u76f4\u63a5\u6253\u5f00\u6587\u4ef6\uff0c\u9700\u8981\u4f7f\u7528https://\u8bbf\u95ee\u6587\u4ef6",Tip_Drm_Playlist_Hierarchy:"HLS\u64ad\u653e\u5217\u8868\u5c42\u7ea7\u9519\u8bef\uff0c\u4e3b\u5217\u8868\u9700\u8981\u662f master playlist",Tip_Drm_Info_Missing:"\u8bf7\u68c0\u67e5\u4f20\u5165\u7684drm.widevine/fairplay\u7b49\u53c2\u6570\u662f\u5426\u6709\u6548",Tip_Drm_Unsupported:"\u60a8\u7684\u6d4f\u89c8\u5668\u4e0d\u652f\u6301 Widevine\uff0c\u5982\u679c\u662f Chrome\uff0c\u53ef\u4ee5\u8bbf\u95ee chrome://components/\uff0c\u67e5\u627e Widevine Content Decryption Module\uff0c\u5e76\u70b9\u51fb\u66f4\u65b0\u3002\u5982\u679c\u6ca1\u6709\u6b64\u6a21\u5757\uff0c\u5219\u8be5\u6d4f\u89c8\u5668\u65e0\u6cd5\u64ad\u653e DRM \u89c6\u9891\u3002",Tip_Err_Decode:"\u89e3\u7801\u9519\u8bef\u6307\u7684\u662f\u5f53\u524d\u97f3/\u89c6\u9891\u5e27\u4e0e\u6d4f\u89c8\u5668\u4e0d\u517c\u5bb9\uff0c\u53ef\u4ee5\u5c1d\u8bd5\u4ee5\u4e0b\u65b9\u5f0f\uff1a<br />1.chrome/edge \u6d4f\u89c8\u5668\u6253\u5f00chrome://flags\uff0c\u641c\u7d22 Hardware-accelerated video decode\uff0c\u9009\u62e9 disabled<br />2.\u5982\u679c\u89e3\u7801\u9519\u8bef\u4ecd\u7136\u5b58\u5728\uff0c\u8bf7\u5bf9\u89c6\u9891\u8fdb\u884c\u8f6c\u7801\u5904\u7406\uff0c\u4ee5\u4fee\u590d\u95ee\u9898\u5e27<br />3.firefox\u6d4f\u89c8\u5668\u8bf7\u6253\u5f00about:support\uff0c\u4e0b\u62c9\u627e\u5230\u3010\u89e3\u7801\u5668\u652f\u6301\u4fe1\u606f\u3011\uff0c\u5982\u679c\u6ca1\u6709AAC\u5b57\u6837\uff0c\u4ee3\u8868\u4e0d\u652f\u6301\u97f3\u9891\u89e3\u7801\uff0c\u8bf7\u66f4\u6362\u6d4f\u89c8\u5668",Tip_Err_Rts_Http_Failed:"\u8be5\u9519\u8bef\u6307\u7684\u662fRTS\u62c9\u6d41\u8bf7\u6c42\u9047\u5230\u4e86\u4e00\u4e2ahttp\u9519\u8bef\uff0c\u4e00\u822c\u6765\u8bf4\u662fhttps\u8bc1\u4e66\u3001DNS\u89e3\u6790\u6216\u8005\u7f51\u7edc\u8fde\u901a\u6027\u95ee\u9898\uff0c\u7531\u4e8e\u6d4f\u89c8\u5668\u5bf9JS\u7684\u9650\u5236\uff0c\u64ad\u653e\u5668\u65e0\u6cd5\u53d6\u5f97\u8be6\u7ec6\u7684\u9519\u8bef\u4fe1\u606f\uff0c\u9700\u8981\u8fdb\u4e00\u6b65\u6392\u67e5\uff0c\u60a8\u53ef\u6309\u7167\u4ee5\u4e0b\u64cd\u4f5c\uff1a<br>1.\u53f3\u952e\u6d4f\u89c8\u5668\u7a7a\u767d\u5904\uff0c\u9009\u62e9\u3010\u68c0\u67e5\u30112.\u5728\u65b0\u6253\u5f00\u7684\u754c\u9762\u4e2d\u9009\u62e9\u3010\u63a7\u5236\u53f0\u30113.\u67e5\u770b\u7ea2\u8272\u62a5\u9519\uff1a<br>\u5982\u679c\u6709SSL\u5b57\u6837\uff0c\u5219\u4ee3\u8868\u60a8\u6ca1\u6709\u4e3a\u62c9\u6d41\u57df\u540d\u6b63\u786e\u5730\u914d\u7f6ehttps\u8bc1\u4e66<br>\u5982\u679c\u6709NOT RESOLVED\u5b57\u6837\uff0c\u5219\u4ee3\u8868\u60a8\u7684\u57df\u540dDNS\u89e3\u6790\u5931\u8d25<br>\u60a8\u4e5f\u4f7f\u7528<a style='color:white;text-decoration:underline;' href='https://live.console.aliyun.com/#/tool/url' target='_blank'>\u963f\u91cc\u4e91\u76f4\u64ad\u8bca\u65ad\u5de5\u5177</a>\u8fdb\u884c\u81ea\u52a9\u6392\u67e5",Tip_Err_Not_found:"\u5982\u679c\u662f\u76f4\u64ad\uff0c\u53ef\u80fd\u662f\u76f4\u64ad\u672a\u5f00\u59cb/\u5df2\u505c\u6b62/\u5df2\u65ad\u6d41\uff1b\u5982\u679c\u662f\u70b9\u64ad\uff0c\u53ef\u80fd\u662f\u89c6\u9891\u4e0d\u5b58\u5728\u3002",Tip_Err_Blocked:"\u5982\u679c\u60a8\u5f00\u542f\u4e86\u7f51\u7edc\u4ee3\u7406\uff0c\u8bf7\u5173\u95ed\u540e\u91cd\u8bd5\u3002",Tip_Err_Splayer:"\u5173\u4e8e H.265/H.266 \u64ad\u653e\u7684\u6700\u4f73\u5b9e\u8df5\uff0c\u8bf7\u53c2\u8003",Tip_Err_Splayer_Doc:"\u6b64\u6587\u6863\u3002",Tip_SW_Register:"1.\u8bf7\u4f7f\u7528https\u8bbf\u95ee\u7f51\u9875<br>2.\u8bf7\u786e\u4fdd\u4f20\u5165\u7684swScriptURL\u662f\u4ee5https://\u5f00\u5934\u7684\u5b8c\u6574\u5730\u5740\uff0c\u4e14\u53ef\u4ee5\u6b63\u5e38\u8bbf\u95ee",Tip_License_Required:"2024\u5e7412\u67081\u65e5\u8d77\uff0c\u65b0\u7248\u672c\u64ad\u653e\u5668\u9700\u8981\u914d\u7f6eLicense\u624d\u53ef\u4ee5\u4f7f\u7528\uff0c\u64ad\u653e\u5668\u57fa\u7840\u529f\u80fdLicense\u514d\u8d39\u7533\u8bf7\uff0c\u6709\u6548\u671f 1 \u5e74\uff0c\u8bf7\u63d0\u524d\u7533\u8bf7\u4ee5\u907f\u514d\u65e0\u6cd5\u4f7f\u7528",Tip_License_Params:"\u7533\u8bf7\u5b8c\u6210\u540e\uff0c\u8bf7\u53c2\u8003\u6b64\u6587\u6863\u5c06License\u4fe1\u606f\u4f20\u5165SDK",Tip_License_Check:"\u8bf7\u786e\u4fdd\u4f20\u5165\u7684 license key/domain \u53c2\u6570\u548c\u70b9\u64ad\u63a7\u5236\u53f0\u4e0a\u83b7\u53d6\u7684\u5b8c\u5168\u4e00\u81f4",Tip_License_Domain:"\u5f53\u524d\u7f51\u9875\u57df\u540d\u548c\u60a8\u7684 license \u6388\u6743\u57df\u540d\u4e0d\u4e00\u81f4",Tip_License_Feature:"\u60a8\u7684license\u672a\u6388\u6743\u529f\u80fd\uff1a",Live_End:"\u4eb2\uff0c\u76f4\u64ad\u5df2\u7ed3\u675f",Play_Before_Fullscreen:"\u64ad\u653e\u540e\u518d\u5168\u5c4f",Can_Not_Seekable:"\u4e0d\u80fdseek\u5230\u8fd9\u91cc",Cancel_Text:"\u53d6\u6d88",OK_Text:"\u786e\u8ba4",Auto_Stream_Tip_Text:"\u7f51\u7edc\u4e0d\u7ed9\u529b\uff0c\u662f\u5426\u5207\u6362\u5230$$",Request_Block_Text:"\u6d4f\u89c8\u5668\u5b89\u5168\u7b56\u7565\u89c6\u9891\u5730\u5740\u4e0d\u80fd\u4e3ahttp\u534f\u8bae\uff0c\u4e0e\u7f51\u7ad9https\u534f\u8bae\u4e0d\u4e00\u81f4",Open_Html_By_File:"\u4e0d\u80fd\u76f4\u63a5\u5728\u6d4f\u89c8\u5668\u6253\u5f00html\u6587\u4ef6\uff0c\u8bf7\u90e8\u7f72\u5230\u670d\u52a1\u7aef",Maybe_Cors_Error:"\u7f51\u7edc\u8bf7\u6c42\u5931\u8d25\uff0c\u53ef\u80fd\u662fhttps\u8bc1\u4e66\u3001\u8de8\u57df\u95ee\u9898\u6216DNS\u89e3\u6790\u5931\u8d25",Speed_Switch_To:"\u500d\u901f\u5207\u6362\u5230 ",Curent_Volume:"\u5f53\u524d\u97f3\u91cf\uff1a",Volume_Mute:"\u8bbe\u7f6e\u4e3a\u9759\u97f3",Volume_UnMute:"\u8bbe\u7f6e\u4e3a\u975e\u9759\u97f3",ShiftLiveTime_Error:"\u76f4\u64ad\u5f00\u59cb\u65f6\u95f4\u4e0d\u80fd\u5927\u4e8e\u76f4\u64ad\u7ed3\u675f\u65f6\u95f4",Error_Not_Support_Format_On_Mobile:"\u79fb\u52a8\u7aef\u4e0d\u652f\u6301flv\u3001rmtp\u89c6\u9891\uff0c\u8bf7\u4f7f\u7528m3u8",Error_Not_Support_Mse_Flv:"\u5f53\u524d\u6d4f\u89c8\u5668\u4e0d\u652f\u6301 flv \u89c6\u9891",Error_Not_Support_Mse_Dash:"\u5f53\u524d\u6d4f\u89c8\u5668\u4e0d\u652f\u6301 dash \u89c6\u9891",Error_Not_Support_RTMP:"\u6d4f\u89c8\u5668\u4e0d\u652f\u6301 rtmp \u89c6\u9891",SessionId_Ticket_Invalid:"DRM\u89c6\u9891\u64ad\u653e\uff0csessionId\u548cticket\u5c5e\u6027\u4e0d\u80fd\u4e3a\u7a7a",Http_Error:"Http\u7f51\u7edc\u8bf7\u6c42\u5931\u8d25",Http_Timeout:"http\u8bf7\u6c42\u8d85\u65f6",DRM_License_Expired:"DRM license\u8d85\u65f6\uff0c\u8bf7\u5237\u65b0",Not_Support_DRM:"\u6d4f\u89c8\u5668\u4e0d\u652f\u6301DRM\u89c6\u9891\u7684\u64ad\u653e\u6216\u672a\u53d7\u5230\u7528\u6237\u8bb8\u53ef",CC_Switch_To:"\u5b57\u5e55\u5207\u6362\u5230 ",AudioTrack_Switch_To:"\u97f3\u8f68\u5207\u6362\u5230 ",Subtitle:"\u5b57\u5e55",AudioTrack:"\u97f3\u8f68",Quality:"\u6e05\u6670\u5ea6",Auto:"\u81ea\u52a8",Quality_Switch_To:"\u6b63\u5728\u5207\u6362\u6e05\u6670\u5ea6\u81f3 ",Fullscreen:"\u5168\u5c4f",Setting:"\u8bbe\u7f6e",Volume:"\u97f3\u91cf",Play:"\u64ad\u653e",Pause:"\u6682\u505c",CloseSubtitle:"\u5173\u95ed\u5b57\u5e55",OpenSubtitle:"\u6253\u5f00\u5b57\u5e55",ExistFullScreen:"\u9000\u51fa\u5168\u5c4f",Muted:"\u9759\u97f3",Retry:"\u91cd\u8bd5",SwitchToLive:"\u8fd4\u56de\u76f4\u64ad",iOSNotSupportVodEncription:"iOS17.1\u4ee5\u4e0b\u4e0d\u652f\u6301\u963f\u91cc\u4e91\u89c6\u9891\u79c1\u6709\u52a0\u5bc6\u64ad\u653e",iOSVodEncriptionBlacklist:"\u8bf7\u4f7f\u7528Safari/Chrome\u6d4f\u89c8\u5668\u64ad\u653e\u52a0\u5bc6\u89c6\u9891",UseChromeForVodEncription:"\u6d4f\u89c8\u5668\u4e0d\u652f\u6301\u70b9\u64ad\u52a0\u5bc6\u64ad\u653e\uff0c\u8bf7\u4f7f\u7528\u6700\u65b0Chrome/Edge\u6d4f\u89c8\u5668",Record_Not_Allowed:"\u7981\u6b62\u5f55\u5c4f\u6216\u5c0f\u7a97\u53e3\u64ad\u653e\uff0c\u8bf7\u5173\u95ed\u63d2\u4ef6\u6216\u66f4\u6362\u6d4f\u89c8\u5668",License_No_Authorization:"\u64ad\u653e\u5668SDK\u672a\u6fc0\u6d3b",License_Click_To_Apply:"\u70b9\u51fb\u7533\u8bf7License",License_Empty:"\u672a\u914d\u7f6eLicense",License_Not_Found:"License\u672a\u6ce8\u518c",License_Expired:"License\u5df2\u8fc7\u671f",License_License_Key_Invalid:"LicenseKey\u65e0\u6548",License_Domain_Invalid:"\u57df\u540d\u4e0d\u5339\u914d",License_Feature_Unauthorized:"\u529f\u80fd\u672a\u6388\u6743",Rts_Err_Http_Signal_Error:"(RTS)\u4fe1\u4ee4\u8bf7\u6c42\u5931\u8d25",Rts_Err_Play_Failed:"(RTS)\u64ad\u653e\u5931\u8d25",Rts_Err_No_Data_For:"\u79d2\u6ca1\u6709\u6570\u636e",Rts_Err_Browser_Not_Support:"(RTS)\u4e0d\u652f\u6301\u6b64\u6d4f\u89c8\u5668",Rts_Err_Not_Support_Webrtc:"(RTS)\u4e0d\u652f\u6301webrtc",Rts_Err_Browser_Version_Too_Low:"(RTS)\u6d4f\u89c8\u5668\u7248\u672c\u8fc7\u4f4e",Rts_Err_Not_Support_H264:"(RTS)\u4e0d\u652f\u6301H264",Rts_Err_Create_Offer_Error:"(RTS)create offer\u5931\u8d25",Rts_Err_Play_Url_Error:"(RTS)\u64ad\u653eurl\u534f\u8bae\u9519\u8bef",Rts_Err_Subscribe_Nonthing:"(RTS)\u53c2\u6570\u8bbe\u7f6e\u9519\u8bef",Rts_Err_Http_Request_Failed:"(RTS)HTTP\u8bf7\u6c42\u5931\u8d25",Rts_Err_Http_Answer_Failed:"(RTS)answer\u5931\u8d25",Rts_Err_PeerConnection_Unknown:"(RTS)PeerConnection\u5f02\u5e38",Splayer_Err_Env_Check:"(SP)\u5f53\u524d\u73af\u5883\u4e0d\u652f\u6301\u64ad\u653e\u8be5\u89c6\u9891",Splayer_Err_Coroutine:"(SP)Coroutine \u9519\u8bef",Splayer_Err_Decode:"(SP)\u89e3\u7801\u9519\u8bef",Splayer_Err_Buffering:"(SP)\u7f13\u51b2\u533a\u9519\u8bef",Splayer_Err_Parser_Not_Found:"(SP)\u4e0d\u652f\u6301\u7684\u5a92\u4f53\u5bb9\u5668"}},{}],20:[function(e,t,r){function o(){t.exports.VideoErrorCodeText={1:n.get("Error_Load_Abort_Text"),2:n.get("Error_Network_Text"),3:n.get("Error_Decode_Text"),4:n.get("Error_Server_Network_NotSupport_Text")},t.exports.VideoLevels={0:n.get("OD"),640:n.get("FD"),960:n.get("LD"),1280:n.get("SD"),1920:n.get("HD"),2580:n.get("2K"),3840:n.get("4K")},t.exports.QualityLevels={OD:n.get("OD"),LD:n.get("LD"),FD:n.get("FD"),SD:n.get("SD"),HD:n.get("HD"),"2K":n.get("2K"),"4K":n.get("4K"),XLD:n.get("XLD"),FHD:n.get("FHD"),SQ:n.get("SQ"),HQ:n.get("HQ")},t.exports.SpeedLevels=[{key:.5,text:n.get("Speed_05X_Text")},{key:1,text:n.get("Speed_1X_Text")},{key:1.25,text:n.get("Speed_125X_Text")},{key:1.5,text:n.get("Speed_15X_Text")},{key:2,text:n.get("Speed_2X_Text")}]}var n=e("../lang/index");t.exports.LOAD_START="loadstart",t.exports.LOADED_METADATA="loadedmetadata",t.exports.LOADED_DATA="loadeddata",t.exports.PROGRESS="progress",t.exports.CAN_PLAY="canplay",t.exports.CAN_PLYA_THROUGH="canplaythrough",t.exports.PLAY="play",t.exports.PAUSE="pause",t.exports.ENDED="ended",t.exports.PLAYING="playing",t.exports.WAITING="waiting",t.exports.ERROR="error",t.exports.SUSPEND="suspend",t.exports.STALLED="stalled",t.exports.DASH_QUALITY_PROTOCOL="quality_index://",t.exports.AuthKeyExpiredEvent="authkeyexpired",t.exports.USER_EVENT_NAME="__user_events__",t.exports.PLAYER_SCOPE="__aliplayerMessage__",t.exports.SW_MSG_EVT={SETUP:"setup",SETUP_ACK:"setupAck",DISPOSE:"dispose",ENC_SEGMENT:"encSegment",DEC_SEGMENT:"decSegment",ABORT_SEGMENT:"abortSegment"},t.exports.DM_MSG_EVT={SETUP:"setup",DEMUX:"demux",RESULT:"result",FLUSH:"flush",DISPOSE:"dispose",DISPOSED:"disposed",ERROR:"error"},t.exports.PLAYER_SDK_CODE_LEGACY=9201,t.exports.PLAYER_SDK_CODE=9203,t.exports.FEATURE_ID_H265=30001,t.exports.FEATURE_ID_H266=30002,t.exports.LicenseResultCode={Success:0,NotFound:1,Expired:2,CertInvalid:3,WasmNotSupported:4,ResourceIncorrect:5,LicenseKeyInvalid:6,DomainInvalid:7},t.exports.LicenseErrorKey={Empty:"License_Empty",NotFound:"License_Not_Found",Expired:"License_Expired",CertInvalid:"License_Cert_Invalid",LicenseKeyInvalid:"License_License_Key_Invalid",DomainInvalid:"License_Domain_Invalid",Unauthorized:"License_Feature_Unauthorized"},t.exports.DRMKeySystem={4:"com.microsoft.playready",5:"com.widevine.alpha"},t.exports.EncryptionType={Private:1,Standard:2,ChinaDRM:3,PlayReady:4,Widevine:5},t.exports.VodEncryptionType={AliyunVoDEncryption:1,HLSEncryption:2,Widevine:5,"Widevine-FairPlay":5},t.exports.DRMType={Widevine:"Widevine",PlayReady:"PlayReady"},t.exports.ErrorCode={InvalidParameter:4001,AuthKeyExpired:4002,InvalidSourceURL:4003,NotFoundSourceURL:4004,StartLoadData:4005,LoadedMetadata:4006,PlayingError:4007,LoadingTimeout:4008,RequestDataError:4009,EncrptyVideoNotSupport:4010,FormatNotSupport:4011,PlayauthDecode:4012,PlayDataDecode:4013,NetworkUnavaiable:4014,UserAbort:4015,NetworkError:4016,URLsIsEmpty:4017,DrmLicenseRequestFailed:4018,RecordNotAllowed:4019,MediaNotFound:4020,DrmNotSupported:4021,DrmLoadError:4022,RegionBlock:4023,ModuleLoadError:4034,CrossDomain:4027,OtherError:4400,ServerAPIError:4500,FlashNotInstalled:4600,RtsSignalError:4100,RtsPlayFailedError:4200,RtsNotSupportWebRtc:4110,RtsBrowserNotSupport:4111,RtsBrowserVersionTooLow:4112,RtsNotSupportH264:4113,RtsCreateOfferError:4114,RtsAutoPLayFaild:4115,RtsPlayUrlError:4116,RtsSubscribeNonthing:4117,RtsHtmlElementError:4118,RtsHtmlElementNotMatch:4119,RtsBrowserNotSupportRtc:4120,RtsHttpRequestFaild:4121,RtsHttpAnswerFaild:4122,RtsPeerConnectionUnknown:4123,SplayerEnvCheckError:4300,SplayerCoroutineError:4301,SplayerDecodeError:4302,SplayerBufferingError:4303,SplayerParserNotFound:4304},t.exports.AuthKeyExpired=7200,t.exports.AuthKeyRefreshExpired=7e3,t.exports.AuthInfoExpired=100,t.exports.VideoErrorCode={1:4015,2:4016,3:4013,4:4400},t.exports.RegionBlockMessages=["black location","denied by region block"],t.exports.IconType={FontClass:"fontclass",Symbol:"symbol",Sprite:"Sprite"},t.exports.SelectedStreamLevel="selectedStreamLevel",t.exports.SelectedCC="selectedCC",t.exports.HWDetectHvc1="HWDetectHvc1",t.exports.HWDetectHvc1Hls="HWDetectHvc1Hls",t.exports.HWDetectHev1="HWDetectHev1",t.exports.HWDetectHev1Hls="HWDetectHev1Hls",t.exports.WidthMapToLevel={0:"OD",640:"FD",960:"LD",1280:"SD",1920:"HD",2580:"2K",3840:"4K"};o(),t.exports.updateByLanguage=o},{"../lang/index":18}],21:[function(e,t,r){t.exports.get=function(e){for(var t=e+"",r=document.cookie.split(";"),o=0;o<r.length;o++){var n=r[o].trim();if(0==n.indexOf(t))return unescape(n.substring(t.length+1,n.length))}return""},t.exports.set=function(e,t,r){var o=new Date,r=(o.setTime(o.getTime()+24*r*60*60*1e3),"expires="+o.toGMTString());document.cookie=e+"="+escape(t)+"; "+r}},{}],22:[function(e,r,t){var o=e("./object");r.exports.cache={},r.exports.guid=function(e,t){var r,o,n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),i=[];if(t=t||n.length,e)for(r=0;r<e;r++)i[r]=n[0|Math.random()*t];else for(i[8]=i[13]=i[18]=i[23]="-",i[14]="4",r=0;r<36;r++)i[r]||(o=0|16*Math.random(),i[r]=n[19==r?3&o|8:o]);return i.join("")},r.exports.expando="vdata"+(new Date).getTime(),r.exports.getData=function(e){var t=e[r.exports.expando];return t||(t=e[r.exports.expando]=r.exports.guid(),r.exports.cache[t]={}),r.exports.cache[t]},r.exports.hasData=function(e){var t="";return!(!(t=e?e[r.exports.expando]:t)||o.isEmpty(r.exports.cache[t]))},r.exports.removeData=function(t){var e="";if(e=t?t[r.exports.expando]:e){delete r.exports.cache[e];try{delete t[r.exports.expando]}catch(e){t.removeAttribute?t.removeAttribute(r.exports.expando):t[r.exports.expando]=null}}}},{"./object":30}],23:[function(e,l,t){var o=e("./object");l.exports.el=function(e){return document.getElementById(e)},l.exports.createEl=function(e,t){var r;return e=e||"div",t=t||{},r=document.createElement(e),o.each(t,function(e,t){-1!==e.indexOf("aria-")||"role"==e?r.setAttribute(e,t):r[e]=t}),r},l.exports.addClass=function(e,t){-1==(" "+e.className+" ").indexOf(" "+t+" ")&&(e.className=""===e.className?t:e.className+" "+t)},l.exports.removeClass=function(e,t){var r,o;if(-1!=e.className.indexOf(t)){for(o=(r=e.className.split(" ")).length-1;0<=o;o--)r[o]===t&&r.splice(o,1);e.className=r.join(" ")}},l.exports.hasClass=function(e,t){return-1!=e.className.indexOf(t)},l.exports.getClasses=function(e){return e.className?e.className.split(" "):[]},l.exports.getElementAttributes=function(e){var t,r,o={};if(e&&e.attributes&&0<e.attributes.length)for(var n,i=(n=e.attributes).length-1;0<=i;i--)t=n[i].name,r=n[i].value,"boolean"!=typeof e[t]&&-1===",autoplay,controls,loop,muted,default,".indexOf(","+t+",")||(r=null!==r),o[t]=r;return o},l.exports.insertFirst=function(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)},l.exports.blockTextSelection=function(){document.body.focus(),document.onselectstart=function(){return!1}},l.exports.unblockTextSelection=function(){document.onselectstart=function(){return!0}},l.exports.css=function(r,e,t){return!(!r||!r.style)&&(e&&t?(r.style[e]=t,!0):t||"string"!=typeof e?!t&&"object"==typeof e&&(o.each(e,function(e,t){r.style[e]=t}),!0):r.style[e])},l.exports.getTransformName=function(e){for(var t=["transform","WebkitTransform","MozTransform","msTransform","OTransform"],r=t[0],o=0,n=t.length;o<n;o++)if(void 0!==e.style[t[o]]){r=t[o];break}return r},l.exports.getTransformEventName=function(e,t){for(var r=["","Webkit","Moz","ms","O"],o=t.toLowerCase(),n=["transform","WebkitTransform","MozTransform","msTransform","OTransform"],i=0,a=n.length;i<a;i++)if(void 0!==e.style[n[i]]){0!=i&&(o=r[i]+t);break}return o},l.exports.addCssByStyle=function(e){var t=document,r=t.createElement("style"),e=(r.setAttribute("type","text/css"),r.styleSheet?r.styleSheet.cssText=e:(e=t.createTextNode(e),r.appendChild(e)),t.getElementsByTagName("head"));(e.length?e[0]:t.documentElement).appendChild(r)},l.exports.getTranslateX=function(e){var t=0;if(e)try{var r=window.getComputedStyle(e),o=l.exports.getTransformName(e),t=new(window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix)(r[o]).m41}catch(e){console.log(e)}return t},l.exports.getPointerPosition=function(e,t){var r={},o=l.exports.findPosition(e),n=e.offsetWidth,e=e.offsetHeight,i=o.top,o=o.left,a=t.pageY,s=t.pageX;return t.changedTouches&&(s=t.changedTouches[0].pageX,a=t.changedTouches[0].pageY),r.y=Math.max(0,Math.min(1,(i-a+e)/e)),r.x=Math.max(0,Math.min(1,(s-o)/n)),r},l.exports.findPosition=function(e){var t,r,o,n;return(t=e.getBoundingClientRect&&e.parentNode?e.getBoundingClientRect():t)?(e=document.documentElement,n=document.body,o=e.clientLeft||n.clientLeft||0,r=window.pageXOffset||n.scrollLeft,r=t.left+r-o,o=e.clientTop||n.clientTop||0,e=window.pageYOffset||n.scrollTop,n=t.top+e-o,{left:Math.round(r),top:Math.round(n)}):{left:0,top:0}}},{"./object":30}],24:[function(e,l,t){var c=e("./object"),u=e("./data"),r=e("./ua"),o=e("./fastclick");function p(t,r,e,o){c.each(e,function(e){t(r,e,o)})}l.exports.on=function(i,e,t){if(i){if(c.isArray(e))return p(l.exports.on,i,e,t);r.IS_MOBILE&&"click"==e&&o.attach(i);var a=u.getData(i);a.handlers||(a.handlers={}),a.handlers[e]||(a.handlers[e]=[]),t.guid||(t.guid=u.guid()),a.handlers[e].push(t),a.dispatcher||(a.disabled=!1,a.dispatcher=function(e){if(!a.disabled){e=l.exports.fixEvent(e);var t=a.handlers[e.type];if(t)for(var r=t.slice(0),o=0,n=r.length;o<n&&!e.isImmediatePropagationStopped();o++)r[o].call(i,e)}}),1==a.handlers[e].length&&(i.addEventListener?i.addEventListener(e,a.dispatcher,!1):i.attachEvent&&i.attachEvent("on"+e,a.dispatcher))}},l.exports.off=function(t,e,r){if(t&&u.hasData(t)){var o=u.getData(t);if(o.handlers){if(c.isArray(e))return p(l.exports.off,t,e,r);var n=function(e){o.handlers[e]=[],l.exports.cleanUpEvents(t,e)};if(e){var i=o.handlers[e];if(i)if(r){if(r.guid)for(var a=0;a<i.length;a++)i[a].guid===r.guid&&i.splice(a--,1);l.exports.cleanUpEvents(t,e)}else n(e)}else for(var s in o.handlers)n(s)}}},l.exports.cleanUpEvents=function(e,t){var r=u.getData(e);0===r.handlers[t].length&&(delete r.handlers[t],e.removeEventListener?e.removeEventListener(t,r.dispatcher,!1):e.detachEvent&&e.detachEvent("on"+t,r.dispatcher)),c.isEmpty(r.handlers)&&(delete r.handlers,delete r.dispatcher,delete r.disabled),c.isEmpty(r)&&u.removeData(e)},l.exports.fixEvent=function(e){function t(){return!0}function r(){return!1}if(!e||!e.isPropagationStopped){var o,n,i,a=e||window.event;for(o in e={},a)"layerX"===o||"layerY"===o||"keyboardEvent.keyLocation"===o||"returnValue"==o&&a.preventDefault||(e[o]=a[o]);e.target||(e.target=e.srcElement||document),e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement,e.preventDefault=function(){a.preventDefault&&a.preventDefault(),e.returnValue=!1,e.isDefaultPrevented=t,e.defaultPrevented=!0},e.isDefaultPrevented=r,e.defaultPrevented=!1,e.stopPropagation=function(){a.stopPropagation&&a.stopPropagation(),e.cancelBubble=!0,e.isPropagationStopped=t},e.isPropagationStopped=r,e.stopImmediatePropagation=function(){a.stopImmediatePropagation&&a.stopImmediatePropagation(),e.isImmediatePropagationStopped=t,e.stopPropagation()},e.isImmediatePropagationStopped=r,null!=e.clientX&&(n=document.documentElement,i=document.body,e.pageX=e.clientX+(n&&n.scrollLeft||i&&i.scrollLeft||0)-(n&&n.clientLeft||i&&i.clientLeft||0),e.pageY=e.clientY+(n&&n.scrollTop||i&&i.scrollTop||0)-(n&&n.clientTop||i&&i.clientTop||0)),e.which=e.charCode||e.keyCode,null!=e.button&&(e.button=1&e.button?0:4&e.button?1:2&e.button?2:0)}return e},l.exports.trigger=function(e,t){var r,o,n;if(e)return r=u.hasData(e)?u.getData(e):{},o=e.parentNode||e.ownerDocument,"string"==typeof t&&(n=null,!e.paramData&&0!=e.paramData||(n=e.paramData,e.paramData=null,e.removeAttribute(n)),t={type:t,target:e,paramData:n}),t=l.exports.fixEvent(t),r.dispatcher&&r.dispatcher.call(e,t),o&&!t.isPropagationStopped()&&!1!==t.bubbles?l.exports.trigger(o,t):o||t.defaultPrevented||(n=u.getData(t.target),t.target[t.type]&&(n.disabled=!0,"function"==typeof t.target[t.type]&&t.target[t.type](),n.disabled=!1)),!t.defaultPrevented},l.exports.one=function(e,t,r){if(e){if(c.isArray(t))return p(l.exports.one,e,t,r);var o=function(){l.exports.off(e,t,o),r.apply(this,arguments)};o.guid=r.guid=r.guid||u.guid(),l.exports.on(e,t,o)}}},{"./data":22,"./fastclick":25,"./object":30,"./ua":34}],25:[function(e,t,r){function a(n,e){var t;if(e=e||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=e.touchBoundary||10,this.layer=n,this.tapDelay=e.tapDelay||200,this.tapTimeout=e.tapTimeout||700,!a.notNeeded(n)){for(var r=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],o=0,i=r.length;o<i;o++)this[r[o]]=((e,t)=>function(){return e.apply(t,arguments)})(this[r[o]],this);s&&(n.addEventListener("mouseover",this.onMouse,!0),n.addEventListener("mousedown",this.onMouse,!0),n.addEventListener("mouseup",this.onMouse,!0)),n.addEventListener("click",this.onClick,!0),n.addEventListener("touchstart",this.onTouchStart,!1),n.addEventListener("touchmove",this.onTouchMove,!1),n.addEventListener("touchend",this.onTouchEnd,!1),n.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(n.removeEventListener=function(e,t,r){var o=Node.prototype.removeEventListener;"click"===e?o.call(n,e,t.hijacked||t,r):o.call(n,e,t,r)},n.addEventListener=function(e,t,r){var o=Node.prototype.addEventListener;"click"===e?o.call(n,e,t.hijacked||(t.hijacked=function(e){e.propagationStopped||t(e)}),r):o.call(n,e,t,r)}),"function"==typeof n.onclick&&(t=n.onclick,n.addEventListener("click",function(e){t(e)},!1),n.onclick=null)}}var o=0<=navigator.userAgent.indexOf("Windows Phone"),s=0<navigator.userAgent.indexOf("Android")&&!o,i=/iP(ad|hone|od)/.test(navigator.userAgent)&&!o,l=i&&/OS 4_\d(_\d)?/.test(navigator.userAgent),c=i&&/OS [6-7]_\d/.test(navigator.userAgent),n=0<navigator.userAgent.indexOf("BB10");a.prototype.needsClick=function(e){switch(e.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(e.disabled)return!0;break;case"input":if(i&&"file"===e.type||e.disabled)return!0;break;case"label":case"iframe":case"video":return!0}return/\bneedsclick\b/.test(e.className)},a.prototype.needsFocus=function(e){switch(e.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!s;case"input":switch(e.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!e.disabled&&!e.readOnly;default:return/\bneedsfocus\b/.test(e.className)}},a.prototype.sendClick=function(e,t){var r;document.activeElement&&document.activeElement!==e&&document.activeElement.blur(),t=t.changedTouches[0],(r=document.createEvent("MouseEvents")).initMouseEvent(this.determineEventType(e),!0,!0,window,1,t.screenX,t.screenY,t.clientX,t.clientY,!1,!1,!1,!1,0,null),r.forwardedTouchEvent=!0,e.dispatchEvent(r)},a.prototype.determineEventType=function(e){return s&&"select"===e.tagName.toLowerCase()?"mousedown":"click"},a.prototype.focus=function(e){var t;i&&e.setSelectionRange&&0!==e.type.indexOf("date")&&"time"!==e.type&&"month"!==e.type&&"email"!==e.type?(t=e.value.length,e.setSelectionRange(t,t)):e.focus()},a.prototype.updateScrollParent=function(e){var t,r=e.fastClickScrollParent;if(!r||!r.contains(e)){t=e;do{if(t.scrollHeight>t.offsetHeight){r=t,e.fastClickScrollParent=t;break}}while(t=t.parentElement)}r&&(r.fastClickLastScrollTop=r.scrollTop)},a.prototype.getTargetElementFromEventTarget=function(e){return e.nodeType===Node.TEXT_NODE?e.parentNode:e},a.prototype.onTouchStart=function(e){var t,r,o;if(!(1<e.targetTouches.length)){if(t=this.getTargetElementFromEventTarget(e.target),r=e.targetTouches[0],i){if((o=window.getSelection()).rangeCount&&!o.isCollapsed)return!0;if(!l){if(r.identifier&&r.identifier===this.lastTouchIdentifier)return e.preventDefault(),!1;this.lastTouchIdentifier=r.identifier,this.updateScrollParent(t)}}this.trackingClick=!0,this.trackingClickStart=e.timeStamp,this.targetElement=t,this.touchStartX=r.pageX,this.touchStartY=r.pageY,e.timeStamp-this.lastClickTime<this.tapDelay&&e.preventDefault()}return!0},a.prototype.touchHasMoved=function(e){var e=e.changedTouches[0],t=this.touchBoundary;return Math.abs(e.pageX-this.touchStartX)>t||Math.abs(e.pageY-this.touchStartY)>t},a.prototype.onTouchMove=function(e){return this.trackingClick&&(this.targetElement!==this.getTargetElementFromEventTarget(e.target)||this.touchHasMoved(e))&&(this.trackingClick=!1,this.targetElement=null),!0},a.prototype.findControl=function(e){return void 0!==e.control?e.control:e.htmlFor?document.getElementById(e.htmlFor):e.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},a.prototype.onTouchEnd=function(e){var t,r,o,n=this.targetElement;if(!this.trackingClick)return!0;if(e.timeStamp-this.lastClickTime<this.tapDelay)return this.cancelNextClick=!0;if(e.timeStamp-this.trackingClickStart>this.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=e.timeStamp,t=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,c&&(o=e.changedTouches[0],(n=document.elementFromPoint(o.pageX-window.pageXOffset,o.pageY-window.pageYOffset)||n).fastClickScrollParent=this.targetElement.fastClickScrollParent),"label"===(o=n.tagName.toLowerCase())){if(r=this.findControl(n)){if(this.focus(n),s)return!1;n=r}}else if(this.needsFocus(n))return 100<e.timeStamp-t||i&&window.top!==window&&"input"===o?this.targetElement=null:(this.focus(n),this.sendClick(n,e),i&&"select"===o||(this.targetElement=null,e.preventDefault())),!1;return!(!i||l||!(r=n.fastClickScrollParent)||r.fastClickLastScrollTop===r.scrollTop)||(this.needsClick(n)||(e.preventDefault(),this.sendClick(n,e)),!1)},a.prototype.onTouchCancel=function(){this.trackingClick=!1,this.targetElement=null},a.prototype.onMouse=function(e){return!this.targetElement||!(!e.forwardedTouchEvent&&e.cancelable&&(!this.needsClick(this.targetElement)||this.cancelNextClick)&&(e.stopImmediatePropagation?e.stopImmediatePropagation():e.propagationStopped=!0,e.stopPropagation(),e.preventDefault(),1))},a.prototype.onClick=function(e){return this.trackingClick?(this.targetElement=null,!(this.trackingClick=!1)):"submit"===e.target.type&&0===e.detail||((e=this.onMouse(e))||(this.targetElement=null),e)},a.prototype.destroy=function(){var e=this.layer;s&&(e.removeEventListener("mouseover",this.onMouse,!0),e.removeEventListener("mousedown",this.onMouse,!0),e.removeEventListener("mouseup",this.onMouse,!0)),e.removeEventListener("click",this.onClick,!0),e.removeEventListener("touchstart",this.onTouchStart,!1),e.removeEventListener("touchmove",this.onTouchMove,!1),e.removeEventListener("touchend",this.onTouchEnd,!1),e.removeEventListener("touchcancel",this.onTouchCancel,!1)},a.notNeeded=function(e){var t,r;if(void 0===window.ontouchstart)return!0;if(r=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]){if(!s)return!0;if(t=document.querySelector("meta[name=viewport]")){if(-1!==t.content.indexOf("user-scalable=no"))return!0;if(31<r&&document.documentElement.scrollWidth<=window.outerWidth)return!0}}if(n&&10<=(r=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/))[1]&&3<=r[2]&&(t=document.querySelector("meta[name=viewport]"))){if(-1!==t.content.indexOf("user-scalable=no"))return!0;if(document.documentElement.scrollWidth<=window.outerWidth)return!0}return"none"===e.style.msTouchAction||"manipulation"===e.style.touchAction||!!(27<=+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]&&(t=document.querySelector("meta[name=viewport]"))&&(-1!==t.content.indexOf("user-scalable=no")||document.documentElement.scrollWidth<=window.outerWidth))||"none"===e.style.touchAction||"manipulation"===e.style.touchAction},a.attach=function(e,t){return new a(e,t)},t.exports=a},{}],26:[function(e,t,r){var n=e("./data");t.exports.bind=function(e,t,r){t.guid||(t.guid=n.guid());function o(){return t.apply(e,arguments)}return o.guid=r?r+"_"+t.guid:t.guid,o}},{"./data":22}],27:[function(e,t,r){function L(){L=function(){return a};var l,a={},e=Object.prototype,c=e.hasOwnProperty,u=Object.defineProperty||function(e,t,r){e[t]=r.value},t="function"==typeof Symbol?Symbol:{},o=t.iterator||"@@iterator",r=t.asyncIterator||"@@asyncIterator",n=t.toStringTag||"@@toStringTag";function i(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{i({},"")}catch(l){i=function(e,t,r){return e[t]=r}}function s(e,t,r,o){var n,i,a,s,t=t&&t.prototype instanceof y?t:y,t=Object.create(t.prototype),o=new C(o||[]);return u(t,"_invoke",{value:(n=e,i=r,a=o,s=d,function(e,t){if(s===f)throw Error("Generator is already running");if(s===_){if("throw"===e)throw t;return{value:l,done:!0}}for(a.method=e,a.arg=t;;){var r=a.delegate;if(r){r=function e(t,r){var o=r.method,n=t.iterator[o];if(n===l)return r.delegate=null,"throw"===o&&t.iterator.return&&(r.method="return",r.arg=l,e(t,r),"throw"===r.method)||"return"!==o&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+o+"' method")),m;o=p(n,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,m;n=o.arg;return n?n.done?(r[t.resultName]=n.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=l),r.delegate=null,m):n:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}(r,a);if(r){if(r===m)continue;return r}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(s===d)throw s=_,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);s=f;r=p(n,i,a);if("normal"===r.type){if(s=a.done?_:h,r.arg===m)continue;return{value:r.arg,done:a.done}}"throw"===r.type&&(s=_,a.method="throw",a.arg=r.arg)}})}),t}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}a.wrap=s;var d="suspendedStart",h="suspendedYield",f="executing",_="completed",m={};function y(){}function g(){}function v(){}var t={},S=(i(t,o,function(){return this}),Object.getPrototypeOf),S=S&&S(S(k([]))),x=(S&&S!==e&&c.call(S,o)&&(t=S),v.prototype=y.prototype=Object.create(t));function b(e){["next","throw","return"].forEach(function(t){i(e,t,function(e){return this._invoke(t,e)})})}function w(a,s){var t;u(this,"_invoke",{value:function(r,o){function e(){return new s(function(e,t){!function t(e,r,o,n){var i,e=p(a[e],a,r);if("throw"!==e.type)return(r=(i=e.arg).value)&&"object"==typeof r&&c.call(r,"__await")?s.resolve(r.__await).then(function(e){t("next",e,o,n)},function(e){t("throw",e,o,n)}):s.resolve(r).then(function(e){i.value=e,o(i)},function(e){return t("throw",e,o,n)});n(e.arg)}(r,o,e,t)})}return t=t?t.then(e,e):e()}})}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function k(t){if(t||""===t){var r,e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return r=-1,(e=function e(){for(;++r<t.length;)if(c.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=l,e.done=!0,e}).next=e}throw new TypeError(typeof t+" is not iterable")}return u(x,"constructor",{value:g.prototype=v,configurable:!0}),u(v,"constructor",{value:g,configurable:!0}),g.displayName=i(v,n,"GeneratorFunction"),a.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},a.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,i(e,n,"GeneratorFunction")),e.prototype=Object.create(x),e},a.awrap=function(e){return{__await:e}},b(w.prototype),i(w.prototype,r,function(){return this}),a.AsyncIterator=w,a.async=function(e,t,r,o,n){void 0===n&&(n=Promise);var i=new w(s(e,t,r,o),n);return a.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},b(x),i(x,n,"Generator"),i(x,o,function(){return this}),i(x,"toString",function(){return"[object Generator]"}),a.keys=function(e){var t,r=Object(e),o=[];for(t in r)o.push(t);return o.reverse(),function e(){for(;o.length;){var t=o.pop();if(t in r)return e.value=t,e.done=!1,e}return e.done=!0,e}},a.values=k,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=l,this.done=!1,this.delegate=null,this.method="next",this.arg=l,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&c.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=l)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var o=this;function e(e,t){return i.type="throw",i.arg=r,o.next=e,t&&(o.method="next",o.arg=l),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t],i=n.completion;if("root"===n.tryLoc)return e("end");if(n.tryLoc<=this.prev){var a=c.call(n,"catchLoc"),s=c.call(n,"finallyLoc");if(a&&s){if(this.prev<n.catchLoc)return e(n.catchLoc,!0);if(this.prev<n.finallyLoc)return e(n.finallyLoc)}else if(a){if(this.prev<n.catchLoc)return e(n.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<n.finallyLoc)return e(n.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;0<=r;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&c.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var n=o;break}}var i=(n=n&&("break"===e||"continue"===e)&&n.tryLoc<=t&&t<=n.finallyLoc?null:n)?n.completion:{};return i.type=e,i.arg=t,n?(this.method="next",this.next=n.finallyLoc,m):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),E(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var r,o,n=this.tryEntries[t];if(n.tryLoc===e)return"throw"===(r=n.completion).type&&(o=r.arg,E(n)),o}throw Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:k(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=l),m}},a}function l(e,t,r,o,n,i,a){try{var s=e[i](a),l=s.value}catch(e){return r(e)}s.done?t(l):Promise.resolve(l).then(o,n)}function a(s){return function(){var e=this,a=arguments;return new Promise(function(t,r){var o=s.apply(e,a);function n(e){l(o,t,r,n,i,"next",e)}function i(e){l(o,t,r,n,i,"throw",e)}n(void 0)})}}var o,s="undefined"==typeof Promise?e("es6-promise").Promise:Promise;e=self,o=function(){return(o={d:function(e,t){for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}).d(e={},{default:function(){return i}}),t=navigator.userAgent,r=/qqbrowser/i.test(t.toLowerCase()),n=/Edge/i.test(t),n=/Chrome/i.test(t)&&!n&&!r,g=/Safari/i.test(t)&&!n,r=t.match(/Version\/([\d.]+)([^S](Safari)|[^M]*(Mobile)[^S]*(Safari))/),n=r&&r[1],v=n&&Number(n.split(".")[0]),S=(()=>{var t=a(L().mark(function e(t){var r;return L().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(t);case 2:return r=e.sent,e.next=5,r.blob();case 5:return r=e.sent,e.abrupt("return",URL.createObjectURL(r));case 7:case"end":return e.stop()}},e)}));return function(e){return t.apply(this,arguments)}})(),x={includeSystemHijack:!0,showVideo:!1,format:"mp4",codecTags:["hev1","hvc1"],timeout:2e3},i=function(_){return void 0===_&&(_={}),new s((()=>{var t=a(L().mark(function e(t){var r,o,n,i,a,s,l,c,u,p,d,h,f;return L().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i=Object.assign({},x,_),r=i.includeSystemHijack,o=i.showVideo,l=i.codecTags,n=i.format,i=i.timeout,a=performance.now(),s=-1<l.indexOf("hvc1"),l=-1<l.indexOf("hev1"),u=c=!1,!(g&&v&&11<=v)){e.next=14;break}if(p=m("hvc1",n),e.t0=r,e.t0){e.next=9;break}return e.next=8,S(p);case 8:p=e.sent;case 9:return e.next=11,y(p,o,"hvc1",i);case 11:c=e.sent,e.next=34;break;case 14:if(!s){e.next=24;break}if(d=m("hvc1",n),e.t1=r,e.t1){e.next=21;break}return e.next=20,S(d);case 20:d=e.sent;case 21:return e.next=23,y(d,o,"hvc1",i);case 23:c=e.sent;case 24:if(!l){e.next=34;break}if(h=m("hev1",n),e.t2=r,e.t2){e.next=31;break}return e.next=30,S(h);case 30:h=e.sent;case 31:return e.next=33,y(h,o,"hev1",i);case 33:u=e.sent;case 34:f=performance.now(),t({isHvc1Supported:c,isHev1Supported:u,time:Math.ceil(f-a)});case 36:case"end":return e.stop()}},e)}));return function(e){return t.apply(this,arguments)}})())},e.default;function m(e,t){var r="hls"===(t=void 0===t?"mp4":t),o="";switch(e=void 0===e?"":e){case"hvc1":o=r?"https://player.alicdn.com/lib/detect-assets/01s_20x20_hvc1.m3u8":"https://ice-pub-media.myalicdn.com/vod-demo/hevc/01s_20x20_hvc1.mp4";break;case"hev1":o=r?"https://player.alicdn.com/lib/detect-assets/01s_20x20_hev1.m3u8":"https://ice-pub-media.myalicdn.com/vod-demo/hevc/01s_20x20_hev1.mp4";break;default:o=""}return o}function y(o,l,c,e){void 0===l&&(l=!1),void 0===c&&(c="");var u=performance.now(),p=e;return new s(function(i){e=o,void 0===(t=l?100:0)&&(t=100),(r=document.createElement("video")).setAttribute("width",""+t),r.setAttribute("height",""+t),r.setAttribute("muted","muted"),r.setAttribute("crossorigin","anonymous"),r.setAttribute("preload","preload"),r.setAttribute("autoplay","autoplay"),r.setAttribute("webkit-playsinline","webkit-playsinline"),r.setAttribute("playsinline","playsinline"),r.setAttribute("x-webkit-airplay","x-webkit-airplay"),r.setAttribute("playsinline","playsinline"),r.src=e;var e,t,r,a=r,s=setInterval(function(){var e,t,r,o,n;(performance.now()-u>p||0!==a.videoWidth)&&(clearInterval(s),e=0!==a.videoWidth,l?(a.setAttribute("controls","controls"),t=a,void 0===(r=c)&&(r=""),o=document.createElement("dv"),(n=document.createElement("h3")).innerText=r,o.appendChild(t),o.appendChild(n),document.body.appendChild(o)):(a.pause(),a=null),i(e))})})}var o,e,t,r,n,g,v,S,x,i},"object"==typeof r&&"object"==typeof t?t.exports=o():"object"==typeof r?r.hevcDetector=o():e.hevcDetector=o()},{"es6-promise":8}],28:[function(e,s,t){var h=e("./url");s.exports.get=function(e,t,r,o,n,i){s.exports.ajax.call(this,"GET",e,{},t,r,o,n,void 0,i)},s.exports.post=function(e,t,r,o,n,i){var a={"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8",Accept:"application/json"};s.exports.ajax("POST",e,t,r,o,n,i,a)},s.exports.postWithHeader=function(e,t,r,o,n){s.exports.ajax("POST",e,t,o,n,!0,!1,r)},s.exports.ajax=function(e,t,r,o,n,i,a,s,l){var c,u,p;n=n||function(){},"undefined"==typeof XMLHttpRequest&&(window.XMLHttpRequest=function(){try{return new window.ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new window.ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new window.ActiveXObject("Msxml2.XMLHTTP")}catch(e){}throw new Error("This browser does not support XMLHttpRequest.")}),u=new XMLHttpRequest,l&&(u.timeout=l),l=h.parseUrl(t),p=window.location,!(l.protocol+l.host!==p.protocol+p.host)||!window.XDomainRequest||"withCredentials"in u?(c="file:"==l.protocol||"file:"==p.protocol,u.onreadystatechange=function(){4===u.readyState&&(200===u.status||c&&0===u.status?o(u.responseText):n(u.responseText,u.status,u))}):((u=new window.XDomainRequest).onload=function(){o(u.responseText)},u.onerror=n,u.onprogress=function(){},u.ontimeout=n);try{if(void 0===i&&(i=!0),u.open(e,t,i),a&&(u.withCredentials=!0),s)for(var d in s)s.hasOwnProperty(d)&&u.setRequestHeader(d,s[d])}catch(e){return void n(e)}try{u.send(r)}catch(e){n(e)}},s.exports.jsonp=function(e,t,r){var o="jsonp_callback_"+Math.round(1e5*Math.random()),n=document.createElement("script");e&&(n.src=e+(0<=e.indexOf("?")?"&":"?")+"callback="+o+"&cb="+o,n.onerror=function(){delete window[o],document.body.removeChild(n),r()},n.onload=function(){setTimeout(function(){window[o]&&(delete window[o],document.body.removeChild(n))},0)},window[o]=function(e){delete window[o],document.body.removeChild(n),t(e)},document.body.appendChild(n))},s.exports.loadJS=function(e,t,r){var o=document.getElementsByTagName("HEAD").item(0),n=document.createElement("script");n.setAttribute("crossorigin","anonymous"),e&&e.toLowerCase().indexOf("https://")<0&&e.toLowerCase().indexOf("http://")<0&&(e=document.URL.replace(/(\/[^\/]*?)$/i,"")+e),n.type="text/javascript",n.src=e,n.onload=function(){t&&t()},n.onerror=function(){r&&r()},o.appendChild(n)}},{"./url":35}],29:[function(e,t,r){var a=e("./dom");t.exports.render=function(e,t){var r=t.align||(t.className?"":"tl"),o=t.x||0,t=t.y||0,n=o.indexOf&&0<o.indexOf("%")?"":"px",i=t.indexOf&&0<t.indexOf("%")?"":"px";"tl"===r?a.css(e,{float:"left","margin-left":o+n,"margin-top":t+i}):"tr"===r?a.css(e,{float:"right","margin-right":o+n,"margin-top":t+i}):"tlabs"===r?a.css(e,{position:"absolute",left:o+n,top:t+i}):"trabs"===r?a.css(e,{position:"absolute",right:o+n,top:t+i}):"blabs"===r?a.css(e,{position:"absolute",left:o+n,bottom:t+i}):"brabs"===r?a.css(e,{position:"absolute",right:o+n,bottom:t+i}):"cc"===r&&a.addClass(e,"loading-center")}},{"./dom":23}],30:[function(e,a,t){var s=Object.prototype.hasOwnProperty;a.exports.create=Object.create||function(e){function t(){}return t.prototype=e,new t},a.exports.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(arg)},a.exports.isEmpty=function(e){for(var t in e)if(null!==e[t])return!1;return!0},a.exports.each=function(e,t,r){if(a.exports.isArray(e))for(var o=0,n=e.length;o<n&&!1!==t.call(r||this,e[o],o);++o);else for(var i in e)if(s.call(e,i)&&!1===t.call(r||this,i,e[i]))break;return e},a.exports.merge=function(e,t){if(t)for(var r in t)s.call(t,r)&&(e[r]=t[r]);return e},a.exports.deepMerge=function(e,t){var r,o,n;for(r in e=a.exports.copy(e),t)s.call(t,r)&&(o=e[r],n=t[r],a.exports.isPlain(o)&&a.exports.isPlain(n)?e[r]=a.exports.deepMerge(o,n):e[r]=t[r]);return e},a.exports.copy=function(e){return a.exports.merge({},e)},a.exports.isPlain=function(e){return!!e&&"object"==typeof e&&"[object Object]"===e.toString()&&e.constructor===Object},a.exports.isArray=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},a.exports.unescape=function(e){return e.replace(/&([^;]+);/g,function(e,t){return{amp:"&",lt:"<",gt:">",quot:'"',"#x27":"'","#x60":"`"}[t.toLowerCase()]||e})}},{}],31:[function(e,t,r){var n,i=e("./object");(n=function(){}).extend=function(e){var t,r,o=(e=e||{}).init||this.prototype.init||function(){};for(r in(((t=function(){o.apply(this,arguments)}).prototype=i.create(this.prototype)).constructor=t).extend=n.extend,t.create=n.create,e)e.hasOwnProperty(r)&&(t.prototype[r]=e[r]);return t},n.create=function(){var e=i.create(this.prototype);return this.apply(e,arguments),e},t.exports=n},{"./object":30}],32:[function(e,f,t){var _=e("./object"),r=e("../config"),o=e("./dom"),n=e("./cookie"),i=e("./constants"),a=e("../lang/index"),l=e("./ua"),s=e("./io"),m=e("../player/base/plugin/defaultemptycomponent"),c=e("./hardware-decoding-detector"),y={preload:!0,autoplay:!0,autoplayPolicy:{fallbackToMute:!1,showUnmuteBtn:!0},useNativeControls:!1,width:"100%",height:"300px",cover:"",from:"",trackLog:!0,logBatched:!0,logReportTo:void 0,heartHeatInterval:30,isLive:!1,playsinline:!0,showBarTime:5e3,rePlay:!1,mute:!1,liveRetry:5,liveRetryInterval:1,liveRetryStep:0,disableVodHalfRetry:!1,disableLiveHalfRetry:!1,keyShortCuts:!1,keyFastForwardStep:10,isVBR:!1,vodRetry:3,format:"",definition:"",defaultDefinition:"",loadDataTimeout:20,waitingTimeout:60,waitingBufferedTime:3,delayLoadingShow:1,controlBarForOver:!1,controlBarVisibility:"hover",enableSystemMenu:!1,qualitySort:"asc",x5_video_position:"normal",x5_type:"",x5_fullscreen:!1,x5_orientation:"landscape|portrait",x5LandscapeAsFullScreen:!0,license:{},autoPlayDelay:0,autoPlayDelayDisplayText:"",useHlsPluginForSafari:!1,enableMSEForAndroid:!0,encryptType:0,language:"zh-cn",languageTexts:{},extLanguageTexts:{},mediaType:"video",outputType:"",playConfig:{},reAuthInfo:{},components:[],liveTimeShiftUrl:"",liveShiftSource:"",liveShiftTime:"",liveShiftMinOffset:30,videoHeight:"100%",videoWidth:"100%",enableWorker:!0,authTimeout:"",enableMockFullscreen:!1,region:"cn-shanghai",debug:!1,progressMarkers:[],ratio:void 0,snapshotWatermark:{left:"500",top:"100",text:"",font:"16px \u5b8b\u4f53",fillColor:"#FFFFFF",strokeColor:"#FFFFFF"},liveStartTime:"",liveOverTime:"",enableStashBufferForFlv:!1,flvOption:{},hlsOption:{stopLoadAsPaused:!1},drmOption:{},hlsLoadingTimeOut:2e4,useHlsPlugOnMobile:!0,useFlvPlugOnMobile:!0,lowLatencyMode:!1,useHls2:!0,useDrm2:void 0,skipRtsSupportCheck:!1,rtsLoadDataTimeout:6e3,rtsOption:{},rtsFallback:!0,rtsFallbackSource:void 0,rtsFallbackType:void 0,rtsVersion:"",rtsSdkUrl:"",nudgeMaxRetry:5,tracks:[],recreatePlayer:function(){},diagnosisButtonVisible:!0,enableH265:!1,forceH265:!1,enableH266:!1,forceH266:!1,h265Threads:!0,h265Simd:!0,preventRecord:!1,traceId:"",mediaAuth:void 0,textTracks:void 0,_native:!0,hlsUriToken:"",thumbnailUrl:"",refreshAccessInfo:function(){},drmSessionTimeout:5e3,skinRes:"//"+r.domain+"/de/prismplayer-flash/"+r.flashVersion+"/atlas/defaultSkin",splayerUrl:null,splayerWasmDomain:null,logo:[],disablePip:!1,assetPrefix:null,clickPause:l.IS_PC,clickPauseDelay:200,statisticsReportInterval:5e3,skinLayoutIgnore:[],disableSeek:!1,dashjsUrl:null,dashOption:{},disableDumpBuffer:!1,useSW:!1,swScriptURL:void 0,env:"",autoSize:"",watchStartTime:void 0,watchEndTime:void 0,start:void 0,end:void 0,dbClickFullscreen:l.IS_PC,dbClickFullscreenDelay:200,enableHlsH265:!1,bitrateDisplayHandler:void 0},u=(f.exports.getDefaultH5Layout=function(){return[{name:"bigPlayButton",align:"blabs",x:30,y:80},{name:"unmuteButton",align:"cc"},{name:"H5Loading",align:"cc"},{name:"errorDisplay",align:"tlabs",x:0,y:0},{name:"infoDisplay"},{name:"tooltip",align:"blabs",x:0,y:50},{name:"thumbnail"},{name:"controlBar",align:"blabs",x:0,y:0,children:[{name:"progress",align:"blabs",x:0,y:44},{name:"playButton",align:"tl",x:15,y:12},{name:"timeDisplay",align:"tl",x:10,y:5},{name:"fullScreenButton",align:"tr",x:10,y:12},{name:"subtitle",align:"tr",x:15,y:12},{name:"setting",align:"tr",x:15,y:12},{name:"volume",align:"tr",x:5,y:10}]}]},f.exports.getDefaultAudioLayout=function(){return[{name:"controlBar",align:"blabs",x:0,y:0,children:[{name:"progress",align:"blabs",x:0,y:44},{name:"playButton",align:"tl",x:15,y:12},{name:"timeDisplay",align:"tl",x:10,y:5},{name:"volume",align:"tr",x:5,y:10}]}]},f.exports.getDefaultFlashLayout=function(){return[{name:"bigPlayButton",align:"blabs",x:30,y:80},{name:"controlBar",align:"blabs",x:0,y:0,children:[{name:"progress",align:"tlabs",x:0,y:0},{name:"playButton",align:"tl",x:15,y:26},{name:"nextButton",align:"tl",x:10,y:26},{name:"timeDisplay",align:"tl",x:10,y:24},{name:"fullScreenButton",align:"tr",x:10,y:25},{name:"streamButton",align:"tr",x:10,y:23},{name:"volume",align:"tr",x:10,y:25}]},{name:"fullControlBar",align:"tlabs",x:0,y:0,children:[{name:"fullTitle",align:"tl",x:25,y:6},{name:"fullNormalScreenButton",align:"tr",x:24,y:13},{name:"fullTimeDisplay",align:"tr",x:10,y:12},{name:"fullZoom",align:"cc"}]}]},f.exports.canPlayType=function(e){var t=document.createElement("video");return t.canPlayType?t.canPlayType(e):""},f.exports.canPlayHls=function(){return""!=f.exports.canPlayType("application/x-mpegURL")},f.exports.isUsedHlsPluginOnMobile=function(e){return!!(l.IS_MOBILE&&(l.IS_CHROME||l.IS_FIREFOX||l.IS_X5||l.IS_EDGE_NEW)&&f.exports.isSupportHls())},f.exports.isSafariUsedHlsPlugin=function(e){return!!(l.os.pc&&l.browser.safari&&e)},f.exports.validateSource=function(e){return!0},f.exports.supportH5Video=function(){return void 0!==document.createElement("video").canPlayType},f.exports.createWrapper=function(e){var t=e.id,t="string"==typeof t?(0===t.indexOf("#")&&(t=t.slice(1)),o.el(t)):t;if(t&&t.nodeName)return f.exports.adjustContainerLayout(t,e),t;throw new TypeError("\u6ca1\u6709\u4e3a\u64ad\u653e\u5668\u6307\u5b9a\u5bb9\u5668")},f.exports.adjustContainerLayout=function(e,t){t.width&&!e.style.width&&(e.style.width=t.width),t.height&&!e.style.height&&(e.style.height=t.height)},f.exports.isSupportHls=function(){var e=window.MediaSource=window.MediaSource||window.WebKitMediaSource,t=window.SourceBuffer=window.SourceBuffer||window.WebKitSourceBuffer,e=e&&"function"==typeof e.isTypeSupported&&e.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"'),t=(l.IS_ANDROID&&l.is_X5&&(e=!0),!t||t.prototype&&"function"==typeof t.prototype.appendBuffer&&"function"==typeof t.prototype.remove);return e&&t},f.exports.isSupportMMS=function(){return!!window.ManagedMediaSource},f.exports.isSupportFlv=function(){return f.exports.isSupportHls()},f.exports.isSupportMSE=function(){return f.exports.isSupportHls()||f.exports.isSupportMMS()},f.exports.isSupportedMediaSource=function(){return!!window.MediaSource&&!!MediaSource.isTypeSupported},f.exports.isSupportedDrm=function(){return!!(window.MediaKeys&&window.navigator&&window.navigator.requestMediaKeySystemAccess&&window.MediaKeySystemAccess&&window.MediaKeySystemAccess.prototype.getConfiguration)&&f.exports.isSupportMSE()},f.exports.isAudio=function(t,e){if(e)return f.exports.isMp3Format(e);e=!1;try{e=t&&"mp3"===new URL("http:"+t).pathname.split(".").pop().toLowerCase()}catch(e){return t&&0<t.toLowerCase().indexOf(".mp3")}return e},f.exports.isLiveShift=function(e){return e.isLive&&e.liveStartTime&&e.liveOverTime},f.exports.isHls=function(t,e){if(e)return f.exports.isHlsFormat(e);e=!1;try{e=t&&"m3u8"===new URL("http:"+t).pathname.split(".").pop().toLowerCase()}catch(e){return t&&0<t.toLowerCase().indexOf(".m3u8")}return e},f.exports.isDash=function(t,e){if(e)return f.exports.isDashFormat(e);e=!1;try{e=t&&"mpd"===new URL("http:"+t).pathname.split(".").pop().toLowerCase()}catch(e){return t&&0<t.toLowerCase().indexOf(".mpd")}return e},f.exports.isFlv=function(t,e){if(e)return f.exports.isFlvFormat(e);e=!1;try{e=t&&"flv"===new URL("http:"+t).pathname.split(".").pop().toLowerCase()}catch(e){return t&&0<t.toLowerCase().indexOf(".flv")}return e},f.exports.isRTMP=function(e){return e&&-1<e.toLowerCase().indexOf("rtmp:")},f.exports.isRts=function(e){return e&&-1<e.toLowerCase().indexOf("artc:")},f.exports.isMp4=function(t,e){if(e)return f.exports.isMp4Format(e);e=!1;try{e=t&&"mp4"===new URL("http:"+t).pathname.split(".").pop().toLowerCase()}catch(e){return t&&-1<t.toLowerCase().indexOf(".mp4")}return e},f.exports.isSupportedFormat=function(e){if(!e)return!1;try{var t=e.toLowerCase();return~["mp3","mp4","mpd","hls","m3u8","flv"].indexOf(t)}catch(e){return!1}},f.exports.isMp3Format=function(e){if(!e)return!1;try{var t=e.toLowerCase();return~["mp3"].indexOf(t)}catch(e){return!1}},f.exports.isMp4Format=function(e){if(!e)return!1;try{var t=e.toLowerCase();return~["mp4"].indexOf(t)}catch(e){return!1}},f.exports.isFlvFormat=function(e){if(!e)return!1;try{var t=e.toLowerCase();return~["flv"].indexOf(t)}catch(e){return!1}},f.exports.isHlsFormat=function(e){if(!e)return!1;try{var t=e.toLowerCase();return~["hls","m3u8"].indexOf(t)}catch(e){return!1}},f.exports.isDashFormat=function(e){if(!e)return!1;try{var t=e.toLowerCase();return~["mpd"].indexOf(t)}catch(e){return!1}},f.exports.getFormat=function(e){var t={artc:"rts",m3u8:"hls"},e=null==(e=/\.(mp4)|\.(mp3)|\.(m3u8)|\.(flv)|(artc):/.exec(e))?void 0:e[0];return e=e&&e.replace(/\.|:|artc|m3u8/gi,function(e){return t[e]||""})},f.exports.checkSecuritSupport=function(){return f.exports.isSupportMSE()?l.IS_IOS&&(l.IS_UC||l.IS_QUARK||l.IS_BAIDU)?a.get("iOSVodEncriptionBlacklist"):"":"serviceWorker"in navigator?void 0:"http:"===location.protocol?a.get("Error_SW_Https_required"):a.get("UseChromeForVodEncription")+"(SW not found)"},f.exports.nativeSupportH265=function(){return l.IS_IOS||l.IS_MAC_SAFARI},f.exports.findSelectedStreamLevel=function(e,t){var r=t;if(r||(r=n.get(i.SelectedStreamLevel))){for(var o=0;o<e.length;o++)if(e[o].definition==r)return o}else n.set(i.SelectedStreamLevel,e[0].definition,365);return 0},f.exports.getHistoryDetectResult=function(e,t){if(e)return t="hls"===t,"hvc1"===e?t?n.get(i.HWDetectHvc1Hls):n.get(i.HWDetectHvc1):"hev1"===e?t?n.get(i.HWDetectHev1Hls):n.get(i.HWDetectHev1):void 0},f.exports.setHistoryDetectResult=function(e,t,r){var o="unknownCodec",t="hls"===t;"hvc1"===e?o=t?i.HWDetectHvc1Hls:i.HWDetectHvc1:"hev1"===e&&(o=t?i.HWDetectHev1Hls:i.HWDetectHev1),n.set(o,r)},f.exports.handleOption=function(e,t){f.exports.isRts(e.source)&&(e.isLive=!0);var r,o=_.merge(_.copy(y),e),n=(e.autoplayPolicy&&(o.autoplayPolicy=_.merge(y.autoplayPolicy,e.autoplayPolicy)),[{name:"fullScreenButton",align:"tr",x:20,y:12},{name:"subtitle",align:"tr",x:15,y:12},{name:"setting",align:"tr",x:15,y:12},{name:"volume",align:"tr",x:5,y:10}]),i=!1;if(e.useFlashPrism||f.exports.isRTMP(e.source)?(i=!0,n=[{name:"liveIco",align:"tlabs",x:15,y:25},{name:"fullScreenButton",align:"tr",x:10,y:25},{name:"volume",align:"tr",x:10,y:25}]):(r=f.exports.isLiveShift(o))?(n.push({name:"liveShiftProgress",align:"tlabs",x:0,y:0}),n.push({name:"playButton",align:"tl",x:15,y:12}),n.push({name:"liveDisplay",align:"tl",x:15,y:6})):n.push({name:"liveDisplay",align:"tlabs",x:15,y:6}),e.isLive)if(void 0===e.skinLayout)o.skinLayout=[{name:"errorDisplay",align:"tlabs",x:0,y:0},{name:"infoDisplay"},{name:"bigPlayButton",align:"blabs",x:30,y:80},{name:"unmuteButton",align:"cc"},{name:"tooltip",align:"blabs",x:0,y:56},{name:"H5Loading",align:"cc"},{name:"controlBar",align:"blabs",x:0,y:0,children:f.exports.isRts(e.source)?[{name:"fullScreenButton",align:"tr",x:20,y:12},{name:"volume",align:"tr",x:5,y:10},{name:"liveDisplay",align:"tlabs",x:15,y:6}]:n}];else if(0!=e.skinLayout){for(var a=e.skinLayout.length,s=[],l=-1,c=0;c<a;c++)if("controlBar"==o.skinLayout[c].name){for(var l=c,u=o.skinLayout[c].children.length,p=0;p<u;p++){var d,h=o.skinLayout[c].children[p].name;"liveDisplay"!=h&&"liveIco"!=h&&"fullScreenButton"!=h&&"volume"!=h&&"snapshot"!=h&&"setting"!=h&&"subtitle"!=h&&(!r||"progress"!=h&&"playButton"!=h&&"timeDisplay"!=h)||(d=o.skinLayout[c].children[p],"progress"==h?d.name="liveShiftProgress":"timeDisplay"==h?d.name="liveShiftTimeDisplay":i&&"liveDisplay"==h&&(d.name="liveIco"),s.push(d))}break}-1!=l&&(o.skinLayout[l].children=s)}return(void 0===e.components||!e.components||_.isArray(e.components)&&0==e.components.length)&&"false"!=e.components&&(o.components=[m]),o},f.exports.ignoreSkinLayouts=function(e,t){var n;if(null!=t&&t.length&&null!=e&&e.length)return n=e,t.forEach(function(t){var r,o,e;-1<t.indexOf(".")?(e=t.split("."),r=e[0],o=e[1],(e=n.find(function(e){return e.name===r}))&&(e.children=e.children.filter(function(e){return e.name!==o}))):n=n.filter(function(e){return e.name!==t})}),n},f.exports.getLiveHostByRegion=function(e){var t="live.aliyuncs.com";return e&&-1<["ap-southeast-1","eu-central-1"].indexOf(e)?"live."+e+".aliyuncs.com":t},f.exports.isVideoTag=function(e){return e&&"string"==typeof e.nodeName&&"video"===e.nodeName.toLowerCase()},f.exports.unqiueTextTracks=function(e){var t=[],t=(e=void 0===e?[]:e).reduce(function(e,t){var r;return e.some(function(e){return e.srclang===t.srclang})?e:((r=t).label=t.label||t.srclang,[].concat(e,[r]))},[]),r={};return t.forEach(function(e,t){r[e.label]?r[e.label].push(t):r[e.label]=[t]}),Object.keys(r).forEach(function(e){e=r[e]||[];1<e.length&&e.forEach(function(e){t[e].label=t[e].label+"("+t[e].srclang+")"})}),t},f.exports.isHvc1Codec=function(e){return-1<(e=void 0===e?"":e).indexOf("hvc1")},f.exports.isHev1Codec=function(e){return-1<(e=void 0===e?"":e).indexOf("hev1")},f.exports.isVvccCodec=function(e){return-1<(e=void 0===e?"":e).indexOf("vvcC")},f.exports.isVvc1Codec=function(e){return-1<(e=void 0===e?"":e).indexOf("vvc1")},f.exports.isVvi1Codec=function(e){return-1<(e=void 0===e?"":e).indexOf("vvi1")},f.exports.isH265Codec=function(e){return f.exports.isHvc1Codec(e=void 0===e?"":e)||f.exports.isHev1Codec(e)},f.exports.isH266Codec=function(e){return f.exports.isVvccCodec(e=void 0===e?"":e)||f.exports.isVvc1Codec(e)||f.exports.isVvi1Codec(e)},f.exports.isH264Codec=function(e){return-1<(e=void 0===e?"":e).indexOf("avc1")},f.exports.getVideoTrack=function(e){var t;return(e=void 0===e?[]:e).forEach(function(e){1===Number(e.type)&&(t=e)}),t},l.IS_ANDROID&&(l.dingTalk()||l.IS_UC||l.is_X5||l.IS_HUAWEI||l.IS_XIAOMI||l.IS_OPPO||l.IS_VIVO||l.IS_MEIZU||l.IS_SAMSUNG||l.IS_WEBVIEW)||l.os&&"windows"===l.os.name&&l.IS_UC);f.exports.shouldUseBasePlayer=function(e,t){var r,o,n,i=e.codecTag,e=e.url,a="supported",s="unsupported";return!i||(n=f.exports.isHvc1Codec(i),r=f.exports.isMp4(e),e=f.exports.isHls(e),r&&f.exports.nativeSupportH265()&&n)||r&&(()=>{if(!(!u&&(l.IS_CHROME||l.IS_EDGE_NEW)))return!1;var t=0;try{t=l.USER_AGENT.match(/Chrome\/(\d+)/i)[1]}catch(e){t=0}return!(parseInt(t)<104||!window.MediaSource||!window.MediaSource.isTypeSupported('video/mp4;codecs="hvc1.1.6.L120.90"'))})()?t(!0):u?(n=f.exports.getHistoryDetectResult(i,o=e?"hls":"mp4"))===a?t(!0):n===s?t(!1):void c({codecTags:[i],format:o,timeout:2e3}).then(function(e){e=e.isHev1Supported||e.isHvc1Supported;if(f.exports.setHistoryDetectResult(i,o,e?a:s),e)return t(!0);t(!1)}).catch(function(e){console.log("hevcDetector ERROR",e),t(!1)}):t(!1)},f.exports.parseHttpHeaders=function(e){if(e){var r={};try{e instanceof Response?e.headers.forEach(function(e,t){r[t]=e}):e.getAllResponseHeaders().trim().split(/[\r\n]+/).forEach(function(e){var e=e.split(": "),t=e.shift(),e=e.join(": ");r[t]=e})}catch(e){}return r}},f.exports.detectRegionBlock=function(e,o){s.get(e,function(){o(!1)},function(e,t,r){r=f.exports.parseHttpHeaders(r)["x-tengine-error"];403===t&&r&&-1<i.RegionBlockMessages.indexOf(r)?o(!0):o(!1)})},f.exports.drawSnapshotText=function(e,t){t=t.snapshotWatermark;t&&t.text&&(e.font=t.font,t.fillColor&&(e.fillStyle=t.fillColor,e.fillText(t.text,t.left,t.top)),t.strokeColor&&(e.strokeStyle=t.strokeColor,e.strokeText(t.text,t.left,t.top)),e.stroke())},f.exports.hasValue=function(e){return null!=e&&""!==e}},{"../config":12,"../lang/index":18,"../player/base/plugin/defaultemptycomponent":38,"./constants":20,"./cookie":21,"./dom":23,"./hardware-decoding-detector":27,"./io":28,"./object":30,"./ua":34}],33:[function(e,t,r){t.exports.set=function(t,r){try{window.localStorage&&localStorage.setItem(t,r)}catch(e){window[t+"_localStorage"]=r}},t.exports.get=function(t){try{if(window.localStorage)return localStorage.getItem(t)}catch(e){return window[t+"_localStorage"]}return""}},{}],34:[function(e,E,t){var r,o,n;if(E.exports.USER_AGENT=navigator.userAgent,E.exports.IS_IPHONE=/iPhone/i.test(E.exports.USER_AGENT),E.exports.IS_IPAD=/iPad/i.test(E.exports.USER_AGENT),E.exports.IS_IPOD=/iPod/i.test(E.exports.USER_AGENT),E.exports.IS_MAC=/mac/i.test(E.exports.USER_AGENT),E.exports.IS_EDGE=/Edge/i.test(E.exports.USER_AGENT),E.exports.IS_EDGE_NEW=/Edg/i.test(E.exports.USER_AGENT)&&!E.exports.IS_EDGE,E.exports.IS_IE11=/Trident\/7.0/i.test(E.exports.USER_AGENT),E.exports.IS_X5=/qqbrowser/i.test(E.exports.USER_AGENT.toLowerCase()),E.exports.IS_CHROME=/Chrome/i.test(E.exports.USER_AGENT)&&!E.exports.IS_EDGE&&!E.exports.IS_EDGE_NEW&&!E.exports.IS_X5,E.exports.IS_SAFARI=/Safari/i.test(E.exports.USER_AGENT)&&!E.exports.IS_CHROME&&!E.exports.IS_EDGE_NEW,E.exports.IS_FIREFOX=/Firefox/i.test(E.exports.USER_AGENT),E.exports.IS_UC=/ucweb|UCBrowser|UBrowser/i.test(E.exports.USER_AGENT),E.exports.IS_QUARK=/Quark/i.test(E.exports.USER_AGENT),E.exports.IS_HUAWEI=/HuaweiBrowser/i.test(E.exports.USER_AGENT),E.exports.IS_XIAOMI=/MiuiBrowser/i.test(E.exports.USER_AGENT),E.exports.IS_OPPO=/HeyTapBrowser/i.test(E.exports.USER_AGENT),E.exports.IS_VIVO=/VivoBrowser/i.test(E.exports.USER_AGENT),E.exports.IS_MEIZU=/MZBrowser/i.test(E.exports.USER_AGENT),E.exports.IS_SAMSUNG=/samsungbrowser/i.test(E.exports.USER_AGENT),E.exports.IS_BAIDU=/baiduboxapp/i.test(E.exports.USER_AGENT),document.all)try{var i=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");E.exports.HAS_FLASH=!!i}catch(e){E.exports.HAS_FLASH=!1}else navigator.plugins&&0<navigator.plugins.length?(i=navigator.plugins["Shockwave Flash"],E.exports.HAS_FLASH=!!i):E.exports.HAS_FLASH=!1;E.exports.IS_MAC_SAFARI=E.exports.IS_MAC&&E.exports.IS_SAFARI&&!E.exports.IS_CHROME&&!E.exports.HAS_FLASH,E.exports.IS_IOS=E.exports.IS_IPHONE||E.exports.IS_IPAD||E.exports.IS_IPOD,E.exports.IOS_VERSION=(()=>{var e=E.exports.USER_AGENT.match(/OS (\d+)_/i);if(e&&e[1])return e[1]})(),E.exports.IOS_FULL_VERSION=(()=>{var e=E.exports.USER_AGENT.match(/OS (\d+)_(\d+)_?/i);if(e&&e[1]&&e[2])return e[1]+"."+e[2]})(),E.exports.IS_HARMONY=/OpenHarmony/i.test(E.exports.USER_AGENT),E.exports.IS_ANDROID=/Android/i.test(E.exports.USER_AGENT)||E.exports.IS_HARMONY,E.exports.ANDROID_VERSION=(i=E.exports.USER_AGENT.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i))?(o=i[1]&&parseFloat(i[1]),r=i[2]&&parseFloat(i[2]),o&&r?parseFloat(i[1]+"."+i[2]):o||null):null,E.exports.IS_OLD_ANDROID=E.exports.IS_ANDROID&&/webkit/i.test(E.exports.USER_AGENT)&&E.exports.ANDROID_VERSION<2.3,E.exports.TOUCH_ENABLED=!!("ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),E.exports.IS_MOBILE=E.exports.IS_IOS||E.exports.IS_ANDROID,E.exports.IS_H5=E.exports.IS_MOBILE||!E.exports.HAS_FLASH,E.exports.IS_PC=!E.exports.IS_MOBILE,E.exports.is_X5=/micromessenger/i.test(E.exports.USER_AGENT)||/qqbrowser/i.test(E.exports.USER_AGENT),E.exports.IS_ANDROID_FIREFOX=E.exports.IS_ANDROID&&E.exports.IS_FIREFOX,E.exports.CHROME_VERSION=E.exports.IS_CHROME&&E.exports.USER_AGENT.match(/Chrome\/(\d+)/i)[1],E.exports.getHost=function(e){var t,r,o="";return void 0===e||null==e||""==e?"":(t=e.indexOf("//"),r=e,o=r=-1<t?e.substring(t+2):r,(e=(o=(e=r.split("/"))&&0<e.length?e[0]:o).split(":"))&&0<e.length?e[0]:o)},E.exports.dingTalk=function(){var e=E.exports.USER_AGENT.toLowerCase();return/dingtalk/i.test(e)},E.exports.IS_DINGTALK=E.exports.dingTalk(),E.exports.wechat=function(){var e=E.exports.USER_AGENT.toLowerCase();return/micromessenger/i.test(e)},E.exports.inIFrame=function(){return self!=top},E.exports.getReferer=function(){var t=document.referrer;if(E.exports.inIFrame())try{t=top.document.referrer}catch(e){t=document.referrer}return t},E.exports.getHref=function(){location.href;if(E.exports.inIFrame())try{top.location.href}catch(e){location.href}return location.href},E.exports.check360=function(){return-1!=navigator.userAgent.indexOf("Safari")?(()=>{var e=navigator.userAgent.split(" ");if(-1!=e[e.length-1].indexOf("Safari"))for(var t in navigator.plugins)if("np-mswmp.dll"==navigator.plugins[t].filename)return!0;return!1})():(null==navigator.msPointerEnabled||navigator.msPointerEnabled)&&(1==navigator.msDoNotTrack||1==window.doNotTrack)&&(!!Number(window.screenX)&&window.screenLeft-window.screenX!=8||(-1!=navigator.userAgent.indexOf("MSIE 7.0")||-1!=navigator.userAgent.indexOf("MSIE 8.0"))&&null==console.count)},function(e,t){var r=this.os={},o=this.browser={},n=e.match(/Web[kK]it[\/]{0,1}([\d.]+)/),i=e.match(/(Android);?[\s\/]+([\d.]+)?/),a=!!e.match(/\(Macintosh\; Intel /),s=e.match(/(iPad).*OS\s([\d_]+)/),l=e.match(/(iPod)(.*OS\s([\d_]+))?/),c=!s&&e.match(/(iPhone\sOS)\s([\d_]+)/),u=e.match(/(webOS|hpwOS)[\s\/]([\d.]+)/),t=/Win\d{2}|Windows/.test(t),p=e.match(/Windows Phone ([\d.]+)/),d=u&&e.match(/TouchPad/),h=e.match(/Kindle\/([\d.]+)/),f=e.match(/Silk\/([\d._]+)/),_=e.match(/(BlackBerry).*Version\/([\d.]+)/),m=e.match(/(BB10).*Version\/([\d.]+)/),y=e.match(/(RIM\sTablet\sOS)\s([\d.]+)/),g=e.match(/PlayBook/),v=e.match(/Chrome\/([\d.]+)/)||e.match(/CriOS\/([\d.]+)/),S=e.match(/Firefox\/([\d.]+)/),x=e.match(/\((?:Mobile|Tablet); rv:([\d.]+)\).*Firefox\/[\d.]+/),b=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/[\d](?=[^\?]+).*rv:([0-9.].)/),w=!v&&e.match(/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/),T=w||e.match(/Version\/([\d.]+)([^S](Safari)|[^M]*(Mobile)[^S]*(Safari))/);(o.webkit=!!n)&&(o.version=n[1]),i&&(r.android=!0,r.version=i[2]),c&&!l&&(r.ios=r.iphone=!0,r.version=c[2].replace(/_/g,".")),s&&(r.ios=r.ipad=!0,r.version=s[2].replace(/_/g,".")),l&&(r.ios=r.ipod=!0,r.version=l[3]?l[3].replace(/_/g,"."):null),p&&(r.wp=!0,r.version=p[1]),u&&(r.webos=!0,r.version=u[2]),d&&(r.touchpad=!0),_&&(r.blackberry=!0,r.version=_[2]),m&&(r.bb10=!0,r.version=m[2]),y&&(r.rimtabletos=!0,r.version=y[2]),g&&(o.playbook=!0),h&&(r.kindle=!0,r.version=h[1]),f&&(o.silk=!0,o.version=f[1]),!f&&r.android&&e.match(/Kindle Fire/)&&(o.silk=!0),v&&(o.chrome=!0,o.version=v[1]),S&&(o.firefox=!0,o.version=S[1]),x&&(r.firefoxos=!0,r.version=x[1]),b&&(o.ie=!0,o.version=b[1]),T&&(a||r.ios||t||i)&&(o.safari=!0,r.ios||r.android||(o.version=T[1])),r.ios&&(o.version=r.version),w&&(o.webview=!0),a&&((n=e.match(/[\d]*_[\d]*_[\d]*/))&&0<n.length&&n[0]&&(r.version=n[0].replace(/_/g,".")),/MQBHD/.test(e))&&(o.version=((e.match(/.*OS\s([\d_]+)/)||[])[1]||"").replace(/_/g,".")),r.tablet=!!(s||g||i&&!e.match(/Mobile/)||S&&e.match(/Tablet/)||b&&!e.match(/Phone/)&&e.match(/Touch/)),r.phone=!(r.tablet||r.ipod||!(i||c||u||_||m||v&&e.match(/Android/)||v&&e.match(/CriOS\/([\d.]+)/)||S&&e.match(/Mobile/)||b&&e.match(/Touch/))),r.pc=!r.tablet&&!r.phone,a?r.name="macOS":t?(r.name="windows",r.version=(()=>{var e=navigator.userAgent,t="";return(-1<e.indexOf("Windows NT 5.0")||-1<e.indexOf("Windows 2000"))&&(t="2000"),(-1<e.indexOf("Windows NT 5.1")||-1<e.indexOf("Windows XP"))&&(t="XP"),(-1<e.indexOf("Windows NT 5.2")||-1<e.indexOf("Windows 2003"))&&(t="2003"),(-1<e.indexOf("Windows NT 6.0")||-1<e.indexOf("Windows Vista"))&&(t="Vista"),(-1<e.indexOf("Windows NT 6.1")||-1<e.indexOf("Windows 7"))&&(t="7"),(-1<e.indexOf("Windows NT 6.2")||-1<e.indexOf("Windows 8"))&&(t="8"),(-1<e.indexOf("Windows NT 6.3")||-1<e.indexOf("Windows 8.1"))&&(t="8.1"),t=-1<e.indexOf("Windows NT 10")||-1<e.indexOf("Windows 10")?"10":t})()):r.name=(()=>{var e=navigator.userAgent,t="other",r=E.exports.os;return r.ios?"iOS":r.android?"android":-1<e.indexOf("Baiduspider")?"Baiduspider":-1<e.indexOf("PlayStation")?"PS4":(r="Win32"==navigator.platform||"Windows"==navigator.platform||-1<e.indexOf("Windows"),(e="Mac68K"==navigator.platform||"MacPPC"==navigator.platform||"Macintosh"==navigator.platform||"MacIntel"==navigator.platform)&&(t="macOS"),"X11"!=navigator.platform||r||e||(t="Unix"),-1<String(navigator.platform).indexOf("Linux")&&(t="Linux"),r?"windows":t)})(),o.name=(l=navigator.userAgent.toLowerCase(),(p=E.exports.browser).firefox?"Firefox":p.ie?/edge/.test(l)?"Edge":"IE":E.exports.IS_EDGE_NEW?"EdgeChromium":/micromessenger/.test(l)?"\u5fae\u4fe1\u5185\u7f6e\u6d4f\u89c8\u5668":/qqbrowser/.test(l)?"QQ\u6d4f\u89c8\u5668":E.exports.IS_UC?"UC":E.exports.IS_QUARK?"Quark":E.exports.IS_DINGTALK?"Dingtalk":E.exports.IS_HUAWEI?"HuaweiBrowser":E.exports.IS_XIAOMI?"MiBrowser":E.exports.IS_OPPO?"OppoBrowser":E.exports.IS_VIVO?"VivoBrowser":E.exports.IS_MEIZU?"MeizuBrowser":E.exports.IS_SAMSUNG?"SamsungBrowser":E.exports.IS_WEBVIEW||/MQBHD/.test(l)?"webview":p.chrome?"Chrome":p.safari?"Safari":/baiduspider/.test(l)?"Baiduspider":/opera/.test(l)?"Opera":/360se/.test(l)?"360\u6d4f\u89c8\u5668":/bidubrowser/.test(l)?"\u767e\u5ea6\u6d4f\u89c8\u5668":/metasr/.test(l)?"\u641c\u72d7\u6d4f\u89c8\u5668":/lbbrowser/.test(l)?"\u730e\u8c79\u6d4f\u89c8\u5668":/playstation/.test(l)?"PS4\u6d4f\u89c8\u5668":void 0)}.call(E.exports,navigator.userAgent,navigator.platform),E.exports.IS_WEBVIEW=(r=E.exports.USER_AGENT,o=new RegExp("("+["WebView","(iPhone|iPod|iPad)(?!.*Safari)","Android.*(Version).*(wv|.0.0.0)","Linux; U; Android"].join("|")+")","ig"),n=new RegExp("("+["VivoBrowser","MZBrowser","MiuiBrowser"].join("|")+")","ig"),!!r.match(o)&&!r.match(n))},{}],35:[function(e,t,r){var s=e("./dom");t.exports.getAbsoluteURL=function(e){return e=e.match(/^https?:\/\//)?e:s.createEl("div",{innerHTML:'<a href="'+e+'">x</a>'}).firstChild.href},t.exports.parseUrl=function(e){var t,r=["protocol","hostname","port","pathname","search","hash","host"],o=s.createEl("a",{href:e}),n=""===o.host&&"file:"!==o.protocol;n&&((t=s.createEl("div")).innerHTML='<a href="'+e+'"></a>',o=t.firstChild,t.setAttribute("style","display:none; position:absolute;"),document.body.appendChild(t));for(var i={},a=0;a<r.length;a++)i[r[a]]=o[r[a]];return i.segments=o.pathname.replace(/^\//,"").split("/"),n&&document.body.removeChild(t),i}},{"./dom":23}],36:[function(e,r,t){var o=e("./dom"),n=e("./ua"),i=e("./playerutil");r.exports.formatTime=function(e){e=Math.max(0,e||0);var t,e=Math.floor(e),r=Math.floor(e/3600);return e%=3600,t=Math.floor(e/60),e=e%60,!(r===1/0||isNaN(r)||t===1/0||isNaN(t)||e==1/0||isNaN(e))&&("00"===(r=10<=r?r:"0"+r)?"":r+":")+(10<=t?t:"0"+t)+":"+(10<=e?e:"0"+e)},r.exports.extractTime=function(e){var t;return e?("00"===(t=10<=(t=parseInt(e.getHours()))?t:"0"+t)?"":t+":")+(t=10<=(t=parseInt(e.getMinutes()))?t:"0"+t)+":"+(t=10<=(t=parseInt(e.getSeconds()))?t:"0"+t):""},r.exports.convertToTimestamp=function(e,t){var r="";return e&&(t?r=e.gettime():(r=Date.parse(e),r/=1e3)),r},r.exports.convertToDate=function(e,t){var r="";return e&&(r=new Date).setTime(1e3*e),r},r.exports.parseTime=function(e){var t,r,o;return e?(o=r=t=0,3===(e=e.split(":")).length?(t=e[0],r=e[1],o=e[2]):2===e.length?(r=e[0],o=e[1]):1===e.length&&(o=e[0]),3600*(t=parseInt(t,10))+60*(r=parseInt(r,10))+(o=Math.ceil(parseFloat(o)))):"00:00:00"},r.exports.formatDate=function(e,t){var r,o={"M+":e.getMonth()+1,"d+":e.getDate(),"H+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()};for(r in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),o)new RegExp("("+r+")").test(t)&&(t=t.replace(RegExp.$1,1==RegExp.$1.length?o[r]:("00"+o[r]).substr((""+o[r]).length)));return t},r.exports.sleep=function(e){for(var t=Date.now();Date.now()-t<=e;);},r.exports.htmlEncodeAll=function(e){return null==e?"":e.replace(/\</g,"&lt;").replace(/\>/g,"&gt;").replace(/\&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")},r.exports.toBinary=function(e){if(!window.atob)return"";for(var t=atob(e),r=t.length,o=new Uint8Array(r),n=0;n<r;n++)o[n]=t.charCodeAt(n);return o},r.exports.readyBinary=function(e){for(var t=new Uint8Array(e),r=t.length,o="",n=0;n<r;n++)o+=t[n];return o},r.exports.delayHide=function(e,t){e&&(void 0===t&&(t=1e3),e.delayHanlder&&clearTimeout(e.delayHanlder),e.delayHanlder=setTimeout(function(){o.css(e,"display","none")},t))},r.exports.openInFile=function(){return-1!=window.location.protocol.toLowerCase().indexOf("file")},r.exports.contentProtocolMixed=function(e,t,r){return!!((n.os.pc&&(i.isHls(e,r)&&!n.browser.safari||i.isFlv(e,r))||t)&&"https:"==window.location.protocol.toLowerCase()&&e&&-1<e.toLowerCase().indexOf("http://"))},r.exports.queryString=function(e){var t,r,o;return 2===(e=(e=decodeURIComponent(e)).split("?")).length&&(t=e[1].split("&"))?(r={},o=0,$(t).each(function(){var e=t[o].split("=");2===e.length&&(r[e[0]]=e[1].replace(/\+/g," ")),o++}),r):{}},r.exports.log=function(e){var t=window.location.href,t=r.exports.queryString(t);t&&1==t.debug&&console.log(e)},r.exports.arrayBufferToB64=function(e){for(var t="",r=new Uint8Array(e),o=r.byteLength,n=0;n<o;n++)t+=String.fromCharCode(r[n]);return window.btoa(t)},r.exports.b64ToArrayBuffer=function(e){for(var t=atob(e),r=new Uint8Array(t.length),o=0;o<t.length;o++)r[o]=t.charCodeAt(o);return r.buffer},r.exports.throttle=function(a,s){var l=null,c=0;return function(){for(var e=this,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];var n=Date.now(),i=s-(n-c);i<=0?(a.apply(this,r),c=n):(clearTimeout(l),l=setTimeout(function(){a.apply(e,r),c=Date.now()},i))}}},{"./dom":23,"./playerutil":32,"./ua":34}],37:[function(e,t,r){t.exports={Video:{TimeUpdate:"timeupdate",Play:"play",Playing:"playing",Pause:"pause",CanPlay:"canplay",Waiting:"waiting",Ended:"ended",Error:"error",Suspend:"suspend",Stalled:"stalled",LoadStart:"loadstart",DurationChange:"durationchange",LoadedData:"loadeddata",LoadedMetadata:"loadedmetadata",Progress:"progress",CanPlayThrough:"canplaythrough",ContextMenu:"contextmenu",Seeking:"seeking",Seeked:"seeked",ManualEnded:"manualended",VolumeChange:"volumechange",RateChange:"ratechange",Resize:"resize"},Player:{TimeUpdate:"timeupdate",DurationChange:"durationchange",Init:"init",Ready:"ready",Play:"play",Playing:"playing",Pause:"pause",CanPlay:"canplay",Waiting:"waiting",Ended:"ended",Error:"error",RequestFullScreen:"requestFullScreen",CancelFullScreen:"cancelFullScreen",Snapshoted:"snapshoted",Snapshoting:"snapshoting",OnM3u8Retry:"onM3u8Retry",LiveStreamStop:"liveStreamStop",AutoPlayPrevented:"autoPlayPrevented",AutoPlay:"autoplay",StartSeek:"startSeek",CompleteSeek:"completeSeek",TextTrackReady:"textTrackReady",AudioTrackReady:"audioTrackReady",AudioTrackUpdated:"audioTrackUpdated",LevelsLoaded:"levelsLoaded",AudioTrackSwitch:"audioTrackSwitch",AudioTrackSwitched:"audioTrackSwitched",LevelSwitch:"levelSwitch",LevelSwitched:"levelSwitched",MarkerDotOver:"markerDotOver",MarkerDotOut:"markerDotOut",DefaultBandWidth:"defaultbandwidth",ResolutionChange:"resolutionChange",SeiFrame:"seiFrame",RtsFallback:"rtsFallback",RtsTraceId:"rtsTraceId",H265PlayInfo:"h265PlayInfo",H266PlayInfo:"h266PlayInfo",H265DecoderOverload:"h265DecoderOverload",SettingSelected:"settingSelected",AutoResize:"autoResize",VideoUnavailable:"videoUnavailable"},Private:{Create:"create",Play_Btn_Show:"play_btn_show",UiH5Ready:"uiH5Ready",Error_Hide:"error_hide",Error_Show:"error_show",Info_Show:"info_show",Info_Hide:"info_hide",H5_Loading_Show:"h5_loading_show",H5_Loading_Hide:"h5_loading_hide",HideProgress:"hideProgress",CancelHideProgress:"cancelHideProgress",UpdateProgress:"updateProgress",UpdateCursorPosition:"updateCursorPosition",Click:"click",MouseOver:"mouseover",MouseOut:"mouseout",MouseEnter:"mouseenter",MouseLeave:"mouseleave",TouchStart:"touchstart",TouchMove:"touchmove",TouchEnd:"touchend",HideBar:"hideBar",ShowBar:"showBar",ControlBarClick:"controlBarClick",ReadyState:"readyState",SourceLoaded:"sourceloaded",QualityChange:"qualitychange",Play_Btn_Hide:"play_btn_hide",Cover_Hide:"cover_hide",Cover_Show:"cover_show",SeekStart:"seekStart",EndStart:"endStart",UpdateProgressBar:"updateProgressBar",LifeCycleChanged:"lifeCycleChanged",Dispose:"dispose",Created:"created",Snapshot_Hide:"snapshot_hide",AutoStreamShow:"auto_stream_show",AutoStreamHide:"auto_stream_hide",VolumnChanged:"volumnchanged",LiveShiftQueryCompleted:"liveShiftQueryCompleted",LiveShiftSwitchToLive:"LiveShiftSwitchToLive",StreamSelectorHide:"streamSelectorHide",SpeedSelectorHide:"speedSelectorHide",SettingShow:"settingShow",SettingHide:"settingHide",SelectorShow:"selectorShow",SelectorHide:"selectorHide",SettingListShow:"settingListShow",SettingListHide:"settingListHide",ThumbnailHide:"thumbnailHide",ThumbnailShow:"thumbnailShow",ThumbnailLoaded:"thumbnailLoaded",TooltipShow:"tooltipShow",TooltipHide:"tooltipHide",SelectorUpdateList:"selectorUpdateList",SelectorValueChange:"selectorValueChange",SelectorGenerateList:"selectorGenerateList",VolumeVisibilityChange:"volumeVisibilityChange",VolumeUpdatePosition:"volumeUpdatePosition",ChangeURL:"changeURL",UpdateToSettingList:"updateToSettingList",CCChanged:"CCChanged",CCStateChanged:"CCStateChanged",CCReset:"ccReset",TextTrackFounded:"textTrackFounded",UserTrackReset:"userTrackReset",PlayClick:"click",ProgressMarkerLoaded:"progressMarkerLoaded",MarkerTextShow:"markerTextShow",MarkerTextHide:"markerTextHide",PREPARE:"prepare",ProgressMarkerChanged:"progressMarkerChanged",SeiFrame:"privateSeiFrame",PlayInfoLoaded:"playInfoLoaded",Retry:"retry",LicenseHasResult:"licenseHasResult",LicenseTipShow:"licenseTipShow",LicenseTipHide:"licenseTipHide",PatchWaiting:"patchWaiting",VttHide:"vttHide",VttSwitchTrack:"vttSwitchTrack",VttClearTracks:"vttClearTracks",SafariDrmLevelSwitch:"safariDrmLevelSwitch",VodRequestException:"vodRequestException",VodRequestExceptionResume:"vodRequestExceptionResume",TraceLog:"traceLog",DumpBuffer:"dumpBuffer",PlaybackRateChanged:"playbackRateChanged",StatisticsInfo:"statisticsInfo",MutedAutoplay:"mutedAutoplay",Timeline:"timeline",ManualPlay:"manualPlay",UpdateWatchTime:"updateWatchTime"}}},{}],38:[function(e,t,r){e=e("../../../lib/oo").extend({});t.exports=e},{"../../../lib/oo":31}],39:[function(e,t,r){var o=e("../../ui/component"),n=e("../../lib/data"),i=e("../../lib/ua"),a=e("../../lib/constants"),s=e("../../lib/dom"),l=e("../../lib/object"),c=e("../../config"),u=e("../../lang/index"),p=e("../../lib/playerutil"),d=e("../../lib/util"),h=e("../../ui/component/info-display"),f=e("../../ui/component/error-display"),_=e("../../feature/autoplaydelay"),m=e("../../commonui/autostreamselector"),y=e("../base/event/eventtype"),g=e("../saas/ststoken"),e=o.extend({init:function(e,t){var r;void 0===t.skinLayout&&(t.skinLayout=p.getDefaultFlashLayout()),o.call(this,this,t),this._id="prism-player-"+n.guid(),this.tag=e,this._el=this.tag,this._childrenUI=[f],this.initChildren(),this.id=this._id,window[this.id]=this,u.setCurrentLanguage(this._options.language,"flash",this._options.languageTexts),d.openInFile()?(t={mediaId:this._options.vid||"",error_code:a.ErrorCode.FormatNotSupport,error_msg:u.get("Open_Html_By_File","flash")},this.trigger(y.Private.Error_Show,t)):i.IS_MOBILE?this.trigger(y.Private.Error_Show,{mediaId:this._options.vid||"",error_code:a.ErrorCode.FormatNotSupport,error_msg:u.get("Cant_Use_Flash_On_Mobile","flash")}):(this._options.vid&&this._options.accessKeyId&&this._options.securityToken&&this._options.accessKeySecret?g.getPlayAuth((r=this)._options,function(e){r._options.playauth=e,r._createPlayer()},function(e){var t={mediaId:r._options.vid,error_code:e.Code,error_msg:e.Message};e.sri&&(t.sri=e.sri),t.display_msg=e.display_msg,r.trigger(y.Private.Error_Show,t)},"flash"):this._createPlayer(),this._status="init")},_createPlayer:function(){var e,t;this._options.autoPlayDelay?(t=new _(this),e=this,t.handle(function(){e._options.autoplay=!0,e._initPlayer(),e._childrenUI=[h,m],e.initChildren()})):(this._initPlayer(),this._childrenUI=[h,m],this.initChildren()),i.HAS_FLASH||(t=u.get("Flash_Not_Ready","flash"),this.trigger(y.Private.Info_Show,{text:t,align:"tc",isBlack:!1}))},_initPlayer:function(){var e="//"+c.domain+"/de/prismplayer-flash/"+c.flashVersion+"/PrismPlayer.swf",t=(this._options.playerSwfPath?e=this._options.playerSwfPath:c.domain?-1<c.domain.indexOf("localhost")&&(e="//"+c.domain+"/build/flash//PrismPlayer.swf"):e="de/prismplayer-flash/"+c.flashVersion+"/PrismPlayer.swf",this._comboFlashVars()),r=this._options.wmode||"opaque";this.tag.innerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="100%" height="100%" id="'+this.id+'"><param name=movie value="'+e+'"><param name=quality value=High><param name="FlashVars" value="'+t+'"><param name="WMode" value="'+r+'"><param name="AllowScriptAccess" value="always"><param name="AllowFullScreen" value="true"><param name="AllowFullScreenInteractive" value="true"><embed name="'+this.id+'" src="'+e+'" quality=high pluginspage="//www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="100%" height="100%" AllowScriptAccess="always" AllowFullScreen="true" AllowFullScreenInteractive="true" WMode="'+r+'" FlashVars="'+t+'"></embed></object>'},_getPlayer:function(e){return-1!=navigator.appName.indexOf("Microsoft")?document.getElementById(e):document[e]},_getLowerQualityLevel:function(){var e,t=this._getVideoUrls();return t&&(e=t.Urls,t=t.index,!(e&&0==e.length||-1==t))&&0<t?{item:e[t-1],index:t-1}:""},_comboFlashVars:function(){var e=encodeURIComponent(i.getReferer()),t=i.getHref(),r=encodeURIComponent(t),o="",t=(t&&(o=i.getHost(t)),this._options),e={autoPlay:t.autoplay?1:0,isInner:0,actRequest:1,vid:t.vid,diagnosisButtonVisible:t.diagnosisButtonVisible?1:0,domain:t.domain||"//tv.taobao.com",statisticService:t.statisticService||c.logReportTo,videoInfoService:t.videoInfoService||"/player/json/getBaseVideoInfo.do",disablePing:t.trackLog?0:1,namespace:this.id,barMode:0!=t.barMode?1:0,isLive:t.isLive?1:0,waterMark:t.waterMark,environment:t.environment,vurl:t.source?encodeURIComponent(t.source):"",plugins:t.plugins||"",snapShotShow:t.snapshot?1:0,accessId:t.accId||"",accessKey:t.accSecret||"",apiKey:t.apiKey||"",flashApiKey:t.flashApiKey||"",disableSeek:t.disableSeek?1:0,disableFullScreen:t.disableFullScreen?1:0,stsToken:t.stsToken||"",domainRegion:t.domainRegion||"",authInfo:t.authInfo?encodeURIComponent(t.authInfo):"",playDomain:t.playDomain||"",stretcherZoomType:t.stretcherZoomType||"",playauth:t.playauth?t.playauth.replace(/\+/g,"%2B"):"",prismType:t.prismType||0,formats:t.formats||"",notShowTips:t.notShowTips?1:0,showBarTime:t.showBarTime||0,showBuffer:0==t.showBuffer?0:1,rePlay:t.rePlay?1:0,encryp:t.encryp||"",secret:t.secret||"",mediaType:"video",logInfo:{ud:i.getHost(t.source),os:i.os.name,ov:i.os.version||"",et:i.browser.name,ev:i.browser.version||"",uat:i.USER_AGENT,r:e,pu:r,app_n:o}},n=[];return void 0!==t.rtmpBufferTime&&(e.rtmpBufferTime=t.rtmpBufferTime),t.cover&&(e.cover=t.cover),t.extraInfo&&(e.extraInfo=encodeURIComponent(JSON.stringify(t.extraInfo))),e.logInfo&&(e.logInfo=encodeURIComponent(JSON.stringify(e.logInfo))),e.languageData=encodeURIComponent(JSON.stringify(u.getLanguageData("flash"))),e.language=u.getCurrentLanguage(),l.each(e,function(e,t){n.push(e+"="+t)}),n.join("&")},initChildren:function(){for(var e=this._childrenUI.length,t=0;t<e;t++){var r=new this._childrenUI[t](this,this._options),o=r.el();o.id=r.id(),this.contentEl().appendChild(o),r.bindEvent()}var n=document.querySelector("#"+this._options.id+" .prism-info-display");s.css(n,"display","none")},flashReady:function(){this.flashPlayer=this._getPlayer(this.id),this._isReady=!0;var e=this._options.skinRes,t=this._options.skinLayout;if(!1!==t&&!l.isArray(t))throw new Error("PrismPlayer Error: skinLayout should be false or type of array!");if("string"!=typeof e)throw new Error("PrismPlayer Error: skinRes should be string!");e=0!=t&&0!==t.length&&{skinRes:e,skinLayout:t},this.flashPlayer.setPlayerSkin(e),this.trigger("ready");var r=this;window.addEventListener("beforeunload",function(){try{r.flashPlayer.setPlayerCloseStatus()}catch(e){}})},jsReady:function(){return!0},snapshoted:function(e){var t=d.toBinary(e),e="data:image/jpeg;base64,"+e;this.trigger("snapshoted",{time:this.getCurrentTime(),base64:e,binary:t})},uiReady:function(){this._status="ready",this.trigger("uiReady")},loadedmetadata:function(){"ended"!=this._status&&(this._status="loading",this.trigger("loadedmetadata"))},onPlay:function(){this._status="play",this.trigger("play"),this._clearTimeoutHandle(),this.trigger(y.Private.AutoStreamHide)},onEnded:function(){this._clearTimeoutHandle(),this._status="ended",this.trigger("ended")},onPause:function(){this._status="pause",this._clearTimeoutHandle(),this.trigger(y.Private.AutoStreamHide),this.trigger("pause")},onBulletScreenReady:function(){this.trigger("bSReady")},onBulletScreenMsgSend:function(e){this.trigger("bSSendMsg",e)},onVideoRender:function(e){this._clearTimeoutHandle(),this.trigger("videoRender"),this.trigger("canplay",{loadtime:e})},onVideoError:function(e){this._clearTimeoutHandle(),this._status="error",this.trigger("error",{errortype:e})},onM3u8Retry:function(){this.trigger("m3u8Retry")},hideBar:function(){this.trigger("hideBar")},showBar:function(){this.trigger("showBar")},liveStreamStop:function(){this.trigger("liveStreamStop")},stsTokenExpired:function(){this._status="error",this.trigger("stsTokenExpired")},onVideoBuffer:function(){var e;"pause"!=this._status&&(this._status="waiting",this.trigger("waiting"),this._clearTimeoutHandle(),(e=this)._checkTimeoutHandle=setTimeout(function(){e.trigger(y.Private.AutoStreamShow)},1e3*this._options.loadDataTimeout),this._checkVideoStatus())},startSeek:function(e){this.trigger("startSeek",e)},completeSeek:function(e){this.trigger("completeSeek",e)},_invoke:function(){var e=arguments[0],t=arguments;if(Array.prototype.shift.call(t),!this.flashPlayer)throw new Error("PrismPlayer Error: flash player is not ready\uff0cplease use api after ready event occured!");if("function"!=typeof this.flashPlayer[e])throw new Error("PrismPlayer Error: function "+e+" is not found!");return this.flashPlayer[e].apply(this.flashPlayer,t)},play:function(){this._invoke("playVideo")},replay:function(){this._invoke("replayVideo")},pause:function(){this._invoke("pauseVideo")},stop:function(){this._invoke("stopVideo")},seek:function(e){this._invoke("seekVideo",e)},getCurrentTime:function(){return this._invoke("getCurrentTime")},getDuration:function(){return this._invoke("getDuration")},getStatus:function(){return this._status},_getVideoUrls:function(){var e=this._invoke("getVideoUrls"),t=[];if(e&&e.Urls)for(var r=0;r<e.Urls.length;r++){var o=e.Urls[r].value,n=o.desc.indexOf("_"),i=u.get(o.definition,"flash");o.desc=0<n?i+"_"+o.height:i,t.push(o)}return{Urls:t,index:e.index}},_getVideoStatus:function(){return this._invoke("getVideoStatus")},_checkVideoStatus:function(){var t,r;this.flashPlayer&&!this._checkVideoStatusHandler&&(t=this,(r=function(){t._checkVideoStatusHandler=setTimeout(function(){var e=t._getVideoStatus();"playing"==e.videoStatus&&"bufferFull"==e.bufferStatus?(t._status="playing",t._clearTimeoutHandle()):"videoPlayOver"==e.videoStatus&&(t._status="ended",t._clearTimeoutHandle()),r()},500)})())},_clearTimeoutHandle:function(){this._checkTimeoutHandle&&(clearTimeout(this._checkTimeoutHandle),this._checkTimeoutHandle=null)},_changeStream:function(e){return this._invoke("changeStream",e)},mute:function(){this.setVolume(0)},unMute:function(){this.setVolume(.5)},getVolume:function(){return this._invoke("getVolume")},setVolume:function(e){this._invoke("setVolume",e)},loadByVid:function(e){this._invoke("loadByVid",e,!1)},loadByUrl:function(e,t){this._invoke("loadByUrl",e,t)},dispose:function(){this._clearTimeoutHandle(),this._checkVideoStatusHandler&&(clearTimeout(this._checkVideoStatusHandler),this._checkVideoStatusHandler=null),this._invoke("pauseVideo");var e=this;setTimeout(function(){e.offAll("completeSeek"),e.offAll("startSeek"),e.offAll("stsTokenExpired"),e.offAll("liveStreamStop"),e.offAll("showBar"),e.offAll("hideBar"),e.offAll("m3u8Retry"),e.offAll("error"),e.offAll("canplay"),e.offAll("pause"),e.offAll("ended"),e.offAll("play"),e.offAll("loadedmetadata"),e.offAll("snapshoted"),e.offAll("uiReady"),e.offAll("ready"),e.flashPlayer=null,e._el&&(e._el.innerHTML="")})},showBSMsg:function(e){this._invoke("showBSMsg",e)},setToastEnabled:function(e){this._invoke("setToastEnabled",e)},setLoadingInvisible:function(){this._invoke("setLoadingInvisible")},setPlayerSize:function(e,t){this._el.style.width=e,this._el.style.height=t}});t.exports=e},{"../../commonui/autostreamselector":11,"../../config":12,"../../feature/autoplaydelay":14,"../../lang/index":18,"../../lib/constants":20,"../../lib/data":22,"../../lib/dom":23,"../../lib/object":30,"../../lib/playerutil":32,"../../lib/ua":34,"../../lib/util":36,"../../ui/component":43,"../../ui/component/error-display":44,"../../ui/component/info-display":45,"../base/event/eventtype":37,"../saas/ststoken":41}],40:[function(e,u,t){var o=e("crypto-js/hmac-sha1"),n=e("crypto-js/enc-base64"),r=e("crypto-js/enc-utf8");u.exports.randomUUID=function(){for(var e=[],t="0123456789abcdef",r=0;r<36;r++)e[r]=t.substr(Math.floor(16*Math.random()),1);return e[14]="4",e[19]=t.substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-",e.join("")},u.exports.returnUTCDate=function(){var e=new Date,t=e.getUTCFullYear(),r=e.getUTCMonth(),o=e.getUTCDate(),n=e.getUTCHours(),i=e.getUTCMinutes(),a=e.getUTCSeconds(),e=e.getUTCMilliseconds();return Date.UTC(t,r,o,n,i,a,e)},u.exports.AliyunEncodeURI=function(e){e=encodeURIComponent(e);return e=(e=(e=e.replace("+","%2B")).replace("*","%2A")).replace("%7E","~")},u.exports.makesort=function(e,t,r){if(!e)throw new Error("PrismPlayer Error: vid should not be null!");var o=[];for(s in e)o.push(s);for(var n=o.sort(),i="",a=n.length,s=0;s<a;s++)""==i?i=n[s]+t+e[n[s]]:i+=r+n[s]+t+e[n[s]];return i},u.exports.makeUTF8sort=function(e,t,r){if(!e)throw new Error("PrismPlayer Error: vid should not be null!");var o=[];for(s in e)o.push(s);for(var n=o.sort(),i="",a=n.length,s=0;s<a;s++){var l=u.exports.AliyunEncodeURI(n[s]),c=u.exports.AliyunEncodeURI(e[n[s]]);""==i?i=l+t+c:i+=r+l+t+c}return i},u.exports.makeChangeSiga=function(e,t,r){if(e)return n.stringify(o((r=r||"GET")+"&"+u.exports.AliyunEncodeURI("/")+"&"+u.exports.AliyunEncodeURI(u.exports.makeUTF8sort(e,"=","&")),t+"&"));throw new Error("PrismPlayer Error: vid should not be null!")},u.exports.ISODateString=function(e){function t(e){return e<10?"0"+e:e}return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"Z"},u.exports.encPlayAuth=function(e){if(e=r.stringify(n.parse(e)))return JSON.parse(e);throw new Error("playuth\u53c2\u6570\u89e3\u6790\u4e3a\u7a7a")},u.exports.encRsa=function(){},u.exports.stringToArray=function(e){for(var t=new ArrayBuffer(2*e.length),r=new Uint16Array(t),o=0,n=e.length;o<n;o++)r[o]=e.charCodeAt(o);return r},u.exports.Uint8ArrayToString=function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},u.exports.arrayToString=function(e){e=new Uint16Array(e.buffer);return String.fromCharCode.apply(null,e)},u.exports.base64DecodeUint8Array=function(e){var t=window.atob(e),r=t.length,o=new Uint8Array(new ArrayBuffer(r));for(i=0;i<r;i++)o[i]=t.charCodeAt(i);return o},u.exports.base64EncodeUint8Array=function(e){for(var t,r,o,n,i,a,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",l="",c=0;c<e.length;)o=(t=e[c++])>>2,n=(3&t)<<4|(t=c<e.length?e[c++]:Number.NaN)>>4,i=(15&t)<<2|(r=c<e.length?e[c++]:Number.NaN)>>6,a=63&r,isNaN(t)?i=a=64:isNaN(r)&&(a=64),l+=s.charAt(o)+s.charAt(n)+s.charAt(i)+s.charAt(a);return l}},{"crypto-js/enc-base64":3,"crypto-js/enc-utf8":4,"crypto-js/hmac-sha1":5}],41:[function(e,t,r){var i=e("../../lib/io"),a=e("../../lib/constants"),s=e("./signature"),l=e("./util"),c=e("../../lang/index");t.exports.getPlayAuth=function(e,t,r,o){s.randomUUID();var n=s.randomUUID(),n={AccessKeyId:e.accessKeyId,Action:"GetVideoPlayAuth",VideoId:e.vid,AuthTimeout:a.AuthInfoExpired,SecurityToken:e.securityToken,Format:"JSON",Version:"2017-03-21",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:n},n=s.makeUTF8sort(n,"=","&")+"&Signature="+s.AliyunEncodeURI(s.makeChangeSiga(n,e.accessKeySecret)),e="https://vod."+e.region+".aliyuncs.com/?"+n;i.get(e,function(e){e?(e=JSON.parse(e),t&&t(e.PlayAuth)):r&&r(l.createError("\u83b7\u53d6\u89c6\u9891\u64ad\u653e\u51ed\u8bc1\u5931\u8d25"))},function(e){if(r){var t={Code:"",Message:c.get("Fetch_Playauth_Error")};try{(t=JSON.parse(e)).Code}catch(e){}r({Code:a.ErrorCode.ServerAPIError,Message:t.Code+"|"+t.Message,sri:t.RequestId,display_msg:c.get("Fetch_Playauth_Error",o)})}})}},{"../../lang/index":18,"../../lib/constants":20,"../../lib/io":28,"./signature":40,"./util":42}],42:[function(e,c,t){var r=e("../../lib/constants");c.exports.createError=function(e,t){return{requestId:"",code:t||"",message:e}},c.exports.getItem=function(e){var t={};return t.width=e.Width,t.height=e.Height,t.definition=e.Definition,t.Url=e.PlayURL,t.format=e.Format,t.desc=r.QualityLevels[t.definition],t.encryptionType=r.VodEncryptionType[e.EncryptType],t.plaintext=e.Plaintext,t.rand=e.Rand,t.encrypt=e.Encrypt,t.duration=e.Duration,t.bitrate=e.Bitrate,t},c.exports.objectPlayerMessageSort=function(e,t){for(var r=[],o=[],n=[],i=[],a=e.length-1;0<=a;a--){var s=e[a],s=c.exports.getItem(s);("mp4"==s.format?o:"mp3"==s.format?n:"m3u8"==s.format?r:i).push(s)}var l=[],l=0<n.length?n:0<o.length?o:0<r.length?r:i;return"asc"==t&&l.reverse(),l}},{"../../lib/constants":20}],43:[function(e,t,r){var o=e("../lib/oo"),n=e("../lib/data"),i=e("../lib/object"),a=e("../lib/dom"),s=e("../lib/event"),l=e("../lib/function"),c=e("../lib/layout"),u=(e("../lib/constants"),e("../lib/util"),e("../player/base/event/eventtype")),e=e("./component/util"),o=o.extend({init:function(e,t){var r=this,o=(this._player=e,this._eventState="",this._options=i.copy(t),this._el=this.createEl(),e.id);"function"==typeof e.id&&(o=e.id()),this._id=o+"_component_"+n.guid(),this._children=[],this._childIndex={},t.className&&this.addClass(t.className),this._player.on(u.Private.UiH5Ready,function(){r.renderUI(),r.syncUI(),r.bindEvent()})}});o.prototype.renderUI=function(){c.render(this.el(),this.options()),this.el().id=this.id()},o.prototype.syncUI=function(){},o.prototype.bindEvent=function(){},o.prototype.createEl=function(e,t){return a.createEl(e,t)},o.prototype.options=function(e){return void 0===e?this._options:this._options=i.merge(this._options,e)},o.prototype.el=function(){return this._el},o.prototype._contentEl,o.prototype.player=function(){return this._player},o.prototype.contentEl=function(){return this._contentEl||this._el},o.prototype._id,o.prototype.id=function(){return this._id},o.prototype.getId=function(){return this._id},o.prototype.addChild=function(e,t){var r;if("string"==typeof e){if(!this._player.UI[e])return;r=new this._player.UI[e](this._player,t)}else r=e;return this._children.push(r),"function"==typeof r.id&&(this._childIndex[r.id()]=r),"function"==typeof r.el&&r.el()&&((t=r.el()).id=r.id(),this.contentEl().appendChild(t)),r},o.prototype.removeChild=function(e){if(e&&this._children){for(var t,r=!1,o=this._children.length-1;0<=o;o--)if(this._children[o]===e){r=!0,this._children.splice(o,1);break}r&&(this._childIndex[e.id]=null,t=e.el())&&t.parentNode===this.contentEl()&&this.contentEl().removeChild(e.el())}},o.prototype.initChildren=function(){var e,t,r=this,o=this.options().children;if(o)if(i.isArray(o))for(var n=0;n<o.length;n++)t="string"==typeof(t=o[n])?(e=t,{}):(e=t.name,t),r.addChild(e,t);else i.each(o,function(e,t){!1!==t&&r.addChild(e,t)})},o.prototype.on=function(e,t){return s.on(this._el,e,l.bind(this,t)),this},o.prototype.off=function(e,t){return s.off(this._el,e,t),this},o.prototype.one=function(e,t){return s.one(this._el,e,l.bind(this,t)),this},o.prototype.trigger=function(e,t){if(this._el)return!t&&0!=t||(this._el.paramData=t),this._eventState=e,s.trigger(this._el,e),this},o.prototype.offAll=function(e){return s.off(this._el,e),this},o.prototype.addClass=function(e){return a.addClass(this._el,e),this},o.prototype.removeClass=function(e){return a.removeClass(this._el,e),this},o.prototype.show=function(){return this._el&&(this._el.style.display="block"),this},o.prototype.hide=function(){return this._el&&(this._el.style.display="none"),this},o.prototype.destroy=function(){if(this.trigger({type:"destroy",bubbles:!1}),this._children)for(var e=this._children.length-1;0<=e;e--)this._children[e].destroy&&this._children[e].destroy();"function"==typeof this.disposeUI&&this.disposeUI(),this.children_=null,this.childIndex_=null,this.offAll(),this._el.parentNode&&this._el.id!=this._player.id()&&this._el.parentNode.removeChild(this._el),n.removeData(this._el),this._el=null},o.prototype.registerControlBarTooltip=e.registerTooltipEvent,t.exports=o},{"../lib/constants":20,"../lib/data":22,"../lib/dom":23,"../lib/event":24,"../lib/function":26,"../lib/layout":29,"../lib/object":30,"../lib/oo":31,"../lib/util":36,"../player/base/event/eventtype":37,"./component/util":46}],44:[function(e,t,r){var o=e("../component"),n=e("../../lib/util"),i=e("../../lib/dom"),a=e("../../lib/event"),s=e("../../lib/ua"),l=e("../../lang/index"),c=e("../../player/base/event/eventtype"),e=(e("../../lib/playerutil"),o.extend({init:function(e,t){o.call(this,e,t),this.addClass("prism-ErrorMessage")},createEl:function(){var e=o.prototype.createEl.call(this,"div");return e.innerHTML="<div class='prism-error-content'><p></p></div><div class='prism-error-detail'><p></p></div><div class='prism-error-operation'><a class='prism-button prism-button-refresh'>"+l.get("Refresh_Text")+"</a><a class='prism-button prism-button-orange' target='_blank'>"+l.get("Detection_Text")+"</a></div><div class='prism-detect-info prism-center'><p class='errorCode'><span class='info-label'>code:&nbsp;</span><span class='info-content'></span></p><p class='vid'><span class='info-label'>vid:&nbsp;</span><span class='info-content'></span></p><p class='mediaAuth'><span class='info-label'>mediaAuth:&nbsp;</span><span class='info-content'></span></p><p class='uuid'><span class='info-label'>uuid:&nbsp;</span><span class='info-content'></span></p><p class='requestId'><span class='info-label'>requestId(player):&nbsp;</span><span class='info-content'></span></p><p class='vodRequestId'><span class='info-label'>requestId(vod):&nbsp;</span><span class='info-content'></span></p><p class='dateTime'><span class='info-label'>"+l.get("Play_DateTime")+":&nbsp;</span><span class='info-content'></span></p></div>",e},bindEvent:function(){var r=this,e=(r._player.on(c.Private.Error_Show,function(e){var t=null;r._player.getMonitorInfo&&(t=r._player.getMonitorInfo()),r._show(e,t)}),r._player.on(c.Private.Error_Hide,function(){r._hide()}),document.querySelector("#"+r.id()+" .prism-button-refresh")),t=(a.on(e,"click",function(){r._player.traceLog("error-display.js","refreshBtn::clicked"),location.reload(!0)}),s.IS_MOBILE&&(e=document.querySelector("#"+r.id()+" .prism-detect-info"),i.addClass(e,"prism-width90")),document.querySelector("#"+r.id()+" .prism-error-detail")),e=document.querySelector("#"+this.id()+" .prism-button-orange");i.css(t,"display","none"),a.on(e,"click",function(){i.css(t,"display","block")})},_show:function(e,t){var e=e.paramData,r=(e.mediaId&&e.mediaId,e.mediaAuth&&e.mediaAuth,e.display_msg||e.error_msg),r=(document.querySelector("#"+this.id()+" .prism-error-content p").innerHTML=r,document.querySelector("#"+this.id()+" .errorCode .info-content").innerText=e.error_code,e.diagnosis_info),r=(r?document.querySelector("#"+this.id()+" .prism-error-detail p").innerHTML=r:(r=document.querySelector("#"+this.id()+" .prism-button-orange"),i.css(r,"display","none")),document.querySelector("#"+this.id()+" .vid")),r=(e.mediaId?(i.css(r,"display","block"),document.querySelector("#"+this.id()+" .vid .info-content").innerText=e.mediaId):i.css(r,"display","none"),document.querySelector("#"+this.id()+" .mediaAuth")),e=(e.mediaAuth?(i.css(r,"display","block"),document.querySelector("#"+this.id()+" .mediaAuth .info-content").innerText=e.mediaAuth):i.css(r,"display","none"),e.uuid?document.querySelector("#"+this.id()+" .uuid .info-content").innerText=e.uuid:(r=document.querySelector("#"+this.id()+" .uuid"),i.css(r,"display","none")),e.requestId?document.querySelector("#"+this.id()+" .requestId .info-content").innerText=e.requestId:(r=document.querySelector("#"+this.id()+" .requestId"),i.css(r,"display","none")),e.serverRequestId?document.querySelector("#"+this.id()+" .vodRequestId .info-content").innerText=e.serverRequestId:(r=document.querySelector("#"+this.id()+" .vodRequestId"),i.css(r,"display","none")),document.querySelector("#"+this.id()+" .dateTime .info-content").innerText=n.formatDate(new Date,"yyyy-MM-dd HH:mm:ss"),document.querySelector("#"+this.id())),o=(i.css(e,"display","block"),this);o.playHideHandler&&clearTimeout(o.playHideHandler),o.playHideHandler=setTimeout(function(){o._player.trigger("play_btn_hide")})},_hide:function(){var e=document.querySelector("#"+this.id());i.css(e,"display","none")},disposeUI:function(){this.playHideHandler&&(clearTimeout(this.playHideHandler),this.playHideHandler=null)}}));t.exports=e},{"../../lang/index":18,"../../lib/dom":23,"../../lib/event":24,"../../lib/playerutil":32,"../../lib/ua":34,"../../lib/util":36,"../../player/base/event/eventtype":37,"../component":43}],45:[function(e,t,r){var o=e("../component"),n=(e("../../lib/util"),e("../../lib/dom")),i=(e("../../lib/event"),e("../../lib/ua"),e("../../lang/index"),e("../../player/base/event/eventtype")),e=o.extend({init:function(e,t){o.call(this,e,t),this.addClass("prism-info-display")},createEl:function(){return o.prototype.createEl.call(this,"p")},bindEvent:function(){var r=this;r._player.on(i.Private.Info_Show,function(e){var t=document.querySelector("#"+r.id()),e=e.paramData;e&&(void 0!==e.text&&e.text?(t.innerHTML=e.text,void 0!==e.duration&&e.duration&&(r.handler&&clearTimeout(r.handler),r.handler=setTimeout(function(){n.css(t,"display","none")},e.duration)),"lb"==e.align?(n.addClass(t,"prism-info-left-bottom"),n.removeClass(t,"prism-info-top-center")):"tc"==e.align?(n.addClass(t,"prism-info-top-center"),n.removeClass(t,"prism-info-left-bottom")):(n.removeClass(t,"prism-info-left-bottom"),n.removeClass(t,"prism-info-top-center")),e.isBlack?n.addClass(t,"prism-info-black"):n.removeClass(t,"prism-info-black")):t.innerHTML=e,n.css(t,"display","block"))}),r._player.on(i.Private.Info_Hide,function(e){var t=document.querySelector("#"+r.id());n.css(t,"display","none")})},disposeUI:function(){this.handler&&(clearTimeout(this.handler),this.handler=null)}});t.exports=e},{"../../lang/index":18,"../../lib/dom":23,"../../lib/event":24,"../../lib/ua":34,"../../lib/util":36,"../../player/base/event/eventtype":37,"../component":43}],46:[function(e,t,r){var o=e("../../lib/event"),s=e("../../player/base/event/eventtype");t.exports.registerTooltipEvent=function(e,n){function i(){a._controlbarTooltipHandler&&(clearTimeout(a._controlbarTooltipHandler),a._controlbarTooltipHandler=null)}var a=this;o.on(this.el(),"mouseover",function(e){i(),a._controlbarTooltipHandler=setTimeout(function(){a._player.trigger(s.Private.TooltipHide)},4e3);var t=a.el().offsetLeft,r=a.el().offsetWidth,o=n;"function"==typeof n&&(o=n.call(this)),a._player.trigger(s.Private.TooltipShow,{left:t,width:r,text:o})}),o.on(this.el(),"mouseout",function(){i(),a._player.trigger(s.Private.TooltipHide)})},t.exports.throttle=function(r,o){var n=Date.now();return function(){var e=arguments,t=Date.now();o<=t-n&&(r(e),n=t)}},t.exports.debounce=function(r,o){var n;return function(){var e=this,t=arguments;clearTimeout(n),n=setTimeout(function(){r.apply(e,t)},o)}}},{"../../lib/event":24,"../../player/base/event/eventtype":37}]},{},[13])(13)});
@@ -1,61 +0,0 @@
1
- module.exports = {
2
- "OD" : "OD",
3
- "LD" : "360p",
4
- "FD" : "540p",
5
- "SD" : "720p",
6
- "HD" : "1080p",
7
- "2K" : "2K",
8
- "4K" : "4K",
9
- "FHD" : "FHD",
10
- "XLD" : "XLD",
11
- "SQ":"SQ",
12
- "HQ":"HQ",
13
- "Forbidden_Text":"Internal information is strictly forbidden to outsider",
14
- "Refresh":"Refresh",
15
- "Diagnosis":"Diagnosis",
16
- "Live_Finished":"Live has finished, thanks for watching",
17
- "Play":"Play",
18
- "Pause":"Pause",
19
- "Snapshot":"Snapshot",
20
- "Replay":"Replay",
21
- "Live":"Live",
22
- "Encrypt":"Encrypt",
23
- "Sound":"Sound",
24
- "Fullscreen":"Full Screen",
25
- "Exist_Fullscreen":"Exit Full-screen",
26
- "Resolution":"Resolution",
27
- "Next":"Next Video",
28
- "Brightness":"Brightness",
29
- "Default":"Default",
30
- "Contrast":"Contrast",
31
- "Titles_Credits":"Titles and Credits",
32
- "Skip_Titles":"Skip Titles",
33
- "Skip_Credits":"Skip Credits",
34
- "Not_Support_Out_Site":"The video is not supported for outside website, please watch it by TaoTV",
35
- "Watch_Now":"Watch now",
36
- "Network_Error":"Network is unreachable, please try to refresh",
37
- "Video_Error":"Playing a video error, please try to refresh",
38
- "Decode_Error":"Data decoding error",
39
- "Live_Not_Start":"Live has not started, to be expected",
40
- "Live_Loading":"Live information is loading, please try to refresh",
41
- "Fetch_Playauth_Error":"Error occured when fetch playauth close or refresh",
42
- "Live_End":"Live has finished",
43
- "Live_Abrot":"Signal aborted, please try to refresh",
44
- "Corss_Domain_Error":"Please ensure your domain has obtained IPC license and combined CNAME, \r\n or to set  cross-domain accessing available",
45
- "Url_Timeout_Error":"The video url is timeout, please try to refresh",
46
- "Connetction_Error":"Sorry,the video cannot play because of connection error, please try to watch other videos",
47
- "Fetch_MTS_Error":"Fetching video list failed, please ensure",
48
- "Token_Expired_Error":"Requesting open api failed, please ensure token expired or not",
49
- "Video_Lists_Empty_Error":"The video list is empty, please check the format of video",
50
- "Encrypted_Failed_Error":"Fetching encrypted file failed, please check the permission of player",
51
- "Fetch_Failed_Permission_Error":"Fetching video list failed, please check the permission of player",
52
- "Invalidate_Param_Error":"No video url, please check the parameters",
53
- "AutoPlayDelayDisplayText":"Play in $$ seconds",
54
- "Fetch_MTS_NOT_NotStream_Error":"The vid has no stream to play",
55
- "Cancel_Text":"Cancel",
56
- "OK_Text":"OK",
57
- "Auto_Stream_Tip_Text":"Internet is slow, does switch to $$",
58
- "Open_Html_By_File":"Html page should be on the server",
59
- "Cant_Use_Flash_On_Mobile":"Mobile doesn't support flash player,please use h5 player",
60
- "Flash_Not_Ready":"Flash Player plugin hasn't been installed <a href='https://www.flash.cn/' target='_blank'>install plugin</a>, or check if disable Flash plugin"
61
- }
@@ -1,61 +0,0 @@
1
- module.exports = {
2
- "OD" : "原画",
3
- "FD" : "流畅",
4
- "LD" : "标清",
5
- "SD" : "高清",
6
- "HD" : "超清",
7
- "2K" : "2K",
8
- "4K" : "4K",
9
- "FHD" : "全高清",
10
- "XLD" : "极速",
11
- "SQ":"普通音质",
12
- "HQ":"高音质",
13
- "Forbidden_Text":"内部信息,严禁外传",
14
- "Refresh":"刷新",
15
- "Diagnosis":"诊断",
16
- "Live_Finished":"直播已结束,谢谢观看",
17
- "Play":"播放",
18
- "Pause":"暂停",
19
- "Snapshot":"截图",
20
- "Replay":"重播",
21
- "Live":"直播",
22
- "Encrypt":"加密",
23
- "Sound":"声音",
24
- "Fullscreen":"全屏",
25
- "Exist_Fullscreen":"退出全屏",
26
- "Resolution":"清晰度",
27
- "Next":"下一集",
28
- "Brightness":"亮度",
29
- "Default":"默认",
30
- "Contrast":"对比度",
31
- "Titles_Credits":"片头片尾",
32
- "Skip_Titles":"跳过片头",
33
- "Skip_Credits":"跳过片尾",
34
- "Not_Support_Out_Site":"该视频暂不支持站外播放,请到淘TV观看",
35
- "Watch_Now":"立即观看",
36
- "Network_Error":"网络无法连接,请尝试检查网络后刷新试试",
37
- "Video_Error":"视频播放异常,请刷新试试",
38
- "Decode_Error":"播放数据解码错误",
39
- "Live_Not_Start":"亲,直播还未开始哦,敬请期待",
40
- "Live_Loading":"直播信息加载中,请刷新试试",
41
- "Live_End":"亲,直播已结束",
42
- "Live_Abrot":"当前直播信号中断,请刷新后重试",
43
- "Corss_Domain_Error":"请确认您的域名已完成备案和CNAME绑定,\r\n并处于启用状态,或资源允许跨越访问",
44
- "Url_Timeout_Error":"您所观看的视频地址连接超时,请刷新后重试",
45
- "Connetction_Error":"抱歉,该视频由于连接错误暂时不能播放,请观看其它视频",
46
- "Fetch_MTS_Error":"获取视频列表失败,请确认",
47
- "Token_Expired_Error":"请求接口失败,请确认Token是否过期",
48
- "Video_Lists_Empty_Error":"获取视频列表为空,请确认播放数据与格式",
49
- "Encrypted_Failed_Error":"获取视频加密秘钥错误,请确认播放权限",
50
- "Fetch_Failed_Permission_Error":"获取视频列表失败,请确认播放权限",
51
- "Invalidate_Param_Error":"无输入视频,请确认输入参数",
52
- "AutoPlayDelayDisplayText":"$$秒以后开始播放",
53
- "Fetch_MTS_NOT_NotStream_Error":"此vid没有可播放视频",
54
- "Cancel_Text":"取消",
55
- "OK_Text":"确认",
56
- "Auto_Stream_Tip_Text":"网络不给力,是否切换到$$",
57
- "Fetch_Playauth_Error":"获取播放凭证出错啦,请尝试退出重试或刷新",
58
- "Open_Html_By_File":"不能直接在浏览器打开html文件,请部署到服务端",
59
- "Cant_Use_Flash_On_Mobile":"移动端不支持Flash播放器,请使用h5播放器",
60
- "Flash_Not_Ready":"Flash Player插件未安装<a href='https://www.flash.cn/' target='_blank'>安装插件</a>,如果已经安装请检查是否被禁用"
61
- }