mycpen-blog 0.0.0-wlucboffkr → 0.0.0-wlujbyedjj
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 +133 -142
- package/baidu_urls.txt +6 -6
- package/baidusitemap.xml +20 -40
- package/css/index.css +1 -1
- package/img/siteshot-2.jpg +0 -0
- package/img/siteshot.jpg +0 -0
- 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 +63 -208
- package/sitemap.xml +108 -174
- 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
|
Binary file
|
package/img/siteshot.jpg
CHANGED
|
Binary file
|
package/js/APlayer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("APlayer",[],t):"object"==typeof exports?exports.APlayer=t():e.APlayer=t()}(window,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var a=t[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=41)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=/mobile/i.test(window.navigator.userAgent),a={secondToTime:function(e){var t=Math.floor(e/3600),n=Math.floor((e-3600*t)/60),i=Math.floor(e-3600*t-60*n);return(t>0?[t,n,i]:[n,i]).map((function(e){return e<10?"0"+e:""+e})).join(":")},getElementViewLeft:function(e){var t=e.offsetLeft,n=e.offsetParent,i=document.body.scrollLeft+document.documentElement.scrollLeft;if(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement)for(;null!==n&&n!==e;)t+=n.offsetLeft,n=n.offsetParent;else for(;null!==n;)t+=n.offsetLeft,n=n.offsetParent;return t-i},getElementViewTop:function(e,t){for(var n,i=e.offsetTop,a=e.offsetParent;null!==a;)i+=a.offsetTop,a=a.offsetParent;return n=document.body.scrollTop+document.documentElement.scrollTop,t?i:i-n},isMobile:i,storage:{set:function(e,t){localStorage.setItem(e,t)},get:function(e){return localStorage.getItem(e)}},nameMap:{dragStart:i?"touchstart":"mousedown",dragMove:i?"touchmove":"mousemove",dragEnd:i?"touchend":"mouseup"},randomOrder:function(e){return function(e){for(var t=e.length-1;t>=0;t--){var n=Math.floor(Math.random()*(t+1)),i=e[n];e[n]=e[t],e[t]=i}return e}([].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(Array(e))).map((function(e,t){return t})))}};t.default=a},function(e,t,n){var i=n(2);e.exports=function(e){"use strict";e=e||{};var t="",n=i.$each,a=e.audio,r=(e.$value,e.$index,i.$escape),o=e.theme,s=e.index;return n(a,(function(e,n){t+='\n<li>\n <span class="aplayer-list-cur" style="background-color: ',t+=r(e.theme||o),t+=';"></span>\n <span class="aplayer-list-index">',t+=r(n+s),t+='</span>\n <span class="aplayer-list-title">',t+=r(e.name),t+='</span>\n <span class="aplayer-list-author">',t+=r(e.artist),t+="</span>\n</li>\n"})),t}},function(e,t,n){"use strict";e.exports=n(15)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=g(n(33)),a=g(n(32)),r=g(n(31)),o=g(n(30)),s=g(n(29)),l=g(n(28)),u=g(n(27)),c=g(n(26)),p=g(n(25)),d=g(n(24)),h=g(n(23)),y=g(n(22)),f=g(n(21)),v=g(n(20)),m=g(n(19));function g(e){return e&&e.__esModule?e:{default:e}}var w={play:i.default,pause:a.default,volumeUp:r.default,volumeDown:o.default,volumeOff:s.default,orderRandom:l.default,orderList:u.default,menu:c.default,loopAll:p.default,loopOne:d.default,loopNone:h.default,loading:y.default,right:f.default,skip:v.default,lrc:m.default};t.default=w},function(e,t,n){"use strict";var i,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":a(window))&&(i=window)}e.exports=i},function(e,t,n){"use strict";var i,a,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};void 0===(a="function"==typeof(i=function(){if("object"===("undefined"==typeof window?"undefined":r(window))&&void 0!==document.querySelectorAll&&void 0!==window.pageYOffset&&void 0!==history.pushState){var e=function(e,t,n,i){return n>i?t:e+(t-e)*((a=n/i)<.5?4*a*a*a:(a-1)*(2*a-2)*(2*a-2)+1);var a},t=function(t,n,i,a){n=n||500;var r=(a=a||window).scrollTop||window.pageYOffset;if("number"==typeof t)var o=parseInt(t);else o=function(e,t){return"HTML"===e.nodeName?-t:e.getBoundingClientRect().top+t}(t,r);var s=Date.now(),l=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){window.setTimeout(e,15)};!function u(){var c=Date.now()-s;a!==window?a.scrollTop=e(r,o,c,n):window.scroll(0,e(r,o,c,n)),c>n?"function"==typeof i&&i(t):l(u)}()},n=function(e){if(!e.defaultPrevented){e.preventDefault(),location.hash!==this.hash&&window.history.pushState(null,null,this.hash);var n=document.getElementById(this.hash.substring(1));if(!n)return;t(n,500,(function(e){location.replace("#"+e.id)}))}};return document.addEventListener("DOMContentLoaded",(function(){for(var e,t=document.querySelectorAll('.aplayer a[href^="#"]:not([href="#"])'),i=t.length;e=t[--i];)e.addEventListener("click",n,!1)})),t}})?i.call(t,n,t,e):i)||(e.exports=a)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=s(n(1)),r=s(n(0)),o=s(n(5));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,this.index=0,this.audios=this.player.options.audio,this.bindEvents()}return i(e,[{key:"bindEvents",value:function(){var e=this;this.player.template.list.addEventListener("click",(function(t){var n=void 0;n="LI"===t.target.tagName.toUpperCase()?t.target:t.target.parentElement;var i=parseInt(n.getElementsByClassName("aplayer-list-index")[0].innerHTML)-1;i!==e.index?(e.switch(i),e.player.play()):e.player.toggle()}))}},{key:"show",value:function(){this.player.events.trigger("listshow"),this.player.template.list.classList.remove("aplayer-list-hide"),this.player.template.listOl.scrollTop=33*this.index}},{key:"hide",value:function(){this.player.events.trigger("listhide"),this.player.template.list.classList.add("aplayer-list-hide")}},{key:"toggle",value:function(){this.player.template.list.classList.contains("aplayer-list-hide")?this.show():this.hide()}},{key:"add",value:function(e){this.player.events.trigger("listadd",{audios:e}),"[object Array]"!==Object.prototype.toString.call(e)&&(e=[e]),e.map((function(e){return e.name=e.name||e.title||"Audio name",e.artist=e.artist||e.author||"Audio artist",e.cover=e.cover||e.pic,e.type=e.type||"normal",e}));var t=!(this.audios.length>1),n=0===this.audios.length;this.player.template.listOl.innerHTML+=(0,a.default)({theme:this.player.options.theme,audio:e,index:this.audios.length+1}),this.audios=this.audios.concat(e),t&&this.audios.length>1&&this.player.container.classList.add("aplayer-withlist"),this.player.randomOrder=r.default.randomOrder(this.audios.length),this.player.template.listCurs=this.player.container.querySelectorAll(".aplayer-list-cur"),this.player.template.listCurs[this.audios.length-1].style.backgroundColor=e.theme||this.player.options.theme,n&&("random"===this.player.options.order?this.switch(this.player.randomOrder[0]):this.switch(0))}},{key:"remove",value:function(e){if(this.player.events.trigger("listremove",{index:e}),this.audios[e])if(this.audios.length>1){var t=this.player.container.querySelectorAll(".aplayer-list li");t[e].remove(),this.audios.splice(e,1),this.player.lrc&&this.player.lrc.remove(e),e===this.index&&(this.audios[e]?this.switch(e):this.switch(e-1)),this.index>e&&this.index--;for(var n=e;n<t.length;n++)t[n].getElementsByClassName("aplayer-list-index")[0].textContent=n;1===this.audios.length&&this.player.container.classList.remove("aplayer-withlist"),this.player.template.listCurs=this.player.container.querySelectorAll(".aplayer-list-cur")}else this.clear()}},{key:"switch",value:function(e){if(this.player.events.trigger("listswitch",{index:e}),void 0!==e&&this.audios[e]){this.index=e;var t=this.audios[this.index];this.player.template.pic.style.backgroundImage=t.cover?"url('"+t.cover+"')":"",this.player.theme(this.audios[this.index].theme||this.player.options.theme,this.index,!1),this.player.template.title.innerHTML=t.name,this.player.template.author.innerHTML=t.artist?" - "+t.artist:"";var n=this.player.container.getElementsByClassName("aplayer-list-light")[0];n&&n.classList.remove("aplayer-list-light"),this.player.container.querySelectorAll(".aplayer-list li")[this.index].classList.add("aplayer-list-light"),(0,o.default)(33*this.index,500,null,this.player.template.listOl),this.player.setAudio(t),this.player.lrc&&this.player.lrc.switch(this.index),this.player.lrc&&this.player.lrc.update(0),1!==this.player.duration&&(this.player.template.dtime.innerHTML=r.default.secondToTime(this.player.duration))}}},{key:"clear",value:function(){this.player.events.trigger("listclear"),this.index=0,this.player.container.classList.remove("aplayer-withlist"),this.player.pause(),this.audios=[],this.player.lrc&&this.player.lrc.clear(),this.player.audio.src="",this.player.template.listOl.innerHTML="",this.player.template.pic.style.backgroundImage="",this.player.theme(this.player.options.theme,this.index,!1),this.player.template.title.innerHTML="No audio",this.player.template.author.innerHTML="",this.player.bar.set("loaded",0,"width"),this.player.template.dtime.innerHTML=r.default.secondToTime(0)}}]),e}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.events={},this.audioEvents=["abort","canplay","canplaythrough","durationchange","emptied","ended","error","loadeddata","loadedmetadata","loadstart","mozaudioavailable","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],this.playerEvents=["destroy","listshow","listhide","listadd","listremove","listswitch","listclear","noticeshow","noticehide","lrcshow","lrchide"]}return i(e,[{key:"on",value:function(e,t){this.type(e)&&"function"==typeof t&&(this.events[e]||(this.events[e]=[]),this.events[e].push(t))}},{key:"trigger",value:function(e,t){if(this.events[e]&&this.events[e].length)for(var n=0;n<this.events[e].length;n++)this.events[e][n](t)}},{key:"type",value:function(e){return-1!==this.playerEvents.indexOf(e)?"player":-1!==this.audioEvents.indexOf(e)?"audio":(console.error("Unknown event name: "+e),null)}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,window.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},this.types=["loading"],this.init()}return i(e,[{key:"init",value:function(){var e=this;this.types.forEach((function(t){e["init"+t+"Checker"]()}))}},{key:"initloadingChecker",value:function(){var e=this,t=0,n=0,i=!1;this.loadingChecker=setInterval((function(){e.enableloadingChecker&&(n=e.player.audio.currentTime,i||n!==t||e.player.audio.paused||(e.player.container.classList.add("aplayer-loading"),i=!0),i&&n>t&&!e.player.audio.paused&&(e.player.container.classList.remove("aplayer-loading"),i=!1),t=n)}),100)}},{key:"enable",value:function(e){this["enable"+e+"Checker"]=!0,"fps"===e&&this.initfpsChecker()}},{key:"disable",value:function(e){this["enable"+e+"Checker"]=!1}},{key:"destroy",value:function(){var e=this;this.types.forEach((function(t){e["enable"+t+"Checker"]=!1,e[t+"Checker"]&&clearInterval(e[t+"Checker"])}))}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=o(n(0)),r=o(n(3));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,this.initPlayButton(),this.initPlayBar(),this.initOrderButton(),this.initLoopButton(),this.initMenuButton(),a.default.isMobile||this.initVolumeButton(),this.initMiniSwitcher(),this.initSkipButton(),this.initLrcButton()}return i(e,[{key:"initPlayButton",value:function(){var e=this;this.player.template.pic.addEventListener("click",(function(){e.player.toggle()}))}},{key:"initPlayBar",value:function(){var e=this,t=function(t){var n=((t.clientX||t.changedTouches[0].clientX)-a.default.getElementViewLeft(e.player.template.barWrap))/e.player.template.barWrap.clientWidth;n=Math.max(n,0),n=Math.min(n,1),e.player.bar.set("played",n,"width"),e.player.lrc&&e.player.lrc.update(n*e.player.duration),e.player.template.ptime.innerHTML=a.default.secondToTime(n*e.player.duration)},n=function n(i){document.removeEventListener(a.default.nameMap.dragEnd,n),document.removeEventListener(a.default.nameMap.dragMove,t);var r=((i.clientX||i.changedTouches[0].clientX)-a.default.getElementViewLeft(e.player.template.barWrap))/e.player.template.barWrap.clientWidth;r=Math.max(r,0),r=Math.min(r,1),e.player.bar.set("played",r,"width"),e.player.seek(e.player.bar.get("played","width")*e.player.duration),e.player.disableTimeupdate=!1};this.player.template.barWrap.addEventListener(a.default.nameMap.dragStart,(function(){e.player.disableTimeupdate=!0,document.addEventListener(a.default.nameMap.dragMove,t),document.addEventListener(a.default.nameMap.dragEnd,n)}))}},{key:"initVolumeButton",value:function(){var e=this;this.player.template.volumeButton.addEventListener("click",(function(){e.player.audio.muted?(e.player.audio.muted=!1,e.player.switchVolumeIcon(),e.player.bar.set("volume",e.player.volume(),"height")):(e.player.audio.muted=!0,e.player.switchVolumeIcon(),e.player.bar.set("volume",0,"height"))}));var t=function(t){var n=1-((t.clientY||t.changedTouches[0].clientY)-a.default.getElementViewTop(e.player.template.volumeBar,e.player.options.fixed))/e.player.template.volumeBar.clientHeight;n=Math.max(n,0),n=Math.min(n,1),e.player.volume(n)},n=function n(i){e.player.template.volumeBarWrap.classList.remove("aplayer-volume-bar-wrap-active"),document.removeEventListener(a.default.nameMap.dragEnd,n),document.removeEventListener(a.default.nameMap.dragMove,t);var r=1-((i.clientY||i.changedTouches[0].clientY)-a.default.getElementViewTop(e.player.template.volumeBar,e.player.options.fixed))/e.player.template.volumeBar.clientHeight;r=Math.max(r,0),r=Math.min(r,1),e.player.volume(r)};this.player.template.volumeBarWrap.addEventListener(a.default.nameMap.dragStart,(function(){e.player.template.volumeBarWrap.classList.add("aplayer-volume-bar-wrap-active"),document.addEventListener(a.default.nameMap.dragMove,t),document.addEventListener(a.default.nameMap.dragEnd,n)}))}},{key:"initOrderButton",value:function(){var e=this;this.player.template.order.addEventListener("click",(function(){"list"===e.player.options.order?(e.player.options.order="random",e.player.template.order.innerHTML=r.default.orderRandom):"random"===e.player.options.order&&(e.player.options.order="list",e.player.template.order.innerHTML=r.default.orderList)}))}},{key:"initLoopButton",value:function(){var e=this;this.player.template.loop.addEventListener("click",(function(){e.player.list.audios.length>1?"one"===e.player.options.loop?(e.player.options.loop="none",e.player.template.loop.innerHTML=r.default.loopNone):"none"===e.player.options.loop?(e.player.options.loop="all",e.player.template.loop.innerHTML=r.default.loopAll):"all"===e.player.options.loop&&(e.player.options.loop="one",e.player.template.loop.innerHTML=r.default.loopOne):"one"===e.player.options.loop||"all"===e.player.options.loop?(e.player.options.loop="none",e.player.template.loop.innerHTML=r.default.loopNone):"none"===e.player.options.loop&&(e.player.options.loop="all",e.player.template.loop.innerHTML=r.default.loopAll)}))}},{key:"initMenuButton",value:function(){var e=this;this.player.template.menu.addEventListener("click",(function(){e.player.list.toggle()}))}},{key:"initMiniSwitcher",value:function(){var e=this;this.player.template.miniSwitcher.addEventListener("click",(function(){e.player.setMode("mini"===e.player.mode?"normal":"mini")}))}},{key:"initSkipButton",value:function(){var e=this;this.player.template.skipBackButton.addEventListener("click",(function(){e.player.skipBack()})),this.player.template.skipForwardButton.addEventListener("click",(function(){e.player.skipForward()})),this.player.template.skipPlayButton.addEventListener("click",(function(){e.player.toggle()}))}},{key:"initLrcButton",value:function(){var e=this;this.player.template.lrcButton.addEventListener("click",(function(){e.player.template.lrcButton.classList.contains("aplayer-icon-lrc-inactivity")?(e.player.template.lrcButton.classList.remove("aplayer-icon-lrc-inactivity"),e.player.lrc&&e.player.lrc.show()):(e.player.template.lrcButton.classList.add("aplayer-icon-lrc-inactivity"),e.player.lrc&&e.player.lrc.hide())}))}}]),e}();t.default=s},function(e,t,n){var i=n(2);e.exports=function(e){"use strict";e=e||{};var t="",n=i.$each,a=e.lyrics,r=(e.$value,e.$index,i.$escape);return n(a,(function(e,n){t+="\n <p",0===n&&(t+=' class="aplayer-lrc-current"'),t+=">",t+=r(e[1]),t+="</p>\n"})),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=(i=n(10))&&i.__esModule?i:{default:i},o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.container=t.container,this.async=t.async,this.player=t.player,this.parsed=[],this.index=0,this.current=[]}return a(e,[{key:"show",value:function(){this.player.events.trigger("lrcshow"),this.player.template.lrcWrap.classList.remove("aplayer-lrc-hide")}},{key:"hide",value:function(){this.player.events.trigger("lrchide"),this.player.template.lrcWrap.classList.add("aplayer-lrc-hide")}},{key:"toggle",value:function(){this.player.template.lrcWrap.classList.contains("aplayer-lrc-hide")?this.show():this.hide()}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.player.audio.currentTime;if(this.index>this.current.length-1||e<this.current[this.index][0]||!this.current[this.index+1]||e>=this.current[this.index+1][0])for(var t=0;t<this.current.length;t++)e>=this.current[t][0]&&(!this.current[t+1]||e<this.current[t+1][0])&&(this.index=t,this.container.style.transform="translateY("+16*-this.index+"px)",this.container.style.webkitTransform="translateY("+16*-this.index+"px)",this.container.getElementsByClassName("aplayer-lrc-current")[0].classList.remove("aplayer-lrc-current"),this.container.getElementsByTagName("p")[t].classList.add("aplayer-lrc-current"))}},{key:"switch",value:function(e){var t=this;if(!this.parsed[e])if(this.async){this.parsed[e]=[["00:00","Loading"]];var n=new XMLHttpRequest;n.onreadystatechange=function(){e===t.player.list.index&&4===n.readyState&&(n.status>=200&&n.status<300||304===n.status?t.parsed[e]=t.parse(n.responseText):(t.player.notice("LRC file request fails: status "+n.status),t.parsed[e]=[["00:00","Not available"]]),t.container.innerHTML=(0,r.default)({lyrics:t.parsed[e]}),t.update(0),t.current=t.parsed[e])};var i=this.player.list.audios[e].lrc;n.open("get",i,!0),n.send(null)}else this.player.list.audios[e].lrc?this.parsed[e]=this.parse(this.player.list.audios[e].lrc):this.parsed[e]=[["00:00","Not available"]];this.container.innerHTML=(0,r.default)({lyrics:this.parsed[e]}),this.update(0),this.current=this.parsed[e]}},{key:"parse",value:function(e){if(e){for(var t=(e=e.replace(/([^\]^\n])\[/g,(function(e,t){return t+"\n["}))).split("\n"),n=[],i=t.length,a=0;a<i;a++){var r=t[a].match(/\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/g),o=t[a].replace(/.*\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/g,"").replace(/<(\d{2}):(\d{2})(\.(\d{2,3}))?>/g,"").replace(/^\s+|\s+$/g,"");if(r)for(var s=r.length,l=0;l<s;l++){var u=/\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/.exec(r[l]),c=60*u[1]+parseInt(u[2])+(u[4]?parseInt(u[4])/(2===(u[4]+"").length?100:1e3):0);n.push([c,o])}}return(n=n.filter((function(e){return e[1]}))).sort((function(e,t){return e[0]-t[0]})),n}return[]}},{key:"remove",value:function(e){this.parsed.splice(e,1)}},{key:"clear",value:function(){this.parsed=[],this.container.innerHTML=""}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=(i=n(0))&&i.__esModule?i:{default:i},o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.storageName=t.options.storageName,this.data=JSON.parse(r.default.storage.get(this.storageName)),this.data||(this.data={}),this.data.volume=this.data.volume||t.options.volume}return a(e,[{key:"get",value:function(e){return this.data[e]}},{key:"set",value:function(e,t){this.data[e]=t,r.default.storage.set(this.storageName,JSON.stringify(this.data))}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.elements={},this.elements.volume=t.volume,this.elements.played=t.played,this.elements.loaded=t.loaded}return i(e,[{key:"set",value:function(e,t,n){t=Math.max(t,0),t=Math.min(t,1),this.elements[e].style[n]=100*t+"%"}},{key:"get",value:function(e,t){return parseFloat(this.elements[e].style[t])/100}}]),e}();t.default=a},function(e,t,n){"use strict";(function(t){e.exports=!1;try{e.exports="[object process]"===Object.prototype.toString.call(t.process)}catch(e){}}).call(this,n(4))},function(e,t,n){"use strict";(function(t){var i=n(14),a=Object.create(i?t:window),r=/["&'<>]/;a.$escape=function(e){return function(e){var t=""+e,n=r.exec(t);if(!n)return e;var i="",a=void 0,o=void 0,s=void 0;for(a=n.index,o=0;a<t.length;a++){switch(t.charCodeAt(a)){case 34:s=""";break;case 38:s="&";break;case 39:s="'";break;case 60:s="<";break;case 62:s=">";break;default:continue}o!==a&&(i+=t.substring(o,a)),o=a+1,i+=s}return o!==a?i+t.substring(o,a):i}(function e(t){return"string"!=typeof t&&(t=null==t?"":"function"==typeof t?e(t.call(t)):JSON.stringify(t)),t}(e))},a.$each=function(e,t){if(Array.isArray(e))for(var n=0,i=e.length;n<i;n++)t(e[n],n);else for(var a in e)t(e[a],a)},e.exports=a}).call(this,n(4))},function(e,t,n){var i=n(2);e.exports=function(e){"use strict";var t="",a=(e=e||{}).options,r=e.cover,o=i.$escape,s=e.icons,l=function(e){return t+=e},u=e.getObject;return e.theme,e.audio,e.index,a.fixed?(t+='\n<div class="aplayer-list',a.listFolded&&(t+=" aplayer-list-hide"),t+='"',a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n <ol",a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n ",l(n(1)(u({theme:a.theme,audio:a.audio,index:1}))),t+='\n </ol>\n</div>\n<div class="aplayer-body">\n <div class="aplayer-pic" style="',r&&(t+="background-image: url("",t+=o(r),t+="");"),t+="background-color: ",t+=o(a.theme),t+=';">\n <div class="aplayer-button aplayer-play">',t+=s.play,t+='</div>\n </div>\n <div class="aplayer-info" style="display: none;">\n <div class="aplayer-music">\n <span class="aplayer-title">No audio</span>\n <span class="aplayer-author"></span>\n </div>\n <div class="aplayer-controller">\n <div class="aplayer-bar-wrap">\n <div class="aplayer-bar">\n <div class="aplayer-loaded" style="width: 0"></div>\n <div class="aplayer-played" style="width: 0; background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-thumb" style="background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-loading-icon">',t+=s.loading,t+='</span>\n </span>\n </div>\n </div>\n </div>\n <div class="aplayer-time">\n <span class="aplayer-time-inner">\n <span class="aplayer-ptime">00:00</span> / <span class="aplayer-dtime">00:00</span>\n </span>\n <span class="aplayer-icon aplayer-icon-back">\n ',t+=s.skip,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-play">\n ',t+=s.play,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-forward">\n ',t+=s.skip,t+='\n </span>\n <div class="aplayer-volume-wrap">\n <button type="button" class="aplayer-icon aplayer-icon-volume-down">\n ',t+=s.volumeDown,t+='\n </button>\n <div class="aplayer-volume-bar-wrap">\n <div class="aplayer-volume-bar">\n <div class="aplayer-volume" style="height: 80%; background: ',t+=o(a.theme),t+=';"></div>\n </div>\n </div>\n </div>\n <button type="button" class="aplayer-icon aplayer-icon-order">\n ',"list"===a.order?t+=s.orderList:"random"===a.order&&(t+=s.orderRandom),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-loop">\n ',"one"===a.loop?t+=s.loopOne:"all"===a.loop?t+=s.loopAll:"none"===a.loop&&(t+=s.loopNone),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-menu">\n ',t+=s.menu,t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-lrc">\n ',t+=s.lrc,t+='\n </button>\n </div>\n </div>\n </div>\n <div class="aplayer-notice"></div>\n <div class="aplayer-miniswitcher"><button class="aplayer-icon">',t+=s.right,t+='</button></div>\n</div>\n<div class="aplayer-lrc">\n <div class="aplayer-lrc-contents" style="transform: translateY(0); -webkit-transform: translateY(0);"></div>\n</div>\n'):(t+='\n<div class="aplayer-body">\n <div class="aplayer-pic" style="',r&&(t+="background-image: url("",t+=o(r),t+="");"),t+="background-color: ",t+=o(a.theme),t+=';">\n <div class="aplayer-button aplayer-play">',t+=s.play,t+='</div>\n </div>\n <div class="aplayer-info">\n <div class="aplayer-music">\n <span class="aplayer-title">No audio</span>\n <span class="aplayer-author"></span>\n </div>\n <div class="aplayer-lrc">\n <div class="aplayer-lrc-contents" style="transform: translateY(0); -webkit-transform: translateY(0);"></div>\n </div>\n <div class="aplayer-controller">\n <div class="aplayer-bar-wrap">\n <div class="aplayer-bar">\n <div class="aplayer-loaded" style="width: 0"></div>\n <div class="aplayer-played" style="width: 0; background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-thumb" style="background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-loading-icon">',t+=s.loading,t+='</span>\n </span>\n </div>\n </div>\n </div>\n <div class="aplayer-time">\n <span class="aplayer-time-inner">\n <span class="aplayer-ptime">00:00</span> / <span class="aplayer-dtime">00:00</span>\n </span>\n <span class="aplayer-icon aplayer-icon-back">\n ',t+=s.skip,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-play">\n ',t+=s.play,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-forward">\n ',t+=s.skip,t+='\n </span>\n <div class="aplayer-volume-wrap">\n <button type="button" class="aplayer-icon aplayer-icon-volume-down">\n ',t+=s.volumeDown,t+='\n </button>\n <div class="aplayer-volume-bar-wrap">\n <div class="aplayer-volume-bar">\n <div class="aplayer-volume" style="height: 80%; background: ',t+=o(a.theme),t+=';"></div>\n </div>\n </div>\n </div>\n <button type="button" class="aplayer-icon aplayer-icon-order">\n ',"list"===a.order?t+=s.orderList:"random"===a.order&&(t+=s.orderRandom),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-loop">\n ',"one"===a.loop?t+=s.loopOne:"all"===a.loop?t+=s.loopAll:"none"===a.loop&&(t+=s.loopNone),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-menu">\n ',t+=s.menu,t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-lrc">\n ',t+=s.lrc,t+='\n </button>\n </div>\n </div>\n </div>\n <div class="aplayer-notice"></div>\n <div class="aplayer-miniswitcher"><button class="aplayer-icon">',t+=s.right,t+='</button></div>\n</div>\n<div class="aplayer-list',a.listFolded&&(t+=" aplayer-list-hide"),t+='"',a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n <ol",a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n ",l(n(1)(u({theme:a.theme,audio:a.audio,index:1}))),t+="\n </ol>\n</div>\n"),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=o(n(3)),r=o(n(16));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.container=t.container,this.options=t.options,this.randomOrder=t.randomOrder,this.init()}return i(e,[{key:"init",value:function(){var e="";this.options.audio.length&&(e="random"===this.options.order?this.options.audio[this.randomOrder[0]].cover:this.options.audio[0].cover),this.container.innerHTML=(0,r.default)({options:this.options,icons:a.default,cover:e,getObject:function(e){return e}}),this.lrc=this.container.querySelector(".aplayer-lrc-contents"),this.lrcWrap=this.container.querySelector(".aplayer-lrc"),this.ptime=this.container.querySelector(".aplayer-ptime"),this.info=this.container.querySelector(".aplayer-info"),this.time=this.container.querySelector(".aplayer-time"),this.barWrap=this.container.querySelector(".aplayer-bar-wrap"),this.button=this.container.querySelector(".aplayer-button"),this.body=this.container.querySelector(".aplayer-body"),this.list=this.container.querySelector(".aplayer-list"),this.listOl=this.container.querySelector(".aplayer-list ol"),this.listCurs=this.container.querySelectorAll(".aplayer-list-cur"),this.played=this.container.querySelector(".aplayer-played"),this.loaded=this.container.querySelector(".aplayer-loaded"),this.thumb=this.container.querySelector(".aplayer-thumb"),this.volume=this.container.querySelector(".aplayer-volume"),this.volumeBar=this.container.querySelector(".aplayer-volume-bar"),this.volumeButton=this.container.querySelector(".aplayer-time button"),this.volumeBarWrap=this.container.querySelector(".aplayer-volume-bar-wrap"),this.loop=this.container.querySelector(".aplayer-icon-loop"),this.order=this.container.querySelector(".aplayer-icon-order"),this.menu=this.container.querySelector(".aplayer-icon-menu"),this.pic=this.container.querySelector(".aplayer-pic"),this.title=this.container.querySelector(".aplayer-title"),this.author=this.container.querySelector(".aplayer-author"),this.dtime=this.container.querySelector(".aplayer-dtime"),this.notice=this.container.querySelector(".aplayer-notice"),this.miniSwitcher=this.container.querySelector(".aplayer-miniswitcher"),this.skipBackButton=this.container.querySelector(".aplayer-icon-back"),this.skipForwardButton=this.container.querySelector(".aplayer-icon-forward"),this.skipPlayButton=this.container.querySelector(".aplayer-icon-play"),this.lrcButton=this.container.querySelector(".aplayer-icon-lrc")}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={container:e.element||document.getElementsByClassName("aplayer")[0],mini:e.narrow||e.fixed||!1,fixed:!1,autoplay:!1,mutex:!0,lrcType:e.showlrc||e.lrc||0,preload:"auto",theme:"#b7daff",loop:"all",order:"list",volume:.7,listFolded:e.fixed,listMaxHeight:e.listmaxheight||"250px",audio:e.music||[],storageName:"aplayer-setting"};for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n]);return"[object Array]"!==Object.prototype.toString.call(e.audio)&&(e.audio=[e.audio]),e.audio.map((function(e){return e.name=e.name||e.title||"Audio name",e.artist=e.artist||e.author||"Audio artist",e.cover=e.cover||e.pic,e.type=e.type||"normal",e})),e.audio.length<=1&&"one"===e.loop&&(e.loop="all"),e}},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M26.667 5.333h-21.333c-0 0-0.001 0-0.001 0-1.472 0-2.666 1.194-2.666 2.666 0 0 0 0.001 0 0.001v-0 16c0 0 0 0.001 0 0.001 0 1.472 1.194 2.666 2.666 2.666 0 0 0.001 0 0.001 0h21.333c0 0 0.001 0 0.001 0 1.472 0 2.666-1.194 2.666-2.666 0-0 0-0.001 0-0.001v0-16c0-0 0-0.001 0-0.001 0-1.472-1.194-2.666-2.666-2.666-0 0-0.001 0-0.001 0h0zM5.333 16h5.333v2.667h-5.333v-2.667zM18.667 24h-13.333v-2.667h13.333v2.667zM26.667 24h-5.333v-2.667h5.333v2.667zM26.667 18.667h-13.333v-2.667h13.333v2.667z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M25.468 6.947c-0.326-0.172-0.724-0.151-1.030 0.057l-6.438 4.38v-3.553c0-0.371-0.205-0.71-0.532-0.884-0.326-0.172-0.724-0.151-1.030 0.057l-12 8.164c-0.274 0.186-0.438 0.496-0.438 0.827s0.164 0.641 0.438 0.827l12 8.168c0.169 0.115 0.365 0.174 0.562 0.174 0.16 0 0.321-0.038 0.468-0.116 0.327-0.173 0.532-0.514 0.532-0.884v-3.556l6.438 4.382c0.169 0.115 0.365 0.174 0.562 0.174 0.16 0 0.321-0.038 0.468-0.116 0.327-0.173 0.532-0.514 0.532-0.884v-16.333c0-0.371-0.205-0.71-0.532-0.884z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M22 16l-10.105-10.6-1.895 1.987 8.211 8.613-8.211 8.612 1.895 1.988 8.211-8.613z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M4 16c0-6.6 5.4-12 12-12s12 5.4 12 12c0 1.2-0.8 2-2 2s-2-0.8-2-2c0-4.4-3.6-8-8-8s-8 3.6-8 8 3.6 8 8 8c1.2 0 2 0.8 2 2s-0.8 2-2 2c-6.6 0-12-5.4-12-12z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 29 32"><path d="M2.667 7.027l1.707-1.693 22.293 22.293-1.693 1.707-4-4h-11.64v4l-5.333-5.333 5.333-5.333v4h8.973l-8.973-8.973v0.973h-2.667v-3.64l-4-4zM22.667 17.333h2.667v5.573l-2.667-2.667v-2.907zM22.667 6.667v-4l5.333 5.333-5.333 5.333v-4h-10.907l-2.667-2.667h13.573z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 33 32"><path d="M9.333 9.333h13.333v4l5.333-5.333-5.333-5.333v4h-16v8h2.667v-5.333zM22.667 22.667h-13.333v-4l-5.333 5.333 5.333 5.333v-4h16v-8h-2.667v5.333zM17.333 20v-8h-1.333l-2.667 1.333v1.333h2v5.333h2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 29 32"><path d="M9.333 9.333h13.333v4l5.333-5.333-5.333-5.333v4h-16v8h2.667v-5.333zM22.667 22.667h-13.333v-4l-5.333 5.333 5.333 5.333v-4h16v-8h-2.667v5.333z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 22 32"><path d="M20.8 14.4q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2zM1.6 11.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2zM20.8 20.8q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M0.622 18.334h19.54v7.55l11.052-9.412-11.052-9.413v7.549h-19.54v3.725z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M22.667 4l7 6-7 6 7 6-7 6v-4h-3.653l-3.76-3.76 2.827-2.827 2.587 2.587h2v-8h-2l-12 12h-6v-4h4.347l12-12h3.653v-4zM2.667 8h6l3.76 3.76-2.827 2.827-2.587-2.587h-4.347v-4z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 28 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 28 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8zM20.576 16q0 1.344-0.768 2.528t-2.016 1.664q-0.16 0.096-0.448 0.096-0.448 0-0.8-0.32t-0.32-0.832q0-0.384 0.192-0.64t0.544-0.448 0.608-0.384 0.512-0.64 0.192-1.024-0.192-1.024-0.512-0.64-0.608-0.384-0.544-0.448-0.192-0.64q0-0.48 0.32-0.832t0.8-0.32q0.288 0 0.448 0.096 1.248 0.48 2.016 1.664t0.768 2.528z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 28 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8zM20.576 16q0 1.344-0.768 2.528t-2.016 1.664q-0.16 0.096-0.448 0.096-0.448 0-0.8-0.32t-0.32-0.832q0-0.384 0.192-0.64t0.544-0.448 0.608-0.384 0.512-0.64 0.192-1.024-0.192-1.024-0.512-0.64-0.608-0.384-0.544-0.448-0.192-0.64q0-0.48 0.32-0.832t0.8-0.32q0.288 0 0.448 0.096 1.248 0.48 2.016 1.664t0.768 2.528zM25.152 16q0 2.72-1.536 5.056t-4 3.36q-0.256 0.096-0.448 0.096-0.48 0-0.832-0.352t-0.32-0.8q0-0.704 0.672-1.056 1.024-0.512 1.376-0.8 1.312-0.96 2.048-2.4t0.736-3.104-0.736-3.104-2.048-2.4q-0.352-0.288-1.376-0.8-0.672-0.352-0.672-1.056 0-0.448 0.32-0.8t0.8-0.352q0.224 0 0.48 0.096 2.496 1.056 4 3.36t1.536 5.056zM29.728 16q0 4.096-2.272 7.552t-6.048 5.056q-0.224 0.096-0.448 0.096-0.48 0-0.832-0.352t-0.32-0.8q0-0.64 0.704-1.056 0.128-0.064 0.384-0.192t0.416-0.192q0.8-0.448 1.44-0.896 2.208-1.632 3.456-4.064t1.216-5.152-1.216-5.152-3.456-4.064q-0.64-0.448-1.44-0.896-0.128-0.096-0.416-0.192t-0.384-0.192q-0.704-0.416-0.704-1.056 0-0.448 0.32-0.8t0.832-0.352q0.224 0 0.448 0.096 3.776 1.632 6.048 5.056t2.272 7.552z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 17 32"><path d="M14.080 4.8q2.88 0 2.88 2.048v18.24q0 2.112-2.88 2.112t-2.88-2.112v-18.24q0-2.048 2.88-2.048zM2.88 4.8q2.88 0 2.88 2.048v18.24q0 2.112-2.88 2.112t-2.88-2.112v-18.24q0-2.048 2.88-2.048z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 16 31"><path d="M15.552 15.168q0.448 0.32 0.448 0.832 0 0.448-0.448 0.768l-13.696 8.512q-0.768 0.512-1.312 0.192t-0.544-1.28v-16.448q0-0.96 0.544-1.28t1.312 0.192z"></path></svg>'},function(e,t,n){"use strict";var i,a,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(e){if(i===setTimeout)return setTimeout(e,0);if((i===o||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:o}catch(e){i=o}try{a="function"==typeof clearTimeout?clearTimeout:s}catch(e){a=s}}();var u,c=[],p=!1,d=-1;function h(){p&&u&&(p=!1,u.length?c=u.concat(c):d=-1,c.length&&y())}function y(){if(!p){var e=l(h);p=!0;for(var t=c.length;t;){for(u=c,c=[];++d<t;)u&&u[d].run();d=-1,t=c.length}u=null,p=!1,function(e){if(a===clearTimeout)return clearTimeout(e);if((a===s||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(e);try{a(e)}catch(t){try{return a.call(null,e)}catch(t){return a.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function v(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new f(e,t)),1!==c.length||p||l(y)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=v,r.addListener=v,r.once=v,r.off=v,r.removeListener=v,r.removeAllListeners=v,r.emit=v,r.prependListener=v,r.prependOnceListener=v,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,n){"use strict";(function(e,t){!function(e,n){if(!e.setImmediate){var i,a,r,o,s,l=1,u={},c=!1,p=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?i=function(e){t.nextTick((function(){y(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(o="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(o)&&y(+t.data.slice(o.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),i=function(t){e.postMessage(o+t,"*")}):e.MessageChannel?((r=new MessageChannel).port1.onmessage=function(e){y(e.data)},i=function(e){r.port2.postMessage(e)}):p&&"onreadystatechange"in p.createElement("script")?(a=p.documentElement,i=function(e){var t=p.createElement("script");t.onreadystatechange=function(){y(e),t.onreadystatechange=null,a.removeChild(t),t=null},a.appendChild(t)}):i=function(e){setTimeout(y,0,e)},d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var a={callback:e,args:t};return u[l]=a,i(l),l++},d.clearImmediate=h}function h(e){delete u[e]}function y(e){if(c)setTimeout(y,0,e);else{var t=u[e];if(t){c=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(undefined,n)}}(t)}finally{h(e),c=!1}}}}}("undefined"==typeof self?void 0===e?void 0:e:self)}).call(this,n(4),n(34))},function(e,t,n){"use strict";var i=Function.prototype.apply;function a(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new a(i.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new a(i.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(35),t.setImmediate=setImmediate,t.clearImmediate=clearImmediate},function(e,t,n){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=setTimeout;function a(){}function r(e){if(!(this instanceof r))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],c(e,this)}function o(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,r._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var i;try{i=n(e._value)}catch(e){return void l(t.promise,e)}s(t.promise,i)}else(1===e._state?s:l)(t.promise,e._value)}))):e._deferreds.push(t)}function s(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===(void 0===t?"undefined":n(t))||"function"==typeof t)){var i=t.then;if(t instanceof r)return e._state=3,e._value=t,void u(e);if("function"==typeof i)return void c((a=i,o=t,function(){a.apply(o,arguments)}),e)}e._state=1,e._value=t,u(e)}catch(t){l(e,t)}var a,o}function l(e,t){e._state=2,e._value=t,u(e)}function u(e){2===e._state&&0===e._deferreds.length&&r._immediateFn((function(){e._handled||r._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t<n;t++)o(e,e._deferreds[t]);e._deferreds=null}function c(e,t){var n=!1;try{e((function(e){n||(n=!0,s(t,e))}),(function(e){n||(n=!0,l(t,e))}))}catch(e){if(n)return;n=!0,l(t,e)}}r.prototype.catch=function(e){return this.then(null,e)},r.prototype.then=function(e,t){var n=new this.constructor(a);return o(this,new function(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}(e,t,n)),n},r.prototype.finally=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))},r.all=function(e){return new r((function(t,i){if(!e||void 0===e.length)throw new TypeError("Promise.all accepts an array");var a=Array.prototype.slice.call(e);if(0===a.length)return t([]);var r=a.length;function o(e,s){try{if(s&&("object"===(void 0===s?"undefined":n(s))||"function"==typeof s)){var l=s.then;if("function"==typeof l)return void l.call(s,(function(t){o(e,t)}),i)}a[e]=s,0==--r&&t(a)}catch(e){i(e)}}for(var s=0;s<a.length;s++)o(s,a[s])}))},r.resolve=function(e){return e&&"object"===(void 0===e?"undefined":n(e))&&e.constructor===r?e:new r((function(t){t(e)}))},r.reject=function(e){return new r((function(t,n){n(e)}))},r.race=function(e){return new r((function(t,n){for(var i=0,a=e.length;i<a;i++)e[i].then(t,n)}))},r._immediateFn="function"==typeof t&&function(e){t(e)}||function(e){i(e,0)},r._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},e.exports=r}).call(this,n(36).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=v(n(37)),r=v(n(0)),o=v(n(3)),s=v(n(18)),l=v(n(17)),u=v(n(13)),c=v(n(12)),p=v(n(11)),d=v(n(9)),h=v(n(8)),y=v(n(7)),f=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}var m=[],g=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=(0,s.default)(t),this.container=this.options.container,this.paused=!0,this.playedPromise=a.default.resolve(),this.mode="normal",this.randomOrder=r.default.randomOrder(this.options.audio.length),this.container.classList.add("aplayer"),this.options.lrcType&&!this.options.fixed&&this.container.classList.add("aplayer-withlrc"),this.options.audio.length>1&&this.container.classList.add("aplayer-withlist"),r.default.isMobile&&this.container.classList.add("aplayer-mobile"),this.arrow=this.container.offsetWidth<=300,this.arrow&&this.container.classList.add("aplayer-arrow"),this.container=this.options.container,2===this.options.lrcType||!0===this.options.lrcType)for(var n=this.container.getElementsByClassName("aplayer-lrc-content"),i=0;i<n.length;i++)this.options.audio[i]&&(this.options.audio[i].lrc=n[i].innerHTML);this.template=new l.default({container:this.container,options:this.options,randomOrder:this.randomOrder}),this.options.fixed&&(this.container.classList.add("aplayer-fixed"),this.template.body.style.width=this.template.body.offsetWidth-18+"px"),this.options.mini&&(this.setMode("mini"),this.template.info.style.display="block"),this.template.info.offsetWidth<200&&this.template.time.classList.add("aplayer-time-narrow"),this.options.lrcType&&(this.lrc=new p.default({container:this.template.lrc,async:3===this.options.lrcType,player:this})),this.events=new y.default,this.storage=new c.default(this),this.bar=new u.default(this.template),this.controller=new d.default(this),this.timer=new h.default(this),this.list=new f.default(this),this.initAudio(),this.bindEvents(),"random"===this.options.order?this.list.switch(this.randomOrder[0]):this.list.switch(0),this.options.autoplay&&this.play(),m.push(this)}return i(e,[{key:"initAudio",value:function(){var e=this;this.audio=document.createElement("audio"),this.audio.preload=this.options.preload;for(var t=function(t){e.audio.addEventListener(e.events.audioEvents[t],(function(n){e.events.trigger(e.events.audioEvents[t],n)}))},n=0;n<this.events.audioEvents.length;n++)t(n);this.volume(this.storage.get("volume"),!0)}},{key:"bindEvents",value:function(){var e=this;this.on("play",(function(){e.paused&&e.setUIPlaying()})),this.on("pause",(function(){e.paused||e.setUIPaused()})),this.on("timeupdate",(function(){if(!e.disableTimeupdate){e.bar.set("played",e.audio.currentTime/e.duration,"width"),e.lrc&&e.lrc.update();var t=r.default.secondToTime(e.audio.currentTime);e.template.ptime.innerHTML!==t&&(e.template.ptime.innerHTML=t)}})),this.on("durationchange",(function(){1!==e.duration&&(e.template.dtime.innerHTML=r.default.secondToTime(e.duration))})),this.on("progress",(function(){var t=e.audio.buffered.length?e.audio.buffered.end(e.audio.buffered.length-1)/e.duration:0;e.bar.set("loaded",t,"width")}));var t=void 0;this.on("error",(function(){e.list.audios.length>1?(e.notice("An audio error has occurred, player will skip forward in 2 seconds."),t=setTimeout((function(){e.skipForward(),e.paused||e.play()}),2e3)):1===e.list.audios.length&&e.notice("An audio error has occurred.")})),this.events.on("listswitch",(function(){t&&clearTimeout(t)})),this.on("ended",(function(){"none"===e.options.loop?"list"===e.options.order?e.list.index<e.list.audios.length-1?(e.list.switch((e.list.index+1)%e.list.audios.length),e.play()):(e.list.switch((e.list.index+1)%e.list.audios.length),e.pause()):"random"===e.options.order&&(e.randomOrder.indexOf(e.list.index)<e.randomOrder.length-1?(e.list.switch(e.nextIndex()),e.play()):(e.list.switch(e.nextIndex()),e.pause())):"one"===e.options.loop?(e.list.switch(e.list.index),e.play()):"all"===e.options.loop&&(e.skipForward(),e.play())}))}},{key:"setAudio",value:function(e){this.hls&&(this.hls.destroy(),this.hls=null);var t=e.type;this.options.customAudioType&&this.options.customAudioType[t]?"[object Function]"===Object.prototype.toString.call(this.options.customAudioType[t])?this.options.customAudioType[t](this.audio,e,this):console.error("Illegal customType: "+t):(t&&"auto"!==t||(t=/m3u8(#|\?|$)/i.exec(e.url)?"hls":"normal"),"hls"===t?Hls.isSupported()?(this.hls=new Hls,this.hls.loadSource(e.url),this.hls.attachMedia(this.audio)):this.audio.canPlayType("application/x-mpegURL")||this.audio.canPlayType("application/vnd.apple.mpegURL")?this.audio.src=e.url:this.notice("Error: HLS is not supported."):"normal"===t&&(this.audio.src=e.url)),this.seek(0),this.paused||this.audio.play()}},{key:"theme",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.list.audios[this.list.index].theme||this.options.theme,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.list.index;(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])&&this.list.audios[t]&&(this.list.audios[t].theme=e),this.template.listCurs[t]&&(this.template.listCurs[t].style.backgroundColor=e),t===this.list.index&&(this.template.pic.style.backgroundColor=e,this.template.played.style.background=e,this.template.thumb.style.background=e,this.template.volume.style.background=e)}},{key:"seek",value:function(e){e=Math.max(e,0),e=Math.min(e,this.duration),this.audio.currentTime=e,this.bar.set("played",e/this.duration,"width"),this.template.ptime.innerHTML=r.default.secondToTime(e)}},{key:"setUIPlaying",value:function(){var e=this;if(this.paused&&(this.paused=!1,this.template.button.classList.remove("aplayer-play"),this.template.button.classList.add("aplayer-pause"),this.template.button.innerHTML="",setTimeout((function(){e.template.button.innerHTML=o.default.pause}),100),this.template.skipPlayButton.innerHTML=o.default.pause),this.timer.enable("loading"),this.options.mutex)for(var t=0;t<m.length;t++)this!==m[t]&&m[t].pause()}},{key:"play",value:function(){var e=this;this.setUIPlaying();var t=this.audio.play();t&&t.catch((function(t){console.warn(t),"NotAllowedError"===t.name&&e.setUIPaused()}))}},{key:"setUIPaused",value:function(){var e=this;this.paused||(this.paused=!0,this.template.button.classList.remove("aplayer-pause"),this.template.button.classList.add("aplayer-play"),this.template.button.innerHTML="",setTimeout((function(){e.template.button.innerHTML=o.default.play}),100),this.template.skipPlayButton.innerHTML=o.default.play),this.container.classList.remove("aplayer-loading"),this.timer.disable("loading")}},{key:"pause",value:function(){this.setUIPaused(),this.audio.pause()}},{key:"switchVolumeIcon",value:function(){this.volume()>=.95?this.template.volumeButton.innerHTML=o.default.volumeUp:this.volume()>0?this.template.volumeButton.innerHTML=o.default.volumeDown:this.template.volumeButton.innerHTML=o.default.volumeOff}},{key:"volume",value:function(e,t){return e=parseFloat(e),isNaN(e)||(e=Math.max(e,0),e=Math.min(e,1),this.bar.set("volume",e,"height"),t||this.storage.set("volume",e),this.audio.volume=e,this.audio.muted&&(this.audio.muted=!1),this.switchVolumeIcon()),this.audio.muted?0:this.audio.volume}},{key:"on",value:function(e,t){this.events.on(e,t)}},{key:"toggle",value:function(){this.template.button.classList.contains("aplayer-play")?this.play():this.template.button.classList.contains("aplayer-pause")&&this.pause()}},{key:"switchAudio",value:function(e){this.list.switch(e)}},{key:"addAudio",value:function(e){this.list.add(e)}},{key:"removeAudio",value:function(e){this.list.remove(e)}},{key:"destroy",value:function(){m.splice(m.indexOf(this),1),this.pause(),this.container.innerHTML="",this.audio.src="",this.timer.destroy(),this.events.trigger("destroy")}},{key:"setMode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"normal";this.mode=e,"mini"===e?this.container.classList.add("aplayer-narrow"):"normal"===e&&this.container.classList.remove("aplayer-narrow")}},{key:"notice",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.8;this.template.notice.innerHTML=e,this.template.notice.style.opacity=i,this.noticeTime&&clearTimeout(this.noticeTime),this.events.trigger("noticeshow",{text:e}),n&&(this.noticeTime=setTimeout((function(){t.template.notice.style.opacity=0,t.events.trigger("noticehide")}),n))}},{key:"prevIndex",value:function(){if(!(this.list.audios.length>1))return 0;if("list"===this.options.order)return this.list.index-1<0?this.list.audios.length-1:this.list.index-1;if("random"===this.options.order){var e=this.randomOrder.indexOf(this.list.index);return 0===e?this.randomOrder[this.randomOrder.length-1]:this.randomOrder[e-1]}}},{key:"nextIndex",value:function(){if(!(this.list.audios.length>1))return 0;if("list"===this.options.order)return(this.list.index+1)%this.list.audios.length;if("random"===this.options.order){var e=this.randomOrder.indexOf(this.list.index);return e===this.randomOrder.length-1?this.randomOrder[0]:this.randomOrder[e+1]}}},{key:"skipBack",value:function(){this.list.switch(this.prevIndex())}},{key:"skipForward",value:function(){this.list.switch(this.nextIndex())}},{key:"duration",get:function(){return isNaN(this.audio.duration)?0:this.audio.duration}}],[{key:"version",get:function(){return"1.10.1"}}]),e}();t.default=g},,function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(40);var i,a=(i=n(38))&&i.__esModule?i:{default:i};t.default=a.default}]).default}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("APlayer",[],t):"object"==typeof exports?exports.APlayer=t():e.APlayer=t()}(window,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var a=t[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=41)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=/mobile/i.test(window.navigator.userAgent),a={secondToTime:function(e){var t=Math.floor(e/3600),n=Math.floor((e-3600*t)/60),i=Math.floor(e-3600*t-60*n);return(t>0?[t,n,i]:[n,i]).map((function(e){return e<10?"0"+e:""+e})).join(":")},getElementViewLeft:function(e){var t=e.offsetLeft,n=e.offsetParent,i=document.body.scrollLeft+document.documentElement.scrollLeft;if(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement)for(;null!==n&&n!==e;)t+=n.offsetLeft,n=n.offsetParent;else for(;null!==n;)t+=n.offsetLeft,n=n.offsetParent;return t-i},getElementViewTop:function(e,t){for(var n,i=e.offsetTop,a=e.offsetParent;null!==a;)i+=a.offsetTop,a=a.offsetParent;return n=document.body.scrollTop+document.documentElement.scrollTop,t?i:i-n},isMobile:i,storage:{set:function(e,t){localStorage.setItem(e,t)},get:function(e){return localStorage.getItem(e)}},nameMap:{dragStart:i?"touchstart":"mousedown",dragMove:i?"touchmove":"mousemove",dragEnd:i?"touchend":"mouseup"},randomOrder:function(e){return function(e){for(var t=e.length-1;t>=0;t--){var n=Math.floor(Math.random()*(t+1)),i=e[n];e[n]=e[t],e[t]=i}return e}([].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(Array(e))).map((function(e,t){return t})))}};t.default=a},function(e,t,n){var i=n(2);e.exports=function(e){"use strict";e=e||{};var t="",n=i.$each,a=e.audio,r=(e.$value,e.$index,i.$escape),o=e.theme,s=e.index;return n(a,(function(e,n){t+='\n<li>\n <span class="aplayer-list-cur" style="background-color: ',t+=r(e.theme||o),t+=';"></span>\n <span class="aplayer-list-index">',t+=r(n+s),t+='</span>\n <span class="aplayer-list-title">',t+=r(e.name),t+='</span>\n <span class="aplayer-list-author">',t+=r(e.artist),t+="</span>\n</li>\n"})),t}},function(e,t,n){"use strict";e.exports=n(15)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=g(n(33)),a=g(n(32)),r=g(n(31)),o=g(n(30)),s=g(n(29)),l=g(n(28)),u=g(n(27)),c=g(n(26)),p=g(n(25)),d=g(n(24)),h=g(n(23)),y=g(n(22)),f=g(n(21)),v=g(n(20)),m=g(n(19));function g(e){return e&&e.__esModule?e:{default:e}}var w={play:i.default,pause:a.default,volumeUp:r.default,volumeDown:o.default,volumeOff:s.default,orderRandom:l.default,orderList:u.default,menu:c.default,loopAll:p.default,loopOne:d.default,loopNone:h.default,loading:y.default,right:f.default,skip:v.default,lrc:m.default};t.default=w},function(e,t,n){"use strict";var i,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":a(window))&&(i=window)}e.exports=i},function(e,t,n){"use strict";var i,a,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};void 0===(a="function"==typeof(i=function(){if("object"===("undefined"==typeof window?"undefined":r(window))&&void 0!==document.querySelectorAll&&void 0!==window.pageYOffset&&void 0!==history.pushState){var e=function(e,t,n,i){return n>i?t:e+(t-e)*((a=n/i)<.5?4*a*a*a:(a-1)*(2*a-2)*(2*a-2)+1);var a},t=function(t,n,i,a){n=n||500;var r=(a=a||window).scrollTop||window.pageYOffset;if("number"==typeof t)var o=parseInt(t);else o=function(e,t){return"HTML"===e.nodeName?-t:e.getBoundingClientRect().top+t}(t,r);var s=Date.now(),l=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){window.setTimeout(e,15)};!function u(){var c=Date.now()-s;a!==window?a.scrollTop=e(r,o,c,n):window.scroll(0,e(r,o,c,n)),c>n?"function"==typeof i&&i(t):l(u)}()},n=function(e){if(!e.defaultPrevented){e.preventDefault(),location.hash!==this.hash&&window.history.pushState(null,null,this.hash);var n=document.getElementById(this.hash.substring(1));if(!n)return;t(n,500,(function(e){location.replace("#"+e.id)}))}};return document.addEventListener("DOMContentLoaded",(function(){for(var e,t=document.querySelectorAll('.aplayer a[href^="#"]:not([href="#"])'),i=t.length;e=t[--i];)e.addEventListener("click",n,!1)})),t}})?i.call(t,n,t,e):i)||(e.exports=a)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=s(n(1)),r=s(n(0)),o=s(n(5));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,this.index=0,this.audios=this.player.options.audio,this.bindEvents()}return i(e,[{key:"bindEvents",value:function(){var e=this;this.player.template.list.addEventListener("click",(function(t){var n=void 0;n="LI"===t.target.tagName.toUpperCase()?t.target:t.target.parentElement;var i=parseInt(n.getElementsByClassName("aplayer-list-index")[0].innerHTML)-1;i!==e.index?(e.switch(i),e.player.play()):e.player.toggle()}))}},{key:"show",value:function(){this.player.events.trigger("listshow"),this.player.template.list.classList.remove("aplayer-list-hide"),this.player.template.listOl.scrollTop=33*this.index}},{key:"hide",value:function(){this.player.events.trigger("listhide"),this.player.template.list.classList.add("aplayer-list-hide")}},{key:"toggle",value:function(){this.player.template.list.classList.contains("aplayer-list-hide")?this.show():this.hide()}},{key:"add",value:function(e){this.player.events.trigger("listadd",{audios:e}),"[object Array]"!==Object.prototype.toString.call(e)&&(e=[e]),e.map((function(e){return e.name=e.name||e.title||"Audio name",e.artist=e.artist||e.author||"Audio artist",e.cover=e.cover||e.pic,e.type=e.type||"normal",e}));var t=!(this.audios.length>1),n=0===this.audios.length;this.player.template.listOl.innerHTML+=(0,a.default)({theme:this.player.options.theme,audio:e,index:this.audios.length+1}),this.audios=this.audios.concat(e),t&&this.audios.length>1&&this.player.container.classList.add("aplayer-withlist"),this.player.randomOrder=r.default.randomOrder(this.audios.length),this.player.template.listCurs=this.player.container.querySelectorAll(".aplayer-list-cur"),this.player.template.listCurs[this.audios.length-1].style.backgroundColor=e.theme||this.player.options.theme,n&&("random"===this.player.options.order?this.switch(this.player.randomOrder[0]):this.switch(0))}},{key:"remove",value:function(e){if(this.player.events.trigger("listremove",{index:e}),this.audios[e])if(this.audios.length>1){var t=this.player.container.querySelectorAll(".aplayer-list li");t[e].remove(),this.audios.splice(e,1),this.player.lrc&&this.player.lrc.remove(e),e===this.index&&(this.audios[e]?this.switch(e):this.switch(e-1)),this.index>e&&this.index--;for(var n=e;n<t.length;n++)t[n].getElementsByClassName("aplayer-list-index")[0].textContent=n;1===this.audios.length&&this.player.container.classList.remove("aplayer-withlist"),this.player.template.listCurs=this.player.container.querySelectorAll(".aplayer-list-cur")}else this.clear()}},{key:"switch",value:function(e){if(this.player.events.trigger("listswitch",{index:e}),void 0!==e&&this.audios[e]){this.index=e;var t=this.audios[this.index];this.player.template.pic.style.backgroundImage=t.cover?"url('"+t.cover+"')":"",this.player.theme(this.audios[this.index].theme||this.player.options.theme,this.index,!1),this.player.template.title.innerHTML=t.name,this.player.template.author.innerHTML=t.artist?" - "+t.artist:"";var n=this.player.container.getElementsByClassName("aplayer-list-light")[0];n&&n.classList.remove("aplayer-list-light"),this.player.container.querySelectorAll(".aplayer-list li")[this.index].classList.add("aplayer-list-light"),(0,o.default)(33*this.index,500,null,this.player.template.listOl),this.player.setAudio(t),this.player.lrc&&this.player.lrc.switch(this.index),this.player.lrc&&this.player.lrc.update(0),1!==this.player.duration&&(this.player.template.dtime.innerHTML=r.default.secondToTime(this.player.duration))}}},{key:"clear",value:function(){this.player.events.trigger("listclear"),this.index=0,this.player.container.classList.remove("aplayer-withlist"),this.player.pause(),this.audios=[],this.player.lrc&&this.player.lrc.clear(),this.player.audio.src="",this.player.template.listOl.innerHTML="",this.player.template.pic.style.backgroundImage="",this.player.theme(this.player.options.theme,this.index,!1),this.player.template.title.innerHTML="No audio",this.player.template.author.innerHTML="",this.player.bar.set("loaded",0,"width"),this.player.template.dtime.innerHTML=r.default.secondToTime(0)}}]),e}();t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.events={},this.audioEvents=["abort","canplay","canplaythrough","durationchange","emptied","ended","error","loadeddata","loadedmetadata","loadstart","mozaudioavailable","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],this.playerEvents=["destroy","listshow","listhide","listadd","listremove","listswitch","listclear","noticeshow","noticehide","lrcshow","lrchide"]}return i(e,[{key:"on",value:function(e,t){this.type(e)&&"function"==typeof t&&(this.events[e]||(this.events[e]=[]),this.events[e].push(t))}},{key:"trigger",value:function(e,t){if(this.events[e]&&this.events[e].length)for(var n=0;n<this.events[e].length;n++)this.events[e][n](t)}},{key:"type",value:function(e){return-1!==this.playerEvents.indexOf(e)?"player":-1!==this.audioEvents.indexOf(e)?"audio":(console.error("Unknown event name: "+e),null)}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,window.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},this.types=["loading"],this.init()}return i(e,[{key:"init",value:function(){var e=this;this.types.forEach((function(t){e["init"+t+"Checker"]()}))}},{key:"initloadingChecker",value:function(){var e=this,t=0,n=0,i=!1;this.loadingChecker=setInterval((function(){e.enableloadingChecker&&(n=e.player.audio.currentTime,i||n!==t||e.player.audio.paused||(e.player.container.classList.add("aplayer-loading"),i=!0),i&&n>t&&!e.player.audio.paused&&(e.player.container.classList.remove("aplayer-loading"),i=!1),t=n)}),100)}},{key:"enable",value:function(e){this["enable"+e+"Checker"]=!0,"fps"===e&&this.initfpsChecker()}},{key:"disable",value:function(e){this["enable"+e+"Checker"]=!1}},{key:"destroy",value:function(){var e=this;this.types.forEach((function(t){e["enable"+t+"Checker"]=!1,e[t+"Checker"]&&clearInterval(e[t+"Checker"])}))}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=o(n(0)),r=o(n(3));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,this.initPlayButton(),this.initPlayBar(),this.initOrderButton(),this.initLoopButton(),this.initMenuButton(),a.default.isMobile||this.initVolumeButton(),this.initMiniSwitcher(),this.initSkipButton(),this.initLrcButton()}return i(e,[{key:"initPlayButton",value:function(){var e=this;this.player.template.pic.addEventListener("click",(function(){e.player.toggle()}))}},{key:"initPlayBar",value:function(){var e=this,t=function(t){var n=((t.clientX||t.changedTouches[0].clientX)-a.default.getElementViewLeft(e.player.template.barWrap))/e.player.template.barWrap.clientWidth;n=Math.max(n,0),n=Math.min(n,1),e.player.bar.set("played",n,"width"),e.player.lrc&&e.player.lrc.update(n*e.player.duration),e.player.template.ptime.innerHTML=a.default.secondToTime(n*e.player.duration)},n=function n(i){document.removeEventListener(a.default.nameMap.dragEnd,n),document.removeEventListener(a.default.nameMap.dragMove,t);var r=((i.clientX||i.changedTouches[0].clientX)-a.default.getElementViewLeft(e.player.template.barWrap))/e.player.template.barWrap.clientWidth;r=Math.max(r,0),r=Math.min(r,1),e.player.bar.set("played",r,"width"),e.player.seek(e.player.bar.get("played","width")*e.player.duration),e.player.disableTimeupdate=!1};this.player.template.barWrap.addEventListener(a.default.nameMap.dragStart,(function(){e.player.disableTimeupdate=!0,document.addEventListener(a.default.nameMap.dragMove,t),document.addEventListener(a.default.nameMap.dragEnd,n)}))}},{key:"initVolumeButton",value:function(){var e=this;this.player.template.volumeButton.addEventListener("click",(function(){e.player.audio.muted?(e.player.audio.muted=!1,e.player.switchVolumeIcon(),e.player.bar.set("volume",e.player.volume(),"height")):(e.player.audio.muted=!0,e.player.switchVolumeIcon(),e.player.bar.set("volume",0,"height"))}));var t=function(t){var n=1-((t.clientY||t.changedTouches[0].clientY)-a.default.getElementViewTop(e.player.template.volumeBar,e.player.options.fixed))/e.player.template.volumeBar.clientHeight;n=Math.max(n,0),n=Math.min(n,1),e.player.volume(n)},n=function n(i){e.player.template.volumeBarWrap.classList.remove("aplayer-volume-bar-wrap-active"),document.removeEventListener(a.default.nameMap.dragEnd,n),document.removeEventListener(a.default.nameMap.dragMove,t);var r=1-((i.clientY||i.changedTouches[0].clientY)-a.default.getElementViewTop(e.player.template.volumeBar,e.player.options.fixed))/e.player.template.volumeBar.clientHeight;r=Math.max(r,0),r=Math.min(r,1),e.player.volume(r)};this.player.template.volumeBarWrap.addEventListener(a.default.nameMap.dragStart,(function(){e.player.template.volumeBarWrap.classList.add("aplayer-volume-bar-wrap-active"),document.addEventListener(a.default.nameMap.dragMove,t),document.addEventListener(a.default.nameMap.dragEnd,n)}))}},{key:"initOrderButton",value:function(){var e=this;this.player.template.order.addEventListener("click",(function(){"list"===e.player.options.order?(e.player.options.order="random",e.player.template.order.innerHTML=r.default.orderRandom):"random"===e.player.options.order&&(e.player.options.order="list",e.player.template.order.innerHTML=r.default.orderList)}))}},{key:"initLoopButton",value:function(){var e=this;this.player.template.loop.addEventListener("click",(function(){e.player.list.audios.length>1?"one"===e.player.options.loop?(e.player.options.loop="none",e.player.template.loop.innerHTML=r.default.loopNone):"none"===e.player.options.loop?(e.player.options.loop="all",e.player.template.loop.innerHTML=r.default.loopAll):"all"===e.player.options.loop&&(e.player.options.loop="one",e.player.template.loop.innerHTML=r.default.loopOne):"one"===e.player.options.loop||"all"===e.player.options.loop?(e.player.options.loop="none",e.player.template.loop.innerHTML=r.default.loopNone):"none"===e.player.options.loop&&(e.player.options.loop="all",e.player.template.loop.innerHTML=r.default.loopAll)}))}},{key:"initMenuButton",value:function(){var e=this;this.player.template.menu.addEventListener("click",(function(){e.player.list.toggle()}))}},{key:"initMiniSwitcher",value:function(){var e=this;this.player.template.miniSwitcher.addEventListener("click",(function(){e.player.setMode("mini"===e.player.mode?"normal":"mini")}))}},{key:"initSkipButton",value:function(){var e=this;this.player.template.skipBackButton.addEventListener("click",(function(){e.player.skipBack()})),this.player.template.skipForwardButton.addEventListener("click",(function(){e.player.skipForward()})),this.player.template.skipPlayButton.addEventListener("click",(function(){e.player.toggle()}))}},{key:"initLrcButton",value:function(){var e=this;this.player.template.lrcButton.addEventListener("click",(function(){e.player.template.lrcButton.classList.contains("aplayer-icon-lrc-inactivity")?(e.player.template.lrcButton.classList.remove("aplayer-icon-lrc-inactivity"),e.player.lrc&&e.player.lrc.show()):(e.player.template.lrcButton.classList.add("aplayer-icon-lrc-inactivity"),e.player.lrc&&e.player.lrc.hide())}))}}]),e}();t.default=s},function(e,t,n){var i=n(2);e.exports=function(e){"use strict";e=e||{};var t="",n=i.$each,a=e.lyrics,r=(e.$value,e.$index,i.$escape);return n(a,(function(e,n){t+="\n <p",0===n&&(t+=' class="aplayer-lrc-current"'),t+=">",t+=r(e[1]),t+="</p>\n"})),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=(i=n(10))&&i.__esModule?i:{default:i},o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.container=t.container,this.async=t.async,this.player=t.player,this.parsed=[],this.index=0,this.current=[]}return a(e,[{key:"show",value:function(){this.player.events.trigger("lrcshow"),this.player.template.lrcWrap.classList.remove("aplayer-lrc-hide")}},{key:"hide",value:function(){this.player.events.trigger("lrchide"),this.player.template.lrcWrap.classList.add("aplayer-lrc-hide")}},{key:"toggle",value:function(){this.player.template.lrcWrap.classList.contains("aplayer-lrc-hide")?this.show():this.hide()}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.player.audio.currentTime;if(this.index>this.current.length-1||e<this.current[this.index][0]||!this.current[this.index+1]||e>=this.current[this.index+1][0])for(var t=0;t<this.current.length;t++)e>=this.current[t][0]&&(!this.current[t+1]||e<this.current[t+1][0])&&(this.index=t,this.container.style.transform="translateY("+16*-this.index+"px)",this.container.style.webkitTransform="translateY("+16*-this.index+"px)",this.container.getElementsByClassName("aplayer-lrc-current")[0].classList.remove("aplayer-lrc-current"),this.container.getElementsByTagName("p")[t].classList.add("aplayer-lrc-current"))}},{key:"switch",value:function(e){var t=this;if(!this.parsed[e])if(this.async){this.parsed[e]=[["00:00","Loading"]];var n=new XMLHttpRequest;n.onreadystatechange=function(){e===t.player.list.index&&4===n.readyState&&(n.status>=200&&n.status<300||304===n.status?t.parsed[e]=t.parse(n.responseText):(t.player.notice("LRC file request fails: status "+n.status),t.parsed[e]=[["00:00","Not available"]]),t.container.innerHTML=(0,r.default)({lyrics:t.parsed[e]}),t.update(0),t.current=t.parsed[e])};var i=this.player.list.audios[e].lrc;n.open("get",i,!0),n.send(null)}else this.player.list.audios[e].lrc?this.parsed[e]=this.parse(this.player.list.audios[e].lrc):this.parsed[e]=[["00:00","Not available"]];this.container.innerHTML=(0,r.default)({lyrics:this.parsed[e]}),this.update(0),this.current=this.parsed[e]}},{key:"parse",value:function(e){if(e){for(var t=(e=e.replace(/([^\]^\n])\[/g,(function(e,t){return t+"\n["}))).split("\n"),n=[],i=t.length,a=0;a<i;a++){var r=t[a].match(/\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/g),o=t[a].replace(/.*\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/g,"").replace(/<(\d{2}):(\d{2})(\.(\d{2,3}))?>/g,"").replace(/^\s+|\s+$/g,"");if(r)for(var s=r.length,l=0;l<s;l++){var u=/\[(\d{2}):(\d{2})(\.(\d{2,3}))?]/.exec(r[l]),c=60*u[1]+parseInt(u[2])+(u[4]?parseInt(u[4])/(2===(u[4]+"").length?100:1e3):0);n.push([c,o])}}return(n=n.filter((function(e){return e[1]}))).sort((function(e,t){return e[0]-t[0]})),n}return[]}},{key:"remove",value:function(e){this.parsed.splice(e,1)}},{key:"clear",value:function(){this.parsed=[],this.container.innerHTML=""}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=(i=n(0))&&i.__esModule?i:{default:i},o=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.storageName=t.options.storageName,this.data=JSON.parse(r.default.storage.get(this.storageName)),this.data||(this.data={}),this.data.volume=this.data.volume||t.options.volume}return a(e,[{key:"get",value:function(e){return this.data[e]}},{key:"set",value:function(e,t){this.data[e]=t,r.default.storage.set(this.storageName,JSON.stringify(this.data))}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.elements={},this.elements.volume=t.volume,this.elements.played=t.played,this.elements.loaded=t.loaded}return i(e,[{key:"set",value:function(e,t,n){t=Math.max(t,0),t=Math.min(t,1),this.elements[e].style[n]=100*t+"%"}},{key:"get",value:function(e,t){return parseFloat(this.elements[e].style[t])/100}}]),e}();t.default=a},function(e,t,n){"use strict";(function(t){e.exports=!1;try{e.exports="[object process]"===Object.prototype.toString.call(t.process)}catch(e){}}).call(this,n(4))},function(e,t,n){"use strict";(function(t){var i=n(14),a=Object.create(i?t:window),r=/["&'<>]/;a.$escape=function(e){return function(e){var t=""+e,n=r.exec(t);if(!n)return e;var i="",a=void 0,o=void 0,s=void 0;for(a=n.index,o=0;a<t.length;a++){switch(t.charCodeAt(a)){case 34:s=""";break;case 38:s="&";break;case 39:s="'";break;case 60:s="<";break;case 62:s=">";break;default:continue}o!==a&&(i+=t.substring(o,a)),o=a+1,i+=s}return o!==a?i+t.substring(o,a):i}(function e(t){return"string"!=typeof t&&(t=null==t?"":"function"==typeof t?e(t.call(t)):JSON.stringify(t)),t}(e))},a.$each=function(e,t){if(Array.isArray(e))for(var n=0,i=e.length;n<i;n++)t(e[n],n);else for(var a in e)t(e[a],a)},e.exports=a}).call(this,n(4))},function(e,t,n){var i=n(2);e.exports=function(e){"use strict";var t="",a=(e=e||{}).options,r=e.cover,o=i.$escape,s=e.icons,l=function(e){return t+=e},u=e.getObject;return e.theme,e.audio,e.index,a.fixed?(t+='\n<div class="aplayer-list',a.listFolded&&(t+=" aplayer-list-hide"),t+='"',a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n <ol",a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n ",l(n(1)(u({theme:a.theme,audio:a.audio,index:1}))),t+='\n </ol>\n</div>\n<div class="aplayer-body">\n <div class="aplayer-pic" style="',r&&(t+="background-image: url("",t+=o(r),t+="");"),t+="background-color: ",t+=o(a.theme),t+=';">\n <div class="aplayer-button aplayer-play">',t+=s.play,t+='</div>\n </div>\n <div class="aplayer-info" style="display: none;">\n <div class="aplayer-music">\n <span class="aplayer-title">No audio</span>\n <span class="aplayer-author"></span>\n </div>\n <div class="aplayer-controller">\n <div class="aplayer-bar-wrap">\n <div class="aplayer-bar">\n <div class="aplayer-loaded" style="width: 0"></div>\n <div class="aplayer-played" style="width: 0; background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-thumb" style="background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-loading-icon">',t+=s.loading,t+='</span>\n </span>\n </div>\n </div>\n </div>\n <div class="aplayer-time">\n <span class="aplayer-time-inner">\n <span class="aplayer-ptime">00:00</span> / <span class="aplayer-dtime">00:00</span>\n </span>\n <span class="aplayer-icon aplayer-icon-back">\n ',t+=s.skip,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-play">\n ',t+=s.play,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-forward">\n ',t+=s.skip,t+='\n </span>\n <div class="aplayer-volume-wrap">\n <button type="button" class="aplayer-icon aplayer-icon-volume-down">\n ',t+=s.volumeDown,t+='\n </button>\n <div class="aplayer-volume-bar-wrap">\n <div class="aplayer-volume-bar">\n <div class="aplayer-volume" style="height: 80%; background: ',t+=o(a.theme),t+=';"></div>\n </div>\n </div>\n </div>\n <button type="button" class="aplayer-icon aplayer-icon-order">\n ',"list"===a.order?t+=s.orderList:"random"===a.order&&(t+=s.orderRandom),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-loop">\n ',"one"===a.loop?t+=s.loopOne:"all"===a.loop?t+=s.loopAll:"none"===a.loop&&(t+=s.loopNone),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-menu">\n ',t+=s.menu,t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-lrc">\n ',t+=s.lrc,t+='\n </button>\n </div>\n </div>\n </div>\n <div class="aplayer-notice"></div>\n <div class="aplayer-miniswitcher"><button class="aplayer-icon">',t+=s.right,t+='</button></div>\n</div>\n<div class="aplayer-lrc">\n <div class="aplayer-lrc-contents" style="transform: translateY(0); -webkit-transform: translateY(0);"></div>\n</div>\n'):(t+='\n<div class="aplayer-body">\n <div class="aplayer-pic" style="',r&&(t+="background-image: url("",t+=o(r),t+="");"),t+="background-color: ",t+=o(a.theme),t+=';">\n <div class="aplayer-button aplayer-play">',t+=s.play,t+='</div>\n </div>\n <div class="aplayer-info">\n <div class="aplayer-music">\n <span class="aplayer-title">No audio</span>\n <span class="aplayer-author"></span>\n </div>\n <div class="aplayer-lrc">\n <div class="aplayer-lrc-contents" style="transform: translateY(0); -webkit-transform: translateY(0);"></div>\n </div>\n <div class="aplayer-controller">\n <div class="aplayer-bar-wrap">\n <div class="aplayer-bar">\n <div class="aplayer-loaded" style="width: 0"></div>\n <div class="aplayer-played" style="width: 0; background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-thumb" style="background: ',t+=o(a.theme),t+=';">\n <span class="aplayer-loading-icon">',t+=s.loading,t+='</span>\n </span>\n </div>\n </div>\n </div>\n <div class="aplayer-time">\n <span class="aplayer-time-inner">\n <span class="aplayer-ptime">00:00</span> / <span class="aplayer-dtime">00:00</span>\n </span>\n <span class="aplayer-icon aplayer-icon-back">\n ',t+=s.skip,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-play">\n ',t+=s.play,t+='\n </span>\n <span class="aplayer-icon aplayer-icon-forward">\n ',t+=s.skip,t+='\n </span>\n <div class="aplayer-volume-wrap">\n <button type="button" class="aplayer-icon aplayer-icon-volume-down">\n ',t+=s.volumeDown,t+='\n </button>\n <div class="aplayer-volume-bar-wrap">\n <div class="aplayer-volume-bar">\n <div class="aplayer-volume" style="height: 80%; background: ',t+=o(a.theme),t+=';"></div>\n </div>\n </div>\n </div>\n <button type="button" class="aplayer-icon aplayer-icon-order">\n ',"list"===a.order?t+=s.orderList:"random"===a.order&&(t+=s.orderRandom),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-loop">\n ',"one"===a.loop?t+=s.loopOne:"all"===a.loop?t+=s.loopAll:"none"===a.loop&&(t+=s.loopNone),t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-menu">\n ',t+=s.menu,t+='\n </button>\n <button type="button" class="aplayer-icon aplayer-icon-lrc">\n ',t+=s.lrc,t+='\n </button>\n </div>\n </div>\n </div>\n <div class="aplayer-notice"></div>\n <div class="aplayer-miniswitcher"><button class="aplayer-icon">',t+=s.right,t+='</button></div>\n</div>\n<div class="aplayer-list',a.listFolded&&(t+=" aplayer-list-hide"),t+='"',a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n <ol",a.listMaxHeight&&(t+=' style="max-height: ',t+=o(a.listMaxHeight),t+='"'),t+=">\n ",l(n(1)(u({theme:a.theme,audio:a.audio,index:1}))),t+="\n </ol>\n</div>\n"),t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=o(n(3)),r=o(n(16));function o(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.container=t.container,this.options=t.options,this.randomOrder=t.randomOrder,this.init()}return i(e,[{key:"init",value:function(){var e="";this.options.audio.length&&(e="random"===this.options.order?this.options.audio[this.randomOrder[0]].cover:this.options.audio[0].cover),this.container.innerHTML=(0,r.default)({options:this.options,icons:a.default,cover:e,getObject:function(e){return e}}),this.lrc=this.container.querySelector(".aplayer-lrc-contents"),this.lrcWrap=this.container.querySelector(".aplayer-lrc"),this.ptime=this.container.querySelector(".aplayer-ptime"),this.info=this.container.querySelector(".aplayer-info"),this.time=this.container.querySelector(".aplayer-time"),this.barWrap=this.container.querySelector(".aplayer-bar-wrap"),this.button=this.container.querySelector(".aplayer-button"),this.body=this.container.querySelector(".aplayer-body"),this.list=this.container.querySelector(".aplayer-list"),this.listOl=this.container.querySelector(".aplayer-list ol"),this.listCurs=this.container.querySelectorAll(".aplayer-list-cur"),this.played=this.container.querySelector(".aplayer-played"),this.loaded=this.container.querySelector(".aplayer-loaded"),this.thumb=this.container.querySelector(".aplayer-thumb"),this.volume=this.container.querySelector(".aplayer-volume"),this.volumeBar=this.container.querySelector(".aplayer-volume-bar"),this.volumeButton=this.container.querySelector(".aplayer-time button"),this.volumeBarWrap=this.container.querySelector(".aplayer-volume-bar-wrap"),this.loop=this.container.querySelector(".aplayer-icon-loop"),this.order=this.container.querySelector(".aplayer-icon-order"),this.menu=this.container.querySelector(".aplayer-icon-menu"),this.pic=this.container.querySelector(".aplayer-pic"),this.title=this.container.querySelector(".aplayer-title"),this.author=this.container.querySelector(".aplayer-author"),this.dtime=this.container.querySelector(".aplayer-dtime"),this.notice=this.container.querySelector(".aplayer-notice"),this.miniSwitcher=this.container.querySelector(".aplayer-miniswitcher"),this.skipBackButton=this.container.querySelector(".aplayer-icon-back"),this.skipForwardButton=this.container.querySelector(".aplayer-icon-forward"),this.skipPlayButton=this.container.querySelector(".aplayer-icon-play"),this.lrcButton=this.container.querySelector(".aplayer-icon-lrc")}}]),e}();t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t={container:e.element||document.getElementsByClassName("aplayer")[0],mini:e.narrow||e.fixed||!1,fixed:!1,autoplay:!1,mutex:!0,lrcType:e.showlrc||e.lrc||0,preload:"auto",theme:"#b7daff",loop:"all",order:"list",volume:.7,listFolded:e.fixed,listMaxHeight:e.listmaxheight||"250px",audio:e.music||[],storageName:"aplayer-setting"};for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n]);return"[object Array]"!==Object.prototype.toString.call(e.audio)&&(e.audio=[e.audio]),e.audio.map((function(e){return e.name=e.name||e.title||"Audio name",e.artist=e.artist||e.author||"Audio artist",e.cover=e.cover||e.pic,e.type=e.type||"normal",e})),e.audio.length<=1&&"one"===e.loop&&(e.loop="all"),e}},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M26.667 5.333h-21.333c-0 0-0.001 0-0.001 0-1.472 0-2.666 1.194-2.666 2.666 0 0 0 0.001 0 0.001v-0 16c0 0 0 0.001 0 0.001 0 1.472 1.194 2.666 2.666 2.666 0 0 0.001 0 0.001 0h21.333c0 0 0.001 0 0.001 0 1.472 0 2.666-1.194 2.666-2.666 0-0 0-0.001 0-0.001v0-16c0-0 0-0.001 0-0.001 0-1.472-1.194-2.666-2.666-2.666-0 0-0.001 0-0.001 0h0zM5.333 16h5.333v2.667h-5.333v-2.667zM18.667 24h-13.333v-2.667h13.333v2.667zM26.667 24h-5.333v-2.667h5.333v2.667zM26.667 18.667h-13.333v-2.667h13.333v2.667z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M25.468 6.947c-0.326-0.172-0.724-0.151-1.030 0.057l-6.438 4.38v-3.553c0-0.371-0.205-0.71-0.532-0.884-0.326-0.172-0.724-0.151-1.030 0.057l-12 8.164c-0.274 0.186-0.438 0.496-0.438 0.827s0.164 0.641 0.438 0.827l12 8.168c0.169 0.115 0.365 0.174 0.562 0.174 0.16 0 0.321-0.038 0.468-0.116 0.327-0.173 0.532-0.514 0.532-0.884v-3.556l6.438 4.382c0.169 0.115 0.365 0.174 0.562 0.174 0.16 0 0.321-0.038 0.468-0.116 0.327-0.173 0.532-0.514 0.532-0.884v-16.333c0-0.371-0.205-0.71-0.532-0.884z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M22 16l-10.105-10.6-1.895 1.987 8.211 8.613-8.211 8.612 1.895 1.988 8.211-8.613z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M4 16c0-6.6 5.4-12 12-12s12 5.4 12 12c0 1.2-0.8 2-2 2s-2-0.8-2-2c0-4.4-3.6-8-8-8s-8 3.6-8 8 3.6 8 8 8c1.2 0 2 0.8 2 2s-0.8 2-2 2c-6.6 0-12-5.4-12-12z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 29 32"><path d="M2.667 7.027l1.707-1.693 22.293 22.293-1.693 1.707-4-4h-11.64v4l-5.333-5.333 5.333-5.333v4h8.973l-8.973-8.973v0.973h-2.667v-3.64l-4-4zM22.667 17.333h2.667v5.573l-2.667-2.667v-2.907zM22.667 6.667v-4l5.333 5.333-5.333 5.333v-4h-10.907l-2.667-2.667h13.573z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 33 32"><path d="M9.333 9.333h13.333v4l5.333-5.333-5.333-5.333v4h-16v8h2.667v-5.333zM22.667 22.667h-13.333v-4l-5.333 5.333 5.333 5.333v-4h16v-8h-2.667v5.333zM17.333 20v-8h-1.333l-2.667 1.333v1.333h2v5.333h2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 29 32"><path d="M9.333 9.333h13.333v4l5.333-5.333-5.333-5.333v4h-16v8h2.667v-5.333zM22.667 22.667h-13.333v-4l-5.333 5.333 5.333 5.333v-4h16v-8h-2.667v5.333z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 22 32"><path d="M20.8 14.4q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2zM1.6 11.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2zM20.8 20.8q0.704 0 1.152 0.48t0.448 1.12-0.48 1.12-1.12 0.48h-19.2q-0.64 0-1.12-0.48t-0.48-1.12 0.448-1.12 1.152-0.48h19.2z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M0.622 18.334h19.54v7.55l11.052-9.412-11.052-9.413v7.549h-19.54v3.725z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 32 32"><path d="M22.667 4l7 6-7 6 7 6-7 6v-4h-3.653l-3.76-3.76 2.827-2.827 2.587 2.587h2v-8h-2l-12 12h-6v-4h4.347l12-12h3.653v-4zM2.667 8h6l3.76 3.76-2.827 2.827-2.587-2.587h-4.347v-4z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 28 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 28 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8zM20.576 16q0 1.344-0.768 2.528t-2.016 1.664q-0.16 0.096-0.448 0.096-0.448 0-0.8-0.32t-0.32-0.832q0-0.384 0.192-0.64t0.544-0.448 0.608-0.384 0.512-0.64 0.192-1.024-0.192-1.024-0.512-0.64-0.608-0.384-0.544-0.448-0.192-0.64q0-0.48 0.32-0.832t0.8-0.32q0.288 0 0.448 0.096 1.248 0.48 2.016 1.664t0.768 2.528z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 28 32"><path d="M13.728 6.272v19.456q0 0.448-0.352 0.8t-0.8 0.32-0.8-0.32l-5.952-5.952h-4.672q-0.48 0-0.8-0.352t-0.352-0.8v-6.848q0-0.48 0.352-0.8t0.8-0.352h4.672l5.952-5.952q0.32-0.32 0.8-0.32t0.8 0.32 0.352 0.8zM20.576 16q0 1.344-0.768 2.528t-2.016 1.664q-0.16 0.096-0.448 0.096-0.448 0-0.8-0.32t-0.32-0.832q0-0.384 0.192-0.64t0.544-0.448 0.608-0.384 0.512-0.64 0.192-1.024-0.192-1.024-0.512-0.64-0.608-0.384-0.544-0.448-0.192-0.64q0-0.48 0.32-0.832t0.8-0.32q0.288 0 0.448 0.096 1.248 0.48 2.016 1.664t0.768 2.528zM25.152 16q0 2.72-1.536 5.056t-4 3.36q-0.256 0.096-0.448 0.096-0.48 0-0.832-0.352t-0.32-0.8q0-0.704 0.672-1.056 1.024-0.512 1.376-0.8 1.312-0.96 2.048-2.4t0.736-3.104-0.736-3.104-2.048-2.4q-0.352-0.288-1.376-0.8-0.672-0.352-0.672-1.056 0-0.448 0.32-0.8t0.8-0.352q0.224 0 0.48 0.096 2.496 1.056 4 3.36t1.536 5.056zM29.728 16q0 4.096-2.272 7.552t-6.048 5.056q-0.224 0.096-0.448 0.096-0.48 0-0.832-0.352t-0.32-0.8q0-0.64 0.704-1.056 0.128-0.064 0.384-0.192t0.416-0.192q0.8-0.448 1.44-0.896 2.208-1.632 3.456-4.064t1.216-5.152-1.216-5.152-3.456-4.064q-0.64-0.448-1.44-0.896-0.128-0.096-0.416-0.192t-0.384-0.192q-0.704-0.416-0.704-1.056 0-0.448 0.32-0.8t0.832-0.352q0.224 0 0.448 0.096 3.776 1.632 6.048 5.056t2.272 7.552z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 17 32"><path d="M14.080 4.8q2.88 0 2.88 2.048v18.24q0 2.112-2.88 2.112t-2.88-2.112v-18.24q0-2.048 2.88-2.048zM2.88 4.8q2.88 0 2.88 2.048v18.24q0 2.112-2.88 2.112t-2.88-2.112v-18.24q0-2.048 2.88-2.048z"></path></svg>'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 16 31"><path d="M15.552 15.168q0.448 0.32 0.448 0.832 0 0.448-0.448 0.768l-13.696 8.512q-0.768 0.512-1.312 0.192t-0.544-1.28v-16.448q0-0.96 0.544-1.28t1.312 0.192z"></path></svg>'},function(e,t,n){"use strict";var i,a,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(e){if(i===setTimeout)return setTimeout(e,0);if((i===o||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:o}catch(e){i=o}try{a="function"==typeof clearTimeout?clearTimeout:s}catch(e){a=s}}();var u,c=[],p=!1,d=-1;function h(){p&&u&&(p=!1,u.length?c=u.concat(c):d=-1,c.length&&y())}function y(){if(!p){var e=l(h);p=!0;for(var t=c.length;t;){for(u=c,c=[];++d<t;)u&&u[d].run();d=-1,t=c.length}u=null,p=!1,function(e){if(a===clearTimeout)return clearTimeout(e);if((a===s||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(e);try{a(e)}catch(t){try{return a.call(null,e)}catch(t){return a.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function v(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new f(e,t)),1!==c.length||p||l(y)},f.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=v,r.addListener=v,r.once=v,r.off=v,r.removeListener=v,r.removeAllListeners=v,r.emit=v,r.prependListener=v,r.prependOnceListener=v,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},function(e,t,n){"use strict";(function(e,t){!function(e){if(!e.setImmediate){var n,i,a,r,o,s=1,l={},u=!1,c=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);p=p&&p.setTimeout?p:e,"[object process]"==={}.toString.call(e.process)?n=function(e){t.nextTick((function(){h(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(r="setImmediate$"+Math.random()+"$",o=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(r)&&h(+t.data.slice(r.length))},e.addEventListener?e.addEventListener("message",o,!1):e.attachEvent("onmessage",o),n=function(t){e.postMessage(r+t,"*")}):e.MessageChannel?((a=new MessageChannel).port1.onmessage=function(e){h(e.data)},n=function(e){a.port2.postMessage(e)}):c&&"onreadystatechange"in c.createElement("script")?(i=c.documentElement,n=function(e){var t=c.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):n=function(e){setTimeout(h,0,e)},p.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),i=0;i<t.length;i++)t[i]=arguments[i+1];var a={callback:e,args:t};return l[s]=a,n(s),s++},p.clearImmediate=d}function d(e){delete l[e]}function h(e){if(u)setTimeout(h,0,e);else{var t=l[e];if(t){u=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(undefined,n)}}(t)}finally{d(e),u=!1}}}}}("undefined"==typeof self?void 0===e?void 0:e:self)}).call(this,n(4),n(34))},function(e,t,n){"use strict";var i=Function.prototype.apply;function a(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new a(i.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new a(i.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(35),t.setImmediate=setImmediate,t.clearImmediate=clearImmediate},function(e,t,n){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=setTimeout;function a(){}function r(e){if(!(this instanceof r))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],c(e,this)}function o(e,t){for(;3===e._state;)e=e._value;0!==e._state?(e._handled=!0,r._immediateFn((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var i;try{i=n(e._value)}catch(e){return void l(t.promise,e)}s(t.promise,i)}else(1===e._state?s:l)(t.promise,e._value)}))):e._deferreds.push(t)}function s(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===(void 0===t?"undefined":n(t))||"function"==typeof t)){var i=t.then;if(t instanceof r)return e._state=3,e._value=t,void u(e);if("function"==typeof i)return void c((a=i,o=t,function(){a.apply(o,arguments)}),e)}e._state=1,e._value=t,u(e)}catch(t){l(e,t)}var a,o}function l(e,t){e._state=2,e._value=t,u(e)}function u(e){2===e._state&&0===e._deferreds.length&&r._immediateFn((function(){e._handled||r._unhandledRejectionFn(e._value)}));for(var t=0,n=e._deferreds.length;t<n;t++)o(e,e._deferreds[t]);e._deferreds=null}function c(e,t){var n=!1;try{e((function(e){n||(n=!0,s(t,e))}),(function(e){n||(n=!0,l(t,e))}))}catch(e){if(n)return;n=!0,l(t,e)}}r.prototype.catch=function(e){return this.then(null,e)},r.prototype.then=function(e,t){var n=new this.constructor(a);return o(this,new function(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}(e,t,n)),n},r.prototype.finally=function(e){var t=this.constructor;return this.then((function(n){return t.resolve(e()).then((function(){return n}))}),(function(n){return t.resolve(e()).then((function(){return t.reject(n)}))}))},r.all=function(e){return new r((function(t,i){if(!e||void 0===e.length)throw new TypeError("Promise.all accepts an array");var a=Array.prototype.slice.call(e);if(0===a.length)return t([]);var r=a.length;function o(e,s){try{if(s&&("object"===(void 0===s?"undefined":n(s))||"function"==typeof s)){var l=s.then;if("function"==typeof l)return void l.call(s,(function(t){o(e,t)}),i)}a[e]=s,0==--r&&t(a)}catch(e){i(e)}}for(var s=0;s<a.length;s++)o(s,a[s])}))},r.resolve=function(e){return e&&"object"===(void 0===e?"undefined":n(e))&&e.constructor===r?e:new r((function(t){t(e)}))},r.reject=function(e){return new r((function(t,n){n(e)}))},r.race=function(e){return new r((function(t,n){for(var i=0,a=e.length;i<a;i++)e[i].then(t,n)}))},r._immediateFn="function"==typeof t&&function(e){t(e)}||function(e){i(e,0)},r._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},e.exports=r}).call(this,n(36).setImmediate)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),a=v(n(37)),r=v(n(0)),o=v(n(3)),s=v(n(18)),l=v(n(17)),u=v(n(13)),c=v(n(12)),p=v(n(11)),d=v(n(9)),h=v(n(8)),y=v(n(7)),f=v(n(6));function v(e){return e&&e.__esModule?e:{default:e}}var m=[],g=function(){function e(t){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.options=(0,s.default)(t),this.container=this.options.container,this.paused=!0,this.playedPromise=a.default.resolve(),this.mode="normal",this.randomOrder=r.default.randomOrder(this.options.audio.length),this.container.classList.add("aplayer"),this.options.lrcType&&!this.options.fixed&&this.container.classList.add("aplayer-withlrc"),this.options.audio.length>1&&this.container.classList.add("aplayer-withlist"),r.default.isMobile&&this.container.classList.add("aplayer-mobile"),this.arrow=this.container.offsetWidth<=300,this.arrow&&this.container.classList.add("aplayer-arrow"),this.container=this.options.container,2===this.options.lrcType||!0===this.options.lrcType)for(var n=this.container.getElementsByClassName("aplayer-lrc-content"),i=0;i<n.length;i++)this.options.audio[i]&&(this.options.audio[i].lrc=n[i].innerHTML);this.template=new l.default({container:this.container,options:this.options,randomOrder:this.randomOrder}),this.options.fixed&&(this.container.classList.add("aplayer-fixed"),this.template.body.style.width=this.template.body.offsetWidth-18+"px"),this.options.mini&&(this.setMode("mini"),this.template.info.style.display="block"),this.template.info.offsetWidth<200&&this.template.time.classList.add("aplayer-time-narrow"),this.options.lrcType&&(this.lrc=new p.default({container:this.template.lrc,async:3===this.options.lrcType,player:this})),this.events=new y.default,this.storage=new c.default(this),this.bar=new u.default(this.template),this.controller=new d.default(this),this.timer=new h.default(this),this.list=new f.default(this),this.initAudio(),this.bindEvents(),"random"===this.options.order?this.list.switch(this.randomOrder[0]):this.list.switch(0),this.options.autoplay&&this.play(),m.push(this)}return i(e,[{key:"initAudio",value:function(){var e=this;this.audio=document.createElement("audio"),this.audio.preload=this.options.preload;for(var t=function(t){e.audio.addEventListener(e.events.audioEvents[t],(function(n){e.events.trigger(e.events.audioEvents[t],n)}))},n=0;n<this.events.audioEvents.length;n++)t(n);this.volume(this.storage.get("volume"),!0)}},{key:"bindEvents",value:function(){var e=this;this.on("play",(function(){e.paused&&e.setUIPlaying()})),this.on("pause",(function(){e.paused||e.setUIPaused()})),this.on("timeupdate",(function(){if(!e.disableTimeupdate){e.bar.set("played",e.audio.currentTime/e.duration,"width"),e.lrc&&e.lrc.update();var t=r.default.secondToTime(e.audio.currentTime);e.template.ptime.innerHTML!==t&&(e.template.ptime.innerHTML=t)}})),this.on("durationchange",(function(){1!==e.duration&&(e.template.dtime.innerHTML=r.default.secondToTime(e.duration))})),this.on("progress",(function(){var t=e.audio.buffered.length?e.audio.buffered.end(e.audio.buffered.length-1)/e.duration:0;e.bar.set("loaded",t,"width")}));var t=void 0;this.on("error",(function(){e.list.audios.length>1?(e.notice("An audio error has occurred, player will skip forward in 2 seconds."),t=setTimeout((function(){e.skipForward(),e.paused||e.play()}),2e3)):1===e.list.audios.length&&e.notice("An audio error has occurred.")})),this.events.on("listswitch",(function(){t&&clearTimeout(t)})),this.on("ended",(function(){"none"===e.options.loop?"list"===e.options.order?e.list.index<e.list.audios.length-1?(e.list.switch((e.list.index+1)%e.list.audios.length),e.play()):(e.list.switch((e.list.index+1)%e.list.audios.length),e.pause()):"random"===e.options.order&&(e.randomOrder.indexOf(e.list.index)<e.randomOrder.length-1?(e.list.switch(e.nextIndex()),e.play()):(e.list.switch(e.nextIndex()),e.pause())):"one"===e.options.loop?(e.list.switch(e.list.index),e.play()):"all"===e.options.loop&&(e.skipForward(),e.play())}))}},{key:"setAudio",value:function(e){this.hls&&(this.hls.destroy(),this.hls=null);var t=e.type;this.options.customAudioType&&this.options.customAudioType[t]?"[object Function]"===Object.prototype.toString.call(this.options.customAudioType[t])?this.options.customAudioType[t](this.audio,e,this):console.error("Illegal customType: "+t):(t&&"auto"!==t||(t=/m3u8(#|\?|$)/i.exec(e.url)?"hls":"normal"),"hls"===t?Hls.isSupported()?(this.hls=new Hls,this.hls.loadSource(e.url),this.hls.attachMedia(this.audio)):this.audio.canPlayType("application/x-mpegURL")||this.audio.canPlayType("application/vnd.apple.mpegURL")?this.audio.src=e.url:this.notice("Error: HLS is not supported."):"normal"===t&&(this.audio.src=e.url)),this.seek(0),this.paused||this.audio.play()}},{key:"theme",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.list.audios[this.list.index].theme||this.options.theme,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.list.index;(!(arguments.length>2&&void 0!==arguments[2])||arguments[2])&&this.list.audios[t]&&(this.list.audios[t].theme=e),this.template.listCurs[t]&&(this.template.listCurs[t].style.backgroundColor=e),t===this.list.index&&(this.template.pic.style.backgroundColor=e,this.template.played.style.background=e,this.template.thumb.style.background=e,this.template.volume.style.background=e)}},{key:"seek",value:function(e){e=Math.max(e,0),e=Math.min(e,this.duration),this.audio.currentTime=e,this.bar.set("played",e/this.duration,"width"),this.template.ptime.innerHTML=r.default.secondToTime(e)}},{key:"setUIPlaying",value:function(){var e=this;if(this.paused&&(this.paused=!1,this.template.button.classList.remove("aplayer-play"),this.template.button.classList.add("aplayer-pause"),this.template.button.innerHTML="",setTimeout((function(){e.template.button.innerHTML=o.default.pause}),100),this.template.skipPlayButton.innerHTML=o.default.pause),this.timer.enable("loading"),this.options.mutex)for(var t=0;t<m.length;t++)this!==m[t]&&m[t].pause()}},{key:"play",value:function(){var e=this;this.setUIPlaying();var t=this.audio.play();t&&t.catch((function(t){console.warn(t),"NotAllowedError"===t.name&&e.setUIPaused()}))}},{key:"setUIPaused",value:function(){var e=this;this.paused||(this.paused=!0,this.template.button.classList.remove("aplayer-pause"),this.template.button.classList.add("aplayer-play"),this.template.button.innerHTML="",setTimeout((function(){e.template.button.innerHTML=o.default.play}),100),this.template.skipPlayButton.innerHTML=o.default.play),this.container.classList.remove("aplayer-loading"),this.timer.disable("loading")}},{key:"pause",value:function(){this.setUIPaused(),this.audio.pause()}},{key:"switchVolumeIcon",value:function(){this.volume()>=.95?this.template.volumeButton.innerHTML=o.default.volumeUp:this.volume()>0?this.template.volumeButton.innerHTML=o.default.volumeDown:this.template.volumeButton.innerHTML=o.default.volumeOff}},{key:"volume",value:function(e,t){return e=parseFloat(e),isNaN(e)||(e=Math.max(e,0),e=Math.min(e,1),this.bar.set("volume",e,"height"),t||this.storage.set("volume",e),this.audio.volume=e,this.audio.muted&&(this.audio.muted=!1),this.switchVolumeIcon()),this.audio.muted?0:this.audio.volume}},{key:"on",value:function(e,t){this.events.on(e,t)}},{key:"toggle",value:function(){this.template.button.classList.contains("aplayer-play")?this.play():this.template.button.classList.contains("aplayer-pause")&&this.pause()}},{key:"switchAudio",value:function(e){this.list.switch(e)}},{key:"addAudio",value:function(e){this.list.add(e)}},{key:"removeAudio",value:function(e){this.list.remove(e)}},{key:"destroy",value:function(){m.splice(m.indexOf(this),1),this.pause(),this.container.innerHTML="",this.audio.src="",this.timer.destroy(),this.events.trigger("destroy")}},{key:"setMode",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"normal";this.mode=e,"mini"===e?this.container.classList.add("aplayer-narrow"):"normal"===e&&this.container.classList.remove("aplayer-narrow")}},{key:"notice",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2e3,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.8;this.template.notice.innerHTML=e,this.template.notice.style.opacity=i,this.noticeTime&&clearTimeout(this.noticeTime),this.events.trigger("noticeshow",{text:e}),n&&(this.noticeTime=setTimeout((function(){t.template.notice.style.opacity=0,t.events.trigger("noticehide")}),n))}},{key:"prevIndex",value:function(){if(!(this.list.audios.length>1))return 0;if("list"===this.options.order)return this.list.index-1<0?this.list.audios.length-1:this.list.index-1;if("random"===this.options.order){var e=this.randomOrder.indexOf(this.list.index);return 0===e?this.randomOrder[this.randomOrder.length-1]:this.randomOrder[e-1]}}},{key:"nextIndex",value:function(){if(!(this.list.audios.length>1))return 0;if("list"===this.options.order)return(this.list.index+1)%this.list.audios.length;if("random"===this.options.order){var e=this.randomOrder.indexOf(this.list.index);return e===this.randomOrder.length-1?this.randomOrder[0]:this.randomOrder[e+1]}}},{key:"skipBack",value:function(){this.list.switch(this.prevIndex())}},{key:"skipForward",value:function(){this.list.switch(this.nextIndex())}},{key:"duration",get:function(){return isNaN(this.audio.duration)?0:this.audio.duration}}],[{key:"version",get:function(){return"1.10.1"}}]),e}();t.default=g},,function(e,t,n){},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(40);var i,a=(i=n(38))&&i.__esModule?i:{default:i};t.default=a.default}]).default}));
|
package/js/custom.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x24c051=_0x2580;!function(e,t){for(var a=_0x2580,n=_0x41ac();;)try{if(845414===parseInt(a(251))/1+-parseInt(a(554))/2+parseInt(a(381))/3*(-parseInt(a(402))/4)+parseInt(a(319))/5*(-parseInt(a(241))/6)+-parseInt(a(439))/7+-parseInt(a(574))/8+parseInt(a(564))/9)break;n.push(n.shift())}catch(e){n.push(n.shift())}}();var mycpen1js={changeNavPageNameTitle(){var e=_0x2580;document[e(511)]==e(446)?document[e(569)](e(358)).innerText=document[e(511)]:document[e(569)](e(358))[e(368)]=document[e(511)][e(187)](e(280))[0]},getNavRightPagePercent(){var e=_0x2580;let t=document[e(387)].scrollTop||window[e(213)],a=Math[e(380)](document.body[e(350)],document[e(387)][e(350)],document[e(323)][e(370)],document[e(387)][e(370)],document[e(323)][e(448)],document[e(387)][e(448)])-document[e(387)][e(448)],n=Math.round(t/a*100),o=document.querySelector("#percent");n<=99||(n=99),o.innerHTML=n,r=window[e(168)]+document.documentElement.clientHeight,p=document[e(569)](e(416))||document.getElementById(e(248)),p[e(550)]+p[e(370)]/2<r||90<n?(document.querySelector("#nav-totop").classList[e(227)]("long"),o.innerHTML=e(327)):(document[e(215)]("#nav-totop")[e(411)][e(326)](e(276)),o.innerHTML=n)},share(){var e=_0x2580;let t=window[e(290)].origin+window[e(290)][e(342)];new ClipboardJS(e(478),{text:function(){var a=e;return a(453)+document.title+a(491)+t}}),btf[e(217)](e(401))},getFooterRandomFlink(){var e={saveData:(e,t)=>{var a=_0x2580;localStorage.setItem(e,JSON[a(409)]({time:Date[a(536)](),data:t}))},loadData:(e,t)=>{var a=_0x2580;let n=JSON[a(431)](localStorage[a(394)](e));if(n){let e=Date[a(536)]()-n[a(305)];if(e<60*t*1e3&&e>-1)return n[a(481)]}return 0},randomLink:()=>{var t=_0x2580;let a=e.loadData("links",30);if(a){let e=document[t(254)](t(364));if(!e[t(165)])return;for(let n=0;n<3;n++){let o;do{o=parseInt(Math[t(203)]()*a[t(165)])}while("失联"===a[o][t(415)]);e[n].innerText=a[o][t(369)],e[n][t(504)]=a[o][t(335)],e[n][t(511)]=a[o][t(369)],e[n].target=t(142),e[n][t(533)]=t(141),a.splice(o,1)}}else fetch("https://cdn.cbd.int/mycpen-blog@0.0.0-wlucboffkr/json/link.json")[t(581)]((e=>e[t(469)]())).then((a=>{var n=t;e[n(391)](n(563),a.link_list),e.randomLink()}))}};e.randomLink()},newYearCountdownCard(){(()=>{var e=_0x2580;if(clearTimeout(null),!document[e(215)](e(489)))return;let t=new Date((new Date)[e(535)]()+1+e(356))[e(189)]()/1e3,a={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"};!function(){var n=e;let o=new Date,c=o[n(230)]()+1,s=o[n(546)]();c=c>9?c:"0"+c,s=s>9?s:"0"+s,document[n(215)](n(288))[n(211)]=o[n(535)]()+"-"+c+"-"+s+" "+a[o[n(527)]()];let r=t-Math[n(296)](o[n(189)]()/1e3);r<0?(document.querySelector(n(553))[n(211)]=n(275),document[n(215)]("#newYear .newYear-time")[n(211)]=n(366)):(document[n(215)]("#newYear .title")[n(211)]=n(273)+((new Date)[n(535)]()+1)+n(560),r>86400?document.querySelector(n(531)).innerHTML='<span class="day">'+Math[n(426)](r/86400)+'<span class="unit">天</span></span>':document[n(215)]("#newYear .newYear-time")[n(211)]=n(246)+Math[n(426)](r/86400)+n(582))}()})()},removeBodyPaceClass:function(){var e=_0x2580;$("body")[e(284)](),$("body").addClass(e(567))},toPage:function(){var e=_0x2580,t=document[e(254)](e(219)),a=parseInt(t[t[e(165)]-1][e(211)]),n=document[e(569)](e(376)),o=parseInt(n[e(223)]);if(!isNaN(o)&&o>0&&"0"!==(""+o)[0]&&o<=a){var c,s=window[e(290)][e(504)][e(138)](/\/page\/\d+\/$/,"/");c=1===o?s:s+(s[e(197)]("/")?"":"/")+e(315)+o+"/",document[e(569)](e(559))[e(504)]=c}},listenToPageInputPress(){var e=_0x2580,t=document.getElementById(e(376)),a=document[e(569)](e(559));t&&(t[e(255)](e(359),(t=>{var n=e;13===t[n(341)]&&(mycpen1js[n(540)](),pjax[n(573)](a[n(504)]))})),t[e(255)](e(313),(function(){var n=e;""===t[n(223)]||"0"===t[n(223)]?a[n(411)].remove(n(346)):a[n(411)][n(227)]("haveValue");var o=document[n(254)](n(219)),c=+o[o[n(165)]-1][n(211)];+document[n(569)](n(376))[n(223)]>c&&(t[n(223)]=c)})))},showConsole:function(){var e=_0x2580;document[e(215)](e(440))[e(411)][e(227)]("show"),mycpen1js.initConsoleState()},hideConsole:function(){var e=_0x2580;document[e(215)]("#console").classList.remove(e(539))},hideAsideBtn:()=>{var e=_0x2580;const t=document[e(387)][e(411)];t.contains("hide-aside")?saveToLocal[e(207)]("aside-status",e(539),2):saveToLocal[e(207)](e(279),e(507),2),t[e(576)](e(195)),t[e(363)](e(195))?document[e(215)](e(471))[e(411)][e(227)]("on"):document[e(215)]("#consoleHideAside")[e(411)][e(326)]("on")},initConsoleState:function(){var e=_0x2580;document[e(387)].classList.contains(e(195))?document[e(215)](e(471))[e(411)][e(227)]("on"):document[e(215)](e(471))[e(411)][e(326)]("on")},tagPageActive:function(){var e=_0x2580,t=window[e(290)].pathname;if(/\/tags\/.*?\//[e(506)](t=decodeURIComponent(t))){var a=t.split("/")[2];if(document.querySelector(".page .layout #tag #tag-page-tags")){$("a")[e(284)](e(185));var n=document[e(569)]("mycpen1-tags-page-cloudTags-"+a);n&&n[e(411)].add(e(185))}}},categoryPageActive:function(){var e=_0x2580,t=window[e(290)][e(342)];if(/\/categories\/.*?\//[e(506)](t=decodeURIComponent(t))){var a=t[e(187)]("/")[2];if(document[e(215)](e(529))){$("a")[e(284)](e(185));var n=document.getElementById(e(509)+a);n&&n.classList.add(e(185))}}},addRandomCommentInfo:function(){var e=_0x2580;const t=[e(156),e(316),e(545),"勇敢的","可爱的",e(301),e(551),"可靠的",e(476),e(164),e(159),"真诚的",e(399),e(354),e(552),e(289),e(407),e(239),e(575),e(490),e(177),e(498),e(445),"深沉的",e(373),"含蓄的","率直的","开放的",e(375),e(438),"自信的",e(429),e(144),"深刻的",e(262),"朝气蓬勃的",e(277),"大方的",e(459),e(163),e(455),e(508),e(244),e(256),e(299),e(522),"干净的",e(302),e(562),e(480),"守信的",e(202),e(488),"有担当的","有远见的",e(410),e(283),e(332),e(475),e(565),"喜欢思考的",e(408),"具有批判性思维的",e(378),e(190),e(421),e(259),"有激情的",e(543),e(269),e(580),e(558),e(532),e(345),e(214),e(515),e(235),e(393),e(160),e(264),e(303),e(571),e(148),e(418),e(209),e(311),e(309)],a=["萝卜","白菜","芹菜","生菜","青椒","辣椒","茄子","豆角","黄瓜",e(145),"洋葱","大蒜","土豆","南瓜","豆腐","韭菜","花菜",e(157),"蘑菇","金针菇","苹果","香蕉","橙子","柠檬","猕猴桃","草莓","葡萄","桃子","杏子","李子","石榴","西瓜","哈密瓜","蜜瓜","樱桃","蓝莓","柿子","橄榄","柚子","火龙果"],n=""+t[Math.floor(Math[e(203)]()*t[e(165)])]+a[Math[e(389)](Math[e(203)]()*a[e(165)])];!function(){for(var t=e,a=[t(430),t(555),t(493),"input[name='author']",t(360),t(228),t(243),t(451)],o=[t(485),t(424),t(468),t(312),t(271),t(295),t(258),t(225)],c=0;c<a[t(165)];c++){var s=document[t(215)](a[c]);if(null!=s){s[t(223)]=n,s.dispatchEvent(new Event(t(313))),s.dispatchEvent(new Event("change"));break}}for(var r=0;r<o[t(165)];r++){var i=document[t(215)](o[r]);if(null!=i){i[t(223)]="donotreply@mycpen.cn",i[t(178)](new Event(t(313))),i[t(178)](new Event(t(461)));break}}}();var o=document[e(556)](e(557))[0];o[e(397)](),o[e(297)](-1,-1)},owoBigfunc(){var e=_0x2580;document[e(569)](e(416))&&function(){var t=e;let a=1,n="",o=document[t(308)](t(268)),c=document[t(215)](t(323));o.id=t(494),c.appendChild(o),new MutationObserver((e=>{var s=t;for(let t=0;t<e[s(165)];t++){let r=e[t][s(182)],i="";2==r[s(165)]&&r[1].className==s(382)&&(i=r[1],document[s(323)][s(181)]<=768&&i[s(255)](s(226),(e=>e.preventDefault())),i[s(512)]=e=>{var t=s;a&&e.target.tagName==t(502)&&(a=0,n=setTimeout((()=>{var a=t;let n=3*e[a(173)][a(448)],s=3*e.target[a(181)],r=e.x-e.offsetX-(s-e[a(173)].clientWidth)/2,i=e.y-e.offsetY;r+s>c[a(181)]&&(r-=r+s-c[a(181)]+10),r<0&&(r=10),o.style[a(505)]="display:flex; height:"+n+a(352)+s+a(139)+r+a(365)+i+a(423),o[a(211)]=a(398)+e[a(173)][a(257)]+'">'}),300))},i[s(270)]=()=>{o.style.display="none",a=1,clearTimeout(n)})}}))[t(193)](document.getElementById(t(416)),{subtree:!0,childList:!0})}()},removeaAlayerFixedLrc(){var e=_0x2580;function t(){var e=_0x2580;const t=document[e(215)](e(267));t&&(a[e(245)](),setTimeout((()=>{t[e(300)]()}),1))}const a=new MutationObserver(((e,a)=>{var n=_0x2580;for(let a of e)a[n(534)]===n(272)&&t()}));a[e(193)](document,{childList:!0,subtree:!0})},switchDarkMode(){var e=_0x2580;(document[e(387)][e(137)](e(208))===e(260)?e(260):e(196))===e(196)?(activateDarkMode(),saveToLocal[e(207)]("theme",e(260),2),void 0!==GLOBAL_CONFIG.Snackbar&&btf[e(217)](GLOBAL_CONFIG[e(547)][e(167)])):(activateLightMode(),saveToLocal.set(e(578),e(196),2),void 0!==GLOBAL_CONFIG[e(547)]&&btf[e(217)](GLOBAL_CONFIG[e(547)][e(466)])),typeof utterancesTheme===e(198)&&utterancesTheme(),typeof FB===e(432)&&window.loadFBComment(),window.DISQUS&&document.getElementById(e(496)).children[e(165)]&&setTimeout((()=>window[e(386)]()),200)},essayUnknownPart(){},essayReplaceAll(e,t,a){var n=_0x2580;return e[n(187)](t)[n(337)](a)},essayDiffDate:function(e,t=!1){var a=_0x2580;const n=new Date,o=new Date(e),c=n[a(189)]()-o[a(189)](),s=36e5,r=864e5;let i;if(t){const e=c/r,t=c/s,n=c/6e4;i=c/2592e6>=1?o[a(221)]()[a(138)](/\//g,"-"):e>=1?parseInt(e)+" "+GLOBAL_CONFIG.date_suffix[a(334)]:t>=1?parseInt(t)+" "+GLOBAL_CONFIG[a(528)][a(467)]:n>=1?parseInt(n)+" "+GLOBAL_CONFIG[a(528)].min:GLOBAL_CONFIG[a(528)][a(425)]}else i=parseInt(c/r);return i},essayChangeTimeInEssay:function(){var e=_0x2580;document.querySelector(e(517))&&document.querySelectorAll(e(140))[e(199)]((function(t){var a=e,n=t,o=n[a(137)](a(513));n[a(368)]=mycpen1js[a(518)](o,!0),n[a(472)][a(205)]="inline"}))},essayReflashEssayWaterFall:function(){var e=_0x2580;document[e(215)]("#waterfall")&&setTimeout((function(){var t=e;waterfall("#waterfall"),document[t(569)]("waterfall")[t(411)][t(227)](t(539))}),500)},essayCommentText:function(e){var t=_0x2580;var a=document.querySelector(t(200))[t(550)];window[t(477)](0,a-80),e!=t(428)&&e!=t(229)||(e="好棒!"),function t(){setTimeout((()=>{var a=_0x2580,n=document[a(556)]("el-textarea__inner")[0];n||t();let o=document[a(542)](a(265));o[a(441)](a(313),!0,!0);let c=mycpen1js[a(549)](e,"\n",a(367));n[a(223)]="> "+c+"\n\n",n[a(178)](o),n[a(397)](),n[a(297)](-1,-1),document.getElementById(a(495))&&document[a(569)](a(495))[a(411)][a(227)](a(539))}),100)}()},essayInitIndexEssay:function(){setTimeout((()=>{var e=_0x2580;let t=new Swiper(e(583),{passiveListeners:!0,direction:e(261),loop:!0,autoplay:{disableOnInteraction:!0,delay:3e3},mousewheel:!0}),a=document[e(569)](e(482));null!==a&&(a.onmouseenter=function(){var a=e;t[a(392)][a(483)]()},a[e(281)]=function(){var a=e;t[a(392)][a(331)]()})}),100)},essayChangeTimeInEssayByMycpen:function(){for(var e=_0x2580,t=document[e(318)](e(305)),a=0;a<t.length;a++){var n,o=t[a][e(137)](e(513)),c=new Date(o),s=(new Date).getTime()-c.getTime(),r=Math[e(389)](s/864e5);0===r?n="最近":1===r?n="昨天":2===r?n="前天":r<=7?n=r+"天前":c[e(535)]()!==(new Date)[e(535)]()?(Essaymonth=c.getMonth()+1,EssayDay=c[e(546)](),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=c.getFullYear()+"-"+Essaymonth+"-"+EssayDay):(Essaymonth=c[e(230)]()+1,EssayDay=c[e(546)](),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=Essaymonth+"-"+EssayDay),t[a][e(161)]=n}},switchPostChart:function(){var e=_0x2580;let t="light"===document[e(387)].getAttribute(e(208))?e(330):e(568);if(document[e(569)](e(201))&&postsOption)try{let a=postsOption;a[e(511)][e(249)][e(436)]=t,a[e(474)][e(566)][e(436)]=t,a.yAxis[e(566)][e(436)]=t,a.xAxis[e(362)].color=t,a[e(379)][e(362)].color=t,a[e(474)][e(526)][e(212)][e(436)]=t,a[e(379)].axisLine[e(212)][e(436)]=t,a.series[0][e(170)][e(481)][0].label[e(436)]=t,postsChart[e(333)](a)}catch(e){console.log(e)}if(document[e(569)]("tags-chart")&&tagsOption)try{let a=tagsOption;a[e(511)][e(249)][e(436)]=t,a[e(474)].nameTextStyle[e(436)]=t,a[e(379)].nameTextStyle[e(436)]=t,a[e(474)][e(362)][e(436)]=t,a[e(379)][e(362)][e(436)]=t,a[e(474)][e(526)][e(212)][e(436)]=t,a.yAxis.axisLine[e(212)][e(436)]=t,a[e(339)][0][e(170)][e(481)][0][e(282)][e(436)]=t,tagsChart.setOption(a)}catch(t){console[e(497)](t)}if(document.getElementById("categories-chart")&&categoriesOption)try{let a=categoriesOption;a[e(511)][e(249)].color=t,a[e(433)][e(249)][e(436)]=t,!categoryParentFlag&&(a[e(339)][0][e(282)][e(436)]=t),categoriesChart[e(333)](a)}catch(t){console[e(497)](t)}},cpRemind(){var e=_0x2580;document[e(255)](e(414),(function(t){var a=e;window[a(458)]()[a(216)]()[a(171)]()[a(165)]>0&&btf[a(217)](a(401))}))},closeAboutAplayer(){var e=_0x2580;if(!document.getElementById(e(420)))try{about_page_ap[e(413)](),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=_0x2580,t=new Date,a=t[e(230)]()+1,n=t[e(546)](),o=["04.04",e(224),e(530),e(328),e(340),e(348),e(338),e(548),e(329)];for(var c of o){var s=c[e(187)](".");if(a==s[0]&&n==s[1]){var r=e(499);$(e(452))[e(344)]({filter:e(406),filter:e(210),filter:r,"-webkit-filter":r,"-moz-filter":r,"-ms-filter":r,"-o-filter":r});break}}},console(){var e=_0x2580,t=new Date,a=console[e(497)];queueMicrotask((function(){var n=e;var o=new Date(""+atob("MDgvMjgvMjAyMiA=")+atob(n(524))),c=new Date(atob("MTAvMjIvMTk5OCAwMA==")+":"+atob(n(143))),s=new Date(""+atob(n(544))+atob("MjggMDA6MDA6MDA=")),r=new Date(atob(n(253))+"/"+atob(n(252))+atob(n(500))),i=new Date(n(385));t[n(237)](t[n(189)]()+250);o=[n(176)," "+window[n(290)][n(184)]+" ","\n\n","距 2022-08-28 上线",Math[n(389)](Math[n(460)](t-o)/1e3/60/60/24+(t-o<0?1:0)).toString()[n(479)](5," "),"天",n(357),Math[n(389)](Math[n(460)](t-c)/1e3/60/60/24+(t-c<0?1:0))[n(216)]().padEnd(5," "),"天",n(233),Math[n(389)](Math.abs(t-s)/1e3/60/60/24+(t-s<0?1:0))[n(216)]()[n(479)](5," "),"天",n(449),Math[n(389)](Math[n(460)](t-r)/1e3/60/60/24+(t-r<0?1:0))[n(216)]()[n(479)](5," "),"天",n(343),Math[n(389)](Math[n(460)](t-i)/1e3/60/60/24+(t-i<0?1:0))[n(216)]().padEnd(5," "),"天 (阿里云)"];setTimeout(function(){a.apply(console,arguments)}.bind(console,"\n%c"[n(166)](o[0],"%c").concat(o[1],"%c")[n(166)](o[2],"%c")[n(166)](o[3],n(162))[n(166)](o[4],"%c ").concat(o[5],"\n")[n(166)](o[6],n(162)).concat(o[7],"%c ")[n(166)](o[8],"\n")[n(166)](o[9],n(162))[n(166)](o[10],n(162))[n(166)](o[11],"\n")[n(166)](o[12],n(162))[n(166)](o[13],"%c ")[n(166)](o[14],"\n")[n(166)](o[15],n(162))[n(166)](o[16],n(162))[n(166)](o[17],"\n")[n(166)]("\n"),n(174),n(349),"color:#fadfa3","",n(427),"",n(427),"",n(427),"",n(427),"",n(427),""))}))},cardRefreshTimes(){var e=_0x2580;const t=(new Date)[e(535)](),a=(n=t)%4==0&&n%100!=0||n%400==0?366:365;var n,o=new Date,c=new Date((new Date)[e(535)]()+"-01-01 00:00:00"),s=document[e(569)]("card-widget-schedule");s&&(asideDay=(o-c)/1e3/60/60/24,s[e(215)]("#pBar_year")[e(223)]=asideDay,s[e(215)]("#pBar_year")[e(380)]=a,yearPercentage=(asideDay/a*100)[e(155)](2),displayYearPercentage=yearPercentage===e(584)?e(151):yearPercentage+"%",s.querySelector("#p_span_year")[e(211)]=displayYearPercentage,s.querySelector(".schedule-r0 .schedule-d1 .aside-span2")[e(211)]=(Math[e(389)](10*(a-asideDay))/10)[e(155)](1)+e(417)+a,currentDateMonth=new Date,currentDateMonth[e(361)](1),currentDateMonth[e(465)](0,0,0,0),currentMonthTimestamp=currentDateMonth[e(189)](),asideMonthDay=(o-currentMonthTimestamp)/1e3/60/60/24,currentDateMonthTotal=new Date,currentMonth=currentDateMonthTotal[e(230)](),currentDateMonthTotal[e(180)](currentMonth+1,1),currentDateMonthTotal[e(361)](0),asideMonthDays=currentDateMonthTotal[e(546)](),s[e(215)](e(447))[e(223)]=asideMonthDay,s.querySelector(e(447))[e(380)]=asideMonthDays,monthPercentage=(asideMonthDay/asideMonthDays*100)[e(155)](2),displayMonthPercentage="100.00"===monthPercentage?"100%":monthPercentage+"%",s[e(215)](e(585))[e(211)]=displayMonthPercentage,s.querySelector(e(292))[e(211)]=(Math[e(389)](10*(asideMonthDays-asideMonthDay))/10)[e(155)](1)+" / "+asideMonthDays.toString()[e(353)](3,"0"),currentDateWeek=new Date,currentDayOfWeek=currentDateWeek[e(527)](),currentWeekTimestamp=currentDateWeek[e(465)](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(215)](e(188))[e(223)]=asideWeekDay,weekPercentage=(asideWeekDay/7*100)[e(155)](2),displayWeekPercentage=weekPercentage===e(584)?"100%":weekPercentage+"%",s[e(215)](e(388))[e(211)]=displayWeekPercentage,s[e(215)](e(247)).innerHTML=(Math[e(389)](10*(7-asideWeekDay))/10)[e(155)](1)+" / 007",currentTimeStamp=(new Date)[e(189)](),startOfDay=new Date,startOfDay[e(465)](0,0,0,0),startOfDayTimeStamp=startOfDay.getTime(),timeDifferenceToday=currentTimeStamp-startOfDayTimeStamp,asideToday=timeDifferenceToday/1e3/60/60/24,asideTodayHour=timeDifferenceToday/36e5,s[e(215)](e(519)).value=asideTodayHour,dayPercentage=(100*asideToday)[e(155)](2),displayDayPercentage=dayPercentage===e(584)?e(151):dayPercentage+"%",s[e(215)]("#p_span_day")[e(211)]=displayDayPercentage,s[e(215)](e(484))[e(211)]=(Math.floor(10*(24-asideTodayHour))/10)[e(155)](1)+" / 024",month=o[e(230)]()+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(215)](e(154))[e(211)]=o[e(535)]()+"-"+month+"-"+day+" "+week[o[e(527)]()])},PressEscapeKey(e){var t=_0x2580;27===e[t(341)]&&(document.getElementById(t(419))&&mycpen1js.hideConsole(),document.getElementById(t(523))&&document.getElementById(t(238))&&(document[t(215)](t(206))||document[t(215)](t(325)))&&(document[t(569)](t(307))&&closeShow(),document[t(569)]("mycpen1-link-page-tag")&&mycpen1js[t(538)]()))},linkPageOpenMeShow(e){var t=_0x2580,a=t(377),n="ok",o=t(404),c=document[t(569)](t(462));c&&(document[t(569)](t(523))||c[t(322)]("afterend",o)),e[t(510)]();var s,r=e.currentTarget.dataset[t(335)][t(138)](/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/,"$1:$2$3");s=a+t(293)+r,"ok"==n&&(n="no",mycpen1js[t(320)](s))},linkPageOpenMeShowV2(e){var t=_0x2580,a=t(377),n="ok",o=t(404),c=document[t(569)](t(462));c&&(document[t(569)](t(523))||c.insertAdjacentHTML("afterend",o)),e[t(510)]();var s,r=encodeURIComponent(e.currentTarget.dataset[t(369)]);s=a+t(464)+r,"ok"==n&&(n="no",mycpen1js[t(320)](s))},linkPageCloseShow(){var e=_0x2580;document[e(569)]("cf-overlay")[e(304)]-=e(384),document[e(569)](e(238))[e(304)]-=e(384),setTimeout((function(){var t=e,a=document.querySelectorAll("#cf-overshow > :not(.cf-overshow-close)"),n=document[t(254)](t(152));a[t(199)]((function(e){e[t(326)]()}));for(var o=1;o<n[t(165)];o++)n[o][t(326)]()}),100)},linkPageFetchShow(_0x41e9b9){var _0x5e15ce=_0x2580,_0x1cd9d7='\n <div class="cf-overshow-close" onclick="mycpen1js.linkPageCloseShow()"></div>\n ';fetch(_0x41e9b9)[_0x5e15ce(581)]((e=>e.json()))[_0x5e15ce(581)]((_0x451ab2=>{var _0x1b3df8=_0x5e15ce;noClick="ok";var _0xb426c8=_0x451ab2[_0x1b3df8(371)],_0x38c863=eval(_0x451ab2[_0x1b3df8(520)]);0!==_0xb426c8[_0x1b3df8(374)]?(mycpen1js[_0x1b3df8(294)](_0xb426c8,_0x38c863),document[_0x1b3df8(569)](_0x1b3df8(523))[_0x1b3df8(304)]="cf-show-now",document[_0x1b3df8(569)]("cf-overshow")[_0x1b3df8(322)](_0x1b3df8(278),_0x1cd9d7)):btf[_0x1b3df8(217)](_0x1b3df8(443))}))[_0x5e15ce(220)]((e=>{var t=_0x5e15ce;btf.snackbarShow(t(525))}))},linkPageLoadFcircleShow(e,t){for(var a=_0x2580,n=a(321)+e[a(204)]+a(310)+e[a(335)]+'">'+e.name+a(405),o=0;o<e[a(374)];o++){var c=t[o];let e="";Date.now()-new Date(c.created+a(473))[a(189)]()<=1728e5&&(e='style="color: var(--mycpen1-main); opacity: 1;"'),n+=a(561)+c[a(335)]+a(222)+c[a(511)]+'">'+c[a(511)]+a(263)+e+">"+c[a(231)]+a(457)}n+=a(314),document[a(569)](a(238)).insertAdjacentHTML(a(577),n),document[a(569)](a(238))[a(304)]=a(384)},linkPageRssAliveCheck(){var e=_0x2580;apiurl=e(377),rssAliveCheckUrl=apiurl+e(541),fetch(rssAliveCheckUrl)[e(581)]((t=>t[e(469)]()))[e(581)]((t=>{var a=e,n=t[a(179)],o=t.not_lost_friends,c=t[a(146)];let s=[];for(const e in n){let t=n[e];t=t[a(138)](/^https?:\/\//,""),t=t[a(138)](/\/$/,""),s[a(317)](t)}let r=[];for(const e in o){let t=o[e];t=t[a(138)](/^https?:\/\//,""),t=t.replace(/\/$/,""),r.push(t)}document.querySelectorAll(a(570))[a(199)]((e=>{var t=a;if(e){let a=e[t(137)](t(400))[t(138)](/^https?:\/\//,"");a=a[t(138)](/\/$/,""),c>0?r[t(158)](a)?e[t(411)][t(227)](t(435)):s[t(158)](a)?e[t(411)][t(227)](t(422)):e.classList.add(t(487)):0===c&&e.classList[t(227)](t(422))}}))}))},NzcheckLink:async e=>{var t=_0x2580;const a=document.querySelectorAll(e);if(a){let e=new RegExp(/^[#].*/);for(let c=0;c<a.length;c++){const s=a[c];var n=s[t(403)]("data-fancybox"),o=s[t(411)][t(363)](t(579));if(!n&&!o){let a=s[t(137)](t(504)),n=s[t(137)](t(274)),o=s[t(137)]("rel");e[t(506)](a)||o===t(456)||"next"===o||o===t(172)||o===t(415)||a===t(521)||(await mycpen1js.NzcheckLocalSite(a)||n?!await mycpen1js[t(194)](a)&&n===t(287)&&s.setAttribute(t(504),t(492)+btoa(a)+t(186)):s[t(501)](t(504),"/redirect.html?url="+btoa(a)))}s.classList[t(227)](t(579))}}},NzcheckLocalSite:async e=>{var t=_0x2580;try{const a=[t(234),t(242),"mycpen.cn"];let n=!1;for(let o=0;o<a[t(165)];o++){const c=a[o];if(e[t(158)](c)){n=!0;break}}return n}catch(e){return!0}},cookieConsent(){var e=_0x2580;window[e(255)]("load",(()=>{var t=e;window.cookieconsent[t(390)]({type:"info",theme:t(486),static:!1,position:t(285),content:{message:t(232),dismiss:"接受",allow:"接受",deny:"拒绝",link:!1},palette:{popup:{background:t(192),text:"#838391"},button:{background:t(412)}}})}))}};function whenDOMReadyMycpen1JS(){var e=_0x24c051;mycpen1js[e(306)](),mycpen1js[e(266)](),mycpen1js[e(355)](),mycpen1js.tagPageActive(),mycpen1js[e(395)](),mycpen1js[e(240)](),mycpen1js[e(150)](),document[e(569)](e(147))&&(mycpen1js[e(183)](),mycpen1js[e(347)](),window[e(463)]=()=>{var t=e;document[t(569)](t(147))&&(mycpen1js.essayReflashEssayWaterFall(),setTimeout((()=>{mycpen1js[t(347)]()}),300))}),document[e(569)](e(191))[e(255)](e(300),(function(){setTimeout(mycpen1js[e(336)],100)})),document[e(569)](e(236)).addEventListener(e(300),(function(){setTimeout(mycpen1js[e(336)],100)})),document[e(569)](e(286))[e(255)]("click",(function(){setTimeout(mycpen1js[e(336)],100)})),document[e(569)](e(324))[e(255)]("click",(function(){setTimeout(mycpen1js[e(336)],100)})),mycpen1js.cpRemind(),mycpen1js[e(454)](),document[e(569)]("card-widget-schedule")&&(mycpen1js[e(298)](),setInterval((()=>{mycpen1js[e(298)]()}),1e3)),document[e(569)](e(503))&&mycpen1js[e(153)](),document.getElementById("mycpen1-link-page-tag")&&(mycpen1js[e(218)](e(383)),mycpen1js[e(218)](e(514))),document[e(569)](e(420))&&mycpen1js.NzcheckLink("#article-container #mycpen1-about-page-tag-sponsor-part a"),document[e(569)](e(416))&&setInterval((()=>{var t=e;if(document[t(215)](t(572))){mycpen1js[t(218)](".tk-comments-container a:not(.already-redirect-link)");document.querySelectorAll(t(351))[t(199)]((e=>{var a=t;e[a(411)][a(227)](a(537));const n=document[a(308)]("a");for(Array[a(175)](e.attributes).forEach((e=>{var t=a;n[t(501)](e[t(369)],e.value)}));e[a(434)];)n.appendChild(e[a(434)]);e[a(149)][a(516)](n,e);const o=n[a(250)][a(442)][a(442)][a(442)][a(137)](a(504));n[a(501)](a(504),o),n[a(501)](a(173),"_blank"),n.setAttribute(a(533),a(141))}))}}),1e3)}function _0x2580(e,t){var a=_0x41ac();return(_0x2580=function(e,t){return a[e-=137]})(e,t)}function _0x41ac(){var e=['\n <div class="cf-overshow">\n <div class="cf-overshow-head">\n <img class="cf-img-avatar avatar" src="',"insertAdjacentHTML","body","darkmode_sidebarSwitch",".cf-overshow","remove","返回顶部","08.14","12.13","#4C4948","start","有冒险精神的","setOption","day","link","switchPostChart","join","09.30","series","09.09","keyCode","pathname","距 2025-05-23 计时","css","有创造力的","haveValue","essayReflashEssayWaterFall","09.18","background: #fadfa3; padding:5px 0;","scrollHeight",".tk-avatar.tk-clickable:not(.already-clear-clickEvent)","px; width:","padStart","豁达的","removeBodyPaceClass","-01-01 00:00:00","距 1998-00-00 计时","page-name","keydown","#ds-dialog-name","setDate","axisLabel","contains","#friend-links-in-footer .footer-item","px; top:",'<span class="happyNewYear">新年快乐</span>',"\n> ","innerText","name","offsetHeight","statistical_data","getNavRightPagePercent","朴素的","article_num","务实的","toPageText","https://www.cpen.top:8002/","善于表达的","yAxis","max","1302153xMWPEz","OwO-body","#article-container .flink .flink-list > .flink-list-item.单向 > a","cf-show-now","05/23/2025 00:00:00","disqusReset","documentElement","#p_span_week","floor","initialise","saveData","autoplay","有协调能力的","getItem","categoryPageActive","pjax:complete","focus",'<img src="',"幽默的","data-link","复制成功","4RpLYpP","hasAttribute",'\n <div id="cf-overlay" class="cf-new-add" onclick="mycpen1js.linkPageCloseShow()"></div>\n <div id="cf-overshow" class="cf-new-add"></div>\n ','</a>\n </div>\n <div class="cf-overshow-content">\n ',"gray !important;","优雅的","喜欢学习的","stringify","有智慧的","classList","#4b81e8","pause","copy","tag","post-comment"," / ","有逻辑思维的","console","mycpen1-about-page-tag","善于合作的","flink-mycpen1-rss-lost-friends","px;","#email","just","ceil","color:#030307","undefined","谦虚的","#author","parse","object","legend","firstChild","flink-mycpen1-rss-not-lost-friends","color","scrollTop","坚强的","8022854TJvTXZ","#console","initEvent","firstElementChild","未获取到订阅内容","removeaAlayerFixedLrc","耐心的","Mycpen - Personal Blog","#pBar_month","clientHeight","距 2058-00-00 计时","PressEscapeKey","#comment_author","html","标题:","closeAboutAplayer","机智的","prev","</span></p>\n ","getSelection","顽强的","abs","change","mycpen1-link-page-tag","onresize","postv2?name=","setHours","night_to_day","hour","input[name='commail']","json","onscroll","#consoleHideAside","style"," 00:00:00","xAxis","有爱心的","开朗的","scrollTo",".share","padEnd","体贴的","data","bbtalk","stop",".schedule-r3 .schedule-d1 .aside-span2","#mail","edgeless","flink-mycpen1-rss-unknown-friends","有责任心的","#newYear","温暖的","\n链接:","/redirect.html?url=","#inpName","owo-big","comment-tips","disqus_thread","log","细心的","grayscale(100%)","OjAw","setAttribute","IMG","mycpen1-link-page-tag-2","href","cssText","test","hide","善解人意的","mycpen1-categories-page-cloudCategories-","preventDefault","title","onmouseover","datetime","#article-container .flink .flink-list > .flink-list-item.失联 > a","有艺术细胞的","replaceChild","#bber","essayDiffDate","#pBar_day","article_data","javascript:void(0);","好奇的","cf-overlay","MDA6MDA6MDA=","未获取到文章卡片","axisLine","getDay","date_suffix",".page .layout #category #category-page-categories","07.07","#newYear .newYear-time","有责任感的","rel","type","getFullYear","now","already-clear-clickEvent","linkPageCloseShow","show","toPage","friendstatus","createEvent","有幽默感的","MTAvMjIvMjA=","聪明的","getDate","Snackbar","11.30","essayReplaceAll","offsetTop","善良的","有趣的","#newYear .title","1101018BAIsys","input[name='comname']","getElementsByClassName","el-textarea__inner","有正义感的","toPageButton"," <span>年</span>",'\n <p><a class="cf-article-title" href="',"尊重他人的","links","33660000dXhHTL","有同情心的","nameTextStyle","pace-done","rgba(255,255,255,0.7)","getElementById","#article-container .flink#mycpen1-link-page-tag-2 .flink-list>.flink-list-item a .flink-item-icon","有执行能力的",".tk-comments-container","loadUrl","2901528HoIPoj","温柔的","toggle","beforeend","theme","already-redirect-link","有个性的","then",'<span class="unit">天</span></span>',".essay_bar_swiper_container","100.00","#p_span_month","getAttribute","replace","px; left:","#bber time","noopener external nofollow noreferrer","_blank","MDA6MDA=","文静的","西红柿","total_friend_num","mycpen1-essay-page-tag","有分析能力的","parentNode","owoBigfunc","100%","#cf-overshow > .cf-overshow-close","linkPageRssAliveCheck","#aside-content .card-widget#card-widget-schedule .item-content .schedule-today","toFixed","美丽的","西兰花","includes","稳重的","有决策能力的","textContent","%c ","迷人的","成熟的","length","concat","day_to_night","scrollY","#waterfall","markLine","trim","category","target","color: #fadfa3; background: #030307; padding:5px 0;","from"," MYCPEN BLOG ","敬业的","dispatchEvent","lost_friends","setMonth","clientWidth","addedNodes","essayChangeTimeInEssayByMycpen","origin","select","&type=goDown","split","#pBar_week","getTime","善于沟通的","darkmode","#edeff5","observe","NzcheckLocalSite","hide-aside","light","endsWith","function","forEach","#post-comment","posts-chart","有耐性的","random","avatar","display",".cf-overshow-close","set","data-theme","有创新能力的","progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)","innerHTML","lineStyle","pageYOffset","有想象力的","querySelector","toString","snackbarShow","NzcheckLink",".page-number","catch","toLocaleDateString",'" target="_blank" rel="noopener nofollow" data-title="',"value","05.12","#comment_email","contextmenu","add","#name","null","getMonth","created","我们使用 cookie 来确保在我们的网站上为您提供最佳体验。","距 2028-00-00 计时","localhost:4000","有团队精神的","darkmode_navswitch","setTime","cf-overshow","敏捷的","listenToPageInputPress","239298eebCHF","cpen.top","input[name='nick']","富有想象力的","disconnect",'<span class="day">',".schedule-r2 .schedule-d1 .aside-span2","footer","textStyle","nextElementSibling","236915LrbWvR","MjIvMjA1OCAwMDowMA==","MTA=","querySelectorAll","addEventListener","有魅力的","src","input[name='mail']","善于领导的","dark","vertical","纯真的","</a><span ","有组织能力的","HTMLEvents","getFooterRandomFlink",".aplayer-fixed .aplayer-icon.aplayer-icon-lrc","div","有思想的","onmouseout","input[name='email']","childList",'<i class="fa-solid fa-clock"></i> <span>距离</span> ',"data-download","Happy New Year!","long","慎重的","afterbegin","aside-status"," | Mycpen","onmouseleave","label","有眼光的","removeClass","bottom-right","darkmode_consoleSwitch","goDown","#newYear .today","活泼的","location","removeEventListener",".schedule-r1 .schedule-d1 .aside-span2","post?link=","linkPageLoadFcircleShow","#ds-dialog-email","round","setSelectionRange","cardRefreshTimes","独立的","click","慷慨的","宽容的","有学习能力的","className","time","changeNavPageNameTitle","mycpen1-fcircle-page-tag","createElement","有商业头脑的",'" alt="avatar" onerror="this.src=\'https://cdn.cbd.int/mycpen-blog@0.0.0-wlucboffkr/img/flink404.svg\'; this.onerror = null;">\n <a class="" target="_blank" rel="noopener nofollow" href="',"有专业素养的","#inpEmail","input","</div></div>","page/","英俊的","push","getElementsByTagName","80BNtfJy","linkPageFetchShow"];return(_0x41ac=function(){return e})()}mycpen1js.console(),document[_0x24c051(291)](_0x24c051(359),mycpen1js[_0x24c051(450)]),document[_0x24c051(255)](_0x24c051(359),mycpen1js[_0x24c051(450)]),window[_0x24c051(470)]=mycpen1js[_0x24c051(372)],mycpen1js[_0x24c051(444)](),whenDOMReadyMycpen1JS(),document[_0x24c051(255)](_0x24c051(396),whenDOMReadyMycpen1JS);
|
|
1
|
+
var _0x76a56a=_0x2059;function _0x5f1d(){var e=["真诚的","getAttribute","randomLink","05/23/2025 00:00:00","西红柿","toString",'<span class="unit">天</span></span>',"#article-container .flink .flink-list > .flink-list-item.失联 > a","axisLine"," / ","changeNavPageNameTitle","有爱心的","08.14","initialise","links","disqus","function","removeaAlayerFixedLrc","px; left:","snackbarShow","color:#fadfa3","scrollY","setOption","article_data","background: #fadfa3; padding:5px 0;","json","#newYear .newYear-time","tag","log","#edeff5","offsetHeight","toPageText","hour","setAttribute","有责任感的","ceil","getElementsByTagName","link_list","勇敢的","NzcheckLink","getSelection","add","total_friend_num",".page .layout #tag #tag-page-tags","Mycpen - Personal Blog","data-theme","input","有个性的","currentTarget","next","#4C4948","flink-mycpen1-rss-not-lost-friends","有担当的","#p_span_day","getTime","getElementsByClassName","console","keyCode","getElementById","click","#console","aside-status","cpen.top",".page .layout #category #category-page-categories","IMG","querySelector","forEach","朴素的",".share","有创造力的",".cf-overshow-close","善于表达的","parentNode","input[name='mail']","darkmode","#4b81e8","优雅的","机智的","幽默的","#comment_author","cookieconsent","细心的","</a><span ","created","有幽默感的","#inpEmail","clientWidth","parse","cf-show-now","率直的","clientHeight","lineStyle","坚强的","post-comment","loadFBComment","#ds-dialog-email","flink-mycpen1-rss-unknown-friends","observe","title","Snackbar","开朗的","waterfall","day","52iAbNda","darkmode_consoleSwitch","有逻辑思维的","cssText","慎重的","avatar","14340324BcMIhP","具有批判性思维的","tagPageActive","火龙果","-01-01 00:00:00","成熟的","1436740BOoNLX","12.13","linkPageCloseShow","onmouseleave","有责任心的","padEnd","#p_span_week","data-fancybox"," / 024","#pBar_week","#mail","set","有学习能力的",".page-number","data","#cf-overshow > :not(.cf-overshow-close)","好棒!","disqus_thread","\n%c","32mSQges","有耐性的","有思想的","page/","距 1998-00-00 计时","input[name='commail']","dark","hideConsole","dispatchEvent","scrollHeight",".tk-avatar.tk-clickable:not(.already-clear-clickEvent)","金针菇","可靠的","#post-comment","getFooterRandomFlink","getItem","innerText","floor","有智慧的",".schedule-r2 .schedule-d1 .aside-span2","$1:$2$3","cf-overlay","keydown","children","preventDefault","喜欢学习的","独立的",'\n <div id="cf-overlay" class="cf-new-add" onclick="mycpen1js.linkPageCloseShow()"></div>\n <div id="cf-overshow" class="cf-new-add"></div>\n ',"firstChild","有决策能力的","body","我们使用 cookie 来确保在我们的网站上为您提供最佳体验。",'</a>\n </div>\n <div class="cf-overshow-content">\n ',"英俊的","series",".aplayer-fixed .aplayer-icon.aplayer-icon-lrc","className","cf-overshow","#article-container .flink#mycpen1-link-page-tag-2 .flink-list>.flink-list-item a .flink-item-icon","origin","toFixed","善于合作的","change","show","not_lost_friends","复制成功","60741KksEoT","mycpen1-link-page-tag-2","autoplay","\n链接:","哈密瓜","体贴的","start","type","干净的","setHours","MTAvMjIvMTk5OCAwMA==","富有想象力的","catch","progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)","padStart","mycpen.cn","DISQUS","/redirect.html?url=","豁达的","nameTextStyle","05.12","pathname","vertical","removeClass","addedNodes","距 2028-00-00 计时","#newYear","MjggMDA6MDA6MDA=","now","endsWith","09.09","MTA=","display","有远见的","loadData","already-redirect-link","深沉的","hide","#article-container .flink .flink-list > .flink-list-item.单向 > a","none","categories-chart","善于领导的","hasAttribute","距 2022-08-28 上线","07.07","bbtalk","afterbegin","offsetY","可爱的","insertAdjacentHTML","location","attributes","then","essayChangeTimeInEssayByMycpen","abs","donotreply@mycpen.cn","style","rel","includes","date_suffix","有正义感的","尊重他人的","onmouseover","#nav-totop","target"," | Mycpen","test","el-textarea__inner","有冒险精神的","getMonth","appendChild","https://hexo-circle.cpen.top/","%c ","beforeend","inline","offsetTop","copy","MDgvMjgvMjAyMiA=","link","#consoleHideAside","PressEscapeKey","splice","\n> ","grayscale(100%)","querySelectorAll","362135qQpUWA","max","night_to_day","04.04","mycpen1-about-page-tag","saveData","#comment_email","好奇的","09.30","善良的",".tk-comments-container","</div></div>","contextmenu","listenToPageInputPress","loadUrl","646482holkHK","postv2?name=","21gwuawV","猕猴桃","edgeless","disqusReset","switchPostChart","善解人意的","apply","#pBar_year","#p_span_month","敏捷的","有激情的","apipublicurl","classList","xAxis","replace","返回顶部","mycpen1-tags-page-cloudTags-",'<i class="fa-solid fa-clock"></i> <span>距离</span> ',"essayReflashEssayWaterFall","nextElementSibling","concat","100%",'<img src="',"onscroll","closeAboutAplayer",'<span class="day">',"42Dqgwig","#bber","pause","display:flex; height:","round","#email","object","markLine","input[name='author']","耐心的","card-widget-schedule","article_num","datetime",'" target="_blank" rel="noopener nofollow" data-title="',"#name","MDA6MDA=","trim","lost_friends","px; width:","css","just","color:#030307","post?link=","innerHTML","#p_span_year","focus","addClass",".essay_bar_swiper_container","HTMLEvents","#cf-overshow > .cf-overshow-close","createElement","#friend-links-in-footer .footer-item","length","#pBar_month","yAxis","color","flink-mycpen1-rss-lost-friends","MTAvMjIvMjA=","有团队精神的","敬业的","random","textStyle","remove","cardRefreshTimes","_blank","189702qJOrLZ","disconnect","bottom-right",'style="color: var(--mycpen1-main); opacity: 1;"',"有魅力的","活泼的","#newYear .title","name","footer","label","toPageButton","dataset",'" alt="avatar" onerror="this.src=\'https://cdn.cbd.int/mycpen-blog@0.0.0-wlujbyedjj/img/flink404.svg\'; this.onerror = null;">\n <a class="" target="_blank" rel="noopener nofollow" href="',"自信的","linkPageRssAliveCheck","11.30","聪明的",'\n <p><a class="cf-article-title" href="',"MDA6MDA6MDA=","setTime","href","input[name='nick']","from","px; top:","addEventListener","select","push","有商业头脑的","page-name","#aside-content .card-widget#card-widget-schedule .item-content .schedule-today","OwO-body",".schedule-r1 .schedule-d1 .aside-span2","09.18","getDay","scrollTo","getFullYear",'<span class="happyNewYear">新年快乐</span>',"宽容的","#ds-dialog-name","100.00","hide-aside","mycpen1-link-page-tag","disqusjs","getDate","#waterfall","mycpen1-essay-page-tag","noopener external nofollow noreferrer","有想象力的","time","light","51845ZIpgXu","cpRemind","firstElementChild","contains","haveValue","gray !important;","input[name='comname']","有专业素养的","22BAFfpU","pageYOffset","#inpName","NzcheckLocalSite","#pBar_day","comment-tips","tags-chart","split","linkPageLoadFcircleShow","scrollTop","pjax:complete","setDate","有眼光的","toLocaleDateString","axisLabel","div","未获取到订阅内容","mycpen1-fcircle-page-tag","theme","initEvent","#bber time","value","long","顽强的","documentElement","#author","有同情心的"];return(_0x5f1d=function(){return e})()}function _0x2059(e,t){var a=_0x5f1d();return(_0x2059=function(e,t){return a[e-=150]})(e,t)}!function(e,t){for(var a=_0x2059,n=_0x5f1d();;)try{if(651071===-parseInt(a(331))/1*(parseInt(a(236))/2)+parseInt(a(208))/3+-parseInt(a(469))/4*(parseInt(a(193))/5)+-parseInt(a(281))/6*(parseInt(a(210))/7)+parseInt(a(500))/8*(parseInt(a(546))/9)+parseInt(a(481))/10+-parseInt(a(339))/11*(-parseInt(a(475))/12))break;n.push(n.shift())}catch(e){n.push(n.shift())}}();var mycpen1js={changeNavPageNameTitle(){var e=_0x2059;document[e(464)]==e(410)?document[e(424)](e(309))[e(516)]=document[e(464)]:document.getElementById(e(309))[e(516)]=document[e(464)][e(346)](e(173))[0]},getNavRightPagePercent(){var e=_0x2059;let t=document[e(363)][e(348)]||window[e(340)],a=Math[e(194)](document[e(530)][e(509)],document[e(363)][e(509)],document[e(530)][e(396)],document.documentElement[e(396)],document[e(530)].clientHeight,document[e(363)].clientHeight)-document[e(363)][e(456)],n=Math[e(240)](t/a*100),o=document[e(431)]("#percent");n<=99||(n=99),o[e(259)]=n,r=window.scrollY+document[e(363)][e(456)],p=document.getElementById(e(459))||document[e(424)](e(289)),p[e(183)]+p[e(396)]/2<r||90<n?(document.querySelector(e(171)).classList.add(e(361)),o[e(259)]=e(225)):(document[e(431)]("#nav-totop").classList[e(278)](e(361)),o[e(259)]=n)},share(){var e=_0x2059;let t=window.location[e(539)]+window[e(158)].pathname;new ClipboardJS(e(434),{text:function(){var a=e;return"标题:"+document[a(464)]+a(549)+t}}),btf[e(385)](e(545))},getFooterRandomFlink(){var e={saveData:(e,t)=>{localStorage.setItem(e,JSON.stringify({time:Date.now(),data:t}))},loadData:(e,t)=>{var a=_0x2059;let n=JSON[a(453)](localStorage[a(515)](e));if(n){let e=Date[a(574)]()-n.time;if(e<60*t*1e3&&e>-1)return n[a(495)]}return 0},randomLink:()=>{var t=_0x2059;let a=e[t(580)]("links",30);if(a){let e=document.querySelectorAll(t(267));if(!e.length)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(288)],e[n][t(301)]=a[o][t(186)],e[n][t(464)]=a[o][t(288)],e[n][t(172)]=t(280),e[n][t(165)]="noopener external nofollow noreferrer",a[t(189)](o,1)}}else fetch("https://cdn.cbd.int/mycpen-blog@0.0.0-wlujbyedjj/json/link.json").then((e=>e[t(391)]()))[t(160)]((a=>{var n=t;e[n(198)](n(380),a[n(403)]),e[n(368)]()}))}};e.randomLink()},newYearCountdownCard(){(()=>{var e=_0x2059;if(clearTimeout(null),!document[e(431)](e(572)))return;let t=new Date((new Date)[e(316)]()+1+e(479)).getTime()/1e3,a={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"};!function(){var n=e;let o=new Date,s=o[n(177)]()+1,c=o.getDate();s=s>9?s:"0"+s,c=c>9?c:"0"+c,document[n(431)]("#newYear .today")[n(259)]=o.getFullYear()+"-"+s+"-"+c+" "+a[o[n(314)]()];let r=t-Math[n(240)](o[n(420)]()/1e3);r<0?(document.querySelector(n(287))[n(259)]="Happy New Year!",document[n(431)](n(392))[n(259)]=n(317)):(document[n(431)](n(287))[n(259)]=n(227)+((new Date)[n(316)]()+1)+" <span>年</span>",r>86400?document.querySelector(n(392)).innerHTML=n(235)+Math[n(401)](r/86400)+n(372):document[n(431)](n(392)).innerHTML='<span class="day">'+Math.ceil(r/86400)+n(372))}()})()},removeBodyPaceClass:function(){var e=_0x2059;$(e(530))[e(569)](),$(e(530))[e(262)]("pace-done")},toPage:function(){var e=_0x2059,t=document[e(192)](e(494)),a=parseInt(t[t[e(268)]-1].innerHTML),n=document[e(424)](e(397)),o=parseInt(n[e(360)]);if(!isNaN(o)&&o>0&&"0"!==(""+o)[0]&&o<=a){var s,c=window[e(158)].href[e(224)](/\/page\/\d+\/$/,"/");s=1===o?c:c+(c[e(575)]("/")?"":"/")+e(503)+o+"/",document[e(424)](e(291)).href=s}},listenToPageInputPress(){var e=_0x2059,t=document[e(424)](e(397)),a=document.getElementById(e(291));t&&(t[e(305)](e(522),(t=>{var n=e;13===t.keyCode&&(mycpen1js.toPage(),pjax[n(207)](a.href))})),t[e(305)](e(412),(function(){var n=e;""===t.value||"0"===t.value?a[n(222)].remove(n(335)):a.classList[n(407)](n(335));var o=document[n(192)](".page-number"),s=+o[o[n(268)]-1][n(259)];+document[n(424)](n(397))[n(360)]>s&&(t[n(360)]=s)})))},showConsole:function(){var e=_0x2059;document.querySelector(e(426))[e(222)][e(407)]("show"),mycpen1js.initConsoleState()},hideConsole:function(){var e=_0x2059;document[e(431)](e(426))[e(222)][e(278)]("show")},hideAsideBtn:()=>{var e=_0x2059;const t=document[e(363)].classList;t[e(334)](e(321))?saveToLocal.set(e(427),e(543),2):saveToLocal[e(492)](e(427),e(583),2),t.toggle(e(321)),t.contains("hide-aside")?document[e(431)](e(187))[e(222)][e(407)]("on"):document[e(431)](e(187))[e(222)][e(278)]("on")},initConsoleState:function(){var e=_0x2059;document[e(363)][e(222)][e(334)](e(321))?document.querySelector(e(187))[e(222)][e(407)]("on"):document[e(431)](e(187))[e(222)][e(278)]("on")},tagPageActive:function(){var e=_0x2059,t=window[e(158)].pathname;if(/\/tags\/.*?\//[e(174)](t=decodeURIComponent(t))){var a=t.split("/")[2];if(document.querySelector(e(409))){$("a")[e(569)]("select");var n=document.getElementById(e(226)+a);n&&n.classList[e(407)](e(306))}}},categoryPageActive:function(){var e=_0x2059,t=window[e(158)][e(567)];if(/\/categories\/.*?\//[e(174)](t=decodeURIComponent(t))){var a=t[e(346)]("/")[2];if(document[e(431)](e(429))){$("a")[e(569)](e(306));var n=document[e(424)]("mycpen1-categories-page-cloudCategories-"+a);n&&n[e(222)].add(e(306))}}},addRandomCommentInfo:function(){var e=_0x2059;const t=["美丽的",e(533),e(297),e(404),e(156),"慷慨的",e(202),e(512),e(466),e(480),"稳重的",e(366),e(444),e(564),"有趣的",e(286),e(442),e(219),"温柔的","温暖的",e(275),e(447),e(245),e(582),e(433),"含蓄的",e(455),"开放的","务实的",e(458),e(294),"谦虚的","文静的","深刻的","纯真的","朝气蓬勃的",e(473),"大方的",e(362),"迷人的",e(443),e(215),e(557),e(285),e(526),e(200),e(554),e(318),e(169),e(551),"守信的",e(501),e(485),e(418),e(579),e(518),e(351),e(176),e(377),e(365),"喜欢思考的",e(525),e(476),e(437),"善于沟通的",e(541),e(587),e(220),e(450),e(502),e(413),e(168),e(400),e(435),e(328),"有艺术细胞的",e(274),"有协调能力的",e(529),"有组织能力的",e(493),"有执行能力的","有分析能力的",e(471),"有创新能力的",e(338),e(308)],a=["萝卜","白菜","芹菜","生菜","青椒","辣椒","茄子","豆角","黄瓜",e(370),"洋葱","大蒜","土豆","南瓜","豆腐","韭菜","花菜","西兰花","蘑菇",e(511),"苹果","香蕉","橙子","柠檬",e(211),"草莓","葡萄","桃子","杏子","李子","石榴","西瓜",e(550),"蜜瓜","樱桃","蓝莓","柿子","橄榄","柚子",e(478)],n=""+t[Math[e(517)](Math[e(276)]()*t.length)]+a[Math[e(517)](Math[e(276)]()*a[e(268)])];!function(){for(var t=e,a=[t(364),t(337),t(341),t(244),t(319),t(250),t(302),t(445)],o=[t(491),t(241),t(505),t(451),"input[name='email']",t(461),t(439),t(199)],s=0;s<a[t(268)];s++){var c=document[t(431)](a[s]);if(null!=c){c[t(360)]=n,c[t(508)](new Event(t(412))),c[t(508)](new Event(t(542)));break}}for(var r=0;r<o.length;r++){var i=document.querySelector(o[r]);if(null!=i){i[t(360)]=t(163),i.dispatchEvent(new Event("input")),i[t(508)](new Event(t(542)));break}}}();var o=document[e(421)](e(175))[0];o[e(261)](),o.setSelectionRange(-1,-1)},owoBigfunc(){var e=_0x2059;document[e(424)]("post-comment")&&function(){var t=e;let a=1,n="",o=document[t(266)](t(354)),s=document[t(431)](t(530));o.id="owo-big",s[t(178)](o),new MutationObserver((e=>{var c=t;for(let t=0;t<e[c(268)];t++){let r=e[t][c(570)],i="";2==r[c(268)]&&r[1][c(536)]==c(311)&&(i=r[1],document[c(530)].clientWidth<=768&&i[c(305)](c(205),(e=>e[c(524)]())),i[c(170)]=e=>{var t=c;a&&e[t(172)].tagName==t(430)&&(a=0,n=setTimeout((()=>{var a=t;let n=3*e[a(172)][a(456)],c=3*e[a(172)].clientWidth,r=e.x-e.offsetX-(c-e[a(172)].clientWidth)/2,i=e.y-e[a(155)];r+c>s[a(452)]&&(r-=r+c-s.clientWidth+10),r<0&&(r=10),o[a(164)][a(472)]=a(239)+n+a(254)+c+a(384)+r+a(304)+i+"px;",o[a(259)]=a(232)+e.target.src+'">'}),300))},i.onmouseout=()=>{var e=c;o.style[e(578)]=e(585),a=1,clearTimeout(n)})}})).observe(document.getElementById(t(459)),{subtree:!0,childList:!0})}()},removeaAlayerFixedLrc(){var e=_0x2059;function t(){var e=_0x2059;const t=document[e(431)](e(535));t&&(a[e(282)](),setTimeout((()=>{t[e(425)]()}),1))}const a=new MutationObserver(((e,a)=>{var n=_0x2059;for(let a of e)"childList"===a[n(553)]&&t()}));a[e(463)](document,{childList:!0,subtree:!0})},switchDarkMode(){var e=_0x2059;const t=e=>{var t=_0x2059;const a=(window.globalFn||{}).themeChange||{};a&&Object.keys(a)[t(432)]((n=>{var o=t;const s=a[n];[o(381),o(323)][o(166)](n)?setTimeout((()=>s(e)),300):s(e)}))};(document[e(363)][e(367)]("data-theme")===e(506)?"dark":e(330))===e(330)?(activateDarkMode(),saveToLocal[e(492)](e(357),"dark",2),void 0!==GLOBAL_CONFIG.Snackbar&&btf[e(385)](GLOBAL_CONFIG[e(465)].day_to_night),t(e(506))):(activateLightMode(),saveToLocal[e(492)](e(357),"light",2),void 0!==GLOBAL_CONFIG[e(465)]&&btf[e(385)](GLOBAL_CONFIG[e(465)][e(195)]),t(e(330))),typeof utterancesTheme===e(382)&&utterancesTheme(),typeof FB===e(242)&&window[e(460)](),window[e(562)]&&document[e(424)](e(498))[e(523)][e(268)]&&setTimeout((()=>window[e(213)]()),200)},essayUnknownPart(){},essayReplaceAll:(e,t,a)=>e[_0x2059(346)](t).join(a),essayDiffDate:function(e,t=!1){var a=_0x2059;const n=new Date,o=new Date(e),s=n[a(420)]()-o[a(420)](),c=36e5,r=864e5;let i;if(t){const e=s/r,t=s/c,n=s/6e4;i=s/2592e6>=1?o[a(352)]()[a(224)](/\//g,"-"):e>=1?parseInt(e)+" "+GLOBAL_CONFIG[a(167)][a(468)]:t>=1?parseInt(t)+" "+GLOBAL_CONFIG[a(167)][a(398)]:n>=1?parseInt(n)+" "+GLOBAL_CONFIG.date_suffix.min:GLOBAL_CONFIG[a(167)][a(256)]}else i=parseInt(s/r);return i},essayChangeTimeInEssay:function(){var e=_0x2059;document[e(431)](e(237))&&document.querySelectorAll(e(359))[e(432)]((function(t){var a=e,n=t,o=n[a(367)](a(248));n.innerText=mycpen1js.essayDiffDate(o,!0),n.style.display=a(182)}))},essayReflashEssayWaterFall:function(){var e=_0x2059;document[e(431)](e(325))&&setTimeout((function(){var t=e;waterfall(t(325)),document.getElementById(t(467))[t(222)][t(407)](t(543))}),500)},essayCommentText:function(e){var t=_0x2059;var a=document[t(431)](t(513)).offsetTop;window[t(315)](0,a-80),"undefined"!=e&&"null"!=e||(e=t(497)),function t(){setTimeout((()=>{var a=_0x2059,n=document[a(421)](a(175))[0];n||t();let o=document.createEvent(a(264));o[a(358)](a(412),!0,!0);let s=mycpen1js.essayReplaceAll(e,"\n",a(190));n[a(360)]="> "+s+"\n\n",n.dispatchEvent(o),n.focus(),n.setSelectionRange(-1,-1),document.getElementById("comment-tips")&&document[a(424)](a(344))[a(222)].add(a(543))}),100)}()},essayInitIndexEssay:function(){setTimeout((()=>{var e=_0x2059;let t=new Swiper(e(263),{passiveListeners:!0,direction:e(568),loop:!0,autoplay:{disableOnInteraction:!0,delay:3e3},mousewheel:!0}),a=document.getElementById(e(153));null!==a&&(a.onmouseenter=function(){t[e(548)].stop()},a[e(484)]=function(){var a=e;t[a(548)][a(552)]()})}),100)},essayChangeTimeInEssayByMycpen:function(){for(var e=_0x2059,t=document[e(402)](e(329)),a=0;a<t[e(268)];a++){var n,o=t[a][e(367)](e(248)),s=new Date(o),c=(new Date)[e(420)]()-s.getTime(),r=Math[e(517)](c/864e5);0===r?n="最近":1===r?n="昨天":2===r?n="前天":r<=7?n=r+"天前":s.getFullYear()!==(new Date)[e(316)]()?(Essaymonth=s[e(177)]()+1,EssayDay=s.getDate(),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=s.getFullYear()+"-"+Essaymonth+"-"+EssayDay):(Essaymonth=s.getMonth()+1,EssayDay=s[e(324)](),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=Essaymonth+"-"+EssayDay),t[a].textContent=n}},switchPostChart:function(){var e=_0x2059;let t=document[e(363)][e(367)](e(411))===e(330)?e(416):"rgba(255,255,255,0.7)";if(document[e(424)]("posts-chart")&&postsOption)try{let a=postsOption;a[e(464)][e(277)][e(271)]=t,a[e(223)][e(565)][e(271)]=t,a[e(270)].nameTextStyle[e(271)]=t,a.xAxis[e(353)][e(271)]=t,a.yAxis[e(353)][e(271)]=t,a[e(223)][e(374)][e(457)][e(271)]=t,a[e(270)][e(374)][e(457)][e(271)]=t,a[e(534)][0][e(243)][e(495)][0][e(290)][e(271)]=t,postsChart[e(388)](a)}catch(t){console[e(394)](t)}if(document[e(424)](e(345))&&tagsOption)try{let a=tagsOption;a.title[e(277)].color=t,a[e(223)][e(565)][e(271)]=t,a.yAxis[e(565)][e(271)]=t,a[e(223)][e(353)][e(271)]=t,a[e(270)][e(353)].color=t,a[e(223)][e(374)][e(457)][e(271)]=t,a[e(270)].axisLine[e(457)].color=t,a[e(534)][0].markLine.data[0][e(290)][e(271)]=t,tagsChart[e(388)](a)}catch(t){console[e(394)](t)}if(document[e(424)](e(586))&&categoriesOption)try{let a=categoriesOption;a[e(464)][e(277)][e(271)]=t,a.legend.textStyle[e(271)]=t,!categoryParentFlag&&(a[e(534)][0][e(290)].color=t),categoriesChart[e(388)](a)}catch(t){console[e(394)](t)}},cpRemind(){var e=_0x2059;document[e(305)](e(184),(function(t){var a=e;window[a(406)]().toString()[a(252)]()[a(268)]>0&&btf[a(385)](a(545))}))},closeAboutAplayer(){var e=_0x2059;if(!document.getElementById(e(197)))try{about_page_ap[e(238)](),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=_0x2059,t=new Date,a=t[e(177)]()+1,n=t.getDate(),o=[e(196),e(566),e(152),e(378),e(576),e(313),e(201),e(296),e(482)];for(var s of o){var c=s.split(".");if(a==c[0]&&n==c[1]){var r=e(191);$("html")[e(255)]({filter:e(336),filter:e(559),filter:r,"-webkit-filter":r,"-moz-filter":r,"-ms-filter":r,"-o-filter":r});break}}},console(){var e=_0x2059,t=new Date,a=console[e(394)];queueMicrotask((function(){var n=e;var o=new Date(""+atob(n(185))+atob(n(299))),s=new Date(atob(n(556))+":"+atob(n(251))),c=new Date(""+atob(n(273))+atob(n(573))),r=new Date(atob(n(577))+"/"+atob("MjIvMjA1OCAwMDowMA==")+atob("OjAw"));new Date(n(369));t[n(300)](t.getTime()+250);o=[" MYCPEN BLOG "," "+window.location.origin+" ","\n\n",n(151),Math.floor(Math.abs(t-o)/1e3/60/60/24+(t-o<0?1:0))[n(371)]()[n(486)](5," "),"天",n(504),Math[n(517)](Math[n(162)](t-s)/1e3/60/60/24+(t-s<0?1:0))[n(371)]()[n(486)](5," "),"天",n(571),Math.floor(Math.abs(t-c)/1e3/60/60/24+(t-c<0?1:0))[n(371)]().padEnd(5," "),"天","距 2058-00-00 计时",Math[n(517)](Math.abs(t-r)/1e3/60/60/24+(t-r<0?1:0)).toString()[n(486)](5," "),"天"];setTimeout(function(){a[_0x2059(216)](console,arguments)}.bind(console,n(499)[n(230)](o[0],"%c")[n(230)](o[1],"%c")[n(230)](o[2],"%c")[n(230)](o[3],n(180)).concat(o[4],n(180))[n(230)](o[5],"\n")[n(230)](o[6],n(180))[n(230)](o[7],n(180))[n(230)](o[8],"\n")[n(230)](o[9],n(180))[n(230)](o[10],n(180))[n(230)](o[11],"\n")[n(230)](o[12],"%c ")[n(230)](o[13],n(180))[n(230)](o[14],"\n")[n(230)]("\n"),"color: #fadfa3; background: #030307; padding:5px 0;",n(390),n(386),"",n(257),"",n(257),"","color:#030307","",n(257),""))}))},cardRefreshTimes(){var e=_0x2059;const t=(new Date)[e(316)](),a=(n=t)%4==0&&n%100!=0||n%400==0?366:365;var n,o=new Date,s=new Date((new Date)[e(316)]()+"-01-01 00:00:00"),c=document[e(424)]("card-widget-schedule");c&&(asideDay=(o-s)/1e3/60/60/24,c[e(431)](e(217))[e(360)]=asideDay,c[e(431)](e(217))[e(194)]=a,yearPercentage=(asideDay/a*100)[e(540)](2),displayYearPercentage="100.00"===yearPercentage?e(231):yearPercentage+"%",c[e(431)](e(260))[e(259)]=displayYearPercentage,c[e(431)](".schedule-r0 .schedule-d1 .aside-span2")[e(259)]=(Math[e(517)](10*(a-asideDay))/10)[e(540)](1)+e(375)+a,currentDateMonth=new Date,currentDateMonth[e(350)](1),currentDateMonth[e(555)](0,0,0,0),currentMonthTimestamp=currentDateMonth[e(420)](),asideMonthDay=(o-currentMonthTimestamp)/1e3/60/60/24,currentDateMonthTotal=new Date,currentMonth=currentDateMonthTotal.getMonth(),currentDateMonthTotal.setMonth(currentMonth+1,1),currentDateMonthTotal.setDate(0),asideMonthDays=currentDateMonthTotal[e(324)](),c[e(431)](e(269))[e(360)]=asideMonthDay,c[e(431)](e(269)).max=asideMonthDays,monthPercentage=(asideMonthDay/asideMonthDays*100).toFixed(2),displayMonthPercentage=monthPercentage===e(320)?e(231):monthPercentage+"%",c[e(431)](e(218))[e(259)]=displayMonthPercentage,c[e(431)](e(312))[e(259)]=(Math[e(517)](10*(asideMonthDays-asideMonthDay))/10)[e(540)](1)+" / "+asideMonthDays[e(371)]()[e(560)](3,"0"),currentDateWeek=new Date,currentDayOfWeek=currentDateWeek[e(314)](),currentWeekTimestamp=currentDateWeek[e(555)](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(431)](e(490)).value=asideWeekDay,weekPercentage=(asideWeekDay/7*100)[e(540)](2),displayWeekPercentage="100.00"===weekPercentage?e(231):weekPercentage+"%",c[e(431)](e(487))[e(259)]=displayWeekPercentage,c[e(431)](e(519)).innerHTML=(Math[e(517)](10*(7-asideWeekDay))/10)[e(540)](1)+" / 007",currentTimeStamp=(new Date)[e(420)](),startOfDay=new Date,startOfDay[e(555)](0,0,0,0),startOfDayTimeStamp=startOfDay[e(420)](),timeDifferenceToday=currentTimeStamp-startOfDayTimeStamp,asideToday=timeDifferenceToday/1e3/60/60/24,asideTodayHour=timeDifferenceToday/36e5,c[e(431)](e(343))[e(360)]=asideTodayHour,dayPercentage=(100*asideToday)[e(540)](2),displayDayPercentage=dayPercentage===e(320)?e(231):dayPercentage+"%",c[e(431)](e(419))[e(259)]=displayDayPercentage,c[e(431)](".schedule-r3 .schedule-d1 .aside-span2")[e(259)]=(Math[e(517)](10*(24-asideTodayHour))/10).toFixed(1)+e(489),month=o[e(177)]()+1,day=o[e(324)](),month=month>9?month:"0"+month,day=day>9?day:"0"+day,week={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"},document.querySelector(e(310)).innerHTML=o[e(316)]()+"-"+month+"-"+day+" "+week[o.getDay()])},PressEscapeKey(e){var t=_0x2059;27===e[t(423)]&&(document[t(424)]("console")&&mycpen1js[t(507)](),document[t(424)](t(521))&&document.getElementById(t(537))&&(document.querySelector(t(436))||document[t(431)](".cf-overshow"))&&(document.getElementById(t(356))&&closeShow(),document.getElementById(t(322))&&mycpen1js[t(483)]()))},linkPageOpenMeShow(e){var t=_0x2059,a="ok",n=t(527),o=document.getElementById(t(322));o&&(document[t(424)](t(521))||o[t(157)]("afterend",n)),e[t(524)]();var s,c=e[t(414)].dataset[t(186)][t(224)](/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/,t(520));s={apipublicurl:"https://hexo-circle.cpen.top/"}[t(221)]+t(258)+c,"ok"==a&&(a="no",mycpen1js.linkPageFetchShow(s))},linkPageOpenMeShowV2(e){var t=_0x2059,a=t(179),n="ok",o=t(527),s=document.getElementById(t(322));s&&(document[t(424)]("cf-overlay")||s[t(157)]("afterend",o)),e[t(524)]();var c,r=encodeURIComponent(e.currentTarget[t(292)][t(288)]);c=a+t(209)+r,"ok"==n&&(n="no",mycpen1js.linkPageFetchShow(c))},linkPageCloseShow(){var e=_0x2059;document[e(424)](e(521)).className-=e(454),document[e(424)](e(537)).className-=e(454),setTimeout((function(){var t=e,a=document[t(192)](t(496)),n=document[t(192)](t(265));a[t(432)]((function(e){e[t(278)]()}));for(var o=1;o<n[t(268)];o++)n[o][t(278)]()}),100)},linkPageFetchShow(_0x29ffb1){var _0x1f911e=_0x2059,_0x1517e0='\n <div class="cf-overshow-close" onclick="mycpen1js.linkPageCloseShow()"></div>\n ';fetch(_0x29ffb1).then((e=>e[_0x1f911e(391)]()))[_0x1f911e(160)]((_0x178702=>{var _0x2e228a=_0x1f911e;noClick="ok";var _0x5e1d09=_0x178702.statistical_data,_0x486317=eval(_0x178702[_0x2e228a(389)]);0!==_0x5e1d09[_0x2e228a(247)]?(mycpen1js[_0x2e228a(347)](_0x5e1d09,_0x486317),document[_0x2e228a(424)](_0x2e228a(521)).className="cf-show-now",document.getElementById(_0x2e228a(537))[_0x2e228a(157)](_0x2e228a(154),_0x1517e0)):btf[_0x2e228a(385)](_0x2e228a(355))}))[_0x1f911e(558)]((e=>{btf.snackbarShow("未获取到文章卡片")}))},linkPageLoadFcircleShow(e,t){for(var a=_0x2059,n='\n <div class="cf-overshow">\n <div class="cf-overshow-head">\n <img class="cf-img-avatar avatar" src="'+e[a(474)]+a(293)+e.link+'">'+e.name+a(532),o=0;o<e[a(247)];o++){var s=t[o];let e="";Date.now()-new Date(s[a(449)]+" 00:00:00")[a(420)]()<=1728e5&&(e=a(284)),n+=a(298)+s[a(186)]+a(249)+s[a(464)]+'">'+s.title+a(448)+e+">"+s[a(449)]+"</span></p>\n "}n+=a(204),document[a(424)](a(537))[a(157)](a(181),n),document[a(424)](a(537))[a(536)]=a(454)},linkPageRssAliveCheck(){var e=_0x2059;apiurl="https://hexo-circle.cpen.top/",rssAliveCheckUrl=apiurl+"friendstatus",fetch(rssAliveCheckUrl)[e(160)]((t=>t[e(391)]()))[e(160)]((t=>{var a=e,n=t[a(253)],o=t[a(544)],s=t[a(408)];let c=[];for(const e in n){let t=n[e];t=t[a(224)](/^https?:\/\//,""),t=t[a(224)](/\/$/,""),c.push(t)}let r=[];for(const e in o){let t=o[e];t=t[a(224)](/^https?:\/\//,""),t=t.replace(/\/$/,""),r[a(307)](t)}document[a(192)](a(538)).forEach((e=>{var t=a;if(e){let a=e[t(367)]("data-link")[t(224)](/^https?:\/\//,"");a=a[t(224)](/\/$/,""),s>0?r.includes(a)?e[t(222)].add(t(417)):c[t(166)](a)?e[t(222)].add("flink-mycpen1-rss-lost-friends"):e[t(222)].add(t(462)):0===s&&e[t(222)].add(t(272))}}))}))},NzcheckLink:async e=>{var t=_0x2059;const a=document[t(192)](e);if(a){let e=new RegExp(/^[#].*/);for(let s=0;s<a[t(268)];s++){const c=a[s];var n=c[t(150)](t(488)),o=c[t(222)].contains(t(581));if(!n&&!o){let a=c.getAttribute("href"),n=c[t(367)]("data-download"),o=c.getAttribute("rel");e[t(174)](a)||"prev"===o||o===t(415)||"category"===o||o===t(393)||"javascript:void(0);"===a||(await mycpen1js[t(342)](a)||n?!await mycpen1js.NzcheckLocalSite(a)&&"goDown"===n&&c.setAttribute(t(301),"/redirect.html?url="+btoa(a)+"&type=goDown"):c[t(399)]("href",t(563)+btoa(a)))}c[t(222)].add(t(581))}}},NzcheckLocalSite:async e=>{var t=_0x2059;try{const a=["localhost:4000",t(428),t(561)];let n=!1;for(let o=0;o<a[t(268)];o++){const s=a[o];if(e[t(166)](s)){n=!0;break}}return n}catch(e){return!0}},cookieConsent(){window.addEventListener("load",(()=>{var e=_0x2059;window[e(446)][e(379)]({type:"info",theme:e(212),static:!1,position:e(283),content:{message:e(531),dismiss:"接受",allow:"接受",deny:"拒绝",link:!1},palette:{popup:{background:e(395),text:"#838391"},button:{background:e(441)}}})}))}};function whenDOMReadyMycpen1JS(){var e=_0x76a56a;mycpen1js[e(376)](),mycpen1js[e(514)](),mycpen1js.removeBodyPaceClass(),mycpen1js[e(477)](),mycpen1js.categoryPageActive(),mycpen1js[e(206)](),mycpen1js.owoBigfunc(),document.getElementById(e(326))&&(mycpen1js[e(161)](),mycpen1js[e(228)](),window.onresize=()=>{document[e(424)]("mycpen1-essay-page-tag")&&(mycpen1js.essayReflashEssayWaterFall(),setTimeout((()=>{mycpen1js.essayReflashEssayWaterFall()}),300))}),document.getElementById(e(440))[e(305)](e(425),(function(){setTimeout(mycpen1js[e(214)],100)})),document[e(424)]("darkmode_navswitch")[e(305)](e(425),(function(){setTimeout(mycpen1js.switchPostChart,100)})),document.getElementById(e(470))[e(305)](e(425),(function(){setTimeout(mycpen1js[e(214)],100)})),document[e(424)]("darkmode_sidebarSwitch")[e(305)](e(425),(function(){setTimeout(mycpen1js[e(214)],100)})),mycpen1js[e(332)](),mycpen1js[e(234)](),document[e(424)](e(246))&&(mycpen1js.cardRefreshTimes(),setInterval((()=>{mycpen1js[e(279)]()}),1e3)),document[e(424)](e(547))&&mycpen1js[e(295)](),document.getElementById(e(322))&&(mycpen1js[e(405)](e(584)),mycpen1js.NzcheckLink(e(373))),document.getElementById(e(197))&&mycpen1js.NzcheckLink("#article-container #mycpen1-about-page-tag-sponsor-part a"),document[e(424)]("post-comment")&&setInterval((()=>{var t=e;if(document.querySelector(t(203))){mycpen1js[t(405)](".tk-comments-container a:not(.already-redirect-link)");document[t(192)](t(510)).forEach((e=>{var a=t;e[a(222)][a(407)]("already-clear-clickEvent");const n=document[a(266)]("a");for(Array[a(303)](e[a(159)])[a(432)]((e=>{var t=a;n[t(399)](e[t(288)],e[t(360)])}));e[a(528)];)n[a(178)](e.firstChild);e[a(438)].replaceChild(n,e);const o=n[a(229)][a(333)][a(333)][a(333)][a(367)](a(301));n[a(399)](a(301),o),n.setAttribute(a(172),"_blank"),n[a(399)](a(165),a(327))}))}}),1e3)}mycpen1js[_0x76a56a(422)](),document.removeEventListener(_0x76a56a(522),mycpen1js[_0x76a56a(188)]),document.addEventListener("keydown",mycpen1js.PressEscapeKey),window[_0x76a56a(233)]=mycpen1js.getNavRightPagePercent,mycpen1js[_0x76a56a(383)](),whenDOMReadyMycpen1JS(),document[_0x76a56a(305)](_0x76a56a(349),whenDOMReadyMycpen1JS);
|