mycpen-blog 0.0.0-ezavcdbmvp → 0.0.0-ezbjaddihi
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 +25 -26
- package/baidu_urls.txt +2 -2
- package/baidusitemap.xml +4 -0
- 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/json/tianli_gpt.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 +90 -65
- package/sitemap.xml +98 -89
- 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
|
-
function _0x5910(){var e=["toPage","parse","value","goDown","顽强的","scrollTo","100%","snackbarShow","toFixed","article_data","setDate","#ds-dialog-email","有创新能力的","\n%c","toPageButton",".page .layout #category #category-page-categories","文静的","observe","西兰花","聪明的","MDA6MDA=","有耐性的","name","4IdBcsc","12FRfLYn","replaceChild","px; top:","log","耐心的","bbtalk","insertAdjacentHTML","createElement","push","remove","有爱心的","none","善于领导的","#article-container .flink .flink-list > .flink-list-item.单向 > a","_blank","round","lost_friends","温柔的","MDgvMjgvMjAyMiA=","敏捷的","focus",'" target="_blank" rel="noopener nofollow" data-title="',"catch",".schedule-r1 .schedule-d1 .aside-span2","mycpen1-fcircle-page-tag","clientWidth","/redirect.html?url=","喜欢学习的","bottom-right","#4b81e8","有个性的","theme","有团队精神的","温暖的","onmouseleave","disqus_thread","display:flex; height:","豁达的","美丽的","setMonth","有执行能力的","HTMLEvents","可靠的","copy","onresize","toPageText","data","click","getDate","select","善良的","removeEventListener","axisLabel","cpen.top","waterfall","有协调能力的","敬业的","show","page-name","contains","date_suffix","html","05/23/2025 00:00:00","input[name='commail']","aside-status","flink-mycpen1-rss-lost-friends","尊重他人的","px; left:","created","890935QFAmBl","add","#pBar_month","offsetX","contextmenu","cpRemind","apply","length","#4C4948","12.13","afterend","cf-overshow","</div></div>","深沉的","querySelector","#newYear","有责任感的","hideConsole","NzcheckLink","abs","07.07","11.30","#newYear .title","src","活泼的"," / 024","onscroll","darkmode_navswitch","scrollHeight",'\n <p><a class="cf-article-title" href="',"%c ","\n> ","getSelection","createEvent","#mail","markLine","floor","disconnect","forEach","#article-container .flink .flink-list > .flink-list-item.失联 > a","card-widget-schedule","now","#p_span_day","preventDefault","disqusReset",".schedule-r0 .schedule-d1 .aside-span2","#waterfall","具有批判性思维的","padEnd","from","getFooterRandomFlink","already-clear-clickEvent","stringify","OjAw","327334EHmDRV","long","split","concat","有专业素养的","100.00","background: #fadfa3; padding:5px 0;","setAttribute","data-fancybox","有思想的","vertical","#author","#article-container #mycpen1-about-page-tag-sponsor-part a","input[name='email']","getElementsByClassName","Mycpen - Personal Blog"," <span>年</span>","cardRefreshTimes","linkPageRssAliveCheck","padStart","keyCode","IMG","dispatchEvent","纯真的","善于表达的","color:#030307","avatar","未获取到订阅内容",".tk-comments-container","金针菇","console","href","setHours","#p_span_week","next","toggle","load","慷慨的","then","function","9372yuuxei","tags-chart","有逻辑思维的","autoplay","mycpen1-tags-page-cloudTags-","div","article_num","display","tag","#console","series","cssText",".cf-overshow-close","dataset",".essay_bar_swiper_container","just","innerHTML","222267TCRPtn","复制成功","day","changeNavPageNameTitle","prev","link","apipublicurl","target","getFullYear","156AxYYwM","getTime","306952wXOlou"," / 007","pageYOffset","#comment_author","afterbegin","447890TjjwEQ","post-comment","自信的","essayReflashEssayWaterFall","set","switchPostChart","#pBar_week","children",'<span class="day">',"textStyle","offsetHeight","documentElement","幽默的","randomLink","Happy New Year!","getElementsByTagName","率直的","MDA6MDA6MDA=","09.18","time","categories-chart",'\n <div id="cf-overlay" class="cf-new-add" onclick="mycpen1js.linkPageCloseShow()"></div>\n <div id="cf-overshow" class="cf-new-add"></div>\n ',"essayChangeTimeInEssayByMycpen","OwO-body","#838391","NzcheckLocalSite","09.30","Snackbar","test","getAttribute","cf-show-now","color","darkmode_sidebarSwitch","谦虚的","flink-mycpen1-rss-unknown-friends","innerText","firstElementChild","返回顶部","null","#nav-totop","post?link=","firstChild","mycpen.cn","flink-mycpen1-rss-not-lost-friends","removeClass","data-download","&type=goDown","el-textarea__inner","removeBodyPaceClass","#comment_email","location","input","toString","05.12",".schedule-r3 .schedule-d1 .aside-span2","saveData","color:#fadfa3","onmouseenter","有智慧的","大方的","onmouseout","getElementById","#edeff5","currentTarget","comment-tips","开朗的","legend","random","className","join","朴素的","有艺术细胞的","</span></p>\n ","xAxis","#consoleHideAside","darkmode","#email","title","火龙果","rgba(255,255,255,0.7)","origin","onmouseover","朝气蓬勃的","04.04","MjIvMjA1OCAwMDowMA==","classList","务实的","hasAttribute","progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)","object","西红柿","color: #fadfa3; background: #030307; padding:5px 0;","#bber time","有担当的","有同情心的","textContent","json","total_friend_num","守信的","未获取到文章卡片","距 2028-00-00 计时","getItem","listenToPageInputPress","深刻的","footer","hide","hide-aside","getMonth","loadFBComment","27IkpZmg","有远见的","6xcYDJM","距 2058-00-00 计时"," MYCPEN BLOG ","grayscale(100%)","beforeend","setSelectionRange","friendstatus","javascript:void(0);","style","距 1998-00-00 计时","#article-container .flink#mycpen1-link-page-tag-2 .flink-list>.flink-list-item a .flink-item-icon","toLocaleDateString","lineStyle","input[name='mail']","干净的","trim","label","真诚的","keydown","removeaAlayerFixedLrc","haveValue","#post-comment",".aplayer-fixed .aplayer-icon.aplayer-icon-lrc",".cf-overshow","123915eEERJr","links","稳重的",'<span class="happyNewYear">新年快乐</span>',"有激情的","axisLine","有商业头脑的","donotreply@mycpen.cn","有趣的","css","好棒!","有幽默感的","includes","replace","datetime","data-theme","px; width:","querySelectorAll","linkPageLoadFcircleShow","</a><span ","MjggMDA6MDA6MDA=","PressEscapeKey","essayReplaceAll","parentNode","有分析能力的","MTAvMjIvMjA=",".page-number","#p_span_month","endsWith","min","#aside-content .card-widget#card-widget-schedule .item-content .schedule-today",".page .layout #tag #tag-page-tags","-01-01 00:00:00","owo-big","rel","setTime","cf-overlay","addEventListener","喜欢思考的","有魅力的","nameTextStyle","我们使用 cookie 来确保在我们的网站上为您提供最佳体验。","#bber","https://www.cpen.top:8002/","not_lost_friends","距 2025-05-23 计时","有眼光的","ceil","input[name='author']","09.09","already-redirect-link",'\n <div class="cf-overshow-close" onclick="mycpen1js.linkPageCloseShow()"></div>\n ',"max","link_list","mycpen1-essay-page-tag","scrollTop","慎重的","light",'<img src="',"info","body","nextElementSibling","page/","mycpen1-link-page-tag","距 2022-08-28 上线","setOption",'" alt="avatar" onerror="this.src=\'https://cdn.cbd.int/mycpen-blog@0.0.0-ezavcdbmvp/img/flink404.svg\'; this.onerror = null;">\n <a class="" target="_blank" rel="noopener nofollow" href="',"appendChild","#inpEmail","tagPageActive","undefined","$1:$2$3","#newYear .newYear-time","有责任心的","机智的","offsetTop","yAxis","/json/link.json","linkPageFetchShow","DISQUS","statistical_data","可爱的","坚强的","\n链接:","#newYear .today","有决策能力的","getDay","勇敢的","clientHeight","dark","start"];return(_0x5910=function(){return e})()}var _0x4bcb3e=_0xffe2;function _0xffe2(e,t){var a=_0x5910();return(_0xffe2=function(e,t){return a[e-=182]})(e,t)}!function(e,t){for(var a=_0xffe2,n=_0x5910();;)try{if(154523===-parseInt(a(553))/1+-parseInt(a(251))/2*(-parseInt(a(570))/3)+parseInt(a(389))/4*(-parseInt(a(459))/5)+parseInt(a(390))/6*(parseInt(a(513))/7)+parseInt(a(581))/8+parseInt(a(249))/9*(parseInt(a(586))/10)+-parseInt(a(275))/11*(parseInt(a(579))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}();var mycpen1js={changeNavPageNameTitle(){var e=_0xffe2;document.title==e(528)?document[e(201)]("page-name")[e(621)]=document.title:document[e(201)](e(448))[e(621)]=document[e(217)].split(" | Mycpen")[0]},getNavRightPagePercent(){var e=_0xffe2;let t=document[e(597)].scrollTop||window[e(583)],a=Math[e(327)](document[e(335)][e(487)],document[e(597)][e(487)],document[e(335)][e(596)],document[e(597)][e(596)],document[e(335)].clientHeight,document[e(597)][e(363)])-document[e(597)].clientHeight,n=Math[e(405)](t/a*100),o=document[e(473)]("#percent");n<=99||(n=99),o.innerHTML=n,r=window.scrollY+document[e(597)][e(363)],p=document[e(201)](e(587))||document[e(201)](e(244)),p[e(350)]+p[e(596)]/2<r||90<n?(document[e(473)]("#nav-totop")[e(225)].add(e(514)),o[e(569)]=e(623)):(document[e(473)](e(625)).classList[e(399)](e(514)),o.innerHTML=n)},share(){var e=_0xffe2;let t=window[e(190)][e(220)]+window[e(190)].pathname;new ClipboardJS(".share",{text:function(){var a=e;return"标题:"+document[a(217)]+a(358)+t}}),btf.snackbarShow(e(571))},getFooterRandomFlink(){var e={saveData:(e,t)=>{var a=_0xffe2;localStorage.setItem(e,JSON[a(511)]({time:Date[a(500)](),data:t}))},loadData:(e,t)=>{var a=_0xffe2;let n=JSON[a(367)](localStorage[a(241)](e));if(n){let e=Date[a(500)]()-n[a(605)];if(e<60*t*1e3&&e>-1)return n.data}return 0},randomLink:()=>{var t=_0xffe2;let a=e.loadData(t(276),30);if(a){let e=document.querySelectorAll("#friend-links-in-footer .footer-item");if(!e[t(466)])return;for(let n=0;n<3;n++){let o;do{o=parseInt(Math[t(207)]()*a[t(466)])}while("失联"===a[o][t(561)]);e[n].innerText=a[o][t(388)],e[n].href=a[o][t(575)],e[n][t(217)]=a[o][t(388)],e[n][t(577)]=t(404),e[n][t(309)]="noopener external nofollow noreferrer",a.splice(o,1)}}else fetch(t(352))[t(551)]((e=>e[t(236)]())).then((a=>{var n=t;e[n(195)](n(276),a[n(328)]),e[n(599)]()}))}};e[_0xffe2(599)]()},newYearCountdownCard(){(()=>{var e=_0xffe2;if(clearTimeout(null),!document[e(473)](e(474)))return;let t=new Date((new Date)[e(578)]()+1+e(307))[e(580)]()/1e3,a={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"};!function(){var n=e;let o=new Date,c=o.getMonth()+1,s=o[n(438)]();c=c>9?c:"0"+c,s=s>9?s:"0"+s,document[n(473)](n(359))[n(569)]=o.getFullYear()+"-"+c+"-"+s+" "+a[o[n(361)]()];let r=t-Math[n(405)](o.getTime()/1e3);r<0?(document[n(473)]("#newYear .title")[n(569)]=n(600),document[n(473)](n(347))[n(569)]=n(278)):(document[n(473)](n(481)).innerHTML='<i class="fa-solid fa-clock"></i> <span>距离</span> '+((new Date)[n(578)]()+1)+n(529),document[n(473)](n(347))[n(569)]=r>86400?n(594)+Math.ceil(r/86400)+'<span class="unit">天</span></span>':n(594)+Math[n(322)](r/86400)+'<span class="unit">天</span></span>')}()})()},removeBodyPaceClass:function(){var e=_0xffe2;$(e(335)).removeClass(),$(e(335)).addClass("pace-done")},toPage:function(){var e=_0xffe2,t=document[e(292)](e(301)),a=parseInt(t[t[e(466)]-1][e(569)]),n=document[e(201)](e(435)),o=parseInt(n[e(368)]);if(!isNaN(o)&&o>0&&"0"!==(""+o)[0]&&o<=a){var c,s=window[e(190)][e(544)][e(288)](/\/page\/\d+\/$/,"/");c=1===o?s:s+(s[e(303)]("/")?"":"/")+e(337)+o+"/",document[e(201)](e(380)).href=c}},listenToPageInputPress(){var e=_0xffe2,t=document.getElementById("toPageText"),a=document[e(201)]("toPageButton");t&&(t[e(312)](e(269),(t=>{var n=e;13===t[n(533)]&&(mycpen1js[n(366)](),pjax.loadUrl(a[n(544)]))})),t[e(312)](e(191),(function(){var n=e;""===t[n(368)]||"0"===t[n(368)]?a[n(225)][n(399)](n(271)):a[n(225)][n(460)](n(271));var o=document[n(292)](n(301)),c=+o[o[n(466)]-1][n(569)];+document[n(201)](n(435))[n(368)]>c&&(t[n(368)]=c)})))},showConsole:function(){var e=_0xffe2;document[e(473)](e(562)).classList[e(460)](e(447)),mycpen1js.initConsoleState()},hideConsole:function(){var e=_0xffe2;document[e(473)](e(562))[e(225)][e(399)](e(447))},hideAsideBtn:()=>{var e=_0xffe2;const t=document[e(597)][e(225)];t[e(449)](e(246))?saveToLocal.set(e(454),e(447),2):saveToLocal[e(590)](e(454),e(245),2),t[e(548)](e(246)),t[e(449)](e(246))?document[e(473)](e(214))[e(225)].add("on"):document[e(473)](e(214)).classList[e(399)]("on")},initConsoleState:function(){var e=_0xffe2;document.documentElement.classList[e(449)](e(246))?document[e(473)](e(214))[e(225)].add("on"):document.querySelector(e(214))[e(225)][e(399)]("on")},tagPageActive:function(){var e=_0xffe2,t=window.location.pathname;if(/\/tags\/.*?\//[e(614)](t=decodeURIComponent(t))){var a=t[e(515)]("/")[2];if(document.querySelector(e(306))){$("a")[e(184)]("select");var n=document.getElementById(e(557)+a);n&&n[e(225)].add(e(439))}}},categoryPageActive:function(){var e=_0xffe2,t=window.location.pathname;if(/\/categories\/.*?\//.test(t=decodeURIComponent(t))){var a=t[e(515)]("/")[2];if(document[e(473)](e(381))){$("a")[e(184)]("select");var n=document[e(201)]("mycpen1-categories-page-cloudCategories-"+a);n&&n[e(225)].add(e(439))}}},addRandomCommentInfo:function(){var e=_0xffe2;const t=[e(428),"英俊的",e(385),e(362),e(356),e(550),e(440),e(432),e(205),"成熟的",e(277),e(268),e(598),e(427),e(283),e(483),"优雅的",e(409),e(407),e(423),e(446),"细心的",e(394),e(472),e(210),"含蓄的",e(602),"开放的",e(226),e(357),e(588),e(619),e(382),e(243),e(536),e(222),e(331),e(199),e(370),"迷人的",e(349),"善解人意的","富有想象力的",e(314),"独立的","好奇的",e(265),"宽容的",e(456),"体贴的",e(238),e(387),e(348),e(233),e(250),e(198),e(321),"有冒险精神的",e(400),e(234),e(313),e(417),e(506),e(537),"善于沟通的","善于合作的",e(402),e(279),e(286),e(522),e(420),"有正义感的",e(475),"有创造力的","有想象力的",e(211),e(422),e(445),e(360),"有组织能力的","有学习能力的",e(430),e(299),e(555),e(378),e(517),e(281)],a=["萝卜","白菜","芹菜","生菜","青椒","辣椒","茄子","豆角","黄瓜",e(230),"洋葱","大蒜","土豆","南瓜","豆腐","韭菜","花菜",e(384),"蘑菇",e(542),"苹果","香蕉","橙子","柠檬","猕猴桃","草莓","葡萄","桃子","杏子","李子","石榴","西瓜","哈密瓜","蜜瓜","樱桃","蓝莓","柿子","橄榄","柚子",e(218)],n=""+t[Math.floor(Math[e(207)]()*t[e(466)])]+a[Math[e(495)](Math.random()*a[e(466)])];!function(){for(var t=e,a=[t(524),"input[name='comname']","#inpName",t(323),"#ds-dialog-name","#name","input[name='nick']",t(584)],o=[t(493),t(216),t(453),t(343),t(526),t(377),t(264),t(189)],c=0;c<a[t(466)];c++){var s=document[t(473)](a[c]);if(null!=s){s[t(368)]=n,s[t(535)](new Event(t(191))),s[t(535)](new Event("change"));break}}for(var r=0;r<o[t(466)];r++){var i=document[t(473)](o[r]);if(null!=i){i.value=t(282),i[t(535)](new Event(t(191))),i.dispatchEvent(new Event("change"));break}}}();var o=document[e(527)](e(187))[0];o[e(410)](),o[e(256)](-1,-1)},owoBigfunc(){var e=_0xffe2;document[e(201)](e(587))&&function(){var t=e;let a=1,n="",o=document[t(397)](t(558)),c=document[t(473)]("body");o.id=t(308),c[t(342)](o),new MutationObserver((e=>{var s=t;for(let t=0;t<e[s(466)];t++){let r=e[t].addedNodes,i="";2==r[s(466)]&&r[1].className==s(609)&&(i=r[1],document[s(335)][s(415)]<=768&&i[s(312)](s(463),(e=>e[s(502)]())),i[s(221)]=e=>{var t=s;a&&e[t(577)].tagName==t(534)&&(a=0,n=setTimeout((()=>{var a=t;let n=3*e[a(577)][a(363)],s=3*e.target.clientWidth,r=e.x-e[a(462)]-(s-e.target[a(415)])/2,i=e.y-e.offsetY;r+s>c.clientWidth&&(r-=r+s-c[a(415)]+10),r<0&&(r=10),o[a(259)][a(564)]=a(426)+n+a(291)+s+a(457)+r+a(392)+i+"px;",o[a(569)]=a(333)+e.target[a(482)]+'">'}),300))},i[s(200)]=()=>{var e=s;o[e(259)][e(560)]=e(401),a=1,clearTimeout(n)})}}))[t(383)](document.getElementById("post-comment"),{subtree:!0,childList:!0})}()},removeaAlayerFixedLrc(){var e=_0xffe2;function t(){var e=_0xffe2;const t=document[e(473)](e(273));t&&(a[e(496)](),setTimeout((()=>{t[e(437)]()}),1))}const a=new MutationObserver(((e,a)=>{for(let a of e)"childList"===a.type&&t()}));a[e(383)](document,{childList:!0,subtree:!0})},switchDarkMode(){var e=_0xffe2;"light"===(document[e(597)][e(615)](e(290))===e(364)?e(364):e(332))?(activateDarkMode(),saveToLocal[e(590)](e(421),e(364),2),void 0!==GLOBAL_CONFIG[e(613)]&&btf[e(373)](GLOBAL_CONFIG.Snackbar.day_to_night)):(activateLightMode(),saveToLocal.set(e(421),e(332),2),void 0!==GLOBAL_CONFIG[e(613)]&&btf[e(373)](GLOBAL_CONFIG[e(613)].night_to_day)),typeof utterancesTheme===e(552)&&utterancesTheme(),typeof FB===e(229)&&window[e(248)](),window[e(354)]&&document[e(201)](e(425))[e(593)][e(466)]&&setTimeout((()=>window[e(503)]()),200)},essayUnknownPart(){},essayReplaceAll(e,t,a){var n=_0xffe2;return e.split(t)[n(209)](a)},essayDiffDate:function(e,t=!1){var a=_0xffe2;const n=new Date,o=new Date(e),c=n[a(580)]()-o[a(580)](),s=36e5,r=864e5;let i;if(t){const e=c/r,t=c/s,n=c/6e4;i=c/2592e6>=1?o[a(262)]()[a(288)](/\//g,"-"):e>=1?parseInt(e)+" "+GLOBAL_CONFIG[a(450)][a(572)]:t>=1?parseInt(t)+" "+GLOBAL_CONFIG[a(450)].hour:n>=1?parseInt(n)+" "+GLOBAL_CONFIG[a(450)][a(304)]:GLOBAL_CONFIG.date_suffix[a(568)]}else i=parseInt(c/r);return i},essayChangeTimeInEssay:function(){var e=_0xffe2;document[e(473)](e(317))&&document[e(292)](e(232)).forEach((function(t){var a=e,n=t,o=n.getAttribute(a(289));n[a(621)]=mycpen1js.essayDiffDate(o,!0),n[a(259)][a(560)]="inline"}))},essayReflashEssayWaterFall:function(){var e=_0xffe2;document[e(473)](e(505))&&setTimeout((function(){var t=e;waterfall(t(505)),document.getElementById(t(444))[t(225)][t(460)](t(447))}),500)},essayCommentText:function(e){var t=_0xffe2;var a=document[t(473)](t(272))[t(350)];window[t(371)](0,a-80),e!=t(345)&&e!=t(624)||(e=t(285)),function t(){setTimeout((()=>{var a=_0xffe2,n=document[a(527)](a(187))[0];n||t();let o=document[a(492)](a(431));o.initEvent(a(191),!0,!0);let c=mycpen1js[a(297)](e,"\n",a(490));n.value="> "+c+"\n\n",n.dispatchEvent(o),n[a(410)](),n[a(256)](-1,-1),document[a(201)]("comment-tips")&&document[a(201)](a(204)).classList[a(460)](a(447))}),100)}()},essayInitIndexEssay:function(){setTimeout((()=>{var e=_0xffe2;let t=new Swiper(e(567),{passiveListeners:!0,direction:e(523),loop:!0,autoplay:{disableOnInteraction:!0,delay:3e3},mousewheel:!0}),a=document[e(201)](e(395));null!==a&&(a[e(197)]=function(){t[e(556)].stop()},a[e(424)]=function(){var a=e;t[a(556)][a(365)]()})}),100)},essayChangeTimeInEssayByMycpen:function(){for(var e=_0xffe2,t=document[e(601)]("time"),a=0;a<t[e(466)];a++){var n,o=t[a][e(615)](e(289)),c=new Date(o),s=(new Date).getTime()-c[e(580)](),r=Math[e(495)](s/864e5);0===r?n="最近":1===r?n="昨天":2===r?n="前天":r<=7?n=r+"天前":c[e(578)]()!==(new Date)[e(578)]()?(Essaymonth=c[e(247)]()+1,EssayDay=c[e(438)](),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=c[e(578)]()+"-"+Essaymonth+"-"+EssayDay):(Essaymonth=c[e(247)]()+1,EssayDay=c[e(438)](),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=Essaymonth+"-"+EssayDay),t[a][e(235)]=n}},switchPostChart:function(){var e=_0xffe2;let t=document[e(597)][e(615)](e(290))===e(332)?e(467):e(219);if(document[e(201)]("posts-chart")&&postsOption)try{let a=postsOption;a.title[e(595)][e(617)]=t,a[e(213)][e(315)][e(617)]=t,a[e(351)][e(315)][e(617)]=t,a.xAxis.axisLabel[e(617)]=t,a[e(351)][e(442)][e(617)]=t,a[e(213)][e(280)][e(263)].color=t,a[e(351)][e(280)].lineStyle[e(617)]=t,a.series[0][e(494)][e(436)][0][e(267)][e(617)]=t,postsChart[e(340)](a)}catch(t){console[e(393)](t)}if(document.getElementById(e(554))&&tagsOption)try{let a=tagsOption;a[e(217)][e(595)].color=t,a[e(213)][e(315)][e(617)]=t,a[e(351)][e(315)].color=t,a[e(213)][e(442)][e(617)]=t,a[e(351)].axisLabel[e(617)]=t,a[e(213)][e(280)].lineStyle[e(617)]=t,a[e(351)].axisLine[e(263)][e(617)]=t,a[e(563)][0].markLine[e(436)][0].label[e(617)]=t,tagsChart[e(340)](a)}catch(t){console[e(393)](t)}if(document.getElementById(e(606))&&categoriesOption)try{let a=categoriesOption;a[e(217)][e(595)][e(617)]=t,a[e(206)].textStyle[e(617)]=t,!categoryParentFlag&&(a.series[0][e(267)][e(617)]=t),categoriesChart[e(340)](a)}catch(e){console.log(e)}},cpRemind(){var e=_0xffe2;document.addEventListener(e(433),(function(t){var a=e;window[a(491)]()[a(192)]()[a(266)]()[a(466)]>0&&btf[a(373)](a(571))}))},closeAboutAplayer(){if(!document[_0xffe2(201)]("mycpen1-about-page-tag"))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=_0xffe2,t=new Date,a=t[e(247)]()+1,n=t[e(438)](),o=[e(223),e(193),e(479),"08.14",e(324),e(604),e(612),e(480),e(468)];for(var c of o){var s=c[e(515)](".");if(a==s[0]&&n==s[1]){var r=e(254);$(e(451))[e(284)]({filter:"gray !important;",filter:e(228),filter:r,"-webkit-filter":r,"-moz-filter":r,"-ms-filter":r,"-o-filter":r});break}}},console(){var e=_0xffe2,t=new Date,a=console[e(393)];queueMicrotask((function(){var n=e;var o=new Date(""+atob(n(408))+atob(n(603))),c=new Date(atob("MTAvMjIvMTk5OCAwMA==")+":"+atob(n(386))),s=new Date(""+atob(n(300))+atob(n(295))),r=new Date(atob("MTA=")+"/"+atob(n(224))+atob(n(512))),i=new Date(n(452));t[n(310)](t.getTime()+250);o=[n(253)," "+window[n(190)][n(220)]+" ","\n\n",n(339),Math[n(495)](Math[n(478)](t-o)/1e3/60/60/24+(t-o<0?1:0))[n(192)]()[n(507)](5," "),"天",n(260),Math[n(495)](Math.abs(t-c)/1e3/60/60/24+(t-c<0?1:0))[n(192)]()[n(507)](5," "),"天",n(240),Math[n(495)](Math[n(478)](t-s)/1e3/60/60/24+(t-s<0?1:0))[n(192)]()[n(507)](5," "),"天",n(252),Math[n(495)](Math[n(478)](t-r)/1e3/60/60/24+(t-r<0?1:0)).toString()[n(507)](5," "),"天",n(320),Math[n(495)](Math[n(478)](t-i)/1e3/60/60/24+(t-i<0?1:0))[n(192)]()[n(507)](5," "),"天 (阿里云)"];setTimeout(function(){a[_0xffe2(465)](console,arguments)}.bind(console,n(379)[n(516)](o[0],"%c").concat(o[1],"%c")[n(516)](o[2],"%c")[n(516)](o[3],n(489))[n(516)](o[4],"%c ")[n(516)](o[5],"\n")[n(516)](o[6],n(489))[n(516)](o[7],n(489)).concat(o[8],"\n")[n(516)](o[9],"%c ")[n(516)](o[10],n(489))[n(516)](o[11],"\n")[n(516)](o[12],n(489))[n(516)](o[13],"%c ")[n(516)](o[14],"\n")[n(516)](o[15],n(489))[n(516)](o[16],n(489))[n(516)](o[17],"\n")[n(516)]("\n"),n(231),n(519),n(196),"","color:#030307","","color:#030307","","color:#030307","",n(538),"",n(538),""))}))},cardRefreshTimes(){var e=_0xffe2;const t=(new Date)[e(578)](),a=(n=t)%4==0&&n%100!=0||n%400==0?366:365;var n,o=new Date,c=new Date((new Date).getFullYear()+e(307)),s=document[e(201)]("card-widget-schedule");s&&(asideDay=(o-c)/1e3/60/60/24,s.querySelector("#pBar_year").value=asideDay,s[e(473)]("#pBar_year").max=a,yearPercentage=(asideDay/a*100)[e(374)](2),displayYearPercentage=yearPercentage===e(518)?e(372):yearPercentage+"%",s[e(473)]("#p_span_year").innerHTML=displayYearPercentage,s[e(473)](e(504)).innerHTML=(Math.floor(10*(a-asideDay))/10)[e(374)](1)+" / "+a,currentDateMonth=new Date,currentDateMonth[e(376)](1),currentDateMonth[e(545)](0,0,0,0),currentMonthTimestamp=currentDateMonth[e(580)](),asideMonthDay=(o-currentMonthTimestamp)/1e3/60/60/24,currentDateMonthTotal=new Date,currentMonth=currentDateMonthTotal[e(247)](),currentDateMonthTotal[e(429)](currentMonth+1,1),currentDateMonthTotal[e(376)](0),asideMonthDays=currentDateMonthTotal[e(438)](),s.querySelector(e(461)).value=asideMonthDay,s[e(473)](e(461))[e(327)]=asideMonthDays,monthPercentage=(asideMonthDay/asideMonthDays*100).toFixed(2),displayMonthPercentage="100.00"===monthPercentage?e(372):monthPercentage+"%",s.querySelector(e(302)).innerHTML=displayMonthPercentage,s[e(473)](e(413))[e(569)]=(Math.floor(10*(asideMonthDays-asideMonthDay))/10).toFixed(1)+" / "+asideMonthDays.toString()[e(532)](3,"0"),currentDateWeek=new Date,currentDayOfWeek=currentDateWeek.getDay(),currentWeekTimestamp=currentDateWeek.setHours(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(473)](e(592)).value=asideWeekDay,weekPercentage=(asideWeekDay/7*100)[e(374)](2),displayWeekPercentage=weekPercentage===e(518)?"100%":weekPercentage+"%",s.querySelector(e(546))[e(569)]=displayWeekPercentage,s[e(473)](".schedule-r2 .schedule-d1 .aside-span2")[e(569)]=(Math.floor(10*(7-asideWeekDay))/10)[e(374)](1)+e(582),currentTimeStamp=(new Date)[e(580)](),startOfDay=new Date,startOfDay.setHours(0,0,0,0),startOfDayTimeStamp=startOfDay[e(580)](),timeDifferenceToday=currentTimeStamp-startOfDayTimeStamp,asideToday=timeDifferenceToday/1e3/60/60/24,asideTodayHour=timeDifferenceToday/36e5,s.querySelector("#pBar_day")[e(368)]=asideTodayHour,dayPercentage=(100*asideToday)[e(374)](2),displayDayPercentage=dayPercentage===e(518)?"100%":dayPercentage+"%",s[e(473)](e(501))[e(569)]=displayDayPercentage,s[e(473)](e(194))[e(569)]=(Math[e(495)](10*(24-asideTodayHour))/10)[e(374)](1)+e(484),month=o[e(247)]()+1,day=o.getDate(),month=month>9?month:"0"+month,day=day>9?day:"0"+day,week={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"},document[e(473)](e(305))[e(569)]=o[e(578)]()+"-"+month+"-"+day+" "+week[o[e(361)]()])},PressEscapeKey(e){var t=_0xffe2;27===e.keyCode&&(document.getElementById(t(543))&&mycpen1js[t(476)](),document[t(201)](t(311))&&document[t(201)]("cf-overshow")&&(document.querySelector(t(565))||document[t(473)](t(274)))&&(document.getElementById(t(414))&&closeShow(),document.getElementById("mycpen1-link-page-tag")&&mycpen1js.linkPageCloseShow()))},linkPageOpenMeShow(e){var t=_0xffe2,a={apipublicurl:t(318)},n="ok",o=t(607),c=document[t(201)](t(338));c&&(document[t(201)](t(311))||c[t(396)](t(469),o)),e[t(502)]();var s,r=e[t(203)].dataset[t(575)][t(288)](/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/,t(346));s=a[t(576)]+t(626)+r,"ok"==n&&(n="no",mycpen1js[t(353)](s))},linkPageOpenMeShowV2(e){var t=_0xffe2,a={apipublicurl:t(318)},n="ok",o=document[t(201)]("mycpen1-link-page-tag");o&&(document[t(201)](t(311))||o[t(396)](t(469),'\n <div id="cf-overlay" class="cf-new-add" onclick="mycpen1js.linkPageCloseShow()"></div>\n <div id="cf-overshow" class="cf-new-add"></div>\n ')),e[t(502)]();var c,s=encodeURIComponent(e[t(203)][t(566)][t(388)]);c=a[t(576)]+"postv2?name="+s,"ok"==n&&(n="no",mycpen1js[t(353)](c))},linkPageCloseShow(){var e=_0xffe2;document[e(201)](e(311)).className-=e(616),document[e(201)](e(470)).className-=e(616),setTimeout((function(){var t=e,a=document[t(292)]("#cf-overshow > :not(.cf-overshow-close)"),n=document.querySelectorAll("#cf-overshow > .cf-overshow-close");a[t(497)]((function(e){e[t(399)]()}));for(var o=1;o<n[t(466)];o++)n[o][t(399)]()}),100)},linkPageFetchShow(_0x5627fa){var _0x3c5eaa=_0xffe2,_0x3c58a9=_0x3c5eaa(326);fetch(_0x5627fa)[_0x3c5eaa(551)]((e=>e[_0x3c5eaa(236)]()))[_0x3c5eaa(551)]((_0x1616e6=>{var _0x52be1b=_0x3c5eaa;noClick="ok";var _0x2df2bb=_0x1616e6[_0x52be1b(355)],_0xe19ede=eval(_0x1616e6[_0x52be1b(375)]);0!==_0x2df2bb[_0x52be1b(559)]?(mycpen1js[_0x52be1b(293)](_0x2df2bb,_0xe19ede),document.getElementById("cf-overlay")[_0x52be1b(208)]=_0x52be1b(616),document.getElementById(_0x52be1b(470))[_0x52be1b(396)](_0x52be1b(585),_0x3c58a9)):btf[_0x52be1b(373)](_0x52be1b(540))}))[_0x3c5eaa(412)]((e=>{var t=_0x3c5eaa;btf[t(373)](t(239))}))},linkPageLoadFcircleShow(e,t){for(var a=_0xffe2,n='\n <div class="cf-overshow">\n <div class="cf-overshow-head">\n <img class="cf-img-avatar avatar" src="'+e[a(539)]+a(341)+e.link+'">'+e.name+'</a>\n </div>\n <div class="cf-overshow-content">\n ',o=0;o<e[a(559)];o++){var c=t[o];let e="";Date[a(500)]()-new Date(c.created+" 00:00:00")[a(580)]()<=1728e5&&(e='style="color: var(--mycpen1-main); opacity: 1;"'),n+=a(488)+c[a(575)]+a(411)+c[a(217)]+'">'+c[a(217)]+a(294)+e+">"+c[a(458)]+a(212)}n+=a(471),document.getElementById(a(470))[a(396)](a(255),n),document[a(201)](a(470)).className=a(616)},linkPageRssAliveCheck(){var e=_0xffe2;apiurl="https://www.cpen.top:8002/",rssAliveCheckUrl=apiurl+e(257),fetch(rssAliveCheckUrl).then((e=>e.json()))[e(551)]((t=>{var a=e,n=t[a(406)],o=t[a(319)],c=t[a(237)];let s=[];for(const e in n){let t=n[e];t=t[a(288)](/^https?:\/\//,""),t=t.replace(/\/$/,""),s.push(t)}let r=[];for(const e in o){let t=o[e];t=t.replace(/^https?:\/\//,""),t=t[a(288)](/\/$/,""),r[a(398)](t)}document.querySelectorAll(a(261))[a(497)]((e=>{var t=a;if(e){let a=e[t(615)]("data-link")[t(288)](/^https?:\/\//,"");a=a.replace(/\/$/,""),c>0?r[t(287)](a)?e[t(225)][t(460)](t(183)):s[t(287)](a)?e[t(225)][t(460)](t(455)):e.classList[t(460)](t(620)):0===c&&e[t(225)].add(t(455))}}))}))},NzcheckLink:async e=>{var t=_0xffe2;const a=document[t(292)](e);if(a){let e=new RegExp(/^[#].*/);for(let c=0;c<a[t(466)];c++){const s=a[c];var n=s[t(227)](t(521)),o=s[t(225)].contains(t(325));if(!n&&!o){let a=s.getAttribute("href"),n=s[t(615)](t(185)),o=s[t(615)](t(309));e[t(614)](a)||o===t(574)||o===t(547)||"category"===o||o===t(561)||a===t(258)||(await mycpen1js.NzcheckLocalSite(a)||n?!await mycpen1js[t(611)](a)&&n===t(369)&&s[t(520)](t(544),t(416)+btoa(a)+t(186)):s.setAttribute("href",t(416)+btoa(a)))}s[t(225)].add(t(325))}}},NzcheckLocalSite:async e=>{var t=_0xffe2;try{const a=["localhost:4000",t(443),t(182)];let n=!1;for(let o=0;o<a[t(466)];o++){const c=a[o];if(e[t(287)](c)){n=!0;break}}return n}catch(e){return!0}},cookieConsent(){var e=_0xffe2;window[e(312)](e(549),(()=>{var t=e;window.cookieconsent.initialise({type:t(334),theme:"edgeless",static:!1,position:t(418),content:{message:t(316),dismiss:"接受",allow:"接受",deny:"拒绝",link:!1},palette:{popup:{background:t(202),text:t(610)},button:{background:t(419)}}})}))}};function whenDOMReadyMycpen1JS(){var e=_0x4bcb3e;mycpen1js[e(573)](),mycpen1js[e(509)](),mycpen1js[e(188)](),mycpen1js[e(344)](),mycpen1js.categoryPageActive(),mycpen1js[e(242)](),mycpen1js.owoBigfunc(),document[e(201)](e(329))&&(mycpen1js[e(608)](),mycpen1js[e(589)](),window[e(434)]=()=>{var t=e;document[t(201)](t(329))&&(mycpen1js[t(589)](),setTimeout((()=>{mycpen1js[t(589)]()}),300))}),document[e(201)](e(215))[e(312)](e(437),(function(){setTimeout(mycpen1js.switchPostChart,100)})),document[e(201)](e(486))[e(312)]("click",(function(){setTimeout(mycpen1js[e(591)],100)})),document[e(201)]("darkmode_consoleSwitch").addEventListener("click",(function(){setTimeout(mycpen1js[e(591)],100)})),document.getElementById(e(618))[e(312)]("click",(function(){setTimeout(mycpen1js[e(591)],100)})),mycpen1js[e(464)](),mycpen1js.closeAboutAplayer(),document.getElementById(e(499))&&(mycpen1js[e(530)](),setInterval((()=>{mycpen1js[e(530)]()}),1e3)),document.getElementById("mycpen1-link-page-tag-2")&&mycpen1js[e(531)](),document[e(201)](e(338))&&(mycpen1js.NzcheckLink(e(403)),mycpen1js[e(477)](e(498))),document.getElementById("mycpen1-about-page-tag")&&mycpen1js.NzcheckLink(e(525)),document[e(201)](e(587))&&setInterval((()=>{var t=e;if(document[t(473)](t(541))){mycpen1js[t(477)](".tk-comments-container a:not(.already-redirect-link)");document[t(292)](".tk-avatar.tk-clickable:not(.already-clear-clickEvent)")[t(497)]((e=>{var a=t;e[a(225)].add(a(510));const n=document.createElement("a");for(Array[a(508)](e.attributes)[a(497)]((e=>{n[a(520)](e.name,e.value)}));e[a(627)];)n[a(342)](e[a(627)]);e[a(298)][a(391)](n,e);const o=n[a(336)][a(622)][a(622)][a(622)][a(615)](a(544));n[a(520)]("href",o),n[a(520)](a(577),a(404)),n[a(520)](a(309),"noopener external nofollow noreferrer")}))}}),1e3)}mycpen1js[_0x4bcb3e(543)](),document[_0x4bcb3e(441)](_0x4bcb3e(269),mycpen1js[_0x4bcb3e(296)]),document[_0x4bcb3e(312)]("keydown",mycpen1js[_0x4bcb3e(296)]),window[_0x4bcb3e(485)]=mycpen1js.getNavRightPagePercent,mycpen1js[_0x4bcb3e(270)](),whenDOMReadyMycpen1JS(),document[_0x4bcb3e(312)]("pjax:complete",whenDOMReadyMycpen1JS);
|
|
1
|
+
var _0x299377=_0xbb26;function _0xbb26(e,t){var a=_0x49e0();return(_0xbb26=function(e,t){return a[e-=163]})(e,t)}function _0x49e0(){var e=["afterend","join",'" target="_blank" rel="noopener nofollow" data-title="',"onmouseover","稳重的","attributes",".cf-overshow-close","already-redirect-link","#percent","switchPostChart","坚强的","243660ABZbrV","linkPageRssAliveCheck","focus","grayscale(100%)","有思想的","linkPageFetchShow","有冒险精神的","#aside-content .card-widget#card-widget-schedule .item-content .schedule-today",".schedule-r0 .schedule-d1 .aside-span2",".tk-comments-container","parentNode","contextmenu","1663732eBqTpu","#838391","cpen.top","含蓄的","有艺术细胞的","pace-done","HTMLEvents","有团队精神的",".share","有协调能力的","善良的","距 2058-00-00 计时","getTime",".page .layout #tag #tag-page-tags","Mycpen - Personal Blog",'\n <div class="cf-overshow-close" onclick="mycpen1js.linkPageCloseShow()"></div>\n ',"pause","currentTarget","essayDiffDate","mycpen1-about-page-tag","vertical","具有批判性思维的","display:flex; height:","contains","set","#console","insertAdjacentHTML","data-theme","input[name='comname']"," MYCPEN BLOG ","title","pathname","#name","darkmode_navswitch","className","footer","09.30","nextElementSibling","date_suffix","removeEventListener","scrollHeight","afterbegin","耐心的","#consoleHideAside","距 1998-00-00 计时","value","bbtalk","toPageText","px; width:","hideConsole","then","getDay","remove","512540ipCuwn","textStyle","#article-container .flink .flink-list > .flink-list-item.单向 > a","disqusReset","postv2?name=","setTime",".essay_bar_swiper_container","apply","干净的","美丽的","有创新能力的","link_list","name","round","dark","cardRefreshTimes","英俊的","categories-chart","hide",'\n <div id="cf-overlay" class="cf-new-add" onclick="mycpen1js.linkPageCloseShow()"></div>\n <div id="cf-overshow" class="cf-new-add"></div>\n ',"padEnd","西红柿","#newYear","rel","avatar","haveValue","snackbarShow","温柔的","有责任感的","page/","querySelectorAll","light","initConsoleState","parse","活泼的","onmouseleave","有执行能力的","%c ","day_to_night","mycpen1-fcircle-page-tag","px;","有想象力的","/redirect.html?url=","xAxis","changeNavPageNameTitle","essayChangeTimeInEssayByMycpen","开朗的","#comment_author","100.00","disconnect","href","querySelector","classList","\n> ","12.13","#email","有担当的","大方的","concat"," <span>年</span>","#bber time","cf-overshow","setAttribute","富有想象力的","splice","json","owoBigfunc","long","change","getMonth","善解人意的","</div></div>","darkmode","flink-mycpen1-rss-lost-friends","有责任心的","成熟的","纯真的","getFullYear","9VcPsmR","forEach","getDate","/json/link.json","DISQUS","有商业头脑的","善于沟通的","links",'" alt="avatar" onerror="this.src=\'https://cdn.cbd.int/mycpen-blog@0.0.0-ezbjaddihi/img/flink404.svg\'; this.onerror = null;">\n <a class="" target="_blank" rel="noopener nofollow" href="',"background: #fadfa3; padding:5px 0;","标题:","有爱心的","start","nameTextStyle","#ds-dialog-email","有决策能力的","有分析能力的","replace","#cf-overshow > :not(.cf-overshow-close)","listenToPageInputPress","page-name","返回顶部","优雅的","cf-show-now","essayReplaceAll","cookieconsent","#comment_email","cssText","add","color","\n%c","includes","getNavRightPagePercent",'<span class="day">',"mycpen1-tags-page-cloudTags-","MjIvMjA1OCAwMDowMA==","有专业素养的","observe","axisLabel","善于合作的","display","offsetTop","closeAboutAplayer","target","aside-status","#4b81e8","pageYOffset","MDA6MDA=","聪明的","NzcheckLocalSite","喜欢思考的","#4C4948","keydown","dispatchEvent","time","children","#article-container .flink#mycpen1-link-page-tag-2 .flink-list>.flink-list-item a .flink-item-icon","console","removeaAlayerFixedLrc","#pBar_month","好奇的","https://hexo-circle.cpen.top/","padStart","rgba(255,255,255,0.7)","friendstatus","setDate","null","机智的","post?link=","有逻辑思维的","random","css","stop","6451151GTmczR","offsetY","复制成功","#post-comment","createEvent","toPageButton","created","onmouseenter","data-download","有同情心的","edgeless","darkmode_sidebarSwitch","preventDefault","push","MTAvMjIvMjA=","tag","location","尊重他人的","prev","show","log","post-comment","documentElement","yAxis","-01-01 00:00:00","#waterfall","loadFBComment","#bber",'\n <div class="cf-overshow">\n <div class="cf-overshow-head">\n <img class="cf-img-avatar avatar" src="',"#pBar_year","offsetHeight","getItem","input[name='commail']","toggle","addEventListener","#p_span_year","敏捷的","flink-mycpen1-rss-unknown-friends","距 2022-08-28 上线",'<span class="unit">天</span></span>',"mycpen1-categories-page-cloudCategories-","initialise","火龙果","tagName","真诚的","removeClass","essayReflashEssayWaterFall","#p_span_day","link",".aplayer-fixed .aplayer-icon.aplayer-icon-lrc"," 00:00:00","card-widget-schedule","data-fancybox","waterfall","善于表达的","慷慨的","load","just","min","data","toFixed","px; top:","scrollTop","OwO-body","NzcheckLink","慎重的","pjax:complete","体贴的","#friend-links-in-footer .footer-item","未获取到文章卡片","_blank","有学习能力的","getAttribute","Snackbar","firstElementChild","有创造力的","trim","有魅力的","body","朝气蓬勃的","#inpEmail","有耐性的"," / 007","scrollY","input[name='mail']","深刻的","comment-tips","3545361YWbWSf","total_friend_num","有正义感的","test","floor",".page-number","label","hour","lineStyle",".tk-comments-container a:not(.already-redirect-link)","守信的","100%","setOption","noopener external nofollow noreferrer","statistical_data","series","善于领导的","11.30","07.07","#article-container #mycpen1-about-page-tag-sponsor-part a","有个性的","2805ytDYrE","origin","onscroll","firstChild","click","clientHeight","#edeff5","cf-overlay","#newYear .newYear-time","datetime","color:#fadfa3","abs","有远见的","article_num","#newYear .today"," / ","split","saveData","textContent","el-textarea__inner","disqus_thread","喜欢学习的","input[name='email']","</span></p>\n ","hasAttribute","max","createElement","05/23/2025 00:00:00","markLine","6TLbSEE","style","西兰花","getElementsByClassName","toString","豁达的",".schedule-r1 .schedule-d1 .aside-span2","scrollTo","mycpen1-link-page-tag-2","apipublicurl","MDA6MDA6MDA=","敬业的","axisLine","linkPageLoadFcircleShow","select","#pBar_week","randomLink","顽强的","8ElzWhd","#newYear .title","theme","OjAw","getSelection","</a><span ","input","donotreply@mycpen.cn","setMonth","copy","有组织能力的","color: #fadfa3; background: #030307; padding:5px 0;","IMG","哈密瓜","next","clientWidth","innerText","keyCode","#p_span_week",".cf-overshow","MDgvMjgvMjAyMiA="," | Mycpen","hide-aside","undefined","from","setHours","谦虚的","tagPageActive","day","setSelectionRange","html","night_to_day","#mail","&type=goDown","MjggMDA6MDA6MDA=",'\n <p><a class="cf-article-title" href="',"color:#030307","有智慧的","onmouseout","bottom-right","mycpen1-essay-page-tag","深沉的","toLocaleDateString","catch","#nav-totop","80830oucbTt","金针菇","now","childList","PressEscapeKey","猕猴桃","mycpen1-link-page-tag","getElementById","文静的","细心的","goDown","lost_friends","未获取到订阅内容","owo-big","dataset","cpRemind","innerHTML","自信的","length","1273349SykdeV","input[name='author']","autoplay"];return(_0x49e0=function(){return e})()}!function(e,t){for(var a=_0xbb26,n=_0x49e0();;)try{if(751871===parseInt(a(565))/1+-parseInt(a(579))/2+-parseInt(a(273))/3*(parseInt(a(591))/4)+parseInt(a(195))/5+parseInt(a(483))/6*(-parseInt(a(346))/7)+-parseInt(a(501))/8*(parseInt(a(433))/9)+-parseInt(a(546))/10*(-parseInt(a(454))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}();var mycpen1js={changeNavPageNameTitle(){var e=_0xbb26;document[e(172)]==e(605)?document.getElementById("page-name")[e(517)]=document.title:document[e(553)](e(293)).innerText=document.title.split(e(522))[0]},getNavRightPagePercent(){var e=_0xbb26;let t=document[e(368)][e(408)]||window.pageYOffset,a=Math[e(479)](document[e(424)][e(182)],document.documentElement[e(182)],document[e(424)][e(376)],document[e(368)][e(376)],document[e(424)][e(459)],document.documentElement.clientHeight)-document[e(368)][e(459)],n=Math[e(208)](t/a*100),o=document[e(246)](e(576));n<=99||(n=99),o[e(562)]=n,r=window.scrollY+document[e(368)][e(459)],p=document.getElementById(e(367))||document[e(553)](e(177)),p[e(314)]+p[e(376)]/2<r||90<n?(document.querySelector(e(545))[e(247)][e(301)](e(262)),o[e(562)]=e(294)):(document.querySelector("#nav-totop")[e(247)][e(194)](e(262)),o[e(562)]=n)},share(){var e=_0xbb26;let t=window.location[e(455)]+window[e(362)][e(173)];new ClipboardJS(e(599),{text:function(){return e(283)+document.title+"\n链接:"+t}}),btf.snackbarShow(e(348))},getFooterRandomFlink(){var e={saveData:(e,t)=>{var a=_0xbb26;localStorage.setItem(e,JSON.stringify({time:Date[a(548)](),data:t}))},loadData:(e,t)=>{var a=_0xbb26;let n=JSON[a(228)](localStorage[a(377)](e));if(n){let e=Date[a(548)]()-n[a(327)];if(e<60*t*1e3&&e>-1)return n[a(405)]}return 0},randomLink:()=>{var t=_0xbb26;let a=e.loadData("links",30);if(a){let e=document[t(225)](t(414));if(!e[t(564)])return;for(let n=0;n<3;n++){let o;do{o=parseInt(Math.random()*a.length)}while("失联"===a[o].tag);e[n].innerText=a[o][t(207)],e[n][t(245)]=a[o][t(394)],e[n][t(172)]=a[o][t(207)],e[n][t(316)]=t(416),e[n][t(218)]="noopener external nofollow noreferrer",a[t(259)](o,1)}}else fetch(t(276))[t(192)]((e=>e.json()))[t(192)]((a=>{var n=t;e[n(471)](n(280),a[n(206)]),e.randomLink()}))}};e[_0xbb26(499)]()},newYearCountdownCard(){(()=>{var e=_0xbb26;if(clearTimeout(null),!document[e(246)](e(217)))return;let t=new Date((new Date)[e(272)]()+1+e(370))[e(603)]()/1e3,a={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"};!function(){var n=e;let o=new Date,s=o[n(264)]()+1,c=o[n(275)]();s=s>9?s:"0"+s,c=c>9?c:"0"+c,document.querySelector(n(468))[n(562)]=o[n(272)]()+"-"+s+"-"+c+" "+a[o.getDay()];let r=t-Math.round(o[n(603)]()/1e3);r<0?(document[n(246)](n(502))[n(562)]="Happy New Year!",document[n(246)](n(462))[n(562)]='<span class="happyNewYear">新年快乐</span>'):(document[n(246)](n(502))[n(562)]='<i class="fa-solid fa-clock"></i> <span>距离</span> '+((new Date).getFullYear()+1)+n(254),r>86400?document[n(246)]("#newYear .newYear-time")[n(562)]='<span class="day">'+Math.ceil(r/86400)+n(385):document.querySelector(n(462))[n(562)]=n(306)+Math.ceil(r/86400)+n(385))}()})()},removeBodyPaceClass:function(){var e=_0xbb26;$("body")[e(391)](),$("body").addClass(e(596))},toPage:function(){var e=_0xbb26,t=document[e(225)](e(438)),a=parseInt(t[t[e(564)]-1][e(562)]),n=document[e(553)](e(189)),o=parseInt(n[e(187)]);if(!isNaN(o)&&o>0&&"0"!==(""+o)[0]&&o<=a){var s,c=window[e(362)][e(245)][e(290)](/\/page\/\d+\/$/,"/");s=1===o?c:c+(c.endsWith("/")?"":"/")+e(224)+o+"/",document[e(553)](e(351))[e(245)]=s}},listenToPageInputPress(){var e=_0xbb26,t=document.getElementById(e(189)),a=document[e(553)](e(351));t&&(t[e(380)](e(325),(t=>{var n=e;13===t[n(518)]&&(mycpen1js.toPage(),pjax.loadUrl(a[n(245)]))})),t.addEventListener(e(507),(function(){var n=e;""===t[n(187)]||"0"===t.value?a.classList.remove(n(220)):a[n(247)].add(n(220));var o=document[n(225)](n(438)),s=+o[o[n(564)]-1][n(562)];+document[n(553)](n(189)).value>s&&(t[n(187)]=s)})))},showConsole:function(){var e=_0xbb26;document[e(246)]("#console")[e(247)][e(301)](e(365)),mycpen1js[e(227)]()},hideConsole:function(){var e=_0xbb26;document[e(246)](e(167)).classList[e(194)](e(365))},hideAsideBtn:()=>{var e=_0xbb26;const t=document.documentElement.classList;t[e(165)](e(523))?saveToLocal[e(166)]("aside-status",e(365),2):saveToLocal[e(166)](e(317),e(213),2),t[e(379)](e(523)),t.contains("hide-aside")?document[e(246)](e(185))[e(247)].add("on"):document.querySelector(e(185)).classList.remove("on")},initConsoleState:function(){var e=_0xbb26;document.documentElement[e(247)][e(165)]("hide-aside")?document[e(246)](e(185))[e(247)][e(301)]("on"):document.querySelector("#consoleHideAside")[e(247)].remove("on")},tagPageActive:function(){var e=_0xbb26,t=window[e(362)][e(173)];if(/\/tags\/.*?\//[e(436)](t=decodeURIComponent(t))){var a=t[e(470)]("/")[2];if(document.querySelector(e(604))){$("a").removeClass(e(497));var n=document[e(553)](e(307)+a);n&&n[e(247)][e(301)](e(497))}}},categoryPageActive:function(){var e=_0xbb26,t=window[e(362)][e(173)];if(/\/categories\/.*?\//.test(t=decodeURIComponent(t))){var a=t[e(470)]("/")[2];if(document[e(246)](".page .layout #category #category-page-categories")){$("a")[e(391)](e(497));var n=document.getElementById(e(386)+a);n&&n[e(247)][e(301)]("select")}}},addRandomCommentInfo:function(){var e=_0xbb26;const t=[e(204),e(211),e(321),"勇敢的","可爱的",e(401),e(601),"可靠的",e(241),e(270),e(572),e(390),"幽默的",e(488),"有趣的",e(229),e(295),e(382),e(222),"温暖的",e(494),e(555),e(184),e(542),"朴素的",e(594),"率直的","开放的","务实的",e(578),e(563),e(527),e(554),e(431),e(271),e(425),e(411),e(252),e(500),"迷人的",e(340),e(265),e(258),e(423),"独立的",e(333),e(203),"宽容的",e(363),e(413),e(443),e(427),e(269),e(251),e(466),e(538),"有眼光的",e(585),e(284),e(355),e(323),e(475),e(163),e(400),e(279),e(312),e(449),"有激情的","有幽默感的",e(583),e(453),e(435),e(223),e(421),e(236),e(595),e(598),e(600),e(288),e(511),e(417),e(231),e(289),e(342),e(205),e(309),e(278)],a=["萝卜","白菜","芹菜","生菜","青椒","辣椒","茄子","豆角","黄瓜",e(216),"洋葱","大蒜","土豆","南瓜","豆腐","韭菜","花菜",e(485),"蘑菇",e(547),"苹果","香蕉","橙子","柠檬",e(551),"草莓","葡萄","桃子","杏子","李子","石榴","西瓜",e(514),"蜜瓜","樱桃","蓝莓","柿子","橄榄","柚子",e(388)],n=""+t[Math[e(437)](Math.random()*t[e(564)])]+a[Math[e(437)](Math[e(343)]()*a.length)];!function(){for(var t=e,a=["#author",t(170),"#inpName",t(566),"#ds-dialog-name",t(174),"input[name='nick']",t(242)],o=[t(533),t(250),t(378),t(426),t(476),t(287),t(430),t(299)],s=0;s<a[t(564)];s++){var c=document[t(246)](a[s]);if(null!=c){c[t(187)]=n,c[t(326)](new Event("input")),c[t(326)](new Event(t(263)));break}}for(var r=0;r<o[t(564)];r++){var i=document[t(246)](o[r]);if(null!=i){i[t(187)]=t(508),i[t(326)](new Event("input")),i[t(326)](new Event(t(263)));break}}}();var o=document[e(486)](e(473))[0];o.focus(),o.setSelectionRange(-1,-1)},owoBigfunc(){var e=_0xbb26;document.getElementById(e(367))&&function(){var t=e;let a=1,n="",o=document[t(480)]("div"),s=document[t(246)](t(424));o.id=t(559),s.appendChild(o),new MutationObserver((e=>{var c=t;for(let t=0;t<e[c(564)];t++){let r=e[t].addedNodes,i="";2==r[c(564)]&&r[1].className==c(409)&&(i=r[1],document[c(424)][c(516)]<=768&&i[c(380)](c(590),(e=>e.preventDefault())),i[c(571)]=e=>{var t=c;a&&e[t(316)][t(389)]==t(513)&&(a=0,n=setTimeout((()=>{var a=t;let n=3*e.target[a(459)],c=3*e.target.clientWidth,r=e.x-e.offsetX-(c-e.target[a(516)])/2,i=e.y-e[a(347)];r+c>s[a(516)]&&(r-=r+c-s[a(516)]+10),r<0&&(r=10),o[a(484)][a(300)]=a(164)+n+a(190)+c+"px; left:"+r+a(407)+i+a(235),o[a(562)]='<img src="'+e.target.src+'">'}),300))},i[c(539)]=()=>{var e=c;o[e(484)][e(313)]="none",a=1,clearTimeout(n)})}}))[t(310)](document[t(553)](t(367)),{subtree:!0,childList:!0})}()},removeaAlayerFixedLrc(){var e=_0xbb26;function t(){var e=_0xbb26;const t=document.querySelector(e(395));t&&(a[e(244)](),setTimeout((()=>{t[e(458)]()}),1))}const a=new MutationObserver(((e,a)=>{var n=_0xbb26;for(let a of e)a.type===n(549)&&t()}));a[e(310)](document,{childList:!0,subtree:!0})},switchDarkMode(){var e=_0xbb26;(document[e(368)][e(418)](e(169))===e(209)?e(209):e(226))===e(226)?(activateDarkMode(),saveToLocal[e(166)](e(503),"dark",2),void 0!==GLOBAL_CONFIG.Snackbar&&btf[e(221)](GLOBAL_CONFIG.Snackbar[e(233)])):(activateLightMode(),saveToLocal.set("theme",e(226),2),void 0!==GLOBAL_CONFIG[e(419)]&&btf.snackbarShow(GLOBAL_CONFIG[e(419)][e(532)])),"function"==typeof utterancesTheme&&utterancesTheme(),"object"==typeof FB&&window[e(372)](),window[e(277)]&&document[e(553)](e(474))[e(328)][e(564)]&&setTimeout((()=>window[e(198)]()),200)},essayUnknownPart(){},essayReplaceAll(e,t,a){var n=_0xbb26;return e[n(470)](t)[n(569)](a)},essayDiffDate:function(e,t=!1){var a=_0xbb26;const n=new Date,o=new Date(e),s=n[a(603)]()-o.getTime(),c=36e5,r=864e5;let i;if(t){const e=s/r,t=s/c,n=s/6e4;i=s/2592e6>=1?o[a(543)]()[a(290)](/\//g,"-"):e>=1?parseInt(e)+" "+GLOBAL_CONFIG.date_suffix[a(529)]:t>=1?parseInt(t)+" "+GLOBAL_CONFIG.date_suffix[a(440)]:n>=1?parseInt(n)+" "+GLOBAL_CONFIG[a(180)][a(404)]:GLOBAL_CONFIG.date_suffix[a(403)]}else i=parseInt(s/r);return i},essayChangeTimeInEssay:function(){var e=_0xbb26;document[e(246)](e(373))&&document.querySelectorAll(e(255))[e(274)]((function(t){var a=e,n=t,o=n[a(418)](a(463));n[a(517)]=mycpen1js[a(609)](o,!0),n[a(484)][a(313)]="inline"}))},essayReflashEssayWaterFall:function(){var e=_0xbb26;document[e(246)]("#waterfall")&&setTimeout((function(){var t=e;waterfall(t(371)),document.getElementById(t(399))[t(247)].add("show")}),500)},essayCommentText:function(e){var t=_0xbb26;var a=document[t(246)](t(349))[t(314)];window[t(490)](0,a-80),e!=t(524)&&e!=t(339)||(e="好棒!"),function t(){setTimeout((()=>{var a=_0xbb26,n=document[a(486)](a(473))[0];n||t();let o=document[a(350)](a(597));o.initEvent(a(507),!0,!0);let s=mycpen1js[a(297)](e,"\n",a(248));n[a(187)]="> "+s+"\n\n",n.dispatchEvent(o),n[a(581)](),n[a(530)](-1,-1),document.getElementById(a(432))&&document[a(553)]("comment-tips")[a(247)][a(301)](a(365))}),100)}()},essayInitIndexEssay:function(){setTimeout((()=>{var e=_0xbb26;let t=new Swiper(e(201),{passiveListeners:!0,direction:e(611),loop:!0,autoplay:{disableOnInteraction:!0,delay:3e3},mousewheel:!0}),a=document[e(553)](e(188));null!==a&&(a[e(353)]=function(){var a=e;t[a(567)][a(345)]()},a[e(230)]=function(){var a=e;t[a(567)][a(285)]()})}),100)},essayChangeTimeInEssayByMycpen:function(){for(var e=_0xbb26,t=document.getElementsByTagName(e(327)),a=0;a<t.length;a++){var n,o=t[a].getAttribute(e(463)),s=new Date(o),c=(new Date)[e(603)]()-s.getTime(),r=Math.floor(c/864e5);0===r?n="最近":1===r?n="昨天":2===r?n="前天":r<=7?n=r+"天前":s[e(272)]()!==(new Date).getFullYear()?(Essaymonth=s[e(264)]()+1,EssayDay=s.getDate(),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=s[e(272)]()+"-"+Essaymonth+"-"+EssayDay):(Essaymonth=s[e(264)]()+1,EssayDay=s[e(275)](),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=Essaymonth+"-"+EssayDay),t[a][e(472)]=n}},switchPostChart:function(){var e=_0xbb26;let t=document[e(368)][e(418)](e(169))===e(226)?e(324):e(336);if(document.getElementById("posts-chart")&&postsOption)try{let a=postsOption;a[e(172)][e(196)][e(302)]=t,a.xAxis[e(286)][e(302)]=t,a[e(369)][e(286)][e(302)]=t,a[e(238)].axisLabel[e(302)]=t,a.yAxis.axisLabel[e(302)]=t,a[e(238)].axisLine[e(441)][e(302)]=t,a.yAxis[e(495)].lineStyle[e(302)]=t,a[e(448)][0][e(482)][e(405)][0].label[e(302)]=t,postsChart[e(445)](a)}catch(e){console.log(e)}if(document[e(553)]("tags-chart")&&tagsOption)try{let a=tagsOption;a[e(172)][e(196)][e(302)]=t,a[e(238)][e(286)].color=t,a[e(369)][e(286)][e(302)]=t,a[e(238)].axisLabel.color=t,a[e(369)][e(311)].color=t,a.xAxis[e(495)].lineStyle.color=t,a.yAxis[e(495)].lineStyle[e(302)]=t,a[e(448)][0][e(482)][e(405)][0][e(439)].color=t,tagsChart.setOption(a)}catch(t){console[e(366)](t)}if(document[e(553)](e(212))&&categoriesOption)try{let a=categoriesOption;a[e(172)][e(196)][e(302)]=t,a.legend[e(196)][e(302)]=t,!categoryParentFlag&&(a.series[0][e(439)].color=t),categoriesChart[e(445)](a)}catch(t){console[e(366)](t)}},cpRemind(){var e=_0xbb26;document.addEventListener(e(510),(function(t){var a=e;window[a(505)]()[a(487)]()[a(422)]()[a(564)]>0&&btf[a(221)]("复制成功")}))},closeAboutAplayer(){var e=_0xbb26;if(!document.getElementById(e(610)))try{about_page_ap[e(607)](),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=_0xbb26,t=new Date,a=t[e(264)]()+1,n=t[e(275)](),o=["04.04","05.12",e(451),"08.14","09.09","09.18",e(178),e(450),e(249)];for(var s of o){var c=s[e(470)](".");if(a==c[0]&&n==c[1]){var r=e(582);$(e(531))[e(344)]({filter:"gray !important;",filter:"progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)",filter:r,"-webkit-filter":r,"-moz-filter":r,"-ms-filter":r,"-o-filter":r});break}}},console(){var e=_0xbb26,t=new Date,a=console[e(366)];queueMicrotask((function(){var n=e;var o=new Date(""+atob(n(521))+atob(n(493))),s=new Date(atob("MTAvMjIvMTk5OCAwMA==")+":"+atob(n(320))),c=new Date(""+atob(n(360))+atob(n(535))),r=new Date(atob("MTA=")+"/"+atob(n(308))+atob(n(504)));new Date(n(481));t[n(200)](t[n(603)]()+250);o=[n(171)," "+window[n(362)][n(455)]+" ","\n\n",n(384),Math[n(437)](Math[n(465)](t-o)/1e3/60/60/24+(t-o<0?1:0))[n(487)]().padEnd(5," "),"天",n(186),Math.floor(Math[n(465)](t-s)/1e3/60/60/24+(t-s<0?1:0))[n(487)]()[n(215)](5," "),"天","距 2028-00-00 计时",Math[n(437)](Math[n(465)](t-c)/1e3/60/60/24+(t-c<0?1:0))[n(487)]().padEnd(5," "),"天",n(602),Math.floor(Math.abs(t-r)/1e3/60/60/24+(t-r<0?1:0))[n(487)]()[n(215)](5," "),"天"];setTimeout(function(){a[_0xbb26(202)](console,arguments)}.bind(console,n(303)[n(253)](o[0],"%c")[n(253)](o[1],"%c")[n(253)](o[2],"%c")[n(253)](o[3],n(232)).concat(o[4],n(232))[n(253)](o[5],"\n")[n(253)](o[6],n(232))[n(253)](o[7],n(232))[n(253)](o[8],"\n").concat(o[9],n(232))[n(253)](o[10],n(232))[n(253)](o[11],"\n").concat(o[12],"%c ")[n(253)](o[13],"%c ")[n(253)](o[14],"\n")[n(253)]("\n"),n(512),n(282),n(464),"",n(537),"",n(537),"","color:#030307","",n(537),""))}))},cardRefreshTimes(){var e=_0xbb26;const t=(new Date).getFullYear(),a=(n=t)%4==0&&n%100!=0||n%400==0?366:365;var n,o=new Date,s=new Date((new Date)[e(272)]()+"-01-01 00:00:00"),c=document[e(553)]("card-widget-schedule");c&&(asideDay=(o-s)/1e3/60/60/24,c.querySelector(e(375))[e(187)]=asideDay,c[e(246)](e(375))[e(479)]=a,yearPercentage=(asideDay/a*100)[e(406)](2),displayYearPercentage=yearPercentage===e(243)?e(444):yearPercentage+"%",c[e(246)](e(381)).innerHTML=displayYearPercentage,c[e(246)](e(587))[e(562)]=(Math.floor(10*(a-asideDay))/10)[e(406)](1)+" / "+a,currentDateMonth=new Date,currentDateMonth[e(338)](1),currentDateMonth.setHours(0,0,0,0),currentMonthTimestamp=currentDateMonth[e(603)](),asideMonthDay=(o-currentMonthTimestamp)/1e3/60/60/24,currentDateMonthTotal=new Date,currentMonth=currentDateMonthTotal[e(264)](),currentDateMonthTotal[e(509)](currentMonth+1,1),currentDateMonthTotal.setDate(0),asideMonthDays=currentDateMonthTotal[e(275)](),c.querySelector(e(332)).value=asideMonthDay,c[e(246)](e(332))[e(479)]=asideMonthDays,monthPercentage=(asideMonthDay/asideMonthDays*100)[e(406)](2),displayMonthPercentage="100.00"===monthPercentage?e(444):monthPercentage+"%",c[e(246)]("#p_span_month")[e(562)]=displayMonthPercentage,c[e(246)](e(489))[e(562)]=(Math[e(437)](10*(asideMonthDays-asideMonthDay))/10).toFixed(1)+e(469)+asideMonthDays.toString()[e(335)](3,"0"),currentDateWeek=new Date,currentDayOfWeek=currentDateWeek.getDay(),currentWeekTimestamp=currentDateWeek[e(526)](0,0,0,0),firstDayOfWeekTimestamp=currentWeekTimestamp-24*(0===currentDayOfWeek?6:currentDayOfWeek-1)*60*60*1e3,pastWeekTimestamp=o-firstDayOfWeekTimestamp,asideWeekDay=pastWeekTimestamp/1e3/60/60/24,c[e(246)](e(498)).value=asideWeekDay,weekPercentage=(asideWeekDay/7*100)[e(406)](2),displayWeekPercentage="100.00"===weekPercentage?e(444):weekPercentage+"%",c.querySelector(e(519)).innerHTML=displayWeekPercentage,c[e(246)](".schedule-r2 .schedule-d1 .aside-span2")[e(562)]=(Math[e(437)](10*(7-asideWeekDay))/10).toFixed(1)+e(428),currentTimeStamp=(new Date).getTime(),startOfDay=new Date,startOfDay.setHours(0,0,0,0),startOfDayTimeStamp=startOfDay.getTime(),timeDifferenceToday=currentTimeStamp-startOfDayTimeStamp,asideToday=timeDifferenceToday/1e3/60/60/24,asideTodayHour=timeDifferenceToday/36e5,c[e(246)]("#pBar_day")[e(187)]=asideTodayHour,dayPercentage=(100*asideToday)[e(406)](2),displayDayPercentage="100.00"===dayPercentage?e(444):dayPercentage+"%",c.querySelector(e(393))[e(562)]=displayDayPercentage,c[e(246)](".schedule-r3 .schedule-d1 .aside-span2")[e(562)]=(Math[e(437)](10*(24-asideTodayHour))/10).toFixed(1)+" / 024",month=o.getMonth()+1,day=o.getDate(),month=month>9?month:"0"+month,day=day>9?day:"0"+day,week={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"},document[e(246)](e(586)).innerHTML=o[e(272)]()+"-"+month+"-"+day+" "+week[o[e(193)]()])},PressEscapeKey(e){var t=_0xbb26;27===e[t(518)]&&(document[t(553)](t(330))&&mycpen1js[t(191)](),document[t(553)](t(461))&&document[t(553)]("cf-overshow")&&(document[t(246)](t(574))||document.querySelector(t(520)))&&(document[t(553)](t(234))&&closeShow(),document.getElementById("mycpen1-link-page-tag")&&mycpen1js.linkPageCloseShow()))},linkPageOpenMeShow(e){var t=_0xbb26,a=t(334),n="ok",o=t(214),s=document[t(553)](t(552));s&&(document.getElementById("cf-overlay")||s[t(168)](t(568),o)),e[t(358)]();var c,r=e[t(608)].dataset[t(394)][t(290)](/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/,"$1:$2$3");c=a+t(341)+r,"ok"==n&&(n="no",mycpen1js[t(584)](c))},linkPageOpenMeShowV2(e){var t=_0xbb26,a={apipublicurl:t(334)},n="ok",o=document[t(553)]("mycpen1-link-page-tag");o&&(document[t(553)](t(461))||o[t(168)](t(568),'\n <div id="cf-overlay" class="cf-new-add" onclick="mycpen1js.linkPageCloseShow()"></div>\n <div id="cf-overshow" class="cf-new-add"></div>\n ')),e[t(358)]();var s,c=encodeURIComponent(e[t(608)][t(560)][t(207)]);s=a[t(492)]+t(199)+c,"ok"==n&&(n="no",mycpen1js[t(584)](s))},linkPageCloseShow(){var e=_0xbb26;document[e(553)](e(461))[e(176)]-=e(296),document[e(553)](e(256)).className-="cf-show-now",setTimeout((function(){var t=e,a=document[t(225)](t(291)),n=document[t(225)]("#cf-overshow > .cf-overshow-close");a[t(274)]((function(e){e[t(194)]()}));for(var o=1;o<n[t(564)];o++)n[o].remove()}),100)},linkPageFetchShow(_0x539ded){var _0x2d9679=_0xbb26,_0x59a2c9=_0x2d9679(606);fetch(_0x539ded).then((e=>e[_0x2d9679(260)]()))[_0x2d9679(192)]((_0x2f1ec8=>{var _0x575d3a=_0x2d9679;noClick="ok";var _0x5924c7=_0x2f1ec8[_0x575d3a(447)],_0x5c089e=eval(_0x2f1ec8.article_data);0!==_0x5924c7[_0x575d3a(467)]?(mycpen1js[_0x575d3a(496)](_0x5924c7,_0x5c089e),document[_0x575d3a(553)](_0x575d3a(461))[_0x575d3a(176)]=_0x575d3a(296),document[_0x575d3a(553)]("cf-overshow")[_0x575d3a(168)](_0x575d3a(183),_0x59a2c9)):btf[_0x575d3a(221)](_0x575d3a(558))}))[_0x2d9679(544)]((e=>{var t=_0x2d9679;btf.snackbarShow(t(415))}))},linkPageLoadFcircleShow(e,t){for(var a=_0xbb26,n=a(374)+e[a(219)]+a(281)+e[a(394)]+'">'+e[a(207)]+'</a>\n </div>\n <div class="cf-overshow-content">\n ',o=0;o<e.article_num;o++){var s=t[o];let e="";Date.now()-new Date(s[a(352)]+a(396)).getTime()<=1728e5&&(e='style="color: var(--mycpen1-main); opacity: 1;"'),n+=a(536)+s[a(394)]+a(570)+s[a(172)]+'">'+s[a(172)]+a(506)+e+">"+s[a(352)]+a(477)}n+=a(266),document[a(553)](a(256))[a(168)]("beforeend",n),document[a(553)](a(256))[a(176)]=a(296)},linkPageRssAliveCheck(){var e=_0xbb26;apiurl=e(334),rssAliveCheckUrl=apiurl+e(337),fetch(rssAliveCheckUrl)[e(192)]((e=>e.json()))[e(192)]((t=>{var a=e,n=t[a(557)],o=t.not_lost_friends,s=t[a(434)];let c=[];for(const e in n){let t=n[e];t=t[a(290)](/^https?:\/\//,""),t=t[a(290)](/\/$/,""),c.push(t)}let r=[];for(const e in o){let t=o[e];t=t[a(290)](/^https?:\/\//,""),t=t[a(290)](/\/$/,""),r[a(359)](t)}document[a(225)](a(329))[a(274)]((e=>{var t=a;if(e){let a=e[t(418)]("data-link").replace(/^https?:\/\//,"");a=a[t(290)](/\/$/,""),s>0?r[t(304)](a)?e.classList[t(301)]("flink-mycpen1-rss-not-lost-friends"):c[t(304)](a)?e[t(247)][t(301)](t(268)):e[t(247)].add(t(383)):0===s&&e[t(247)][t(301)]("flink-mycpen1-rss-lost-friends")}}))}))},NzcheckLink:async e=>{var t=_0xbb26;const a=document[t(225)](e);if(a){let e=new RegExp(/^[#].*/);for(let s=0;s<a.length;s++){const c=a[s];var n=c[t(478)](t(398)),o=c[t(247)][t(165)]("already-redirect-link");if(!n&&!o){let a=c[t(418)](t(245)),n=c[t(418)](t(354)),o=c[t(418)](t(218));e.test(a)||o===t(364)||o===t(515)||"category"===o||o===t(361)||"javascript:void(0);"===a||(await mycpen1js[t(322)](a)||n?!await mycpen1js.NzcheckLocalSite(a)&&n===t(556)&&c[t(257)]("href",t(237)+btoa(a)+t(534)):c[t(257)](t(245),t(237)+btoa(a)))}c.classList.add(t(575))}}},NzcheckLocalSite:async e=>{var t=_0xbb26;try{const a=["localhost:4000",t(593),"mycpen.cn"];let n=!1;for(let o=0;o<a[t(564)];o++){const s=a[o];if(e[t(304)](s)){n=!0;break}}return n}catch(e){return!0}},cookieConsent(){var e=_0xbb26;window[e(380)](e(402),(()=>{var t=e;window[t(298)][t(387)]({type:"info",theme:t(356),static:!1,position:t(540),content:{message:"我们使用 cookie 来确保在我们的网站上为您提供最佳体验。",dismiss:"接受",allow:"接受",deny:"拒绝",link:!1},palette:{popup:{background:t(460),text:t(592)},button:{background:t(318)}}})}))}};function whenDOMReadyMycpen1JS(){var e=_0x299377;mycpen1js[e(239)](),mycpen1js.getFooterRandomFlink(),mycpen1js.removeBodyPaceClass(),mycpen1js[e(528)](),mycpen1js.categoryPageActive(),mycpen1js[e(292)](),mycpen1js[e(261)](),document.getElementById("mycpen1-essay-page-tag")&&(mycpen1js[e(240)](),mycpen1js[e(392)](),window.onresize=()=>{var t=e;document[t(553)](t(541))&&(mycpen1js.essayReflashEssayWaterFall(),setTimeout((()=>{mycpen1js[t(392)]()}),300))}),document[e(553)](e(267))[e(380)]("click",(function(){setTimeout(mycpen1js.switchPostChart,100)})),document[e(553)](e(175))[e(380)](e(458),(function(){setTimeout(mycpen1js[e(577)],100)})),document.getElementById("darkmode_consoleSwitch")[e(380)](e(458),(function(){setTimeout(mycpen1js.switchPostChart,100)})),document[e(553)](e(357))[e(380)](e(458),(function(){setTimeout(mycpen1js.switchPostChart,100)})),mycpen1js[e(561)](),mycpen1js[e(315)](),document[e(553)](e(397))&&(mycpen1js[e(210)](),setInterval((()=>{mycpen1js[e(210)]()}),1e3)),document[e(553)](e(491))&&mycpen1js[e(580)](),document.getElementById(e(552))&&(mycpen1js[e(410)](e(197)),mycpen1js[e(410)]("#article-container .flink .flink-list > .flink-list-item.失联 > a")),document[e(553)]("mycpen1-about-page-tag")&&mycpen1js[e(410)](e(452)),document[e(553)]("post-comment")&&setInterval((()=>{var t=e;if(document[t(246)](t(588))){mycpen1js[t(410)](t(442));document.querySelectorAll(".tk-avatar.tk-clickable:not(.already-clear-clickEvent)")[t(274)]((e=>{var a=t;e[a(247)].add("already-clear-clickEvent");const n=document.createElement("a");for(Array[a(525)](e[a(573)])[a(274)]((e=>{var t=a;n[t(257)](e[t(207)],e[t(187)])}));e[a(457)];)n.appendChild(e[a(457)]);e[a(589)].replaceChild(n,e);const o=n[a(179)][a(420)][a(420)].firstElementChild[a(418)]("href");n[a(257)](a(245),o),n[a(257)](a(316),a(416)),n.setAttribute(a(218),a(446))}))}}),1e3)}mycpen1js[_0x299377(330)](),document[_0x299377(181)](_0x299377(325),mycpen1js[_0x299377(550)]),document.addEventListener(_0x299377(325),mycpen1js[_0x299377(550)]),window[_0x299377(456)]=mycpen1js[_0x299377(305)],mycpen1js[_0x299377(331)](),whenDOMReadyMycpen1JS(),document[_0x299377(380)](_0x299377(412),whenDOMReadyMycpen1JS);
|