mycpen-blog 0.0.0-wkufvtabat → 0.0.0-wlaiuywbgz
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 +158 -166
- package/baidu_urls.txt +7 -7
- package/baidusitemap.xml +20 -44
- 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/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 +62 -232
- package/sitemap.xml +128 -203
- 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
|
-
function _0x4c34(e,t){var a=_0x1adc();return(_0x4c34=function(e,t){return a[e-=373]})(e,t)}function _0x1adc(){var e=["remove",".page .layout #category #category-page-categories","flink-mycpen1-rss-unknown-friends","loadFBComment","有学习能力的","活泼的","#bber time","gray !important;","$1:$2$3","darkmode_sidebarSwitch","set","category","postv2?name=","onmouseenter",".schedule-r1 .schedule-d1 .aside-span2","mycpen1-link-page-tag-2","rel","already-redirect-link","querySelectorAll","未获取到订阅内容","ceil","#pBar_day","listenToPageInputPress","mycpen1-link-page-tag","apply","火龙果"," / 007","tagPageActive","100.00","inline","setOption","removeEventListener","有爱心的","#waterfall","nameTextStyle","body","有责任感的","currentTarget","有思想的","#name","edgeless","post-comment","有决策能力的","toLocaleDateString",".tk-comments-container a:not(.already-redirect-link)","#p_span_month","floor","05.12","hideConsole","善于表达的","#pBar_week","add","insertAdjacentHTML","12.13","2393610udLCYX","#newYear .title","test","getSelection","getAttribute","loadUrl","href","rgba(255,255,255,0.7)","push",'\n <p><a class="cf-article-title" href="',"cookieconsent","padStart","already-clear-clickEvent","setSelectionRange","split","initEvent","offsetHeight","迷人的","喜欢学习的","幽默的","/json/link.json","scrollTo",".schedule-r3 .schedule-d1 .aside-span2","offsetTop","#comment_email","#console","100%","prev","#mail","setHours","onresize"," MYCPEN BLOG ","el-textarea__inner","undefined","json","card-widget-schedule","grayscale(100%)","yAxis","09.30","axisLine","#article-container .flink .flink-list > .flink-list-item.单向 > a","MTAvMjIvMjA=","</span></p>\n ","97950dShoLe","addedNodes","name","time","豁达的","select","耐心的","有耐性的",'<span class="happyNewYear">新年快乐</span>',"trim","勇敢的","hide-aside","stringify","MDgvMjgvMjAyMiA=","dispatchEvent","率直的","有想象力的","善解人意的","scrollTop","喜欢思考的","clientHeight","input[name='author']","细心的","initialise","catch","好奇的","essayReplaceAll","稳重的","getElementById","#838391","有同情心的",'" alt="avatar" onerror="this.src=\'https://cdn.cbd.int/mycpen-blog@0.0.0-wkufvtabat/img/flink404.svg\'; this.onerror = null;">\n <a class="" target="_blank" rel="noopener nofollow" href="',"snackbarShow","post?link=","label",".page .layout #tag #tag-page-tags","尊重他人的","input[name='comname']","坚强的","46KbwSnn","务实的","long","3150sLjvWO","#4C4948","DISQUS","getFooterRandomFlink","tagName","series","show","from","style","concat","observe","善于沟通的","load",'<span class="unit">天</span></span>',"#pBar_month","disqus_thread","朴素的","\n链接:","min","NzcheckLink","className","focus","lineStyle","有幽默感的","cf-overlay","light","darkmode","距 1998-00-00 计时","padEnd","data-theme","MjggMDA6MDA6MDA=","#consoleHideAside","documentElement","disconnect","慷慨的","friendstatus","大方的","toFixed","NzcheckLocalSite","keyCode","善于领导的","autoplay","data-link","1821256UAPJuz","saveData","essayDiffDate","apipublicurl","有魅力的","display","距 2025-05-23 计时","%c ","avatar","replace","getItem","体贴的","#author","max","pageYOffset","07.07","parse","cpen.top","includes","attributes","#article-container .flink .flink-list > .flink-list-item.失联 > a",".essay_bar_swiper_container","linkPageFetchShow","childList",".schedule-r0 .schedule-d1 .aside-span2","origin","\n%c","有个性的","stop","value","display:flex; height:","HTMLEvents","有智慧的","abs","just","#percent","OjAw","color","setAttribute","bottom-right","干净的","loadData","开放的","有担当的","英俊的","_blank","08.14","金针菇",".page-number","#p_span_year","tag","type","距 2058-00-00 计时","night_to_day","有趣的","console","toPageButton","cpRemind","parentNode","onscroll","linkPageRssAliveCheck","xAxis","innerText","darkmode_consoleSwitch","setTime","宽容的","toPage","scrollHeight","#nav-totop","#inpEmail","donotreply@mycpen.cn","#newYear .today","有团队精神的","我们使用 cookie 来确保在我们的网站上为您提供最佳体验。","慎重的","vertical","onmouseover","dataset","getDay","温暖的","px; top:","object","splice","css","afterbegin","有冒险精神的","legend","children","article_num","朝气蓬勃的","axisLabel","setMonth","lost_friends","#newYear .newYear-time","link_list","round","#p_span_day","Mycpen - Personal Blog"," / 024","datetime",".tk-avatar.tk-clickable:not(.already-clear-clickEvent)","copy","成熟的","firstElementChild"," | Mycpen","offsetX","click","聪明的","bbtalk","flink-mycpen1-rss-lost-friends","input[name='nick']",'style="color: var(--mycpen1-main); opacity: 1;"',"pause","标题:","statistical_data","length","敬业的","change","input","color:#fadfa3","有眼光的","hasAttribute","mycpen1-fcircle-page-tag","哈密瓜","#pBar_year","tags-chart","有专业素养的","classList","now","守信的","setItem","px; left:","clientWidth","createEvent","beforeend","toString","forEach","title","appendChild",'\n <div class="cf-overshow">\n <div class="cf-overshow-head">\n <img class="cf-img-avatar avatar" src="',"好棒!","theme","cardRefreshTimes","富有想象力的","敏捷的","px; width:","#comment_author","log","page-name","MTAvMjIvMTk5OCAwMA==","顽强的","keydown","含蓄的","有创造力的","removeaAlayerFixedLrc","created","flink-mycpen1-rss-not-lost-friends","https://hexo-circle.cpen.top/","article_data","pathname","categories-chart","#newYear","querySelector","info","PressEscapeKey","posts-chart","then","src","onmouseleave","#ds-dialog-email","cf-overshow","page/","mycpen1-about-page-tag","comment-tips","link","有正义感的",'<i class="fa-solid fa-clock"></i> <span>距离</span> '," 00:00:00","纯真的","input[name='email']","data","random","独立的","div","#post-comment","addClass","自信的","</a><span ","addEventListener","input[name='mail']","mycpen1-categories-page-cloudCategories-","innerHTML","afterend","removeClass","有激情的","switchPostChart","10DmWMRi","善于合作的","dark","randomLink","#aside-content .card-widget#card-widget-schedule .item-content .schedule-today",'" target="_blank" rel="noopener nofollow" data-title="',"javascript:void(0);",".schedule-r2 .schedule-d1 .aside-span2","距 2022-08-28 上线","background: #fadfa3; padding:5px 0;","cf-show-now","progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)","preventDefault","getMonth","owoBigfunc","aside-status","toPageText","返回顶部","可靠的","文静的","IMG","mycpen1-essay-page-tag","function","pjax:complete","contains","noopener external nofollow noreferrer","location","date_suffix","categoryPageActive","09.18","开朗的","getNavRightPagePercent","&type=goDown","09.09","linkPageLoadFcircleShow","优雅的","1344760sqPKxh","contextmenu","/redirect.html?url=","data-download","9473AqwHAJ","Snackbar","markLine","天 (阿里云)",'\n <div id="cf-overlay" class="cf-new-add" onclick="mycpen1js.linkPageCloseShow()"></div>\n <div id="cf-overshow" class="cf-new-add"></div>\n ',"not_lost_friends","getTime","color:#030307","input[name='commail']","具有批判性思维的","linkPageCloseShow","1528KqTZGY","getFullYear","\n> ","goDown","footer","null","#bber","textStyle",'<span class="day">',"#ds-dialog-name","getDate","距 2028-00-00 计时","target","localhost:4000","复制成功","haveValue","-01-01 00:00:00",".share","7139403lYtWzB","createElement","有协调能力的","美丽的",".cf-overshow","深刻的","onmouseout","closeAboutAplayer","机智的","Happy New Year!"];return(_0x1adc=function(){return e})()}var _0x2cba03=_0x4c34;!function(e,t){for(var a=_0x4c34,n=_0x1adc();;)try{if(230655===parseInt(a(454))/1*(-parseInt(a(629))/2)+parseInt(a(590))/3+parseInt(a(675))/4+parseInt(a(450))/5+parseInt(a(547))/6+parseInt(a(632))/7*(parseInt(a(465))/8)+parseInt(a(483))/9*(-parseInt(a(414))/10))break;n.push(n.shift())}catch(e){n.push(n.shift())}}();var mycpen1js={changeNavPageNameTitle(){var e=_0x4c34;document.title==e(772)?document[e(618)](e(823))[e(737)]=document[e(812)]:document.getElementById(e(823)).innerText=document[e(812)][e(561)](e(779))[0]},getNavRightPagePercent(){var e=_0x4c34;let t=document[e(664)].scrollTop||window[e(689)],a=Math[e(688)](document[e(528)][e(742)],document[e(664)][e(742)],document.body[e(563)],document[e(664)].offsetHeight,document[e(528)][e(610)],document[e(664)][e(610)])-document[e(664)][e(610)],n=Math[e(770)](t/a*100),o=document[e(380)](e(710));n<=99||(n=99),o[e(409)]=n,r=window.scrollY+document[e(664)][e(610)],p=document[e(618)](e(534))||document[e(618)](e(469)),p[e(570)]+p[e(563)]/2<r||90<n?(document[e(380)](e(743)).classList.add(e(631)),o[e(409)]=e(431)):(document.querySelector(e(743))[e(802)].remove("long"),o[e(409)]=n)},share(){var e=_0x4c34;let t=window[e(440)][e(700)]+window.location.pathname;new ClipboardJS(e(482),{text:function(){var a=e;return a(788)+document[a(812)]+a(649)+t}}),btf[e(622)](e(479))},getFooterRandomFlink(){var e={saveData:(e,t)=>{var a=_0x4c34;localStorage[a(805)](e,JSON[a(602)]({time:Date[a(803)](),data:t}))},loadData:(e,t)=>{var a=_0x4c34;let n=JSON[a(691)](localStorage[a(685)](e));if(n){let e=Date[a(803)]()-n[a(593)];if(e<60*t*1e3&&e>-1)return n[a(398)]}return 0},randomLink:()=>{var t=_0x4c34;let a=e[t(716)]("links",30);if(a){let e=document[t(511)]("#friend-links-in-footer .footer-item");if(!e[t(790)])return;for(let n=0;n<3;n++){let o;do{o=parseInt(Math[t(399)]()*a[t(790)])}while("失联"===a[o][t(725)]);e[n].innerText=a[o][t(592)],e[n][t(553)]=a[o][t(392)],e[n][t(812)]=a[o][t(592)],e[n][t(477)]=t(720),e[n][t(509)]=t(439),a[t(757)](o,1)}}else fetch(t(567))[t(384)]((e=>e[t(581)]()))[t(384)]((a=>{var n=t;e[n(676)]("links",a[n(769)]),e[n(417)]()}))}};e[_0x4c34(417)]()},newYearCountdownCard(){(()=>{var e=_0x4c34;if(clearTimeout(null),!document[e(380)](e(379)))return;let t=new Date((new Date)[e(466)]()+1+e(481)).getTime()/1e3,a={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"};!function(){var n=e;let o=new Date,c=o[n(427)]()+1,s=o[n(475)]();c=c>9?c:"0"+c,s=s>9?s:"0"+s,document.querySelector(n(746)).innerHTML=o[n(466)]()+"-"+c+"-"+s+" "+a[o.getDay()];let r=t-Math.round(o[n(460)]()/1e3);r<0?(document[n(380)](n(548))[n(409)]=n(492),document[n(380)](n(768)).innerHTML=n(598)):(document[n(380)](n(548))[n(409)]=n(394)+((new Date)[n(466)]()+1)+" <span>年</span>",document.querySelector(n(768))[n(409)]=r>86400?n(473)+Math[n(513)](r/86400)+n(645):'<span class="day">'+Math[n(513)](r/86400)+'<span class="unit">天</span></span>')}()})()},removeBodyPaceClass:function(){var e=_0x4c34;$(e(528))[e(411)](),$(e(528))[e(403)]("pace-done")},toPage:function(){var e=_0x4c34,t=document[e(511)](e(723)),a=parseInt(t[t[e(790)]-1][e(409)]),n=document.getElementById(e(430)),o=parseInt(n.value);if(!isNaN(o)&&o>0&&"0"!==(""+o)[0]&&o<=a){var c,s=window[e(440)][e(553)][e(684)](/\/page\/\d+\/$/,"/");c=1===o?s:s+(s.endsWith("/")?"":"/")+e(389)+o+"/",document[e(618)](e(731))[e(553)]=c}},listenToPageInputPress(){var e=_0x4c34,t=document[e(618)]("toPageText"),a=document.getElementById(e(731));t&&(t.addEventListener(e(826),(t=>{var n=e;13===t[n(671)]&&(mycpen1js[n(741)](),pjax[n(552)](a.href))})),t[e(406)](e(793),(function(){var n=e;""===t[n(704)]||"0"===t.value?a[n(802)].remove(n(480)):a[n(802)].add("haveValue");var o=document[n(511)](n(723)),c=+o[o.length-1][n(409)];+document[n(618)](n(430))[n(704)]>c&&(t.value=c)})))},showConsole:function(){var e=_0x4c34;document[e(380)](e(572))[e(802)].add("show"),mycpen1js.initConsoleState()},hideConsole:function(){var e=_0x4c34;document[e(380)](e(572))[e(802)].remove(e(638))},hideAsideBtn:()=>{var e=_0x4c34;const t=document[e(664)][e(802)];t[e(438)](e(601))?saveToLocal.set("aside-status",e(638),2):saveToLocal[e(503)](e(429),"hide",2),t.toggle(e(601)),t.contains("hide-aside")?document[e(380)](e(663))[e(802)][e(544)]("on"):document[e(380)](e(663))[e(802)][e(493)]("on")},initConsoleState:function(){var e=_0x4c34;document[e(664)].classList[e(438)](e(601))?document[e(380)](e(663))[e(802)][e(544)]("on"):document[e(380)](e(663))[e(802)][e(493)]("on")},tagPageActive:function(){var e=_0x4c34,t=window.location[e(377)];if(/\/tags\/.*?\//[e(549)](t=decodeURIComponent(t))){var a=t.split("/")[2];if(document[e(380)](e(625))){$("a")[e(411)](e(595));var n=document[e(618)]("mycpen1-tags-page-cloudTags-"+a);n&&n[e(802)][e(544)](e(595))}}},categoryPageActive:function(){var e=_0x4c34,t=window[e(440)][e(377)];if(/\/categories\/.*?\//.test(t=decodeURIComponent(t))){var a=t[e(561)]("/")[2];if(document[e(380)](e(494))){$("a")[e(411)](e(595));var n=document[e(618)](e(408)+a);n&&n[e(802)][e(544)](e(595))}}},addRandomCommentInfo:function(){var e=_0x4c34;const t=[e(486),e(719),e(782),e(600),"可爱的",e(666),"善良的",e(432),e(444),e(777),e(617),"真诚的",e(566),e(594),e(729),e(498),e(449),e(819),"温柔的",e(754),e(791),e(612),e(596),"深沉的",e(648),e(827),e(605),e(717),e(630),e(628),e(404),"谦虚的",e(433),e(488),e(396),e(764),e(749),e(668),e(825),e(564),e(491),e(607),e(818),e(679),e(400),e(615),e(715),e(740),e(626),e(686),e(804),e(597),"有责任心的",e(718),"有远见的",e(707),e(795),e(760),e(525),e(620),e(609),e(565),e(463),e(542),e(643),e(415),e(672),e(412),e(655),e(531),e(702),e(393),e(529),e(828),e(606),"有艺术细胞的",e(747),e(485),e(535),"有组织能力的",e(497),"有执行能力的","有分析能力的","有逻辑思维的","有创新能力的",e(801),"有商业头脑的"],a=["萝卜","白菜","芹菜","生菜","青椒","辣椒","茄子","豆角","黄瓜","西红柿","洋葱","大蒜","土豆","南瓜","豆腐","韭菜","花菜","西兰花","蘑菇",e(722),"苹果","香蕉","橙子","柠檬","猕猴桃","草莓","葡萄","桃子","杏子","李子","石榴","西瓜",e(798),"蜜瓜","樱桃","蓝莓","柿子","橄榄","柚子",e(518)],n=""+t[Math.floor(Math[e(399)]()*t[e(790)])]+a[Math[e(539)](Math[e(399)]()*a[e(790)])];!function(){for(var t=e,a=[t(687),t(627),"#inpName",t(611),t(474),t(532),t(785),t(821)],o=[t(575),"#email",t(462),t(744),t(397),t(387),t(407),t(571)],c=0;c<a[t(790)];c++){var s=document[t(380)](a[c]);if(null!=s){s[t(704)]=n,s[t(604)](new Event(t(793))),s[t(604)](new Event(t(792)));break}}for(var r=0;r<o[t(790)];r++){var i=document[t(380)](o[r]);if(null!=i){i[t(704)]=t(745),i[t(604)](new Event(t(793))),i[t(604)](new Event("change"));break}}}();var o=document.getElementsByClassName(e(579))[0];o[e(653)](),o[e(560)](-1,-1)},owoBigfunc(){var e=_0x4c34;document.getElementById(e(534))&&function(){var t=e;let a=1,n="",o=document[t(484)](t(401)),c=document[t(380)](t(528));o.id="owo-big",c[t(813)](o),new MutationObserver((e=>{var s=t;for(let t=0;t<e.length;t++){let r=e[t][s(591)],i="";2==r[s(790)]&&"OwO-body"==r[1][s(652)]&&(i=r[1],document[s(528)][s(807)]<=768&&i[s(406)](s(451),(e=>e[s(426)]())),i[s(751)]=e=>{var t=s;a&&e[t(477)][t(636)]==t(434)&&(a=0,n=setTimeout((()=>{var a=t;let n=3*e[a(477)][a(610)],s=3*e[a(477)][a(807)],r=e.x-e[a(780)]-(s-e.target.clientWidth)/2,i=e.y-e.offsetY;r+s>c.clientWidth&&(r-=r+s-c[a(807)]+10),r<0&&(r=10),o[a(640)].cssText=a(705)+n+a(820)+s+a(806)+r+a(755)+i+"px;",o.innerHTML='<img src="'+e[a(477)][a(385)]+'">'}),300))},i[s(489)]=()=>{var e=s;o[e(640)][e(680)]="none",a=1,clearTimeout(n)})}})).observe(document.getElementById(t(534)),{subtree:!0,childList:!0})}()},removeaAlayerFixedLrc(){var e=_0x4c34;function t(){var e=_0x4c34;const t=document[e(380)](".aplayer-fixed .aplayer-icon.aplayer-icon-lrc");t&&(a[e(665)](),setTimeout((()=>{t[e(781)]()}),1))}const a=new MutationObserver(((e,a)=>{var n=_0x4c34;for(let a of e)a[n(726)]===n(698)&&t()}));a[e(642)](document,{childList:!0,subtree:!0})},switchDarkMode(){var e=_0x4c34;("dark"===document[e(664)][e(551)](e(661))?"dark":e(657))===e(657)?(activateDarkMode(),saveToLocal[e(503)](e(816),e(416),2),void 0!==GLOBAL_CONFIG[e(455)]&&btf[e(622)](GLOBAL_CONFIG[e(455)].day_to_night)):(activateLightMode(),saveToLocal[e(503)](e(816),e(657),2),void 0!==GLOBAL_CONFIG.Snackbar&&btf[e(622)](GLOBAL_CONFIG[e(455)][e(728)])),typeof utterancesTheme===e(436)&&utterancesTheme(),typeof FB===e(756)&&window[e(496)](),window[e(634)]&&document.getElementById(e(647))[e(762)][e(790)]&&setTimeout((()=>window.disqusReset()),200)},essayUnknownPart(){},essayReplaceAll:(e,t,a)=>e[_0x4c34(561)](t).join(a),essayDiffDate:function(e,t=!1){var a=_0x4c34;const n=new Date,o=new Date(e),c=n[a(460)]()-o[a(460)](),s=36e5,r=864e5;let i;if(t){const e=c/r,t=c/s,n=c/6e4;i=c/2592e6>=1?o[a(536)]()[a(684)](/\//g,"-"):e>=1?parseInt(e)+" "+GLOBAL_CONFIG[a(441)].day:t>=1?parseInt(t)+" "+GLOBAL_CONFIG[a(441)].hour:n>=1?parseInt(n)+" "+GLOBAL_CONFIG.date_suffix[a(650)]:GLOBAL_CONFIG[a(441)][a(709)]}else i=parseInt(c/r);return i},essayChangeTimeInEssay:function(){var e=_0x4c34;document.querySelector(e(471))&&document[e(511)](e(499))[e(811)]((function(t){var a=e,n=t,o=n.getAttribute(a(774));n.innerText=mycpen1js[a(677)](o,!0),n[a(640)][a(680)]=a(522)}))},essayReflashEssayWaterFall:function(){var e=_0x4c34;document.querySelector(e(526))&&setTimeout((function(){var t=e;waterfall(t(526)),document[t(618)]("waterfall")[t(802)].add(t(638))}),500)},essayCommentText:function(e){var t=_0x4c34;var a=document[t(380)](t(402))[t(570)];window[t(568)](0,a-80),e!=t(580)&&e!=t(470)||(e=t(815)),function t(){setTimeout((()=>{var a=_0x4c34,n=document.getElementsByClassName(a(579))[0];n||t();let o=document[a(808)](a(706));o[a(562)]("input",!0,!0);let c=mycpen1js[a(616)](e,"\n",a(467));n.value="> "+c+"\n\n",n[a(604)](o),n.focus(),n.setSelectionRange(-1,-1),document.getElementById(a(391))&&document[a(618)](a(391))[a(802)].add(a(638))}),100)}()},essayInitIndexEssay:function(){setTimeout((()=>{var e=_0x4c34;let t=new Swiper(e(696),{passiveListeners:!0,direction:e(750),loop:!0,autoplay:{disableOnInteraction:!0,delay:3e3},mousewheel:!0}),a=document.getElementById(e(783));null!==a&&(a[e(506)]=function(){var a=e;t[a(673)][a(703)]()},a[e(386)]=function(){t.autoplay.start()})}),100)},essayChangeTimeInEssayByMycpen:function(){for(var e=_0x4c34,t=document.getElementsByTagName(e(593)),a=0;a<t.length;a++){var n,o=t[a][e(551)](e(774)),c=new Date(o),s=(new Date)[e(460)]()-c[e(460)](),r=Math[e(539)](s/864e5);0===r?n="最近":1===r?n="昨天":2===r?n="前天":r<=7?n=r+"天前":c.getFullYear()!==(new Date)[e(466)]()?(Essaymonth=c.getMonth()+1,EssayDay=c[e(475)](),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=c[e(466)]()+"-"+Essaymonth+"-"+EssayDay):(Essaymonth=c[e(427)]()+1,EssayDay=c[e(475)](),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=Essaymonth+"-"+EssayDay),t[a].textContent=n}},switchPostChart:function(){var e=_0x4c34;let t=document[e(664)][e(551)](e(661))===e(657)?e(633):e(554);if(document[e(618)](e(383))&&postsOption)try{let a=postsOption;a[e(812)][e(472)].color=t,a[e(736)].nameTextStyle.color=t,a[e(584)][e(527)].color=t,a[e(736)][e(765)][e(712)]=t,a.yAxis.axisLabel[e(712)]=t,a[e(736)][e(586)][e(654)][e(712)]=t,a[e(584)][e(586)][e(654)][e(712)]=t,a.series[0][e(456)][e(398)][0][e(624)].color=t,postsChart[e(523)](a)}catch(t){console[e(822)](t)}if(document[e(618)](e(800))&&tagsOption)try{let a=tagsOption;a[e(812)].textStyle[e(712)]=t,a[e(736)][e(527)][e(712)]=t,a.yAxis[e(527)].color=t,a[e(736)][e(765)][e(712)]=t,a[e(584)][e(765)][e(712)]=t,a[e(736)][e(586)].lineStyle[e(712)]=t,a[e(584)][e(586)][e(654)][e(712)]=t,a[e(637)][0][e(456)][e(398)][0][e(624)].color=t,tagsChart[e(523)](a)}catch(e){console.log(e)}if(document.getElementById(e(378))&&categoriesOption)try{let a=categoriesOption;a.title.textStyle.color=t,a[e(761)][e(472)][e(712)]=t,!categoryParentFlag&&(a[e(637)][0][e(624)][e(712)]=t),categoriesChart[e(523)](a)}catch(t){console[e(822)](t)}},cpRemind(){var e=_0x4c34;document[e(406)](e(776),(function(t){var a=e;window[a(550)]().toString()[a(599)]()[a(790)]>0&&btf[a(622)](a(479))}))},closeAboutAplayer(){var e=_0x4c34;if(!document[e(618)]("mycpen1-about-page-tag"))try{about_page_ap[e(787)](),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=_0x4c34,t=new Date,a=t.getMonth()+1,n=t[e(475)](),o=["04.04",e(540),e(690),e(721),e(447),e(443),e(585),"11.30",e(546)];for(var c of o){var s=c[e(561)](".");if(a==s[0]&&n==s[1]){var r=e(583);$("html")[e(758)]({filter:e(500),filter:e(425),filter:r,"-webkit-filter":r,"-moz-filter":r,"-ms-filter":r,"-o-filter":r});break}}},console(){var e=_0x4c34,t=new Date,a=console[e(822)];queueMicrotask((function(){var n=e;var o=new Date(""+atob(n(603))+atob("MDA6MDA6MDA=")),c=new Date(atob(n(824))+":"+atob("MDA6MDA=")),s=new Date(""+atob(n(588))+atob(n(662))),r=new Date(atob("MTA=")+"/"+atob("MjIvMjA1OCAwMDowMA==")+atob(n(711))),i=new Date("05/23/2025 00:00:00");t[n(739)](t[n(460)]()+250);o=[n(578)," "+window[n(440)].origin+" ","\n\n",n(422),Math[n(539)](Math[n(708)](t-o)/1e3/60/60/24+(t-o<0?1:0))[n(810)]()[n(660)](5," "),"天",n(659),Math.floor(Math.abs(t-c)/1e3/60/60/24+(t-c<0?1:0))[n(810)]()[n(660)](5," "),"天",n(476),Math[n(539)](Math.abs(t-s)/1e3/60/60/24+(t-s<0?1:0))[n(810)]()[n(660)](5," "),"天",n(727),Math.floor(Math[n(708)](t-r)/1e3/60/60/24+(t-r<0?1:0))[n(810)]()[n(660)](5," "),"天",n(681),Math[n(539)](Math[n(708)](t-i)/1e3/60/60/24+(t-i<0?1:0)).toString()[n(660)](5," "),n(457)];setTimeout(function(){a[_0x4c34(517)](console,arguments)}.bind(console,n(701).concat(o[0],"%c")[n(641)](o[1],"%c")[n(641)](o[2],"%c")[n(641)](o[3],n(682))[n(641)](o[4],n(682))[n(641)](o[5],"\n")[n(641)](o[6],n(682)).concat(o[7],n(682))[n(641)](o[8],"\n").concat(o[9],n(682))[n(641)](o[10],n(682))[n(641)](o[11],"\n")[n(641)](o[12],n(682)).concat(o[13],n(682)).concat(o[14],"\n")[n(641)](o[15],n(682))[n(641)](o[16],n(682))[n(641)](o[17],"\n")[n(641)]("\n"),"color: #fadfa3; background: #030307; padding:5px 0;",n(423),n(794),"",n(461),"",n(461),"",n(461),"",n(461),"","color:#030307",""))}))},cardRefreshTimes(){var e=_0x4c34;const t=(new Date)[e(466)](),a=(n=t)%4==0&&n%100!=0||n%400==0?366:365;var n,o=new Date,c=new Date((new Date)[e(466)]()+e(481)),s=document[e(618)](e(582));s&&(asideDay=(o-c)/1e3/60/60/24,s.querySelector(e(799)).value=asideDay,s.querySelector(e(799))[e(688)]=a,yearPercentage=(asideDay/a*100)[e(669)](2),displayYearPercentage=yearPercentage===e(521)?e(573):yearPercentage+"%",s[e(380)](e(724))[e(409)]=displayYearPercentage,s.querySelector(e(699))[e(409)]=(Math.floor(10*(a-asideDay))/10)[e(669)](1)+" / "+a,currentDateMonth=new Date,currentDateMonth.setDate(1),currentDateMonth[e(576)](0,0,0,0),currentMonthTimestamp=currentDateMonth[e(460)](),asideMonthDay=(o-currentMonthTimestamp)/1e3/60/60/24,currentDateMonthTotal=new Date,currentMonth=currentDateMonthTotal[e(427)](),currentDateMonthTotal[e(766)](currentMonth+1,1),currentDateMonthTotal.setDate(0),asideMonthDays=currentDateMonthTotal[e(475)](),s[e(380)](e(646))[e(704)]=asideMonthDay,s[e(380)](e(646))[e(688)]=asideMonthDays,monthPercentage=(asideMonthDay/asideMonthDays*100)[e(669)](2),displayMonthPercentage=monthPercentage===e(521)?e(573):monthPercentage+"%",s.querySelector(e(538))[e(409)]=displayMonthPercentage,s[e(380)](e(507))[e(409)]=(Math[e(539)](10*(asideMonthDays-asideMonthDay))/10)[e(669)](1)+" / "+asideMonthDays[e(810)]()[e(558)](3,"0"),currentDateWeek=new Date,currentDayOfWeek=currentDateWeek.getDay(),currentWeekTimestamp=currentDateWeek.setHours(0,0,0,0),firstDayOfWeekTimestamp=currentWeekTimestamp-24*(0===currentDayOfWeek?6:currentDayOfWeek-1)*60*60*1e3,pastWeekTimestamp=o-firstDayOfWeekTimestamp,asideWeekDay=pastWeekTimestamp/1e3/60/60/24,s[e(380)](e(543))[e(704)]=asideWeekDay,weekPercentage=(asideWeekDay/7*100)[e(669)](2),displayWeekPercentage=weekPercentage===e(521)?e(573):weekPercentage+"%",s[e(380)]("#p_span_week")[e(409)]=displayWeekPercentage,s.querySelector(e(421))[e(409)]=(Math.floor(10*(7-asideWeekDay))/10).toFixed(1)+e(519),currentTimeStamp=(new Date).getTime(),startOfDay=new Date,startOfDay.setHours(0,0,0,0),startOfDayTimeStamp=startOfDay.getTime(),timeDifferenceToday=currentTimeStamp-startOfDayTimeStamp,asideToday=timeDifferenceToday/1e3/60/60/24,asideTodayHour=timeDifferenceToday/36e5,s[e(380)](e(514))[e(704)]=asideTodayHour,dayPercentage=(100*asideToday)[e(669)](2),displayDayPercentage="100.00"===dayPercentage?e(573):dayPercentage+"%",s[e(380)](e(771))[e(409)]=displayDayPercentage,s[e(380)](e(569))[e(409)]=(Math[e(539)](10*(24-asideTodayHour))/10)[e(669)](1)+e(773),month=o[e(427)]()+1,day=o[e(475)](),month=month>9?month:"0"+month,day=day>9?day:"0"+day,week={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"},document.querySelector(e(418))[e(409)]=o[e(466)]()+"-"+month+"-"+day+" "+week[o[e(753)]()])},PressEscapeKey(e){var t=_0x4c34;27===e[t(671)]&&(document.getElementById("console")&&mycpen1js[t(541)](),document[t(618)](t(656))&&document[t(618)]("cf-overshow")&&(document[t(380)](".cf-overshow-close")||document[t(380)](t(487)))&&(document[t(618)](t(797))&&closeShow(),document[t(618)](t(516))&&mycpen1js[t(464)]()))},linkPageOpenMeShow(e){var t=_0x4c34,a="ok",n=t(458),o=document[t(618)](t(516));o&&(document.getElementById(t(656))||o[t(545)]("afterend",n)),e.preventDefault();var c,s=e[t(530)][t(752)][t(392)][t(684)](/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/,t(501));c={apipublicurl:"https://hexo-circle.cpen.top/"}[t(678)]+t(623)+s,"ok"==a&&(a="no",mycpen1js[t(697)](c))},linkPageOpenMeShowV2(e){var t=_0x4c34,a=t(375),n="ok",o=t(458),c=document[t(618)](t(516));c&&(document[t(618)](t(656))||c[t(545)](t(410),o)),e[t(426)]();var s,r=encodeURIComponent(e[t(530)].dataset[t(592)]);s=a+t(505)+r,"ok"==n&&(n="no",mycpen1js.linkPageFetchShow(s))},linkPageCloseShow(){var e=_0x4c34;document.getElementById("cf-overlay")[e(652)]-=e(424),document[e(618)]("cf-overshow")[e(652)]-=e(424),setTimeout((function(){var t=e,a=document.querySelectorAll("#cf-overshow > :not(.cf-overshow-close)"),n=document[t(511)]("#cf-overshow > .cf-overshow-close");a[t(811)]((function(e){e[t(493)]()}));for(var o=1;o<n[t(790)];o++)n[o][t(493)]()}),100)},linkPageFetchShow(_0x1c36f6){var _0xc4167f=_0x4c34,_0x4411b3='\n <div class="cf-overshow-close" onclick="mycpen1js.linkPageCloseShow()"></div>\n ';fetch(_0x1c36f6)[_0xc4167f(384)]((e=>e.json()))[_0xc4167f(384)]((_0x3583e9=>{var _0x260703=_0xc4167f;noClick="ok";var _0x1d8666=_0x3583e9[_0x260703(789)],_0x1c86ba=eval(_0x3583e9[_0x260703(376)]);0!==_0x1d8666[_0x260703(763)]?(mycpen1js[_0x260703(448)](_0x1d8666,_0x1c86ba),document.getElementById(_0x260703(656))[_0x260703(652)]="cf-show-now",document.getElementById(_0x260703(388))[_0x260703(545)](_0x260703(759),_0x4411b3)):btf[_0x260703(622)](_0x260703(512))}))[_0xc4167f(614)]((e=>{btf[_0xc4167f(622)]("未获取到文章卡片")}))},linkPageLoadFcircleShow(e,t){for(var a=_0x4c34,n=a(814)+e[a(683)]+a(621)+e.link+'">'+e[a(592)]+'</a>\n </div>\n <div class="cf-overshow-content">\n ',o=0;o<e[a(763)];o++){var c=t[o];let e="";Date[a(803)]()-new Date(c.created+a(395)).getTime()<=1728e5&&(e=a(786)),n+=a(556)+c.link+a(419)+c[a(812)]+'">'+c[a(812)]+a(405)+e+">"+c[a(373)]+a(589)}n+="</div></div>",document[a(618)](a(388))[a(545)](a(809),n),document[a(618)](a(388))[a(652)]=a(424)},linkPageRssAliveCheck(){var e=_0x4c34;apiurl=e(375),rssAliveCheckUrl=apiurl+e(667),fetch(rssAliveCheckUrl)[e(384)]((t=>t[e(581)]()))[e(384)]((t=>{var a=e,n=t[a(767)],o=t[a(459)],c=t.total_friend_num;let s=[];for(const e in n){let t=n[e];t=t[a(684)](/^https?:\/\//,""),t=t[a(684)](/\/$/,""),s[a(555)](t)}let r=[];for(const e in o){let t=o[e];t=t[a(684)](/^https?:\/\//,""),t=t[a(684)](/\/$/,""),r[a(555)](t)}document[a(511)]("#article-container .flink#mycpen1-link-page-tag-2 .flink-list>.flink-list-item a .flink-item-icon").forEach((e=>{var t=a;if(e){let a=e[t(551)](t(674)).replace(/^https?:\/\//,"");a=a[t(684)](/\/$/,""),c>0?r[t(693)](a)?e.classList[t(544)](t(374)):s[t(693)](a)?e[t(802)][t(544)](t(784)):e[t(802)][t(544)](t(495)):0===c&&e.classList[t(544)]("flink-mycpen1-rss-lost-friends")}}))}))},NzcheckLink:async e=>{var t=_0x4c34;const a=document.querySelectorAll(e);if(a){let e=new RegExp(/^[#].*/);for(let c=0;c<a[t(790)];c++){const s=a[c];var n=s[t(796)]("data-fancybox"),o=s[t(802)][t(438)](t(510));if(!n&&!o){let a=s[t(551)](t(553)),n=s.getAttribute(t(453)),o=s.getAttribute(t(509));e[t(549)](a)||o===t(574)||"next"===o||o===t(504)||o===t(725)||a===t(420)||(await mycpen1js[t(670)](a)||n?!await mycpen1js.NzcheckLocalSite(a)&&n===t(468)&&s[t(713)](t(553),t(452)+btoa(a)+t(446)):s[t(713)](t(553),"/redirect.html?url="+btoa(a)))}s[t(802)][t(544)](t(510))}}},NzcheckLocalSite:async e=>{var t=_0x4c34;try{const a=[t(478),t(692),"mycpen.cn"];let n=!1;for(let o=0;o<a.length;o++){const c=a[o];if(e[t(693)](c)){n=!0;break}}return n}catch(e){return!0}},cookieConsent(){var e=_0x4c34;window[e(406)](e(644),(()=>{var t=e;window[t(557)][t(613)]({type:t(381),theme:t(533),static:!1,position:t(714),content:{message:t(748),dismiss:"接受",allow:"接受",deny:"拒绝",link:!1},palette:{popup:{background:"#edeff5",text:t(619)},button:{background:"#4b81e8"}}})}))}};function whenDOMReadyMycpen1JS(){var e=_0x2cba03;mycpen1js.changeNavPageNameTitle(),mycpen1js[e(635)](),mycpen1js.removeBodyPaceClass(),mycpen1js[e(520)](),mycpen1js[e(442)](),mycpen1js[e(515)](),mycpen1js[e(428)](),document[e(618)](e(435))&&(mycpen1js.essayChangeTimeInEssayByMycpen(),mycpen1js.essayReflashEssayWaterFall(),window[e(577)]=()=>{var t=e;document.getElementById(t(435))&&(mycpen1js.essayReflashEssayWaterFall(),setTimeout((()=>{mycpen1js.essayReflashEssayWaterFall()}),300))}),document[e(618)](e(658))[e(406)]("click",(function(){setTimeout(mycpen1js[e(413)],100)})),document[e(618)]("darkmode_navswitch").addEventListener(e(781),(function(){setTimeout(mycpen1js[e(413)],100)})),document[e(618)](e(738)).addEventListener(e(781),(function(){setTimeout(mycpen1js[e(413)],100)})),document.getElementById(e(502))[e(406)](e(781),(function(){setTimeout(mycpen1js.switchPostChart,100)})),mycpen1js[e(732)](),mycpen1js[e(490)](),document[e(618)](e(582))&&(mycpen1js[e(817)](),setInterval((()=>{mycpen1js.cardRefreshTimes()}),1e3)),document.getElementById(e(508))&&mycpen1js[e(735)](),document[e(618)]("mycpen1-link-page-tag")&&(mycpen1js[e(651)](e(587)),mycpen1js.NzcheckLink(e(695))),document[e(618)](e(390))&&mycpen1js[e(651)]("#article-container #mycpen1-about-page-tag-sponsor-part a"),document.getElementById(e(534))&&setInterval((()=>{var t=e;if(document[t(380)](".tk-comments-container")){mycpen1js[t(651)](t(537));document.querySelectorAll(t(775))[t(811)]((e=>{var a=t;e[a(802)][a(544)](a(559));const n=document[a(484)]("a");for(Array[a(639)](e[a(694)])[a(811)]((e=>{var t=a;n[t(713)](e[t(592)],e.value)}));e.firstChild;)n.appendChild(e.firstChild);e[a(733)].replaceChild(n,e);const o=n.nextElementSibling[a(778)].firstElementChild[a(778)][a(551)](a(553));n[a(713)](a(553),o),n[a(713)](a(477),a(720)),n.setAttribute("rel","noopener external nofollow noreferrer")}))}}),1e3)}mycpen1js[_0x2cba03(730)](),document[_0x2cba03(524)]("keydown",mycpen1js[_0x2cba03(382)]),document[_0x2cba03(406)](_0x2cba03(826),mycpen1js[_0x2cba03(382)]),window[_0x2cba03(734)]=mycpen1js[_0x2cba03(445)],mycpen1js[_0x2cba03(829)](),whenDOMReadyMycpen1JS(),document[_0x2cba03(406)](_0x2cba03(437),whenDOMReadyMycpen1JS);
|
|
1
|
+
function _0x5ac6(e,t){var a=_0x3e40();return(_0x5ac6=function(e,t){return a[e-=339]})(e,t)}var _0x4f926b=_0x5ac6;function _0x3e40(){var e=["setMonth","noopener external nofollow noreferrer","#p_span_week","input[name='author']",".tk-comments-container a:not(.already-redirect-link)","成熟的","具有批判性思维的","#838391",'\n <p><a class="cf-article-title" href="',"#percent","792200ouajxp","有趣的","essayChangeTimeInEssayByMycpen","time","setTime","有协调能力的","click","px;","猕猴桃","距 2028-00-00 计时","干净的",'" target="_blank" rel="noopener nofollow" data-title="',"snackbarShow","getDate","input[name='nick']","优雅的","开朗的","toFixed","cf-overlay","善于合作的","linkPageCloseShow","body","display","细心的","hideConsole","px; top:","select","有专业素养的","input[name='comname']",'</a>\n </div>\n <div class="cf-overshow-content">\n ',"有担当的","split","owoBigfunc","喜欢思考的","el-textarea__inner","not_lost_friends","#4C4948","#ds-dialog-email","#bber time","dark","apipublicurl","cardRefreshTimes","abs",'<img src="',"#friend-links-in-footer .footer-item","tag","cookieconsent","#newYear .newYear-time","keydown","linkPageRssAliveCheck","dispatchEvent","darkmode_navswitch","朝气蓬勃的","#pBar_day","getElementsByClassName","有个性的","09.09","有耐性的","pageYOffset","55NacFnn","data-theme","afterend","keyCode","label","splice","09.30","mycpen1-link-page-tag","friendstatus","remove","push","afterbegin","catch","西兰花","px; left:","有组织能力的","changeNavPageNameTitle","返回顶部","有眼光的","tagName",".aplayer-fixed .aplayer-icon.aplayer-icon-lrc","mycpen1-categories-page-cloudCategories-","start","scrollHeight","\n> ","12dYTCBu","now","32KZTDuA","hour",'\n <div id="cf-overlay" class="cf-new-add" onclick="mycpen1js.linkPageCloseShow()"></div>\n <div id="cf-overshow" class="cf-new-add"></div>\n ',"慎重的","mycpen1-essay-page-tag",".tk-comments-container","富有想象力的","可爱的","真诚的","hide","善于表达的","children","3958660bMslIO","3212245ZsZjWA","insertAdjacentHTML","axisLabel",'<span class="day">',"set","title",'<i class="fa-solid fa-clock"></i> <span>距离</span> ',"log","好奇的",".share","xAxis","removeEventListener","div","率直的","cf-overshow","object","initialise","loadUrl","scrollTop","progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)","endsWith","replaceChild","padStart","https://hexo-circle.cpen.top/","removeBodyPaceClass","有学习能力的","created","可靠的","getAttribute","darkmode_sidebarSwitch","postv2?name=","flink-mycpen1-rss-lost-friends","%c ","有责任感的","pause","from","温暖的","style","toPageButton","#consoleHideAside","offsetTop","Snackbar","140497SaawRj","pjax:complete","show","haveValue","inline","onmouseover","善解人意的","守信的","datetime","observe","bind","test","edgeless","className","removeaAlayerFixedLrc","onmouseenter","css","活泼的",".cf-overshow-close","mycpen1-fcircle-page-tag","autoplay","categories-chart","12.13","幽默的","removeClass","join","dataset","机智的","addedNodes","firstElementChild","color:#fadfa3","add","lineStyle","color","pace-done","toPageText","toggle","顽强的","rgba(255,255,255,0.7)","then","mycpen1-link-page-tag-2","parentNode","trim","mycpen1-tags-page-cloudTags-","#article-container #mycpen1-about-page-tag-sponsor-part a","-01-01 00:00:00","好棒!","clientWidth","includes","linkPageLoadFcircleShow","100.00","disconnect","onscroll","innerText","开放的","距 2022-08-28 上线","bbtalk","MTA=","aside-status","#waterfall","#pBar_year","randomLink","type","未获取到文章卡片","contextmenu","darkmode","善于领导的","avatar","next","preventDefault","essayReflashEssayWaterFall","category"," / 007","disqus_thread","MjIvMjA1OCAwMDowMA==","&type=goDown","currentTarget","data-link","link","waterfall","深沉的","有执行能力的","setSelectionRange","cpRemind","attributes","round","darkmode_consoleSwitch","childList","src","page-name","坚强的","OjAw","#nav-totop","null","#p_span_year",".page .layout #category #category-page-categories",".schedule-r0 .schedule-d1 .aside-span2","HTMLEvents","input[name='email']","60HoIJDH","MDgvMjgvMjAyMiA=","有同情心的","hasAttribute","change"," / ","#aside-content .card-widget#card-widget-schedule .item-content .schedule-today","04.04","card-widget-schedule","迷人的","PressEscapeKey","英俊的","just","value","大方的","onmouseout","grayscale(100%)","setOption","axisLine","tagPageActive","_blank","addEventListener","owo-big","offsetX","loadFBComment","querySelectorAll","apply","05.12","有责任心的","#cf-overshow > :not(.cf-overshow-close)","#email","setItem","setHours","setDate","article_data","load","cpen.top","MTAvMjIvMTk5OCAwMA==","#inpName","stop","NzcheckLocalSite","background: #fadfa3; padding:5px 0;","#pBar_month","data","input","disqusReset","有商业头脑的","none","globalFn","name","美丽的","appendChild","#inpEmail","origin","复制成功","#p_span_day","loadData","#ds-dialog-name","links","07.07","categoryPageActive","mycpen.cn","MDA6MDA6MDA=","long","json","toString","light","getFullYear","NzcheckLink","/redirect.html?url=","getTime"," MYCPEN BLOG ","</span></p>\n ","comment-tips","linkPageFetchShow","max","footer","clientHeight","#bber","link_list","statistical_data","switchPostChart","OwO-body","#newYear .today","喜欢学习的","parse","lost_friends","localhost:4000","replace","innerHTML","concat","javascript:void(0);","我们使用 cookie 来确保在我们的网站上为您提供最佳体验。","color:#030307",".cf-overshow","DISQUS","#article-container .flink .flink-list > .flink-list-item.单向 > a","initConsoleState","min","#post-comment","有创造力的","disqus","有团队精神的","themeChange","#console","color: #fadfa3; background: #030307; padding:5px 0;","务实的","toPage","#comment_author","length","hide-aside","#4b81e8","yAxis","firstChild","listenToPageInputPress","article_num",'<span class="happyNewYear">新年快乐</span>',"night_to_day","rel"," <span>年</span>","theme","有逻辑思维的","data-fancybox","target","flink-mycpen1-rss-unknown-friends","input[name='commail']","#newYear .title","有决策能力的","未获取到订阅内容","info","聪明的","post-comment","32274zkzSEB","457340mPagNt","勇敢的","markLine","flink-mycpen1-rss-not-lost-friends","post?link=","page/","scrollY","bottom-right","/json/link.json",".page-number","offsetHeight","location","ceil",'<span class="unit">天</span></span>',"nameTextStyle","火龙果","textStyle","MjggMDA6MDA6MDA=","getDay","谦虚的","essayReplaceAll","padEnd","classList","forEach",".schedule-r2 .schedule-d1 .aside-span2","#cf-overshow > .cf-overshow-close","有冒险精神的","善于沟通的","already-redirect-link","有想象力的","legend","data-download","href","$1:$2$3","series","copy","querySelector","getElementById","setAttribute","pathname","有幽默感的","floor","415161FlYeom","day_to_night","stringify","console","100%","nextElementSibling","cf-show-now","contains","有正义感的","already-clear-clickEvent","getMonth","mycpen1-about-page-tag","scrollTo","稳重的","温柔的","saveData","offsetY","date_suffix","有分析能力的","documentElement","</a><span ","有魅力的","disqusjs","focus"," / 024","random","体贴的","display:flex; height:",".schedule-r3 .schedule-d1 .aside-span2","纯真的","独立的"];return(_0x3e40=function(){return e})()}!function(e,t){for(var a=_0x5ac6,n=_0x3e40();;)try{if(513162===-parseInt(a(660))/1+-parseInt(a(576))/2*(parseInt(a(444))/3)+parseInt(a(758))/4+parseInt(a(759))/5+parseInt(a(744))/6*(parseInt(a(345))/7)+parseInt(a(746))/8*(parseInt(a(619))/9)+-parseInt(a(577))/10*(parseInt(a(719))/11))break;n.push(n.shift())}catch(e){n.push(n.shift())}}();var mycpen1js={changeNavPageNameTitle(){var e=_0x5ac6;"Mycpen - Personal Blog"==document.title?document[e(614)]("page-name")[e(398)]=document[e(764)]:document.getElementById(e(434))[e(398)]=document.title[e(691)](" | Mycpen")[0]},getNavRightPagePercent(){var e=_0x5ac6;let t=document[e(638)][e(777)]||window[e(718)],a=Math[e(519)](document.body[e(742)],document[e(638)][e(742)],document.body[e(587)],document[e(638)][e(587)],document[e(681)].clientHeight,document[e(638)][e(521)])-document[e(638)].clientHeight,n=Math[e(430)](t/a*100),o=document[e(613)](e(659));n<=99||(n=99),o.innerHTML=n,r=window[e(583)]+document.documentElement[e(521)],p=document.getElementById(e(575))||document.getElementById(e(520)),p[e(343)]+p[e(587)]/2<r||90<n?(document[e(613)](e(437)).classList[e(376)](e(507)),o[e(533)]=e(736)):(document[e(613)](e(437))[e(599)][e(728)](e(507)),o[e(533)]=n)},share(){var e=_0x5ac6;let t=window.location[e(497)]+window[e(588)][e(616)];new ClipboardJS(e(768),{text:function(){return"标题:"+document.title+"\n链接:"+t}}),btf[e(672)](e(498))},getFooterRandomFlink(){var e={saveData:(e,t)=>{var a=_0x5ac6;localStorage[a(475)](e,JSON[a(621)]({time:Date.now(),data:t}))},loadData:(e,t)=>{var a=_0x5ac6;let n=JSON[a(529)](localStorage.getItem(e));if(n){let e=Date[a(745)]()-n[a(663)];if(e<60*t*1e3&&e>-1)return n[a(487)]}return 0},randomLink:()=>{var t=_0x5ac6;let a=e[t(500)](t(502),30);if(a){let e=document[t(469)](t(704));if(!e[t(553)])return;for(let n=0;n<3;n++){let o;do{o=parseInt(Math[t(644)]()*a.length)}while("失联"===a[o].tag);e[n].innerText=a[o].name,e[n][t(609)]=a[o][t(423)],e[n][t(764)]=a[o][t(493)],e[n][t(567)]=t(464),e[n].rel=t(651),a[t(724)](o,1)}}else fetch(t(585))[t(384)]((e=>e[t(508)]()))[t(384)]((a=>{var n=t;e[n(634)](n(502),a[n(523)]),e[n(406)]()}))}};e[_0x5ac6(406)]()},newYearCountdownCard(){(()=>{var e=_0x5ac6;if(clearTimeout(null),!document[e(613)]("#newYear"))return;let t=new Date((new Date)[e(511)]()+1+e(390)).getTime()/1e3,a={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"};!function(){var n=e;let o=new Date,c=o[n(629)]()+1,s=o.getDate();c=c>9?c:"0"+c,s=s>9?s:"0"+s,document[n(613)](n(527))[n(533)]=o[n(511)]()+"-"+c+"-"+s+" "+a[o[n(595)]()];let r=t-Math[n(430)](o[n(514)]()/1e3);r<0?(document[n(613)](n(570))[n(533)]="Happy New Year!",document[n(613)](n(707))[n(533)]=n(560)):(document[n(613)](n(570)).innerHTML=n(765)+((new Date)[n(511)]()+1)+n(563),document[n(613)](n(707))[n(533)]=r>86400?n(762)+Math[n(589)](r/86400)+n(590):n(762)+Math.ceil(r/86400)+n(590))}()})()},removeBodyPaceClass:function(){var e=_0x5ac6;$(e(681))[e(369)](),$(e(681)).addClass(e(379))},toPage:function(){var e=_0x5ac6,t=document.querySelectorAll(e(586)),a=parseInt(t[t.length-1][e(533)]),n=document.getElementById(e(380)),o=parseInt(n[e(457)]);if(!isNaN(o)&&o>0&&"0"!==(""+o)[0]&&o<=a){var c,s=window[e(588)][e(609)][e(532)](/\/page\/\d+\/$/,"/");c=1===o?s:s+(s[e(779)]("/")?"":"/")+e(582)+o+"/",document.getElementById(e(341))[e(609)]=c}},listenToPageInputPress(){var e=_0x5ac6,t=document[e(614)]("toPageText"),a=document[e(614)](e(341));t&&(t[e(465)](e(708),(t=>{var n=e;13===t[n(722)]&&(mycpen1js[n(551)](),pjax[n(776)](a[n(609)]))})),t.addEventListener(e(488),(function(){var n=e;""===t[n(457)]||"0"===t[n(457)]?a[n(599)][n(728)](n(348)):a[n(599)][n(376)](n(348));var o=document[n(469)](n(586)),c=+o[o.length-1].innerHTML;+document.getElementById("toPageText")[n(457)]>c&&(t[n(457)]=c)})))},showConsole:function(){var e=_0x5ac6;document[e(613)](e(548))[e(599)][e(376)](e(347)),mycpen1js[e(541)]()},hideConsole:function(){var e=_0x5ac6;document[e(613)]("#console")[e(599)].remove(e(347))},hideAsideBtn:()=>{var e=_0x5ac6;const t=document[e(638)].classList;t[e(626)](e(554))?saveToLocal.set(e(403),e(347),2):saveToLocal[e(763)](e(403),e(755),2),t[e(381)](e(554)),t[e(626)](e(554))?document[e(613)](e(342))[e(599)].add("on"):document[e(613)](e(342))[e(599)].remove("on")},initConsoleState:function(){var e=_0x5ac6;document.documentElement[e(599)][e(626)](e(554))?document.querySelector(e(342))[e(599)][e(376)]("on"):document.querySelector(e(342))[e(599)].remove("on")},tagPageActive:function(){var e=_0x5ac6,t=window[e(588)][e(616)];if(/\/tags\/.*?\//[e(356)](t=decodeURIComponent(t))){var a=t[e(691)]("/")[2];if(document[e(613)](".page .layout #tag #tag-page-tags")){$("a").removeClass("select");var n=document[e(614)](e(388)+a);n&&n[e(599)][e(376)](e(686))}}},categoryPageActive:function(){var e=_0x5ac6,t=window[e(588)][e(616)];if(/\/categories\/.*?\//[e(356)](t=decodeURIComponent(t))){var a=t[e(691)]("/")[2];if(document.querySelector(e(440))){$("a")[e(369)](e(686));var n=document[e(614)](e(740)+a);n&&n[e(599)].add(e(686))}}},addRandomCommentInfo:function(){var e=_0x5ac6;const t=[e(494),e(455),e(574),e(578),e(753),"慷慨的","善良的",e(786),e(676),e(655),e(632),e(754),e(368),"豁达的",e(661),e(362),e(675),"敏捷的",e(633),e(339),"敬业的",e(683),"耐心的",e(425),"朴素的","含蓄的",e(772),e(399),e(550),e(435),"自信的",e(596),"文静的","深刻的",e(648),e(712),e(749),e(458),e(382),e(453),e(372),e(351),e(752),e(640),e(649),e(767),e(670),"宽容的","尊重他人的",e(645),e(352),e(717),e(472),e(690),"有远见的","有智慧的",e(737),e(603),"有爱心的",e(446),e(693),e(528),e(656),e(756),e(604),e(679),e(411),"有激情的",e(617),"有思想的",e(715),e(627),e(792),e(544),e(606),"有艺术细胞的",e(546),e(665),e(571),e(734),e(784),e(426),e(637),e(565),"有创新能力的",e(687),e(490)],a=["萝卜","白菜","芹菜","生菜","青椒","辣椒","茄子","豆角","黄瓜","西红柿","洋葱","大蒜","土豆","南瓜","豆腐","韭菜","花菜",e(732),"蘑菇","金针菇","苹果","香蕉","橙子","柠檬",e(668),"草莓","葡萄","桃子","杏子","李子","石榴","西瓜","哈密瓜","蜜瓜","樱桃","蓝莓","柿子","橄榄","柚子",e(592)],n=""+t[Math[e(618)](Math[e(644)]()*t[e(553)])]+a[Math[e(618)](Math[e(644)]()*a[e(553)])];!function(){for(var t=e,a=["#author",t(688),t(482),t(653),t(501),"#name",t(674),t(552)],o=["#mail",t(474),t(569),t(496),t(443),t(697),"input[name='mail']","#comment_email"],c=0;c<a[t(553)];c++){var s=document.querySelector(a[c]);if(null!=s){s[t(457)]=n,s.dispatchEvent(new Event(t(488))),s[t(710)](new Event("change"));break}}for(var r=0;r<o[t(553)];r++){var i=document[t(613)](o[r]);if(null!=i){i[t(457)]="donotreply@mycpen.cn",i[t(710)](new Event("input")),i.dispatchEvent(new Event(t(448)));break}}}();var o=document.getElementsByClassName(e(694))[0];o[e(642)](),o[e(427)](-1,-1)},owoBigfunc(){var e=_0x5ac6;document[e(614)]("post-comment")&&function(){var t=e;let a=1,n="",o=document.createElement(t(771)),c=document[t(613)]("body");o.id=t(466),c[t(495)](o),new MutationObserver((e=>{var s=t;for(let t=0;t<e[s(553)];t++){let r=e[t][s(373)],i="";2==r[s(553)]&&r[1][s(358)]==s(526)&&(i=r[1],document[s(681)].clientWidth<=768&&i[s(465)](s(409),(e=>e[s(414)]())),i[s(350)]=e=>{var t=s;a&&"IMG"==e[t(567)][t(738)]&&(a=0,n=setTimeout((()=>{var a=t;let n=3*e[a(567)][a(521)],s=3*e[a(567)][a(392)],r=e.x-e[a(467)]-(s-e[a(567)][a(392)])/2,i=e.y-e[a(635)];r+s>c[a(392)]&&(r-=r+s-c[a(392)]+10),r<0&&(r=10),o.style.cssText=a(646)+n+"px; width:"+s+a(733)+r+a(685)+i+a(667),o.innerHTML=a(703)+e.target[a(433)]+'">'}),300))},i[s(459)]=()=>{var e=s;o[e(340)][e(682)]=e(491),a=1,clearTimeout(n)})}})).observe(document[t(614)](t(575)),{subtree:!0,childList:!0})}()},removeaAlayerFixedLrc(){var e=_0x5ac6;function t(){var e=_0x5ac6;const t=document.querySelector(e(739));t&&(a[e(396)](),setTimeout((()=>{t[e(666)]()}),1))}const a=new MutationObserver(((e,a)=>{var n=_0x5ac6;for(let a of e)a[n(407)]===n(432)&&t()}));a[e(354)](document,{childList:!0,subtree:!0})},switchDarkMode(){var e=_0x5ac6;const t=e=>{var t=_0x5ac6;const a=(window[t(492)]||{})[t(547)]||{};a&&Object.keys(a)[t(600)]((n=>{var o=t;const c=a[n];[o(545),o(641)][o(393)](n)?setTimeout((()=>c(e)),300):c(e)}))};(document[e(638)][e(787)](e(720))===e(699)?e(699):e(510))===e(510)?(activateDarkMode(),saveToLocal[e(763)](e(564),e(699),2),void 0!==GLOBAL_CONFIG.Snackbar&&btf[e(672)](GLOBAL_CONFIG[e(344)][e(620)]),t(e(699))):(activateLightMode(),saveToLocal[e(763)](e(564),e(510),2),void 0!==GLOBAL_CONFIG[e(344)]&&btf.snackbarShow(GLOBAL_CONFIG[e(344)][e(561)]),t(e(510))),"function"==typeof utterancesTheme&&utterancesTheme(),typeof FB===e(774)&&window[e(468)](),window[e(539)]&&document[e(614)](e(418))[e(757)].length&&setTimeout((()=>window[e(489)]()),200)},essayUnknownPart(){},essayReplaceAll(e,t,a){var n=_0x5ac6;return e[n(691)](t)[n(370)](a)},essayDiffDate:function(e,t=!1){var a=_0x5ac6;const n=new Date,o=new Date(e),c=n[a(514)]()-o[a(514)](),s=36e5,r=864e5;let i;if(t){const e=c/r,t=c/s,n=c/6e4;i=c/2592e6>=1?o.toLocaleDateString()[a(532)](/\//g,"-"):e>=1?parseInt(e)+" "+GLOBAL_CONFIG[a(636)].day:t>=1?parseInt(t)+" "+GLOBAL_CONFIG[a(636)][a(747)]:n>=1?parseInt(n)+" "+GLOBAL_CONFIG[a(636)][a(542)]:GLOBAL_CONFIG[a(636)][a(456)]}else i=parseInt(c/r);return i},essayChangeTimeInEssay:function(){var e=_0x5ac6;document[e(613)](e(522))&&document[e(469)](e(698))[e(600)]((function(t){var a=e,n=t,o=n[a(787)](a(353));n[a(398)]=mycpen1js.essayDiffDate(o,!0),n.style[a(682)]=a(349)}))},essayReflashEssayWaterFall:function(){var e=_0x5ac6;document[e(613)](e(404))&&setTimeout((function(){var t=e;waterfall(t(404)),document[t(614)](t(424))[t(599)][t(376)](t(347))}),500)},essayCommentText:function(e){var t=_0x5ac6;var a=document[t(613)](t(543))[t(343)];window[t(631)](0,a-80),"undefined"!=e&&e!=t(438)||(e=t(391)),function t(){setTimeout((()=>{var a=_0x5ac6,n=document[a(714)](a(694))[0];n||t();let o=document.createEvent(a(442));o.initEvent(a(488),!0,!0);let c=mycpen1js[a(597)](e,"\n",a(743));n[a(457)]="> "+c+"\n\n",n[a(710)](o),n.focus(),n[a(427)](-1,-1),document[a(614)]("comment-tips")&&document.getElementById(a(517))[a(599)][a(376)](a(347))}),100)}()},essayInitIndexEssay:function(){setTimeout((()=>{var e=_0x5ac6;let t=new Swiper(".essay_bar_swiper_container",{passiveListeners:!0,direction:"vertical",loop:!0,autoplay:{disableOnInteraction:!0,delay:3e3},mousewheel:!0}),a=document[e(614)](e(401));null!==a&&(a[e(360)]=function(){var a=e;t.autoplay[a(483)]()},a.onmouseleave=function(){var a=e;t[a(365)][a(741)]()})}),100)},essayChangeTimeInEssayByMycpen:function(){for(var e=_0x5ac6,t=document.getElementsByTagName(e(663)),a=0;a<t.length;a++){var n,o=t[a][e(787)]("datetime"),c=new Date(o),s=(new Date)[e(514)]()-c[e(514)](),r=Math.floor(s/864e5);0===r?n="最近":1===r?n="昨天":2===r?n="前天":r<=7?n=r+"天前":c.getFullYear()!==(new Date)[e(511)]()?(Essaymonth=c.getMonth()+1,EssayDay=c.getDate(),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=c[e(511)]()+"-"+Essaymonth+"-"+EssayDay):(Essaymonth=c.getMonth()+1,EssayDay=c[e(673)](),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=Essaymonth+"-"+EssayDay),t[a].textContent=n}},switchPostChart:function(){var e=_0x5ac6;let t=document[e(638)][e(787)]("data-theme")===e(510)?e(696):e(383);if(document[e(614)]("posts-chart")&&postsOption)try{let a=postsOption;a[e(764)][e(593)][e(378)]=t,a.xAxis[e(591)].color=t,a.yAxis[e(591)][e(378)]=t,a[e(769)][e(761)][e(378)]=t,a[e(556)][e(761)][e(378)]=t,a[e(769)][e(462)][e(377)][e(378)]=t,a[e(556)][e(462)][e(377)].color=t,a[e(611)][0].markLine.data[0][e(723)].color=t,postsChart.setOption(a)}catch(t){console[e(766)](t)}if(document[e(614)]("tags-chart")&&tagsOption)try{let a=tagsOption;a[e(764)][e(593)][e(378)]=t,a[e(769)][e(591)][e(378)]=t,a.yAxis[e(591)][e(378)]=t,a[e(769)][e(761)].color=t,a[e(556)][e(761)].color=t,a[e(769)][e(462)].lineStyle[e(378)]=t,a[e(556)].axisLine[e(377)][e(378)]=t,a[e(611)][0][e(579)][e(487)][0][e(723)][e(378)]=t,tagsChart[e(461)](a)}catch(t){console[e(766)](t)}if(document[e(614)](e(366))&&categoriesOption)try{let a=categoriesOption;a.title[e(593)][e(378)]=t,a[e(607)].textStyle[e(378)]=t,!categoryParentFlag&&(a[e(611)][0][e(723)][e(378)]=t),categoriesChart[e(461)](a)}catch(t){console[e(766)](t)}},cpRemind(){var e=_0x5ac6;document[e(465)](e(612),(function(t){var a=e;window.getSelection().toString()[a(387)]()[a(553)]>0&&btf[a(672)]("复制成功")}))},closeAboutAplayer(){var e=_0x5ac6;if(!document[e(614)](e(630)))try{about_page_ap[e(793)](),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=_0x5ac6,t=new Date,a=t[e(629)]()+1,n=t[e(673)](),o=[e(451),e(471),e(503),"08.14",e(716),"09.18",e(725),"11.30",e(367)];for(var c of o){var s=c.split(".");if(a==s[0]&&n==s[1]){var r=e(460);$("html")[e(361)]({filter:"gray !important;",filter:e(778),filter:r,"-webkit-filter":r,"-moz-filter":r,"-ms-filter":r,"-o-filter":r});break}}},console(){var e=_0x5ac6,t=new Date,a=console[e(766)];queueMicrotask((function(){var n=e;var o=new Date(""+atob(n(445))+atob(n(506))),c=new Date(atob(n(481))+":"+atob("MDA6MDA=")),s=new Date(""+atob("MTAvMjIvMjA=")+atob(n(594))),r=new Date(atob(n(402))+"/"+atob(n(419))+atob(n(436)));new Date("05/23/2025 00:00:00");t[n(664)](t[n(514)]()+250);o=[n(515)," "+window[n(588)][n(497)]+" ","\n\n",n(400),Math[n(618)](Math.abs(t-o)/1e3/60/60/24+(t-o<0?1:0))[n(509)]()[n(598)](5," "),"天","距 1998-00-00 计时",Math[n(618)](Math[n(702)](t-c)/1e3/60/60/24+(t-c<0?1:0))[n(509)]()[n(598)](5," "),"天",n(669),Math[n(618)](Math[n(702)](t-s)/1e3/60/60/24+(t-s<0?1:0))[n(509)]()[n(598)](5," "),"天","距 2058-00-00 计时",Math[n(618)](Math[n(702)](t-r)/1e3/60/60/24+(t-r<0?1:0))[n(509)]()[n(598)](5," "),"天"];setTimeout(function(){a[_0x5ac6(470)](console,arguments)}[n(355)](console,"\n%c"[n(534)](o[0],"%c")[n(534)](o[1],"%c").concat(o[2],"%c").concat(o[3],n(791)).concat(o[4],n(791)).concat(o[5],"\n").concat(o[6],n(791))[n(534)](o[7],"%c ")[n(534)](o[8],"\n").concat(o[9],n(791))[n(534)](o[10],"%c ")[n(534)](o[11],"\n")[n(534)](o[12],n(791))[n(534)](o[13],n(791))[n(534)](o[14],"\n")[n(534)]("\n"),n(549),n(485),n(375),"",n(537),"",n(537),"","color:#030307","",n(537),""))}))},cardRefreshTimes(){var e=_0x5ac6;const t=(new Date).getFullYear(),a=(n=t)%4==0&&n%100!=0||n%400==0?366:365;var n,o=new Date,c=new Date((new Date)[e(511)]()+"-01-01 00:00:00"),s=document[e(614)](e(452));s&&(asideDay=(o-c)/1e3/60/60/24,s[e(613)](e(405))[e(457)]=asideDay,s[e(613)](e(405)).max=a,yearPercentage=(asideDay/a*100)[e(677)](2),displayYearPercentage=yearPercentage===e(395)?e(623):yearPercentage+"%",s[e(613)](e(439))[e(533)]=displayYearPercentage,s[e(613)](e(441))[e(533)]=(Math[e(618)](10*(a-asideDay))/10)[e(677)](1)+e(449)+a,currentDateMonth=new Date,currentDateMonth[e(477)](1),currentDateMonth[e(476)](0,0,0,0),currentMonthTimestamp=currentDateMonth[e(514)](),asideMonthDay=(o-currentMonthTimestamp)/1e3/60/60/24,currentDateMonthTotal=new Date,currentMonth=currentDateMonthTotal[e(629)](),currentDateMonthTotal[e(650)](currentMonth+1,1),currentDateMonthTotal.setDate(0),asideMonthDays=currentDateMonthTotal[e(673)](),s.querySelector(e(486))[e(457)]=asideMonthDay,s[e(613)](e(486))[e(519)]=asideMonthDays,monthPercentage=(asideMonthDay/asideMonthDays*100).toFixed(2),displayMonthPercentage="100.00"===monthPercentage?e(623):monthPercentage+"%",s[e(613)]("#p_span_month")[e(533)]=displayMonthPercentage,s[e(613)](".schedule-r1 .schedule-d1 .aside-span2")[e(533)]=(Math[e(618)](10*(asideMonthDays-asideMonthDay))/10).toFixed(1)+e(449)+asideMonthDays[e(509)]()[e(781)](3,"0"),currentDateWeek=new Date,currentDayOfWeek=currentDateWeek.getDay(),currentWeekTimestamp=currentDateWeek.setHours(0,0,0,0),firstDayOfWeekTimestamp=currentWeekTimestamp-24*(0===currentDayOfWeek?6:currentDayOfWeek-1)*60*60*1e3,pastWeekTimestamp=o-firstDayOfWeekTimestamp,asideWeekDay=pastWeekTimestamp/1e3/60/60/24,s.querySelector("#pBar_week")[e(457)]=asideWeekDay,weekPercentage=(asideWeekDay/7*100)[e(677)](2),displayWeekPercentage=weekPercentage===e(395)?"100%":weekPercentage+"%",s[e(613)](e(652)).innerHTML=displayWeekPercentage,s.querySelector(e(601))[e(533)]=(Math[e(618)](10*(7-asideWeekDay))/10)[e(677)](1)+e(417),currentTimeStamp=(new Date)[e(514)](),startOfDay=new Date,startOfDay[e(476)](0,0,0,0),startOfDayTimeStamp=startOfDay[e(514)](),timeDifferenceToday=currentTimeStamp-startOfDayTimeStamp,asideToday=timeDifferenceToday/1e3/60/60/24,asideTodayHour=timeDifferenceToday/36e5,s.querySelector(e(713))[e(457)]=asideTodayHour,dayPercentage=(100*asideToday)[e(677)](2),displayDayPercentage=dayPercentage===e(395)?"100%":dayPercentage+"%",s[e(613)](e(499))[e(533)]=displayDayPercentage,s[e(613)](e(647))[e(533)]=(Math.floor(10*(24-asideTodayHour))/10).toFixed(1)+e(643),month=o[e(629)]()+1,day=o[e(673)](),month=month>9?month:"0"+month,day=day>9?day:"0"+day,week={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"},document[e(613)](e(450)).innerHTML=o[e(511)]()+"-"+month+"-"+day+" "+week[o[e(595)]()])},PressEscapeKey(e){var t=_0x5ac6;27===e[t(722)]&&(document[t(614)](t(622))&&mycpen1js[t(684)](),document[t(614)](t(678))&&document[t(614)](t(773))&&(document[t(613)](t(363))||document[t(613)](t(538)))&&(document[t(614)](t(364))&&closeShow(),document[t(614)](t(726))&&mycpen1js[t(680)]()))},linkPageOpenMeShow(e){var t=_0x5ac6,a={apipublicurl:t(782)},n="ok",o=t(748),c=document[t(614)](t(726));c&&(document[t(614)]("cf-overlay")||c[t(760)]("afterend",o)),e[t(414)]();var s,r=e[t(421)][t(371)][t(423)][t(532)](/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/,t(610));s=a[t(700)]+t(581)+r,"ok"==n&&(n="no",mycpen1js[t(518)](s))},linkPageOpenMeShowV2(e){var t=_0x5ac6,a={apipublicurl:t(782)},n="ok",o=t(748),c=document[t(614)](t(726));c&&(document[t(614)](t(678))||c.insertAdjacentHTML(t(721),o)),e[t(414)]();var s,r=encodeURIComponent(e[t(421)][t(371)].name);s=a[t(700)]+t(789)+r,"ok"==n&&(n="no",mycpen1js[t(518)](s))},linkPageCloseShow(){var e=_0x5ac6;document.getElementById("cf-overlay")[e(358)]-="cf-show-now",document[e(614)](e(773)).className-=e(625),setTimeout((function(){var t=e,a=document[t(469)](t(473)),n=document.querySelectorAll(t(602));a.forEach((function(e){e[t(728)]()}));for(var o=1;o<n[t(553)];o++)n[o][t(728)]()}),100)},linkPageFetchShow(_0x268957){var _0x160513=_0x5ac6,_0xb0cd40='\n <div class="cf-overshow-close" onclick="mycpen1js.linkPageCloseShow()"></div>\n ';fetch(_0x268957)[_0x160513(384)]((e=>e[_0x160513(508)]()))[_0x160513(384)]((_0x36d59a=>{var _0x5a98e8=_0x160513;noClick="ok";var _0x2d81a5=_0x36d59a[_0x5a98e8(524)],_0x49778c=eval(_0x36d59a[_0x5a98e8(478)]);0!==_0x2d81a5.article_num?(mycpen1js[_0x5a98e8(394)](_0x2d81a5,_0x49778c),document.getElementById(_0x5a98e8(678))[_0x5a98e8(358)]=_0x5a98e8(625),document[_0x5a98e8(614)](_0x5a98e8(773))[_0x5a98e8(760)](_0x5a98e8(730),_0xb0cd40)):btf[_0x5a98e8(672)](_0x5a98e8(572))}))[_0x160513(731)]((e=>{var t=_0x160513;btf[t(672)](t(408))}))},linkPageLoadFcircleShow(e,t){for(var a=_0x5ac6,n='\n <div class="cf-overshow">\n <div class="cf-overshow-head">\n <img class="cf-img-avatar avatar" src="'+e[a(412)]+'" alt="avatar" onerror="this.src=\'https://cdn.cbd.int/mycpen-blog@0.0.0-wlaiuywbgz/img/flink404.svg\'; this.onerror = null;">\n <a class="" target="_blank" rel="noopener nofollow" href="'+e[a(423)]+'">'+e[a(493)]+a(689),o=0;o<e[a(559)];o++){var c=t[o];let e="";Date.now()-new Date(c[a(785)]+" 00:00:00")[a(514)]()<=1728e5&&(e='style="color: var(--mycpen1-main); opacity: 1;"'),n+=a(658)+c[a(423)]+a(671)+c.title+'">'+c[a(764)]+a(639)+e+">"+c[a(785)]+a(516)}n+="</div></div>",document.getElementById(a(773)).insertAdjacentHTML("beforeend",n),document[a(614)](a(773)).className="cf-show-now"},linkPageRssAliveCheck(){var e=_0x5ac6;apiurl="https://hexo-circle.cpen.top/",rssAliveCheckUrl=apiurl+e(727),fetch(rssAliveCheckUrl)[e(384)]((t=>t[e(508)]()))[e(384)]((t=>{var a=e,n=t[a(530)],o=t[a(695)],c=t.total_friend_num;let s=[];for(const e in n){let t=n[e];t=t.replace(/^https?:\/\//,""),t=t.replace(/\/$/,""),s[a(729)](t)}let r=[];for(const e in o){let t=o[e];t=t.replace(/^https?:\/\//,""),t=t[a(532)](/\/$/,""),r[a(729)](t)}document[a(469)]("#article-container .flink#mycpen1-link-page-tag-2 .flink-list>.flink-list-item a .flink-item-icon")[a(600)]((e=>{var t=a;if(e){let a=e[t(787)](t(422))[t(532)](/^https?:\/\//,"");a=a[t(532)](/\/$/,""),c>0?r[t(393)](a)?e[t(599)][t(376)](t(580)):s[t(393)](a)?e[t(599)][t(376)](t(790)):e[t(599)][t(376)](t(568)):0===c&&e[t(599)][t(376)](t(790))}}))}))},NzcheckLink:async e=>{var t=_0x5ac6;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(447)](t(566)),o=s.classList[t(626)](t(605));if(!n&&!o){let a=s[t(787)](t(609)),n=s[t(787)](t(608)),o=s[t(787)](t(562));e[t(356)](a)||"prev"===o||o===t(413)||o===t(416)||o===t(705)||a===t(535)||(await mycpen1js[t(484)](a)||n?!await mycpen1js.NzcheckLocalSite(a)&&"goDown"===n&&s[t(615)](t(609),"/redirect.html?url="+btoa(a)+t(420)):s[t(615)](t(609),t(513)+btoa(a)))}s[t(599)].add(t(605))}}},NzcheckLocalSite:async e=>{var t=_0x5ac6;try{const a=[t(531),t(480),t(505)];let n=!1;for(let o=0;o<a[t(553)];o++){const c=a[o];if(e[t(393)](c)){n=!0;break}}return n}catch(e){return!0}},cookieConsent(){var e=_0x5ac6;window[e(465)](e(479),(()=>{var t=e;window[t(706)][t(775)]({type:t(573),theme:t(357),static:!1,position:t(584),content:{message:t(536),dismiss:"接受",allow:"接受",deny:"拒绝",link:!1},palette:{popup:{background:"#edeff5",text:t(657)},button:{background:t(555)}}})}))}};function whenDOMReadyMycpen1JS(){var e=_0x4f926b;mycpen1js[e(735)](),mycpen1js.getFooterRandomFlink(),mycpen1js[e(783)](),mycpen1js[e(463)](),mycpen1js[e(504)](),mycpen1js[e(558)](),mycpen1js[e(692)](),document.getElementById(e(750))&&(mycpen1js[e(662)](),mycpen1js[e(415)](),window.onresize=()=>{var t=e;document.getElementById("mycpen1-essay-page-tag")&&(mycpen1js[t(415)](),setTimeout((()=>{mycpen1js[t(415)]()}),300))}),document[e(614)](e(410))[e(465)](e(666),(function(){setTimeout(mycpen1js[e(525)],100)})),document.getElementById(e(711))[e(465)](e(666),(function(){setTimeout(mycpen1js[e(525)],100)})),document[e(614)](e(431))[e(465)](e(666),(function(){setTimeout(mycpen1js[e(525)],100)})),document.getElementById(e(788))[e(465)](e(666),(function(){setTimeout(mycpen1js[e(525)],100)})),mycpen1js[e(428)](),mycpen1js.closeAboutAplayer(),document[e(614)]("card-widget-schedule")&&(mycpen1js.cardRefreshTimes(),setInterval((()=>{mycpen1js[e(701)]()}),1e3)),document.getElementById(e(385))&&mycpen1js[e(709)](),document.getElementById(e(726))&&(mycpen1js[e(512)](e(540)),mycpen1js[e(512)]("#article-container .flink .flink-list > .flink-list-item.失联 > a")),document[e(614)](e(630))&&mycpen1js.NzcheckLink(e(389)),document[e(614)](e(575))&&setInterval((()=>{var t=e;if(document[t(613)](t(751))){mycpen1js.NzcheckLink(t(654));document[t(469)](".tk-avatar.tk-clickable:not(.already-clear-clickEvent)").forEach((e=>{var a=t;e[a(599)][a(376)](a(628));const n=document.createElement("a");for(Array[a(794)](e[a(429)])[a(600)]((e=>{var t=a;n.setAttribute(e.name,e[t(457)])}));e[a(557)];)n[a(495)](e[a(557)]);e[a(386)][a(780)](n,e);const o=n[a(624)][a(374)][a(374)].firstElementChild.getAttribute(a(609));n[a(615)](a(609),o),n[a(615)]("target","_blank"),n[a(615)](a(562),a(651))}))}}),1e3)}mycpen1js[_0x4f926b(622)](),document[_0x4f926b(770)](_0x4f926b(708),mycpen1js[_0x4f926b(454)]),document[_0x4f926b(465)]("keydown",mycpen1js[_0x4f926b(454)]),window[_0x4f926b(397)]=mycpen1js.getNavRightPagePercent,mycpen1js[_0x4f926b(359)](),whenDOMReadyMycpen1JS(),document[_0x4f926b(465)](_0x4f926b(346),whenDOMReadyMycpen1JS);
|