mycpen-blog 0.0.0-fkbguqunvy → 0.0.0-fkbybddyvr
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/atom.xml +2 -2
- package/css/index.css +1 -1
- package/js/APlayer.js +1 -1
- package/js/custom.js +1 -1
- package/js/fcircle.js +1 -1
- package/js/fcircle_manage_panel.js +3 -3
- package/js/home_page_swiper.js +1 -1
- package/js/people.js +1 -1
- package/js/random.js +1 -1
- package/js/random_friends_post.js +1 -1
- package/js/tianli_gpt.js +1 -1
- package/json/friend.json +1 -1
- package/json/link.json +1 -1
- package/lib/hbe.js +1 -1
- package/manifest.json +1 -1
- package/music1/js/APlayer.min.js +1 -1
- package/music1/main.css +1 -1
- package/music1/manifest.json +2 -2
- package/package.json +1 -1
- package/search.xml +73 -73
- package/sitemap.xml +127 -127
- package/wechatOA/main.css +1 -1
- /package/img/{/345/217/210/346/213/215/344/272/221_logo5-2.png" → upyun_logo5-2.png} +0 -0
- /package/img/{/345/217/210/346/213/215/344/272/221_logo5.png" → upyun_logo5.png} +0 -0
package/js/APlayer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("APlayer",[],t):"object"==typeof exports?exports.APlayer=t():e.APlayer=t()}(window,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var a=t[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=41)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=/mobile/i.test(window.navigator.userAgent),a={secondToTime:function(e){var t=Math.floor(e/3600),n=Math.floor((e-3600*t)/60),i=Math.floor(e-3600*t-60*n);return(t>0?[t,n,i]:[n,i]).map((function(e){return e<10?"0"+e:""+e})).join(":")},getElementViewLeft:function(e){var t=e.offsetLeft,n=e.offsetParent,i=document.body.scrollLeft+document.documentElement.scrollLeft;if(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement)for(;null!==n&&n!==e;)t+=n.offsetLeft,n=n.offsetParent;else for(;null!==n;)t+=n.offsetLeft,n=n.offsetParent;return t-i},getElementViewTop:function(e,t){for(var n,i=e.offsetTop,a=e.offsetParent;null!==a;)i+=a.offsetTop,a=a.offsetParent;return n=document.body.scrollTop+document.documentElement.scrollTop,t?i:i-n},isMobile:i,storage:{set:function(e,t){localStorage.setItem(e,t)},get:function(e){return localStorage.getItem(e)}},nameMap:{dragStart:i?"touchstart":"mousedown",dragMove:i?"touchmove":"mousemove",dragEnd:i?"touchend":"mouseup"},randomOrder:function(e){return function(e){for(var t=e.length-1;t>=0;t--){var n=Math.floor(Math.random()*(t+1)),i=e[n];e[n]=e[t],e[t]=i}return e}([].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(Array(e))).map((function(e,t){return t})))}};t.default=a},function(e,t,n){var i=n(2);e.exports=function(e){"use strict";e=e||{};var t="",n=i.$each,a=e.audio,r=(e.$value,e.$index,i.$escape),o=e.theme,s=e.index;return n(a,(function(e,n){t+='\n<li>\n <span class="aplayer-list-cur" style="background-color: ',t+=r(e.theme||o),t+=';"></span>\n <span class="aplayer-list-index">',t+=r(n+s),t+='</span>\n <span class="aplayer-list-title">',t+=r(e.name),t+='</span>\n <span class="aplayer-list-author">',t+=r(e.artist),t+="</span>\n</li>\n"})),t}},function(e,t,n){"use strict";e.exports=n(15)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=g(n(33)),a=g(n(32)),r=g(n(31)),o=g(n(30)),s=g(n(29)),l=g(n(28)),u=g(n(27)),c=g(n(26)),p=g(n(25)),d=g(n(24)),h=g(n(23)),y=g(n(22)),f=g(n(21)),v=g(n(20)),m=g(n(19));function g(e){return e&&e.__esModule?e:{default:e}}var w={play:i.default,pause:a.default,volumeUp:r.default,volumeDown:o.default,volumeOff:s.default,orderRandom:l.default,orderList:u.default,menu:c.default,loopAll:p.default,loopOne:d.default,loopNone:h.default,loading:y.default,right:f.default,skip:v.default,lrc:m.default};t.default=w},function(e,t,n){"use strict";var i,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":a(window))&&(i=window)}e.exports=i},function(e,t,n){"use strict";var i,a,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};void 0===(a="function"==typeof(i=function(){if("object"===("undefined"==typeof window?"undefined":r(window))&&void 0!==document.querySelectorAll&&void 0!==window.pageYOffset&&void 0!==history.pushState){var e=function(e,t,n,i){return n>i?t:e+(t-e)*((a=n/i)<.5?4*a*a*a:(a-1)*(2*a-2)*(2*a-2)+1);var a},t=function(t,n,i,a){n=n||500;var r=(a=a||window).scrollTop||window.pageYOffset;if("number"==typeof t)var o=parseInt(t);else o=function(e,t){return"HTML"===e.nodeName?-t:e.getBoundingClientRect().top+t}(t,r);var s=Date.now(),l=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){window.setTimeout(e,15)};!function u(){var c=Date.now()-s;a!==window?a.scrollTop=e(r,o,c,n):window.scroll(0,e(r,o,c,n)),c>n?"function"==typeof i&&i(t):l(u)}()},n=function(e){if(!e.defaultPrevented){e.preventDefault(),location.hash!==this.hash&&window.history.pushState(null,null,this.hash);var n=document.getElementById(this.hash.substring(1));if(!n)return;t(n,500,(function(e){location.replace("#"+e.id)}))}};return document.addEventListener("DOMContentLoaded",(function(){for(var e,t=document.querySelectorAll('.aplayer a[href^="#"]:not([href="#"])'),i=t.length;e=t[--i];)e.addEventListener("click",n,!1)})),t}})?i.call(t,n,t,e):i)||(e.exports=a)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=s(n(1)),r=s(n(0)),o=s(n(5));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,this.index=0,this.audios=this.player.options.audio,this.bindEvents()}return i(e,[{key:"bindEvents",value:function(){var e=this;this.player.template.list.addEventListener("click",(function(t){var n=void 0;n="LI"===t.target.tagName.toUpperCase()?t.target:t.target.parentElement;var i=parseInt(n.getElementsByClassName("aplayer-list-index")[0].innerHTML)-1;i!==e.index?(e.switch(i),e.player.play()):e.player.toggle()}))}},{key:"show",value:function(){this.player.events.trigger("listshow"),this.player.template.list.classList.remove("aplayer-list-hide"),this.player.template.listOl.scrollTop=33*this.index}},{key:"hide",value:function(){this.player.events.trigger("listhide"),this.player.template.list.classList.add("aplayer-list-hide")}},{key:"toggle",value:function(){this.player.template.list.classList.contains("aplayer-list-hide")?this.show():this.hide()}},{key:"add",value:function(e){this.player.events.trigger("listadd",{audios:e}),"[object Array]"!==Object.prototype.toString.call(e)&&(e=[e]),e.map((function(e){return e.name=e.name||e.title||"Audio name",e.artist=e.artist||e.author||"Audio artist",e.cover=e.cover||e.pic,e.type=e.type||"normal",e}));var t=!(this.audios.length>1),n=0===this.audios.length;this.player.template.listOl.innerHTML+=(0,a.default)({theme:this.player.options.theme,audio:e,index:this.audios.length+1}),this.audios=this.audios.concat(e),t&&this.audios.length>1&&this.player.container.classList.add("aplayer-withlist"),this.player.randomOrder=r.default.randomOrder(this.audios.length),this.player.template.listCurs=this.player.container.querySelectorAll(".aplayer-list-cur"),this.player.template.listCurs[this.audios.length-1].style.backgroundColor=e.theme||this.player.options.theme,n&&("random"===this.player.options.order?this.switch(this.player.randomOrder[0]):this.switch(0))}},{key:"remove",value:function(e){if(this.player.events.trigger("listremove",{index:e}),this.audios[e])if(this.audios.length>1){var t=this.player.container.querySelectorAll(".aplayer-list li");t[e].remove(),this.audios.splice(e,1),this.player.lrc&&this.player.lrc.remove(e),e===this.index&&(this.audios[e]?this.switch(e):this.switch(e-1)),this.index>e&&this.index--;for(var n=e;n<t.length;n++)t[n].getElementsByClassName("aplayer-list-index")[0].textContent=n;1===this.audios.length&&this.player.container.classList.remove("aplayer-withlist"),this.player.template.listCurs=this.player.container.querySelectorAll(".aplayer-list-cur")}else this.clear()}},{key:"switch",value:function(e){if(this.player.events.trigger("listswitch",{index:e}),void 0!==e&&this.audios[e]){this.index=e;var t=this.audios[this.index];this.player.template.pic.style.backgroundImage=t.cover?"url('"+t.cover+"')":"",this.player.theme(this.audios[this.index].theme||this.player.options.theme,this.index,!1),this.player.template.title.innerHTML=t.name,this.player.template.author.innerHTML=t.artist?" - "+t.artist:"";var n=this.player.container.getElementsByClassName("aplayer-list-light")[0];n&&n.classList.remove("aplayer-list-light"),this.player.container.querySelectorAll(".aplayer-list li")[this.index].classList.add("aplayer-list-light"),(0,o.default)(33*this.index,500,null,this.player.template.listOl),this.player.setAudio(t),this.player.lrc&&this.player.lrc.switch(this.index),this.player.lrc&&this.player.lrc.update(0),1!==this.player.duration&&(this.player.template.dtime.innerHTML=r.default.secondToTime(this.player.duration))}}},{key:"clear",value:function(){this.player.events.trigger("listclear"),this.index=0,this.player.container.classList.remove("aplayer-withlist"),this.player.pause(),this.audios=[],this.player.lrc&&this.player.lrc.clear(),this.player.audio.src="",this.player.template.listOl.innerHTML="",this.player.template.pic.style.backgroundImage="",this.player.theme(this.player.options.theme,this.index,!1),this.player.template.title.innerHTML="No audio",this.player.template.author.innerHTML="",this.player.bar.set("loaded",0,"width"),this.player.template.dtime.innerHTML=r.default.secondToTime(0)}}]),e}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.events={},this.audioEvents=["abort","canplay","canplaythrough","durationchange","emptied","ended","error","loadeddata","loadedmetadata","loadstart","mozaudioavailable","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],this.playerEvents=["destroy","listshow","listhide","listadd","listremove","listswitch","listclear","noticeshow","noticehide","lrcshow","lrchide"]}return i(e,[{key:"on",value:function(e,t){this.type(e)&&"function"==typeof t&&(this.events[e]||(this.events[e]=[]),this.events[e].push(t))}},{key:"trigger",value:function(e,t){if(this.events[e]&&this.events[e].length)for(var n=0;n<this.events[e].length;n++)this.events[e][n](t)}},{key:"type",value:function(e){return-1!==this.playerEvents.indexOf(e)?"player":-1!==this.audioEvents.indexOf(e)?"audio":(console.error("Unknown event name: "+e),null)}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,window.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},this.types=["loading"],this.init()}return i(e,[{key:"init",value:function(){var e=this;this.types.forEach((function(t){e["init"+t+"Checker"]()}))}},{key:"initloadingChecker",value:function(){var e=this,t=0,n=0,i=!1;this.loadingChecker=setInterval((function(){e.enableloadingChecker&&(n=e.player.audio.currentTime,i||n!==t||e.player.audio.paused||(e.player.container.classList.add("aplayer-loading"),i=!0),i&&n>t&&!e.player.audio.paused&&(e.player.container.classList.remove("aplayer-loading"),i=!1),t=n)}),100)}},{key:"enable",value:function(e){this["enable"+e+"Checker"]=!0,"fps"===e&&this.initfpsChecker()}},{key:"disable",value:function(e){this["enable"+e+"Checker"]=!1}},{key:"destroy",value:function(){var e=this;this.types.forEach((function(t){e["enable"+t+"Checker"]=!1,e[t+"Checker"]&&clearInterval(e[t+"Checker"])}))}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=o(n(0)),r=o(n(3));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,this.initPlayButton(),this.initPlayBar(),this.initOrderButton(),this.initLoopButton(),this.initMenuButton(),a.default.isMobile||this.initVolumeButton(),this.initMiniSwitcher(),this.initSkipButton(),this.initLrcButton()}return i(e,[{key:"initPlayButton",value:function(){var e=this;this.player.template.pic.addEventListener("click",(function(){e.player.toggle()}))}},{key:"initPlayBar",value:function(){var e=this,t=function(t){var n=((t.clientX||t.changedTouches[0].clientX)-a.default.getElementViewLeft(e.player.template.barWrap))/e.player.template.barWrap.clientWidth;n=Math.max(n,0),n=Math.min(n,1),e.player.bar.set("played",n,"width"),e.player.lrc&&e.player.lrc.update(n*e.player.duration),e.player.template.ptime.innerHTML=a.default.secondToTime(n*e.player.duration)},n=function n(i){document.removeEventListener(a.default.nameMap.dragEnd,n),document.removeEventListener(a.default.nameMap.dragMove,t);var r=((i.clientX||i.changedTouches[0].clientX)-a.default.getElementViewLeft(e.player.template.barWrap))/e.player.template.barWrap.clientWidth;r=Math.max(r,0),r=Math.min(r,1),e.player.bar.set("played",r,"width"),e.player.seek(e.player.bar.get("played","width")*e.player.duration),e.player.disableTimeupdate=!1};this.player.template.barWrap.addEventListener(a.default.nameMap.dragStart,(function(){e.player.disableTimeupdate=!0,document.addEventListener(a.default.nameMap.dragMove,t),document.addEventListener(a.default.nameMap.dragEnd,n)}))}},{key:"initVolumeButton",value:function(){var e=this;this.player.template.volumeButton.addEventListener("click",(function(){e.player.audio.muted?(e.player.audio.muted=!1,e.player.switchVolumeIcon(),e.player.bar.set("volume",e.player.volume(),"height")):(e.player.audio.muted=!0,e.player.switchVolumeIcon(),e.player.bar.set("volume",0,"height"))}));var t=function(t){var n=1-((t.clientY||t.changedTouches[0].clientY)-a.default.getElementViewTop(e.player.template.volumeBar,e.player.options.fixed))/e.player.template.volumeBar.clientHeight;n=Math.max(n,0),n=Math.min(n,1),e.player.volume(n)},n=function n(i){e.player.template.volumeBarWrap.classList.remove("aplayer-volume-bar-wrap-active"),document.removeEventListener(a.default.nameMap.dragEnd,n),document.removeEventListener(a.default.nameMap.dragMove,t);var r=1-((i.clientY||i.changedTouches[0].clientY)-a.default.getElementViewTop(e.player.template.volumeBar,e.player.options.fixed))/e.player.template.volumeBar.clientHeight;r=Math.max(r,0),r=Math.min(r,1),e.player.volume(r)};this.player.template.volumeBarWrap.addEventListener(a.default.nameMap.dragStart,(function(){e.player.template.volumeBarWrap.classList.add("aplayer-volume-bar-wrap-active"),document.addEventListener(a.default.nameMap.dragMove,t),document.addEventListener(a.default.nameMap.dragEnd,n)}))}},{key:"initOrderButton",value:function(){var e=this;this.player.template.order.addEventListener("click",(function(){"list"===e.player.options.order?(e.player.options.order="random",e.player.template.order.innerHTML=r.default.orderRandom):"random"===e.player.options.order&&(e.player.options.order="list",e.player.template.order.innerHTML=r.default.orderList)}))}},{key:"initLoopButton",value:function(){var e=this;this.player.template.loop.addEventListener("click",(function(){e.player.list.audios.length>1?"one"===e.player.options.loop?(e.player.options.loop="none",e.player.template.loop.innerHTML=r.default.loopNone):"none"===e.player.options.loop?(e.player.options.loop="all",e.player.template.loop.innerHTML=r.default.loopAll):"all"===e.player.options.loop&&(e.player.options.loop="one",e.player.template.loop.innerHTML=r.default.loopOne):"one"===e.player.options.loop||"all"===e.player.options.loop?(e.player.options.loop="none",e.player.template.loop.innerHTML=r.default.loopNone):"none"===e.player.options.loop&&(e.player.options.loop="all",e.player.template.loop.innerHTML=r.default.loopAll)}))}},{key:"initMenuButton",value:function(){var e=this;this.player.template.menu.addEventListener("click",(function(){e.player.list.toggle()}))}},{key:"initMiniSwitcher",value:function(){var e=this;this.player.template.miniSwitcher.addEventListener("click",(function(){e.player.setMode("mini"===e.player.mode?"normal":"mini")}))}},{key:"initSkipButton",value:function(){var e=this;this.player.template.skipBackButton.addEventListener("click",(function(){e.player.skipBack()})),this.player.template.skipForwardButton.addEventListener("click",(function(){e.player.skipForward()})),this.player.template.skipPlayButton.addEventListener("click",(function(){e.player.toggle()}))}},{key:"initLrcButton",value:function(){var e=this;this.player.template.lrcButton.addEventListener("click",(function(){e.player.template.lrcButton.classList.contains("aplayer-icon-lrc-inactivity")?(e.player.template.lrcButton.classList.remove("aplayer-icon-lrc-inactivity"),e.player.lrc&&e.player.lrc.show()):(e.player.template.lrcButton.classList.add("aplayer-icon-lrc-inactivity"),e.player.lrc&&e.player.lrc.hide())}))}}]),e}();t.default=s},function(e,t,n){var i=n(2);e.exports=function(e){"use strict";e=e||{};var t="",n=i.$each,a=e.lyrics,r=(e.$value,e.$index,i.$escape);return n(a,(function(e,n){t+="\n <p",0===n&&(t+=' class="aplayer-lrc-current"'),t+=">",t+=r(e[1]),t+="</p>\n"})),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=(i=n(10))&&i.__esModule?i:{default:i},o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.container=t.container,this.async=t.async,this.player=t.player,this.parsed=[],this.index=0,this.current=[]}return a(e,[{key:"show",value:function(){this.player.events.trigger("lrcshow"),this.player.template.lrcWrap.classList.remove("aplayer-lrc-hide")}},{key:"hide",value:function(){this.player.events.trigger("lrchide"),this.player.template.lrcWrap.classList.add("aplayer-lrc-hide")}},{key:"toggle",value:function(){this.player.template.lrcWrap.classList.contains("aplayer-lrc-hide")?this.show():this.hide()}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.player.audio.currentTime;if(this.index>this.current.length-1||e<this.current[this.index][0]||!this.current[this.index+1]||e>=this.current[this.index+1][0])for(var t=0;t<this.current.length;t++)e>=this.current[t][0]&&(!this.current[t+1]||e<this.current[t+1][0])&&(this.index=t,this.container.style.transform="translateY("+16*-this.index+"px)",this.container.style.webkitTransform="translateY("+16*-this.index+"px)",this.container.getElementsByClassName("aplayer-lrc-current")[0].classList.remove("aplayer-lrc-current"),this.container.getElementsByTagName("p")[t].classList.add("aplayer-lrc-current"))}},{key:"switch",value:function(e){var t=this;if(!this.parsed[e])if(this.async){this.parsed[e]=[["00:00","Loading"]];var n=new XMLHttpRequest;n.onreadystatechange=function(){e===t.player.list.index&&4===n.readyState&&(n.status>=200&&n.status<300||304===n.status?t.parsed[e]=t.parse(n.responseText):(t.player.notice("LRC file request fails: status "+n.status),t.parsed[e]=[["00:00","Not available"]]),t.container.innerHTML=(0,r.default)({lyrics:t.parsed[e]}),t.update(0),t.current=t.parsed[e])};var i=this.player.list.audios[e].lrc;n.open("get",i,!0),n.send(null)}else this.player.list.audios[e].lrc?this.parsed[e]=this.parse(this.player.list.audios[e].lrc):this.parsed[e]=[["00:00","Not available"]];this.container.innerHTML=(0,r.default)({lyrics:this.parsed[e]}),this.update(0),this.current=this.parsed[e]}},{key:"parse",value:function(e){if(e){for(var t=(e=e.replace(/([^\]^\n])\[/g,(function(e,t){return t+"\n["}))).split("\n"),n=[],i=t.length,a=0;a<i;a++){var r=t[a].match(/\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/g),o=t[a].replace(/.*\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/g,"").replace(/<(\d{2}):(\d{2})(\.(\d{2,3}))?>/g,"").replace(/^\s+|\s+$/g,"");if(r)for(var s=r.length,l=0;l<s;l++){var u=/\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/.exec(r[l]),c=60*u[1]+parseInt(u[2])+(u[4]?parseInt(u[4])/(2===(u[4]+"").length?100:1e3):0);n.push([c,o])}}return(n=n.filter((function(e){return e[1]}))).sort((function(e,t){return e[0]-t[0]})),n}return[]}},{key:"remove",value:function(e){this.parsed.splice(e,1)}},{key:"clear",value:function(){this.parsed=[],this.container.innerHTML=""}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=(i=n(0))&&i.__esModule?i:{default:i},o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.storageName=t.options.storageName,this.data=JSON.parse(r.default.storage.get(this.storageName)),this.data||(this.data={}),this.data.volume=this.data.volume||t.options.volume}return a(e,[{key:"get",value:function(e){return this.data[e]}},{key:"set",value:function(e,t){this.data[e]=t,r.default.storage.set(this.storageName,JSON.stringify(this.data))}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.elements={},this.elements.volume=t.volume,this.elements.played=t.played,this.elements.loaded=t.loaded}return i(e,[{key:"set",value:function(e,t,n){t=Math.max(t,0),t=Math.min(t,1),this.elements[e].style[n]=100*t+"%"}},{key:"get",value:function(e,t){return parseFloat(this.elements[e].style[t])/100}}]),e}();t.default=a},function(e,t,n){"use strict";(function(t){e.exports=!1;try{e.exports="[object process]"===Object.prototype.toString.call(t.process)}catch(e){}}).call(this,n(4))},function(e,t,n){"use strict";(function(t){var i=n(14),a=Object.create(i?t:window),r=/["&'<>]/;a.$escape=function(e){return function(e){var t=""+e,n=r.exec(t);if(!n)return e;var i="",a=void 0,o=void 0,s=void 0;for(a=n.index,o=0;a<t.length;a++){switch(t.charCodeAt(a)){case 34:s=""";break;case 38:s="&";break;case 39:s="'";break;case 60:s="<";break;case 62:s=">";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("",t+=o(r),t+="");"),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("",t+=o(r),t+="");"),t+="background-color: ",t+=o(a.theme),t+=';">\n <div class="aplayer-button aplayer-play">',t+=s.play,t+='</div>\n </div>\n <div class="aplayer-info">\n <div class="aplayer-music">\n <span class="aplayer-title">No audio</span>\n <span class="aplayer-author"></span>\n </div>\n <div class="aplayer-lrc">\n <div class="aplayer-lrc-contents" style="transform: translateY(0); -webkit-transform: translateY(0);"></div>\n </div>\n <div class="aplayer-controller">\n <div class="aplayer-bar-wrap">\n <div class="aplayer-bar">\n <div class="aplayer-loaded" style="width: 0"></div>\n <div class="aplayer-played" style="width: 0; background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-thumb" style="background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-loading-icon">',t+=s.loading,t+='</span>\n </span>\n </div>\n </div>\n </div>\n <div class="aplayer-time">\n <span class="aplayer-time-inner">\n <span class="aplayer-ptime">00:00</span> / <span class="aplayer-dtime">00:00</span>\n </span>\n <span class="aplayer-icon aplayer-icon-back">\n ',t+=s.skip,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-play">\n ',t+=s.play,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-forward">\n ',t+=s.skip,t+='\n </span>\n <div class="aplayer-volume-wrap">\n <button type="button" class="aplayer-icon aplayer-icon-volume-down">\n ',t+=s.volumeDown,t+='\n </button>\n <div class="aplayer-volume-bar-wrap">\n <div class="aplayer-volume-bar">\n <div class="aplayer-volume" style="height: 80%; background: ',t+=o(a.theme),t+=';"></div>\n </div>\n </div>\n </div>\n <button type="button" class="aplayer-icon aplayer-icon-order">\n ',"list"===a.order?t+=s.orderList:"random"===a.order&&(t+=s.orderRandom),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-loop">\n ',"one"===a.loop?t+=s.loopOne:"all"===a.loop?t+=s.loopAll:"none"===a.loop&&(t+=s.loopNone),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-menu">\n ',t+=s.menu,t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-lrc">\n ',t+=s.lrc,t+='\n </button>\n </div>\n </div>\n </div>\n <div class="aplayer-notice"></div>\n <div class="aplayer-miniswitcher"><button class="aplayer-icon">',t+=s.right,t+='</button></div>\n</div>\n<div class="aplayer-list',a.listFolded&&(t+=" aplayer-list-hide"),t+='"',a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n <ol",a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n ",l(n(1)(u({theme:a.theme,audio:a.audio,index:1}))),t+="\n </ol>\n</div>\n"),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=o(n(3)),r=o(n(16));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.container=t.container,this.options=t.options,this.randomOrder=t.randomOrder,this.init()}return i(e,[{key:"init",value:function(){var e="";this.options.audio.length&&(e="random"===this.options.order?this.options.audio[this.randomOrder[0]].cover:this.options.audio[0].cover),this.container.innerHTML=(0,r.default)({options:this.options,icons:a.default,cover:e,getObject:function(e){return e}}),this.lrc=this.container.querySelector(".aplayer-lrc-contents"),this.lrcWrap=this.container.querySelector(".aplayer-lrc"),this.ptime=this.container.querySelector(".aplayer-ptime"),this.info=this.container.querySelector(".aplayer-info"),this.time=this.container.querySelector(".aplayer-time"),this.barWrap=this.container.querySelector(".aplayer-bar-wrap"),this.button=this.container.querySelector(".aplayer-button"),this.body=this.container.querySelector(".aplayer-body"),this.list=this.container.querySelector(".aplayer-list"),this.listOl=this.container.querySelector(".aplayer-list ol"),this.listCurs=this.container.querySelectorAll(".aplayer-list-cur"),this.played=this.container.querySelector(".aplayer-played"),this.loaded=this.container.querySelector(".aplayer-loaded"),this.thumb=this.container.querySelector(".aplayer-thumb"),this.volume=this.container.querySelector(".aplayer-volume"),this.volumeBar=this.container.querySelector(".aplayer-volume-bar"),this.volumeButton=this.container.querySelector(".aplayer-time button"),this.volumeBarWrap=this.container.querySelector(".aplayer-volume-bar-wrap"),this.loop=this.container.querySelector(".aplayer-icon-loop"),this.order=this.container.querySelector(".aplayer-icon-order"),this.menu=this.container.querySelector(".aplayer-icon-menu"),this.pic=this.container.querySelector(".aplayer-pic"),this.title=this.container.querySelector(".aplayer-title"),this.author=this.container.querySelector(".aplayer-author"),this.dtime=this.container.querySelector(".aplayer-dtime"),this.notice=this.container.querySelector(".aplayer-notice"),this.miniSwitcher=this.container.querySelector(".aplayer-miniswitcher"),this.skipBackButton=this.container.querySelector(".aplayer-icon-back"),this.skipForwardButton=this.container.querySelector(".aplayer-icon-forward"),this.skipPlayButton=this.container.querySelector(".aplayer-icon-play"),this.lrcButton=this.container.querySelector(".aplayer-icon-lrc")}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={container:e.element||document.getElementsByClassName("aplayer")[0],mini:e.narrow||e.fixed||!1,fixed:!1,autoplay:!1,mutex:!0,lrcType:e.showlrc||e.lrc||0,preload:"auto",theme:"#b7daff",loop:"all",order:"list",volume:.7,listFolded:e.fixed,listMaxHeight:e.listmaxheight||"250px",audio:e.music||[],storageName:"aplayer-setting"};for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n]);return"[object Array]"!==Object.prototype.toString.call(e.audio)&&(e.audio=[e.audio]),e.audio.map((function(e){return e.name=e.name||e.title||"Audio name",e.artist=e.artist||e.author||"Audio artist",e.cover=e.cover||e.pic,e.type=e.type||"normal",e})),e.audio.length<=1&&"one"===e.loop&&(e.loop="all"),e}},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M26.667 5.333h-21.333c-0 0-0.001 0-0.001 0-1.472 0-2.666 1.194-2.666 2.666 0 0 0 0.001 0 0.001v-0 16c0 0 0 0.001 0 0.001 0 1.472 1.194 2.666 2.666 2.666 0 0 0.001 0 0.001 0h21.333c0 0 0.001 0 0.001 0 1.472 0 2.666-1.194 2.666-2.666 0-0 0-0.001 0-0.001v0-16c0-0 0-0.001 0-0.001 0-1.472-1.194-2.666-2.666-2.666-0 0-0.001 0-0.001 0h0zM5.333 16h5.333v2.667h-5.333v-2.667zM18.667 24h-13.333v-2.667h13.333v2.667zM26.667 24h-5.333v-2.667h5.333v2.667zM26.667 18.667h-13.333v-2.667h13.333v2.667z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M25.468 6.947c-0.326-0.172-0.724-0.151-1.030 0.057l-6.438 4.38v-3.553c0-0.371-0.205-0.71-0.532-0.884-0.326-0.172-0.724-0.151-1.030 0.057l-12 8.164c-0.274 0.186-0.438 0.496-0.438 0.827s0.164 0.641 0.438 0.827l12 8.168c0.169 0.115 0.365 0.174 0.562 0.174 0.16 0 0.321-0.038 0.468-0.116 0.327-0.173 0.532-0.514 0.532-0.884v-3.556l6.438 4.382c0.169 0.115 0.365 0.174 0.562 0.174 0.16 0 0.321-0.038 0.468-0.116 0.327-0.173 0.532-0.514 0.532-0.884v-16.333c0-0.371-0.205-0.71-0.532-0.884z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M22 16l-10.105-10.6-1.895 1.987 8.211 8.613-8.211 8.612 1.895 1.988 8.211-8.613z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M4 16c0-6.6 5.4-12 12-12s12 5.4 12 12c0 1.2-0.8 2-2 2s-2-0.8-2-2c0-4.4-3.6-8-8-8s-8 3.6-8 8 3.6 8 8 8c1.2 0 2 0.8 2 2s-0.8 2-2 2c-6.6 0-12-5.4-12-12z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 29 32"><path d="M2.667 7.027l1.707-1.693 22.293 22.293-1.693 1.707-4-4h-11.64v4l-5.333-5.333 5.333-5.333v4h8.973l-8.973-8.973v0.973h-2.667v-3.64l-4-4zM22.667 17.333h2.667v5.573l-2.667-2.667v-2.907zM22.667 6.667v-4l5.333 5.333-5.333 5.333v-4h-10.907l-2.667-2.667h13.573z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 33 32"><path d="M9.333 9.333h13.333v4l5.333-5.333-5.333-5.333v4h-16v8h2.667v-5.333zM22.667 22.667h-13.333v-4l-5.333 5.333 5.333 5.333v-4h16v-8h-2.667v5.333zM17.333 20v-8h-1.333l-2.667 1.333v1.333h2v5.333h2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 29 32"><path d="M9.333 9.333h13.333v4l5.333-5.333-5.333-5.333v4h-16v8h2.667v-5.333zM22.667 22.667h-13.333v-4l-5.333 5.333 5.333 5.333v-4h16v-8h-2.667v5.333z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 22 32"><path d="M20.8 14.4q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2zM1.6 11.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2zM20.8 20.8q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M0.622 18.334h19.54v7.55l11.052-9.412-11.052-9.413v7.549h-19.54v3.725z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M22.667 4l7 6-7 6 7 6-7 6v-4h-3.653l-3.76-3.76 2.827-2.827 2.587 2.587h2v-8h-2l-12 12h-6v-4h4.347l12-12h3.653v-4zM2.667 8h6l3.76 3.76-2.827 2.827-2.587-2.587h-4.347v-4z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 28 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 28 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8zM20.576 16q0 1.344-0.768 2.528t-2.016 1.664q-0.16 0.096-0.448 0.096-0.448 0-0.8-0.32t-0.32-0.832q0-0.384 0.192-0.64t0.544-0.448 0.608-0.384 0.512-0.64 0.192-1.024-0.192-1.024-0.512-0.64-0.608-0.384-0.544-0.448-0.192-0.64q0-0.48 0.32-0.832t0.8-0.32q0.288 0 0.448 0.096 1.248 0.48 2.016 1.664t0.768 2.528z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 28 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8zM20.576 16q0 1.344-0.768 2.528t-2.016 1.664q-0.16 0.096-0.448 0.096-0.448 0-0.8-0.32t-0.32-0.832q0-0.384 0.192-0.64t0.544-0.448 0.608-0.384 0.512-0.64 0.192-1.024-0.192-1.024-0.512-0.64-0.608-0.384-0.544-0.448-0.192-0.64q0-0.48 0.32-0.832t0.8-0.32q0.288 0 0.448 0.096 1.248 0.48 2.016 1.664t0.768 2.528zM25.152 16q0 2.72-1.536 5.056t-4 3.36q-0.256 0.096-0.448 0.096-0.48 0-0.832-0.352t-0.32-0.8q0-0.704 0.672-1.056 1.024-0.512 1.376-0.8 1.312-0.96 2.048-2.4t0.736-3.104-0.736-3.104-2.048-2.4q-0.352-0.288-1.376-0.8-0.672-0.352-0.672-1.056 0-0.448 0.32-0.8t0.8-0.352q0.224 0 0.48 0.096 2.496 1.056 4 3.36t1.536 5.056zM29.728 16q0 4.096-2.272 7.552t-6.048 5.056q-0.224 0.096-0.448 0.096-0.48 0-0.832-0.352t-0.32-0.8q0-0.64 0.704-1.056 0.128-0.064 0.384-0.192t0.416-0.192q0.8-0.448 1.44-0.896 2.208-1.632 3.456-4.064t1.216-5.152-1.216-5.152-3.456-4.064q-0.64-0.448-1.44-0.896-0.128-0.096-0.416-0.192t-0.384-0.192q-0.704-0.416-0.704-1.056 0-0.448 0.32-0.8t0.832-0.352q0.224 0 0.448 0.096 3.776 1.632 6.048 5.056t2.272 7.552z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 17 32"><path d="M14.080 4.8q2.88 0 2.88 2.048v18.24q0 2.112-2.88 2.112t-2.88-2.112v-18.24q0-2.048 2.88-2.048zM2.88 4.8q2.88 0 2.88 2.048v18.24q0 2.112-2.88 2.112t-2.88-2.112v-18.24q0-2.048 2.88-2.048z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 16 31"><path d="M15.552 15.168q0.448 0.32 0.448 0.832 0 0.448-0.448 0.768l-13.696 8.512q-0.768 0.512-1.312 0.192t-0.544-1.28v-16.448q0-0.96 0.544-1.28t1.312 0.192z"></path></svg>'},function(e,t,n){"use strict";var i,a,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(e){if(i===setTimeout)return setTimeout(e,0);if((i===o||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:o}catch(e){i=o}try{a="function"==typeof clearTimeout?clearTimeout:s}catch(e){a=s}}();var u,c=[],p=!1,d=-1;function h(){p&&u&&(p=!1,u.length?c=u.concat(c):d=-1,c.length&&y())}function y(){if(!p){var e=l(h);p=!0;for(var t=c.length;t;){for(u=c,c=[];++d<t;)u&&u[d].run();d=-1,t=c.length}u=null,p=!1,function(e){if(a===clearTimeout)return clearTimeout(e);if((a===s||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(e);try{a(e)}catch(t){try{return a.call(null,e)}catch(t){return a.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function v(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new f(e,t)),1!==c.length||p||l(y)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=v,r.addListener=v,r.once=v,r.off=v,r.removeListener=v,r.removeAllListeners=v,r.emit=v,r.prependListener=v,r.prependOnceListener=v,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,n){"use strict";(function(e,t){!function(e,n){if(!e.setImmediate){var i,a,r,o,s,l=1,u={},c=!1,p=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?i=function(e){t.nextTick((function(){y(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(o="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(o)&&y(+t.data.slice(o.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),i=function(t){e.postMessage(o+t,"*")}):e.MessageChannel?((r=new MessageChannel).port1.onmessage=function(e){y(e.data)},i=function(e){r.port2.postMessage(e)}):p&&"onreadystatechange"in p.createElement("script")?(a=p.documentElement,i=function(e){var t=p.createElement("script");t.onreadystatechange=function(){y(e),t.onreadystatechange=null,a.removeChild(t),t=null},a.appendChild(t)}):i=function(e){setTimeout(y,0,e)},d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var a={callback:e,args:t};return u[l]=a,i(l),l++},d.clearImmediate=h}function h(e){delete u[e]}function y(e){if(c)setTimeout(y,0,e);else{var t=u[e];if(t){c=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(undefined,n)}}(t)}finally{h(e),c=!1}}}}}("undefined"==typeof self?void 0===e?void 0:e:self)}).call(this,n(4),n(34))},function(e,t,n){"use strict";var i=Function.prototype.apply;function a(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new a(i.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new a(i.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(35),t.setImmediate=setImmediate,t.clearImmediate=clearImmediate},function(e,t,n){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=setTimeout;function a(){}function r(e){if(!(this instanceof r))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],c(e,this)}function o(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,r._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var i;try{i=n(e._value)}catch(e){return void l(t.promise,e)}s(t.promise,i)}else(1===e._state?s:l)(t.promise,e._value)}))):e._deferreds.push(t)}function s(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===(void 0===t?"undefined":n(t))||"function"==typeof t)){var i=t.then;if(t instanceof r)return e._state=3,e._value=t,void u(e);if("function"==typeof i)return void c((a=i,o=t,function(){a.apply(o,arguments)}),e)}e._state=1,e._value=t,u(e)}catch(t){l(e,t)}var a,o}function l(e,t){e._state=2,e._value=t,u(e)}function u(e){2===e._state&&0===e._deferreds.length&&r._immediateFn((function(){e._handled||r._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t<n;t++)o(e,e._deferreds[t]);e._deferreds=null}function c(e,t){var n=!1;try{e((function(e){n||(n=!0,s(t,e))}),(function(e){n||(n=!0,l(t,e))}))}catch(e){if(n)return;n=!0,l(t,e)}}r.prototype.catch=function(e){return this.then(null,e)},r.prototype.then=function(e,t){var n=new this.constructor(a);return o(this,new function(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}(e,t,n)),n},r.prototype.finally=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))},r.all=function(e){return new r((function(t,i){if(!e||void 0===e.length)throw new TypeError("Promise.all accepts an array");var a=Array.prototype.slice.call(e);if(0===a.length)return t([]);var r=a.length;function o(e,s){try{if(s&&("object"===(void 0===s?"undefined":n(s))||"function"==typeof s)){var l=s.then;if("function"==typeof l)return void l.call(s,(function(t){o(e,t)}),i)}a[e]=s,0==--r&&t(a)}catch(e){i(e)}}for(var s=0;s<a.length;s++)o(s,a[s])}))},r.resolve=function(e){return e&&"object"===(void 0===e?"undefined":n(e))&&e.constructor===r?e:new r((function(t){t(e)}))},r.reject=function(e){return new r((function(t,n){n(e)}))},r.race=function(e){return new r((function(t,n){for(var i=0,a=e.length;i<a;i++)e[i].then(t,n)}))},r._immediateFn="function"==typeof t&&function(e){t(e)}||function(e){i(e,0)},r._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},e.exports=r}).call(this,n(36).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=v(n(37)),r=v(n(0)),o=v(n(3)),s=v(n(18)),l=v(n(17)),u=v(n(13)),c=v(n(12)),p=v(n(11)),d=v(n(9)),h=v(n(8)),y=v(n(7)),f=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}var m=[],g=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=(0,s.default)(t),this.container=this.options.container,this.paused=!0,this.playedPromise=a.default.resolve(),this.mode="normal",this.randomOrder=r.default.randomOrder(this.options.audio.length),this.container.classList.add("aplayer"),this.options.lrcType&&!this.options.fixed&&this.container.classList.add("aplayer-withlrc"),this.options.audio.length>1&&this.container.classList.add("aplayer-withlist"),r.default.isMobile&&this.container.classList.add("aplayer-mobile"),this.arrow=this.container.offsetWidth<=300,this.arrow&&this.container.classList.add("aplayer-arrow"),this.container=this.options.container,2===this.options.lrcType||!0===this.options.lrcType)for(var n=this.container.getElementsByClassName("aplayer-lrc-content"),i=0;i<n.length;i++)this.options.audio[i]&&(this.options.audio[i].lrc=n[i].innerHTML);this.template=new l.default({container:this.container,options:this.options,randomOrder:this.randomOrder}),this.options.fixed&&(this.container.classList.add("aplayer-fixed"),this.template.body.style.width=this.template.body.offsetWidth-18+"px"),this.options.mini&&(this.setMode("mini"),this.template.info.style.display="block"),this.template.info.offsetWidth<200&&this.template.time.classList.add("aplayer-time-narrow"),this.options.lrcType&&(this.lrc=new p.default({container:this.template.lrc,async:3===this.options.lrcType,player:this})),this.events=new y.default,this.storage=new c.default(this),this.bar=new u.default(this.template),this.controller=new d.default(this),this.timer=new h.default(this),this.list=new f.default(this),this.initAudio(),this.bindEvents(),"random"===this.options.order?this.list.switch(this.randomOrder[0]):this.list.switch(0),this.options.autoplay&&this.play(),m.push(this)}return i(e,[{key:"initAudio",value:function(){var e=this;this.audio=document.createElement("audio"),this.audio.preload=this.options.preload;for(var t=function(t){e.audio.addEventListener(e.events.audioEvents[t],(function(n){e.events.trigger(e.events.audioEvents[t],n)}))},n=0;n<this.events.audioEvents.length;n++)t(n);this.volume(this.storage.get("volume"),!0)}},{key:"bindEvents",value:function(){var e=this;this.on("play",(function(){e.paused&&e.setUIPlaying()})),this.on("pause",(function(){e.paused||e.setUIPaused()})),this.on("timeupdate",(function(){if(!e.disableTimeupdate){e.bar.set("played",e.audio.currentTime/e.duration,"width"),e.lrc&&e.lrc.update();var t=r.default.secondToTime(e.audio.currentTime);e.template.ptime.innerHTML!==t&&(e.template.ptime.innerHTML=t)}})),this.on("durationchange",(function(){1!==e.duration&&(e.template.dtime.innerHTML=r.default.secondToTime(e.duration))})),this.on("progress",(function(){var t=e.audio.buffered.length?e.audio.buffered.end(e.audio.buffered.length-1)/e.duration:0;e.bar.set("loaded",t,"width")}));var t=void 0;this.on("error",(function(){e.list.audios.length>1?(e.notice("An audio error has occurred, player will skip forward in 2 seconds."),t=setTimeout((function(){e.skipForward(),e.paused||e.play()}),2e3)):1===e.list.audios.length&&e.notice("An audio error has occurred.")})),this.events.on("listswitch",(function(){t&&clearTimeout(t)})),this.on("ended",(function(){"none"===e.options.loop?"list"===e.options.order?e.list.index<e.list.audios.length-1?(e.list.switch((e.list.index+1)%e.list.audios.length),e.play()):(e.list.switch((e.list.index+1)%e.list.audios.length),e.pause()):"random"===e.options.order&&(e.randomOrder.indexOf(e.list.index)<e.randomOrder.length-1?(e.list.switch(e.nextIndex()),e.play()):(e.list.switch(e.nextIndex()),e.pause())):"one"===e.options.loop?(e.list.switch(e.list.index),e.play()):"all"===e.options.loop&&(e.skipForward(),e.play())}))}},{key:"setAudio",value:function(e){this.hls&&(this.hls.destroy(),this.hls=null);var t=e.type;this.options.customAudioType&&this.options.customAudioType[t]?"[object Function]"===Object.prototype.toString.call(this.options.customAudioType[t])?this.options.customAudioType[t](this.audio,e,this):console.error("Illegal customType: "+t):(t&&"auto"!==t||(t=/m3u8(#|\?|$)/i.exec(e.url)?"hls":"normal"),"hls"===t?Hls.isSupported()?(this.hls=new Hls,this.hls.loadSource(e.url),this.hls.attachMedia(this.audio)):this.audio.canPlayType("application/x-mpegURL")||this.audio.canPlayType("application/vnd.apple.mpegURL")?this.audio.src=e.url:this.notice("Error: HLS is not supported."):"normal"===t&&(this.audio.src=e.url)),this.seek(0),this.paused||this.audio.play()}},{key:"theme",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.list.audios[this.list.index].theme||this.options.theme,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.list.index;(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])&&this.list.audios[t]&&(this.list.audios[t].theme=e),this.template.listCurs[t]&&(this.template.listCurs[t].style.backgroundColor=e),t===this.list.index&&(this.template.pic.style.backgroundColor=e,this.template.played.style.background=e,this.template.thumb.style.background=e,this.template.volume.style.background=e)}},{key:"seek",value:function(e){e=Math.max(e,0),e=Math.min(e,this.duration),this.audio.currentTime=e,this.bar.set("played",e/this.duration,"width"),this.template.ptime.innerHTML=r.default.secondToTime(e)}},{key:"setUIPlaying",value:function(){var e=this;if(this.paused&&(this.paused=!1,this.template.button.classList.remove("aplayer-play"),this.template.button.classList.add("aplayer-pause"),this.template.button.innerHTML="",setTimeout((function(){e.template.button.innerHTML=o.default.pause}),100),this.template.skipPlayButton.innerHTML=o.default.pause),this.timer.enable("loading"),this.options.mutex)for(var t=0;t<m.length;t++)this!==m[t]&&m[t].pause()}},{key:"play",value:function(){var e=this;this.setUIPlaying();var t=this.audio.play();t&&t.catch((function(t){console.warn(t),"NotAllowedError"===t.name&&e.setUIPaused()}))}},{key:"setUIPaused",value:function(){var e=this;this.paused||(this.paused=!0,this.template.button.classList.remove("aplayer-pause"),this.template.button.classList.add("aplayer-play"),this.template.button.innerHTML="",setTimeout((function(){e.template.button.innerHTML=o.default.play}),100),this.template.skipPlayButton.innerHTML=o.default.play),this.container.classList.remove("aplayer-loading"),this.timer.disable("loading")}},{key:"pause",value:function(){this.setUIPaused(),this.audio.pause()}},{key:"switchVolumeIcon",value:function(){this.volume()>=.95?this.template.volumeButton.innerHTML=o.default.volumeUp:this.volume()>0?this.template.volumeButton.innerHTML=o.default.volumeDown:this.template.volumeButton.innerHTML=o.default.volumeOff}},{key:"volume",value:function(e,t){return e=parseFloat(e),isNaN(e)||(e=Math.max(e,0),e=Math.min(e,1),this.bar.set("volume",e,"height"),t||this.storage.set("volume",e),this.audio.volume=e,this.audio.muted&&(this.audio.muted=!1),this.switchVolumeIcon()),this.audio.muted?0:this.audio.volume}},{key:"on",value:function(e,t){this.events.on(e,t)}},{key:"toggle",value:function(){this.template.button.classList.contains("aplayer-play")?this.play():this.template.button.classList.contains("aplayer-pause")&&this.pause()}},{key:"switchAudio",value:function(e){this.list.switch(e)}},{key:"addAudio",value:function(e){this.list.add(e)}},{key:"removeAudio",value:function(e){this.list.remove(e)}},{key:"destroy",value:function(){m.splice(m.indexOf(this),1),this.pause(),this.container.innerHTML="",this.audio.src="",this.timer.destroy(),this.events.trigger("destroy")}},{key:"setMode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"normal";this.mode=e,"mini"===e?this.container.classList.add("aplayer-narrow"):"normal"===e&&this.container.classList.remove("aplayer-narrow")}},{key:"notice",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.8;this.template.notice.innerHTML=e,this.template.notice.style.opacity=i,this.noticeTime&&clearTimeout(this.noticeTime),this.events.trigger("noticeshow",{text:e}),n&&(this.noticeTime=setTimeout((function(){t.template.notice.style.opacity=0,t.events.trigger("noticehide")}),n))}},{key:"prevIndex",value:function(){if(!(this.list.audios.length>1))return 0;if("list"===this.options.order)return this.list.index-1<0?this.list.audios.length-1:this.list.index-1;if("random"===this.options.order){var e=this.randomOrder.indexOf(this.list.index);return 0===e?this.randomOrder[this.randomOrder.length-1]:this.randomOrder[e-1]}}},{key:"nextIndex",value:function(){if(!(this.list.audios.length>1))return 0;if("list"===this.options.order)return(this.list.index+1)%this.list.audios.length;if("random"===this.options.order){var e=this.randomOrder.indexOf(this.list.index);return e===this.randomOrder.length-1?this.randomOrder[0]:this.randomOrder[e+1]}}},{key:"skipBack",value:function(){this.list.switch(this.prevIndex())}},{key:"skipForward",value:function(){this.list.switch(this.nextIndex())}},{key:"duration",get:function(){return isNaN(this.audio.duration)?0:this.audio.duration}}],[{key:"version",get:function(){return"1.10.1"}}]),e}();t.default=g},,function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(40);var i,a=(i=n(38))&&i.__esModule?i:{default:i};t.default=a.default}]).default}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("APlayer",[],t):"object"==typeof exports?exports.APlayer=t():e.APlayer=t()}(window,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var a=t[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=41)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=/mobile/i.test(window.navigator.userAgent),a={secondToTime:function(e){var t=Math.floor(e/3600),n=Math.floor((e-3600*t)/60),i=Math.floor(e-3600*t-60*n);return(t>0?[t,n,i]:[n,i]).map((function(e){return e<10?"0"+e:""+e})).join(":")},getElementViewLeft:function(e){var t=e.offsetLeft,n=e.offsetParent,i=document.body.scrollLeft+document.documentElement.scrollLeft;if(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement)for(;null!==n&&n!==e;)t+=n.offsetLeft,n=n.offsetParent;else for(;null!==n;)t+=n.offsetLeft,n=n.offsetParent;return t-i},getElementViewTop:function(e,t){for(var n,i=e.offsetTop,a=e.offsetParent;null!==a;)i+=a.offsetTop,a=a.offsetParent;return n=document.body.scrollTop+document.documentElement.scrollTop,t?i:i-n},isMobile:i,storage:{set:function(e,t){localStorage.setItem(e,t)},get:function(e){return localStorage.getItem(e)}},nameMap:{dragStart:i?"touchstart":"mousedown",dragMove:i?"touchmove":"mousemove",dragEnd:i?"touchend":"mouseup"},randomOrder:function(e){return function(e){for(var t=e.length-1;t>=0;t--){var n=Math.floor(Math.random()*(t+1)),i=e[n];e[n]=e[t],e[t]=i}return e}([].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(Array(e))).map((function(e,t){return t})))}};t.default=a},function(e,t,n){var i=n(2);e.exports=function(e){"use strict";e=e||{};var t="",n=i.$each,a=e.audio,r=(e.$value,e.$index,i.$escape),o=e.theme,s=e.index;return n(a,(function(e,n){t+='\n<li>\n <span class="aplayer-list-cur" style="background-color: ',t+=r(e.theme||o),t+=';"></span>\n <span class="aplayer-list-index">',t+=r(n+s),t+='</span>\n <span class="aplayer-list-title">',t+=r(e.name),t+='</span>\n <span class="aplayer-list-author">',t+=r(e.artist),t+="</span>\n</li>\n"})),t}},function(e,t,n){"use strict";e.exports=n(15)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=g(n(33)),a=g(n(32)),r=g(n(31)),o=g(n(30)),s=g(n(29)),l=g(n(28)),u=g(n(27)),c=g(n(26)),p=g(n(25)),d=g(n(24)),h=g(n(23)),y=g(n(22)),f=g(n(21)),v=g(n(20)),m=g(n(19));function g(e){return e&&e.__esModule?e:{default:e}}var w={play:i.default,pause:a.default,volumeUp:r.default,volumeDown:o.default,volumeOff:s.default,orderRandom:l.default,orderList:u.default,menu:c.default,loopAll:p.default,loopOne:d.default,loopNone:h.default,loading:y.default,right:f.default,skip:v.default,lrc:m.default};t.default=w},function(e,t,n){"use strict";var i,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":a(window))&&(i=window)}e.exports=i},function(e,t,n){"use strict";var i,a,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};void 0===(a="function"==typeof(i=function(){if("object"===("undefined"==typeof window?"undefined":r(window))&&void 0!==document.querySelectorAll&&void 0!==window.pageYOffset&&void 0!==history.pushState){var e=function(e,t,n,i){return n>i?t:e+(t-e)*((a=n/i)<.5?4*a*a*a:(a-1)*(2*a-2)*(2*a-2)+1);var a},t=function(t,n,i,a){n=n||500;var r=(a=a||window).scrollTop||window.pageYOffset;if("number"==typeof t)var o=parseInt(t);else o=function(e,t){return"HTML"===e.nodeName?-t:e.getBoundingClientRect().top+t}(t,r);var s=Date.now(),l=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){window.setTimeout(e,15)};!function u(){var c=Date.now()-s;a!==window?a.scrollTop=e(r,o,c,n):window.scroll(0,e(r,o,c,n)),c>n?"function"==typeof i&&i(t):l(u)}()},n=function(e){if(!e.defaultPrevented){e.preventDefault(),location.hash!==this.hash&&window.history.pushState(null,null,this.hash);var n=document.getElementById(this.hash.substring(1));if(!n)return;t(n,500,(function(e){location.replace("#"+e.id)}))}};return document.addEventListener("DOMContentLoaded",(function(){for(var e,t=document.querySelectorAll('.aplayer a[href^="#"]:not([href="#"])'),i=t.length;e=t[--i];)e.addEventListener("click",n,!1)})),t}})?i.call(t,n,t,e):i)||(e.exports=a)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=s(n(1)),r=s(n(0)),o=s(n(5));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,this.index=0,this.audios=this.player.options.audio,this.bindEvents()}return i(e,[{key:"bindEvents",value:function(){var e=this;this.player.template.list.addEventListener("click",(function(t){var n=void 0;n="LI"===t.target.tagName.toUpperCase()?t.target:t.target.parentElement;var i=parseInt(n.getElementsByClassName("aplayer-list-index")[0].innerHTML)-1;i!==e.index?(e.switch(i),e.player.play()):e.player.toggle()}))}},{key:"show",value:function(){this.player.events.trigger("listshow"),this.player.template.list.classList.remove("aplayer-list-hide"),this.player.template.listOl.scrollTop=33*this.index}},{key:"hide",value:function(){this.player.events.trigger("listhide"),this.player.template.list.classList.add("aplayer-list-hide")}},{key:"toggle",value:function(){this.player.template.list.classList.contains("aplayer-list-hide")?this.show():this.hide()}},{key:"add",value:function(e){this.player.events.trigger("listadd",{audios:e}),"[object Array]"!==Object.prototype.toString.call(e)&&(e=[e]),e.map((function(e){return e.name=e.name||e.title||"Audio name",e.artist=e.artist||e.author||"Audio artist",e.cover=e.cover||e.pic,e.type=e.type||"normal",e}));var t=!(this.audios.length>1),n=0===this.audios.length;this.player.template.listOl.innerHTML+=(0,a.default)({theme:this.player.options.theme,audio:e,index:this.audios.length+1}),this.audios=this.audios.concat(e),t&&this.audios.length>1&&this.player.container.classList.add("aplayer-withlist"),this.player.randomOrder=r.default.randomOrder(this.audios.length),this.player.template.listCurs=this.player.container.querySelectorAll(".aplayer-list-cur"),this.player.template.listCurs[this.audios.length-1].style.backgroundColor=e.theme||this.player.options.theme,n&&("random"===this.player.options.order?this.switch(this.player.randomOrder[0]):this.switch(0))}},{key:"remove",value:function(e){if(this.player.events.trigger("listremove",{index:e}),this.audios[e])if(this.audios.length>1){var t=this.player.container.querySelectorAll(".aplayer-list li");t[e].remove(),this.audios.splice(e,1),this.player.lrc&&this.player.lrc.remove(e),e===this.index&&(this.audios[e]?this.switch(e):this.switch(e-1)),this.index>e&&this.index--;for(var n=e;n<t.length;n++)t[n].getElementsByClassName("aplayer-list-index")[0].textContent=n;1===this.audios.length&&this.player.container.classList.remove("aplayer-withlist"),this.player.template.listCurs=this.player.container.querySelectorAll(".aplayer-list-cur")}else this.clear()}},{key:"switch",value:function(e){if(this.player.events.trigger("listswitch",{index:e}),void 0!==e&&this.audios[e]){this.index=e;var t=this.audios[this.index];this.player.template.pic.style.backgroundImage=t.cover?"url('"+t.cover+"')":"",this.player.theme(this.audios[this.index].theme||this.player.options.theme,this.index,!1),this.player.template.title.innerHTML=t.name,this.player.template.author.innerHTML=t.artist?" - "+t.artist:"";var n=this.player.container.getElementsByClassName("aplayer-list-light")[0];n&&n.classList.remove("aplayer-list-light"),this.player.container.querySelectorAll(".aplayer-list li")[this.index].classList.add("aplayer-list-light"),(0,o.default)(33*this.index,500,null,this.player.template.listOl),this.player.setAudio(t),this.player.lrc&&this.player.lrc.switch(this.index),this.player.lrc&&this.player.lrc.update(0),1!==this.player.duration&&(this.player.template.dtime.innerHTML=r.default.secondToTime(this.player.duration))}}},{key:"clear",value:function(){this.player.events.trigger("listclear"),this.index=0,this.player.container.classList.remove("aplayer-withlist"),this.player.pause(),this.audios=[],this.player.lrc&&this.player.lrc.clear(),this.player.audio.src="",this.player.template.listOl.innerHTML="",this.player.template.pic.style.backgroundImage="",this.player.theme(this.player.options.theme,this.index,!1),this.player.template.title.innerHTML="No audio",this.player.template.author.innerHTML="",this.player.bar.set("loaded",0,"width"),this.player.template.dtime.innerHTML=r.default.secondToTime(0)}}]),e}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.events={},this.audioEvents=["abort","canplay","canplaythrough","durationchange","emptied","ended","error","loadeddata","loadedmetadata","loadstart","mozaudioavailable","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],this.playerEvents=["destroy","listshow","listhide","listadd","listremove","listswitch","listclear","noticeshow","noticehide","lrcshow","lrchide"]}return i(e,[{key:"on",value:function(e,t){this.type(e)&&"function"==typeof t&&(this.events[e]||(this.events[e]=[]),this.events[e].push(t))}},{key:"trigger",value:function(e,t){if(this.events[e]&&this.events[e].length)for(var n=0;n<this.events[e].length;n++)this.events[e][n](t)}},{key:"type",value:function(e){return-1!==this.playerEvents.indexOf(e)?"player":-1!==this.audioEvents.indexOf(e)?"audio":(console.error("Unknown event name: "+e),null)}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,window.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},this.types=["loading"],this.init()}return i(e,[{key:"init",value:function(){var e=this;this.types.forEach((function(t){e["init"+t+"Checker"]()}))}},{key:"initloadingChecker",value:function(){var e=this,t=0,n=0,i=!1;this.loadingChecker=setInterval((function(){e.enableloadingChecker&&(n=e.player.audio.currentTime,i||n!==t||e.player.audio.paused||(e.player.container.classList.add("aplayer-loading"),i=!0),i&&n>t&&!e.player.audio.paused&&(e.player.container.classList.remove("aplayer-loading"),i=!1),t=n)}),100)}},{key:"enable",value:function(e){this["enable"+e+"Checker"]=!0,"fps"===e&&this.initfpsChecker()}},{key:"disable",value:function(e){this["enable"+e+"Checker"]=!1}},{key:"destroy",value:function(){var e=this;this.types.forEach((function(t){e["enable"+t+"Checker"]=!1,e[t+"Checker"]&&clearInterval(e[t+"Checker"])}))}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=o(n(0)),r=o(n(3));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,this.initPlayButton(),this.initPlayBar(),this.initOrderButton(),this.initLoopButton(),this.initMenuButton(),a.default.isMobile||this.initVolumeButton(),this.initMiniSwitcher(),this.initSkipButton(),this.initLrcButton()}return i(e,[{key:"initPlayButton",value:function(){var e=this;this.player.template.pic.addEventListener("click",(function(){e.player.toggle()}))}},{key:"initPlayBar",value:function(){var e=this,t=function(t){var n=((t.clientX||t.changedTouches[0].clientX)-a.default.getElementViewLeft(e.player.template.barWrap))/e.player.template.barWrap.clientWidth;n=Math.max(n,0),n=Math.min(n,1),e.player.bar.set("played",n,"width"),e.player.lrc&&e.player.lrc.update(n*e.player.duration),e.player.template.ptime.innerHTML=a.default.secondToTime(n*e.player.duration)},n=function n(i){document.removeEventListener(a.default.nameMap.dragEnd,n),document.removeEventListener(a.default.nameMap.dragMove,t);var r=((i.clientX||i.changedTouches[0].clientX)-a.default.getElementViewLeft(e.player.template.barWrap))/e.player.template.barWrap.clientWidth;r=Math.max(r,0),r=Math.min(r,1),e.player.bar.set("played",r,"width"),e.player.seek(e.player.bar.get("played","width")*e.player.duration),e.player.disableTimeupdate=!1};this.player.template.barWrap.addEventListener(a.default.nameMap.dragStart,(function(){e.player.disableTimeupdate=!0,document.addEventListener(a.default.nameMap.dragMove,t),document.addEventListener(a.default.nameMap.dragEnd,n)}))}},{key:"initVolumeButton",value:function(){var e=this;this.player.template.volumeButton.addEventListener("click",(function(){e.player.audio.muted?(e.player.audio.muted=!1,e.player.switchVolumeIcon(),e.player.bar.set("volume",e.player.volume(),"height")):(e.player.audio.muted=!0,e.player.switchVolumeIcon(),e.player.bar.set("volume",0,"height"))}));var t=function(t){var n=1-((t.clientY||t.changedTouches[0].clientY)-a.default.getElementViewTop(e.player.template.volumeBar,e.player.options.fixed))/e.player.template.volumeBar.clientHeight;n=Math.max(n,0),n=Math.min(n,1),e.player.volume(n)},n=function n(i){e.player.template.volumeBarWrap.classList.remove("aplayer-volume-bar-wrap-active"),document.removeEventListener(a.default.nameMap.dragEnd,n),document.removeEventListener(a.default.nameMap.dragMove,t);var r=1-((i.clientY||i.changedTouches[0].clientY)-a.default.getElementViewTop(e.player.template.volumeBar,e.player.options.fixed))/e.player.template.volumeBar.clientHeight;r=Math.max(r,0),r=Math.min(r,1),e.player.volume(r)};this.player.template.volumeBarWrap.addEventListener(a.default.nameMap.dragStart,(function(){e.player.template.volumeBarWrap.classList.add("aplayer-volume-bar-wrap-active"),document.addEventListener(a.default.nameMap.dragMove,t),document.addEventListener(a.default.nameMap.dragEnd,n)}))}},{key:"initOrderButton",value:function(){var e=this;this.player.template.order.addEventListener("click",(function(){"list"===e.player.options.order?(e.player.options.order="random",e.player.template.order.innerHTML=r.default.orderRandom):"random"===e.player.options.order&&(e.player.options.order="list",e.player.template.order.innerHTML=r.default.orderList)}))}},{key:"initLoopButton",value:function(){var e=this;this.player.template.loop.addEventListener("click",(function(){e.player.list.audios.length>1?"one"===e.player.options.loop?(e.player.options.loop="none",e.player.template.loop.innerHTML=r.default.loopNone):"none"===e.player.options.loop?(e.player.options.loop="all",e.player.template.loop.innerHTML=r.default.loopAll):"all"===e.player.options.loop&&(e.player.options.loop="one",e.player.template.loop.innerHTML=r.default.loopOne):"one"===e.player.options.loop||"all"===e.player.options.loop?(e.player.options.loop="none",e.player.template.loop.innerHTML=r.default.loopNone):"none"===e.player.options.loop&&(e.player.options.loop="all",e.player.template.loop.innerHTML=r.default.loopAll)}))}},{key:"initMenuButton",value:function(){var e=this;this.player.template.menu.addEventListener("click",(function(){e.player.list.toggle()}))}},{key:"initMiniSwitcher",value:function(){var e=this;this.player.template.miniSwitcher.addEventListener("click",(function(){e.player.setMode("mini"===e.player.mode?"normal":"mini")}))}},{key:"initSkipButton",value:function(){var e=this;this.player.template.skipBackButton.addEventListener("click",(function(){e.player.skipBack()})),this.player.template.skipForwardButton.addEventListener("click",(function(){e.player.skipForward()})),this.player.template.skipPlayButton.addEventListener("click",(function(){e.player.toggle()}))}},{key:"initLrcButton",value:function(){var e=this;this.player.template.lrcButton.addEventListener("click",(function(){e.player.template.lrcButton.classList.contains("aplayer-icon-lrc-inactivity")?(e.player.template.lrcButton.classList.remove("aplayer-icon-lrc-inactivity"),e.player.lrc&&e.player.lrc.show()):(e.player.template.lrcButton.classList.add("aplayer-icon-lrc-inactivity"),e.player.lrc&&e.player.lrc.hide())}))}}]),e}();t.default=s},function(e,t,n){var i=n(2);e.exports=function(e){"use strict";e=e||{};var t="",n=i.$each,a=e.lyrics,r=(e.$value,e.$index,i.$escape);return n(a,(function(e,n){t+="\n <p",0===n&&(t+=' class="aplayer-lrc-current"'),t+=">",t+=r(e[1]),t+="</p>\n"})),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=(i=n(10))&&i.__esModule?i:{default:i},o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.container=t.container,this.async=t.async,this.player=t.player,this.parsed=[],this.index=0,this.current=[]}return a(e,[{key:"show",value:function(){this.player.events.trigger("lrcshow"),this.player.template.lrcWrap.classList.remove("aplayer-lrc-hide")}},{key:"hide",value:function(){this.player.events.trigger("lrchide"),this.player.template.lrcWrap.classList.add("aplayer-lrc-hide")}},{key:"toggle",value:function(){this.player.template.lrcWrap.classList.contains("aplayer-lrc-hide")?this.show():this.hide()}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.player.audio.currentTime;if(this.index>this.current.length-1||e<this.current[this.index][0]||!this.current[this.index+1]||e>=this.current[this.index+1][0])for(var t=0;t<this.current.length;t++)e>=this.current[t][0]&&(!this.current[t+1]||e<this.current[t+1][0])&&(this.index=t,this.container.style.transform="translateY("+16*-this.index+"px)",this.container.style.webkitTransform="translateY("+16*-this.index+"px)",this.container.getElementsByClassName("aplayer-lrc-current")[0].classList.remove("aplayer-lrc-current"),this.container.getElementsByTagName("p")[t].classList.add("aplayer-lrc-current"))}},{key:"switch",value:function(e){var t=this;if(!this.parsed[e])if(this.async){this.parsed[e]=[["00:00","Loading"]];var n=new XMLHttpRequest;n.onreadystatechange=function(){e===t.player.list.index&&4===n.readyState&&(n.status>=200&&n.status<300||304===n.status?t.parsed[e]=t.parse(n.responseText):(t.player.notice("LRC file request fails: status "+n.status),t.parsed[e]=[["00:00","Not available"]]),t.container.innerHTML=(0,r.default)({lyrics:t.parsed[e]}),t.update(0),t.current=t.parsed[e])};var i=this.player.list.audios[e].lrc;n.open("get",i,!0),n.send(null)}else this.player.list.audios[e].lrc?this.parsed[e]=this.parse(this.player.list.audios[e].lrc):this.parsed[e]=[["00:00","Not available"]];this.container.innerHTML=(0,r.default)({lyrics:this.parsed[e]}),this.update(0),this.current=this.parsed[e]}},{key:"parse",value:function(e){if(e){for(var t=(e=e.replace(/([^\]^\n])\[/g,(function(e,t){return t+"\n["}))).split("\n"),n=[],i=t.length,a=0;a<i;a++){var r=t[a].match(/\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/g),o=t[a].replace(/.*\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/g,"").replace(/<(\d{2}):(\d{2})(\.(\d{2,3}))?>/g,"").replace(/^\s+|\s+$/g,"");if(r)for(var s=r.length,l=0;l<s;l++){var u=/\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/.exec(r[l]),c=60*u[1]+parseInt(u[2])+(u[4]?parseInt(u[4])/(2===(u[4]+"").length?100:1e3):0);n.push([c,o])}}return(n=n.filter((function(e){return e[1]}))).sort((function(e,t){return e[0]-t[0]})),n}return[]}},{key:"remove",value:function(e){this.parsed.splice(e,1)}},{key:"clear",value:function(){this.parsed=[],this.container.innerHTML=""}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=(i=n(0))&&i.__esModule?i:{default:i},o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.storageName=t.options.storageName,this.data=JSON.parse(r.default.storage.get(this.storageName)),this.data||(this.data={}),this.data.volume=this.data.volume||t.options.volume}return a(e,[{key:"get",value:function(e){return this.data[e]}},{key:"set",value:function(e,t){this.data[e]=t,r.default.storage.set(this.storageName,JSON.stringify(this.data))}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.elements={},this.elements.volume=t.volume,this.elements.played=t.played,this.elements.loaded=t.loaded}return i(e,[{key:"set",value:function(e,t,n){t=Math.max(t,0),t=Math.min(t,1),this.elements[e].style[n]=100*t+"%"}},{key:"get",value:function(e,t){return parseFloat(this.elements[e].style[t])/100}}]),e}();t.default=a},function(e,t,n){"use strict";(function(t){e.exports=!1;try{e.exports="[object process]"===Object.prototype.toString.call(t.process)}catch(e){}}).call(this,n(4))},function(e,t,n){"use strict";(function(t){var i=n(14),a=Object.create(i?t:window),r=/["&'<>]/;a.$escape=function(e){return function(e){var t=""+e,n=r.exec(t);if(!n)return e;var i="",a=void 0,o=void 0,s=void 0;for(a=n.index,o=0;a<t.length;a++){switch(t.charCodeAt(a)){case 34:s=""";break;case 38:s="&";break;case 39:s="'";break;case 60:s="<";break;case 62:s=">";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("",t+=o(r),t+="");"),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("",t+=o(r),t+="");"),t+="background-color: ",t+=o(a.theme),t+=';">\n <div class="aplayer-button aplayer-play">',t+=s.play,t+='</div>\n </div>\n <div class="aplayer-info">\n <div class="aplayer-music">\n <span class="aplayer-title">No audio</span>\n <span class="aplayer-author"></span>\n </div>\n <div class="aplayer-lrc">\n <div class="aplayer-lrc-contents" style="transform: translateY(0); -webkit-transform: translateY(0);"></div>\n </div>\n <div class="aplayer-controller">\n <div class="aplayer-bar-wrap">\n <div class="aplayer-bar">\n <div class="aplayer-loaded" style="width: 0"></div>\n <div class="aplayer-played" style="width: 0; background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-thumb" style="background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-loading-icon">',t+=s.loading,t+='</span>\n </span>\n </div>\n </div>\n </div>\n <div class="aplayer-time">\n <span class="aplayer-time-inner">\n <span class="aplayer-ptime">00:00</span> / <span class="aplayer-dtime">00:00</span>\n </span>\n <span class="aplayer-icon aplayer-icon-back">\n ',t+=s.skip,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-play">\n ',t+=s.play,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-forward">\n ',t+=s.skip,t+='\n </span>\n <div class="aplayer-volume-wrap">\n <button type="button" class="aplayer-icon aplayer-icon-volume-down">\n ',t+=s.volumeDown,t+='\n </button>\n <div class="aplayer-volume-bar-wrap">\n <div class="aplayer-volume-bar">\n <div class="aplayer-volume" style="height: 80%; background: ',t+=o(a.theme),t+=';"></div>\n </div>\n </div>\n </div>\n <button type="button" class="aplayer-icon aplayer-icon-order">\n ',"list"===a.order?t+=s.orderList:"random"===a.order&&(t+=s.orderRandom),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-loop">\n ',"one"===a.loop?t+=s.loopOne:"all"===a.loop?t+=s.loopAll:"none"===a.loop&&(t+=s.loopNone),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-menu">\n ',t+=s.menu,t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-lrc">\n ',t+=s.lrc,t+='\n </button>\n </div>\n </div>\n </div>\n <div class="aplayer-notice"></div>\n <div class="aplayer-miniswitcher"><button class="aplayer-icon">',t+=s.right,t+='</button></div>\n</div>\n<div class="aplayer-list',a.listFolded&&(t+=" aplayer-list-hide"),t+='"',a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n <ol",a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n ",l(n(1)(u({theme:a.theme,audio:a.audio,index:1}))),t+="\n </ol>\n</div>\n"),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=o(n(3)),r=o(n(16));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.container=t.container,this.options=t.options,this.randomOrder=t.randomOrder,this.init()}return i(e,[{key:"init",value:function(){var e="";this.options.audio.length&&(e="random"===this.options.order?this.options.audio[this.randomOrder[0]].cover:this.options.audio[0].cover),this.container.innerHTML=(0,r.default)({options:this.options,icons:a.default,cover:e,getObject:function(e){return e}}),this.lrc=this.container.querySelector(".aplayer-lrc-contents"),this.lrcWrap=this.container.querySelector(".aplayer-lrc"),this.ptime=this.container.querySelector(".aplayer-ptime"),this.info=this.container.querySelector(".aplayer-info"),this.time=this.container.querySelector(".aplayer-time"),this.barWrap=this.container.querySelector(".aplayer-bar-wrap"),this.button=this.container.querySelector(".aplayer-button"),this.body=this.container.querySelector(".aplayer-body"),this.list=this.container.querySelector(".aplayer-list"),this.listOl=this.container.querySelector(".aplayer-list ol"),this.listCurs=this.container.querySelectorAll(".aplayer-list-cur"),this.played=this.container.querySelector(".aplayer-played"),this.loaded=this.container.querySelector(".aplayer-loaded"),this.thumb=this.container.querySelector(".aplayer-thumb"),this.volume=this.container.querySelector(".aplayer-volume"),this.volumeBar=this.container.querySelector(".aplayer-volume-bar"),this.volumeButton=this.container.querySelector(".aplayer-time button"),this.volumeBarWrap=this.container.querySelector(".aplayer-volume-bar-wrap"),this.loop=this.container.querySelector(".aplayer-icon-loop"),this.order=this.container.querySelector(".aplayer-icon-order"),this.menu=this.container.querySelector(".aplayer-icon-menu"),this.pic=this.container.querySelector(".aplayer-pic"),this.title=this.container.querySelector(".aplayer-title"),this.author=this.container.querySelector(".aplayer-author"),this.dtime=this.container.querySelector(".aplayer-dtime"),this.notice=this.container.querySelector(".aplayer-notice"),this.miniSwitcher=this.container.querySelector(".aplayer-miniswitcher"),this.skipBackButton=this.container.querySelector(".aplayer-icon-back"),this.skipForwardButton=this.container.querySelector(".aplayer-icon-forward"),this.skipPlayButton=this.container.querySelector(".aplayer-icon-play"),this.lrcButton=this.container.querySelector(".aplayer-icon-lrc")}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={container:e.element||document.getElementsByClassName("aplayer")[0],mini:e.narrow||e.fixed||!1,fixed:!1,autoplay:!1,mutex:!0,lrcType:e.showlrc||e.lrc||0,preload:"auto",theme:"#b7daff",loop:"all",order:"list",volume:.7,listFolded:e.fixed,listMaxHeight:e.listmaxheight||"250px",audio:e.music||[],storageName:"aplayer-setting"};for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n]);return"[object Array]"!==Object.prototype.toString.call(e.audio)&&(e.audio=[e.audio]),e.audio.map((function(e){return e.name=e.name||e.title||"Audio name",e.artist=e.artist||e.author||"Audio artist",e.cover=e.cover||e.pic,e.type=e.type||"normal",e})),e.audio.length<=1&&"one"===e.loop&&(e.loop="all"),e}},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M26.667 5.333h-21.333c-0 0-0.001 0-0.001 0-1.472 0-2.666 1.194-2.666 2.666 0 0 0 0.001 0 0.001v-0 16c0 0 0 0.001 0 0.001 0 1.472 1.194 2.666 2.666 2.666 0 0 0.001 0 0.001 0h21.333c0 0 0.001 0 0.001 0 1.472 0 2.666-1.194 2.666-2.666 0-0 0-0.001 0-0.001v0-16c0-0 0-0.001 0-0.001 0-1.472-1.194-2.666-2.666-2.666-0 0-0.001 0-0.001 0h0zM5.333 16h5.333v2.667h-5.333v-2.667zM18.667 24h-13.333v-2.667h13.333v2.667zM26.667 24h-5.333v-2.667h5.333v2.667zM26.667 18.667h-13.333v-2.667h13.333v2.667z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M25.468 6.947c-0.326-0.172-0.724-0.151-1.030 0.057l-6.438 4.38v-3.553c0-0.371-0.205-0.71-0.532-0.884-0.326-0.172-0.724-0.151-1.030 0.057l-12 8.164c-0.274 0.186-0.438 0.496-0.438 0.827s0.164 0.641 0.438 0.827l12 8.168c0.169 0.115 0.365 0.174 0.562 0.174 0.16 0 0.321-0.038 0.468-0.116 0.327-0.173 0.532-0.514 0.532-0.884v-3.556l6.438 4.382c0.169 0.115 0.365 0.174 0.562 0.174 0.16 0 0.321-0.038 0.468-0.116 0.327-0.173 0.532-0.514 0.532-0.884v-16.333c0-0.371-0.205-0.71-0.532-0.884z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M22 16l-10.105-10.6-1.895 1.987 8.211 8.613-8.211 8.612 1.895 1.988 8.211-8.613z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M4 16c0-6.6 5.4-12 12-12s12 5.4 12 12c0 1.2-0.8 2-2 2s-2-0.8-2-2c0-4.4-3.6-8-8-8s-8 3.6-8 8 3.6 8 8 8c1.2 0 2 0.8 2 2s-0.8 2-2 2c-6.6 0-12-5.4-12-12z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 29 32"><path d="M2.667 7.027l1.707-1.693 22.293 22.293-1.693 1.707-4-4h-11.64v4l-5.333-5.333 5.333-5.333v4h8.973l-8.973-8.973v0.973h-2.667v-3.64l-4-4zM22.667 17.333h2.667v5.573l-2.667-2.667v-2.907zM22.667 6.667v-4l5.333 5.333-5.333 5.333v-4h-10.907l-2.667-2.667h13.573z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 33 32"><path d="M9.333 9.333h13.333v4l5.333-5.333-5.333-5.333v4h-16v8h2.667v-5.333zM22.667 22.667h-13.333v-4l-5.333 5.333 5.333 5.333v-4h16v-8h-2.667v5.333zM17.333 20v-8h-1.333l-2.667 1.333v1.333h2v5.333h2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 29 32"><path d="M9.333 9.333h13.333v4l5.333-5.333-5.333-5.333v4h-16v8h2.667v-5.333zM22.667 22.667h-13.333v-4l-5.333 5.333 5.333 5.333v-4h16v-8h-2.667v5.333z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 22 32"><path d="M20.8 14.4q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2zM1.6 11.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2zM20.8 20.8q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M0.622 18.334h19.54v7.55l11.052-9.412-11.052-9.413v7.549h-19.54v3.725z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M22.667 4l7 6-7 6 7 6-7 6v-4h-3.653l-3.76-3.76 2.827-2.827 2.587 2.587h2v-8h-2l-12 12h-6v-4h4.347l12-12h3.653v-4zM2.667 8h6l3.76 3.76-2.827 2.827-2.587-2.587h-4.347v-4z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 28 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 28 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8zM20.576 16q0 1.344-0.768 2.528t-2.016 1.664q-0.16 0.096-0.448 0.096-0.448 0-0.8-0.32t-0.32-0.832q0-0.384 0.192-0.64t0.544-0.448 0.608-0.384 0.512-0.64 0.192-1.024-0.192-1.024-0.512-0.64-0.608-0.384-0.544-0.448-0.192-0.64q0-0.48 0.32-0.832t0.8-0.32q0.288 0 0.448 0.096 1.248 0.48 2.016 1.664t0.768 2.528z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 28 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8zM20.576 16q0 1.344-0.768 2.528t-2.016 1.664q-0.16 0.096-0.448 0.096-0.448 0-0.8-0.32t-0.32-0.832q0-0.384 0.192-0.64t0.544-0.448 0.608-0.384 0.512-0.64 0.192-1.024-0.192-1.024-0.512-0.64-0.608-0.384-0.544-0.448-0.192-0.64q0-0.48 0.32-0.832t0.8-0.32q0.288 0 0.448 0.096 1.248 0.48 2.016 1.664t0.768 2.528zM25.152 16q0 2.72-1.536 5.056t-4 3.36q-0.256 0.096-0.448 0.096-0.48 0-0.832-0.352t-0.32-0.8q0-0.704 0.672-1.056 1.024-0.512 1.376-0.8 1.312-0.96 2.048-2.4t0.736-3.104-0.736-3.104-2.048-2.4q-0.352-0.288-1.376-0.8-0.672-0.352-0.672-1.056 0-0.448 0.32-0.8t0.8-0.352q0.224 0 0.48 0.096 2.496 1.056 4 3.36t1.536 5.056zM29.728 16q0 4.096-2.272 7.552t-6.048 5.056q-0.224 0.096-0.448 0.096-0.48 0-0.832-0.352t-0.32-0.8q0-0.64 0.704-1.056 0.128-0.064 0.384-0.192t0.416-0.192q0.8-0.448 1.44-0.896 2.208-1.632 3.456-4.064t1.216-5.152-1.216-5.152-3.456-4.064q-0.64-0.448-1.44-0.896-0.128-0.096-0.416-0.192t-0.384-0.192q-0.704-0.416-0.704-1.056 0-0.448 0.32-0.8t0.832-0.352q0.224 0 0.448 0.096 3.776 1.632 6.048 5.056t2.272 7.552z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 17 32"><path d="M14.080 4.8q2.88 0 2.88 2.048v18.24q0 2.112-2.88 2.112t-2.88-2.112v-18.24q0-2.048 2.88-2.048zM2.88 4.8q2.88 0 2.88 2.048v18.24q0 2.112-2.88 2.112t-2.88-2.112v-18.24q0-2.048 2.88-2.048z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 16 31"><path d="M15.552 15.168q0.448 0.32 0.448 0.832 0 0.448-0.448 0.768l-13.696 8.512q-0.768 0.512-1.312 0.192t-0.544-1.28v-16.448q0-0.96 0.544-1.28t1.312 0.192z"></path></svg>'},function(e,t,n){"use strict";var i,a,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(e){if(i===setTimeout)return setTimeout(e,0);if((i===o||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:o}catch(e){i=o}try{a="function"==typeof clearTimeout?clearTimeout:s}catch(e){a=s}}();var u,c=[],p=!1,d=-1;function h(){p&&u&&(p=!1,u.length?c=u.concat(c):d=-1,c.length&&y())}function y(){if(!p){var e=l(h);p=!0;for(var t=c.length;t;){for(u=c,c=[];++d<t;)u&&u[d].run();d=-1,t=c.length}u=null,p=!1,function(e){if(a===clearTimeout)return clearTimeout(e);if((a===s||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(e);try{a(e)}catch(t){try{return a.call(null,e)}catch(t){return a.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function v(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new f(e,t)),1!==c.length||p||l(y)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=v,r.addListener=v,r.once=v,r.off=v,r.removeListener=v,r.removeAllListeners=v,r.emit=v,r.prependListener=v,r.prependOnceListener=v,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,n){"use strict";(function(e,t){!function(e){if(!e.setImmediate){var n,i,a,r,o,s=1,l={},u=!1,c=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);p=p&&p.setTimeout?p:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){h(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}}()?(r="setImmediate$"+Math.random()+"$",o=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(r)&&h(+t.data.slice(r.length))},e.addEventListener?e.addEventListener("message",o,!1):e.attachEvent("onmessage",o),n=function(t){e.postMessage(r+t,"*")}):e.MessageChannel?((a=new MessageChannel).port1.onmessage=function(e){h(e.data)},n=function(e){a.port2.postMessage(e)}):c&&"onreadystatechange"in c.createElement("script")?(i=c.documentElement,n=function(e){var t=c.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):n=function(e){setTimeout(h,0,e)},p.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),i=0;i<t.length;i++)t[i]=arguments[i+1];var a={callback:e,args:t};return l[s]=a,n(s),s++},p.clearImmediate=d}function d(e){delete l[e]}function h(e){if(u)setTimeout(h,0,e);else{var t=l[e];if(t){u=!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{d(e),u=!1}}}}}("undefined"==typeof self?void 0===e?void 0:e:self)}).call(this,n(4),n(34))},function(e,t,n){"use strict";var i=Function.prototype.apply;function a(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new a(i.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new a(i.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(35),t.setImmediate=setImmediate,t.clearImmediate=clearImmediate},function(e,t,n){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=setTimeout;function a(){}function r(e){if(!(this instanceof r))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],c(e,this)}function o(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,r._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var i;try{i=n(e._value)}catch(e){return void l(t.promise,e)}s(t.promise,i)}else(1===e._state?s:l)(t.promise,e._value)}))):e._deferreds.push(t)}function s(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===(void 0===t?"undefined":n(t))||"function"==typeof t)){var i=t.then;if(t instanceof r)return e._state=3,e._value=t,void u(e);if("function"==typeof i)return void c((a=i,o=t,function(){a.apply(o,arguments)}),e)}e._state=1,e._value=t,u(e)}catch(t){l(e,t)}var a,o}function l(e,t){e._state=2,e._value=t,u(e)}function u(e){2===e._state&&0===e._deferreds.length&&r._immediateFn((function(){e._handled||r._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t<n;t++)o(e,e._deferreds[t]);e._deferreds=null}function c(e,t){var n=!1;try{e((function(e){n||(n=!0,s(t,e))}),(function(e){n||(n=!0,l(t,e))}))}catch(e){if(n)return;n=!0,l(t,e)}}r.prototype.catch=function(e){return this.then(null,e)},r.prototype.then=function(e,t){var n=new this.constructor(a);return o(this,new function(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}(e,t,n)),n},r.prototype.finally=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))},r.all=function(e){return new r((function(t,i){if(!e||void 0===e.length)throw new TypeError("Promise.all accepts an array");var a=Array.prototype.slice.call(e);if(0===a.length)return t([]);var r=a.length;function o(e,s){try{if(s&&("object"===(void 0===s?"undefined":n(s))||"function"==typeof s)){var l=s.then;if("function"==typeof l)return void l.call(s,(function(t){o(e,t)}),i)}a[e]=s,0==--r&&t(a)}catch(e){i(e)}}for(var s=0;s<a.length;s++)o(s,a[s])}))},r.resolve=function(e){return e&&"object"===(void 0===e?"undefined":n(e))&&e.constructor===r?e:new r((function(t){t(e)}))},r.reject=function(e){return new r((function(t,n){n(e)}))},r.race=function(e){return new r((function(t,n){for(var i=0,a=e.length;i<a;i++)e[i].then(t,n)}))},r._immediateFn="function"==typeof t&&function(e){t(e)}||function(e){i(e,0)},r._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},e.exports=r}).call(this,n(36).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=v(n(37)),r=v(n(0)),o=v(n(3)),s=v(n(18)),l=v(n(17)),u=v(n(13)),c=v(n(12)),p=v(n(11)),d=v(n(9)),h=v(n(8)),y=v(n(7)),f=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}var m=[],g=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=(0,s.default)(t),this.container=this.options.container,this.paused=!0,this.playedPromise=a.default.resolve(),this.mode="normal",this.randomOrder=r.default.randomOrder(this.options.audio.length),this.container.classList.add("aplayer"),this.options.lrcType&&!this.options.fixed&&this.container.classList.add("aplayer-withlrc"),this.options.audio.length>1&&this.container.classList.add("aplayer-withlist"),r.default.isMobile&&this.container.classList.add("aplayer-mobile"),this.arrow=this.container.offsetWidth<=300,this.arrow&&this.container.classList.add("aplayer-arrow"),this.container=this.options.container,2===this.options.lrcType||!0===this.options.lrcType)for(var n=this.container.getElementsByClassName("aplayer-lrc-content"),i=0;i<n.length;i++)this.options.audio[i]&&(this.options.audio[i].lrc=n[i].innerHTML);this.template=new l.default({container:this.container,options:this.options,randomOrder:this.randomOrder}),this.options.fixed&&(this.container.classList.add("aplayer-fixed"),this.template.body.style.width=this.template.body.offsetWidth-18+"px"),this.options.mini&&(this.setMode("mini"),this.template.info.style.display="block"),this.template.info.offsetWidth<200&&this.template.time.classList.add("aplayer-time-narrow"),this.options.lrcType&&(this.lrc=new p.default({container:this.template.lrc,async:3===this.options.lrcType,player:this})),this.events=new y.default,this.storage=new c.default(this),this.bar=new u.default(this.template),this.controller=new d.default(this),this.timer=new h.default(this),this.list=new f.default(this),this.initAudio(),this.bindEvents(),"random"===this.options.order?this.list.switch(this.randomOrder[0]):this.list.switch(0),this.options.autoplay&&this.play(),m.push(this)}return i(e,[{key:"initAudio",value:function(){var e=this;this.audio=document.createElement("audio"),this.audio.preload=this.options.preload;for(var t=function(t){e.audio.addEventListener(e.events.audioEvents[t],(function(n){e.events.trigger(e.events.audioEvents[t],n)}))},n=0;n<this.events.audioEvents.length;n++)t(n);this.volume(this.storage.get("volume"),!0)}},{key:"bindEvents",value:function(){var e=this;this.on("play",(function(){e.paused&&e.setUIPlaying()})),this.on("pause",(function(){e.paused||e.setUIPaused()})),this.on("timeupdate",(function(){if(!e.disableTimeupdate){e.bar.set("played",e.audio.currentTime/e.duration,"width"),e.lrc&&e.lrc.update();var t=r.default.secondToTime(e.audio.currentTime);e.template.ptime.innerHTML!==t&&(e.template.ptime.innerHTML=t)}})),this.on("durationchange",(function(){1!==e.duration&&(e.template.dtime.innerHTML=r.default.secondToTime(e.duration))})),this.on("progress",(function(){var t=e.audio.buffered.length?e.audio.buffered.end(e.audio.buffered.length-1)/e.duration:0;e.bar.set("loaded",t,"width")}));var t=void 0;this.on("error",(function(){e.list.audios.length>1?(e.notice("An audio error has occurred, player will skip forward in 2 seconds."),t=setTimeout((function(){e.skipForward(),e.paused||e.play()}),2e3)):1===e.list.audios.length&&e.notice("An audio error has occurred.")})),this.events.on("listswitch",(function(){t&&clearTimeout(t)})),this.on("ended",(function(){"none"===e.options.loop?"list"===e.options.order?e.list.index<e.list.audios.length-1?(e.list.switch((e.list.index+1)%e.list.audios.length),e.play()):(e.list.switch((e.list.index+1)%e.list.audios.length),e.pause()):"random"===e.options.order&&(e.randomOrder.indexOf(e.list.index)<e.randomOrder.length-1?(e.list.switch(e.nextIndex()),e.play()):(e.list.switch(e.nextIndex()),e.pause())):"one"===e.options.loop?(e.list.switch(e.list.index),e.play()):"all"===e.options.loop&&(e.skipForward(),e.play())}))}},{key:"setAudio",value:function(e){this.hls&&(this.hls.destroy(),this.hls=null);var t=e.type;this.options.customAudioType&&this.options.customAudioType[t]?"[object Function]"===Object.prototype.toString.call(this.options.customAudioType[t])?this.options.customAudioType[t](this.audio,e,this):console.error("Illegal customType: "+t):(t&&"auto"!==t||(t=/m3u8(#|\?|$)/i.exec(e.url)?"hls":"normal"),"hls"===t?Hls.isSupported()?(this.hls=new Hls,this.hls.loadSource(e.url),this.hls.attachMedia(this.audio)):this.audio.canPlayType("application/x-mpegURL")||this.audio.canPlayType("application/vnd.apple.mpegURL")?this.audio.src=e.url:this.notice("Error: HLS is not supported."):"normal"===t&&(this.audio.src=e.url)),this.seek(0),this.paused||this.audio.play()}},{key:"theme",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.list.audios[this.list.index].theme||this.options.theme,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.list.index;(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])&&this.list.audios[t]&&(this.list.audios[t].theme=e),this.template.listCurs[t]&&(this.template.listCurs[t].style.backgroundColor=e),t===this.list.index&&(this.template.pic.style.backgroundColor=e,this.template.played.style.background=e,this.template.thumb.style.background=e,this.template.volume.style.background=e)}},{key:"seek",value:function(e){e=Math.max(e,0),e=Math.min(e,this.duration),this.audio.currentTime=e,this.bar.set("played",e/this.duration,"width"),this.template.ptime.innerHTML=r.default.secondToTime(e)}},{key:"setUIPlaying",value:function(){var e=this;if(this.paused&&(this.paused=!1,this.template.button.classList.remove("aplayer-play"),this.template.button.classList.add("aplayer-pause"),this.template.button.innerHTML="",setTimeout((function(){e.template.button.innerHTML=o.default.pause}),100),this.template.skipPlayButton.innerHTML=o.default.pause),this.timer.enable("loading"),this.options.mutex)for(var t=0;t<m.length;t++)this!==m[t]&&m[t].pause()}},{key:"play",value:function(){var e=this;this.setUIPlaying();var t=this.audio.play();t&&t.catch((function(t){console.warn(t),"NotAllowedError"===t.name&&e.setUIPaused()}))}},{key:"setUIPaused",value:function(){var e=this;this.paused||(this.paused=!0,this.template.button.classList.remove("aplayer-pause"),this.template.button.classList.add("aplayer-play"),this.template.button.innerHTML="",setTimeout((function(){e.template.button.innerHTML=o.default.play}),100),this.template.skipPlayButton.innerHTML=o.default.play),this.container.classList.remove("aplayer-loading"),this.timer.disable("loading")}},{key:"pause",value:function(){this.setUIPaused(),this.audio.pause()}},{key:"switchVolumeIcon",value:function(){this.volume()>=.95?this.template.volumeButton.innerHTML=o.default.volumeUp:this.volume()>0?this.template.volumeButton.innerHTML=o.default.volumeDown:this.template.volumeButton.innerHTML=o.default.volumeOff}},{key:"volume",value:function(e,t){return e=parseFloat(e),isNaN(e)||(e=Math.max(e,0),e=Math.min(e,1),this.bar.set("volume",e,"height"),t||this.storage.set("volume",e),this.audio.volume=e,this.audio.muted&&(this.audio.muted=!1),this.switchVolumeIcon()),this.audio.muted?0:this.audio.volume}},{key:"on",value:function(e,t){this.events.on(e,t)}},{key:"toggle",value:function(){this.template.button.classList.contains("aplayer-play")?this.play():this.template.button.classList.contains("aplayer-pause")&&this.pause()}},{key:"switchAudio",value:function(e){this.list.switch(e)}},{key:"addAudio",value:function(e){this.list.add(e)}},{key:"removeAudio",value:function(e){this.list.remove(e)}},{key:"destroy",value:function(){m.splice(m.indexOf(this),1),this.pause(),this.container.innerHTML="",this.audio.src="",this.timer.destroy(),this.events.trigger("destroy")}},{key:"setMode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"normal";this.mode=e,"mini"===e?this.container.classList.add("aplayer-narrow"):"normal"===e&&this.container.classList.remove("aplayer-narrow")}},{key:"notice",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.8;this.template.notice.innerHTML=e,this.template.notice.style.opacity=i,this.noticeTime&&clearTimeout(this.noticeTime),this.events.trigger("noticeshow",{text:e}),n&&(this.noticeTime=setTimeout((function(){t.template.notice.style.opacity=0,t.events.trigger("noticehide")}),n))}},{key:"prevIndex",value:function(){if(!(this.list.audios.length>1))return 0;if("list"===this.options.order)return this.list.index-1<0?this.list.audios.length-1:this.list.index-1;if("random"===this.options.order){var e=this.randomOrder.indexOf(this.list.index);return 0===e?this.randomOrder[this.randomOrder.length-1]:this.randomOrder[e-1]}}},{key:"nextIndex",value:function(){if(!(this.list.audios.length>1))return 0;if("list"===this.options.order)return(this.list.index+1)%this.list.audios.length;if("random"===this.options.order){var e=this.randomOrder.indexOf(this.list.index);return e===this.randomOrder.length-1?this.randomOrder[0]:this.randomOrder[e+1]}}},{key:"skipBack",value:function(){this.list.switch(this.prevIndex())}},{key:"skipForward",value:function(){this.list.switch(this.nextIndex())}},{key:"duration",get:function(){return isNaN(this.audio.duration)?0:this.audio.duration}}],[{key:"version",get:function(){return"1.10.1"}}]),e}();t.default=g},,function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(40);var i,a=(i=n(38))&&i.__esModule?i:{default:i};t.default=a.default}]).default}));
|
package/js/custom.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x4e5b7d=_0x247f;function _0x247f(e,t){var a=_0x1e3b();return(_0x247f=function(e,t){return a[e-=301]})(e,t)}function _0x1e3b(){var e=["el-textarea__inner","猕猴桃","owo-big","慎重的","parentNode",".aplayer-fixed .aplayer-icon.aplayer-icon-lrc","beforeend","lost_friends","&type=goDown",".tk-avatar.tk-clickable:not(.already-clear-clickEvent)","toString","MTA=","DISQUS","javascript:void(0);","set","mycpen1-link-page-tag-2","</a><span ","children","善于沟通的","#waterfall",".page .layout #category #category-page-categories","有分析能力的","src","scrollHeight","pjax:complete","#article-container .flink .flink-list > .flink-list-item.单向 > a","金针菇","#inpName","color:#fadfa3","耐心的","距 2028-00-00 计时","select","linkPageLoadFcircleShow","article_data","yAxis","changeNavPageNameTitle","light","温暖的","px; left:","距 2022-08-28 上线","grayscale(100%)","darkmode_sidebarSwitch","火龙果","start","classList","有激情的","snackbarShow","有幽默感的","有协调能力的","\n%c","setSelectionRange","push","linkPageRssAliveCheck","细心的","setHours","load","onmouseleave","stringify","lineStyle","xAxis","mycpen1-essay-page-tag","card-widget-schedule","#author","replaceChild","autoplay","offsetTop","%c ","机智的","喜欢思考的","幽默的","\n链接:","length","可爱的","createElement","categoryPageActive","title","textContent","#pBar_month","innerHTML","data-theme","test","firstElementChild","mycpen1-about-page-tag",".page .layout #tag #tag-page-tags","善于合作的","function","inline","\n> ","nextElementSibling","round","豁达的","getSelection","09.30","getDate","自信的","干净的","from","#article-container .flink .flink-list > .flink-list-item.失联 > a","edgeless","label","有远见的","trim","MDA6MDA6MDA=","开放的"," | Mycpen","already-clear-clickEvent","noopener external nofollow noreferrer","Snackbar","#consoleHideAside","onmouseenter","next","bbtalk","具有批判性思维的","insertAdjacentHTML","有想象力的","series","switchPostChart","#newYear .newYear-time","background: #fadfa3; padding:5px 0;","getElementsByTagName","活泼的","</span></p>\n ","getDay","hide-aside","createEvent","waterfall","linkPageFetchShow","loadUrl","disqusReset","好奇的","深沉的","距 1998-00-00 计时","now","input[name='email']","focus","setTime","#cf-overshow > :not(.cf-overshow-close)","axisLine",".page-number","data-link","value",".schedule-r0 .schedule-d1 .aside-span2","prev","#nav-totop","#post-comment","#p_span_day","rgba(255,255,255,0.7)",'\n <div id="cf-overlay" class="cf-new-add" onclick="mycpen1js.linkPageCloseShow()"></div>\n <div id="cf-overshow" class="cf-new-add"></div>\n ',"getElementById","disqus_thread","真诚的","#comment_author","initialise","cookieconsent","#bber","我们使用 cookie 来确保在我们的网站上为您提供最佳体验。","MDgvMjgvMjAyMiA=","object","padStart","json","迷人的","坚强的","率直的","勇敢的","200mqZzEn","posts-chart","preventDefault",".cf-overshow",".schedule-r1 .schedule-d1 .aside-span2","page/",'\n <div class="cf-overshow">\n <div class="cf-overshow-head">\n <img class="cf-img-avatar avatar" src="',"className","statistical_data","dataset","type","max","currentTarget","tagPageActive","flink-mycpen1-rss-lost-friends","ceil","setItem","#ds-dialog-name","input[name='commail']","flink-mycpen1-rss-unknown-friends","$1:$2$3","display:flex; height:","#percent","clientWidth","childList","category","show","categories-chart","haveValue","input[name='author']","px; top:","already-redirect-link",".essay_bar_swiper_container","Mycpen - Personal Blog","listenToPageInputPress","querySelector","then","mycpen.cn","bind",".cf-overshow-close","avatar","#4b81e8"," <span>年</span>","toLocaleDateString","body","vertical","footer","getFullYear","setOption","-01-01 00:00:00","大方的","哈密瓜","谦虚的","有耐性的","datetime","href","05.12","offsetY","observe","有组织能力的","有正义感的","style",".tk-comments-container","display","gray !important;","color","replace","theme","有冒险精神的","敏捷的","距 2058-00-00 计时","contextmenu","input[name='comname']","includes",'</a>\n </div>\n <div class="cf-overshow-content">\n ',"floor","axisLabel","可靠的","essayReflashEssayWaterFall","created","article_num","MTAvMjIvMjA=","07.07",'" target="_blank" rel="noopener nofollow" data-title="',"donotreply@mycpen.cn","有智慧的","afterend","顽强的","padEnd","cssText","scrollTop","mycpen1-tags-page-cloudTags-","darkmode_consoleSwitch","target","origin","cpen.top","random","concat","goDown","appendChild","console","input[name='nick']","links","纯真的","#friend-links-in-footer .footer-item","getTime","split","stop","saveData","name","文静的","getItem","喜欢学习的","remove","pace-done",'<span class="day">',"dispatchEvent","loadData","深刻的","copy","381030YHAoAA","apipublicurl","splice","有决策能力的","善于领导的","forEach","#comment_email","px; width:","尊重他人的","closeAboutAplayer","未获取到订阅内容","scrollY","add","#838391","initConsoleState","setAttribute","开朗的","keydown","post?link=","pathname","1989dioNEQ","体贴的","textStyle","#bber time","返回顶部","HTMLEvents","11.30","英俊的","独立的",'<span class="happyNewYear">新年快乐</span>',"time","#newYear","input","aside-status"," 00:00:00","88925ASvOza","1214416YcSRYY","守信的",".tk-comments-container a:not(.already-redirect-link)","PressEscapeKey","total_friend_num","NzcheckLink","owoBigfunc","innerText","keyCode","#edeff5","hasAttribute","markLine","essayDiffDate","#newYear .title","postv2?name=","有创造力的","afterbegin","6HctMaq"," / 024","onresize","#aside-content .card-widget#card-widget-schedule .item-content .schedule-today",'<i class="fa-solid fa-clock"></i> <span>距离</span> ',"cardRefreshTimes","cf-overlay","tags-chart","firstChild","apply","#inpEmail","onmouseover","#p_span_week","未获取到文章卡片","just","offsetX","removeClass","https://hexo-circle.cpen.top/","contains","标题:","clientHeight","含蓄的","cf-show-now","parse","_blank","legend","data","/redirect.html?url=","bottom-right","setDate","day_to_night","getElementsByClassName","abs",'\n <div class="cf-overshow-close" onclick="mycpen1js.linkPageCloseShow()"></div>\n ',"page-name","dark","offsetHeight","/json/link.json","addEventListener","#article-container .flink#mycpen1-link-page-tag-2 .flink-list>.flink-list-item a .flink-item-icon","toPageText","getAttribute","547776RNErCT",'" alt="avatar" onerror="this.src=\'https://cdn.cbd.int/mycpen-blog@0.0.0-fkbguqunvy/img/flink404.svg\'; this.onerror = null;">\n <a class="" target="_blank" rel="noopener nofollow" href="',"link","有专业素养的","#email","#ds-dialog-email","documentElement","getMonth","务实的","loadFBComment","#pBar_day","removeaAlayerFixedLrc","onmouseout","#p_span_year","772232AZOWsy","#pBar_year","change","#p_span_month","date_suffix","null","#article-container #mycpen1-about-page-tag-sponsor-part a","day","endsWith","tag","稳重的","rel","log"," MYCPEN BLOG ",'<span class="unit">天</span></span>',"location",".share","data-fancybox","NzcheckLocalSite","有逻辑思维的","getFooterRandomFlink"," / ","MDA6MDA=","comment-tips","toPageButton","有思想的","randomLink","cpRemind","有同情心的","cf-overshow","05/23/2025 00:00:00","有学习能力的","px;","1069430FUQXQi","#console","color:#030307","disconnect","progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)","#name","宽容的","nameTextStyle","darkmode","hideConsole","Happy New Year!","toFixed","removeEventListener","input[name='mail']","复制成功","pageYOffset","mycpen1-link-page-tag","post-comment","100.00","朴素的","click","long","addClass","有责任感的","querySelectorAll","min","100%","toPage","08.14"];return(_0x1e3b=function(){return e})()}!function(e,t){for(var a=_0x247f,n=_0x1e3b();;)try{if(139473===-parseInt(a(636))/1+parseInt(a(601))/2+parseInt(a(621))/3*(parseInt(a(481))/4)+-parseInt(a(743))/5*(-parseInt(a(654))/6)+-parseInt(a(637))/7+-parseInt(a(710))/8+parseInt(a(696))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}();var mycpen1js={changeNavPageNameTitle(){var e=_0x247f;document[e(392)]==e(514)?document[e(465)]("page-name")[e(644)]=document[e(392)]:document.getElementById(e(688))[e(644)]=document.title[e(587)](e(421))[0]},getNavRightPagePercent(){var e=_0x247f;let t=document.documentElement[e(571)]||window.pageYOffset,a=Math[e(492)](document[e(525)][e(340)],document[e(702)][e(340)],document.body.offsetHeight,document[e(702)].offsetHeight,document[e(525)][e(674)],document[e(702)].clientHeight)-document[e(702)].clientHeight,n=Math[e(406)](t/a*100),o=document[e(516)](e(503));n<=99||(n=99),o[e(395)]=n,r=window[e(612)]+document[e(702)][e(674)],p=document.getElementById("post-comment")||document.getElementById("footer"),p[e(382)]+p[e(690)]/2<r||90<n?(document[e(516)](e(460))[e(361)][e(613)]("long"),o[e(395)]=e(625)):(document[e(516)](e(460))[e(361)][e(594)](e(309)),o[e(395)]=n)},share(){var e=_0x247f;let t=window[e(725)][e(575)]+window[e(725)][e(620)];new ClipboardJS(e(726),{text:function(){var a=e;return a(673)+document[a(392)]+a(387)+t}}),btf.snackbarShow(e(302))},getFooterRandomFlink(){var e={saveData:(e,t)=>{var a=_0x247f;localStorage[a(497)](e,JSON[a(374)]({time:Date[a(449)](),data:t}))},loadData:(e,t)=>{var a=_0x247f;let n=JSON[a(677)](localStorage[a(592)](e));if(n){let e=Date[a(449)]()-n[a(631)];if(e<60*t*1e3&&e>-1)return n.data}return 0},randomLink:()=>{var t=_0x247f;let a=e[t(598)](t(583),30);if(a){let e=document[t(312)](t(585));if(!e[t(388)])return;for(let n=0;n<3;n++){let o;do{o=parseInt(Math[t(577)]()*a[t(388)])}while("失联"===a[o][t(719)]);e[n][t(644)]=a[o][t(590)],e[n][t(536)]=a[o][t(698)],e[n][t(392)]=a[o][t(590)],e[n].target="_blank",e[n][t(721)]=t(423),a[t(603)](o,1)}}else fetch(t(691))[t(517)]((e=>e[t(476)]()))[t(517)]((a=>{var n=t;e[n(589)](n(583),a.link_list),e[n(736)]()}))}};e[_0x247f(736)]()},newYearCountdownCard(){(()=>{var e=_0x247f;if(clearTimeout(null),!document.querySelector(e(632)))return;let t=new Date((new Date)[e(528)]()+1+e(530))[e(586)]()/1e3,a={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"};!function(){var n=e;let o=new Date,c=o.getMonth()+1,s=o[n(410)]();c=c>9?c:"0"+c,s=s>9?s:"0"+s,document[n(516)]("#newYear .today")[n(395)]=o[n(528)]()+"-"+c+"-"+s+" "+a[o[n(439)]()];let r=t-Math.round(o[n(586)]()/1e3);r<0?(document[n(516)](n(650)).innerHTML=n(753),document[n(516)]("#newYear .newYear-time")[n(395)]=n(630)):(document.querySelector(n(650))[n(395)]=n(658)+((new Date)[n(528)]()+1)+n(523),r>86400?document[n(516)](n(434)).innerHTML=n(596)+Math[n(496)](r/86400)+'<span class="unit">天</span></span>':document[n(516)](n(434))[n(395)]='<span class="day">'+Math.ceil(r/86400)+n(724))}()})()},removeBodyPaceClass:function(){var e=_0x247f;$("body")[e(670)](),$(e(525))[e(310)](e(595))},toPage:function(){var e=_0x247f,t=document[e(312)](e(455)),a=parseInt(t[t[e(388)]-1][e(395)]),n=document[e(465)](e(694)),o=parseInt(n.value);if(!isNaN(o)&&o>0&&"0"!==(""+o)[0]&&o<=a){var c,s=window[e(725)].href[e(547)](/\/page\/\d+\/$/,"/");c=1===o?s:s+(s[e(718)]("/")?"":"/")+e(486)+o+"/",document[e(465)](e(734))[e(536)]=c}},listenToPageInputPress(){var e=_0x247f,t=document[e(465)](e(694)),a=document.getElementById(e(734));t&&(t[e(692)]("keydown",(t=>{var n=e;13===t.keyCode&&(mycpen1js[n(315)](),pjax[n(444)](a[n(536)]))})),t[e(692)]("input",(function(){var n=e;""===t[n(457)]||"0"===t[n(457)]?a[n(361)][n(594)](n(509)):a[n(361)].add(n(509));var o=document[n(312)](n(455)),c=+o[o[n(388)]-1][n(395)];+document[n(465)](n(694))[n(457)]>c&&(t[n(457)]=c)})))},showConsole:function(){var e=_0x247f;document[e(516)](e(744))[e(361)][e(613)](e(507)),mycpen1js[e(615)]()},hideConsole:function(){var e=_0x247f;document[e(516)](e(744))[e(361)][e(594)](e(507))},hideAsideBtn:()=>{var e=_0x247f;const t=document.documentElement[e(361)];t[e(672)]("hide-aside")?saveToLocal.set(e(634),e(507),2):saveToLocal[e(331)](e(634),"hide",2),t.toggle(e(440)),t.contains(e(440))?document[e(516)](e(425))[e(361)][e(613)]("on"):document[e(516)](e(425)).classList[e(594)]("on")},initConsoleState:function(){var e=_0x247f;document[e(702)][e(361)][e(672)](e(440))?document[e(516)](e(425)).classList.add("on"):document[e(516)](e(425))[e(361)][e(594)]("on")},tagPageActive:function(){var e=_0x247f,t=window[e(725)][e(620)];if(/\/tags\/.*?\//[e(397)](t=decodeURIComponent(t))){var a=t.split("/")[2];if(document[e(516)](e(400))){$("a").removeClass(e(348));var n=document[e(465)](e(572)+a);n&&n[e(361)].add(e(348))}}},categoryPageActive:function(){var e=_0x247f,t=window.location.pathname;if(/\/categories\/.*?\//[e(397)](t=decodeURIComponent(t))){var a=t.split("/")[2];if(document[e(516)](e(337))){$("a")[e(670)](e(348));var n=document.getElementById("mycpen1-categories-page-cloudCategories-"+a);n&&n.classList.add(e(348))}}},addRandomCommentInfo:function(){var e=_0x247f;const t=["美丽的",e(628),"聪明的",e(480),e(389),"慷慨的","善良的",e(558),e(617),"成熟的",e(720),e(467),e(386),e(407),"有趣的",e(437),"优雅的",e(550),"温柔的",e(354),"敬业的",e(370),e(346),e(447),e(307),e(675),e(479),e(420),e(704),e(478),e(411),e(533),e(591),e(599),e(584),"朝气蓬勃的",e(320),e(531),e(568),e(477),e(384),"善解人意的","富有想象力的","有魅力的",e(629),e(446),e(412),e(749),e(609),e(622),e(638),e(534),"有责任心的","有担当的",e(417),e(566),"有眼光的",e(549),"有爱心的",e(738),e(385),e(593),e(429),"善于表达的",e(335),e(401),e(605),e(362),e(364),e(735),"有个性的",e(541),e(311),e(652),e(431),"有艺术细胞的","有团队精神的",e(365),e(604),e(540),e(741),"有执行能力的",e(338),e(729),"有创新能力的",e(699),"有商业头脑的"],a=["萝卜","白菜","芹菜","生菜","青椒","辣椒","茄子","豆角","黄瓜","西红柿","洋葱","大蒜","土豆","南瓜","豆腐","韭菜","花菜","西兰花","蘑菇",e(343),"苹果","香蕉","橙子","柠檬",e(318),"草莓","葡萄","桃子","杏子","李子","石榴","西瓜",e(532),"蜜瓜","樱桃","蓝莓","柿子","橄榄","柚子",e(359)],n=""+t[Math[e(556)](Math[e(577)]()*t.length)]+a[Math[e(556)](Math[e(577)]()*a[e(388)])];!function(){for(var t=e,a=[t(379),t(553),t(344),t(510),t(498),t(748),t(582),t(468)],o=["#mail",t(700),t(499),t(664),t(450),t(701),t(301),t(607)],c=0;c<a.length;c++){var s=document[t(516)](a[c]);if(null!=s){s[t(457)]=n,s.dispatchEvent(new Event("input")),s[t(597)](new Event("change"));break}}for(var r=0;r<o[t(388)];r++){var i=document[t(516)](o[r]);if(null!=i){i[t(457)]=t(565),i.dispatchEvent(new Event(t(633))),i[t(597)](new Event(t(712)));break}}}();var o=document.getElementsByClassName(e(317))[0];o[e(451)](),o[e(367)](-1,-1)},owoBigfunc(){var e=_0x247f;document.getElementById(e(305))&&function(){var t=e;let a=1,n="",o=document.createElement("div"),c=document[t(516)](t(525));o.id=t(319),c.appendChild(o),new MutationObserver((e=>{var s=t;for(let t=0;t<e[s(388)];t++){let r=e[t].addedNodes,i="";2==r[s(388)]&&"OwO-body"==r[1][s(488)]&&(i=r[1],document[s(525)].clientWidth<=768&&i[s(692)](s(552),(e=>e[s(483)]())),i[s(665)]=e=>{var t=s;a&&"IMG"==e[t(574)].tagName&&(a=0,n=setTimeout((()=>{var a=t;let n=3*e[a(574)][a(674)],s=3*e.target.clientWidth,r=e.x-e[a(669)]-(s-e.target[a(504)])/2,i=e.y-e[a(538)];r+s>c[a(504)]&&(r-=r+s-c.clientWidth+10),r<0&&(r=10),o[a(542)][a(570)]=a(502)+n+a(608)+s+a(355)+r+a(511)+i+a(742),o[a(395)]='<img src="'+e[a(574)][a(339)]+'">'}),300))},i[s(708)]=()=>{var e=s;o[e(542)][e(544)]="none",a=1,clearTimeout(n)})}})).observe(document[t(465)](t(305)),{subtree:!0,childList:!0})}()},removeaAlayerFixedLrc(){var e=_0x247f;function t(){var e=_0x247f;const t=document.querySelector(e(322));t&&(a[e(746)](),setTimeout((()=>{t.click()}),1))}const a=new MutationObserver(((e,a)=>{var n=_0x247f;for(let a of e)a[n(491)]===n(505)&&t()}));a[e(539)](document,{childList:!0,subtree:!0})},switchDarkMode(){var e=_0x247f;(document[e(702)].getAttribute(e(396))===e(689)?"dark":e(353))===e(353)?(activateDarkMode(),saveToLocal[e(331)](e(548),e(689),2),void 0!==GLOBAL_CONFIG.Snackbar&&btf[e(363)](GLOBAL_CONFIG[e(424)][e(684)])):(activateLightMode(),saveToLocal[e(331)](e(548),e(353),2),void 0!==GLOBAL_CONFIG[e(424)]&&btf[e(363)](GLOBAL_CONFIG.Snackbar.night_to_day)),typeof utterancesTheme===e(402)&&utterancesTheme(),typeof FB===e(474)&&window[e(705)](),window[e(329)]&&document[e(465)](e(466))[e(334)][e(388)]&&setTimeout((()=>window[e(445)]()),200)},essayUnknownPart(){},essayReplaceAll:(e,t,a)=>e[_0x247f(587)](t).join(a),essayDiffDate:function(e,t=!1){var a=_0x247f;const n=new Date,o=new Date(e),c=n[a(586)]()-o.getTime(),s=36e5,r=864e5;let i;if(t){const e=c/r,t=c/s,n=c/6e4;i=c/2592e6>=1?o[a(524)]().replace(/\//g,"-"):e>=1?parseInt(e)+" "+GLOBAL_CONFIG[a(714)][a(717)]:t>=1?parseInt(t)+" "+GLOBAL_CONFIG[a(714)].hour:n>=1?parseInt(n)+" "+GLOBAL_CONFIG[a(714)][a(313)]:GLOBAL_CONFIG[a(714)][a(668)]}else i=parseInt(c/r);return i},essayChangeTimeInEssay:function(){var e=_0x247f;document.querySelector(e(471))&&document[e(312)](e(624))[e(606)]((function(t){var a=e,n=t,o=n.getAttribute(a(535));n.innerText=mycpen1js[a(649)](o,!0),n[a(542)][a(544)]=a(403)}))},essayReflashEssayWaterFall:function(){var e=_0x247f;document[e(516)](e(336))&&setTimeout((function(){var t=e;waterfall(t(336)),document[t(465)](t(442))[t(361)][t(613)](t(507))}),500)},essayCommentText:function(e){var t=_0x247f;var a=document[t(516)](t(461)).offsetTop;window.scrollTo(0,a-80),"undefined"!=e&&e!=t(715)||(e="好棒!"),function t(){setTimeout((()=>{var a=_0x247f,n=document[a(685)](a(317))[0];n||t();let o=document[a(441)](a(626));o.initEvent(a(633),!0,!0);let c=mycpen1js.essayReplaceAll(e,"\n",a(404));n[a(457)]="> "+c+"\n\n",n.dispatchEvent(o),n[a(451)](),n[a(367)](-1,-1),document[a(465)]("comment-tips")&&document[a(465)](a(733))[a(361)][a(613)](a(507))}),100)}()},essayInitIndexEssay:function(){setTimeout((()=>{var e=_0x247f;let t=new Swiper(e(513),{passiveListeners:!0,direction:e(526),loop:!0,autoplay:{disableOnInteraction:!0,delay:3e3},mousewheel:!0}),a=document[e(465)](e(428));null!==a&&(a[e(426)]=function(){var a=e;t[a(381)][a(588)]()},a[e(373)]=function(){var a=e;t[a(381)][a(360)]()})}),100)},essayChangeTimeInEssayByMycpen:function(){for(var e=_0x247f,t=document[e(436)](e(631)),a=0;a<t.length;a++){var n,o=t[a][e(695)](e(535)),c=new Date(o),s=(new Date)[e(586)]()-c[e(586)](),r=Math[e(556)](s/864e5);0===r?n="最近":1===r?n="昨天":2===r?n="前天":r<=7?n=r+"天前":c[e(528)]()!==(new Date).getFullYear()?(Essaymonth=c[e(703)]()+1,EssayDay=c.getDate(),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=c.getFullYear()+"-"+Essaymonth+"-"+EssayDay):(Essaymonth=c[e(703)]()+1,EssayDay=c[e(410)](),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=Essaymonth+"-"+EssayDay),t[a][e(393)]=n}},switchPostChart:function(){var e=_0x247f;let t="light"===document[e(702)][e(695)](e(396))?"#4C4948":e(463);if(document.getElementById(e(482))&&postsOption)try{let a=postsOption;a[e(392)][e(623)][e(546)]=t,a[e(376)][e(750)][e(546)]=t,a[e(351)][e(750)][e(546)]=t,a[e(376)][e(557)][e(546)]=t,a[e(351)][e(557)].color=t,a[e(376)].axisLine[e(375)][e(546)]=t,a[e(351)][e(454)][e(375)][e(546)]=t,a[e(432)][0][e(648)][e(680)][0][e(416)][e(546)]=t,postsChart.setOption(a)}catch(t){console[e(722)](t)}if(document.getElementById(e(661))&&tagsOption)try{let a=tagsOption;a[e(392)][e(623)][e(546)]=t,a.xAxis.nameTextStyle[e(546)]=t,a.yAxis[e(750)].color=t,a.xAxis[e(557)].color=t,a[e(351)][e(557)][e(546)]=t,a[e(376)].axisLine[e(375)].color=t,a.yAxis[e(454)].lineStyle[e(546)]=t,a.series[0][e(648)][e(680)][0][e(416)][e(546)]=t,tagsChart[e(529)](a)}catch(e){console.log(e)}if(document.getElementById(e(508))&&categoriesOption)try{let a=categoriesOption;a[e(392)].textStyle[e(546)]=t,a[e(679)].textStyle[e(546)]=t,!categoryParentFlag&&(a.series[0].label[e(546)]=t),categoriesChart.setOption(a)}catch(t){console[e(722)](t)}},cpRemind(){var e=_0x247f;document.addEventListener(e(600),(function(t){var a=e;window[a(408)]()[a(327)]()[a(418)]()[a(388)]>0&&btf[a(363)](a(302))}))},closeAboutAplayer(){var e=_0x247f;if(!document[e(465)](e(399)))try{about_page_ap.pause(),about_page_ap=void 0,about_page_weekSong=void 0,about_page_now=void 0,about_page_weekSong_today=void 0}catch(e){}},grey(){var e=_0x247f,t=new Date,a=t.getMonth()+1,n=t[e(410)](),o=["04.04",e(537),e(563),e(316),"09.09","09.18",e(409),e(627),"12.13"];for(var c of o){var s=c[e(587)](".");if(a==s[0]&&n==s[1]){var r=e(357);$("html").css({filter:e(545),filter:e(747),filter:r,"-webkit-filter":r,"-moz-filter":r,"-ms-filter":r,"-o-filter":r});break}}},console(){var e=_0x247f,t=new Date,a=console[e(722)];queueMicrotask((function(){var n=e;var o=new Date(""+atob(n(473))+atob(n(419))),c=new Date(atob("MTAvMjIvMTk5OCAwMA==")+":"+atob(n(732))),s=new Date(""+atob(n(562))+atob("MjggMDA6MDA6MDA=")),r=new Date(atob(n(328))+"/"+atob("MjIvMjA1OCAwMDowMA==")+atob("OjAw")),i=new Date(n(740));t[n(452)](t[n(586)]()+250);o=[n(723)," "+window[n(725)][n(575)]+" ","\n\n",n(356),Math[n(556)](Math[n(686)](t-o)/1e3/60/60/24+(t-o<0?1:0))[n(327)]().padEnd(5," "),"天",n(448),Math[n(556)](Math[n(686)](t-c)/1e3/60/60/24+(t-c<0?1:0))[n(327)]()[n(569)](5," "),"天",n(347),Math[n(556)](Math[n(686)](t-s)/1e3/60/60/24+(t-s<0?1:0))[n(327)]()[n(569)](5," "),"天",n(551),Math[n(556)](Math[n(686)](t-r)/1e3/60/60/24+(t-r<0?1:0))[n(327)]()[n(569)](5," "),"天","距 2025-05-23 计时",Math[n(556)](Math[n(686)](t-i)/1e3/60/60/24+(t-i<0?1:0))[n(327)]()[n(569)](5," "),"天 (阿里云)"];setTimeout(function(){a[_0x247f(663)](console,arguments)}[n(519)](console,n(366)[n(578)](o[0],"%c").concat(o[1],"%c")[n(578)](o[2],"%c")[n(578)](o[3],n(383))[n(578)](o[4],n(383))[n(578)](o[5],"\n").concat(o[6],"%c ").concat(o[7],"%c ").concat(o[8],"\n")[n(578)](o[9],n(383))[n(578)](o[10],n(383)).concat(o[11],"\n")[n(578)](o[12],"%c ")[n(578)](o[13],n(383))[n(578)](o[14],"\n")[n(578)](o[15],n(383))[n(578)](o[16],n(383))[n(578)](o[17],"\n")[n(578)]("\n"),"color: #fadfa3; background: #030307; padding:5px 0;",n(435),n(345),"",n(745),"","color:#030307","",n(745),"",n(745),"",n(745),""))}))},cardRefreshTimes(){var e=_0x247f;const t=(new Date)[e(528)](),a=(n=t)%4==0&&n%100!=0||n%400==0?366:365;var n,o=new Date,c=new Date((new Date)[e(528)]()+e(530)),s=document.getElementById(e(378));s&&(asideDay=(o-c)/1e3/60/60/24,s.querySelector(e(711)).value=asideDay,s.querySelector(e(711))[e(492)]=a,yearPercentage=(asideDay/a*100).toFixed(2),displayYearPercentage=yearPercentage===e(306)?e(314):yearPercentage+"%",s[e(516)](e(709))[e(395)]=displayYearPercentage,s.querySelector(e(458))[e(395)]=(Math[e(556)](10*(a-asideDay))/10)[e(754)](1)+e(731)+a,currentDateMonth=new Date,currentDateMonth[e(683)](1),currentDateMonth[e(371)](0,0,0,0),currentMonthTimestamp=currentDateMonth.getTime(),asideMonthDay=(o-currentMonthTimestamp)/1e3/60/60/24,currentDateMonthTotal=new Date,currentMonth=currentDateMonthTotal[e(703)](),currentDateMonthTotal.setMonth(currentMonth+1,1),currentDateMonthTotal[e(683)](0),asideMonthDays=currentDateMonthTotal[e(410)](),s.querySelector(e(394))[e(457)]=asideMonthDay,s[e(516)](e(394))[e(492)]=asideMonthDays,monthPercentage=(asideMonthDay/asideMonthDays*100)[e(754)](2),displayMonthPercentage="100.00"===monthPercentage?e(314):monthPercentage+"%",s[e(516)](e(713)).innerHTML=displayMonthPercentage,s[e(516)](e(485))[e(395)]=(Math[e(556)](10*(asideMonthDays-asideMonthDay))/10)[e(754)](1)+" / "+asideMonthDays[e(327)]()[e(475)](3,"0"),currentDateWeek=new Date,currentDayOfWeek=currentDateWeek[e(439)](),currentWeekTimestamp=currentDateWeek[e(371)](0,0,0,0),firstDayOfWeekTimestamp=currentWeekTimestamp-24*(0===currentDayOfWeek?6:currentDayOfWeek-1)*60*60*1e3,pastWeekTimestamp=o-firstDayOfWeekTimestamp,asideWeekDay=pastWeekTimestamp/1e3/60/60/24,s.querySelector("#pBar_week")[e(457)]=asideWeekDay,weekPercentage=(asideWeekDay/7*100)[e(754)](2),displayWeekPercentage="100.00"===weekPercentage?e(314):weekPercentage+"%",s.querySelector(e(666))[e(395)]=displayWeekPercentage,s[e(516)](".schedule-r2 .schedule-d1 .aside-span2")[e(395)]=(Math[e(556)](10*(7-asideWeekDay))/10)[e(754)](1)+" / 007",currentTimeStamp=(new Date)[e(586)](),startOfDay=new Date,startOfDay[e(371)](0,0,0,0),startOfDayTimeStamp=startOfDay.getTime(),timeDifferenceToday=currentTimeStamp-startOfDayTimeStamp,asideToday=timeDifferenceToday/1e3/60/60/24,asideTodayHour=timeDifferenceToday/36e5,s[e(516)](e(706))[e(457)]=asideTodayHour,dayPercentage=(100*asideToday)[e(754)](2),displayDayPercentage=dayPercentage===e(306)?e(314):dayPercentage+"%",s[e(516)](e(462))[e(395)]=displayDayPercentage,s.querySelector(".schedule-r3 .schedule-d1 .aside-span2").innerHTML=(Math[e(556)](10*(24-asideTodayHour))/10)[e(754)](1)+e(655),month=o[e(703)]()+1,day=o[e(410)](),month=month>9?month:"0"+month,day=day>9?day:"0"+day,week={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"},document[e(516)](e(657))[e(395)]=o.getFullYear()+"-"+month+"-"+day+" "+week[o[e(439)]()])},PressEscapeKey(e){var t=_0x247f;27===e[t(645)]&&(document[t(465)](t(581))&&mycpen1js[t(752)](),document[t(465)](t(660))&&document[t(465)](t(739))&&(document[t(516)](t(520))||document[t(516)](t(484)))&&(document[t(465)]("mycpen1-fcircle-page-tag")&&closeShow(),document[t(465)](t(304))&&mycpen1js.linkPageCloseShow()))},linkPageOpenMeShow(e){var t=_0x247f,a=t(671),n="ok",o=t(464),c=document[t(465)](t(304));c&&(document[t(465)]("cf-overlay")||c.insertAdjacentHTML(t(567),o)),e[t(483)]();var s,r=e[t(493)][t(490)][t(698)].replace(/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/,t(501));s=a+t(619)+r,"ok"==n&&(n="no",mycpen1js[t(443)](s))},linkPageOpenMeShowV2(e){var t=_0x247f,a={apipublicurl:t(671)},n="ok",o=t(464),c=document[t(465)](t(304));c&&(document.getElementById(t(660))||c.insertAdjacentHTML(t(567),o)),e[t(483)]();var s,r=encodeURIComponent(e[t(493)][t(490)][t(590)]);s=a[t(602)]+t(651)+r,"ok"==n&&(n="no",mycpen1js.linkPageFetchShow(s))},linkPageCloseShow(){var e=_0x247f;document.getElementById(e(660)).className-=e(676),document.getElementById(e(739)).className-=e(676),setTimeout((function(){var t=e,a=document[t(312)](t(453)),n=document.querySelectorAll("#cf-overshow > .cf-overshow-close");a[t(606)]((function(e){e.remove()}));for(var o=1;o<n[t(388)];o++)n[o][t(594)]()}),100)},linkPageFetchShow(_0x242607){var _0x1a0810=_0x247f,_0x170549=_0x1a0810(687);fetch(_0x242607)[_0x1a0810(517)]((e=>e[_0x1a0810(476)]()))[_0x1a0810(517)]((_0x8cd8bf=>{var _0x128b97=_0x1a0810;noClick="ok";var _0x25a924=_0x8cd8bf[_0x128b97(489)],_0x19f705=eval(_0x8cd8bf[_0x128b97(350)]);0!==_0x25a924.article_num?(mycpen1js[_0x128b97(349)](_0x25a924,_0x19f705),document[_0x128b97(465)]("cf-overlay")[_0x128b97(488)]=_0x128b97(676),document[_0x128b97(465)](_0x128b97(739))[_0x128b97(430)](_0x128b97(653),_0x170549)):btf[_0x128b97(363)](_0x128b97(611))})).catch((e=>{var t=_0x1a0810;btf.snackbarShow(t(667))}))},linkPageLoadFcircleShow(e,t){for(var a=_0x247f,n=a(487)+e[a(521)]+a(697)+e[a(698)]+'">'+e[a(590)]+a(555),o=0;o<e[a(561)];o++){var c=t[o];let e="";Date[a(449)]()-new Date(c[a(560)]+a(635)).getTime()<=1728e5&&(e='style="color: var(--mycpen1-main); opacity: 1;"'),n+='\n <p><a class="cf-article-title" href="'+c.link+a(564)+c[a(392)]+'">'+c[a(392)]+a(333)+e+">"+c.created+a(438)}n+="</div></div>",document[a(465)]("cf-overshow")[a(430)](a(323),n),document.getElementById(a(739)).className=a(676)},linkPageRssAliveCheck(){var e=_0x247f;apiurl="https://hexo-circle.cpen.top/",rssAliveCheckUrl=apiurl+"friendstatus",fetch(rssAliveCheckUrl)[e(517)]((t=>t[e(476)]()))[e(517)]((t=>{var a=e,n=t[a(324)],o=t.not_lost_friends,c=t[a(641)];let s=[];for(const e in n){let t=n[e];t=t[a(547)](/^https?:\/\//,""),t=t[a(547)](/\/$/,""),s.push(t)}let r=[];for(const e in o){let t=o[e];t=t.replace(/^https?:\/\//,""),t=t[a(547)](/\/$/,""),r[a(368)](t)}document[a(312)](a(693))[a(606)]((e=>{var t=a;if(e){let a=e[t(695)](t(456)).replace(/^https?:\/\//,"");a=a[t(547)](/\/$/,""),c>0?r[t(554)](a)?e[t(361)][t(613)]("flink-mycpen1-rss-not-lost-friends"):s[t(554)](a)?e[t(361)].add(t(495)):e.classList[t(613)](t(500)):0===c&&e.classList[t(613)](t(495))}}))}))},NzcheckLink:async e=>{var t=_0x247f;const a=document[t(312)](e);if(a){let e=new RegExp(/^[#].*/);for(let c=0;c<a[t(388)];c++){const s=a[c];var n=s[t(647)](t(727)),o=s[t(361)].contains(t(512));if(!n&&!o){let a=s.getAttribute(t(536)),n=s[t(695)]("data-download"),o=s.getAttribute(t(721));e[t(397)](a)||o===t(459)||o===t(427)||o===t(506)||o===t(719)||a===t(330)||(await mycpen1js[t(728)](a)||n?!await mycpen1js[t(728)](a)&&n===t(579)&&s[t(616)](t(536),t(681)+btoa(a)+t(325)):s[t(616)](t(536),t(681)+btoa(a)))}s[t(361)][t(613)](t(512))}}},NzcheckLocalSite:async e=>{var t=_0x247f;try{const a=["localhost:4000",t(576),t(518)];let n=!1;for(let o=0;o<a.length;o++){const c=a[o];if(e[t(554)](c)){n=!0;break}}return n}catch(e){return!0}},cookieConsent(){var e=_0x247f;window.addEventListener(e(372),(()=>{var t=e;window[t(470)][t(469)]({type:"info",theme:t(415),static:!1,position:t(682),content:{message:t(472),dismiss:"接受",allow:"接受",deny:"拒绝",link:!1},palette:{popup:{background:t(646),text:t(614)},button:{background:t(522)}}})}))}};function whenDOMReadyMycpen1JS(){var e=_0x4e5b7d;mycpen1js[e(352)](),mycpen1js[e(730)](),mycpen1js.removeBodyPaceClass(),mycpen1js[e(494)](),mycpen1js[e(391)](),mycpen1js[e(515)](),mycpen1js[e(643)](),document[e(465)]("mycpen1-essay-page-tag")&&(mycpen1js.essayChangeTimeInEssayByMycpen(),mycpen1js[e(559)](),window[e(656)]=()=>{var t=e;document.getElementById(t(377))&&(mycpen1js[t(559)](),setTimeout((()=>{mycpen1js[t(559)]()}),300))}),document[e(465)](e(751))[e(692)]("click",(function(){setTimeout(mycpen1js[e(433)],100)})),document[e(465)]("darkmode_navswitch").addEventListener(e(308),(function(){setTimeout(mycpen1js[e(433)],100)})),document[e(465)](e(573))[e(692)](e(308),(function(){setTimeout(mycpen1js[e(433)],100)})),document.getElementById(e(358))[e(692)](e(308),(function(){setTimeout(mycpen1js[e(433)],100)})),mycpen1js[e(737)](),mycpen1js[e(610)](),document[e(465)](e(378))&&(mycpen1js[e(659)](),setInterval((()=>{mycpen1js[e(659)]()}),1e3)),document[e(465)](e(332))&&mycpen1js[e(369)](),document[e(465)](e(304))&&(mycpen1js[e(642)](e(342)),mycpen1js[e(642)](e(414))),document.getElementById(e(399))&&mycpen1js[e(642)](e(716)),document.getElementById(e(305))&&setInterval((()=>{var t=e;if(document[t(516)](t(543))){mycpen1js[t(642)](t(639));document[t(312)](t(326))[t(606)]((e=>{var a=t;e[a(361)][a(613)](a(422));const n=document[a(390)]("a");for(Array[a(413)](e.attributes)[a(606)]((e=>{var t=a;n[t(616)](e[t(590)],e.value)}));e.firstChild;)n[a(580)](e[a(662)]);e[a(321)][a(380)](n,e);const o=n[a(405)].firstElementChild[a(398)][a(398)][a(695)](a(536));n[a(616)]("href",o),n[a(616)](a(574),a(678)),n[a(616)](a(721),a(423))}))}}),1e3)}mycpen1js[_0x4e5b7d(581)](),document[_0x4e5b7d(755)](_0x4e5b7d(618),mycpen1js[_0x4e5b7d(640)]),document[_0x4e5b7d(692)]("keydown",mycpen1js[_0x4e5b7d(640)]),window.onscroll=mycpen1js.getNavRightPagePercent,mycpen1js[_0x4e5b7d(707)](),whenDOMReadyMycpen1JS(),document[_0x4e5b7d(692)](_0x4e5b7d(341),whenDOMReadyMycpen1JS);
|
|
1
|
+
var _0x12584f=_0x2ce1;function _0x183c(){var e=["有执行能力的","firstElementChild","saveData","rel","#pBar_week"," / 024","好棒!","#bber time","color:#fadfa3","post-comment","style","input[name='nick']","100.00","name","links","show","color:#030307","&type=goDown","load","cf-show-now","自信的","test","undefined","#mail","input[name='mail']","div","toLocaleDateString","距 2022-08-28 上线","#email","有幽默感的"," <span>年</span>","catch","apipublicurl","OjAw","tags-chart","clientHeight","afterend","复制成功","offsetY","富有想象力的","log","getFullYear","有协调能力的","cf-overlay","cpen.top","#4b81e8","#friend-links-in-footer .footer-item","essayDiffDate","坚强的","concat","#p_span_year","link_list","哈密瓜","label","dark","西红柿","距 2058-00-00 计时","apply","vertical","04.04","css","1497414Nmpgdy","dispatchEvent","getFooterRandomFlink","scrollTop","waterfall","tag","snackbarShow","classList","</div></div>","parse","onscroll","#inpEmail","removeEventListener","返回顶部",".schedule-r0 .schedule-d1 .aside-span2","focus","random","split","type","PressEscapeKey","scrollHeight",".page .layout #tag #tag-page-tags","keydown","谦虚的","initialise",'<img src="',"朝气蓬勃的","grayscale(100%)","removeBodyPaceClass","total_friend_num",'style="color: var(--mycpen1-main); opacity: 1;"',"initConsoleState","input[name='commail']","tagName","linkPageFetchShow","time","#waterfall","date_suffix",'</a>\n </div>\n <div class="cf-overshow-content">\n ',".schedule-r3 .schedule-d1 .aside-span2","just","#console","美丽的","forEach","xAxis","origin","clientWidth","有决策能力的","getSelection","cssText",".schedule-r1 .schedule-d1 .aside-span2","英俊的","18TBKPqK","markLine","NzcheckLocalSite","childList","innerText","#p_span_day","now","then","essayChangeTimeInEssayByMycpen",".cf-overshow-close","set","none","#comment_author","#cf-overshow > .cf-overshow-close","removeClass","成熟的","hideConsole","$1:$2$3","length","avatar","#comment_email","null","data","randomLink",".tk-avatar.tk-clickable:not(.already-clear-clickEvent)","mycpen1-fcircle-page-tag","console","px;","MDgvMjgvMjAyMiA=","px; top:",'\n <div id="cf-overlay" class="cf-new-add" onclick="mycpen1js.linkPageCloseShow()"></div>\n <div id="cf-overshow" class="cf-new-add"></div>\n ',"开放的","getElementsByTagName","html","cookieconsent","1689560zSTAAa","toPageButton","setDate","article_num","/redirect.html?url=","category",".cf-overshow","light","可靠的","remove","footer","幽默的","display:flex; height:","change","toString","宽容的","attributes","json","src","稳重的","flink-mycpen1-rss-not-lost-friends","datetime","尊重他人的","有爱心的","target",'" target="_blank" rel="noopener nofollow" data-title="',"有责任感的","慷慨的","legend","#p_span_week","有学习能力的","initEvent","color"," | Mycpen","有智慧的","MjggMDA6MDA6MDA=","喜欢思考的","纯真的","pjax:complete","OwO-body","mycpen1-categories-page-cloudCategories-","flink-mycpen1-rss-unknown-friends","scrollTo","essayReplaceAll","\n链接:","textStyle","setTime","含蓄的","率直的","page/","setAttribute","beforeend","stringify","replace","MDA6MDA=","contains","body","location","09.09","join","Snackbar","getDay","disconnect","有艺术细胞的","hide","pageYOffset","温柔的","Happy New Year!","input[name='author']","我们使用 cookie 来确保在我们的网站上为您提供最佳体验。","善于沟通的","toFixed","mycpen.cn","5412264tJfSSr","有团队精神的","lineStyle","offsetTop","pathname","disqus_thread","getMonth","慎重的","currentTarget","categories-chart","1751026XYenZz","cf-overshow",".tk-comments-container","linkPageCloseShow","appendChild","night_to_day","title",".aplayer-fixed .aplayer-icon.aplayer-icon-lrc","#article-container #mycpen1-about-page-tag-sponsor-part a","猕猴桃",'<i class="fa-solid fa-clock"></i> <span>距离</span> ',".page-number","haveValue","min","observe","真诚的","input[name='email']","getElementById","cardRefreshTimes","progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)","href","有担当的","edgeless","IMG","axisLine","comment-tips",".page .layout #category #category-page-categories","friendstatus","-01-01 00:00:00",'<span class="unit">天</span></span>',"insertAdjacentHTML","value","querySelector","px; left:","MDA6MDA6MDA=","not_lost_friends",'<span class="happyNewYear">新年快乐</span>',"#author","#consoleHideAside","bbtalk","#pBar_month","replaceChild","floor","data-link","goDown","有想象力的","getElementsByClassName","/json/link.json","#name","%c ","addEventListener","敏捷的","#newYear .title","theme","owoBigfunc","4nqDpEh","documentElement","有责任心的","#newYear .newYear-time","offsetHeight","有眼光的","11.30","inline","loadFBComment"," 00:00:00",'<span class="day">',"card-widget-schedule","有正义感的","input[name='comname']","https://hexo-circle.cpen.top/",'\n <div class="cf-overshow-close" onclick="mycpen1js.linkPageCloseShow()"></div>\n ',"select","afterbegin","有激情的","有分析能力的","offsetX","localhost:4000","体贴的","function","有个性的","abs","737628fYQDDz","好奇的","flink-mycpen1-rss-lost-friends","1NzCwTP","有逻辑思维的",'" alt="avatar" onerror="this.src=\'https://cdn.cbd.int/mycpen-blog@0.0.0-fkbybddyvr/img/flink404.svg\'; this.onerror = null;">\n <a class="" target="_blank" rel="noopener nofollow" href="',"darkmode_sidebarSwitch","08.14","toPageText","axisLabel","喜欢学习的"," MYCPEN BLOG ","from","day","setSelectionRange","createElement","display","nameTextStyle","essayReflashEssayWaterFall","querySelectorAll","darkmode_navswitch","距 1998-00-00 计时","100%","closeAboutAplayer","07.07","aside-status"," / 007","el-textarea__inner","className","#bber","有创新能力的","bind","#pBar_year","大方的","#newYear .today","#nav-totop","splice","firstChild","NzcheckLink","#cf-overshow > :not(.cf-overshow-close)","hour","独立的","push","_blank","padEnd","scrollY","有耐性的","round","data-theme","hide-aside","mycpen1-about-page-tag","click","敬业的","深刻的","changeNavPageNameTitle","loadUrl","标题:",".schedule-r2 .schedule-d1 .aside-span2","mycpen1-link-page-tag","有趣的","endsWith","耐心的","rgba(255,255,255,0.7)","#p_span_month","darkmode","优雅的","有冒险精神的","yAxis","onmouseenter","toggle","dataset","#percent","有魅力的","迷人的","page-name","created","contextmenu","article_data","noopener external nofollow noreferrer","MTA=","#article-container .flink .flink-list > .flink-list-item.失联 > a","getAttribute","innerHTML","donotreply@mycpen.cn","7360RETWUv","12.13","有专业素养的","switchPostChart","\n> ","onmouseleave","4693480GksAqT","mycpen1-tags-page-cloudTags-","金针菇","input","务实的","keyCode","#article-container .flink#mycpen1-link-page-tag-2 .flink-list>.flink-list-item a .flink-item-icon","addedNodes","mycpen1-essay-page-tag","preventDefault","background: #fadfa3; padding:5px 0;","linkPageRssAliveCheck","#pBar_day","Mycpen - Personal Blog","守信的","getNavRightPagePercent","hasAttribute","padStart","listenToPageInputPress","max","object","children","stop","善良的","series","parentNode","西兰花","includes","火龙果","文静的","#edeff5","info","setHours","\n%c",".essay_bar_swiper_container","getTime","add","removeaAlayerFixedLrc","#inpName","豁达的","干净的","linkPageLoadFcircleShow","勇敢的","day_to_night"," / ","darkmode_consoleSwitch","294AqVvqQ","lost_friends","loadData","getDate","long","深沉的","ceil","09.30","onmouseout","link","setOption","already-redirect-link","未获取到订阅内容","createEvent","statistical_data","setItem","#newYear"];return(_0x183c=function(){return e})()}function _0x2ce1(e,t){var a=_0x183c();return(_0x2ce1=function(e,t){return a[e-=297]})(e,t)}!function(e,t){for(var a=_0x2ce1,n=_0x183c();;)try{if(569787===-parseInt(a(307))/1*(parseInt(a(688))/2)+-parseInt(a(518))/3*(-parseInt(a(743))/4)+parseInt(a(605))/5+parseInt(a(304))/6+-parseInt(a(440))/7*(-parseInt(a(388))/8)+parseInt(a(570))/9*(parseInt(a(394))/10)+-parseInt(a(678))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}();var mycpen1js={changeNavPageNameTitle(){var e=_0x2ce1;document.title==e(407)?document[e(705)](e(378)).innerText=document[e(694)]:document[e(705)](e(378))[e(574)]=document[e(694)][e(535)](e(638))[0]},getNavRightPagePercent(){var e=_0x2ce1;let t=document[e(744)][e(521)]||window[e(670)],a=Math.max(document[e(661)][e(538)],document.documentElement[e(538)],document.body.offsetHeight,document[e(744)][e(747)],document[e(661)].clientHeight,document[e(744)][e(492)])-document.documentElement[e(492)],n=Math[e(351)](t/a*100),o=document[e(720)](e(375));n<=99||(n=99),o[e(386)]=n,r=window.scrollY+document.documentElement[e(492)],p=document[e(705)](e(466))||document[e(705)](e(615)),p[e(681)]+p[e(747)]/2<r||90<n?(document[e(720)](e(339))[e(525)][e(430)](e(444)),o[e(386)]=e(531)):(document[e(720)](e(339))[e(525)][e(614)](e(444)),o[e(386)]=n)},share(){var e=_0x2ce1;let t=window[e(662)][e(563)]+window.location[e(682)];new ClipboardJS(".share",{text:function(){var a=e;return a(360)+document.title+a(649)+t}}),btf.snackbarShow(e(494))},getFooterRandomFlink(){var e={saveData:(e,t)=>{var a=_0x2ce1;localStorage[a(455)](e,JSON[a(657)]({time:Date.now(),data:t}))},loadData:(e,t)=>{var a=_0x2ce1;let n=JSON[a(527)](localStorage.getItem(e));if(n){let e=Date[a(576)]()-n[a(553)];if(e<60*t*1e3&&e>-1)return n[a(592)]}return 0},randomLink:()=>{var t=_0x2ce1;let a=e[t(442)](t(471),30);if(a){let e=document[t(323)](t(503));if(!e[t(588)])return;for(let n=0;n<3;n++){let o;do{o=parseInt(Math.random()*a[t(588)])}while("失联"===a[o][t(523)]);e[n][t(574)]=a[o][t(470)],e[n][t(708)]=a[o].link,e[n][t(694)]=a[o].name,e[n][t(629)]=t(347),e[n][t(460)]=t(382),a[t(340)](o,1)}}else fetch(t(735))[t(577)]((e=>e[t(622)]()))[t(577)]((a=>{var n=t;e[n(459)](n(471),a[n(508)]),e[n(593)]()}))}};e.randomLink()},newYearCountdownCard(){(()=>{var e=_0x2ce1;if(clearTimeout(null),!document[e(720)](e(456)))return;let t=new Date((new Date)[e(498)]()+1+e(716))[e(429)]()/1e3,a={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"};!function(){var n=e;let o=new Date,c=o.getMonth()+1,s=o[n(443)]();c=c>9?c:"0"+c,s=s>9?s:"0"+s,document[n(720)](n(338))[n(386)]=o.getFullYear()+"-"+c+"-"+s+" "+a[o[n(666)]()];let r=t-Math.round(o[n(429)]()/1e3);r<0?(document[n(720)](n(740)).innerHTML=n(672),document.querySelector("#newYear .newYear-time")[n(386)]=n(724)):(document[n(720)]("#newYear .title")[n(386)]=n(698)+((new Date)[n(498)]()+1)+n(487),r>86400?document[n(720)](n(746)).innerHTML=n(753)+Math[n(446)](r/86400)+n(717):document[n(720)](n(746))[n(386)]='<span class="day">'+Math[n(446)](r/86400)+'<span class="unit">天</span></span>')}()})()},removeBodyPaceClass:function(){var e=_0x2ce1;$("body")[e(584)](),$(e(661)).addClass("pace-done")},toPage:function(){var e=_0x2ce1,t=document.querySelectorAll(e(699)),a=parseInt(t[t[e(588)]-1][e(386)]),n=document[e(705)]("toPageText"),o=parseInt(n[e(719)]);if(!isNaN(o)&&o>0&&"0"!==(""+o)[0]&&o<=a){var c,s=window.location[e(708)].replace(/\/page\/\d+\/$/,"/");c=1===o?s:s+(s[e(364)]("/")?"":"/")+e(654)+o+"/",document[e(705)](e(606)).href=c}},listenToPageInputPress(){var e=_0x2ce1,t=document[e(705)](e(312)),a=document[e(705)](e(606));t&&(t[e(738)](e(540),(t=>{var n=e;13===t[n(399)]&&(mycpen1js.toPage(),pjax[n(359)](a[n(708)]))})),t[e(738)](e(397),(function(){var n=e;""===t[n(719)]||"0"===t[n(719)]?a.classList[n(614)](n(700)):a.classList[n(430)](n(700));var o=document[n(323)](".page-number"),c=+o[o[n(588)]-1][n(386)];+document[n(705)](n(312))[n(719)]>c&&(t.value=c)})))},showConsole:function(){var e=_0x2ce1;document.querySelector("#console")[e(525)][e(430)](e(472)),mycpen1js[e(549)]()},hideConsole:function(){var e=_0x2ce1;document[e(720)](e(559)).classList[e(614)](e(472))},hideAsideBtn:()=>{var e=_0x2ce1;const t=document[e(744)][e(525)];t[e(660)](e(353))?saveToLocal[e(580)](e(329),e(472),2):saveToLocal.set(e(329),e(669),2),t[e(373)](e(353)),t[e(660)](e(353))?document.querySelector(e(726)).classList[e(430)]("on"):document.querySelector(e(726))[e(525)][e(614)]("on")},initConsoleState:function(){var e=_0x2ce1;document.documentElement[e(525)][e(660)](e(353))?document.querySelector(e(726))[e(525)][e(430)]("on"):document[e(720)](e(726))[e(525)].remove("on")},tagPageActive:function(){var e=_0x2ce1,t=window[e(662)][e(682)];if(/\/tags\/.*?\//[e(478)](t=decodeURIComponent(t))){var a=t.split("/")[2];if(document[e(720)](e(539))){$("a")[e(584)](e(759));var n=document.getElementById(e(395)+a);n&&n.classList[e(430)](e(759))}}},categoryPageActive:function(){var e=_0x2ce1,t=window[e(662)][e(682)];if(/\/categories\/.*?\//[e(478)](t=decodeURIComponent(t))){var a=t[e(535)]("/")[2];if(document[e(720)](e(714))){$("a")[e(584)](e(759));var n=document[e(705)](e(645)+a);n&&n[e(525)].add(e(759))}}},addRandomCommentInfo:function(){var e=_0x2ce1;const t=[e(560),e(569),"聪明的",e(436),"可爱的",e(632),e(417),e(613),"开朗的",e(585),e(624),e(703),e(616),e(433),e(363),"活泼的",e(369),e(739),e(671),"温暖的",e(356),"细心的",e(365),e(445),"朴素的",e(652),e(653),e(601),e(398),e(505),e(477),e(541),e(423),e(357),e(642),e(544),e(685),e(337),"顽强的",e(377),"机智的","善解人意的",e(496),e(376),e(345),e(305),e(434),e(620),e(627),e(300),e(408),e(350),e(745),e(709),"有远见的",e(639),e(748),e(370),e(628),"有同情心的",e(641),e(314),"具有批判性思维的","善于表达的",e(675),"善于合作的","善于领导的",e(761),e(486),"有思想的",e(302),e(755),e(631),"有创造力的",e(733),e(668),e(679),e(499),e(565),"有组织能力的",e(635),e(457),e(297),e(308),e(334),e(390),"有商业头脑的"],a=["萝卜","白菜","芹菜","生菜","青椒","辣椒","茄子","豆角","黄瓜",e(512),"洋葱","大蒜","土豆","南瓜","豆腐","韭菜","花菜",e(420),"蘑菇",e(396),"苹果","香蕉","橙子","柠檬",e(697),"草莓","葡萄","桃子","杏子","李子","石榴","西瓜",e(509),"蜜瓜","樱桃","蓝莓","柿子","橄榄","柚子",e(422)],n=""+t[Math.floor(Math[e(534)]()*t.length)]+a[Math[e(730)](Math[e(534)]()*a[e(588)])];!function(){for(var t=e,a=[t(725),t(756),t(432),t(673),"#ds-dialog-name",t(736),t(468),t(582)],o=[t(480),t(485),t(550),t(529),t(704),"#ds-dialog-email",t(481),t(590)],c=0;c<a[t(588)];c++){var s=document[t(720)](a[c]);if(null!=s){s[t(719)]=n,s[t(519)](new Event(t(397))),s[t(519)](new Event("change"));break}}for(var r=0;r<o[t(588)];r++){var i=document[t(720)](o[r]);if(null!=i){i[t(719)]=t(387),i.dispatchEvent(new Event("input")),i.dispatchEvent(new Event(t(618)));break}}}();var o=document[e(734)](e(331))[0];o[e(533)](),o[e(318)](-1,-1)},owoBigfunc(){var e=_0x2ce1;document[e(705)]("post-comment")&&function(){var t=e;let a=1,n="",o=document[t(319)](t(482)),c=document[t(720)]("body");o.id="owo-big",c[t(692)](o),new MutationObserver((e=>{var s=t;for(let t=0;t<e[s(588)];t++){let r=e[t][s(401)],i="";2==r[s(588)]&&r[1][s(332)]==s(644)&&(i=r[1],document.body[s(564)]<=768&&i.addEventListener(s(380),(e=>e[s(403)]())),i.onmouseover=e=>{var t=s;a&&e.target[t(551)]==t(711)&&(a=0,n=setTimeout((()=>{var a=t;let n=3*e[a(629)][a(492)],s=3*e.target.clientWidth,r=e.x-e[a(298)]-(s-e[a(629)].clientWidth)/2,i=e.y-e[a(495)];r+s>c[a(564)]&&(r-=r+s-c[a(564)]+10),r<0&&(r=10),o[a(467)][a(567)]=a(617)+n+"px; width:"+s+a(721)+r+a(599)+i+a(597),o[a(386)]=a(543)+e.target[a(623)]+'">'}),300))},i[s(448)]=()=>{var e=s;o[e(467)].display=e(581),a=1,clearTimeout(n)})}}))[t(702)](document[t(705)]("post-comment"),{subtree:!0,childList:!0})}()},removeaAlayerFixedLrc(){var e=_0x2ce1;function t(){var e=_0x2ce1;const t=document[e(720)](e(695));t&&(a[e(667)](),setTimeout((()=>{t[e(355)]()}),1))}const a=new MutationObserver(((e,a)=>{var n=_0x2ce1;for(let a of e)a[n(536)]===n(573)&&t()}));a[e(702)](document,{childList:!0,subtree:!0})},switchDarkMode(){var e=_0x2ce1;(document[e(744)][e(385)]("data-theme")===e(511)?e(511):e(612))===e(612)?(activateDarkMode(),saveToLocal.set(e(741),e(511),2),void 0!==GLOBAL_CONFIG[e(665)]&&btf[e(524)](GLOBAL_CONFIG[e(665)][e(437)])):(activateLightMode(),saveToLocal[e(580)](e(741),e(612),2),void 0!==GLOBAL_CONFIG[e(665)]&&btf[e(524)](GLOBAL_CONFIG[e(665)][e(693)])),typeof utterancesTheme===e(301)&&utterancesTheme(),typeof FB===e(414)&&window[e(751)](),window.DISQUS&&document[e(705)](e(683))[e(415)][e(588)]&&setTimeout((()=>window.disqusReset()),200)},essayUnknownPart(){},essayReplaceAll(e,t,a){var n=_0x2ce1;return e.split(t)[n(664)](a)},essayDiffDate:function(e,t=!1){var a=_0x2ce1;const n=new Date,o=new Date(e),c=n[a(429)]()-o.getTime(),s=36e5,r=864e5;let i;if(t){const e=c/r,t=c/s,n=c/6e4;i=c/2592e6>=1?o[a(483)]().replace(/\//g,"-"):e>=1?parseInt(e)+" "+GLOBAL_CONFIG[a(555)][a(317)]:t>=1?parseInt(t)+" "+GLOBAL_CONFIG[a(555)][a(344)]:n>=1?parseInt(n)+" "+GLOBAL_CONFIG.date_suffix[a(701)]:GLOBAL_CONFIG[a(555)][a(558)]}else i=parseInt(c/r);return i},essayChangeTimeInEssay:function(){var e=_0x2ce1;document[e(720)](e(333))&&document[e(323)](e(464))[e(561)]((function(t){var a=e,n=t,o=n[a(385)]("datetime");n.innerText=mycpen1js[a(504)](o,!0),n[a(467)][a(320)]=a(750)}))},essayReflashEssayWaterFall:function(){var e=_0x2ce1;document.querySelector(e(554))&&setTimeout((function(){var t=e;waterfall(t(554)),document[t(705)](t(522)).classList[t(430)](t(472))}),500)},essayCommentText:function(e){var t=_0x2ce1;var a=document[t(720)]("#post-comment")[t(681)];window[t(647)](0,a-80),e!=t(479)&&e!=t(591)||(e=t(463)),function t(){setTimeout((()=>{var a=_0x2ce1,n=document[a(734)](a(331))[0];n||t();let o=document[a(453)]("HTMLEvents");o[a(636)](a(397),!0,!0);let c=mycpen1js[a(648)](e,"\n",a(392));n[a(719)]="> "+c+"\n\n",n[a(519)](o),n[a(533)](),n[a(318)](-1,-1),document.getElementById(a(713))&&document.getElementById(a(713))[a(525)][a(430)](a(472))}),100)}()},essayInitIndexEssay:function(){setTimeout((()=>{var e=_0x2ce1;let t=new Swiper(e(428),{passiveListeners:!0,direction:e(515),loop:!0,autoplay:{disableOnInteraction:!0,delay:3e3},mousewheel:!0}),a=document[e(705)](e(727));null!==a&&(a[e(372)]=function(){var a=e;t.autoplay[a(416)]()},a[e(393)]=function(){t.autoplay.start()})}),100)},essayChangeTimeInEssayByMycpen:function(){for(var e=_0x2ce1,t=document[e(602)](e(553)),a=0;a<t[e(588)];a++){var n,o=t[a].getAttribute(e(626)),c=new Date(o),s=(new Date)[e(429)]()-c[e(429)](),r=Math[e(730)](s/864e5);0===r?n="最近":1===r?n="昨天":2===r?n="前天":r<=7?n=r+"天前":c[e(498)]()!==(new Date)[e(498)]()?(Essaymonth=c[e(684)]()+1,EssayDay=c[e(443)](),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=c[e(498)]()+"-"+Essaymonth+"-"+EssayDay):(Essaymonth=c.getMonth()+1,EssayDay=c[e(443)](),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=Essaymonth+"-"+EssayDay),t[a].textContent=n}},switchPostChart:function(){var e=_0x2ce1;let t="light"===document[e(744)][e(385)](e(352))?"#4C4948":e(366);if(document[e(705)]("posts-chart")&&postsOption)try{let a=postsOption;a[e(694)].textStyle[e(637)]=t,a[e(562)][e(321)].color=t,a[e(371)][e(321)][e(637)]=t,a[e(562)].axisLabel[e(637)]=t,a[e(371)][e(313)][e(637)]=t,a[e(562)][e(712)][e(680)][e(637)]=t,a.yAxis[e(712)][e(680)][e(637)]=t,a[e(418)][0][e(571)][e(592)][0][e(510)][e(637)]=t,postsChart[e(450)](a)}catch(t){console[e(497)](t)}if(document.getElementById(e(491))&&tagsOption)try{let a=tagsOption;a[e(694)][e(650)].color=t,a[e(562)].nameTextStyle[e(637)]=t,a[e(371)][e(321)][e(637)]=t,a.xAxis[e(313)][e(637)]=t,a.yAxis[e(313)][e(637)]=t,a[e(562)][e(712)][e(680)][e(637)]=t,a.yAxis[e(712)][e(680)][e(637)]=t,a.series[0].markLine[e(592)][0][e(510)][e(637)]=t,tagsChart[e(450)](a)}catch(t){console[e(497)](t)}if(document[e(705)](e(687))&&categoriesOption)try{let a=categoriesOption;a[e(694)][e(650)][e(637)]=t,a[e(633)][e(650)][e(637)]=t,!categoryParentFlag&&(a.series[0][e(510)].color=t),categoriesChart[e(450)](a)}catch(t){console[e(497)](t)}},cpRemind(){var e=_0x2ce1;document[e(738)]("copy",(function(t){var a=e;window[a(566)]()[a(619)]().trim()[a(588)]>0&&btf[a(524)](a(494))}))},closeAboutAplayer(){var e=_0x2ce1;if(!document[e(705)](e(354)))try{about_page_ap.pause(),about_page_ap=void 0,about_page_weekSong=void 0,about_page_now=void 0,about_page_weekSong_today=void 0}catch(e){}},grey(){var e=_0x2ce1,t=new Date,a=t[e(684)]()+1,n=t[e(443)](),o=[e(516),"05.12",e(328),e(311),e(663),"09.18",e(447),e(749),e(389)];for(var c of o){var s=c[e(535)](".");if(a==s[0]&&n==s[1]){var r=e(545);$(e(603))[e(517)]({filter:"gray !important;",filter:e(707),filter:r,"-webkit-filter":r,"-moz-filter":r,"-ms-filter":r,"-o-filter":r});break}}},console(){var e=_0x2ce1,t=new Date,a=console[e(497)];queueMicrotask((function(){var n=e;var o=new Date(""+atob(n(598))+atob(n(722))),c=new Date(atob("MTAvMjIvMTk5OCAwMA==")+":"+atob(n(659))),s=new Date(""+atob("MTAvMjIvMjA=")+atob(n(640))),r=new Date(atob(n(383))+"/"+atob("MjIvMjA1OCAwMDowMA==")+atob(n(490)));new Date("05/23/2025 00:00:00");t[n(651)](t[n(429)]()+250);o=[n(315)," "+window.location[n(563)]+" ","\n\n",n(484),Math[n(730)](Math[n(303)](t-o)/1e3/60/60/24+(t-o<0?1:0))[n(619)]()[n(348)](5," "),"天",n(325),Math[n(730)](Math[n(303)](t-c)/1e3/60/60/24+(t-c<0?1:0))[n(619)]()[n(348)](5," "),"天","距 2028-00-00 计时",Math[n(730)](Math.abs(t-s)/1e3/60/60/24+(t-s<0?1:0))[n(619)]()[n(348)](5," "),"天",n(513),Math[n(730)](Math[n(303)](t-r)/1e3/60/60/24+(t-r<0?1:0)).toString()[n(348)](5," "),"天"];setTimeout(function(){a[_0x2ce1(514)](console,arguments)}[n(335)](console,n(427)[n(506)](o[0],"%c")[n(506)](o[1],"%c")[n(506)](o[2],"%c")[n(506)](o[3],"%c ").concat(o[4],n(737))[n(506)](o[5],"\n")[n(506)](o[6],n(737))[n(506)](o[7],n(737))[n(506)](o[8],"\n")[n(506)](o[9],"%c ")[n(506)](o[10],n(737))[n(506)](o[11],"\n").concat(o[12],n(737))[n(506)](o[13],n(737))[n(506)](o[14],"\n")[n(506)]("\n"),"color: #fadfa3; background: #030307; padding:5px 0;",n(404),n(465),"","color:#030307","",n(473),"",n(473),"","color:#030307",""))}))},cardRefreshTimes(){var e=_0x2ce1;const t=(new Date)[e(498)](),a=(n=t)%4==0&&n%100!=0||n%400==0?366:365;var n,o=new Date,c=new Date((new Date)[e(498)]()+"-01-01 00:00:00"),s=document.getElementById(e(754));s&&(asideDay=(o-c)/1e3/60/60/24,s[e(720)](e(336))[e(719)]=asideDay,s[e(720)]("#pBar_year")[e(413)]=a,yearPercentage=(asideDay/a*100)[e(676)](2),displayYearPercentage=yearPercentage===e(469)?e(326):yearPercentage+"%",s[e(720)](e(507))[e(386)]=displayYearPercentage,s[e(720)](e(532))[e(386)]=(Math[e(730)](10*(a-asideDay))/10)[e(676)](1)+e(438)+a,currentDateMonth=new Date,currentDateMonth.setDate(1),currentDateMonth[e(426)](0,0,0,0),currentMonthTimestamp=currentDateMonth[e(429)](),asideMonthDay=(o-currentMonthTimestamp)/1e3/60/60/24,currentDateMonthTotal=new Date,currentMonth=currentDateMonthTotal[e(684)](),currentDateMonthTotal.setMonth(currentMonth+1,1),currentDateMonthTotal[e(607)](0),asideMonthDays=currentDateMonthTotal[e(443)](),s[e(720)]("#pBar_month")[e(719)]=asideMonthDay,s[e(720)](e(728))[e(413)]=asideMonthDays,monthPercentage=(asideMonthDay/asideMonthDays*100)[e(676)](2),displayMonthPercentage=monthPercentage===e(469)?e(326):monthPercentage+"%",s[e(720)](e(367)).innerHTML=displayMonthPercentage,s[e(720)](e(568))[e(386)]=(Math.floor(10*(asideMonthDays-asideMonthDay))/10)[e(676)](1)+e(438)+asideMonthDays[e(619)]()[e(411)](3,"0"),currentDateWeek=new Date,currentDayOfWeek=currentDateWeek[e(666)](),currentWeekTimestamp=currentDateWeek[e(426)](0,0,0,0),firstDayOfWeekTimestamp=currentWeekTimestamp-24*(0===currentDayOfWeek?6:currentDayOfWeek-1)*60*60*1e3,pastWeekTimestamp=o-firstDayOfWeekTimestamp,asideWeekDay=pastWeekTimestamp/1e3/60/60/24,s[e(720)](e(461))[e(719)]=asideWeekDay,weekPercentage=(asideWeekDay/7*100)[e(676)](2),displayWeekPercentage=weekPercentage===e(469)?e(326):weekPercentage+"%",s.querySelector(e(634))[e(386)]=displayWeekPercentage,s.querySelector(e(361))[e(386)]=(Math.floor(10*(7-asideWeekDay))/10)[e(676)](1)+e(330),currentTimeStamp=(new Date)[e(429)](),startOfDay=new Date,startOfDay[e(426)](0,0,0,0),startOfDayTimeStamp=startOfDay[e(429)](),timeDifferenceToday=currentTimeStamp-startOfDayTimeStamp,asideToday=timeDifferenceToday/1e3/60/60/24,asideTodayHour=timeDifferenceToday/36e5,s[e(720)](e(406)).value=asideTodayHour,dayPercentage=(100*asideToday)[e(676)](2),displayDayPercentage="100.00"===dayPercentage?e(326):dayPercentage+"%",s[e(720)](e(575))[e(386)]=displayDayPercentage,s.querySelector(e(557))[e(386)]=(Math[e(730)](10*(24-asideTodayHour))/10)[e(676)](1)+e(462),month=o[e(684)]()+1,day=o[e(443)](),month=month>9?month:"0"+month,day=day>9?day:"0"+day,week={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"},document.querySelector("#aside-content .card-widget#card-widget-schedule .item-content .schedule-today")[e(386)]=o[e(498)]()+"-"+month+"-"+day+" "+week[o[e(666)]()])},PressEscapeKey(e){var t=_0x2ce1;27===e[t(399)]&&(document[t(705)]("console")&&mycpen1js[t(586)](),document[t(705)](t(500))&&document[t(705)](t(689))&&(document.querySelector(t(579))||document[t(720)](t(611)))&&(document.getElementById(t(595))&&closeShow(),document[t(705)]("mycpen1-link-page-tag")&&mycpen1js[t(691)]()))},linkPageOpenMeShow(e){var t=_0x2ce1,a={apipublicurl:t(757)},n="ok",o=t(600),c=document[t(705)](t(362));c&&(document.getElementById(t(500))||c[t(718)]("afterend",o)),e[t(403)]();var s,r=e[t(686)].dataset[t(449)][t(658)](/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/,t(587));s=a[t(489)]+"post?link="+r,"ok"==n&&(n="no",mycpen1js[t(552)](s))},linkPageOpenMeShowV2(e){var t=_0x2ce1,a="ok",n=t(600),o=document[t(705)](t(362));o&&(document[t(705)]("cf-overlay")||o[t(718)](t(493),n)),e[t(403)]();var c,s=encodeURIComponent(e.currentTarget[t(374)][t(470)]);c={apipublicurl:"https://hexo-circle.cpen.top/"}[t(489)]+"postv2?name="+s,"ok"==a&&(a="no",mycpen1js[t(552)](c))},linkPageCloseShow(){var e=_0x2ce1;document.getElementById(e(500))[e(332)]-=e(476),document[e(705)](e(689))[e(332)]-=e(476),setTimeout((function(){var t=e,a=document[t(323)](t(343)),n=document[t(323)](t(583));a[t(561)]((function(e){e[t(614)]()}));for(var o=1;o<n[t(588)];o++)n[o][t(614)]()}),100)},linkPageFetchShow(_0x19413d){var _0x19a9fb=_0x2ce1,_0x5637cb=_0x19a9fb(758);fetch(_0x19413d).then((e=>e[_0x19a9fb(622)]())).then((_0x104541=>{var _0xfbdd3b=_0x19a9fb;noClick="ok";var _0x5a88d3=_0x104541[_0xfbdd3b(454)],_0x490318=eval(_0x104541[_0xfbdd3b(381)]);0!==_0x5a88d3[_0xfbdd3b(608)]?(mycpen1js[_0xfbdd3b(435)](_0x5a88d3,_0x490318),document.getElementById(_0xfbdd3b(500))[_0xfbdd3b(332)]=_0xfbdd3b(476),document[_0xfbdd3b(705)](_0xfbdd3b(689))[_0xfbdd3b(718)](_0xfbdd3b(760),_0x5637cb)):btf[_0xfbdd3b(524)](_0xfbdd3b(452))}))[_0x19a9fb(488)]((e=>{btf[_0x19a9fb(524)]("未获取到文章卡片")}))},linkPageLoadFcircleShow(e,t){for(var a=_0x2ce1,n='\n <div class="cf-overshow">\n <div class="cf-overshow-head">\n <img class="cf-img-avatar avatar" src="'+e[a(589)]+a(309)+e[a(449)]+'">'+e.name+a(556),o=0;o<e[a(608)];o++){var c=t[o];let e="";Date[a(576)]()-new Date(c.created+a(752))[a(429)]()<=1728e5&&(e=a(548)),n+='\n <p><a class="cf-article-title" href="'+c.link+a(630)+c[a(694)]+'">'+c[a(694)]+"</a><span "+e+">"+c[a(379)]+"</span></p>\n "}n+=a(526),document[a(705)](a(689))[a(718)](a(656),n),document[a(705)](a(689))[a(332)]=a(476)},linkPageRssAliveCheck(){var e=_0x2ce1;apiurl=e(757),rssAliveCheckUrl=apiurl+e(715),fetch(rssAliveCheckUrl).then((t=>t[e(622)]())).then((t=>{var a=e,n=t[a(441)],o=t[a(723)],c=t[a(547)];let s=[];for(const e in n){let t=n[e];t=t[a(658)](/^https?:\/\//,""),t=t[a(658)](/\/$/,""),s[a(346)](t)}let r=[];for(const e in o){let t=o[e];t=t.replace(/^https?:\/\//,""),t=t[a(658)](/\/$/,""),r[a(346)](t)}document[a(323)](a(400))[a(561)]((e=>{var t=a;if(e){let a=e[t(385)](t(731)).replace(/^https?:\/\//,"");a=a.replace(/\/$/,""),c>0?r[t(421)](a)?e[t(525)].add(t(625)):s[t(421)](a)?e[t(525)][t(430)](t(306)):e.classList.add(t(646)):0===c&&e.classList[t(430)](t(306))}}))}))},NzcheckLink:async e=>{var t=_0x2ce1;const a=document[t(323)](e);if(a){let e=new RegExp(/^[#].*/);for(let c=0;c<a[t(588)];c++){const s=a[c];var n=s[t(410)]("data-fancybox"),o=s[t(525)].contains(t(451));if(!n&&!o){let a=s[t(385)]("href"),n=s[t(385)]("data-download"),o=s[t(385)](t(460));e[t(478)](a)||"prev"===o||"next"===o||o===t(610)||o===t(523)||"javascript:void(0);"===a||(await mycpen1js.NzcheckLocalSite(a)||n?!await mycpen1js[t(572)](a)&&n===t(732)&&s.setAttribute(t(708),"/redirect.html?url="+btoa(a)+t(474)):s[t(655)](t(708),t(609)+btoa(a)))}s[t(525)][t(430)]("already-redirect-link")}}},NzcheckLocalSite:async e=>{var t=_0x2ce1;try{const a=[t(299),t(501),t(677)];let n=!1;for(let o=0;o<a[t(588)];o++){const t=a[o];if(e.includes(t)){n=!0;break}}return n}catch(e){return!0}},cookieConsent(){var e=_0x2ce1;window.addEventListener(e(475),(()=>{var t=e;window[t(604)][t(542)]({type:t(425),theme:t(710),static:!1,position:"bottom-right",content:{message:t(674),dismiss:"接受",allow:"接受",deny:"拒绝",link:!1},palette:{popup:{background:t(424),text:"#838391"},button:{background:t(502)}}})}))}};function whenDOMReadyMycpen1JS(){var e=_0x12584f;mycpen1js[e(358)](),mycpen1js[e(520)](),mycpen1js[e(546)](),mycpen1js.tagPageActive(),mycpen1js.categoryPageActive(),mycpen1js[e(412)](),mycpen1js[e(742)](),document[e(705)](e(402))&&(mycpen1js[e(578)](),mycpen1js[e(322)](),window.onresize=()=>{var t=e;document[t(705)](t(402))&&(mycpen1js[t(322)](),setTimeout((()=>{mycpen1js[t(322)]()}),300))}),document[e(705)](e(368))[e(738)](e(355),(function(){setTimeout(mycpen1js[e(391)],100)})),document.getElementById(e(324))[e(738)](e(355),(function(){setTimeout(mycpen1js[e(391)],100)})),document.getElementById(e(439))[e(738)](e(355),(function(){setTimeout(mycpen1js[e(391)],100)})),document[e(705)](e(310))[e(738)]("click",(function(){setTimeout(mycpen1js[e(391)],100)})),mycpen1js.cpRemind(),mycpen1js[e(327)](),document[e(705)](e(754))&&(mycpen1js[e(706)](),setInterval((()=>{mycpen1js[e(706)]()}),1e3)),document[e(705)]("mycpen1-link-page-tag-2")&&mycpen1js[e(405)](),document[e(705)](e(362))&&(mycpen1js.NzcheckLink("#article-container .flink .flink-list > .flink-list-item.单向 > a"),mycpen1js[e(342)](e(384))),document[e(705)](e(354))&&mycpen1js.NzcheckLink(e(696)),document[e(705)]("post-comment")&&setInterval((()=>{var t=e;if(document[t(720)](t(690))){mycpen1js[t(342)](".tk-comments-container a:not(.already-redirect-link)");document[t(323)](t(594))[t(561)]((e=>{var a=t;e.classList[a(430)]("already-clear-clickEvent");const n=document.createElement("a");for(Array[a(316)](e[a(621)]).forEach((e=>{n[a(655)](e.name,e.value)}));e[a(341)];)n[a(692)](e[a(341)]);e[a(419)][a(729)](n,e);const o=n.nextElementSibling[a(458)].firstElementChild[a(458)][a(385)]("href");n[a(655)](a(708),o),n[a(655)]("target","_blank"),n.setAttribute(a(460),a(382))}))}}),1e3)}mycpen1js[_0x12584f(596)](),document[_0x12584f(530)](_0x12584f(540),mycpen1js[_0x12584f(537)]),document.addEventListener("keydown",mycpen1js[_0x12584f(537)]),window[_0x12584f(528)]=mycpen1js[_0x12584f(409)],mycpen1js[_0x12584f(431)](),whenDOMReadyMycpen1JS(),document[_0x12584f(738)](_0x12584f(643),whenDOMReadyMycpen1JS);
|