/*! Aliplayer - v2.8.2 - 2019-05-09 16.34.41 */ !function n(a,s,l){function u(t,e){if(!s[t]){if(!a[t]){var i="function"==typeof require&&require;if(!e&&i)return i(t,!0);if(c)return c(t,!0);var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}var o=s[t]={exports:{}};a[t][0].call(o.exports,function(e){return u(a[t][1][e]||e)},o,o.exports,n,a,s,l)}return s[t].exports}for(var c="function"==typeof require&&require,e=0;ei.offsetHeight){t=i,e.fastClickScrollParent=i;break}i=i.parentElement}while(i)}t&&(t.fastClickLastScrollTop=t.scrollTop)},l.prototype.getTargetElementFromEventTarget=function(e){return e.nodeType===Node.TEXT_NODE?e.parentNode:e},l.prototype.onTouchStart=function(e){var t,i,r;if(1i||Math.abs(t.pageY-this.touchStartY)>i},l.prototype.onTouchMove=function(e){return this.trackingClick&&(this.targetElement!==this.getTargetElementFromEventTarget(e.target)||this.touchHasMoved(e))&&(this.trackingClick=!1,this.targetElement=null),!0},l.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")},l.prototype.onTouchEnd=function(e){var t,i,r,o,n,a=this.targetElement;if(!this.trackingClick)return!0;if(e.timeStamp-this.lastClickTimethis.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=e.timeStamp,i=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,d&&(n=e.changedTouches[0],(a=document.elementFromPoint(n.pageX-window.pageXOffset,n.pageY-window.pageYOffset)||a).fastClickScrollParent=this.targetElement.fastClickScrollParent),"label"===(r=a.tagName.toLowerCase())){if(t=this.findControl(a)){if(this.focus(a),u)return!1;a=t}}else if(this.needsFocus(a))return 100"+a.get("Cancel_Text")+"",e},bindEvent:function(){var r=this;r._player.on(s.Private.AutoStreamShow,function(e){var t=document.querySelector("#"+r.getId()+" .tip-text");if(r._player._getLowerQualityLevel){var i=r._player._getLowerQualityLevel();i&&(r._switchUrl=i,t.innerText=a.get("Auto_Stream_Tip_Text").replace("$$",i.item.desc),o.css(r.el(),"display","block"))}}),r._player.on(s.Private.AutoStreamHide,function(e){document.querySelector("#"+r.getId()+" .tip-text");o.css(r.el(),"display","none")});var e=document.querySelector("#"+r.getId()+" .prism-button-ok");n.on(e,"click",function(){r._player._changeStream&&r._switchUrl&&r._player._changeStream(r._switchUrl.index,a.get("Quality_Change_Text")),o.css(r.el(),"display","none")});var t=document.querySelector("#"+r.getId()+" .prism-button-cancel");n.on(t,"click",function(){o.css(r.el(),"display","none")})}});t.exports=l},{"../lang/index":11,"../lib/dom":18,"../lib/event":19,"../lib/ua":31,"../lib/util":33,"../player/base/event/eventtype":43,"../ui/component":94}],3:[function(e,t,i){var r=e("../ui/component"),s=e("../lib/dom"),o=e("../lib/event"),n=e("../lib/ua"),a=e("../lib/function"),l=(e("../lang/index"),e("../lib/util")),u=e("../config"),c=e("../lib/playerutil"),d=e("../player/base/event/eventtype"),p=r.extend({init:function(e,t){r.call(this,e,t),this.className=t.className?t.className:"prism-liveshift-progress",this.addClass(this.className),this._liveshiftService=e._liveshiftService},createEl:function(){var e=r.prototype.createEl.call(this);return e.innerHTML='

00:00:00
',e},bindEvent:function(){var i=this;this.loadedNode=document.querySelector("#"+this.id()+" .prism-progress-loaded"),this.playedNode=document.querySelector("#"+this.id()+" .prism-progress-played"),this.cursorNode=document.querySelector("#"+this.id()+" .prism-progress-cursor"),this.timeNode=document.querySelector("#"+this.id()+" .prism-progress-time"),this.controlNode=document.querySelector("#"+this._player._options.id+" .prism-controlbar"),this.seperatorNode=document.querySelector("#"+this.id()+" .prism-liveshift-seperator"),this.progressNode=document.querySelector("#"+this.id()+" .prism-enable-liveshift");var e=document.querySelector("#"+this.id()+" .prism-progress-cursor img"),t="//"+u.domain+"/de/prismplayer/"+u.h5Version+"/skins/default/img/dragcursor.png";u.domain?-1a&&(sec=a),sec},_onMouseClick:function(e){var t=this,i=this._getSeconds(e),r=this._liveshiftService.availableLiveShiftTime-i;this._player.trigger(d.Private.SeekStart,{fromTime:this._getCurrentTime()});var o=this._liveshiftService.getSourceUrl(r),n=t._player._options.source,a=c.isHls(t._player._options.source);a&&o==n?t._player.seek(i):t._player._loadByUrlInner(o,i,!0),t._player.trigger(d.Private.Play_Btn_Hide),t._liveshiftService.seekTime=i,t._player.trigger(d.Private.EndStart,{toTime:i}),t._updateCursorPosition(i),a&&setTimeout(function(){t._player.play()})},_onMouseDown:function(e){var t=this;e.preventDefault(),this._player.trigger(d.Private.SeekStart,{fromTime:this._getCurrentTime()}),o.on(this.controlNode,"mousemove",function(e){t._onMouseMove(e)}),o.on(this.controlNode,"touchmove",function(e){t._onMouseMove(e)}),o.on(this._player.tag,"mouseup",function(e){t._onMouseUp(e)}),o.on(this._player.tag,"touchend",function(e){t._onMouseUp(e)}),o.on(this.controlNode,"mouseup",function(e){t._onMouseUp(e)}),o.on(this.controlNode,"touchend",function(e){t._onMouseUp(e)})},_onMouseUp:function(e){e.preventDefault(),o.off(this.controlNode,"mousemove"),o.off(this.controlNode,"touchmove"),o.off(this._player.tag,"mouseup"),o.off(this._player.tag,"touchend"),o.off(this.controlNode,"mouseup"),o.off(this.controlNode,"touchend");var t=this._liveshiftService.availableLiveShiftTime,i=this.playedNode.offsetWidth/this.el().offsetWidth*t;this._player.seek(i),this._player.trigger(d.Private.Play_Btn_Hide),this._liveshiftService.seekTime=i,this._player.trigger(d.Private.EndStart,{toTime:i})},_onMouseMove:function(e){e.preventDefault();var t=this._getSeconds(e);this._updateProgressBar(this.playedNode,t),this._updateCursorPosition(t)},_onTimeupdate:function(e){this._updateProgressBar(this.playedNode,this._getCurrentTime()),this._updateCursorPosition(this._getCurrentTime()),this._player.trigger(d.Private.UpdateProgressBar,{time:this._getCurrentTime()})},_getCurrentTime:function(){var e=this._liveshiftService.seekTime;return-1==e&&(e=0),this._player.getCurrentTime()+e},_onProgress:function(e){this._player.getDuration()&&1<=this._player.getBuffered().length&&this._updateProgressBar(this.loadedNode,this._player.getBuffered().end(this._player.getBuffered().length-1))},_updateProgressBar:function(e,t){if(1!=this._player._switchSourcing){var i=0;if(-1==this._liveshiftService.seekTime)i=1;else{var r=this._liveshiftService.availableLiveShiftTime;1<(i=r?t/r:0)&&(i=1,this._liveshiftService.seekTime=-1)}this.liveShiftStartDisplay;e&&s.css(e,"width",100*i+"%")}},_updateCursorPosition:function(e){if(this._player.el()&&1!=this._player._switchSourcing&&(0!=e||0!=this._player.tag.readyState)){var t=0,i=1,r=this._player.el().clientWidth;if(-1==this._liveshiftService.seekTime)t=1;else{var o=this._liveshiftService.availableLiveShiftTime;1<(t=o?e/o:0)&&(this._liveshiftService.seekTime=-1)}if(0!=r){var n=18/r;i=1-n,t-=n}this.cursorNode&&(ie.seekTime&&-1!=e.seekTime){var i=o._liveshiftService.getBaseTime(),r=n.formatTime(i+o._player.getCurrentTime());t.innerText=r}else e.currentTimeDisplay&&(t.innerText=e.currentTimeDisplay)}),this._player.on(a.Private.LiveShiftQueryCompleted,function(){o.updateTime()})},updateTime:function(){document.querySelector("#"+this.id()+" .end-time").innerText=this._liveshiftService.liveTimeRange.endDisplay,document.querySelector("#"+this.id()+" .live-time").innerText=this._liveshiftService.currentTimeDisplay}});t.exports=o},{"../lib/util":33,"../player/base/event/eventtype":43,"../ui/component":94}],5:[function(e,t,i){t.exports={domain:"g.alicdn.com",flashVersion:"2.8.2",h5Version:"2.8.2",cityBrain:!0,logDuration:10,logCount:100,logReportTo:"https://videocloud.cn-hangzhou.log.aliyuncs.com/logstores/newplayer/track"}},{}],6:[function(e,t,i){e("./lang/index").load();var r=e("./player/adaptivePlayer"),o=e("./lib/componentutil"),n=e("./config"),a=function(e,t){return r.create(e,t)};a.getVersion=function(){return n.h5Version},o.register(a);var s=window.Aliplayer=a;a.players={},"function"==typeof define&&define.amd?define([],function(){return s}):"object"==typeof i&&"object"==typeof t&&(t.exports=s),"undefined"!=typeof Uint8Array&&(Uint8Array.prototype.slice||Object.defineProperty(Uint8Array.prototype,"slice",{value:Array.prototype.slice}))},{"./config":5,"./lang/index":11,"./lib/componentutil":14,"./player/adaptivePlayer":40}],7:[function(e,t,i){var r=e("../lib/oo"),o=e("../lang/index"),n=r.extend({init:function(e,t){this._player=e,this._options=e.options()}});n.prototype.handle=function(e){if(this._options.autoPlayDelay){var t=this._options.autoPlayDelayDisplayText;t||(t=o.get("AutoPlayDelayDisplayText").replace("$$",this._options.autoPlayDelay)),this._player.trigger("info_show",t),this._player.trigger("h5_loading_hide"),this._player.trigger("play_btn_hide");var i=this;this._timeHandler=setTimeout(function(){i._player.trigger("info_hide"),i._options.autoPlayDelay=0,e&&e()},1e3*this._options.autoPlayDelay),this._player.on("play",function(){a(i)}),this._player.on("pause",function(){a(i)})}},n.prototype.dispose=function(){a(this),this._player=null};var a=function(e){e._timeHandler&&(clearTimeout(e._timeHandler),e._timeHandler=null)};t.exports=n},{"../lang/index":11,"../lib/oo":27}],8:[function(e,t,i){t.exports=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",Snapshot:"Snapshot",Detection_Text:"Diagnosis",Play_DateTime:"Time",Quality_Change_Fail_Switch_Text:"Cannot play, switch to ",Quality_Change_Text:"Switch 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_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 of video is not supported by\xa0h5 player\uff0cplease use flash player",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:"Play the encrypted video,please set encryptType to 1",Error_Vod_URL_Is_Empty_Text:"The url is empty",Error_Vod_Fetch_Urls_Text:"Error occured when fetch urls\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\xa0m3u8 file loaded failed",Error_Load_M3U8_Timeout_Text:"Timeout error occored\xa0when the\xa0m3u8 file loaded",Error_M3U8_Decode_Text:"The m3u8 file decoded failed",Error_TX_Decode_Text:"Video decoded failed",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_Fetch_NotStream:"The vid has no stream to play",Error_Not_Found:"Url is not found",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:"please make sure enable cors,refer to document",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",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 switch 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:"iOS desn't suport Vod's encription video",UseChromeForVodEncription:"This browser desn't suport Vod's encription video, please use latest Chrome"}},{}],9:[function(e,t,i){t.exports=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 install plugin, or check if disable Flash plugin"}},{}],10:[function(e,t,i){t.exports=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\u5b89\u88c5\u63d2\u4ef6\uff0c\u5982\u679c\u5df2\u7ecf\u5b89\u88c5\u8bf7\u68c0\u67e5\u662f\u5426\u88ab\u7981\u7528"}},{}],11:[function(n,e,t){var i=n("../config"),a=n("../lib/storage"),o=(n("../lib/io"),"aliplayer_lang"),s=function(){if(void 0===window[o]||!window[o]){var e=(navigator.language||navigator.browserLanguage).toLowerCase();e=e&&-1\u53c2\u8003\u6587\u6863",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",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",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:"\u6e05\u6670\u5ea6\u5207\u6362\u5230 ",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:"iOS\u4e0d\u652f\u6301\u70b9\u64ad\u52a0\u5bc6\u64ad\u653e",UseChromeForVodEncription:"\u6d4f\u89c8\u5668\u4e0d\u652f\u6301\u70b9\u64ad\u52a0\u5bc6\u64ad\u653e\uff0c\u8bf7\u4f7f\u7528\u6700\u65b0Chrome\u6d4f\u89c8\u5668"}},{}],13:[function(e,t,i){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";if(window.Uint8Array)for(var d=new Uint8Array(256),r=0;r>4,c[l++]=(15&r)<<4|o>>2,c[l++]=(3&o)<<6|63&n;return u},encode:function(e){var t,i=new Uint8Array(e),r=i.length,o="";for(t=0;t>2],o+=n[(3&i[t])<<4|i[t+1]>>4],o+=n[(15&i[t+1])<<2|i[t+2]>>6],o+=n[63&i[t+2]];return r%3==2?o=o.substring(0,o.length-1)+"=":r%3==1&&(o=o.substring(0,o.length-2)+"=="),o},unpackPlayReady:unpackPlayReady}},{}],14:[function(e,t,i){var r=e("./oo"),o=e("../player/base/event/eventtype");t.exports.stopPropagation=function(e){window.event?window.event.cancelBubble=!0:e.stopPropagation()},t.exports.register=function(e){e.util={stopPropagation:t.exports.stopPropagation},e.Component=r.extend,e.EventType=o.Player}},{"../player/base/event/eventtype":43,"./oo":27}],15:[function(e,t,i){var r=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.AuthKeyExpiredEvent="authkeyexpired",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},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,CrossDomain:4027,OtherError:4400,ServerAPIError:4500,FlashNotInstalled:4600},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.IconType={FontClass:"fontclass",Symbol:"symbol",Sprite:"Sprite"},t.exports.SelectedStreamLevel="selectedStreamLevel",t.exports.SelectedCC="selectedCC",t.exports.WidthMapToLevel={0:"OD",640:"FD",960:"LD",1280:"SD",1920:"HD",2580:"2K",3840:"4K"};var o=function(){t.exports.VideoErrorCodeText={1:r.get("Error_Load_Abort_Text"),2:r.get("Error_Network_Text"),3:r.get("Error_Decode_Text"),4:r.get("Error_Server_Network_NotSupport_Text")},t.exports.VideoLevels={0:r.get("OD"),640:r.get("FD"),960:r.get("LD"),1280:r.get("SD"),1920:r.get("HD"),2580:r.get("2K"),3840:r.get("4K")},t.exports.QualityLevels={OD:r.get("OD"),LD:r.get("LD"),FD:r.get("FD"),SD:r.get("SD"),HD:r.get("HD"),"2K":r.get("2K"),"4K":r.get("4K"),XLD:r.get("XLD"),FHD:r.get("FHD"),SQ:r.get("SQ"),HQ:r.get("HQ")},t.exports.SpeedLevels=[{key:.5,text:r.get("Speed_05X_Text")},{key:1,text:r.get("Speed_1X_Text")},{key:1.25,text:r.get("Speed_125X_Text")},{key:1.5,text:r.get("Speed_15X_Text")},{key:2,text:r.get("Speed_2X_Text")}]};o(),t.exports.updateByLanguage=o},{"../lang/index":11}],16:[function(e,t,i){t.exports.get=function(e){for(var t=e+"",i=document.cookie.split(";"),r=0;rNumber.MAX_SAFE_INTEGER?1/0:t},hexadecimalInteger:function(e){if(this[e]){var t=(this[e]||"0x").slice(2);t=(1&t.length?"0":"")+t;for(var i=new Uint8Array(t.length/2),r=0;rNumber.MAX_SAFE_INTEGER?1/0:t},decimalFloatingPoint:function(e){return parseFloat(this[e])},enumeratedString:function(e){return this[e]},decimalResolution:function(e){var t=r.exec(this[e]);if(null!==t)return{width:parseInt(t[1],10),height:parseInt(t[2],10)}},parseAttrList:function(e){var t,i={};for(o.lastIndex=0;null!==(t=o.exec(e));){var r=t[2];0===r.indexOf('"')&&r.lastIndexOf('"')===r.length-1&&(r=r.slice(1,-1)),i[t[1]]=r}return i}},t.exports=n},{}],23:[function(e,t,i){var P=e("./attrlist"),r=e("../io"),o=e("./URLToolkit"),c=/#EXT-X-STREAM-INF:([^\n\r]*)[\r\n]+([^\r\n]+)/g,u=/#EXT-X-MEDIA:(.*)/g,w=new RegExp([/#EXTINF:(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/|(?!#)(\S+)/.source,/|#EXT-X-BYTERANGE:*(.+)/.source,/|#EXT-X-PROGRAM-DATE-TIME:(.+)/.source,/|#.*/.source].join(""),"g"),C=/(?:(?:#(EXTM3U))|(?:#EXT-X-(PLAYLIST-TYPE):(.+))|(?:#EXT-X-(MEDIA-SEQUENCE): *(\d+))|(?:#EXT-X-(TARGETDURATION): *(\d+))|(?:#EXT-X-(KEY):(.+))|(?:#EXT-X-(START):(.+))|(?:#EXT-X-(ENDLIST))|(?:#EXT-X-(DISCONTINUITY-SEQ)UENCE:(\d+))|(?:#EXT-X-(DIS)CONTINUITY))|(?:#EXT-X-(VERSION):(\d+))|(?:#EXT-X-(MAP):(.+))|(?:(#)(.*):(.*))|(?:(#)(.*))(?:.*)\r?\n?/,k=function(){this.method=null,this.key=null,this.iv=null,this._uri=null},I=function(){this._url=null,this._byteRange=null,this._decryptdata=null,this.tagList=[]};I.prototype.getUrl=function(){return!this._url&&this.relurl&&(this._url=o.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url},I.prototype.Seturl=function(e){this._url=e},I.prototype.getProgramDateTime=function(){return!this._programDateTime&&this.rawProgramDateTime&&(this._programDateTime=new Date(Date.parse(this.rawProgramDateTime))),this._programDateTime},I.prototype.GetbyteRange=function(){if(!this._byteRange){var e=this._byteRange=[];if(this.rawByteRange){var t=this.rawByteRange.split("@",2);if(1===t.length){var i=this.lastByteRangeEndOffset;e[0]=i||0}else e[0]=parseInt(t[1]);e[1]=parseInt(t[0])+e[0]}}return this._byteRange},I.prototype.getByteRangeStartOffset=function(){return this.byteRange[0]},I.prototype.getByteRangeEndOffset=function(){return this.byteRange[1]};I.prototype.getDecryptdata=function(){return this._decryptdata||(this._decryptdata=this.fragmentDecryptdataFromLevelkey(this.levelkey,this.sn)),this._decryptdata};var n=function(){this.loaders={}};n.prototype={parseMasterPlaylist:function(e,t){var i,r=[];for(c.lastIndex=0;null!=(i=c.exec(e));){var o={},n=o.attrs=new P(i[1]);o.url=this.resolve(i[2],t);var a=n.decimalResolution("RESOLUTION");a&&(o.width=a.width,o.height=a.height),o.bitrate=n.decimalInteger("AVERAGE-BANDWIDTH")||n.decimalInteger("BANDWIDTH"),o.name=n.NAME;var s=n.CODECS;if(s){s=s.split(/[ ,]+/);for(var l=0;l",quot:'"',"#x27":"'","#x60":"`"}[t.toLowerCase()]||e})}},{}],27:[function(e,t,i){var o=e("./object"),n=function(){};(n=function(){}).extend=function(e){var t,i;for(var r in t=(e=e||{}).init||e.init||this.prototype.init||this.prototype.init||function(){},(((i=function(){t.apply(this,arguments)}).prototype=o.create(this.prototype)).constructor=i).extend=n.extend,i.create=n.create,e)e.hasOwnProperty(r)&&(i.prototype[r]=e[r]);return i},n.create=function(){var e=o.create(this.prototype);return this.apply(e,arguments),e},t.exports=n},{"./object":26}],28:[function(e,f,t){var _=e("./object"),i=e("../config"),r=e("./dom"),o=e("./cookie"),n=e("./constants"),a=e("../lang/index"),s=e("./ua"),g=e("../player/base/plugin/defaultemptycomponent"),y={preload:!0,autoplay:!0,useNativeControls:!1,width:"100%",height:"300px",cover:"",from:"",trackLog:!0,logBatched:!0,isLive:!1,playsinline:!0,showBarTime:5e3,rePlay:!1,liveRetry:5,liveRetryInterval:1,liveRetryStep:0,vodRetry:3,format:"",definition:"",defaultDefinition:"",loadDataTimeout:20,waitingTimeout:60,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,autoPlayDelay:0,autoPlayDelayDisplayText:"",useHlsPluginForSafari:!1,enableMSEForAndroid:!0,encryptType:0,language:"zh-cn",languageTexts:{},mediaType:"video",outputType:"",playConfig:{},reAuthInfo:{},components:[],liveTimeShiftUrl:"",liveShiftSource:"",liveShiftTime:"",videoHeight:"100%",videoWidth:"100%",enableWorker:!0,authTimeout:"",enableMockFullscreen:!1,region:"cn-shanghai",debug:!1,progressMarkers:[],snapshotWatermark:{left:"500",top:"100",text:"",font:"16px \u5b8b\u4f53",fillColor:"#FFFFFF",strokeColor:"#FFFFFF"},liveStartTime:"",liveOverTime:"",enableStashBufferForFlv:!0,stashInitialSizeForFlv:32,flvOption:{},hlsOption:{stopLoadAsPaused:!1},hlsLoadingTimeOut:2e4,useHlsPlugOnMobile:!0,nudgeMaxRetry:5,tracks:[],recreatePlayer:function(){},diagnosisButtonVisible:!0,_native:!0,ai:{label:!1,meta:{url:"http://172.19.61.105:8085/meta/query",getMeta:""},boxes:"",host:"",app:"",streamName:"",startDateTime:0,waitMetaDataTime:2,displayAttrs:{header:"\u59d3\u540d","\u8bc1\u4ef6\u53f7\u7801":"text","\u6027\u522b":"text","\u5e74\u9f84":"text","\u53d1\u578b":"text","\u4eba\u8138\u5927\u56fe":function(e){},"\u4eba\u8138\u5c0f\u56fe":function(e){}},getClass:function(e,t){return""}},thumbnailUrl:"",skinRes:"//"+i.domain+"/de/prismplayer-flash/"+i.flashVersion+"/atlas/defaultSkin"};f.exports.defaultH5Layout=[{name:"bigPlayButton",align:"blabs",x:30,y:80},{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.defaultAudioLayout=[{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.defaultFlashLayout=[{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!(!s.IS_MOBILE||!s.IS_CHROME&&!s.IS_FIREFOX)},f.exports.isSafariUsedHlsPlugin=function(e){return!!(s.os.pc&&s.browser.safari&&e)},f.exports.hasUIComponent=function(e,t){if(void 0===e||!e||0==e.length)return!1;for(var i=0,r=e.length;ix'}).firstChild.href),e},t.exports.parseUrl=function(e){var t,i,r,o,n;o=["protocol","hostname","port","pathname","search","hash","host"],(r=""===(i=s.createEl("a",{href:e})).host&&"file:"!==i.protocol)&&((t=s.createEl("div")).innerHTML='',i=t.firstChild,t.setAttribute("style","display:none; position:absolute;"),document.body.appendChild(t)),n={};for(var a=0;a/g,">").replace(/\&/g,"&").replace(/"/g,""").replace(/'/g,"'")},r.exports.toBinary=function(e){if(!window.atob)return"";for(var t=atob(e),i=t.length,r=new Uint8Array(i),o=0;o>>0).toString()},r={parse:function(e,t,i){var r,o=e.trim().replace(/\r\n|\n\r|\n|\r/g,"\n").split("\n"),n=[],a=new s;a.oncue=function(e){e.id=l(e.startTime)+l(e.endTime)+l(e.text),e.text=decodeURIComponent(escape(e.text)),e.isBig=!1;var t=e.text.split("#xywh=");if(2==t.length){var i=t[1].split(",");e.x=i[0],e.y=i[1],e.w=i[2],e.h=i[3],e.isBig=!0}0/gi,"\n")}(e);tthis._uploadCount||"4001"==e.e||"2002"==e.e)&&this._report()},r.prototype.dispose=function(){this._report(),this._disposed=!0},r.prototype._start=function(){this._disposed=!1;this._retry=0,this._report()},r.prototype._report=function(t){if(this._tickHandler&&(clearTimeout(this._tickHandler),this._tickHandler=null),t||(t=this._logs.splice(0,this._uploadCount)),0this._uploadCount?e._report():this._tickHandler=setTimeout(function(){e._report()},1e3*this._uploadDuration)}},t.exports=r},{"../lib/io":24,"../lib/storage":30}],38:[function(e,t,i){var r=e("../lib/oo"),u=e("../lib/object"),v=e("../lib/data"),c=e("../lib/io"),m=e("../lib/ua"),S=e("../config"),o=e("../player/base/event/eventtype"),T=e("./util"),b=e("./log"),n=0,d={STARTFETCHDATA:1003,COMPLETEFETCHDATA:1004,PREPARE:1101,PREPAREEND:1102,STARTPLAY:2e3,PLAY:2001,STOP:2002,PAUSE:2003,SEEK:2004,FULLSREEM:2005,QUITFULLSCREEM:2006,RESOLUTION:2007,RESOLUTION_DONE:2008,RECOVER:2010,SEEK_END:2011,FETCHEDIP:2020,CDNDETECT:2021,DETECT:2022,UNDERLOAD:3002,LOADED:3001,HEARTBEAT:9001,ERROR:4001,ERRORRETRY:4002,SNAPSHOT:2027,ROTATE:2028,IMAGE:2029,THUMBNAILSTART:2031,THUMBNAILCOMPLETE:2032,CCSTART:2033,CCCOMPLETE:2034,AUDIOTRACKSTART:2033,AUDIOTRACKCOMPLETE:2034},a=r.extend({init:function(e,t,i){void 0===i&&(i=!0),this.trackLog=i,this.player=e,this.requestId="",this.sessionId=v.guid(),this.playId=0,this.firstPlay=!0,this.osName=m.os.name,this.osVersion=m.os.version||"",this.exName=m.browser.name,this.exVersion=m.browser.version||"",this._logService="",t.logBatched&&(this._logService=new b(S));var r=this.player.getOptions(),o=t.from?t.from:"",n=(r.isLive,r.isLive?"live":"vod"),a="pc";m.IS_IPAD?a="pad":m.os.phone&&(a="phone");var s=this.encodeURL(m.getReferer()),l=m.getHref(),u=this.encodeURL(l),c="";l&&(c=m.getHost(l));var d=S.h5Version,p=T.getUuid(),h=r.source?this.encodeURL(r.source):"",f=m.getHost(r.source),_=r.userId?r.userId+"":"0",g=this.sessionId,y=(new Date).getTime();this._userNetInfo={cdnIp:"",localIp:""};this.opt={APIVersion:"0.6.0",t:y,ll:"info",lv:"1.0",pd:"player",md:"saas_player",ui:"saas_player",sm:"play",os:this.osName,ov:this.osVersion,et:this.exName,ev:this.exVersion,uat:m.USER_AGENT,hn:"0.0.0.0",bi:o,ri:g,e:"0",args:"0",vt:n,tt:a,dm:"h5",av:d,uuid:p,vu:h,vd:f,ua:_,dn:"custom",cdn_ip:"0.0.0.0",app_n:c,r:s,pu:u},this.bindEvent()},updateVideoInfo:function(e){var t=e.from?e.from:"";this.opt.bi=t+"",this.updateSourceInfo()},updateSourceInfo:function(){var e=this.player.getOptions();if(e){var t=e.source?this.encodeURL(e.source):"",i=m.getHost(e.source);this.opt.vu=t,this.opt.vd=i}},replay:function(){this.reset(),this.player.trigger(o.Video.LoadStart),this.player.trigger(o.Video.LoadedMetadata),this.player.trigger(o.Video.LoadedData)},bindEvent:function(){var t=this;this.player.on(o.Player.Init,function(){t._onPlayerInit()}),this.player.on(o.Video.LoadStart,function(){t._onPlayerloadstart()}),this.player.on(o.Video.LoadedMetadata,function(){t._onPlayerLoadMetadata()}),this.player.on(o.Video.LoadedData,function(){t._onPlayerLoaddata()}),this.player.on(o.Video.Play,function(){t._onPlayerPlay()}),this.player.on(o.Video.Playing,function(){t._onPlayerReady()}),this.player.on(o.Video.Ended,function(){t._onPlayerFinish()}),this.player.on(o.Video.Pause,function(){t._onPlayerPause()}),this.player.on(o.Private.SeekStart,function(e){t._onPlayerSeekStart(e)}),this.player.on(o.Private.EndStart,function(e){t._seekEndData=e.paramData}),this.player.on(o.Player.Waiting,function(){t._waitingDelayLoadingShowHandle&&(clearTimeout(t._waitingDelayLoadingShowHandle),t._waitingDelayLoadingShowHandle=null),t._waitingDelayLoadingShowHandle=setTimeout(function(){t._onPlayerLoaded()},1e3*t.player._options.delayLoadingShow)}),this.player.on(o.Video.CanPlayThrough,function(){}),this.player.on(o.Video.CanPlay,function(){t._waitingDelayLoadingShowHandle&&(clearTimeout(t._waitingDelayLoadingShowHandle),t._waitingDelayLoadingShowHandle=null),t._onPlayerUnderload(),t._onPlayerCanplay()}),this.player.on(o.Video.TimeUpdate,function(){t._waitingDelayLoadingShowHandle&&(clearTimeout(t._waitingDelayLoadingShowHandle),t._waitingDelayLoadingShowHandle=null),t._seekEndData&&t.seeking&&t._onPlayerSeekEnd()}),this.player.on(o.Player.Error,function(){t._onPlayerError()}),this.player.on(o.Player.RequestFullScreen,function(){t._onFullscreenChange(1)}),this.player.on(o.Player.CancelFullScreen,function(){t._onFullscreenChange(0)}),this.player.on(o.Private.PREPARE,function(e){t._prepareTime=(new Date).getTime(),t._log("PREPARE",{dn:e.paramData})}),this.player.on(o.Player.Snapshoted,function(){t._log("SNAPSHOT")}),setInterval(function(){if(t.player.getCurrentTime()){var e=Math.floor(1e3*t.player.getCurrentTime());t.player.paused()||30<=++n&&(t._log("HEARTBEAT",{vt:e,interval:1e3*n}),n=0)}},1e3)},removeEvent:function(){this.player.off("init"),this.player.off("ready"),this.player.off("ended"),this.player.off("play"),this.player.off("pause"),this.player.off("seekStart"),this.player.off("seekEnd"),this.player.off("canplaythrough"),this.player.off("playing"),this.player.off("timeupdate"),this.player.off("error"),this.player.off("fullscreenchange"),this.player.off(o.Private.PREPARE),this._logService&&this._logService.dispose()},reset:function(){this.startTimePlay=0,this.buffer_flag=0,this.firstPlay=!1,this.playId=0,this.loadstarted=0,this._LoadedData=0,this._canPlay=0},encodeURL:function(e){if(!e)return"";var t=this.player.getOptions();return t&&!t.logBatched?encodeURIComponent(e):e},_onFullscreenChange:function(e){e?this._log("FULLSREEM",{}):this._log("QUITFULLSCREEM",{})},_onPlayerloadstart:function(){this.loadstartTime=(new Date).getTime(),this.playId=v.guid(),!this.loadstarted&&this.player._isPreload()&&(this.loadstarted=1,this._log("STARTPLAY",{vt:(new Date).getTime()}))},_onPlayerLoadMetadata:function(){this.loadMetaDataCost=(new Date).getTime()-this.loadstartTime},_onPlayerLoaddata:function(){if(!this._LoadedData&&!this.buffer_flag){var e=0,t=0;this.player.tag&&(e=this.player.tag.videoWidth,t=this.player.tag.videoHeight),this._log("PREPAREEND",{tc:(new Date).getTime()-this._prepareTime,cc:(new Date).getTime()-this.loadstartTime,md:this.loadMetaDataCost,mi:JSON.stringify({type:"video",definition:e+"*"+t})})}this._LoadedData=1},_onPlayerCanplay:function(){this._canPlay=1,this._reportPlay()},_onPlayerInit:function(){this.buffer_flag=0,this.pause_flag=0,this.startTimePlay=0,this.loadstarted=0,this._LoadedData=0,this._canPlay=0},_onPlayerReady:function(){this.startTimePlay||(this.startTimePlay=(new Date).getTime())},_onPlayerFinish:function(){this._log("STOP",{vt:Math.floor(1e3*this.player.getCurrentTime())}),this.reset()},_reportPlay:function(){return!(this.buffer_flag||!this._LoadedData||!this.playstartTime)&&(this.first_play_time=(new Date).getTime(),this._log("PLAY",{dsm:"fix",tc:this.first_play_time-this.loadstartTime,fc:this.first_play_time-this.playstartTime}),this.buffer_flag=1,!0)},_onPlayerPlay:function(){this.playstartTime=(new Date).getTime(),0==this.playId&&(this.playId=v.guid()),this.firstPlay||0!=this.pause_flag||this.seeking||(this.sessionId=v.guid()),this.player._isPreload()||(this._log("STARTPLAY",{vt:(new Date).getTime()}),this.loadstartTime=(new Date).getTime()),this._canPlay&&this._reportPlay()||this.buffer_flag&&this.pause_flag&&(this.pause_flag=0,this.pauseEndTime=(new Date).getTime(),this._log("RECOVER",{vt:Math.floor(1e3*this.player.getCurrentTime()),cost:this.pauseEndTime-this.pauseTime}))},_onPlayerPause:function(){this.buffer_flag&&this.startTimePlay&&(this.seeking||(this.pause_flag=1,this.pauseTime=(new Date).getTime(),this._log("PAUSE",{vt:Math.floor(1e3*this.player.getCurrentTime())})))},_onPlayerSeekStart:function(e){this.seekStartTime=e.paramData.fromTime,this.seeking=!0,this.startTimePlay=0,this.seekStartStamp=(new Date).getTime()},_onPlayerSeekEnd:function(){this.seekEndStamp=(new Date).getTime(),this._log("SEEK",{drag_from_timestamp:Math.floor(1e3*this.seekStartTime),drag_to_timestamp:Math.floor(1e3*this._seekEndData.toTime)}),this._log("SEEK_END",{vt:Math.floor(1e3*this.player.getCurrentTime()),cost:this.seekEndStamp-this.seekStartStamp}),this.seeking=!1,this._seekEndData=null},_onPlayerLoaded:function(){this.buffer_flag&&this.startTimePlay&&(this.stucking||this.seeking||(this.stuckStartTime=(new Date).getTime(),this.stuckStartTime-this.startTimePlay<=1e3||(this.stucking=!0,this._log("UNDERLOAD",{vt:Math.floor(1e3*this.player.getCurrentTime())}),this.stuckStartTime=(new Date).getTime())))},_onPlayerUnderload:function(){if((this.buffer_flag||!this.player._options||!this.player._options.autoplay)&&this.stucking&&!this.seeking){var e=Math.floor(1e3*this.player.getCurrentTime()),t=this.stuckStartTime||(new Date).getTime(),i=Math.floor((new Date).getTime()-t);0t._liveRetryCount?t._reloadAndPlayForM3u8():(t._liveRetryCount=0,t.trigger(c.Player.LiveStreamStop),t._liveErrorHandle=setTimeout(function(){var e={mediaId:"ISLIVE",error_code:r,error_msg:p.get("Error_Play_Text")+"\uff0c"+p.get("Error_Retry_Text")};t.logError(e),t.trigger("error",e)}));else if(t._reloadForVod());else{var a=p.get("Error_Play_Text"),s=!1;if(i<4){if(3==i&&t._firstDecodeError){var l=t.getCurrentTime()+1;return t._loadByUrlInner(t._options.source,l,!0),void(t._firstDecodeError=!1)}a=d.VideoErrorCodeText[i]}else t._eventState==d.SUSPEND?(a=p.get("Error_Load_Abort_Text"),r=d.ErrorCode.RequestDataError):t._eventState==d.LOAD_START?(a=p.get("Error_Network_Text"),0"+(100*e).toFixed()+"%";this._player.trigger(T.Private.Info_Show,{text:i,duration:1e3,align:"lb"})},P.prototype._setInnerVolume=function(e){this.tag.volume=e,this.trigger(T.Private.VolumnChanged,e)},P.prototype.hideProgress=function(){this.trigger(T.Private.HideProgress)},P.prototype.cancelHideProgress=function(){this.trigger(T.Private.CancelHideProgress)},P.prototype.setPlayerSize=function(e,t){this._el.style.width=e,this._el.style.height=t},P.prototype.getBuffered=function(){return this.tag.buffered},P.prototype.setRotate=function(e){this.tag&&(this._rotate=e,this._setTransform(),this.log("ROTATE",{rotation:e}))},P.prototype.getRotate=function(e){return void 0===this._rotate?0:this._rotate},P.prototype.setImage=function(e){this.tag&&(this._image=e,this._setTransform(),this.log("IMAGE",{mirror:"horizon"==e?2:1,text:e}))},P.prototype.getImage=function(){return this._image},P.prototype.cancelImage=function(){this.tag&&(this._image="",this._setTransform(),this.log("IMAGE",{mirror:0}))},P.prototype.setCover=function(e){var t=document.querySelector("#"+this.id()+" .prism-cover");t&&e&&(t.style.backgroundImage="url("+e+")",this._options.cover=e,this.trigger(T.Private.Cover_Show))},P.prototype._setTransform=function(){this._transformProp||(this._transformProp=o.getTransformName(this.tag));var e=" translate(-50%, -50%)";this._rotate&&(e+=" rotate("+this._rotate+"deg)"),this._image&&("vertical"==this._image?e+=" scaleY(-1)":"horizon"==this._image&&(e+=" scaleX(-1)")),this.tag.style[this._transformProp]=e},P.prototype._startPlay=function(){this.tag.paused&&this.tag.play()},P.prototype._initPlayBehavior=function(e,t){if(this._checkSupportVideoType())return!1;if(p.validateSource(t))return void 0===e&&(e=!1),this._created||(this._created=!0,this.trigger(T.Private.Created)),this.loaded||this.trigger(T.Player.Init),this._options.autoplay||this._options._autoplay||this._options.preload||e?(this._options._preload=!0,this._initLoad(t),(this._options.autoplay||this._options._autoplay)&&this._startPlay()):this.trigger(T.Private.Play_Btn_Show),!0;var i={mediaId:this._options.vid?this._options.vid:"",error_code:c.ErrorCode.InvalidSourceURL,error_msg:"InvalidSourceURL"};return i.display_msg=_.get("Error_Invalidate_Source"),this.trigger(T.Player.Error,i),!1},P.prototype._isPreload=function(){return this._options.autoplay||this._options.preload||this._options._preload},P.prototype._initLoad=function(e){this.getMetaData(),e&&(this._isPreload()&&!r.IS_MOBILE?this.trigger(T.Private.H5_Loading_Show):(this.trigger(T.Private.H5_Loading_Hide),this.trigger(T.Private.Play_Btn_Show)),this.tag.setAttribute("src",e),this.loaded=!0)},P.prototype._clearLiveErrorHandle=function(){this._liveErrorHandle&&(clearTimeout(this._liveErrorHandle),this._liveErrorHandle=null)},P.prototype._reloadAndPlayForM3u8=function(){0==this._liveRetryCount&&this.trigger(T.Player.OnM3u8Retry);var e=this._options,t=e.liveRetryInterval+e.liveRetryStep*this._liveRetryCount;d.sleep(1e3*t),this._liveRetryCount++,this.tag.load(this._options.source),this.tag.play()},P.prototype._checkSupportVideoType=function(){if(!this.tag.canPlayType||!this._options.source||!r.IS_MOBILE)return"";var e=this._options.source,t="";if(0=this._options.playConfig.PreviewTime},P.prototype.isPreview=function(){var e=this._options.playConfig.PreviewTime,t=this._vodDuration||this.tag.duration;return 0'},_getPlayer:function(e){return-1!=navigator.appName.indexOf("Microsoft")?document.getElementById(e):document[e]},_getLowerQualityLevel:function(){var e=this._getVideoUrls();if(!e)return"";var t=e.Urls,i=e.index;return t&&0==t.length||-1==i?"":0u._liveRetryCount){0==u._liveRetryCount&&u.trigger(_.Player.OnM3u8Retry);var l=s.liveRetryInterval+s.liveRetryStep*u._liveRetryCount;u._liveRetryCount++,h.sleep(1e3*l),u._loadByUrlInner(s.source)}else u._liveErrorHandle&&clearTimeout(u._liveErrorHandle),u.trigger(_.Player.LiveStreamStop),u._liveErrorHandle=setTimeout(a,500)}else{if(u._reloadForVod())return;a()}})}}}},{"../../config":5,"../../lang/index":11,"../../lib/constants":15,"../../lib/dom":18,"../../lib/io":24,"../../lib/playerutil":29,"../../lib/ua":31,"../../lib/util":33,"../base/event/eventtype":43,"../base/player":62}],72:[function(e,t,i){var r=e("../base/player"),o=e("./flvinjector"),n=r.extend({init:function(e,t){o.inject(this,n,r,t,function(e){}),t._native=!1,r.call(this,e,t)}});t.exports=n},{"../base/player":62,"./flvinjector":71}],73:[function(e,t,i){var c=e("../../lib/io"),d=e("../../config"),p=e("../../lib/constants"),h=e("../../lib/util"),f=e("../../lib/playerutil"),_=(e("../../lib/dom"),e("../../lib/ua")),g=e("../../lang/index"),y=e("../base/event/eventtype");e("../base/player");t.exports.inject=function(e,t,i,r,n,o){var a=r.source,s=r.useHlsPluginForSafari,l=r.useHlsPlugOnMobile;if(n||o||function(e,t,i,r){return!(e._hls||!f.isHls(t)||!(!f.canPlayHls()||f.isSafariUsedHlsPlugin(i)||r&&f.isUsedHlsPluginOnMobile()))}(e,a,s,l)){e._Type=t,e._superType=i,e._superPt=i.prototype,e._disposed=!1,t.prototype._checkHlsReady=function(){if(null==e._hls)throw new Error("please invoke this method after ready event")},e._isHls=!0,e._hls=null,e._isLoadedHls=!1,e._stopLoadAsPaused=!0,t.prototype.play=function(e){this._checkHlsReady(),this._isManualPlay=e||!1;if(this.trigger(y.Private.Cover_Hide),this._options.autoplay||this._options.preload||this._loadSourced||(this._loadSourced=!0,this._options._autoplay=!0,this._hls.loadSource(this._options.source)),this.tag.ended||this._ended)this.replay();else if(this.tag.paused&&(this.tag.play(),this._stopLoadAsPaused)){var t=this.getCurrentTime();this._hls.startLoad(t)}return this},t.prototype.replay=function(){return this._monitor&&this._monitor.replay(),this._hls.startLoad(0),this.tag.play(),this},t.prototype.pause=function(e){return this.tag&&(this._checkHlsReady(),this.tag.pause(),this._stopLoadAsPaused&&this._hls.stopLoad()),this._isManualPause=e||!1,this},t.prototype.stop=function(){return this._checkHlsReady(),this.tag.setAttribute("src",null),this._hls.stopLoad(),this},t.prototype.seek=function(e){this._checkHlsReady();try{this._superPt.seek.call(this,e),this.tag.paused&&this._stopLoadAsPaused&&this._hls.startLoad(e)}catch(e){console.log(e)}return this},t.prototype.getProgramDateTime=function(){if(this._checkHlsReady(),-1==this._hls.currentLevel)return"";var e=this._hls.currentLevel,t=this._hls.levels[e].details;if(t){var i=t.programDateTime;if(console.log("ProgramDateTime="+i),i)return new Date(i).valueOf()}return 0},t.prototype._reloadAndPlayForM3u8=function(){0==this._liveRetryCount&&this.trigger(y.Player.OnM3u8Retry),this._liveRetryCount++},t.prototype._switchLevel=function(e){this.trigger(y.Player.LevelSwitch);for(var t=this._hls.levels,i=0;il._liveRetryCount){0==l._liveRetryCount&&l.trigger(y.Player.OnM3u8Retry);var s=a.liveRetryInterval+a.liveRetryStep*l._liveRetryCount;l._liveRetryCount++,h.sleep(1e3*s),o&&l._loadByUrlInner(l._options.source,0,!0)}else l._liveErrorHandle&&clearTimeout(l._liveErrorHandle),l.trigger(y.Player.LiveStreamStop),l._liveErrorHandle=setTimeout(n,500)}else{if(l._reloadForVod())return;n()}}})}}}},{"../../config":5,"../../lang/index":11,"../../lib/constants":15,"../../lib/dom":18,"../../lib/io":24,"../../lib/playerutil":29,"../../lib/ua":31,"../../lib/util":33,"../base/event/eventtype":43,"../base/player":62}],74:[function(e,t,i){var r=e("../base/player"),o=e("./hlsinjector"),n=r.extend({init:function(e,t){t._native=!1,o.inject(this,n,r,t),r.call(this,e,t)}});t.exports=n},{"../base/player":62,"./hlsinjector":73}],75:[function(e,t,i){var r=e("../../lib/constants"),o=e("../../lib/oo").extend({init:function(e){this.player=e,this.tickhandle=null}});o.prototype.tick=function(e,t){var i=this;this.tickhandle=setTimeout(function(){i.player&&i.player.trigger(r.AuthKeyExpiredEvent),t&&t()},1e3*e)},o.prototype.clearTick=function(e){this.tickhandle&&clearTimeout(this.tickhandle)},t.exports=o},{"../../lib/constants":15,"../../lib/oo":27}],76:[function(e,t,i){var l=e("../../lib/io"),u=(e("../../lib/ua"),e("../../lib/bufferbase64")),c=e("../../lib/constants"),d=e("./signature"),p=e("./util"),h=e("../../lang/index"),f=function(e,r,o){var t=d.randomUUID(),i="https://mts."+e.domainRegion+".aliyuncs.com/?",n={AccessKeyId:e.accessId,Action:"GetLicense",MediaId:e.vid,LicenseUrl:i,data:e.data,SecurityToken:e.stsToken,Format:"JSON",Type:e.encryptionType,Version:"2014-06-18",SignatureMethod:"HMAC-SHA1",SignatureVersion:"1.0",SignatureNonce:t};e.header&&(n.Header=e.header);var a=i+("Signature="+d.AliyunEncodeURI(d.makeChangeSiga(n,e.accessSecret,"POST"))),s=d.makeUTF8sort(n,"=","&");l.post(a,s,function(e){if(e){var t=JSON.parse(e);if(r){var i=t.License;r(i)}}else o&&o(p.createError("MPS\u83b7\u53d6License\u5931\u8d25"))},function(e){if(o){var t={Code:"",Message:h.get("Error_MTS_Fetch_Urls_Text")};try{t=JSON.parse(e)}catch(e){}o({Code:c.ErrorCode.ServerAPIError,Message:t.Code+"|"+t.Message,sri:t.requestId||""})}})};t.exports.requestLicenseKey=function(e){var l=e;return l._options.vid&&(l.__vid=l._options.vid),function(e,i){var t=l._options,r=l._getDRMEncryptItem();if(r){var o={vid:l.__vid,accessId:t.accId,accessSecret:t.accSecret,stsToken:t.stsToken,domainRegion:t.domainRegion,authInfo:t.authInfo,encryptionType:r.encryptionType};if(r.encryptionType==c.EncryptionType.Widevine)o.data=u.encode(e.message);else if(r.encryptionType==c.EncryptionType.PlayReady){var n=u.unpackPlayReady(e.message);o.data=n.changange,n.header&&(o.header=JSON.stringify(n.header))}console.log(o.data);var a=l.__licenseKeys,s=l.__vid+r.Url;a&&a[s],f(o,function(e){l.__licenseKeys||(l.__licenseKeys={}),10e&&(this.loadByUrl(this._urls[e].Url,this.getCurrentTime()),this._currentPlayIndex=e,this.trigger(y.Private.QualityChange,t||_.get("Quality_Change_Fail_Switch_Text")))},v.prototype._getLowerQualityLevel=function(){if(0==this._urls.length||-1==this._currentPlayIndex)return"";if("asc"==this.options().qualitySort){if(0"+n,r.trigger("error",l),console.log("PrismPlayer Error: "+i+"! error_msg :"+n+";")},t.exports=v},{"../../config":5,"../../lang/index":11,"../../lib/constants":15,"../../lib/cookie":16,"../../lib/event":19,"../../lib/io":24,"../../lib/playerutil":29,"../audio/audioplayer":41,"../base/event/eventtype":43,"../base/player":62,"../drm/drminjector":68,"../flv/flvinjector":71,"../hls/hlsinjector":73,"./authkeyexpiredhandle":75,"./signature":80}],80:[function(e,c,t){var r=e("crypto-js/hmac-sha1"),o=e("crypto-js/enc-base64"),i=e("crypto-js/enc-utf8");c.exports.randomUUID=function(){for(var e=[],t="0123456789abcdef",i=0;i<36;i++)e[i]=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("")},c.exports.returnUTCDate=function(){var e=new Date,t=e.getUTCFullYear(),i=e.getUTCMonth(),r=e.getUTCDate(),o=e.getUTCHours(),n=e.getUTCMinutes(),a=e.getUTCSeconds(),s=e.getUTCMilliseconds();return Date.UTC(t,i,r,o,n,a,s)},c.exports.AliyunEncodeURI=function(e){var t=encodeURIComponent(e);return t=(t=(t=t.replace("+","%2B")).replace("*","%2A")).replace("%7E","~")},c.exports.makesort=function(e,t,i){if(!e)throw new Error("PrismPlayer Error: vid should not be null!");var r=[];for(var o in e)r.push(o);var n=r.sort(),a="",s=n.length;for(o=0;o=this.liveTimeRange.end)},r.prototype.switchToLive=function(){var e=that._player._options.recreatePlayer;e&&this._isLiveShift&&(this._player.dispose(),setTimeout(function(){e()},1e3),this._isLiveShift=!1)},r.prototype.getBaseTime=function(){this.liveShiftStartDisplay;return-1==this.seekTime?n.parseTime(this.currentTimeDisplay):n.parseTime(this.liveShiftStartDisplay)+this.seekTime},r.prototype.getSourceUrl=function(e,t){var i=this._originalPlayUrl;return this.availableLiveShiftTime<=e?i:(this._isLiveShift=!0,(e=parseInt(e))<=5&&(e=5),(i=this._switchLiveShiftPlayer(t))&&(i=i.replace("lhs_offset_unix_s_0","z")),i=-1==i.indexOf("?")?i+"?lhs_offset_unix_s_0="+e:i+"&lhs_offset_unix_s_0="+e)},r.prototype._switchLiveShiftPlayer=function(e){var t=this._originalPlayUrl,i=this._player._options.liveShiftSource,r=this._player._options.source;if(a.isHls(r))t=r;else if(a.isFlv(t)&&i&&a.isHls(i)){this._player._flv&&this._player._destroyFlv();var o=this._player._superType,n=this._player._Type;return this._player._options._autoplay=!0,l.inject(this._player,n,o,this._player._options,"",!0),i}return t},r.prototype.getTimeline=function(i,r){if(this._player.trigger(c.Private.LiveShiftQueryCompleted),!this._liveShiftUrl)return p(this,(new Date).valueOf()/1e3),void(i&&i());var o=this;this.queryLiveShift(this._liveShiftUrl,function(e){if(e){var t=e;0==t.retCode?(p(o,t.content.current),i&&i()):r({Code:u.ErrorCode.ServerAPIError,Message:t.retCode+"|"+t.description+"|"+t.content})}else console.log("\u83b7\u53d6\u76f4\u64ad\u65f6\u79fb\u6570\u636e\u5931\u8d25")},function(e){if(r&&e){var t={};if(e){if(-1"+_.get("Retry")+""+_.get("Detection_Text")+"

code\uff1a

vid:

uuid:

requestId:

"+_.get("Play_DateTime")+"\uff1a

",e},bindEvent:function(){var i=this;i._player.on(a.Private.Error_Show,function(e){var t=null;i._player.getMonitorInfo&&(t=i._player.getMonitorInfo()),i._show(e,t)}),i._player.on(a.Private.Error_Hide,function(){i._hide()});var e=document.querySelector("#"+i.id()+" .prism-button-refresh");if(o.on(e,"click",function(){location.reload(!0)}),n.IS_MOBILE){e=document.querySelector("#"+i.id()+" .prism-detect-info");f.addClass(e,"prism-width90")}var t=document.querySelector("#"+i.id()+" .prism-button-retry");o.on(t,"click",function(){var e=i._player.getCurrentTime(),t=i._player._options.source;i._player._setDefaultCC=!0,i._player._loadByUrlInner(t,e,!0)})},_show:function(e,t){var i=e.paramData,r="",o="";i.mediaId&&(r=i.mediaId);var n=document.querySelector("#"+this.id()+" .prism-button-orange");if(n){if(t&&this._player._options.diagnosisButtonVisible){t.vu?o=decodeURIComponent(t.vu):f.css(n,"display","none");var a="//player.alicdn.com/detection.html?from=h5&vid="+r+"&source="+(o?encodeURIComponent(o):"")+"&uuid="+t.uuid+"&lang="+_.getCurrentLanguage();n&&(n.href=a)}else f.css(n,"display","none");var s=i.display_msg||i.error_msg;document.querySelector("#"+this.id()+" .prism-error-content p").innerHTML=s,document.querySelector("#"+this.id()+" .errorCode .info-content").innerText=i.error_code;var l=document.querySelector("#"+this.id()+" .vid");if(i.mediaId?(f.css(l,"display","block"),document.querySelector("#"+this.id()+" .vid .info-content").innerText=i.mediaId):f.css(l,"display","none"),i.uuid)document.querySelector("#"+this.id()+" .uuid .info-content").innerText=i.uuid;else{var u=document.querySelector("#"+this.id()+" .uuid");f.css(u,"display","none")}if(i.requestId)document.querySelector("#"+this.id()+" .requestId .info-content").innerText=i.requestId;else{var c=document.querySelector("#"+this.id()+" .requestId");f.css(c,"display","none")}document.querySelector("#"+this.id()+" .dateTime .info-content").innerText=h.formatDate(new Date,"yyyy-MM-dd HH:mm:ss");var d=document.querySelector("#"+this.id());f.css(d,"display","block");var p=this;p.playHideHandler&&clearTimeout(p.playHideHandler),p.playHideHandler=setTimeout(function(){p._player.trigger("play_btn_hide")})}},_hide:function(){var e=document.querySelector("#"+this.id());f.css(e,"display","none")},disposeUI:function(){this.playHideHandler&&(clearTimeout(this.playHideHandler),this.playHideHandler=null)}});t.exports=s},{"../../lang/index":11,"../../lib/dom":18,"../../lib/event":19,"../../lib/ua":31,"../../lib/util":33,"../../player/base/event/eventtype":43,"../component":94}],100:[function(e,t,i){var r=e("../component"),o=e("../../player/base/event/eventtype"),n=(e("../../lib/event"),e("../../lib/ua")),a=e("../../lang/index"),s=e("./util"),l=r.extend({init:function(e,t){r.call(this,e,t),this.addClass(t.className||"prism-fullscreen-btn")},bindEvent:function(){var e=this;this._player.on(o.Player.RequestFullScreen,function(){n.IS_IOS||e.addClass("fullscreen")}),this._player.on(o.Player.CancelFullScreen,function(){e.removeClass("fullscreen")}),s.registerTooltipEvent.call(this,this.el(),function(){return e._player.fullscreenService.getIsFullScreen()?a.get("ExistFullScreen"):a.get("Fullscreen")}),this.on("click",function(){e._player.fullscreenService.getIsFullScreen()?e._player.fullscreenService.cancelFullScreen():e._player.fullscreenService.requestFullScreen(),e._player.trigger(o.Private.MarkerTextHide)})}});t.exports=l},{"../../lang/index":11,"../../lib/event":19,"../../lib/ua":31,"../../player/base/event/eventtype":43,"../component":94,"./util":121}],101:[function(e,t,i){"use strict";var r=e("../component"),o=e("../../lib/dom"),n=e("../../player/base/event/eventtype"),a=r.extend({init:function(e,t){r.call(this,e,t),this.addClass(t.className||"prism-hide")},createEl:function(){var e=r.prototype.createEl.call(this,"div");return e.innerHTML='
',e},_loading_hide:function(e){var t=document.querySelector("#"+this.id()+" .prism-loading");t&&(o.removeClass(t,"prism-loading"),o.addClass(t,"prism-hide"))},_loading_show:function(e){var t=document.querySelector("#"+this.id()+" .prism-hide");t&&(o.removeClass(t,"prism-hide"),o.addClass(t,"prism-loading"))},bindEvent:function(){this._player.on(n.Private.H5_Loading_Show,this._loading_show),this._player.on(n.Private.H5_Loading_Hide,this._loading_hide)}});t.exports=a},{"../../lib/dom":18,"../../player/base/event/eventtype":43,"../component":94}],102:[function(e,t,i){var r=e("../component"),o=(e("../../lib/util"),e("../../lib/dom")),n=(e("../../lib/event"),e("../../lib/ua"),e("../../lang/index"),e("../../player/base/event/eventtype")),a=r.extend({init:function(e,t){r.call(this,e,t),this.className=t.className?t.className:"prism-info-display",this.addClass(this.className)},createEl:function(){return r.prototype.createEl.call(this,"p")},bindEvent:function(){var r=this;r._player.on(n.Private.Info_Show,function(e){var t=document.querySelector("#"+r.id()),i=e.paramData;i&&(void 0!==i.text&&i.text?(t.innerHTML=i.text,void 0!==i.duration&&i.duration&&(r.handler&&clearTimeout(r.handler),r.handler=setTimeout(function(){o.css(t,"display","none")},i.duration)),"lb"==i.align?(o.addClass(t,"prism-info-left-bottom"),o.removeClass(t,"prism-info-top-center")):"tc"==i.align?(o.addClass(t,"prism-info-top-center"),o.removeClass(t,"prism-info-left-bottom")):(o.removeClass(t,"prism-info-left-bottom"),o.removeClass(t,"prism-info-top-center")),i.isBlack?o.addClass(t,"prism-info-black"):o.removeClass(t,"prism-info-black")):t.innerHTML=i,o.css(t,"display","block"))}),r._player.on(n.Private.Info_Hide,function(e){var t=document.querySelector("#"+r.id());o.css(t,"display","none")})},disposeUI:function(){this.handler&&(clearTimeout(this.handler),this.handler=null)}});t.exports=a},{"../../lang/index":11,"../../lib/dom":18,"../../lib/event":19,"../../lib/ua":31,"../../lib/util":33,"../../player/base/event/eventtype":43,"../component":94}],103:[function(e,t,i){var r=e("../component"),o=e("./util"),n=(e("../../lib/util"),e("../../lib/dom")),a=e("../../lib/event"),s=e("../../lib/playerUtil"),l=e("../../lang/index"),u=r.extend({init:function(e,t){r.call(this,e,t),this.className=t.className?t.className:"prism-live-display",this.addClass(this.className)},createEl:function(){var e=r.prototype.createEl.call(this,"p");return e.innerText="LIVE",s.isLiveShift(this._player._options)&&n.addClass(e,"live-shift-display"),e},bindEvent:function(){var e=document.querySelector("#"+this.id()),t=this;s.isLiveShift(this._player._options)&&(a.on(e,"click",function(){t._player._liveshiftService.switchToLive()}),o.registerTooltipEvent.call(this,this.el(),l.get("SwitchToLive")))}});t.exports=u},{"../../lang/index":11,"../../lib/dom":18,"../../lib/event":19,"../../lib/playerUtil":28,"../../lib/util":33,"../component":94,"./util":121}],104:[function(e,t,i){var r=e("../component"),o=(e("../../lib/dom"),e("../../lib/event"),e("../../player/base/event/eventtype")),n=e("../../player/base/plugin/status"),a=r.extend({init:function(e,t){r.call(this,e,t),this.addClass(t.className||"prism-animation")},bindEvent:function(){var t=this;this._player.on(o.Player.Play,function(){t._player._isManualPlay&&(t.removeClass("prism-pause-animation"),t.addClass("prism-play-animation"),t.removeClass("play-apply-animation"),t.playHandler&&clearTimeout(t.playHandler),t.playHandler=setTimeout(function(){t.addClass("play-apply-animation")}))}),this._player.on(o.Player.Pause,function(){var e=t._player._status;e!=n.ended&&e!=n.error&&t._player._isManualPause&&(t.removeClass("prism-play-animation"),t.addClass("prism-pause-animation"),t.removeClass("play-apply-animation"),t.pauseHandler&&clearTimeout(t.pauseHandler),t.pauseHandler=setTimeout(function(){t.addClass("play-apply-animation")}))})},disposeUI:function(){this.playHandler&&(clearTimeout(this.playHandler),this.playHandler=null),this.pauseHandler&&(clearTimeout(this.pauseHandler),this.pauseHandler=null)}});t.exports=a},{"../../lib/dom":18,"../../lib/event":19,"../../player/base/event/eventtype":43,"../../player/base/plugin/status":66,"../component":94}],105:[function(e,t,i){var r=e("../component"),o=e("../../player/base/event/eventtype"),n=e("./util"),a=e("../../lang/index"),s=r.extend({init:function(e,t){r.call(this,e,t),this.addClass(t.className||"prism-play-btn")},bindEvent:function(){var t=this;this._player.on(o.Player.Play,function(){t.addClass("playing")}),this._player.on(o.Player.Pause,function(){t.removeClass("playing")}),this.on(o.Private.PlayClick,function(){if(t._player.paused()){var e=t._player.getCurrentTime();(t._player.getDuration()<=e||t._player._ended||t._player.exceedPreviewTime(e))&&t._player.seek(0),t._player.play(!0),t.addClass("playing")}else t._player.pause(!0),t.removeClass("playing");t._player.trigger(o.Private.MarkerTextHide)}),n.registerTooltipEvent.call(this,this.el(),function(){return t._player.paused()?a.get("Play"):a.get("Pause")})}});t.exports=s},{"../../lang/index":11,"../../player/base/event/eventtype":43,"../component":94,"./util":121}],106:[function(e,t,i){var r=e("../component"),a=e("../../lib/dom"),n=(e("../../lib/constants"),e("../../lib/event")),s=e("../../lib/ua"),l=e("../../lib/function"),o=e("../../lang/index"),u=e("../../config"),c=e("../../lib/util"),d=e("../../player/base/event/eventtype"),p=r.extend({init:function(e,t){r.call(this,e,t),this.className=t.className?t.className:"prism-progress",this.addClass(this.className)},createEl:function(){var e=r.prototype.createEl.call(this);return e.innerHTML='

',e},bindEvent:function(){var t=this;this.loadedNode=document.querySelector("#"+this.id()+" .prism-progress-loaded"),this.playedNode=document.querySelector("#"+this.id()+" .prism-progress-played"),this.cursorNode=document.querySelector("#"+this.id()+" .prism-progress-cursor"),this.timeNode=document.querySelector("#"+this.id()+" .prism-progress-time"),this.timeNode=document.querySelector("#"+this._player._options.id+" .prism-progress-time");var i=document.querySelector("#"+this.id()),e=document.querySelector("#"+this.id()+" .prism-progress-cursor img"),r="https://"+u.domain+"/de/prismplayer/"+u.h5Version+"/skins/default/img/dragcursor.png";u.domain?-1this._player.getDuration()&&(r=this._player.getDuration()),r},_getDistance:function(e){for(var t=this.el().offsetLeft,i=this.el();i=i.offsetParent;){var r=a.getTranslateX(i);t+=i.offsetLeft+r}var o=e.touches?e.touches[0].pageX:e.pageX;return Math.abs(o-t)},_onMouseClick:function(e){var t=this,i=t._getSeconds(e);if(t._canSeekable(i)){t._player.exceedPreviewTime(i)&&(i=t._player.getPreviewTime()),t._updateCursorPosition(i);this._mouseClickTimeHandle&&clearTimeout(this._mouseClickTimeHandle),this._mouseClickTimeHandle=setTimeout(function(){t._player._seeking=!0,t._player.trigger(d.Private.SeekStart,{fromTime:t._player.getCurrentTime()}),t._player.seek(i),t._player.trigger(d.Private.EndStart,{toTime:i}),t._mouseClickTimeHandle=null,t._inWaitingSeek=!1},300),this._inWaitingSeek=!0}else t._player.trigger(d.Private.Info_Show,{text:o.get("Can_Not_Seekable"),duration:2e3})},_onMouseDown:function(e){var t=this;e.preventDefault(),this._player.trigger(d.Private.SeekStart,{fromTime:this._player.getCurrentTime()}),n.on(this.controlNode,"mousemove",function(e){t._onMouseMove(e)}),n.on(this.controlNode,"touchmove",function(e){t._onMouseMove(e)}),n.on(this._player.tag,"mouseup",function(e){t._onPlayerMouseUp(e)}),n.on(this._player.tag,"touchend",function(e){t._onPlayerMouseUp(e)}),n.on(this.controlNode,"mouseup",function(e){t._onControlBarMouseUp(e)}),n.on(this.controlNode,"touchend",function(e){t._onControlBarMouseUp(e)})},_onMouseUp:function(e){this._onMouseUpIntern(e)},_onControlBarMouseUp:function(e){this._onMouseUpIntern(e)},_onPlayerMouseUp:function(e){this._onMouseUpIntern(e)},_offMouseUp:function(){n.off(this.controlNode,"mousemove"),n.off(this.controlNode,"touchmove"),n.off(this._player.tag,"mouseup"),n.off(this._player.tag,"touchend"),n.off(this.controlNode,"mouseup"),n.off(this.controlNode,"touchend")},_onMouseUpIntern:function(e){e.preventDefault(),this._offMouseUp();var t=this.playedNode.offsetWidth/this.el().offsetWidth*this._player.getDuration();this._player.getDuration();isNaN(t)||this._player.seek(t),this._player.trigger(d.Private.EndStart,{toTime:t})},_onMouseMove:function(e){e.preventDefault();var t=this._getSeconds(e);this._player.exceedPreviewTime(t)&&(t=this._player.getPreviewTime()),this._player.seek(t),this._updateProgressBar(this.playedNode,t),this._updateCursorPosition(t)},_onTimeupdate:function(e){this._inWaitingSeek||this._player._seeking||this._progressDown||(this._updateProgressBar(this.playedNode,this._player.getCurrentTime()),this._updateCursorPosition(this._player.getCurrentTime()),this._player.trigger(d.Private.UpdateProgressBar,{time:this._player.getCurrentTime()}))},_onProgress:function(e){this._player.getDuration()&&1<=this._player.getBuffered().length&&this._updateProgressBar(this.loadedNode,this._player.getBuffered().end(this._player.getBuffered().length-1))},_updateProgressBar:function(e,t){var i=this._player.getDuration();if(1!=this._player._switchSourcing&&i){var r=t/i+.005;1e?(o.css(r.el(),"right","0px"),o.css(r.el(),"left","auto")):(left-=width/2,left=left<0?0:left,o.css(r.el(),"right","auto"),o.css(r.el(),"left",left+"px"))}},30)}}),r._player.on(a.Private.MarkerTextHide,function(e){r._player.trigger(a.Player.MarkerDotOut),r._player.trigger(a.Private.LifeCycleChanged,{type:a.Player.MarkerDotOut,data:""}),r._thumbnailShowHanlde&&clearTimeout(r._thumbnailShowHanlde),o.css(r.el(),"display","none")}),n.on(r._player.tag,"click",function(e){e&&e.target==e.currentTarget&&r._player.trigger(a.Private.MarkerTextHide)}),n.on(r._player.tag,"touchstart",function(e){e&&e.target==e.currentTarget&&r._player.trigger(a.Private.MarkerTextHide)})},disposeUI:function(){this._thumbnailShowHanlde&&(clearTimeout(this._thumbnailShowHanlde),this._thumbnailShowHanlde=null)}});t.exports=s},{"../../lib/dom":18,"../../lib/event":19,"../../lib/util":33,"../../player/base/event/eventtype":43,"../component":94}],108:[function(e,t,i){var r=e("./selector"),s=e("../../../lib/object"),u=(e("../../../lib/util"),e("../../../lib/cookie")),l=e("../../../lib/dom"),c=(e("../../../lib/event"),e("../../../lib/constants")),d=e("../../../lang/index"),p=e("../../../player/base/event/eventtype"),o=r.extend({init:function(e,t){this.Name=d.get("Quality"),this.Type="quality",this.Tooltip=d.get("Quality_Switch_To"),r.call(this,e,t),this._isMasterLevel=!1},showTip:function(e,t){this._player.trigger(p.Private.Info_Show,{text:e,duration:t,align:"lb"})},bindEvent:function(){this.bindCommonEvent();var s=this;this._player.on(p.Private.QualityChange,function(e){var t=s._player._urls,i=e.paramData;if(i.levelSwitch){var r=i.desc;s._autoSWitchDesc=r,s._updateText(r)}else if(0
{value}
",i=t.replace(/{type}/g,"speed").replace("{value}",c.get("Speed")),r=t.replace(/{type}/g,"cc").replace("{value}",c.get("Subtitle")),o=t.replace(/{type}/g,"audio").replace("{value}",c.get("AudioTrack")),n=t.replace(/{type}/g,"quality").replace("{value}",c.get("Quality"));return e.innerHTML=i+r+o+n,e},bindEvent:function(){document.querySelector("#"+this.id()+" .prism-setting-speed .current-setting").innerText=c.get("Speed_1X_Text");var o=this,t=function(){o._player.trigger(l.Private.SettingListHide),o.isOpened=!1},i=function(e){e&&e.text&&(document.querySelector("#"+o.id()+" .prism-setting-"+e.type+" .current-setting").innerText=e.text)};this._player.on(l.Private.SettingListShow,function(e){o.isOpened=!0;e=e.paramData;i(e),r.css(o.el(),"display","block")}),this._player.on(l.Private.UpdateToSettingList,function(e){e=e.paramData;i(e)}),this._player.on(l.Private.SelectorUpdateList,function(e){e=e.paramData;i(e),o._player.trigger(l.Private.SelectorValueChange,e)}),this._player.on(l.Private.SettingListHide,function(){o.isOpened=!1,r.css(o.el(),"display","none")}),s.on(this.el(),"click",function(e){o._player.trigger(l.Private.SettingListHide);var t=e.srcElement?e.srcElement:e.target;if(t=u.findItemElementForList(t)){var i=t.getAttribute("type");o._player.trigger(l.Private.SelectorShow,{type:i})}});var e=n.IS_MOBILE?"touchleave":"mouseleave";s.on(this.el(),e,function(){t()}),s.on(this._player.tag,"click",function(e){e&&e.target==e.currentTarget&&t()}),s.on(this._player.tag,"touchstart",function(e){e&&e.target==e.currentTarget&&t()}),this._player.on(l.Private.QualityChange,function(e){var t=e.paramData;if(t.levelSwitch){var i=document.querySelector("#"+o.id()+" .prism-setting-quality .current-setting"),r=c.get("Auto");-1
    ',e},bindEvent:function(){this.bindCommonEvent()},bindCommonEvent:function(){var n=this,e=document.querySelector("#"+n.id()+" .selector-list"),t=document.querySelector("#"+n.id()+" .header");this._player.on(u.Private.ChangeURL,function(){n._hasGeneratedList=!1}),s.on(t,"click",function(){n._player.trigger(u.Private.SelectorHide),n._player.trigger(u.Private.SettingListShow,{type:n.Type,text:n._previousSelection?n._previousSelection.text:""})}),s.on(e,"click",function(e){var t=e.srcElement?e.srcElement:e.target,i=t.key,r=t.text;if(void 0!==r){n._previousSelection&&a.removeClass(n._previousSelection,"current"),n._previousSelection=l.findliElementForSelector(t),a.addClass(n._previousSelection,"current"),n.execute&&n.execute(i);var o=n.Tooltip+""+r+"";n._player.trigger(u.Private.Info_Show,{text:o,duration:1e3,align:"lb"})}}),n._player.on(u.Private.SelectorHide,function(){i()}),n._player.on(u.Private.SelectorValueChange,function(e){var t=e.paramData;if(t){if(t.type!=n.Type)return;var i=document.querySelectorAll("#"+n.id()+" .selector-list li");if(i){var r=i.length;0==r&&(n._backupSelector=t.text);for(var o=0;ot.progressWidth?t.left-s:(a=t.left-s/2)<0?0:a,c.css(u.el(),"left",a+"px")}},30)}),u._player.on(n.Private.ThumbnailHide,function(e){u._thumbnailShowHanlde&&clearTimeout(u._thumbnailShowHanlde),c.css(u.el(),"display","none")})},_createSamllThumbnail:function(){},disposeUI:function(){this._thumbnailShowHanlde&&(clearTimeout(this._thumbnailShowHanlde),this._thumbnailShowHanlde=null)}});t.exports=a},{"../../lang/index":11,"../../lib/dom":18,"../../lib/event":19,"../../lib/ua":31,"../../lib/util":33,"../../player/base/event/eventtype":43,"../component":94}],119:[function(e,t,i){var r=e("../component"),o=e("../../lib/util"),n=e("../../player/base/event/eventtype"),a=r.extend({init:function(e,t){r.call(this,e,t),this.className=t.className?t.className:"prism-time-display",this.addClass(this.className)},createEl:function(){var e=r.prototype.createEl.call(this,"div");return e.innerHTML='00:00 / 00:00',e},bindEvent:function(){var i=this;this._player.on(n.Video.DurationChange,function(){var e=o.formatTime(i._player.getDisplayDuration());e?(document.querySelector("#"+i.id()+" .time-bound").style.display="inline",document.querySelector("#"+i.id()+" .duration").style.display="inline",document.querySelector("#"+i.id()+" .duration").innerText=e):(document.querySelector("#"+i.id()+" .duration").style.display="none",document.querySelector("#"+i.id()+" .time-bound").style.display="none")}),this._player.on(n.Video.TimeUpdate,function(){var e=i._player.getCurrentTime(),t=o.formatTime(e);document.querySelector("#"+i.id()+" .current-time")&&(t?(document.querySelector("#"+i.id()+" .current-time").style.display="inline",document.querySelector("#"+i.id()+" .current-time").innerText=t):document.querySelector("#"+i.id()+" .current-time").style.display="none")})}});t.exports=a},{"../../lib/util":33,"../../player/base/event/eventtype":43,"../component":94}],120:[function(e,t,i){var r=e("../component"),s=e("../../lib/dom"),o=e("../../player/base/event/eventtype"),n=r.extend({init:function(e,t){r.call(this,e,t),this.className=t.className?t.className:"prism-tooltip",this.addClass(this.className)},createEl:function(){var e=r.prototype.createEl.call(this,"p");return e.innerText="\u63d0\u793a\u4fe1\u606f",e},bindEvent:function(){var a=this;a._player.on(o.Private.TooltipShow,function(e){var t=document.querySelector("#"+a.id()),i=e.paramData;t.innerText=i.text,s.css(t,"display","block");var r=t.offsetWidth,o=document.querySelector("#"+a._player.id()+" .prism-controlbar");if(o){var n=o.offsetWidth;i.left+r>n?s.css(t,"left",n-r+"px"):s.css(t,"left",i.left-(r-i.width)/2+"px")}}),a._player.on(o.Private.TooltipHide,function(e){var t=document.querySelector("#"+a.id());s.css(t,"display","none")})}});t.exports=n},{"../../lib/dom":18,"../../player/base/event/eventtype":43,"../component":94}],121:[function(e,t,i){var r=e("../../lib/event"),s=e("../../player/base/event/eventtype");t.exports.registerTooltipEvent=function(e,o){var n=this,a=function(){n._controlbarTooltipHandler&&(clearTimeout(n._controlbarTooltipHandler),n._controlbarTooltipHandler=null)};r.on(this.el(),"mouseover",function(e){a(),n._controlbarTooltipHandler=setTimeout(function(){n._player.trigger(s.Private.TooltipHide)},4e3);var t=n.el().offsetLeft,i=n.el().offsetWidth,r=o;"function"==typeof r&&(r=o.call(this)),n._player.trigger(s.Private.TooltipShow,{left:t,width:i,text:r})}),r.on(this.el(),"mouseout",function(){a(),n._player.trigger(s.Private.TooltipHide)})},t.exports.throttle=function(i,r){var o=Date.now();return function(){var e=arguments,t=Date.now();r<=t-o&&(i(e),o=t)}}},{"../../lib/event":19,"../../player/base/event/eventtype":43}],122:[function(e,t,i){var r=e("../component"),o=e("../../lib/dom"),n=e("../../lib/event"),a=e("../../player/base/event/eventtype"),s=e("./util"),l=e("../../lang/index"),u=e("./volumecontrol"),c=r.extend({init:function(e,t){r.call(this,e,t),this.addClass(t.className||"prism-volume");var i=new u(e,t);e.addChild(i,t)},createEl:function(){var e=r.prototype.createEl.call(this,"div");return e.innerHTML='
    ',e},bindEvent:function(){var i=this;this.icon=document.querySelector("#"+i.id()+" .volume-icon"),s.registerTooltipEvent.call(this,this.el(),function(){return i._player.muted()||0==i._player.getVolume()?l.get("Muted"):l.get("Volume")}),n.on(this.icon,"click",function(e){var t=i.el().offsetLeft;i._player.trigger(a.Private.SettingListHide),i._player.trigger(a.Private.SelectorHide),i._player.trigger(a.Private.VolumeVisibilityChange,t),i._player.trigger(a.Private.MarkerTextHide)});var e=document.querySelector("#"+i.id()+" .long-horizontal"),t=document.querySelector("#"+i.id()+" .short-horizontal");n.on(this.el(),"mouseover",function(){o.removeClass(e,"volume-hover-animation"),setTimeout(function(){o.addClass(e,"volume-hover-animation")}),setTimeout(function(){o.removeClass(e,"volume-hover-animation"),o.addClass(t,"volume-hover-animation"),setTimeout(function(){o.removeClass(t,"volume-hover-animation"),o.addClass(e,"volume-hover-animation")},300)},300)})}});t.exports=c},{"../../lang/index":11,"../../lib/dom":18,"../../lib/event":19,"../../player/base/event/eventtype":43,"../component":94,"./util":121,"./volumecontrol":123}],123:[function(e,t,i){var r=e("../component"),o=e("../../lib/dom"),n=e("../../lib/event"),a=e("../../player/base/event/eventtype"),s=(e("./util"),e("../../lang/index"),r.extend({init:function(e,t){r.call(this,e,t),this.addClass(t.className||"prism-volume-control"),this._shown=!1},createEl:function(){var e=r.prototype.createEl.call(this,"div");return e.innerHTML='
    ',e},bindEvent:function(){var r=this;this.icon=document.querySelector("#"+r._player.id()+" .volume-icon"),this.control=document.querySelector("#"+r.id()),this.volumnValue=document.querySelector("#"+r.id()+" .volume-value"),this.volumnRange=document.querySelector("#"+r.id()+" .volume-range"),this.volumnCursor=document.querySelector("#"+r.id()+" .volume-cursor"),this._player.on(a.Private.VolumeVisibilityChange,function(e){var t=e.paramData;if(!r._shown&&t){var i=r._player.getVolume();r._setVolumnUI(i),o.css(r.control,"display","block"),t&&o.css(r.control,"left",t-5+"px"),r._shown=!0}else o.css(r.control,"display","none"),r._shown=!1}),n.on(this.volumnRange,"click",function(e){var t=o.getPointerPosition(r.volumnRange,e).y;t<0||1>>2]>>>24-n%4*8&255;t[r+n>>>2]|=a<<24-(r+n)%4*8}else for(n=0;n>>2]=i[n>>>2];return this.sigBytes+=o,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=r.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t,i=[],r=function(t){t=t;var i=987654321,r=4294967295;return function(){var e=((i=36969*(65535&i)+(i>>16)&r)<<16)+(t=18e3*(65535&t)+(t>>16)&r)&r;return e/=4294967296,(e+=.5)*(.5>>2]>>>24-o%4*8&255;r.push((n>>>4).toString(16)),r.push((15&n).toString(16))}return r.join("")},parse:function(e){for(var t=e.length,i=[],r=0;r>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new d.init(i,t/2)}},a=o.Latin1={stringify:function(e){for(var t=e.words,i=e.sigBytes,r=[],o=0;o>>2]>>>24-o%4*8&255;r.push(String.fromCharCode(n))}return r.join("")},parse:function(e){for(var t=e.length,i=[],r=0;r>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new d.init(i,t)}},s=o.Utf8={stringify:function(e){try{return decodeURIComponent(escape(a.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return a.parse(unescape(encodeURIComponent(e)))}},l=t.BufferedBlockAlgorithm=r.extend({reset:function(){this._data=new d.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=s.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(e){var t=this._data,i=t.words,r=t.sigBytes,o=this.blockSize,n=r/(4*o),a=(n=e?c.ceil(n):c.max((0|n)-this._minBufferSize,0))*o,s=c.min(4*a,r);if(a){for(var l=0;l>>2]>>>24-n%4*8&255)<<16|(t[n+1>>>2]>>>24-(n+1)%4*8&255)<<8|t[n+2>>>2]>>>24-(n+2)%4*8&255,s=0;s<4&&n+.75*s>>6*(3-s)&63));var l=r.charAt(64);if(l)for(;o.length%4;)o.push(l);return o.join("")},parse:function(e){var t=e.length,i=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var o=0;o>>6-n%4*2;r[o>>>2]|=(a|s)<<24-o%4*8,o++}return l.create(r,o)}(e,t,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},e.enc.Base64},"object"==typeof i?t.exports=i=o(e("./core")):"function"==typeof define&&define.amd?define(["./core"],o):o(r.CryptoJS)},{"./core":125}],127:[function(e,t,i){var r,o;r=this,o=function(e){return e.enc.Utf8},"object"==typeof i?t.exports=i=o(e("./core")):"function"==typeof define&&define.amd?define(["./core"],o):o(r.CryptoJS)},{"./core":125}],128:[function(e,t,i){var r,o;r=this,o=function(e){return e.HmacSHA1},"object"==typeof i?t.exports=i=o(e("./core"),e("./sha1"),e("./hmac")):"function"==typeof define&&define.amd?define(["./core","./sha1","./hmac"],o):o(r.CryptoJS)},{"./core":125,"./hmac":129,"./sha1":130}],129:[function(e,t,i){var r,o;r=this,o=function(e){var t,i,u;i=(t=e).lib.Base,u=t.enc.Utf8,t.algo.HMAC=i.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=u.parse(t));var i=e.blockSize,r=4*i;t.sigBytes>r&&(t=e.finalize(t)),t.clamp();for(var o=this._oKey=t.clone(),n=this._iKey=t.clone(),a=o.words,s=n.words,l=0;l>>31}var c=(r<<5|r>>>27)+s+d[l];c+=l<20?1518500249+(o&n|~o&a):l<40?1859775393+(o^n^a):l<60?(o&n|o&a|n&a)-1894007588:(o^n^a)-899497514,s=a,a=n,n=o<<30|o>>>2,o=r,r=c}i[0]=i[0]+r|0,i[1]=i[1]+o|0,i[2]=i[2]+n|0,i[3]=i[3]+a|0,i[4]=i[4]+s|0},_doFinalize:function(){var e=this._data,t=e.words,i=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(64+r>>>9<<4)]=Math.floor(i/4294967296),t[15+(64+r>>>9<<4)]=i,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}}),t.SHA1=o._createHelper(a),t.HmacSHA1=o._createHmacHelper(a),e.SHA1},"object"==typeof i?t.exports=i=o(e("./core")):"function"==typeof define&&define.amd?define(["./core"],o):o(r.CryptoJS)},{"./core":125}]},{},[6]);