mycpen-blog 0.0.0-ejbsvibmdm → 0.0.0-ejccazbfuo

Sign up to get free protection for your applications and to get access to all the features.
@@ -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('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()})),document.querySelector(".aplayer-lrc").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("+80*-this.index+"px)",this.container.style.webkitTransform="translateY("+80*-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 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.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};console.log("\n %c APlayer v1.10.1 af84efb %c http://aplayer.js.org \n","color: #fadfa3; background: #030307; padding:5px 0;","background: #fadfa3; padding:5px 0;"),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('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()})),document.querySelector(".aplayer-lrc").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("+80*-this.index+"px)",this.container.style.webkitTransform="translateY("+80*-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 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.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};console.log("\n %c APlayer v1.10.1 af84efb %c http://aplayer.js.org \n","color: #fadfa3; background: #030307; padding:5px 0;","background: #fadfa3; padding:5px 0;"),t.default=a.default}]).default}));48369b(0x16a)),this['pic']=this[_0x48369b(0x194)][_0x48369b(0xe7)](_0x48369b(0x26e)),this['title']=this[_0x48369b(0x194)][_0x48369b(0xe7)](_0x48369b(0x20f)),this[_0x48369b(0x216)]=this['container'][_0x48369b(0xe7)]('.aplayer-author'),this['dtime']=this[_0x48369b(0x194)][_0x48369b(0xe7)](_0x48369b(0x133)),this[_0x48369b(0x2b5)]=this[_0x48369b(0x194)][_0x48369b(0xe7)](_0x48369b(0x193)),this['miniSwitcher']=this[_0x48369b(0x194)][_0x48369b(0xe7)](_0x48369b(0x110)),this[_0x48369b(0x269)]=this[_0x48369b(0x194)]['querySelector'](_0x48369b(0x102)),this['skipForwardButton']=this[_0x48369b(0x194)][_0x48369b(0xe7)](_0x48369b(0xf3)),this[_0x48369b(0x1ef)]=this['container'][_0x48369b(0xe7)](_0x48369b(0x1ce)),this[_0x48369b(0x18f)]=this[_0x48369b(0x194)][_0x48369b(0xe7)]('.aplayer-icon-lrc');}}]),_0xbf8b0a;}());_0x26a4de['default']=_0x4b6d4f;},function(_0x550dcc,_0x53c2c5,_0x467a2d){'use strict';var _0xeec748=_0x1a68;Object[_0xeec748(0x134)](_0x53c2c5,_0xeec748(0x183),{'value':!0x0}),_0x53c2c5[_0xeec748(0x13c)]=function(_0x3c8b4e){var _0x4fbd39=_0xeec748,_0x218097={'container':_0x3c8b4e['element']||document[_0x4fbd39(0x2a7)](_0x4fbd39(0x1b4))[0x0],'mini':_0x3c8b4e[_0x4fbd39(0xee)]||_0x3c8b4e[_0x4fbd39(0x1c7)]||!0x1,'fixed':!0x1,'autoplay':!0x1,'mutex':!0x0,'lrcType':_0x3c8b4e['showlrc']||_0x3c8b4e['lrc']||0x0,'preload':_0x4fbd39(0x217),'theme':_0x4fbd39(0x18d),'loop':'all','order':'list','volume':0.7,'listFolded':_0x3c8b4e[_0x4fbd39(0x1c7)],'listMaxHeight':_0x3c8b4e[_0x4fbd39(0x1f5)]||_0x4fbd39(0x15d),'audio':_0x3c8b4e[_0x4fbd39(0x16d)]||[],'storageName':_0x4fbd39(0x21e)};for(var _0x5dbfbe in _0x218097)_0x218097[_0x4fbd39(0x123)](_0x5dbfbe)&&!_0x3c8b4e['hasOwnProperty'](_0x5dbfbe)&&(_0x3c8b4e[_0x5dbfbe]=_0x218097[_0x5dbfbe]);return _0x4fbd39(0x27a)!==Object[_0x4fbd39(0x1bb)][_0x4fbd39(0x1f4)][_0x4fbd39(0x1be)](_0x3c8b4e[_0x4fbd39(0x22a)])&&(_0x3c8b4e['audio']=[_0x3c8b4e['audio']]),_0x3c8b4e[_0x4fbd39(0x22a)]['map'](function(_0x35377e){var _0x467007=_0x4fbd39;return _0x35377e[_0x467007(0x24d)]=_0x35377e['name']||_0x35377e[_0x467007(0x175)]||'Audio\x20name',_0x35377e[_0x467007(0x201)]=_0x35377e[_0x467007(0x201)]||_0x35377e['author']||_0x467007(0x162),_0x35377e[_0x467007(0x136)]=_0x35377e[_0x467007(0x136)]||_0x35377e[_0x467007(0x186)],_0x35377e['type']=_0x35377e[_0x467007(0x249)]||_0x467007(0x285),_0x35377e;}),_0x3c8b4e[_0x4fbd39(0x22a)]['length']<=0x1&&'one'===_0x3c8b4e[_0x4fbd39(0xe2)]&&(_0x3c8b4e['loop']=_0x4fbd39(0x127)),_0x3c8b4e;};},function(_0x191a0a,_0xe670b1){var _0x288c46=_0x1a68;_0x191a0a[_0x288c46(0x113)]=_0x288c46(0x1ee);},function(_0x1d297b,_0x2aa0ff){var _0x4d455b=_0x1a68;_0x1d297b[_0x4d455b(0x113)]=_0x4d455b(0x202);},function(_0x59882c,_0x39d2a9){var _0x3cfc31=_0x1a68;_0x59882c[_0x3cfc31(0x113)]='<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>';},function(_0x7e5642,_0xaf9ccd){var _0x3ea0f4=_0x1a68;_0x7e5642[_0x3ea0f4(0x113)]='<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(_0x41a220,_0x147907){var _0x49b57c=_0x1a68;_0x41a220[_0x49b57c(0x113)]=_0x49b57c(0x1aa);},function(_0x48ece3,_0x20c2de){var _0x2b4beb=_0x1a68;_0x48ece3[_0x2b4beb(0x113)]='<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.333zM17.333\x2020v-8h-1.333l-2.667\x201.333v1.333h2v5.333h2z\x22></path></svg>';},function(_0xe78443,_0x380f3b){var _0x52e362=_0x1a68;_0xe78443[_0x52e362(0x113)]=_0x52e362(0xf2);},function(_0x724378,_0x308f66){var _0x5a0716=_0x1a68;_0x724378['exports']=_0x5a0716(0x225);},function(_0x2bb689,_0xd4dd7d){var _0xa22ac9=_0x1a68;_0x2bb689[_0xa22ac9(0x113)]=_0xa22ac9(0x220);},function(_0x43b36a,_0xf4319c){var _0x2b2f12=_0x1a68;_0x43b36a[_0x2b2f12(0x113)]=_0x2b2f12(0x1f0);},function(_0x5dcdd0,_0x302e30){var _0x476562=_0x1a68;_0x5dcdd0[_0x476562(0x113)]=_0x476562(0x153);},function(_0x3586de,_0x20db13){var _0x413725=_0x1a68;_0x3586de[_0x413725(0x113)]=_0x413725(0x2a6);},function(_0x369d2f,_0x99ce61){var _0x4be0a7=_0x1a68;_0x369d2f[_0x4be0a7(0x113)]='<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(_0x1a59b7,_0x54232e){var _0x36229f=_0x1a68;_0x1a59b7['exports']=_0x36229f(0x21b);},function(_0x2dd74f,_0xdf608e){var _0x4f1649=_0x1a68;_0x2dd74f['exports']=_0x4f1649(0x254);},function(_0x1b5461,_0xd61d50,_0xf8ff66){'use strict';var _0x4755d8=_0x1a68;var _0x15c46b,_0x2a2591,_0x4636ec=_0x1b5461[_0x4755d8(0x113)]={};function _0x160bb7(){var _0x3c6263=_0x4755d8;throw new Error(_0x3c6263(0x1e4));}function _0x410ce4(){throw new Error('clearTimeout\x20has\x20not\x20been\x20defined');}function _0x3a692e(_0x2b3abb){var _0x465d2a=_0x4755d8;if(_0x15c46b===setTimeout)return setTimeout(_0x2b3abb,0x0);if((_0x15c46b===_0x160bb7||!_0x15c46b)&&setTimeout)return _0x15c46b=setTimeout,setTimeout(_0x2b3abb,0x0);try{return _0x15c46b(_0x2b3abb,0x0);}catch(_0x2e1b7d){try{return _0x15c46b[_0x465d2a(0x1be)](null,_0x2b3abb,0x0);}catch(_0x2b971a){return _0x15c46b[_0x465d2a(0x1be)](this,_0x2b3abb,0x0);}}}!(function(){var _0x1434f2=_0x4755d8;try{_0x15c46b=_0x1434f2(0x208)==typeof setTimeout?setTimeout:_0x160bb7;}catch(_0x15c542){_0x15c46b=_0x160bb7;}try{_0x2a2591='function'==typeof clearTimeout?clearTimeout:_0x410ce4;}catch(_0x5ba31a){_0x2a2591=_0x410ce4;}}());var _0x5b7d5a,_0x20cb54=[],_0xed0b9f=!0x1,_0xf9c83a=-0x1;function _0x508946(){var _0x1021a3=_0x4755d8;_0xed0b9f&&_0x5b7d5a&&(_0xed0b9f=!0x1,_0x5b7d5a['length']?_0x20cb54=_0x5b7d5a['concat'](_0x20cb54):_0xf9c83a=-0x1,_0x20cb54[_0x1021a3(0x15f)]&&_0x226a58());}function _0x226a58(){var _0x5337b5=_0x4755d8;if(!_0xed0b9f){var _0x129a7b=_0x3a692e(_0x508946);_0xed0b9f=!0x0;for(var _0x50cbe4=_0x20cb54[_0x5337b5(0x15f)];_0x50cbe4;){for(_0x5b7d5a=_0x20cb54,_0x20cb54=[];++_0xf9c83a<_0x50cbe4;)_0x5b7d5a&&_0x5b7d5a[_0xf9c83a][_0x5337b5(0x22e)]();_0xf9c83a=-0x1,_0x50cbe4=_0x20cb54[_0x5337b5(0x15f)];}_0x5b7d5a=null,_0xed0b9f=!0x1,function(_0x485a65){var _0x258807=_0x5337b5;if(_0x2a2591===clearTimeout)return clearTimeout(_0x485a65);if((_0x2a2591===_0x410ce4||!_0x2a2591)&&clearTimeout)return _0x2a2591=clearTimeout,clearTimeout(_0x485a65);try{_0x2a2591(_0x485a65);}catch(_0x505f87){try{return _0x2a2591['call'](null,_0x485a65);}catch(_0x38245c){return _0x2a2591[_0x258807(0x1be)](this,_0x485a65);}}}(_0x129a7b);}}function _0x5fe425(_0x1cc1ec,_0x52d804){var _0x2e5bf6=_0x4755d8;this[_0x2e5bf6(0x10f)]=_0x1cc1ec,this[_0x2e5bf6(0x11c)]=_0x52d804;}function _0x12668f(){}_0x4636ec[_0x4755d8(0x26a)]=function(_0x2ad352){var _0xd04623=_0x4755d8,_0x47c460=new Array(arguments[_0xd04623(0x15f)]-0x1);if(arguments[_0xd04623(0x15f)]>0x1){for(var _0x3b3c69=0x1;_0x3b3c69<arguments[_0xd04623(0x15f)];_0x3b3c69++)_0x47c460[_0x3b3c69-0x1]=arguments[_0x3b3c69];}_0x20cb54[_0xd04623(0x12b)](new _0x5fe425(_0x2ad352,_0x47c460)),0x1!==_0x20cb54[_0xd04623(0x15f)]||_0xed0b9f||_0x3a692e(_0x226a58);},_0x5fe425['prototype']['run']=function(){var _0x2f9d91=_0x4755d8;this[_0x2f9d91(0x10f)][_0x2f9d91(0x212)](null,this[_0x2f9d91(0x11c)]);},_0x4636ec[_0x4755d8(0x175)]='browser',_0x4636ec[_0x4755d8(0x1d7)]=!0x0,_0x4636ec[_0x4755d8(0x105)]={},_0x4636ec[_0x4755d8(0x1f3)]=[],_0x4636ec[_0x4755d8(0x242)]='',_0x4636ec[_0x4755d8(0x1eb)]={},_0x4636ec['on']=_0x12668f,_0x4636ec[_0x4755d8(0x1b8)]=_0x12668f,_0x4636ec['once']=_0x12668f,_0x4636ec['off']=_0x12668f,_0x4636ec[_0x4755d8(0x12c)]=_0x12668f,_0x4636ec['removeAllListeners']=_0x12668f,_0x4636ec['emit']=_0x12668f,_0x4636ec[_0x4755d8(0x222)]=_0x12668f,_0x4636ec['prependOnceListener']=_0x12668f,_0x4636ec[_0x4755d8(0x27e)]=function(_0x3ef759){return[];},_0x4636ec['binding']=function(_0x12bc19){throw new Error('process.binding\x20is\x20not\x20supported');},_0x4636ec[_0x4755d8(0x135)]=function(){return'/';},_0x4636ec[_0x4755d8(0x2ca)]=function(_0x237c6c){var _0x22c36c=_0x4755d8;throw new Error(_0x22c36c(0x1bd));},_0x4636ec[_0x4755d8(0x2ac)]=function(){return 0x0;};},function(_0x49f71f,_0x53aad3,_0x2bf5c3){'use strict';(function(_0x2af6f7,_0x224048){!function(_0x229bbe,_0x51f5bf){var _0xd41de7=_0x1a68;if(!_0x229bbe[_0xd41de7(0x27b)]){var _0x30ac25,_0xed55c4,_0x154c92,_0x22daae,_0x398d4e,_0x4557a2=0x1,_0x3d805c={},_0x438e51=!0x1,_0x211e40=_0x229bbe[_0xd41de7(0x21d)],_0x3b852a=Object[_0xd41de7(0xf4)]&&Object[_0xd41de7(0xf4)](_0x229bbe);_0x3b852a=_0x3b852a&&_0x3b852a['setTimeout']?_0x3b852a:_0x229bbe,_0xd41de7(0x25a)==={}[_0xd41de7(0x1f4)][_0xd41de7(0x1be)](_0x229bbe[_0xd41de7(0x178)])?_0x30ac25=function(_0x49c449){_0x224048['nextTick'](function(){_0x2f1e6c(_0x49c449);});}:!(function(){var _0x57b0f5=_0xd41de7;if(_0x229bbe[_0x57b0f5(0x180)]&&!_0x229bbe[_0x57b0f5(0xf0)]){var _0x55d933=!0x0,_0x22384a=_0x229bbe[_0x57b0f5(0x139)];return _0x229bbe[_0x57b0f5(0x139)]=function(){_0x55d933=!0x1;},_0x229bbe[_0x57b0f5(0x180)]('','*'),_0x229bbe[_0x57b0f5(0x139)]=_0x22384a,_0x55d933;}}())?_0x229bbe['MessageChannel']?((_0x154c92=new MessageChannel())[_0xd41de7(0x1b0)][_0xd41de7(0x139)]=function(_0x7ac25){var _0x37bdb0=_0xd41de7;_0x2f1e6c(_0x7ac25[_0x37bdb0(0x189)]);},_0x30ac25=function(_0x3948ae){var _0x3a07f4=_0xd41de7;_0x154c92[_0x3a07f4(0x168)][_0x3a07f4(0x180)](_0x3948ae);}):_0x211e40&&_0xd41de7(0x19f)in _0x211e40[_0xd41de7(0x2bd)]('script')?(_0xed55c4=_0x211e40[_0xd41de7(0x144)],_0x30ac25=function(_0x414ce3){var _0x1ebbf4=_0xd41de7,_0x4f2be9=_0x211e40['createElement'](_0x1ebbf4(0x1f8));_0x4f2be9[_0x1ebbf4(0x19f)]=function(){var _0x38b3af=_0x1ebbf4;_0x2f1e6c(_0x414ce3),_0x4f2be9[_0x38b3af(0x19f)]=null,_0xed55c4[_0x38b3af(0x169)](_0x4f2be9),_0x4f2be9=null;},_0xed55c4[_0x1ebbf4(0x2ad)](_0x4f2be9);}):_0x30ac25=function(_0x36cea8){setTimeout(_0x2f1e6c,0x0,_0x36cea8);}:(_0x22daae=_0xd41de7(0x2a8)+Math[_0xd41de7(0x1de)]()+'$',_0x398d4e=function(_0x5a844a){var _0x361f73=_0xd41de7;_0x5a844a['source']===_0x229bbe&&_0x361f73(0x263)==typeof _0x5a844a[_0x361f73(0x189)]&&0x0===_0x5a844a['data'][_0x361f73(0x2cb)](_0x22daae)&&_0x2f1e6c(+_0x5a844a[_0x361f73(0x189)]['slice'](_0x22daae[_0x361f73(0x15f)]));},_0x229bbe['addEventListener']?_0x229bbe[_0xd41de7(0x15e)](_0xd41de7(0x11d),_0x398d4e,!0x1):_0x229bbe[_0xd41de7(0x26f)](_0xd41de7(0x139),_0x398d4e),_0x30ac25=function(_0x546adf){var _0x1bb69f=_0xd41de7;_0x229bbe[_0x1bb69f(0x180)](_0x22daae+_0x546adf,'*');}),_0x3b852a[_0xd41de7(0x27b)]=function(_0xcce0ea){var _0x530cca=_0xd41de7;'function'!=typeof _0xcce0ea&&(_0xcce0ea=new Function(''+_0xcce0ea));for(var _0x484ce4=new Array(arguments[_0x530cca(0x15f)]-0x1),_0x52f2a2=0x0;_0x52f2a2<_0x484ce4[_0x530cca(0x15f)];_0x52f2a2++)_0x484ce4[_0x52f2a2]=arguments[_0x52f2a2+0x1];var _0x521ac2={'callback':_0xcce0ea,'args':_0x484ce4};return _0x3d805c[_0x4557a2]=_0x521ac2,_0x30ac25(_0x4557a2),_0x4557a2++;},_0x3b852a[_0xd41de7(0x1ff)]=_0x5313ac;}function _0x5313ac(_0x30a2dd){delete _0x3d805c[_0x30a2dd];}function _0x2f1e6c(_0x4afeb7){if(_0x438e51)setTimeout(_0x2f1e6c,0x0,_0x4afeb7);else{var _0x20bb06=_0x3d805c[_0x4afeb7];if(_0x20bb06){_0x438e51=!0x0;try{!function(_0x1bfda8){var _0x2a76c0=_0x1a68,_0x4ab104=_0x1bfda8[_0x2a76c0(0x118)],_0x272b46=_0x1bfda8['args'];switch(_0x272b46['length']){case 0x0:_0x4ab104();break;case 0x1:_0x4ab104(_0x272b46[0x0]);break;case 0x2:_0x4ab104(_0x272b46[0x0],_0x272b46[0x1]);break;case 0x3:_0x4ab104(_0x272b46[0x0],_0x272b46[0x1],_0x272b46[0x2]);break;default:_0x4ab104['apply'](_0x51f5bf,_0x272b46);}}(_0x20bb06);}finally{_0x5313ac(_0x4afeb7),_0x438e51=!0x1;}}}}}('undefined'==typeof self?void 0x0===_0x2af6f7?void 0x0:_0x2af6f7:self);}['call'](this,_0x2bf5c3(0x4),_0x2bf5c3(0x22)));},function(_0x52eaf2,_0x388821,_0x1f541d){'use strict';var _0x57c14e=_0x1a68;var _0x27d3f8=Function[_0x57c14e(0x1bb)]['apply'];function _0x13f97a(_0x119a01,_0x25acca){var _0x3f5851=_0x57c14e;this['_id']=_0x119a01,this[_0x3f5851(0x17d)]=_0x25acca;}_0x388821[_0x57c14e(0x17a)]=function(){return new _0x13f97a(_0x27d3f8['call'](setTimeout,window,arguments),clearTimeout);},_0x388821['setInterval']=function(){var _0x4233d8=_0x57c14e;return new _0x13f97a(_0x27d3f8[_0x4233d8(0x1be)](setInterval,window,arguments),clearInterval);},_0x388821[_0x57c14e(0x1d2)]=_0x388821['clearInterval']=function(_0x4ada30){var _0x369a44=_0x57c14e;_0x4ada30&&_0x4ada30[_0x369a44(0x292)]();},_0x13f97a[_0x57c14e(0x1bb)][_0x57c14e(0x159)]=_0x13f97a[_0x57c14e(0x1bb)][_0x57c14e(0x2c5)]=function(){},_0x13f97a['prototype']['close']=function(){var _0xc40c26=_0x57c14e;this[_0xc40c26(0x17d)][_0xc40c26(0x1be)](window,this[_0xc40c26(0xe5)]);},_0x388821['enroll']=function(_0x164834,_0x12f8d8){var _0x19fdb9=_0x57c14e;clearTimeout(_0x164834[_0x19fdb9(0x14c)]),_0x164834[_0x19fdb9(0x297)]=_0x12f8d8;},_0x388821[_0x57c14e(0x197)]=function(_0x415bdf){var _0x32d398=_0x57c14e;clearTimeout(_0x415bdf[_0x32d398(0x14c)]),_0x415bdf[_0x32d398(0x297)]=-0x1;},_0x388821[_0x57c14e(0x28e)]=_0x388821[_0x57c14e(0xe4)]=function(_0x3499d0){var _0x5312bf=_0x57c14e;clearTimeout(_0x3499d0[_0x5312bf(0x14c)]);var _0x5c86a3=_0x3499d0[_0x5312bf(0x297)];_0x5c86a3>=0x0&&(_0x3499d0['_idleTimeoutId']=setTimeout(function(){var _0x2608eb=_0x5312bf;_0x3499d0[_0x2608eb(0x1a2)]&&_0x3499d0[_0x2608eb(0x1a2)]();},_0x5c86a3));},_0x1f541d(0x23),_0x388821[_0x57c14e(0x27b)]=setImmediate,_0x388821[_0x57c14e(0x1ff)]=clearImmediate;},function(_0xf90f96,_0x25c4ba,_0x365615){'use strict';var _0x1720a7=_0x1a68;(function(_0x3c1fa2){var _0x3b10f6=_0x1a68,_0x41ad5c=_0x3b10f6(0x208)==typeof Symbol&&_0x3b10f6(0x190)==typeof Symbol[_0x3b10f6(0x28a)]?function(_0x49b3cb){return typeof _0x49b3cb;}:function(_0x11b2f0){var _0x1d3665=_0x3b10f6;return _0x11b2f0&&_0x1d3665(0x208)==typeof Symbol&&_0x11b2f0[_0x1d3665(0x26d)]===Symbol&&_0x11b2f0!==Symbol['prototype']?_0x1d3665(0x190):typeof _0x11b2f0;},_0x447ea0=setTimeout;function _0x1d06c5(){}function _0xfeead6(_0x31017d){var _0x23c48c=_0x3b10f6;if(!(this instanceof _0xfeead6))throw new TypeError(_0x23c48c(0x289));if(_0x23c48c(0x208)!=typeof _0x31017d)throw new TypeError(_0x23c48c(0x2b9));this[_0x23c48c(0x145)]=0x0,this[_0x23c48c(0x140)]=!0x1,this[_0x23c48c(0x230)]=void 0x0,this[_0x23c48c(0x12d)]=[],_0x370814(_0x31017d,this);}function _0x601e2c(_0xdd1d42,_0x4fa7cb){var _0x3cb90c=_0x3b10f6;for(;0x3===_0xdd1d42['_state'];)_0xdd1d42=_0xdd1d42[_0x3cb90c(0x230)];0x0!==_0xdd1d42['_state']?(_0xdd1d42['_handled']=!0x0,_0xfeead6[_0x3cb90c(0x1a8)](function(){var _0x57080d=_0x3cb90c,_0x48f5ba=0x1===_0xdd1d42[_0x57080d(0x145)]?_0x4fa7cb[_0x57080d(0x221)]:_0x4fa7cb[_0x57080d(0x161)];if(null!==_0x48f5ba){var _0x2d5561;try{_0x2d5561=_0x48f5ba(_0xdd1d42[_0x57080d(0x230)]);}catch(_0x3a6fcd){return void _0x206f87(_0x4fa7cb[_0x57080d(0x116)],_0x3a6fcd);}_0x435031(_0x4fa7cb['promise'],_0x2d5561);}else(0x1===_0xdd1d42['_state']?_0x435031:_0x206f87)(_0x4fa7cb[_0x57080d(0x116)],_0xdd1d42[_0x57080d(0x230)]);})):_0xdd1d42[_0x3cb90c(0x12d)][_0x3cb90c(0x12b)](_0x4fa7cb);}function _0x435031(_0x2ae5f3,_0x49c401){var _0x3c561a=_0x3b10f6;try{if(_0x49c401===_0x2ae5f3)throw new TypeError(_0x3c561a(0x1ae));if(_0x49c401&&(_0x3c561a(0x26b)===(void 0x0===_0x49c401?'undefined':_0x41ad5c(_0x49c401))||_0x3c561a(0x208)==typeof _0x49c401)){var _0x2bf700=_0x49c401[_0x3c561a(0x214)];if(_0x49c401 instanceof _0xfeead6)return _0x2ae5f3['_state']=0x3,_0x2ae5f3[_0x3c561a(0x230)]=_0x49c401,void _0x5b4e19(_0x2ae5f3);if(_0x3c561a(0x208)==typeof _0x2bf700)return void _0x370814((_0x308488=_0x2bf700,_0x5b31f8=_0x49c401,function(){var _0x29bac9=_0x3c561a;_0x308488[_0x29bac9(0x212)](_0x5b31f8,arguments);}),_0x2ae5f3);}_0x2ae5f3['_state']=0x1,_0x2ae5f3[_0x3c561a(0x230)]=_0x49c401,_0x5b4e19(_0x2ae5f3);}catch(_0xe55c61){_0x206f87(_0x2ae5f3,_0xe55c61);}var _0x308488,_0x5b31f8;}function _0x206f87(_0x26d057,_0x1b1d50){var _0x32fe54=_0x3b10f6;_0x26d057[_0x32fe54(0x145)]=0x2,_0x26d057['_value']=_0x1b1d50,_0x5b4e19(_0x26d057);}function _0x5b4e19(_0x95bf14){var _0x51ab92=_0x3b10f6;0x2===_0x95bf14[_0x51ab92(0x145)]&&0x0===_0x95bf14[_0x51ab92(0x12d)][_0x51ab92(0x15f)]&&_0xfeead6['_immediateFn'](function(){var _0x183a00=_0x51ab92;_0x95bf14[_0x183a00(0x140)]||_0xfeead6['_unhandledRejectionFn'](_0x95bf14[_0x183a00(0x230)]);});for(var _0x51e9dc=0x0,_0x313371=_0x95bf14[_0x51ab92(0x12d)][_0x51ab92(0x15f)];_0x51e9dc<_0x313371;_0x51e9dc++)_0x601e2c(_0x95bf14,_0x95bf14[_0x51ab92(0x12d)][_0x51e9dc]);_0x95bf14[_0x51ab92(0x12d)]=null;}function _0x370814(_0x276ad4,_0x4d5a17){var _0x19d00a=!0x1;try{_0x276ad4(function(_0x22231f){_0x19d00a||(_0x19d00a=!0x0,_0x435031(_0x4d5a17,_0x22231f));},function(_0x4b959e){_0x19d00a||(_0x19d00a=!0x0,_0x206f87(_0x4d5a17,_0x4b959e));});}catch(_0x32e692){if(_0x19d00a)return;_0x19d00a=!0x0,_0x206f87(_0x4d5a17,_0x32e692);}}_0xfeead6['prototype'][_0x3b10f6(0x211)]=function(_0x307740){var _0x28c4c4=_0x3b10f6;return this[_0x28c4c4(0x214)](null,_0x307740);},_0xfeead6[_0x3b10f6(0x1bb)][_0x3b10f6(0x214)]=function(_0x37573e,_0x34b25f){var _0x558095=new this['constructor'](_0x1d06c5);return _0x601e2c(this,new function(_0x43787a,_0x1499d3,_0x323ab3){var _0x4b6a28=_0x1a68;this[_0x4b6a28(0x221)]=_0x4b6a28(0x208)==typeof _0x43787a?_0x43787a:null,this[_0x4b6a28(0x161)]=_0x4b6a28(0x208)==typeof _0x1499d3?_0x1499d3:null,this['promise']=_0x323ab3;}(_0x37573e,_0x34b25f,_0x558095)),_0x558095;},_0xfeead6[_0x3b10f6(0x1bb)][_0x3b10f6(0x120)]=function(_0x138766){var _0x14cb95=_0x3b10f6,_0x4e5146=this['constructor'];return this[_0x14cb95(0x214)](function(_0x14ff2f){var _0x186e1e=_0x14cb95;return _0x4e5146[_0x186e1e(0x157)](_0x138766())[_0x186e1e(0x214)](function(){return _0x14ff2f;});},function(_0x358ea1){var _0x2697dd=_0x14cb95;return _0x4e5146[_0x2697dd(0x157)](_0x138766())[_0x2697dd(0x214)](function(){return _0x4e5146['reject'](_0x358ea1);});});},_0xfeead6[_0x3b10f6(0x127)]=function(_0xeae415){return new _0xfeead6(function(_0x2163bc,_0x45bcb1){var _0x6790f5=_0x1a68;if(!_0xeae415||void 0x0===_0xeae415['length'])throw new TypeError('Promise.all\x20accepts\x20an\x20array');var _0x5364cd=Array[_0x6790f5(0x1bb)][_0x6790f5(0x251)]['call'](_0xeae415);if(0x0===_0x5364cd['length'])return _0x2163bc([]);var _0x4354bc=_0x5364cd[_0x6790f5(0x15f)];function _0x1140e8(_0x3dc038,_0x30f71b){var _0x42398d=_0x6790f5;try{if(_0x30f71b&&(_0x42398d(0x26b)===(void 0x0===_0x30f71b?_0x42398d(0x1b5):_0x41ad5c(_0x30f71b))||_0x42398d(0x208)==typeof _0x30f71b)){var _0x5f9ddb=_0x30f71b[_0x42398d(0x214)];if(_0x42398d(0x208)==typeof _0x5f9ddb)return void _0x5f9ddb[_0x42398d(0x1be)](_0x30f71b,function(_0x35ebe9){_0x1140e8(_0x3dc038,_0x35ebe9);},_0x45bcb1);}_0x5364cd[_0x3dc038]=_0x30f71b,0x0==--_0x4354bc&&_0x2163bc(_0x5364cd);}catch(_0x478cd){_0x45bcb1(_0x478cd);}}for(var _0x26ae6c=0x0;_0x26ae6c<_0x5364cd[_0x6790f5(0x15f)];_0x26ae6c++)_0x1140e8(_0x26ae6c,_0x5364cd[_0x26ae6c]);});},_0xfeead6['resolve']=function(_0x58edca){var _0x10f75a=_0x3b10f6;return _0x58edca&&_0x10f75a(0x26b)===(void 0x0===_0x58edca?_0x10f75a(0x1b5):_0x41ad5c(_0x58edca))&&_0x58edca['constructor']===_0xfeead6?_0x58edca:new _0xfeead6(function(_0x2c3a3a){_0x2c3a3a(_0x58edca);});},_0xfeead6[_0x3b10f6(0x163)]=function(_0x222e7a){return new _0xfeead6(function(_0x41309d,_0x18452f){_0x18452f(_0x222e7a);});},_0xfeead6[_0x3b10f6(0x112)]=function(_0x1a16f8){return new _0xfeead6(function(_0x4873db,_0x5c1911){for(var _0x2611ee=0x0,_0x3b47f3=_0x1a16f8['length'];_0x2611ee<_0x3b47f3;_0x2611ee++)_0x1a16f8[_0x2611ee]['then'](_0x4873db,_0x5c1911);});},_0xfeead6[_0x3b10f6(0x1a8)]=_0x3b10f6(0x208)==typeof _0x3c1fa2&&function(_0x841a58){_0x3c1fa2(_0x841a58);}||function(_0x57764e){_0x447ea0(_0x57764e,0x0);},_0xfeead6[_0x3b10f6(0x150)]=function(_0x2fa152){var _0x5f0e3a=_0x3b10f6;_0x5f0e3a(0x1b5)!=typeof console&&console&&console[_0x5f0e3a(0x277)](_0x5f0e3a(0x103),_0x2fa152);},_0xf90f96['exports']=_0xfeead6;}[_0x1720a7(0x1be)](this,_0x365615(0x24)[_0x1720a7(0x27b)]));},function(_0x3add69,_0x412fb1,_0x5df623){'use strict';var _0x3b9975=_0x1a68;Object[_0x3b9975(0x134)](_0x412fb1,_0x3b9975(0x183),{'value':!0x0});var _0x406164=(function(){function _0x291849(_0x106976,_0x28e39f){var _0x5c9d4f=_0x1a68;for(var _0x4fa8c4=0x0;_0x4fa8c4<_0x28e39f['length'];_0x4fa8c4++){var _0x131503=_0x28e39f[_0x4fa8c4];_0x131503['enumerable']=_0x131503[_0x5c9d4f(0x257)]||!0x1,_0x131503[_0x5c9d4f(0x2cd)]=!0x0,'value'in _0x131503&&(_0x131503['writable']=!0x0),Object[_0x5c9d4f(0x134)](_0x106976,_0x131503[_0x5c9d4f(0x11e)],_0x131503);}}return function(_0x162e0f,_0x5df344,_0x4649c4){return _0x5df344&&_0x291849(_0x162e0f['prototype'],_0x5df344),_0x4649c4&&_0x291849(_0x162e0f,_0x4649c4),_0x162e0f;};}()),_0x28df71=_0x2a92bc(_0x5df623(0x25)),_0x122231=_0x2a92bc(_0x5df623(0x0)),_0x7c977b=_0x2a92bc(_0x5df623(0x3)),_0x3d2fc8=_0x2a92bc(_0x5df623(0x12)),_0x148ae=_0x2a92bc(_0x5df623(0x11)),_0x5b3d64=_0x2a92bc(_0x5df623(0xd)),_0xae9b9a=_0x2a92bc(_0x5df623(0xc)),_0x5be5ec=_0x2a92bc(_0x5df623(0xb)),_0x11315c=_0x2a92bc(_0x5df623(0x9)),_0x8d77cf=_0x2a92bc(_0x5df623(0x8)),_0x6f0a6e=_0x2a92bc(_0x5df623(0x7)),_0x15b06a=_0x2a92bc(_0x5df623(0x6));function _0x2a92bc(_0x2ef96a){var _0x1ff28d=_0x3b9975;return _0x2ef96a&&_0x2ef96a[_0x1ff28d(0x183)]?_0x2ef96a:{'default':_0x2ef96a};}var _0x19d622=[],_0x4607f5=(function(){var _0x1a044c=_0x3b9975;function _0x1639bd(_0x5e2454){var _0x2a2fe3=_0x1a68;if(function(_0x1baa7d,_0xdb6792){var _0xeec3fb=_0x1a68;if(!(_0x1baa7d instanceof _0xdb6792))throw new TypeError(_0xeec3fb(0x276));}(this,_0x1639bd),this['options']=(0x0,_0x3d2fc8[_0x2a2fe3(0x13c)])(_0x5e2454),this['container']=this[_0x2a2fe3(0x1a6)][_0x2a2fe3(0x194)],this[_0x2a2fe3(0x1a0)]=!0x0,this[_0x2a2fe3(0x2b4)]=_0x28df71[_0x2a2fe3(0x13c)][_0x2a2fe3(0x157)](),this[_0x2a2fe3(0x191)]='normal',this[_0x2a2fe3(0x1db)]=_0x122231['default'][_0x2a2fe3(0x1db)](this[_0x2a2fe3(0x1a6)][_0x2a2fe3(0x22a)][_0x2a2fe3(0x15f)]),this[_0x2a2fe3(0x194)][_0x2a2fe3(0x141)][_0x2a2fe3(0x1c0)]('aplayer'),this[_0x2a2fe3(0x1a6)][_0x2a2fe3(0x27c)]&&!this[_0x2a2fe3(0x1a6)][_0x2a2fe3(0x1c7)]&&this[_0x2a2fe3(0x194)][_0x2a2fe3(0x141)][_0x2a2fe3(0x1c0)](_0x2a2fe3(0x278)),this['options'][_0x2a2fe3(0x22a)]['length']>0x1&&this['container'][_0x2a2fe3(0x141)][_0x2a2fe3(0x1c0)]('aplayer-withlist'),_0x122231[_0x2a2fe3(0x13c)]['isMobile']&&this[_0x2a2fe3(0x194)][_0x2a2fe3(0x141)][_0x2a2fe3(0x1c0)]('aplayer-mobile'),this[_0x2a2fe3(0xf8)]=this['container']['offsetWidth']<=0x12c,this[_0x2a2fe3(0xf8)]&&this['container'][_0x2a2fe3(0x141)][_0x2a2fe3(0x1c0)](_0x2a2fe3(0x1c4)),this[_0x2a2fe3(0x194)]=this[_0x2a2fe3(0x1a6)][_0x2a2fe3(0x194)],0x2===this['options'][_0x2a2fe3(0x27c)]||!0x0===this[_0x2a2fe3(0x1a6)][_0x2a2fe3(0x27c)]){for(var _0x56ac16=this[_0x2a2fe3(0x194)][_0x2a2fe3(0x2a7)]('aplayer-lrc-content'),_0x3c7d5d=0x0;_0x3c7d5d<_0x56ac16[_0x2a2fe3(0x15f)];_0x3c7d5d++)this[_0x2a2fe3(0x1a6)]['audio'][_0x3c7d5d]&&(this[_0x2a2fe3(0x1a6)][_0x2a2fe3(0x22a)][_0x3c7d5d][_0x2a2fe3(0x23d)]=_0x56ac16[_0x3c7d5d][_0x2a2fe3(0x109)]);}this[_0x2a2fe3(0x152)]=new _0x148ae[(_0x2a2fe3(0x13c))]({'container':this[_0x2a2fe3(0x194)],'options':this['options'],'randomOrder':this['randomOrder']}),this[_0x2a2fe3(0x1a6)][_0x2a2fe3(0x1c7)]&&(this[_0x2a2fe3(0x194)]['classList']['add'](_0x2a2fe3(0x1e8)),this[_0x2a2fe3(0x152)]['body']['style'][_0x2a2fe3(0x1f7)]=this['template']['body'][_0x2a2fe3(0x2c0)]-0x12+'px'),this['options'][_0x2a2fe3(0x10e)]&&(this[_0x2a2fe3(0x284)](_0x2a2fe3(0x10e)),this['template']['info'][_0x2a2fe3(0x187)]['display']=_0x2a2fe3(0x2c7)),this[_0x2a2fe3(0x152)][_0x2a2fe3(0xed)]['offsetWidth']<0xc8&&this[_0x2a2fe3(0x152)][_0x2a2fe3(0x173)][_0x2a2fe3(0x141)][_0x2a2fe3(0x1c0)]('aplayer-time-narrow'),this[_0x2a2fe3(0x1a6)][_0x2a2fe3(0x27c)]&&(this[_0x2a2fe3(0x23d)]=new _0x5be5ec[(_0x2a2fe3(0x13c))]({'container':this[_0x2a2fe3(0x152)]['lrc'],'async':0x3===this['options'][_0x2a2fe3(0x27c)],'player':this})),this['events']=new _0x6f0a6e[(_0x2a2fe3(0x13c))](),this[_0x2a2fe3(0x209)]=new _0xae9b9a[(_0x2a2fe3(0x13c))](this),this[_0x2a2fe3(0x158)]=new _0x5b3d64[(_0x2a2fe3(0x13c))](this[_0x2a2fe3(0x152)]),this[_0x2a2fe3(0x182)]=new _0x11315c[(_0x2a2fe3(0x13c))](this),this['timer']=new _0x8d77cf[(_0x2a2fe3(0x13c))](this),this['list']=new _0x15b06a[(_0x2a2fe3(0x13c))](this),this[_0x2a2fe3(0x13d)](),this[_0x2a2fe3(0x290)](),_0x2a2fe3(0x1de)===this[_0x2a2fe3(0x1a6)]['order']?this[_0x2a2fe3(0x138)]['switch'](this[_0x2a2fe3(0x1db)][0x0]):this[_0x2a2fe3(0x138)]['switch'](0x0),this[_0x2a2fe3(0x1a6)][_0x2a2fe3(0x1e9)]&&this[_0x2a2fe3(0x170)](),_0x19d622[_0x2a2fe3(0x12b)](this);}return _0x406164(_0x1639bd,[{'key':_0x1a044c(0x13d),'value':function(){var _0x3a4a84=_0x1a044c,_0x3cf554=this;this[_0x3a4a84(0x22a)]=document[_0x3a4a84(0x2bd)]('audio'),this[_0x3a4a84(0x22a)][_0x3a4a84(0x2a4)]=this['options'][_0x3a4a84(0x2a4)];for(var _0x4711ca=function(_0x93c6b6){var _0x5a0b60=_0x3a4a84;_0x3cf554[_0x5a0b60(0x22a)][_0x5a0b60(0x15e)](_0x3cf554[_0x5a0b60(0x1c6)][_0x5a0b60(0x248)][_0x93c6b6],function(_0x343424){var _0x1c9b15=_0x5a0b60;_0x3cf554['events'][_0x1c9b15(0x192)](_0x3cf554[_0x1c9b15(0x1c6)][_0x1c9b15(0x248)][_0x93c6b6],_0x343424);});},_0x4405f0=0x0;_0x4405f0<this['events']['audioEvents']['length'];_0x4405f0++)_0x4711ca(_0x4405f0);this[_0x3a4a84(0x215)](this[_0x3a4a84(0x209)]['get'](_0x3a4a84(0x215)),!0x0);}},{'key':_0x1a044c(0x290),'value':function(){var _0x5492f2=_0x1a044c,_0x95e5fa=this;this['on'](_0x5492f2(0x170),function(){var _0x2d5666=_0x5492f2;_0x95e5fa[_0x2d5666(0x1a0)]&&_0x95e5fa[_0x2d5666(0x27f)]();}),this['on'](_0x5492f2(0x107),function(){var _0x506464=_0x5492f2;_0x95e5fa['paused']||_0x95e5fa[_0x506464(0x167)]();}),this['on'](_0x5492f2(0x259),function(){var _0x54f577=_0x5492f2;if(!_0x95e5fa[_0x54f577(0x18c)]){_0x95e5fa[_0x54f577(0x158)][_0x54f577(0x15c)](_0x54f577(0x271),_0x95e5fa['audio']['currentTime']/_0x95e5fa[_0x54f577(0xfe)],_0x54f577(0x1f7)),_0x95e5fa[_0x54f577(0x23d)]&&_0x95e5fa[_0x54f577(0x23d)]['update']();var _0x2d1fa3=_0x122231[_0x54f577(0x13c)][_0x54f577(0x172)](_0x95e5fa[_0x54f577(0x22a)][_0x54f577(0x13a)]);_0x95e5fa[_0x54f577(0x152)][_0x54f577(0x238)][_0x54f577(0x109)]!==_0x2d1fa3&&(_0x95e5fa[_0x54f577(0x152)][_0x54f577(0x238)][_0x54f577(0x109)]=_0x2d1fa3);}}),this['on'](_0x5492f2(0x12f),function(){var _0x2b0f33=_0x5492f2;0x1!==_0x95e5fa[_0x2b0f33(0xfe)]&&(_0x95e5fa['template'][_0x2b0f33(0x119)]['innerHTML']=_0x122231[_0x2b0f33(0x13c)][_0x2b0f33(0x172)](_0x95e5fa['duration']));}),this['on'](_0x5492f2(0x24b),function(){var _0x2095f0=_0x5492f2,_0xf930e0=_0x95e5fa['audio'][_0x2095f0(0x29a)][_0x2095f0(0x15f)]?_0x95e5fa[_0x2095f0(0x22a)]['buffered'][_0x2095f0(0x1e6)](_0x95e5fa[_0x2095f0(0x22a)][_0x2095f0(0x29a)][_0x2095f0(0x15f)]-0x1)/_0x95e5fa[_0x2095f0(0xfe)]:0x0;_0x95e5fa[_0x2095f0(0x158)][_0x2095f0(0x15c)]('loaded',_0xf930e0,'width');});var _0x16ba8e=void 0x0;this['on'](_0x5492f2(0x26c),function(){var _0x37db54=_0x5492f2;_0x95e5fa[_0x37db54(0x138)][_0x37db54(0x2c6)][_0x37db54(0x15f)]>0x1?(_0x95e5fa['notice']('An\x20audio\x20error\x20has\x20occurred,\x20player\x20will\x20skip\x20forward\x20in\x202\x20seconds.'),_0x16ba8e=setTimeout(function(){var _0x4f9785=_0x37db54;_0x95e5fa[_0x4f9785(0x2ae)](),_0x95e5fa[_0x4f9785(0x1a0)]||_0x95e5fa[_0x4f9785(0x170)]();},0x7d0)):0x1===_0x95e5fa[_0x37db54(0x138)][_0x37db54(0x2c6)][_0x37db54(0x15f)]&&_0x95e5fa[_0x37db54(0x2b5)](_0x37db54(0x166));}),this['events']['on']('listswitch',function(){_0x16ba8e&&clearTimeout(_0x16ba8e);}),this['on']('ended',function(){var _0x5d97d0=_0x5492f2;_0x5d97d0(0x11a)===_0x95e5fa[_0x5d97d0(0x1a6)][_0x5d97d0(0xe2)]?_0x5d97d0(0x138)===_0x95e5fa[_0x5d97d0(0x1a6)][_0x5d97d0(0x282)]?_0x95e5fa['list'][_0x5d97d0(0x185)]<_0x95e5fa['list']['audios'][_0x5d97d0(0x15f)]-0x1?(_0x95e5fa[_0x5d97d0(0x138)]['switch']((_0x95e5fa[_0x5d97d0(0x138)]['index']+0x1)%_0x95e5fa[_0x5d97d0(0x138)][_0x5d97d0(0x2c6)][_0x5d97d0(0x15f)]),_0x95e5fa[_0x5d97d0(0x170)]()):(_0x95e5fa[_0x5d97d0(0x138)][_0x5d97d0(0x2a9)]((_0x95e5fa[_0x5d97d0(0x138)][_0x5d97d0(0x185)]+0x1)%_0x95e5fa[_0x5d97d0(0x138)]['audios']['length']),_0x95e5fa[_0x5d97d0(0x107)]()):_0x5d97d0(0x1de)===_0x95e5fa['options'][_0x5d97d0(0x282)]&&(_0x95e5fa[_0x5d97d0(0x1db)][_0x5d97d0(0x2cb)](_0x95e5fa['list'][_0x5d97d0(0x185)])<_0x95e5fa[_0x5d97d0(0x1db)][_0x5d97d0(0x15f)]-0x1?(_0x95e5fa[_0x5d97d0(0x138)][_0x5d97d0(0x2a9)](_0x95e5fa['nextIndex']()),_0x95e5fa[_0x5d97d0(0x170)]()):(_0x95e5fa['list']['switch'](_0x95e5fa[_0x5d97d0(0x18e)]()),_0x95e5fa['pause']())):_0x5d97d0(0xf6)===_0x95e5fa[_0x5d97d0(0x1a6)]['loop']?(_0x95e5fa['list'][_0x5d97d0(0x2a9)](_0x95e5fa[_0x5d97d0(0x138)][_0x5d97d0(0x185)]),_0x95e5fa[_0x5d97d0(0x170)]()):_0x5d97d0(0x127)===_0x95e5fa[_0x5d97d0(0x1a6)][_0x5d97d0(0xe2)]&&(_0x95e5fa[_0x5d97d0(0x2ae)](),_0x95e5fa[_0x5d97d0(0x170)]());});}},{'key':'setAudio','value':function(_0x9470e0){var _0x26675a=_0x1a044c;this['hls']&&(this[_0x26675a(0x126)]['destroy'](),this[_0x26675a(0x126)]=null);var _0x412662=_0x9470e0[_0x26675a(0x249)];this[_0x26675a(0x1a6)]['customAudioType']&&this[_0x26675a(0x1a6)][_0x26675a(0x160)][_0x412662]?_0x26675a(0xe8)===Object[_0x26675a(0x1bb)][_0x26675a(0x1f4)][_0x26675a(0x1be)](this[_0x26675a(0x1a6)]['customAudioType'][_0x412662])?this[_0x26675a(0x1a6)][_0x26675a(0x160)][_0x412662](this[_0x26675a(0x22a)],_0x9470e0,this):console[_0x26675a(0x26c)](_0x26675a(0x1d9)+_0x412662):(_0x412662&&_0x26675a(0x217)!==_0x412662||(_0x412662=/m3u8(#|\?|$)/i[_0x26675a(0x10a)](_0x9470e0[_0x26675a(0x129)])?'hls':'normal'),_0x26675a(0x126)===_0x412662?Hls[_0x26675a(0x265)]()?(this[_0x26675a(0x126)]=new Hls(),this[_0x26675a(0x126)][_0x26675a(0x1d0)](_0x9470e0[_0x26675a(0x129)]),this[_0x26675a(0x126)]['attachMedia'](this[_0x26675a(0x22a)])):this[_0x26675a(0x22a)]['canPlayType'](_0x26675a(0x1b6))||this[_0x26675a(0x22a)]['canPlayType'](_0x26675a(0x231))?this[_0x26675a(0x22a)]['src']=_0x9470e0[_0x26675a(0x129)]:this[_0x26675a(0x2b5)](_0x26675a(0xfb)):_0x26675a(0x285)===_0x412662&&(this[_0x26675a(0x22a)]['src']=_0x9470e0[_0x26675a(0x129)])),this[_0x26675a(0x213)](0x0),this[_0x26675a(0x1a0)]||this[_0x26675a(0x22a)][_0x26675a(0x170)]();}},{'key':_0x1a044c(0x1d5),'value':function(){var _0x43bdb4=_0x1a044c,_0x20e86c=arguments[_0x43bdb4(0x15f)]>0x0&&void 0x0!==arguments[0x0]?arguments[0x0]:this['list'][_0x43bdb4(0x2c6)][this[_0x43bdb4(0x138)][_0x43bdb4(0x185)]][_0x43bdb4(0x1d5)]||this[_0x43bdb4(0x1a6)][_0x43bdb4(0x1d5)],_0x4a7c81=arguments[_0x43bdb4(0x15f)]>0x1&&void 0x0!==arguments[0x1]?arguments[0x1]:this[_0x43bdb4(0x138)][_0x43bdb4(0x185)];(!(arguments[_0x43bdb4(0x15f)]>0x2&&void 0x0!==arguments[0x2])||arguments[0x2])&&this['list'][_0x43bdb4(0x2c6)][_0x4a7c81]&&(this[_0x43bdb4(0x138)][_0x43bdb4(0x2c6)][_0x4a7c81]['theme']=_0x20e86c),this[_0x43bdb4(0x152)][_0x43bdb4(0x1c8)][_0x4a7c81]&&(this[_0x43bdb4(0x152)][_0x43bdb4(0x1c8)][_0x4a7c81][_0x43bdb4(0x187)][_0x43bdb4(0x115)]=_0x20e86c),_0x4a7c81===this[_0x43bdb4(0x138)][_0x43bdb4(0x185)]&&(this[_0x43bdb4(0x152)][_0x43bdb4(0x186)]['style'][_0x43bdb4(0x115)]=_0x20e86c,this[_0x43bdb4(0x152)][_0x43bdb4(0x271)]['style'][_0x43bdb4(0x1c5)]=_0x20e86c,this[_0x43bdb4(0x152)][_0x43bdb4(0x261)][_0x43bdb4(0x187)][_0x43bdb4(0x1c5)]=_0x20e86c,this['template'][_0x43bdb4(0x215)][_0x43bdb4(0x187)][_0x43bdb4(0x1c5)]=_0x20e86c);}},{'key':'seek','value':function(_0xed6f01){var _0x38b923=_0x1a044c;_0xed6f01=Math['max'](_0xed6f01,0x0),_0xed6f01=Math[_0x38b923(0x22d)](_0xed6f01,this[_0x38b923(0xfe)]),this['audio'][_0x38b923(0x13a)]=_0xed6f01,this[_0x38b923(0x158)][_0x38b923(0x15c)]('played',_0xed6f01/this[_0x38b923(0xfe)],_0x38b923(0x1f7)),this['template'][_0x38b923(0x238)][_0x38b923(0x109)]=_0x122231[_0x38b923(0x13c)]['secondToTime'](_0xed6f01);}},{'key':_0x1a044c(0x27f),'value':function(){var _0x19ab4e=_0x1a044c,_0x37e082=this;if(this[_0x19ab4e(0x1a0)]&&(this[_0x19ab4e(0x1a0)]=!0x1,this[_0x19ab4e(0x152)][_0x19ab4e(0x1f6)][_0x19ab4e(0x141)][_0x19ab4e(0x255)](_0x19ab4e(0x128)),this[_0x19ab4e(0x152)]['button']['classList'][_0x19ab4e(0x1c0)](_0x19ab4e(0x266)),this['template'][_0x19ab4e(0x1f6)][_0x19ab4e(0x109)]='',setTimeout(function(){var _0x505f68=_0x19ab4e;_0x37e082[_0x505f68(0x152)][_0x505f68(0x1f6)]['innerHTML']=_0x7c977b[_0x505f68(0x13c)][_0x505f68(0x107)];},0x64),this[_0x19ab4e(0x152)][_0x19ab4e(0x1ef)][_0x19ab4e(0x109)]=_0x7c977b[_0x19ab4e(0x13c)][_0x19ab4e(0x107)]),this[_0x19ab4e(0x184)][_0x19ab4e(0x2a1)](_0x19ab4e(0x165)),this['options'][_0x19ab4e(0x281)]){for(var _0x39b5af=0x0;_0x39b5af<_0x19d622[_0x19ab4e(0x15f)];_0x39b5af++)this!==_0x19d622[_0x39b5af]&&_0x19d622[_0x39b5af][_0x19ab4e(0x107)]();}}},{'key':'play','value':function(){var _0x3e2871=_0x1a044c,_0x30cd51=this;this['setUIPlaying']();var _0x11bba0=this[_0x3e2871(0x22a)][_0x3e2871(0x170)]();_0x11bba0&&_0x11bba0[_0x3e2871(0x211)](function(_0x493955){var _0x513dfa=_0x3e2871;console[_0x513dfa(0x277)](_0x493955),_0x513dfa(0x288)===_0x493955['name']&&_0x30cd51[_0x513dfa(0x167)]();});}},{'key':_0x1a044c(0x167),'value':function(){var _0x5c6a08=_0x1a044c,_0x327f5a=this;this[_0x5c6a08(0x1a0)]||(this[_0x5c6a08(0x1a0)]=!0x0,this['template'][_0x5c6a08(0x1f6)][_0x5c6a08(0x141)][_0x5c6a08(0x255)](_0x5c6a08(0x266)),this[_0x5c6a08(0x152)]['button']['classList'][_0x5c6a08(0x1c0)](_0x5c6a08(0x128)),this[_0x5c6a08(0x152)][_0x5c6a08(0x1f6)][_0x5c6a08(0x109)]='',setTimeout(function(){var _0x2ab3d7=_0x5c6a08;_0x327f5a[_0x2ab3d7(0x152)][_0x2ab3d7(0x1f6)][_0x2ab3d7(0x109)]=_0x7c977b[_0x2ab3d7(0x13c)][_0x2ab3d7(0x170)];},0x64),this[_0x5c6a08(0x152)][_0x5c6a08(0x1ef)]['innerHTML']=_0x7c977b[_0x5c6a08(0x13c)][_0x5c6a08(0x170)]),this[_0x5c6a08(0x194)][_0x5c6a08(0x141)][_0x5c6a08(0x255)](_0x5c6a08(0x1e2)),this[_0x5c6a08(0x184)]['disable'](_0x5c6a08(0x165));}},{'key':_0x1a044c(0x107),'value':function(){var _0x55f547=_0x1a044c;this[_0x55f547(0x167)](),this[_0x55f547(0x22a)][_0x55f547(0x107)]();}},{'key':'switchVolumeIcon','value':function(){var _0x3eb42c=_0x1a044c;this[_0x3eb42c(0x215)]()>=0.95?this['template'][_0x3eb42c(0x264)]['innerHTML']=_0x7c977b[_0x3eb42c(0x13c)][_0x3eb42c(0x20c)]:this[_0x3eb42c(0x215)]()>0x0?this[_0x3eb42c(0x152)]['volumeButton'][_0x3eb42c(0x109)]=_0x7c977b[_0x3eb42c(0x13c)]['volumeDown']:this[_0x3eb42c(0x152)][_0x3eb42c(0x264)][_0x3eb42c(0x109)]=_0x7c977b['default'][_0x3eb42c(0x28d)];}},{'key':_0x1a044c(0x215),'value':function(_0x4f2a2c,_0x2d0f84){var _0x4c8414=_0x1a044c;return _0x4f2a2c=parseFloat(_0x4f2a2c),isNaN(_0x4f2a2c)||(_0x4f2a2c=Math[_0x4c8414(0x1fa)](_0x4f2a2c,0x0),_0x4f2a2c=Math[_0x4c8414(0x22d)](_0x4f2a2c,0x1),this[_0x4c8414(0x158)][_0x4c8414(0x15c)](_0x4c8414(0x215),_0x4f2a2c,'height'),_0x2d0f84||this[_0x4c8414(0x209)]['set'](_0x4c8414(0x215),_0x4f2a2c),this[_0x4c8414(0x22a)][_0x4c8414(0x215)]=_0x4f2a2c,this[_0x4c8414(0x22a)]['muted']&&(this[_0x4c8414(0x22a)][_0x4c8414(0x137)]=!0x1),this['switchVolumeIcon']()),this[_0x4c8414(0x22a)]['muted']?0x0:this['audio'][_0x4c8414(0x215)];}},{'key':'on','value':function(_0x32a118,_0x48675a){var _0x4d02f3=_0x1a044c;this[_0x4d02f3(0x1c6)]['on'](_0x32a118,_0x48675a);}},{'key':_0x1a044c(0x17e),'value':function(){var _0x1ea853=_0x1a044c;this[_0x1ea853(0x152)][_0x1ea853(0x1f6)]['classList']['contains'](_0x1ea853(0x128))?this[_0x1ea853(0x170)]():this[_0x1ea853(0x152)]['button'][_0x1ea853(0x141)]['contains'](_0x1ea853(0x266))&&this[_0x1ea853(0x107)]();}},{'key':_0x1a044c(0x177),'value':function(_0x3597de){var _0x48cc99=_0x1a044c;this[_0x48cc99(0x138)]['switch'](_0x3597de);}},{'key':_0x1a044c(0x262),'value':function(_0x201557){var _0x59634b=_0x1a044c;this[_0x59634b(0x138)][_0x59634b(0x1c0)](_0x201557);}},{'key':_0x1a044c(0x1a3),'value':function(_0x4d98a7){var _0x202978=_0x1a044c;this[_0x202978(0x138)]['remove'](_0x4d98a7);}},{'key':_0x1a044c(0x1c9),'value':function(){var _0xee297b=_0x1a044c;_0x19d622[_0xee297b(0x199)](_0x19d622[_0xee297b(0x2cb)](this),0x1),this[_0xee297b(0x107)](),this[_0xee297b(0x194)]['innerHTML']='',this[_0xee297b(0x22a)][_0xee297b(0xe3)]='',this[_0xee297b(0x184)]['destroy'](),this[_0xee297b(0x1c6)][_0xee297b(0x192)](_0xee297b(0x1c9));}},{'key':_0x1a044c(0x284),'value':function(){var _0xceadbd=_0x1a044c,_0x7222d8=arguments[_0xceadbd(0x15f)]>0x0&&void 0x0!==arguments[0x0]?arguments[0x0]:_0xceadbd(0x285);this[_0xceadbd(0x191)]=_0x7222d8,_0xceadbd(0x10e)===_0x7222d8?this[_0xceadbd(0x194)][_0xceadbd(0x141)][_0xceadbd(0x1c0)](_0xceadbd(0x252)):'normal'===_0x7222d8&&this[_0xceadbd(0x194)][_0xceadbd(0x141)][_0xceadbd(0x255)](_0xceadbd(0x252));}},{'key':_0x1a044c(0x2b5),'value':function(_0x3877bc){var _0x201ee8=_0x1a044c,_0x38c270=this,_0x10acff=arguments['length']>0x1&&void 0x0!==arguments[0x1]?arguments[0x1]:0x7d0,_0x3eb94a=arguments[_0x201ee8(0x15f)]>0x2&&void 0x0!==arguments[0x2]?arguments[0x2]:0.8;this[_0x201ee8(0x152)][_0x201ee8(0x2b5)][_0x201ee8(0x109)]=_0x3877bc,this[_0x201ee8(0x152)][_0x201ee8(0x2b5)][_0x201ee8(0x187)][_0x201ee8(0x245)]=_0x3eb94a,this[_0x201ee8(0x156)]&&clearTimeout(this['noticeTime']),this[_0x201ee8(0x1c6)][_0x201ee8(0x192)](_0x201ee8(0x1ba),{'text':_0x3877bc}),_0x10acff&&(this[_0x201ee8(0x156)]=setTimeout(function(){var _0x468654=_0x201ee8;_0x38c270['template']['notice'][_0x468654(0x187)]['opacity']=0x0,_0x38c270['events']['trigger']('noticehide');},_0x10acff));}},{'key':'prevIndex','value':function(){var _0x36cfb6=_0x1a044c;if(!(this[_0x36cfb6(0x138)]['audios'][_0x36cfb6(0x15f)]>0x1))return 0x0;if('list'===this[_0x36cfb6(0x1a6)][_0x36cfb6(0x282)])return this[_0x36cfb6(0x138)]['index']-0x1<0x0?this[_0x36cfb6(0x138)][_0x36cfb6(0x2c6)][_0x36cfb6(0x15f)]-0x1:this[_0x36cfb6(0x138)]['index']-0x1;if(_0x36cfb6(0x1de)===this[_0x36cfb6(0x1a6)]['order']){var _0x420faa=this[_0x36cfb6(0x1db)][_0x36cfb6(0x2cb)](this[_0x36cfb6(0x138)][_0x36cfb6(0x185)]);return 0x0===_0x420faa?this[_0x36cfb6(0x1db)][this[_0x36cfb6(0x1db)]['length']-0x1]:this[_0x36cfb6(0x1db)][_0x420faa-0x1];}}},{'key':_0x1a044c(0x18e),'value':function(){var _0x19943e=_0x1a044c;if(!(this[_0x19943e(0x138)][_0x19943e(0x2c6)][_0x19943e(0x15f)]>0x1))return 0x0;if(_0x19943e(0x138)===this[_0x19943e(0x1a6)][_0x19943e(0x282)])return(this[_0x19943e(0x138)][_0x19943e(0x185)]+0x1)%this[_0x19943e(0x138)]['audios'][_0x19943e(0x15f)];if(_0x19943e(0x1de)===this[_0x19943e(0x1a6)][_0x19943e(0x282)]){var _0xe8e657=this['randomOrder'][_0x19943e(0x2cb)](this[_0x19943e(0x138)][_0x19943e(0x185)]);return _0xe8e657===this[_0x19943e(0x1db)][_0x19943e(0x15f)]-0x1?this[_0x19943e(0x1db)][0x0]:this[_0x19943e(0x1db)][_0xe8e657+0x1];}}},{'key':_0x1a044c(0x223),'value':function(){var _0x52850f=_0x1a044c;this[_0x52850f(0x138)][_0x52850f(0x2a9)](this[_0x52850f(0x132)]());}},{'key':_0x1a044c(0x2ae),'value':function(){var _0x185006=_0x1a044c;this[_0x185006(0x138)][_0x185006(0x2a9)](this[_0x185006(0x18e)]());}},{'key':_0x1a044c(0xfe),'get':function(){var _0x276143=_0x1a044c;return isNaN(this['audio']['duration'])?0x0:this[_0x276143(0x22a)][_0x276143(0xfe)];}}],[{'key':_0x1a044c(0x242),'get':function(){var _0x237ba0=_0x1a044c;return _0x237ba0(0xea);}}]),_0x1639bd;}());_0x412fb1[_0x3b9975(0x13c)]=_0x4607f5;},,function(_0x23ea92,_0x691953,_0x55b2c1){},function(_0xb0b2fd,_0xf42818,_0x486f94){'use strict';var _0x10e3c2=_0x1a68;Object[_0x10e3c2(0x134)](_0xf42818,_0x10e3c2(0x183),{'value':!0x0}),_0x486f94(0x28);var _0x422da0,_0x4d6bb8=_0x486f94(0x26),_0x5cc209=(_0x422da0=_0x4d6bb8)&&_0x422da0['__esModule']?_0x422da0:{'default':_0x422da0};console['log']('\x0a\x20%c\x20APlayer\x20v1.10.1\x20af84efb\x20%c\x20http://aplayer.js.org\x20\x0a',_0x10e3c2(0x267),_0x10e3c2(0x117)),_0xf42818[_0x10e3c2(0x13c)]=_0x5cc209[_0x10e3c2(0x13c)];}])[_0x3f9532(0x13c)];}));function _0x33db(){var _0x1c60c7=['auto','ratechange','touchstart','59193dZZYbf','<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>','lrcshow','document','aplayer-setting','getElementViewLeft','<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>','onFulfilled','prependListener','skipBack','fullscreenElement','<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>','aplayer-icon-lrc-inactivity','getObject','show','initVolumeButton','audio','hash','number','min','run','replace','_value','application/vnd.apple.mpegURL','navigator','</button></div>\x0a</div>\x0a<div\x20class=\x22aplayer-list','forEach','listshow','get','dragEnd','ptime','</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','parentElement','right','listOl','lrc','listswitch','initLrcButton','volumeDown',';\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','version','volumeBarWrap','suspend','opacity','clear','responseText','audioEvents','type','clientHeight','progress','\x0a\x20\x20\x20\x20</ol>\x0a</div>\x0a','name','APlayer','.aplayer-volume','orderRandom','slice','aplayer-narrow','21777744XyLLUW','<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>','remove','body','enumerable','filter','timeupdate','[object\x20process]','miniSwitcher','pushState','No\x20audio','listremove','getItem','value','thumb','addAudio','string','volumeButton','isSupported','aplayer-pause','color:\x20#fadfa3;\x20background:\x20#030307;\x20padding:5px\x200;','loadstart','skipBackButton','nextTick','object','error','constructor','.aplayer-pic','attachEvent','lrchide','played','offsetTop','aplayer-list-light','parse','.aplayer-list-cur','Cannot\x20call\x20a\x20class\x20as\x20a\x20function','warn','aplayer-withlrc','scrollLeft','[object\x20Array]','setImmediate','lrcType','\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','listeners','setUIPlaying','loopAll','mutex','order','nameMap','setMode','normal','scrollTop','\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','NotAllowedError','Promises\x20must\x20be\x20constructed\x20via\x20new','iterator','map','seeked','volumeOff','_unrefActive','touchend','bindEvents','current','close','setItem','volumeBar','11vyRBOY','return\x20this','_idleTimeout','target','loopOne','buffered','\x20class=\x22aplayer-lrc-current\x22','removeEventListener','1OjuLZS',';\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','concat','3999373VIopMm','enable','webkitTransform','a[href^=\x22#\x22]:not([href=\x22#\x22])','preload','backgroundImage','<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>','getElementsByClassName','setImmediate$','switch','.aplayer-lrc-contents','initPlayBar','umask','appendChild','skipForward','.aplayer-volume-bar-wrap','</span>\x0a</li>\x0a','canplaythrough','split','</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','playedPromise','notice','getElementsByTagName','&#60;','offsetLeft','not\x20a\x20function','volumechange','Loading','height','createElement','skipForwardButton','playing','offsetWidth','now','mozRequestAnimationFrame','initMenuButton','disable','ref','audios','block','top','Audio\x20name','chdir','indexOf','listclear','configurable','isArray','status','loop','src','active','_id','setAudio','querySelector','[object\x20Function]','initOrderButton','1.10.1','px)','5HnJVFw','info','narrow','fps','importScripts','storageName','<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>','.aplayer-icon-forward','getPrototypeOf','click','one','initMiniSwitcher','arrow','$value','dragStart','Error:\x20HLS\x20is\x20not\x20supported.','stringify','transform','duration','aplayer-list-index','sort','loaded','.aplayer-icon-back','Possible\x20Unhandled\x20Promise\x20Rejection:','writable','env','lrcWrap','pause','.aplayer-body','innerHTML','exec','listadd','loadingChecker','.aplayer-time\x20button','mini','fun','.aplayer-miniswitcher','background-color:\x20','race','exports','clientWidth','backgroundColor','promise','background:\x20#fadfa3;\x20padding:5px\x200;','callback','dtime','none','>\x0a\x20\x20\x20\x20\x20\x20\x20\x20','array','message','key','LRC\x20file\x20request\x20fails:\x20status\x20','finally','ended','initPlayButton','hasOwnProperty','contains','\x0a\x20\x20\x20\x20<p','hls','all','aplayer-play','url','orderList','push','removeListener','_deferreds','msRequestAnimationFrame','durationchange','00:00','open','prevIndex','.aplayer-dtime','defineProperty','cwd','cover','muted','list','onmessage','currentTime','1828920cTerPQ','default','initAudio','loadedmetadata','getBoundingClientRect','_handled','classList','textContent','clientX','documentElement','_state','\x20-\x20','aplayer-volume-bar-wrap-active','aplayer-list-hide','elements','\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-lrc\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','HTML','_idleTimeoutId','floor','\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','aplayer-lrc-hide','_unhandledRejectionFn','update','template','<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>','charCodeAt','aplayer-lrc-current','noticeTime','resolve','bar','unref','pageYOffset','\x0a<div\x20class=\x22aplayer-list','set','250px','addEventListener','length','customAudioType','onRejected','Audio\x20artist','reject','.aplayer-played','loading','An\x20audio\x20error\x20has\x20occurred.','setUIPaused','port2','removeChild','.aplayer-icon-menu','initSkipButton','11927880QasXFd','music','dragMove','readyState','play','.aplayer-list','secondToTime','time','substring','title','934006xKhrqx','switchAudio','process','mozaudioavailable','setTimeout','requestAnimationFrame','</span>\x0a\x20\x20\x20\x20<span\x20class=\x22aplayer-list-author\x22>','_clearFn','toggle','</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','postMessage','\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>','controller','__esModule','timer','index','pic','style','\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','data','listhide','player','disableTimeupdate','#b7daff','nextIndex','lrcButton','symbol','mode','trigger','.aplayer-notice','container',';\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20<div\x20class=\x22aplayer-button\x20aplayer-play\x22>','.aplayer-info','unenroll','getElementById','splice','barWrap','test','initfpsChecker','playerEvents','defaultPrevented','onreadystatechange','paused','.aplayer-ptime','_onTimeout','removeAudio','\x0a<li>\x0a\x20\x20\x20\x20<span\x20class=\x22aplayer-list-cur\x22\x20style=\x22background-color:\x20','match','options','preventDefault','_immediateFn','>\x0a\x20\x20\x20\x20<ol','<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>','&#62;','noticehide','skip','A\x20promise\x20cannot\x20be\x20resolved\x20with\x20itself.','join','port1','types','&quot;);','offsetParent','aplayer','undefined','application/x-mpegURL','lyrics','addListener','amd','noticeshow','prototype','$each','process.chdir\x20is\x20not\x20supported','call','init','add','&#38;','toUpperCase','$escape','aplayer-arrow','background','events','fixed','listCurs','destroy','\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','this','$index','async','.aplayer-icon-play','Not\x20available','loadSource','emptied','clearTimeout','touchmove','1264182RttMmS','theme','aplayer-withlist','browser','.aplayer-time','Illegal\x20customType:\x20','initLoopButton','randomOrder',';\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>','.aplayer-lrc','random','menu','loopNone','webkitRequestAnimationFrame','aplayer-loading','clientY','setTimeout\x20has\x20not\x20been\x20defined','querySelectorAll','end','.aplayer-volume-bar','aplayer-fixed','autoplay','from','versions','</p>\x0a','.aplayer-list\x20ol','<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>','skipPlayButton','<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>','Checker','hide','argv','toString','listmaxheight','button','width','script','listMaxHeight','max','parsed','232PuUzvl','Unknown\x20event\x20name:\x20','listFolded','clearImmediate','4cYQmbJ','artist','<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>','\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','icons','background-image:\x20url(&quot;','changedTouches','.aplayer-thumb','function','storage','\x20style=\x22max-height:\x20','&#34;','volumeUp','DOMContentLoaded','loadeddata','.aplayer-title','switchVolumeIcon','catch','apply','seek','then','volume','author'];_0x33db=function(){return _0x1c60c7;};return _0x33db();}
@@ -1 +1 @@
1
- "use strict";function _objectSpread(e){for(var t=1;t<arguments.length;t++){var i=null==arguments[t]?{}:arguments[t],a=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(i).filter((function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable})))),a.forEach((function(t){_defineProperty(e,t,i[t])}))}return e}function _defineProperty(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class MetingJSElement extends HTMLElement{connectedCallback(){window.APlayer&&window.fetch&&(this._init(),this._parse())}disconnectedCallback(){this.lock||this.aplayer.destroy()}_camelize(e){return e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,((e,t)=>t.toUpperCase()))}_init(){let e={};for(let t=0;t<this.attributes.length;t+=1)e[this._camelize(this.attributes[t].name)]=this.attributes[t].value;let t=["server","type","id","api","auth","auto","lock","name","title","artist","author","url","cover","pic","lyric","lrc"];this.meta={};for(var i=0;i<t.length;i++){let a=t[i];this.meta[a]=e[a],delete e[a]}this.config=e,this.api=this.meta.api||window.meting_api||"https://meting.cpen.top/api/?server=:server&type=:type&id=:id&auth=:auth&r=:r",this.meta.auto&&this._parse_link()}_parse_link(){let e=[["music.163.com.*song.*id=(\\d+)","netease","song"],["music.163.com.*album.*id=(\\d+)","netease","album"],["music.163.com.*artist.*id=(\\d+)","netease","artist"],["music.163.com.*playlist.*id=(\\d+)","netease","playlist"],["music.163.com.*discover/toplist.*id=(\\d+)","netease","playlist"],["y.qq.com.*song/(\\w+).html","tencent","song"],["y.qq.com.*album/(\\w+).html","tencent","album"],["y.qq.com.*singer/(\\w+).html","tencent","artist"],["y.qq.com.*playsquare/(\\w+).html","tencent","playlist"],["y.qq.com.*playlist/(\\w+).html","tencent","playlist"],["xiami.com.*song/(\\w+)","xiami","song"],["xiami.com.*album/(\\w+)","xiami","album"],["xiami.com.*artist/(\\w+)","xiami","artist"],["xiami.com.*collect/(\\w+)","xiami","playlist"]];for(var t=0;t<e.length;t++){let i=e[t],a=new RegExp(i[0]).exec(this.meta.auto);if(null!==a)return this.meta.server=i[1],this.meta.type=i[2],void(this.meta.id=a[1])}}_parse(){if(this.meta.url){let e={name:this.meta.name||this.meta.title||"Audio name",artist:this.meta.artist||this.meta.author||"Audio artist",url:this.meta.url,cover:this.meta.cover||this.meta.pic,lrc:this.meta.lrc||this.meta.lyric||"",type:this.meta.type||"auto"};return e.lrc||(this.meta.lrcType=0),this.innerText&&(e.lrc=this.innerText,this.meta.lrcType=2),void this._loadPlayer([e])}let e=this.api.replace(":server",this.meta.server).replace(":type",this.meta.type).replace(":id",this.meta.id).replace(":auth",this.meta.auth).replace(":r",Math.random());fetch(e).then((e=>e.json())).then((e=>this._loadPlayer(e)))}_loadPlayer(e){let t={audio:e,mutex:!0,lrcType:this.meta.lrcType||3,storageName:"metingjs"};if(e.length){let e=_objectSpread({},t,this.config);for(let t in e)("true"===e[t]||"false"===e[t])&&(e[t]="true"===e[t]);let i=document.createElement("div");e.container=i,this.appendChild(i),this.aplayer=new APlayer(e)}}}console.log("\n %c MetingJS v2.0.1 %c https://github.com/metowolf/MetingJS \n","color: #fadfa3; background: #030307; padding:5px 0;","background: #fadfa3; padding:5px 0;"),window.customElements&&!window.customElements.get("meting-js")&&(window.MetingJSElement=MetingJSElement,window.customElements.define("meting-js",MetingJSElement));
1
+ "use strict";function _objectSpread(e){for(var t=1;t<arguments.length;t++){var i=null==arguments[t]?{}:arguments[t],a=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(i).filter((function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable})))),a.forEach((function(t){_defineProperty(e,t,i[t])}))}return e}function _defineProperty(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}class MetingJSElement extends HTMLElement{connectedCallback(){window.APlayer&&window.fetch&&(this._init(),this._parse())}disconnectedCallback(){this.lock||this.aplayer.destroy()}_camelize(e){return e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,((e,t)=>t.toUpperCase()))}_init(){let e={};for(let t=0;t<this.attributes.length;t+=1)e[this._camelize(this.attributes[t].name)]=this.attributes[t].value;let t=["server","type","id","api","auth","auto","lock","name","title","artist","author","url","cover","pic","lyric","lrc"];this.meta={};for(var i=0;i<t.length;i++){let a=t[i];this.meta[a]=e[a],delete e[a]}this.config=e,this.api=this.meta.api||window.meting_api||"https://meting.cpen.top/api/?server=:server&type=:type&id=:id&auth=:auth&r=:r",this.meta.auto&&this._parse_link()}_parse_link(){let e=[["music.163.com.*song.*id=(\\d+)","netease","song"],["music.163.com.*album.*id=(\\d+)","netease","album"],["music.163.com.*artist.*id=(\\d+)","netease","artist"],["music.163.com.*playlist.*id=(\\d+)","netease","playlist"],["music.163.com.*discover/toplist.*id=(\\d+)","netease","playlist"],["y.qq.com.*song/(\\w+).html","tencent","song"],["y.qq.com.*album/(\\w+).html","tencent","album"],["y.qq.com.*singer/(\\w+).html","tencent","artist"],["y.qq.com.*playsquare/(\\w+).html","tencent","playlist"],["y.qq.com.*playlist/(\\w+).html","tencent","playlist"],["xiami.com.*song/(\\w+)","xiami","song"],["xiami.com.*album/(\\w+)","xiami","album"],["xiami.com.*artist/(\\w+)","xiami","artist"],["xiami.com.*collect/(\\w+)","xiami","playlist"]];for(var t=0;t<e.length;t++){let i=e[t],a=new RegExp(i[0]).exec(this.meta.auto);if(null!==a)return this.meta.server=i[1],this.meta.type=i[2],void(this.meta.id=a[1])}}_parse(){if(this.meta.url){let e={name:this.meta.name||this.meta.title||"Audio name",artist:this.meta.artist||this.meta.author||"Audio artist",url:this.meta.url,cover:this.meta.cover||this.meta.pic,lrc:this.meta.lrc||this.meta.lyric||"",type:this.meta.type||"auto"};return e.lrc||(this.meta.lrcType=0),this.innerText&&(e.lrc=this.innerText,this.meta.lrcType=2),void this._loadPlayer([e])}let e=this.api.replace(":server",this.meta.server).replace(":type",this.meta.type).replace(":id",this.meta.id).replace(":auth",this.meta.auth).replace(":r",Math.random());fetch(e).then((e=>e.json())).then((e=>this._loadPlayer(e)))}_loadPlayer(e){let t={audio:e,mutex:!0,lrcType:this.meta.lrcType||3,storageName:"metingjs"};if(e.length){let e=_objectSpread({},t,this.config);for(let t in e)("true"===e[t]||"false"===e[t])&&(e[t]="true"===e[t]);let i=document.createElement("div");e.container=i,this.appendChild(i),this.aplayer=new APlayer(e)}}}console.log("\n %c MetingJS v2.0.1 %c https://github.com/metowolf/MetingJS \n","color: #fadfa3; background: #030307; padding:5px 0;","background: #fadfa3; padding:5px 0;"),window.customElements&&!window.customElements.get("meting-js")&&(window.MetingJSElement=MetingJSElement,window.customElements.define("meting-js",MetingJSElement));ong'],[_0x53e0ca(0x218),_0x53e0ca(0x1e6),_0x53e0ca(0x1f6)],[_0x53e0ca(0x1f3),_0x53e0ca(0x1e6),_0x53e0ca(0x1f8)],[_0x53e0ca(0x1f5),'tencent',_0x53e0ca(0x204)],[_0x53e0ca(0x1d7),'tencent','playlist'],['xiami.com.*song/(\x5cw+)','xiami',_0x53e0ca(0x1fd)],[_0x53e0ca(0x206),_0x53e0ca(0x1df),_0x53e0ca(0x1f6)],[_0x53e0ca(0x1d9),_0x53e0ca(0x1df),_0x53e0ca(0x1f8)],[_0x53e0ca(0x1ee),_0x53e0ca(0x1df),_0x53e0ca(0x204)]];for(var _0x2c6fb1=0x0;_0x2c6fb1<_0x379a74[_0x53e0ca(0x216)];_0x2c6fb1++){let _0x10baa5=_0x379a74[_0x2c6fb1],_0x479dec=new RegExp(_0x10baa5[0x0]),_0x5bb17c=_0x479dec['exec'](this[_0x53e0ca(0x209)]['auto']);if(null!==_0x5bb17c)return this['meta'][_0x53e0ca(0x220)]=_0x10baa5[0x1],this['meta'][_0x53e0ca(0x208)]=_0x10baa5[0x2],void(this[_0x53e0ca(0x209)]['id']=_0x5bb17c[0x1]);}}[_0x1ad21d(0x207)](){const _0x307445=_0x1ad21d;if(this[_0x307445(0x209)][_0x307445(0x21b)]){let _0x2b3bf8={'name':this[_0x307445(0x209)][_0x307445(0x213)]||this[_0x307445(0x209)][_0x307445(0x20e)]||_0x307445(0x1d4),'artist':this[_0x307445(0x209)]['artist']||this[_0x307445(0x209)][_0x307445(0x212)]||_0x307445(0x1fe),'url':this[_0x307445(0x209)][_0x307445(0x21b)],'cover':this[_0x307445(0x209)]['cover']||this['meta'][_0x307445(0x203)],'lrc':this[_0x307445(0x209)][_0x307445(0x1ef)]||this['meta']['lyric']||'','type':this[_0x307445(0x209)][_0x307445(0x208)]||'auto'};return _0x2b3bf8['lrc']||(this['meta']['lrcType']=0x0),this[_0x307445(0x1f2)]&&(_0x2b3bf8[_0x307445(0x1ef)]=this[_0x307445(0x1f2)],this[_0x307445(0x209)][_0x307445(0x205)]=0x2),void this[_0x307445(0x1e1)]([_0x2b3bf8]);}let _0x2759b1=this[_0x307445(0x225)][_0x307445(0x1ec)](_0x307445(0x1f1),this[_0x307445(0x209)]['server'])['replace'](_0x307445(0x210),this[_0x307445(0x209)]['type'])[_0x307445(0x1ec)](_0x307445(0x1d1),this[_0x307445(0x209)]['id'])[_0x307445(0x1ec)](':auth',this[_0x307445(0x209)][_0x307445(0x227)])[_0x307445(0x1ec)](':r',Math[_0x307445(0x21a)]());fetch(_0x2759b1)[_0x307445(0x1d3)](_0x50b619=>_0x50b619[_0x307445(0x1f4)]())[_0x307445(0x1d3)](_0xe2a6ed=>this[_0x307445(0x1e1)](_0xe2a6ed));}[_0x1ad21d(0x1e1)](_0x4840d9){const _0x2b5e74=_0x1ad21d;let _0x2cb73d={'audio':_0x4840d9,'mutex':!0x0,'lrcType':this[_0x2b5e74(0x209)][_0x2b5e74(0x205)]||0x3,'storageName':_0x2b5e74(0x1dc)};if(_0x4840d9[_0x2b5e74(0x216)]){let _0x37da03=_objectSpread({},_0x2cb73d,this[_0x2b5e74(0x202)]);for(let _0x1b96ef in _0x37da03)(_0x2b5e74(0x1ea)===_0x37da03[_0x1b96ef]||'false'===_0x37da03[_0x1b96ef])&&(_0x37da03[_0x1b96ef]=_0x2b5e74(0x1ea)===_0x37da03[_0x1b96ef]);let _0xbcf2cd=document[_0x2b5e74(0x20f)]('div');_0x37da03[_0x2b5e74(0x20c)]=_0xbcf2cd,this[_0x2b5e74(0x229)](_0xbcf2cd),this[_0x2b5e74(0x1ff)]=new APlayer(_0x37da03);}}}function _0x35c8(){const _0x5a2a4a=['xiami.com.*album/(\x5cw+)','_parse','type','meta','lock','music.163.com.*discover/toplist.*id=(\x5cd+)','container','26034QuZdPl','title','createElement',':type','disconnectedCallback','author','name','attributes','6106816ECjdli','length','_camelize','y.qq.com.*album/(\x5cw+).html','background:\x20#fadfa3;\x20padding:5px\x200;','random','url','5lemjta','2PPBYdb','music.163.com.*song.*id=(\x5cd+)','7288440CgJzCw','server','enumerable','music.163.com.*artist.*id=(\x5cd+)','_parse_link','function','api','y.qq.com.*song/(\x5cw+).html','auth','meting-js','appendChild','log',':id','get','then','Audio\x20name','cover','destroy','y.qq.com.*playlist/(\x5cw+).html','toLowerCase','xiami.com.*artist/(\x5cw+)','1015486uEsGbs','auto','metingjs','color:\x20#fadfa3;\x20background:\x20#030307;\x20padding:5px\x200;','\x0a\x20%c\x20MetingJS\x20v2.0.1\x20%c\x20https://github.com/metowolf/MetingJS\x20\x0a','xiami','music.163.com.*album.*id=(\x5cd+)','_loadPlayer','1634859YOoTwx','4576461bFodPr','7MFlpci','fetch','tencent','meting_api','getOwnPropertyDescriptor','netease','true','customElements','replace','forEach','xiami.com.*collect/(\x5cw+)','lrc','toUpperCase',':server','innerText','y.qq.com.*singer/(\x5cw+).html','json','y.qq.com.*playsquare/(\x5cw+).html','album','APlayer','artist','getOwnPropertySymbols','https://meting.cpen.top/api/?server=:server&type=:type&id=:id&auth=:auth&r=:r','5335760iGmdOn','define','song','Audio\x20artist','aplayer','defineProperty','music.163.com.*playlist.*id=(\x5cd+)','config','pic','playlist','lrcType'];_0x35c8=function(){return _0x5a2a4a;};return _0x35c8();}console[_0x1ad21d(0x1d0)](_0x1ad21d(0x1de),_0x1ad21d(0x1dd),_0x1ad21d(0x219)),window[_0x1ad21d(0x1eb)]&&!window['customElements'][_0x1ad21d(0x1d2)](_0x1ad21d(0x228))&&(window['MetingJSElement']=MetingJSElement,window[_0x1ad21d(0x1eb)][_0x1ad21d(0x1fc)](_0x1ad21d(0x228),MetingJSElement));
package/music1/js/main.js CHANGED
@@ -1 +1 @@
1
- console.log("\n %c HeoMusic 开源静态音乐播放器 v1.5 %c https://github.com/zhheo/HeoMusic \n","color: #fadfa3; background: #030307; padding:5px 0;","background: #fadfa3; padding:5px 0;");var volume=.8;const params=new URLSearchParams(window.location.search);var heo={changeMusicBg:function(e=!0){const t=document.getElementById("music_bg");if(e){const e=document.querySelector("#heoMusic-page .aplayer-pic");var n=new Image;n.src=extractValue(e.style.backgroundImage),n.onload=function(){t.style.backgroundImage=e.style.backgroundImage}}else{let e=setInterval((()=>{document.querySelector("#heoMusic-page .aplayer-pic")&&(clearInterval(e),document.querySelector("meting-js").aplayer.volume(.8,!0),heo.addEventListenerChangeMusicBg())}),100)}},addEventListenerChangeMusicBg:function(){document.getElementById("heoMusic-page").querySelector("meting-js").aplayer.on("loadeddata",(function(){heo.changeMusicBg()}))},getCustomPlayList:function(){const e=document.getElementById("heoMusic-page"),t=params.get("type")||"playlist";if(params.get("id")&&params.get("server")){var n=params.get("id"),o=params.get("server");e.innerHTML=`<meting-js id="${n}" server="${o}" type="${t}" mutex="true" preload="auto"></meting-js>`}else e.innerHTML=`<meting-js id="${userId}" server="${userServer}" type="${userType}" mutex="true" preload="auto"></meting-js>`;heo.changeMusicBg(!1)}};heo.getCustomPlayList();const vh=1*window.innerHeight;function extractValue(e){return/\("([^\s]+)"\)/g.exec(e)[1]}document.documentElement.style.setProperty("--vh",`${vh}px`),window.addEventListener("resize",(()=>{let e=1*window.innerHeight;document.documentElement.style.setProperty("--vh",`${e}px`)})),document.addEventListener("keydown",(function(e){"Space"===e.code&&(e.preventDefault(),document.querySelector("meting-js").aplayer.toggle()),39===e.keyCode&&(e.preventDefault(),document.querySelector("meting-js").aplayer.skipForward()),37===e.keyCode&&(e.preventDefault(),document.querySelector("meting-js").aplayer.skipBack()),38===e.keyCode&&volume<=1&&(volume+=.1,document.querySelector("meting-js").aplayer.volume(volume,!0)),40===e.keyCode&&volume>=0&&(volume+=-.1,document.querySelector("meting-js").aplayer.volume(volume,!0))}));
1
+ console.log("\n %c HeoMusic 开源静态音乐播放器 v1.5 %c https://github.com/zhheo/HeoMusic \n","color: #fadfa3; background: #030307; padding:5px 0;","background: #fadfa3; padding:5px 0;");var volume=.8;const params=new URLSearchParams(window.location.search);var heo={changeMusicBg:function(e=!0){const t=document.getElementById("music_bg");if(e){const e=document.querySelector("#heoMusic-page .aplayer-pic");var n=new Image;n.src=extractValue(e.style.backgroundImage),n.onload=function(){t.style.backgroundImage=e.style.backgroundImage}}else{let e=setInterval((()=>{document.querySelector("#heoMusic-page .aplayer-pic")&&(clearInterval(e),document.querySelector("meting-js").aplayer.volume(.8,!0),heo.addEventListenerChangeMusicBg())}),100)}},addEventListenerChangeMusicBg:function(){document.getElementById("heoMusic-page").querySelector("meting-js").aplayer.on("loadeddata",(function(){heo.changeMusicBg()}))},getCustomPlayList:function(){const e=document.getElementById("heoMusic-page"),t=params.get("type")||"playlist";if(params.get("id")&&params.get("server")){var n=params.get("id"),o=params.get("server");e.innerHTML=`<meting-js id="${n}" server="${o}" type="${t}" mutex="true" preload="auto"></meting-js>`}else e.innerHTML=`<meting-js id="${userId}" server="${userServer}" type="${userType}" mutex="true" preload="auto"></meting-js>`;heo.changeMusicBg(!1)}};heo.getCustomPlayList();const vh=1*window.innerHeight;function extractValue(e){return/\("([^\s]+)"\)/g.exec(e)[1]}document.documentElement.style.setProperty("--vh",`${vh}px`),window.addEventListener("resize",(()=>{let e=1*window.innerHeight;document.documentElement.style.setProperty("--vh",`${e}px`)})),document.addEventListener("keydown",(function(e){"Space"===e.code&&(e.preventDefault(),document.querySelector("meting-js").aplayer.toggle()),39===e.keyCode&&(e.preventDefault(),document.querySelector("meting-js").aplayer.skipForward()),37===e.keyCode&&(e.preventDefault(),document.querySelector("meting-js").aplayer.skipBack()),38===e.keyCode&&volume<=1&&(volume+=.1,document.querySelector("meting-js").aplayer.volume(volume,!0)),40===e.keyCode&&volume>=0&&(volume+=-.1,document.querySelector("meting-js").aplayer.volume(volume,!0))}));0xd4))||_0x30339f(0xe7);if(params[_0x30339f(0xd5)]('id')&&params[_0x30339f(0xd5)](_0x30339f(0xd7))){var _0x57496f=params[_0x30339f(0xd5)]('id'),_0x5188a8=params['get'](_0x30339f(0xd7));_0x132c58[_0x30339f(0xd2)]=_0x30339f(0xca)+_0x57496f+_0x30339f(0xdd)+_0x5188a8+_0x30339f(0xd0)+_0x564118+_0x30339f(0xdf);}else _0x132c58[_0x30339f(0xd2)]='<meting-js\x20id=\x22'+userId+'\x22\x20server=\x22'+userServer+_0x30339f(0xd0)+userType+_0x30339f(0xdf);heo[_0x30339f(0xce)](![]);}};heo[_0x2a87f4(0xcc)]();const vh=window[_0x2a87f4(0xd3)]*0x1;document[_0x2a87f4(0xdc)][_0x2a87f4(0xcd)]['setProperty']('--vh',vh+'px'),window[_0x2a87f4(0xe2)]('resize',()=>{const _0x57b7e6=_0x2a87f4;let _0x1df70c=window[_0x57b7e6(0xd3)]*0x1;document[_0x57b7e6(0xdc)][_0x57b7e6(0xcd)][_0x57b7e6(0xc6)]('--vh',_0x1df70c+'px');});function _0x132f(){const _0x2ec1da=['src','querySelector','skipForward','4lMTsfx','addEventListenerChangeMusicBg','volume','38XgFAGK','getElementById','#heoMusic-page\x20.aplayer-pic','1950OaGGIq','onload','preventDefault','heoMusic-page','loadeddata','color:\x20#fadfa3;\x20background:\x20#030307;\x20padding:5px\x200;','setProperty','13581819ItSrvJ','backgroundImage','\x0a\x20%c\x20HeoMusic\x20开源静态音乐播放器\x20v1.5\x20%c\x20https://github.com/zhheo/HeoMusic\x20\x0a','<meting-js\x20id=\x22','2055693HXijLX','getCustomPlayList','style','changeMusicBg','keydown','\x22\x20type=\x22','26qVEEye','innerHTML','innerHeight','type','get','search','server','location','609XWSKiz','exec','aplayer','documentElement','\x22\x20server=\x22','5360OfLOyg','\x22\x20mutex=\x22true\x22\x20preload=\x22auto\x22></meting-js>','5033125aMfAId','7573860hUxvFh','addEventListener','8rWuHtM','keyCode','background:\x20#fadfa3;\x20padding:5px\x200;','meting-js','playlist','1760KJsdXf','33342VJTais'];_0x132f=function(){return _0x2ec1da;};return _0x132f();}function extractValue(_0x342d56){const _0x4b7f97=_0x2a87f4;var _0x4f6d0c=/\("([^\s]+)"\)/g,_0xc98260=_0x4f6d0c[_0x4b7f97(0xda)](_0x342d56);return _0xc98260[0x1];}document[_0x2a87f4(0xe2)](_0x2a87f4(0xcf),function(_0x487026){const _0x419a74=_0x2a87f4;_0x487026['code']==='Space'&&(_0x487026[_0x419a74(0xf5)](),document[_0x419a74(0xeb)]('meting-js')['aplayer']['toggle']());;_0x487026[_0x419a74(0xe4)]===0x27&&(_0x487026[_0x419a74(0xf5)](),document['querySelector'](_0x419a74(0xe6))['aplayer'][_0x419a74(0xec)]());;_0x487026[_0x419a74(0xe4)]===0x25&&(_0x487026['preventDefault'](),document[_0x419a74(0xeb)](_0x419a74(0xe6))['aplayer']['skipBack']()),_0x487026['keyCode']===0x26&&(volume<=0x1&&(volume+=0.1,document['querySelector'](_0x419a74(0xe6))['aplayer'][_0x419a74(0xef)](volume,!![]))),_0x487026[_0x419a74(0xe4)]===0x28&&(volume>=0x0&&(volume+=-0.1,document[_0x419a74(0xeb)](_0x419a74(0xe6))[_0x419a74(0xdb)][_0x419a74(0xef)](volume,!![])));});