mycpen-blog 0.0.0-fjarwiamcl → 0.0.0-fjccwuvoyp

Sign up to get free protection for your applications and to get access to all the features.
package/js/APlayer.js CHANGED
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("APlayer",[],t):"object"==typeof exports?exports.APlayer=t():e.APlayer=t()}(window,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var a=t[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=41)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=/mobile/i.test(window.navigator.userAgent),a={secondToTime:function(e){var t=Math.floor(e/3600),n=Math.floor((e-3600*t)/60),i=Math.floor(e-3600*t-60*n);return(t>0?[t,n,i]:[n,i]).map((function(e){return e<10?"0"+e:""+e})).join(":")},getElementViewLeft:function(e){var t=e.offsetLeft,n=e.offsetParent,i=document.body.scrollLeft+document.documentElement.scrollLeft;if(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement)for(;null!==n&&n!==e;)t+=n.offsetLeft,n=n.offsetParent;else for(;null!==n;)t+=n.offsetLeft,n=n.offsetParent;return t-i},getElementViewTop:function(e,t){for(var n,i=e.offsetTop,a=e.offsetParent;null!==a;)i+=a.offsetTop,a=a.offsetParent;return n=document.body.scrollTop+document.documentElement.scrollTop,t?i:i-n},isMobile:i,storage:{set:function(e,t){localStorage.setItem(e,t)},get:function(e){return localStorage.getItem(e)}},nameMap:{dragStart:i?"touchstart":"mousedown",dragMove:i?"touchmove":"mousemove",dragEnd:i?"touchend":"mouseup"},randomOrder:function(e){return function(e){for(var t=e.length-1;t>=0;t--){var n=Math.floor(Math.random()*(t+1)),i=e[n];e[n]=e[t],e[t]=i}return e}([].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(Array(e))).map((function(e,t){return t})))}};t.default=a},function(e,t,n){var i=n(2);e.exports=function(e){"use strict";e=e||{};var t="",n=i.$each,a=e.audio,r=(e.$value,e.$index,i.$escape),o=e.theme,s=e.index;return n(a,(function(e,n){t+='\n<li>\n <span class="aplayer-list-cur" style="background-color: ',t+=r(e.theme||o),t+=';"></span>\n <span class="aplayer-list-index">',t+=r(n+s),t+='</span>\n <span class="aplayer-list-title">',t+=r(e.name),t+='</span>\n <span class="aplayer-list-author">',t+=r(e.artist),t+="</span>\n</li>\n"})),t}},function(e,t,n){"use strict";e.exports=n(15)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=g(n(33)),a=g(n(32)),r=g(n(31)),o=g(n(30)),s=g(n(29)),l=g(n(28)),u=g(n(27)),c=g(n(26)),p=g(n(25)),d=g(n(24)),h=g(n(23)),y=g(n(22)),f=g(n(21)),v=g(n(20)),m=g(n(19));function g(e){return e&&e.__esModule?e:{default:e}}var w={play:i.default,pause:a.default,volumeUp:r.default,volumeDown:o.default,volumeOff:s.default,orderRandom:l.default,orderList:u.default,menu:c.default,loopAll:p.default,loopOne:d.default,loopNone:h.default,loading:y.default,right:f.default,skip:v.default,lrc:m.default};t.default=w},function(e,t,n){"use strict";var i,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":a(window))&&(i=window)}e.exports=i},function(e,t,n){"use strict";var i,a,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};void 0===(a="function"==typeof(i=function(){if("object"===("undefined"==typeof window?"undefined":r(window))&&void 0!==document.querySelectorAll&&void 0!==window.pageYOffset&&void 0!==history.pushState){var e=function(e,t,n,i){return n>i?t:e+(t-e)*((a=n/i)<.5?4*a*a*a:(a-1)*(2*a-2)*(2*a-2)+1);var a},t=function(t,n,i,a){n=n||500;var r=(a=a||window).scrollTop||window.pageYOffset;if("number"==typeof t)var o=parseInt(t);else o=function(e,t){return"HTML"===e.nodeName?-t:e.getBoundingClientRect().top+t}(t,r);var s=Date.now(),l=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){window.setTimeout(e,15)};!function u(){var c=Date.now()-s;a!==window?a.scrollTop=e(r,o,c,n):window.scroll(0,e(r,o,c,n)),c>n?"function"==typeof i&&i(t):l(u)}()},n=function(e){if(!e.defaultPrevented){e.preventDefault(),location.hash!==this.hash&&window.history.pushState(null,null,this.hash);var n=document.getElementById(this.hash.substring(1));if(!n)return;t(n,500,(function(e){location.replace("#"+e.id)}))}};return document.addEventListener("DOMContentLoaded",(function(){for(var e,t=document.querySelectorAll('.aplayer a[href^="#"]:not([href="#"])'),i=t.length;e=t[--i];)e.addEventListener("click",n,!1)})),t}})?i.call(t,n,t,e):i)||(e.exports=a)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=s(n(1)),r=s(n(0)),o=s(n(5));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,this.index=0,this.audios=this.player.options.audio,this.bindEvents()}return i(e,[{key:"bindEvents",value:function(){var e=this;this.player.template.list.addEventListener("click",(function(t){var n=void 0;n="LI"===t.target.tagName.toUpperCase()?t.target:t.target.parentElement;var i=parseInt(n.getElementsByClassName("aplayer-list-index")[0].innerHTML)-1;i!==e.index?(e.switch(i),e.player.play()):e.player.toggle()}))}},{key:"show",value:function(){this.player.events.trigger("listshow"),this.player.template.list.classList.remove("aplayer-list-hide"),this.player.template.listOl.scrollTop=33*this.index}},{key:"hide",value:function(){this.player.events.trigger("listhide"),this.player.template.list.classList.add("aplayer-list-hide")}},{key:"toggle",value:function(){this.player.template.list.classList.contains("aplayer-list-hide")?this.show():this.hide()}},{key:"add",value:function(e){this.player.events.trigger("listadd",{audios:e}),"[object Array]"!==Object.prototype.toString.call(e)&&(e=[e]),e.map((function(e){return e.name=e.name||e.title||"Audio name",e.artist=e.artist||e.author||"Audio artist",e.cover=e.cover||e.pic,e.type=e.type||"normal",e}));var t=!(this.audios.length>1),n=0===this.audios.length;this.player.template.listOl.innerHTML+=(0,a.default)({theme:this.player.options.theme,audio:e,index:this.audios.length+1}),this.audios=this.audios.concat(e),t&&this.audios.length>1&&this.player.container.classList.add("aplayer-withlist"),this.player.randomOrder=r.default.randomOrder(this.audios.length),this.player.template.listCurs=this.player.container.querySelectorAll(".aplayer-list-cur"),this.player.template.listCurs[this.audios.length-1].style.backgroundColor=e.theme||this.player.options.theme,n&&("random"===this.player.options.order?this.switch(this.player.randomOrder[0]):this.switch(0))}},{key:"remove",value:function(e){if(this.player.events.trigger("listremove",{index:e}),this.audios[e])if(this.audios.length>1){var t=this.player.container.querySelectorAll(".aplayer-list li");t[e].remove(),this.audios.splice(e,1),this.player.lrc&&this.player.lrc.remove(e),e===this.index&&(this.audios[e]?this.switch(e):this.switch(e-1)),this.index>e&&this.index--;for(var n=e;n<t.length;n++)t[n].getElementsByClassName("aplayer-list-index")[0].textContent=n;1===this.audios.length&&this.player.container.classList.remove("aplayer-withlist"),this.player.template.listCurs=this.player.container.querySelectorAll(".aplayer-list-cur")}else this.clear()}},{key:"switch",value:function(e){if(this.player.events.trigger("listswitch",{index:e}),void 0!==e&&this.audios[e]){this.index=e;var t=this.audios[this.index];this.player.template.pic.style.backgroundImage=t.cover?"url('"+t.cover+"')":"",this.player.theme(this.audios[this.index].theme||this.player.options.theme,this.index,!1),this.player.template.title.innerHTML=t.name,this.player.template.author.innerHTML=t.artist?" - "+t.artist:"";var n=this.player.container.getElementsByClassName("aplayer-list-light")[0];n&&n.classList.remove("aplayer-list-light"),this.player.container.querySelectorAll(".aplayer-list li")[this.index].classList.add("aplayer-list-light"),(0,o.default)(33*this.index,500,null,this.player.template.listOl),this.player.setAudio(t),this.player.lrc&&this.player.lrc.switch(this.index),this.player.lrc&&this.player.lrc.update(0),1!==this.player.duration&&(this.player.template.dtime.innerHTML=r.default.secondToTime(this.player.duration))}}},{key:"clear",value:function(){this.player.events.trigger("listclear"),this.index=0,this.player.container.classList.remove("aplayer-withlist"),this.player.pause(),this.audios=[],this.player.lrc&&this.player.lrc.clear(),this.player.audio.src="",this.player.template.listOl.innerHTML="",this.player.template.pic.style.backgroundImage="",this.player.theme(this.player.options.theme,this.index,!1),this.player.template.title.innerHTML="No audio",this.player.template.author.innerHTML="",this.player.bar.set("loaded",0,"width"),this.player.template.dtime.innerHTML=r.default.secondToTime(0)}}]),e}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.events={},this.audioEvents=["abort","canplay","canplaythrough","durationchange","emptied","ended","error","loadeddata","loadedmetadata","loadstart","mozaudioavailable","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],this.playerEvents=["destroy","listshow","listhide","listadd","listremove","listswitch","listclear","noticeshow","noticehide","lrcshow","lrchide"]}return i(e,[{key:"on",value:function(e,t){this.type(e)&&"function"==typeof t&&(this.events[e]||(this.events[e]=[]),this.events[e].push(t))}},{key:"trigger",value:function(e,t){if(this.events[e]&&this.events[e].length)for(var n=0;n<this.events[e].length;n++)this.events[e][n](t)}},{key:"type",value:function(e){return-1!==this.playerEvents.indexOf(e)?"player":-1!==this.audioEvents.indexOf(e)?"audio":(console.error("Unknown event name: "+e),null)}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,window.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},this.types=["loading"],this.init()}return i(e,[{key:"init",value:function(){var e=this;this.types.forEach((function(t){e["init"+t+"Checker"]()}))}},{key:"initloadingChecker",value:function(){var e=this,t=0,n=0,i=!1;this.loadingChecker=setInterval((function(){e.enableloadingChecker&&(n=e.player.audio.currentTime,i||n!==t||e.player.audio.paused||(e.player.container.classList.add("aplayer-loading"),i=!0),i&&n>t&&!e.player.audio.paused&&(e.player.container.classList.remove("aplayer-loading"),i=!1),t=n)}),100)}},{key:"enable",value:function(e){this["enable"+e+"Checker"]=!0,"fps"===e&&this.initfpsChecker()}},{key:"disable",value:function(e){this["enable"+e+"Checker"]=!1}},{key:"destroy",value:function(){var e=this;this.types.forEach((function(t){e["enable"+t+"Checker"]=!1,e[t+"Checker"]&&clearInterval(e[t+"Checker"])}))}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=o(n(0)),r=o(n(3));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,this.initPlayButton(),this.initPlayBar(),this.initOrderButton(),this.initLoopButton(),this.initMenuButton(),a.default.isMobile||this.initVolumeButton(),this.initMiniSwitcher(),this.initSkipButton(),this.initLrcButton()}return i(e,[{key:"initPlayButton",value:function(){var e=this;this.player.template.pic.addEventListener("click",(function(){e.player.toggle()}))}},{key:"initPlayBar",value:function(){var e=this,t=function(t){var n=((t.clientX||t.changedTouches[0].clientX)-a.default.getElementViewLeft(e.player.template.barWrap))/e.player.template.barWrap.clientWidth;n=Math.max(n,0),n=Math.min(n,1),e.player.bar.set("played",n,"width"),e.player.lrc&&e.player.lrc.update(n*e.player.duration),e.player.template.ptime.innerHTML=a.default.secondToTime(n*e.player.duration)},n=function n(i){document.removeEventListener(a.default.nameMap.dragEnd,n),document.removeEventListener(a.default.nameMap.dragMove,t);var r=((i.clientX||i.changedTouches[0].clientX)-a.default.getElementViewLeft(e.player.template.barWrap))/e.player.template.barWrap.clientWidth;r=Math.max(r,0),r=Math.min(r,1),e.player.bar.set("played",r,"width"),e.player.seek(e.player.bar.get("played","width")*e.player.duration),e.player.disableTimeupdate=!1};this.player.template.barWrap.addEventListener(a.default.nameMap.dragStart,(function(){e.player.disableTimeupdate=!0,document.addEventListener(a.default.nameMap.dragMove,t),document.addEventListener(a.default.nameMap.dragEnd,n)}))}},{key:"initVolumeButton",value:function(){var e=this;this.player.template.volumeButton.addEventListener("click",(function(){e.player.audio.muted?(e.player.audio.muted=!1,e.player.switchVolumeIcon(),e.player.bar.set("volume",e.player.volume(),"height")):(e.player.audio.muted=!0,e.player.switchVolumeIcon(),e.player.bar.set("volume",0,"height"))}));var t=function(t){var n=1-((t.clientY||t.changedTouches[0].clientY)-a.default.getElementViewTop(e.player.template.volumeBar,e.player.options.fixed))/e.player.template.volumeBar.clientHeight;n=Math.max(n,0),n=Math.min(n,1),e.player.volume(n)},n=function n(i){e.player.template.volumeBarWrap.classList.remove("aplayer-volume-bar-wrap-active"),document.removeEventListener(a.default.nameMap.dragEnd,n),document.removeEventListener(a.default.nameMap.dragMove,t);var r=1-((i.clientY||i.changedTouches[0].clientY)-a.default.getElementViewTop(e.player.template.volumeBar,e.player.options.fixed))/e.player.template.volumeBar.clientHeight;r=Math.max(r,0),r=Math.min(r,1),e.player.volume(r)};this.player.template.volumeBarWrap.addEventListener(a.default.nameMap.dragStart,(function(){e.player.template.volumeBarWrap.classList.add("aplayer-volume-bar-wrap-active"),document.addEventListener(a.default.nameMap.dragMove,t),document.addEventListener(a.default.nameMap.dragEnd,n)}))}},{key:"initOrderButton",value:function(){var e=this;this.player.template.order.addEventListener("click",(function(){"list"===e.player.options.order?(e.player.options.order="random",e.player.template.order.innerHTML=r.default.orderRandom):"random"===e.player.options.order&&(e.player.options.order="list",e.player.template.order.innerHTML=r.default.orderList)}))}},{key:"initLoopButton",value:function(){var e=this;this.player.template.loop.addEventListener("click",(function(){e.player.list.audios.length>1?"one"===e.player.options.loop?(e.player.options.loop="none",e.player.template.loop.innerHTML=r.default.loopNone):"none"===e.player.options.loop?(e.player.options.loop="all",e.player.template.loop.innerHTML=r.default.loopAll):"all"===e.player.options.loop&&(e.player.options.loop="one",e.player.template.loop.innerHTML=r.default.loopOne):"one"===e.player.options.loop||"all"===e.player.options.loop?(e.player.options.loop="none",e.player.template.loop.innerHTML=r.default.loopNone):"none"===e.player.options.loop&&(e.player.options.loop="all",e.player.template.loop.innerHTML=r.default.loopAll)}))}},{key:"initMenuButton",value:function(){var e=this;this.player.template.menu.addEventListener("click",(function(){e.player.list.toggle()}))}},{key:"initMiniSwitcher",value:function(){var e=this;this.player.template.miniSwitcher.addEventListener("click",(function(){e.player.setMode("mini"===e.player.mode?"normal":"mini")}))}},{key:"initSkipButton",value:function(){var e=this;this.player.template.skipBackButton.addEventListener("click",(function(){e.player.skipBack()})),this.player.template.skipForwardButton.addEventListener("click",(function(){e.player.skipForward()})),this.player.template.skipPlayButton.addEventListener("click",(function(){e.player.toggle()}))}},{key:"initLrcButton",value:function(){var e=this;this.player.template.lrcButton.addEventListener("click",(function(){e.player.template.lrcButton.classList.contains("aplayer-icon-lrc-inactivity")?(e.player.template.lrcButton.classList.remove("aplayer-icon-lrc-inactivity"),e.player.lrc&&e.player.lrc.show()):(e.player.template.lrcButton.classList.add("aplayer-icon-lrc-inactivity"),e.player.lrc&&e.player.lrc.hide())}))}}]),e}();t.default=s},function(e,t,n){var i=n(2);e.exports=function(e){"use strict";e=e||{};var t="",n=i.$each,a=e.lyrics,r=(e.$value,e.$index,i.$escape);return n(a,(function(e,n){t+="\n <p",0===n&&(t+=' class="aplayer-lrc-current"'),t+=">",t+=r(e[1]),t+="</p>\n"})),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=(i=n(10))&&i.__esModule?i:{default:i},o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.container=t.container,this.async=t.async,this.player=t.player,this.parsed=[],this.index=0,this.current=[]}return a(e,[{key:"show",value:function(){this.player.events.trigger("lrcshow"),this.player.template.lrcWrap.classList.remove("aplayer-lrc-hide")}},{key:"hide",value:function(){this.player.events.trigger("lrchide"),this.player.template.lrcWrap.classList.add("aplayer-lrc-hide")}},{key:"toggle",value:function(){this.player.template.lrcWrap.classList.contains("aplayer-lrc-hide")?this.show():this.hide()}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.player.audio.currentTime;if(this.index>this.current.length-1||e<this.current[this.index][0]||!this.current[this.index+1]||e>=this.current[this.index+1][0])for(var t=0;t<this.current.length;t++)e>=this.current[t][0]&&(!this.current[t+1]||e<this.current[t+1][0])&&(this.index=t,this.container.style.transform="translateY("+16*-this.index+"px)",this.container.style.webkitTransform="translateY("+16*-this.index+"px)",this.container.getElementsByClassName("aplayer-lrc-current")[0].classList.remove("aplayer-lrc-current"),this.container.getElementsByTagName("p")[t].classList.add("aplayer-lrc-current"))}},{key:"switch",value:function(e){var t=this;if(!this.parsed[e])if(this.async){this.parsed[e]=[["00:00","Loading"]];var n=new XMLHttpRequest;n.onreadystatechange=function(){e===t.player.list.index&&4===n.readyState&&(n.status>=200&&n.status<300||304===n.status?t.parsed[e]=t.parse(n.responseText):(t.player.notice("LRC file request fails: status "+n.status),t.parsed[e]=[["00:00","Not available"]]),t.container.innerHTML=(0,r.default)({lyrics:t.parsed[e]}),t.update(0),t.current=t.parsed[e])};var i=this.player.list.audios[e].lrc;n.open("get",i,!0),n.send(null)}else this.player.list.audios[e].lrc?this.parsed[e]=this.parse(this.player.list.audios[e].lrc):this.parsed[e]=[["00:00","Not available"]];this.container.innerHTML=(0,r.default)({lyrics:this.parsed[e]}),this.update(0),this.current=this.parsed[e]}},{key:"parse",value:function(e){if(e){for(var t=(e=e.replace(/([^\]^\n])\[/g,(function(e,t){return t+"\n["}))).split("\n"),n=[],i=t.length,a=0;a<i;a++){var r=t[a].match(/\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/g),o=t[a].replace(/.*\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/g,"").replace(/<(\d{2}):(\d{2})(\.(\d{2,3}))?>/g,"").replace(/^\s+|\s+$/g,"");if(r)for(var s=r.length,l=0;l<s;l++){var u=/\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/.exec(r[l]),c=60*u[1]+parseInt(u[2])+(u[4]?parseInt(u[4])/(2===(u[4]+"").length?100:1e3):0);n.push([c,o])}}return(n=n.filter((function(e){return e[1]}))).sort((function(e,t){return e[0]-t[0]})),n}return[]}},{key:"remove",value:function(e){this.parsed.splice(e,1)}},{key:"clear",value:function(){this.parsed=[],this.container.innerHTML=""}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=(i=n(0))&&i.__esModule?i:{default:i},o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.storageName=t.options.storageName,this.data=JSON.parse(r.default.storage.get(this.storageName)),this.data||(this.data={}),this.data.volume=this.data.volume||t.options.volume}return a(e,[{key:"get",value:function(e){return this.data[e]}},{key:"set",value:function(e,t){this.data[e]=t,r.default.storage.set(this.storageName,JSON.stringify(this.data))}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.elements={},this.elements.volume=t.volume,this.elements.played=t.played,this.elements.loaded=t.loaded}return i(e,[{key:"set",value:function(e,t,n){t=Math.max(t,0),t=Math.min(t,1),this.elements[e].style[n]=100*t+"%"}},{key:"get",value:function(e,t){return parseFloat(this.elements[e].style[t])/100}}]),e}();t.default=a},function(e,t,n){"use strict";(function(t){e.exports=!1;try{e.exports="[object process]"===Object.prototype.toString.call(t.process)}catch(e){}}).call(this,n(4))},function(e,t,n){"use strict";(function(t){var i=n(14),a=Object.create(i?t:window),r=/["&'<>]/;a.$escape=function(e){return function(e){var t=""+e,n=r.exec(t);if(!n)return e;var i="",a=void 0,o=void 0,s=void 0;for(a=n.index,o=0;a<t.length;a++){switch(t.charCodeAt(a)){case 34:s="&#34;";break;case 38:s="&#38;";break;case 39:s="&#39;";break;case 60:s="&#60;";break;case 62:s="&#62;";break;default:continue}o!==a&&(i+=t.substring(o,a)),o=a+1,i+=s}return o!==a?i+t.substring(o,a):i}(function e(t){return"string"!=typeof t&&(t=null==t?"":"function"==typeof t?e(t.call(t)):JSON.stringify(t)),t}(e))},a.$each=function(e,t){if(Array.isArray(e))for(var n=0,i=e.length;n<i;n++)t(e[n],n);else for(var a in e)t(e[a],a)},e.exports=a}).call(this,n(4))},function(e,t,n){var i=n(2);e.exports=function(e){"use strict";var t="",a=(e=e||{}).options,r=e.cover,o=i.$escape,s=e.icons,l=function(e){return t+=e},u=e.getObject;return e.theme,e.audio,e.index,a.fixed?(t+='\n<div class="aplayer-list',a.listFolded&&(t+=" aplayer-list-hide"),t+='"',a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n <ol",a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n ",l(n(1)(u({theme:a.theme,audio:a.audio,index:1}))),t+='\n </ol>\n</div>\n<div class="aplayer-body">\n <div class="aplayer-pic" style="',r&&(t+="background-image: url(&quot;",t+=o(r),t+="&quot;);"),t+="background-color: ",t+=o(a.theme),t+=';">\n <div class="aplayer-button aplayer-play">',t+=s.play,t+='</div>\n </div>\n <div class="aplayer-info" style="display: none;">\n <div class="aplayer-music">\n <span class="aplayer-title">No audio</span>\n <span class="aplayer-author"></span>\n </div>\n <div class="aplayer-controller">\n <div class="aplayer-bar-wrap">\n <div class="aplayer-bar">\n <div class="aplayer-loaded" style="width: 0"></div>\n <div class="aplayer-played" style="width: 0; background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-thumb" style="background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-loading-icon">',t+=s.loading,t+='</span>\n </span>\n </div>\n </div>\n </div>\n <div class="aplayer-time">\n <span class="aplayer-time-inner">\n <span class="aplayer-ptime">00:00</span> / <span class="aplayer-dtime">00:00</span>\n </span>\n <span class="aplayer-icon aplayer-icon-back">\n ',t+=s.skip,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-play">\n ',t+=s.play,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-forward">\n ',t+=s.skip,t+='\n </span>\n <div class="aplayer-volume-wrap">\n <button type="button" class="aplayer-icon aplayer-icon-volume-down">\n ',t+=s.volumeDown,t+='\n </button>\n <div class="aplayer-volume-bar-wrap">\n <div class="aplayer-volume-bar">\n <div class="aplayer-volume" style="height: 80%; background: ',t+=o(a.theme),t+=';"></div>\n </div>\n </div>\n </div>\n <button type="button" class="aplayer-icon aplayer-icon-order">\n ',"list"===a.order?t+=s.orderList:"random"===a.order&&(t+=s.orderRandom),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-loop">\n ',"one"===a.loop?t+=s.loopOne:"all"===a.loop?t+=s.loopAll:"none"===a.loop&&(t+=s.loopNone),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-menu">\n ',t+=s.menu,t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-lrc">\n ',t+=s.lrc,t+='\n </button>\n </div>\n </div>\n </div>\n <div class="aplayer-notice"></div>\n <div class="aplayer-miniswitcher"><button class="aplayer-icon">',t+=s.right,t+='</button></div>\n</div>\n<div class="aplayer-lrc">\n <div class="aplayer-lrc-contents" style="transform: translateY(0); -webkit-transform: translateY(0);"></div>\n</div>\n'):(t+='\n<div class="aplayer-body">\n <div class="aplayer-pic" style="',r&&(t+="background-image: url(&quot;",t+=o(r),t+="&quot;);"),t+="background-color: ",t+=o(a.theme),t+=';">\n <div class="aplayer-button aplayer-play">',t+=s.play,t+='</div>\n </div>\n <div class="aplayer-info">\n <div class="aplayer-music">\n <span class="aplayer-title">No audio</span>\n <span class="aplayer-author"></span>\n </div>\n <div class="aplayer-lrc">\n <div class="aplayer-lrc-contents" style="transform: translateY(0); -webkit-transform: translateY(0);"></div>\n </div>\n <div class="aplayer-controller">\n <div class="aplayer-bar-wrap">\n <div class="aplayer-bar">\n <div class="aplayer-loaded" style="width: 0"></div>\n <div class="aplayer-played" style="width: 0; background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-thumb" style="background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-loading-icon">',t+=s.loading,t+='</span>\n </span>\n </div>\n </div>\n </div>\n <div class="aplayer-time">\n <span class="aplayer-time-inner">\n <span class="aplayer-ptime">00:00</span> / <span class="aplayer-dtime">00:00</span>\n </span>\n <span class="aplayer-icon aplayer-icon-back">\n ',t+=s.skip,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-play">\n ',t+=s.play,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-forward">\n ',t+=s.skip,t+='\n </span>\n <div class="aplayer-volume-wrap">\n <button type="button" class="aplayer-icon aplayer-icon-volume-down">\n ',t+=s.volumeDown,t+='\n </button>\n <div class="aplayer-volume-bar-wrap">\n <div class="aplayer-volume-bar">\n <div class="aplayer-volume" style="height: 80%; background: ',t+=o(a.theme),t+=';"></div>\n </div>\n </div>\n </div>\n <button type="button" class="aplayer-icon aplayer-icon-order">\n ',"list"===a.order?t+=s.orderList:"random"===a.order&&(t+=s.orderRandom),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-loop">\n ',"one"===a.loop?t+=s.loopOne:"all"===a.loop?t+=s.loopAll:"none"===a.loop&&(t+=s.loopNone),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-menu">\n ',t+=s.menu,t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-lrc">\n ',t+=s.lrc,t+='\n </button>\n </div>\n </div>\n </div>\n <div class="aplayer-notice"></div>\n <div class="aplayer-miniswitcher"><button class="aplayer-icon">',t+=s.right,t+='</button></div>\n</div>\n<div class="aplayer-list',a.listFolded&&(t+=" aplayer-list-hide"),t+='"',a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n <ol",a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n ",l(n(1)(u({theme:a.theme,audio:a.audio,index:1}))),t+="\n </ol>\n</div>\n"),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=o(n(3)),r=o(n(16));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.container=t.container,this.options=t.options,this.randomOrder=t.randomOrder,this.init()}return i(e,[{key:"init",value:function(){var e="";this.options.audio.length&&(e="random"===this.options.order?this.options.audio[this.randomOrder[0]].cover:this.options.audio[0].cover),this.container.innerHTML=(0,r.default)({options:this.options,icons:a.default,cover:e,getObject:function(e){return e}}),this.lrc=this.container.querySelector(".aplayer-lrc-contents"),this.lrcWrap=this.container.querySelector(".aplayer-lrc"),this.ptime=this.container.querySelector(".aplayer-ptime"),this.info=this.container.querySelector(".aplayer-info"),this.time=this.container.querySelector(".aplayer-time"),this.barWrap=this.container.querySelector(".aplayer-bar-wrap"),this.button=this.container.querySelector(".aplayer-button"),this.body=this.container.querySelector(".aplayer-body"),this.list=this.container.querySelector(".aplayer-list"),this.listOl=this.container.querySelector(".aplayer-list ol"),this.listCurs=this.container.querySelectorAll(".aplayer-list-cur"),this.played=this.container.querySelector(".aplayer-played"),this.loaded=this.container.querySelector(".aplayer-loaded"),this.thumb=this.container.querySelector(".aplayer-thumb"),this.volume=this.container.querySelector(".aplayer-volume"),this.volumeBar=this.container.querySelector(".aplayer-volume-bar"),this.volumeButton=this.container.querySelector(".aplayer-time button"),this.volumeBarWrap=this.container.querySelector(".aplayer-volume-bar-wrap"),this.loop=this.container.querySelector(".aplayer-icon-loop"),this.order=this.container.querySelector(".aplayer-icon-order"),this.menu=this.container.querySelector(".aplayer-icon-menu"),this.pic=this.container.querySelector(".aplayer-pic"),this.title=this.container.querySelector(".aplayer-title"),this.author=this.container.querySelector(".aplayer-author"),this.dtime=this.container.querySelector(".aplayer-dtime"),this.notice=this.container.querySelector(".aplayer-notice"),this.miniSwitcher=this.container.querySelector(".aplayer-miniswitcher"),this.skipBackButton=this.container.querySelector(".aplayer-icon-back"),this.skipForwardButton=this.container.querySelector(".aplayer-icon-forward"),this.skipPlayButton=this.container.querySelector(".aplayer-icon-play"),this.lrcButton=this.container.querySelector(".aplayer-icon-lrc")}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={container:e.element||document.getElementsByClassName("aplayer")[0],mini:e.narrow||e.fixed||!1,fixed:!1,autoplay:!1,mutex:!0,lrcType:e.showlrc||e.lrc||0,preload:"auto",theme:"#b7daff",loop:"all",order:"list",volume:.7,listFolded:e.fixed,listMaxHeight:e.listmaxheight||"250px",audio:e.music||[],storageName:"aplayer-setting"};for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n]);return"[object Array]"!==Object.prototype.toString.call(e.audio)&&(e.audio=[e.audio]),e.audio.map((function(e){return e.name=e.name||e.title||"Audio name",e.artist=e.artist||e.author||"Audio artist",e.cover=e.cover||e.pic,e.type=e.type||"normal",e})),e.audio.length<=1&&"one"===e.loop&&(e.loop="all"),e}},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M26.667 5.333h-21.333c-0 0-0.001 0-0.001 0-1.472 0-2.666 1.194-2.666 2.666 0 0 0 0.001 0 0.001v-0 16c0 0 0 0.001 0 0.001 0 1.472 1.194 2.666 2.666 2.666 0 0 0.001 0 0.001 0h21.333c0 0 0.001 0 0.001 0 1.472 0 2.666-1.194 2.666-2.666 0-0 0-0.001 0-0.001v0-16c0-0 0-0.001 0-0.001 0-1.472-1.194-2.666-2.666-2.666-0 0-0.001 0-0.001 0h0zM5.333 16h5.333v2.667h-5.333v-2.667zM18.667 24h-13.333v-2.667h13.333v2.667zM26.667 24h-5.333v-2.667h5.333v2.667zM26.667 18.667h-13.333v-2.667h13.333v2.667z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M25.468 6.947c-0.326-0.172-0.724-0.151-1.030 0.057l-6.438 4.38v-3.553c0-0.371-0.205-0.71-0.532-0.884-0.326-0.172-0.724-0.151-1.030 0.057l-12 8.164c-0.274 0.186-0.438 0.496-0.438 0.827s0.164 0.641 0.438 0.827l12 8.168c0.169 0.115 0.365 0.174 0.562 0.174 0.16 0 0.321-0.038 0.468-0.116 0.327-0.173 0.532-0.514 0.532-0.884v-3.556l6.438 4.382c0.169 0.115 0.365 0.174 0.562 0.174 0.16 0 0.321-0.038 0.468-0.116 0.327-0.173 0.532-0.514 0.532-0.884v-16.333c0-0.371-0.205-0.71-0.532-0.884z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M22 16l-10.105-10.6-1.895 1.987 8.211 8.613-8.211 8.612 1.895 1.988 8.211-8.613z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M4 16c0-6.6 5.4-12 12-12s12 5.4 12 12c0 1.2-0.8 2-2 2s-2-0.8-2-2c0-4.4-3.6-8-8-8s-8 3.6-8 8 3.6 8 8 8c1.2 0 2 0.8 2 2s-0.8 2-2 2c-6.6 0-12-5.4-12-12z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 29 32"><path d="M2.667 7.027l1.707-1.693 22.293 22.293-1.693 1.707-4-4h-11.64v4l-5.333-5.333 5.333-5.333v4h8.973l-8.973-8.973v0.973h-2.667v-3.64l-4-4zM22.667 17.333h2.667v5.573l-2.667-2.667v-2.907zM22.667 6.667v-4l5.333 5.333-5.333 5.333v-4h-10.907l-2.667-2.667h13.573z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 33 32"><path d="M9.333 9.333h13.333v4l5.333-5.333-5.333-5.333v4h-16v8h2.667v-5.333zM22.667 22.667h-13.333v-4l-5.333 5.333 5.333 5.333v-4h16v-8h-2.667v5.333zM17.333 20v-8h-1.333l-2.667 1.333v1.333h2v5.333h2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 29 32"><path d="M9.333 9.333h13.333v4l5.333-5.333-5.333-5.333v4h-16v8h2.667v-5.333zM22.667 22.667h-13.333v-4l-5.333 5.333 5.333 5.333v-4h16v-8h-2.667v5.333z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 22 32"><path d="M20.8 14.4q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2zM1.6 11.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2zM20.8 20.8q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M0.622 18.334h19.54v7.55l11.052-9.412-11.052-9.413v7.549h-19.54v3.725z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M22.667 4l7 6-7 6 7 6-7 6v-4h-3.653l-3.76-3.76 2.827-2.827 2.587 2.587h2v-8h-2l-12 12h-6v-4h4.347l12-12h3.653v-4zM2.667 8h6l3.76 3.76-2.827 2.827-2.587-2.587h-4.347v-4z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 28 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 28 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8zM20.576 16q0 1.344-0.768 2.528t-2.016 1.664q-0.16 0.096-0.448 0.096-0.448 0-0.8-0.32t-0.32-0.832q0-0.384 0.192-0.64t0.544-0.448 0.608-0.384 0.512-0.64 0.192-1.024-0.192-1.024-0.512-0.64-0.608-0.384-0.544-0.448-0.192-0.64q0-0.48 0.32-0.832t0.8-0.32q0.288 0 0.448 0.096 1.248 0.48 2.016 1.664t0.768 2.528z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 28 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8zM20.576 16q0 1.344-0.768 2.528t-2.016 1.664q-0.16 0.096-0.448 0.096-0.448 0-0.8-0.32t-0.32-0.832q0-0.384 0.192-0.64t0.544-0.448 0.608-0.384 0.512-0.64 0.192-1.024-0.192-1.024-0.512-0.64-0.608-0.384-0.544-0.448-0.192-0.64q0-0.48 0.32-0.832t0.8-0.32q0.288 0 0.448 0.096 1.248 0.48 2.016 1.664t0.768 2.528zM25.152 16q0 2.72-1.536 5.056t-4 3.36q-0.256 0.096-0.448 0.096-0.48 0-0.832-0.352t-0.32-0.8q0-0.704 0.672-1.056 1.024-0.512 1.376-0.8 1.312-0.96 2.048-2.4t0.736-3.104-0.736-3.104-2.048-2.4q-0.352-0.288-1.376-0.8-0.672-0.352-0.672-1.056 0-0.448 0.32-0.8t0.8-0.352q0.224 0 0.48 0.096 2.496 1.056 4 3.36t1.536 5.056zM29.728 16q0 4.096-2.272 7.552t-6.048 5.056q-0.224 0.096-0.448 0.096-0.48 0-0.832-0.352t-0.32-0.8q0-0.64 0.704-1.056 0.128-0.064 0.384-0.192t0.416-0.192q0.8-0.448 1.44-0.896 2.208-1.632 3.456-4.064t1.216-5.152-1.216-5.152-3.456-4.064q-0.64-0.448-1.44-0.896-0.128-0.096-0.416-0.192t-0.384-0.192q-0.704-0.416-0.704-1.056 0-0.448 0.32-0.8t0.832-0.352q0.224 0 0.448 0.096 3.776 1.632 6.048 5.056t2.272 7.552z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 17 32"><path d="M14.080 4.8q2.88 0 2.88 2.048v18.24q0 2.112-2.88 2.112t-2.88-2.112v-18.24q0-2.048 2.88-2.048zM2.88 4.8q2.88 0 2.88 2.048v18.24q0 2.112-2.88 2.112t-2.88-2.112v-18.24q0-2.048 2.88-2.048z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 16 31"><path d="M15.552 15.168q0.448 0.32 0.448 0.832 0 0.448-0.448 0.768l-13.696 8.512q-0.768 0.512-1.312 0.192t-0.544-1.28v-16.448q0-0.96 0.544-1.28t1.312 0.192z"></path></svg>'},function(e,t,n){"use strict";var i,a,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(e){if(i===setTimeout)return setTimeout(e,0);if((i===o||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:o}catch(e){i=o}try{a="function"==typeof clearTimeout?clearTimeout:s}catch(e){a=s}}();var u,c=[],p=!1,d=-1;function h(){p&&u&&(p=!1,u.length?c=u.concat(c):d=-1,c.length&&y())}function y(){if(!p){var e=l(h);p=!0;for(var t=c.length;t;){for(u=c,c=[];++d<t;)u&&u[d].run();d=-1,t=c.length}u=null,p=!1,function(e){if(a===clearTimeout)return clearTimeout(e);if((a===s||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(e);try{a(e)}catch(t){try{return a.call(null,e)}catch(t){return a.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function v(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new f(e,t)),1!==c.length||p||l(y)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=v,r.addListener=v,r.once=v,r.off=v,r.removeListener=v,r.removeAllListeners=v,r.emit=v,r.prependListener=v,r.prependOnceListener=v,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,n){"use strict";(function(e,t){!function(e,n){if(!e.setImmediate){var i,a,r,o,s,l=1,u={},c=!1,p=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?i=function(e){t.nextTick((function(){y(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(o="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(o)&&y(+t.data.slice(o.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),i=function(t){e.postMessage(o+t,"*")}):e.MessageChannel?((r=new MessageChannel).port1.onmessage=function(e){y(e.data)},i=function(e){r.port2.postMessage(e)}):p&&"onreadystatechange"in p.createElement("script")?(a=p.documentElement,i=function(e){var t=p.createElement("script");t.onreadystatechange=function(){y(e),t.onreadystatechange=null,a.removeChild(t),t=null},a.appendChild(t)}):i=function(e){setTimeout(y,0,e)},d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var a={callback:e,args:t};return u[l]=a,i(l),l++},d.clearImmediate=h}function h(e){delete u[e]}function y(e){if(c)setTimeout(y,0,e);else{var t=u[e];if(t){c=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(undefined,n)}}(t)}finally{h(e),c=!1}}}}}("undefined"==typeof self?void 0===e?void 0:e:self)}).call(this,n(4),n(34))},function(e,t,n){"use strict";var i=Function.prototype.apply;function a(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new a(i.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new a(i.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(35),t.setImmediate=setImmediate,t.clearImmediate=clearImmediate},function(e,t,n){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=setTimeout;function a(){}function r(e){if(!(this instanceof r))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],c(e,this)}function o(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,r._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var i;try{i=n(e._value)}catch(e){return void l(t.promise,e)}s(t.promise,i)}else(1===e._state?s:l)(t.promise,e._value)}))):e._deferreds.push(t)}function s(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===(void 0===t?"undefined":n(t))||"function"==typeof t)){var i=t.then;if(t instanceof r)return e._state=3,e._value=t,void u(e);if("function"==typeof i)return void c((a=i,o=t,function(){a.apply(o,arguments)}),e)}e._state=1,e._value=t,u(e)}catch(t){l(e,t)}var a,o}function l(e,t){e._state=2,e._value=t,u(e)}function u(e){2===e._state&&0===e._deferreds.length&&r._immediateFn((function(){e._handled||r._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t<n;t++)o(e,e._deferreds[t]);e._deferreds=null}function c(e,t){var n=!1;try{e((function(e){n||(n=!0,s(t,e))}),(function(e){n||(n=!0,l(t,e))}))}catch(e){if(n)return;n=!0,l(t,e)}}r.prototype.catch=function(e){return this.then(null,e)},r.prototype.then=function(e,t){var n=new this.constructor(a);return o(this,new function(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}(e,t,n)),n},r.prototype.finally=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))},r.all=function(e){return new r((function(t,i){if(!e||void 0===e.length)throw new TypeError("Promise.all accepts an array");var a=Array.prototype.slice.call(e);if(0===a.length)return t([]);var r=a.length;function o(e,s){try{if(s&&("object"===(void 0===s?"undefined":n(s))||"function"==typeof s)){var l=s.then;if("function"==typeof l)return void l.call(s,(function(t){o(e,t)}),i)}a[e]=s,0==--r&&t(a)}catch(e){i(e)}}for(var s=0;s<a.length;s++)o(s,a[s])}))},r.resolve=function(e){return e&&"object"===(void 0===e?"undefined":n(e))&&e.constructor===r?e:new r((function(t){t(e)}))},r.reject=function(e){return new r((function(t,n){n(e)}))},r.race=function(e){return new r((function(t,n){for(var i=0,a=e.length;i<a;i++)e[i].then(t,n)}))},r._immediateFn="function"==typeof t&&function(e){t(e)}||function(e){i(e,0)},r._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},e.exports=r}).call(this,n(36).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=v(n(37)),r=v(n(0)),o=v(n(3)),s=v(n(18)),l=v(n(17)),u=v(n(13)),c=v(n(12)),p=v(n(11)),d=v(n(9)),h=v(n(8)),y=v(n(7)),f=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}var m=[],g=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=(0,s.default)(t),this.container=this.options.container,this.paused=!0,this.playedPromise=a.default.resolve(),this.mode="normal",this.randomOrder=r.default.randomOrder(this.options.audio.length),this.container.classList.add("aplayer"),this.options.lrcType&&!this.options.fixed&&this.container.classList.add("aplayer-withlrc"),this.options.audio.length>1&&this.container.classList.add("aplayer-withlist"),r.default.isMobile&&this.container.classList.add("aplayer-mobile"),this.arrow=this.container.offsetWidth<=300,this.arrow&&this.container.classList.add("aplayer-arrow"),this.container=this.options.container,2===this.options.lrcType||!0===this.options.lrcType)for(var n=this.container.getElementsByClassName("aplayer-lrc-content"),i=0;i<n.length;i++)this.options.audio[i]&&(this.options.audio[i].lrc=n[i].innerHTML);this.template=new l.default({container:this.container,options:this.options,randomOrder:this.randomOrder}),this.options.fixed&&(this.container.classList.add("aplayer-fixed"),this.template.body.style.width=this.template.body.offsetWidth-18+"px"),this.options.mini&&(this.setMode("mini"),this.template.info.style.display="block"),this.template.info.offsetWidth<200&&this.template.time.classList.add("aplayer-time-narrow"),this.options.lrcType&&(this.lrc=new p.default({container:this.template.lrc,async:3===this.options.lrcType,player:this})),this.events=new y.default,this.storage=new c.default(this),this.bar=new u.default(this.template),this.controller=new d.default(this),this.timer=new h.default(this),this.list=new f.default(this),this.initAudio(),this.bindEvents(),"random"===this.options.order?this.list.switch(this.randomOrder[0]):this.list.switch(0),this.options.autoplay&&this.play(),m.push(this)}return i(e,[{key:"initAudio",value:function(){var e=this;this.audio=document.createElement("audio"),this.audio.preload=this.options.preload;for(var t=function(t){e.audio.addEventListener(e.events.audioEvents[t],(function(n){e.events.trigger(e.events.audioEvents[t],n)}))},n=0;n<this.events.audioEvents.length;n++)t(n);this.volume(this.storage.get("volume"),!0)}},{key:"bindEvents",value:function(){var e=this;this.on("play",(function(){e.paused&&e.setUIPlaying()})),this.on("pause",(function(){e.paused||e.setUIPaused()})),this.on("timeupdate",(function(){if(!e.disableTimeupdate){e.bar.set("played",e.audio.currentTime/e.duration,"width"),e.lrc&&e.lrc.update();var t=r.default.secondToTime(e.audio.currentTime);e.template.ptime.innerHTML!==t&&(e.template.ptime.innerHTML=t)}})),this.on("durationchange",(function(){1!==e.duration&&(e.template.dtime.innerHTML=r.default.secondToTime(e.duration))})),this.on("progress",(function(){var t=e.audio.buffered.length?e.audio.buffered.end(e.audio.buffered.length-1)/e.duration:0;e.bar.set("loaded",t,"width")}));var t=void 0;this.on("error",(function(){e.list.audios.length>1?(e.notice("An audio error has occurred, player will skip forward in 2 seconds."),t=setTimeout((function(){e.skipForward(),e.paused||e.play()}),2e3)):1===e.list.audios.length&&e.notice("An audio error has occurred.")})),this.events.on("listswitch",(function(){t&&clearTimeout(t)})),this.on("ended",(function(){"none"===e.options.loop?"list"===e.options.order?e.list.index<e.list.audios.length-1?(e.list.switch((e.list.index+1)%e.list.audios.length),e.play()):(e.list.switch((e.list.index+1)%e.list.audios.length),e.pause()):"random"===e.options.order&&(e.randomOrder.indexOf(e.list.index)<e.randomOrder.length-1?(e.list.switch(e.nextIndex()),e.play()):(e.list.switch(e.nextIndex()),e.pause())):"one"===e.options.loop?(e.list.switch(e.list.index),e.play()):"all"===e.options.loop&&(e.skipForward(),e.play())}))}},{key:"setAudio",value:function(e){this.hls&&(this.hls.destroy(),this.hls=null);var t=e.type;this.options.customAudioType&&this.options.customAudioType[t]?"[object Function]"===Object.prototype.toString.call(this.options.customAudioType[t])?this.options.customAudioType[t](this.audio,e,this):console.error("Illegal customType: "+t):(t&&"auto"!==t||(t=/m3u8(#|\?|$)/i.exec(e.url)?"hls":"normal"),"hls"===t?Hls.isSupported()?(this.hls=new Hls,this.hls.loadSource(e.url),this.hls.attachMedia(this.audio)):this.audio.canPlayType("application/x-mpegURL")||this.audio.canPlayType("application/vnd.apple.mpegURL")?this.audio.src=e.url:this.notice("Error: HLS is not supported."):"normal"===t&&(this.audio.src=e.url)),this.seek(0),this.paused||this.audio.play()}},{key:"theme",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.list.audios[this.list.index].theme||this.options.theme,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.list.index;(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])&&this.list.audios[t]&&(this.list.audios[t].theme=e),this.template.listCurs[t]&&(this.template.listCurs[t].style.backgroundColor=e),t===this.list.index&&(this.template.pic.style.backgroundColor=e,this.template.played.style.background=e,this.template.thumb.style.background=e,this.template.volume.style.background=e)}},{key:"seek",value:function(e){e=Math.max(e,0),e=Math.min(e,this.duration),this.audio.currentTime=e,this.bar.set("played",e/this.duration,"width"),this.template.ptime.innerHTML=r.default.secondToTime(e)}},{key:"setUIPlaying",value:function(){var e=this;if(this.paused&&(this.paused=!1,this.template.button.classList.remove("aplayer-play"),this.template.button.classList.add("aplayer-pause"),this.template.button.innerHTML="",setTimeout((function(){e.template.button.innerHTML=o.default.pause}),100),this.template.skipPlayButton.innerHTML=o.default.pause),this.timer.enable("loading"),this.options.mutex)for(var t=0;t<m.length;t++)this!==m[t]&&m[t].pause()}},{key:"play",value:function(){var e=this;this.setUIPlaying();var t=this.audio.play();t&&t.catch((function(t){console.warn(t),"NotAllowedError"===t.name&&e.setUIPaused()}))}},{key:"setUIPaused",value:function(){var e=this;this.paused||(this.paused=!0,this.template.button.classList.remove("aplayer-pause"),this.template.button.classList.add("aplayer-play"),this.template.button.innerHTML="",setTimeout((function(){e.template.button.innerHTML=o.default.play}),100),this.template.skipPlayButton.innerHTML=o.default.play),this.container.classList.remove("aplayer-loading"),this.timer.disable("loading")}},{key:"pause",value:function(){this.setUIPaused(),this.audio.pause()}},{key:"switchVolumeIcon",value:function(){this.volume()>=.95?this.template.volumeButton.innerHTML=o.default.volumeUp:this.volume()>0?this.template.volumeButton.innerHTML=o.default.volumeDown:this.template.volumeButton.innerHTML=o.default.volumeOff}},{key:"volume",value:function(e,t){return e=parseFloat(e),isNaN(e)||(e=Math.max(e,0),e=Math.min(e,1),this.bar.set("volume",e,"height"),t||this.storage.set("volume",e),this.audio.volume=e,this.audio.muted&&(this.audio.muted=!1),this.switchVolumeIcon()),this.audio.muted?0:this.audio.volume}},{key:"on",value:function(e,t){this.events.on(e,t)}},{key:"toggle",value:function(){this.template.button.classList.contains("aplayer-play")?this.play():this.template.button.classList.contains("aplayer-pause")&&this.pause()}},{key:"switchAudio",value:function(e){this.list.switch(e)}},{key:"addAudio",value:function(e){this.list.add(e)}},{key:"removeAudio",value:function(e){this.list.remove(e)}},{key:"destroy",value:function(){m.splice(m.indexOf(this),1),this.pause(),this.container.innerHTML="",this.audio.src="",this.timer.destroy(),this.events.trigger("destroy")}},{key:"setMode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"normal";this.mode=e,"mini"===e?this.container.classList.add("aplayer-narrow"):"normal"===e&&this.container.classList.remove("aplayer-narrow")}},{key:"notice",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.8;this.template.notice.innerHTML=e,this.template.notice.style.opacity=i,this.noticeTime&&clearTimeout(this.noticeTime),this.events.trigger("noticeshow",{text:e}),n&&(this.noticeTime=setTimeout((function(){t.template.notice.style.opacity=0,t.events.trigger("noticehide")}),n))}},{key:"prevIndex",value:function(){if(!(this.list.audios.length>1))return 0;if("list"===this.options.order)return this.list.index-1<0?this.list.audios.length-1:this.list.index-1;if("random"===this.options.order){var e=this.randomOrder.indexOf(this.list.index);return 0===e?this.randomOrder[this.randomOrder.length-1]:this.randomOrder[e-1]}}},{key:"nextIndex",value:function(){if(!(this.list.audios.length>1))return 0;if("list"===this.options.order)return(this.list.index+1)%this.list.audios.length;if("random"===this.options.order){var e=this.randomOrder.indexOf(this.list.index);return e===this.randomOrder.length-1?this.randomOrder[0]:this.randomOrder[e+1]}}},{key:"skipBack",value:function(){this.list.switch(this.prevIndex())}},{key:"skipForward",value:function(){this.list.switch(this.nextIndex())}},{key:"duration",get:function(){return isNaN(this.audio.duration)?0:this.audio.duration}}],[{key:"version",get:function(){return"1.10.1"}}]),e}();t.default=g},,function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(40);var i,a=(i=n(38))&&i.__esModule?i:{default:i};t.default=a.default}]).default}));
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("APlayer",[],t):"object"==typeof exports?exports.APlayer=t():e.APlayer=t()}(window,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var a=t[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=41)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=/mobile/i.test(window.navigator.userAgent),a={secondToTime:function(e){var t=Math.floor(e/3600),n=Math.floor((e-3600*t)/60),i=Math.floor(e-3600*t-60*n);return(t>0?[t,n,i]:[n,i]).map((function(e){return e<10?"0"+e:""+e})).join(":")},getElementViewLeft:function(e){var t=e.offsetLeft,n=e.offsetParent,i=document.body.scrollLeft+document.documentElement.scrollLeft;if(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement)for(;null!==n&&n!==e;)t+=n.offsetLeft,n=n.offsetParent;else for(;null!==n;)t+=n.offsetLeft,n=n.offsetParent;return t-i},getElementViewTop:function(e,t){for(var n,i=e.offsetTop,a=e.offsetParent;null!==a;)i+=a.offsetTop,a=a.offsetParent;return n=document.body.scrollTop+document.documentElement.scrollTop,t?i:i-n},isMobile:i,storage:{set:function(e,t){localStorage.setItem(e,t)},get:function(e){return localStorage.getItem(e)}},nameMap:{dragStart:i?"touchstart":"mousedown",dragMove:i?"touchmove":"mousemove",dragEnd:i?"touchend":"mouseup"},randomOrder:function(e){return function(e){for(var t=e.length-1;t>=0;t--){var n=Math.floor(Math.random()*(t+1)),i=e[n];e[n]=e[t],e[t]=i}return e}([].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(Array(e))).map((function(e,t){return t})))}};t.default=a},function(e,t,n){var i=n(2);e.exports=function(e){"use strict";e=e||{};var t="",n=i.$each,a=e.audio,r=(e.$value,e.$index,i.$escape),o=e.theme,s=e.index;return n(a,(function(e,n){t+='\n<li>\n <span class="aplayer-list-cur" style="background-color: ',t+=r(e.theme||o),t+=';"></span>\n <span class="aplayer-list-index">',t+=r(n+s),t+='</span>\n <span class="aplayer-list-title">',t+=r(e.name),t+='</span>\n <span class="aplayer-list-author">',t+=r(e.artist),t+="</span>\n</li>\n"})),t}},function(e,t,n){"use strict";e.exports=n(15)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=g(n(33)),a=g(n(32)),r=g(n(31)),o=g(n(30)),s=g(n(29)),l=g(n(28)),u=g(n(27)),c=g(n(26)),p=g(n(25)),d=g(n(24)),h=g(n(23)),y=g(n(22)),f=g(n(21)),v=g(n(20)),m=g(n(19));function g(e){return e&&e.__esModule?e:{default:e}}var w={play:i.default,pause:a.default,volumeUp:r.default,volumeDown:o.default,volumeOff:s.default,orderRandom:l.default,orderList:u.default,menu:c.default,loopAll:p.default,loopOne:d.default,loopNone:h.default,loading:y.default,right:f.default,skip:v.default,lrc:m.default};t.default=w},function(e,t,n){"use strict";var i,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":a(window))&&(i=window)}e.exports=i},function(e,t,n){"use strict";var i,a,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};void 0===(a="function"==typeof(i=function(){if("object"===("undefined"==typeof window?"undefined":r(window))&&void 0!==document.querySelectorAll&&void 0!==window.pageYOffset&&void 0!==history.pushState){var e=function(e,t,n,i){return n>i?t:e+(t-e)*((a=n/i)<.5?4*a*a*a:(a-1)*(2*a-2)*(2*a-2)+1);var a},t=function(t,n,i,a){n=n||500;var r=(a=a||window).scrollTop||window.pageYOffset;if("number"==typeof t)var o=parseInt(t);else o=function(e,t){return"HTML"===e.nodeName?-t:e.getBoundingClientRect().top+t}(t,r);var s=Date.now(),l=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){window.setTimeout(e,15)};!function u(){var c=Date.now()-s;a!==window?a.scrollTop=e(r,o,c,n):window.scroll(0,e(r,o,c,n)),c>n?"function"==typeof i&&i(t):l(u)}()},n=function(e){if(!e.defaultPrevented){e.preventDefault(),location.hash!==this.hash&&window.history.pushState(null,null,this.hash);var n=document.getElementById(this.hash.substring(1));if(!n)return;t(n,500,(function(e){location.replace("#"+e.id)}))}};return document.addEventListener("DOMContentLoaded",(function(){for(var e,t=document.querySelectorAll('.aplayer a[href^="#"]:not([href="#"])'),i=t.length;e=t[--i];)e.addEventListener("click",n,!1)})),t}})?i.call(t,n,t,e):i)||(e.exports=a)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=s(n(1)),r=s(n(0)),o=s(n(5));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,this.index=0,this.audios=this.player.options.audio,this.bindEvents()}return i(e,[{key:"bindEvents",value:function(){var e=this;this.player.template.list.addEventListener("click",(function(t){var n=void 0;n="LI"===t.target.tagName.toUpperCase()?t.target:t.target.parentElement;var i=parseInt(n.getElementsByClassName("aplayer-list-index")[0].innerHTML)-1;i!==e.index?(e.switch(i),e.player.play()):e.player.toggle()}))}},{key:"show",value:function(){this.player.events.trigger("listshow"),this.player.template.list.classList.remove("aplayer-list-hide"),this.player.template.listOl.scrollTop=33*this.index}},{key:"hide",value:function(){this.player.events.trigger("listhide"),this.player.template.list.classList.add("aplayer-list-hide")}},{key:"toggle",value:function(){this.player.template.list.classList.contains("aplayer-list-hide")?this.show():this.hide()}},{key:"add",value:function(e){this.player.events.trigger("listadd",{audios:e}),"[object Array]"!==Object.prototype.toString.call(e)&&(e=[e]),e.map((function(e){return e.name=e.name||e.title||"Audio name",e.artist=e.artist||e.author||"Audio artist",e.cover=e.cover||e.pic,e.type=e.type||"normal",e}));var t=!(this.audios.length>1),n=0===this.audios.length;this.player.template.listOl.innerHTML+=(0,a.default)({theme:this.player.options.theme,audio:e,index:this.audios.length+1}),this.audios=this.audios.concat(e),t&&this.audios.length>1&&this.player.container.classList.add("aplayer-withlist"),this.player.randomOrder=r.default.randomOrder(this.audios.length),this.player.template.listCurs=this.player.container.querySelectorAll(".aplayer-list-cur"),this.player.template.listCurs[this.audios.length-1].style.backgroundColor=e.theme||this.player.options.theme,n&&("random"===this.player.options.order?this.switch(this.player.randomOrder[0]):this.switch(0))}},{key:"remove",value:function(e){if(this.player.events.trigger("listremove",{index:e}),this.audios[e])if(this.audios.length>1){var t=this.player.container.querySelectorAll(".aplayer-list li");t[e].remove(),this.audios.splice(e,1),this.player.lrc&&this.player.lrc.remove(e),e===this.index&&(this.audios[e]?this.switch(e):this.switch(e-1)),this.index>e&&this.index--;for(var n=e;n<t.length;n++)t[n].getElementsByClassName("aplayer-list-index")[0].textContent=n;1===this.audios.length&&this.player.container.classList.remove("aplayer-withlist"),this.player.template.listCurs=this.player.container.querySelectorAll(".aplayer-list-cur")}else this.clear()}},{key:"switch",value:function(e){if(this.player.events.trigger("listswitch",{index:e}),void 0!==e&&this.audios[e]){this.index=e;var t=this.audios[this.index];this.player.template.pic.style.backgroundImage=t.cover?"url('"+t.cover+"')":"",this.player.theme(this.audios[this.index].theme||this.player.options.theme,this.index,!1),this.player.template.title.innerHTML=t.name,this.player.template.author.innerHTML=t.artist?" - "+t.artist:"";var n=this.player.container.getElementsByClassName("aplayer-list-light")[0];n&&n.classList.remove("aplayer-list-light"),this.player.container.querySelectorAll(".aplayer-list li")[this.index].classList.add("aplayer-list-light"),(0,o.default)(33*this.index,500,null,this.player.template.listOl),this.player.setAudio(t),this.player.lrc&&this.player.lrc.switch(this.index),this.player.lrc&&this.player.lrc.update(0),1!==this.player.duration&&(this.player.template.dtime.innerHTML=r.default.secondToTime(this.player.duration))}}},{key:"clear",value:function(){this.player.events.trigger("listclear"),this.index=0,this.player.container.classList.remove("aplayer-withlist"),this.player.pause(),this.audios=[],this.player.lrc&&this.player.lrc.clear(),this.player.audio.src="",this.player.template.listOl.innerHTML="",this.player.template.pic.style.backgroundImage="",this.player.theme(this.player.options.theme,this.index,!1),this.player.template.title.innerHTML="No audio",this.player.template.author.innerHTML="",this.player.bar.set("loaded",0,"width"),this.player.template.dtime.innerHTML=r.default.secondToTime(0)}}]),e}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.events={},this.audioEvents=["abort","canplay","canplaythrough","durationchange","emptied","ended","error","loadeddata","loadedmetadata","loadstart","mozaudioavailable","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],this.playerEvents=["destroy","listshow","listhide","listadd","listremove","listswitch","listclear","noticeshow","noticehide","lrcshow","lrchide"]}return i(e,[{key:"on",value:function(e,t){this.type(e)&&"function"==typeof t&&(this.events[e]||(this.events[e]=[]),this.events[e].push(t))}},{key:"trigger",value:function(e,t){if(this.events[e]&&this.events[e].length)for(var n=0;n<this.events[e].length;n++)this.events[e][n](t)}},{key:"type",value:function(e){return-1!==this.playerEvents.indexOf(e)?"player":-1!==this.audioEvents.indexOf(e)?"audio":(console.error("Unknown event name: "+e),null)}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,window.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},this.types=["loading"],this.init()}return i(e,[{key:"init",value:function(){var e=this;this.types.forEach((function(t){e["init"+t+"Checker"]()}))}},{key:"initloadingChecker",value:function(){var e=this,t=0,n=0,i=!1;this.loadingChecker=setInterval((function(){e.enableloadingChecker&&(n=e.player.audio.currentTime,i||n!==t||e.player.audio.paused||(e.player.container.classList.add("aplayer-loading"),i=!0),i&&n>t&&!e.player.audio.paused&&(e.player.container.classList.remove("aplayer-loading"),i=!1),t=n)}),100)}},{key:"enable",value:function(e){this["enable"+e+"Checker"]=!0,"fps"===e&&this.initfpsChecker()}},{key:"disable",value:function(e){this["enable"+e+"Checker"]=!1}},{key:"destroy",value:function(){var e=this;this.types.forEach((function(t){e["enable"+t+"Checker"]=!1,e[t+"Checker"]&&clearInterval(e[t+"Checker"])}))}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=o(n(0)),r=o(n(3));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,this.initPlayButton(),this.initPlayBar(),this.initOrderButton(),this.initLoopButton(),this.initMenuButton(),a.default.isMobile||this.initVolumeButton(),this.initMiniSwitcher(),this.initSkipButton(),this.initLrcButton()}return i(e,[{key:"initPlayButton",value:function(){var e=this;this.player.template.pic.addEventListener("click",(function(){e.player.toggle()}))}},{key:"initPlayBar",value:function(){var e=this,t=function(t){var n=((t.clientX||t.changedTouches[0].clientX)-a.default.getElementViewLeft(e.player.template.barWrap))/e.player.template.barWrap.clientWidth;n=Math.max(n,0),n=Math.min(n,1),e.player.bar.set("played",n,"width"),e.player.lrc&&e.player.lrc.update(n*e.player.duration),e.player.template.ptime.innerHTML=a.default.secondToTime(n*e.player.duration)},n=function n(i){document.removeEventListener(a.default.nameMap.dragEnd,n),document.removeEventListener(a.default.nameMap.dragMove,t);var r=((i.clientX||i.changedTouches[0].clientX)-a.default.getElementViewLeft(e.player.template.barWrap))/e.player.template.barWrap.clientWidth;r=Math.max(r,0),r=Math.min(r,1),e.player.bar.set("played",r,"width"),e.player.seek(e.player.bar.get("played","width")*e.player.duration),e.player.disableTimeupdate=!1};this.player.template.barWrap.addEventListener(a.default.nameMap.dragStart,(function(){e.player.disableTimeupdate=!0,document.addEventListener(a.default.nameMap.dragMove,t),document.addEventListener(a.default.nameMap.dragEnd,n)}))}},{key:"initVolumeButton",value:function(){var e=this;this.player.template.volumeButton.addEventListener("click",(function(){e.player.audio.muted?(e.player.audio.muted=!1,e.player.switchVolumeIcon(),e.player.bar.set("volume",e.player.volume(),"height")):(e.player.audio.muted=!0,e.player.switchVolumeIcon(),e.player.bar.set("volume",0,"height"))}));var t=function(t){var n=1-((t.clientY||t.changedTouches[0].clientY)-a.default.getElementViewTop(e.player.template.volumeBar,e.player.options.fixed))/e.player.template.volumeBar.clientHeight;n=Math.max(n,0),n=Math.min(n,1),e.player.volume(n)},n=function n(i){e.player.template.volumeBarWrap.classList.remove("aplayer-volume-bar-wrap-active"),document.removeEventListener(a.default.nameMap.dragEnd,n),document.removeEventListener(a.default.nameMap.dragMove,t);var r=1-((i.clientY||i.changedTouches[0].clientY)-a.default.getElementViewTop(e.player.template.volumeBar,e.player.options.fixed))/e.player.template.volumeBar.clientHeight;r=Math.max(r,0),r=Math.min(r,1),e.player.volume(r)};this.player.template.volumeBarWrap.addEventListener(a.default.nameMap.dragStart,(function(){e.player.template.volumeBarWrap.classList.add("aplayer-volume-bar-wrap-active"),document.addEventListener(a.default.nameMap.dragMove,t),document.addEventListener(a.default.nameMap.dragEnd,n)}))}},{key:"initOrderButton",value:function(){var e=this;this.player.template.order.addEventListener("click",(function(){"list"===e.player.options.order?(e.player.options.order="random",e.player.template.order.innerHTML=r.default.orderRandom):"random"===e.player.options.order&&(e.player.options.order="list",e.player.template.order.innerHTML=r.default.orderList)}))}},{key:"initLoopButton",value:function(){var e=this;this.player.template.loop.addEventListener("click",(function(){e.player.list.audios.length>1?"one"===e.player.options.loop?(e.player.options.loop="none",e.player.template.loop.innerHTML=r.default.loopNone):"none"===e.player.options.loop?(e.player.options.loop="all",e.player.template.loop.innerHTML=r.default.loopAll):"all"===e.player.options.loop&&(e.player.options.loop="one",e.player.template.loop.innerHTML=r.default.loopOne):"one"===e.player.options.loop||"all"===e.player.options.loop?(e.player.options.loop="none",e.player.template.loop.innerHTML=r.default.loopNone):"none"===e.player.options.loop&&(e.player.options.loop="all",e.player.template.loop.innerHTML=r.default.loopAll)}))}},{key:"initMenuButton",value:function(){var e=this;this.player.template.menu.addEventListener("click",(function(){e.player.list.toggle()}))}},{key:"initMiniSwitcher",value:function(){var e=this;this.player.template.miniSwitcher.addEventListener("click",(function(){e.player.setMode("mini"===e.player.mode?"normal":"mini")}))}},{key:"initSkipButton",value:function(){var e=this;this.player.template.skipBackButton.addEventListener("click",(function(){e.player.skipBack()})),this.player.template.skipForwardButton.addEventListener("click",(function(){e.player.skipForward()})),this.player.template.skipPlayButton.addEventListener("click",(function(){e.player.toggle()}))}},{key:"initLrcButton",value:function(){var e=this;this.player.template.lrcButton.addEventListener("click",(function(){e.player.template.lrcButton.classList.contains("aplayer-icon-lrc-inactivity")?(e.player.template.lrcButton.classList.remove("aplayer-icon-lrc-inactivity"),e.player.lrc&&e.player.lrc.show()):(e.player.template.lrcButton.classList.add("aplayer-icon-lrc-inactivity"),e.player.lrc&&e.player.lrc.hide())}))}}]),e}();t.default=s},function(e,t,n){var i=n(2);e.exports=function(e){"use strict";e=e||{};var t="",n=i.$each,a=e.lyrics,r=(e.$value,e.$index,i.$escape);return n(a,(function(e,n){t+="\n <p",0===n&&(t+=' class="aplayer-lrc-current"'),t+=">",t+=r(e[1]),t+="</p>\n"})),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=(i=n(10))&&i.__esModule?i:{default:i},o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.container=t.container,this.async=t.async,this.player=t.player,this.parsed=[],this.index=0,this.current=[]}return a(e,[{key:"show",value:function(){this.player.events.trigger("lrcshow"),this.player.template.lrcWrap.classList.remove("aplayer-lrc-hide")}},{key:"hide",value:function(){this.player.events.trigger("lrchide"),this.player.template.lrcWrap.classList.add("aplayer-lrc-hide")}},{key:"toggle",value:function(){this.player.template.lrcWrap.classList.contains("aplayer-lrc-hide")?this.show():this.hide()}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.player.audio.currentTime;if(this.index>this.current.length-1||e<this.current[this.index][0]||!this.current[this.index+1]||e>=this.current[this.index+1][0])for(var t=0;t<this.current.length;t++)e>=this.current[t][0]&&(!this.current[t+1]||e<this.current[t+1][0])&&(this.index=t,this.container.style.transform="translateY("+16*-this.index+"px)",this.container.style.webkitTransform="translateY("+16*-this.index+"px)",this.container.getElementsByClassName("aplayer-lrc-current")[0].classList.remove("aplayer-lrc-current"),this.container.getElementsByTagName("p")[t].classList.add("aplayer-lrc-current"))}},{key:"switch",value:function(e){var t=this;if(!this.parsed[e])if(this.async){this.parsed[e]=[["00:00","Loading"]];var n=new XMLHttpRequest;n.onreadystatechange=function(){e===t.player.list.index&&4===n.readyState&&(n.status>=200&&n.status<300||304===n.status?t.parsed[e]=t.parse(n.responseText):(t.player.notice("LRC file request fails: status "+n.status),t.parsed[e]=[["00:00","Not available"]]),t.container.innerHTML=(0,r.default)({lyrics:t.parsed[e]}),t.update(0),t.current=t.parsed[e])};var i=this.player.list.audios[e].lrc;n.open("get",i,!0),n.send(null)}else this.player.list.audios[e].lrc?this.parsed[e]=this.parse(this.player.list.audios[e].lrc):this.parsed[e]=[["00:00","Not available"]];this.container.innerHTML=(0,r.default)({lyrics:this.parsed[e]}),this.update(0),this.current=this.parsed[e]}},{key:"parse",value:function(e){if(e){for(var t=(e=e.replace(/([^\]^\n])\[/g,(function(e,t){return t+"\n["}))).split("\n"),n=[],i=t.length,a=0;a<i;a++){var r=t[a].match(/\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/g),o=t[a].replace(/.*\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/g,"").replace(/<(\d{2}):(\d{2})(\.(\d{2,3}))?>/g,"").replace(/^\s+|\s+$/g,"");if(r)for(var s=r.length,l=0;l<s;l++){var u=/\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/.exec(r[l]),c=60*u[1]+parseInt(u[2])+(u[4]?parseInt(u[4])/(2===(u[4]+"").length?100:1e3):0);n.push([c,o])}}return(n=n.filter((function(e){return e[1]}))).sort((function(e,t){return e[0]-t[0]})),n}return[]}},{key:"remove",value:function(e){this.parsed.splice(e,1)}},{key:"clear",value:function(){this.parsed=[],this.container.innerHTML=""}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=(i=n(0))&&i.__esModule?i:{default:i},o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.storageName=t.options.storageName,this.data=JSON.parse(r.default.storage.get(this.storageName)),this.data||(this.data={}),this.data.volume=this.data.volume||t.options.volume}return a(e,[{key:"get",value:function(e){return this.data[e]}},{key:"set",value:function(e,t){this.data[e]=t,r.default.storage.set(this.storageName,JSON.stringify(this.data))}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.elements={},this.elements.volume=t.volume,this.elements.played=t.played,this.elements.loaded=t.loaded}return i(e,[{key:"set",value:function(e,t,n){t=Math.max(t,0),t=Math.min(t,1),this.elements[e].style[n]=100*t+"%"}},{key:"get",value:function(e,t){return parseFloat(this.elements[e].style[t])/100}}]),e}();t.default=a},function(e,t,n){"use strict";(function(t){e.exports=!1;try{e.exports="[object process]"===Object.prototype.toString.call(t.process)}catch(e){}}).call(this,n(4))},function(e,t,n){"use strict";(function(t){var i=n(14),a=Object.create(i?t:window),r=/["&'<>]/;a.$escape=function(e){return function(e){var t=""+e,n=r.exec(t);if(!n)return e;var i="",a=void 0,o=void 0,s=void 0;for(a=n.index,o=0;a<t.length;a++){switch(t.charCodeAt(a)){case 34:s="&#34;";break;case 38:s="&#38;";break;case 39:s="&#39;";break;case 60:s="&#60;";break;case 62:s="&#62;";break;default:continue}o!==a&&(i+=t.substring(o,a)),o=a+1,i+=s}return o!==a?i+t.substring(o,a):i}(function e(t){return"string"!=typeof t&&(t=null==t?"":"function"==typeof t?e(t.call(t)):JSON.stringify(t)),t}(e))},a.$each=function(e,t){if(Array.isArray(e))for(var n=0,i=e.length;n<i;n++)t(e[n],n);else for(var a in e)t(e[a],a)},e.exports=a}).call(this,n(4))},function(e,t,n){var i=n(2);e.exports=function(e){"use strict";var t="",a=(e=e||{}).options,r=e.cover,o=i.$escape,s=e.icons,l=function(e){return t+=e},u=e.getObject;return e.theme,e.audio,e.index,a.fixed?(t+='\n<div class="aplayer-list',a.listFolded&&(t+=" aplayer-list-hide"),t+='"',a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n <ol",a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n ",l(n(1)(u({theme:a.theme,audio:a.audio,index:1}))),t+='\n </ol>\n</div>\n<div class="aplayer-body">\n <div class="aplayer-pic" style="',r&&(t+="background-image: url(&quot;",t+=o(r),t+="&quot;);"),t+="background-color: ",t+=o(a.theme),t+=';">\n <div class="aplayer-button aplayer-play">',t+=s.play,t+='</div>\n </div>\n <div class="aplayer-info" style="display: none;">\n <div class="aplayer-music">\n <span class="aplayer-title">No audio</span>\n <span class="aplayer-author"></span>\n </div>\n <div class="aplayer-controller">\n <div class="aplayer-bar-wrap">\n <div class="aplayer-bar">\n <div class="aplayer-loaded" style="width: 0"></div>\n <div class="aplayer-played" style="width: 0; background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-thumb" style="background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-loading-icon">',t+=s.loading,t+='</span>\n </span>\n </div>\n </div>\n </div>\n <div class="aplayer-time">\n <span class="aplayer-time-inner">\n <span class="aplayer-ptime">00:00</span> / <span class="aplayer-dtime">00:00</span>\n </span>\n <span class="aplayer-icon aplayer-icon-back">\n ',t+=s.skip,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-play">\n ',t+=s.play,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-forward">\n ',t+=s.skip,t+='\n </span>\n <div class="aplayer-volume-wrap">\n <button type="button" class="aplayer-icon aplayer-icon-volume-down">\n ',t+=s.volumeDown,t+='\n </button>\n <div class="aplayer-volume-bar-wrap">\n <div class="aplayer-volume-bar">\n <div class="aplayer-volume" style="height: 80%; background: ',t+=o(a.theme),t+=';"></div>\n </div>\n </div>\n </div>\n <button type="button" class="aplayer-icon aplayer-icon-order">\n ',"list"===a.order?t+=s.orderList:"random"===a.order&&(t+=s.orderRandom),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-loop">\n ',"one"===a.loop?t+=s.loopOne:"all"===a.loop?t+=s.loopAll:"none"===a.loop&&(t+=s.loopNone),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-menu">\n ',t+=s.menu,t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-lrc">\n ',t+=s.lrc,t+='\n </button>\n </div>\n </div>\n </div>\n <div class="aplayer-notice"></div>\n <div class="aplayer-miniswitcher"><button class="aplayer-icon">',t+=s.right,t+='</button></div>\n</div>\n<div class="aplayer-lrc">\n <div class="aplayer-lrc-contents" style="transform: translateY(0); -webkit-transform: translateY(0);"></div>\n</div>\n'):(t+='\n<div class="aplayer-body">\n <div class="aplayer-pic" style="',r&&(t+="background-image: url(&quot;",t+=o(r),t+="&quot;);"),t+="background-color: ",t+=o(a.theme),t+=';">\n <div class="aplayer-button aplayer-play">',t+=s.play,t+='</div>\n </div>\n <div class="aplayer-info">\n <div class="aplayer-music">\n <span class="aplayer-title">No audio</span>\n <span class="aplayer-author"></span>\n </div>\n <div class="aplayer-lrc">\n <div class="aplayer-lrc-contents" style="transform: translateY(0); -webkit-transform: translateY(0);"></div>\n </div>\n <div class="aplayer-controller">\n <div class="aplayer-bar-wrap">\n <div class="aplayer-bar">\n <div class="aplayer-loaded" style="width: 0"></div>\n <div class="aplayer-played" style="width: 0; background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-thumb" style="background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-loading-icon">',t+=s.loading,t+='</span>\n </span>\n </div>\n </div>\n </div>\n <div class="aplayer-time">\n <span class="aplayer-time-inner">\n <span class="aplayer-ptime">00:00</span> / <span class="aplayer-dtime">00:00</span>\n </span>\n <span class="aplayer-icon aplayer-icon-back">\n ',t+=s.skip,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-play">\n ',t+=s.play,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-forward">\n ',t+=s.skip,t+='\n </span>\n <div class="aplayer-volume-wrap">\n <button type="button" class="aplayer-icon aplayer-icon-volume-down">\n ',t+=s.volumeDown,t+='\n </button>\n <div class="aplayer-volume-bar-wrap">\n <div class="aplayer-volume-bar">\n <div class="aplayer-volume" style="height: 80%; background: ',t+=o(a.theme),t+=';"></div>\n </div>\n </div>\n </div>\n <button type="button" class="aplayer-icon aplayer-icon-order">\n ',"list"===a.order?t+=s.orderList:"random"===a.order&&(t+=s.orderRandom),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-loop">\n ',"one"===a.loop?t+=s.loopOne:"all"===a.loop?t+=s.loopAll:"none"===a.loop&&(t+=s.loopNone),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-menu">\n ',t+=s.menu,t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-lrc">\n ',t+=s.lrc,t+='\n </button>\n </div>\n </div>\n </div>\n <div class="aplayer-notice"></div>\n <div class="aplayer-miniswitcher"><button class="aplayer-icon">',t+=s.right,t+='</button></div>\n</div>\n<div class="aplayer-list',a.listFolded&&(t+=" aplayer-list-hide"),t+='"',a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n <ol",a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n ",l(n(1)(u({theme:a.theme,audio:a.audio,index:1}))),t+="\n </ol>\n</div>\n"),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=o(n(3)),r=o(n(16));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.container=t.container,this.options=t.options,this.randomOrder=t.randomOrder,this.init()}return i(e,[{key:"init",value:function(){var e="";this.options.audio.length&&(e="random"===this.options.order?this.options.audio[this.randomOrder[0]].cover:this.options.audio[0].cover),this.container.innerHTML=(0,r.default)({options:this.options,icons:a.default,cover:e,getObject:function(e){return e}}),this.lrc=this.container.querySelector(".aplayer-lrc-contents"),this.lrcWrap=this.container.querySelector(".aplayer-lrc"),this.ptime=this.container.querySelector(".aplayer-ptime"),this.info=this.container.querySelector(".aplayer-info"),this.time=this.container.querySelector(".aplayer-time"),this.barWrap=this.container.querySelector(".aplayer-bar-wrap"),this.button=this.container.querySelector(".aplayer-button"),this.body=this.container.querySelector(".aplayer-body"),this.list=this.container.querySelector(".aplayer-list"),this.listOl=this.container.querySelector(".aplayer-list ol"),this.listCurs=this.container.querySelectorAll(".aplayer-list-cur"),this.played=this.container.querySelector(".aplayer-played"),this.loaded=this.container.querySelector(".aplayer-loaded"),this.thumb=this.container.querySelector(".aplayer-thumb"),this.volume=this.container.querySelector(".aplayer-volume"),this.volumeBar=this.container.querySelector(".aplayer-volume-bar"),this.volumeButton=this.container.querySelector(".aplayer-time button"),this.volumeBarWrap=this.container.querySelector(".aplayer-volume-bar-wrap"),this.loop=this.container.querySelector(".aplayer-icon-loop"),this.order=this.container.querySelector(".aplayer-icon-order"),this.menu=this.container.querySelector(".aplayer-icon-menu"),this.pic=this.container.querySelector(".aplayer-pic"),this.title=this.container.querySelector(".aplayer-title"),this.author=this.container.querySelector(".aplayer-author"),this.dtime=this.container.querySelector(".aplayer-dtime"),this.notice=this.container.querySelector(".aplayer-notice"),this.miniSwitcher=this.container.querySelector(".aplayer-miniswitcher"),this.skipBackButton=this.container.querySelector(".aplayer-icon-back"),this.skipForwardButton=this.container.querySelector(".aplayer-icon-forward"),this.skipPlayButton=this.container.querySelector(".aplayer-icon-play"),this.lrcButton=this.container.querySelector(".aplayer-icon-lrc")}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={container:e.element||document.getElementsByClassName("aplayer")[0],mini:e.narrow||e.fixed||!1,fixed:!1,autoplay:!1,mutex:!0,lrcType:e.showlrc||e.lrc||0,preload:"auto",theme:"#b7daff",loop:"all",order:"list",volume:.7,listFolded:e.fixed,listMaxHeight:e.listmaxheight||"250px",audio:e.music||[],storageName:"aplayer-setting"};for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n]);return"[object Array]"!==Object.prototype.toString.call(e.audio)&&(e.audio=[e.audio]),e.audio.map((function(e){return e.name=e.name||e.title||"Audio name",e.artist=e.artist||e.author||"Audio artist",e.cover=e.cover||e.pic,e.type=e.type||"normal",e})),e.audio.length<=1&&"one"===e.loop&&(e.loop="all"),e}},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M26.667 5.333h-21.333c-0 0-0.001 0-0.001 0-1.472 0-2.666 1.194-2.666 2.666 0 0 0 0.001 0 0.001v-0 16c0 0 0 0.001 0 0.001 0 1.472 1.194 2.666 2.666 2.666 0 0 0.001 0 0.001 0h21.333c0 0 0.001 0 0.001 0 1.472 0 2.666-1.194 2.666-2.666 0-0 0-0.001 0-0.001v0-16c0-0 0-0.001 0-0.001 0-1.472-1.194-2.666-2.666-2.666-0 0-0.001 0-0.001 0h0zM5.333 16h5.333v2.667h-5.333v-2.667zM18.667 24h-13.333v-2.667h13.333v2.667zM26.667 24h-5.333v-2.667h5.333v2.667zM26.667 18.667h-13.333v-2.667h13.333v2.667z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M25.468 6.947c-0.326-0.172-0.724-0.151-1.030 0.057l-6.438 4.38v-3.553c0-0.371-0.205-0.71-0.532-0.884-0.326-0.172-0.724-0.151-1.030 0.057l-12 8.164c-0.274 0.186-0.438 0.496-0.438 0.827s0.164 0.641 0.438 0.827l12 8.168c0.169 0.115 0.365 0.174 0.562 0.174 0.16 0 0.321-0.038 0.468-0.116 0.327-0.173 0.532-0.514 0.532-0.884v-3.556l6.438 4.382c0.169 0.115 0.365 0.174 0.562 0.174 0.16 0 0.321-0.038 0.468-0.116 0.327-0.173 0.532-0.514 0.532-0.884v-16.333c0-0.371-0.205-0.71-0.532-0.884z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M22 16l-10.105-10.6-1.895 1.987 8.211 8.613-8.211 8.612 1.895 1.988 8.211-8.613z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M4 16c0-6.6 5.4-12 12-12s12 5.4 12 12c0 1.2-0.8 2-2 2s-2-0.8-2-2c0-4.4-3.6-8-8-8s-8 3.6-8 8 3.6 8 8 8c1.2 0 2 0.8 2 2s-0.8 2-2 2c-6.6 0-12-5.4-12-12z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 29 32"><path d="M2.667 7.027l1.707-1.693 22.293 22.293-1.693 1.707-4-4h-11.64v4l-5.333-5.333 5.333-5.333v4h8.973l-8.973-8.973v0.973h-2.667v-3.64l-4-4zM22.667 17.333h2.667v5.573l-2.667-2.667v-2.907zM22.667 6.667v-4l5.333 5.333-5.333 5.333v-4h-10.907l-2.667-2.667h13.573z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 33 32"><path d="M9.333 9.333h13.333v4l5.333-5.333-5.333-5.333v4h-16v8h2.667v-5.333zM22.667 22.667h-13.333v-4l-5.333 5.333 5.333 5.333v-4h16v-8h-2.667v5.333zM17.333 20v-8h-1.333l-2.667 1.333v1.333h2v5.333h2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 29 32"><path d="M9.333 9.333h13.333v4l5.333-5.333-5.333-5.333v4h-16v8h2.667v-5.333zM22.667 22.667h-13.333v-4l-5.333 5.333 5.333 5.333v-4h16v-8h-2.667v5.333z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 22 32"><path d="M20.8 14.4q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2zM1.6 11.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2zM20.8 20.8q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M0.622 18.334h19.54v7.55l11.052-9.412-11.052-9.413v7.549h-19.54v3.725z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M22.667 4l7 6-7 6 7 6-7 6v-4h-3.653l-3.76-3.76 2.827-2.827 2.587 2.587h2v-8h-2l-12 12h-6v-4h4.347l12-12h3.653v-4zM2.667 8h6l3.76 3.76-2.827 2.827-2.587-2.587h-4.347v-4z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 28 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 28 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8zM20.576 16q0 1.344-0.768 2.528t-2.016 1.664q-0.16 0.096-0.448 0.096-0.448 0-0.8-0.32t-0.32-0.832q0-0.384 0.192-0.64t0.544-0.448 0.608-0.384 0.512-0.64 0.192-1.024-0.192-1.024-0.512-0.64-0.608-0.384-0.544-0.448-0.192-0.64q0-0.48 0.32-0.832t0.8-0.32q0.288 0 0.448 0.096 1.248 0.48 2.016 1.664t0.768 2.528z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 28 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8zM20.576 16q0 1.344-0.768 2.528t-2.016 1.664q-0.16 0.096-0.448 0.096-0.448 0-0.8-0.32t-0.32-0.832q0-0.384 0.192-0.64t0.544-0.448 0.608-0.384 0.512-0.64 0.192-1.024-0.192-1.024-0.512-0.64-0.608-0.384-0.544-0.448-0.192-0.64q0-0.48 0.32-0.832t0.8-0.32q0.288 0 0.448 0.096 1.248 0.48 2.016 1.664t0.768 2.528zM25.152 16q0 2.72-1.536 5.056t-4 3.36q-0.256 0.096-0.448 0.096-0.48 0-0.832-0.352t-0.32-0.8q0-0.704 0.672-1.056 1.024-0.512 1.376-0.8 1.312-0.96 2.048-2.4t0.736-3.104-0.736-3.104-2.048-2.4q-0.352-0.288-1.376-0.8-0.672-0.352-0.672-1.056 0-0.448 0.32-0.8t0.8-0.352q0.224 0 0.48 0.096 2.496 1.056 4 3.36t1.536 5.056zM29.728 16q0 4.096-2.272 7.552t-6.048 5.056q-0.224 0.096-0.448 0.096-0.48 0-0.832-0.352t-0.32-0.8q0-0.64 0.704-1.056 0.128-0.064 0.384-0.192t0.416-0.192q0.8-0.448 1.44-0.896 2.208-1.632 3.456-4.064t1.216-5.152-1.216-5.152-3.456-4.064q-0.64-0.448-1.44-0.896-0.128-0.096-0.416-0.192t-0.384-0.192q-0.704-0.416-0.704-1.056 0-0.448 0.32-0.8t0.832-0.352q0.224 0 0.448 0.096 3.776 1.632 6.048 5.056t2.272 7.552z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 17 32"><path d="M14.080 4.8q2.88 0 2.88 2.048v18.24q0 2.112-2.88 2.112t-2.88-2.112v-18.24q0-2.048 2.88-2.048zM2.88 4.8q2.88 0 2.88 2.048v18.24q0 2.112-2.88 2.112t-2.88-2.112v-18.24q0-2.048 2.88-2.048z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 16 31"><path d="M15.552 15.168q0.448 0.32 0.448 0.832 0 0.448-0.448 0.768l-13.696 8.512q-0.768 0.512-1.312 0.192t-0.544-1.28v-16.448q0-0.96 0.544-1.28t1.312 0.192z"></path></svg>'},function(e,t,n){"use strict";var i,a,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(e){if(i===setTimeout)return setTimeout(e,0);if((i===o||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:o}catch(e){i=o}try{a="function"==typeof clearTimeout?clearTimeout:s}catch(e){a=s}}();var u,c=[],p=!1,d=-1;function h(){p&&u&&(p=!1,u.length?c=u.concat(c):d=-1,c.length&&y())}function y(){if(!p){var e=l(h);p=!0;for(var t=c.length;t;){for(u=c,c=[];++d<t;)u&&u[d].run();d=-1,t=c.length}u=null,p=!1,function(e){if(a===clearTimeout)return clearTimeout(e);if((a===s||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(e);try{a(e)}catch(t){try{return a.call(null,e)}catch(t){return a.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function v(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new f(e,t)),1!==c.length||p||l(y)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=v,r.addListener=v,r.once=v,r.off=v,r.removeListener=v,r.removeAllListeners=v,r.emit=v,r.prependListener=v,r.prependOnceListener=v,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,n){"use strict";(function(e,t){!function(e,n){if(!e.setImmediate){var i,a,r,o,s,l=1,u={},c=!1,p=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?i=function(e){t.nextTick((function(){y(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(o="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(o)&&y(+t.data.slice(o.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),i=function(t){e.postMessage(o+t,"*")}):e.MessageChannel?((r=new MessageChannel).port1.onmessage=function(e){y(e.data)},i=function(e){r.port2.postMessage(e)}):p&&"onreadystatechange"in p.createElement("script")?(a=p.documentElement,i=function(e){var t=p.createElement("script");t.onreadystatechange=function(){y(e),t.onreadystatechange=null,a.removeChild(t),t=null},a.appendChild(t)}):i=function(e){setTimeout(y,0,e)},d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var a={callback:e,args:t};return u[l]=a,i(l),l++},d.clearImmediate=h}function h(e){delete u[e]}function y(e){if(c)setTimeout(y,0,e);else{var t=u[e];if(t){c=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(undefined,n)}}(t)}finally{h(e),c=!1}}}}}("undefined"==typeof self?void 0===e?void 0:e:self)}).call(this,n(4),n(34))},function(e,t,n){"use strict";var i=Function.prototype.apply;function a(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new a(i.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new a(i.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(35),t.setImmediate=setImmediate,t.clearImmediate=clearImmediate},function(e,t,n){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=setTimeout;function a(){}function r(e){if(!(this instanceof r))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],c(e,this)}function o(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,r._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var i;try{i=n(e._value)}catch(e){return void l(t.promise,e)}s(t.promise,i)}else(1===e._state?s:l)(t.promise,e._value)}))):e._deferreds.push(t)}function s(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===(void 0===t?"undefined":n(t))||"function"==typeof t)){var i=t.then;if(t instanceof r)return e._state=3,e._value=t,void u(e);if("function"==typeof i)return void c((a=i,o=t,function(){a.apply(o,arguments)}),e)}e._state=1,e._value=t,u(e)}catch(t){l(e,t)}var a,o}function l(e,t){e._state=2,e._value=t,u(e)}function u(e){2===e._state&&0===e._deferreds.length&&r._immediateFn((function(){e._handled||r._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t<n;t++)o(e,e._deferreds[t]);e._deferreds=null}function c(e,t){var n=!1;try{e((function(e){n||(n=!0,s(t,e))}),(function(e){n||(n=!0,l(t,e))}))}catch(e){if(n)return;n=!0,l(t,e)}}r.prototype.catch=function(e){return this.then(null,e)},r.prototype.then=function(e,t){var n=new this.constructor(a);return o(this,new function(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}(e,t,n)),n},r.prototype.finally=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))},r.all=function(e){return new r((function(t,i){if(!e||void 0===e.length)throw new TypeError("Promise.all accepts an array");var a=Array.prototype.slice.call(e);if(0===a.length)return t([]);var r=a.length;function o(e,s){try{if(s&&("object"===(void 0===s?"undefined":n(s))||"function"==typeof s)){var l=s.then;if("function"==typeof l)return void l.call(s,(function(t){o(e,t)}),i)}a[e]=s,0==--r&&t(a)}catch(e){i(e)}}for(var s=0;s<a.length;s++)o(s,a[s])}))},r.resolve=function(e){return e&&"object"===(void 0===e?"undefined":n(e))&&e.constructor===r?e:new r((function(t){t(e)}))},r.reject=function(e){return new r((function(t,n){n(e)}))},r.race=function(e){return new r((function(t,n){for(var i=0,a=e.length;i<a;i++)e[i].then(t,n)}))},r._immediateFn="function"==typeof t&&function(e){t(e)}||function(e){i(e,0)},r._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},e.exports=r}).call(this,n(36).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=v(n(37)),r=v(n(0)),o=v(n(3)),s=v(n(18)),l=v(n(17)),u=v(n(13)),c=v(n(12)),p=v(n(11)),d=v(n(9)),h=v(n(8)),y=v(n(7)),f=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}var m=[],g=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=(0,s.default)(t),this.container=this.options.container,this.paused=!0,this.playedPromise=a.default.resolve(),this.mode="normal",this.randomOrder=r.default.randomOrder(this.options.audio.length),this.container.classList.add("aplayer"),this.options.lrcType&&!this.options.fixed&&this.container.classList.add("aplayer-withlrc"),this.options.audio.length>1&&this.container.classList.add("aplayer-withlist"),r.default.isMobile&&this.container.classList.add("aplayer-mobile"),this.arrow=this.container.offsetWidth<=300,this.arrow&&this.container.classList.add("aplayer-arrow"),this.container=this.options.container,2===this.options.lrcType||!0===this.options.lrcType)for(var n=this.container.getElementsByClassName("aplayer-lrc-content"),i=0;i<n.length;i++)this.options.audio[i]&&(this.options.audio[i].lrc=n[i].innerHTML);this.template=new l.default({container:this.container,options:this.options,randomOrder:this.randomOrder}),this.options.fixed&&(this.container.classList.add("aplayer-fixed"),this.template.body.style.width=this.template.body.offsetWidth-18+"px"),this.options.mini&&(this.setMode("mini"),this.template.info.style.display="block"),this.template.info.offsetWidth<200&&this.template.time.classList.add("aplayer-time-narrow"),this.options.lrcType&&(this.lrc=new p.default({container:this.template.lrc,async:3===this.options.lrcType,player:this})),this.events=new y.default,this.storage=new c.default(this),this.bar=new u.default(this.template),this.controller=new d.default(this),this.timer=new h.default(this),this.list=new f.default(this),this.initAudio(),this.bindEvents(),"random"===this.options.order?this.list.switch(this.randomOrder[0]):this.list.switch(0),this.options.autoplay&&this.play(),m.push(this)}return i(e,[{key:"initAudio",value:function(){var e=this;this.audio=document.createElement("audio"),this.audio.preload=this.options.preload;for(var t=function(t){e.audio.addEventListener(e.events.audioEvents[t],(function(n){e.events.trigger(e.events.audioEvents[t],n)}))},n=0;n<this.events.audioEvents.length;n++)t(n);this.volume(this.storage.get("volume"),!0)}},{key:"bindEvents",value:function(){var e=this;this.on("play",(function(){e.paused&&e.setUIPlaying()})),this.on("pause",(function(){e.paused||e.setUIPaused()})),this.on("timeupdate",(function(){if(!e.disableTimeupdate){e.bar.set("played",e.audio.currentTime/e.duration,"width"),e.lrc&&e.lrc.update();var t=r.default.secondToTime(e.audio.currentTime);e.template.ptime.innerHTML!==t&&(e.template.ptime.innerHTML=t)}})),this.on("durationchange",(function(){1!==e.duration&&(e.template.dtime.innerHTML=r.default.secondToTime(e.duration))})),this.on("progress",(function(){var t=e.audio.buffered.length?e.audio.buffered.end(e.audio.buffered.length-1)/e.duration:0;e.bar.set("loaded",t,"width")}));var t=void 0;this.on("error",(function(){e.list.audios.length>1?(e.notice("An audio error has occurred, player will skip forward in 2 seconds."),t=setTimeout((function(){e.skipForward(),e.paused||e.play()}),2e3)):1===e.list.audios.length&&e.notice("An audio error has occurred.")})),this.events.on("listswitch",(function(){t&&clearTimeout(t)})),this.on("ended",(function(){"none"===e.options.loop?"list"===e.options.order?e.list.index<e.list.audios.length-1?(e.list.switch((e.list.index+1)%e.list.audios.length),e.play()):(e.list.switch((e.list.index+1)%e.list.audios.length),e.pause()):"random"===e.options.order&&(e.randomOrder.indexOf(e.list.index)<e.randomOrder.length-1?(e.list.switch(e.nextIndex()),e.play()):(e.list.switch(e.nextIndex()),e.pause())):"one"===e.options.loop?(e.list.switch(e.list.index),e.play()):"all"===e.options.loop&&(e.skipForward(),e.play())}))}},{key:"setAudio",value:function(e){this.hls&&(this.hls.destroy(),this.hls=null);var t=e.type;this.options.customAudioType&&this.options.customAudioType[t]?"[object Function]"===Object.prototype.toString.call(this.options.customAudioType[t])?this.options.customAudioType[t](this.audio,e,this):console.error("Illegal customType: "+t):(t&&"auto"!==t||(t=/m3u8(#|\?|$)/i.exec(e.url)?"hls":"normal"),"hls"===t?Hls.isSupported()?(this.hls=new Hls,this.hls.loadSource(e.url),this.hls.attachMedia(this.audio)):this.audio.canPlayType("application/x-mpegURL")||this.audio.canPlayType("application/vnd.apple.mpegURL")?this.audio.src=e.url:this.notice("Error: HLS is not supported."):"normal"===t&&(this.audio.src=e.url)),this.seek(0),this.paused||this.audio.play()}},{key:"theme",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.list.audios[this.list.index].theme||this.options.theme,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.list.index;(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])&&this.list.audios[t]&&(this.list.audios[t].theme=e),this.template.listCurs[t]&&(this.template.listCurs[t].style.backgroundColor=e),t===this.list.index&&(this.template.pic.style.backgroundColor=e,this.template.played.style.background=e,this.template.thumb.style.background=e,this.template.volume.style.background=e)}},{key:"seek",value:function(e){e=Math.max(e,0),e=Math.min(e,this.duration),this.audio.currentTime=e,this.bar.set("played",e/this.duration,"width"),this.template.ptime.innerHTML=r.default.secondToTime(e)}},{key:"setUIPlaying",value:function(){var e=this;if(this.paused&&(this.paused=!1,this.template.button.classList.remove("aplayer-play"),this.template.button.classList.add("aplayer-pause"),this.template.button.innerHTML="",setTimeout((function(){e.template.button.innerHTML=o.default.pause}),100),this.template.skipPlayButton.innerHTML=o.default.pause),this.timer.enable("loading"),this.options.mutex)for(var t=0;t<m.length;t++)this!==m[t]&&m[t].pause()}},{key:"play",value:function(){var e=this;this.setUIPlaying();var t=this.audio.play();t&&t.catch((function(t){console.warn(t),"NotAllowedError"===t.name&&e.setUIPaused()}))}},{key:"setUIPaused",value:function(){var e=this;this.paused||(this.paused=!0,this.template.button.classList.remove("aplayer-pause"),this.template.button.classList.add("aplayer-play"),this.template.button.innerHTML="",setTimeout((function(){e.template.button.innerHTML=o.default.play}),100),this.template.skipPlayButton.innerHTML=o.default.play),this.container.classList.remove("aplayer-loading"),this.timer.disable("loading")}},{key:"pause",value:function(){this.setUIPaused(),this.audio.pause()}},{key:"switchVolumeIcon",value:function(){this.volume()>=.95?this.template.volumeButton.innerHTML=o.default.volumeUp:this.volume()>0?this.template.volumeButton.innerHTML=o.default.volumeDown:this.template.volumeButton.innerHTML=o.default.volumeOff}},{key:"volume",value:function(e,t){return e=parseFloat(e),isNaN(e)||(e=Math.max(e,0),e=Math.min(e,1),this.bar.set("volume",e,"height"),t||this.storage.set("volume",e),this.audio.volume=e,this.audio.muted&&(this.audio.muted=!1),this.switchVolumeIcon()),this.audio.muted?0:this.audio.volume}},{key:"on",value:function(e,t){this.events.on(e,t)}},{key:"toggle",value:function(){this.template.button.classList.contains("aplayer-play")?this.play():this.template.button.classList.contains("aplayer-pause")&&this.pause()}},{key:"switchAudio",value:function(e){this.list.switch(e)}},{key:"addAudio",value:function(e){this.list.add(e)}},{key:"removeAudio",value:function(e){this.list.remove(e)}},{key:"destroy",value:function(){m.splice(m.indexOf(this),1),this.pause(),this.container.innerHTML="",this.audio.src="",this.timer.destroy(),this.events.trigger("destroy")}},{key:"setMode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"normal";this.mode=e,"mini"===e?this.container.classList.add("aplayer-narrow"):"normal"===e&&this.container.classList.remove("aplayer-narrow")}},{key:"notice",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.8;this.template.notice.innerHTML=e,this.template.notice.style.opacity=i,this.noticeTime&&clearTimeout(this.noticeTime),this.events.trigger("noticeshow",{text:e}),n&&(this.noticeTime=setTimeout((function(){t.template.notice.style.opacity=0,t.events.trigger("noticehide")}),n))}},{key:"prevIndex",value:function(){if(!(this.list.audios.length>1))return 0;if("list"===this.options.order)return this.list.index-1<0?this.list.audios.length-1:this.list.index-1;if("random"===this.options.order){var e=this.randomOrder.indexOf(this.list.index);return 0===e?this.randomOrder[this.randomOrder.length-1]:this.randomOrder[e-1]}}},{key:"nextIndex",value:function(){if(!(this.list.audios.length>1))return 0;if("list"===this.options.order)return(this.list.index+1)%this.list.audios.length;if("random"===this.options.order){var e=this.randomOrder.indexOf(this.list.index);return e===this.randomOrder.length-1?this.randomOrder[0]:this.randomOrder[e+1]}}},{key:"skipBack",value:function(){this.list.switch(this.prevIndex())}},{key:"skipForward",value:function(){this.list.switch(this.nextIndex())}},{key:"duration",get:function(){return isNaN(this.audio.duration)?0:this.audio.duration}}],[{key:"version",get:function(){return"1.10.1"}}]),e}();t.default=g},,function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(40);var i,a=(i=n(38))&&i.__esModule?i:{default:i};t.default=a.default}]).default}));0x115)](_0x5f0967(0xfc)),this[_0x5f0967(0x20b)]=this[_0x5f0967(0x15a)][_0x5f0967(0x115)](_0x5f0967(0x16f)),this['title']=this['container'][_0x5f0967(0x115)]('.aplayer-title'),this['author']=this[_0x5f0967(0x15a)][_0x5f0967(0x115)](_0x5f0967(0xf5)),this[_0x5f0967(0x129)]=this[_0x5f0967(0x15a)][_0x5f0967(0x115)](_0x5f0967(0xb9)),this[_0x5f0967(0xd7)]=this[_0x5f0967(0x15a)][_0x5f0967(0x115)]('.aplayer-notice'),this[_0x5f0967(0x19b)]=this[_0x5f0967(0x15a)][_0x5f0967(0x115)](_0x5f0967(0xc0)),this['skipBackButton']=this[_0x5f0967(0x15a)][_0x5f0967(0x115)](_0x5f0967(0x110)),this['skipForwardButton']=this[_0x5f0967(0x15a)][_0x5f0967(0x115)](_0x5f0967(0x13d)),this['skipPlayButton']=this['container'][_0x5f0967(0x115)](_0x5f0967(0x86)),this[_0x5f0967(0x204)]=this['container'][_0x5f0967(0x115)](_0x5f0967(0x260));}}]),_0x2f472a;}());_0x3e2444['default']=_0x1a70f4;},function(_0x1419df,_0x2739db,_0x1f5d46){'use strict';var _0x1328ef=_0x58e8;Object['defineProperty'](_0x2739db,_0x1328ef(0x131),{'value':!0x0}),_0x2739db['default']=function(_0x3fe802){var _0x393781=_0x1328ef,_0x5c2ae0={'container':_0x3fe802[_0x393781(0x213)]||document[_0x393781(0xa6)](_0x393781(0x100))[0x0],'mini':_0x3fe802[_0x393781(0x1e4)]||_0x3fe802[_0x393781(0x25b)]||!0x1,'fixed':!0x1,'autoplay':!0x1,'mutex':!0x0,'lrcType':_0x3fe802['showlrc']||_0x3fe802[_0x393781(0x112)]||0x0,'preload':_0x393781(0xca),'theme':_0x393781(0x162),'loop':_0x393781(0x82),'order':_0x393781(0xdb),'volume':0.7,'listFolded':_0x3fe802[_0x393781(0x25b)],'listMaxHeight':_0x3fe802[_0x393781(0x203)]||_0x393781(0x116),'audio':_0x3fe802[_0x393781(0x114)]||[],'storageName':_0x393781(0xff)};for(var _0x110ce4 in _0x5c2ae0)_0x5c2ae0[_0x393781(0xa4)](_0x110ce4)&&!_0x3fe802[_0x393781(0xa4)](_0x110ce4)&&(_0x3fe802[_0x110ce4]=_0x5c2ae0[_0x110ce4]);return _0x393781(0x14d)!==Object[_0x393781(0xd4)][_0x393781(0x1f6)][_0x393781(0xb3)](_0x3fe802['audio'])&&(_0x3fe802['audio']=[_0x3fe802[_0x393781(0x1a4)]]),_0x3fe802[_0x393781(0x1a4)][_0x393781(0x1ca)](function(_0x43379f){var _0x39bcb7=_0x393781;return _0x43379f[_0x39bcb7(0x113)]=_0x43379f[_0x39bcb7(0x113)]||_0x43379f[_0x39bcb7(0x191)]||_0x39bcb7(0x217),_0x43379f['artist']=_0x43379f[_0x39bcb7(0xaa)]||_0x43379f[_0x39bcb7(0x107)]||_0x39bcb7(0x9d),_0x43379f[_0x39bcb7(0x12a)]=_0x43379f[_0x39bcb7(0x12a)]||_0x43379f[_0x39bcb7(0x20b)],_0x43379f[_0x39bcb7(0x9a)]=_0x43379f['type']||_0x39bcb7(0x1ec),_0x43379f;}),_0x3fe802[_0x393781(0x1a4)][_0x393781(0x153)]<=0x1&&_0x393781(0xd2)===_0x3fe802['loop']&&(_0x3fe802[_0x393781(0x108)]=_0x393781(0x82)),_0x3fe802;};},function(_0x2241d2,_0x2c5251){var _0x5035d1=_0x58e8;_0x2241d2[_0x5035d1(0x1dd)]=_0x5035d1(0xcf);},function(_0x4fe285,_0xf83a9c){_0x4fe285['exports']='<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20version=\x221.1\x22\x20viewBox=\x220\x200\x2032\x2032\x22><path\x20d=\x22M25.468\x206.947c-0.326-0.172-0.724-0.151-1.030\x200.057l-6.438\x204.38v-3.553c0-0.371-0.205-0.71-0.532-0.884-0.326-0.172-0.724-0.151-1.030\x200.057l-12\x208.164c-0.274\x200.186-0.438\x200.496-0.438\x200.827s0.164\x200.641\x200.438\x200.827l12\x208.168c0.169\x200.115\x200.365\x200.174\x200.562\x200.174\x200.16\x200\x200.321-0.038\x200.468-0.116\x200.327-0.173\x200.532-0.514\x200.532-0.884v-3.556l6.438\x204.382c0.169\x200.115\x200.365\x200.174\x200.562\x200.174\x200.16\x200\x200.321-0.038\x200.468-0.116\x200.327-0.173\x200.532-0.514\x200.532-0.884v-16.333c0-0.371-0.205-0.71-0.532-0.884z\x22></path></svg>';},function(_0x54fe85,_0x11f39a){var _0x96a591=_0x58e8;_0x54fe85['exports']=_0x96a591(0xec);},function(_0x40f871,_0x263a61){var _0x4f756a=_0x58e8;_0x40f871[_0x4f756a(0x1dd)]='<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20version=\x221.1\x22\x20viewBox=\x220\x200\x2032\x2032\x22><path\x20d=\x22M4\x2016c0-6.6\x205.4-12\x2012-12s12\x205.4\x2012\x2012c0\x201.2-0.8\x202-2\x202s-2-0.8-2-2c0-4.4-3.6-8-8-8s-8\x203.6-8\x208\x203.6\x208\x208\x208c1.2\x200\x202\x200.8\x202\x202s-0.8\x202-2\x202c-6.6\x200-12-5.4-12-12z\x22></path></svg>';},function(_0x572023,_0x794001){var _0x1edf61=_0x58e8;_0x572023[_0x1edf61(0x1dd)]='<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20version=\x221.1\x22\x20viewBox=\x220\x200\x2029\x2032\x22><path\x20d=\x22M2.667\x207.027l1.707-1.693\x2022.293\x2022.293-1.693\x201.707-4-4h-11.64v4l-5.333-5.333\x205.333-5.333v4h8.973l-8.973-8.973v0.973h-2.667v-3.64l-4-4zM22.667\x2017.333h2.667v5.573l-2.667-2.667v-2.907zM22.667\x206.667v-4l5.333\x205.333-5.333\x205.333v-4h-10.907l-2.667-2.667h13.573z\x22></path></svg>';},function(_0x483188,_0x351f6a){var _0x136697=_0x58e8;_0x483188['exports']=_0x136697(0xb0);},function(_0x25a7d3,_0x3da063){var _0x3655fc=_0x58e8;_0x25a7d3['exports']=_0x3655fc(0xf1);},function(_0x3b0e38,_0x4f6aa4){var _0x16c329=_0x58e8;_0x3b0e38[_0x16c329(0x1dd)]=_0x16c329(0x1e7);},function(_0x104b82,_0x156afc){var _0x14f95d=_0x58e8;_0x104b82[_0x14f95d(0x1dd)]=_0x14f95d(0x10d);},function(_0x151aa0,_0x2bb16e){var _0x55015d=_0x58e8;_0x151aa0[_0x55015d(0x1dd)]=_0x55015d(0x1c7);},function(_0x1c0f3c,_0x57fb75){var _0x390c02=_0x58e8;_0x1c0f3c[_0x390c02(0x1dd)]=_0x390c02(0x13c);},function(_0x2fdc90,_0x56040e){_0x2fdc90['exports']='<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20version=\x221.1\x22\x20viewBox=\x220\x200\x2028\x2032\x22><path\x20d=\x22M13.728\x206.272v19.456q0\x200.448-0.352\x200.8t-0.8\x200.32-0.8-0.32l-5.952-5.952h-4.672q-0.48\x200-0.8-0.352t-0.352-0.8v-6.848q0-0.48\x200.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32\x200.8-0.32t0.8\x200.32\x200.352\x200.8zM20.576\x2016q0\x201.344-0.768\x202.528t-2.016\x201.664q-0.16\x200.096-0.448\x200.096-0.448\x200-0.8-0.32t-0.32-0.832q0-0.384\x200.192-0.64t0.544-0.448\x200.608-0.384\x200.512-0.64\x200.192-1.024-0.192-1.024-0.512-0.64-0.608-0.384-0.544-0.448-0.192-0.64q0-0.48\x200.32-0.832t0.8-0.32q0.288\x200\x200.448\x200.096\x201.248\x200.48\x202.016\x201.664t0.768\x202.528z\x22></path></svg>';},function(_0x46d00c,_0x154deb){var _0x3015bb=_0x58e8;_0x46d00c[_0x3015bb(0x1dd)]='<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20version=\x221.1\x22\x20viewBox=\x220\x200\x2028\x2032\x22><path\x20d=\x22M13.728\x206.272v19.456q0\x200.448-0.352\x200.8t-0.8\x200.32-0.8-0.32l-5.952-5.952h-4.672q-0.48\x200-0.8-0.352t-0.352-0.8v-6.848q0-0.48\x200.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32\x200.8-0.32t0.8\x200.32\x200.352\x200.8zM20.576\x2016q0\x201.344-0.768\x202.528t-2.016\x201.664q-0.16\x200.096-0.448\x200.096-0.448\x200-0.8-0.32t-0.32-0.832q0-0.384\x200.192-0.64t0.544-0.448\x200.608-0.384\x200.512-0.64\x200.192-1.024-0.192-1.024-0.512-0.64-0.608-0.384-0.544-0.448-0.192-0.64q0-0.48\x200.32-0.832t0.8-0.32q0.288\x200\x200.448\x200.096\x201.248\x200.48\x202.016\x201.664t0.768\x202.528zM25.152\x2016q0\x202.72-1.536\x205.056t-4\x203.36q-0.256\x200.096-0.448\x200.096-0.48\x200-0.832-0.352t-0.32-0.8q0-0.704\x200.672-1.056\x201.024-0.512\x201.376-0.8\x201.312-0.96\x202.048-2.4t0.736-3.104-0.736-3.104-2.048-2.4q-0.352-0.288-1.376-0.8-0.672-0.352-0.672-1.056\x200-0.448\x200.32-0.8t0.8-0.352q0.224\x200\x200.48\x200.096\x202.496\x201.056\x204\x203.36t1.536\x205.056zM29.728\x2016q0\x204.096-2.272\x207.552t-6.048\x205.056q-0.224\x200.096-0.448\x200.096-0.48\x200-0.832-0.352t-0.32-0.8q0-0.64\x200.704-1.056\x200.128-0.064\x200.384-0.192t0.416-0.192q0.8-0.448\x201.44-0.896\x202.208-1.632\x203.456-4.064t1.216-5.152-1.216-5.152-3.456-4.064q-0.64-0.448-1.44-0.896-0.128-0.096-0.416-0.192t-0.384-0.192q-0.704-0.416-0.704-1.056\x200-0.448\x200.32-0.8t0.832-0.352q0.224\x200\x200.448\x200.096\x203.776\x201.632\x206.048\x205.056t2.272\x207.552z\x22></path></svg>';},function(_0x40e77f,_0x7b58e0){var _0x4613bd=_0x58e8;_0x40e77f[_0x4613bd(0x1dd)]=_0x4613bd(0x8c);},function(_0x3d68e0,_0x191806){var _0x1056f8=_0x58e8;_0x3d68e0[_0x1056f8(0x1dd)]='<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20version=\x221.1\x22\x20viewBox=\x220\x200\x2016\x2031\x22><path\x20d=\x22M15.552\x2015.168q0.448\x200.32\x200.448\x200.832\x200\x200.448-0.448\x200.768l-13.696\x208.512q-0.768\x200.512-1.312\x200.192t-0.544-1.28v-16.448q0-0.96\x200.544-1.28t1.312\x200.192z\x22></path></svg>';},function(_0xa1272b,_0x3c4eb6,_0x48a112){'use strict';var _0x4d4af6=_0x58e8;var _0x7a3e1d,_0x24d57e,_0x2cd0b0=_0xa1272b['exports']={};function _0xb163b3(){throw new Error('setTimeout\x20has\x20not\x20been\x20defined');}function _0x1d99f3(){var _0x47c2d3=_0x58e8;throw new Error(_0x47c2d3(0x12d));}function _0x357cb9(_0xb5b519){var _0x2cad5b=_0x58e8;if(_0x7a3e1d===setTimeout)return setTimeout(_0xb5b519,0x0);if((_0x7a3e1d===_0xb163b3||!_0x7a3e1d)&&setTimeout)return _0x7a3e1d=setTimeout,setTimeout(_0xb5b519,0x0);try{return _0x7a3e1d(_0xb5b519,0x0);}catch(_0x22867d){try{return _0x7a3e1d[_0x2cad5b(0xb3)](null,_0xb5b519,0x0);}catch(_0x459c89){return _0x7a3e1d['call'](this,_0xb5b519,0x0);}}}!(function(){try{_0x7a3e1d='function'==typeof setTimeout?setTimeout:_0xb163b3;}catch(_0x203a3f){_0x7a3e1d=_0xb163b3;}try{_0x24d57e='function'==typeof clearTimeout?clearTimeout:_0x1d99f3;}catch(_0x5c1766){_0x24d57e=_0x1d99f3;}}());var _0x2b449a,_0x5406b4=[],_0xe6b094=!0x1,_0xf08a5=-0x1;function _0x4ce463(){var _0x20d5d3=_0x58e8;_0xe6b094&&_0x2b449a&&(_0xe6b094=!0x1,_0x2b449a['length']?_0x5406b4=_0x2b449a[_0x20d5d3(0x175)](_0x5406b4):_0xf08a5=-0x1,_0x5406b4[_0x20d5d3(0x153)]&&_0x23c3cb());}function _0x23c3cb(){var _0x395d1f=_0x58e8;if(!_0xe6b094){var _0x14d560=_0x357cb9(_0x4ce463);_0xe6b094=!0x0;for(var _0x540cfc=_0x5406b4[_0x395d1f(0x153)];_0x540cfc;){for(_0x2b449a=_0x5406b4,_0x5406b4=[];++_0xf08a5<_0x540cfc;)_0x2b449a&&_0x2b449a[_0xf08a5][_0x395d1f(0x1be)]();_0xf08a5=-0x1,_0x540cfc=_0x5406b4[_0x395d1f(0x153)];}_0x2b449a=null,_0xe6b094=!0x1,function(_0x39f93a){if(_0x24d57e===clearTimeout)return clearTimeout(_0x39f93a);if((_0x24d57e===_0x1d99f3||!_0x24d57e)&&clearTimeout)return _0x24d57e=clearTimeout,clearTimeout(_0x39f93a);try{_0x24d57e(_0x39f93a);}catch(_0x2cfcc7){try{return _0x24d57e['call'](null,_0x39f93a);}catch(_0x18d110){return _0x24d57e['call'](this,_0x39f93a);}}}(_0x14d560);}}function _0x5bab46(_0x29b8f3,_0x51fe04){var _0x5102eb=_0x58e8;this[_0x5102eb(0xb6)]=_0x29b8f3,this[_0x5102eb(0x88)]=_0x51fe04;}function _0x390e0e(){}_0x2cd0b0[_0x4d4af6(0x12f)]=function(_0x336408){var _0x4e6bd1=_0x4d4af6,_0x2cc584=new Array(arguments[_0x4e6bd1(0x153)]-0x1);if(arguments['length']>0x1){for(var _0x2d7ee8=0x1;_0x2d7ee8<arguments['length'];_0x2d7ee8++)_0x2cc584[_0x2d7ee8-0x1]=arguments[_0x2d7ee8];}_0x5406b4[_0x4e6bd1(0x1ab)](new _0x5bab46(_0x336408,_0x2cc584)),0x1!==_0x5406b4[_0x4e6bd1(0x153)]||_0xe6b094||_0x357cb9(_0x23c3cb);},_0x5bab46['prototype'][_0x4d4af6(0x1be)]=function(){var _0x9aec8d=_0x4d4af6;this[_0x9aec8d(0xb6)][_0x9aec8d(0x1d2)](null,this[_0x9aec8d(0x88)]);},_0x2cd0b0['title']='browser',_0x2cd0b0[_0x4d4af6(0x193)]=!0x0,_0x2cd0b0['env']={},_0x2cd0b0[_0x4d4af6(0x183)]=[],_0x2cd0b0['version']='',_0x2cd0b0[_0x4d4af6(0x24d)]={},_0x2cd0b0['on']=_0x390e0e,_0x2cd0b0[_0x4d4af6(0x215)]=_0x390e0e,_0x2cd0b0[_0x4d4af6(0x144)]=_0x390e0e,_0x2cd0b0[_0x4d4af6(0x91)]=_0x390e0e,_0x2cd0b0[_0x4d4af6(0x188)]=_0x390e0e,_0x2cd0b0[_0x4d4af6(0x1c6)]=_0x390e0e,_0x2cd0b0[_0x4d4af6(0x130)]=_0x390e0e,_0x2cd0b0[_0x4d4af6(0x9b)]=_0x390e0e,_0x2cd0b0[_0x4d4af6(0xc1)]=_0x390e0e,_0x2cd0b0[_0x4d4af6(0x168)]=function(_0x4dc13f){return[];},_0x2cd0b0[_0x4d4af6(0x220)]=function(_0x26aa95){throw new Error('process.binding\x20is\x20not\x20supported');},_0x2cd0b0[_0x4d4af6(0x1f4)]=function(){return'/';},_0x2cd0b0[_0x4d4af6(0xdc)]=function(_0x349b9d){var _0x22fae4=_0x4d4af6;throw new Error(_0x22fae4(0x1fc));},_0x2cd0b0[_0x4d4af6(0xf3)]=function(){return 0x0;};},function(_0x238c70,_0x4d742c,_0x487d3e){'use strict';var _0x1be414=_0x58e8;(function(_0xfcae0d,_0x57c73b){var _0x2364ec=_0x58e8;!function(_0x3542e1,_0xd3074c){var _0xb75e67=_0x58e8;if(!_0x3542e1[_0xb75e67(0x11a)]){var _0x47260e,_0x29ac39,_0x4a071c,_0x401cdf,_0x341122,_0x465e6=0x1,_0x29f86a={},_0x3db2e0=!0x1,_0x3cf274=_0x3542e1[_0xb75e67(0x1cd)],_0x1c5e1e=Object[_0xb75e67(0xb1)]&&Object[_0xb75e67(0xb1)](_0x3542e1);_0x1c5e1e=_0x1c5e1e&&_0x1c5e1e[_0xb75e67(0xfd)]?_0x1c5e1e:_0x3542e1,_0xb75e67(0x230)==={}[_0xb75e67(0x1f6)][_0xb75e67(0xb3)](_0x3542e1[_0xb75e67(0x196)])?_0x47260e=function(_0x73d6b1){_0x57c73b['nextTick'](function(){_0xac4215(_0x73d6b1);});}:!(function(){var _0x53f137=_0xb75e67;if(_0x3542e1[_0x53f137(0x20c)]&&!_0x3542e1[_0x53f137(0x15e)]){var _0x52ffe8=!0x0,_0x3b2cfa=_0x3542e1[_0x53f137(0x232)];return _0x3542e1['onmessage']=function(){_0x52ffe8=!0x1;},_0x3542e1[_0x53f137(0x20c)]('','*'),_0x3542e1['onmessage']=_0x3b2cfa,_0x52ffe8;}}())?_0x3542e1['MessageChannel']?((_0x4a071c=new MessageChannel())['port1'][_0xb75e67(0x232)]=function(_0x26e112){var _0x3f982f=_0xb75e67;_0xac4215(_0x26e112[_0x3f982f(0x127)]);},_0x47260e=function(_0x5ccf6b){var _0x518cdb=_0xb75e67;_0x4a071c[_0x518cdb(0x17b)][_0x518cdb(0x20c)](_0x5ccf6b);}):_0x3cf274&&_0xb75e67(0x1e5)in _0x3cf274[_0xb75e67(0x135)](_0xb75e67(0x20f))?(_0x29ac39=_0x3cf274[_0xb75e67(0x1d6)],_0x47260e=function(_0x2f37c7){var _0x75fd81=_0xb75e67,_0x528481=_0x3cf274[_0x75fd81(0x135)](_0x75fd81(0x20f));_0x528481[_0x75fd81(0x1e5)]=function(){var _0x12d63f=_0x75fd81;_0xac4215(_0x2f37c7),_0x528481['onreadystatechange']=null,_0x29ac39[_0x12d63f(0x150)](_0x528481),_0x528481=null;},_0x29ac39[_0x75fd81(0x25e)](_0x528481);}):_0x47260e=function(_0x1abe9c){setTimeout(_0xac4215,0x0,_0x1abe9c);}:(_0x401cdf=_0xb75e67(0x250)+Math['random']()+'$',_0x341122=function(_0x360fde){var _0x5beefa=_0xb75e67;_0x360fde['source']===_0x3542e1&&_0x5beefa(0x1bc)==typeof _0x360fde[_0x5beefa(0x127)]&&0x0===_0x360fde[_0x5beefa(0x127)]['indexOf'](_0x401cdf)&&_0xac4215(+_0x360fde['data'][_0x5beefa(0x248)](_0x401cdf[_0x5beefa(0x153)]));},_0x3542e1[_0xb75e67(0x214)]?_0x3542e1['addEventListener']('message',_0x341122,!0x1):_0x3542e1['attachEvent'](_0xb75e67(0x232),_0x341122),_0x47260e=function(_0x52e4c5){var _0x4c921d=_0xb75e67;_0x3542e1[_0x4c921d(0x20c)](_0x401cdf+_0x52e4c5,'*');}),_0x1c5e1e[_0xb75e67(0x11a)]=function(_0x5db747){var _0x351d33=_0xb75e67;_0x351d33(0xe4)!=typeof _0x5db747&&(_0x5db747=new Function(''+_0x5db747));for(var _0x43f577=new Array(arguments[_0x351d33(0x153)]-0x1),_0x14a18b=0x0;_0x14a18b<_0x43f577[_0x351d33(0x153)];_0x14a18b++)_0x43f577[_0x14a18b]=arguments[_0x14a18b+0x1];var _0x249034={'callback':_0x5db747,'args':_0x43f577};return _0x29f86a[_0x465e6]=_0x249034,_0x47260e(_0x465e6),_0x465e6++;},_0x1c5e1e[_0xb75e67(0xdf)]=_0x1e9473;}function _0x1e9473(_0x4636ed){delete _0x29f86a[_0x4636ed];}function _0xac4215(_0x31459a){if(_0x3db2e0)setTimeout(_0xac4215,0x0,_0x31459a);else{var _0x736cc4=_0x29f86a[_0x31459a];if(_0x736cc4){_0x3db2e0=!0x0;try{!function(_0x5d6996){var _0x26093b=_0x58e8,_0x408eaf=_0x5d6996[_0x26093b(0xcb)],_0x5e0393=_0x5d6996[_0x26093b(0x118)];switch(_0x5e0393[_0x26093b(0x153)]){case 0x0:_0x408eaf();break;case 0x1:_0x408eaf(_0x5e0393[0x0]);break;case 0x2:_0x408eaf(_0x5e0393[0x0],_0x5e0393[0x1]);break;case 0x3:_0x408eaf(_0x5e0393[0x0],_0x5e0393[0x1],_0x5e0393[0x2]);break;default:_0x408eaf['apply'](_0xd3074c,_0x5e0393);}}(_0x736cc4);}finally{_0x1e9473(_0x31459a),_0x3db2e0=!0x1;}}}}}(_0x2364ec(0x19a)==typeof self?void 0x0===_0xfcae0d?void 0x0:_0xfcae0d:self);}[_0x1be414(0xb3)](this,_0x487d3e(0x4),_0x487d3e(0x22)));},function(_0x48052b,_0x432e64,_0x2650fc){'use strict';var _0x1a247a=_0x58e8;var _0x1e9d1b=Function[_0x1a247a(0xd4)][_0x1a247a(0x1d2)];function _0x1eb851(_0xccd7c5,_0x49a488){var _0x2e1c65=_0x1a247a;this['_id']=_0xccd7c5,this[_0x2e1c65(0x81)]=_0x49a488;}_0x432e64[_0x1a247a(0xfd)]=function(){return new _0x1eb851(_0x1e9d1b['call'](setTimeout,window,arguments),clearTimeout);},_0x432e64['setInterval']=function(){return new _0x1eb851(_0x1e9d1b['call'](setInterval,window,arguments),clearInterval);},_0x432e64[_0x1a247a(0x111)]=_0x432e64[_0x1a247a(0x14c)]=function(_0x24b1a1){var _0x5c2447=_0x1a247a;_0x24b1a1&&_0x24b1a1[_0x5c2447(0x1cc)]();},_0x1eb851[_0x1a247a(0xd4)][_0x1a247a(0x23a)]=_0x1eb851[_0x1a247a(0xd4)]['ref']=function(){},_0x1eb851[_0x1a247a(0xd4)][_0x1a247a(0x1cc)]=function(){var _0x1e78a8=_0x1a247a;this[_0x1e78a8(0x81)][_0x1e78a8(0xb3)](window,this[_0x1e78a8(0x173)]);},_0x432e64['enroll']=function(_0x484e63,_0x57d5cd){clearTimeout(_0x484e63['_idleTimeoutId']),_0x484e63['_idleTimeout']=_0x57d5cd;},_0x432e64[_0x1a247a(0x99)]=function(_0x4bfc6d){var _0x225ba2=_0x1a247a;clearTimeout(_0x4bfc6d['_idleTimeoutId']),_0x4bfc6d[_0x225ba2(0x211)]=-0x1;},_0x432e64[_0x1a247a(0x206)]=_0x432e64[_0x1a247a(0x146)]=function(_0x56c657){var _0x1ca5d7=_0x1a247a;clearTimeout(_0x56c657[_0x1ca5d7(0x166)]);var _0x17885e=_0x56c657['_idleTimeout'];_0x17885e>=0x0&&(_0x56c657[_0x1ca5d7(0x166)]=setTimeout(function(){var _0x2143e8=_0x1ca5d7;_0x56c657[_0x2143e8(0x1ae)]&&_0x56c657[_0x2143e8(0x1ae)]();},_0x17885e));},_0x2650fc(0x23),_0x432e64[_0x1a247a(0x11a)]=setImmediate,_0x432e64[_0x1a247a(0xdf)]=clearImmediate;},function(_0x791001,_0x2cfa09,_0x3a6573){'use strict';var _0x2dd0d7=_0x58e8;(function(_0x5df7cb){var _0x4aee35=_0x58e8,_0x12cae6=_0x4aee35(0xe4)==typeof Symbol&&'symbol'==typeof Symbol[_0x4aee35(0x141)]?function(_0x5a47f5){return typeof _0x5a47f5;}:function(_0x3ad00e){var _0x17bf89=_0x4aee35;return _0x3ad00e&&_0x17bf89(0xe4)==typeof Symbol&&_0x3ad00e['constructor']===Symbol&&_0x3ad00e!==Symbol[_0x17bf89(0xd4)]?_0x17bf89(0x1e9):typeof _0x3ad00e;},_0x1afd61=setTimeout;function _0x33f34b(){}function _0x5a1d33(_0xc8e79f){var _0x26786e=_0x4aee35;if(!(this instanceof _0x5a1d33))throw new TypeError(_0x26786e(0x1d8));if(_0x26786e(0xe4)!=typeof _0xc8e79f)throw new TypeError(_0x26786e(0xe9));this['_state']=0x0,this[_0x26786e(0x219)]=!0x1,this['_value']=void 0x0,this[_0x26786e(0x1ea)]=[],_0x4a7c4d(_0xc8e79f,this);}function _0x7babb(_0x32b584,_0x13897a){var _0x2ce7f5=_0x4aee35;for(;0x3===_0x32b584[_0x2ce7f5(0x80)];)_0x32b584=_0x32b584[_0x2ce7f5(0xb4)];0x0!==_0x32b584[_0x2ce7f5(0x80)]?(_0x32b584[_0x2ce7f5(0x219)]=!0x0,_0x5a1d33[_0x2ce7f5(0x17d)](function(){var _0x49be6d=_0x2ce7f5,_0x501ad5=0x1===_0x32b584['_state']?_0x13897a['onFulfilled']:_0x13897a[_0x49be6d(0x21b)];if(null!==_0x501ad5){var _0x217ed2;try{_0x217ed2=_0x501ad5(_0x32b584['_value']);}catch(_0x5cf7e4){return void _0x3e3775(_0x13897a[_0x49be6d(0x87)],_0x5cf7e4);}_0x1adf5d(_0x13897a[_0x49be6d(0x87)],_0x217ed2);}else(0x1===_0x32b584[_0x49be6d(0x80)]?_0x1adf5d:_0x3e3775)(_0x13897a[_0x49be6d(0x87)],_0x32b584[_0x49be6d(0xb4)]);})):_0x32b584[_0x2ce7f5(0x1ea)][_0x2ce7f5(0x1ab)](_0x13897a);}function _0x1adf5d(_0x1090e0,_0x5319fd){var _0x570826=_0x4aee35;try{if(_0x5319fd===_0x1090e0)throw new TypeError(_0x570826(0x104));if(_0x5319fd&&(_0x570826(0x1fa)===(void 0x0===_0x5319fd?_0x570826(0x19a):_0x12cae6(_0x5319fd))||_0x570826(0xe4)==typeof _0x5319fd)){var _0x1bde65=_0x5319fd[_0x570826(0xe8)];if(_0x5319fd instanceof _0x5a1d33)return _0x1090e0[_0x570826(0x80)]=0x3,_0x1090e0[_0x570826(0xb4)]=_0x5319fd,void _0x47b9f9(_0x1090e0);if(_0x570826(0xe4)==typeof _0x1bde65)return void _0x4a7c4d((_0x9d5e11=_0x1bde65,_0x48c8cf=_0x5319fd,function(){_0x9d5e11['apply'](_0x48c8cf,arguments);}),_0x1090e0);}_0x1090e0[_0x570826(0x80)]=0x1,_0x1090e0[_0x570826(0xb4)]=_0x5319fd,_0x47b9f9(_0x1090e0);}catch(_0x5bea4b){_0x3e3775(_0x1090e0,_0x5bea4b);}var _0x9d5e11,_0x48c8cf;}function _0x3e3775(_0x212eb3,_0x51ca90){var _0x2e0adb=_0x4aee35;_0x212eb3['_state']=0x2,_0x212eb3[_0x2e0adb(0xb4)]=_0x51ca90,_0x47b9f9(_0x212eb3);}function _0x47b9f9(_0x174cb0){var _0x4f30e0=_0x4aee35;0x2===_0x174cb0[_0x4f30e0(0x80)]&&0x0===_0x174cb0['_deferreds'][_0x4f30e0(0x153)]&&_0x5a1d33[_0x4f30e0(0x17d)](function(){var _0x51555c=_0x4f30e0;_0x174cb0['_handled']||_0x5a1d33[_0x51555c(0x1d1)](_0x174cb0[_0x51555c(0xb4)]);});for(var _0x20bbaf=0x0,_0x5b5e9d=_0x174cb0[_0x4f30e0(0x1ea)][_0x4f30e0(0x153)];_0x20bbaf<_0x5b5e9d;_0x20bbaf++)_0x7babb(_0x174cb0,_0x174cb0[_0x4f30e0(0x1ea)][_0x20bbaf]);_0x174cb0['_deferreds']=null;}function _0x4a7c4d(_0x119fdd,_0x13c6fd){var _0xf823fa=!0x1;try{_0x119fdd(function(_0x45aaf8){_0xf823fa||(_0xf823fa=!0x0,_0x1adf5d(_0x13c6fd,_0x45aaf8));},function(_0x440c3b){_0xf823fa||(_0xf823fa=!0x0,_0x3e3775(_0x13c6fd,_0x440c3b));});}catch(_0x283008){if(_0xf823fa)return;_0xf823fa=!0x0,_0x3e3775(_0x13c6fd,_0x283008);}}_0x5a1d33[_0x4aee35(0xd4)][_0x4aee35(0xed)]=function(_0x2b29d8){var _0x545801=_0x4aee35;return this[_0x545801(0xe8)](null,_0x2b29d8);},_0x5a1d33['prototype'][_0x4aee35(0xe8)]=function(_0x54ce9c,_0x1f0a97){var _0x48cd10=_0x4aee35,_0x40e827=new this[(_0x48cd10(0x78))](_0x33f34b);return _0x7babb(this,new function(_0x53243a,_0x52c9a5,_0x4d50e4){var _0x5333af=_0x48cd10;this[_0x5333af(0x1b0)]=_0x5333af(0xe4)==typeof _0x53243a?_0x53243a:null,this[_0x5333af(0x21b)]=_0x5333af(0xe4)==typeof _0x52c9a5?_0x52c9a5:null,this['promise']=_0x4d50e4;}(_0x54ce9c,_0x1f0a97,_0x40e827)),_0x40e827;},_0x5a1d33[_0x4aee35(0xd4)]['finally']=function(_0x33e968){var _0x3cb46d=_0x4aee35,_0x1e2c01=this[_0x3cb46d(0x78)];return this[_0x3cb46d(0xe8)](function(_0x1efc1e){var _0x3c0899=_0x3cb46d;return _0x1e2c01['resolve'](_0x33e968())[_0x3c0899(0xe8)](function(){return _0x1efc1e;});},function(_0x4a5008){var _0x4da8f9=_0x3cb46d;return _0x1e2c01[_0x4da8f9(0x1af)](_0x33e968())[_0x4da8f9(0xe8)](function(){var _0x524074=_0x4da8f9;return _0x1e2c01[_0x524074(0x170)](_0x4a5008);});});},_0x5a1d33[_0x4aee35(0x82)]=function(_0x259c97){return new _0x5a1d33(function(_0x509e15,_0xfb6441){var _0x465db2=_0x58e8;if(!_0x259c97||void 0x0===_0x259c97[_0x465db2(0x153)])throw new TypeError('Promise.all\x20accepts\x20an\x20array');var _0x33d8f8=Array[_0x465db2(0xd4)][_0x465db2(0x248)]['call'](_0x259c97);if(0x0===_0x33d8f8['length'])return _0x509e15([]);var _0x13a6cb=_0x33d8f8[_0x465db2(0x153)];function _0x4b6a4d(_0x2dda21,_0x24392d){var _0x2b0b29=_0x465db2;try{if(_0x24392d&&(_0x2b0b29(0x1fa)===(void 0x0===_0x24392d?'undefined':_0x12cae6(_0x24392d))||_0x2b0b29(0xe4)==typeof _0x24392d)){var _0x2594fc=_0x24392d['then'];if(_0x2b0b29(0xe4)==typeof _0x2594fc)return void _0x2594fc[_0x2b0b29(0xb3)](_0x24392d,function(_0x520345){_0x4b6a4d(_0x2dda21,_0x520345);},_0xfb6441);}_0x33d8f8[_0x2dda21]=_0x24392d,0x0==--_0x13a6cb&&_0x509e15(_0x33d8f8);}catch(_0x468570){_0xfb6441(_0x468570);}}for(var _0x1fa878=0x0;_0x1fa878<_0x33d8f8[_0x465db2(0x153)];_0x1fa878++)_0x4b6a4d(_0x1fa878,_0x33d8f8[_0x1fa878]);});},_0x5a1d33[_0x4aee35(0x1af)]=function(_0x29b05d){var _0x34d924=_0x4aee35;return _0x29b05d&&_0x34d924(0x1fa)===(void 0x0===_0x29b05d?_0x34d924(0x19a):_0x12cae6(_0x29b05d))&&_0x29b05d['constructor']===_0x5a1d33?_0x29b05d:new _0x5a1d33(function(_0x2b67b9){_0x2b67b9(_0x29b05d);});},_0x5a1d33[_0x4aee35(0x170)]=function(_0x54fcd6){return new _0x5a1d33(function(_0x20cefd,_0x3de0fd){_0x3de0fd(_0x54fcd6);});},_0x5a1d33[_0x4aee35(0x24b)]=function(_0x1ee062){return new _0x5a1d33(function(_0xad51a0,_0x2e00f6){var _0x3512b3=_0x58e8;for(var _0x3faea4=0x0,_0x5542c2=_0x1ee062['length'];_0x3faea4<_0x5542c2;_0x3faea4++)_0x1ee062[_0x3faea4][_0x3512b3(0xe8)](_0xad51a0,_0x2e00f6);});},_0x5a1d33[_0x4aee35(0x17d)]=_0x4aee35(0xe4)==typeof _0x5df7cb&&function(_0x26006b){_0x5df7cb(_0x26006b);}||function(_0x242a34){_0x1afd61(_0x242a34,0x0);},_0x5a1d33[_0x4aee35(0x1d1)]=function(_0x289495){var _0xfdc96b=_0x4aee35;_0xfdc96b(0x19a)!=typeof console&&console&&console['warn'](_0xfdc96b(0x8e),_0x289495);},_0x791001[_0x4aee35(0x1dd)]=_0x5a1d33;}[_0x2dd0d7(0xb3)](this,_0x3a6573(0x24)[_0x2dd0d7(0x11a)]));},function(_0x323e98,_0x592584,_0x350059){'use strict';var _0x80f4db=_0x58e8;Object['defineProperty'](_0x592584,_0x80f4db(0x131),{'value':!0x0});var _0x4a4970=(function(){function _0x5bb746(_0x69f077,_0x1ce013){var _0x538f01=_0x58e8;for(var _0x5ef0c7=0x0;_0x5ef0c7<_0x1ce013['length'];_0x5ef0c7++){var _0x5b797d=_0x1ce013[_0x5ef0c7];_0x5b797d[_0x538f01(0x25f)]=_0x5b797d[_0x538f01(0x25f)]||!0x1,_0x5b797d[_0x538f01(0x17c)]=!0x0,_0x538f01(0x20d)in _0x5b797d&&(_0x5b797d[_0x538f01(0x187)]=!0x0),Object[_0x538f01(0x22e)](_0x69f077,_0x5b797d['key'],_0x5b797d);}}return function(_0x426d5d,_0x18ce94,_0x9846b7){var _0x3a9f36=_0x58e8;return _0x18ce94&&_0x5bb746(_0x426d5d[_0x3a9f36(0xd4)],_0x18ce94),_0x9846b7&&_0x5bb746(_0x426d5d,_0x9846b7),_0x426d5d;};}()),_0x1bd1c5=_0x30a8b1(_0x350059(0x25)),_0x274df2=_0x30a8b1(_0x350059(0x0)),_0x490ce4=_0x30a8b1(_0x350059(0x3)),_0x3cb5a4=_0x30a8b1(_0x350059(0x12)),_0x3b64bc=_0x30a8b1(_0x350059(0x11)),_0x4c2d33=_0x30a8b1(_0x350059(0xd)),_0x1d4996=_0x30a8b1(_0x350059(0xc)),_0x5d3399=_0x30a8b1(_0x350059(0xb)),_0x1a9495=_0x30a8b1(_0x350059(0x9)),_0x50a733=_0x30a8b1(_0x350059(0x8)),_0x495276=_0x30a8b1(_0x350059(0x7)),_0x535962=_0x30a8b1(_0x350059(0x6));function _0x30a8b1(_0x2567b1){var _0x58d052=_0x80f4db;return _0x2567b1&&_0x2567b1[_0x58d052(0x131)]?_0x2567b1:{'default':_0x2567b1};}var _0x3edc0e=[],_0x115c5d=(function(){var _0x14f864=_0x80f4db;function _0x538834(_0xa3739e){var _0xa18c7=_0x58e8;if(function(_0x58f127,_0x23e006){var _0x39e0b6=_0x58e8;if(!(_0x58f127 instanceof _0x23e006))throw new TypeError(_0x39e0b6(0x16a));}(this,_0x538834),this['options']=(0x0,_0x3cb5a4[_0xa18c7(0x101)])(_0xa3739e),this['container']=this[_0xa18c7(0x123)][_0xa18c7(0x15a)],this[_0xa18c7(0x138)]=!0x0,this[_0xa18c7(0x10a)]=_0x1bd1c5[_0xa18c7(0x101)][_0xa18c7(0x1af)](),this['mode']=_0xa18c7(0x1ec),this[_0xa18c7(0x229)]=_0x274df2[_0xa18c7(0x101)][_0xa18c7(0x229)](this[_0xa18c7(0x123)][_0xa18c7(0x1a4)]['length']),this[_0xa18c7(0x15a)][_0xa18c7(0x209)]['add']('aplayer'),this[_0xa18c7(0x123)]['lrcType']&&!this['options']['fixed']&&this['container'][_0xa18c7(0x209)][_0xa18c7(0x1d5)]('aplayer-withlrc'),this['options']['audio'][_0xa18c7(0x153)]>0x1&&this[_0xa18c7(0x15a)][_0xa18c7(0x209)][_0xa18c7(0x1d5)](_0xa18c7(0x10e)),_0x274df2[_0xa18c7(0x101)][_0xa18c7(0x15b)]&&this[_0xa18c7(0x15a)]['classList'][_0xa18c7(0x1d5)](_0xa18c7(0xd1)),this[_0xa18c7(0x227)]=this['container']['offsetWidth']<=0x12c,this[_0xa18c7(0x227)]&&this[_0xa18c7(0x15a)]['classList']['add'](_0xa18c7(0x1dc)),this[_0xa18c7(0x15a)]=this[_0xa18c7(0x123)]['container'],0x2===this['options'][_0xa18c7(0x24e)]||!0x0===this[_0xa18c7(0x123)][_0xa18c7(0x24e)]){for(var _0x77b3bf=this['container'][_0xa18c7(0xa6)](_0xa18c7(0x1f7)),_0x1b29af=0x0;_0x1b29af<_0x77b3bf[_0xa18c7(0x153)];_0x1b29af++)this[_0xa18c7(0x123)][_0xa18c7(0x1a4)][_0x1b29af]&&(this[_0xa18c7(0x123)][_0xa18c7(0x1a4)][_0x1b29af][_0xa18c7(0x112)]=_0x77b3bf[_0x1b29af][_0xa18c7(0x195)]);}this[_0xa18c7(0xea)]=new _0x3b64bc[(_0xa18c7(0x101))]({'container':this[_0xa18c7(0x15a)],'options':this[_0xa18c7(0x123)],'randomOrder':this[_0xa18c7(0x229)]}),this[_0xa18c7(0x123)][_0xa18c7(0x25b)]&&(this['container']['classList'][_0xa18c7(0x1d5)](_0xa18c7(0x21a)),this[_0xa18c7(0xea)][_0xa18c7(0x22b)]['style']['width']=this[_0xa18c7(0xea)][_0xa18c7(0x22b)]['offsetWidth']-0x12+'px'),this[_0xa18c7(0x123)]['mini']&&(this[_0xa18c7(0x1d9)](_0xa18c7(0x159)),this[_0xa18c7(0xea)]['info'][_0xa18c7(0x1b9)]['display']=_0xa18c7(0x178)),this[_0xa18c7(0xea)]['info'][_0xa18c7(0xf8)]<0xc8&&this[_0xa18c7(0xea)][_0xa18c7(0x1ba)]['classList'][_0xa18c7(0x1d5)]('aplayer-time-narrow'),this[_0xa18c7(0x123)][_0xa18c7(0x24e)]&&(this['lrc']=new _0x5d3399['default']({'container':this[_0xa18c7(0xea)]['lrc'],'async':0x3===this[_0xa18c7(0x123)][_0xa18c7(0x24e)],'player':this})),this['events']=new _0x495276[(_0xa18c7(0x101))](),this[_0xa18c7(0x1eb)]=new _0x1d4996[(_0xa18c7(0x101))](this),this[_0xa18c7(0x1a2)]=new _0x4c2d33['default'](this[_0xa18c7(0xea)]),this[_0xa18c7(0x17a)]=new _0x1a9495[(_0xa18c7(0x101))](this),this[_0xa18c7(0x244)]=new _0x50a733[(_0xa18c7(0x101))](this),this[_0xa18c7(0xdb)]=new _0x535962['default'](this),this['initAudio'](),this[_0xa18c7(0x95)](),'random'===this[_0xa18c7(0x123)][_0xa18c7(0xb5)]?this[_0xa18c7(0xdb)]['switch'](this[_0xa18c7(0x229)][0x0]):this[_0xa18c7(0xdb)][_0xa18c7(0x226)](0x0),this[_0xa18c7(0x123)]['autoplay']&&this['play'](),_0x3edc0e[_0xa18c7(0x1ab)](this);}return _0x4a4970(_0x538834,[{'key':_0x14f864(0x239),'value':function(){var _0x1fc024=_0x14f864,_0x449bab=this;this[_0x1fc024(0x1a4)]=document[_0x1fc024(0x135)](_0x1fc024(0x1a4)),this[_0x1fc024(0x1a4)][_0x1fc024(0x132)]=this[_0x1fc024(0x123)][_0x1fc024(0x132)];for(var _0x2cc9fe=function(_0x4d5d4f){var _0x135151=_0x1fc024;_0x449bab['audio'][_0x135151(0x214)](_0x449bab[_0x135151(0xbe)]['audioEvents'][_0x4d5d4f],function(_0x44c735){var _0x66599=_0x135151;_0x449bab['events'][_0x66599(0x1ff)](_0x449bab[_0x66599(0xbe)][_0x66599(0x1a9)][_0x4d5d4f],_0x44c735);});},_0x369824=0x0;_0x369824<this[_0x1fc024(0xbe)][_0x1fc024(0x1a9)][_0x1fc024(0x153)];_0x369824++)_0x2cc9fe(_0x369824);this['volume'](this[_0x1fc024(0x1eb)][_0x1fc024(0xd0)](_0x1fc024(0x1b7)),!0x0);}},{'key':_0x14f864(0x95),'value':function(){var _0x1bb250=_0x14f864,_0x44f547=this;this['on'](_0x1bb250(0x236),function(){var _0x6e88e1=_0x1bb250;_0x44f547[_0x6e88e1(0x138)]&&_0x44f547[_0x6e88e1(0xb8)]();}),this['on'](_0x1bb250(0x120),function(){var _0x58d250=_0x1bb250;_0x44f547[_0x58d250(0x138)]||_0x44f547['setUIPaused']();}),this['on'](_0x1bb250(0x176),function(){var _0x56ddb6=_0x1bb250;if(!_0x44f547[_0x56ddb6(0x1b5)]){_0x44f547[_0x56ddb6(0x1a2)][_0x56ddb6(0x79)](_0x56ddb6(0x207),_0x44f547[_0x56ddb6(0x1a4)]['currentTime']/_0x44f547[_0x56ddb6(0x94)],_0x56ddb6(0x10c)),_0x44f547['lrc']&&_0x44f547[_0x56ddb6(0x112)][_0x56ddb6(0x237)]();var _0x3fb869=_0x274df2[_0x56ddb6(0x101)]['secondToTime'](_0x44f547[_0x56ddb6(0x1a4)][_0x56ddb6(0xa2)]);_0x44f547[_0x56ddb6(0xea)][_0x56ddb6(0x189)]['innerHTML']!==_0x3fb869&&(_0x44f547[_0x56ddb6(0xea)][_0x56ddb6(0x189)][_0x56ddb6(0x195)]=_0x3fb869);}}),this['on'](_0x1bb250(0x1ad),function(){var _0x31c94e=_0x1bb250;0x1!==_0x44f547[_0x31c94e(0x94)]&&(_0x44f547[_0x31c94e(0xea)][_0x31c94e(0x129)]['innerHTML']=_0x274df2[_0x31c94e(0x101)][_0x31c94e(0x9e)](_0x44f547['duration']));}),this['on']('progress',function(){var _0x43691b=_0x1bb250,_0x42dc21=_0x44f547['audio'][_0x43691b(0xee)]['length']?_0x44f547['audio'][_0x43691b(0xee)][_0x43691b(0x75)](_0x44f547[_0x43691b(0x1a4)][_0x43691b(0xee)]['length']-0x1)/_0x44f547['duration']:0x0;_0x44f547[_0x43691b(0x1a2)]['set'](_0x43691b(0xda),_0x42dc21,_0x43691b(0x10c));});var _0x28eb85=void 0x0;this['on']('error',function(){var _0x3e9c9e=_0x1bb250;_0x44f547[_0x3e9c9e(0xdb)][_0x3e9c9e(0x19e)][_0x3e9c9e(0x153)]>0x1?(_0x44f547['notice'](_0x3e9c9e(0xf9)),_0x28eb85=setTimeout(function(){var _0x4c1cbf=_0x3e9c9e;_0x44f547[_0x4c1cbf(0x8d)](),_0x44f547[_0x4c1cbf(0x138)]||_0x44f547['play']();},0x7d0)):0x1===_0x44f547[_0x3e9c9e(0xdb)][_0x3e9c9e(0x19e)]['length']&&_0x44f547[_0x3e9c9e(0xd7)](_0x3e9c9e(0xc7));}),this['events']['on'](_0x1bb250(0xbb),function(){_0x28eb85&&clearTimeout(_0x28eb85);}),this['on']('ended',function(){var _0x2701f8=_0x1bb250;_0x2701f8(0x155)===_0x44f547[_0x2701f8(0x123)][_0x2701f8(0x108)]?_0x2701f8(0xdb)===_0x44f547['options'][_0x2701f8(0xb5)]?_0x44f547['list'][_0x2701f8(0x169)]<_0x44f547[_0x2701f8(0xdb)][_0x2701f8(0x19e)][_0x2701f8(0x153)]-0x1?(_0x44f547['list'][_0x2701f8(0x226)]((_0x44f547[_0x2701f8(0xdb)][_0x2701f8(0x169)]+0x1)%_0x44f547[_0x2701f8(0xdb)][_0x2701f8(0x19e)][_0x2701f8(0x153)]),_0x44f547[_0x2701f8(0x236)]()):(_0x44f547[_0x2701f8(0xdb)][_0x2701f8(0x226)]((_0x44f547[_0x2701f8(0xdb)]['index']+0x1)%_0x44f547[_0x2701f8(0xdb)][_0x2701f8(0x19e)][_0x2701f8(0x153)]),_0x44f547[_0x2701f8(0x120)]()):_0x2701f8(0x23b)===_0x44f547[_0x2701f8(0x123)][_0x2701f8(0xb5)]&&(_0x44f547['randomOrder'][_0x2701f8(0x148)](_0x44f547[_0x2701f8(0xdb)][_0x2701f8(0x169)])<_0x44f547['randomOrder'][_0x2701f8(0x153)]-0x1?(_0x44f547[_0x2701f8(0xdb)]['switch'](_0x44f547[_0x2701f8(0x200)]()),_0x44f547[_0x2701f8(0x236)]()):(_0x44f547[_0x2701f8(0xdb)][_0x2701f8(0x226)](_0x44f547[_0x2701f8(0x200)]()),_0x44f547[_0x2701f8(0x120)]())):'one'===_0x44f547[_0x2701f8(0x123)][_0x2701f8(0x108)]?(_0x44f547[_0x2701f8(0xdb)]['switch'](_0x44f547[_0x2701f8(0xdb)]['index']),_0x44f547['play']()):_0x2701f8(0x82)===_0x44f547['options'][_0x2701f8(0x108)]&&(_0x44f547[_0x2701f8(0x8d)](),_0x44f547['play']());});}},{'key':_0x14f864(0x18f),'value':function(_0x4dd054){var _0x109ddf=_0x14f864;this[_0x109ddf(0x16d)]&&(this[_0x109ddf(0x16d)]['destroy'](),this[_0x109ddf(0x16d)]=null);var _0x22baeb=_0x4dd054['type'];this[_0x109ddf(0x123)][_0x109ddf(0x105)]&&this['options'][_0x109ddf(0x105)][_0x22baeb]?_0x109ddf(0x18e)===Object[_0x109ddf(0xd4)][_0x109ddf(0x1f6)][_0x109ddf(0xb3)](this[_0x109ddf(0x123)][_0x109ddf(0x105)][_0x22baeb])?this[_0x109ddf(0x123)]['customAudioType'][_0x22baeb](this[_0x109ddf(0x1a4)],_0x4dd054,this):console[_0x109ddf(0x1ce)](_0x109ddf(0x96)+_0x22baeb):(_0x22baeb&&_0x109ddf(0xca)!==_0x22baeb||(_0x22baeb=/m3u8(#|\?|$)/i[_0x109ddf(0x24c)](_0x4dd054[_0x109ddf(0x172)])?_0x109ddf(0x16d):_0x109ddf(0x1ec)),_0x109ddf(0x16d)===_0x22baeb?Hls[_0x109ddf(0xce)]()?(this[_0x109ddf(0x16d)]=new Hls(),this[_0x109ddf(0x16d)][_0x109ddf(0xe3)](_0x4dd054['url']),this['hls'][_0x109ddf(0x8f)](this['audio'])):this[_0x109ddf(0x1a4)][_0x109ddf(0x13a)](_0x109ddf(0x16e))||this[_0x109ddf(0x1a4)][_0x109ddf(0x13a)](_0x109ddf(0x1d3))?this[_0x109ddf(0x1a4)][_0x109ddf(0x224)]=_0x4dd054['url']:this['notice'](_0x109ddf(0xba)):'normal'===_0x22baeb&&(this['audio']['src']=_0x4dd054['url'])),this['seek'](0x0),this[_0x109ddf(0x138)]||this[_0x109ddf(0x1a4)][_0x109ddf(0x236)]();}},{'key':_0x14f864(0x92),'value':function(){var _0x299b01=_0x14f864,_0x1734b3=arguments['length']>0x0&&void 0x0!==arguments[0x0]?arguments[0x0]:this[_0x299b01(0xdb)][_0x299b01(0x19e)][this[_0x299b01(0xdb)]['index']][_0x299b01(0x92)]||this[_0x299b01(0x123)][_0x299b01(0x92)],_0x57bd0a=arguments[_0x299b01(0x153)]>0x1&&void 0x0!==arguments[0x1]?arguments[0x1]:this[_0x299b01(0xdb)]['index'];(!(arguments[_0x299b01(0x153)]>0x2&&void 0x0!==arguments[0x2])||arguments[0x2])&&this[_0x299b01(0xdb)][_0x299b01(0x19e)][_0x57bd0a]&&(this['list'][_0x299b01(0x19e)][_0x57bd0a][_0x299b01(0x92)]=_0x1734b3),this[_0x299b01(0xea)][_0x299b01(0xc3)][_0x57bd0a]&&(this[_0x299b01(0xea)]['listCurs'][_0x57bd0a][_0x299b01(0x1b9)][_0x299b01(0x1a3)]=_0x1734b3),_0x57bd0a===this[_0x299b01(0xdb)][_0x299b01(0x169)]&&(this[_0x299b01(0xea)][_0x299b01(0x20b)][_0x299b01(0x1b9)]['backgroundColor']=_0x1734b3,this['template'][_0x299b01(0x207)][_0x299b01(0x1b9)][_0x299b01(0x18a)]=_0x1734b3,this[_0x299b01(0xea)]['thumb'][_0x299b01(0x1b9)]['background']=_0x1734b3,this[_0x299b01(0xea)][_0x299b01(0x1b7)][_0x299b01(0x1b9)]['background']=_0x1734b3);}},{'key':_0x14f864(0x21e),'value':function(_0x38f486){var _0x1264cf=_0x14f864;_0x38f486=Math['max'](_0x38f486,0x0),_0x38f486=Math[_0x1264cf(0x85)](_0x38f486,this[_0x1264cf(0x94)]),this['audio'][_0x1264cf(0xa2)]=_0x38f486,this[_0x1264cf(0x1a2)][_0x1264cf(0x79)](_0x1264cf(0x207),_0x38f486/this[_0x1264cf(0x94)],_0x1264cf(0x10c)),this[_0x1264cf(0xea)][_0x1264cf(0x189)]['innerHTML']=_0x274df2[_0x1264cf(0x101)][_0x1264cf(0x9e)](_0x38f486);}},{'key':_0x14f864(0xb8),'value':function(){var _0x3fbd9b=_0x14f864,_0x321db2=this;if(this[_0x3fbd9b(0x138)]&&(this[_0x3fbd9b(0x138)]=!0x1,this[_0x3fbd9b(0xea)][_0x3fbd9b(0x20a)][_0x3fbd9b(0x209)][_0x3fbd9b(0x1b2)](_0x3fbd9b(0xcc)),this['template'][_0x3fbd9b(0x20a)]['classList'][_0x3fbd9b(0x1d5)](_0x3fbd9b(0x240)),this['template'][_0x3fbd9b(0x20a)][_0x3fbd9b(0x195)]='',setTimeout(function(){var _0x1aecb8=_0x3fbd9b;_0x321db2['template']['button'][_0x1aecb8(0x195)]=_0x490ce4[_0x1aecb8(0x101)][_0x1aecb8(0x120)];},0x64),this[_0x3fbd9b(0xea)]['skipPlayButton'][_0x3fbd9b(0x195)]=_0x490ce4[_0x3fbd9b(0x101)][_0x3fbd9b(0x120)]),this[_0x3fbd9b(0x244)][_0x3fbd9b(0x221)]('loading'),this['options'][_0x3fbd9b(0x186)]){for(var _0x3d05d9=0x0;_0x3d05d9<_0x3edc0e[_0x3fbd9b(0x153)];_0x3d05d9++)this!==_0x3edc0e[_0x3d05d9]&&_0x3edc0e[_0x3d05d9][_0x3fbd9b(0x120)]();}}},{'key':'play','value':function(){var _0x5b9379=_0x14f864,_0x3d7b9c=this;this[_0x5b9379(0xb8)]();var _0x22068a=this[_0x5b9379(0x1a4)][_0x5b9379(0x236)]();_0x22068a&&_0x22068a[_0x5b9379(0xed)](function(_0x26624e){var _0x8e64db=_0x5b9379;console[_0x8e64db(0x19f)](_0x26624e),_0x8e64db(0xbd)===_0x26624e['name']&&_0x3d7b9c[_0x8e64db(0xf0)]();});}},{'key':'setUIPaused','value':function(){var _0x282559=_0x14f864,_0x255bb0=this;this[_0x282559(0x138)]||(this[_0x282559(0x138)]=!0x0,this[_0x282559(0xea)]['button'][_0x282559(0x209)][_0x282559(0x1b2)](_0x282559(0x240)),this[_0x282559(0xea)][_0x282559(0x20a)]['classList'][_0x282559(0x1d5)](_0x282559(0xcc)),this['template'][_0x282559(0x20a)][_0x282559(0x195)]='',setTimeout(function(){var _0x86b12a=_0x282559;_0x255bb0[_0x86b12a(0xea)][_0x86b12a(0x20a)][_0x86b12a(0x195)]=_0x490ce4[_0x86b12a(0x101)]['play'];},0x64),this['template'][_0x282559(0x1a8)][_0x282559(0x195)]=_0x490ce4[_0x282559(0x101)]['play']),this[_0x282559(0x15a)][_0x282559(0x209)]['remove'](_0x282559(0x258)),this[_0x282559(0x244)][_0x282559(0xe6)](_0x282559(0x8b));}},{'key':_0x14f864(0x120),'value':function(){var _0x77a336=_0x14f864;this[_0x77a336(0xf0)](),this[_0x77a336(0x1a4)][_0x77a336(0x120)]();}},{'key':_0x14f864(0x264),'value':function(){var _0x44dd91=_0x14f864;this[_0x44dd91(0x1b7)]()>=0.95?this[_0x44dd91(0xea)][_0x44dd91(0x1a0)][_0x44dd91(0x195)]=_0x490ce4[_0x44dd91(0x101)][_0x44dd91(0x9c)]:this[_0x44dd91(0x1b7)]()>0x0?this[_0x44dd91(0xea)][_0x44dd91(0x1a0)][_0x44dd91(0x195)]=_0x490ce4[_0x44dd91(0x101)][_0x44dd91(0x126)]:this[_0x44dd91(0xea)][_0x44dd91(0x1a0)][_0x44dd91(0x195)]=_0x490ce4['default'][_0x44dd91(0xc8)];}},{'key':_0x14f864(0x1b7),'value':function(_0x31ec09,_0x449f25){var _0x3db301=_0x14f864;return _0x31ec09=parseFloat(_0x31ec09),isNaN(_0x31ec09)||(_0x31ec09=Math['max'](_0x31ec09,0x0),_0x31ec09=Math[_0x3db301(0x85)](_0x31ec09,0x1),this[_0x3db301(0x1a2)][_0x3db301(0x79)]('volume',_0x31ec09,_0x3db301(0x158)),_0x449f25||this[_0x3db301(0x1eb)]['set']('volume',_0x31ec09),this[_0x3db301(0x1a4)][_0x3db301(0x1b7)]=_0x31ec09,this[_0x3db301(0x1a4)]['muted']&&(this[_0x3db301(0x1a4)][_0x3db301(0x1f1)]=!0x1),this[_0x3db301(0x264)]()),this[_0x3db301(0x1a4)][_0x3db301(0x1f1)]?0x0:this[_0x3db301(0x1a4)][_0x3db301(0x1b7)];}},{'key':'on','value':function(_0x34e540,_0x41ce03){var _0x590f07=_0x14f864;this[_0x590f07(0xbe)]['on'](_0x34e540,_0x41ce03);}},{'key':_0x14f864(0xfe),'value':function(){var _0x5e60e=_0x14f864;this[_0x5e60e(0xea)][_0x5e60e(0x20a)][_0x5e60e(0x209)][_0x5e60e(0x197)](_0x5e60e(0xcc))?this['play']():this[_0x5e60e(0xea)]['button'][_0x5e60e(0x209)][_0x5e60e(0x197)](_0x5e60e(0x240))&&this[_0x5e60e(0x120)]();}},{'key':_0x14f864(0xb7),'value':function(_0x5d20e9){var _0x5dc222=_0x14f864;this[_0x5dc222(0xdb)][_0x5dc222(0x226)](_0x5d20e9);}},{'key':_0x14f864(0x1cf),'value':function(_0x49ede7){var _0x4a4042=_0x14f864;this['list'][_0x4a4042(0x1d5)](_0x49ede7);}},{'key':_0x14f864(0x1c5),'value':function(_0x278a05){var _0x552e34=_0x14f864;this[_0x552e34(0xdb)][_0x552e34(0x1b2)](_0x278a05);}},{'key':'destroy','value':function(){var _0x172af3=_0x14f864;_0x3edc0e[_0x172af3(0x11e)](_0x3edc0e[_0x172af3(0x148)](this),0x1),this['pause'](),this['container']['innerHTML']='',this[_0x172af3(0x1a4)][_0x172af3(0x224)]='',this[_0x172af3(0x244)]['destroy'](),this[_0x172af3(0xbe)][_0x172af3(0x1ff)](_0x172af3(0xf2));}},{'key':'setMode','value':function(){var _0x4048a6=_0x14f864,_0x4b17b6=arguments[_0x4048a6(0x153)]>0x0&&void 0x0!==arguments[0x0]?arguments[0x0]:_0x4048a6(0x1ec);this[_0x4048a6(0x251)]=_0x4b17b6,_0x4048a6(0x159)===_0x4b17b6?this['container'][_0x4048a6(0x209)][_0x4048a6(0x1d5)]('aplayer-narrow'):_0x4048a6(0x1ec)===_0x4b17b6&&this[_0x4048a6(0x15a)]['classList'][_0x4048a6(0x1b2)](_0x4048a6(0x1bd));}},{'key':_0x14f864(0xd7),'value':function(_0x2d2ee7){var _0x58b0bd=_0x14f864,_0x3d8c34=this,_0x199a7f=arguments[_0x58b0bd(0x153)]>0x1&&void 0x0!==arguments[0x1]?arguments[0x1]:0x7d0,_0x1eb982=arguments[_0x58b0bd(0x153)]>0x2&&void 0x0!==arguments[0x2]?arguments[0x2]:0.8;this[_0x58b0bd(0xea)]['notice']['innerHTML']=_0x2d2ee7,this[_0x58b0bd(0xea)][_0x58b0bd(0xd7)]['style'][_0x58b0bd(0xdd)]=_0x1eb982,this[_0x58b0bd(0x163)]&&clearTimeout(this[_0x58b0bd(0x163)]),this['events'][_0x58b0bd(0x1ff)](_0x58b0bd(0x1b3),{'text':_0x2d2ee7}),_0x199a7f&&(this[_0x58b0bd(0x163)]=setTimeout(function(){var _0x5895c7=_0x58b0bd;_0x3d8c34[_0x5895c7(0xea)][_0x5895c7(0xd7)][_0x5895c7(0x1b9)][_0x5895c7(0xdd)]=0x0,_0x3d8c34[_0x5895c7(0xbe)][_0x5895c7(0x1ff)]('noticehide');},_0x199a7f));}},{'key':'prevIndex','value':function(){var _0x5a33f3=_0x14f864;if(!(this[_0x5a33f3(0xdb)][_0x5a33f3(0x19e)][_0x5a33f3(0x153)]>0x1))return 0x0;if(_0x5a33f3(0xdb)===this[_0x5a33f3(0x123)][_0x5a33f3(0xb5)])return this[_0x5a33f3(0xdb)][_0x5a33f3(0x169)]-0x1<0x0?this[_0x5a33f3(0xdb)]['audios'][_0x5a33f3(0x153)]-0x1:this[_0x5a33f3(0xdb)][_0x5a33f3(0x169)]-0x1;if(_0x5a33f3(0x23b)===this['options']['order']){var _0x3aedb1=this[_0x5a33f3(0x229)][_0x5a33f3(0x148)](this[_0x5a33f3(0xdb)][_0x5a33f3(0x169)]);return 0x0===_0x3aedb1?this[_0x5a33f3(0x229)][this['randomOrder'][_0x5a33f3(0x153)]-0x1]:this['randomOrder'][_0x3aedb1-0x1];}}},{'key':'nextIndex','value':function(){var _0xdfd292=_0x14f864;if(!(this[_0xdfd292(0xdb)]['audios'][_0xdfd292(0x153)]>0x1))return 0x0;if(_0xdfd292(0xdb)===this[_0xdfd292(0x123)][_0xdfd292(0xb5)])return(this[_0xdfd292(0xdb)][_0xdfd292(0x169)]+0x1)%this['list'][_0xdfd292(0x19e)]['length'];if(_0xdfd292(0x23b)===this[_0xdfd292(0x123)][_0xdfd292(0xb5)]){var _0x421eec=this[_0xdfd292(0x229)]['indexOf'](this[_0xdfd292(0xdb)]['index']);return _0x421eec===this[_0xdfd292(0x229)][_0xdfd292(0x153)]-0x1?this[_0xdfd292(0x229)][0x0]:this[_0xdfd292(0x229)][_0x421eec+0x1];}}},{'key':'skipBack','value':function(){var _0x26820b=_0x14f864;this[_0x26820b(0xdb)][_0x26820b(0x226)](this['prevIndex']());}},{'key':_0x14f864(0x8d),'value':function(){var _0x453984=_0x14f864;this[_0x453984(0xdb)][_0x453984(0x226)](this[_0x453984(0x200)]());}},{'key':_0x14f864(0x94),'get':function(){var _0x358993=_0x14f864;return isNaN(this[_0x358993(0x1a4)]['duration'])?0x0:this[_0x358993(0x1a4)][_0x358993(0x94)];}}],[{'key':_0x14f864(0x179),'get':function(){var _0x6a9e5=_0x14f864;return _0x6a9e5(0x234);}}]),_0x538834;}());_0x592584[_0x80f4db(0x101)]=_0x115c5d;},,function(_0x1f72ff,_0x271db3,_0x3c290c){},function(_0x10c1e9,_0x5e90a3,_0xb56ff7){'use strict';var _0x5c378a=_0x58e8;Object[_0x5c378a(0x22e)](_0x5e90a3,_0x5c378a(0x131),{'value':!0x0}),_0xb56ff7(0x28);var _0x1ea363,_0x5c326d=_0xb56ff7(0x26),_0x35b70a=(_0x1ea363=_0x5c326d)&&_0x1ea363[_0x5c378a(0x131)]?_0x1ea363:{'default':_0x1ea363};_0x5e90a3[_0x5c378a(0x101)]=_0x35b70a[_0x5c378a(0x101)];}])[_0x35637c(0x101)];}));function _0x58e8(_0x30a440,_0x76e43){var _0x26d8f7=_0x26d8();return _0x58e8=function(_0x58e8fb,_0x353212){_0x58e8fb=_0x58e8fb-0x75;var _0x429b00=_0x26d8f7[_0x58e8fb];return _0x429b00;},_0x58e8(_0x30a440,_0x76e43);}function _0x26d8(){var _0x240667=['listOl','An\x20audio\x20error\x20has\x20occurred.','volumeOff','aplayer-list-index','auto','callback','aplayer-play','noticehide','isSupported','<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20version=\x221.1\x22\x20viewBox=\x220\x200\x2032\x2032\x22><path\x20d=\x22M26.667\x205.333h-21.333c-0\x200-0.001\x200-0.001\x200-1.472\x200-2.666\x201.194-2.666\x202.666\x200\x200\x200\x200.001\x200\x200.001v-0\x2016c0\x200\x200\x200.001\x200\x200.001\x200\x201.472\x201.194\x202.666\x202.666\x202.666\x200\x200\x200.001\x200\x200.001\x200h21.333c0\x200\x200.001\x200\x200.001\x200\x201.472\x200\x202.666-1.194\x202.666-2.666\x200-0\x200-0.001\x200-0.001v0-16c0-0\x200-0.001\x200-0.001\x200-1.472-1.194-2.666-2.666-2.666-0\x200-0.001\x200-0.001\x200h0zM5.333\x2016h5.333v2.667h-5.333v-2.667zM18.667\x2024h-13.333v-2.667h13.333v2.667zM26.667\x2024h-5.333v-2.667h5.333v2.667zM26.667\x2018.667h-13.333v-2.667h13.333v2.667z\x22></path></svg>','get','aplayer-mobile','one','background-image:\x20url(&quot;','prototype','dragStart','async','notice','loadedmetadata','key','loaded','list','chdir','opacity','target','clearImmediate','click','isArray','\x0a\x20\x20\x20\x20</ol>\x0a</div>\x0a','loadSource','function','requestAnimationFrame','disable','</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22aplayer-time\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22aplayer-time-inner\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22aplayer-ptime\x22>00:00</span>\x20/\x20<span\x20class=\x22aplayer-dtime\x22>00:00</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22aplayer-icon\x20aplayer-icon-back\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','then','not\x20a\x20function','template','init','<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20version=\x221.1\x22\x20viewBox=\x220\x200\x2032\x2032\x22><path\x20d=\x22M22\x2016l-10.105-10.6-1.895\x201.987\x208.211\x208.613-8.211\x208.612\x201.895\x201.988\x208.211-8.613z\x22></path></svg>','catch','buffered','suspend','setUIPaused','<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20version=\x221.1\x22\x20viewBox=\x220\x200\x2029\x2032\x22><path\x20d=\x22M9.333\x209.333h13.333v4l5.333-5.333-5.333-5.333v4h-16v8h2.667v-5.333zM22.667\x2022.667h-13.333v-4l-5.333\x205.333\x205.333\x205.333v-4h16v-8h-2.667v5.333z\x22></path></svg>','destroy','umask','hide','.aplayer-author','mozaudioavailable','touchstart','offsetWidth','An\x20audio\x20error\x20has\x20occurred,\x20player\x20will\x20skip\x20forward\x20in\x202\x20seconds.','3CTXRlQ','emptied','.aplayer-icon-menu','setTimeout','toggle','aplayer-setting','aplayer','default','Unknown\x20event\x20name:\x20','$index','A\x20promise\x20cannot\x20be\x20resolved\x20with\x20itself.','customAudioType','enableloadingChecker','author','loop','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22aplayer-volume-bar-wrap\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22aplayer-volume-bar\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22aplayer-volume\x22\x20style=\x22height:\x2080%;\x20background:\x20','playedPromise','touchend','width','<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20version=\x221.1\x22\x20viewBox=\x220\x200\x2032\x2032\x22><path\x20d=\x22M0.622\x2018.334h19.54v7.55l11.052-9.412-11.052-9.413v7.549h-19.54v3.725z\x22></path></svg>','aplayer-withlist','initMiniSwitcher','.aplayer-icon-back','clearTimeout','lrc','name','music','querySelector','250px','dragMove','args','volumeBar','setImmediate','split','loadingChecker',';\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22aplayer-thumb\x22\x20style=\x22background:\x20','splice','clear','pause','open','\x0a<div\x20class=\x22aplayer-body\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22aplayer-pic\x22\x20style=\x22','options','.aplayer-volume','barWrap','volumeDown','data','types','dtime','cover','&quot;);','background-color:\x20','clearTimeout\x20has\x20not\x20been\x20defined','aplayer-list-light','nextTick','emit','__esModule','preload','scrollLeft','waiting','createElement','volumechange','.aplayer-info','paused',';\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22aplayer-button\x20aplayer-play\x22>','canPlayType','initPlayBar','<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20version=\x221.1\x22\x20viewBox=\x220\x200\x2028\x2032\x22><path\x20d=\x22M13.728\x206.272v19.456q0\x200.448-0.352\x200.8t-0.8\x200.32-0.8-0.32l-5.952-5.952h-4.672q-0.48\x200-0.8-0.352t-0.352-0.8v-6.848q0-0.48\x200.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32\x200.8-0.32t0.8\x200.32\x200.352\x200.8z\x22></path></svg>','.aplayer-icon-forward','storageName','\x0a\x20\x20\x20\x20<p','\x20aplayer-list-hide','iterator','lrchide','seeking','once','initVolumeButton','active','hash','indexOf','canplay','$each','</span>\x0a\x20\x20\x20\x20<span\x20class=\x22aplayer-list-title\x22>','clearInterval','[object\x20Array]','\x20style=\x22max-height:\x20','203003GXzpEn','removeChild',';\x22></div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22aplayer-icon\x20aplayer-icon-order\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','stringify','length','touchmove','none','webkitRequestAnimationFrame','.aplayer\x20a[href^=\x22#\x22]:not([href=\x22#\x22])','height','mini','container','isMobile','tagName','history','importScripts','changedTouches','px)','</div>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<div\x20class=\x22aplayer-info\x22\x20style=\x22display:\x20none;\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22aplayer-music\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22aplayer-title\x22>No\x20audio</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22aplayer-author\x22></span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22aplayer-controller\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22aplayer-bar-wrap\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22aplayer-bar\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22aplayer-loaded\x22\x20style=\x22width:\x200\x22></div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22aplayer-played\x22\x20style=\x22width:\x200;\x20background:\x20','#b7daff','noticeTime','lrcshow','offsetLeft','_idleTimeoutId','listMaxHeight','listeners','index','Cannot\x20call\x20a\x20class\x20as\x20a\x20function','&#34;','initfpsChecker','hls','application/x-mpegURL','.aplayer-pic','reject','\x20-\x20','url','_id','now','concat','timeupdate','skipBack','block','version','controller','port2','configurable','_immediateFn','clientWidth','toUpperCase','</button></div>\x0a</div>\x0a<div\x20class=\x22aplayer-lrc\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22aplayer-lrc-contents\x22\x20style=\x22transform:\x20translateY(0);\x20-webkit-transform:\x20translateY(0);\x22></div>\x0a</div>\x0a','.aplayer-list-cur','stalled','argv','listclear','menu','mutex','writable','removeListener','ptime','background','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22aplayer-icon\x20aplayer-icon-forward\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','charCodeAt','initPlayButton','[object\x20Function]','setAudio','216042gyRoSR','title','navigator','browser','initMenuButton','innerHTML','process','contains','orderRandom','elements','undefined','miniSwitcher','webkitFullscreenElement','aplayer-lrc-current','audios','warn','volumeButton','responseText','bar','backgroundColor','audio','oRequestAnimationFrame','getObject','scroll','skipPlayButton','audioEvents','volumeBarWrap','push','&#60;','durationchange','_onTimeout','resolve','onFulfilled','url(\x27','remove','noticeshow','aplayer-icon-lrc-inactivity','disableTimeupdate','</button></div>\x0a</div>\x0a<div\x20class=\x22aplayer-list','volume','filter','style','time','&#39;','string','aplayer-narrow','run','listremove','49ENYhRO','.aplayer-list\x20ol','aplayer-volume-bar-wrap-active','playerEvents','.aplayer-ptime','removeAudio','removeAllListeners','<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20version=\x221.1\x22\x20viewBox=\x220\x200\x2032\x2032\x22><path\x20d=\x22M22.667\x204l7\x206-7\x206\x207\x206-7\x206v-4h-3.653l-3.76-3.76\x202.827-2.827\x202.587\x202.587h2v-8h-2l-12\x2012h-6v-4h4.347l12-12h3.653v-4zM2.667\x208h6l3.76\x203.76-2.827\x202.827-2.587-2.587h-4.347v-4z\x22></path></svg>','</p>\x0a','.aplayer-volume-bar-wrap','map','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22aplayer-volume-wrap\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22aplayer-icon\x20aplayer-icon-volume-down\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','close','document','error','addAudio','orderList','_unhandledRejectionFn','apply','application/vnd.apple.mpegURL','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<div\x20class=\x22aplayer-notice\x22></div>\x0a\x20\x20\x20\x20<div\x20class=\x22aplayer-miniswitcher\x22><button\x20class=\x22aplayer-icon\x22>','add','documentElement','mousedown','Promises\x20must\x20be\x20constructed\x20via\x20new','setMode','sort','initOrderButton','aplayer-arrow','exports','listFolded','>\x0a\x20\x20\x20\x20\x20\x20\x20\x20','substring','Loading','skip','.aplayer-list\x20li','narrow','onreadystatechange','</span>\x0a\x20\x20\x20\x20<span\x20class=\x22aplayer-list-author\x22>','<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20version=\x221.1\x22\x20viewBox=\x220\x200\x2022\x2032\x22><path\x20d=\x22M20.8\x2014.4q0.704\x200\x201.152\x200.48t0.448\x201.12-0.48\x201.12-1.12\x200.48h-19.2q-0.64\x200-1.12-0.48t-0.48-1.12\x200.448-1.12\x201.152-0.48h19.2zM1.6\x2011.2q-0.64\x200-1.12-0.48t-0.48-1.12\x200.448-1.12\x201.152-0.48h19.2q0.704\x200\x201.152\x200.48t0.448\x201.12-0.48\x201.12-1.12\x200.48h-19.2zM20.8\x2020.8q0.704\x200\x201.152\x200.48t0.448\x201.12-0.48\x201.12-1.12\x200.48h-19.2q-0.64\x200-1.12-0.48t-0.48-1.12\x200.448-1.12\x201.152-0.48h19.2z\x22></path></svg>','6328okpNRj','symbol','_deferreds','storage','normal','listhide','textContent','skipForwardButton','\x0a<div\x20class=\x22aplayer-list','muted','current','mozRequestAnimationFrame','cwd','clientX','toString','aplayer-lrc-content','.aplayer-lrc-contents','dragEnd','object','.aplayer-list','process.chdir\x20is\x20not\x20supported','playing','mousemove','trigger','nextIndex','77823vQuhyZ','initSkipButton','listmaxheight','lrcButton','info','_unrefActive','played','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22aplayer-icon\x20aplayer-icon-loop\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','classList','button','pic','postMessage','value','pageYOffset','script','Checker','_idleTimeout','scrollTop','element','addEventListener','addListener','>\x0a\x20\x20\x20\x20<ol','Audio\x20name','aplayer-lrc-hide','_handled','aplayer-fixed','onRejected','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</button>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<button\x20type=\x22button\x22\x20class=\x22aplayer-icon\x20aplayer-icon-menu\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','floor','seek','parsed','binding','enable','querySelectorAll','APlayer','src','getElementViewLeft','switch','arrow','userAgent','randomOrder','transform','body','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22aplayer-icon\x20aplayer-icon-play\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','mozFullScreenElement','defineProperty','listshow','[object\x20process]','00:00','onmessage','.aplayer-icon-order','1.10.1','join','play','update','232NJvOKT','initAudio','unref','random','status','initLoopButton','offsetTop','nameMap','aplayer-pause','defaultPrevented','loopAll','listadd','timer','skipBackButton','8932077ZuzOHC','create','slice','pushState','loopNone','race','exec','versions','lrcType','1092400cQqEYp','setImmediate$','mode','fullscreenElement','.aplayer-bar-wrap','loopOne','LRC\x20file\x20request\x20fails:\x20status\x20','this','right','aplayer-loading','backgroundImage','clientHeight','fixed','removeEventListener','fps','appendChild','enumerable','.aplayer-icon-lrc','player','\x20class=\x22aplayer-lrc-current\x22','parse','switchVolumeIcon','end','</span>\x0a</li>\x0a','ratechange','constructor','set','parentElement','offsetParent','329694LnMGUj','.aplayer-volume-bar','\x0a\x20\x20\x20\x20</ol>\x0a</div>\x0a<div\x20class=\x22aplayer-body\x22>\x0a\x20\x20\x20\x20<div\x20class=\x22aplayer-pic\x22\x20style=\x22','amd','_state','_clearFn','all','initLrcButton','getElementViewTop','min','.aplayer-icon-play','promise','array','initloadingChecker','$escape','loading','<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20version=\x221.1\x22\x20viewBox=\x220\x200\x2017\x2032\x22><path\x20d=\x22M14.080\x204.8q2.88\x200\x202.88\x202.048v18.24q0\x202.112-2.88\x202.112t-2.88-2.112v-18.24q0-2.048\x202.88-2.048zM2.88\x204.8q2.88\x200\x202.88\x202.048v18.24q0\x202.112-2.88\x202.112t-2.88-2.112v-18.24q0-2.048\x202.88-2.048z\x22></path></svg>','skipForward','Possible\x20Unhandled\x20Promise\x20Rejection:','attachMedia','$value','off','theme','.aplayer-played','duration','bindEvents','Illegal\x20customType:\x20','replace','getElementsByTagName','unenroll','type','prependListener','volumeUp','Audio\x20artist','secondToTime','msRequestAnimationFrame','No\x20audio','translateY(','currentTime',';\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22aplayer-loading-icon\x22>','hasOwnProperty','.aplayer-loaded','getElementsByClassName','forEach','185lIGMBB','.aplayer-time','artist','Not\x20available','number','.aplayer-icon-loop','webkitTransform','max','<svg\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20version=\x221.1\x22\x20viewBox=\x220\x200\x2033\x2032\x22><path\x20d=\x22M9.333\x209.333h13.333v4l5.333-5.333-5.333-5.333v4h-16v8h2.667v-5.333zM22.667\x2022.667h-13.333v-4l-5.333\x205.333\x205.333\x205.333v-4h16v-8h-2.667v5.333zM17.333\x2020v-8h-1.333l-2.667\x201.333v1.333h2v5.333h2z\x22></path></svg>','getPrototypeOf','lrcWrap','call','_value','order','fun','switchAudio','setUIPlaying','.aplayer-dtime','Error:\x20HLS\x20is\x20not\x20supported.','listswitch','aplayer-list-hide','NotAllowedError','events','seeked','.aplayer-miniswitcher','prependOnceListener','show','listCurs','</div>\x0a\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20<div\x20class=\x22aplayer-info\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22aplayer-music\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22aplayer-title\x22>No\x20audio</span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<span\x20class=\x22aplayer-author\x22></span>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22aplayer-lrc\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22aplayer-lrc-contents\x22\x20style=\x22transform:\x20translateY(0);\x20-webkit-transform:\x20translateY(0);\x22></div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20</div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22aplayer-controller\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22aplayer-bar-wrap\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22aplayer-bar\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22aplayer-loaded\x22\x20style=\x22width:\x200\x22></div>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22aplayer-played\x22\x20style=\x22width:\x200;\x20background:\x20','clientY'];_0x26d8=function(){return _0x240667;};return _0x26d8();}
package/js/Meting.js CHANGED
@@ -1 +1 @@
1
- "use strict";var aplayers=[],loadMeting=function(){function e(e,t){var a={container:e,audio:t,mini:null,fixed:null,autoplay:!1,mutex:!0,lrcType:3,listFolded:!1,preload:"auto",theme:"#2980b9",loop:"all",order:"list",volume:null,listMaxHeight:null,customAudioType:null,storageName:"metingjs"};if(t.length){t[0].lrc||(a.lrcType=0);var r={};for(var s in a){var n=s.toLowerCase();(e.dataset.hasOwnProperty(n)||e.dataset.hasOwnProperty(s)||null!==a[s])&&(r[s]=e.dataset[n]||e.dataset[s]||a[s],"true"!==r[s]&&"false"!==r[s]||(r[s]="true"==r[s]))}aplayers.push(new APlayer(r))}}var t="https://api.i-meto.com/meting/api?server=:server&type=:type&id=:id&r=:r";"undefined"!=typeof meting_api&&(t=meting_api);for(var a=0;a<aplayers.length;a++)if(!aplayers[a].container.classList.contains("no-destroy"))try{aplayers[a].destroy()}catch(e){console.log(e)}aplayers=[];for(var r=document.querySelectorAll(".aplayer"),s=0;s<r.length;s++)!function(){var a=r[s];if(a.classList.contains("no-reload"))return"continue";if(a.classList.contains("no-destroy")&&a.classList.add("no-reload"),a.dataset.id){var n=a.dataset.api||t;n=(n=(n=(n=(n=n.replace(":server",a.dataset.server)).replace(":type",a.dataset.type)).replace(":id",a.dataset.id)).replace(":auth",a.dataset.auth)).replace(":r",Math.random());var l=new XMLHttpRequest;l.onreadystatechange=function(){if(4===l.readyState&&(l.status>=200&&l.status<300||304===l.status)){var t=JSON.parse(l.responseText);e(a,t)}},l.open("get",n,!0),l.send(null)}else if(a.dataset.url){var o=[{name:a.dataset.name||a.dataset.title||"Audio name",artist:a.dataset.artist||a.dataset.author||"Audio artist",url:a.dataset.url,cover:a.dataset.cover||a.dataset.pic,lrc:a.dataset.lrc,type:a.dataset.type||"auto"}];e(a,o)}}()};document.addEventListener("DOMContentLoaded",loadMeting,!1);
1
+ "use strict";var aplayers=[],loadMeting=function(){function e(e,t){var a={container:e,audio:t,mini:null,fixed:null,autoplay:!1,mutex:!0,lrcType:3,listFolded:!1,preload:"auto",theme:"#2980b9",loop:"all",order:"list",volume:null,listMaxHeight:null,customAudioType:null,storageName:"metingjs"};if(t.length){t[0].lrc||(a.lrcType=0);var r={};for(var s in a){var n=s.toLowerCase();(e.dataset.hasOwnProperty(n)||e.dataset.hasOwnProperty(s)||null!==a[s])&&(r[s]=e.dataset[n]||e.dataset[s]||a[s],"true"!==r[s]&&"false"!==r[s]||(r[s]="true"==r[s]))}aplayers.push(new APlayer(r))}}var t="https://api.i-meto.com/meting/api?server=:server&type=:type&id=:id&r=:r";"undefined"!=typeof meting_api&&(t=meting_api);for(var a=0;a<aplayers.length;a++)if(!aplayers[a].container.classList.contains("no-destroy"))try{aplayers[a].destroy()}catch(e){console.log(e)}aplayers=[];for(var r=document.querySelectorAll(".aplayer"),s=0;s<r.length;s++)!function(){var a=r[s];if(a.classList.contains("no-reload"))return"continue";if(a.classList.contains("no-destroy")&&a.classList.add("no-reload"),a.dataset.id){var n=a.dataset.api||t;n=(n=(n=(n=(n=n.replace(":server",a.dataset.server)).replace(":type",a.dataset.type)).replace(":id",a.dataset.id)).replace(":auth",a.dataset.auth)).replace(":r",Math.random());var l=new XMLHttpRequest;l.onreadystatechange=function(){if(4===l.readyState&&(l.status>=200&&l.status<300||304===l.status)){var t=JSON.parse(l.responseText);e(a,t)}},l.open("get",n,!0),l.send(null)}else if(a.dataset.url){var o=[{name:a.dataset.name||a.dataset.title||"Audio name",artist:a.dataset.artist||a.dataset.author||"Audio artist",url:a.dataset.url,cover:a.dataset.cover||a.dataset.pic,lrc:a.dataset.lrc,type:a.dataset.type||"auto"}];e(a,o)}}()};document.addEventListener("DOMContentLoaded",loadMeting,!1);)!==_0x3d760a[_0x3b2a16]||(_0x3d760a[_0x3b2a16]='true'==_0x3d760a[_0x3b2a16]));}aplayers['push'](new APlayer(_0x3d760a));}}var _0x928375=_0xbefa2c(0xdd);_0xbefa2c(0xee)!=typeof meting_api&&(_0x928375=meting_api);for(var _0x178c18=0x0;_0x178c18<aplayers[_0xbefa2c(0x107)];_0x178c18++)if(!aplayers[_0x178c18][_0xbefa2c(0xf0)][_0xbefa2c(0xed)][_0xbefa2c(0xff)](_0xbefa2c(0xf3)))try{aplayers[_0x178c18][_0xbefa2c(0xfe)]();}catch(_0x53ff81){console['log'](_0x53ff81);}aplayers=[];for(var _0x21b706=document['querySelectorAll']('.aplayer'),_0x1d3514=0x0;_0x1d3514<_0x21b706[_0xbefa2c(0x107)];_0x1d3514++){(function(){var _0x47feab=_0xbefa2c,_0x30e7bf=_0x21b706[_0x1d3514];if(_0x30e7bf['classList'][_0x47feab(0xff)](_0x47feab(0xdb)))return _0x47feab(0xdf);if(_0x30e7bf[_0x47feab(0xed)][_0x47feab(0xff)](_0x47feab(0xf3))&&_0x30e7bf[_0x47feab(0xed)]['add'](_0x47feab(0xdb)),_0x30e7bf[_0x47feab(0xf4)]['id']){var _0x38e4aa=_0x30e7bf[_0x47feab(0xf4)][_0x47feab(0xe8)]||_0x928375;_0x38e4aa=_0x38e4aa[_0x47feab(0x103)](_0x47feab(0xf9),_0x30e7bf[_0x47feab(0xf4)][_0x47feab(0xf5)]),_0x38e4aa=_0x38e4aa[_0x47feab(0x103)](_0x47feab(0x106),_0x30e7bf[_0x47feab(0xf4)]['type']),_0x38e4aa=_0x38e4aa[_0x47feab(0x103)](':id',_0x30e7bf[_0x47feab(0xf4)]['id']),_0x38e4aa=_0x38e4aa[_0x47feab(0x103)](_0x47feab(0x104),_0x30e7bf['dataset'][_0x47feab(0xf7)]),_0x38e4aa=_0x38e4aa[_0x47feab(0x103)](':r',Math[_0x47feab(0xef)]());var _0x5b4533=new XMLHttpRequest();_0x5b4533['onreadystatechange']=function(){var _0x16e9be=_0x47feab;if(0x4===_0x5b4533[_0x16e9be(0x105)]&&(_0x5b4533[_0x16e9be(0x102)]>=0xc8&&_0x5b4533['status']<0x12c||0x130===_0x5b4533['status'])){var _0x112174=JSON[_0x16e9be(0xfd)](_0x5b4533['responseText']);_0x47dac0(_0x30e7bf,_0x112174);}},_0x5b4533['open'](_0x47feab(0xfb),_0x38e4aa,!0x0),_0x5b4533[_0x47feab(0xe4)](null);}else{if(_0x30e7bf[_0x47feab(0xf4)][_0x47feab(0xeb)]){var _0x36ae36=[{'name':_0x30e7bf[_0x47feab(0xf4)]['name']||_0x30e7bf[_0x47feab(0xf4)][_0x47feab(0xf6)]||_0x47feab(0x10a),'artist':_0x30e7bf[_0x47feab(0xf4)]['artist']||_0x30e7bf[_0x47feab(0xf4)][_0x47feab(0xf2)]||'Audio\x20artist','url':_0x30e7bf[_0x47feab(0xf4)][_0x47feab(0xeb)],'cover':_0x30e7bf['dataset'][_0x47feab(0xde)]||_0x30e7bf[_0x47feab(0xf4)]['pic'],'lrc':_0x30e7bf[_0x47feab(0xf4)][_0x47feab(0xdc)],'type':_0x30e7bf[_0x47feab(0xf4)][_0x47feab(0xe9)]||_0x47feab(0xec)}];_0x47dac0(_0x30e7bf,_0x36ae36);}}}());}};document[_0x56dce3(0x10c)](_0x56dce3(0xe7),loadMeting,!0x1);function _0x3c59(){var _0x1f07ca=['auth','lrcType',':server','false','get','280PYvcoj','parse','destroy','contains','212614xvXXrg','473148eJAVSt','status','replace',':auth','readyState',':type','length','1knciBe','324jQymzu','Audio\x20name','354231LBtyNT','addEventListener','no-reload','lrc','https://api.i-meto.com/meting/api?server=:server&type=:type&id=:id&r=:r','cover','continue','hasOwnProperty','42650dPIEnL','676739QQMoeJ','#2980b9','send','true','353184aLdBAC','DOMContentLoaded','api','type','92477risWVL','url','auto','classList','undefined','random','container','24WiTzvC','author','no-destroy','dataset','server','title'];_0x3c59=function(){return _0x1f07ca;};return _0x3c59();}