diff --git a/2019/01/17/hello-world/index.html b/2019/01/17/hello-world/index.html deleted file mode 100644 index 989ae11fe7cffe6e1290b166bfbd5e3827952100..0000000000000000000000000000000000000000 --- a/2019/01/17/hello-world/index.html +++ /dev/null @@ -1,740 +0,0 @@ - - - - - - - Hello World | LOVE109❤️纪实小屋 - - - - - - - - - - - - - - - - - -
-
- -
-
- - -
-
-
- - - -
-
-

LOVE109❤️纪实小屋 - 记录爱情❤️记录生活

-
-
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    -
    -
    - - - -
    -
    -
    -
    -
    - -
    - -
    -
    -
    -

    - Hello World

    -

    - - - - - - - - LOVE109❤️纪实小屋 - - - · - 2019-1-17 - · - 次阅读

    -
    -
    - -
    -
    - -
    - - -
    -

    Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

    -

    Quick Start

    Create a new post

    1
    $ hexo new "My New Post"
    -

    More info: Writing

    -

    Run server

    1
    $ hexo server
    -

    More info: Server

    -

    Generate static files

    1
    $ hexo generate
    -

    More info: Generating

    -

    Deploy to remote sites

    1
    $ hexo deploy
    -

    More info: Deployment

    - -
    - -
    -
    -
      -
    • -
    • -
    -
    -
    -
    - -
    - -
    -
    -
    -
    - - - - - -
    - - - -
    - - -
    - -
    -

    记录爱情 记录生活

    -
    -
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    - -
    -

    LOVE109❤️ 纪实小屋

    -

    - - - - - - - - - - - - - -

    - -

    - © 2019 LOVE109❤️纪实小屋

    -
    - - - - - - - - - - - - - - - - - -
    - - - \ No newline at end of file diff --git "a/2019/01/20/hello-world - \345\211\257\346\234\254 (2)/index.html" "b/2019/01/20/hello-world - \345\211\257\346\234\254 (2)/index.html" deleted file mode 100644 index 7a1a1b9f1996a61a6a491268e08b890dab2afeba..0000000000000000000000000000000000000000 --- "a/2019/01/20/hello-world - \345\211\257\346\234\254 (2)/index.html" +++ /dev/null @@ -1,740 +0,0 @@ - - - - - - - Hello World | LOVE109❤️纪实小屋 - - - - - - - - - - - - - - - - - -
    -
    - -
    -
    - - -
    -
    -
    - - - -
    -
    -

    LOVE109❤️纪实小屋 - 记录爱情❤️记录生活

    -
    -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    -
    -
    - - - -
    -
    -
    -
    -
    - -
    - -
    -
    -
    -

    - Hello World

    -

    - - - - - - - - LOVE109❤️纪实小屋 - - - · - 2019-1-20 - · - 次阅读

    -
    -
    - -
    -
    - -
    - - -
    -

    Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

    -

    Quick Start

    Create a new post

    1
    $ hexo new "My New Post"
    -

    More info: Writing

    -

    Run server

    1
    $ hexo server
    -

    More info: Server

    -

    Generate static files

    1
    $ hexo generate
    -

    More info: Generating

    -

    Deploy to remote sites

    1
    $ hexo deploy
    -

    More info: Deployment

    - -
    - -
    -
    -
      -
    • -
    • -
    -
    -
    -
    - -
    - -
    -
    -
    -
    - - - - - -
    - - - -
    - - -
    - -
    -

    记录爱情 记录生活

    -
    -
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    - -
    -

    LOVE109❤️ 纪实小屋

    -

    - - - - - - - - - - - - - -

    - -

    - © 2019 LOVE109❤️纪实小屋

    -
    - - - - - - - - - - - - - - - - - -
    - - - \ No newline at end of file diff --git "a/2019/01/20/hello-world - \345\211\257\346\234\254/index.html" "b/2019/01/20/hello-world - \345\211\257\346\234\254/index.html" deleted file mode 100644 index 7496977dc64d3ee7b5048c72d3fde09331bc710b..0000000000000000000000000000000000000000 --- "a/2019/01/20/hello-world - \345\211\257\346\234\254/index.html" +++ /dev/null @@ -1,757 +0,0 @@ - - - - - - - Hello World | LOVE109❤️纪实小屋 - - - - - - - - - - - - - - - - - -
    -
    - -
    -
    - - -
    -
    -
    - - - -
    -
    -

    LOVE109❤️纪实小屋 - 记录爱情❤️记录生活

    -
    -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    -
    -
    - - - -
    -
    -
    -
    -
    - -
    - -
    -
    -
    -

    - Hello World

    -

    - - - - - - - - LOVE109❤️纪实小屋 - - - · - 2019-1-20 - · - 次阅读

    -
    -
    - -
    -
    - -
    - - -
    -

    Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

    -

    Quick Start

    Create a new post

    1
    $ hexo new "My New Post"
    -

    More info: Writing

    -

    Run server

    1
    $ hexo server
    -

    More info: Server

    -

    Generate static files

    1
    $ hexo generate
    -

    More info: Generating

    -

    Deploy to remote sites

    1
    $ hexo deploy
    -

    More info: Deployment

    - -
    - -
    -
    -
      -
    • -
    • -
    -
    -
    -
    - -
    - -
    -
    -
    -
    - - - - - - - - -
    - - - -
    - - -
    - -
    -

    记录爱情 记录生活

    -
    -
    -
    -
    - - - - - - - - - - - - - - - -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    - -
    -

    LOVE109❤️ 纪实小屋

    -

    - - - - - - - - - - - - - -

    - -

    - © 2019 LOVE109❤️纪实小屋

    -
    - - - - - - - - - - - - - - - - - -
    - - - \ No newline at end of file diff --git a/2019/01/25/hello-world/index.html b/2019/01/25/hello-world/index.html new file mode 100644 index 0000000000000000000000000000000000000000..74798db13605555e7d66615ab6ee5056c44df46f --- /dev/null +++ b/2019/01/25/hello-world/index.html @@ -0,0 +1,216 @@ + + + + + + + + Hello World | 404 + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    + +
    + + +
    + + +

    + Hello World +

    + + +
    + +
    + +

    photos: https://wx2.sinaimg.cn/large/006bYVyvgy1fqmv0mlsktj31400u0avk.jpg
    Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

    +

    Quick Start

    Create a new post

    1
    $ hexo new "My New Post"
    +

    More info: Writing

    +

    Run server

    1
    $ hexo server
    +

    More info: Server

    +

    Generate static files

    1
    $ hexo generate
    +

    More info: Generating

    +

    Deploy to remote sites

    1
    $ hexo deploy
    +

    More info: Deployment

    + + +
    + +
    + + + +
    + +
    + + + +
    +
    + +
    + +
    +
    +
    + + + + + + + + + + + + + + +
    + + \ No newline at end of file diff --git a/404.html b/404.html deleted file mode 100644 index 1d4118be4ae68cb0d53fbe9d13a73803d93359ca..0000000000000000000000000000000000000000 --- a/404.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - 404 - Not Found - - - - - - - - - diff --git a/Love.html b/Love.html deleted file mode 100644 index 3f1cf0b9d666e7a2aad1a684dc2d465244c0992c..0000000000000000000000000000000000000000 --- a/Love.html +++ /dev/null @@ -1,222 +0,0 @@ - - - - LOVE109❤️纪实小屋 - - - - - - - - - - - - - - -
    -
    亲,您使用的浏览器无法支持即将显示的内容,请换成谷歌(Chrome)或者火狐(Firefox)浏览器哟~
    -
    -
    -
    - DEAR PLL:

    - 我的爱人,我会牵着你的手,走到满头白发的那一天,
    - 我会守护你生命里的精彩,并陪伴你一路精彩下去。
    - 你的幸福快乐,是我一生的追求。
    - 我会每一天带着笑脸,和你说早安,
    - 我会每一晚与你道声晚安再入梦乡,
    - 我会带你去所有你想去的地方,
    - 陪你闹看你笑
    - 历经你生命中所有的点点滴滴。
    - 我期待这一生与你一起走过,
    - 我期待与你慢慢变老
    - 等我们老到哪儿也去不了,
    - 还能满载着一生的幸福快乐 !
    -
    - 我会为我们的未来撑起一片天空,
    - 为我们的将来担负起一生的责任,
    - 愿意为你去做每一件能让你开心快乐的事。
    - 所有我们经历的点点滴滴,
    - 都是我们一辈子最美的回忆。
    - 我愿意爱你直到老去!
    -
    - ———— Yours, TRH. -
    -
    -
    - @TRH@PLL 在一起的 -
    -
    - -
    - -
    - - - - - - - - \ No newline at end of file diff --git a/LoveTimeline/index.html b/LoveTimeline/index.html index 1540b375275ae2def552cde54a71743ad296d7ad..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 --- a/LoveTimeline/index.html +++ b/LoveTimeline/index.html @@ -1,752 +0,0 @@ - - - - - - - LoveTimeline | LOVE109❤️纪实小屋 - - - - - - - - - - - - - - - - - -
    -
    - -
    -
    - - -
    -
    -
    - - - -
    -
    -

    LOVE109❤️纪实小屋 - 记录爱情❤️记录生活

    -
    -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    -
    -
    - - - -
    -
    -
    -
    -
    - -
    -
    - -
    -
    -

    - 爱情时间轴

    -
    -
    - -
    -
    - - -
    -
    -
    -
    -
    - -
    -
    -

    2018-10-02

    -

    一起去了洛阳

    - LOVE109❤️纪实小屋 -
    -
    -
    -
    - -
    -
    -

    2018-05-02

    -

    一起去了襄阳

    - LOVE109❤️纪实小屋 -
    -
    -
    -
    - -
    -
    -

    2017-10-01

    -

    异地一个月后第一次见面

    - LOVE109❤️纪实小屋 -
    -
    -
    -
    - -
    -
    -

    2017-09-03

    -

    开始异地恋,我在武汉,她在南阳 -

    - LOVE109❤️纪实小屋 -
    -
    -
    -
    - -
    -
    -

    2017-06-07/08

    -

    共同经历高考 -

    - LOVE109❤️纪实小屋 -
    -
    -
    -
    - -
    -
    -

    2016-10-09

    -

    正式确定恋爱关系

    - LOVE109❤️纪实小屋 -
    -
    -
    -
    - -
    -
    -

    2014-11-23

    -

    高中文理科分班,第一次见面

    - LOVE109❤️纪实小屋 -
    -
    -
    -
    -
    - - - - -
    - -
    -
    -
    -
    - - -
    -
    - -
    -

    记录爱情 记录生活

    -
    - -
    - - - - - - - - - - - - - - - -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    - -
    -

    LOVE109❤️ 纪实小屋

    -

    - - - - - - - - - - - - - -

    - -

    - © 2019 LOVE109❤️纪实小屋

    -
    - - - - - - - - - - - - - - - - - -
    - - - \ No newline at end of file diff --git a/Love_files/default.css b/Love_files/default.css deleted file mode 100644 index 6da9b0dce3b7d5f4e7428811cd3e9c3286bc684b..0000000000000000000000000000000000000000 --- a/Love_files/default.css +++ /dev/null @@ -1,15 +0,0 @@ -body{margin:0;padding:0;background:#ffe0e6;font-size:14px;font-family:'微软雅黑','宋体',sans-serif;color:#FF69B4;overflow:auto} -a {color:#000;font-size:14px;} -#main{width:100%;} -#wrap{position:relative;margin:0 auto;background:#ffe0e6;width:1100px;height:680px;margin-top:10px;} -#text{width:400px;height:425px;left:20;top:60px;position:absolute;} -#code{display:none;font-size:16px;} -#clock-box {position:absolute;left:60px;top:550px;font-size:28px;display:none;} -#clock-box a {font-size:28px;text-decoration:none;} -#clock{margin-left:48px;} -#clock .digit {font-size:64px;} -#canvas{margin:0 auto;width:1100px;height:680px;} -#error{margin:0 auto;text-align:center;margin-top:60px;display:none;} -.hand{cursor:pointer;} -.say{margin-left:5px;} -.space{margin-right:150px;} diff --git a/Love_files/functions.js b/Love_files/functions.js deleted file mode 100644 index 19ffa7823aec28bcabfa9a9bdd3796d8240c93a3..0000000000000000000000000000000000000000 --- a/Love_files/functions.js +++ /dev/null @@ -1,60 +0,0 @@ -/* - * http://love.hackerzhou.me - */ - -// variables -var $win = $(window); -var clientWidth = $win.width(); -var clientHeight = $win.height(); - -$(window).resize(function() { - var newWidth = $win.width(); - var newHeight = $win.height(); - if (newWidth != clientWidth && newHeight != clientHeight) { - location.replace(location); - } -}); - -(function($) { - $.fn.typewriter = function() { - this.each(function() { - var $ele = $(this), str = $ele.html(), progress = 0; - $ele.html(''); - var timer = setInterval(function() { - var current = str.substr(progress, 1); - if (current == '<') { - progress = str.indexOf('>', progress) + 1; - } else { - progress++; - } - $ele.html(str.substring(0, progress) + (progress & 1 ? '_' : '')); - if (progress >= str.length) { - clearInterval(timer); - } - }, 75); - }); - return this; - }; -})(jQuery); - -function timeElapse(date){ - var current = Date(); - var seconds = (Date.parse(current) - Date.parse(date)) / 1000; - var days = Math.floor(seconds / (3600 * 24)); - seconds = seconds % (3600 * 24); - var hours = Math.floor(seconds / 3600); - if (hours < 10) { - hours = "0" + hours; - } - seconds = seconds % 3600; - var minutes = Math.floor(seconds / 60); - if (minutes < 10) { - minutes = "0" + minutes; - } - seconds = seconds % 60; - if (seconds < 10) { - seconds = "0" + seconds; - } - var result = "第 " + days + "" + hours + " 小时 " + minutes + " 分钟 " + seconds + " 秒"; - $("#clock").html(result); -} diff --git a/Love_files/jquery.min.js b/Love_files/jquery.min.js deleted file mode 100644 index 198b3ff07d801dffa2c42fcf3b67eb3295eef85f..0000000000000000000000000000000000000000 --- a/Love_files/jquery.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/*! jQuery v1.7.1 jquery.com | jquery.org/license */ -(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"":"")+""),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){if(c!=="border")for(;g=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c
    a",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="
    "+""+"
    ",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="
    t
    ",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="
    ",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")}; -f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;le&&i.push({elem:this,matches:d.slice(e)});for(j=0;j0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

    ";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
    ";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/",""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div
    ","
    "]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function() -{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
    ").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window); \ No newline at end of file diff --git a/Love_files/jscex-async-powerpack.min.js b/Love_files/jscex-async-powerpack.min.js deleted file mode 100644 index 712715f49319fe6d38aa8b5414c25aad1d5a87ea..0000000000000000000000000000000000000000 --- a/Love_files/jscex-async-powerpack.min.js +++ /dev/null @@ -1,8 +0,0 @@ -(function(){var m=function(j){if(j.length<=1)return null;for(var f=[],h=1;h=0&&this._handlers.splice(a,1))},cancel:function(){if(!this.isCancellationRequested){this.isCancellationRequested=!0;var a=this._handlers;delete this._handlers;for(var f=0;f=0&&c.splice(i,1)}}}};e.create=function(a){return new e(a)};e.isTask=l;var h=function(){};h.prototype={Start:function(a,b){return e.create(function(c){b.next(a,function(a,b){if(a=="normal"||a=="return")c.complete("success",b);else if(a=="throw")c.complete("failure",b);else throw Error("Unsupported type: "+a);})})},Bind:function(a,b){return{next:function(c,e){var d= -function(a){if(a.error)e("throw",a.error);else{var d;try{d=b.call(c,a.result)}catch(h){e("throw",h);return}d.next(c,e)}};a.status=="ready"?(a.addEventListener("complete",d),a.start()):a.status=="running"?a.addEventListener("complete",d):d(a)}}}};for(var g in b.BuilderBase.prototype)h.prototype[g]=b.BuilderBase.prototype[g];if(!b.Async)b.Async={};g=b.Async;g.CancellationToken=d;g.CanceledError=k;g.Task=e;g.AsyncBuilder=h;if(!b.builders)b.builders={};b.binders.async="$await";b.builders.async=new h; -b.modules.async=!0}},m=typeof define==="function"&&!define.amd,n=typeof require==="function"&&typeof define==="function"&&define.amd;if(typeof require==="function"&&typeof module!=="undefined"&&module.exports)module.exports.init=function(b){if(!b.modules.builderbase){if(typeof __dirname==="string")try{require.paths.unshift(__dirname)}catch(d){try{module.paths.unshift(__dirname)}catch(e){}}require("jscex-builderbase").init(b)}j(b)};else if(m)define("jscex-async",["jscex-builderbase"],function(b,d, -e){e.exports.init=function(d){d.modules.builderbase||b("jscex-builderbase").init(d);j(d)}});else if(n)define("jscex-async",["jscex-builderbase"],function(b){return{init:function(d){d.modules.builderbase||b.init(d);j(d)}}});else{if(typeof Jscex==="undefined")throw Error('Missing the root object, please load "jscex" module first.');if(!Jscex.modules.builderbase)throw Error('Missing essential components, please initialize "builderbase" module first.');j(Jscex)}})(); diff --git a/Love_files/jscex-builderbase.min.js b/Love_files/jscex-builderbase.min.js deleted file mode 100644 index 715be3b0d226b5c9d38bd6c4a8c00d402c2ac026..0000000000000000000000000000000000000000 --- a/Love_files/jscex-builderbase.min.js +++ /dev/null @@ -1,4 +0,0 @@ -(function(){var j=function(){};j.prototype={Loop:function(b,c,a,d){return{next:function(e,i){var f=function(b){a.next(e,function(a,e){if(a=="normal"||a=="continue")g(b);else if(a=="throw"||a=="return")i(a,e);else if(a=="break")i("normal");else throw Error('Invalid type for "Loop": '+a);})},g=function(a){try{c&&!a&&c.call(e),!b||b.call(e)?f(!1):i("normal")}catch(d){i("throw",d)}};d?f(!0):g(!0)}}},Delay:function(b){return{next:function(c,a){try{b.call(c).next(c,a)}catch(d){a("throw",d)}}}},Combine:function(b, -c){return{next:function(a,d){b.next(a,function(b,i,f){if(b=="normal")try{c.next(a,d)}catch(g){d("throw",g)}else d(b,i,f)})}}},Return:function(b){return{next:function(c,a){a("return",b)}}},Normal:function(){return{next:function(b,c){c("normal")}}},Break:function(){return{next:function(b,c){c("break")}}},Continue:function(){return{next:function(b,c){c("continue")}}},Throw:function(b){return{next:function(c,a){a("throw",b)}}},Try:function(b,c,a){return{next:function(d,e){b.next(d,function(b,f,g){if(b!= -"throw"||!c)a?a.next(d,function(a,c,d){a=="normal"?e(b,f,g):e(a,c,d)}):e(b,f,g);else if(c){var h;try{h=c.call(d,f)}catch(j){a?a.next(d,function(a,b,c){a=="normal"?e("throw",j):e(a,b,c)}):e("throw",j)}h&&h.next(d,function(b,c,f){b=="throw"?a?a.next(d,function(a,d,g){a=="normal"?e(b,c,f):e(a,d,g)}):e(b,c,f):a?a.next(d,function(a,d,g){a=="normal"?e(b,c,f):e(a,d,g)}):e(b,c,f)})}else a.next(d,function(a,c,d){a=="normal"?e(b,f,g):e(a,c,d)})})}}}};var h=function(b){if(!b.modules)b.modules={};if(!b.modules.builderbase)b.modules.builderbase= -!0,b.BuilderBase=j},k=typeof define==="function"&&!define.amd,l=typeof require==="function"&&typeof define==="function"&&define.amd;if(typeof require==="function"&&typeof module!=="undefined"&&module.exports)module.exports.init=h;else if(k)define("jscex-builderbase",function(b,c,a){a.exports.init=h});else if(l)define("jscex-builderbase",function(){return{init:h}});else{if(typeof Jscex==="undefined")throw Error('Missing the root object, please load "jscex" module first.');h(Jscex)}})(); diff --git a/Love_files/jscex-jit.js b/Love_files/jscex-jit.js deleted file mode 100644 index 693fa57f513936086b000a95ee6def537f97ec81..0000000000000000000000000000000000000000 --- a/Love_files/jscex-jit.js +++ /dev/null @@ -1,1406 +0,0 @@ -(function () { - - var codeGenerator = (typeof eval("(function () {})") == "function") ? - function (code) { return code; } : - function (code) { return "false || " + code; }; - - // support string type only. - var stringify = (typeof JSON !== "undefined" && JSON.stringify) ? - function (s) { return JSON.stringify(s); } : - (function () { - // Implementation comes from JSON2 (http://www.json.org/js.html) - - var escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g; - - var meta = { // table of character substitutions - '\b': '\\b', - '\t': '\\t', - '\n': '\\n', - '\f': '\\f', - '\r': '\\r', - '"' : '\\"', - '\\': '\\\\' - } - - return function (s) { - // If the string contains no control characters, no quote characters, and no - // backslash characters, then we can safely slap some quotes around it. - // Otherwise we must also replace the offending characters with safe escape - // sequences. - - escapable.lastIndex = 0; - return escapable.test(s) ? '"' + s.replace(escapable, function (a) { - var c = meta[a]; - return typeof c === 's' ? c : - '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4); - }) + '"' : '"' + s + '"'; - }; - })(); - - // seed defined in global - if (typeof __jscex__tempVarSeed === "undefined") { - __jscex__tempVarSeed = 0; - } - - var init = function (root) { - - if (root.modules["jit"]) { - return; - } - - function JscexTreeGenerator(binder) { - this._binder = binder; - this._root = null; - } - JscexTreeGenerator.prototype = { - - generate: function (ast) { - - var params = ast[2], statements = ast[3]; - - this._root = { type: "delay", stmts: [] }; - - this._visitStatements(statements, this._root.stmts); - - return this._root; - }, - - _getBindInfo: function (stmt) { - - var type = stmt[0]; - if (type == "stat") { - var expr = stmt[1]; - if (expr[0] == "call") { - var callee = expr[1]; - if (callee[0] == "name" && callee[1] == this._binder && expr[2].length == 1) { - return { - expression: expr[2][0], - argName: "", - assignee: null - }; - } - } else if (expr[0] == "assign") { - var assignee = expr[2]; - expr = expr[3]; - if (expr[0] == "call") { - var callee = expr[1]; - if (callee[0] == "name" && callee[1] == this._binder && expr[2].length == 1) { - return { - expression: expr[2][0], - argName: "$$_result_$$", - assignee: assignee - }; - } - } - } - } else if (type == "var") { - var defs = stmt[1]; - if (defs.length == 1) { - var item = defs[0]; - var name = item[0]; - var expr = item[1]; - if (expr && expr[0] == "call") { - var callee = expr[1]; - if (callee[0] == "name" && callee[1] == this._binder && expr[2].length == 1) { - return { - expression: expr[2][0], - argName: name, - assignee: null - }; - } - } - } - } else if (type == "return") { - var expr = stmt[1]; - if (expr && expr[0] == "call") { - var callee = expr[1]; - if (callee[0] == "name" && callee[1] == this._binder && expr[2].length == 1) { - return { - expression: expr[2][0], - argName: "$$_result_$$", - assignee: "return" - }; - } - } - } - - return null; - }, - - _visitStatements: function (statements, stmts, index) { - if (arguments.length <= 2) index = 0; - - if (index >= statements.length) { - stmts.push({ type: "normal" }); - return this; - } - - var currStmt = statements[index]; - var bindInfo = this._getBindInfo(currStmt); - - if (bindInfo) { - var bindStmt = { type: "bind", info: bindInfo }; - stmts.push(bindStmt); - - if (bindInfo.assignee != "return") { - bindStmt.stmts = []; - this._visitStatements(statements, bindStmt.stmts, index + 1); - } - - } else { - var type = currStmt[0]; - if (type == "return" || type == "break" || type == "continue" || type == "throw") { - - stmts.push({ type: type, stmt: currStmt }); - - } else if (type == "if" || type == "try" || type == "for" || type == "do" - || type == "while" || type == "switch" || type == "for-in") { - - var newStmt = this._visit(currStmt); - - if (newStmt.type == "raw") { - stmts.push(newStmt); - this._visitStatements(statements, stmts, index + 1); - } else { - var isLast = (index == statements.length - 1); - if (isLast) { - stmts.push(newStmt); - } else { - - var combineStmt = { - type: "combine", - first: { type: "delay", stmts: [newStmt] }, - second: { type: "delay", stmts: [] } - }; - stmts.push(combineStmt); - - this._visitStatements(statements, combineStmt.second.stmts, index + 1); - } - } - - } else { - - stmts.push({ type: "raw", stmt: currStmt }); - - this._visitStatements(statements, stmts, index + 1); - } - } - - return this; - }, - - _visit: function (ast) { - - var type = ast[0]; - - function throwUnsupportedError() { - throw new Error('"' + type + '" is not currently supported.'); - } - - var visitor = this._visitors[type]; - - if (visitor) { - return visitor.call(this, ast); - } else { - throwUnsupportedError(); - } - }, - - _visitBody: function (ast, stmts) { - if (ast[0] == "block") { - this._visitStatements(ast[1], stmts); - } else { - this._visitStatements([ast], stmts); - } - }, - - _noBinding: function (stmts) { - switch (stmts[stmts.length - 1].type) { - case "normal": - case "return": - case "break": - case "throw": - case "continue": - return true; - } - - return false; - }, - - _collectCaseStatements: function (cases, index) { - var res = []; - - for (var i = index; i < cases.length; i++) { - var rawStmts = cases[i][1]; - for (var j = 0; j < rawStmts.length; j++) { - if (rawStmts[j][0] == "break") { - return res - } - - res.push(rawStmts[j]); - } - } - - return res; - }, - - _visitors: { - - "for": function (ast) { - - var bodyStmts = []; - var body = ast[4]; - this._visitBody(body, bodyStmts); - - if (this._noBinding(bodyStmts)) { - return { type: "raw", stmt: ast }; - } - - var delayStmt = { type: "delay", stmts: [] }; - - var setup = ast[1]; - if (setup) { - delayStmt.stmts.push({ type: "raw", stmt: setup }); - } - - var loopStmt = { type: "loop", bodyFirst: false, bodyStmt: { type: "delay", stmts: bodyStmts } }; - delayStmt.stmts.push(loopStmt); - - var condition = ast[2]; - if (condition) { - loopStmt.condition = condition; - } - - var update = ast[3]; - if (update) { - loopStmt.update = update; - } - - return delayStmt; - }, - - "for-in": function (ast) { - - var body = ast[4]; - - var bodyStmts = []; - this._visitBody(body, bodyStmts); - - if (this._noBinding(bodyStmts)) { - return { type: "raw", stmt: ast }; - } - - var id = (__jscex__tempVarSeed++); - var keysVar = "$$_keys_$$_" + id; - var indexVar = "$$_index_$$_" + id; - // var memVar = "$$_mem_$$_" + id; - - var delayStmt = { type: "delay", stmts: [] }; - - // var members = Jscex._forInKeys(obj); - var keysAst = root.parse("var " + keysVar + " = Jscex._forInKeys(obj);")[1][0]; - keysAst[1][0][1][2][0] = ast[3]; // replace obj with real AST; - delayStmt.stmts.push({ type: "raw", stmt: keysAst }); - - /* - // var members = []; - delayStmt.stmts.push({ - type: "raw", - stmt: uglifyJS.parse("var " + membersVar + " = [];")[1][0] - }); - - // for (var mem in obj) members.push(mem); - var keysAst = uglifyJS.parse("for (var " + memVar +" in obj) " + membersVar + ".push(" + memVar + ");")[1][0]; - keysAst[3] = ast[3]; // replace the "obj" with real AST. - delayStmt.stmts.push({ type : "raw", stmt: keysAst}); - */ - - // var index = 0; - delayStmt.stmts.push({ - type: "raw", - stmt: root.parse("var " + indexVar + " = 0;")[1][0] - }); - - // index < members.length - var condition = root.parse(indexVar + " < " + keysVar + ".length")[1][0][1]; - - // index++ - var update = root.parse(indexVar + "++")[1][0][1]; - - var loopStmt = { - type: "loop", - bodyFirst: false, - update: update, - condition: condition, - bodyStmt: { type: "delay", stmts: [] } - }; - delayStmt.stmts.push(loopStmt); - - var varName = ast[2][1]; // ast[2] == ["name", m] - if (ast[1][0] == "var") { - loopStmt.bodyStmt.stmts.push({ - type: "raw", - stmt: root.parse("var " + varName + " = " + keysVar + "[" + indexVar + "];")[1][0] - }); - } else { - loopStmt.bodyStmt.stmts.push({ - type: "raw", - stmt: root.parse(varName + " = " + keysVar + "[" + indexVar + "];")[1][0] - }); - } - - this._visitBody(body, loopStmt.bodyStmt.stmts); - - return delayStmt; - }, - - "while": function (ast) { - - var bodyStmts = []; - var body = ast[2]; - this._visitBody(body, bodyStmts); - - if (this._noBinding(bodyStmts)) { - return { type: "raw", stmt: ast } - } - - var loopStmt = { type: "loop", bodyFirst: false, bodyStmt: { type: "delay", stmts: bodyStmts } }; - - var condition = ast[1]; - loopStmt.condition = condition; - - return loopStmt; - }, - - "do": function (ast) { - - var bodyStmts = []; - var body = ast[2]; - this._visitBody(body, bodyStmts); - - if (this._noBinding(bodyStmts)) { - return { type: "raw", stmt: ast }; - } - - var loopStmt = { type: "loop", bodyFirst: true, bodyStmt: { type: "delay", stmts: bodyStmts } }; - - var condition = ast[1]; - loopStmt.condition = condition; - - return loopStmt; - }, - - "switch": function (ast) { - var noBinding = true; - - var switchStmt = { type: "switch", item: ast[1], caseStmts: [] }; - - var cases = ast[2]; - for (var i = 0; i < cases.length; i++) { - var caseStmt = { item: cases[i][0], stmts: [] }; - switchStmt.caseStmts.push(caseStmt); - - var statements = this._collectCaseStatements(cases, i); - this._visitStatements(statements, caseStmt.stmts); - noBinding = noBinding && this._noBinding(caseStmt.stmts); - } - - if (noBinding) { - return { type: "raw", stmt: ast }; - } else { - return switchStmt; - } - }, - - "if": function (ast) { - - var noBinding = true; - - var ifStmt = { type: "if", conditionStmts: [] }; - - var currAst = ast; - while (true) { - var condition = currAst[1]; - var condStmt = { cond: condition, stmts: [] }; - ifStmt.conditionStmts.push(condStmt); - - var thenPart = currAst[2]; - this._visitBody(thenPart, condStmt.stmts); - - noBinding = noBinding && this._noBinding(condStmt.stmts); - - var elsePart = currAst[3]; - if (elsePart && elsePart[0] == "if") { - currAst = elsePart; - } else { - break; - } - } - - var elsePart = currAst[3]; - if (elsePart) { - ifStmt.elseStmts = []; - - this._visitBody(elsePart, ifStmt.elseStmts); - - noBinding = noBinding && this._noBinding(ifStmt.elseStmts); - } - - if (noBinding) { - return { type: "raw", stmt: ast }; - } else { - return ifStmt; - } - }, - - "try": function (ast, stmts) { - - var bodyStmts = []; - var bodyStatements = ast[1]; - this._visitStatements(bodyStatements, bodyStmts); - - var noBinding = this._noBinding(bodyStmts) - - var tryStmt = { type: "try", bodyStmt: { type: "delay", stmts: bodyStmts } }; - - var catchClause = ast[2]; - if (catchClause) { - var exVar = catchClause[0]; - tryStmt.exVar = exVar; - tryStmt.catchStmts = []; - - this._visitStatements(catchClause[1], tryStmt.catchStmts); - - noBinding = noBinding && this._noBinding(tryStmt.catchStmts); - } - - var finallyStatements = ast[3]; - if (finallyStatements) { - tryStmt.finallyStmt = { type: "delay", stmts: [] }; - - this._visitStatements(finallyStatements, tryStmt.finallyStmt.stmts); - - noBinding = noBinding && this._noBinding(tryStmt.finallyStmt.stmts); - } - - if (noBinding) { - return { type: "raw", stmt: ast }; - } else { - return tryStmt; - } - } - } - } - - function CodeGenerator(builderName, binder, indent) { - this._builderName = builderName; - this._binder = binder; - this._normalMode = false; - this._indent = indent; - this._indentLevel = 0; - this._builderVar = "$$_builder_$$_" + (__jscex__tempVarSeed++); - } - CodeGenerator.prototype = { - _write: function (s) { - this._buffer.push(s); - return this; - }, - - _writeLine: function (s) { - this._write(s)._write("\n"); - return this; - }, - - _writeIndents: function () { - for (var i = 0; i < this._indent; i++) { - this._write(" "); - } - - for (var i = 0; i < this._indentLevel; i++) { - this._write(" "); - } - return this; - }, - - generate: function (params, jscexAst) { - this._buffer = []; - - this._writeLine("(function (" + params.join(", ") + ") {"); - this._indentLevel++; - - this._writeIndents() - ._writeLine("var " + this._builderVar + " = Jscex.builders[" + stringify(this._builderName) + "];"); - - this._writeIndents() - ._writeLine("return " + this._builderVar + ".Start(this,"); - this._indentLevel++; - - this._pos = { }; - - this._writeIndents() - ._visitJscex(jscexAst) - ._writeLine(); - this._indentLevel--; - - this._writeIndents() - ._writeLine(");"); - this._indentLevel--; - - this._writeIndents() - ._write("})"); - - return this._buffer.join(""); - }, - - _visitJscex: function (ast) { - this._jscexVisitors[ast.type].call(this, ast); - return this; - }, - - _visitRaw: function (ast) { - var type = ast[0]; - - function throwUnsupportedError() { - throw new Error('"' + type + '" is not currently supported.'); - } - - var visitor = this._rawVisitors[type]; - - if (visitor) { - visitor.call(this, ast); - } else { - throwUnsupportedError(); - } - - return this; - }, - - _visitJscexStatements: function (statements) { - for (var i = 0; i < statements.length; i++) { - var stmt = statements[i]; - - if (stmt.type == "raw" || stmt.type == "if" || stmt.type == "switch") { - this._writeIndents() - ._visitJscex(stmt)._writeLine(); - } else if (stmt.type == "delay") { - this._visitJscexStatements(stmt.stmts); - } else { - this._writeIndents() - ._write("return ")._visitJscex(stmt)._writeLine(";"); - } - } - }, - - _visitRawStatements: function (statements) { - for (var i = 0; i < statements.length; i++) { - var s = statements[i]; - - this._writeIndents() - ._visitRaw(s)._writeLine(); - - switch (s[0]) { - case "break": - case "return": - case "continue": - case "throw": - return; - } - } - }, - - _visitRawBody: function (body) { - if (body[0] == "block") { - this._visitRaw(body); - } else { - this._writeLine(); - this._indentLevel++; - - this._writeIndents() - ._visitRaw(body); - this._indentLevel--; - } - - return this; - }, - - _visitRawFunction: function (ast) { - var funcName = ast[1] || ""; - var args = ast[2]; - var statements = ast[3]; - - this._writeLine("function " + funcName + "(" + args.join(", ") + ") {") - this._indentLevel++; - - var currInFunction = this._pos.inFunction; - this._pos.inFunction = true; - - this._visitRawStatements(statements); - this._indentLevel--; - - this._pos.inFunction = currInFunction; - - this._writeIndents() - ._write("}"); - }, - - _jscexVisitors: { - "delay": function (ast) { - if (ast.stmts.length == 1) { - var subStmt = ast.stmts[0]; - switch (subStmt.type) { - case "delay": - case "combine": - case "normal": - case "break": - case "continue": - case "loop": - case "try": - this._visitJscex(subStmt); - return; - case "return": - if (!subStmt.stmt[1]) { - this._visitJscex(subStmt); - return; - } - } - } - - this._writeLine(this._builderVar + ".Delay(function () {"); - this._indentLevel++; - - this._visitJscexStatements(ast.stmts); - this._indentLevel--; - - this._writeIndents() - ._write("})"); - }, - - "combine": function (ast) { - this._writeLine(this._builderVar + ".Combine("); - this._indentLevel++; - - this._writeIndents() - ._visitJscex(ast.first)._writeLine(","); - this._writeIndents() - ._visitJscex(ast.second)._writeLine(); - this._indentLevel--; - - this._writeIndents() - ._write(")"); - }, - - "loop": function (ast) { - this._writeLine(this._builderVar + ".Loop("); - this._indentLevel++; - - if (ast.condition) { - this._writeIndents() - ._writeLine("function () {"); - this._indentLevel++; - - this._writeIndents() - ._write("return ")._visitRaw(ast.condition)._writeLine(";"); - this._indentLevel--; - - this._writeIndents() - ._writeLine("},"); - } else { - this._writeIndents()._writeLine("null,"); - } - - if (ast.update) { - this._writeIndents() - ._writeLine("function () {"); - this._indentLevel++; - - this._writeIndents() - ._visitRaw(ast.update)._writeLine(";"); - this._indentLevel--; - - this._writeIndents() - ._writeLine("},"); - } else { - this._writeIndents()._writeLine("null,"); - } - - this._writeIndents() - ._visitJscex(ast.bodyStmt)._writeLine(","); - - this._writeIndents() - ._writeLine(ast.bodyFirst); - this._indentLevel--; - - this._writeIndents() - ._write(")"); - }, - - "raw": function (ast) { - this._visitRaw(ast.stmt); - }, - - "bind": function (ast) { - var info = ast.info; - this._write(this._builderVar + ".Bind(")._visitRaw(info.expression)._writeLine(", function (" + info.argName + ") {"); - this._indentLevel++; - - if (info.assignee == "return") { - this._writeIndents() - ._writeLine("return " + this._builderVar + ".Return(" + info.argName + ");"); - } else { - if (info.assignee) { - this._writeIndents() - ._visitRaw(info.assignee)._writeLine(" = " + info.argName + ";"); - } - - this._visitJscexStatements(ast.stmts); - } - this._indentLevel--; - - this._writeIndents() - ._write("})"); - }, - - "if": function (ast) { - - for (var i = 0; i < ast.conditionStmts.length; i++) { - var stmt = ast.conditionStmts[i]; - - this._write("if (")._visitRaw(stmt.cond)._writeLine(") {"); - this._indentLevel++; - - this._visitJscexStatements(stmt.stmts); - this._indentLevel--; - - this._writeIndents() - ._write("} else "); - } - - this._writeLine("{"); - this._indentLevel++; - - if (ast.elseStmts) { - this._visitJscexStatements(ast.elseStmts); - } else { - this._writeIndents() - ._writeLine("return " + this._builderVar + ".Normal();"); - } - - this._indentLevel--; - - this._writeIndents() - ._write("}"); - }, - - "switch": function (ast) { - this._write("switch (")._visitRaw(ast.item)._writeLine(") {"); - this._indentLevel++; - - for (var i = 0; i < ast.caseStmts.length; i++) { - var caseStmt = ast.caseStmts[i]; - - if (caseStmt.item) { - this._writeIndents() - ._write("case ")._visitRaw(caseStmt.item)._writeLine(":"); - } else { - this._writeIndents()._writeLine("default:"); - } - this._indentLevel++; - - this._visitJscexStatements(caseStmt.stmts); - this._indentLevel--; - } - - this._writeIndents() - ._write("}"); - }, - - "try": function (ast) { - this._writeLine(this._builderVar + ".Try("); - this._indentLevel++; - - this._writeIndents() - ._visitJscex(ast.bodyStmt)._writeLine(","); - - if (ast.catchStmts) { - this._writeIndents() - ._writeLine("function (" + ast.exVar + ") {"); - this._indentLevel++; - - this._visitJscexStatements(ast.catchStmts); - this._indentLevel--; - - this._writeIndents() - ._writeLine("},"); - } else { - this._writeIndents() - ._writeLine("null,"); - } - - if (ast.finallyStmt) { - this._writeIndents() - ._visitJscex(ast.finallyStmt)._writeLine(); - } else { - this._writeIndents() - ._writeLine("null"); - } - this._indentLevel--; - - this._writeIndents() - ._write(")"); - }, - - "normal": function (ast) { - this._write(this._builderVar + ".Normal()"); - }, - - "throw": function (ast) { - this._write(this._builderVar + ".Throw(")._visitRaw(ast.stmt[1])._write(")"); - }, - - "break": function (ast) { - this._write(this._builderVar + ".Break()"); - }, - - "continue": function (ast) { - this._write(this._builderVar + ".Continue()"); - }, - - "return": function (ast) { - this._write(this._builderVar + ".Return("); - if (ast.stmt[1]) this._visitRaw(ast.stmt[1]); - this._write(")"); - } - }, - - _rawVisitors: { - "var": function (ast) { - this._write("var "); - - var items = ast[1]; - for (var i = 0; i < items.length; i++) { - this._write(items[i][0]); - if (items[i].length > 1) { - this._write(" = ")._visitRaw(items[i][1]); - } - if (i < items.length - 1) this._write(", "); - } - - this._write(";"); - }, - - "seq": function (ast) { - for (var i = 1; i < ast.length; i++) { - this._visitRaw(ast[i]); - if (i < ast.length - 1) this._write(", "); - } - }, - - "binary": function (ast) { - var op = ast[1], left = ast[2], right = ast[3]; - - function needBracket(item) { - var type = item[0]; - return !(type == "num" || type == "name" || type == "dot"); - } - - if (needBracket(left)) { - this._write("(")._visitRaw(left)._write(") "); - } else { - this._visitRaw(left)._write(" "); - } - - this._write(op); - - if (needBracket(right)) { - this._write(" (")._visitRaw(right)._write(")"); - } else { - this._write(" ")._visitRaw(right); - } - }, - - "sub": function (ast) { - var prop = ast[1], index = ast[2]; - - function needBracket() { - return !(prop[0] == "name") - } - - if (needBracket()) { - this._write("(")._visitRaw(prop)._write(")[")._visitRaw(index)._write("]"); - } else { - this._visitRaw(prop)._write("[")._visitRaw(index)._write("]"); - } - }, - - "unary-postfix": function (ast) { - var op = ast[1]; - var item = ast[2]; - this._visitRaw(item)._write(op); - }, - - "unary-prefix": function (ast) { - var op = ast[1]; - var item = ast[2]; - this._write(op); - if (op == "typeof") { - this._write("(")._visitRaw(item)._write(")"); - } else { - this._visitRaw(item); - } - }, - - "assign": function (ast) { - var op = ast[1]; - var name = ast[2]; - var value = ast[3]; - - this._visitRaw(name); - if ((typeof op) == "string") { - this._write(" " + op + "= "); - } else { - this._write(" = "); - } - this._visitRaw(value); - }, - - "stat": function (ast) { - this._visitRaw(ast[1])._write(";"); - }, - - "dot": function (ast) { - function needBracket() { - var leftOp = ast[1][0]; - return !(leftOp == "dot" || leftOp == "name"); - } - - if (needBracket()) { - this._write("(")._visitRaw(ast[1])._write(").")._write(ast[2]); - } else { - this._visitRaw(ast[1])._write(".")._write(ast[2]); - } - }, - - "new": function (ast) { - var ctor = ast[1]; - - this._write("new ")._visitRaw(ctor)._write("("); - - var args = ast[2]; - for (var i = 0, len = args.length; i < len; i++) { - this._visitRaw(args[i]); - if (i < len - 1) this._write(", "); - } - - this._write(")"); - }, - - "call": function (ast) { - - if (_isJscexPattern(ast)) { - var indent = this._indent + this._indentLevel * 4; - var newCode = _compileJscexPattern(ast, indent); - this._write(newCode); - } else { - - var invalidBind = (ast[1][0] == "name") && (ast[1][1] == this._binder); - if (invalidBind) { - this._pos = { inFunction: true }; - this._buffer = []; - } - - this._visitRaw(ast[1])._write("("); - - var args = ast[2]; - for (var i = 0; i < args.length; i++) { - this._visitRaw(args[i]); - if (i < args.length - 1) this._write(", "); - } - - this._write(")"); - - if (invalidBind) { - throw ("Invalid bind operation: " + this._buffer.join("")); - } - } - }, - - "name": function (ast) { - this._write(ast[1]); - }, - - "object": function (ast) { - var items = ast[1]; - if (items.length <= 0) { - this._write("{ }"); - } else { - this._writeLine("{"); - this._indentLevel++; - - for (var i = 0; i < items.length; i++) { - this._writeIndents() - ._write(stringify(items[i][0]) + ": ") - ._visitRaw(items[i][1]); - - if (i < items.length - 1) { - this._writeLine(","); - } else { - this._writeLine(""); - } - } - - this._indentLevel--; - this._writeIndents()._write("}"); - } - }, - - "array": function (ast) { - this._write("["); - - var items = ast[1]; - for (var i = 0; i < items.length; i++) { - this._visitRaw(items[i]); - if (i < items.length - 1) this._write(", "); - } - - this._write("]"); - }, - - "num": function (ast) { - this._write(ast[1]); - }, - - "regexp": function (ast) { - this._write("/" + ast[1] + "/" + ast[2]); - }, - - "string": function (ast) { - this._write(stringify(ast[1])); - }, - - "function": function (ast) { - this._visitRawFunction(ast); - }, - - "defun": function (ast) { - this._visitRawFunction(ast); - }, - - "return": function (ast) { - if (this._pos.inFunction) { - this._write("return"); - var value = ast[1]; - if (value) this._write(" ")._visitRaw(value); - this._write(";"); - } else { - this._write("return ")._visitJscex({ type: "return", stmt: ast })._write(";"); - } - }, - - "for": function (ast) { - this._write("for ("); - - var setup = ast[1]; - if (setup) { - this._visitRaw(setup); - if (setup[0] != "var") { - this._write("; "); - } else { - this._write(" "); - } - } else { - this._write("; "); - } - - var condition = ast[2]; - if (condition) this._visitRaw(condition); - this._write("; "); - - var update = ast[3]; - if (update) this._visitRaw(update); - this._write(") "); - - var currInLoop = this._pos.inLoop; - this._pos.inLoop = true; - - var body = ast[4]; - this._visitRawBody(body); - - this._pos.inLoop = currInLoop; - }, - - "for-in": function (ast) { - this._write("for ("); - - var declare = ast[1]; - if (declare[0] == "var") { // declare == ["var", [["m"]]] - this._write("var " + declare[1][0][0]); - } else { - this._visitRaw(declare); - } - - this._write(" in ")._visitRaw(ast[3])._write(") "); - - var body = ast[4]; - this._visitRawBody(body); - }, - - "block": function (ast) { - this._writeLine("{") - this._indentLevel++; - - this._visitRawStatements(ast[1]); - this._indentLevel--; - - this._writeIndents() - ._write("}"); - }, - - "while": function (ast) { - var condition = ast[1]; - var body = ast[2]; - - var currInLoop = this._pos.inLoop - this._pos.inLoop = true; - - this._write("while (")._visitRaw(condition)._write(") ")._visitRawBody(body); - - this._pos.inLoop = currInLoop; - }, - - "do": function (ast) { - var condition = ast[1]; - var body = ast[2]; - - var currInLoop = this._pos.inLoop; - this._pos.inLoop = true; - - this._write("do ")._visitRawBody(body); - - this._pos.inLoop = currInLoop; - - if (body[0] == "block") { - this._write(" "); - } else { - this._writeLine()._writeIndents(); - } - - this._write("while (")._visitRaw(condition)._write(");"); - }, - - "if": function (ast) { - var condition = ast[1]; - var thenPart = ast[2]; - - this._write("if (")._visitRaw(condition)._write(") ")._visitRawBody(thenPart); - - var elsePart = ast[3]; - if (elsePart) { - if (thenPart[0] == "block") { - this._write(" "); - } else { - this._writeLine("") - ._writeIndents(); - } - - if (elsePart[0] == "if") { - this._write("else ")._visitRaw(elsePart); - } else { - this._write("else ")._visitRawBody(elsePart); - } - } - }, - - "break": function (ast) { - if (this._pos.inLoop || this._pos.inSwitch) { - this._write("break;"); - } else { - this._write("return ")._visitJscex({ type: "break", stmt: ast })._write(";"); - } - }, - - "continue": function (ast) { - if (this._pos.inLoop) { - this._write("continue;"); - } else { - this._write("return ")._visitJscex({ type: "continue", stmt: ast })._write(";"); - } - }, - - "throw": function (ast) { - var pos = this._pos; - if (pos.inTry || pos.inFunction) { - this._write("throw ")._visitRaw(ast[1])._write(";"); - } else { - this._write("return ")._visitJscex({ type: "throw", stmt: ast })._write(";"); - } - }, - - "conditional": function (ast) { - this._write("(")._visitRaw(ast[1])._write(") ? (")._visitRaw(ast[2])._write(") : (")._visitRaw(ast[3])._write(")"); - }, - - "try": function (ast) { - - this._writeLine("try {"); - this._indentLevel++; - - var currInTry = this._pos.inTry; - this._pos.inTry = true; - - this._visitRawStatements(ast[1]); - this._indentLevel--; - - this._pos.inTry = currInTry; - - var catchClause = ast[2]; - var finallyStatements = ast[3]; - - if (catchClause) { - this._writeIndents() - ._writeLine("} catch (" + catchClause[0] + ") {") - this._indentLevel++; - - this._visitRawStatements(catchClause[1]); - this._indentLevel--; - } - - if (finallyStatements) { - this._writeIndents() - ._writeLine("} finally {"); - this._indentLevel++; - - this._visitRawStatements(finallyStatements); - this._indentLevel--; - } - - this._writeIndents() - ._write("}"); - }, - - "switch": function (ast) { - this._write("switch (")._visitRaw(ast[1])._writeLine(") {"); - this._indentLevel++; - - var currInSwitch = this._pos.inSwitch; - this._pos.inSwitch = true; - - var cases = ast[2]; - for (var i = 0; i < cases.length; i++) { - var c = cases[i]; - this._writeIndents(); - - if (c[0]) { - this._write("case ")._visitRaw(c[0])._writeLine(":"); - } else { - this._writeLine("default:"); - } - this._indentLevel++; - - this._visitRawStatements(c[1]); - this._indentLevel--; - } - this._indentLevel--; - - this._pos.inSwitch = currInSwitch; - - this._writeIndents() - ._write("}"); - } - } - } - - function _isJscexPattern(ast) { - if (ast[0] != "call") return false; - - var evalName = ast[1]; - if (evalName[0] != "name" || evalName[1] != "eval") return false; - - var compileCall = ast[2][0]; - if (!compileCall || compileCall[0] != "call") return false; - - var compileMethod = compileCall[1]; - if (!compileMethod || compileMethod[0] != "dot" || compileMethod[2] != "compile") return false; - - var jscexName = compileMethod[1]; - if (!jscexName || jscexName[0] != "name" || jscexName[1] != "Jscex") return false; - - var builder = compileCall[2][0]; - if (!builder || builder[0] != "string") return false; - - var func = compileCall[2][1]; - if (!func || func[0] != "function") return false; - - return true; - } - - function _compileJscexPattern(ast, indent) { - - var builderName = ast[2][0][2][0][1]; - var funcAst = ast[2][0][2][1]; - var binder = root.binders[builderName]; - - var jscexTreeGenerator = new JscexTreeGenerator(binder); - var jscexAst = jscexTreeGenerator.generate(funcAst); - - var codeGenerator = new CodeGenerator(builderName, binder, indent); - var newCode = codeGenerator.generate(funcAst[2], jscexAst); - - return newCode; - } - - function compile(builderName, func) { - - var funcCode = func.toString(); - var evalCode = "eval(Jscex.compile(" + stringify(builderName) + ", " + funcCode + "))" - var evalCodeAst = root.parse(evalCode); - - // [ "toplevel", [ [ "stat", [ "call", ... ] ] ] ] - var evalAst = evalCodeAst[1][0][1]; - var newCode = _compileJscexPattern(evalAst, 0); - - root.logger.debug(funcCode + "\n\n>>>\n\n" + newCode); - - return codeGenerator(newCode); - }; - - root.compile = compile; - - root.modules["jit"] = true; - } - - var isCommonJS = (typeof require !== "undefined" && typeof module !== "undefined" && module.exports); - var isAmd = (typeof define !== "undefined" && define.amd); - - if (isCommonJS) { - module.exports.init = function (root) { - if (!root.modules["parser"]) { - require("./jscex-parser").init(root); - }; - - init(root); - } - } else if (isAmd) { - define("jscex-jit", ["jscex-parser"], function (parser) { - return { - init: function (root) { - if (!root.modules["parser"]) { - parser.init(root); - } - - init(root); - } - }; - }); - } else { - if (typeof Jscex === "undefined") { - throw new Error('Missing root object, please load "jscex" module first.'); - } - - if (!Jscex.modules["parser"]) { - throw new Error('Missing essential components, please initialize "parser" module first.'); - } - - init(Jscex); - } - -})(); diff --git a/Love_files/jscex-parser.js b/Love_files/jscex-parser.js deleted file mode 100644 index 7af171d73db62ff9d9b2a983ad27661c62c23d7e..0000000000000000000000000000000000000000 --- a/Love_files/jscex-parser.js +++ /dev/null @@ -1,1352 +0,0 @@ -/*********************************************************************** - - A JavaScript tokenizer / parser / beautifier / compressor. - - This version is suitable for Node.js. With minimal changes (the - exports stuff) it should work on any JS platform. - - This file contains the tokenizer/parser. It is a port to JavaScript - of parse-js [1], a JavaScript parser library written in Common Lisp - by Marijn Haverbeke. Thank you Marijn! - - [1] http://marijn.haverbeke.nl/parse-js/ - - Exported functions: - - - tokenizer(code) -- returns a function. Call the returned - function to fetch the next token. - - - parse(code) -- returns an AST of the given JavaScript code. - - -------------------------------- (C) --------------------------------- - - Author: Mihai Bazon - - http://mihai.bazon.net/blog - - Distributed under the BSD license: - - Copyright 2010 (c) Mihai Bazon - Based on parse-js (http://marijn.haverbeke.nl/parse-js/). - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - - * Redistributions of source code must retain the above - copyright notice, this list of conditions and the following - disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials - provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER “AS IS” AND ANY - EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE - LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, - OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF - THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - SUCH DAMAGE. - - ***********************************************************************/ - -(function () { - -/* -----[ Tokenizer (constants) ]----- */ - -var KEYWORDS = array_to_hash([ - "break", - "case", - "catch", - "const", - "continue", - "default", - "delete", - "do", - "else", - "finally", - "for", - "function", - "if", - "in", - "instanceof", - "new", - "return", - "switch", - "throw", - "try", - "typeof", - "var", - "void", - "while", - "with" -]); - -var RESERVED_WORDS = array_to_hash([ - "abstract", - "boolean", - "byte", - "char", - "class", - "debugger", - "double", - "enum", - "export", - "extends", - "final", - "float", - "goto", - "implements", - "import", - "int", - "interface", - "long", - "native", - "package", - "private", - "protected", - "public", - "short", - "static", - "super", - "synchronized", - "throws", - "transient", - "volatile" -]); - -var KEYWORDS_BEFORE_EXPRESSION = array_to_hash([ - "return", - "new", - "delete", - "throw", - "else", - "case" -]); - -var KEYWORDS_ATOM = array_to_hash([ - "false", - "null", - "true", - "undefined" -]); - -var OPERATOR_CHARS = array_to_hash(characters("+-*&%=<>!?|~^")); - -var RE_HEX_NUMBER = /^0x[0-9a-f]+$/i; -var RE_OCT_NUMBER = /^0[0-7]+$/; -var RE_DEC_NUMBER = /^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i; - -var OPERATORS = array_to_hash([ - "in", - "instanceof", - "typeof", - "new", - "void", - "delete", - "++", - "--", - "+", - "-", - "!", - "~", - "&", - "|", - "^", - "*", - "/", - "%", - ">>", - "<<", - ">>>", - "<", - ">", - "<=", - ">=", - "==", - "===", - "!=", - "!==", - "?", - "=", - "+=", - "-=", - "/=", - "*=", - "%=", - ">>=", - "<<=", - ">>>=", - "|=", - "^=", - "&=", - "&&", - "||" -]); - -var WHITESPACE_CHARS = array_to_hash(characters(" \n\r\t\u200b")); - -var PUNC_BEFORE_EXPRESSION = array_to_hash(characters("[{}(,.;:")); - -var PUNC_CHARS = array_to_hash(characters("[]{}(),;:")); - -var REGEXP_MODIFIERS = array_to_hash(characters("gmsiy")); - -/* -----[ Tokenizer ]----- */ - -// regexps adapted from http://xregexp.com/plugins/#unicode -var UNICODE = { - letter: new RegExp("[\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u0523\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0621-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971\\u0972\\u097B-\\u097F\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D28\\u0D2A-\\u0D39\\u0D3D\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC\\u0EDD\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8B\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10D0-\\u10FA\\u10FC\\u1100-\\u1159\\u115F-\\u11A2\\u11A8-\\u11F9\\u1200-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u1676\\u1681-\\u169A\\u16A0-\\u16EA\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u1900-\\u191C\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19A9\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u2094\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2C6F\\u2C71-\\u2C7D\\u2C80-\\u2CE4\\u2D00-\\u2D25\\u2D30-\\u2D65\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31B7\\u31F0-\\u31FF\\u3400\\u4DB5\\u4E00\\u9FC3\\uA000-\\uA48C\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA65F\\uA662-\\uA66E\\uA67F-\\uA697\\uA717-\\uA71F\\uA722-\\uA788\\uA78B\\uA78C\\uA7FB-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA90A-\\uA925\\uA930-\\uA946\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAC00\\uD7A3\\uF900-\\uFA2D\\uFA30-\\uFA6A\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]"), - non_spacing_mark: new RegExp("[\\u0300-\\u036F\\u0483-\\u0487\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u0610-\\u061A\\u064B-\\u065E\\u0670\\u06D6-\\u06DC\\u06DF-\\u06E4\\u06E7\\u06E8\\u06EA-\\u06ED\\u0711\\u0730-\\u074A\\u07A6-\\u07B0\\u07EB-\\u07F3\\u0816-\\u0819\\u081B-\\u0823\\u0825-\\u0827\\u0829-\\u082D\\u0900-\\u0902\\u093C\\u0941-\\u0948\\u094D\\u0951-\\u0955\\u0962\\u0963\\u0981\\u09BC\\u09C1-\\u09C4\\u09CD\\u09E2\\u09E3\\u0A01\\u0A02\\u0A3C\\u0A41\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A70\\u0A71\\u0A75\\u0A81\\u0A82\\u0ABC\\u0AC1-\\u0AC5\\u0AC7\\u0AC8\\u0ACD\\u0AE2\\u0AE3\\u0B01\\u0B3C\\u0B3F\\u0B41-\\u0B44\\u0B4D\\u0B56\\u0B62\\u0B63\\u0B82\\u0BC0\\u0BCD\\u0C3E-\\u0C40\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C62\\u0C63\\u0CBC\\u0CBF\\u0CC6\\u0CCC\\u0CCD\\u0CE2\\u0CE3\\u0D41-\\u0D44\\u0D4D\\u0D62\\u0D63\\u0DCA\\u0DD2-\\u0DD4\\u0DD6\\u0E31\\u0E34-\\u0E3A\\u0E47-\\u0E4E\\u0EB1\\u0EB4-\\u0EB9\\u0EBB\\u0EBC\\u0EC8-\\u0ECD\\u0F18\\u0F19\\u0F35\\u0F37\\u0F39\\u0F71-\\u0F7E\\u0F80-\\u0F84\\u0F86\\u0F87\\u0F90-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u102D-\\u1030\\u1032-\\u1037\\u1039\\u103A\\u103D\\u103E\\u1058\\u1059\\u105E-\\u1060\\u1071-\\u1074\\u1082\\u1085\\u1086\\u108D\\u109D\\u135F\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17B7-\\u17BD\\u17C6\\u17C9-\\u17D3\\u17DD\\u180B-\\u180D\\u18A9\\u1920-\\u1922\\u1927\\u1928\\u1932\\u1939-\\u193B\\u1A17\\u1A18\\u1A56\\u1A58-\\u1A5E\\u1A60\\u1A62\\u1A65-\\u1A6C\\u1A73-\\u1A7C\\u1A7F\\u1B00-\\u1B03\\u1B34\\u1B36-\\u1B3A\\u1B3C\\u1B42\\u1B6B-\\u1B73\\u1B80\\u1B81\\u1BA2-\\u1BA5\\u1BA8\\u1BA9\\u1C2C-\\u1C33\\u1C36\\u1C37\\u1CD0-\\u1CD2\\u1CD4-\\u1CE0\\u1CE2-\\u1CE8\\u1CED\\u1DC0-\\u1DE6\\u1DFD-\\u1DFF\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2CEF-\\u2CF1\\u2DE0-\\u2DFF\\u302A-\\u302F\\u3099\\u309A\\uA66F\\uA67C\\uA67D\\uA6F0\\uA6F1\\uA802\\uA806\\uA80B\\uA825\\uA826\\uA8C4\\uA8E0-\\uA8F1\\uA926-\\uA92D\\uA947-\\uA951\\uA980-\\uA982\\uA9B3\\uA9B6-\\uA9B9\\uA9BC\\uAA29-\\uAA2E\\uAA31\\uAA32\\uAA35\\uAA36\\uAA43\\uAA4C\\uAAB0\\uAAB2-\\uAAB4\\uAAB7\\uAAB8\\uAABE\\uAABF\\uAAC1\\uABE5\\uABE8\\uABED\\uFB1E\\uFE00-\\uFE0F\\uFE20-\\uFE26]"), - space_combining_mark: new RegExp("[\\u0903\\u093E-\\u0940\\u0949-\\u094C\\u094E\\u0982\\u0983\\u09BE-\\u09C0\\u09C7\\u09C8\\u09CB\\u09CC\\u09D7\\u0A03\\u0A3E-\\u0A40\\u0A83\\u0ABE-\\u0AC0\\u0AC9\\u0ACB\\u0ACC\\u0B02\\u0B03\\u0B3E\\u0B40\\u0B47\\u0B48\\u0B4B\\u0B4C\\u0B57\\u0BBE\\u0BBF\\u0BC1\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCC\\u0BD7\\u0C01-\\u0C03\\u0C41-\\u0C44\\u0C82\\u0C83\\u0CBE\\u0CC0-\\u0CC4\\u0CC7\\u0CC8\\u0CCA\\u0CCB\\u0CD5\\u0CD6\\u0D02\\u0D03\\u0D3E-\\u0D40\\u0D46-\\u0D48\\u0D4A-\\u0D4C\\u0D57\\u0D82\\u0D83\\u0DCF-\\u0DD1\\u0DD8-\\u0DDF\\u0DF2\\u0DF3\\u0F3E\\u0F3F\\u0F7F\\u102B\\u102C\\u1031\\u1038\\u103B\\u103C\\u1056\\u1057\\u1062-\\u1064\\u1067-\\u106D\\u1083\\u1084\\u1087-\\u108C\\u108F\\u109A-\\u109C\\u17B6\\u17BE-\\u17C5\\u17C7\\u17C8\\u1923-\\u1926\\u1929-\\u192B\\u1930\\u1931\\u1933-\\u1938\\u19B0-\\u19C0\\u19C8\\u19C9\\u1A19-\\u1A1B\\u1A55\\u1A57\\u1A61\\u1A63\\u1A64\\u1A6D-\\u1A72\\u1B04\\u1B35\\u1B3B\\u1B3D-\\u1B41\\u1B43\\u1B44\\u1B82\\u1BA1\\u1BA6\\u1BA7\\u1BAA\\u1C24-\\u1C2B\\u1C34\\u1C35\\u1CE1\\u1CF2\\uA823\\uA824\\uA827\\uA880\\uA881\\uA8B4-\\uA8C3\\uA952\\uA953\\uA983\\uA9B4\\uA9B5\\uA9BA\\uA9BB\\uA9BD-\\uA9C0\\uAA2F\\uAA30\\uAA33\\uAA34\\uAA4D\\uAA7B\\uABE3\\uABE4\\uABE6\\uABE7\\uABE9\\uABEA\\uABEC]"), - connector_punctuation: new RegExp("[\\u005F\\u203F\\u2040\\u2054\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFF3F]") -}; - -function is_letter(ch) { - return UNICODE.letter.test(ch); -}; - -function is_digit(ch) { - ch = ch.charCodeAt(0); - return ch >= 48 && ch <= 57; //XXX: find out if "UnicodeDigit" means something else than 0..9 -}; - -function is_alphanumeric_char(ch) { - return is_digit(ch) || is_letter(ch); -}; - -function is_unicode_combining_mark(ch) { - return UNICODE.non_spacing_mark.test(ch) || UNICODE.space_combining_mark.test(ch); -}; - -function is_unicode_connector_punctuation(ch) { - return UNICODE.connector_punctuation.test(ch); -}; - -function is_identifier_start(ch) { - return ch == "$" || ch == "_" || is_letter(ch); -}; - -function is_identifier_char(ch) { - return is_identifier_start(ch) - || is_unicode_combining_mark(ch) - || is_digit(ch) - || is_unicode_connector_punctuation(ch) - || ch == "\u200c" // zero-width non-joiner - || ch == "\u200d" // zero-width joiner (in my ECMA-262 PDF, this is also 200c) - ; -}; - -function parse_js_number(num) { - if (RE_HEX_NUMBER.test(num)) { - return parseInt(num.substr(2), 16); - } else if (RE_OCT_NUMBER.test(num)) { - return parseInt(num.substr(1), 8); - } else if (RE_DEC_NUMBER.test(num)) { - return parseFloat(num); - } -}; - -function JS_Parse_Error(message, line, col, pos) { - this.message = message; - this.line = line; - this.col = col; - this.pos = pos; - try { - ({})(); - } catch(ex) { - this.stack = ex.stack; - }; -}; - -JS_Parse_Error.prototype.toString = function() { - return this.message + " (line: " + this.line + ", col: " + this.col + ", pos: " + this.pos + ")" + "\n\n" + this.stack; -}; - -function js_error(message, line, col, pos) { - throw new JS_Parse_Error(message, line, col, pos); -}; - -function is_token(token, type, val) { - return token.type == type && (val == null || token.value == val); -}; - -var EX_EOF = {}; - -function tokenizer($TEXT) { - - var S = { - text : $TEXT.replace(/\r\n?|[\n\u2028\u2029]/g, "\n").replace(/^\uFEFF/, ''), - pos : 0, - tokpos : 0, - line : 0, - tokline : 0, - col : 0, - tokcol : 0, - newline_before : false, - regex_allowed : false, - comments_before : [] - }; - - function peek() { return S.text.charAt(S.pos); }; - - function next(signal_eof) { - var ch = S.text.charAt(S.pos++); - if (signal_eof && !ch) - throw EX_EOF; - if (ch == "\n") { - S.newline_before = true; - ++S.line; - S.col = 0; - } else { - ++S.col; - } - return ch; - }; - - function eof() { - return !S.peek(); - }; - - function find(what, signal_eof) { - var pos = S.text.indexOf(what, S.pos); - if (signal_eof && pos == -1) throw EX_EOF; - return pos; - }; - - function start_token() { - S.tokline = S.line; - S.tokcol = S.col; - S.tokpos = S.pos; - }; - - function token(type, value, is_comment) { - S.regex_allowed = ((type == "operator" && !HOP(UNARY_POSTFIX, value)) || - (type == "keyword" && HOP(KEYWORDS_BEFORE_EXPRESSION, value)) || - (type == "punc" && HOP(PUNC_BEFORE_EXPRESSION, value))); - var ret = { - type : type, - value : value, - line : S.tokline, - col : S.tokcol, - pos : S.tokpos, - nlb : S.newline_before - }; - if (!is_comment) { - ret.comments_before = S.comments_before; - S.comments_before = []; - } - S.newline_before = false; - return ret; - }; - - function skip_whitespace() { - while (HOP(WHITESPACE_CHARS, peek())) - next(); - }; - - function read_while(pred) { - var ret = "", ch = peek(), i = 0; - while (ch && pred(ch, i++)) { - ret += next(); - ch = peek(); - } - return ret; - }; - - function parse_error(err) { - js_error(err, S.tokline, S.tokcol, S.tokpos); - }; - - function read_num(prefix) { - var has_e = false, after_e = false, has_x = false, has_dot = prefix == "."; - var num = read_while(function(ch, i){ - if (ch == "x" || ch == "X") { - if (has_x) return false; - return has_x = true; - } - if (!has_x && (ch == "E" || ch == "e")) { - if (has_e) return false; - return has_e = after_e = true; - } - if (ch == "-") { - if (after_e || (i == 0 && !prefix)) return true; - return false; - } - if (ch == "+") return after_e; - after_e = false; - if (ch == ".") { - if (!has_dot && !has_x) - return has_dot = true; - return false; - } - return is_alphanumeric_char(ch); - }); - if (prefix) - num = prefix + num; - var valid = parse_js_number(num); - if (!isNaN(valid)) { - return token("num", valid); - } else { - parse_error("Invalid syntax: " + num); - } - }; - - function read_escaped_char() { - var ch = next(true); - switch (ch) { - case "n" : return "\n"; - case "r" : return "\r"; - case "t" : return "\t"; - case "b" : return "\b"; - case "v" : return "\v"; - case "f" : return "\f"; - case "0" : return "\0"; - case "x" : return String.fromCharCode(hex_bytes(2)); - case "u" : return String.fromCharCode(hex_bytes(4)); - default : return ch; - } - }; - - function hex_bytes(n) { - var num = 0; - for (; n > 0; --n) { - var digit = parseInt(next(true), 16); - if (isNaN(digit)) - parse_error("Invalid hex-character pattern in string"); - num = (num << 4) | digit; - } - return num; - }; - - function read_string() { - return with_eof_error("Unterminated string constant", function(){ - var quote = next(), ret = ""; - for (;;) { - var ch = next(true); - if (ch == "\\") ch = read_escaped_char(); - else if (ch == quote) break; - ret += ch; - } - return token("string", ret); - }); - }; - - function read_line_comment() { - next(); - var i = find("\n"), ret; - if (i == -1) { - ret = S.text.substr(S.pos); - S.pos = S.text.length; - } else { - ret = S.text.substring(S.pos, i); - S.pos = i; - } - return token("comment1", ret, true); - }; - - function read_multiline_comment() { - next(); - return with_eof_error("Unterminated multiline comment", function(){ - var i = find("*/", true), - text = S.text.substring(S.pos, i), - tok = token("comment2", text, true); - S.pos = i + 2; - S.line += text.split("\n").length - 1; - S.newline_before = text.indexOf("\n") >= 0; - - // https://github.com/mishoo/UglifyJS/issues/#issue/100 - if (/^@cc_on/i.test(text)) { - warn("WARNING: at line " + S.line); - warn("*** Found \"conditional comment\": " + text); - warn("*** UglifyJS DISCARDS ALL COMMENTS. This means your code might no longer work properly in Internet Explorer."); - } - - return tok; - }); - }; - - function read_name() { - var backslash = false, name = "", ch; - while ((ch = peek()) != null) { - if (!backslash) { - if (ch == "\\") backslash = true, next(); - else if (is_identifier_char(ch)) name += next(); - else break; - } - else { - if (ch != "u") parse_error("Expecting UnicodeEscapeSequence -- uXXXX"); - ch = read_escaped_char(); - if (!is_identifier_char(ch)) parse_error("Unicode char: " + ch.charCodeAt(0) + " is not valid in identifier"); - name += ch; - backslash = false; - } - } - return name; - }; - - function read_regexp() { - return with_eof_error("Unterminated regular expression", function(){ - var prev_backslash = false, regexp = "", ch, in_class = false; - while ((ch = next(true))) if (prev_backslash) { - regexp += "\\" + ch; - prev_backslash = false; - } else if (ch == "[") { - in_class = true; - regexp += ch; - } else if (ch == "]" && in_class) { - in_class = false; - regexp += ch; - } else if (ch == "/" && !in_class) { - break; - } else if (ch == "\\") { - prev_backslash = true; - } else { - regexp += ch; - } - var mods = read_name(); - return token("regexp", [ regexp, mods ]); - }); - }; - - function read_operator(prefix) { - function grow(op) { - if (!peek()) return op; - var bigger = op + peek(); - if (HOP(OPERATORS, bigger)) { - next(); - return grow(bigger); - } else { - return op; - } - }; - return token("operator", grow(prefix || next())); - }; - - function handle_slash() { - next(); - var regex_allowed = S.regex_allowed; - switch (peek()) { - case "/": - S.comments_before.push(read_line_comment()); - S.regex_allowed = regex_allowed; - return next_token(); - case "*": - S.comments_before.push(read_multiline_comment()); - S.regex_allowed = regex_allowed; - return next_token(); - } - return S.regex_allowed ? read_regexp() : read_operator("/"); - }; - - function handle_dot() { - next(); - return is_digit(peek()) - ? read_num(".") - : token("punc", "."); - }; - - function read_word() { - var word = read_name(); - return !HOP(KEYWORDS, word) - ? token("name", word) - : HOP(OPERATORS, word) - ? token("operator", word) - : HOP(KEYWORDS_ATOM, word) - ? token("atom", word) - : token("keyword", word); - }; - - function with_eof_error(eof_error, cont) { - try { - return cont(); - } catch(ex) { - if (ex === EX_EOF) parse_error(eof_error); - else throw ex; - } - }; - - function next_token(force_regexp) { - if (force_regexp) - return read_regexp(); - skip_whitespace(); - start_token(); - var ch = peek(); - if (!ch) return token("eof"); - if (is_digit(ch)) return read_num(); - if (ch == '"' || ch == "'") return read_string(); - if (HOP(PUNC_CHARS, ch)) return token("punc", next()); - if (ch == ".") return handle_dot(); - if (ch == "/") return handle_slash(); - if (HOP(OPERATOR_CHARS, ch)) return read_operator(); - if (ch == "\\" || is_identifier_start(ch)) return read_word(); - parse_error("Unexpected character '" + ch + "'"); - }; - - next_token.context = function(nc) { - if (nc) S = nc; - return S; - }; - - return next_token; - -}; - -/* -----[ Parser (constants) ]----- */ - -var UNARY_PREFIX = array_to_hash([ - "typeof", - "void", - "delete", - "--", - "++", - "!", - "~", - "-", - "+" -]); - -var UNARY_POSTFIX = array_to_hash([ "--", "++" ]); - -var ASSIGNMENT = (function(a, ret, i){ - while (i < a.length) { - ret[a[i]] = a[i].substr(0, a[i].length - 1); - i++; - } - return ret; -})( - ["+=", "-=", "/=", "*=", "%=", ">>=", "<<=", ">>>=", "|=", "^=", "&="], - { "=": true }, - 0 -); - -var PRECEDENCE = (function(a, ret){ - for (var i = 0, n = 1; i < a.length; ++i, ++n) { - var b = a[i]; - for (var j = 0; j < b.length; ++j) { - ret[b[j]] = n; - } - } - return ret; -})( - [ - ["||"], - ["&&"], - ["|"], - ["^"], - ["&"], - ["==", "===", "!=", "!=="], - ["<", ">", "<=", ">=", "in", "instanceof"], - [">>", "<<", ">>>"], - ["+", "-"], - ["*", "/", "%"] - ], - {} -); - -var STATEMENTS_WITH_LABELS = array_to_hash([ "for", "do", "while", "switch" ]); - -var ATOMIC_START_TOKEN = array_to_hash([ "atom", "num", "string", "regexp", "name" ]); - -/* -----[ Parser ]----- */ - -function NodeWithToken(str, start, end) { - this.name = str; - this.start = start; - this.end = end; -}; - -NodeWithToken.prototype.toString = function() { return this.name; }; - -function parse($TEXT, exigent_mode, embed_tokens) { - - var S = { - input : typeof $TEXT == "string" ? tokenizer($TEXT, true) : $TEXT, - token : null, - prev : null, - peeked : null, - in_function : 0, - in_loop : 0, - labels : [] - }; - - S.token = next(); - - function is(type, value) { - return is_token(S.token, type, value); - }; - - function peek() { return S.peeked || (S.peeked = S.input()); }; - - function next() { - S.prev = S.token; - if (S.peeked) { - S.token = S.peeked; - S.peeked = null; - } else { - S.token = S.input(); - } - return S.token; - }; - - function prev() { - return S.prev; - }; - - function croak(msg, line, col, pos) { - var ctx = S.input.context(); - js_error(msg, - line != null ? line : ctx.tokline, - col != null ? col : ctx.tokcol, - pos != null ? pos : ctx.tokpos); - }; - - function token_error(token, msg) { - croak(msg, token.line, token.col); - }; - - function unexpected(token) { - if (token == null) - token = S.token; - token_error(token, "Unexpected token: " + token.type + " (" + token.value + ")"); - }; - - function expect_token(type, val) { - if (is(type, val)) { - return next(); - } - token_error(S.token, "Unexpected token " + S.token.type + ", expected " + type); - }; - - function expect(punc) { return expect_token("punc", punc); }; - - function can_insert_semicolon() { - return !exigent_mode && ( - S.token.nlb || is("eof") || is("punc", "}") - ); - }; - - function semicolon() { - if (is("punc", ";")) next(); - else if (!can_insert_semicolon()) unexpected(); - }; - - function as() { - return slice(arguments); - }; - - function parenthesised() { - expect("("); - var ex = expression(); - expect(")"); - return ex; - }; - - function add_tokens(str, start, end) { - return str instanceof NodeWithToken ? str : new NodeWithToken(str, start, end); - }; - - var statement = embed_tokens ? function() { - var start = S.token; - var ast = $statement.apply(this, arguments); - ast[0] = add_tokens(ast[0], start, prev()); - return ast; - } : $statement; - - function $statement() { - if (is("operator", "/")) { - S.peeked = null; - S.token = S.input(true); // force regexp - } - switch (S.token.type) { - case "num": - case "string": - case "regexp": - case "operator": - case "atom": - return simple_statement(); - - case "name": - return is_token(peek(), "punc", ":") - ? labeled_statement(prog1(S.token.value, next, next)) - : simple_statement(); - - case "punc": - switch (S.token.value) { - case "{": - return as("block", block_()); - case "[": - case "(": - return simple_statement(); - case ";": - next(); - return as("block"); - default: - unexpected(); - } - - case "keyword": - switch (prog1(S.token.value, next)) { - case "break": - return break_cont("break"); - - case "continue": - return break_cont("continue"); - - case "debugger": - semicolon(); - return as("debugger"); - - case "do": - return (function(body){ - expect_token("keyword", "while"); - return as("do", prog1(parenthesised, semicolon), body); - })(in_loop(statement)); - - case "for": - return for_(); - - case "function": - return function_(true); - - case "if": - return if_(); - - case "return": - if (S.in_function == 0) - croak("'return' outside of function"); - return as("return", - is("punc", ";") - ? (next(), null) - : can_insert_semicolon() - ? null - : prog1(expression, semicolon)); - - case "switch": - return as("switch", parenthesised(), switch_block_()); - - case "throw": - return as("throw", prog1(expression, semicolon)); - - case "try": - return try_(); - - case "var": - return prog1(var_, semicolon); - - case "const": - return prog1(const_, semicolon); - - case "while": - return as("while", parenthesised(), in_loop(statement)); - - case "with": - return as("with", parenthesised(), statement()); - - default: - unexpected(); - } - } - }; - - function labeled_statement(label) { - S.labels.push(label); - var start = S.token, stat = statement(); - if (exigent_mode && !HOP(STATEMENTS_WITH_LABELS, stat[0])) - unexpected(start); - S.labels.pop(); - return as("label", label, stat); - }; - - function simple_statement() { - return as("stat", prog1(expression, semicolon)); - }; - - function break_cont(type) { - var name = is("name") ? S.token.value : null; - if (name != null) { - next(); - if (!member(name, S.labels)) - croak("Label " + name + " without matching loop or statement"); - } - else if (S.in_loop == 0) - croak(type + " not inside a loop or switch"); - semicolon(); - return as(type, name); - }; - - function for_() { - expect("("); - var init = null; - if (!is("punc", ";")) { - init = is("keyword", "var") - ? (next(), var_(true)) - : expression(true, true); - if (is("operator", "in")) - return for_in(init); - } - return regular_for(init); - }; - - function regular_for(init) { - expect(";"); - var test = is("punc", ";") ? null : expression(); - expect(";"); - var step = is("punc", ")") ? null : expression(); - expect(")"); - return as("for", init, test, step, in_loop(statement)); - }; - - function for_in(init) { - var lhs = init[0] == "var" ? as("name", init[1][0]) : init; - next(); - var obj = expression(); - expect(")"); - return as("for-in", init, lhs, obj, in_loop(statement)); - }; - - var function_ = embed_tokens ? function() { - var start = prev(); - var ast = $function_.apply(this, arguments); - ast[0] = add_tokens(ast[0], start, prev()); - return ast; - } : $function_; - - function $function_(in_statement) { - var name = is("name") ? prog1(S.token.value, next) : null; - if (in_statement && !name) - unexpected(); - expect("("); - return as(in_statement ? "defun" : "function", - name, - // arguments - (function(first, a){ - while (!is("punc", ")")) { - if (first) first = false; else expect(","); - if (!is("name")) unexpected(); - a.push(S.token.value); - next(); - } - next(); - return a; - })(true, []), - // body - (function(){ - ++S.in_function; - var loop = S.in_loop; - S.in_loop = 0; - var a = block_(); - --S.in_function; - S.in_loop = loop; - return a; - })()); - }; - - function if_() { - var cond = parenthesised(), body = statement(), belse; - if (is("keyword", "else")) { - next(); - belse = statement(); - } - return as("if", cond, body, belse); - }; - - function block_() { - expect("{"); - var a = []; - while (!is("punc", "}")) { - if (is("eof")) unexpected(); - a.push(statement()); - } - next(); - return a; - }; - - var switch_block_ = curry(in_loop, function(){ - expect("{"); - var a = [], cur = null; - while (!is("punc", "}")) { - if (is("eof")) unexpected(); - if (is("keyword", "case")) { - next(); - cur = []; - a.push([ expression(), cur ]); - expect(":"); - } - else if (is("keyword", "default")) { - next(); - expect(":"); - cur = []; - a.push([ null, cur ]); - } - else { - if (!cur) unexpected(); - cur.push(statement()); - } - } - next(); - return a; - }); - - function try_() { - var body = block_(), bcatch, bfinally; - if (is("keyword", "catch")) { - next(); - expect("("); - if (!is("name")) - croak("Name expected"); - var name = S.token.value; - next(); - expect(")"); - bcatch = [ name, block_() ]; - } - if (is("keyword", "finally")) { - next(); - bfinally = block_(); - } - if (!bcatch && !bfinally) - croak("Missing catch/finally blocks"); - return as("try", body, bcatch, bfinally); - }; - - function vardefs(no_in) { - var a = []; - for (;;) { - if (!is("name")) - unexpected(); - var name = S.token.value; - next(); - if (is("operator", "=")) { - next(); - a.push([ name, expression(false, no_in) ]); - } else { - a.push([ name ]); - } - if (!is("punc", ",")) - break; - next(); - } - return a; - }; - - function var_(no_in) { - return as("var", vardefs(no_in)); - }; - - function const_() { - return as("const", vardefs()); - }; - - function new_() { - var newexp = expr_atom(false), args; - if (is("punc", "(")) { - next(); - args = expr_list(")"); - } else { - args = []; - } - return subscripts(as("new", newexp, args), true); - }; - - function expr_atom(allow_calls) { - if (is("operator", "new")) { - next(); - return new_(); - } - if (is("operator") && HOP(UNARY_PREFIX, S.token.value)) { - return make_unary("unary-prefix", - prog1(S.token.value, next), - expr_atom(allow_calls)); - } - if (is("punc")) { - switch (S.token.value) { - case "(": - next(); - return subscripts(prog1(expression, curry(expect, ")")), allow_calls); - case "[": - next(); - return subscripts(array_(), allow_calls); - case "{": - next(); - return subscripts(object_(), allow_calls); - } - unexpected(); - } - if (is("keyword", "function")) { - next(); - return subscripts(function_(false), allow_calls); - } - if (HOP(ATOMIC_START_TOKEN, S.token.type)) { - var atom = S.token.type == "regexp" - ? as("regexp", S.token.value[0], S.token.value[1]) - : as(S.token.type, S.token.value); - return subscripts(prog1(atom, next), allow_calls); - } - unexpected(); - }; - - function expr_list(closing, allow_trailing_comma, allow_empty) { - var first = true, a = []; - while (!is("punc", closing)) { - if (first) first = false; else expect(","); - if (allow_trailing_comma && is("punc", closing)) break; - if (is("punc", ",") && allow_empty) { - a.push([ "atom", "undefined" ]); - } else { - a.push(expression(false)); - } - } - next(); - return a; - }; - - function array_() { - return as("array", expr_list("]", !exigent_mode, true)); - }; - - function object_() { - var first = true, a = []; - while (!is("punc", "}")) { - if (first) first = false; else expect(","); - if (!exigent_mode && is("punc", "}")) - // allow trailing comma - break; - var type = S.token.type; - var name = as_property_name(); - if (type == "name" && (name == "get" || name == "set") && !is("punc", ":")) { - a.push([ as_name(), function_(false), name ]); - } else { - expect(":"); - a.push([ name, expression(false) ]); - } - } - next(); - return as("object", a); - }; - - function as_property_name() { - switch (S.token.type) { - case "num": - case "string": - return prog1(S.token.value, next); - } - return as_name(); - }; - - function as_name() { - switch (S.token.type) { - case "name": - case "operator": - case "keyword": - case "atom": - return prog1(S.token.value, next); - default: - unexpected(); - } - }; - - function subscripts(expr, allow_calls) { - if (is("punc", ".")) { - next(); - return subscripts(as("dot", expr, as_name()), allow_calls); - } - if (is("punc", "[")) { - next(); - return subscripts(as("sub", expr, prog1(expression, curry(expect, "]"))), allow_calls); - } - if (allow_calls && is("punc", "(")) { - next(); - return subscripts(as("call", expr, expr_list(")")), true); - } - if (allow_calls && is("operator") && HOP(UNARY_POSTFIX, S.token.value)) { - return prog1(curry(make_unary, "unary-postfix", S.token.value, expr), - next); - } - return expr; - }; - - function make_unary(tag, op, expr) { - if ((op == "++" || op == "--") && !is_assignable(expr)) - croak("Invalid use of " + op + " operator"); - return as(tag, op, expr); - }; - - function expr_op(left, min_prec, no_in) { - var op = is("operator") ? S.token.value : null; - if (op && op == "in" && no_in) op = null; - var prec = op != null ? PRECEDENCE[op] : null; - if (prec != null && prec > min_prec) { - next(); - var right = expr_op(expr_atom(true), prec, no_in); - return expr_op(as("binary", op, left, right), min_prec, no_in); - } - return left; - }; - - function expr_ops(no_in) { - return expr_op(expr_atom(true), 0, no_in); - }; - - function maybe_conditional(no_in) { - var expr = expr_ops(no_in); - if (is("operator", "?")) { - next(); - var yes = expression(false); - expect(":"); - return as("conditional", expr, yes, expression(false, no_in)); - } - return expr; - }; - - function is_assignable(expr) { - if (!exigent_mode) return true; - switch (expr[0]) { - case "dot": - case "sub": - case "new": - case "call": - return true; - case "name": - return expr[1] != "this"; - } - }; - - function maybe_assign(no_in) { - var left = maybe_conditional(no_in), val = S.token.value; - if (is("operator") && HOP(ASSIGNMENT, val)) { - if (is_assignable(left)) { - next(); - return as("assign", ASSIGNMENT[val], left, maybe_assign(no_in)); - } - croak("Invalid assignment"); - } - return left; - }; - - function expression(commas, no_in) { - if (arguments.length == 0) - commas = true; - var expr = maybe_assign(no_in); - if (commas && is("punc", ",")) { - next(); - return as("seq", expr, expression(true, no_in)); - } - return expr; - }; - - function in_loop(cont) { - try { - ++S.in_loop; - return cont(); - } finally { - --S.in_loop; - } - }; - - return as("toplevel", (function(a){ - while (!is("eof")) - a.push(statement()); - return a; - })([])); - -}; - -/* -----[ Utilities ]----- */ - -function curry(f) { - var args = slice(arguments, 1); - return function() { return f.apply(this, args.concat(slice(arguments))); }; -}; - -function prog1(ret) { - if (ret instanceof Function) - ret = ret(); - for (var i = 1, n = arguments.length; --n > 0; ++i) - arguments[i](); - return ret; -}; - -function array_to_hash(a) { - var ret = {}; - for (var i = 0; i < a.length; ++i) - ret[a[i]] = true; - return ret; -}; - -function slice(a, start) { - return Array.prototype.slice.call(a, start == null ? 0 : start); -}; - -function characters(str) { - return str.split(""); -}; - -function member(name, array) { - for (var i = array.length; --i >= 0;) - if (array[i] === name) - return true; - return false; -}; - -function HOP(obj, prop) { - return Object.prototype.hasOwnProperty.call(obj, prop); -}; - -var warn = function() {}; - -/* -----[ Exports ]----- */ - -var init = function (root) { - if (root.modules["parser"]) { - return; - } - - root.parse = parse; - - root.modules["parser"] = true; -} - -var isCommonJS = (typeof require !== "undefined" && typeof module !== "undefined" && module.exports); -var isAmd = (typeof define !== "undefined" && define.amd); - -if (isCommonJS) { - module.exports.init = init; -} else if (isAmd) { - define("jscex-parser", function () { - return { init: init }; - }); -} else { - if (typeof Jscex === "undefined") { - throw new Error('Missing root object, please load "jscex" module first.'); - } - - init(Jscex); -} - -/* -scope.tokenizer = tokenizer; -scope.parse = parse; -scope.slice = slice; -scope.curry = curry; -scope.member = member; -scope.array_to_hash = array_to_hash; -scope.PRECEDENCE = PRECEDENCE; -scope.KEYWORDS_ATOM = KEYWORDS_ATOM; -scope.RESERVED_WORDS = RESERVED_WORDS; -scope.KEYWORDS = KEYWORDS; -scope.ATOMIC_START_TOKEN = ATOMIC_START_TOKEN; -scope.OPERATORS = OPERATORS; -scope.is_alphanumeric_char = is_alphanumeric_char; -scope.set_logger = function (logger) { - warn = logger; -}; -*/ - -})(); \ No newline at end of file diff --git a/Love_files/jscex.min.js b/Love_files/jscex.min.js deleted file mode 100644 index af36d1e861196f3d7848af721c9d99fc63828b1a..0000000000000000000000000000000000000000 --- a/Love_files/jscex.min.js +++ /dev/null @@ -1,2 +0,0 @@ -(function(){var b={DEBUG:1,INFO:2,WARN:3,ERROR:4},d=function(){this.level=b.WARN};d.prototype={log:function(a){try{console.log(a)}catch(b){}},debug:function(a){this.level<=b.DEBUG&&this.log(a)},info:function(a){this.level<=b.INFO&&this.log(a)},warn:function(a){this.level<=b.WARN&&this.log(a)},error:function(a){this.level<=b.ERROR&&this.log(a)}};var e=function(a){var b=[],c;for(c in a)b.push(c);return b},c=function(a){a._forInKeys=e;a.Logging={Logger:d,Level:b};a.logger=new d;a.modules={};a.binders= -{};a.builders={}},f=typeof define==="function"&&!define.amd,g=typeof require==="function"&&typeof define==="function"&&define.amd;typeof require==="function"&&typeof module!=="undefined"&&module.exports?c(module.exports):f?define("jscex",function(a,b,d){c(d.exports)}):g?define("jscex",function(){var a={};c(a);return a}):(typeof Jscex=="undefined"&&(Jscex={}),c(Jscex))})(); diff --git a/Love_files/love.js b/Love_files/love.js deleted file mode 100644 index fce31fbb39b2b9d95928cdd5675053bb8183e69d..0000000000000000000000000000000000000000 --- a/Love_files/love.js +++ /dev/null @@ -1,533 +0,0 @@ -(function(window){ - - function random(min, max) { - return min + Math.floor(Math.random() * (max - min + 1)); - } - - function bezier(cp, t) { - var p1 = cp[0].mul((1 - t) * (1 - t)); - var p2 = cp[1].mul(2 * t * (1 - t)); - var p3 = cp[2].mul(t * t); - return p1.add(p2).add(p3); - } - - function inheart(x, y, r) { - // x^2+(y-(x^2)^(1/3))^2 = 1 - // http://www.wolframalpha.com/input/?i=x%5E2%2B%28y-%28x%5E2%29%5E%281%2F3%29%29%5E2+%3D+1 - var z = ((x / r) * (x / r) + (y / r) * (y / r) - 1) * ((x / r) * (x / r) + (y / r) * (y / r) - 1) * ((x / r) * (x / r) + (y / r) * (y / r) - 1) - (x / r) * (x / r) * (y / r) * (y / r) * (y / r); - return z < 0; - } - - Point = function(x, y) { - this.x = x || 0; - this.y = y || 0; - } - Point.prototype = { - clone: function() { - return new Point(this.x, this.y); - }, - add: function(o) { - p = this.clone(); - p.x += o.x; - p.y += o.y; - return p; - }, - sub: function(o) { - p = this.clone(); - p.x -= o.x; - p.y -= o.y; - return p; - }, - div: function(n) { - p = this.clone(); - p.x /= n; - p.y /= n; - return p; - }, - mul: function(n) { - p = this.clone(); - p.x *= n; - p.y *= n; - return p; - } - } - - Heart = function() { - // x = 16 sin^3 t - // y = 13 cos t - 5 cos 2t - 2 cos 3t - cos 4t - // http://www.wolframalpha.com/input/?i=x+%3D+16+sin%5E3+t%2C+y+%3D+(13+cos+t+-+5+cos+2t+-+2+cos+3t+-+cos+4t) - var points = [], x, y, t; - for (var i = 10; i < 30; i += 0.2) { - t = i / Math.PI; - x = 16 * Math.pow(Math.sin(t), 3); - y = 13 * Math.cos(t) - 5 * Math.cos(2 * t) - 2 * Math.cos(3 * t) - Math.cos(4 * t); - points.push(new Point(x, y)); - } - this.points = points; - this.length = points.length; - } - Heart.prototype = { - get: function(i, scale) { - return this.points[i].mul(scale || 1); - } - } - - Seed = function(tree, point, scale, color) { - this.tree = tree; - - var scale = scale || 1 - var color = color || '#FF0000'; - - this.heart = { - point : point, - scale : scale, - color : color, - figure : new Heart(), - } - - this.cirle = { - point : point, - scale : scale, - color : color, - radius : 5, - } - } - Seed.prototype = { - draw: function() { - this.drawHeart(); - this.drawText(); - }, - addPosition: function(x, y) { - this.cirle.point = this.cirle.point.add(new Point(x, y)); - }, - canMove: function() { - return this.cirle.point.y < (this.tree.height + 20); - }, - move: function(x, y) { - this.clear(); - this.drawCirle(); - this.addPosition(x, y); - }, - canScale: function() { - return this.heart.scale > 0.2; - }, - setHeartScale: function(scale) { - this.heart.scale *= scale; - }, - scale: function(scale) { - this.clear(); - this.drawCirle(); - this.drawHeart(); - this.setHeartScale(scale); - }, - drawHeart: function() { - var ctx = this.tree.ctx, heart = this.heart; - var point = heart.point, color = heart.color, - scale = heart.scale; - ctx.save(); - ctx.fillStyle = color; - ctx.translate(point.x, point.y); - ctx.beginPath(); - ctx.moveTo(0, 0); - for (var i = 0; i < heart.figure.length; i++) { - var p = heart.figure.get(i, scale); - ctx.lineTo(p.x, -p.y); - } - ctx.closePath(); - ctx.fill(); - ctx.restore(); - }, - drawCirle: function() { - var ctx = this.tree.ctx, cirle = this.cirle; - var point = cirle.point, color = cirle.color, - scale = cirle.scale, radius = cirle.radius; - ctx.save(); - ctx.fillStyle = color; - ctx.translate(point.x, point.y); - ctx.scale(scale, scale); - ctx.beginPath(); - ctx.moveTo(0, 0); - ctx.arc(0, 0, radius, 0, 2 * Math.PI); - ctx.closePath(); - ctx.fill(); - ctx.restore(); - }, - drawText: function() { - var ctx = this.tree.ctx, heart = this.heart; - var point = heart.point, color = heart.color, - scale = heart.scale; - ctx.save(); - ctx.strokeStyle = color; - ctx.fillStyle = color; - ctx.translate(point.x, point.y); - ctx.scale(scale, scale); - ctx.moveTo(0, 0); - ctx.lineTo(15, 15); - ctx.lineTo(60, 15); - ctx.stroke(); - - ctx.moveTo(0, 0); - ctx.scale(0.75, 0.75); - ctx.font = "12px 微软雅黑,Verdana"; // 字号肿么没有用? (ˉ(∞)ˉ) - ctx.fillText("click here", 23, 16); - ctx.restore(); - }, - clear: function() { - var ctx = this.tree.ctx, cirle = this.cirle; - var point = cirle.point, scale = cirle.scale, radius = 26; - var w = h = (radius * scale); - ctx.clearRect(point.x - w, point.y - h, 4 * w, 4 * h); - }, - hover: function(x, y) { - var ctx = this.tree.ctx; - var pixel = ctx.getImageData(x, y, 1, 1); - return pixel.data[3] == 255 - } - } - - Footer = function(tree, width, height, speed) { - this.tree = tree; - this.point = new Point(tree.seed.heart.point.x, tree.height - height / 2); - this.width = width; - this.height = height; - this.speed = speed || 2; - this.length = 0; - } - Footer.prototype = { - draw: function() { - var ctx = this.tree.ctx, point = this.point; - var len = this.length / 2; - - ctx.save(); - ctx.strokeStyle = 'rgb(35, 31, 32)'; - ctx.lineWidth = this.height; - ctx.lineCap = 'round'; - ctx.lineJoin = 'round'; - ctx.translate(point.x, point.y); - ctx.beginPath(); - ctx.moveTo(0, 0); - ctx.lineTo(len, 0); - ctx.lineTo(-len, 0); - ctx.stroke(); - ctx.restore(); - - if (this.length < this.width) { - this.length += this.speed; - } - } - } - - Tree = function(canvas, width, height, opt) { - this.canvas = canvas; - this.ctx = canvas.getContext('2d'); - this.width = width; - this.height = height; - this.opt = opt || {}; - - this.record = {}; - - this.initSeed(); - this.initFooter(); - this.initBranch(); - this.initBloom(); - } - Tree.prototype = { - initSeed: function() { - var seed = this.opt.seed || {}; - var x = seed.x || this.width / 2; - var y = seed.y || this.height / 2; - var point = new Point(x, y); - var color = seed.color || '#FF0000'; - var scale = seed.scale || 1; - - this.seed = new Seed(this, point, scale, color); - }, - - initFooter: function() { - var footer = this.opt.footer || {}; - var width = footer.width || this.width; - var height = footer.height || 5; - var speed = footer.speed || 2; - this.footer = new Footer(this, width, height, speed); - }, - - initBranch: function() { - var branchs = this.opt.branch || [] - this.branchs = []; - this.addBranchs(branchs); - }, - - initBloom: function() { - var bloom = this.opt.bloom || {}; - var cache = [], - num = bloom.num || 500, - width = bloom.width || this.width, - height = bloom.height || this.height, - figure = this.seed.heart.figure; - var r = 240, x, y; - for (var i = 0; i < num; i++) { - cache.push(this.createBloom(width, height, r, figure)); - } - this.blooms = []; - this.bloomsCache = cache; - }, - - toDataURL: function(type) { - return this.canvas.toDataURL(type); - }, - - draw: function(k) { - var s = this, ctx = s.ctx; - var rec = s.record[k]; - if (!rec) { - return ; - } - var point = rec.point, - image = rec.image; - - ctx.save(); - ctx.putImageData(image, point.x, point.y); - ctx.restore(); - }, - - addBranch: function(branch) { - this.branchs.push(branch); - }, - - addBranchs: function(branchs){ - var s = this, b, p1, p2, p3, r, l, c; - for (var i = 0; i < branchs.length; i++) { - b = branchs[i]; - p1 = new Point(b[0], b[1]); - p2 = new Point(b[2], b[3]); - p3 = new Point(b[4], b[5]); - r = b[6]; - l = b[7]; - c = b[8] - s.addBranch(new Branch(s, p1, p2, p3, r, l, c)); - } - }, - - removeBranch: function(branch) { - var branchs = this.branchs; - for (var i = 0; i < branchs.length; i++) { - if (branchs[i] === branch) { - branchs.splice(i, 1); - } - } - }, - - canGrow: function() { - return !!this.branchs.length; - }, - grow: function() { - var branchs = this.branchs; - for (var i = 0; i < branchs.length; i++) { - var branch = branchs[i]; - if (branch) { - branch.grow(); - } - } - }, - - addBloom: function (bloom) { - this.blooms.push(bloom); - }, - - removeBloom: function (bloom) { - var blooms = this.blooms; - for (var i = 0; i < blooms.length; i++) { - if (blooms[i] === bloom) { - blooms.splice(i, 1); - } - } - }, - - createBloom: function(width, height, radius, figure, color, alpha, angle, scale, place, speed) { - var x, y; - while (true) { - x = random(20, width - 20); - y = random(20, height - 20); - if (inheart(x - width / 2, height - (height - 40) / 2 - y, radius)) { - return new Bloom(this, new Point(x, y), figure, color, alpha, angle, scale, place, speed); - } - } - }, - - canFlower: function() { - return !!this.blooms.length; - }, - flower: function(num) { - var s = this, blooms = s.bloomsCache.splice(0, num); - for (var i = 0; i < blooms.length; i++) { - s.addBloom(blooms[i]); - } - blooms = s.blooms; - for (var j = 0; j < blooms.length; j++) { - blooms[j].flower(); - } - }, - - snapshot: function(k, x, y, width, height) { - var ctx = this.ctx; - var image = ctx.getImageData(x, y, width, height); - this.record[k] = { - image: image, - point: new Point(x, y), - width: width, - height: height - } - }, - setSpeed: function(k, speed) { - this.record[k || "move"].speed = speed; - }, - move: function(k, x, y) { - var s = this, ctx = s.ctx; - var rec = s.record[k || "move"]; - var point = rec.point, - image = rec.image, - speed = rec.speed || 10, - width = rec.width, - height = rec.height; - - i = point.x + speed < x ? point.x + speed : x; - j = point.y + speed < y ? point.y + speed : y; - - ctx.save(); - ctx.clearRect(point.x, point.y, width, height); - ctx.putImageData(image, i, j); - ctx.restore(); - - rec.point = new Point(i, j); - rec.speed = speed * 0.95; - - if (rec.speed < 2) { - rec.speed = 2; - } - return i < x || j < y; - }, - - jump: function() { - var s = this, blooms = s.blooms; - if (blooms.length) { - for (var i = 0; i < blooms.length; i++) { - blooms[i].jump(); - } - } - if ((blooms.length && blooms.length < 3) || !blooms.length) { - var bloom = this.opt.bloom || {}, - width = bloom.width || this.width, - height = bloom.height || this.height, - figure = this.seed.heart.figure; - var r = 240, x, y; - for (var i = 0; i < random(1,2); i++) { - blooms.push(this.createBloom(width / 2 + width, height, r, figure, null, 1, null, 1, new Point(random(-100,600), 720), random(200,300))); - } - } - } - } - - Branch = function(tree, point1, point2, point3, radius, length, branchs) { - this.tree = tree; - this.point1 = point1; - this.point2 = point2; - this.point3 = point3; - this.radius = radius; - this.length = length || 100; - this.len = 0; - this.t = 1 / (this.length - 1); - this.branchs = branchs || []; - } - - Branch.prototype = { - grow: function() { - var s = this, p; - if (s.len <= s.length) { - p = bezier([s.point1, s.point2, s.point3], s.len * s.t); - s.draw(p); - s.len += 1; - s.radius *= 0.97; - } else { - s.tree.removeBranch(s); - s.tree.addBranchs(s.branchs); - } - }, - draw: function(p) { - var s = this; - var ctx = s.tree.ctx; - ctx.save(); - ctx.beginPath(); - ctx.fillStyle = 'rgb(35, 31, 32)'; - ctx.shadowColor = 'rgb(35, 31, 32)'; - ctx.shadowBlur = 2; - ctx.moveTo(p.x, p.y); - ctx.arc(p.x, p.y, s.radius, 0, 2 * Math.PI); - ctx.closePath(); - ctx.fill(); - ctx.restore(); - } - } - - Bloom = function(tree, point, figure, color, alpha, angle, scale, place, speed) { - this.tree = tree; - this.point = point; - this.color = color || 'rgb(255,' + random(0, 255) + ',' + random(0, 255) + ')'; - this.alpha = alpha || random(0.3, 1); - this.angle = angle || random(0, 360); - this.scale = scale || 0.1; - this.place = place; - this.speed = speed; - - this.figure = figure; - } - Bloom.prototype = { - setFigure: function(figure) { - this.figure = figure; - }, - flower: function() { - var s = this; - s.draw(); - s.scale += 0.1; - if (s.scale > 1) { - s.tree.removeBloom(s); - } - }, - draw: function() { - var s = this, ctx = s.tree.ctx, figure = s.figure; - - ctx.save(); - ctx.fillStyle = s.color; - ctx.globalAlpha = s.alpha; - ctx.translate(s.point.x, s.point.y); - ctx.scale(s.scale, s.scale); - ctx.rotate(s.angle); - ctx.beginPath(); - ctx.moveTo(0, 0); - for (var i = 0; i < figure.length; i++) { - var p = figure.get(i); - ctx.lineTo(p.x, -p.y); - } - ctx.closePath(); - ctx.fill(); - ctx.restore(); - }, - jump: function() { - var s = this, height = s.tree.height; - - if (s.point.x < -20 || s.point.y > height + 20) { - s.tree.removeBloom(s); - } else { - s.draw(); - s.point = s.place.sub(s.point).div(s.speed).add(s.point); - s.angle += 0.05; - s.speed -= 1; - } - } - } - - window.random = random; - window.bezier = bezier; - window.Point = Point; - window.Tree = Tree; - -})(window); diff --git a/SiteTimeline/css/history.css b/SiteTimeline/css/history.css deleted file mode 100644 index d09f42a512223df0f1280a4bb6e30f17376bfe54..0000000000000000000000000000000000000000 --- a/SiteTimeline/css/history.css +++ /dev/null @@ -1,51 +0,0 @@ -body, p, form, input, textarea, ul, li, h1, h2, h3, h4, dl, dt, dd, table, td, th { margin:0; padding:0; } -table, td, th { border-collapse:collapse; } -ul, li { list-style:none; } -h1, h2, h3, h4 { font-size:100%; } -img, input, textarea { vertical-align: middle; border:0; } -a { text-decoration:none; color:#FF69B4; outline:none; } -a:hover { text-decoration:underline; } -body { font:17px/1.5 "΢���ź�","tahoma", Verdana, Geneva, sans-serif; color:#666; position:relative;} -.clearfix:after{content:" "; display:block; height:0; clear:both; visibility:hidden;} -.clearfix{zoom:1;} -.fl { float:left;} -.fr { float:right;} -/*.public*/ -.main {margin:0 auto; width:980px;} -a { blr:expression(this.onFocus=this.blur()) } /*��� IE*/ -a { outline:none; } /*���firefox��*/ - -.main { padding:45px 0; min-height:720px; } -/*history*/ -.history { background:url(../images/line04.gif) repeat-y 187px 0; overflow:hidden; position:relative;} -.history-date { overflow:hidden;} -.history-date h2 { background:url(../images/icon06.gif) #fff no-repeat 158px 0; height:59px; font-size:25px; font-family:΢���ź�; font-weight:normal; padding-left:45px; margin-bottom:74px; } -.history-date h2.first { position:absolute; left:0; top:0; width:935px; z-index:99;} -.history-date h2 a { color:#00bbff; display:inline-block; *display:inline; zoom:1; background:url(../images/icon08.gif) no-repeat right 50%; padding-right:17px; margin:21px 97px 0 0;} -.history-date h2 a:hover { text-decoration:none;} -.history-date h2 img { vertical-align:-5px;} -.history-date h2.date02 { background:none;} -.history-date ul {} -.history-date ul li { background:url(../images/icon07.gif) no-repeat 180px 0; padding-bottom:50px; zoom:1; } -.history-date ul li.last { padding-bottom:0;} -.history-date ul li:after{content:" "; display:block; height:0; clear:both; visibility:hidden;} -.history-date ul li h3 { float:left; width:168px; text-align:right; padding-right:19px;color:#c3c3c3; font:normal 18px/16px Arial;} -.history-date ul li h3 span { display:block; color:#d0d0d0; font-size:12px;} -.history-date ul li dl { float:left; padding-left:41px; margin-top:-5px; font-family:΢���ź�;} -.history-date ul li dl dt { font:20px/22px ΢���ź�; color:#737373; } -.history-date ul li dl dt span { display:block; color:#787878; font-size:12px;} -.history-date ul li.pink h3 { color:#FF69B4;} -.history-date ul li.pink h3 span { color:#FF69B4; } -.history-date ul li.pink dl { margin-top:-8px;} -.history-date ul li.pink dl dt { font-size:30px; line-height:28px;} -.history-date ul li.pink dl dt a { /*background:url(../images/icon09.gif) no-repeat 0 0; width:19px; height:16px;*/ display:inline-block; *display:inline; zoom:1; overflow:hidden; vertical-align: middle; margin-left:12px;} -.history-date ul li.pink dl dd { padding-top:20px; display:none;} -.history-date ul li.pink dl dd img { float:left;} -.history-date ul li.pink dl dd p { overflow:hidden; zoom:1; line-height:21px; color:#787878;} - -.history-date h2.first .more-history {font-size: 16px; background: transparent; margin-left: 30px;} -.history-date h2.first .more-history:hover {text-decoration: underline;} - -*body .history-date ul li dl dt {_font-size:12px !important; _font-weight:bold;} -*body .history-date ul li dl dt span {_font-weight:normal !important;} -*body .history-date ul li.pink dl dt a {_background:transparent !important; *background:transparent !important;*font-size:12px !important; _font-weight:normal !important;} \ No newline at end of file diff --git a/SiteTimeline/images/arrow.png b/SiteTimeline/images/arrow.png deleted file mode 100644 index 590c4910f7fd0c42dadf5cff7251fa0e1c56ee09..0000000000000000000000000000000000000000 Binary files a/SiteTimeline/images/arrow.png and /dev/null differ diff --git a/SiteTimeline/images/icon06.gif b/SiteTimeline/images/icon06.gif deleted file mode 100644 index 21d47b626029fd74075172d75f3bcf593f5d0e14..0000000000000000000000000000000000000000 Binary files a/SiteTimeline/images/icon06.gif and /dev/null differ diff --git a/SiteTimeline/images/icon07.gif b/SiteTimeline/images/icon07.gif deleted file mode 100644 index 32441f9dbf80046f02a731cded44dd150643b380..0000000000000000000000000000000000000000 Binary files a/SiteTimeline/images/icon07.gif and /dev/null differ diff --git a/SiteTimeline/images/icon08.gif b/SiteTimeline/images/icon08.gif deleted file mode 100644 index b732b6a9a51f3c04b2d2ac59a7429534f206019a..0000000000000000000000000000000000000000 Binary files a/SiteTimeline/images/icon08.gif and /dev/null differ diff --git a/SiteTimeline/images/icon09.gif b/SiteTimeline/images/icon09.gif deleted file mode 100644 index 75e9eab2ff63859c9d95929dbd29b01be68b4c15..0000000000000000000000000000000000000000 Binary files a/SiteTimeline/images/icon09.gif and /dev/null differ diff --git a/SiteTimeline/images/line04.gif b/SiteTimeline/images/line04.gif deleted file mode 100644 index 7e6c0559609cf76d9e15ccda321536c26abe2f8f..0000000000000000000000000000000000000000 Binary files a/SiteTimeline/images/line04.gif and /dev/null differ diff --git a/SiteTimeline/index.html b/SiteTimeline/index.html index e7de9e73c468acf672cb31a51e23a572a07da544..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 --- a/SiteTimeline/index.html +++ b/SiteTimeline/index.html @@ -1,718 +0,0 @@ - - - - - - - SiteTimeline | LOVE109❤️纪实小屋 - - - - - - - - - - - - - - - - - -
    -
    - -
    -
    - - -
    -
    -
    - - - -
    -
    -

    LOVE109❤️纪实小屋 - 记录爱情❤️记录生活

    -
    -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    -
    -
    - - - -
    -
    - -
    - -
    -
    - -
    -
    -

    - 小屋大事记

    -
    -
    - -
    -
    - - -
    -
    -
    -
      -

      2019年

      -
    • -

      01.24 - 15:372019

      -
      ICP备案审核通过备案/许可证编号为:鄂ICP备19003281号
      -
    • -
    • -

      01.23 - 23:332019

      -
      网站初定型,相关优化完毕确定小屋名称;选定站点头像、图标;修改主题源代码;魔改主题
      -
    • -
    • -

      01.19 - 14:212019

      -
      网站申请ICP备案01.19备案初审通过;01.22收到幕布拍照并上传资料;01.23提交管局;01.24备案通过,速度超乎我想象
      -
    • -
    • -

      01.18 - 01:162019

      -
      选定Sakura主题原作者:Mashiro,由hojun大佬将主题从WordPress迁移到HEXO并再次开发
      -
    • -
    • -

      01.17 - 20:352019

      -
      使用Github Pages和Hexo开始搭建小屋
      -
    • -
    • -

      01.17 - 17:242019

      -
      确定并在阿里云注册域名为love109.cn先后考虑过tp1314\tanpu520\love0927\love874755等域名
      -
    • -
    • -

      01.16 - 23:382019

      -
      萌发建立小屋的念头当即与对象商量,正式确定建立小屋
      -
    • -
    -
    -
    -
    - - - -

    原主题 Akina Fuzzz 开发, Louie 二次修改为 Siren Mashiro 三次修改为 Sakura

    -

    hojun 将主题从WordPress迁移到Hexo并再次开发, LOVE109❤️纪实小屋 使用时有所改动

    -

    感谢开发者们的辛苦付出

    - - - - - -
    - -
    -
    -
    -
    - - -
    -
    - -
    -

    记录爱情 记录生活

    -
    - -
    - - - - - - - - -
    -
    -
    - -
    - - - © 2019 LOVE109纪实小屋
    - 鄂ICP备19003281号
    - - 正在载入... - - -
    - - - - - - - - - -
    -
    -
    - - - - - - -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    - -
    -

    LOVE109❤️ 纪实小屋

    -

    - - - - - - - - - - - - - -

    - -

    - © 2019 LOVE109❤️纪实小屋

    -
    - - - - - - - - - - - - - - - - - -
    - - - \ No newline at end of file diff --git a/SiteTimeline/js/jquery.js b/SiteTimeline/js/jquery.js deleted file mode 100644 index 7c243080233761859937d52195b670602731a379..0000000000000000000000000000000000000000 --- a/SiteTimeline/js/jquery.js +++ /dev/null @@ -1,154 +0,0 @@ -/*! - * jQuery JavaScript Library v1.4.2 - * http://jquery.com/ - * - * Copyright 2010, John Resig - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * Copyright 2010, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * - * Date: Sat Feb 13 22:33:48 2010 -0500 - */ -(function(A,w){function ma(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(ma,1);return}c.ready()}}function Qa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function X(a,b,d,f,e,j){var i=a.length;if(typeof b==="object"){for(var o in b)X(a,o,b[o],f,e,d);return a}if(d!==w){f=!j&&f&&c.isFunction(d);for(o=0;o)[^>]*$|^#([\w-]+)$/,Ua=/^.[^:#\[\.,]*$/,Va=/\S/, -Wa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Xa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,P=navigator.userAgent,xa=false,Q=[],L,$=Object.prototype.toString,aa=Object.prototype.hasOwnProperty,ba=Array.prototype.push,R=Array.prototype.slice,ya=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!b){this.context=s;this[0]=s.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=Ta.exec(a))&& -(d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:s;if(a=Xa.exec(a))if(c.isPlainObject(b)){a=[s.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1])];else{a=sa([d[1]],[f]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}return c.merge(this,a)}else{if(b=s.getElementById(d[2])){if(b.id!==d[2])return T.find(a);this.length=1;this[0]=b}this.context=s;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=s;a=s.getElementsByTagName(a);return c.merge(this, -a)}else return!b||b.jquery?(b||T).find(a):c(b).find(a);else if(c.isFunction(a))return T.ready(a);if(a.selector!==w){this.selector=a.selector;this.context=a.context}return c.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return R.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){var f=c();c.isArray(a)?ba.apply(f,a):c.merge(f,a);f.prevObject=this;f.context=this.context;if(b=== -"find")f.selector=this.selector+(this.selector?" ":"")+d;else if(b)f.selector=this.selector+"."+b+"("+d+")";return f},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else Q&&Q.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(R.apply(this,arguments),"slice",R.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this, -function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:ba,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,j,i,o;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b
    a"; -var e=d.getElementsByTagName("*"),j=d.getElementsByTagName("a")[0];if(!(!e||!e.length||!j)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(j.getAttribute("style")),hrefNormalized:j.getAttribute("href")==="/a",opacity:/^0.55$/.test(j.style.opacity),cssFloat:!!j.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:s.createElement("select").appendChild(s.createElement("option")).selected, -parentNode:d.removeChild(d.appendChild(s.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(s.createTextNode("window."+f+"=1;"))}catch(i){}a.insertBefore(b,a.firstChild);if(A[f]){c.support.scriptEval=true;delete A[f]}try{delete b.test}catch(o){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function k(){c.support.noCloneEvent= -false;d.detachEvent("onclick",k)});d.cloneNode(true).fireEvent("onclick")}d=s.createElement("div");d.innerHTML="";a=s.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var k=s.createElement("div");k.style.width=k.style.paddingLeft="1px";s.body.appendChild(k);c.boxModel=c.support.boxModel=k.offsetWidth===2;s.body.removeChild(k).style.display="none"});a=function(k){var n= -s.createElement("div");k="on"+k;var r=k in n;if(!r){n.setAttribute(k,"return;");r=typeof n[k]==="function"}return r};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=e=j=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var G="jQuery"+J(),Ya=0,za={};c.extend({cache:{},expando:G,noData:{embed:true,object:true, -applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var f=a[G],e=c.cache;if(!f&&typeof b==="string"&&d===w)return null;f||(f=++Ya);if(typeof b==="object"){a[G]=f;e[f]=c.extend(true,{},b)}else if(!e[f]){a[G]=f;e[f]={}}a=e[f];if(d!==w)a[b]=d;return typeof b==="string"?a[b]:a}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var d=a[G],f=c.cache,e=f[d];if(b){if(e){delete e[b];c.isEmptyObject(e)&&c.removeData(a)}}else{if(c.support.deleteExpando)delete a[c.expando]; -else a.removeAttribute&&a.removeAttribute(c.expando);delete f[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===w){var f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===w&&this.length)f=c.data(this[0],a);return f===w&&d[1]?this.data(d[0]):f}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this, -a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else f.push(d);return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b=== -w)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var Aa=/[\n\t]/g,ca=/\s+/,Za=/\r/g,$a=/href|src|style/,ab=/(button|input)/i,bb=/(button|input|object|select|textarea)/i, -cb=/^(a|area)$/i,Ba=/radio|checkbox/;c.fn.extend({attr:function(a,b){return X(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(n){var r=c(this);r.addClass(a.call(this,n,r.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ca),d=0,f=this.length;d-1)return true;return false},val:function(a){if(a===w){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,f=[],e=b.options;b=b.type==="select-one";if(d<0)return null;var j=b?d:0;for(d=b?d+1:e.length;j=0;else if(c.nodeName(this,"select")){var u=c.makeArray(r);c("option",this).each(function(){this.selected= -c.inArray(c(this).val(),u)>=0});if(!u.length)this.selectedIndex=-1}else this.value=r}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return w;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!==1||!c.isXMLDoc(a);var e=d!==w;b=f&&c.props[b]||b;if(a.nodeType===1){var j=$a.test(b);if(b in a&&f&&!j){if(e){b==="type"&&ab.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed"); -a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:bb.test(a.nodeName)||cb.test(a.nodeName)&&a.href?0:w;return a[b]}if(!c.support.style&&f&&b==="style"){if(e)a.style.cssText=""+d;return a.style.cssText}e&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&f&&j?a.getAttribute(b,2):a.getAttribute(b);return a===null?w:a}return c.style(a,b,d)}});var O=/\.(.*)$/,db=function(a){return a.replace(/[^\w\s\.\|`]/g, -function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==A&&!a.frameElement)a=A;var e,j;if(d.handler){e=d;d=e.handler}if(!d.guid)d.guid=c.guid++;if(j=c.data(a)){var i=j.events=j.events||{},o=j.handle;if(!o)j.handle=o=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(o.elem,arguments):w};o.elem=a;b=b.split(" ");for(var k,n=0,r;k=b[n++];){j=e?c.extend({},e):{handler:d,data:f};if(k.indexOf(".")>-1){r=k.split("."); -k=r.shift();j.namespace=r.slice(0).sort().join(".")}else{r=[];j.namespace=""}j.type=k;j.guid=d.guid;var u=i[k],z=c.event.special[k]||{};if(!u){u=i[k]=[];if(!z.setup||z.setup.call(a,f,r,o)===false)if(a.addEventListener)a.addEventListener(k,o,false);else a.attachEvent&&a.attachEvent("on"+k,o)}if(z.add){z.add.call(a,j);if(!j.handler.guid)j.handler.guid=d.guid}u.push(j);c.event.global[k]=true}a=null}}},global:{},remove:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){var e,j=0,i,o,k,n,r,u,z=c.data(a), -C=z&&z.events;if(z&&C){if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(e in C)c.event.remove(a,e+b)}else{for(b=b.split(" ");e=b[j++];){n=e;i=e.indexOf(".")<0;o=[];if(!i){o=e.split(".");e=o.shift();k=new RegExp("(^|\\.)"+c.map(o.slice(0).sort(),db).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(r=C[e])if(d){n=c.event.special[e]||{};for(B=f||0;B=0){a.type= -e=e.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[e]&&c.each(c.cache,function(){this.events&&this.events[e]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return w;a.result=w;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=c.data(d,"handle"))&&f.apply(d,b);f=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+e]&&d["on"+e].apply(d,b)===false)a.result=false}catch(j){}if(!a.isPropagationStopped()&& -f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){f=a.target;var i,o=c.nodeName(f,"a")&&e==="click",k=c.event.special[e]||{};if((!k._default||k._default.call(d,a)===false)&&!o&&!(f&&f.nodeName&&c.noData[f.nodeName.toLowerCase()])){try{if(f[e]){if(i=f["on"+e])f["on"+e]=null;c.event.triggered=true;f[e]()}}catch(n){}if(i)f["on"+e]=i;c.event.triggered=false}}},handle:function(a){var b,d,f,e;a=arguments[0]=c.event.fix(a||A.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive; -if(!b){d=a.type.split(".");a.type=d.shift();f=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}e=c.data(this,"events");d=e[a.type];if(e&&d){d=d.slice(0);e=0;for(var j=d.length;e-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},fa=function(a,b){var d=a.target,f,e;if(!(!da.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");e=Fa(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data", -e);if(!(f===w||e===f))if(f!=null||e){a.type="change";return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:fa,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return fa.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return fa.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a, -"_change_data",Fa(a))}},setup:function(){if(this.type==="file")return false;for(var a in ea)c.event.add(this,a+".specialChange",ea[a]);return da.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return da.test(this.nodeName)}};ea=c.event.special.change.filters}s.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this,f)}c.event.special[b]={setup:function(){this.addEventListener(a, -d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,f,e){if(typeof d==="object"){for(var j in d)this[b](j,f,d[j],e);return this}if(c.isFunction(f)){e=f;f=w}var i=b==="one"?c.proxy(e,function(k){c(this).unbind(k,i);return e.apply(this,arguments)}):e;if(d==="unload"&&b!=="one")this.one(d,f,e);else{j=0;for(var o=this.length;j0){y=t;break}}t=t[g]}m[q]=y}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, -e=0,j=Object.prototype.toString,i=false,o=true;[0,0].sort(function(){o=false;return 0});var k=function(g,h,l,m){l=l||[];var q=h=h||s;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g||typeof g!=="string")return l;for(var p=[],v,t,y,S,H=true,M=x(h),I=g;(f.exec(""),v=f.exec(I))!==null;){I=v[3];p.push(v[1]);if(v[2]){S=v[3];break}}if(p.length>1&&r.exec(g))if(p.length===2&&n.relative[p[0]])t=ga(p[0]+p[1],h);else for(t=n.relative[p[0]]?[h]:k(p.shift(),h);p.length;){g=p.shift();if(n.relative[g])g+=p.shift(); -t=ga(g,t)}else{if(!m&&p.length>1&&h.nodeType===9&&!M&&n.match.ID.test(p[0])&&!n.match.ID.test(p[p.length-1])){v=k.find(p.shift(),h,M);h=v.expr?k.filter(v.expr,v.set)[0]:v.set[0]}if(h){v=m?{expr:p.pop(),set:z(m)}:k.find(p.pop(),p.length===1&&(p[0]==="~"||p[0]==="+")&&h.parentNode?h.parentNode:h,M);t=v.expr?k.filter(v.expr,v.set):v.set;if(p.length>0)y=z(t);else H=false;for(;p.length;){var D=p.pop();v=D;if(n.relative[D])v=p.pop();else D="";if(v==null)v=h;n.relative[D](y,v,M)}}else y=[]}y||(y=t);y||k.error(D|| -g);if(j.call(y)==="[object Array]")if(H)if(h&&h.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&E(h,y[g])))l.push(t[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&l.push(t[g]);else l.push.apply(l,y);else z(y,l);if(S){k(S,q,l,m);k.uniqueSort(l)}return l};k.uniqueSort=function(g){if(B){i=o;g.sort(B);if(i)for(var h=1;h":function(g,h){var l=typeof h==="string";if(l&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,q=g.length;m=0))l||m.push(v);else if(l)h[p]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()}, -CHILD:function(g){if(g[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=h[1]+(h[2]||1)-0;g[3]=h[3]-0}g[0]=e++;return g},ATTR:function(g,h,l,m,q,p){h=g[1].replace(/\\/g,"");if(!p&&n.attrMap[h])g[1]=n.attrMap[h];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,h,l,m,q){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,h);else{g=k.filter(g[3],h,l,true^q);l||m.push.apply(m, -g);return false}else if(n.match.POS.test(g[0])||n.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,h,l){return!!k(l[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)}, -text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}}, -setFilters:{first:function(g,h){return h===0},last:function(g,h,l,m){return h===m.length-1},even:function(g,h){return h%2===0},odd:function(g,h){return h%2===1},lt:function(g,h,l){return hl[3]-0},nth:function(g,h,l){return l[3]-0===h},eq:function(g,h,l){return l[3]-0===h}},filter:{PSEUDO:function(g,h,l,m){var q=h[1],p=n.filters[q];if(p)return p(g,l,h,m);else if(q==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(h[3])>=0;else if(q==="not"){h= -h[3];l=0;for(m=h.length;l=0}},ID:function(g,h){return g.nodeType===1&&g.getAttribute("id")===h},TAG:function(g,h){return h==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===h},CLASS:function(g,h){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(g,h){var l=h[1];g=n.attrHandle[l]?n.attrHandle[l](g):g[l]!=null?g[l]:g.getAttribute(l);l=g+"";var m=h[2];h=h[4];return g==null?m==="!=":m=== -"="?l===h:m==="*="?l.indexOf(h)>=0:m==="~="?(" "+l+" ").indexOf(h)>=0:!h?l&&g!==false:m==="!="?l!==h:m==="^="?l.indexOf(h)===0:m==="$="?l.substr(l.length-h.length)===h:m==="|="?l===h||l.substr(0,h.length+1)===h+"-":false},POS:function(g,h,l,m){var q=n.setFilters[h[2]];if(q)return q(g,l,h,m)}}},r=n.match.POS;for(var u in n.match){n.match[u]=new RegExp(n.match[u].source+/(?![^\[]*\])(?![^\(]*\))/.source);n.leftMatch[u]=new RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[u].source.replace(/\\(\d+)/g,function(g, -h){return"\\"+(h-0+1)}))}var z=function(g,h){g=Array.prototype.slice.call(g,0);if(h){h.push.apply(h,g);return h}return g};try{Array.prototype.slice.call(s.documentElement.childNodes,0)}catch(C){z=function(g,h){h=h||[];if(j.call(g)==="[object Array]")Array.prototype.push.apply(h,g);else if(typeof g.length==="number")for(var l=0,m=g.length;l";var l=s.documentElement;l.insertBefore(g,l.firstChild);if(s.getElementById(h)){n.find.ID=function(m,q,p){if(typeof q.getElementById!=="undefined"&&!p)return(q=q.getElementById(m[1]))?q.id===m[1]||typeof q.getAttributeNode!=="undefined"&& -q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(h,l){l=l.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;l[m];m++)l[m].nodeType===1&&h.push(l[m]);l=h}return l};g.innerHTML=""; -if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="

    ";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}(); -(function(){var g=s.createElement("div");g.innerHTML="
    ";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,l,m){if(typeof l.getElementsByClassName!=="undefined"&&!m)return l.getElementsByClassName(h[1])};g=null}}})();var E=s.compareDocumentPosition?function(g,h){return!!(g.compareDocumentPosition(h)&16)}: -function(g,h){return g!==h&&(g.contains?g.contains(h):true)},x=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},ga=function(g,h){var l=[],m="",q;for(h=h.nodeType?[h]:h;q=n.match.PSEUDO.exec(g);){m+=q[0];g=g.replace(n.match.PSEUDO,"")}g=n.relative[g]?g+"*":g;q=0;for(var p=h.length;q=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f0)for(var j=d;j0},closest:function(a,b){if(c.isArray(a)){var d=[],f=this[0],e,j= -{},i;if(f&&a.length){e=0;for(var o=a.length;e-1:c(f).is(e)){d.push({selector:i,elem:f});delete j[i]}}f=f.parentNode}}return d}var k=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(n,r){for(;r&&r.ownerDocument&&r!==b;){if(k?k.index(r)>-1:c(r).is(a))return r;r=r.parentNode}return null})},index:function(a){if(!a||typeof a=== -"string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(qa(a[0])||qa(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode", -d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")? -a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);eb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||gb.test(f))&&fb.test(a))e=e.reverse();return this.pushStack(e,a,R.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=a[b];a&&a.nodeType!==9&&(d===w||a.nodeType!==1||!c(a).is(d));){a.nodeType=== -1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var Ja=/ jQuery\d+="(?:\d+|null)"/g,V=/^\s+/,Ka=/(<([\w:]+)[^>]*?)\/>/g,hb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,La=/<([\w:]+)/,ib=/"},F={option:[1,""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]};F.optgroup=F.option;F.tbody=F.tfoot=F.colgroup=F.caption=F.thead;F.th=F.td;if(!c.support.htmlSerialize)F._default=[1,"div
    ","
    "];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d= -c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==w)return this.empty().append((this[0]&&this[0].ownerDocument||s).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this}, -wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})}, -prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b, -this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.parentNode&&f.parentNode.removeChild(f)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild); -return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Ja,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(V,"")],f)[0]}else return this.cloneNode(true)});if(a===true){ra(this,b);ra(this.find("*"),b.find("*"))}return b},html:function(a){if(a===w)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Ja, -""):null;else if(typeof a==="string"&&!ta.test(a)&&(c.support.leadingWhitespace||!V.test(a))&&!F[(La.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ka,Ma);try{for(var b=0,d=this.length;b0||e.cacheable||this.length>1?k.cloneNode(true):k)}o.length&&c.each(o,Qa)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var f=[];d=c(d);var e=this.length===1&&this[0].parentNode;if(e&&e.nodeType===11&&e.childNodes.length===1&&d.length===1){d[b](this[0]); -return this}else{e=0;for(var j=d.length;e0?this.clone(true):this).get();c.fn[b].apply(c(d[e]),i);f=f.concat(i)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||s;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||s;for(var e=[],j=0,i;(i=a[j])!=null;j++){if(typeof i==="number")i+="";if(i){if(typeof i==="string"&&!jb.test(i))i=b.createTextNode(i);else if(typeof i==="string"){i=i.replace(Ka,Ma);var o=(La.exec(i)||["", -""])[1].toLowerCase(),k=F[o]||F._default,n=k[0],r=b.createElement("div");for(r.innerHTML=k[1]+i+k[2];n--;)r=r.lastChild;if(!c.support.tbody){n=ib.test(i);o=o==="table"&&!n?r.firstChild&&r.firstChild.childNodes:k[1]===""&&!n?r.childNodes:[];for(k=o.length-1;k>=0;--k)c.nodeName(o[k],"tbody")&&!o[k].childNodes.length&&o[k].parentNode.removeChild(o[k])}!c.support.leadingWhitespace&&V.test(i)&&r.insertBefore(b.createTextNode(V.exec(i)[0]),r.firstChild);i=r.childNodes}if(i.nodeType)e.push(i);else e= -c.merge(e,i)}}if(d)for(j=0;e[j];j++)if(f&&c.nodeName(e[j],"script")&&(!e[j].type||e[j].type.toLowerCase()==="text/javascript"))f.push(e[j].parentNode?e[j].parentNode.removeChild(e[j]):e[j]);else{e[j].nodeType===1&&e.splice.apply(e,[j+1,0].concat(c.makeArray(e[j].getElementsByTagName("script"))));d.appendChild(e[j])}return e},cleanData:function(a){for(var b,d,f=c.cache,e=c.event.special,j=c.support.deleteExpando,i=0,o;(o=a[i])!=null;i++)if(d=o[c.expando]){b=f[d];if(b.events)for(var k in b.events)e[k]? -c.event.remove(o,k):Ca(o,k,b.handle);if(j)delete o[c.expando];else o.removeAttribute&&o.removeAttribute(c.expando);delete f[d]}}});var kb=/z-?index|font-?weight|opacity|zoom|line-?height/i,Na=/alpha\([^)]*\)/,Oa=/opacity=([^)]*)/,ha=/float/i,ia=/-([a-z])/ig,lb=/([A-Z])/g,mb=/^-?\d+(?:px)?$/i,nb=/^-?\d/,ob={position:"absolute",visibility:"hidden",display:"block"},pb=["Left","Right"],qb=["Top","Bottom"],rb=s.defaultView&&s.defaultView.getComputedStyle,Pa=c.support.cssFloat?"cssFloat":"styleFloat",ja= -function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return X(this,a,b,true,function(d,f,e){if(e===w)return c.curCSS(d,f);if(typeof e==="number"&&!kb.test(f))e+="px";c.style(d,f,e)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return w;if((b==="width"||b==="height")&&parseFloat(d)<0)d=w;var f=a.style||a,e=d!==w;if(!c.support.opacity&&b==="opacity"){if(e){f.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=f.filter||c.curCSS(a,"filter")||"";f.filter= -Na.test(a)?a.replace(Na,b):b}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(Oa.exec(f.filter)[1])/100+"":""}if(ha.test(b))b=Pa;b=b.replace(ia,ja);if(e)f[b]=d;return f[b]},css:function(a,b,d,f){if(b==="width"||b==="height"){var e,j=b==="width"?pb:qb;function i(){e=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(j,function(){f||(e-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(f==="margin")e+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else e-=parseFloat(c.curCSS(a, -"border"+this+"Width",true))||0})}a.offsetWidth!==0?i():c.swap(a,ob,i);return Math.max(0,Math.round(e))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var f,e=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){f=Oa.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(ha.test(b))b=Pa;if(!d&&e&&e[b])f=e[b];else if(rb){if(ha.test(b))b="float";b=b.replace(lb,"-$1").toLowerCase();e=a.ownerDocument.defaultView;if(!e)return null;if(a=e.getComputedStyle(a,null))f= -a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(ia,ja);f=a.currentStyle[b]||a.currentStyle[d];if(!mb.test(f)&&nb.test(f)){b=e.left;var j=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e.left=d==="fontSize"?"1em":f||0;f=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=j}}return f},swap:function(a,b,d){var f={};for(var e in b){f[e]=a.style[e];a.style[e]=b[e]}d.call(a);for(e in b)a.style[e]=f[e]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b= -a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!f?true:b>0&&d>0&&!f?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var sb=J(),tb=//gi,ub=/select|textarea/i,vb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,N=/=\?(&|$)/,ka=/\?/,wb=/(\?|&)_=.*?(&|$)/,xb=/^(\w+:)?\/\/([^\/?#]+)/,yb=/%20/g,zb=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!== -"string")return zb.call(this,a);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var e=a.slice(f,a.length);a=a.slice(0,f)}f="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);f="POST"}var j=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(i,o){if(o==="success"||o==="notmodified")j.html(e?c("
    ").append(i.responseText.replace(tb,"")).find(e):i.responseText);d&&j.each(d,[i.responseText,o,i])}});return this}, -serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ub.test(this.nodeName)||vb.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "), -function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:f})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href, -global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:A.XMLHttpRequest&&(A.location.protocol!=="file:"||!A.ActiveXObject)?function(){return new A.XMLHttpRequest}:function(){try{return new A.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a){function b(){e.success&& -e.success.call(k,o,i,x);e.global&&f("ajaxSuccess",[x,e])}function d(){e.complete&&e.complete.call(k,x,i);e.global&&f("ajaxComplete",[x,e]);e.global&&!--c.active&&c.event.trigger("ajaxStop")}function f(q,p){(e.context?c(e.context):c.event).trigger(q,p)}var e=c.extend(true,{},c.ajaxSettings,a),j,i,o,k=a&&a.context||e,n=e.type.toUpperCase();if(e.data&&e.processData&&typeof e.data!=="string")e.data=c.param(e.data,e.traditional);if(e.dataType==="jsonp"){if(n==="GET")N.test(e.url)||(e.url+=(ka.test(e.url)? -"&":"?")+(e.jsonp||"callback")+"=?");else if(!e.data||!N.test(e.data))e.data=(e.data?e.data+"&":"")+(e.jsonp||"callback")+"=?";e.dataType="json"}if(e.dataType==="json"&&(e.data&&N.test(e.data)||N.test(e.url))){j=e.jsonpCallback||"jsonp"+sb++;if(e.data)e.data=(e.data+"").replace(N,"="+j+"$1");e.url=e.url.replace(N,"="+j+"$1");e.dataType="script";A[j]=A[j]||function(q){o=q;b();d();A[j]=w;try{delete A[j]}catch(p){}z&&z.removeChild(C)}}if(e.dataType==="script"&&e.cache===null)e.cache=false;if(e.cache=== -false&&n==="GET"){var r=J(),u=e.url.replace(wb,"$1_="+r+"$2");e.url=u+(u===e.url?(ka.test(e.url)?"&":"?")+"_="+r:"")}if(e.data&&n==="GET")e.url+=(ka.test(e.url)?"&":"?")+e.data;e.global&&!c.active++&&c.event.trigger("ajaxStart");r=(r=xb.exec(e.url))&&(r[1]&&r[1]!==location.protocol||r[2]!==location.host);if(e.dataType==="script"&&n==="GET"&&r){var z=s.getElementsByTagName("head")[0]||s.documentElement,C=s.createElement("script");C.src=e.url;if(e.scriptCharset)C.charset=e.scriptCharset;if(!j){var B= -false;C.onload=C.onreadystatechange=function(){if(!B&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){B=true;b();d();C.onload=C.onreadystatechange=null;z&&C.parentNode&&z.removeChild(C)}}}z.insertBefore(C,z.firstChild);return w}var E=false,x=e.xhr();if(x){e.username?x.open(n,e.url,e.async,e.username,e.password):x.open(n,e.url,e.async);try{if(e.data||a&&a.contentType)x.setRequestHeader("Content-Type",e.contentType);if(e.ifModified){c.lastModified[e.url]&&x.setRequestHeader("If-Modified-Since", -c.lastModified[e.url]);c.etag[e.url]&&x.setRequestHeader("If-None-Match",c.etag[e.url])}r||x.setRequestHeader("X-Requested-With","XMLHttpRequest");x.setRequestHeader("Accept",e.dataType&&e.accepts[e.dataType]?e.accepts[e.dataType]+", */*":e.accepts._default)}catch(ga){}if(e.beforeSend&&e.beforeSend.call(k,x,e)===false){e.global&&!--c.active&&c.event.trigger("ajaxStop");x.abort();return false}e.global&&f("ajaxSend",[x,e]);var g=x.onreadystatechange=function(q){if(!x||x.readyState===0||q==="abort"){E|| -d();E=true;if(x)x.onreadystatechange=c.noop}else if(!E&&x&&(x.readyState===4||q==="timeout")){E=true;x.onreadystatechange=c.noop;i=q==="timeout"?"timeout":!c.httpSuccess(x)?"error":e.ifModified&&c.httpNotModified(x,e.url)?"notmodified":"success";var p;if(i==="success")try{o=c.httpData(x,e.dataType,e)}catch(v){i="parsererror";p=v}if(i==="success"||i==="notmodified")j||b();else c.handleError(e,x,i,p);d();q==="timeout"&&x.abort();if(e.async)x=null}};try{var h=x.abort;x.abort=function(){x&&h.call(x); -g("abort")}}catch(l){}e.async&&e.timeout>0&&setTimeout(function(){x&&!E&&g("timeout")},e.timeout);try{x.send(n==="POST"||n==="PUT"||n==="DELETE"?e.data:null)}catch(m){c.handleError(e,x,null,m);d()}e.async||g();return x}},handleError:function(a,b,d,f){if(a.error)a.error.call(a.context||a,b,d,f);if(a.global)(a.context?c(a.context):c.event).trigger("ajaxError",[b,a,f])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status=== -1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.indexOf("xml")>=0;a=e?a.responseXML:a.responseText;e&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b=== -"json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(i,o){if(c.isArray(o))c.each(o,function(k,n){b||/\[\]$/.test(i)?f(i,n):d(i+"["+(typeof n==="object"||c.isArray(n)?k:"")+"]",n)});else!b&&o!=null&&typeof o==="object"?c.each(o,function(k,n){d(i+"["+k+"]",n)}):f(i,o)}function f(i,o){o=c.isFunction(o)?o():o;e[e.length]=encodeURIComponent(i)+"="+encodeURIComponent(o)}var e=[];if(b===w)b=c.ajaxSettings.traditional; -if(c.isArray(a)||a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var j in a)d(j,a[j]);return e.join("&").replace(yb,"+")}});var la={},Ab=/toggle|show|hide/,Bb=/^([+-]=)?([\d+-.]+)(.*)$/,W,va=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(K("show",3),a,b);else{a=0;for(b=this.length;a").appendTo("body");f=e.css("display");if(f==="none")f="block";e.remove();la[d]=f}c.data(this[a],"olddisplay",f)}}a=0;for(b=this.length;a=0;f--)if(d[f].elem===this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,f){return this.animate(b,d,f)}});c.extend({speed:function(a,b,d){var f=a&&typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration=== -"number"?f.duration:c.fx.speeds[f.duration]||c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,d,f){return d+f*a},swing:function(a,b,d,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]|| -c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function f(j){return e.step(j)}this.startTime=J();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start; -this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!W)W=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=J(),d=true;if(a||b>=this.options.duration+this.startTime){this.now= -this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var e in this.options.curAnim)c.style(this.elem, -e,this.options.orig[e]);this.options.complete.call(this.elem)}return false}else{e=b-this.startTime;this.state=e/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,e,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b
    "; -a.insertBefore(b,a.firstChild);d=b.firstChild;f=d.firstChild;e=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=e.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==j;a.removeChild(b); -c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var f=c(a),e=f.offset(),j=parseInt(c.curCSS(a,"top",true),10)||0,i=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a, -d,e);d={top:b.top-e.top+j,left:b.left-e.left+i};"using"in b?b.using.call(a,d):f.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),f=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;f.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;f.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top- -f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||s.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(f){var e=this[0],j;if(!e)return null;if(f!==w)return this.each(function(){if(j=wa(this))j.scrollTo(!a?f:c(j).scrollLeft(),a?f:c(j).scrollTop());else this[d]=f});else return(j=wa(e))?"pageXOffset"in j?j[a?"pageYOffset": -"pageXOffset"]:c.support.boxModel&&j.document.documentElement[d]||j.document.body[d]:e[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],d,false,"padding"):null};c.fn["outer"+b]=function(f){return this[0]?c.css(this[0],d,false,f?"margin":"border"):null};c.fn[d]=function(f){var e=this[0];if(!e)return f==null?null:this;if(c.isFunction(f))return this.each(function(j){var i=c(this);i[d](f.call(this,j,i[d]()))});return"scrollTo"in -e&&e.document?e.document.compatMode==="CSS1Compat"&&e.document.documentElement["client"+b]||e.document.body["client"+b]:e.nodeType===9?Math.max(e.documentElement["client"+b],e.body["scroll"+b],e.documentElement["scroll"+b],e.body["offset"+b],e.documentElement["offset"+b]):f===w?c.css(e,d):this.css(d,typeof f==="string"?f:f+"px")}});A.jQuery=A.$=c})(window); diff --git a/SiteTimeline/js/main.js b/SiteTimeline/js/main.js deleted file mode 100644 index 726b8b837d83d76485c89ec1f2b63c9933d61fc4..0000000000000000000000000000000000000000 --- a/SiteTimeline/js/main.js +++ /dev/null @@ -1,217 +0,0 @@ -(function ($) { - if (!!window.ActiveXObject && !window.XMLHttpRequest && (location.href=='http://www.lanrentuku.com' || location.href=='http://www.lanrentuku.com/')) return; - $(function () { - nav(); - bnrSilder(); - sideSlider(); - helpToggle(); - systole(); - slideImg(); - downM(); - ExtMutual(); - slides("#slides", ".slides"); - skinMutual(); - srollList("#dialog01", "11"); - srollList("#dialog02", "6"); - anchorLink(); - - var img = document.createElement("img"); - img.onload = function() { - window.onload = function () { - skinShow(); - }; - }; - }); - -//滚动 - function nav() { - var $liCur = $(".nav-box ul li.cur"), - curP = $liCur.position().left, - curW = $liCur.outerWidth(true), - $slider = $(".nav-line"), - $targetEle = $(".nav-box ul li:not('.last') a"), - $navBox = $(".nav-box"); - $slider.stop(true, true).animate({ - "left":curP, - "width":curW - }); - $targetEle.mouseenter(function () { - var $_parent = $(this).parent(), - _width = $_parent.outerWidth(true), - posL = $_parent.position().left; - $slider.stop(true, true).animate({ - "left":posL, - "width":_width - }, "fast"); - }); - $navBox.mouseleave(function (cur, wid) { - cur = curP; - wid = curW; - $slider.stop(true, true).animate({ - "left":cur, - "width":wid - }, "fast"); - }); - } - - ; -//滚动 - function bnrSilder() { - if (!$("#head").length && !$("#bnr").length) { - return; - } - (function () { - if (navigator.userAgent.toLocaleLowerCase().indexOf('opera') >= 0) return; - var sstag = document.createElement('script'); - sstag.type = 'text/javascript'; - sstag.async = true; - sstag.src = 'script/SmoothScroll.js'; - var s = document.getElementsByTagName('script')[0]; - s.parentNode.insertBefore(sstag, s); - })(); - $(window).scroll(function () { - var bTop = $(this).scrollTop(); - $('.bnr-box').css({ - 'margin-top':-bTop * 0.48 - }); - $('.bnr-txt').css({ - 'margin-top':-bTop * 0.68 - }); - $('.bnr-btn').css({ - 'margin-top':-bTop * 0.68 - }); - $('.warper').css({ - "background-position":"50% " + bTop * 0.2 + "px" - }); - if (bTop < 200) { - $(".txt-warp").css({ - 'margin-top':-bTop * 1.5 - }); - $(".txt-nav-warp").removeAttr("style"); - } else { - $(".txt-warp").css({ - 'margin-top':-240 - }); - $(".txt-nav-warp").css({ - "position":"fixed", - "top":0, - "left":0, - "box-shadow":"0 2px 6px #eee" - }); - - } - var idxs = 0; - if (bTop >= 200 && bTop < 577) { - idxs; - } else if (bTop >= 577 && bTop < 1072) { - idxs = 1; - } else if (bTop >= 1072 && bTop < 1165) { - idxs = 2; - } else if (bTop >= 1165) { - idxs = 3; - } - $('.txt-nav li a').eq(idxs).addClass('on').parent().siblings().children().removeClass - - ('on'); - if (bTop < 200) { - $('.txt-nav li a').removeClass('on'); - } - }); - }; - - - function sideSlider() { - if (!$(".help-side dl").length) { - return false; - } - var $aCur = $(".help-side dl").find(".cur a"), - $targetA = $(".help-side dl dd a"), - $sideSilder = $(".side-slider"), - curT = $aCur.position().top - 3; - $sideSilder.stop(true, true).animate({ - "top":curT - }); - $targetA.mouseenter(function () { - var posT = $(this).position().top - 3; - $sideSilder.stop(true, true).animate({ - "top":posT - }, 240); - }).parents(".help-side").mouseleave(function (_curT) { - _curT = curT - $sideSilder.stop(true, true).animate({ - "top":_curT - }); - }); - } - - ; - - function helpToggle() { - if (!$(".help-cont dl dt a").length) { - return; - } - var $targetEle = $(".help-cont dl dt a"); - $targetEle.toggle(function () { - $(this).parent().css({ - "background-position":"0 -20px" - }).siblings().slideDown(); - return false; - }, function () { - $(this).parent().removeAttr("style").siblings().slideUp(); - return false; - }); - } - - ; - - function systole() { - if (!$(".history").length) { - return; - } - var $warpEle = $(".history-date"), - $targetA = $warpEle.find("h2 a,ul li dl dt a"), - parentH, - eleTop = []; - parentH = $warpEle.parent().height(); - $warpEle.parent().css({ - "height":59 - }); - setTimeout(function () { - - $warpEle.find("ul").children(":not('h2:first')").each(function (idx) { - eleTop.push($(this).position().top); - $(this).css({ - "margin-top":-eleTop[idx] - }).children().hide(); - }).animate({ - "margin-top":0 - }, 1600).children().fadeIn(); - $warpEle.parent().animate({ - "height":parentH - }, 2600); - - $warpEle.find("ul").children(":not('h2:first')").addClass("bounceInDown").css({ - "-webkit-animation-duration":"2s", - "-webkit-animation-delay":"0", - "-webkit-animation-timing-function":"ease", - "-webkit-animation-fill-mode":"both" - }).end().children("h2").css({ - "position":"relative" - }); - }, 600); - - $targetA.click(function () { - $(this).parent().css({ - "position":"relative" - }); - $(this).parent().siblings().slideToggle(); - $warpEle.parent().removeAttr("style"); - return false; - }); - - } - - ; - - -})(jQuery); \ No newline at end of file diff --git a/about/index.html b/about/index.html index 1211778501b3596a62815536536d1faa5ad54085..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 --- a/about/index.html +++ b/about/index.html @@ -1,832 +0,0 @@ - - - - - - - about | LOVE109❤️纪实小屋 - - - - - - - - - - - - - - - - - -
    -
    - -
    -
    - - -
    -
    -
    - - - -
    -
    -

    LOVE109❤️纪实小屋 - 记录爱情❤️记录生活

    -
    -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    -
    -
    - - - -
    -
    - -
    - -
    -
    - -
    -
    -

    - 关于

    -
    -
    - -
    -
    - -
    [关于LOVE109❤️纪实小屋]
    -
    -
    -

    -

    -

    - 正在与  - LOVE109❤️纪实小屋管家  - ( - - 欢迎来到我们的小屋 mua~😘 - - ) - - 对话中...

    -

    -

    -
    - -
    - - - - - - - -
    - -
    -
    -
    -
    - - -
    -
    - -
    -

    记录爱情 记录生活

    -
    - -
    - - - - - - - - -
    -
    -
    - -
    - - - © 2019 LOVE109纪实小屋
    - 鄂ICP备19003281号
    - - 正在载入... - - -
    - - - - - - - - - -
    -
    -
    - - - - - - -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    - -
    -

    LOVE109❤️ 纪实小屋

    -

    - - - - - - - - - - - - - -

    - -

    - © 2019 LOVE109❤️纪实小屋

    -
    - - - - - - - - - - - - - - - - - -
    - - - \ No newline at end of file diff --git a/archives/2019/01/index.html b/archives/2019/01/index.html index f57326e2e33171d302862957d9545a0ace449ed7..b12dcaddd0f2f4af2b6f6f0c694c1b16fc5b27ea 100644 --- a/archives/2019/01/index.html +++ b/archives/2019/01/index.html @@ -1,692 +1,198 @@ - + - - archive_a: 2019/1 | LOVE109❤️纪实小屋 + - + Archives: 2019/1 | 404 + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + - -
    -
    - -
    -
    - - -
    -
    -
    - - - -
    -
    -

    LOVE109❤️纪实小屋 - 记录爱情❤️记录生活

    -
    -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    + +
    +
    +
    -
    -
    -
    -
    -
    -
    - -
    - -
    -
    - + +
    +
    + + - -
    + + + +
    + + - + +
    + +
    + +
    +
    + + - -

    - © 2019 LOVE109❤️纪实小屋

    - - - - - - + + + + + + - - - - + - - - - -
    - - - \ No newline at end of file + + + + \ No newline at end of file diff --git a/archives/2019/index.html b/archives/2019/index.html index bfa409c9f228263e96e9d010744224a963d3ab48..3adea9885c23ac7b516cc51cee8ae95a7bfa6d22 100644 --- a/archives/2019/index.html +++ b/archives/2019/index.html @@ -1,692 +1,198 @@ - + - - archive_a: 2019 | LOVE109❤️纪实小屋 + - + Archives: 2019 | 404 + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + - -
    -
    - -
    -
    - - -
    -
    -
    - - - -
    -
    -

    LOVE109❤️纪实小屋 - 记录爱情❤️记录生活

    -
    -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    + +
    +
    +
    -
    -
    -
    -
    -
    -
    - -
    - -
    -
    - + +
    +
    + + - -
    + + + +
    + + - + +
    + +
    + +
    +
    + + - -

    - © 2019 LOVE109❤️纪实小屋

    - - - - - - + + + + + + - - - - + - - - - -
    - - - \ No newline at end of file + + + + \ No newline at end of file diff --git a/archives/index.html b/archives/index.html index 220902a358113e9542f14416ab9aaebd84fc56fd..9b8ef557a5aac130911daf26981409ac73b547b5 100644 --- a/archives/index.html +++ b/archives/index.html @@ -1,692 +1,198 @@ - + - - archive_a | LOVE109❤️纪实小屋 + - + Archives | 404 + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + - -
    -
    - -
    -
    - - -
    -
    -
    - - - -
    -
    -

    LOVE109❤️纪实小屋 - 记录爱情❤️记录生活

    -
    -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    + +
    +
    +
    -
    -
    -
    -
    -
    -
    - -
    - -
    -
    - + +
    +
    + + - -
    + + + +
    + + - + +
    + +
    + +
    +
    + + - -

    - © 2019 LOVE109❤️纪实小屋

    - - - - - - + + + + + + - - - - + - - - - -
    - - - \ No newline at end of file + + + + \ No newline at end of file diff --git a/atom.xml b/atom.xml index f8a94c95204dfa2db1f5547b830415044ce2917b..d8ceae33397e6c2d1f63f96d7c1aeee24e768fe3 100644 --- a/atom.xml +++ b/atom.xml @@ -1,16 +1,16 @@ - LOVE109❤️纪实小屋 + 404 - 记录爱情 记录生活 + landscape - 2019-01-19T15:34:28.498Z + 2019-01-25T15:30:55.886Z https://love109.cn/ - LOVE109 + landscape @@ -18,82 +18,26 @@ Hello World - - https://love109.cn/2019/01/20/hello-world - 副本 (2)/ - 2019-01-20T15:11:12.909Z - 2019-01-19T15:34:28.498Z + + https://love109.cn/2019/01/25/hello-world/ + 2019-01-25T15:23:14.287Z + 2019-01-25T15:30:55.886Z - Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

    Quick Start

    Create a new post

    1
    $ hexo new "My New Post"

    More info: Writing

    Run server

    1
    $ hexo server

    More info: Server

    Generate static files

    1
    $ hexo generate

    More info: Generating

    Deploy to remote sites

    1
    $ hexo deploy

    More info: Deployment

    ]]>
    + photos: https://wx2.sinaimg.cn/large/006bYVyvgy1fqmv0mlsktj31400u0avk.jpg
    Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

    Quick Start

    Create a new post

    1
    $ hexo new "My New Post"

    More info: Writing

    Run server

    1
    $ hexo server

    More info: Server

    Generate static files

    1
    $ hexo generate

    More info: Generating

    Deploy to remote sites

    1
    $ hexo deploy

    More info: Deployment

    ]]>
    - <p>Welcome to <a href="https://hexo.io/" target="_blank" rel="noopener">Hexo</a>! This is your very first post. Check <a href="https://hexo. + <p>photos: <a href="https://wx2.sinaimg.cn/large/006bYVyvgy1fqmv0mlsktj31400u0avk.jpg" target="_blank" rel="noopener">https://wx2.sinaimg.cn - + - - - - -
    - - - Hello World - - https://love109.cn/2019/01/20/hello-world - 副本/ - 2019-01-20T15:11:12.221Z - 2019-01-19T15:34:28.498Z - - Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

    Quick Start

    Create a new post

    1
    $ hexo new "My New Post"

    More info: Writing

    Run server

    1
    $ hexo server

    More info: Server

    Generate static files

    1
    $ hexo generate

    More info: Generating

    Deploy to remote sites

    1
    $ hexo deploy

    More info: Deployment

    ]]>
    - - - - - - <p>Welcome to <a href="https://hexo.io/" target="_blank" rel="noopener">Hexo</a>! This is your very first post. Check <a href="https://hexo. - - - - - - - - - - - -
    - - - Hello World - - https://love109.cn/2019/01/17/hello-world/ - 2019-01-17T12:36:23.920Z - 2019-01-19T15:34:28.498Z - - Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

    Quick Start

    Create a new post

    1
    $ hexo new "My New Post"

    More info: Writing

    Run server

    1
    $ hexo server

    More info: Server

    Generate static files

    1
    $ hexo generate

    More info: Generating

    Deploy to remote sites

    1
    $ hexo deploy

    More info: Deployment

    ]]>
    - - - - - - <p>Welcome to <a href="https://hexo.io/" target="_blank" rel="noopener">Hexo</a>! This is your very first post. Check <a href="https://hexo. - - - - - - - - - - +
    diff --git a/categories/index.html b/categories/index.html index ccf3ca9006f2d5e4ce95c1d570fd874d633a6c39..6c0911d72442c05801af8776bd857214bfd2ff80 100644 --- a/categories/index.html +++ b/categories/index.html @@ -1,675 +1,200 @@ - + - - categories | LOVE109❤️纪实小屋 + - + categories | 404 + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + - -
    -
    - -
    -
    - - -
    -
    -
    - - - -
    -
    -

    LOVE109❤️纪实小屋 - 记录爱情❤️记录生活

    -
    -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    -
    -
    - - - -
    -
    - -
    - -
    - - -
    -
    -
    -
    + Archives + +
    -
    - -
    -

    记录爱情 记录生活

    -
    - -
    - - - - - - - - -
    -
    -
    - -
    - - - © 2019 LOVE109纪实小屋
    - 鄂ICP备19003281号
    - - 正在载入... - - -
    - - - - - - - - - -
    + +
    +
    - - +
    + + +
    + + +

    + categories +

    + - - - -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    - -
    -

    LOVE109❤️ 纪实小屋

    -

    + +

    - - - - - + - +
    + +
    + -

    - -

    - © 2019 LOVE109❤️纪实小屋

    - - - - - - + + + + + + - - - - + - - - - -
    - - - \ No newline at end of file + + + + \ No newline at end of file diff --git a/categories/landscape/index.html b/categories/landscape/index.html new file mode 100644 index 0000000000000000000000000000000000000000..67e2bae6eabffd9a70e3ee21b82d78fd84351a10 --- /dev/null +++ b/categories/landscape/index.html @@ -0,0 +1,198 @@ + + + + + + + + Category: landscape | 404 + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    + + + + + + +
    +
    + 2019 +
    +
    + + + + +
    + + + +
    + + + +
    +
    + +
    + +
    +
    +
    + + + + + + + + + + + + + + +
    + + \ No newline at end of file diff --git "a/categories/\346\212\200\346\234\257/index.html" "b/categories/\346\212\200\346\234\257/index.html" deleted file mode 100644 index 6f6b1f0fffe508e676b6b0e9865a97ce904bc502..0000000000000000000000000000000000000000 --- "a/categories/\346\212\200\346\234\257/index.html" +++ /dev/null @@ -1,836 +0,0 @@ - - - - - - - Category: 技术 | LOVE109❤️纪实小屋 - - - - - - - - - - - - - - - - - -
    -
    - -
    -
    - - -
    -
    -
    - - - -
    -
    -

    LOVE109❤️纪实小屋 - 记录爱情❤️记录生活

    -
    -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    -
    -
    - - - -
    -
    - - -
    -
    -
    - -
    -
    -

    野生技术协会

    - -

    Geek – Only for Love

    -
    -
    -
    -
    -
    -
    - - - - - - - - - - - -
    -
    -
    - -
    -
    - - - - - - - - -
    -
    -
    - -
    - - - © 2019 LOVE109纪实小屋
    - 鄂ICP备19003281号
    - - 正在载入... - - -
    - - - - - - - - - -
    -
    -
    - - - - - - -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    - -
    -

    LOVE109❤️ 纪实小屋

    -

    - - - - - - - - - - - - - -

    - -

    - © 2019 LOVE109❤️纪实小屋

    -
    - - - - - - - - - - - - - - - - - -
    - - - \ No newline at end of file diff --git a/comment/index.html b/comment/index.html index ad4e969aac4d26ad4992272493146cafea1fc775..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 --- a/comment/index.html +++ b/comment/index.html @@ -1,704 +0,0 @@ - - - - - - - comment | LOVE109❤️纪实小屋 - - - - - - - - - - - - - - - - - -
    -
    - -
    -
    - - -
    -
    -
    - - - -
    -
    -

    LOVE109❤️纪实小屋 - 记录爱情❤️记录生活

    -
    -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    -
    -
    - - - -
    -
    - -
    - -
    -
    - -
    -
    -

    - 留言板

    -
    -
    - -
    -
    - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -

    - 念两句诗

    -

    - 叙别梦、扬州一觉。

    -

    - 【宋代】吴文英《夜游宫·人去西楼雁杳》

    -
    -
    - - - - - -
    - - - -
    - -
    -
    -
    -
    - - -
    -
    - -
    -

    记录爱情 记录生活

    -
    - -
    - - - - - - - - -
    -
    -
    - -
    - - - © 2019 LOVE109纪实小屋
    - 鄂ICP备19003281号
    - - 正在载入... - - -
    - - - - - - - - - -
    -
    -
    - - - - - - -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    - -
    -

    LOVE109❤️ 纪实小屋

    -

    - - - - - - - - - - - - - -

    - -

    - © 2019 LOVE109❤️纪实小屋

    -
    - - - - - - - - - - - - - - - - - -
    - - - \ No newline at end of file diff --git a/css/LoveTimeline.css b/css/LoveTimeline.css deleted file mode 100644 index 99cac0d33f43ded2d02aff5b55df1dbc31123bce..0000000000000000000000000000000000000000 --- a/css/LoveTimeline.css +++ /dev/null @@ -1,186 +0,0 @@ - #timeline .timeline-item:after,#timeline .timeline-item:before { - content: ''; - display: block; - width: 100%; - clear: both; -} -*, *:before, *:after { - box-sizing: border-box; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; -} -body, html { - height: 100%} -body { - background: #ffffff; - background-size: cover; - margin: 0; - padding: 0; - font-family: helvetica, arial, tahoma, verdana; - line-height: 20px; - font-size: 14px; - color: #726f77; - -webkit-font-smoothing: antialiased; -} -img { - max-width: 100%} -a { - text-decoration: none; -} -.container { - max-width: 1100px; - margin: 0 auto; -} -h1, h2, h3, h4 { - font-family: "Dosis", arial, tahoma, verdana; - font-weight: 600; -} - -#timeline { - width: 90%; - margin: 30px auto; - position: relative; - -webkit-transition: all 0.4s ease; - -moz-transition: all 0.4s ease; - -ms-transition: all 0.4s ease; - transition: all 0.4s ease; -} -#timeline:before { - content: ""; - width: 3px; - height: 100%; - background: #ee4d4d; - left: 50%; - top: 0; - position: absolute; -} -#timeline:after { - content: ""; - clear: both; - display: table; - width: 100%} -#timeline .timeline-item { - margin-bottom: 30px; - position: relative; -} -#timeline .timeline-item .timeline-icon { - background: #ee4d4d; - width: 50px; - height: 50px; - position: absolute; - top: 0; - left: 50%; - overflow: hidden; - margin-left: -23px; - -webkit-border-radius: 50%; - -moz-border-radius: 50%; - -ms-border-radius: 50%; - border-radius: 50%} -#timeline .timeline-item .timeline-icon img { - position: relative; - top: 14px; - left: 14px; -} -#timeline .timeline-item .timeline-content { - width: 45%; - background: #fff; - padding: 20px; - -webkit-box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1); - -ms-box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1); - box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1); - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - -ms-border-radius: 5px; - border-radius: 5px; - -webkit-transition: all 0.3s ease; - -moz-transition: all 0.3s ease; - -ms-transition: all 0.3s ease; - transition: all 0.3s ease; -} -#timeline .timeline-item .timeline-content h2 { - padding: 15px; - background: #ee4d4d; - color: #fff; - margin: -20px -20px 0 -20px; - font-weight: 500; - -webkit-border-radius: 3px 3px 0 0; - -moz-border-radius: 3px 3px 0 0; - -ms-border-radius: 3px 3px 0 0; - border-radius: 3px 3px 0 0; -} -#timeline .timeline-item .timeline-content:before { - content: ''; - position: absolute; - left: 45%; - top: 20px; - width: 0; - height: 0; - border-top: 7px solid transparent; - border-bottom: 7px solid transparent; - border-left: 7px solid #ee4d4d; -} -#timeline .timeline-item .timeline-content.right { - float: right; -} -#timeline .timeline-item .timeline-content.right:before { - content: ''; - right: 45%; - left: inherit; - border-left: 0; - border-right: 7px solid #ee4d4d; -} -.btn { - padding: 5px 15px; - text-decoration: none; - background: transparent; - border: 2px solid #f27c7c; - color: #f27c7c; - display: inline-block; - position: relative; - text-transform: uppercase; - font-size: 12px; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - -ms-border-radius: 5px; - border-radius: 5px; - -webkit-transition: background 0.3s ease; - -moz-transition: background 0.3s ease; - -ms-transition: background 0.3s ease; - transition: background 0.3s ease; - -webkit-box-shadow: 2px 2px 0 #f27c7c; - -moz-box-shadow: 2px 2px 0 #f27c7c; - -ms-box-shadow: 2px 2px 0 #f27c7c; - box-shadow: 2px 2px 0 #f27c7c; -} -.btn:hover { - box-shadow: none; - top: 2px; - left: 2px; - -webkit-box-shadow: 2px 2px 0 transparent; - -moz-box-shadow: 2px 2px 0 transparent; - -ms-box-shadow: 2px 2px 0 transparent; - box-shadow: 2px 2px 0 transparent; -} -@media screen and (max-width: 768px) { - #timeline { - margin: 30px; - padding: 0; -} -#timeline:before { - left: 0; -} -#timeline .timeline-item .timeline-content { - width: 90%; - float: right; -} -#timeline .timeline-item .timeline-content:before, #timeline .timeline-item .timeline-content.right:before { - left: 10%; - margin-left: -6px; - border-left: 0; - border-right: 7px solid #ee4d4d; -} -#timeline .timeline-item .timeline-icon { - left: 0; -} -} diff --git a/css/font.css b/css/font.css deleted file mode 100644 index 05157a0235bf79fb03ad3a3302de4b5784f11a18..0000000000000000000000000000000000000000 --- a/css/font.css +++ /dev/null @@ -1,147 +0,0 @@ - -@font-face {font-family: "iconfont"; - src: url('//at.alicdn.com/t/font_679578_dishi1yoavm.eot?t=1544347866779'); /* IE9*/ - src: url('//at.alicdn.com/t/font_679578_dishi1yoavm.eot?t=1544347866779#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('data:application/x-font-woff;charset=utf-8;base64,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') format('woff'), - url('//at.alicdn.com/t/font_679578_dishi1yoavm.ttf?t=1544347866779') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/ - url('//at.alicdn.com/t/font_679578_dishi1yoavm.svg?t=1544347866779#iconfont') format('svg'); /* iOS 4.1- */ -} - -.iconfont { - font-family:"iconfont" !important; - font-size:16px; - font-style:normal; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.icon-black-cat:before { content: "\e65d"; } - -.icon-white-cat:before { content: "\e65e"; } - -.icon-hongbao:before { content: "\e611"; } - -.icon-markdown:before { content: "\e664"; } - -.icon-windows:before { content: "\e668"; } - -.icon-right:before { content: "\e67e"; } - -.icon-caidan:before { content: "\e67f"; } - -.icon-delete:before { content: "\e680"; } - -.icon-message:before { content: "\e681"; } - -.icon-link:before { content: "\e682"; } - -.icon-weibo:before { content: "\e683"; } - -.icon-info:before { content: "\e684"; } - -.icon-forward:before { content: "\e685"; } - -.icon-share:before { content: "\e686"; } - -.icon-fold:before { content: "\e687"; } - -.icon-favorfill:before { content: "\e688"; } - -.icon-time:before { content: "\e689"; } - -.icon-favor:before { content: "\e68a"; } - -.icon-weixin:before { content: "\e68b"; } - -.icon-github:before { content: "\e68c"; } - -.icon-notification:before { content: "\e68d"; } - -.icon-tags:before { content: "\e68e"; } - -.icon-pulldown:before { content: "\e68f"; } - -.icon-search:before { content: "\e690"; } - -.icon-pullleft:before { content: "\e691"; } - -.icon-notice:before { content: "\e692"; } - -.icon-attention:before { content: "\e693"; } - -.icon-rounddown:before { content: "\e694"; } - -.icon-upload:before { content: "\e695"; } - -.icon-douban:before { content: "\e696"; } - -.icon-QQ:before { content: "\e697"; } - -.icon-caidan1:before { content: "\e698"; } - -.icon-appreciatefill:before { content: "\e699"; } - -.icon-appreciate:before { content: "\e69a"; } - -.icon-close:before { content: "\e69b"; } - -.icon-calendar:before { content: "\e69c"; } - -.icon-location:before { content: "\e69d"; } - -.icon-check:before { content: "\e69e"; } - -.icon-roundcheck:before { content: "\e69f"; } - -.icon-camera:before { content: "\e6a0"; } - -.icon-likefill:before { content: "\e6a1"; } - -.icon-warn:before { content: "\e6a2"; } - -.icon-comment:before { content: "\e6a3"; } - -.icon-like:before { content: "\e6a4"; } - -.icon-back:before { content: "\e6a5"; } - -.icon-my1:before { content: "\e6a6"; } - -.icon-more:before { content: "\e6a7"; } - -.icon-question:before { content: "\e6a8"; } - -.icon-pullright:before { content: "\e6a9"; } - -.icon-countdown:before { content: "\e6aa"; } - -.icon-mark:before { content: "\e6ab"; } - -.icon-unfold:before { content: "\e6ac"; } - -.icon-file:before { content: "\e6ad"; } - -.icon-my:before { content: "\e6ae"; } - -.icon-write:before { content: "\e6af"; } - -.icon-community:before { content: "\e6b0"; } - -.icon-hot:before { content: "\e6b1"; } - -.icon-text:before { content: "\e6b2"; } - -.icon-menu:before { content: "\e6b3"; } - -.icon-bing:before { content: "\e6b4"; } - -.icon-sakura:before { content: "\e6b5"; } - -.icon-pixiv:before { content: "\e6b6"; } - -.icon-gear:before { content: "\e6b7"; } - -.icon-dots:before { content: "\e6b8"; } - -.icon-Hearthstone:before { content: "\e6b9"; } - diff --git a/css/fonts/FontAwesome.otf b/css/fonts/FontAwesome.otf new file mode 100644 index 0000000000000000000000000000000000000000..8b0f54e47e1d356dcf1496942a50e228e0f1ee14 Binary files /dev/null and b/css/fonts/FontAwesome.otf differ diff --git a/css/fonts/fontawesome-webfont.eot b/css/fonts/fontawesome-webfont.eot new file mode 100644 index 0000000000000000000000000000000000000000..7c79c6a6bc9a128a2a8eaffbe49a4338625fdbc2 Binary files /dev/null and b/css/fonts/fontawesome-webfont.eot differ diff --git a/css/fonts/fontawesome-webfont.svg b/css/fonts/fontawesome-webfont.svg new file mode 100644 index 0000000000000000000000000000000000000000..cfe75c3f7a487e837d02b7761d16ccb4b3cb4a35 --- /dev/null +++ b/css/fonts/fontawesome-webfont.svg @@ -0,0 +1,414 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/css/fonts/fontawesome-webfont.ttf b/css/fonts/fontawesome-webfont.ttf new file mode 100644 index 0000000000000000000000000000000000000000..e89738de5eaf8fca33a2f2cdc5cb4929caa62b71 Binary files /dev/null and b/css/fonts/fontawesome-webfont.ttf differ diff --git a/css/fonts/fontawesome-webfont.woff b/css/fonts/fontawesome-webfont.woff new file mode 100644 index 0000000000000000000000000000000000000000..8c1748aab7a790d510fb3f42a8a8971d96efa79d Binary files /dev/null and b/css/fonts/fontawesome-webfont.woff differ diff --git a/css/images/banner.jpg b/css/images/banner.jpg new file mode 100644 index 0000000000000000000000000000000000000000..b963e0641c416e6869291d95babaa8da7c3ad971 Binary files /dev/null and b/css/images/banner.jpg differ diff --git a/css/insight.css b/css/insight.css deleted file mode 100644 index dc081740da543fc832234454633a280573338222..0000000000000000000000000000000000000000 --- a/css/insight.css +++ /dev/null @@ -1,134 +0,0 @@ -.ins-search { - display: none; -} -.ins-search.show { - display: block; -} -.ins-selectable { - cursor: pointer; -} -.ins-search-mask, -.ins-search-container { - position: fixed; -} -.ins-search-mask { - top: 0 !important; - left: 0 !important; - width: 100% !important; - height: 100% !important; - z-index: 8000 !important; - background: rgba(0,0,0,0.5) !important; -} -.ins-input-wrapper { - position: relative; -} -.ins-search-input { - width: 100% !important; - height: 100% !important; - border: none !important; - outline: none !important; - font-size: 16px !important; - box-shadow: none !important; - font-weight: 200 !important; - border-radius: 0 !important; - background: #fff !important; - line-height: 20px !important; - box-sizing: border-box !important; - padding: 12px 28px 12px 20px !important; - border-bottom: 1px solid #e2e2e2 !important; - font-family: "Microsoft Yahei Light", "Microsoft Yahei", Helvetica, Arial, sans-serif !important; -} -.ins-close { - top: 50%; - right: 6px; - width: 20px; - height: 20px; - font-size: 16px; - margin-top: -11px; - position: absolute; - text-align: center; - display: inline-block; -} -.ins-close:hover { - color: #e78170; -} -.ins-search-container { - right: 50%; - top: 100px !important; - z-index: 8001 !important; - bottom: 100px !important; - box-sizing: border-box !important; - width: 640px !important; - margin-right: -320px !important; - border-top: 2px solid color-theme !important; -} -@media screen and (max-width: 559px), screen and (max-height: 479px) { - .ins-search-container { - top: 0; - right: 0% !important; - margin: 0 !important; - width: 100% !important; - height: 80%; - background: #f7f7f7; - } -} -.ins-section-wrapper { - left: 0 !important; - right: 0 !important; - top: 45px !important; - bottom: 0 !important; - overflow-y: auto !important; - position: absolute !important; -} -.ins-section-container { - position: relative !important; - background: #f7f7f7 !important; -} -.ins-section { - font-size: 14px !important; - line-height: 16px !important; -} -.ins-section .ins-section-header, -.ins-section .ins-search-item { - padding: 8px 15px !important; -} -.ins-section .ins-section-header { - color: #9a9a9a !important; - border-bottom: 1px solid #e2e2e2 !important; -} -.ins-section .ins-slug { - margin-left: 5px !important; - color: #9a9a9a !important; -} -.ins-section .ins-slug:before { - content: '('; -} -.ins-section .ins-slug:after { - content: ')'; -} -.ins-section .ins-search-item header, -.ins-section .ins-search-item .ins-search-preview { - overflow: hidden !important; - white-space: nowrap !important; - text-overflow: ellipsis !important; -} -.ins-section .ins-search-item header .fa { - margin-right: 8px !important; -} -.ins-section .ins-search-item .ins-search-preview { - height: 15px !important; - font-size: 12px !important; - color: #9a9a9a !important; - margin: 5px 0 0 20px !important; -} -.ins-section .ins-search-item:hover, -.ins-section .ins-search-item.active { - color: #fff !important; - background: #e78170 !important; -} -.ins-section .ins-search-item:hover .ins-slug, -.ins-section .ins-search-item.active .ins-slug, -.ins-section .ins-search-item:hover .ins-search-preview, -.ins-section .ins-search-item.active .ins-search-preview { - color: #fff !important; -} diff --git a/css/lib.min.css b/css/lib.min.css deleted file mode 100644 index e050f02efb7da9c719d01c091f5424b8de0d21fe..0000000000000000000000000000000000000000 --- a/css/lib.min.css +++ /dev/null @@ -1,21 +0,0 @@ -/** - * Skipped minification because the original files appears to be already minified. - * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files - */ -/*! Generate by Mashiro. Wed Jul 11 22:48:24 2018*//*! -* baguetteBox.js -* @author feimosi -* @version 1.3.2 -* @url https://github.com/feimosi/baguetteBox.js -*/#baguetteBox-overlay{display:none;opacity:0;position:fixed;overflow:hidden;top:0;left:0;width:100%;height:100%;z-index:1000000;background-color:rgba(0,0,0,0.8);transition:opacity .5s ease;animation:elastic .5s}#baguetteBox-overlay.visible{opacity:1}#baguetteBox-overlay .full-image{display:inline-block;position:relative;width:100%;height:100%;text-align:center}#baguetteBox-overlay .full-image figure{display:inline;margin:0;height:100%}#baguetteBox-overlay .full-image img{display:inline-block;width:auto;height:auto;max-height:80%;max-width:80%;vertical-align:middle;box-shadow:0 0 170px #ddd}#baguetteBox-overlay .full-image figcaption{display:block;position:absolute;bottom:0;width:100%;text-align:center;line-height:3;color:#eee;background-color:#000;background-color:rgba(0,0,0,0.8)}#baguetteBox-overlay .full-image:before{content:"";display:inline-block;height:50%;width:1px;margin-right:-1px}#baguetteBox-slider{position:absolute;left:0;top:0;height:100%;width:100%;white-space:nowrap;transition:left .4s ease,-webkit-transform .4s ease;transition:left .4s ease,-moz-transform .4s ease;transition:left .4s ease,transform .4s ease}#baguetteBox-slider.bounce-from-right{-webkit-animation:bounceFromRight .4s ease-out;animation:bounceFromRight .4s ease-out}#baguetteBox-slider.bounce-from-left{-webkit-animation:bounceFromLeft .4s ease-out;animation:bounceFromLeft .4s ease-out}.baguetteBox-button#next-button,.baguetteBox-button#previous-button{top:50%;top:calc(50% - 30px);width:60px;height:60px}.baguetteBox-button{position:absolute;cursor:pointer;outline:0;padding:0;margin:0;border:0;background:rgba(255,255,255,0);box-shadow:none;border-radius:0;color:#ddd;font:1.6em sans-serif}.baguetteBox-button:hover{box-shadow:none}.baguetteBox-button#next-button{right:2%;box-shadow:none}.baguetteBox-button#previous-button{left:2%;box-shadow:none}.baguetteBox-button#close-button{top:23px;right:18px;right:calc(2% + 6px);width:30px;height:30px;box-shadow:none}.baguetteBox-button svg{position:absolute;left:0;top:0}.baguetteBox-button#next-button svg{left:16px}.baguetteBox-button#previous-button svg{right:16px;left:auto}.spinner{width:40px;height:40px;display:inline-block;position:absolute;top:50%;left:50%;margin-top:-20px;margin-left:-20px}.double-bounce1,.double-bounce2{width:100%;height:100%;-moz-border-radius:50%;border-radius:50%;background-color:#fff;opacity:.6;position:absolute;top:0;left:0;-webkit-animation:bounce 2s infinite ease-in-out;animation:bounce 2s infinite ease-in-out}.double-bounce2{-webkit-animation-delay:-1s;animation-delay:-1s}@-webkit-keyframes bounceFromRight{0%{margin-left:0}50%{margin-left:-30px}100%{margin-left:0}}@keyframes bounceFromRight{0%{margin-left:0}50%{margin-left:-30px}100%{margin-left:0}}@-webkit-keyframes bounceFromLeft{0%{margin-left:0}50%{margin-left:30px}100%{margin-left:0}}@keyframes bounceFromLeft{0%{margin-left:0}50%{margin-left:30px}100%{margin-left:0}}@-webkit-keyframes bounce{0%,100%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes bounce{0%,100%{-webkit-transform:scale(0);-moz-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}}/*! - * font-awesome-animation - v0.1.0 - * https://github.com/l-lin/font-awesome-animation - * License: MIT - */@-webkit-keyframes wrench{0%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}8%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}10%{-webkit-transform:rotate(24deg);transform:rotate(24deg)}18%,20%{-webkit-transform:rotate(-24deg);transform:rotate(-24deg)}28%,30%{-webkit-transform:rotate(24deg);transform:rotate(24deg)}38%,40%{-webkit-transform:rotate(-24deg);transform:rotate(-24deg)}48%,50%{-webkit-transform:rotate(24deg);transform:rotate(24deg)}58%,60%{-webkit-transform:rotate(-24deg);transform:rotate(-24deg)}68%{-webkit-transform:rotate(24deg);transform:rotate(24deg)}100%,75%{-webkit-transform:rotate(0);transform:rotate(0)}}@keyframes wrench{0%{-webkit-transform:rotate(-12deg);-ms-transform:rotate(-12deg);transform:rotate(-12deg)}8%{-webkit-transform:rotate(12deg);-ms-transform:rotate(12deg);transform:rotate(12deg)}10%{-webkit-transform:rotate(24deg);-ms-transform:rotate(24deg);transform:rotate(24deg)}18%,20%{-webkit-transform:rotate(-24deg);-ms-transform:rotate(-24deg);transform:rotate(-24deg)}28%,30%{-webkit-transform:rotate(24deg);-ms-transform:rotate(24deg);transform:rotate(24deg)}38%,40%{-webkit-transform:rotate(-24deg);-ms-transform:rotate(-24deg);transform:rotate(-24deg)}48%,50%{-webkit-transform:rotate(24deg);-ms-transform:rotate(24deg);transform:rotate(24deg)}58%,60%{-webkit-transform:rotate(-24deg);-ms-transform:rotate(-24deg);transform:rotate(-24deg)}68%{-webkit-transform:rotate(24deg);-ms-transform:rotate(24deg);transform:rotate(24deg)}100%,75%{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}}.faa-parent.animated-hover:hover>.faa-wrench,.faa-wrench.animated,.faa-wrench.animated-hover:hover{-webkit-animation:wrench 2.5s ease infinite;animation:wrench 2.5s ease infinite;transform-origin-x:90%;transform-origin-y:35%;transform-origin-z:initial}.faa-parent.animated-hover:hover>.faa-wrench.faa-fast,.faa-wrench.animated-hover.faa-fast:hover,.faa-wrench.animated.faa-fast{-webkit-animation:wrench 1.2s ease infinite;animation:wrench 1.2s ease infinite}.faa-parent.animated-hover:hover>.faa-wrench.faa-slow,.faa-wrench.animated-hover.faa-slow:hover,.faa-wrench.animated.faa-slow{-webkit-animation:wrench 3.7s ease infinite;animation:wrench 3.7s ease infinite}@-webkit-keyframes ring{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}2%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}4%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}6%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}8%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}10%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}12%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}14%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}18%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}100%,20%{-webkit-transform:rotate(0);transform:rotate(0)}}@keyframes ring{0%{-webkit-transform:rotate(-15deg);-ms-transform:rotate(-15deg);transform:rotate(-15deg)}2%{-webkit-transform:rotate(15deg);-ms-transform:rotate(15deg);transform:rotate(15deg)}4%{-webkit-transform:rotate(-18deg);-ms-transform:rotate(-18deg);transform:rotate(-18deg)}6%{-webkit-transform:rotate(18deg);-ms-transform:rotate(18deg);transform:rotate(18deg)}8%{-webkit-transform:rotate(-22deg);-ms-transform:rotate(-22deg);transform:rotate(-22deg)}10%{-webkit-transform:rotate(22deg);-ms-transform:rotate(22deg);transform:rotate(22deg)}12%{-webkit-transform:rotate(-18deg);-ms-transform:rotate(-18deg);transform:rotate(-18deg)}14%{-webkit-transform:rotate(18deg);-ms-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-12deg);-ms-transform:rotate(-12deg);transform:rotate(-12deg)}18%{-webkit-transform:rotate(12deg);-ms-transform:rotate(12deg);transform:rotate(12deg)}100%,20%{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}}.faa-parent.animated-hover:hover>.faa-ring,.faa-ring.animated,.faa-ring.animated-hover:hover{-webkit-animation:ring 2s ease infinite;animation:ring 2s ease infinite;transform-origin-x:50%;transform-origin-y:0;transform-origin-z:initial}.faa-parent.animated-hover:hover>.faa-ring.faa-fast,.faa-ring.animated-hover.faa-fast:hover,.faa-ring.animated.faa-fast{-webkit-animation:ring 1s ease infinite;animation:ring 1s ease infinite}.faa-parent.animated-hover:hover>.faa-ring.faa-slow,.faa-ring.animated-hover.faa-slow:hover,.faa-ring.animated.faa-slow{-webkit-animation:ring 3s ease infinite;animation:ring 3s ease infinite}@-webkit-keyframes vertical{0%{-webkit-transform:translate(0,-3px);transform:translate(0,-3px)}4%{-webkit-transform:translate(0,3px);transform:translate(0,3px)}8%{-webkit-transform:translate(0,-3px);transform:translate(0,-3px)}12%{-webkit-transform:translate(0,3px);transform:translate(0,3px)}16%{-webkit-transform:translate(0,-3px);transform:translate(0,-3px)}20%{-webkit-transform:translate(0,3px);transform:translate(0,3px)}100%,22%{-webkit-transform:translate(0,0);transform:translate(0,0)}}@keyframes vertical{0%{-webkit-transform:translate(0,-3px);-ms-transform:translate(0,-3px);transform:translate(0,-3px)}4%{-webkit-transform:translate(0,3px);-ms-transform:translate(0,3px);transform:translate(0,3px)}8%{-webkit-transform:translate(0,-3px);-ms-transform:translate(0,-3px);transform:translate(0,-3px)}12%{-webkit-transform:translate(0,3px);-ms-transform:translate(0,3px);transform:translate(0,3px)}16%{-webkit-transform:translate(0,-3px);-ms-transform:translate(0,-3px);transform:translate(0,-3px)}20%{-webkit-transform:translate(0,3px);-ms-transform:translate(0,3px);transform:translate(0,3px)}100%,22%{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}}.faa-parent.animated-hover:hover>.faa-vertical,.faa-vertical.animated,.faa-vertical.animated-hover:hover{-webkit-animation:vertical 2s ease infinite;animation:vertical 2s ease infinite}.faa-parent.animated-hover:hover>.faa-vertical.faa-fast,.faa-vertical.animated-hover.faa-fast:hover,.faa-vertical.animated.faa-fast{-webkit-animation:vertical 1s ease infinite;animation:vertical 1s ease infinite}.faa-parent.animated-hover:hover>.faa-vertical.faa-slow,.faa-vertical.animated-hover.faa-slow:hover,.faa-vertical.animated.faa-slow{-webkit-animation:vertical 4s ease infinite;animation:vertical 4s ease infinite}@-webkit-keyframes horizontal{0%{-webkit-transform:translate(0,0);transform:translate(0,0)}6%{-webkit-transform:translate(5px,0);transform:translate(5px,0)}12%{-webkit-transform:translate(0,0);transform:translate(0,0)}18%{-webkit-transform:translate(5px,0);transform:translate(5px,0)}24%{-webkit-transform:translate(0,0);transform:translate(0,0)}30%{-webkit-transform:translate(5px,0);transform:translate(5px,0)}100%,36%{-webkit-transform:translate(0,0);transform:translate(0,0)}}@keyframes horizontal{0%{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}6%{-webkit-transform:translate(5px,0);-ms-transform:translate(5px,0);transform:translate(5px,0)}12%{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}18%{-webkit-transform:translate(5px,0);-ms-transform:translate(5px,0);transform:translate(5px,0)}24%{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}30%{-webkit-transform:translate(5px,0);-ms-transform:translate(5px,0);transform:translate(5px,0)}100%,36%{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}}.faa-horizontal.animated,.faa-horizontal.animated-hover:hover,.faa-parent.animated-hover:hover>.faa-horizontal{-webkit-animation:horizontal 2s ease infinite;animation:horizontal 2s ease infinite}.faa-horizontal.animated-hover.faa-fast:hover,.faa-horizontal.animated.faa-fast,.faa-parent.animated-hover:hover>.faa-horizontal.faa-fast{-webkit-animation:horizontal 1s ease infinite;animation:horizontal 1s ease infinite}.faa-horizontal.animated-hover.faa-slow:hover,.faa-horizontal.animated.faa-slow,.faa-parent.animated-hover:hover>.faa-horizontal.faa-slow{-webkit-animation:horizontal 3s ease infinite;animation:horizontal 3s ease infinite}@-webkit-keyframes flash{0%,100%,50%{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,100%,50%{opacity:1}25%,75%{opacity:0}}.faa-flash.animated,.faa-flash.animated-hover:hover,.faa-parent.animated-hover:hover>.faa-flash{-webkit-animation:flash 2s ease infinite;animation:flash 2s ease infinite}.faa-flash.animated-hover.faa-fast:hover,.faa-flash.animated.faa-fast,.faa-parent.animated-hover:hover>.faa-flash.faa-fast{-webkit-animation:flash 1s ease infinite;animation:flash 1s ease infinite}.faa-flash.animated-hover.faa-slow:hover,.faa-flash.animated.faa-slow,.faa-parent.animated-hover:hover>.faa-flash.faa-slow{-webkit-animation:flash 3s ease infinite;animation:flash 3s ease infinite}@-webkit-keyframes bounce{0%,10%,100%,20%,50%,80%{-webkit-transform:translateY(0);transform:translateY(0)}40%,60%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}}@keyframes bounce{0%,10%,100%,20%,50%,80%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}40%,60%{-webkit-transform:translateY(-15px);-ms-transform:translateY(-15px);transform:translateY(-15px)}}.faa-bounce.animated,.faa-bounce.animated-hover:hover,.faa-parent.animated-hover:hover>.faa-bounce{-webkit-animation:bounce 2s ease infinite;animation:bounce 2s ease infinite}.faa-bounce.animated-hover.faa-fast:hover,.faa-bounce.animated.faa-fast,.faa-parent.animated-hover:hover>.faa-bounce.faa-fast{-webkit-animation:bounce 1s ease infinite;animation:bounce 1s ease infinite}.faa-bounce.animated-hover.faa-slow:hover,.faa-bounce.animated.faa-slow,.faa-parent.animated-hover:hover>.faa-bounce.faa-slow{-webkit-animation:bounce 3s ease infinite;animation:bounce 3s ease infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);-ms-transform:rotate(359deg);transform:rotate(359deg)}}.faa-parent.animated-hover:hover>.faa-spin,.faa-spin.animated,.faa-spin.animated-hover:hover{-webkit-animation:spin 1.5s linear infinite;animation:spin 1.5s linear infinite}.faa-parent.animated-hover:hover>.faa-spin.faa-fast,.faa-spin.animated-hover.faa-fast:hover,.faa-spin.animated.faa-fast{-webkit-animation:spin .7s linear infinite;animation:spin .7s linear infinite}.faa-parent.animated-hover:hover>.faa-spin.faa-slow,.faa-spin.animated-hover.faa-slow:hover,.faa-spin.animated.faa-slow{-webkit-animation:spin 2.2s linear infinite;animation:spin 2.2s linear infinite}@-webkit-keyframes float{0%{-webkit-transform:translateY(0);transform:translateY(0)}50%{-webkit-transform:translateY(-6px);transform:translateY(-6px)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes float{0%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}50%{-webkit-transform:translateY(-6px);-ms-transform:translateY(-6px);transform:translateY(-6px)}100%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}}.faa-float.animated,.faa-float.animated-hover:hover,.faa-parent.animated-hover:hover>.faa-float{-webkit-animation:float 2s linear infinite;animation:float 2s linear infinite}.faa-float.animated-hover.faa-fast:hover,.faa-float.animated.faa-fast,.faa-parent.animated-hover:hover>.faa-float.faa-fast{-webkit-animation:float 1s linear infinite;animation:float 1s linear infinite}.faa-float.animated-hover.faa-slow:hover,.faa-float.animated.faa-slow,.faa-parent.animated-hover:hover>.faa-float.faa-slow{-webkit-animation:float 3s linear infinite;animation:float 3s linear infinite}@-webkit-keyframes pulse{0%{-webkit-transform:scale(1.1);transform:scale(1.1)}50%{-webkit-transform:scale(0.8);transform:scale(0.8)}100%{-webkit-transform:scale(1.1);transform:scale(1.1)}}@keyframes pulse{0%{-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}50%{-webkit-transform:scale(0.8);-ms-transform:scale(0.8);transform:scale(0.8)}100%{-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}}.faa-parent.animated-hover:hover>.faa-pulse,.faa-pulse.animated,.faa-pulse.animated-hover:hover{-webkit-animation:pulse 2s linear infinite;animation:pulse 2s linear infinite}.faa-parent.animated-hover:hover>.faa-pulse.faa-fast,.faa-pulse.animated-hover.faa-fast:hover,.faa-pulse.animated.faa-fast{-webkit-animation:pulse 1s linear infinite;animation:pulse 1s linear infinite}.faa-parent.animated-hover:hover>.faa-pulse.faa-slow,.faa-pulse.animated-hover.faa-slow:hover,.faa-pulse.animated.faa-slow{-webkit-animation:pulse 3s linear infinite;animation:pulse 3s linear infinite}.faa-parent.animated-hover:hover>.faa-shake,.faa-shake.animated,.faa-shake.animated-hover:hover{-webkit-animation:wrench 2.5s ease infinite;animation:wrench 2.5s ease infinite}.faa-parent.animated-hover:hover>.faa-shake.faa-fast,.faa-shake.animated-hover.faa-fast:hover,.faa-shake.animated.faa-fast{-webkit-animation:wrench 1.2s ease infinite;animation:wrench 1.2s ease infinite}.faa-parent.animated-hover:hover>.faa-shake.faa-slow,.faa-shake.animated-hover.faa-slow:hover,.faa-shake.animated.faa-slow{-webkit-animation:wrench 3.7s ease infinite;animation:wrench 3.7s ease infinite}@-webkit-keyframes tada{0%{-webkit-transform:scale(1);transform:scale(1)}10%,20%{-webkit-transform:scale(.9) rotate(-8deg);transform:scale(.9) rotate(-8deg)}30%,50%,70%{-webkit-transform:scale(1.3) rotate(8deg);transform:scale(1.3) rotate(8deg)}40%,60%{-webkit-transform:scale(1.3) rotate(-8deg);transform:scale(1.3) rotate(-8deg)}100%,80%{-webkit-transform:scale(1) rotate(0);transform:scale(1) rotate(0)}}@keyframes tada{0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}10%,20%{-webkit-transform:scale(.9) rotate(-8deg);-ms-transform:scale(.9) rotate(-8deg);transform:scale(.9) rotate(-8deg)}30%,50%,70%{-webkit-transform:scale(1.3) rotate(8deg);-ms-transform:scale(1.3) rotate(8deg);transform:scale(1.3) rotate(8deg)}40%,60%{-webkit-transform:scale(1.3) rotate(-8deg);-ms-transform:scale(1.3) rotate(-8deg);transform:scale(1.3) rotate(-8deg)}100%,80%{-webkit-transform:scale(1) rotate(0);-ms-transform:scale(1) rotate(0);transform:scale(1) rotate(0)}}.faa-parent.animated-hover:hover>.faa-tada,.faa-tada.animated,.faa-tada.animated-hover:hover{-webkit-animation:tada 2s linear infinite;animation:tada 2s linear infinite}.faa-parent.animated-hover:hover>.faa-tada.faa-fast,.faa-tada.animated-hover.faa-fast:hover,.faa-tada.animated.faa-fast{-webkit-animation:tada 1s linear infinite;animation:tada 1s linear infinite}.faa-parent.animated-hover:hover>.faa-tada.faa-slow,.faa-tada.animated-hover.faa-slow:hover,.faa-tada.animated.faa-slow{-webkit-animation:tada 3s linear infinite;animation:tada 3s linear infinite}@-webkit-keyframes passing{0%{-webkit-transform:translateX(-50%);transform:translateX(-50%);opacity:0}50%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(50%);transform:translateX(50%);opacity:0}}@keyframes passing{0%{-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);opacity:0}50%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%);opacity:0}}.faa-parent.animated-hover:hover>.faa-passing,.faa-passing.animated,.faa-passing.animated-hover:hover{-webkit-animation:passing 2s linear infinite;animation:passing 2s linear infinite}.faa-parent.animated-hover:hover>.faa-passing.faa-fast,.faa-passing.animated-hover.faa-fast:hover,.faa-passing.animated.faa-fast{-webkit-animation:passing 1s linear infinite;animation:passing 1s linear infinite}.faa-parent.animated-hover:hover>.faa-passing.faa-slow,.faa-passing.animated-hover.faa-slow:hover,.faa-passing.animated.faa-slow{-webkit-animation:passing 3s linear infinite;animation:passing 3s linear infinite}@-webkit-keyframes passing-reverse{0%{-webkit-transform:translateX(50%);transform:translateX(50%);opacity:0}50%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(-50%);transform:translateX(-50%);opacity:0}}@keyframes passing-reverse{0%{-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%);opacity:0}50%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);opacity:0}}.faa-parent.animated-hover:hover>.faa-passing-reverse,.faa-passing-reverse.animated,.faa-passing-reverse.animated-hover:hover{-webkit-animation:passing-reverse 2s linear infinite;animation:passing-reverse 2s linear infinite}.faa-parent.animated-hover:hover>.faa-passing-reverse.faa-fast,.faa-passing-reverse.animated-hover.faa-fast:hover,.faa-passing-reverse.animated.faa-fast{-webkit-animation:passing-reverse 1s linear infinite;animation:passing-reverse 1s linear infinite}.faa-parent.animated-hover:hover>.faa-passing-reverse.faa-slow,.faa-passing-reverse.animated-hover.faa-slow:hover,.faa-passing-reverse.animated.faa-slow{-webkit-animation:passing-reverse 3s linear infinite;animation:passing-reverse 3s linear infinite}@-webkit-keyframes burst{0%{opacity:.6}50%{-webkit-transform:scale(1.8);transform:scale(1.8);opacity:0}100%{opacity:0}}@keyframes burst{0%{opacity:.6}50%{-webkit-transform:scale(1.8);-ms-transform:scale(1.8);transform:scale(1.8);opacity:0}100%{opacity:0}}.faa-burst.animated,.faa-burst.animated-hover:hover,.faa-parent.animated-hover:hover>.faa-burst{-webkit-animation:burst 2s infinite linear;animation:burst 2s infinite linear}.faa-burst.animated-hover.faa-fast:hover,.faa-burst.animated.faa-fast,.faa-parent.animated-hover:hover>.faa-burst.faa-fast{-webkit-animation:burst 1s infinite linear;animation:burst 1s infinite linear}.faa-burst.animated-hover.faa-slow:hover,.faa-burst.animated.faa-slow,.faa-parent.animated-hover:hover>.faa-burst.faa-slow{-webkit-animation:burst 3s infinite linear;animation:burst 3s infinite linear}@-webkit-keyframes falling{0%{-webkit-transform:translateY(-50%);transform:translateY(-50%);opacity:0}50%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}100%{-webkit-transform:translateY(50%);transform:translateY(50%);opacity:0}}@keyframes falling{0%{-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);opacity:0}50%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);opacity:1}100%{-webkit-transform:translateY(50%);-ms-transform:translateY(50%);transform:translateY(50%);opacity:0}}.faa-falling.animated,.faa-falling.animated-hover:hover,.faa-parent.animated-hover:hover>.faa-falling{-webkit-animation:falling 2s linear infinite;animation:falling 2s linear infinite}.faa-falling.animated-hover.faa-fast:hover,.faa-falling.animated.faa-fast,.faa-parent.animated-hover:hover>.faa-falling.faa-fast{-webkit-animation:falling 1s linear infinite;animation:falling 1s linear infinite}.faa-falling.animated-hover.faa-slow:hover,.faa-falling.animated.faa-slow,.faa-parent.animated-hover:hover>.faa-falling.faa-slow{-webkit-animation:falling 3s linear infinite;animation:falling 3s linear infinite}/*! - * Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome - * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) - */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.7.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left{margin-right:.3em}.fa.fa-pull-right{margin-left:.3em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}.fa-pulse{-webkit-animation:fa-spin 1s infinite steps(8);animation:fa-spin 1s infinite steps(8)}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scale(-1,1)}.fa-flip-vertical{-ms-filter:"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";-webkit-transform:scale(1,-1);-ms-transform:scale(1,-1);transform:scale(1,-1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook-f:before,.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-feed:before,.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before,.fa-gratipay:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper-pp:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-resistance:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-y-combinator-square:before,.fa-yc-square:before,.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}.fa-buysellads:before{content:"\f20d"}.fa-connectdevelop:before{content:"\f20e"}.fa-dashcube:before{content:"\f210"}.fa-forumbee:before{content:"\f211"}.fa-leanpub:before{content:"\f212"}.fa-sellsy:before{content:"\f213"}.fa-shirtsinbulk:before{content:"\f214"}.fa-simplybuilt:before{content:"\f215"}.fa-skyatlas:before{content:"\f216"}.fa-cart-plus:before{content:"\f217"}.fa-cart-arrow-down:before{content:"\f218"}.fa-diamond:before{content:"\f219"}.fa-ship:before{content:"\f21a"}.fa-user-secret:before{content:"\f21b"}.fa-motorcycle:before{content:"\f21c"}.fa-street-view:before{content:"\f21d"}.fa-heartbeat:before{content:"\f21e"}.fa-venus:before{content:"\f221"}.fa-mars:before{content:"\f222"}.fa-mercury:before{content:"\f223"}.fa-intersex:before,.fa-transgender:before{content:"\f224"}.fa-transgender-alt:before{content:"\f225"}.fa-venus-double:before{content:"\f226"}.fa-mars-double:before{content:"\f227"}.fa-venus-mars:before{content:"\f228"}.fa-mars-stroke:before{content:"\f229"}.fa-mars-stroke-v:before{content:"\f22a"}.fa-mars-stroke-h:before{content:"\f22b"}.fa-neuter:before{content:"\f22c"}.fa-genderless:before{content:"\f22d"}.fa-facebook-official:before{content:"\f230"}.fa-pinterest-p:before{content:"\f231"}.fa-whatsapp:before{content:"\f232"}.fa-server:before{content:"\f233"}.fa-user-plus:before{content:"\f234"}.fa-user-times:before{content:"\f235"}.fa-hotel:before,.fa-bed:before{content:"\f236"}.fa-viacoin:before{content:"\f237"}.fa-train:before{content:"\f238"}.fa-subway:before{content:"\f239"}.fa-medium:before{content:"\f23a"}.fa-yc:before,.fa-y-combinator:before{content:"\f23b"}.fa-optin-monster:before{content:"\f23c"}.fa-opencart:before{content:"\f23d"}.fa-expeditedssl:before{content:"\f23e"}.fa-battery-4:before,.fa-battery:before,.fa-battery-full:before{content:"\f240"}.fa-battery-3:before,.fa-battery-three-quarters:before{content:"\f241"}.fa-battery-2:before,.fa-battery-half:before{content:"\f242"}.fa-battery-1:before,.fa-battery-quarter:before{content:"\f243"}.fa-battery-0:before,.fa-battery-empty:before{content:"\f244"}.fa-mouse-pointer:before{content:"\f245"}.fa-i-cursor:before{content:"\f246"}.fa-object-group:before{content:"\f247"}.fa-object-ungroup:before{content:"\f248"}.fa-sticky-note:before{content:"\f249"}.fa-sticky-note-o:before{content:"\f24a"}.fa-cc-jcb:before{content:"\f24b"}.fa-cc-diners-club:before{content:"\f24c"}.fa-clone:before{content:"\f24d"}.fa-balance-scale:before{content:"\f24e"}.fa-hourglass-o:before{content:"\f250"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\f251"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\f252"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\f253"}.fa-hourglass:before{content:"\f254"}.fa-hand-grab-o:before,.fa-hand-rock-o:before{content:"\f255"}.fa-hand-stop-o:before,.fa-hand-paper-o:before{content:"\f256"}.fa-hand-scissors-o:before{content:"\f257"}.fa-hand-lizard-o:before{content:"\f258"}.fa-hand-spock-o:before{content:"\f259"}.fa-hand-pointer-o:before{content:"\f25a"}.fa-hand-peace-o:before{content:"\f25b"}.fa-trademark:before{content:"\f25c"}.fa-registered:before{content:"\f25d"}.fa-creative-commons:before{content:"\f25e"}.fa-gg:before{content:"\f260"}.fa-gg-circle:before{content:"\f261"}.fa-tripadvisor:before{content:"\f262"}.fa-odnoklassniki:before{content:"\f263"}.fa-odnoklassniki-square:before{content:"\f264"}.fa-get-pocket:before{content:"\f265"}.fa-wikipedia-w:before{content:"\f266"}.fa-safari:before{content:"\f267"}.fa-chrome:before{content:"\f268"}.fa-firefox:before{content:"\f269"}.fa-opera:before{content:"\f26a"}.fa-internet-explorer:before{content:"\f26b"}.fa-tv:before,.fa-television:before{content:"\f26c"}.fa-contao:before{content:"\f26d"}.fa-500px:before{content:"\f26e"}.fa-amazon:before{content:"\f270"}.fa-calendar-plus-o:before{content:"\f271"}.fa-calendar-minus-o:before{content:"\f272"}.fa-calendar-times-o:before{content:"\f273"}.fa-calendar-check-o:before{content:"\f274"}.fa-industry:before{content:"\f275"}.fa-map-pin:before{content:"\f276"}.fa-map-signs:before{content:"\f277"}.fa-map-o:before{content:"\f278"}.fa-map:before{content:"\f279"}.fa-commenting:before{content:"\f27a"}.fa-commenting-o:before{content:"\f27b"}.fa-houzz:before{content:"\f27c"}.fa-vimeo:before{content:"\f27d"}.fa-black-tie:before{content:"\f27e"}.fa-fonticons:before{content:"\f280"}.fa-reddit-alien:before{content:"\f281"}.fa-edge:before{content:"\f282"}.fa-credit-card-alt:before{content:"\f283"}.fa-codiepie:before{content:"\f284"}.fa-modx:before{content:"\f285"}.fa-fort-awesome:before{content:"\f286"}.fa-usb:before{content:"\f287"}.fa-product-hunt:before{content:"\f288"}.fa-mixcloud:before{content:"\f289"}.fa-scribd:before{content:"\f28a"}.fa-pause-circle:before{content:"\f28b"}.fa-pause-circle-o:before{content:"\f28c"}.fa-stop-circle:before{content:"\f28d"}.fa-stop-circle-o:before{content:"\f28e"}.fa-shopping-bag:before{content:"\f290"}.fa-shopping-basket:before{content:"\f291"}.fa-hashtag:before{content:"\f292"}.fa-bluetooth:before{content:"\f293"}.fa-bluetooth-b:before{content:"\f294"}.fa-percent:before{content:"\f295"}.fa-gitlab:before{content:"\f296"}.fa-wpbeginner:before{content:"\f297"}.fa-wpforms:before{content:"\f298"}.fa-envira:before{content:"\f299"}.fa-universal-access:before{content:"\f29a"}.fa-wheelchair-alt:before{content:"\f29b"}.fa-question-circle-o:before{content:"\f29c"}.fa-blind:before{content:"\f29d"}.fa-audio-description:before{content:"\f29e"}.fa-volume-control-phone:before{content:"\f2a0"}.fa-braille:before{content:"\f2a1"}.fa-assistive-listening-systems:before{content:"\f2a2"}.fa-asl-interpreting:before,.fa-american-sign-language-interpreting:before{content:"\f2a3"}.fa-deafness:before,.fa-hard-of-hearing:before,.fa-deaf:before{content:"\f2a4"}.fa-glide:before{content:"\f2a5"}.fa-glide-g:before{content:"\f2a6"}.fa-signing:before,.fa-sign-language:before{content:"\f2a7"}.fa-low-vision:before{content:"\f2a8"}.fa-viadeo:before{content:"\f2a9"}.fa-viadeo-square:before{content:"\f2aa"}.fa-snapchat:before{content:"\f2ab"}.fa-snapchat-ghost:before{content:"\f2ac"}.fa-snapchat-square:before{content:"\f2ad"}.fa-pied-piper:before{content:"\f2ae"}.fa-first-order:before{content:"\f2b0"}.fa-yoast:before{content:"\f2b1"}.fa-themeisle:before{content:"\f2b2"}.fa-google-plus-circle:before,.fa-google-plus-official:before{content:"\f2b3"}.fa-fa:before,.fa-font-awesome:before{content:"\f2b4"}.fa-handshake-o:before{content:"\f2b5"}.fa-envelope-open:before{content:"\f2b6"}.fa-envelope-open-o:before{content:"\f2b7"}.fa-linode:before{content:"\f2b8"}.fa-address-book:before{content:"\f2b9"}.fa-address-book-o:before{content:"\f2ba"}.fa-vcard:before,.fa-address-card:before{content:"\f2bb"}.fa-vcard-o:before,.fa-address-card-o:before{content:"\f2bc"}.fa-user-circle:before{content:"\f2bd"}.fa-user-circle-o:before{content:"\f2be"}.fa-user-o:before{content:"\f2c0"}.fa-id-badge:before{content:"\f2c1"}.fa-drivers-license:before,.fa-id-card:before{content:"\f2c2"}.fa-drivers-license-o:before,.fa-id-card-o:before{content:"\f2c3"}.fa-quora:before{content:"\f2c4"}.fa-free-code-camp:before{content:"\f2c5"}.fa-telegram:before{content:"\f2c6"}.fa-thermometer-4:before,.fa-thermometer:before,.fa-thermometer-full:before{content:"\f2c7"}.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\f2c8"}.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\f2c9"}.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\f2ca"}.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\f2cb"}.fa-shower:before{content:"\f2cc"}.fa-bathtub:before,.fa-s15:before,.fa-bath:before{content:"\f2cd"}.fa-podcast:before{content:"\f2ce"}.fa-window-maximize:before{content:"\f2d0"}.fa-window-minimize:before{content:"\f2d1"}.fa-window-restore:before{content:"\f2d2"}.fa-times-rectangle:before,.fa-window-close:before{content:"\f2d3"}.fa-times-rectangle-o:before,.fa-window-close-o:before{content:"\f2d4"}.fa-bandcamp:before{content:"\f2d5"}.fa-grav:before{content:"\f2d6"}.fa-etsy:before{content:"\f2d7"}.fa-imdb:before{content:"\f2d8"}.fa-ravelry:before{content:"\f2d9"}.fa-eercast:before{content:"\f2da"}.fa-microchip:before{content:"\f2db"}.fa-snowflake-o:before{content:"\f2dc"}.fa-superpowers:before{content:"\f2dd"}.fa-wpexplorer:before{content:"\f2de"}.fa-meetup:before{content:"\f2e0"}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}/*! - * font-awesome-animation - v0.1.0 - * https://github.com/l-lin/font-awesome-animation - * License: MIT - */@-webkit-keyframes wrench{0%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}8%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}10%{-webkit-transform:rotate(24deg);transform:rotate(24deg)}18%,20%{-webkit-transform:rotate(-24deg);transform:rotate(-24deg)}28%,30%{-webkit-transform:rotate(24deg);transform:rotate(24deg)}38%,40%{-webkit-transform:rotate(-24deg);transform:rotate(-24deg)}48%,50%{-webkit-transform:rotate(24deg);transform:rotate(24deg)}58%,60%{-webkit-transform:rotate(-24deg);transform:rotate(-24deg)}68%{-webkit-transform:rotate(24deg);transform:rotate(24deg)}100%,75%{-webkit-transform:rotate(0);transform:rotate(0)}}@keyframes wrench{0%{-webkit-transform:rotate(-12deg);-ms-transform:rotate(-12deg);transform:rotate(-12deg)}8%{-webkit-transform:rotate(12deg);-ms-transform:rotate(12deg);transform:rotate(12deg)}10%{-webkit-transform:rotate(24deg);-ms-transform:rotate(24deg);transform:rotate(24deg)}18%,20%{-webkit-transform:rotate(-24deg);-ms-transform:rotate(-24deg);transform:rotate(-24deg)}28%,30%{-webkit-transform:rotate(24deg);-ms-transform:rotate(24deg);transform:rotate(24deg)}38%,40%{-webkit-transform:rotate(-24deg);-ms-transform:rotate(-24deg);transform:rotate(-24deg)}48%,50%{-webkit-transform:rotate(24deg);-ms-transform:rotate(24deg);transform:rotate(24deg)}58%,60%{-webkit-transform:rotate(-24deg);-ms-transform:rotate(-24deg);transform:rotate(-24deg)}68%{-webkit-transform:rotate(24deg);-ms-transform:rotate(24deg);transform:rotate(24deg)}100%,75%{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}}.faa-parent.animated-hover:hover>.faa-wrench,.faa-wrench.animated,.faa-wrench.animated-hover:hover{-webkit-animation:wrench 2.5s ease infinite;animation:wrench 2.5s ease infinite;transform-origin-x:90%;transform-origin-y:35%;transform-origin-z:initial}.faa-parent.animated-hover:hover>.faa-wrench.faa-fast,.faa-wrench.animated-hover.faa-fast:hover,.faa-wrench.animated.faa-fast{-webkit-animation:wrench 1.2s ease infinite;animation:wrench 1.2s ease infinite}.faa-parent.animated-hover:hover>.faa-wrench.faa-slow,.faa-wrench.animated-hover.faa-slow:hover,.faa-wrench.animated.faa-slow{-webkit-animation:wrench 3.7s ease infinite;animation:wrench 3.7s ease infinite}@-webkit-keyframes ring{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}2%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}4%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}6%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}8%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}10%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}12%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}14%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}18%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}100%,20%{-webkit-transform:rotate(0);transform:rotate(0)}}@keyframes ring{0%{-webkit-transform:rotate(-15deg);-ms-transform:rotate(-15deg);transform:rotate(-15deg)}2%{-webkit-transform:rotate(15deg);-ms-transform:rotate(15deg);transform:rotate(15deg)}4%{-webkit-transform:rotate(-18deg);-ms-transform:rotate(-18deg);transform:rotate(-18deg)}6%{-webkit-transform:rotate(18deg);-ms-transform:rotate(18deg);transform:rotate(18deg)}8%{-webkit-transform:rotate(-22deg);-ms-transform:rotate(-22deg);transform:rotate(-22deg)}10%{-webkit-transform:rotate(22deg);-ms-transform:rotate(22deg);transform:rotate(22deg)}12%{-webkit-transform:rotate(-18deg);-ms-transform:rotate(-18deg);transform:rotate(-18deg)}14%{-webkit-transform:rotate(18deg);-ms-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-12deg);-ms-transform:rotate(-12deg);transform:rotate(-12deg)}18%{-webkit-transform:rotate(12deg);-ms-transform:rotate(12deg);transform:rotate(12deg)}100%,20%{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}}.faa-parent.animated-hover:hover>.faa-ring,.faa-ring.animated,.faa-ring.animated-hover:hover{-webkit-animation:ring 2s ease infinite;animation:ring 2s ease infinite;transform-origin-x:50%;transform-origin-y:0;transform-origin-z:initial}.faa-parent.animated-hover:hover>.faa-ring.faa-fast,.faa-ring.animated-hover.faa-fast:hover,.faa-ring.animated.faa-fast{-webkit-animation:ring 1s ease infinite;animation:ring 1s ease infinite}.faa-parent.animated-hover:hover>.faa-ring.faa-slow,.faa-ring.animated-hover.faa-slow:hover,.faa-ring.animated.faa-slow{-webkit-animation:ring 3s ease infinite;animation:ring 3s ease infinite}@-webkit-keyframes vertical{0%{-webkit-transform:translate(0,-3px);transform:translate(0,-3px)}4%{-webkit-transform:translate(0,3px);transform:translate(0,3px)}8%{-webkit-transform:translate(0,-3px);transform:translate(0,-3px)}12%{-webkit-transform:translate(0,3px);transform:translate(0,3px)}16%{-webkit-transform:translate(0,-3px);transform:translate(0,-3px)}20%{-webkit-transform:translate(0,3px);transform:translate(0,3px)}100%,22%{-webkit-transform:translate(0,0);transform:translate(0,0)}}@keyframes vertical{0%{-webkit-transform:translate(0,-3px);-ms-transform:translate(0,-3px);transform:translate(0,-3px)}4%{-webkit-transform:translate(0,3px);-ms-transform:translate(0,3px);transform:translate(0,3px)}8%{-webkit-transform:translate(0,-3px);-ms-transform:translate(0,-3px);transform:translate(0,-3px)}12%{-webkit-transform:translate(0,3px);-ms-transform:translate(0,3px);transform:translate(0,3px)}16%{-webkit-transform:translate(0,-3px);-ms-transform:translate(0,-3px);transform:translate(0,-3px)}20%{-webkit-transform:translate(0,3px);-ms-transform:translate(0,3px);transform:translate(0,3px)}100%,22%{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}}.faa-parent.animated-hover:hover>.faa-vertical,.faa-vertical.animated,.faa-vertical.animated-hover:hover{-webkit-animation:vertical 2s ease infinite;animation:vertical 2s ease infinite}.faa-parent.animated-hover:hover>.faa-vertical.faa-fast,.faa-vertical.animated-hover.faa-fast:hover,.faa-vertical.animated.faa-fast{-webkit-animation:vertical 1s ease infinite;animation:vertical 1s ease infinite}.faa-parent.animated-hover:hover>.faa-vertical.faa-slow,.faa-vertical.animated-hover.faa-slow:hover,.faa-vertical.animated.faa-slow{-webkit-animation:vertical 4s ease infinite;animation:vertical 4s ease infinite}@-webkit-keyframes horizontal{0%{-webkit-transform:translate(0,0);transform:translate(0,0)}6%{-webkit-transform:translate(5px,0);transform:translate(5px,0)}12%{-webkit-transform:translate(0,0);transform:translate(0,0)}18%{-webkit-transform:translate(5px,0);transform:translate(5px,0)}24%{-webkit-transform:translate(0,0);transform:translate(0,0)}30%{-webkit-transform:translate(5px,0);transform:translate(5px,0)}100%,36%{-webkit-transform:translate(0,0);transform:translate(0,0)}}@keyframes horizontal{0%{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}6%{-webkit-transform:translate(5px,0);-ms-transform:translate(5px,0);transform:translate(5px,0)}12%{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}18%{-webkit-transform:translate(5px,0);-ms-transform:translate(5px,0);transform:translate(5px,0)}24%{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}30%{-webkit-transform:translate(5px,0);-ms-transform:translate(5px,0);transform:translate(5px,0)}100%,36%{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}}.faa-horizontal.animated,.faa-horizontal.animated-hover:hover,.faa-parent.animated-hover:hover>.faa-horizontal{-webkit-animation:horizontal 2s ease infinite;animation:horizontal 2s ease infinite}.faa-horizontal.animated-hover.faa-fast:hover,.faa-horizontal.animated.faa-fast,.faa-parent.animated-hover:hover>.faa-horizontal.faa-fast{-webkit-animation:horizontal 1s ease infinite;animation:horizontal 1s ease infinite}.faa-horizontal.animated-hover.faa-slow:hover,.faa-horizontal.animated.faa-slow,.faa-parent.animated-hover:hover>.faa-horizontal.faa-slow{-webkit-animation:horizontal 3s ease infinite;animation:horizontal 3s ease infinite}@-webkit-keyframes flash{0%,100%,50%{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,100%,50%{opacity:1}25%,75%{opacity:0}}.faa-flash.animated,.faa-flash.animated-hover:hover,.faa-parent.animated-hover:hover>.faa-flash{-webkit-animation:flash 2s ease infinite;animation:flash 2s ease infinite}.faa-flash.animated-hover.faa-fast:hover,.faa-flash.animated.faa-fast,.faa-parent.animated-hover:hover>.faa-flash.faa-fast{-webkit-animation:flash 1s ease infinite;animation:flash 1s ease infinite}.faa-flash.animated-hover.faa-slow:hover,.faa-flash.animated.faa-slow,.faa-parent.animated-hover:hover>.faa-flash.faa-slow{-webkit-animation:flash 3s ease infinite;animation:flash 3s ease infinite}@-webkit-keyframes bounce{0%,10%,100%,20%,50%,80%{-webkit-transform:translateY(0);transform:translateY(0)}40%,60%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}}@keyframes bounce{0%,10%,100%,20%,50%,80%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}40%,60%{-webkit-transform:translateY(-15px);-ms-transform:translateY(-15px);transform:translateY(-15px)}}.faa-bounce.animated,.faa-bounce.animated-hover:hover,.faa-parent.animated-hover:hover>.faa-bounce{-webkit-animation:bounce 2s ease infinite;animation:bounce 2s ease infinite}.faa-bounce.animated-hover.faa-fast:hover,.faa-bounce.animated.faa-fast,.faa-parent.animated-hover:hover>.faa-bounce.faa-fast{-webkit-animation:bounce 1s ease infinite;animation:bounce 1s ease infinite}.faa-bounce.animated-hover.faa-slow:hover,.faa-bounce.animated.faa-slow,.faa-parent.animated-hover:hover>.faa-bounce.faa-slow{-webkit-animation:bounce 3s ease infinite;animation:bounce 3s ease infinite}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spin{0%{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(359deg);-ms-transform:rotate(359deg);transform:rotate(359deg)}}.faa-parent.animated-hover:hover>.faa-spin,.faa-spin.animated,.faa-spin.animated-hover:hover{-webkit-animation:spin 1.5s linear infinite;animation:spin 1.5s linear infinite}.faa-parent.animated-hover:hover>.faa-spin.faa-fast,.faa-spin.animated-hover.faa-fast:hover,.faa-spin.animated.faa-fast{-webkit-animation:spin .7s linear infinite;animation:spin .7s linear infinite}.faa-parent.animated-hover:hover>.faa-spin.faa-slow,.faa-spin.animated-hover.faa-slow:hover,.faa-spin.animated.faa-slow{-webkit-animation:spin 2.2s linear infinite;animation:spin 2.2s linear infinite}@-webkit-keyframes float{0%{-webkit-transform:translateY(0);transform:translateY(0)}50%{-webkit-transform:translateY(-6px);transform:translateY(-6px)}100%{-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes float{0%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}50%{-webkit-transform:translateY(-6px);-ms-transform:translateY(-6px);transform:translateY(-6px)}100%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}}.faa-float.animated,.faa-float.animated-hover:hover,.faa-parent.animated-hover:hover>.faa-float{-webkit-animation:float 2s linear infinite;animation:float 2s linear infinite}.faa-float.animated-hover.faa-fast:hover,.faa-float.animated.faa-fast,.faa-parent.animated-hover:hover>.faa-float.faa-fast{-webkit-animation:float 1s linear infinite;animation:float 1s linear infinite}.faa-float.animated-hover.faa-slow:hover,.faa-float.animated.faa-slow,.faa-parent.animated-hover:hover>.faa-float.faa-slow{-webkit-animation:float 3s linear infinite;animation:float 3s linear infinite}@-webkit-keyframes pulse{0%{-webkit-transform:scale(1.1);transform:scale(1.1)}50%{-webkit-transform:scale(0.8);transform:scale(0.8)}100%{-webkit-transform:scale(1.1);transform:scale(1.1)}}@keyframes pulse{0%{-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}50%{-webkit-transform:scale(0.8);-ms-transform:scale(0.8);transform:scale(0.8)}100%{-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}}.faa-parent.animated-hover:hover>.faa-pulse,.faa-pulse.animated,.faa-pulse.animated-hover:hover{-webkit-animation:pulse 2s linear infinite;animation:pulse 2s linear infinite}.faa-parent.animated-hover:hover>.faa-pulse.faa-fast,.faa-pulse.animated-hover.faa-fast:hover,.faa-pulse.animated.faa-fast{-webkit-animation:pulse 1s linear infinite;animation:pulse 1s linear infinite}.faa-parent.animated-hover:hover>.faa-pulse.faa-slow,.faa-pulse.animated-hover.faa-slow:hover,.faa-pulse.animated.faa-slow{-webkit-animation:pulse 3s linear infinite;animation:pulse 3s linear infinite}.faa-parent.animated-hover:hover>.faa-shake,.faa-shake.animated,.faa-shake.animated-hover:hover{-webkit-animation:wrench 2.5s ease infinite;animation:wrench 2.5s ease infinite}.faa-parent.animated-hover:hover>.faa-shake.faa-fast,.faa-shake.animated-hover.faa-fast:hover,.faa-shake.animated.faa-fast{-webkit-animation:wrench 1.2s ease infinite;animation:wrench 1.2s ease infinite}.faa-parent.animated-hover:hover>.faa-shake.faa-slow,.faa-shake.animated-hover.faa-slow:hover,.faa-shake.animated.faa-slow{-webkit-animation:wrench 3.7s ease infinite;animation:wrench 3.7s ease infinite}@-webkit-keyframes tada{0%{-webkit-transform:scale(1);transform:scale(1)}10%,20%{-webkit-transform:scale(.9) rotate(-8deg);transform:scale(.9) rotate(-8deg)}30%,50%,70%{-webkit-transform:scale(1.3) rotate(8deg);transform:scale(1.3) rotate(8deg)}40%,60%{-webkit-transform:scale(1.3) rotate(-8deg);transform:scale(1.3) rotate(-8deg)}100%,80%{-webkit-transform:scale(1) rotate(0);transform:scale(1) rotate(0)}}@keyframes tada{0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}10%,20%{-webkit-transform:scale(.9) rotate(-8deg);-ms-transform:scale(.9) rotate(-8deg);transform:scale(.9) rotate(-8deg)}30%,50%,70%{-webkit-transform:scale(1.3) rotate(8deg);-ms-transform:scale(1.3) rotate(8deg);transform:scale(1.3) rotate(8deg)}40%,60%{-webkit-transform:scale(1.3) rotate(-8deg);-ms-transform:scale(1.3) rotate(-8deg);transform:scale(1.3) rotate(-8deg)}100%,80%{-webkit-transform:scale(1) rotate(0);-ms-transform:scale(1) rotate(0);transform:scale(1) rotate(0)}}.faa-parent.animated-hover:hover>.faa-tada,.faa-tada.animated,.faa-tada.animated-hover:hover{-webkit-animation:tada 2s linear infinite;animation:tada 2s linear infinite}.faa-parent.animated-hover:hover>.faa-tada.faa-fast,.faa-tada.animated-hover.faa-fast:hover,.faa-tada.animated.faa-fast{-webkit-animation:tada 1s linear infinite;animation:tada 1s linear infinite}.faa-parent.animated-hover:hover>.faa-tada.faa-slow,.faa-tada.animated-hover.faa-slow:hover,.faa-tada.animated.faa-slow{-webkit-animation:tada 3s linear infinite;animation:tada 3s linear infinite}@-webkit-keyframes passing{0%{-webkit-transform:translateX(-50%);transform:translateX(-50%);opacity:0}50%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(50%);transform:translateX(50%);opacity:0}}@keyframes passing{0%{-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);opacity:0}50%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%);opacity:0}}.faa-parent.animated-hover:hover>.faa-passing,.faa-passing.animated,.faa-passing.animated-hover:hover{-webkit-animation:passing 2s linear infinite;animation:passing 2s linear infinite}.faa-parent.animated-hover:hover>.faa-passing.faa-fast,.faa-passing.animated-hover.faa-fast:hover,.faa-passing.animated.faa-fast{-webkit-animation:passing 1s linear infinite;animation:passing 1s linear infinite}.faa-parent.animated-hover:hover>.faa-passing.faa-slow,.faa-passing.animated-hover.faa-slow:hover,.faa-passing.animated.faa-slow{-webkit-animation:passing 3s linear infinite;animation:passing 3s linear infinite}@-webkit-keyframes passing-reverse{0%{-webkit-transform:translateX(50%);transform:translateX(50%);opacity:0}50%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(-50%);transform:translateX(-50%);opacity:0}}@keyframes passing-reverse{0%{-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%);opacity:0}50%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);opacity:0}}.faa-parent.animated-hover:hover>.faa-passing-reverse,.faa-passing-reverse.animated,.faa-passing-reverse.animated-hover:hover{-webkit-animation:passing-reverse 2s linear infinite;animation:passing-reverse 2s linear infinite}.faa-parent.animated-hover:hover>.faa-passing-reverse.faa-fast,.faa-passing-reverse.animated-hover.faa-fast:hover,.faa-passing-reverse.animated.faa-fast{-webkit-animation:passing-reverse 1s linear infinite;animation:passing-reverse 1s linear infinite}.faa-parent.animated-hover:hover>.faa-passing-reverse.faa-slow,.faa-passing-reverse.animated-hover.faa-slow:hover,.faa-passing-reverse.animated.faa-slow{-webkit-animation:passing-reverse 3s linear infinite;animation:passing-reverse 3s linear infinite}@-webkit-keyframes burst{0%{opacity:.6}50%{-webkit-transform:scale(1.8);transform:scale(1.8);opacity:0}100%{opacity:0}}@keyframes burst{0%{opacity:.6}50%{-webkit-transform:scale(1.8);-ms-transform:scale(1.8);transform:scale(1.8);opacity:0}100%{opacity:0}}.faa-burst.animated,.faa-burst.animated-hover:hover,.faa-parent.animated-hover:hover>.faa-burst{-webkit-animation:burst 2s infinite linear;animation:burst 2s infinite linear}.faa-burst.animated-hover.faa-fast:hover,.faa-burst.animated.faa-fast,.faa-parent.animated-hover:hover>.faa-burst.faa-fast{-webkit-animation:burst 1s infinite linear;animation:burst 1s infinite linear}.faa-burst.animated-hover.faa-slow:hover,.faa-burst.animated.faa-slow,.faa-parent.animated-hover:hover>.faa-burst.faa-slow{-webkit-animation:burst 3s infinite linear;animation:burst 3s infinite linear}@-webkit-keyframes falling{0%{-webkit-transform:translateY(-50%);transform:translateY(-50%);opacity:0}50%{-webkit-transform:translateY(0);transform:translateY(0);opacity:1}100%{-webkit-transform:translateY(50%);transform:translateY(50%);opacity:0}}@keyframes falling{0%{-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);opacity:0}50%{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);opacity:1}100%{-webkit-transform:translateY(50%);-ms-transform:translateY(50%);transform:translateY(50%);opacity:0}}.faa-falling.animated,.faa-falling.animated-hover:hover,.faa-parent.animated-hover:hover>.faa-falling{-webkit-animation:falling 2s linear infinite;animation:falling 2s linear infinite}.faa-falling.animated-hover.faa-fast:hover,.faa-falling.animated.faa-fast,.faa-parent.animated-hover:hover>.faa-falling.faa-fast{-webkit-animation:falling 1s linear infinite;animation:falling 1s linear infinite}.faa-falling.animated-hover.faa-slow:hover,.faa-falling.animated.faa-slow,.faa-parent.animated-hover:hover>.faa-falling.faa-slow{-webkit-animation:falling 3s linear infinite;animation:falling 3s linear infinite}@font-face{font-family:'Material Icons';font-style:normal;font-weight:400;src:url(MaterialIcons-Regular.eot);src:local('Material Icons'),local('MaterialIcons-Regular'),url(../iconfont/MaterialIcons-Regular.woff2) format('woff2'),url(../iconfont/MaterialIcons-Regular.woff) format('woff'),url(../iconfont/MaterialIcons-Regular.ttf) format('truetype')}.material-icons{font-family:'Material Icons';font-weight:normal;font-style:normal;font-size:24px;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;-moz-osx-font-smoothing:grayscale;font-feature-settings:'liga'}.aplayer{background:rgba(255,255,255,.3);font-family:'Noto Serif CJK SC','Noto Serif CJK','Source Han Serif SC','Source Han Serif','source-han-serif-sc','PT Serif','SongTi SC','MicroSoft Yahei',Georgia,serif}.aplayer .aplayer-lrc::before{background:rgba(255,255,255,0);filter:none}.aplayer .aplayer-lrc::after{background:rgba(255,255,255,0);filter:none}.aplayer{box-shadow:0 0 0 1px #eee;border-radius:3px;margin:15px 0}.aplayer .aplayer-info{padding:9px 7px 0 10px}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap{margin-left:1px;padding-right:3px}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar,.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-loaded,.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played{height:6px;border-radius:10px}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb{height:12px;width:12px;right:3px;box-shadow:0 0 5px 0 rgba(0,0,0,.18);transition:all .35s}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar,.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar .aplayer-volume{border-radius:10px;width:6px}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar{right:10.5px}.aplayer .aplayer-list ol li{border-top:0}.aplayer .aplayer-list ol li.aplayer-list-light{background:#f8f8f8}#aplayer-float{background:rgba(255,255,255,1);margin:0}.ap-hover{left:-66px !important}.ap-hover:hover{left:0 !important}#aplayer-float .aplayer-lrc-current{color:orange;font-size:15px;font-weight:bold}.aplayer-lrc{pointer-events:none} diff --git a/css/style.css b/css/style.css index 413bb3ce73bfa1d3e6ad8c6d279c872c2d2f07d7..0cfa2d302788a751586723a655e46d5aef4feebd 100644 --- a/css/style.css +++ b/css/style.css @@ -1,7779 +1,1374 @@ -#veditor { - background-image: url(https://view.moezx.cc/images/2018/03/24/comment-bg.png); - background-size: contain; - background-repeat: no-repeat; - background-position: right; - background-color: rgba(255,255,255,0); - resize: vertical; -} -.post-meta em { - margin: 0 5px; - color: #666; -} -.aplayer { - background:#fff; - font-family:Arial,Helvetica,sans-serif; - margin:5px; - box-shadow:0 2px 2px 0 rgba(0,0,0,.07),0 1px 5px 0 rgba(0,0,0,.1); - border-radius:2px; - overflow:hidden; - -webkit-user-select:none; - -moz-user-select:none; - -ms-user-select:none; - user-select:none; - line-height:normal; - position:relative -} -.aplayer * { - box-sizing:content-box -} -.aplayer svg { - width:100%; - height:100% -} -.aplayer svg circle,.aplayer svg path { - fill:#fff -} -.aplayer.aplayer-withlist .aplayer-info { - border-bottom:1px solid #e9e9e9 -} -.aplayer.aplayer-withlist .aplayer-list { - display:block -} -.aplayer.aplayer-withlist .aplayer-icon-order,.aplayer.aplayer-withlist .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-menu { - display:inline -} -.aplayer.aplayer-withlrc .aplayer-pic { - height:90px; - width:90px -} -.aplayer.aplayer-withlrc .aplayer-info { - margin-left:90px; - height:90px; - padding:10px 7px 0 -} -.aplayer.aplayer-withlrc .aplayer-lrc { - display:block -} -.aplayer.aplayer-narrow { - width:66px -} -.aplayer.aplayer-narrow .aplayer-info,.aplayer.aplayer-narrow .aplayer-list { - display:none -} -.aplayer.aplayer-narrow .aplayer-body,.aplayer.aplayer-narrow .aplayer-pic { - height:66px; - width:66px -} -.aplayer.aplayer-fixed { - position:fixed; - bottom:0; - left:0; - right:0; - margin:0; - z-index:99; - overflow:visible; - max-width:400px; - box-shadow:none -} -.aplayer.aplayer-fixed .aplayer-list { - margin-bottom:65px; - border:1px solid #eee; - border-bottom:none -} -.aplayer.aplayer-fixed .aplayer-body { - position:fixed; - bottom:0; - left:0; - right:0; - margin:0; - z-index:99; - background:#fff; - padding-right:18px; - transition:all .3s ease; - max-width:400px -} -.aplayer.aplayer-fixed .aplayer-lrc { - display:block; - position:fixed; - bottom:10px; - left:0; - right:0; - margin:0; - z-index:98; - pointer-events:none; - text-shadow:0 0 1px #fff,0 0 10px #fff -} -.aplayer.aplayer-fixed .aplayer-lrc:after,.aplayer.aplayer-fixed .aplayer-lrc:before { - display:none -} -.aplayer.aplayer-fixed .aplayer-info { - -webkit-transform:scaleX(1); - transform:scaleX(1); - -webkit-transform-origin:0 0; - transform-origin:0 0; - transition:all .3s ease; - border-bottom:none; - border-top:1px solid #e9e9e9 -} -.aplayer.aplayer-fixed .aplayer-info .aplayer-music { - width:calc(100% - 105px) -} -.aplayer.aplayer-fixed .aplayer-miniswitcher { - display:block -} -.aplayer.aplayer-fixed.aplayer-narrow .aplayer-info { - display:block; - -webkit-transform:scaleX(0); - transform:scaleX(0) -} -.aplayer.aplayer-fixed.aplayer-narrow .aplayer-body { - width:66px!important -} -.aplayer.aplayer-fixed.aplayer-narrow .aplayer-miniswitcher .aplayer-icon { - -webkit-transform:rotateY(0); - transform:rotateY(0) -} -.aplayer.aplayer-fixed .aplayer-icon-back,.aplayer.aplayer-fixed .aplayer-icon-forward,.aplayer.aplayer-fixed .aplayer-icon-lrc,.aplayer.aplayer-fixed .aplayer-icon-play { - display:inline-block -} -.aplayer.aplayer-fixed .aplayer-icon-back,.aplayer.aplayer-fixed .aplayer-icon-forward,.aplayer.aplayer-fixed .aplayer-icon-menu,.aplayer.aplayer-fixed .aplayer-icon-play { - position:absolute; - bottom:27px; - width:20px; - height:20px -} -.aplayer.aplayer-fixed .aplayer-icon-back { - right:75px -} -.aplayer.aplayer-fixed .aplayer-icon-play { - right:50px -} -.aplayer.aplayer-fixed .aplayer-icon-forward { - right:25px -} -.aplayer.aplayer-fixed .aplayer-icon-menu { - right:0 -} -.aplayer.aplayer-arrow .aplayer-icon-loop,.aplayer.aplayer-arrow .aplayer-icon-order,.aplayer.aplayer-mobile .aplayer-icon-volume-down { - display:none -} -.aplayer.aplayer-loading .aplayer-info .aplayer-controller .aplayer-loading-icon { - display:block -} -.aplayer.aplayer-loading .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb { - -webkit-transform:scale(1); - transform:scale(1) -} -.aplayer .aplayer-body { - position:relative -} -.aplayer .aplayer-icon { - width:15px; - height:15px; - border:none; - background-color:transparent; - outline:none; - cursor:pointer; - opacity:.8; - vertical-align:middle; - padding:0; - font-size:12px; - margin:0; - display:inline-block -} -.aplayer .aplayer-icon path { - transition:all .2s ease-in-out -} -.aplayer .aplayer-icon-back,.aplayer .aplayer-icon-forward,.aplayer .aplayer-icon-lrc,.aplayer .aplayer-icon-order,.aplayer .aplayer-icon-play { - display:none -} -.aplayer .aplayer-icon-lrc-inactivity svg { - opacity:.4 -} -.aplayer .aplayer-icon-forward { - -webkit-transform:rotate(180deg); - transform:rotate(180deg) -} -.aplayer .aplayer-lrc-content { - display:none -} -.aplayer .aplayer-pic { - position:relative; - float:left; - height:66px; - width:66px; - background-size:cover; - background-position:50%; - transition:all .3s ease; - cursor:pointer -} -.aplayer .aplayer-pic:hover .aplayer-button { - opacity:1 -} -.aplayer .aplayer-pic .aplayer-button { - position:absolute; - border-radius:50%; - opacity:.8; - text-shadow:0 1px 1px rgba(0,0,0,.2); - box-shadow:0 1px 1px rgba(0,0,0,.2); - background:rgba(0,0,0,.2); - transition:all .1s ease -} -.aplayer .aplayer-pic .aplayer-button path { - fill:#fff -} -.aplayer .aplayer-pic .aplayer-hide { - display:none -} -.aplayer .aplayer-pic .aplayer-play { - width:26px; - height:26px; - border:2px solid #fff; - bottom:50%; - right:50%; - margin:0 -15px -15px 0 -} -.aplayer .aplayer-pic .aplayer-play svg { - position:absolute; - top:3px; - left:4px; - height:20px; - width:20px -} -.aplayer .aplayer-pic .aplayer-pause { - width:16px; - height:16px; - border:2px solid #fff; - bottom:4px; - right:4px -} -.aplayer .aplayer-pic .aplayer-pause svg { - position:absolute; - top:2px; - left:2px; - height:12px; - width:12px -} -.aplayer .aplayer-info { - margin-left:66px; - padding:14px 7px 0 10px; - height:66px; - box-sizing:border-box -} -.aplayer .aplayer-info .aplayer-music { - overflow:hidden; - white-space:nowrap; - text-overflow:ellipsis; - margin:0 0 13px 5px; - -webkit-user-select:text; - -moz-user-select:text; - -ms-user-select:text; - user-select:text; - cursor:default; - padding-bottom:2px -} -.aplayer .aplayer-info .aplayer-music .aplayer-title { - font-size:14px -} -.aplayer .aplayer-info .aplayer-music .aplayer-author { - font-size:12px; - color:#666 -} -.aplayer .aplayer-info .aplayer-controller { - position:relative; - display:flex -} -.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap { - margin:0 0 0 5px; - padding:4px 0; - cursor:pointer!important; - flex:1 -} -.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap:hover .aplayer-bar .aplayer-played .aplayer-thumb { - -webkit-transform:scale(1); - transform:scale(1) -} -.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar { - position:relative; - height:2px; - width:100%; - background:#cdcdcd -} -.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-loaded { - position:absolute; - left:0; - top:0; - bottom:0; - background:#aaa; - height:2px; - transition:all .5s ease -} -.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played { - position:absolute; - left:0; - top:0; - bottom:0; - height:2px -} -.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb { - position:absolute; - top:0; - right:5px; - margin-top:-4px; - margin-right:-10px; - height:10px; - width:10px; - border-radius:50%; - cursor:pointer; - transition:all .3s ease-in-out; - -webkit-transform:scale(0); - transform:scale(0) -} -.aplayer .aplayer-info .aplayer-controller .aplayer-time { - position:relative; - right:0; - bottom:4px; - height:17px; - color:#999; - font-size:11px; - padding-left:7px -} -.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-time-inner { - vertical-align:middle -} -.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon { - cursor:pointer; - transition:all .2s ease -} -.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon path { - fill:#666 -} -.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-loop { - margin-right:2px -} -.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon:hover path { - fill:#000 -} -.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-menu,.aplayer .aplayer-info .aplayer-controller .aplayer-time.aplayer-time-narrow .aplayer-icon-menu,.aplayer .aplayer-info .aplayer-controller .aplayer-time.aplayer-time-narrow .aplayer-icon-mode { - display:none -} -.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap { - position:relative; - display:inline-block; - margin-left:3px; - cursor:pointer!important -} -.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap:hover .aplayer-volume-bar-wrap { - height:40px -} -.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap { - position:absolute; - bottom:15px; - right:-3px; - width:25px; - height:0; - z-index:99; - overflow:hidden; - transition:all .2s ease-in-out -} -.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap.aplayer-volume-bar-wrap-active { - height:40px -} -.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar { - position:absolute; - bottom:0; - right:10px; - width:5px; - height:35px; - background:#aaa; - border-radius:2.5px; - overflow:hidden -} -.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar .aplayer-volume { - position:absolute; - bottom:0; - right:0; - width:5px; - transition:all .1s ease -} -.aplayer .aplayer-info .aplayer-controller .aplayer-loading-icon { - display:none -} -.aplayer .aplayer-info .aplayer-controller .aplayer-loading-icon svg { - position:absolute; - -webkit-animation:rotate 1s linear infinite; - animation:rotate 1s linear infinite -} -.aplayer .aplayer-lrc { - display:none; - position:relative; - height:30px; - text-align:center; - overflow:hidden; - margin:-10px 0 7px -} -.aplayer .aplayer-lrc:before { - top:0; - height:10%; - background:linear-gradient(180deg,#fff 0,hsla(0,0%,100%,0)); - filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#00ffffff",GradientType=0) -} -.aplayer .aplayer-lrc:after,.aplayer .aplayer-lrc:before { - position:absolute; - z-index:1; - display:block; - overflow:hidden; - width:100%; - content:" " -} -.aplayer .aplayer-lrc:after { - bottom:0; - height:33%; - background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,hsla(0,0%,100%,.8)); - filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#00ffffff",endColorstr="#ccffffff",GradientType=0) -} -.aplayer .aplayer-lrc p { - font-size:12px; - color:#666; - line-height:16px!important; - height:16px!important; - padding:0!important; - margin:0!important; - transition:all .5s ease-out; - opacity:.4; - overflow:hidden -} -.aplayer .aplayer-lrc p.aplayer-lrc-current { - opacity:1; - overflow:visible; - height:auto!important; - min-height:16px -} -.aplayer .aplayer-lrc.aplayer-lrc-hide { - display:none -} -.aplayer .aplayer-lrc .aplayer-lrc-contents { - width:100%; - transition:all .5s ease-out; - -webkit-user-select:text; - -moz-user-select:text; - -ms-user-select:text; - user-select:text; - cursor:default -} -.aplayer .aplayer-list { - overflow:auto; - transition:all .5s ease; - will-change:height; - display:none; - overflow:hidden -} -.aplayer .aplayer-list.aplayer-list-hide { - max-height:0!important -} -.aplayer .aplayer-list ol { - list-style-type:none; - margin:0; - padding:0; - overflow-y:auto -} -.aplayer .aplayer-list ol::-webkit-scrollbar { - width:5px -} -.aplayer .aplayer-list ol::-webkit-scrollbar-thumb { - border-radius:3px; - background-color:#eee -} -.aplayer .aplayer-list ol::-webkit-scrollbar-thumb:hover { - background-color:#ccc -} -.aplayer .aplayer-list ol li { - position:relative; - height:32px; - line-height:32px; - padding:0 15px; - font-size:12px; - border-top:1px solid #e9e9e9; - cursor:pointer; - transition:all .2s ease; - overflow:hidden; - margin:0 -} -.aplayer .aplayer-list ol li:first-child { - border-top:none -} -.aplayer .aplayer-list ol li:hover { - background:#efefef -} -.aplayer .aplayer-list ol li.aplayer-list-light { - background:#e9e9e9 -} -.aplayer .aplayer-list ol li.aplayer-list-light .aplayer-list-cur { - display:inline-block -} -.aplayer .aplayer-list ol li .aplayer-list-cur { - display:none; - width:3px; - height:22px; - position:absolute; - left:0; - top:5px; - cursor:pointer -} -.aplayer .aplayer-list ol li .aplayer-list-index { - color:#666; - margin-right:12px; - cursor:pointer -} -.aplayer .aplayer-list ol li .aplayer-list-author { - color:#666; - float:right; - cursor:pointer -} -.aplayer .aplayer-notice { - opacity:0; - position:absolute; - top:50%; - left:50%; - -webkit-transform:translate(-50%,-50%); - transform:translate(-50%,-50%); - font-size:12px; - border-radius:4px; - padding:5px 10px; - transition:all .3s ease-in-out; - overflow:hidden; - color:#fff; - pointer-events:none; - background-color:#f4f4f5; - color:#909399 -} -.aplayer .aplayer-miniswitcher { - display:none; - position:absolute; - top:0; - right:0; - bottom:0; - height:100%; - background:#e6e6e6; - width:18px; - border-radius:0 2px 2px 0 -} -.aplayer .aplayer-miniswitcher .aplayer-icon { - height:100%; - width:100%; - -webkit-transform:rotateY(180deg); - transform:rotateY(180deg); - transition:all .3s ease -} -.aplayer .aplayer-miniswitcher .aplayer-icon path { - fill:#666 -} -.aplayer .aplayer-miniswitcher .aplayer-icon:hover path { - fill:#000 -} -@-webkit-keyframes aplayer-roll { - 0% { - left:0 -} -to { - left:-100% -} -}@keyframes aplayer-roll { - 0% { - left:0 -} -to { - left:-100% -} -}@-webkit-keyframes rotate { - 0% { - -webkit-transform:rotate(0); - transform:rotate(0) -} -to { - -webkit-transform:rotate(1turn); - transform:rotate(1turn) -} -}@keyframes rotate { - 0% { - -webkit-transform:rotate(0); - transform:rotate(0) -} -to { - -webkit-transform:rotate(1turn); - transform:rotate(1turn) -} -} -/*# sourceMappingURL=APlayer.min.css.map*/ - #wpadminbar #wp-admin-bar-wp-statistic-menu .ab-icon:before { - content:'\f184'; - top:2px -} -.wp-statistics-opt-out { - width:100%; - background:#e2e2e2; - border-top:5px solid #333; - position:fixed; - bottom:0; - left:0; - right:0; - text-align:center; - padding:8px 5px; - z-index:9999 -} -@charset "utf-8"; - #content { - animation:main 1s -} -.headertop,.pattern-center { - animation:header 1s -} -.site-branding { - animation:sitetop 1s -} -.searchbox,.site-top .lower,.header-user-avatar { - animation:searchbox 1s -} -.notice,.top-feature,.post-list-thumb,.post-list,.comments { - animation:main .6s -} -@keyframes header { - 0% { - opacity:0; - transform:translateY(-50px) -} -100% { - opacity:1; - transform:translateY(0) -} -}@keyframes main { - 0% { - opacity:0; - transform:translateY(50px) -} -100% { - opacity:1; - transform:translateY(0) -} -}@keyframes sitetop { - 0% { - opacity:0; - transform:translateX(-30px) -} -100% { - opacity:1; - transform:translateX(0) -} -}@keyframes searchbox { - 0% { - opacity:0; - transform:translateX(30px) -} -100% { - opacity:1; - transform:translateX(0) -} -}html { - font-family:sans-serif; - -webkit-text-size-adjust:100%; - -ms-text-size-adjust:100%; - overflow-x:hidden -} body { - margin:0; - font:300 17px; - text-shadow:0 0 1px rgba(0,0,0,.1) -} -input:-webkit-autofill { - -webkit-box-shadow:0 0 0 1000px white inset -} -::selection { - background:#9932CC; - color:#FF69B4 -} -::-moz-selection { - background:#444; - color:#fff -} -article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary { - display:block -} -audio,canvas,progress,video { - display:inline-block; - vertical-align:baseline -} -audio:not([controls]) { - display:none; - height:0 -} -[hidden],template { - display:none -} -a { - background-color:transparent; - text-decoration:none; - cursor:url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/ayuda.cur),auto -} -a:active,a:hover { - outline:0 -} -a:active { - cursor:url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/work.cur),alias -} -abbr[title] { - border-bottom:1px dotted -} -b,strong { - font-weight:bold -} -dfn { - font-style:italic -} -h1 { - font-size:2em; - margin:.67em 0 -} -mark { - background:#ff0; - color:#000 -} -small { - font-size:80% -} -sub,sup { - font-size:75%; - line-height:0; - position:relative; - vertical-align:baseline -} -sup { - top:-.5em -} -sub { - bottom:-.25em -} -img { - border:0 -} -svg:not(:root) { - overflow:hidden -} -figure { - margin:1em 40px -} -hr { - box-sizing:content-box; - height:0 -} -pre { - overflow:auto -} -code,kbd,pre,samp { - font-family:monospace,monospace; - font-size:1em -} -button,input,optgroup,select,textarea { - color:inherit; - font:inherit; - margin:0 -} -button { - overflow:visible -} -button,select { - text-transform:none -} -button,html input[type="button"],input[type="reset"],input[type="submit"] { - -webkit-appearance:button; - cursor:pointer -} -button[disabled],html input[disabled] { - cursor:default -} -button::-moz-focus-inner,input::-moz-focus-inner { - border:0; - padding:0 -} -input { - line-height:normal -} -input[type="checkbox"],input[type="radio"] { - box-sizing:border-box; - padding:0 -} -input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button { - height:auto -} -input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration { - -webkit-appearance:none -} -fieldset { - border:1px solid silver; - margin:0 2px; - padding:.35em .625em .75em -} -legend { - border:0; - padding:0 -} -textarea { - overflow:auto -} -optgroup { - font-weight:bold -} -table { - border-collapse:collapse; - border-spacing:0 -} -td,th { - padding:0 -} -body,button,input,select,textarea { - color:#404040; - font-size:15px; - line-height:1.5 -} -h1,h2,h3,h4,h5,h6 { - clear:both -} -p { - margin-bottom:1.5em; - cursor:url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur),auto -} -dfn,cite,em,i { - font-style:italic -} -blockquote { - margin:0; - padding:30px 60px; - position:relative -} -blockquote:before { - content:"\f10d" !important; - font-size:3rem; - position:absolute; - top:-25px; - left:12px; - color:orange; - font-family:FontAwesome -} -blockquote:after { - content:'\f10e' !important; - font-size:3rem; - position:absolute; - bottom:-25px; - right:-5px; - color:orange; - font-family:FontAwesome -} -blockquote p { - margin:5px 0 -} -address { - margin:0 0 1.5em -} -pre { - background:rgba(254,250,199,.5); - border-radius:10px; - font:15px/22px "Microsoft YaHei","Arial",Sans-Serif; - line-height:1.6; - margin-bottom:1.6em; - max-width:100%; - overflow:auto; - text-shadow:none; - color:#000 -} -kbd { - display:inline-block; - padding:3px 5px; - font-size:11px; - line-height:10px; - color:#444d56; - vertical-align:middle; - background-color:#fafbfc; - border:solid 1px #c6cbd1; - border-bottom-color:#959da5; - border-radius:3px; - box-shadow:inset 0 -1px 0 #959da5; - font-family:'Source Code Pro',monospace,Helvetica,Tahoma,Arial,STXihei,"STHeiti Light","Microsoft YaHei",sans-serif -} -code,kbd,tt,var { - font-size:15px; - font-size:.9375rem -} -abbr,acronym { - border-bottom:1px dotted #666; - cursor:help -} -mark,ins { - background:#fff9c0; - text-decoration:none -} -big { - font-size:125% -} -html { - box-sizing:border-box -} -* { - box-sizing:border-box -} -*:before,*:after { - box-sizing:inherit + width: 100%; +} +body:before, +body:after { + content: ""; + display: table; +} +body:after { + clear: both; +} +html, +body, +div, +span, +applet, +object, +iframe, +h1, +h2, +h3, +h4, +h5, +h6, +p, +blockquote, +pre, +a, +abbr, +acronym, +address, +big, +cite, +code, +del, +dfn, +em, +img, +ins, +kbd, +q, +s, +samp, +small, +strike, +strong, +sub, +sup, +tt, +var, +dl, +dt, +dd, +ol, +ul, +li, +fieldset, +form, +label, +legend, +table, +caption, +tbody, +tfoot, +thead, +tr, +th, +td { + margin: 0; + padding: 0; + border: 0; + outline: 0; + font-weight: inherit; + font-style: inherit; + font-family: inherit; + font-size: 100%; + vertical-align: baseline; } body { - background:#FFFFFF; - background-attachment:fixed; - cursor:url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/normal.cur),auto -} -blockquote:before,blockquote:after,q:before,q:after { - content:"" -} -blockquote,q { - quotes:"" "" -} -hr { - background-color:#ccc; - border:0; - height:1px; - margin-bottom:1.5em -} -ul,ol { - margin:0 0 1.5em 3em + line-height: 1; + color: #000; + background: #fff; } +ol, ul { - list-style:disc -} -ol { - list-style:decimal + list-style: none; } -li>ul,li>ol { - margin-bottom:0; - margin-left:1.5em -} -dt { - font-weight:bold +table { + border-collapse: separate; + border-spacing: 0; + vertical-align: middle; } -dd { - margin:0 1.5em 1.5em +caption, +th, +td { + text-align: left; + font-weight: normal; + vertical-align: middle; } -img { - height:auto; - max-width:100% +a img { + border: none; } -table { - margin:0 0 1.5em; - width:100% -} -button,input[type="button"],input[type="reset"],input[type="submit"] { - border:1px solid; - border-color:#ccc #ccc #bbb; - border-radius:3px; - background:#e6e6e6; - box-shadow:inset 0 1px 0 rgba(255,255,255,.5),inset 0 15px 17px rgba(255,255,255,.5),inset 0 -5px 12px rgba(0,0,0,.05); - color:rgba(0,0,0,.8); - font-size:12px; - font-size:.75rem; - line-height:1; - padding:.6em 1em .4em -} -button:hover,input[type="button"]:hover,input[type="reset"]:hover,input[type="submit"]:hover { - border-color:#ccc #bbb #aaa; - box-shadow:inset 0 1px 0 rgba(255,255,255,.8),inset 0 15px 17px rgba(255,255,255,.8),inset 0 -5px 12px rgba(0,0,0,.02) -} -button:focus,input[type="button"]:focus,input[type="reset"]:focus,input[type="submit"]:focus,button:active,input[type="button"]:active,input[type="reset"]:active,input[type="submit"]:active { - border-color:#aaa #bbb #bbb; - box-shadow:inset 0 -1px 0 rgba(255,255,255,.5),inset 0 2px 5px rgba(0,0,0,.15) -} -input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"],input[type="number"],input[type="tel"],input[type="range"],input[type="date"],input[type="month"],input[type="week"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="color"],textarea { - color:#666; - border:1px solid #ccc; - border-radius:3px -} -select { - border:1px solid #ccc -} -input[type="text"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="password"]:focus,input[type="search"]:focus,input[type="number"]:focus,input[type="tel"]:focus,input[type="range"]:focus,input[type="date"]:focus,input[type="month"]:focus,input[type="week"]:focus,input[type="time"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="color"]:focus,textarea:focus { - color:#111 -} -input[type="text"],input[type="email"],input[type="url"],input[type="password"],input[type="search"],input[type="number"],input[type="tel"],input[type="range"],input[type="date"],input[type="month"],input[type="week"],input[type="time"],input[type="datetime"],input[type="datetime-local"],input[type="color"] { - padding:3px -} -textarea { - padding-left:3px; - width:100%; - color:#a5a5a5 -} -a { - color:#e67474; - outline:0; - -webkit-transition:color .2s ease-out,border .2s ease-out,opacity .2s ease-out; - -moz-transition:color .2s ease-out,border .2s ease-out,opacity .2s ease-out; - transition:color .2s ease-out,border .2s ease-out,opacity .2s ease-out -} -a:hover,a:focus,a:active { - color:orange -} -a:focus { - outline:0 -} -a:hover,a:active { - outline:0; - color:#FF0000 -} -.site-top { - width:100%; - display:block; - margin:0 auto; - padding:0 20px -} -@keyframes fade-in { - 0% { - opacity:0 -} -40% { - opacity:0 -} -100% { - opacity:1 -} -}@-webkit-keyframes fade-in { - 0% { - opacity:0 -} -40% { - opacity:0 -} -100% { - opacity:1 -} -}.wrapper { - animation:fade-in; - animation-duration:.5s; - -webkit-animation:fade-in .5s -} -#bgvideo { - position:absolute; - top:0; - left:0; - margin:0; - padding:0; - min-width:99.999%; - min-height:550px; - z-index:0 -} -#video-btn,#video-add { - position:absolute; - bottom:3px; - right:5px; - width:32px; - height:32px; - z-index:7; - background-position:center; - background-size:cover; - cursor:pointer; - opacity:.8; - -moz-animation:poi-face 10s linear infinite alternate; - -webkit-animation:poi-face 10s linear infinite alternate; - -o-animation:poi-face 10s linear infinite alternate; - animation:poi-face 10s linear infinite alternate -} -#video-btn:hover,#video-add:hover { - opacity:1 -} -.video-play,.loadvideo { - background-image:url('https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/images/play@32x32.png') -} -.video-pause { - background-image:url('https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/images/pause@32x32.png') -} -#video-add { - background-image:url('https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/images/add@32x32.png'); - bottom:45px; - display:none -} -.video-stu { - position:absolute; - bottom:-100px; - left:0; - right:0; - margin:auto; - padding:6px 15px; - text-align:center; - color:#fff; - width:100%; - background-color:rgba(0,0,0,.8); - border-radius:0; - font-size:18px; - -webkit-transition:.4s ease all; - -moz-transition:.4s ease all; - -o-transition:.4s ease all; - transition:.4s ease all -} -.pattern-center { - position:relative; - top:0; - left:0; - width:100%; - overflow:hidden -} -.pattern-center::before { - content:""; - position:absolute; - top:0; - bottom:0; - left:0; - right:0; - background-color:rgba(0,0,0,.3) -} -.pattern-center::after { - content:''; - width:150%; - height:4.375rem; - background:#fff; - left:-25%; - bottom:-2.875rem; - border-radius:100%; - position:absolute -} -.pattern-attachment-img { - background-repeat:no-repeat; - background-size:cover; - background-position:center center; - background-origin:border-box; - width:100%; - height:400px -} -.pattern-center header.pattern-header { - position:absolute; - top:45%; - left:0; - right:0; - text-align:center; - color:#fff; - text-shadow:2px 2px 10px #000; - z-index:1 -} -.pattern-center h1.cat-title,.pattern-center h1.entry-title { - color:#fff; - font-size:40px; - font-weight:500; - width:80%; - margin:auto; - padding:0; - border:0 -} -.pattern-center .cat-des { - font-size:16px; - display:block -} -.single-center::after { - display:none -} -.pattern-center header.single-header { - max-width:800px; - padding:0 10px; - margin-left:auto; - margin-right:auto; - text-align:left; - top:auto; - bottom:20px -} -.single-center .single-header h1.entry-title { - margin:0; - font-size:32px; - width:100% -} -.single-center .entry-census { - color:#fff; - font-size:14px; - padding:18px 0 0; - line-height:39px -} -.single-center .entry-census .bull { - margin:0 5px -} -.single-center .entry-census span img { - width:35px; - height:35px; - border-radius:100%; - float:left; - margin-right:12px -} -.single-center .entry-census a { - color:#fff -} -@media(max-width:860px) { - .pattern-center header.single-header { - padding:0 4% -} -.pattern-attachment-img { - height:280px -} -.pattern-center h1.cat-title,.pattern-center h1.entry-title,.single-center .single-header h1.entry-title { - font-size:26px -} -}.pattern-center-sakura { - position:relative; - top:0; - left:0; - width:800px; - overflow:hidden; - margin:0 auto -} -.pattern-center-blank { - padding-top:75px; - background-color:#fff -} -@media(max-width:860px) { - .pattern-center-sakura { - position:relative; - top:0; - left:0; - width:100%; - overflow:hidden -} -.pattern-center-blank { - padding-top:0 -} -}.pattern-center-sakura::before { - content:""; - position:absolute; - top:0; - bottom:0; - left:0; - right:0; - background-color:rgba(0,0,0,.3) -} -.pattern-attachment-img { - background-repeat:no-repeat; - background-size:cover; - background-position:center center; - background-origin:border-box; - width:100%; - height:400px -} -.pattern-center-sakura header.pattern-header { - position:absolute; - top:45%; - left:0; - right:0; - text-align:center; - color:#fff; - text-shadow:2px 2px 10px #000; - z-index:1 -} -.pattern-center-sakura h1.cat-title,.pattern-center-sakura h1.entry-title { - color:#fff; - font-size:40px; - font-weight:500; - width:80%; - margin:auto; - padding:0; - border:0 -} -.pattern-center-sakura .cat-des { - font-size:16px; - display:block -} -.single-center::after { - display:none -} -.pattern-center-sakura header.single-header { - max-width:800px; - padding:0 10px; - margin-left:auto; - margin-right:auto; - text-align:left; - top:auto; - bottom:20px -} -.single-center .single-header h1.entry-title { - margin:0; - font-size:32px; - width:100% -} -.single-center .entry-census { - color:#fff; - font-size:14px; - padding:18px 0 0; - line-height:39px -} -.single-center .entry-census .bull { - margin:0 5px -} -.single-center .entry-census span img { - width:35px; - height:35px; - border-radius:100%; - float:left; - margin-right:12px -} -.single-center .entry-census a { - color:#fff -} -@media(max-width:860px) { - .pattern-center-sakura header.single-header { - padding:0 4% -} -.pattern-attachment-img { - height:280px -} -.pattern-center-sakura h1.cat-title,.pattern-center-sakura h1.entry-title,.single-center .single-header h1.entry-title { - font-size:26px -} -}.site-header { - width:100%; - height:75px; - background:none; - -webkit-transition:all .4s ease; - transition:all .4s ease; - position:fixed; - z-index:9999; - top:0 -} -.site-header.is-homepage .lower-cantiner { - display:none -} -.site-header.is-homepage.yya .lower-cantiner { - display:block -} -.site-header:hover.is-homepage .lower-cantiner { - display:block -} -.yya { - position:fixed; - left:0; - background:#FF69B4; - box-shadow:0 1px 40px -8px rgba(0,0,0,.5) -} -.gizle { - top:-100px; - top:0; - z-index:9999 -} -.site-header:hover { - background-color:#FF69B4 -} -.sabit { - top:0; - z-index:9999 -} -.site-branding { - float:left; - position:relative; - height:75px; - line-height:75px; - margin-left:-6px -} -.site-title { - margin:0 -} -.site-title a { - color:#464646; - font-weight:400 -} -.site-title a:hover { - color:orange -} -.site-title img { - height:40px; - margin-top:17px; - opacity:.75; - -webkit-transition:color .2s ease-out,border .2s ease-out,opacity .2s ease-out; - -moz-transition:color .2s ease-out,border .2s ease-out,opacity .2s ease-out; - transition:color .2s ease-out,border .2s ease-out,opacity .2s ease-out -} -.site-title img:hover { - opacity:1 -} -.site-description { - float:right -} -.header-focus { - height:250px; - background:#f9f9f9; - margin:0 auto -} -.openNav { - display:none -} -#mo-nav { - display:none -} -.site-top .lower-cantiner { - position:absolute; - left:56%; - min-width:950px; - pointer-events:none -} -.site-top .lower { - display:inline-block; - margin:15px 0 0 10px; - font-size:16px; - position:relative; - left:-50%; - pointer-events:auto !important -} -#show-nav.mobile-fit { - position:absolute !important; - right:60px; - opacity: 0; - pointer-events:none; -} -@media(max-width:1200px) { - .site-top .lower { - left:280px -} -.site-top .lower-cantiner { - left:0 -} -.site-top .lower nav.hide { - display:none !important -} -#show-nav.mobile-fit { - opacity:1; - pointer-events:auto; - margin-top: 20px; -} -}@media(max-width:860px) { - .site-top .lower nav ul li .animated-hover i { - display:inline -} -}.site-top .lower nav { - position:relative; - float:right; - display:none; - animation:searchbox .2s -} -.site-top .lower nav.navbar { - display:block -} -.m-nav { - display:none -} -.site-top ul { - margin:0; - padding:0; - list-style:none; - display:inline-block -} -.site-top ul li { - float:left; - margin:0 13px; - position:relative; - -webkit-transition:all 1s ease -} -/*顶部导航栏字体*/ -.site-top ul li a { - padding:10px 0; - display:inline-block; - color:#FFFFFF -} -.site-top ul li a:hover { - color:#FFFFFF -} -/*顶部导航栏鼠标经过*/ -.site-top ul li a:after { - content:""; - display:block; - position:absolute; - bottom:-16px; - height:6px; - background-color:#FFFFFF; - width:100%; - max-width:0; - transition:max-width .25s ease-in-out -} -.site-top ul li ul li a:after { - content:""; - display:none; - position:absolute; - bottom:-21px; - height:6px; - background-color:#FFFFFF; - width:100%; - max-width:0; - transition:max-width .25s ease-in-out -} -.site-top ul li a:hover:after { - max-width:100% -} -#show-nav { - position:relative; - float:right; - margin-left:20px; - display:block; - width:30px; - height:33px; - margin-top:4.5px; - cursor:pointer; - z-index:999 -} -#show-nav .line { - position:absolute; - top:7px; - left:50%; - width:28px; - margin-left:-15px; - height:2px; - background:#666; - -webkit-transition:all .2s ease -} -#show-nav.showNav .line1 { - top:16px -} -#show-nav.showNav .line3 { - top:25px -} -#show-nav.hideNav .line1 { - top:16px; - -webkit-transform:rotateZ(45deg) -} -#show-nav.hideNav .line2 { - opacity:0 -} -#show-nav.hideNav .line3 { - top:16px; - -webkit-transform:rotateZ(-45deg) -} -/*顶部下拉栏*/ -.lower li ul { - display:none; - opacity:1; - position:absolute; - background:#FF69B4; - padding:10px; - top:46px; - right:-13px; - width:130px; - text-align:center; - z-index:9999; - border-radius:5px; - box-shadow:0 1px 40px -8px rgba(0,0,0,.5); - -webkit-animation:fadeInUp .3s .1s ease both; - -moz-animation:fadeInUp .3s .1s ease both -} -.lower li ul::before { - content:""; - position:absolute; - top:-20px; - left:50%; - margin-left:-10px; - border-width:10px; - border-style:solid; - border-color:transparent transparent #fff transparent -} -@-webkit-keyframes fadeInUp { - 0% { - opacity:0; - -webkit-transform:translateY(10px) -} -100% { - opacity:1; - -webkit-transform:translateY(0) -} -}@-moz-keyframes fadeInUp { - 0% { - opacity:0; - -moz-transform:translateY(10px) -} -100% { - opacity:1; - -moz-transform:translateY(0) -} -}.lower li:hover ul { - display:inline-block; - -webkit-transition:all .4s; - transition:all .4s -} -.lower li ul li { - width:100%; - margin:0 -} -.site-top .menu-item-has-children li a { - font-size:14px; - padding:8px 18px; - text-transform:none; - color:#545454 -} -.site-main { - padding:40px 0 0 -} -.site-content { - max-width:800px; - padding:0 10px; - margin-left:auto; - margin-right:auto; - background-color:rgba(255,255,255,.8) -} -.post-list { - margin:0 0 8% 0; - position:relative -} -.feature { - position:absolute; - margin-top:10px -} -.feature i { - position:absolute; - top:3px; - left:3px; - font-size:25px; - color:white; - width:94px; - height:94px; - line-height:94px; - text-align:center; - background:#bbe2db; - border-radius:50%; - opacity:0; - z-index:1 -} -.overlay i { - -moz-transition:opacity .4s ease-out; - -o-transition:opacity .4s ease-out; - -webkit-transition:opacity .4s ease-out; - transition:opacity .4s ease-out -} -.feature img { - width:100px; - height:100px; - border-radius:50%; - padding:2px; - border:1px solid #dadada; - position:relative -} -.feature :hover .overlay i { - opacity:1 -} -.post-list h1.entry-title { - font-size:20px; - font-weight:400; - line-height:50px; - margin:0 0 0 17%; - position:relative; - z-index:1; - display:inline-block; - overflow:hidden; - text-overflow:ellipsis; - white-space:nowrap; - width:70% -} -.entry-title a { - color:#504e4e -} -.entry-title a:hover { - color:#FFFFFF -} -.p-time { - position:absolute; - right:0; - top:16px; - font-size:12px; - color:#989898; - letter-spacing:0 -} -.p-time i { - font-size:14px; - margin-right:5px -} -i.iconfont.hotpost { - font-size:14px; - color:#ff3b00 -} -.post-list p { - min-height:60px; - margin:0 0 0 17%; - font-size:15px; - color:rgba(0,0,0,.66); - letter-spacing:0; - line-height:30px -} -.entry-footer { - margin:0 0 0 17%; - list-style:none -} -.post-more { - margin-top:10px; - text-align:right -} -.post-more i { - font-size:25px; - color:#666 -} -.post-more i:hover { - color:#000 -} -.info-meta { - margin-top:10px; - position:absolute; - top:20px; - opacity:0; - padding-top:8px; - border-top:1px solid #ddd; - -webkit-transform:translate3d(-150px,0,0); - transform:translate3d(-150px,0,0); - visibility:hidden; - transition:.7s all ease; - -webkit-transition:.6s all ease; - -moz-transition:.6s all linear; - -o-transition:.6s all ease; - -ms-transition:.6s all ease -} -.info-meta span { - color:black; - font-size:13px; - vertical-align:bottom -} -.info-meta i { - margin-top:3px; - margin-right:10px; - float:left -} -.comnum { - float:left -} -.info-meta a { - color:black -} -.post-list:hover .info-meta { - -webkit-transform:translate3d(-230px,0,0); - transform:translate3d(-230px,0,0); - opacity:1; - visibility:visible -} -.post-list hr { - width:30%; - height:1px; - margin:0 auto; - border:0; - background:#efefef; - margin-top:20px -} -@media(max-width:860px) { - .site-main { - padding:15px 0 0 -} -}.post-list-thumb { - float:left; - width:100%; - height:300px; - position:relative; - margin:20px 0 20px; - border-radius:10px; - background-color:rgba(255,255,255,0); - box-shadow:0 1px 20px -6px rgba(0,0,0,.5); - opacity:0; - transition:box-shadow .3s ease -} -@media(min-width:860px) { - .post-list-thumb:hover { - box-shadow:0 5px 10px 5px rgba(110,110,110,.4) -} -}@media(max-width:860px) { - .post-list-thumb { - margin:0; - height:auto -} -}.post-list-thumb i { - margin-right:5px; - color:#989898; - font-size:14px -} -.post-list-thumb a { - color:#504e4e -} -.post-list-thumb .post-title h3 { - text-overflow:ellipsis; - display:-webkit-box; - -webkit-box-orient:vertical; - -webkit-line-clamp:2; - overflow:hidden; - word-wrap:break-word -} -.post-date,.post-meta,.post-meta a { - color:#888; - font-size:12px -} -.comments-number { - margin:0 10px -} -.post-thumb { - float:right; - width:55% -} -.post-thumb a { - height:300px; - position:relative; - display:block; - background-repeat:no-repeat; - background-size:cover; - overflow:hidden; - border-radius:0 10px 10px 0 -} -.post-thumb a img { - width:100%; - height:100%; - object-fit:cover; - pointer-events:none; - transition:all .6s -} -.post-list-thumb:hover img { - transform:scale(1.1) -} -.post-content-wrap { - position:relative; - display:inline-block; - float:right; - padding-right:30px; - padding-left:0; - width:40%; - margin:20px 10px 0 10px -} -.float-content { - position:relative; - width:100%; - right:0; - margin:0; - padding:0; - z-index:50; - color:rgba(0,0,0,.66) -} -.float-content .post-text { - display:inline-block; - text-align:justify; - font-size:14px -} -.float-content i { - font-size:25px; - color:#666 -} -.float-content p { - display:-webkit-box; - -webkit-box-orient:vertical; - -webkit-line-clamp:3; - height:67.5px; - overflow:hidden -} -.post-list-thumb-left .post-content-wrap { - float:left; - padding-left:30px; - padding-right:0; - text-align:right; - margin:20px 10px 10px 0 -} -.post-list-thumb-left .post-thumb { - float:left -} -.post-list-thumb-left .post-thumb a { - border-radius:10px 0 0 10px -} -@media(max-width:768px) { - .float-content p { - height:auto; - display:block -} -.post-bottom { - display:none -} -.post-list-thumb { - padding:0; - border:0; - box-shadow:none -} -.post-thumb,.post-content-wrap,.float-content { - width:100%; - left:0 -} -.post-content-wrap,.post-list-thumb-left .post-content-wrap { - text-align:left; - margin:0; - padding:20px; - float:none; - box-shadow:none; - border-top:0 -} -.post-list-thumb::before { - content:''; - width:1px; - height:100px; - background-color:rgba(0,0,0,0); - position:absolute; - left:0; - right:0; - margin:auto; - bottom:-101px; - z-index:0 -} -.float-content { - box-shadow:none; - padding:0; - margin:0 -} -.post-bottom { - text-align:right -} -.post-list-thumb-left .post-thumb a,.post-thumb a { - border-radius:10px -} -}@media(max-width:600px) { - .post-thumb a { - height:210px -} -.float-content .post-text { - font-size:13px; - margin-bottom:1em -} -}.post-list-show { - animation:post-list-show .5s; - -webkit-animation:post-list-show .5s; - opacity:1 -} -@keyframes post-list-show { - 0% { - opacity:0; - -webkit-transform:translateY(80px); - transform:translateY(80px) -} -100% { - opacity:1; - -webkit-transform:translateY(0); - transform:translateY(0) -} -}.postava img { - border-radius:50%; - padding:2px; - border:1px solid #e8e8e8; - margin-top:25px -} -.postava { - float:right -} -.post-status p { - margin:0 -} -.s-time { - position:relative; - top:16px; - font-size:12px; - color:#989898; - letter-spacing:1px; - text-align:right; - margin-bottom:10px; - margin-top:-15px -} -.s-content { - min-height:60px; - margin:0 14% 0 2%; - padding:15px 30px; - line-height:30px; - border:1px dashed #e0e0e0; - background:#fbfbfb -} -.s-time i { - font-size:13px; - margin-right:5px -} -.post-status { - margin-bottom:80px -} -.navigator { - text-align:center; - margin:80px 0; - display:block; - clear: both -} -.navigator a { - display:inline-block; - height:39px; - line-height:39px; - margin:20px 0 -} -.navigator i { - font-size:15px; - color:#d8d8d8; - padding:10px; - border:2px solid #ddd; - border-radius:50%; - margin:0 10px -} -.navigator i:hover { - color:#fff; - background:orange; - border:2px solid orange; - -webkit-transition:all .2s ease-in-out; - -moz-transition:all .2s ease-in-out; - -o-transition:all .2s ease-in-out; - transition:all .2s ease-in-out -} -/*网站底部*/ -.site-footer { - padding:2%; - background:#FF69B4; - /*max-width:800px;*/ - margin-left:auto; - margin-right:auto -} -.site-info { - text-align:center; - font-size:13px; - color:#FFFFFF -} -.site-info a { - color:#9B30FF -} -.site-info a:hover { - color:orange -} -.footertext p { - margin-bottom:8px -} -.footertext .foo-logo { - width:30px; - height:30px; - opacity:.3; - margin:0 auto; - background-size:cover; - background-position:center center; - background-repeat:no-repeat; - animation:poi-deg 12s infinite linear; - -webkit-animation:poi-deg 12s infinite linear -} -.site-statistics { - display:none -} -.entry-content .begin,.single-begin { - float:left; - font-size:3.6em; - line-height:1em; - margin-right:3px; - margin-top:2px; - font-weight:bold -} -@media screen and (max-width:860px) { - .entry-content .begin,.single-begin { - margin-top:6px -} -}.entry-content ul { - list-style:disc; - border:1px dashed #e4e4e4; - padding:15px 10px 15px 50px; - color:#616161; - margin-left:0; - border-radius:10px -} -.entry-content ol { - list-style:decimal; - border:1px dashed #e4e4e4; - padding:15px 10px 15px 50px; - color:#616161; - margin-left:0; - border-radius:10px -} -.entry-content ol li,.entry-content ul li { - padding:8px 0 -} -.entry-content { - position:relative -} -.entry-content h3 { - padding-bottom:8px; - border-bottom:1px dashed #ddd; - color:#737373 -} -.entry-content h3,.entry-content h4,.entry-content h5 { - padding-left:16px -} -.entry-content h2:after { - content:"\00B6"; - position:absolute; - color:#ff6d6d; - font-family:'Merriweather Sans',Helvetica,Tahoma,Arial,'PingFang SC','Hiragino Sans GB','Microsoft Yahei','WenQuanYi Micro Hei',sans-serif; - padding-left:6px; - font-size:1.03em -} -.serif .entry-content h2:after { - content:"\00B6"; - position:absolute; - color:#ff6d6d; - font-family:'Merriweather Sans',Helvetica,Tahoma,Arial,'PingFang SC','Hiragino Sans GB','Microsoft Yahei','WenQuanYi Micro Hei',sans-serif; - padding-left:6px; - font-size:1.13em -} -.entry-content h3:after { - content:"#"; - left:0; - position:absolute; - color:#ff6d6d -} -.entry-content h4:after { - content:"▌"; - left:0; - position:absolute; - color:#ff6d6d -} -.entry-content h5:after { - content:"♯"; - left:0; - position:absolute; - color:#ff6d6d -} -.entry-content code { - background:rgba(254,250,199,1); - color:#e67474; - word-break:break-word; - font-family:'Source Code Pro',monospace,Helvetica,Tahoma,Arial,STXihei,"STHeiti Light","Microsoft YaHei",sans-serif; - padding:2px; - text-shadow:none; - border-radius:5px -} -.entry-content a { - color:#e67474; - text-decoration:underline dotted rgba(0,0,0,.1) -} -.entry-content a:hover { - color:orange; - text-decoration:underline orange -} -h1.entry-title { - font-size:24px; - font-weight:300 -} -.entry-header h1.entry-title { - margin:auto; - text-align:center; - font-weight:bold; - text-transform:uppercase -} -.entry-header h1.entry-title:before { - content:" { - "; - color:#f8ba0b; - font-size:1.5em; - margin-right:6px; - vertical-align:sub -} -.entry-header h1.entry-title:after { - content:" -} -"; - color:#f8ba0b; - font-size:1.5em; - margin-left:6px; - vertical-align:sub -} -.entry-content p { - color:#797979 -} -.entry-content p { - line-height:30px -} -.entry-content hr { - margin-top:40px; - margin-bottom:40px; - display:block; - border:0; - text-align:center; - background:none -} -.entry-content hr:before { - content:'...'; - display:inline-block; - margin-left:.6em; - color:rgba(0,0,0,.8); - position:relative; - top:-30px; - font-size:28px; - letter-spacing:.6em -} -.entry-content .post-password-form { - text-align:center -} -.entry-header { - margin:auto; - text-align:left -} -.post .entry-header { - text-align:center -} -.entry-census { - font-size:12px; - margin:0; - color:#888 -} -.entry-header hr { - width:30%; - height:1px; - border:0; - background:#efefef; - margin:20px auto -} -.Extendfull img { - width:100%; - border:5px solid #f3f3f3 -} -h1.page-title { - font-size:20px; - font-weight:400; - border:1px dashed #ddd; - padding:10px 15px; - color:#828282; - margin-bottom:30px -} -h1.page-title.mb- { - margin-top:100px -} -.cd-top { - position:fixed; - right:25px; - top:-900px; - z-index:99; - width:70px; - height:900px; - background:url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/images/scroll.png) no-repeat center; - background-size:contain; - -webkit-transition:all .5s ease-in-out; - transition:all .5s ease-in-out; - cursor:url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/No_Disponible.cur),auto; - opacity:1 -} -.cd-top.cd-is-visible { - opacity:1; - top:-326px -} -.cd-top.cd-fade-out { - opacity:1 -} -.cd-top:hover { - opacity:1 -} -.cd-top span { - display:none; - color:#000; - position:absolute; - bottom:0; - height:20px; - width:50px; - text-align:center -} -@media screen and (max-width:860px) { - .cd-top { - display:none; - height:60px; - width:50px -} -.cd-top span { - height:10px; - width:50px -} -}#moblieGoTop { - display:none; - position:fixed; - bottom:10px; - right:10px; - z-index:99; - border:0; - outline:0; - background-color:#fff; - color:#404040; - cursor:pointer; - padding:15px; - border-radius:10px; - border-radius:12px; - box-shadow:0 0 2px 0 rgba(0,0,0,.12),0px 2px 2px 0 rgba(0,0,0,.24); - transition:box-shadow .2s ease -} -#moblieGoTop:hover { - background-color:#fff; - opacity:.8 -} -.post-footer { - padding:20px 0; - border-bottom:1px dashed #ddd; - border-top:1px dashed #ddd; - margin-top:30px; - height:82px -} -.post-lincenses { - text-align:center; - padding-bottom:5px; - font-size:14px -} -.post-lincenses a:hover { - color:#888 -} -.post-lincenses a { - color:#b3b3b3 -} -.post-tags { - float:left; - font-size:13px; - color:#b3b3b3; - text-transform:uppercase -} -.post-tags a { - color:#b3b3b3; - margin-right:5px -} -.post-tags a:hover { - color:orange -} -.post-tags i { - margin-right:5px -} -.post-like { - float:right -} -.post-like a { - color:#9fe0dd; - font-size:13px -} -.post-like i { - font-size:13px -} -.post-like a.done { - cursor:not-allowed -} -.post-share { - float:right; - list-style:none; - margin-right:20px -} -.post-share img:hover { - opacity:.8 -} -.post-share ul { - list-style:none; - margin:0; - padding:0; - opacity:0; - display:none; - top:-3px; - position:relative; - -moz-transition:opacity .4s ease-out; - -o-transition:opacity .4s ease-out; - -webkit-transition:opacity .4s ease-out; - transition:opacity .4s ease-out -} -.post-share .social-share { - opacity:0; - display:none -} -.post-share li { - float:left; - margin-right:20px -} -.post-share li img { - width:32px; - height:32px; - padding:7px -} -.post-share ul li i { - font-size:20px -} -.post-share span { - float:left; - margin-right:10px -} -.post-share ul li a:hover { - color:orange -} -.post-share .show-share { - margin-left:10px; - cursor:pointer; - opacity:.6; - float:right; - -moz-transition:opacity .1s ease-out; - -o-transition:opacity .1s ease-out; - -webkit-transition:opacity .1s ease-out; - transition:opacity .1s ease-out -} -.post-share:hover .show-share,.post-share:hover .sharehidden { - opacity:1; - display:inline-block -} -.post-squares { - overflow:hidden; - width:100%; - margin:55px 0; - background:#000 -} -.post-squares .background { - position:absolute; - z-index:50; - top:0; - left:0; - width:100%; - height:100%; - opacity:.4; - background-size:cover; - -webkit-transition:opacity .15s ease-out; - -moz-transition:opacity .15s ease-out; - transition:opacity .15s ease-out -} -.post-squares .info { - position:relative; - z-index:98 -} -.post-squares article,.post-squares a { - position:relative; - display:block; - float:left; - overflow:hidden; - height:100%; - padding:55px 25px; - text-align:center -} -.post-squares article:hover>.background,.post-squares a:hover>.background { - opacity:.6 -} -.post-squares .category { - font-size:10px; - padding:7px 15px; - text-transform:uppercase; - color:#fff; - border-radius:90px; - background:#7fbb00 -} -.post-squares h3 { - font-size:17px; - font-weight:400; - line-height:30px; - margin:20px 0; - color:#fff; - overflow:hidden; - white-space:nowrap; - text-overflow:ellipsis; - display:block -} -.post-squares h3 a { - display:block; - color:#fff -} -.post-squares hr { - width:15%; - height:0; - border:0; - background:rgba(255,255,255,.6) -} -.post-squares .label { - font-size:13px; - display:block; - text-transform:uppercase; - color:rgba(255,255,255,.7) -} -.post-squares .full { - width:100% -} -.post-squares .half { - width:50%; - float:left -} -.post-squares .third { - width:33.333% -} -@media(max-width:860px) { - .post-squares .third { - width:100% -} -}@media(max-width:760px) { - .post-squares .half { - float:none; - width:100% -} -}@media(max-width:900px) { - .post-squares.post-squares-featured { - display:none -} -}.post-squares.nextprev article,.post-squares.nextprev a { - height:150px; - padding:55px 40px; - text-align:left -} -.post-squares.nextprev a { - width:100% -} -.post-squares.nextprev .label { - position:absolute; - z-index:100; - top:0 -} -.post-squares.nextprev .info { - position:absolute; - width:70% -} -.post-squares.nextprev .next h3,.post-squares.nextprev .previous h3 { - font-size:14px -} -.post-squares.nextprev .previous { - text-align:left -} -.post-squares.nextprev .previous .info { - bottom:40px; - left:40px -} -.post-squares.nextprev .previous .label { - top:40px; - left:40px -} -.post-squares.nextprev .previous hr { - float:left; - margin:0 -} -.post-squares.nextprev .next .info { - text-align:right -} -.post-squares.nextprev .next .info { - right:40px; - bottom:40px -} -.post-squares.nextprev .next .label { - top:40px; - right:40px -} -.post-squares.nextprev .next hr { - float:right; - margin:0 -} -@media(max-width:760px) { - .post-squares.nextprev article { - height:150px; - width:100% -} -}.post-squares.post-squares-featured { - height:250px -} -.author-profile { - padding:30px 12.78%; - text-align:center -} -.author-profile .info { - overflow:hidden; - text-align:center -} -.author-profile .profile { - display:inline-block; - width:70px; - height:70px -} -.author-profile .profile img { - max-width:100%; - border-radius:100%; - padding:3px; - border:1px solid #ddd -} -.author-profile hr { - width:50%; - height:0; - margin:0 -} -.author-profile .meta { - display:block; - text-align:center -} -.author-profile .meta h3 { - margin:10px 0 0; - text-transform:none -} -.author-profile .meta h3 a { - font-size:18px; - font-weight:400; - line-height:normal; - letter-spacing:1px; - color:#ababab -} -.author-profile .meta .title { - display:none -} -.author-profile p { - font-size:13px; - line-height:30px; - margin:15px 0 0; - color:#7d8588; - letter-spacing:0; - display:inline-block; - padding:10px 20px; - border-top:1px solid #efefef; - border-bottom:1px solid #efefef -} -.author-profile i { - color:#65c186; - float:none; - margin-right:10px; - font-size:16px -} -.mashiro-profile { - color:#7a7b7c; - text-align:left; - width:330px; - height:100px; - position:relative; - top:70px; - left:50%; - transform:translate(-50%,-50%); - border-radius:5px; - background-color:#fafafa; - box-shadow:0 0 2rem #babbbc; - animation:show-profile .5s forwards ease-in-out -} -@keyframes show-profile { - 0% { - width:0 -} -}.mashiro-profile .photo,.mashiro-profile .content { - box-sizing:border-box -} -.mashiro-profile .photo { - width:100px; - height:100px; - border-radius:50%; - overflow:hidden; - border:5px solid #fafafa; - background-color:#fafafa; - margin-left:-50px; - box-shadow:0 0 .5rem #babbbc; - animation:rotate-photo .5s forwards ease-in-out -} -@keyframes rotate-photo { - 100% { - transform:rotate(-360deg) -} -}.mashiro-profile .photo img { - width:100% -} -.mashiro-profile .content { - padding:10px; - overflow:hidden; - position:absolute; - width:100%; - height:100%; - top:0; - left:0 -} -.mashiro-profile .content::before { - content:""; - position:absolute; - width:230px; - height:150px; - background-color:#fef1c7; - left:0; - top:-20px; - z-index:-1; - transform:rotate(-8deg) -} -.mashiro-profile .content .text { - margin-top:20px; - margin-left:50px -} -.mashiro-profile .content .text h3,.mashiro-profile .content .text h6 { - font-weight:normal; - margin:3px 0; - letter-spacing:.5px; - white-space:nowrap -} -.mashiro-profile .content .btn { - background-color:#abc; - width:50px; - height:50px; - position:absolute; - right:25px; - top:25px; - border-radius:50%; - z-index:1; - cursor:pointer; - transition-duration:.3s; - animation:pop-btn .3s both ease-in-out .5s -} -@keyframes pop-btn { - 0% { - transform:scale(0) -} -80% { - transform:scale(1.2) -} -100% { - transform:scale(1) -} -}.mashiro-profile .content .btn:hover { - box-shadow:0 0 0 5px rgba(170,187,204,.5) -} -.mashiro-profile .content .btn span { - width:60%; - height:2px; - position:absolute; - background-color:white; - top:50%; - left:20%; - transform:translateY(-50%); - animation:to-hamburger .3s forwards ease-in-out -} -.mashiro-profile .content .btn span::before,.mashiro-profile .content .btn span::after { - content:""; - width:100%; - height:2px; - position:absolute; - background-color:white; - transition-duration:.3s; - transform:rotate(0deg); - right:0 -} -.mashiro-profile .content .btn span::before { - margin-top:-7px -} -.mashiro-profile .content .btn span::after { - margin-top:7px -} -.mashiro-profile .content .btn.active span { - animation:to-arrow .3s forwards ease-in-out -} -.mashiro-profile .content .btn.active span::before,.mashiro-profile .content .btn.active span::after { - width:60%; - right:-1px -} -.mashiro-profile .content .btn.active span::before { - transform:rotate(45deg) -} -.mashiro-profile .content .btn.active span::after { - transform:rotate(-45deg) -} -@keyframes to-hamburger { - from { - transform:translateY(-50%) rotate(-180deg) -} -}@keyframes to-arrow { - from { - transform:translateY(-50%) rotate(0deg) -} -to { - transform:translateY(-50%) rotate(180deg) -} -}.mashiro-profile .box { - width:150px; - height:150px; - opacity:0; - border-radius:50%; - background-color:rgba(255,255,255,.7); - position:absolute; - top:50%; - right:-40%; - transform:translate(-50%,-50%); - transition-duration:.3s -} -.mashiro-profile .box a { - width:50px; - height:50px; - border-radius:50%; - background-color:#ececec; - font-size:26px; - text-align:center; - line-height:50px; - position:absolute; - left:18px; - top:calc(75px - 50px/2); - box-shadow:0 0 .5rem #babbbc; - transition-duration:.3s; - text-decoration:none -} -.mashiro-profile .box a:hover { - transition-delay:initial !important; - box-shadow:0 0 0 5px #babbbc -} -.mashiro-profile .box.open { - opacity:1 -} -.mashiro-profile .box.open a { - left:60px -} -.mashiro-profile .box.open a:nth-of-type(1) { - transform:rotate(-90deg) translateX(120px) rotate(90deg); - transition-delay:0s -} -.mashiro-profile .box.open a:nth-of-type(2) { - transform:rotate(-45deg) translateX(120px) rotate(45deg); - transition-delay:.1s -} -.mashiro-profile .box.open a:nth-of-type(3) { - transform:rotate(0deg) translateX(120px) rotate(0deg); - transition-delay:.2s -} -.mashiro-profile .box.open a:nth-of-type(4) { - transform:rotate(45deg) translateX(120px) rotate(-45deg); - transition-delay:.3s -} -.mashiro-profile .box.open a:nth-of-type(5) { - transform:rotate(90deg) translateX(120px) rotate(-90deg); - transition-delay:.4s -} -#loading-comments { - display:none; - max-width:860px; - margin:0 auto; - height:40px; - text-align:center; - line-height:45px; - background-image:url("https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/images/disqus-preloader.svg"); - background-position:center; - background-repeat:no-repeat; - background-size:auto 100% -} -h3#comments-list-title { - max-width:860px; - width:100%; - margin:0 auto; - margin-bottom:40px; - color:#7d7d7d; - font-weight:400 -} -#comments-list-title span { - font-size:13px; - font-weight:400; - color:#909090 -} -.butterBar { - position:fixed; - text-align:center; - top:0; - left:0; - right:0; - width:100%; - z-index:10000 -} -.butterBar--center { - margin:auto -} -.butterBar-message { - background:#fe9600; - color:#fff; - border-bottom-left-radius:4px; - border-bottom-right-radius:4px; - display:inline-block; - font-size:14px; - margin-bottom:0; - padding:12px 25px; - z-index:10000; - margin-top:-4px +input, +button { + margin: 0; + padding: 0; +} +input::-moz-focus-inner, +button::-moz-focus-inner { + border: 0; + padding: 0; +} +@font-face { + font-family: FontAwesome; + font-style: normal; + font-weight: normal; + src: url("fonts/fontawesome-webfont.eot?v=#4.0.3"); + src: url("fonts/fontawesome-webfont.eot?#iefix&v=#4.0.3") format("embedded-opentype"), url("fonts/fontawesome-webfont.woff?v=#4.0.3") format("woff"), url("fonts/fontawesome-webfont.ttf?v=#4.0.3") format("truetype"), url("fonts/fontawesome-webfont.svg#fontawesomeregular?v=#4.0.3") format("svg"); +} +html, +body, +#container { + height: 100%; } +body { + background: #eee; + font: 14px -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; + -webkit-text-size-adjust: 100%; +} +.outer { + max-width: 1220px; + margin: 0 auto; + padding: 0 20px; +} +.outer:before, +.outer:after { + content: ""; + display: table; +} +.outer:after { + clear: both; +} +.inner { + display: inline; + float: left; + width: 98.33333333333333%; + margin: 0 0.833333333333333%; +} +.left, .alignleft { - display:inline; - float:left; - margin-right:1.5em + float: left; } +.right, .alignright { - display:inline; - float:right; - margin-left:1.5em -} -.aligncenter { - clear:both; - display:block; - margin-left:auto; - margin-right:auto -} -.entry-content a img.alignleft,.entry-content a img.alignright,.entry-content a img.aligncenter { - cursor:-webkit-zoom-in -} -#baguetteBox-overlay .full-image { - cursor:-webkit-zoom-out -} -#baguetteBox-overlay .full-image img,#baguetteBox-overlay .full-image figcaption { - cursor:auto -} -.clear:before,.clear:after,.entry-content:before,.entry-content:after,.comment-content:before,.comment-content:after,.site-header:before,.site-header:after,.site-content:before,.site-content:after,.site-footer:before,.site-footer:after { - content:""; - display:table; - table-layout:fixed -} -.clear:after,.entry-content:after,.comment-content:after,.site-header:after,.site-content:after,.site-footer:after { - clear:both -} -.sticky { - display:block -} -.hentry { - margin:0 0 1.5em -} -.byline,.updated:not(.published) { - display:none -} -.single .byline,.group-blog .byline { - display:inline -} -.page-content,.entry-summary { - margin:1.5em 0 0 -} -.page-links { - clear:both; - margin:0 0 1.5em -} -span.edit-link { - display:none -} -.blog .format-aside .entry-title,.archive .format-aside .entry-title { - display:none -} -.clearer { - display:block; - clear:both -} -.works-list { - float:left; - width:32.5%; - margin:0 3px -} -.works-entry { - float:left; - margin-bottom:8px -} -.works-main { - width:100%; - height:175px; - position:relative; - float:left; - background:#f7f7f7; - border:1px solid #f1f1f1; - overflow:hidden -} -.works-feature img { - width:257px; - height:175px -} -h1.works-title { - font-size:16px; - font-weight:400; - margin:0 0 10px 0; - padding:0 20px; - padding-top:40px -} -.works-title a { - color:#6d6d6c -} -.works-main p { - margin:0; - padding:0 15px; - line-height:20px -} -.works-p-time { - float:left; - font-size:12px; - padding-left:20px; - color:#b7b7b7 -} -.works-p-time i { - font-size:12px -} -.works-comnum a { - color:#b7b7b7 -} -.works-meta i { - font-size:12px -} -.works-meta span { - font-size:12px; - float:right; - margin-right:20px; - color:#b7b7b7 -} -.works-main .works-overlay { - opacity:.95; - top:-100%; - -webkit-transition:.5s; - -moz-transition:.5s; - transition:.5s; - color:#000 -} -.works-overlay { - position:absolute; - left:0; - top:0; - background-color:#fff; - height:100%; - opacity:0; - width:100% -} -.worksmore { - position:absolute; - width:100%; - height:100%; - top:0 -} -.works-main:hover .works-overlay { - top:0 -} -#archives-temp { - margin-top:50px; - margin-bottom:100px -} -#archives-temp h2 { - font-weight:400; - color:#676767; - padding-bottom:15px; - border-bottom:1px dashed #f1f1f1; - text-align:center -} -#archives-temp h3 { - letter-spacing:2px; - font-style:italic; - font-size:20px; - font-weight:400; - color:orange; - margin-left:30px; - margin-top:50px -} -#archives-temp h3:hover { - color:#ddd; - cursor:pointer -} -span.time { - float:right; - color:#cacaca -} -.brick { - margin-left:30px -} -.brick a { - color:#7d7d7d; - padding:20px 20px; - background:#f5f5f5; - margin-bottom:20px; - display:block; - letter-spacing:0 -} -.ar-time i { - padding:10px; - border-radius:100px; - background:orange; - color:#fff -} -.ar-time { - position:absolute; - left:-18px; - top:px; - margin-top:3px -} -#archives-content { - position:relative; - border-left:1px dashed #f5f5f5 -} -.arrow-left-ar { - width:0; - height:0; - display:block; - float:left; - margin-top:10px; - border-left:20px solid transparent; - border-bottom:20px solid #f5f5f5; - margin-left:11px -} -span.ar-circle { - height:10px; - width:10px; - background:orange; - display:inline-block; - position:absolute; - left:-5px; - margin-top:22px; - border-radius:100px -} -.brick em { - font-style:normal; - margin-left:5px -} -.time i { - margin:3px -} -h1.cat-title { - display:inline-block; - font-size:25px; - font-weight:400; - padding-right:15px; - border-right:1px dashed #ddd; - color:#676767 -} -.cat-des p { - display:inline-block; - padding-left:10px -} -header.page-header { - position:relative; - text-align:center; - margin-bottom:50px; - color:#9c9c9c -} -.links { - margin-bottom:80px -} -.links ul { - margin:0; - list-style:none; - padding:0; - width:100%; - display:inline-block -} -.links ul li { - width:32%; - float:left; - border:1px solid #ececec; - padding:10px 30px; - margin:4px 4px; - position:relative; - overflow:hidden; - -webkit-transition:all .3s; - transition:all .3s; - border-radius:10px -} -.links ul li img { - float:right; - box-shadow:inset 0 0 10px #000; - padding:5px; - opacity:1; - transform:rotate(0deg); - -webkit-transform:rotate(0deg); - -moz-transform:rotate(0deg); - -o-transform:rotate(0deg); - -ms-transform:rotate(0deg); - transition:all ease 1s; - -webkit-transition:all ease 1s; - -moz-transition:all ease 1s; - -o-transition:all ease 1s; - margin-top:5px; - width:65px; - height:65px; - padding:2px; - border-radius:100% -} -.links ul li:hover img { - transform:rotate(360deg); - -webkit-transform:rotate(360deg); - -moz-transform:rotate(360deg); - -o-transform:rotate(360deg); - -ms-transform:rotate(360deg) -} -span.sitename { - color:orange; - padding-bottom:10px; - display:block; - -webkit-transition:all .3s; - transition:all .3s; - overflow:hidden; - text-overflow:ellipsis; - -o-text-overflow:ellipsis; - white-space:nowrap -} -.linkdes { - color:#949494; - font-size:13px; - padding:10px 0; - border-top:1px dashed #ddd; - text-overflow:ellipsis; - overflow:hidden; - white-space:nowrap; - line-height:25px; - -webkit-transition:all .5s; - transition:all .5s -} -.link-title { - font-weight:400; - color:#6d6d6d; - padding-left:0; - border-left:0; - margin:50px 0 20px -} -.link-title span.fake-title { - padding-left:10px; - border-left:3px solid #FF69B4 -} -.links ul li:before { - content:""; - background-color:#FF69B4; - -webkit-transform:skew(45deg,0); - transform:skew(45deg,0); - width:0; - height:100%; - position:absolute; - top:0; - left:-60px; - z-index:-1; - -webkit-transition:all .5s; - transition:all .5s -} -.links ul li:hover { - color:#27323a; - border:1px solid #FF69B4 -} -.links ul li:hover:before { - width:180% -} -.links ul li:hover .linkdes { - border-top:1px dashed #fff -} -span.linkss-title { - font-size:25px; - text-align:center; - display:block; - margin:50px 0 30px; - letter-spacing:5px -} -.notification-hidden { - display:none -} -form#commentform { - outline:0 -} -nav#comments-navi { - margin:0 auto; - max-width:860px; - width:100%; - color:#9a9a9a -} -span.page-numbers.current { - color:#74ccc4; - padding:0 5px -} -a.page-numbers { - color:#ababab; - padding:0 5px -} -.comments { - clear:both; - overflow:hidden; - width:100%; - padding:60px 0 80px; - list-style:none; - background:rgba(255,255,255,.8); - padding:0 10px; - max-width:800px; - margin-left:auto; - margin-right:auto -} -.comments .commentwrap { - width:100%; - max-width:860px; - margin:0 auto; - padding:0 -} -.comments .commentwrap hr { - height:0; - width:100%; - background:#eee; - border:0; - margin:40px 0 -} -@media(max-width:1080px) { - .comments .commentwrap { - width:100%; - padding:0 6.39%; - max-width:1245px; - margin-bottom:40px -} -}.comments .comments-hidden { - display:none; - cursor:pointer -} -.comments .comments-main { - overflow:hidden; - -webkit-transition:height 0s ease-out; - -moz-transition:height 0s ease-out; - transition:height 0s ease-out -} -.comments ul.commentwrap { - margin:0 auto 30px -} -.comnav { - width:100%; - max-width:860px; - margin:0 auto -} -.comnav a { - padding:10px; - color:#7b7b7b; - margin-bottom:20px -} -@media(max-width:1080px) { - .comments { - padding:6.39% 0 0; - padding-bottom:80px; - max-width:100%; - padding:0 10px; - max-width:800px; - margin-left:auto; - margin-right:auto -} -}@media(max-width:860px) { - .comments { - padding:6.39% 0 0; - max-width:100%; - padding:0 10px; - max-width:800px; - margin-left:auto; - margin-right:auto -} -}.comment { - margin:0; - padding:0; - list-style:none -} -.comment .contents { - width:100%; - float:left -} -.comment .isauthor { - display:none -} -.comment.bypostauthor>.contents .isauthor { - display:inline -} -.comment .body { - line-height:32px; - color:#63686d; - border-bottom:1px solid rgba(0,0,0,.05); - position:relative -} -.comment .body p { - font-size:14px; - line-height:30px; - margin-top:15px; - padding-bottom:30px; - padding-left:3px; - color:#63686d -} -.comment .body p a { - color:#000; - padding:0 5px; - text-decoration:underline -} -.comment .body .comment-at { - color:#99ce00; - text-decoration:none -} -@media(max-width:580px) { - .comment .body p { - margin:0; - font-size:12px; - line-height:24px; - padding-bottom:13px -} -}.comment .body>*:last-child { - margin-bottom:0 -} -.comment .profile { - float:left; - margin-right:10px; - margin-top:5px -} -.comment .profile img { - width:100%; - max-width:40px; - height:40px; - border-radius:100%; - -webkit-transition:opacity .15s ease-out; - -moz-transition:opacity .15s ease-out; - transition:opacity .15s ease-out -} -.comment .profile img:hover { - opacity:.8 -} -.comment .main { - float:right; - width:100%; - padding:0 -} -.comment .commeta { - font-size:16px; - overflow:hidden; - margin-bottom:5px; - text-transform:uppercase; - color:#9499a8; - margin-left:50px -} -.comment .comment-reply-link { - font-size:12px; - display:block; - margin-left:10px; - float:right; - text-transform:uppercase; - color:#fff; - background-color:#e2684a; - line-height:20px; - padding:0 6px; - border-radius:3px; - opacity:0 -} -.comment .contents:hover .comment-reply-link { - opacity:.9 -} -.comment .contents .comment-reply-link:hover { - opacity:1 -} -@media(max-width:880px) { - .comment .comment-reply-link { - opacity:1 -} -.comment .contents { - padding-bottom:10px -} -.comment .commeta { - margin-left:0 -} -}.comment .info { - margin-top:2px; - font-size:12px; - letter-spacing:0; - text-transform:none; - color:rgba(0,0,0,.35) -} -.comment .info .useragent-info img { - vertical-align:sub; - width:14px; - height:14px; - border:0 -} -.comment .info .useragent-info-m { - margin-top:2px; - font-size:12px; - letter-spacing:0; - text-transform:none; - color:rgba(0,0,0,.35); - display:none -} -.comment .info .useragent-info-m img { - vertical-align:sub; - width:14px; - height:14px; - border:0 -} -@media(max-width:480px) { - .comment .info .useragent-info { - display:none -} -.comment .info .useragent-info-m { - display:inline -} -}.comment .comment-edit-link { - margin-top:2px; - font-size:12px; - letter-spacing:0; - text-transform:none; - color:rgba(0,0,0,.35) -} -.comment h4 { - font-size:24px; - font-weight:400; - margin:0; - letter-spacing:0; - text-transform:none; - line-height:20px -} -.comment h4 img { - display:none; - border-radius:3px; - margin-right:5px; - vertical-align:-4px -} -.comment h4 a { - color:#e2684a; - font-size:15px; - font-weight:600 -} -.comment h4 a:hover { - color:orange -} -.comment hr { - clear:both; - width:100%; - height:1px; - margin:40px 0 60px; - border:0; - background:#e6e6e6 -} -.comment .children { - padding-left:40px; - margin:0 -} -.comment .children .children .children .children .children .children { - margin:0; - padding:0 -} -.comment .children .profile { - float:left; - width:5%; - margin-top:4px -} -.comment .children .profile img { - height:40px; - width:40px -} -.comment .children .main { - width:100% -} -@media(max-width:880px) { - .comment hr { - margin:6.39% 0 -} -.comment .profile { - display:none -} -.comment .main,.comment .children .main { - width:100% -} -.comment h4 img { - display:inline-block -} -.arrow-left { - display:none -} -.comment .children { - padding-left:2em; - margin:0 -} -.comment .children .children .children { - margin:0; - padding:0 -} -}.comments .main.shadow img.avatar { - transform:rotate(0deg); - -webkit-transform:rotate(0deg); - -moz-transform:rotate(0deg); - -o-transform:rotate(0deg); - -ms-transform:rotate(0deg); - transition:all ease 1s; - -webkit-transition:all ease 1s; - -moz-transition:all ease 1s; - -o-transition:all ease 1s; - box-shadow:0 1px 10px -6px rgba(0,0,0,.5); - margin-left:3px -} -.comments .main.shadow:hover img.avatar { - -webkit-transform:rotate(360deg); - -moz-transform:rotate(360deg); - -ms-transform:rotate(360deg); - -o-transform:rotate(360deg); - transform:rotate(360deg) -} -.comment-respond { - width:100%; - max-width:860px; - margin:0 auto; - padding:0 -} -.comment-respond .logged-in-as { - margin-bottom:0 -} -.comment-respond #cancel-comment-reply-link { - background:#f4f6f8; - border-radius:3px; - padding:12px 25px; - font-size:12px; - color:#454545 -} -.comment-respond textarea,.comment-respond input { - font-size:14px; - width:31.3%; - margin:0; - padding:21px 21px 20px; - color:#535a63; - border:0; - background:#fff -} -.comment-respond input { - border:1px solid #ddd; - width:100%; - background-color:rgba(255,255,255,0) -} -.comment-respond input:last-of-type { - margin-right:0 -} -@media(max-width:625px) { - .comment-respond input { - width:100%; - margin-bottom:15px -} -}.comment-respond textarea { - display:block; - float:none; - width:100%; - height:180px; - margin-bottom:10px; - color:#535a63; - border:1px solid #ddd; - background-color:rgba(255,255,255,0) -} -.comment-respond textarea { - background-image:url('https://view.moezx.cc/images/2018/03/24/comment-bg.png'); - background-size:contain; - background-repeat:no-repeat; - background-position:right; - background-color:rgba(255,255,255,0); - resize:vertical -} -.comment-respond .form-submit { - clear:both; - display:block; - overflow:hidden; - margin-bottom:40px; - padding:0 -} -.comment-respond input[type='submit'] { - width:calc(98% - 46px); - margin:0; - padding:15px 25px; - text-transform:none; - color:#535a63; - background:none; - border-right:0; - -webkit-transition:all .1s ease-out; - -moz-transition:all .1s ease-out; - transition:all .1s ease-out; - box-shadow:none; - border:1px solid #ccc; - text-shadow:none -} -.comment-respond input[type='submit']:hover { - border:1px solid #fe9600; - background:none !important; - color:#fe9600 -} -.comment-respond input[type='submit']:hover { - background:#5aa738 -} -.comment-respond input:focus,.comment-respond textarea:focus,.comment-respond input:active,.comment-respond textarea:active { - outline:0 -} -.comment-respond input::-webkit-input-placeholder,.comment-respond textarea::-webkit-input-placeholder { - color:#535a63 -} -.comment-respond input:-moz-placeholder,.comment-respond textarea:-moz-placeholder { - opacity:1; - color:#535a63 -} -.comment-respond input::-moz-placeholder,.comment-respond textarea::-moz-placeholder { - opacity:1; - color:#535a63 -} -.comment-respond input:-ms-input-placeholder,.comment-respond textarea:-ms-input-placeholder { - color:#535a63 -} -@media(max-width:1080px) { - .comment-respond { - width:100%; - padding:0 6.39%; - max-width:1245px -} -}.notification,.comment-respond .logged-in-as { - padding:19px 32px 17px; - border-radius:3px; - background:#fff; - color:#6f6f6f -} -.comment-respond .logged-in-as { - width:100%; - max-width:100%; - text-align:left; - border:0; - margin:0; - padding:19px 5px 17px; - background:none -} -.notification i,.comment-respond .logged-in-as i { - margin-right:10px; - font-size:16px -} -.comment-respond .logged-in-as a { - color:#454545 -} -.comment-respond .logged-in-as a:hover { - color:#000 -} -.notification { - max-width:300px; - margin:auto; - text-align:center; - border:1px solid #ddd -} -.notification span { - font-size:13px; - color:#b3b3b3 -} -.siren-checkbox-label { - position:relative; - top:-8px; - margin:0 20px 0 0; - display:inline-block; - cursor:pointer; - color:#555; - font-size:14px -} -.siren-checkbox-label input { - padding:0; - margin:0; - float:none; - width:initial -} -.siren-checkbox-radio { - display:none -} -.siren-checkbox-radioInput { - background-color:#fff; - border:1px solid rgba(0,0,0,.15); - border-radius:100%; - display:inline-block; - height:18px; - margin-right:8px; - margin-top:-7px; - vertical-align:sub; - width:18px; - line-height:1 -} -.siren-checkbox-radio:checked+.siren-checkbox-radioInput:after { - background-color:#fe9600; - border-radius:100%; - content:""; - display:block; - height:12px; - margin:2px; - width:12px -} -.siren-is-private-checkbox.siren-checkbox-radioInput,.siren-checkbox-radio:checked+.siren-is-private-checkbox.siren-checkbox-radioInput:after { - border-radius:100% -} -@media(max-width:625px) { - .siren-checkbox-label { - top:8px; - margin-bottom:10px -} -}h1.fes-title,h1.main-title { - color:#666; - font-size:16px; - font-weight:400; - padding-bottom:5px; - margin-bottom:30px; - border-bottom:1px dashed #ececec -} -.feature-content { - margin-top:10px; - display:inline-block; - position:relative -} -.top-feature { - width:100%; - height:auto; - margin-top:55px -} -.top-feature img { - height:160px; - width:257px; - border-radius:10px -} -.top-feature li { - width:32.9%; - float:left; - margin:0 auto; - position:relative; - display:block -} -li.feature-2 { - margin-left:5px; - margin-right:5px -} -.foverlay-bg { - position:absolute; - width:100%; - height:160px; - text-align:center; - line-height:160px; - color:white; - font-size:32px; - opacity:0; - border-radius:10px; - background:#02111D10; - background:-webkit-linear-gradient(to right,#02111D80,#02111D20,#02111D80); - background:linear-gradient(to right,#02111D80,#02111D10,#02111D80) -} -.top-feature li:hover .foverlay-bg { - opacity:1 -} -.feature-title .foverlay { - color:#fff; - font-size:32px; - height:110px; - text-align:center; - border-radius:10px; - z-index:-1; - position:absolute; - bottom:0; - width:100%; - -webkit-transform:translateY(calc(70px + 1em)); - transform:translateY(calc(70px + 1em)); - -webkit-transition:-webkit-transform .3s; - transition:-webkit-transform .3s; - transition:transform .3s; - transition:transform .3s,-webkit-transform .3s -} -.foverlay { - -moz-transition:opacity .4s ease-out; - -o-transition:opacity .4s ease-out; - -webkit-transition:opacity .4s ease-out; - transition:opacity .4s ease-out -} -.top-feature li:hover .feature-title .foverlay { - z-index:9; - -webkit-transform:translateY(0); - transform:translateY(0) -} -.notice { - padding:20px; - border:1px dashed #e6e6e6; - color:#969696; - position:relative; - display:inline-block; - width:100%; - background:#fbfbfb50; - border-radius:10px -} -.notice i { - float:left; - color:#999; - font-size:18px; - padding-right:10px -} -.notice-content { - display:initial; - vertical-align:middle -} -@media(max-width:860px) { - .notice { - margin-top:40px; - margin-bottom:20px -} -}.headertop { - position:relative; - overflow:hidden; - height:0 -} -.headertop::before { - content:''; - position:absolute; - top:0; - bottom:0; - left:0; - right:0; - z-index:3; - background-attachment:fixed -} -.headertop.filter-undertint::before { - background-color:rgba(255,255,255,.3) -} -.headertop.filter-dim::before { - background-color:rgba(0,0,0,.3) -} -.headertop.filter-grid::before { - background-image:url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/images/grid.png) -} -.headertop.filter-dot::before { - background-image:url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/images/dot.gif) -} -@media(max-width:860px) { - .headertop.filter-dot::before { - background-image:url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/images/grid.png) -} -}.headertop-bar::after { - content:''; - width:150%; - height:4.375rem; - background:#fff; - left:-25%; - bottom:-2.875rem; - border-radius:100%; - position:absolute; - z-index:4 -} -.headertop-down { - position:absolute; - bottom:50px; - left:50%; - cursor:pointer; - z-index:5 -} -@media(max-width:860px) { - .headertop-down { - display:none -} -}.headertop-down i { - font-size:28px; - color:#fff; - -ms-transform:scale(1.5,1); - -webkit-transform:scale(1.5,1); - transform:scale(1.5,1) -} -#centerbg { - width:100%; - height:550px; - margin:0; - padding:0; - background-repeat:no-repeat; - background-attachment:fixed; - background-size:cover; - z-index:-1 -} -@media(max-width:560px) { - #bgvideo { - min-height: 280px !important; - } -} -@media(max-width:860px) { - #centerbg { - height:300px; - background-attachment:scroll -} -.focusinfo .header-tou img { - width: 100px !important; -} -.header-info { - width: 90% !important; -} -.header-info:before { - top: 98px !important; -} -.top-social_v2 li { - margin-right: 0px !important; - cursor: url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/ayuda.cur),auto !important; -} -} -#bgvideo { + float: right; +} +.clear { + clear: both; +} +#container { + position: relative; +} +.mobile-nav-on { + overflow: hidden; +} +#wrap { + height: 100%; + width: 100%; + position: absolute; + top: 0; + left: 0; + -webkit-transition: 0.2s ease-out; + -moz-transition: 0.2s ease-out; + -ms-transition: 0.2s ease-out; + transition: 0.2s ease-out; + z-index: 1; + background: #eee; +} +.mobile-nav-on #wrap { + left: 280px; +} +@media screen and (min-width: 768px) { + #main { + display: inline; + float: left; + width: 73.33333333333333%; + margin: 0 0.833333333333333%; + } +} +.article-date, +.article-category-link, +.archive-year, +.widget-title { + text-decoration: none; + text-transform: uppercase; + letter-spacing: 2px; + color: #999; + margin-bottom: 1em; + margin-left: 5px; + line-height: 1em; + text-shadow: 0 1px #fff; + font-weight: bold; +} +.article-inner, +.archive-article-inner { + background: #fff; + -webkit-box-shadow: 1px 2px 3px #ddd; + box-shadow: 1px 2px 3px #ddd; + border: 1px solid #ddd; + border-radius: 3px; +} +.article-entry h1, +.widget h1 { + font-size: 2em; +} +.article-entry h2, +.widget h2 { + font-size: 1.5em; +} +.article-entry h3, +.widget h3 { + font-size: 1.3em; +} +.article-entry h4, +.widget h4 { + font-size: 1.2em; +} +.article-entry h5, +.widget h5 { + font-size: 1em; +} +.article-entry h6, +.widget h6 { + font-size: 1em; + color: #999; +} +.article-entry hr, +.widget hr { + border: 1px dashed #ddd; +} +.article-entry strong, +.widget strong { + font-weight: bold; +} +.article-entry em, +.widget em, +.article-entry cite, +.widget cite { + font-style: italic; +} +.article-entry sup, +.widget sup, +.article-entry sub, +.widget sub { + font-size: 0.75em; + line-height: 0; + position: relative; + vertical-align: baseline; +} +.article-entry sup, +.widget sup { + top: -0.5em; +} +.article-entry sub, +.widget sub { + bottom: -0.2em; +} +.article-entry small, +.widget small { + font-size: 0.85em; +} +.article-entry acronym, +.widget acronym, +.article-entry abbr, +.widget abbr { + border-bottom: 1px dotted; +} +.article-entry ul, +.widget ul, +.article-entry ol, +.widget ol, +.article-entry dl, +.widget dl { + margin: 0 20px; + line-height: 1.6em; +} +.article-entry ul ul, +.widget ul ul, +.article-entry ol ul, +.widget ol ul, +.article-entry ul ol, +.widget ul ol, +.article-entry ol ol, +.widget ol ol { + margin-top: 0; + margin-bottom: 0; +} +.article-entry ul, +.widget ul { + list-style: disc; +} +.article-entry ol, +.widget ol { + list-style: decimal; +} +.article-entry dt, +.widget dt { + font-weight: bold; +} +#header { + height: 300px; + position: relative; + border-bottom: 1px solid #ddd; +} +#header:before, +#header:after { + content: ""; + position: absolute; + left: 0; + right: 0; + height: 40px; +} +#header:before { + top: 0; + background: -webkit-linear-gradient(rgba(0,0,0,0.2), transparent); + background: -moz-linear-gradient(rgba(0,0,0,0.2), transparent); + background: -ms-linear-gradient(rgba(0,0,0,0.2), transparent); + background: linear-gradient(rgba(0,0,0,0.2), transparent); +} +#header:after { + bottom: 0; + background: -webkit-linear-gradient(transparent, rgba(0,0,0,0.2)); + background: -moz-linear-gradient(transparent, rgba(0,0,0,0.2)); + background: -ms-linear-gradient(transparent, rgba(0,0,0,0.2)); + background: linear-gradient(transparent, rgba(0,0,0,0.2)); +} +#header-outer { + height: 100%; + position: relative; +} +#header-inner { + position: relative; + overflow: hidden; +} +#banner { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: url("images/banner.jpg") center #000; + -webkit-background-size: cover; + -moz-background-size: cover; + background-size: cover; + z-index: -1; +} +#header-title { + text-align: center; + height: 40px; + position: absolute; + top: 50%; + left: 0; + margin-top: -20px; +} +#logo, +#subtitle { + text-decoration: none; + color: #fff; + font-weight: 300; + text-shadow: 0 1px 4px rgba(0,0,0,0.3); +} +#logo { + font-size: 40px; + line-height: 40px; + letter-spacing: 2px; +} +#subtitle { + font-size: 16px; + line-height: 16px; + letter-spacing: 1px; +} +#subtitle-wrap { + margin-top: 16px; +} +#main-nav { + float: left; + margin-left: -15px; +} +.nav-icon, +.main-nav-link { + float: left; + color: #fff; + opacity: 0.6; + text-decoration: none; + text-shadow: 0 1px rgba(0,0,0,0.2); + -webkit-transition: opacity 0.2s; + -moz-transition: opacity 0.2s; + -ms-transition: opacity 0.2s; + transition: opacity 0.2s; + display: block; + padding: 20px 15px; +} +.nav-icon:hover, +.main-nav-link:hover { + opacity: 1; +} +.nav-icon { + font-family: FontAwesome; + text-align: center; + font-size: 14px; + width: 14px; + height: 14px; + padding: 20px 15px; + position: relative; + cursor: pointer; +} +.main-nav-link { + font-weight: 300; + letter-spacing: 1px; +} +@media screen and (max-width: 479px) { + .main-nav-link { + display: none; + } +} +#main-nav-toggle { + display: none; +} +#main-nav-toggle:before { + content: "\f0c9"; +} +@media screen and (max-width: 479px) { + #main-nav-toggle { + display: block; + } +} +#sub-nav { + float: right; + margin-right: -15px; +} +#nav-rss-link:before { + content: "\f09e"; +} +#nav-search-btn:before { + content: "\f002"; +} +#search-form-wrap { + position: absolute; + top: 15px; + width: 150px; + height: 30px; + right: -150px; + opacity: 0; + -webkit-transition: 0.2s ease-out; + -moz-transition: 0.2s ease-out; + -ms-transition: 0.2s ease-out; + transition: 0.2s ease-out; +} +#search-form-wrap.on { + opacity: 1; + right: 0; +} +@media screen and (max-width: 479px) { + #search-form-wrap { + width: 100%; + right: -100%; + } +} +.search-form { + position: absolute; + top: 0; + left: 0; + right: 0; + background: #fff; + padding: 5px 15px; + border-radius: 15px; + -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.3); + box-shadow: 0 0 10px rgba(0,0,0,0.3); +} +.search-form-input { + border: none; + background: none; + color: #555; + width: 100%; + font: 13px -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; + outline: none; +} +.search-form-input::-webkit-search-results-decoration, +.search-form-input::-webkit-search-cancel-button { + -webkit-appearance: none; +} +.search-form-submit { + position: absolute; + top: 50%; + right: 10px; + margin-top: -7px; + font: 13px FontAwesome; + border: none; + background: none; + color: #bbb; + cursor: pointer; +} +.search-form-submit:hover, +.search-form-submit:focus { + color: #777; +} +.article { + margin: 50px 0; +} +.article-inner { + overflow: hidden; +} +.article-meta:before, +.article-meta:after { + content: ""; + display: table; +} +.article-meta:after { + clear: both; +} +.article-date { + float: left; +} +.article-category { + float: left; + line-height: 1em; + color: #ccc; + text-shadow: 0 1px #fff; + margin-left: 8px; +} +.article-category:before { + content: "\2022"; +} +.article-category-link { + margin: 0 12px 1em; +} +.article-header { + padding: 20px 20px 0; +} +.article-title { + text-decoration: none; + font-size: 2em; + font-weight: bold; + color: #555; + line-height: 1.1em; + -webkit-transition: color 0.2s; + -moz-transition: color 0.2s; + -ms-transition: color 0.2s; + transition: color 0.2s; +} +a.article-title:hover { + color: #258fb8; +} +.article-entry { + color: #555; + padding: 0 20px; +} +.article-entry:before, +.article-entry:after { + content: ""; + display: table; +} +.article-entry:after { + clear: both; +} +.article-entry p, +.article-entry table { + line-height: 1.6em; + margin: 1.6em 0; +} +.article-entry h1, +.article-entry h2, +.article-entry h3, +.article-entry h4, +.article-entry h5, +.article-entry h6 { + font-weight: bold; +} +.article-entry h1, +.article-entry h2, +.article-entry h3, +.article-entry h4, +.article-entry h5, +.article-entry h6 { + line-height: 1.1em; + margin: 1.1em 0; +} +.article-entry a { + color: #258fb8; + text-decoration: none; +} +.article-entry a:hover { + text-decoration: underline; +} +.article-entry ul, +.article-entry ol, +.article-entry dl { + margin-top: 1.6em; + margin-bottom: 1.6em; +} +.article-entry img, +.article-entry video { + max-width: 100%; + height: auto; + display: block; + margin: auto; +} +.article-entry iframe { + border: none; +} +.article-entry table { + width: 100%; + border-collapse: collapse; + border-spacing: 0; +} +.article-entry th { + font-weight: bold; + border-bottom: 3px solid #ddd; + padding-bottom: 0.5em; +} +.article-entry td { + border-bottom: 1px solid #ddd; + padding: 10px 0; +} +.article-entry blockquote { + font-family: Georgia, "Times New Roman", serif; + font-size: 1.4em; + margin: 1.6em 20px; + text-align: center; +} +.article-entry blockquote footer { + font-size: 14px; + margin: 1.6em 0; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; +} +.article-entry blockquote footer cite:before { + content: "—"; + padding: 0 0.5em; +} +.article-entry .pullquote { + text-align: left; + width: 45%; + margin: 0; +} +.article-entry .pullquote.left { + margin-left: 0.5em; + margin-right: 1em; +} +.article-entry .pullquote.right { + margin-right: 0.5em; + margin-left: 1em; +} +.article-entry .caption { + color: #999; + display: block; + font-size: 0.9em; + margin-top: 0.5em; + position: relative; + text-align: center; +} +.article-entry .video-container { + position: relative; + padding-top: 56.25%; + height: 0; + overflow: hidden; +} +.article-entry .video-container iframe, +.article-entry .video-container object, +.article-entry .video-container embed { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + margin-top: 0; +} +.article-more-link a { + display: inline-block; + line-height: 1em; + padding: 6px 15px; + border-radius: 15px; + background: #eee; + color: #999; + text-shadow: 0 1px #fff; + text-decoration: none; +} +.article-more-link a:hover { + background: #258fb8; + color: #fff; + text-decoration: none; + text-shadow: 0 1px #1e7293; +} +.article-footer { + font-size: 0.85em; + line-height: 1.6em; + border-top: 1px solid #ddd; + padding-top: 1.6em; + margin: 0 20px 20px; +} +.article-footer:before, +.article-footer:after { + content: ""; + display: table; +} +.article-footer:after { + clear: both; +} +.article-footer a { + color: #999; + text-decoration: none; +} +.article-footer a:hover { + color: #555; +} +.article-tag-list-item { + float: left; + margin-right: 10px; +} +.article-tag-list-link:before { + content: "#"; +} +.article-comment-link { + float: right; +} +.article-comment-link:before { + content: "\f075"; + font-family: FontAwesome; + padding-right: 8px; +} +.article-share-link { + cursor: pointer; + float: right; + margin-left: 20px; +} +.article-share-link:before { + content: "\f064"; + font-family: FontAwesome; + padding-right: 6px; +} +#article-nav { + position: relative; +} +#article-nav:before, +#article-nav:after { + content: ""; + display: table; +} +#article-nav:after { + clear: both; +} +@media screen and (min-width: 768px) { + #article-nav { + margin: 50px 0; + } + #article-nav:before { + width: 8px; + height: 8px; + position: absolute; + top: 50%; + left: 50%; + margin-top: -4px; + margin-left: -4px; + content: ""; + border-radius: 50%; + background: #ddd; + -webkit-box-shadow: 0 1px 2px #fff; + box-shadow: 0 1px 2px #fff; + } +} +.article-nav-link-wrap { + text-decoration: none; + text-shadow: 0 1px #fff; + color: #999; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + margin-top: 50px; + text-align: center; + display: block; +} +.article-nav-link-wrap:hover { + color: #555; +} +@media screen and (min-width: 768px) { + .article-nav-link-wrap { + width: 50%; + margin-top: 0; + } +} +@media screen and (min-width: 768px) { + #article-nav-newer { + float: left; + text-align: right; + padding-right: 20px; + } +} +@media screen and (min-width: 768px) { + #article-nav-older { + float: right; + text-align: left; + padding-left: 20px; + } +} +.article-nav-caption { + text-transform: uppercase; + letter-spacing: 2px; + color: #ddd; + line-height: 1em; + font-weight: bold; +} +#article-nav-newer .article-nav-caption { + margin-right: -2px; +} +.article-nav-title { + font-size: 0.85em; + line-height: 1.6em; + margin-top: 0.5em; +} +.article-share-box { + position: absolute; + display: none; + background: #fff; + -webkit-box-shadow: 1px 2px 10px rgba(0,0,0,0.2); + box-shadow: 1px 2px 10px rgba(0,0,0,0.2); + border-radius: 3px; + margin-left: -145px; + overflow: hidden; + z-index: 1; +} +.article-share-box.on { + display: block; +} +.article-share-input { + width: 100%; + background: none; + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; + font: 14px -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; + padding: 0 15px; + color: #555; + outline: none; + border: 1px solid #ddd; + border-radius: 3px 3px 0 0; + height: 36px; + line-height: 36px; +} +.article-share-links { + background: #eee; +} +.article-share-links:before, +.article-share-links:after { + content: ""; + display: table; +} +.article-share-links:after { + clear: both; +} +.article-share-twitter, +.article-share-facebook, +.article-share-pinterest, +.article-share-google { + width: 50px; + height: 36px; + display: block; + float: left; + position: relative; + color: #999; + text-shadow: 0 1px #fff; +} +.article-share-twitter:before, +.article-share-facebook:before, +.article-share-pinterest:before, +.article-share-google:before { + font-size: 20px; + font-family: FontAwesome; + width: 20px; + height: 20px; + position: absolute; + top: 50%; + left: 50%; + margin-top: -10px; + margin-left: -10px; + text-align: center; +} +.article-share-twitter:hover, +.article-share-facebook:hover, +.article-share-pinterest:hover, +.article-share-google:hover { + color: #fff; +} +.article-share-twitter:before { + content: "\f099"; +} +.article-share-twitter:hover { + background: #00aced; + text-shadow: 0 1px #008abe; +} +.article-share-facebook:before { + content: "\f09a"; +} +.article-share-facebook:hover { + background: #3b5998; + text-shadow: 0 1px #2f477a; +} +.article-share-pinterest:before { + content: "\f0d2"; +} +.article-share-pinterest:hover { + background: #cb2027; + text-shadow: 0 1px #a21a1f; +} +.article-share-google:before { + content: "\f0d5"; +} +.article-share-google:hover { + background: #dd4b39; + text-shadow: 0 1px #be3221; +} +.article-gallery { + background: #000; + position: relative; +} +.article-gallery-photos { + position: relative; + overflow: hidden; +} +.article-gallery-img { + display: none; + max-width: 100%; +} +.article-gallery-img:first-child { + display: block; +} +.article-gallery-img.loaded { + position: absolute; + display: block; +} +.article-gallery-img img { + display: block; + max-width: 100%; + margin: 0 auto; +} +#comments { + background: #fff; + -webkit-box-shadow: 1px 2px 3px #ddd; + box-shadow: 1px 2px 3px #ddd; + padding: 20px; + border: 1px solid #ddd; + border-radius: 3px; + margin: 50px 0; +} +#comments a { + color: #258fb8; +} +.archives-wrap { + margin: 50px 0; +} +.archives:before, +.archives:after { + content: ""; + display: table; +} +.archives:after { + clear: both; +} +.archive-year-wrap { + margin-bottom: 1em; +} +.archives { + -webkit-column-gap: 10px; + -moz-column-gap: 10px; + column-gap: 10px; +} +@media screen and (min-width: 480px) and (max-width: 767px) { + .archives { + -webkit-column-count: 2; + -moz-column-count: 2; + column-count: 2; + } +} +@media screen and (min-width: 768px) { + .archives { + -webkit-column-count: 3; + -moz-column-count: 3; + column-count: 3; + } +} +.archive-article { + -webkit-column-break-inside: avoid; + page-break-inside: avoid; + overflow: hidden; + break-inside: avoid-column; +} +.archive-article-inner { + padding: 10px; + margin-bottom: 15px; +} +.archive-article-title { + text-decoration: none; + font-weight: bold; + color: #555; + -webkit-transition: color 0.2s; + -moz-transition: color 0.2s; + -ms-transition: color 0.2s; + transition: color 0.2s; + line-height: 1.6em; +} +.archive-article-title:hover { + color: #258fb8; +} +.archive-article-footer { + margin-top: 1em; +} +.archive-article-date { + color: #999; + text-decoration: none; + font-size: 0.85em; + line-height: 1em; + margin-bottom: 0.5em; + display: block; +} +#page-nav { + margin: 50px auto; + background: #fff; + -webkit-box-shadow: 1px 2px 3px #ddd; + box-shadow: 1px 2px 3px #ddd; + border: 1px solid #ddd; + border-radius: 3px; + text-align: center; + color: #999; + overflow: hidden; +} +#page-nav:before, +#page-nav:after { + content: ""; + display: table; +} +#page-nav:after { + clear: both; +} +#page-nav a, +#page-nav span { + padding: 10px 20px; + line-height: 1; + height: 2ex; +} +#page-nav a { + color: #999; + text-decoration: none; +} +#page-nav a:hover { + background: #999; + color: #fff; +} +#page-nav .prev { + float: left; +} +#page-nav .next { + float: right; +} +#page-nav .page-number { + display: inline-block; +} +@media screen and (max-width: 479px) { + #page-nav .page-number { + display: none; + } +} +#page-nav .current { + color: #555; + font-weight: bold; +} +#page-nav .space { + color: #ddd; +} +#footer { + background: #262a30; + padding: 50px 0; + border-top: 1px solid #ddd; + color: #999; +} +#footer a { + color: #258fb8; + text-decoration: none; +} +#footer a:hover { + text-decoration: underline; +} +#footer-info { + line-height: 1.6em; + font-size: 0.85em; +} +.article-entry pre, +.article-entry .highlight { + background: #2d2d2d; + margin: 0 -20px; + padding: 15px 20px; + border-style: solid; + border-color: #ddd; + border-width: 1px 0; + overflow: auto; + color: #ccc; + line-height: 22.400000000000002px; +} +.article-entry .highlight .gutter pre, +.article-entry .gist .gist-file .gist-data .line-numbers { + color: #666; + font-size: 0.85em; +} +.article-entry pre, +.article-entry code { + font-family: "Source Code Pro", Consolas, Monaco, Menlo, Consolas, monospace; +} +.article-entry code { + background: #eee; + text-shadow: 0 1px #fff; + padding: 0 0.3em; +} +.article-entry pre code { + background: none; + text-shadow: none; + padding: 0; +} +.article-entry .highlight pre { + border: none; + margin: 0; + padding: 0; +} +.article-entry .highlight table { + margin: 0; + width: auto; +} +.article-entry .highlight td { + border: none; + padding: 0; +} +.article-entry .highlight figcaption { + font-size: 0.85em; + color: #999; + line-height: 1em; + margin-bottom: 1em; +} +.article-entry .highlight figcaption:before, +.article-entry .highlight figcaption:after { + content: ""; + display: table; +} +.article-entry .highlight figcaption:after { + clear: both; +} +.article-entry .highlight figcaption a { + float: right; +} +.article-entry .highlight .gutter pre { + text-align: right; + padding-right: 20px; +} +.article-entry .highlight .line { + height: 22.400000000000002px; +} +.article-entry .highlight .line.marked { + background: #515151; +} +.article-entry .gist { + margin: 0 -20px; + border-style: solid; + border-color: #ddd; + border-width: 1px 0; + background: #2d2d2d; + padding: 15px 20px 15px 0; +} +.article-entry .gist .gist-file { + border: none; + font-family: "Source Code Pro", Consolas, Monaco, Menlo, Consolas, monospace; + margin: 0; +} +.article-entry .gist .gist-file .gist-data { + background: none; + border: none; +} +.article-entry .gist .gist-file .gist-data .line-numbers { + background: none; + border: none; + padding: 0 20px 0 0; +} +.article-entry .gist .gist-file .gist-data .line-data { + padding: 0 !important; +} +.article-entry .gist .gist-file .highlight { + margin: 0; + padding: 0; + border: none; +} +.article-entry .gist .gist-file .gist-meta { + background: #2d2d2d; + color: #999; + font: 0.85em -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; + text-shadow: 0 0; + padding: 0; + margin-top: 1em; + margin-left: 20px; +} +.article-entry .gist .gist-file .gist-meta a { + color: #258fb8; + font-weight: normal; +} +.article-entry .gist .gist-file .gist-meta a:hover { + text-decoration: underline; +} +pre .comment, +pre .title { + color: #999; +} +pre .variable, +pre .attribute, +pre .tag, +pre .regexp, +pre .ruby .constant, +pre .xml .tag .title, +pre .xml .pi, +pre .xml .doctype, +pre .html .doctype, +pre .css .id, +pre .css .class, +pre .css .pseudo { + color: #f2777a; +} +pre .number, +pre .preprocessor, +pre .built_in, +pre .literal, +pre .params, +pre .constant { + color: #f99157; +} +pre .class, +pre .ruby .class .title, +pre .css .rules .attribute { + color: #9c9; +} +pre .string, +pre .value, +pre .inheritance, +pre .header, +pre .ruby .symbol, +pre .xml .cdata { + color: #9c9; +} +pre .css .hexcolor { + color: #6cc; +} +pre .function, +pre .python .decorator, +pre .python .title, +pre .ruby .function .title, +pre .ruby .title .keyword, +pre .perl .sub, +pre .javascript .title, +pre .coffeescript .title { + color: #69c; +} +pre .keyword, +pre .javascript .function { + color: #c9c; +} +@media screen and (max-width: 479px) { + #mobile-nav { position: absolute; - top: 0px !important; + top: 0; left: 0; - margin: 0; - padding: 0; - width: 100%; - z-index: 0; -} -}.blank { - padding-top:80px; - background-color:rgba(255,255,255,1) -} -.focusinfo { - position:relative; - max-width:800px; - padding:0 10px; - top:49.3%; - left:50%; - transform:translate(-50%,-50%); - -webkit-transform:translate(-50%,-50%); - text-align:center; - z-index:99; - -webkit-transition:.4s ease all; - -moz-transition:.4s ease all; - -o-transition:.4s ease all; - transition:.4s ease all -} -.focusinfo img { - width:130px; - height:auto; - padding:2px; - border-radius:100% -} -.focusinfo .header-tou img { - box-shadow:inset 0 0 10px #000; - padding:5px; - opacity:1; - transform:rotate(0deg); - -webkit-transform:rotate(0deg); - -moz-transform:rotate(0deg); - -o-transform:rotate(0deg); - -ms-transform:rotate(0deg); - transition:all ease 1s; - -webkit-transition:all ease 1s; - -moz-transition:all ease 1s; - -o-transition:all ease 1s -} -.focusinfo .header-tou img:hover { - transform:rotate(360deg); - -webkit-transform:rotate(360deg); - -moz-transform:rotate(360deg); - -o-transform:rotate(360deg); - -ms-transform:rotate(360deg) -} -.bio-text { - position:relative; - width:auto; - font-size:40px; - height:40px; - top:50% -} -.bio-text p { - display:inline-block; - vertical-align:top; - margin:0 -} -.bio-text .word { - position:absolute; - opacity:0; - white-space:nowrap; - left:50%; - transform:translate(-50%,0) -} -.bio-text .letter { - display:inline-block; - position:relative; - -webkit-transform:translateZ(25px); - transform:translateZ(25px); - -webkit-transform-origin:50% 50% 25px; - transform-origin:50% 50% 25px -} -.bio-text .letter.out { - -webkit-transform:rotateX(90deg); - transform:rotateX(90deg); - -webkit-transition:-webkit-transform .32s cubic-bezier(0.55,.055,.675,.19); - transition:-webkit-transform .32s cubic-bezier(0.55,.055,.675,.19); - transition:transform .32s cubic-bezier(0.55,.055,.675,.19); - transition:transform .32s cubic-bezier(0.55,.055,.675,.19),-webkit-transform .32s cubic-bezier(0.55,.055,.675,.19) -} -.bio-text .letter.behind { - -webkit-transform:rotateX(-90deg); - transform:rotateX(-90deg) -} -.bio-text .letter.in { - -webkit-transform:rotateX(0deg); - transform:rotateX(0deg); - -webkit-transition:-webkit-transform .5s cubic-bezier(0.175,.885,.32,1.275); - transition:-webkit-transform .5s cubic-bezier(0.175,.885,.32,1.275); - transition:transform .5s cubic-bezier(0.175,.885,.32,1.275); - transition:transform .5s cubic-bezier(0.175,.885,.32,1.275),-webkit-transform .5s cubic-bezier(0.175,.885,.32,1.275) -} -.wisteria { - color:#8e44ad -} -.belize { - color:#2980b9 -} -.pomegranate { - color:#c0392b -} -.green { - color:#16a085 -} -.midnight { - color:#2c3e50 -} -.header-info { - width:63%; - margin:auto; - font-size:16px; - color:#eaeadf; - background:rgba(0,0,0,.5); - padding:15px; - margin-top:22px; - letter-spacing:0; - line-height:30px; - border-radius:10px; - box-sizing:initial; - white-space:nowrap -} -.header-info:before { - content:""; - position:absolute; - top:127px; - left:50%; - margin-left:-15px; - border-width:15px; - border-style:solid; - border-color:transparent transparent rgba(0,0,0,.5) transparent -} -.header-info p { - margin:0; - font-family:'Ubuntu',sans-serif; - font-weight:700 -} -.top-social { - height:32px; - margin-top:30px; - margin-left:10px; - list-style:none; - display:inline-block -} -.top-social img { - height:35px; - width:35px; - padding:6px; - background:rgba(0,0,0,.4) -} -.top-social li { - float:left; - margin-right:10px -} -.top-social_v2 { - height:32px; - margin-bottom:-15px; - margin-left:10px; - list-style:none; - display:inline-block -} -.top-social_v2 img { - height:35px; - width:35px; - padding:6px; - background:transparent -} -.top-social_v2 li { - float:left; - margin-right:13px -} -.wechat { - width:35px; - height:35px; - position:relative -} -.wechatInner img { - border-radius:0; - width:121px; - height:auto; - padding:0; - background:none -} -.wechatInner { - width:121px; - height:121px; - padding:10px; - background:rgba(0,0,0,.4); - top:40px; - left:-40px; - -webkit-transform:translate3d(0,50px,0); - transform:translate3d(0,50px,0); - opacity:0 -} -.wechatInner:before { - content:""; - position:absolute; - top:-30px; - left:50%; - margin-left:-15px; - border-width:15px; - border-style:solid; - border-color:transparent transparent rgba(0,0,0,.4) transparent -} -.wechatInner { - position:absolute; - border-radius:8px; - transition:.7s all ease; - -webkit-transition:.7s all ease; - -moz-transition:.7s all linear; - -o-transition:.7s all ease; - -ms-transition:.7s all ease -} -.wechat:hover .wechatInner { - -webkit-transform:translate3d(0,16px,0); - transform:translate3d(0,16px,0); - opacity:1; - visibility:visible -} -.searchbox { - float:right; - height:75px; - line-height:75px; - margin-left:20px -} -.site-header.iconsearch { - font-size:18px; - font-size:1.125rem; - position:relative; - z-index:9998 -} -.site-header.iconsearch:hover { - cursor:pointer; - color:#999 -} -i.iconfont.js-toggle-search.iconsearch { - color:#FFFFFF; - cursor:pointer; - font-size:26px; - -webkit-transition:all 300ms ease-in-out; - transition:all 300ms ease-in-out -} -.search-form--modal { - -webkit-transition:visibility .25s ease,opacity .25s ease; - -moz-transition:visibility .25s ease,opacity .25s ease; - -ms-transition:visibility .25s ease,opacity .25s ease; - -o-transition:visibility .25s ease,opacity .25s ease; - transition:visibility .25s ease,opacity .25s ease; - overflow:hidden; - z-index:9999; - position:fixed; - top:0; - right:0; - left:0; - bottom:0; - background:#fff; - visibility:hidden; - opacity:0 -} -.search-form--modal .search-form__inner { - max-width:640px; - padding:0 20px; - margin:auto; - text-align:left; - position:absolute; - width:100%; - left:0; - right:0; - height:285px; - top:0; - bottom:0 -} -.search-form--modal .search-form__inner p { - padding-left:24px -} -.search-form.is-visible { - visibility:visible; - opacity:.99; - animation:elastic .5s; - background-image:url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.2.1/img/other/iloli.gif); - background-repeat:no-repeat; - background-position:bottom right -} -.search-form div { - position:relative -} -.search-form .search_close { - position:absolute; - width:35px; - height:35px; - background:none; - top:20px; - right:15px; - cursor:pointer -} -.search_close:before,.search_close:after { - background-color:#222; - position:absolute; - content:""; - width:30px; - height:2px; - top:17px; - left:2px -} -.search_close:before { - transform:rotate(-45deg); - -webkit-transform:rotate(-45deg) -} -.search_close:after { - transform:rotate(45deg); - -webkit-transform:rotate(45deg) -} -.search-form i { - font-size:32px; - font-size:2rem; - line-height:1; - color:#ddd; - position:absolute; - bottom:15px; - margin-top:-16px; - left:16px -} -.search-form input { - font-size:24px; - font-size:1.5rem; - background:#fff; - padding:12px 24px 12px 64px; - width:100%; - outline:0; - border-radius:50px; - -webkit-box-sizing:border-box; - -moz-box-sizing:border-box; - box-sizing:border-box -} -.search-form input::-webkit-input-placeholder { - color:#ddd -} -.search-form input:-moz-placeholder { - color:#ddd -} -.search-form input::-moz-placeholder { - color:#ddd -} -.search-form input:-ms-input-placeholder { - color:#ddd -} -.s-search { - position:relative; - margin-bottom:50px -} -.s-search input { - font-size:1rem; - background:#none; - padding:12px 24px 12px 64px; - width:100%; - outline:0; - border-radius:50px; - -webkit-box-sizing:border-box; - -moz-box-sizing:border-box; - box-sizing:border-box -} -.s-search i { - font-size:32px; - font-size:1.5rem; - line-height:1; - color:#ddd; - position:absolute; - bottom:12px; - margin-top:-16px; - left:16px -} -.search-no-reasults { - list-style-type:decimal -} -.sorry ul { - padding:0 0 0 20px; - margin:0 -} -.sorry li a { - color:#8c8c8c -} -.sorry { - color:#8c8c8c; - margin-bottom:80px -} -.sorry li { - padding:10px 0 -} -.sorry li a:hover { - color:orange -} -.sorry-inner { - padding:20px; - border:1px solid #ddd -} -.error-img { - text-align:center -} -.err-button.back { - text-align:center -} -.err-button.back a { - padding:10px 30px; - margin:0 10px; - border:1px solid orange; - color:orange; - -webkit-border-radius:50px; - -moz-border-radius:50px; - border-radius:50px -} -#gohome { - background:orange; - color:#fff -} -.err-button.back a:hover { - -webkit-box-shadow:0 0 4px rgba(255,165,0,.85); - -moz-box-shadow:0 0 4px rgba(255,165,0,.85); - -o-box-shadow:0 0 4px rgba(255,165,0,.85); - box-shadow:0 0 4px rgba(255,165,0,.85) -} -.infinite-scroll .posts-navigation,.infinite-scroll.neverending .site-footer { - display:none -} -.infinity-end.neverending .site-footer { - display:block -} -.page-content .wp-smiley,.entry-content .wp-smiley,.comment-content .wp-smiley { - border:0; - margin-bottom:0; - margin-top:0; - padding:0 -} -embed,iframe,object { - max-width:100% -} -.wp-caption { - margin-bottom:1.5em; - max-width:100% -} -.wp-caption img[class*="wp-image-"] { - display:block; - margin-left:auto; - margin-right:auto -} -.wp-caption .wp-caption-text { - margin:.8075em 0 -} -.wp-caption-text { - text-align:center -} -.gallery { - margin-bottom:1.5em -} -.gallery-item { - display:inline-block; - text-align:center; - vertical-align:top; - width:100%; - margin:0 -} -.gallery-columns-2 .gallery-item { - max-width:50% -} -.gallery-columns-3 .gallery-item { - max-width:33.33% -} -.gallery-columns-4 .gallery-item { - max-width:25% -} -.gallery-columns-5 .gallery-item { - max-width:20% -} -.gallery-columns-6 .gallery-item { - max-width:16.66% -} -.gallery-columns-7 .gallery-item { - max-width:14.28% -} -.gallery-columns-8 .gallery-item { - max-width:12.5% -} -.gallery-columns-9 .gallery-item { - max-width:11.11% -} -.gallery-caption { - display:none -} -.gallery img { - width:100%; - height:180px; - border-radius:0; - transition:all 2s ease; - -webkit-transition:all 2s ease; - -ms-transition:all 2s ease -} -.gallery .gallery-item { - display:inline-block; - vertical-align:top; - float:left; - width:280px; - height:180px; - position:relative -} -.gallery .gallery-item { - -moz-transition:all .25s ease; - -webkit-transition:all .25s ease; - -o-transition:all .25s ease; - -ms-transition:all .25s ease; - transition:all .25s ease -} -.gallery:hover .gallery-item:not(:hover) { - opacity:.7; - -moz-transform:scale(0.9); - -ms-transform:scale(0.9); - -webkit-transform:scale(0.9); - -o-transform:scale(0.9); - transform:scale(0.9) -} -#nprogress { - pointer-events:none; - z-index:99999; - position:absolute -} -#nprogress .bar { - background:orange; - position:fixed; - z-index:1031; - top:0; - left:0; - width:100%; - height:3px -} -#nprogress .peg { - display:block; - position:absolute; - right:0; - width:100px; - height:100%; - box-shadow:0 0 10px orange,0 0 5px orange; - opacity:1; - -webkit-transform:rotate(3deg) translate(0px,-4px); - -ms-transform:rotate(3deg) translate(0px,-4px); - transform:rotate(3deg) translate(0px,-4px) -} -#nprogress .spinner { - display:block; - position:fixed; - z-index:9999; - top:27px; - right:24px; - left:inherit; - width:auto; - height:auto; - margin:0 -} -#nprogress .spinner-icon { - width:20px; - height:20px; - box-sizing:border-box; - border:solid 3px transparent; - border-top-color:orange; - border-left-color:orange; - border-radius:50%; - -webkit-animation:nprogress-spinner 400ms linear infinite; - animation:nprogress-spinner 400ms linear infinite -} -.nprogress-custom-parent { - overflow:hidden; - position:relative -} -.nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar { - position:absolute -} -@-webkit-keyframes nprogress-spinner { - 0% { - -webkit-transform:rotate(0deg) -} -100% { - -webkit-transform:rotate(360deg) -} -}@keyframes nprogress-spinner { - 0% { - transform:rotate(0deg) -} -100% { - transform:rotate(360deg) -} -}.download { - color:#fff !important; - -webkit-transition:all .3s; - -moz-transition:all .3s; - -o-transition:all .3s; - transition:all .3s; - position:relative; - border:1px solid #72c5a6; - overflow:hidden; - display:inline-block; - background:#72c5a6 -} -.download:hover { - color:#fff -} -.download::before,.download::after { - content:''; - position:absolute; - top:0; - left:0; - width:100%; - height:100%; - z-index:1; - -webkit-transition:all .3s; - -moz-transition:all .3s; - -o-transition:all .3s; - transition:all .3s; - opacity:1; - -webkit-transform:translate(0,-105%); - transform:translate(0,-105%); - border-bottom-width:1px; - border-bottom-style:solid; - border-bottom-color:rgba(255,255,255,1); - background-color:rgba(255,255,255,.25) -} -.download::after { - -webkit-transition-delay:.2s; - transition-delay:.2s -} -.download:hover::before,.download:hover::after { - opacity:0; - -webkit-transform:translate(0,0); - transform:translate(0,0) -} -.download span { - padding:10px 30px; - display:inline-block -} -i.iconfont.down { - margin-right:6px; - font-size:18px; - position:relative; - top:1px -} -#pagination { - width:100%; - padding:20px 0; - text-align:center; - margin:40px 0 80px; - display:inline-block -} -#pagination a:hover { - -webkit-box-shadow:0 0 4px rgba(255,165,0,.85); - -moz-box-shadow:0 0 4px rgba(255,165,0,.85); - -o-box-shadow:0 0 4px rgba(255,165,0,.85); - box-shadow:0 0 4px rgba(255,165,0,.85) -} -#pagination a { - padding:13px 35px; - border:1px solid #d6d6d6; - border-radius:50px; - color:#adadad -} -#pagination span { - color:#989898; - font-size:15px -} -#pagination a:hover { - border:1px solid orange; - color:orange -} -#pagination .loading { - background:url("https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/images/wordpress-rotating-ball-o.svg"); - background-position:center; - background-repeat:no-repeat; - color:#555; - border:0; - background-size:auto 100% -} -#pagination .loading:hover { - border:0; - -webkit-box-shadow:none; - -moz-box-shadow:none; - -o-box-shadow:none; - box-shadow:none -} -#pagination.pagination-archive { - margin:80px 0 -} -@media(max-width:630px) { - .works-list { - width:100% !important; - margin:0 !important - } -} -@media(max-width:630px) { - .links ul li { - width:100% !important - } - .we-content li { - width:100%; - margin-top:0 - } - .we-icon { - top:50px !important - } - .wtitle { - top:130px !important - } - .sub-text { - top:160px !important - } - .admin-login,.wesite-des { - display:none - } - .wesite-title { - float:none; - text-align:center; - border-right:0; - padding-right:0 - } -}@media(max-width:860px) { - .comments { - max-width:100% !important - } - .top-feature,.top-feature-row { - display:none - } - .site-content { - padding:0 4% - } - .feature img { - width:52px; - height:52px - } - .post-list h1.entry-title { - margin:0 0 0 65px; - font-size:16px; - line-height:30px - } - .p-time { - position:relative; - margin:-15px 0 0 65px - } - .post-list p { - margin:20px 0 0 65px; - font-size:14px; - height:30px; - overflow:hidden - } - .s-content { - padding:10px 15px; - margin-right:65px - } - .s-content p { - margin-left:0; - margin-top:0; - height:30px; - overflow:hidden - } - .postava img { - width:52px; - height:52px - } - .overlay { - display:none - } - .info-meta { - display:none - } - .post-more { - display:none - } - h1.entry-title { - font-size:18px - } - .entry-content p { - font-size:14px - } - .post-footer,.post-share,.post-like { - display:none - } - .post-tags { - text-align:center; - float:none; - font-size:12px - } - .author-profile { - display:none - } - .site-footer { - padding:30px - } - .lower { - display:none !important - } - .m-nav { - display:block - } - .site-header { - display:none - } - .site-branding { - float:right; - height:50px; - line-height:43px; - margin-right: 6px - } - .site-title img { - height:40px; - line-height:40px; - margin:0; - vertical-align:middle - } - .site-title { - font-size:20px; - margin-right:10px - } - .links ul li { - width:48.6% - } - .links ul li:before { - display:none - } - .links ul li:hover .sitename { - color:orange - } - .links ul li:hover .linkdes { - color:#949494; - border-top:1px dashed #ddd - } - .author-box { - display:none - } - #archives-temp { - padding:0 20px - } -} -@media(max-width:1080px) { - .info-meta { - display:none -} -.site-footer { - padding:30px -} -.we-title:before { - display:none -} -h3#comments-list-title,nav#comments-navi { - width:100%; - padding:0 6.39%; - max-width:1245px -} -}@media(max-width:860px) { - #main-container { - transition-duration:.5s; - position:relative; - overflow:hidden; - z-index:2 -} -#main-container.open:before { - content:""; - width:100%; - height:100%; - position:fixed; - background-color:rgba(0,0,0,.4); - z-index:99 -} -#main-container.open { - transform:translateX(250px) translateY(0px); - -webkit-transform:translateX(250px) translateY(0px); - position:fixed; - right:0; - left:0 -} -.wrapper { - transition-duration:.5s; - width:100%; - height:auto; - position:relative -} -#mo-nav.open { - width:250px; - transition:all .3s ease -} -.wrapper section { - max-width:600px -} -.wrapper section h1 { - font-weight:300; - font-size:30px; - margin-bottom:10px -} -.wrapper section h2 { - font-weight:300; - font-size:20px; - margin-bottom:40px -} -.wrapper section p { - margin-bottom:40px -} -.openNav { - transition-duration:.5s; - width:100%; - height:50px; - position:absolute; - top:0; - z-index:99999; - display:block; - background:none -} -.iconflat { - background:none; - width:50px; - height:50px; - float:left -} -.openNav .icon { - transition-duration:.2s; - position:absolute; - width:30px; - height:3px; - background-color:#fff; - top:24px; - left:10px -} -.openNav .icon:before,.openNav .icon:after { - transition-duration:.5s; - background-color:#fff; - position:absolute; - content:""; - width:30px; - height:3px; - left:0 -} -i.iconfont.js-toggle-search.iconsearch { - color:#fff; -} -.openNav .icon:before { - top:-8px -} -.openNav .icon:after { - top:8px -} -.openNav.open .icon { - background-color:transparent -} -.openNav.open .icon:before,.openNav.open .icon:after { - top:0 -} -.openNav.open .icon:before { - transform:rotate(-45deg); - -webkit-transform:rotate(-45deg); - background:#fff -} -.openNav.open .icon:after { - transform:rotate(45deg); - -webkit-transform:rotate(45deg); - background:#fff -} -#mo-nav { - background-color:#fff; - width:0; - max-width:250px !important; - height:100%; - z-index:999; - position:absolute; - top:0; - left:0; - display:block; - overflow-x:hidden !important; - overflow-y:auto -} -#mo-nav .m-avatar { - position:relative; - width:250px; - max-width:250px; - height:auto; - margin:0 auto; - padding:30px 0 20px; - text-align:center -} -#mo-nav .m-avatar img { - width:90px; - height:90px; - max-width:90px; - border-radius:100% -} -#mo-nav .m-search form { - position:relative; - width:250px; - max-width:250px; - margin:0 0 20px; - padding:8px 15px; - background-color:#fafafa -} -#mo-nav .m-search input { - width:100%; - border:0; - padding:5px; - text-align:center; - border-radius:3px; - outline:0 -} -#mo-nav ul { - width:200px; - height:auto; - margin:10px 9px -} -#mo-nav ul:hover li { - color:rgba(255,255,255,.5) -} -#mo-nav ul li { - transition-duration:.25s; - display:block; - padding:6px 40px; - color:white; - letter-spacing:.02em; - text-align:left -} -#mo-nav ul li a { - color:#333; - font-size:15px -} -#mo-nav li ul { - width:250px; - margin:10px 0; - padding-left:10px -} -#mo-nav li ul li { - padding:5px 9px -} -#mo-nav li ul li a { - font-size:13px; - color:#9cacc5 -} -#mo-nav ul li a:hover { - cursor:pointer; - color:orange -} -.we-content li { - height:250px -} -.we-content { - padding:80px 1% -} -.we-icon { - top:30px -} -.wtitle { - top:110px -} -.sub-text { - top:150px -} -.works-list { - width:46.88%; - margin:0 1.5% -} -.works-main { - height:225px -} -.works-feature img { - width:100%; - height:225px -} -.works-entry { - margin-bottom:20px -} -}::-webkit-scrollbar { - width:12px; - height:6px; - background-color:#eee -} -#mo-nav::-webkit-scrollbar { - width:0; - opacity:0 -} -::-webkit-scrollbar-track { - background-color:#eee -} -::-webkit-scrollbar-thumb { - background-color:#FF69B4 -} -@keyframes poi-deg { - 0% { - transform:rotate(0deg) -} -100% { - transform:rotate(360deg) -} -}@-webkit-keyframes poi-deg { - 0% { - transform:rotate(0deg) -} -100% { - transform:rotate(360deg) -} -}@keyframes elastic { - 0% { - transform:scale(0) -} -55% { - transform:scale(1) -} -70% { - transform:scale(.98) -} -100% { - transform:scale(1) -} -}@keyframes btn-pudding { - 12%,15% { - transform:scale(0.93,1.07) -} -16%,17% { - transform:scale(0.94,1.06) + width: 280px; + height: 100%; + background: #191919; + border-right: 1px solid #fff; + } +} +@media screen and (max-width: 479px) { + .mobile-nav-link { + display: block; + color: #999; + text-decoration: none; + padding: 15px 20px; + font-weight: bold; + } + .mobile-nav-link:hover { + color: #fff; + } +} +@media screen and (min-width: 768px) { + #sidebar { + display: inline; + float: left; + width: 23.333333333333332%; + margin: 0 0.833333333333333%; + } +} +.widget-wrap { + margin: 50px 0; +} +.widget { + color: #777; + text-shadow: 0 1px #fff; + background: #ddd; + -webkit-box-shadow: 0 -1px 4px #ccc inset; + box-shadow: 0 -1px 4px #ccc inset; + border: 1px solid #ccc; + padding: 15px; + border-radius: 3px; +} +.widget a { + color: #258fb8; + text-decoration: none; +} +.widget a:hover { + text-decoration: underline; +} +.widget ul ul, +.widget ol ul, +.widget dl ul, +.widget ul ol, +.widget ol ol, +.widget dl ol, +.widget ul dl, +.widget ol dl, +.widget dl dl { + margin-left: 15px; + list-style: disc; +} +.widget { + line-height: 1.6em; + word-wrap: break-word; + font-size: 0.9em; +} +.widget ul, +.widget ol { + list-style: none; + margin: 0; +} +.widget ul ul, +.widget ol ul, +.widget ul ol, +.widget ol ol { + margin: 0 20px; +} +.widget ul ul, +.widget ol ul { + list-style: disc; +} +.widget ul ol, +.widget ol ol { + list-style: decimal; +} +.category-list-count, +.tag-list-count, +.archive-list-count { + padding-left: 5px; + color: #999; + font-size: 0.85em; +} +.category-list-count:before, +.tag-list-count:before, +.archive-list-count:before { + content: "("; +} +.category-list-count:after, +.tag-list-count:after, +.archive-list-count:after { + content: ")"; +} +.tagcloud a { + margin-right: 5px; + display: inline-block; } -10%,18% { - transform:scale(0.95,1.05) -} -19% { - transform:scale(0.96,1.04) -} -20% { - transform:scale(0.98,1.02) -} -21%,40%,48% { - transform:scale(0.99,1.01) -} -22%,23%,37%,39%,49% { - transform:scale(1,1) -} -7%,24%,34%,36% { - transform:scale(1.01,.99) -} -25%,27%,30%,33% { - transform:scale(1.02,.98) -} -28%,29% { - transform:scale(1.03,.97) -} -2% { - transform:scale(1.16,.84) -} -0% { - transform:scale(1.2,.8) -} -}@keyframes poi-face { - 2%,24%,80% { - -webkit-transform:translate(0,1.5px) rotate(1.5deg); - transform:translate(0,1.5px) rotate(1.5deg) -} -4%,68%,98% { - -webkit-transform:translate(0,-1.5px) rotate(-.5deg); - transform:translate(0,-1.5px) rotate(-.5deg) -} -38%,6% { - -webkit-transform:translate(0,1.5px) rotate(-1.5deg); - transform:translate(0,1.5px) rotate(-1.5deg) -} -8%,86% { - -webkit-transform:translate(0,-1.5px) rotate(-1.5deg); - transform:translate(0,-1.5px) rotate(-1.5deg) -} -10%,72% { - -webkit-transform:translate(0,2.5px) rotate(1.5deg); - transform:translate(0,2.5px) rotate(1.5deg) -} -12%,64%,78%,96% { - -webkit-transform:translate(0,-.5px) rotate(1.5deg); - transform:translate(0,-.5px) rotate(1.5deg) -} -14%,54% { - -webkit-transform:translate(0,-1.5px) rotate(1.5deg); - transform:translate(0,-1.5px) rotate(1.5deg) -} -16% { - -webkit-transform:translate(0,-.5px) rotate(-1.5deg); - transform:translate(0,-.5px) rotate(-1.5deg) -} -18%,22% { - -webkit-transform:translate(0,.5px) rotate(-1.5deg); - transform:translate(0,.5px) rotate(-1.5deg) -} -20%,36%,46% { - -webkit-transform:translate(0,-1.5px) rotate(2.5deg); - transform:translate(0,-1.5px) rotate(2.5deg) -} -26%,50% { - -webkit-transform:translate(0,.5px) rotate(.5deg); - transform:translate(0,.5px) rotate(.5deg) -} -28% { - -webkit-transform:translate(0,.5px) rotate(1.5deg); - transform:translate(0,.5px) rotate(1.5deg) -} -30%,40%,62%,76%,88% { - -webkit-transform:translate(0,-.5px) rotate(2.5deg); - transform:translate(0,-.5px) rotate(2.5deg) -} -32%,34%,66% { - -webkit-transform:translate(0,1.5px) rotate(-.5deg); - transform:translate(0,1.5px) rotate(-.5deg) -} -42% { - -webkit-transform:translate(0,2.5px) rotate(-1.5deg); - transform:translate(0,2.5px) rotate(-1.5deg) -} -44%,70% { - -webkit-transform:translate(0,1.5px) rotate(.5deg); - transform:translate(0,1.5px) rotate(.5deg) -} -48%,74%,82% { - -webkit-transform:translate(0,-.5px) rotate(.5deg); - transform:translate(0,-.5px) rotate(.5deg) -} -52%,56%,60% { - -webkit-transform:translate(0,2.5px) rotate(2.5deg); - transform:translate(0,2.5px) rotate(2.5deg) -} -58% { - -webkit-transform:translate(0,.5px) rotate(2.5deg); - transform:translate(0,.5px) rotate(2.5deg) -} -84% { - -webkit-transform:translate(0,1.5px) rotate(2.5deg); - transform:translate(0,1.5px) rotate(2.5deg) -} -90% { - -webkit-transform:translate(0,2.5px) rotate(-.5deg); - transform:translate(0,2.5px) rotate(-.5deg) -} -92% { - -webkit-transform:translate(0,.5px) rotate(-.5deg); - transform:translate(0,.5px) rotate(-.5deg) -} -94% { - -webkit-transform:translate(0,2.5px) rotate(.5deg); - transform:translate(0,2.5px) rotate(.5deg) -} -0%,100% { - -webkit-transform:translate(0,0) rotate(0); - transform:translate(0,0) rotate(0) -} -}.ex-login,.ex-register { - margin:auto; - width:400px; - text-align:center; - background-color:rgba(255,255,255,0) -} -.ex-login { - padding:20px 0; - background-color:rgba(255,255,255,0) -} -.ex-login p,.ex-register p { - margin:1em -} -.ex-login-title { - color:#666; - font-size:20px; - padding-top:25px -} -.ex-login-title img { - width:85px; - height:85px; - border-radius:100% -} -.ex-register-title h3 { - padding-bottom:15px; - font-size:24px; - color:#666 -} -.ex-login input,.ex-register input { - width:300px; - margin-bottom:6px; - padding:12px 10px; - border:1px #ddd solid; - outline:0; - border-radius:3px; - font-size:16px; - font:300 14px miranafont,"Hiragino Sans GB","Microsoft YaHei",STXihei,SimSun,sans-serif; - -webkit-transition:.4s ease all; - -moz-transition:.4s ease all; - -o-transition:.4s ease all; - transition:.4s ease all -} -.ex-login input.login-button,.ex-register input.register-button { - box-shadow:none; - text-shadow:none; - background-color:#eee -} -.ex-register input.register-button { - margin-bottom:20px -} -.ex-login input.login-button:hover,.ex-register input.register-button:hover { - background-color:#e67474; - border-color:#e67474; - color:#fff -} -.user-login-check,.admin-login-check { - width:100%; - margin:10% 0 12%; - text-align:center; - font-size:16px; - color:#555 -} -.user-login-check p,.admin-login-check p { - margin:.8em -} -.ex-login-avatar img { - border-radius:100%; - border:1px solid #ddd; - padding:5px; - width:110px; - height:110px -} -.ex-login-username { - font-size:20px -} -.ex-new-account { - padding:45px 0 -} -.ex-new-account a { - font-size:16px -} -.ex-new-account a:hover { - color:#e67474 -} -.ex-logout { - padding-top:1em -} -.ex-logout a,.ex-new-account a { - color:#555; - text-decoration:underline; - margin:0 20px -} -.ex-register .user-error { - text-align:left; - font-size:12px; - width:300px; - margin:0 auto 24px; - padding:8px; - background:rgba(241,241,241,.5) -} -.register-close { - margin-bottom:200px; - font-size:18px -} -.header-user-avatar { - position:relative; - float:right; - margin-left:20px; - margin-top:22px -} -.header-user-avatar img { - border-radius:100%; - cursor:pointer -} -.header-user-avatar:hover .header-user-menu { - display:block -} -.header-user-menu { - position:absolute; - width:110px; - right:-11px; - text-align:left; - background:none; - top:44px; - display:none; - overflow:hidden; - animation:header-user-menu .4s; - box-shadow:0 1px 40px -8px rgba(0,0,0,.5); - border-radius:5px; - text-align:center -} -.header-user-menu::before { - content:""; - position:fixed; - top:46px; - right:25px; - margin-left:-10px; - border-width:10px; - border-style:solid; - border-color:transparent transparent #fff transparent -} -.herder-user-name { - font-size:12px; - background:#fff; - padding:10px 10px; - border-radius:4px 4px 0 0 -} -.herder-user-name-u { - font-weight:bold; - font-size:14px; - overflow:hidden; - text-overflow:ellipsis; - -o-text-overflow:ellipsis; - white-space:nowrap -} -.header-user-menu .user-menu-option { - padding:5px 0; - background:#fff; - border-radius:0 0 4px 4px; - width:130px -} -.header-user-menu a { - display:block; - padding:6px 10px; - margin:2px 0; - width:110px; - text-align:left; - color:#333; - font-size:13px; - text-align:center -} -.user-menu-option a:hover { - background-color:#f1f1f1 -} -.no-logged { - font-size:13px; - padding:15px 10px; - border-radius:4px; - border:0 -} -.no-logged a { - display:initial; - color:#69d2e7; - font-size:14px; - padding:0 5px; - text-decoration:underline -} -@keyframes header-user-menu { - 0% { - opacity:0; - transform:translateY(-20px) -} -100% { - opacity:1; - transform:translateY(0) -} -}.oshimai { - height:2em; - width:6.11em; - background:url("https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/images/oshimai.svg"); - background-size:cover; - margin:0 auto -} -.single-reward { - position:relative; - width:100%; - margin:35px auto; - text-align:center; - z-index:999 -} -.single-reward .reward-open { - position:relative; - width:40px; - height:40px; - font-size:18px; - padding:7px; - color:#fff; - text-align:center; - display:inline-block; - border-radius:100%; - background:#d34836; - cursor:pointer -} -.single-reward .reward-main { - position:absolute; - top:40px; - left:-157px; - margin:0; - padding:15px 0 0; - width:355px; - background:none; - display:none; - animation:main .4s -} -.reward-open:hover .reward-main { - display:block -} -.single-reward .reward-row { - margin:0 auto; - padding:20px 15px 10px; - background:#f5f5f5; - display:inline-block; - border-radius:4px; - cursor:auto -} -.single-reward .reward-row:before { - content:""; - width:0; - height:0; - border-left:13px solid transparent; - border-right:13px solid transparent; - border-bottom:13px solid #f5f5f5; - position:absolute; - top:2px; - left:0; - right:0; - margin:0 auto -} -.single-reward .reward-row li { - list-style-type:none; - padding:0 12px; - display:inline-block -} -.reward-row li img { - width:130px; - max-width:130px; - border-radius:3px; - position:relative -} -.reward-row li::after { - display:block; - padding:5px 0 0; - font-size:13px; - color:#555 -} -.alipay-code:after { - content:"支付宝" -} -.wechat-code:after { - content:"微信" -} -.sm { - cursor:wait -} -.botui-container { - font-size:14px; - background-color:rgba(255,255,255,0) -} -.botui-messages-container { - padding:10px 20px -} -.botui-actions-container { - padding:10px 20px -} -.botui-message { - min-height:30px -} -.botui-message-content { - padding:7px 13px; - border-radius:15px; - color:#595a5a; - background-color:#ebebeb -} -.botui-message-content.human { - color:#f7f8f8; - background-color:#919292 -} -.botui-message-content.text { - line-height:1.3 -} -.botui-message-content.loading { - background-color:rgba(206,206,206,.5); - line-height:1.3; - text-align:center -} -.botui-message-content.embed { - padding:5px; - border-radius:5px -} -.botui-message-content-link { - color:#919292 -} -.botui-actions-text-input { - border:0; - outline:0; - border-radius:0; - padding:5px 7px; - background-color:transparent; - color:#595a5a; - border-bottom:1px solid #919292 -} -.botui-actions-text-submit { - color:#fff; - width:30px; - padding:5px; - height:30px; - line-height:1; - border-radius:50%; - border:1px solid #919292; - background:#777979 -} -.botui-actions-buttons-button { - border:0; - color:#fff; - line-height:1; - cursor:url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/No_Disponible.cur),auto; - font-size:14px; - font-weight:500; - padding:7px 15px; - border-radius:4px; - background:#777979; - box-shadow:2px 3px 4px 0 rgba(0,0,0,.25) -} -.poptitle { - width:100%; - height:100%; - line-height:3; - border-top-left-radius:6px; - border-top-right-radius:6px; - border-bottom-left-radius:6px; - border-bottom-right-radius:6px; - background-color:rgba(255,255,255,.7) -} -@media(min-width:400px) { - .poptitle { - width:400px; - height:100%; - margin:0 auto; - border-top-left-radius:6px; - border-top-right-radius:6px; - border-bottom-left-radius:6px; - border-bottom-right-radius:6px; - background-color:rgba(255,255,255,.7) -} -}.popfooter { - width:100%; - height:100%; - line-height:1; - background-color:rgba(255,255,255,.7) -} -@media(min-width:400px) { - .popfooter { - width:400px; - height:100%; - margin:0 auto; - background-color:rgba(255,255,255,.7) -} -}.popcontainer { - width:100%; - height:100%; - line-height:1 -} -@media(min-width:400px) { - .popcontainer { - height:100%; - margin:0 auto -} -}.popcontainer h4:before { - content:" "; - margin-right:0; - color:#ff6d6d -} -.popcontainer h4:after { - content:" "; - left:0; - position:absolute; - color:#ff6d6d -} -.slide-fade-enter-active { - transition:all .3s ease -} -.slide-fade-enter,.slide-fade-leave-to { - opacity:0; - transform:translateX(-10px) -} -.dot { - width:.5rem; - height:.5rem; - border-radius:.5rem; - display:inline-block; - background-color:#919292 -} -.dot:nth-last-child(1) { - margin-left:.3rem; - animation:loading .6s .3s linear infinite -} -.dot:nth-last-child(2) { - margin-left:.3rem; - animation:loading .6s .2s linear infinite -} -.dot:nth-last-child(3) { - animation:loading .6s .1s linear infinite -} -@keyframes loading { - 0% { - transform:translate(0,0); - background-color:#ababab -} -25% { - transform:translate(0,-3px) -} -50% { - transform:translate(0,0); - background-color:#ababab -} -75% { - transform:translate(0,3px) -} -100% { - transform:translate(0,0) -} -}a.botui-message-content-link:focus { - outline:thin dotted -} -a.botui-message-content-link:focus:active,a.botui-message-content-link:focus:hover { - outline:0 -} -form.botui-actions-text { - margin:0 -} -button.botui-actions-buttons-button,input.botui-actions-text-input { - margin:0; - font-size:100%; - line-height:normal; - vertical-align:baseline -} -button.botui-actions-buttons-button::-moz-focus-inner,input.botui-actions-text-input::-moz-focus-inner { - border:0; - padding:0 -} -button.botui-actions-buttons-button { - cursor:url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/No_Disponible.cur),auto; - -webkit-appearance:button -} -.botui-app-container { - width:100%; - height:100%; - line-height:1 -} -@media(min-width:400px) { - .botui-app-container { - width:400px; - height:500px; - margin:0 auto -} -}.botui-container { - width:100%; - height:100%; - overflow-y:auto; - overflow-x:hidden -} -.botui-message { - margin:10px 0; - min-height:20px -} -.botui-message-content { - width:auto; - max-width:85%; - display:inline-block -} -.botui-message-content.human { - float:right; - margin-bottom:12.2px -} -.botui-message-content iframe { - width:100% -} -.botui-message-content-image { - margin:5px 0; - display:block; - max-width:200px; - max-height:200px -} -.botui-message-content-link { - text-decoration:underline -} -.botui-actions-buttons-button+.botui-actions-buttons-button { - margin-left:10px -} -@media(min-width:400px) { - .botui-actions-text-submit { - display:none -} -}.load-button { - width:200px; - height:60px; - margin:auto; - cursor:pointer; - perspective:500px; - -webkit-perspective:500px -} -.load-button div { - height:100%; - transform-style:preserve-3d; - -webkit-transform-style:preserve-3d; - transition:.25s; - -webkit-transition:.25s -} -.load-button:hover div { - transform:rotateX(-90deg) -} -.load-button span { - width:100%; - height:100%; - position:absolute; - box-sizing:border-box; - border:5px solid #d34836; - line-height:50px; - font-size:17pt; - text-align:center; - text-transform:uppercase -} -.load-button span:nth-child(1) { - color:#d34836; - transform:translate3d(0,0,30px); - -webkit-transform:translate3d(0,0,30px) -} -.load-button span:nth-child(2) { - color:white; - background:#d34836; - transform:rotateX(90deg) translate3d(0,0,30px); - -webkit-transform:rotateX(90deg) translate3d(0,0,30px) -} -.logolink a { - color:#464646; - float:left; - font-size:20px; - font-weight:800; - height:56px; - line-height:56px; - padding-left:35px; - padding-right:15px; - padding-top:11px; - text-decoration-line:none -} -/*页面左上角logo字体*/ -.logolink .sakurasono { - background-color:rgba(255,255,255,.5); - border-radius:5px; - color:#FF0000; - height:auto; - line-height:25px; - margin-right:0; - padding-bottom:0; - padding-top:1px; - text-size-adjust:100%; - width:auto -} -.logolink a:hover .sakurasono { - background-color:#9B30FF; - color:#fff -} -.logolink a:hover .shironeko,.logolink a:hover rt { - color:#9B30FF -} -.logolink.moe-mashiro a { - color:#FFFFFF; - float:left; - font-size:28px; - font-weight:800; - height:56px; - line-height:56px; - padding-left:6px; - padding-right:15px; - padding-top:11px; - text-decoration-line:none -} -.logolink.moe-mashiro .sakurasono { - font-size:25px; - border-radius:9px; - padding-bottom:2px; - padding-top:5px -} -.logolink.moe-mashiro .shironeko { - margin-left:-5px -} -.forgetmenot input[type=checkbox] { - border:1px solid #b4b9be; - background:#fff; - color:#555; - clear:none; - cursor:pointer; - display:inline-block; - line-height:0; - height:16px; - margin:-4px 4px 0 0; - outline:0; - padding:0 !important; - text-align:center; - vertical-align:middle; - width:16px; - min-width:16px; - -webkit-appearance:none; - -webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1); - box-shadow:inset 0 1px 2px rgba(0,0,0,.1); - -webkit-transition:.05s border-color ease-in-out; - transition:.05s border-color ease-in-out -} -.forgetmenot input[type=checkbox]:checked:before { - content:"✔"; - margin:-3px 0 0 -4px; - color:#1e8cbe -} -.forgetmenot input[type=checkbox]:checked:before,input[type=radio]:checked:before { - float:left; - display:inline-block; - vertical-align:middle; - width:16px; - font:400 21px/1 dashicons; - speak:none; - -webkit-font-smoothing:antialiased; - -moz-osx-font-smoothing:grayscale -} -.forgetmenot input[type=checkbox]:checked:before { - content:"✔"; - margin:-3px 0 0 -4px; - color:#1e8cbe -} -.forgetmenot input[type=checkbox]:checked:before,input[type=radio]:checked:before { - float:left; - display:inline-block; - vertical-align:middle; - width:16px; - font:400 21px/1 dashicons; - speak:none; - -webkit-font-smoothing:antialiased; - -moz-osx-font-smoothing:grayscale -} -.prpr { - position:fixed; - bottom:0; - left:0; - z-index:99; - font-size:0; - transition:all .3s ease-in-out; - -webkit-transform:translateY(3px); - transform:translateY(3px); - cursor:grab; - user-select:none -} -.prpr:hover { - -webkit-transform:translateY(0); - transform:translateY(0) -} -.prpr:active { - cursor:grabbing -} -@media(max-width:860px) { - .prpr { - transform:scale(0.8) translate(-30px,31px) -} -.prpr:hover { - -webkit-transform:scale(0.8) translate(-30px,31px); - transform:scale(0.8) translate(-30px,31px) -} -}@media(max-width:560px) { - .prpr { - transform:scale(0.5) translate(-150px,125px) -} -.prpr:hover { - -webkit-transform:scale(0.5) translate(-150px,125px); - transform:scale(0.5) translate(-150px,125px) -} -}.prpr #live2d { - position:relative; - z-index:99 -} -.mashiro-tips { - opacity:0; - width:250px; - height:auto; - min-height:70px; - margin:-20px 20px; - padding:5px 10px; - border-radius:12px; - box-sizing:border-box; - box-shadow:0 0 2px 0 rgba(0,0,0,.12),0px 2px 2px 0 rgba(0,0,0,.24); - transition:box-shadow .2s ease; - background:#fff; - color:#212121; - font-size:12px; - text-overflow:ellipsis; - overflow:hidden; - position:absolute; - animation-delay:5s; - animation-duration:50s; - animation-iteration-count:infinite; - animation-name:shake; - animation-timing-function:ease-in-out -} -@keyframes shake { - 2% { - transform:translate(.5px,-1.5px) rotate(-.5deg) -} -4% { - transform:translate(.5px,1.5px) rotate(1.5deg) -} -6% { - transform:translate(1.5px,1.5px) rotate(1.5deg) -} -8% { - transform:translate(2.5px,1.5px) rotate(.5deg) -} -10% { - transform:translate(.5px,2.5px) rotate(.5deg) -} -12% { - transform:translate(1.5px,1.5px) rotate(.5deg) -} -14% { - transform:translate(.5px,.5px) rotate(.5deg) -} -16% { - transform:translate(-1.5px,-.5px) rotate(1.5deg) -} -18% { - transform:translate(.5px,.5px) rotate(1.5deg) -} -20% { - transform:translate(2.5px,2.5px) rotate(1.5deg) -} -22% { - transform:translate(.5px,-1.5px) rotate(1.5deg) -} -24% { - transform:translate(-1.5px,1.5px) rotate(-.5deg) -} -26% { - transform:translate(1.5px,.5px) rotate(1.5deg) -} -28% { - transform:translate(-.5px,-.5px) rotate(-.5deg) -} -30% { - transform:translate(1.5px,-.5px) rotate(-.5deg) -} -32% { - transform:translate(2.5px,-1.5px) rotate(1.5deg) -} -34% { - transform:translate(2.5px,2.5px) rotate(-.5deg) -} -36% { - transform:translate(.5px,-1.5px) rotate(.5deg) -} -38% { - transform:translate(2.5px,-.5px) rotate(-.5deg) -} -40% { - transform:translate(-.5px,2.5px) rotate(.5deg) -} -42% { - transform:translate(-1.5px,2.5px) rotate(.5deg) -} -44% { - transform:translate(-1.5px,1.5px) rotate(.5deg) -} -46% { - transform:translate(1.5px,-.5px) rotate(-.5deg) -} -48% { - transform:translate(2.5px,-.5px) rotate(.5deg) -} -50% { - transform:translate(-1.5px,1.5px) rotate(.5deg) -} -52% { - transform:translate(-.5px,1.5px) rotate(.5deg) -} -54% { - transform:translate(-1.5px,1.5px) rotate(.5deg) -} -56% { - transform:translate(.5px,2.5px) rotate(1.5deg) -} -58% { - transform:translate(2.5px,2.5px) rotate(.5deg) -} -60% { - transform:translate(2.5px,-1.5px) rotate(1.5deg) -} -62% { - transform:translate(-1.5px,.5px) rotate(1.5deg) -} -64% { - transform:translate(-1.5px,1.5px) rotate(1.5deg) -} -66% { - transform:translate(.5px,2.5px) rotate(1.5deg) -} -68% { - transform:translate(2.5px,-1.5px) rotate(1.5deg) -} -70% { - transform:translate(2.5px,2.5px) rotate(.5deg) -} -72% { - transform:translate(-.5px,-1.5px) rotate(1.5deg) -} -74% { - transform:translate(-1.5px,2.5px) rotate(1.5deg) -} -76% { - transform:translate(-1.5px,2.5px) rotate(1.5deg) -} -78% { - transform:translate(-1.5px,2.5px) rotate(.5deg) -} -80% { - transform:translate(-1.5px,.5px) rotate(-.5deg) -} -82% { - transform:translate(-1.5px,.5px) rotate(-.5deg) -} -84% { - transform:translate(-.5px,.5px) rotate(1.5deg) -} -86% { - transform:translate(2.5px,1.5px) rotate(.5deg) -} -88% { - transform:translate(-1.5px,.5px) rotate(1.5deg) -} -90% { - transform:translate(-1.5px,-.5px) rotate(-.5deg) -} -92% { - transform:translate(-1.5px,-1.5px) rotate(1.5deg) -} -94% { - transform:translate(.5px,.5px) rotate(-.5deg) -} -96% { - transform:translate(2.5px,-.5px) rotate(-.5deg) -} -98% { - transform:translate(-1.5px,-1.5px) rotate(-.5deg) -} -0%,100% { - transform:translate(0,0) rotate(0) -} -}.live2d-tool { - position:fixed; - bottom:0; - left:0; - width:auto; - height:auto; - z-index:100; - border-radius:5px; - font-size:13px; - cursor:pointer; - font-family:'Ubuntu' -} -@media(min-width:861px) { - .live2d-tool { - border-radius:0 5px 5px 0; - width:35px; - left:-17px; - color:white; - font-size:13px; - padding:5px 0; - padding-top:5px; - padding-right:0; - padding-bottom:5px; - padding-left:17px; - font-weight:bold; - z-index:99; - visibility:visible; - writing-mode:vertical-rl; - transiton-property:left,bottom; - transition-duration:.5s,.5s -} -.live2d-tool:hover { - left:0 -} -}@media(max-width:860px) { - .live2d-tool { - padding:0 5px -} -}@media screen and (-webkit-min-device-pixel-ratio:0) { - .isWebKit .live2d-tool { - position:fixed; - left:0; - width:auto; - height:auto; - z-index:100; - border-radius:5px; - font-size:13px; - cursor:pointer -} -@media(min-width:861px) { - .isWebKit .live2d-tool { - border-radius:0 5px 5px 0; - width:35px; - margin-left:-35px; - color:white; - font-size:13px; - padding:5px 0; - padding-top:5px; - padding-right:0; - padding-bottom:5px; - padding-left:17px; - font-weight:bold; - z-index:99; - writing-mode:vertical-rl; - transiton-property:margin-left,bottom; - transition-duration:.5s,.5s -} -.isWebKit .live2d-tool:hover { - margin-left:-17px -} -} -} -@supports(-ms-ime-align:auto) { - .live2d-tool { - margin-left:0; - left:-17px; - transiton-property:left,bottom -} -.live2d-tool:hover { - margin-left:0 -} -}.live2d-tool .keys { - position:relative -} -.hide-live2d { - visibility:visible -} -.switch-live2d { - visibility:hidden -} -.save-live2d { - visibility:hidden -} -@media(min-width:861px) { - .hide-live2d { - background-color:orange; - bottom:156px; - visibility:visible; - min-height:38.75px -} -.switch-live2d { - background-color:#f7bb4d; - bottom:105px; - visibility:visible; - min-height:51px -} -.save-live2d { - background-color:#eed099; - bottom:66px; - visibility:visible; - min-height:39.3px -} -}.hide-live2d-tool { - bottom:15px -} -.aplayer-miniswitcher,.ap-hover,.live2d-tool,.aplayer-icon { - border-radius:0 6px 6px 0 !important -} -.video-container { - position:relative; - padding-bottom:56.25%; - padding-top:30px; - height:0; - overflow:hidden -} -.video-container embed,.video-container iframe,.video-container object { - position:absolute; - top:0; - left:0; - width:100%; - height:100% -} -.hearthstone-deck { - overflow:hidden -} -.hearthstone-deck-container { - background:url(https://view.moezx.cc/images/2018/12/09/loading-bilibili.gif); - background-repeat:no-repeat; - background-size:94px 82px; - background-position:center; - border:8px solid #dec79b; - border-width:7px; - -o-border-image:url(https://view.moezx.cc/images/2018/12/09/hearthstone_border.png) 7 stretch; - border-image:url(https://view.moezx.cc/images/2018/12/09/hearthstone_border.png) 7 stretch -} -#Snow { - position:fixed; - top:0; - left:0; - width:100%; - height:100%; - z-index:99999; - background:rgba(125,137,95,0); - pointer-events:none -} -#night-mode-cover { - position:fixed; - top:0; - left:0; - width:100%; - height:100%; - z-index:99999; - background:rgba(86,86,86,.2); - pointer-events:none; - visibility:hidden -} -.changeSkin { - position:fixed; - bottom:0; - right:-600px; - width:auto; - height:auto; - z-index:99; - font-family:'Ubuntu'; - padding:10px 20px; - transiton-property:right; - transition-duration:.3s,.3s -} -.changeSkin .keys { - position:relative; - z-index:99 -} -.changeSkin .keys span { - cursor:pointer -} -.changeSkin-gear { - position:fixed; - bottom:-999px; - right:5px; - width:auto; - height:auto; - z-index:99; - visibility:hidden; - white-space:nowrap; - padding:10px 10px; - cursor:pointer; - border-radius:10px 10px 0 0 -} -.changeSkin .keys { - position:relative; - z-index:99 -} -.changeSkin .keys span { - cursor:pointer -} -.changeSkin .close-skinMenu { - position:relative; - z-index:99; - cursor:pointer -} -.keys-line-add { - text-align:right; - margin-right:22px -} -@media(max-width:800px) { - .changeSkin-gear span::before { - content:"" -} -.changeSkin i { - font-size:20px -} -.changeSkin-gear i { - font-size:20px -} -}position:relative; - z-index:99; - cursor:pointer -} -.changeSkin-gear span:before { - content:"切换主题 | Change Skin " -} -@media(max-width:800px) { - .changeSkin-gear span::before { - content:"" -} -.changeSkin i { - font-size:20px -} -.changeSkin-gear i { - font-size:20px -} -}.img-preload { - visibility:hidden; - width:0; - height:0 -} -@-webkit-keyframes rotating { - from { - -webkit-transform:rotate(0deg); - -o-transform:rotate(0deg); - transform:rotate(0deg) -} -to { - -webkit-transform:rotate(360deg); - -o-transform:rotate(360deg); - transform:rotate(360deg) -} -}@keyframes rotating { - from { - -ms-transform:rotate(0deg); - -moz-transform:rotate(0deg); - -webkit-transform:rotate(0deg); - -o-transform:rotate(0deg); - transform:rotate(0deg) -} -to { - -ms-transform:rotate(360deg); - -moz-transform:rotate(360deg); - -webkit-transform:rotate(360deg); - -o-transform:rotate(360deg); - transform:rotate(360deg) -} -}.rotating { - -webkit-animation:rotating 3s linear infinite; - -moz-animation:rotating 3s linear infinite; - -ms-animation:rotating 3s linear infinite; - -o-animation:rotating 3s linear infinite; - animation:rotating 3s linear infinite -} -.inline-block { - display:inline-block -} -.block { - display:block -} -.center-text { - margin:auto; - font-family:'Ubuntu',sans-serif; - font-size:80px; - text-transform:uppercase -} -.glitch { - position:relative; - color:white; - mix-blend-mode:lighten -} -.glitch:before,.glitch:after { - content:attr(data-text); - position:absolute; - top:0; - width:100%; - background:rgba(0,0,0,0); - clip:rect(0,0,0,0) -} -.glitch:before { - left:-1px; - text-shadow:1px 0 #ff3f1a -} -.glitch:after { - left:1px; - text-shadow:-1px 0 #00a7e0 -} -.glitch:hover:before { - text-shadow:4px 0 #ff3f1a; - animation:glitch-loop-1 .8s infinite ease-in-out alternate-reverse -} -.glitch:hover:after { - text-shadow:-5px 0 #00a7e0; - animation:glitch-loop-2 .8s infinite ease-in-out alternate-reverse -} -@-webkit-keyframes glitch-loop-1 { - 0% { - clip:rect(36px,9999px,9px,0) -} -25% { - clip:rect(25px,9999px,99px,0) -} -50% { - clip:rect(50px,9999px,102px,0) -} -75% { - clip:rect(30px,9999px,92px,0) -} -100% { - clip:rect(91px,9999px,98px,0) -} -}@keyframes glitch-loop-1 { - 0% { - clip:rect(36px,9999px,9px,0) -} -25% { - clip:rect(25px,9999px,99px,0) -} -50% { - clip:rect(50px,9999px,102px,0) -} -75% { - clip:rect(30px,9999px,92px,0) -} -100% { - clip:rect(91px,9999px,98px,0) -} -}@-webkit-keyframes glitch-loop-2 { - 0% { - top:-1px; - left:1px; - clip:rect(65px,9999px,119px,0) -} -25% { - top:-6px; - left:4px; - clip:rect(79px,9999px,19px,0) -} -50% { - top:-3px; - left:2px; - clip:rect(68px,9999px,11px,0) -} -75% { - top:0; - left:-4px; - clip:rect(95px,9999px,53px,0) -} -100% { - top:-1px; - left:-1px; - clip:rect(31px,9999px,149px,0) -} -}@keyframes glitch-loop-2 { - 0% { - top:-1px; - left:1px; - clip:rect(65px,9999px,119px,0) -} -25% { - top:-6px; - left:4px; - clip:rect(79px,9999px,19px,0) -} -50% { - top:-3px; - left:2px; - clip:rect(68px,9999px,11px,0) -} -75% { - top:0; - left:-4px; - clip:rect(95px,9999px,53px,0) -} -100% { - top:-1px; - left:-1px; - clip:rect(31px,9999px,149px,0) -} -}.bb-comment { - border:1px solid #fb7299; - min-width:30px; - display:inline-block; - text-align:center; - font-size:12px; - color:#fb7299; - border-radius:3px; - font-weight:400 -} -.mashiro-author-info { - background:url('//static.mashiro.top/wp-content/themes/Sakura/images/LOGO-Unicorn-Gradient.svg'); - width:200px; - height:200px; - margin:auto -} -.itempic { - min-height:280px; - max-height:300px; - background-position:center center; - background-repeat:no-repeat; - -webkit-background-size:cover; - -moz-background-size:cover; - background-size:cover -} -.finish-icon-container { - font-size:1rem; - display:-webkit-box; - display:box; - display:-webkit-flex; - display:flex; - -webkit-box-align:center; - box-align:center; - -webkit-align-items:center; - align-items:center -} -.finish-icon-text { - margin-right:8px -} -.finish-icon { - vertical-align:text-bottom -} -progress { - -webkit-appearance:none; - -moz-appearance:none; - appearance:none; - border:0; - background-size:auto; - height:24px; - width:100% -} -.skill-list { - list-style:none; - margin:0; - padding-top:25px -} -.skill { - margin-bottom:1em; - position:relative -} -.skill div { - color:#fff; - line-height:1; - position:absolute; - top:4px; - font-size:1em; - margin-top:0; - margin-bottom:0; - text-shadow:0 0 1px rgba(0,0,0,.22); - width:100%; - text-align:center -} -.skill ::-webkit-progress-value { - -webkit-animation:bar-fill 2s; - width:0 -} -.skill-1::-webkit-progress-value { - background:#ff9e2c -} -.skill-1::-moz-progress-bar { - background:#ff9e2c -} -@-webkit-keyframes bar-fill { - 0% { - width:0 -} -}@keyframes bar-fill { - 0% { - width:0 -} -}.art .art-content .al_mon_list li:before,.art .art-content #archives a:before { - content:none -} -#archives ul { - list-style:none; - margin-bottom:0; - left:-45px -} -#archives li { - list-style:none -} -#archives li>ul,li>ol { - margin-left:-2.7em -} -#archives h3 { - margin-top:0; - margin-bottom:0 -} -.art-content #archives .al_mon_list { - position:relative; - padding:10px 0; - display:inline-block; - vertical-align:middle -} -.art .art-content #archives a { - color:#000 -} -.art .art-content #archives a:hover { - color:orange -} -.art .art-content #archives .al_year { - padding-left:100px -} -.art-content #archives .al_mon_list .al_mon,.art .art-content .al_mon_list .al_post_list>li { - position:relative -} -.art-content #archives .al_mon_list .al_mon,.art-content #archives .al_mon_list span { - padding:0; - border-radius:0; - margin:0; - color:#000; - background:none; - font-weight:normal -} -.art .art-content #archives a { - font-weight:normal -} -.art .art-content .al_mon_list { - width:100% -} -.art .art-content .al_mon_list .al_post_list>li:before { - position:absolute; - left:116px; - background:#fff; - height:12px; - width:12px; - border-radius:6px; - top:6px; - content:"" -} -.art .art-content .al_mon_list .al_post_list>li:after { - position:absolute; - left:118px; - background:#6ecaf5; - height:8px; - width:8px; - border-radius:6px; - top:8px; - content:"" -} -.art-content #archives .al_mon_list .al_mon:before { - position:absolute; - left:113px; - background:#fff; - height:18px; - width:18px; - border-radius:9px; - top:3px; - content:"" -} -.art-content #archives .al_mon_list .al_mon:after { - position:absolute; - left:116px; - background:#6ecaf5; - height:12px; - width:12px; - border-radius:6px; - top:6px; - content:"" -} -.art .art-content .al_mon_list .al_post_list>li { - padding-left:140px -} -.art-content #archives .al_mon_list .al_post_list,.art-content #archives .al_mon { - display:block -} -.art-content #archives .al_mon_list:before { - max-height:100%; - height:100%; - width:4px; - background:#6ecaf5; - position:absolute; - left:120px; - content:""; - top:0 -} -.art-content #archives .al_mon_list .al_mon:before,.art .art-content .al_mon_list .al_post_list>li:before { - -webkit-box-shadow:1px 1px 1px #bbb; - box-shadow:1px 1px 1px #bbb -} -.art-content #archives .al_mon_list .al_mon:after,.art .art-content .al_mon_list .al_post_list>li:after { - background:#0bf -} -.toc-container { - z-index:98; - width:200px; - height:100%; - background-color:rgba(255,255,255,0); - transform:translateX(0); - right:calc((100% - 950px - 250px)/2); - position:absolute !important; - top:480px; - position:absolute; - padding-top:10px; - padding-bottom:10px -} -.toc { - position:-webkit-sticky; - position:sticky; - top:100px -} -@media(max-width:860px) { - .toc-container { - display:none -} -}.toc { - overflow-y:auto -} -.toc>.toc-list { - overflow:hidden; - position:relative -} -.toc>.toc-list li { - list-style:none -} -.toc-list { - margin:0; - padding-left:10px -} -a.toc-link { - color:currentColor; - height:100% -} -.is-collapsible { - max-height:1000px; - overflow:hidden; - transition:all 300ms ease-in-out -} -.is-collapsed { - max-height:0 -} -.is-position-fixed { - position:fixed !important; - top:0 -} -.is-active-link { - font-weight:700 -} -.toc-link::before { - background-color:#EEE; - content:' '; - display:inline-block; - height:inherit; - left:0; - margin-top:-1px; - position:absolute; - width:2px -} -.is-active-link::before { - background-color:orange !important -} -.flipx { - -moz-transform:scaleX(-1); - -webkit-transform:scaleX(-1); - -o-transform:scaleX(-1); - transform:scaleX(-1); - filter:FlipH -} -.flipy { - -moz-transform:scaleY(-1); - -webkit-transform:scaleY(-1); - -o-transform:scaleY(-1); - transform:scaleY(-1); - filter:FlipV -} -.flipx-v2 { - transform:rotateY(180deg) -} -.flipy-v2 { - transform:rotateX(180deg) -} -.ex-login,.ex-register { - width:auto !important -} -.bili-container,.tieba-container { - padding-left:16px -} -.tieba-container span { - width:32px; - height:32px -} -.tieba-container img { - width:32px; - height:32px; - margin:7px -} -.tieba-container img:hover { - background-color:rgba(245,245,245,.8); - border-radius:5px -} -.emotion-box { - display:-webkit-box; - display:-ms-flexbox; - display:flex; - -webkit-box-orient:horizontal; - -webkit-box-direction:normal; - -ms-flex-direction:row; - flex-direction:row; - -ms-flex-wrap:wrap; - flex-wrap:wrap; - display:none -} -.emotion-inline { - padding-left:0 !important; - padding-right:0 !important -} -.emotion-item { - margin:6px; - display:inline-block; - width:32px; - height:32px; - overflow:hidden; - border-radius:4px; - margin-bottom:-8px -} -.emotion-secter { - margin:12px 12px 0 0 -} -.emotion-item .img { - -webkit-animation:im-emotion-step 1.08s steps(27) infinite; - animation:im-emotion-step 1.08s steps(27) infinite; - animation-duration:1.08s; - animation-timing-function:steps(27) -} -.emotion-item .img { - width:32px; - height:864px; - max-width:32px; - background:top/32px no-repeat; - background-image:none -} -@-webkit-keyframes im-emotion-step { - 0% { - -webkit-transform:translateY(0); - transform:translateY(0) -} -to { - -webkit-transform:translateY(-100%); - transform:translateY(-100%) -} -}@keyframes im-emotion-step { - 0% { - -webkit-transform:translateY(0); - transform:translateY(0) -} -to { - -webkit-transform:translateY(-100%); - transform:translateY(-100%) -} -}.emotion-select-parent { - background-size:cover -} -.emotion-select-child { - display:none -} -.emotion-select-parent:hover { - background-image:none !important; - background-color:rgba(245,245,245,.8); - border-radius:5px -} -.emotion-select-parent:hover .emotion-select-child { - display:block -} -#emotion-toggle { - text-align:center; - margin-bottom:5px -} -.emotion-toggle-on { - display:none -} -.motion-switcher-table { - border-collapse:collapse; - width:100%; - margin:0; - table-layout:fixed -} -.motion-switcher-table th,.motion-switcher-table td { - padding:8px; - text-align:center; - border-radius:5px -} -.motion-switcher-table th:hover { - background-color:rgba(245,245,245,.5); - color:orange -} -.motion-switcher-table .on-hover { - color:orange -} -.motion-container { - height:110px; - overflow:auto; - margin-bottom:5px; - border-radius:5px -} -@media(max-width:860px) { - .bili-container,.tieba-container { - padding-left:0 -} -.emotion-item { - transform:scale(0.6); - margin-bottom:-10px -} -.tieba-container span,.tieba-container img { - transform:scale(0.6); - margin-bottom:-10px -} -.emotion-secter { - margin:0 -} -.emotion-select-parent:hover { - background-image:none !important; - -ms-transform:scale(0.6,.6); - -webkit-transform:scale(0.6,.6); - transform:scale(0.6,.6) -} -}.menhera-container .emoji-item { - padding:3px 5px; - margin:3px 3px; - display:inline-block; - border-radius:4px; - color:#333 -} -.menhera-container .emoji-item:hover { - background-color:rgba(245,245,245,.8) -} -#emotion-toggle,.emotion-box,.on-hover,.emotion-item,.emoji-item,.tieba-container span { - cursor:url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/No_Disponible.cur),auto -} -.alignright { - width:auto !important -} -.no-select { - -webkit-touch-callout:none; - -webkit-user-select:none; - -khtml-user-select:none; - -moz-user-select:none; - -ms-user-select:none; - user-select:none -} -.scrollbar { - position:fixed; - top:0; - height:8px; - background:#bebebe; - transiton-property:width,background; - transition-duration:1s,1s; - z-index:99999 -} -#footer-sponsor { - font-size:9px -} -@media(max-width:860px) { - #footer-sponsor { - margin-bottom:-20px -} -}.comment-user-avatar { - position:absolute; - display:inline-block; - float:left; - width:64px; - height:64px; - margin-top:10px; - pointer-events:none -} -.comment-user-avatar img { - width:100%; - height:100%; - border-radius:50% -} -.comment-user-avatar .socila-check { - display:none; - width:1.5em; - height:1.5em; - font-size:1em; - line-height:1.5em; - text-align:center; - color:white; - border-radius:50%; - position:absolute; - margin:-28px 0 0 42px -} -.qq-check { - background-color:#99ce00 -} -.gravatar-check { - background-color:#1e8cbe; - -ms-transform:rotate(270deg); - -webkit-transform:rotate(270deg); - transform:rotate(270deg) -} -@media(max-width:625px) { - .comment-user-avatar { - padding-top:10px; - width:45px; - height:55px; - right:36px -} -.comment-user-avatar .socila-check { - width:1.5em; - height:1.5em; - font-size:.5em; - line-height:1.5em; - margin:-40% 0 0 77% -} -}.popup { - position:relative; - display:inline-block; - cursor:pointer -} -.cmt-popup { - margin:0 0 40px 1%; - --widthA:98%; - --widthB:calc(var(--widthA) - 71px); - --widthC:calc(var(--widthB)/3); - width:var(--widthC); - margin-top:10px -} -.cmt-author { - margin-left:70px -} -@media(max-width:625px) { - .cmt-popup { - margin:0; - width:100%; - margin-top:15px -} -.cmt-author { - margin-top:10px; - margin-left:0 -} -}.popup .popuptext { - visibility:hidden; - width:160px; - background-color:#555; - color:#fff; - text-align:center; - border-radius:6px; - padding:8px 3px; - position:absolute; - z-index:1; - bottom:110%; - left:50%; - margin-left:-80px -} -.popup .popuptext::after { - content:""; - position:absolute; - top:100%; - left:50%; - margin-left:-5px; - border-width:5px; - border-style:solid; - border-color:#555 transparent transparent transparent -} -.popup .insert-img-popuptext { - visibility:hidden; - width:66px; - background-color:#555; - color:#fff; - text-align:center; - border-radius:6px; - padding:8px 3px; - position:absolute; - z-index:1; - bottom:9%; - left:10%; - margin-left:-80px -} -.popup .insert-img-popuptext::after { - content:""; - position:absolute; - top:33%; - left:109%; - margin-left:-7px; - border-width:7px; - border-style:solid; - border-color:transparent transparent transparent #555 -} -.popup .show { - visibility:visible; - -webkit-animation:fadeIn 1s; - animation:fadeIn 1s -} -@-webkit-keyframes fadeIn { - from { - opacity:0 -} -to { - opacity:1 -} -}@keyframes fadeIn { - from { - opacity:0 -} -to { - opacity:1 -} -}.insert-image-tips { - float:right; - text-align:center; - width:46px; - margin:0; - padding:12px 16px; - text-transform:none; - color:#535a63; - background:none; - -webkit-transition:all .1s ease-out; - -moz-transition:all .1s ease-out; - transition:all .1s ease-out; - box-shadow:none; - border:1px solid #ccc; - text-shadow:none; - font-size:14px; - height:46px; - border-radius:3px; - cursor:pointer -} -.insert-image-tips:hover { - color:orange; - border:1px solid orange -} -.insert-image-button { - opacity:0; - width:46px !important; - height:46px !important; - margin:0 !important; - padding:0 !important; - float:right; - transform:translateY(-46px); - cursor:pointer -} -.insert-image-tips-hover { - color:orange; - border:1px solid orange -} -.upload-image-preview { - display:inline-block; - height:70px; - margin-right:3px; - border:1px solid #ddd; - border-radius:4px; - padding:3px; - cursor:pointer -} -.comment_inline_img { - display:inline-block; - height:150px; - margin-right:3px; - border:1px solid #ddd; - border-radius:4px; - padding:3px; - cursor:pointer -} -.top-feature-row { - width:100%; - height:auto; - margin-top:55px -} -.top-feature-v2 { - display:inline-block -} -.the-feature { - position:relative; - -webkit-transition:all .35s ease-in-out; - -moz-transition:all .35s ease-in-out; - transition:all .35s ease-in-out -} -.the-feature,.the-feature * { - -webkit-box-sizing:border-box; - -moz-box-sizing:border-box; - box-sizing:border-box -} -.the-feature a { - color:#333 -} -.the-feature a:hover { - text-decoration:none -} -.the-feature img { - height:160px; - width:257px -} -/*startdash部分*/ -.the-feature.from_left_and_right { - position:relative; - height:160px; - width:257px; - box-shadow:1px 1px 3px rgba(0,0,0,.3); - overflow:hidden; - border-radius:10px -} -.the-feature.from_left_and_right .img { - -webkit-transition:all .35s ease-in-out; - -moz-transition:all .35s ease-in-out; - transition:all .35s ease-in-out; - -webkit-transform:scale(1); - -moz-transform:scale(1); - -ms-transform:scale(1); - -o-transform:scale(1); - transform:scale(1) -} -.the-feature.from_left_and_right .info { - position:absolute; - top:0; - bottom:0; - left:0; - right:0; - text-align:center; - -webkit-backface-visibility:hidden; - backface-visibility:hidden; - background:#333; - background:rgba(0,0,0,.6); - visibility:hidden; - opacity:0; - -webkit-transition:all .35s ease-in-out; - -moz-transition:all .35s ease-in-out; - transition:all .35s ease-in-out -} -.the-feature.from_left_and_right .info h3 { - text-transform:uppercase; - color:#FFFFFF; - text-align:center; - font-size:17px; - padding:10px; - background:#FF69B4; - margin:30px 0 0 0; - -webkit-transition:all .35s ease-in-out; - -moz-transition:all .35s ease-in-out; - transition:all .35s ease-in-out; - -webkit-transform:translateX(-100%); - -moz-transform:translateX(-100%); - -ms-transform:translateX(-100%); - -o-transform:translateX(-100%); - transform:translateX(-100%) -} -.the-feature.from_left_and_right .info p { - /*font-style:italic;*/ - font-size:12px; - position:relative; - color:#9B30FF; - padding:20px 20px 20px; - text-align:center; - -webkit-transition:all .35s .1s linear; - -moz-transition:all .35s .1s linear; - transition:all .35s .1s linear; - -webkit-transform:translateX(100%); - -moz-transform:translateX(100%); - -ms-transform:translateX(100%); - -o-transform:translateX(100%); - transform:translateX(100%) -} -.the-feature.from_left_and_right a:hover .img { - -webkit-transform:scale(1.2); - -moz-transform:scale(1.2); - -ms-transform:scale(1.2); - -o-transform:scale(1.2); - transform:scale(1.2) -} -.the-feature.from_left_and_right a:hover .info { - visibility:visible; - opacity:1 -} -.the-feature.from_left_and_right a:hover .info h3,.the-feature.from_left_and_right a:hover .info p { - -webkit-transform:translateX(0); - -moz-transform:translateX(0); - -ms-transform:translateX(0); - -o-transform:translateX(0); - transform:translateX(0) -} -.highlight-wrap:before { - content:" "; - position:absolute; - -webkit-border-radius:50%; - border-radius:50%; - background:#fc625d; - width:12px; - height:12px; - left:20px; - margin-top:-20px; - -webkit-box-shadow:20px 0 #fdbc40,40px 0 #35cd4b; - box-shadow:20px 0 #fdbc40,40px 0 #35cd4b; - z-index:2 -} -.highlight-wrap { - background:#21252b; - border-radius:5px; - font:15px/22px "Microsoft YaHei","Arial",Sans-Serif; - line-height:1.6; - margin-bottom:1.6em; - max-width:100%; - overflow:auto; - text-shadow:none; - color:#000; - padding-top:30px; - box-shadow:0 10px 30px 0 rgba(0,0,0,.4) -} -.hljs-ln-line span::-moz-selection,.hljs-ln-line::-moz-selection { - background:#fff; - color:#21252b -} -.hljs-ln-line span::selection,.hljs-ln-line::selection { - background:#fff; - color:#21252b -} -.highlight-wrap code::-webkit-scrollbar { - height:10x !important; - width:10x !important; - background-color:#1d1f21 !important -} -.highlight-wrap code::-webkit-scrollbar-track { - -webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3) !important; - border-radius:10px !important; - background-color:#21252b !important -} -.highlight-wrap code::-webkit-scrollbar-thumb { - border-radius:10px !important; - -webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.5) !important; - background-color:#21252b !important -} -.highlight-wrap code { - background:#1d1f21; - color:#fff; - word-break:break-word; - font-family:'Source Code Pro',monospace,Helvetica,Tahoma,Arial,STXihei,"STHeiti Light","Microsoft YaHei",sans-serif; - padding:2px; - text-shadow:none; - border-radius:0 0 5px 5px; - cursor:url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.9/img/Sakura/cursor/texto.cur),auto -} -.highlight-wrap code[data-rel]:before { - color:#fff; - content:attr(data-rel); - height:38px; - line-height:38px; - background:#21252b; - font-size:16px; - position:absolute; - margin-top:-35px; - left:0; - width:100%; - font-family:'Ubuntu',sans-serif; - font-weight:bold; - padding:0 80px; - text-indent:15px; - text-align:center; - float:left; - z-index:1; - border-radius:5px 5px 0 0; - border-top-left-radius:5px; - border-top-right-radius:5px; - border-bottom-right-radius:0; - border-bottom-left-radius:0; - pointer-events:none -} -.hljs { - display:block; - overflow-x:auto; - padding:.5em; - color:#abb2bf; - background:rgba(254,250,199,.5); - border-radius:10px -} -.hljs-comment,.hljs-quote { - color:#888f96; - font-style:italic -} -.hljs-doctag,.hljs-formula,.hljs-keyword { - color:#c678dd -} -.hljs-deletion,.hljs-name,.hljs-section,.hljs-selector-tag,.hljs-subst { - color:#e06c75 -} -.hljs-literal { - color:#56b6c2 -} -.hljs-addition,.hljs-attribute,.hljs-meta-string,.hljs-regexp,.hljs-string { - color:#98c379 -} -.hljs-built_in,.hljs-class .hljs-title { - color:#e6c07b -} -.hljs-attr,.hljs-number,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-pseudo,.hljs-template-variable,.hljs-type,.hljs-variable { - color:#d19a66 -} -.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-symbol,.hljs-title { - color:#61aeee -} -.hljs-emphasis { - font-style:italic -} -.hljs-strong { - font-weight:700 -} -.hljs-link { - text-decoration:underline -} -.hljs-ln { - margin:6px 0 0 0 !important -} -td.hljs-ln-numbers { - -webkit-touch-callout:none; - -webkit-user-select:none; - -khtml-user-select:none; - -moz-user-select:none; - -ms-user-select:none; - user-select:none; - text-align:center; - color:#888f96; - background:#1d1f21; - font-family:'Source Code Pro',monospace,Helvetica,Tahoma,Arial,STXihei,"STHeiti Light","Microsoft YaHei",sans-serif; - vertical-align:top; - position:absolute; - left:0; - width:30px -} -.hljs-ln-code .hljs-ln-line { - margin-left:25px; - padding-left:5px -} -.hljs-ln-code .hljs-ln-line:hover { - background-color:rgba(255,255,255,.1) -} -.code-block-fullscreen { - position:fixed; - top:0; - left:0; - width:100%; - height:100%; - min-width:100%; - z-index:9999999; - margin:0; - animation:elastic 1s -} -.code-block-fullscreen code { - --widthA:100%; - --widthB:calc(var(--widthA) - 30px); - height:var(--widthB); - min-height:99%; - overflow-y:hidden; - overflow-x:auto; - height:auto -} -.code-block-fullscreen-html-scroll { - overflow:hidden -} -.chinese-font { - font-family:'Merriweather Sans',Helvetica,Tahoma,Arial,'PingFang SC','Hiragino Sans GB','Microsoft Yahei','WenQuanYi Micro Hei',sans-serif -} -.chinese-tranditional-font { - font-family:Helvetica,Tahoma,Arial,"文泉驛正黑","WenQuanYi Zen Hei","儷黑 Pro","LiHei Pro","微軟正黑體","Microsoft JhengHei","標楷體",DFKai-SB,sans-serif -} -.japanese-font { - font-family:游ゴシック体,'Yu Gothic',YuGothic,'ヒラギノ角ゴシック Pro','Hiragino Kaku Gothic Pro',メイリオ,Meiryo,Osaka,'MS Pゴシック','MS PGothic',sans-serif -} -.english-serif { - font-family:'Noto Serif CJK SC','Noto Serif CJK',serif -} -.code-font { - font-family:'Source Code Pro',monospace -} -.Ubuntu-font { - font-family:'Ubuntu',sans-serif -} -.serif { - font-family:'Source Han Serif SC','Source Han Serif','source-han-serif-sc','PT Serif','SongTi SC','MicroSoft Yahei',Georgia,serif -} -@media(max-width:860px) { - .serif { - font-family:'Merriweather Sans',Helvetica,Tahoma,Arial,'PingFang SC','Hiragino Sans GB','Microsoft Yahei','WenQuanYi Micro Hei',sans-serif -} -}.moe-mashiro { - font-family:'Moe-Mashiro','Merriweather Sans',Helvetica,Tahoma,Arial,'PingFang SC','Hiragino Sans GB','Microsoft Yahei','WenQuanYi Micro Hei',sans-serif -} -.skin-menu { - position:fixed; - bottom:50px; - right:10px; - height:auto; - width:220px; - border-radius:5px; - background-color:#fff; - box-shadow:0 1px 40px -8px rgba(0,0,0,.5); - z-index:99; - font-family:'Ubuntu',sans-serif; - transform:scaleX(0); - transiton-property:transform,background; - transition-duration:.3s,.3s -} -.skin-menu.show { - transform:scaleX(1) -} -.skin-menu::after { - content:""; - position:absolute; - bottom:-20px; - left:50%; - margin-left:-10px; - border-width:10px; - border-style:solid; - border-color:#fff transparent transparent transparent -} -.skin-menu .row-container { - height:auto; - margin:0; - padding:0; - text-align:center -} -.skin-menu .row-container .menu-list { - display:block; - text-align:center; - padding:0; - margin:10px auto -} -.menu-list li { - display:inline-block; - margin:6px; - line-height:36px; - width:36px; - background-color:#f5f5f5; - border-radius:50%; - cursor:pointer -} -.menu-list li:hover { - background-color:#fc3; - color:#fff -} -.skin-menu .row-container.font-family-controls { - padding:3px 12px 16px 12px -} -.font-family-controls button { - display:inline-block; - border-style:none; - border-radius:5px; - padding:5px 5px; - height:40px; - width:calc(50% - 10px); - font-size:15px; - font-weight:400; - text-align:center; - white-space:nowrap; - vertical-align:middle; - margin:0 4px; - box-shadow:none; - background-color:#f5f5f5; - cursor:pointer -} -.font-family-controls button.selected { - background-color:#fc3; - color:#fff -} -.control-btn-serif { - font-family:'Noto Serif CJK SC','Noto Serif CJK',serif -} -.control-btn-sans-serif { - font-family:'Ubuntu',sans-serif -} -.lazyload { - -webkit-filter:blur(0px); - -moz-filter:blur(0px); - -ms-filter:blur(0px); - filter:blur(0px); - -webkit-transition:.3s -webkit-filter linear; - -moz-transition:.3s -moz-filter linear; - -moz-transition:.3s filter linear; - -ms-transition:.3s -ms-filter linear; - -o-transition:.3s -o-filter linear; - transition:.3s filter linear,.3s -webkit-filter linear -} -.lazyload[src*="#lazyload-blur"],.lazyload[style*="#lazyload-blur"] { - -webkit-filter:blur(10px); - -moz-filter:blur(10px); - -ms-filter:blur(10px); - filter:blur(10px) -} -h1[id*="toc-head"]::before,h2[id*="toc-head"]::before,h3[id*="toc-head"]::before,h4[id*="toc-head"]::before,h5[id*="toc-head"]::before,h6[id*="toc-head"]::before { - display:block; - content:" "; - height:80px; - margin-top:-80px; - visibility:hidden -} -h2.footer-comment-flag::before,h2.footer-comment-flag::after { - display:none; - content:""; - height:0; - margin:0 -} -img[src*="#float-left"] { - float:left -} -img[src*="#float-right"] { - float:right -} -img[src*="#width-full"] { - width:100% -} -img[src*="#width-90"] { - width:90% -} -img[src*="#width-80"] { - width:80% -} -img[src*="#width-70"] { - width:70% -} -img[src*="#width-60"] { - width:60% -} -img[src*="#width-50"] { - width:50% -} -img[src*="#width-40"] { - width:40% -} -img[src*="#width-30"] { - width:30% -} -img[src*="#width-20"] { - width:20% -} -img[src*="#width-10"] { - width:10% -} -img[src*="#in-center"] { - margin-left:auto; - margin-right:auto; - display:block -} -#banner_wave_1 { - width:auto; - height:65px; - background:url("https://cdn.jsdelivr.net/gh/moezx/cdn@3.5.1/img/Sakura/images/wave1.png") repeat-x; - _filter:alpha(opacity=80); - position:absolute; - bottom:0; - width:400%; - left:-236px; - z-index:5; - opacity:1; - transiton-property:opacity,bottom; - transition-duration:.4s,.4s -} -#banner_wave_2 { - width:auto; - height:80px; - background:url("https://cdn.jsdelivr.net/gh/moezx/cdn@3.5.1/img/Sakura/images/wave2.png") repeat-x; - _filter:alpha(opacity=80); - position:absolute; - bottom:0; - width:400%; - left:0; - z-index:4; - opacity:1; - transiton-property:opacity,bottom; - transition-duration:.4s,.4s -} -.banner_wave_hide,.banner_wave_hide_fit_skin { - opacity:0 !important; - bottom:-999px !important -} -@media(max-width:860px) { - #banner_wave_1,#banner_wave_2 { - display:none -} -}#video-add { - /*display:none !important*/ -} -.accordionMenu { - color:#424242; - margin:0 auto; - width:100% -} -.menuSection { - border:1px solid #ddd; - border-radius:4px; - margin-bottom:6px -} -.menuSection label { - display:block; - font-size:18px; - width:100%; - height:40px; - line-height:40px; - background-color:#f5f5f5; - border-bottom:1px solid #ddd; - cursor:pointer; - text-align:center -} -.menuSection label+input { - display:none -} -.menuSection detail-p { - padding:10px 16px; - transition:all .3s ease -} -.menuSection .detail { - height:0; - overflow:hidden; - transition:height .3s ease -} -.menuSection input:checked+.detail { - height:auto; - padding-left:10px; - padding-right:10px -} -.poem-wrap { - position:relative; - width:730px; - max-width:80%; - border:2px solid #797979; - border-top:0; - text-align:center; - margin:80px auto -} -.poem-wrap h1 { - position:relative; - margin-top:-20px; - display:inline-block; - letter-spacing:4px; - color:#797979 -} -.poem-wrap p { - width:70%; - margin:auto; - line-height:30px; - color:#797979 -} -.poem-wrap p#poem { - font-size:25px -} -.poem-wrap p#info { - font-size:15px; - margin:15px auto -} -.poem-border { - position:absolute; - height:2px; - width:27%; - background-color:#797979 -} -.poem-right { - right:0 -} -.poem-left { - left:0 -} -@media(max-width:685px) { - .poem-border { - width:18% -} -}@media(max-width:500px) { - .poem-wrap { - margin-top:60px; - margin-bottom:20px; - border-top:2px solid #797979 -} -.poem-wrap h1 { - margin:20px 6px -} -.poem-border { - display:none -} -}.ad-container { - list-style:disc; - border:1px dashed #e4e4e4; - padding:5px; - color:#616161; - margin-left:0; - border-radius:10px; - background:#fff -} -.ad-container span { - font-size:10px; - color:#777 -} -.adsbygoogle { - background:rgba(0,0,0,0); - display:block; - text-align:center -} \ No newline at end of file diff --git a/dist/APlayer.min.css b/dist/APlayer.min.css deleted file mode 100644 index 71d067c71fc4dc147fb7ce82613324c3d9390bab..0000000000000000000000000000000000000000 --- a/dist/APlayer.min.css +++ /dev/null @@ -1,3 +0,0 @@ -.aplayer{background:#fff;font-family:Arial,Helvetica,sans-serif;margin:5px;box-shadow:0 2px 2px 0 rgba(0,0,0,.07),0 1px 5px 0 rgba(0,0,0,.1);border-radius:2px;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;line-height:normal;position:relative}.aplayer *{box-sizing:content-box}.aplayer svg{width:100%;height:100%}.aplayer svg circle,.aplayer svg path{fill:#fff}.aplayer.aplayer-withlist .aplayer-info{border-bottom:1px solid #e9e9e9}.aplayer.aplayer-withlist .aplayer-list{display:block}.aplayer.aplayer-withlist .aplayer-icon-order,.aplayer.aplayer-withlist .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-menu{display:inline}.aplayer.aplayer-withlrc .aplayer-pic{height:90px;width:90px}.aplayer.aplayer-withlrc .aplayer-info{margin-left:90px;height:90px;padding:10px 7px 0}.aplayer.aplayer-withlrc .aplayer-lrc{display:block}.aplayer.aplayer-narrow{width:66px}.aplayer.aplayer-narrow .aplayer-info,.aplayer.aplayer-narrow .aplayer-list{display:none}.aplayer.aplayer-narrow .aplayer-body,.aplayer.aplayer-narrow .aplayer-pic{height:66px;width:66px}.aplayer.aplayer-fixed{position:fixed;bottom:0;left:0;right:0;margin:0;z-index:99;overflow:visible;max-width:400px;box-shadow:none}.aplayer.aplayer-fixed .aplayer-list{margin-bottom:65px;border:1px solid #eee;border-bottom:none}.aplayer.aplayer-fixed .aplayer-body{position:fixed;bottom:0;left:0;right:0;margin:0;z-index:99;background:#fff;padding-right:18px;transition:all .3s ease;max-width:400px}.aplayer.aplayer-fixed .aplayer-lrc{display:block;position:fixed;bottom:10px;left:1300px;right:0;margin:0;z-index:98;pointer-events:none;text-shadow:-1px -1px 0 #FFF}.aplayer.aplayer-fixed .aplayer-lrc:after,.aplayer.aplayer-fixed .aplayer-lrc:before{display:none}.aplayer.aplayer-fixed .aplayer-info{-webkit-transform:scaleX(1);transform:scaleX(1);-webkit-transform-origin:0 0;transform-origin:0 0;transition:all .3s ease;border-bottom:none;border-top:1px solid #e9e9e9}.aplayer.aplayer-fixed .aplayer-info .aplayer-music{width:calc(100% - 105px)}.aplayer.aplayer-fixed .aplayer-miniswitcher{display:block}.aplayer.aplayer-fixed.aplayer-narrow .aplayer-info{display:block;-webkit-transform:scaleX(0);transform:scaleX(0)}.aplayer.aplayer-fixed.aplayer-narrow .aplayer-body{width:66px!important}.aplayer.aplayer-fixed.aplayer-narrow .aplayer-miniswitcher .aplayer-icon{-webkit-transform:rotateY(0);transform:rotateY(0)}.aplayer.aplayer-fixed .aplayer-icon-back,.aplayer.aplayer-fixed .aplayer-icon-forward,.aplayer.aplayer-fixed .aplayer-icon-lrc,.aplayer.aplayer-fixed .aplayer-icon-play{display:inline-block}.aplayer.aplayer-fixed .aplayer-icon-back,.aplayer.aplayer-fixed .aplayer-icon-forward,.aplayer.aplayer-fixed .aplayer-icon-menu,.aplayer.aplayer-fixed .aplayer-icon-play{position:absolute;bottom:27px;width:20px;height:20px}.aplayer.aplayer-fixed .aplayer-icon-back{right:75px}.aplayer.aplayer-fixed .aplayer-icon-play{right:50px}.aplayer.aplayer-fixed .aplayer-icon-forward{right:25px}.aplayer.aplayer-fixed .aplayer-icon-menu{right:0}.aplayer.aplayer-arrow .aplayer-icon-loop,.aplayer.aplayer-arrow .aplayer-icon-order,.aplayer.aplayer-mobile .aplayer-icon-volume-down{display:none}.aplayer.aplayer-loading .aplayer-info .aplayer-controller .aplayer-loading-icon{display:block}.aplayer.aplayer-loading .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb{-webkit-transform:scale(1);transform:scale(1)}.aplayer .aplayer-body{position:relative}.aplayer .aplayer-icon{width:15px;height:15px;border:none;background-color:transparent;outline:none;cursor:pointer;opacity:.8;vertical-align:middle;padding:0;font-size:12px;margin:0;display:inline-block}.aplayer .aplayer-icon path{transition:all .2s ease-in-out}.aplayer .aplayer-icon-back,.aplayer .aplayer-icon-forward,.aplayer .aplayer-icon-lrc,.aplayer .aplayer-icon-order,.aplayer .aplayer-icon-play{display:none}.aplayer .aplayer-icon-lrc-inactivity svg{opacity:.4}.aplayer .aplayer-icon-forward{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.aplayer .aplayer-lrc-content{display:none}.aplayer .aplayer-pic{position:relative;float:left;height:66px;width:66px;background-size:cover;background-position:50%;transition:all .3s ease;cursor:pointer}.aplayer .aplayer-pic:hover .aplayer-button{opacity:1}.aplayer .aplayer-pic .aplayer-button{position:absolute;border-radius:50%;opacity:.8;text-shadow:0 1px 1px rgba(0,0,0,.2);box-shadow:0 1px 1px rgba(0,0,0,.2);background:rgba(0,0,0,.2);transition:all .1s ease}.aplayer .aplayer-pic .aplayer-button path{fill:#fff}.aplayer .aplayer-pic .aplayer-hide{display:none}.aplayer .aplayer-pic .aplayer-play{width:26px;height:26px;border:2px solid #fff;bottom:50%;right:50%;margin:0 -15px -15px 0}.aplayer .aplayer-pic .aplayer-play svg{position:absolute;top:3px;left:4px;height:20px;width:20px}.aplayer .aplayer-pic .aplayer-pause{width:16px;height:16px;border:2px solid #fff;bottom:4px;right:4px}.aplayer .aplayer-pic .aplayer-pause svg{position:absolute;top:2px;left:2px;height:12px;width:12px}.aplayer .aplayer-info{margin-left:66px;padding:14px 7px 0 10px;height:66px;box-sizing:border-box}.aplayer .aplayer-info .aplayer-music{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:0 0 13px 5px;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;cursor:default;padding-bottom:2px;height:20px}.aplayer .aplayer-info .aplayer-music .aplayer-title{font-size:14px}.aplayer .aplayer-info .aplayer-music .aplayer-author{font-size:12px;color:#666}.aplayer .aplayer-info .aplayer-controller{position:relative;display:flex}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap{margin:0 0 0 5px;padding:4px 0;cursor:pointer!important;flex:1}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap:hover .aplayer-bar .aplayer-played .aplayer-thumb{-webkit-transform:scale(1);transform:scale(1)}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar{position:relative;height:2px;width:100%;background:#cdcdcd}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-loaded{position:absolute;left:0;top:0;bottom:0;background:#aaa;height:2px;transition:all .5s ease}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played{position:absolute;left:0;top:0;bottom:0;height:2px}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb{position:absolute;top:0;right:5px;margin-top:-4px;margin-right:-10px;height:10px;width:10px;border-radius:50%;cursor:pointer;transition:all .3s ease-in-out;-webkit-transform:scale(0);transform:scale(0)}.aplayer .aplayer-info .aplayer-controller .aplayer-time{position:relative;right:0;bottom:4px;height:17px;color:#999;font-size:11px;padding-left:7px}.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-time-inner{vertical-align:middle}.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon{cursor:pointer;transition:all .2s ease}.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon path{fill:#666}.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-loop{margin-right:2px}.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon:hover path{fill:#000}.aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-menu,.aplayer .aplayer-info .aplayer-controller .aplayer-time.aplayer-time-narrow .aplayer-icon-menu,.aplayer .aplayer-info .aplayer-controller .aplayer-time.aplayer-time-narrow .aplayer-icon-mode{display:none}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap{position:relative;display:inline-block;margin-left:3px;cursor:pointer!important}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap:hover .aplayer-volume-bar-wrap{height:40px}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap{position:absolute;bottom:15px;right:-3px;width:25px;height:0;z-index:99;overflow:hidden;transition:all .2s ease-in-out}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap.aplayer-volume-bar-wrap-active{height:40px}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar{position:absolute;bottom:0;right:10px;width:5px;height:35px;background:#aaa;border-radius:2.5px;overflow:hidden}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar .aplayer-volume{position:absolute;bottom:0;right:0;width:5px;transition:all .1s ease}.aplayer .aplayer-info .aplayer-controller .aplayer-loading-icon{display:none}.aplayer .aplayer-info .aplayer-controller .aplayer-loading-icon svg{position:absolute;-webkit-animation:rotate 1s linear infinite;animation:rotate 1s linear infinite}.aplayer .aplayer-lrc{display:none;position:relative;height:30px;text-align:center;overflow:hidden;margin:-10px 0 7px}.aplayer .aplayer-lrc:before{top:0;height:10%;background:linear-gradient(180deg,#fff 0,hsla(0,0%,100%,0));filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#00ffffff",GradientType=0)}.aplayer .aplayer-lrc:after,.aplayer .aplayer-lrc:before{position:absolute;z-index:1;display:block;overflow:hidden;width:100%;content:" "}.aplayer .aplayer-lrc:after{bottom:0;height:33%;background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,hsla(0,0%,100%,.8));filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#00ffffff",endColorstr="#ccffffff",GradientType=0)}.aplayer .aplayer-lrc p{font-size:13px;color:#FF69B4;line-height:16px!important;height:16px!important;padding:0!important;margin:0!important;transition:all .5s ease-out;opacity:.4;overflow:hidden}.aplayer .aplayer-lrc p.aplayer-lrc-current{opacity:1;overflow:visible;height:auto!important;min-height:16px}.aplayer .aplayer-lrc.aplayer-lrc-hide{display:none}.aplayer .aplayer-lrc .aplayer-lrc-contents{width:100%;transition:all .5s ease-out;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;cursor:default}.aplayer .aplayer-list{overflow:auto;transition:all .5s ease;will-change:height;display:none;overflow:hidden}.aplayer .aplayer-list.aplayer-list-hide{max-height:0!important}.aplayer .aplayer-list ol{list-style-type:none;margin:0;padding:0;overflow-y:auto}.aplayer .aplayer-list ol::-webkit-scrollbar{width:5px}.aplayer .aplayer-list ol::-webkit-scrollbar-thumb{border-radius:3px;background-color:#eee}.aplayer .aplayer-list ol::-webkit-scrollbar-thumb:hover{background-color:#ccc}.aplayer .aplayer-list ol li{position:relative;height:32px;line-height:32px;padding:0 15px;font-size:12px;border-top:1px solid #e9e9e9;cursor:pointer;transition:all .2s ease;overflow:hidden;margin:0}.aplayer .aplayer-list ol li:first-child{border-top:none}.aplayer .aplayer-list ol li:hover{background:#efefef}.aplayer .aplayer-list ol li.aplayer-list-light{background:#e9e9e9}.aplayer .aplayer-list ol li.aplayer-list-light .aplayer-list-cur{display:inline-block}.aplayer .aplayer-list ol li .aplayer-list-cur{display:none;width:3px;height:22px;position:absolute;left:0;top:5px;cursor:pointer}.aplayer .aplayer-list ol li .aplayer-list-index{color:#666;margin-right:12px;cursor:pointer}.aplayer .aplayer-list ol li .aplayer-list-author{color:#666;float:right;cursor:pointer}.aplayer .aplayer-notice{opacity:0;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);font-size:12px;border-radius:4px;padding:5px 10px;transition:all .3s ease-in-out;overflow:hidden;color:#fff;pointer-events:none;background-color:#f4f4f5;color:#909399}.aplayer .aplayer-miniswitcher{display:none;position:absolute;top:0;right:0;bottom:0;height:100%;background:#e6e6e6;width:18px;border-radius:0 2px 2px 0}.aplayer .aplayer-miniswitcher .aplayer-icon{height:100%;width:100%;-webkit-transform:rotateY(180deg);transform:rotateY(180deg);transition:all .3s ease}.aplayer .aplayer-miniswitcher .aplayer-icon path{fill:#666}.aplayer .aplayer-miniswitcher .aplayer-icon:hover path{fill:#000}@-webkit-keyframes aplayer-roll{0%{left:0}to{left:-100%}}@keyframes aplayer-roll{0%{left:0}to{left:-100%}}@-webkit-keyframes rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}} - -/*# sourceMappingURL=APlayer.min.css.map*/ \ No newline at end of file diff --git a/dist/APlayer.min.css.map b/dist/APlayer.min.css.map deleted file mode 100644 index d63257ff0973d6dd46b1fa2d81209c1d395b64a6..0000000000000000000000000000000000000000 --- a/dist/APlayer.min.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack://[name]/./src/css/index.scss"],"names":[],"mappings":"AAAA,SACE,gBACA,uCACA,WACA,kEACA,kBACA,gBACA,yBACG,sBACC,qBACI,iBACR,mBACA,iBAAmB,CACnB,WACE,sBAAwB,CAC1B,aACE,WACA,WAAa,CACb,sCAEE,SAAW,CACf,wCACE,+BAAiC,CACnC,wCACE,aAAe,CAGjB,wJACE,cAAgB,CAClB,sCACE,YACA,UAAY,CACd,uCACE,iBACA,YACA,kBAAwB,CAC1B,sCACE,aAAe,CACjB,wBACE,UAAY,CAGZ,4EACE,YAAc,CAChB,2EAEE,YACA,UAAY,CAChB,uBACE,eACA,SACA,OACA,QACA,SACA,WACA,iBACA,gBACA,eAAiB,CACjB,qCACE,mBACA,sBACA,kBAAoB,CACtB,qCACE,eACA,SACA,OACA,QACA,SACA,WACA,gBACA,mBACA,wBACA,eAAiB,CACnB,oCACE,cACA,eACA,YACA,OACA,QACA,SACA,WACA,oBACA,4BAA8B,CAC9B,qFACE,YAAc,CAClB,qCACE,4BACQ,oBACR,6BACQ,qBACR,wBACA,mBACA,4BAA8B,CAC9B,oDACE,wBAA0B,CAC9B,6CACE,aAAe,CACjB,oDACE,cACA,4BACQ,mBAAqB,CAC/B,oDACE,oBAAuB,CACzB,0EACE,6BACQ,oBAAsB,CAChC,0KAIE,oBAAsB,CACxB,2KAIE,kBACA,YACA,WACA,WAAa,CACf,0CACE,UAAY,CACd,0CACE,UAAY,CACd,6CACE,UAAY,CACd,0CACE,OAAS,CAGb,uIAEE,YAAc,CAChB,iFACE,aAAe,CACjB,yHACE,2BACQ,kBAAoB,CAC9B,uBACE,iBAAmB,CACrB,uBACE,WACA,YACA,YACA,6BACA,aACA,eACA,WACA,sBACA,UACA,eACA,SACA,oBAAsB,CACtB,4BACE,8BAAgC,CACpC,+IAKE,YAAc,CAChB,0CACE,UAAa,CACf,+BACE,iCACQ,wBAA0B,CACpC,8BACE,YAAc,CAChB,sBACE,kBACA,WACA,YACA,WACA,sBACA,wBACA,wBACA,cAAgB,CAChB,4CACE,SAAW,CACb,sCACE,kBACA,kBACA,WACA,qCACA,oCACA,0BACA,uBAA0B,CAC1B,2CACE,SAAW,CACf,oCACE,YAAc,CAChB,oCACE,WACA,YACA,sBACA,WACA,UACA,sBAAwB,CACxB,wCACE,kBACA,QACA,SACA,YACA,UAAY,CAChB,qCACE,WACA,YACA,sBACA,WACA,SAAW,CACX,yCACE,kBACA,QACA,SACA,YACA,UAAY,CAClB,uBACE,iBACA,wBACA,YACA,qBAAuB,CACvB,sCACE,gBACA,mBACA,uBACA,oBACA,yBACG,sBACC,qBACI,iBACR,eACA,mBACA,WAAa,CACb,qDACE,cAAgB,CAClB,sDACE,eACA,UAAY,CAChB,2CACE,kBACA,YAAc,CACd,6DACE,iBACA,cACA,yBACA,MAAQ,CACR,+GACE,2BACQ,kBAAoB,CAC9B,0EACE,kBACA,WACA,WACA,kBAAoB,CACpB,0FACE,kBACA,OACA,MACA,SACA,gBACA,WACA,uBAA0B,CAC5B,0FACE,kBACA,OACA,MACA,SACA,UAAY,CACZ,yGACE,kBACA,MACA,UACA,gBACA,mBACA,YACA,WACA,kBACA,eACA,+BACA,2BACQ,kBAAoB,CACpC,yDACE,kBACA,QACA,WACA,YACA,WACA,eACA,gBAAkB,CAClB,6EACE,qBAAuB,CACzB,uEACE,eACA,uBAA0B,CAC1B,4EACE,SAAW,CACb,yFACE,gBAAkB,CACpB,kFACE,SAAW,CAKf,yRACE,YAAc,CAClB,gEACE,kBACA,qBACA,gBACA,wBAA2B,CAC3B,+FACE,WAAa,CACf,yFACE,kBACA,YACA,WACA,WACA,SACA,WACA,gBACA,8BAAgC,CAChC,wHACE,WAAa,CACf,6GACE,kBACA,SACA,WACA,UACA,YACA,gBACA,oBACA,eAAiB,CACjB,6HACE,kBACA,SACA,QACA,UACA,uBAA0B,CAClC,iEACE,YAAc,CACd,qEACE,kBACA,4CACQ,mCAAqC,CACrD,sBACE,aACA,kBACA,YACA,kBACA,gBACA,kBAAoB,CACpB,6BAEE,MAKA,WAEA,4DACA,iHAAsH,CACxH,yDAVE,kBAEA,UACA,cACA,gBACA,WAEA,WAAa,CAa6G,4BAR1H,SAKA,WAEA,0EACA,mHAAwH,CAC1H,wBACE,eACA,WACA,2BACA,sBACA,oBACA,mBACA,4BACA,WACA,eAAiB,CACjB,4CACE,UACA,iBACA,sBACA,eAAiB,CACrB,uCACE,YAAc,CAChB,4CACE,WACA,4BACA,yBACG,sBACC,qBACI,iBACR,cAAgB,CACpB,uBACE,cACA,wBACA,mBACA,aACA,eAAiB,CACjB,yCACE,sBAAyB,CAC3B,0BACE,qBACA,SACA,UACA,eAAiB,CACjB,6CACE,SAAW,CACb,mDACE,kBACA,qBAAuB,CACzB,yDACE,qBAAuB,CACzB,6BACE,kBACA,YACA,iBACA,eACA,eACA,6BACA,eACA,wBACA,gBACA,QAAU,CACV,yCACE,eAAiB,CACnB,mCACE,kBAAoB,CACtB,gDACE,kBAAoB,CACpB,kEACE,oBAAsB,CAC1B,+CACE,aACA,UACA,YACA,kBACA,OACA,QACA,cAAgB,CAClB,iDACE,WACA,kBACA,cAAgB,CAClB,kDACE,WACA,YACA,cAAgB,CACxB,yBACE,UACA,kBACA,QACA,SACA,uCACQ,+BACR,eACA,kBACA,iBACA,+BACA,gBACA,WACA,oBACA,yBACA,aAAe,CACjB,+BACE,aACA,kBACA,MACA,QACA,SACA,YACA,mBACA,WACA,yBAA2B,CAC3B,6CACE,YACA,WACA,kCACQ,0BACR,uBAA0B,CAC1B,kDACE,SAAW,CACb,wDACE,SAAW,CAEnB,gCACE,GACE,MAAQ,CACV,GACE,UAAY,CAAE,CAElB,wBACE,GACE,MAAQ,CACV,GACE,UAAY,CAAE,CAElB,0BACE,GACE,4BACQ,mBAAqB,CAC/B,GACE,gCACQ,uBAA0B,CAAE,CAExC,kBACE,GACE,4BACQ,mBAAqB,CAC/B,GACE,gCACQ,uBAA0B,CAAE,C","file":"APlayer.min.css","sourcesContent":[".aplayer {\n background: #fff;\n font-family: Arial, Helvetica, sans-serif;\n margin: 5px;\n box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.07), 0 1px 5px 0 rgba(0, 0, 0, 0.1);\n border-radius: 2px;\n overflow: hidden;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n line-height: initial;\n position: relative; }\n .aplayer * {\n box-sizing: content-box; }\n .aplayer svg {\n width: 100%;\n height: 100%; }\n .aplayer svg path,\n .aplayer svg circle {\n fill: #fff; }\n .aplayer.aplayer-withlist .aplayer-info {\n border-bottom: 1px solid #e9e9e9; }\n .aplayer.aplayer-withlist .aplayer-list {\n display: block; }\n .aplayer.aplayer-withlist .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-menu {\n display: inline; }\n .aplayer.aplayer-withlist .aplayer-icon-order {\n display: inline; }\n .aplayer.aplayer-withlrc .aplayer-pic {\n height: 90px;\n width: 90px; }\n .aplayer.aplayer-withlrc .aplayer-info {\n margin-left: 90px;\n height: 90px;\n padding: 10px 7px 0 7px; }\n .aplayer.aplayer-withlrc .aplayer-lrc {\n display: block; }\n .aplayer.aplayer-narrow {\n width: 66px; }\n .aplayer.aplayer-narrow .aplayer-info {\n display: none; }\n .aplayer.aplayer-narrow .aplayer-list {\n display: none; }\n .aplayer.aplayer-narrow .aplayer-pic,\n .aplayer.aplayer-narrow .aplayer-body {\n height: 66px;\n width: 66px; }\n .aplayer.aplayer-fixed {\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n margin: 0;\n z-index: 99;\n overflow: visible;\n max-width: 400px;\n box-shadow: none; }\n .aplayer.aplayer-fixed .aplayer-list {\n margin-bottom: 65px;\n border: 1px solid #eee;\n border-bottom: none; }\n .aplayer.aplayer-fixed .aplayer-body {\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0;\n margin: 0;\n z-index: 99;\n background: #fff;\n padding-right: 18px;\n transition: all 0.3s ease;\n max-width: 400px; }\n .aplayer.aplayer-fixed .aplayer-lrc {\n display: block;\n position: fixed;\n bottom: 10px;\n left: 0;\n right: 0;\n margin: 0;\n z-index: 98;\n pointer-events: none;\n text-shadow: -1px -1px 0 #fff; }\n .aplayer.aplayer-fixed .aplayer-lrc:before, .aplayer.aplayer-fixed .aplayer-lrc:after {\n display: none; }\n .aplayer.aplayer-fixed .aplayer-info {\n -webkit-transform: scaleX(1);\n transform: scaleX(1);\n -webkit-transform-origin: 0 0;\n transform-origin: 0 0;\n transition: all 0.3s ease;\n border-bottom: none;\n border-top: 1px solid #e9e9e9; }\n .aplayer.aplayer-fixed .aplayer-info .aplayer-music {\n width: calc(100% - 105px); }\n .aplayer.aplayer-fixed .aplayer-miniswitcher {\n display: block; }\n .aplayer.aplayer-fixed.aplayer-narrow .aplayer-info {\n display: block;\n -webkit-transform: scaleX(0);\n transform: scaleX(0); }\n .aplayer.aplayer-fixed.aplayer-narrow .aplayer-body {\n width: 66px !important; }\n .aplayer.aplayer-fixed.aplayer-narrow .aplayer-miniswitcher .aplayer-icon {\n -webkit-transform: rotateY(0);\n transform: rotateY(0); }\n .aplayer.aplayer-fixed .aplayer-icon-back,\n .aplayer.aplayer-fixed .aplayer-icon-play,\n .aplayer.aplayer-fixed .aplayer-icon-forward,\n .aplayer.aplayer-fixed .aplayer-icon-lrc {\n display: inline-block; }\n .aplayer.aplayer-fixed .aplayer-icon-back,\n .aplayer.aplayer-fixed .aplayer-icon-play,\n .aplayer.aplayer-fixed .aplayer-icon-forward,\n .aplayer.aplayer-fixed .aplayer-icon-menu {\n position: absolute;\n bottom: 27px;\n width: 20px;\n height: 20px; }\n .aplayer.aplayer-fixed .aplayer-icon-back {\n right: 75px; }\n .aplayer.aplayer-fixed .aplayer-icon-play {\n right: 50px; }\n .aplayer.aplayer-fixed .aplayer-icon-forward {\n right: 25px; }\n .aplayer.aplayer-fixed .aplayer-icon-menu {\n right: 0; }\n .aplayer.aplayer-mobile .aplayer-icon-volume-down {\n display: none; }\n .aplayer.aplayer-arrow .aplayer-icon-order,\n .aplayer.aplayer-arrow .aplayer-icon-loop {\n display: none; }\n .aplayer.aplayer-loading .aplayer-info .aplayer-controller .aplayer-loading-icon {\n display: block; }\n .aplayer.aplayer-loading .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb {\n -webkit-transform: scale(1);\n transform: scale(1); }\n .aplayer .aplayer-body {\n position: relative; }\n .aplayer .aplayer-icon {\n width: 15px;\n height: 15px;\n border: none;\n background-color: transparent;\n outline: none;\n cursor: pointer;\n opacity: .8;\n vertical-align: middle;\n padding: 0;\n font-size: 12px;\n margin: 0;\n display: inline-block; }\n .aplayer .aplayer-icon path {\n transition: all .2s ease-in-out; }\n .aplayer .aplayer-icon-order,\n .aplayer .aplayer-icon-back,\n .aplayer .aplayer-icon-play,\n .aplayer .aplayer-icon-forward,\n .aplayer .aplayer-icon-lrc {\n display: none; }\n .aplayer .aplayer-icon-lrc-inactivity svg {\n opacity: 0.4; }\n .aplayer .aplayer-icon-forward {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg); }\n .aplayer .aplayer-lrc-content {\n display: none; }\n .aplayer .aplayer-pic {\n position: relative;\n float: left;\n height: 66px;\n width: 66px;\n background-size: cover;\n background-position: center;\n transition: all 0.3s ease;\n cursor: pointer; }\n .aplayer .aplayer-pic:hover .aplayer-button {\n opacity: 1; }\n .aplayer .aplayer-pic .aplayer-button {\n position: absolute;\n border-radius: 50%;\n opacity: 0.8;\n text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);\n box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);\n background: rgba(0, 0, 0, 0.2);\n transition: all 0.1s ease; }\n .aplayer .aplayer-pic .aplayer-button path {\n fill: #fff; }\n .aplayer .aplayer-pic .aplayer-hide {\n display: none; }\n .aplayer .aplayer-pic .aplayer-play {\n width: 26px;\n height: 26px;\n border: 2px solid #fff;\n bottom: 50%;\n right: 50%;\n margin: 0 -15px -15px 0; }\n .aplayer .aplayer-pic .aplayer-play svg {\n position: absolute;\n top: 3px;\n left: 4px;\n height: 20px;\n width: 20px; }\n .aplayer .aplayer-pic .aplayer-pause {\n width: 16px;\n height: 16px;\n border: 2px solid #fff;\n bottom: 4px;\n right: 4px; }\n .aplayer .aplayer-pic .aplayer-pause svg {\n position: absolute;\n top: 2px;\n left: 2px;\n height: 12px;\n width: 12px; }\n .aplayer .aplayer-info {\n margin-left: 66px;\n padding: 14px 7px 0 10px;\n height: 66px;\n box-sizing: border-box; }\n .aplayer .aplayer-info .aplayer-music {\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n margin: 0 0 13px 5px;\n -webkit-user-select: text;\n -moz-user-select: text;\n -ms-user-select: text;\n user-select: text;\n cursor: default;\n padding-bottom: 2px;\n height: 20px; }\n .aplayer .aplayer-info .aplayer-music .aplayer-title {\n font-size: 14px; }\n .aplayer .aplayer-info .aplayer-music .aplayer-author {\n font-size: 12px;\n color: #666; }\n .aplayer .aplayer-info .aplayer-controller {\n position: relative;\n display: flex; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap {\n margin: 0 0 0 5px;\n padding: 4px 0;\n cursor: pointer !important;\n flex: 1; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap:hover .aplayer-bar .aplayer-played .aplayer-thumb {\n -webkit-transform: scale(1);\n transform: scale(1); }\n .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar {\n position: relative;\n height: 2px;\n width: 100%;\n background: #cdcdcd; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-loaded {\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n background: #aaa;\n height: 2px;\n transition: all 0.5s ease; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played {\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n height: 2px; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb {\n position: absolute;\n top: 0;\n right: 5px;\n margin-top: -4px;\n margin-right: -10px;\n height: 10px;\n width: 10px;\n border-radius: 50%;\n cursor: pointer;\n transition: all .3s ease-in-out;\n -webkit-transform: scale(0);\n transform: scale(0); }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time {\n position: relative;\n right: 0;\n bottom: 4px;\n height: 17px;\n color: #999;\n font-size: 11px;\n padding-left: 7px; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-time-inner {\n vertical-align: middle; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon {\n cursor: pointer;\n transition: all 0.2s ease; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon path {\n fill: #666; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-loop {\n margin-right: 2px; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon:hover path {\n fill: #000; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-menu {\n display: none; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time.aplayer-time-narrow .aplayer-icon-mode {\n display: none; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-time.aplayer-time-narrow .aplayer-icon-menu {\n display: none; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap {\n position: relative;\n display: inline-block;\n margin-left: 3px;\n cursor: pointer !important; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap:hover .aplayer-volume-bar-wrap {\n height: 40px; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap {\n position: absolute;\n bottom: 15px;\n right: -3px;\n width: 25px;\n height: 0;\n z-index: 99;\n overflow: hidden;\n transition: all .2s ease-in-out; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap.aplayer-volume-bar-wrap-active {\n height: 40px; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar {\n position: absolute;\n bottom: 0;\n right: 10px;\n width: 5px;\n height: 35px;\n background: #aaa;\n border-radius: 2.5px;\n overflow: hidden; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar .aplayer-volume {\n position: absolute;\n bottom: 0;\n right: 0;\n width: 5px;\n transition: all 0.1s ease; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-loading-icon {\n display: none; }\n .aplayer .aplayer-info .aplayer-controller .aplayer-loading-icon svg {\n position: absolute;\n -webkit-animation: rotate 1s linear infinite;\n animation: rotate 1s linear infinite; }\n .aplayer .aplayer-lrc {\n display: none;\n position: relative;\n height: 30px;\n text-align: center;\n overflow: hidden;\n margin: -10px 0 7px; }\n .aplayer .aplayer-lrc:before {\n position: absolute;\n top: 0;\n z-index: 1;\n display: block;\n overflow: hidden;\n width: 100%;\n height: 10%;\n content: ' ';\n background: linear-gradient(to bottom, white 0%, rgba(255, 255, 255, 0) 100%);\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 ); }\n .aplayer .aplayer-lrc:after {\n position: absolute;\n bottom: 0;\n z-index: 1;\n display: block;\n overflow: hidden;\n width: 100%;\n height: 33%;\n content: ' ';\n background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 100%);\n filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ccffffff',GradientType=0 ); }\n .aplayer .aplayer-lrc p {\n font-size: 12px;\n color: #666;\n line-height: 16px !important;\n height: 16px !important;\n padding: 0 !important;\n margin: 0 !important;\n transition: all 0.5s ease-out;\n opacity: 0.4;\n overflow: hidden; }\n .aplayer .aplayer-lrc p.aplayer-lrc-current {\n opacity: 1;\n overflow: visible;\n height: initial !important;\n min-height: 16px; }\n .aplayer .aplayer-lrc.aplayer-lrc-hide {\n display: none; }\n .aplayer .aplayer-lrc .aplayer-lrc-contents {\n width: 100%;\n transition: all 0.5s ease-out;\n -webkit-user-select: text;\n -moz-user-select: text;\n -ms-user-select: text;\n user-select: text;\n cursor: default; }\n .aplayer .aplayer-list {\n overflow: auto;\n transition: all 0.5s ease;\n will-change: height;\n display: none;\n overflow: hidden; }\n .aplayer .aplayer-list.aplayer-list-hide {\n max-height: 0 !important; }\n .aplayer .aplayer-list ol {\n list-style-type: none;\n margin: 0;\n padding: 0;\n overflow-y: auto; }\n .aplayer .aplayer-list ol::-webkit-scrollbar {\n width: 5px; }\n .aplayer .aplayer-list ol::-webkit-scrollbar-thumb {\n border-radius: 3px;\n background-color: #eee; }\n .aplayer .aplayer-list ol::-webkit-scrollbar-thumb:hover {\n background-color: #ccc; }\n .aplayer .aplayer-list ol li {\n position: relative;\n height: 32px;\n line-height: 32px;\n padding: 0 15px;\n font-size: 12px;\n border-top: 1px solid #e9e9e9;\n cursor: pointer;\n transition: all 0.2s ease;\n overflow: hidden;\n margin: 0; }\n .aplayer .aplayer-list ol li:first-child {\n border-top: none; }\n .aplayer .aplayer-list ol li:hover {\n background: #efefef; }\n .aplayer .aplayer-list ol li.aplayer-list-light {\n background: #e9e9e9; }\n .aplayer .aplayer-list ol li.aplayer-list-light .aplayer-list-cur {\n display: inline-block; }\n .aplayer .aplayer-list ol li .aplayer-list-cur {\n display: none;\n width: 3px;\n height: 22px;\n position: absolute;\n left: 0;\n top: 5px;\n cursor: pointer; }\n .aplayer .aplayer-list ol li .aplayer-list-index {\n color: #666;\n margin-right: 12px;\n cursor: pointer; }\n .aplayer .aplayer-list ol li .aplayer-list-author {\n color: #666;\n float: right;\n cursor: pointer; }\n .aplayer .aplayer-notice {\n opacity: 0;\n position: absolute;\n top: 50%;\n left: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n font-size: 12px;\n border-radius: 4px;\n padding: 5px 10px;\n transition: all .3s ease-in-out;\n overflow: hidden;\n color: #fff;\n pointer-events: none;\n background-color: #f4f4f5;\n color: #909399; }\n .aplayer .aplayer-miniswitcher {\n display: none;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n height: 100%;\n background: #e6e6e6;\n width: 18px;\n border-radius: 0 2px 2px 0; }\n .aplayer .aplayer-miniswitcher .aplayer-icon {\n height: 100%;\n width: 100%;\n -webkit-transform: rotateY(180deg);\n transform: rotateY(180deg);\n transition: all 0.3s ease; }\n .aplayer .aplayer-miniswitcher .aplayer-icon path {\n fill: #666; }\n .aplayer .aplayer-miniswitcher .aplayer-icon:hover path {\n fill: #000; }\n\n@-webkit-keyframes aplayer-roll {\n 0% {\n left: 0; }\n 100% {\n left: -100%; } }\n\n@keyframes aplayer-roll {\n 0% {\n left: 0; }\n 100% {\n left: -100%; } }\n\n@-webkit-keyframes rotate {\n 0% {\n -webkit-transform: rotate(0);\n transform: rotate(0); }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n\n@keyframes rotate {\n 0% {\n -webkit-transform: rotate(0);\n transform: rotate(0); }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg); } }\n"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/APlayer.min.js b/dist/APlayer.min.js deleted file mode 100644 index 6ba17e35b490f30cb449ce1777f011884df25f96..0000000000000000000000000000000000000000 --- a/dist/APlayer.min.js +++ /dev/null @@ -1,2 +0,0 @@ -!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\n ',t+=r(n+s),t+='\n ',t+=r(e.name),t+='\n ',t+=r(e.artist),t+="\n\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 var o=function(e,t){return"HTML"===e.nodeName?-t:e.getBoundingClientRect().top+t}(t,r);var s=Date.now(),l=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){window.setTimeout(e,15)};!function u(){var c=Date.now()-s;a!==window?a.scrollTop=e(r,o,c,n):window.scroll(0,e(r,o,c,n)),c>n?"function"==typeof i&&i(t):l(u)}()},n=function(e){if(!e.defaultPrevented){e.preventDefault(),location.hash!==this.hash&&window.history.pushState(null,null,this.hash);var n=document.getElementById(this.hash.substring(1));if(!n)return;t(n,500,function(e){location.replace("#"+e.id)})}};return document.addEventListener("DOMContentLoaded",function(){for(var e,t=document.querySelectorAll('a[href^="#"]:not([href="#"])'),i=t.length;e=t[--i];)e.addEventListener("click",n,!1)}),t}})?i.call(t,n,t,e):i)||(e.exports=a)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n1),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;nt&&!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;n1?"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 \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;n0&&void 0!==arguments[0]?arguments[0]:this.player.audio.currentTime;if(this.index>this.current.length-1||e=this.current[this.index+1][0])for(var t=0;t=this.current[t][0]&&(!this.current[t+1]||e=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,o.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,o.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/g,"").replace(/^\s+|\s+$/g,"");if(r)for(var s=r.length,l=0;l]/;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\n \n
    ',t+=s.play,t+='
    \n \n \n
    \n
    \n\n
    \n
    \n
    \n'):(t+='\n
    \n
    \n
    ',t+=s.play,t+='
    \n
    \n
    \n
    \n No audio\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n ',t+=s.loading,t+='\n \n
    \n
    \n
    \n
    \n \n 00:00 / 00:00\n \n \n ',t+=s.skip,t+='\n \n \n ',t+=s.play,t+='\n \n \n ',t+=s.skip,t+='\n \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n '},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},function(e,t){e.exports=''},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=[];++d1)for(var n=1;n=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;t1&&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;i1?(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.index0&&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=.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=n(38),r=(i=a)&&i.__esModule?i:{default:i};console.log("\n %c APlayer v1.10.1 af84efb %c http://aplayer.js.org \n","color: #fadfa3; background: #030307; padding:5px 0;","background: #fadfa3; padding:5px 0;"),t.default=r.default}]).default}); -//# sourceMappingURL=APlayer.min.js.map \ No newline at end of file diff --git a/dist/APlayer.min.js.map b/dist/APlayer.min.js.map deleted file mode 100644 index 5144f3f0d684ff0be8798323938527fddfb42f69..0000000000000000000000000000000000000000 --- a/dist/APlayer.min.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack://[name]/webpack/universalModuleDefinition","webpack://[name]/webpack/bootstrap","webpack://[name]/./src/js/utils.js","webpack://[name]/./src/template/list-item.art","webpack://[name]/./node_modules/art-template/lib/runtime.js","webpack://[name]/./src/js/icons.js","webpack://[name]/(webpack)/buildin/global.js","webpack://[name]/./node_modules/smoothscroll/smoothscroll.js","webpack://[name]/./src/js/list.js","webpack://[name]/./src/js/events.js","webpack://[name]/./src/js/timer.js","webpack://[name]/./src/js/controller.js","webpack://[name]/./src/template/lrc.art","webpack://[name]/./src/js/lrc.js","webpack://[name]/./src/js/storage.js","webpack://[name]/./src/js/bar.js","webpack://[name]/./node_modules/detect-node/index.js","webpack://[name]/./node_modules/art-template/lib/compile/runtime.js","webpack://[name]/./src/template/player.art","webpack://[name]/./src/js/template.js","webpack://[name]/./src/js/options.js","webpack://[name]/./src/assets/lrc.svg","webpack://[name]/./src/assets/skip.svg","webpack://[name]/./src/assets/right.svg","webpack://[name]/./src/assets/loading.svg","webpack://[name]/./src/assets/loop-none.svg","webpack://[name]/./src/assets/loop-one.svg","webpack://[name]/./src/assets/loop-all.svg","webpack://[name]/./src/assets/menu.svg","webpack://[name]/./src/assets/order-list.svg","webpack://[name]/./src/assets/order-random.svg","webpack://[name]/./src/assets/volume-off.svg","webpack://[name]/./src/assets/volume-down.svg","webpack://[name]/./src/assets/volume-up.svg","webpack://[name]/./src/assets/pause.svg","webpack://[name]/./src/assets/play.svg","webpack://[name]/./node_modules/process/browser.js","webpack://[name]/./node_modules/setimmediate/setImmediate.js","webpack://[name]/./node_modules/timers-browserify/main.js","webpack://[name]/./node_modules/promise-polyfill/lib/index.js","webpack://[name]/./src/js/player.js","webpack://[name]/./src/js/index.js"],"names":["root","factory","exports","module","define","amd","window","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","r","value","n","__esModule","object","property","prototype","hasOwnProperty","p","s","isMobile","test","navigator","userAgent","utils","secondToTime","second","hour","Math","floor","min","sec","map","num","join","getElementViewLeft","element","actualLeft","offsetLeft","current","offsetParent","elementScrollLeft","document","body","scrollLeft","documentElement","fullscreenElement","mozFullScreenElement","webkitFullscreenElement","getElementViewTop","noScrollTop","elementScrollTop","actualTop","offsetTop","scrollTop","storage","set","key","localStorage","setItem","getItem","nameMap","dragStart","dragMove","dragEnd","randomOrder","length","arr","randomIndex","random","itemAtIndex","shuffle","concat","Array","isArray","arr2","from","_toConsumableArray","item","default","$each","$imports","audio","$data","$escape","$value","$index","theme","index","$$out","artist","_play2","_interopRequireDefault","_pause2","_volumeUp2","_volumeDown2","_volumeOff2","_orderRandom2","_orderList2","_menu2","_loopAll2","_loopOne2","_loopNone2","_loading2","_right2","_skip2","_lrc2","obj","Icons","play","pause","volumeUp","volumeDown","volumeOff","orderRandom","orderList","menu","loopAll","loopOne","loopNone","loading","right","skip","lrc","g","_typeof","Symbol","iterator","constructor","this","Function","eval","e","undefined","__WEBPACK_AMD_DEFINE_RESULT__","__WEBPACK_AMD_DEFINE_FACTORY__","querySelectorAll","pageYOffset","history","pushState","position","start","end","elapsed","duration","t","smoothScroll","el","callback","context","parseInt","nodeName","getBoundingClientRect","top","getTop","clock","Date","now","requestAnimationFrame","mozRequestAnimationFrame","webkitRequestAnimationFrame","fn","setTimeout","step","scroll","linkHandler","ev","defaultPrevented","preventDefault","location","hash","node","getElementById","substring","replace","id","addEventListener","a","internal","_createClass","defineProperties","target","props","descriptor","writable","Constructor","protoProps","staticProps","_listItem2","_utils2","_smoothscroll2","List","player","instance","TypeError","_classCallCheck","audios","options","bindEvents","_this","template","list","tagName","toUpperCase","parentElement","audioIndex","getElementsByClassName","innerHTML","switch","toggle","events","trigger","classList","remove","listOl","add","contains","show","hide","toString","title","author","cover","pic","type","wasSingle","wasEmpty","container","listCurs","style","backgroundColor","order","splice","textContent","clear","backgroundImage","light","setAudio","update","dtime","src","bar","Events","audioEvents","playerEvents","push","data","indexOf","console","error","Timer","oRequestAnimationFrame","msRequestAnimationFrame","types","init","forEach","_this2","lastPlayPos","currentPlayPos","bufferingDetected","loadingChecker","setInterval","enableloadingChecker","currentTime","paused","initfpsChecker","_this3","clearInterval","_icons2","Controller","initPlayButton","initPlayBar","initOrderButton","initLoopButton","initMenuButton","initVolumeButton","initMiniSwitcher","initSkipButton","initLrcButton","thumbMove","percentage","clientX","changedTouches","barWrap","clientWidth","max","ptime","thumbUp","removeEventListener","seek","disableTimeupdate","volumeButton","muted","switchVolumeIcon","volume","clientY","volumeBar","fixed","clientHeight","volumeBarWrap","_this4","_this5","loop","_this6","_this7","miniSwitcher","setMode","mode","_this8","skipBackButton","skipBack","skipForwardButton","skipForward","skipPlayButton","_this9","lrcButton","lyrics","_lrc","Lrc","async","parsed","lrcWrap","arguments","transform","webkitTransform","getElementsByTagName","xhr","XMLHttpRequest","onreadystatechange","readyState","status","parse","responseText","notice","apiurl","open","send","lrc_s","lyric","match","p1","split","lyricLen","lrcTimes","lrcText","timeLen","j","oneTime","exec","lrcTime","filter","sort","b","_utils","Storage","storageName","JSON","stringify","Bar","elements","played","loaded","direction","parseFloat","global","process","detectNode","runtime","create","ESCAPE_REG","content","html","regexResult","result","lastIndex","char","charCodeAt","xmlEscape","len","_i","getObject","listFolded","listMaxHeight","include","icons","_player2","Template","querySelector","info","time","button","thumb","defaultOption","mini","narrow","autoplay","mutex","lrcType","showlrc","preload","listmaxheight","music","defaultKey","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","Error","defaultClearTimeout","runTimeout","fun","clearTimeout","currentQueue","queue","draining","queueIndex","cleanUpNextTick","drainQueue","timeout","run","marker","runClearTimeout","Item","array","noop","nextTick","args","apply","browser","env","argv","version","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","prependListener","prependOnceListener","listeners","binding","cwd","chdir","dir","umask","setImmediate","registerImmediate","channel","messagePrefix","onGlobalMessage","nextHandle","tasksByHandle","currentlyRunningATask","doc","attachTo","getPrototypeOf","handle","runIfPresent","postMessage","importScripts","postMessageIsAsynchronous","oldOnMessage","onmessage","canUsePostMessage","MessageChannel","port1","event","port2","createElement","script","removeChild","appendChild","source","slice","attachEvent","task","clearImmediate","self","Timeout","clearFn","_id","_clearFn","close","unref","ref","enroll","msecs","_idleTimeoutId","_idleTimeout","unenroll","_unrefActive","active","_onTimeout","setTimeoutFunc","Promise","_state","_handled","_value","_deferreds","doResolve","deferred","_immediateFn","cb","onFulfilled","onRejected","ret","reject","promise","resolve","newValue","then","finale","thisArg","_unhandledRejectionFn","done","reason","ex","prom","all","remaining","res","val","race","values","err","warn","_promisePolyfill2","_options2","_template2","_bar2","_storage2","_controller2","_timer2","_events2","_list2","instances","APlayer","playedPromise","arrow","offsetWidth","lrcEle","width","display","controller","timer","initAudio","_loop","setUIPlaying","setUIPaused","buffered","skipTime","nextIndex","hls","destroy","customAudioType","url","Hls","isSupported","loadSource","attachMedia","canPlayType","color","background","enable","playPromise","catch","disable","nostorage","isNaN","text","opacity","noticeTime","prevIndex","_player","log"],"mappings":"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","file":"APlayer.min.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine(\"APlayer\", [], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"APlayer\"] = factory();\n\telse\n\t\troot[\"APlayer\"] = factory();\n})(window, function() {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 41);\n","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nfunction _toConsumableArray(arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n arr2[i] = arr[i];\n }\n return arr2;\n } else {\n return Array.from(arr);\n }\n}\nvar isMobile = /mobile/i.test(window.navigator.userAgent);\nvar utils = {\n secondToTime: function secondToTime(second) {\n var add0 = function add0(num) {\n return num < 10 ? '0' + num : '' + num;\n };\n var hour = Math.floor(second / 3600);\n var min = Math.floor((second - hour * 3600) / 60);\n var sec = Math.floor(second - hour * 3600 - min * 60);\n return (hour > 0 ? [\n hour,\n min,\n sec\n ] : [\n min,\n sec\n ]).map(add0).join(':');\n },\n getElementViewLeft: function getElementViewLeft(element) {\n var actualLeft = element.offsetLeft;\n var current = element.offsetParent;\n var elementScrollLeft = document.body.scrollLeft + document.documentElement.scrollLeft;\n if (!document.fullscreenElement && !document.mozFullScreenElement && !document.webkitFullscreenElement) {\n while (current !== null) {\n actualLeft += current.offsetLeft;\n current = current.offsetParent;\n }\n } else {\n while (current !== null && current !== element) {\n actualLeft += current.offsetLeft;\n current = current.offsetParent;\n }\n }\n return actualLeft - elementScrollLeft;\n },\n getElementViewTop: function getElementViewTop(element, noScrollTop) {\n var actualTop = element.offsetTop;\n var current = element.offsetParent;\n var elementScrollTop = 0;\n while (current !== null) {\n actualTop += current.offsetTop;\n current = current.offsetParent;\n }\n elementScrollTop = document.body.scrollTop + document.documentElement.scrollTop;\n return noScrollTop ? actualTop : actualTop - elementScrollTop;\n },\n isMobile: isMobile,\n storage: {\n set: function set(key, value) {\n localStorage.setItem(key, value);\n },\n get: function get(key) {\n return localStorage.getItem(key);\n }\n },\n nameMap: {\n dragStart: isMobile ? 'touchstart' : 'mousedown',\n dragMove: isMobile ? 'touchmove' : 'mousemove',\n dragEnd: isMobile ? 'touchend' : 'mouseup'\n },\n randomOrder: function randomOrder(length) {\n function shuffle(arr) {\n for (var i = arr.length - 1; i >= 0; i--) {\n var randomIndex = Math.floor(Math.random() * (i + 1));\n var itemAtIndex = arr[randomIndex];\n arr[randomIndex] = arr[i];\n arr[i] = itemAtIndex;\n }\n return arr;\n }\n return shuffle([].concat(_toConsumableArray(Array(length))).map(function (item, i) {\n return i;\n }));\n }\n};\nexports.default = utils;","{{each audio}}\n
  • \n \n {{ $index + index }}\n {{ $value.name }}\n {{ $value.artist }}\n
  • \n{{/each}}","'use strict';\nmodule.exports = require('./compile/runtime');","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nvar _play = require('../assets/play.svg');\nvar _play2 = _interopRequireDefault(_play);\nvar _pause = require('../assets/pause.svg');\nvar _pause2 = _interopRequireDefault(_pause);\nvar _volumeUp = require('../assets/volume-up.svg');\nvar _volumeUp2 = _interopRequireDefault(_volumeUp);\nvar _volumeDown = require('../assets/volume-down.svg');\nvar _volumeDown2 = _interopRequireDefault(_volumeDown);\nvar _volumeOff = require('../assets/volume-off.svg');\nvar _volumeOff2 = _interopRequireDefault(_volumeOff);\nvar _orderRandom = require('../assets/order-random.svg');\nvar _orderRandom2 = _interopRequireDefault(_orderRandom);\nvar _orderList = require('../assets/order-list.svg');\nvar _orderList2 = _interopRequireDefault(_orderList);\nvar _menu = require('../assets/menu.svg');\nvar _menu2 = _interopRequireDefault(_menu);\nvar _loopAll = require('../assets/loop-all.svg');\nvar _loopAll2 = _interopRequireDefault(_loopAll);\nvar _loopOne = require('../assets/loop-one.svg');\nvar _loopOne2 = _interopRequireDefault(_loopOne);\nvar _loopNone = require('../assets/loop-none.svg');\nvar _loopNone2 = _interopRequireDefault(_loopNone);\nvar _loading = require('../assets/loading.svg');\nvar _loading2 = _interopRequireDefault(_loading);\nvar _right = require('../assets/right.svg');\nvar _right2 = _interopRequireDefault(_right);\nvar _skip = require('../assets/skip.svg');\nvar _skip2 = _interopRequireDefault(_skip);\nvar _lrc = require('../assets/lrc.svg');\nvar _lrc2 = _interopRequireDefault(_lrc);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\nvar Icons = {\n play: _play2.default,\n pause: _pause2.default,\n volumeUp: _volumeUp2.default,\n volumeDown: _volumeDown2.default,\n volumeOff: _volumeOff2.default,\n orderRandom: _orderRandom2.default,\n orderList: _orderList2.default,\n menu: _menu2.default,\n loopAll: _loopAll2.default,\n loopOne: _loopOne2.default,\n loopNone: _loopNone2.default,\n loading: _loading2.default,\n right: _right2.default,\n skip: _skip2.default,\n lrc: _lrc2.default\n};\nexports.default = Icons;","'use strict';\nvar _typeof = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === 'function' && obj.constructor === Symbol && obj !== Symbol.prototype ? 'symbol' : typeof obj;\n};\nvar g;\ng = function () {\n return this;\n}();\ntry {\n g = g || Function('return this')() || (1, eval)('this');\n} catch (e) {\n if ((typeof window === 'undefined' ? 'undefined' : _typeof(window)) === 'object')\n g = window;\n}\nmodule.exports = g;","'use strict';\nvar _typeof = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === 'function' && obj.constructor === Symbol && obj !== Symbol.prototype ? 'symbol' : typeof obj;\n};\n(function (root, smoothScroll) {\n 'use strict';\n if (typeof define === 'function' && define.amd) {\n define(smoothScroll);\n } else if ((typeof exports === 'undefined' ? 'undefined' : _typeof(exports)) === 'object' && (typeof module === 'undefined' ? 'undefined' : _typeof(module)) === 'object') {\n module.exports = smoothScroll();\n } else {\n root.smoothScroll = smoothScroll();\n }\n}(undefined, function () {\n 'use strict';\n if ((typeof window === 'undefined' ? 'undefined' : _typeof(window)) !== 'object')\n return;\n if (document.querySelectorAll === void 0 || window.pageYOffset === void 0 || history.pushState === void 0) {\n return;\n }\n var getTop = function getTop(element, start) {\n if (element.nodeName === 'HTML')\n return -start;\n return element.getBoundingClientRect().top + start;\n };\n var easeInOutCubic = function easeInOutCubic(t) {\n return t < 0.5 ? 4 * t * t * t : (t - 1) * (2 * t - 2) * (2 * t - 2) + 1;\n };\n var position = function position(start, end, elapsed, duration) {\n if (elapsed > duration)\n return end;\n return start + (end - start) * easeInOutCubic(elapsed / duration);\n };\n var smoothScroll = function smoothScroll(el, duration, callback, context) {\n duration = duration || 500;\n context = context || window;\n var start = context.scrollTop || window.pageYOffset;\n if (typeof el === 'number') {\n var end = parseInt(el);\n } else {\n var end = getTop(el, start);\n }\n var clock = Date.now();\n var requestAnimationFrame = window.requestAnimationFrame || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || function (fn) {\n window.setTimeout(fn, 15);\n };\n var step = function step() {\n var elapsed = Date.now() - clock;\n if (context !== window) {\n context.scrollTop = position(start, end, elapsed, duration);\n } else {\n window.scroll(0, position(start, end, elapsed, duration));\n }\n if (elapsed > duration) {\n if (typeof callback === 'function') {\n callback(el);\n }\n } else {\n requestAnimationFrame(step);\n }\n };\n step();\n };\n var linkHandler = function linkHandler(ev) {\n if (!ev.defaultPrevented) {\n ev.preventDefault();\n if (location.hash !== this.hash)\n window.history.pushState(null, null, this.hash);\n var node = document.getElementById(this.hash.substring(1));\n if (!node)\n return;\n smoothScroll(node, 500, function (el) {\n location.replace('#' + el.id);\n });\n }\n };\n document.addEventListener('DOMContentLoaded', function () {\n var internal = document.querySelectorAll('a[href^=\"#\"]:not([href=\"#\"])'), a;\n for (var i = internal.length; a = internal[--i];) {\n a.addEventListener('click', linkHandler, false);\n }\n });\n return smoothScroll;\n}));","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if ('value' in descriptor)\n descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps)\n defineProperties(Constructor.prototype, protoProps);\n if (staticProps)\n defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nvar _listItem = require('../template/list-item.art');\nvar _listItem2 = _interopRequireDefault(_listItem);\nvar _utils = require('./utils');\nvar _utils2 = _interopRequireDefault(_utils);\nvar _smoothscroll = require('smoothscroll');\nvar _smoothscroll2 = _interopRequireDefault(_smoothscroll);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError('Cannot call a class as a function');\n }\n}\nvar List = function () {\n function List(player) {\n _classCallCheck(this, List);\n this.player = player;\n this.index = 0;\n this.audios = this.player.options.audio;\n this.bindEvents();\n }\n _createClass(List, [\n {\n key: 'bindEvents',\n value: function bindEvents() {\n var _this = this;\n this.player.template.list.addEventListener('click', function (e) {\n var target = void 0;\n if (e.target.tagName.toUpperCase() === 'LI') {\n target = e.target;\n } else {\n target = e.target.parentElement;\n }\n var audioIndex = parseInt(target.getElementsByClassName('aplayer-list-index')[0].innerHTML) - 1;\n if (audioIndex !== _this.index) {\n _this.switch(audioIndex);\n _this.player.play();\n } else {\n _this.player.toggle();\n }\n });\n }\n },\n {\n key: 'show',\n value: function show() {\n this.player.events.trigger('listshow');\n this.player.template.list.classList.remove('aplayer-list-hide');\n this.player.template.listOl.scrollTop = this.index * 33;\n }\n },\n {\n key: 'hide',\n value: function hide() {\n this.player.events.trigger('listhide');\n this.player.template.list.classList.add('aplayer-list-hide');\n }\n },\n {\n key: 'toggle',\n value: function toggle() {\n if (!this.player.template.list.classList.contains('aplayer-list-hide')) {\n this.hide();\n } else {\n this.show();\n }\n }\n },\n {\n key: 'add',\n value: function add(audios) {\n this.player.events.trigger('listadd', { audios: audios });\n if (Object.prototype.toString.call(audios) !== '[object Array]') {\n audios = [audios];\n }\n audios.map(function (item) {\n item.name = item.name || item.title || 'Audio name';\n item.artist = item.artist || item.author || 'Audio artist';\n item.cover = item.cover || item.pic;\n item.type = item.type || 'normal';\n return item;\n });\n var wasSingle = !(this.audios.length > 1);\n var wasEmpty = this.audios.length === 0;\n this.player.template.listOl.innerHTML += (0, _listItem2.default)({\n theme: this.player.options.theme,\n audio: audios,\n index: this.audios.length + 1\n });\n this.audios = this.audios.concat(audios);\n if (wasSingle && this.audios.length > 1) {\n this.player.container.classList.add('aplayer-withlist');\n }\n this.player.randomOrder = _utils2.default.randomOrder(this.audios.length);\n this.player.template.listCurs = this.player.container.querySelectorAll('.aplayer-list-cur');\n this.player.template.listCurs[this.audios.length - 1].style.backgroundColor = audios.theme || this.player.options.theme;\n if (wasEmpty) {\n if (this.player.options.order === 'random') {\n this.switch(this.player.randomOrder[0]);\n } else {\n this.switch(0);\n }\n }\n }\n },\n {\n key: 'remove',\n value: function remove(index) {\n this.player.events.trigger('listremove', { index: index });\n if (this.audios[index]) {\n if (this.audios.length > 1) {\n var list = this.player.container.querySelectorAll('.aplayer-list li');\n list[index].remove();\n this.audios.splice(index, 1);\n this.player.lrc && this.player.lrc.remove(index);\n if (index === this.index) {\n if (this.audios[index]) {\n this.switch(index);\n } else {\n this.switch(index - 1);\n }\n }\n if (this.index > index) {\n this.index--;\n }\n for (var i = index; i < list.length; i++) {\n list[i].getElementsByClassName('aplayer-list-index')[0].textContent = i;\n }\n if (this.audios.length === 1) {\n this.player.container.classList.remove('aplayer-withlist');\n }\n this.player.template.listCurs = this.player.container.querySelectorAll('.aplayer-list-cur');\n } else {\n this.clear();\n }\n }\n }\n },\n {\n key: 'switch',\n value: function _switch(index) {\n this.player.events.trigger('listswitch', { index: index });\n if (typeof index !== 'undefined' && this.audios[index]) {\n this.index = index;\n var audio = this.audios[this.index];\n this.player.template.pic.style.backgroundImage = audio.cover ? 'url(\\'' + audio.cover + '\\')' : '';\n this.player.theme(this.audios[this.index].theme || this.player.options.theme, this.index, false);\n this.player.template.title.innerHTML = audio.name;\n this.player.template.author.innerHTML = audio.artist ? ' - ' + audio.artist : '';\n var light = this.player.container.getElementsByClassName('aplayer-list-light')[0];\n if (light) {\n light.classList.remove('aplayer-list-light');\n }\n this.player.container.querySelectorAll('.aplayer-list li')[this.index].classList.add('aplayer-list-light');\n (0, _smoothscroll2.default)(this.index * 33, 500, null, this.player.template.listOl);\n this.player.setAudio(audio);\n this.player.lrc && this.player.lrc.switch(this.index);\n this.player.lrc && this.player.lrc.update(0);\n if (this.player.duration !== 1) {\n this.player.template.dtime.innerHTML = _utils2.default.secondToTime(this.player.duration);\n }\n }\n }\n },\n {\n key: 'clear',\n value: function clear() {\n this.player.events.trigger('listclear');\n this.index = 0;\n this.player.container.classList.remove('aplayer-withlist');\n this.player.pause();\n this.audios = [];\n this.player.lrc && this.player.lrc.clear();\n this.player.audio.src = '';\n this.player.template.listOl.innerHTML = '';\n this.player.template.pic.style.backgroundImage = '';\n this.player.theme(this.player.options.theme, this.index, false);\n this.player.template.title.innerHTML = 'No audio';\n this.player.template.author.innerHTML = '';\n this.player.bar.set('loaded', 0, 'width');\n this.player.template.dtime.innerHTML = _utils2.default.secondToTime(0);\n }\n }\n ]);\n return List;\n}();\nexports.default = List;","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if ('value' in descriptor)\n descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps)\n defineProperties(Constructor.prototype, protoProps);\n if (staticProps)\n defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError('Cannot call a class as a function');\n }\n}\nvar Events = function () {\n function Events() {\n _classCallCheck(this, Events);\n this.events = {};\n this.audioEvents = [\n 'abort',\n 'canplay',\n 'canplaythrough',\n 'durationchange',\n 'emptied',\n 'ended',\n 'error',\n 'loadeddata',\n 'loadedmetadata',\n 'loadstart',\n 'mozaudioavailable',\n 'pause',\n 'play',\n 'playing',\n 'progress',\n 'ratechange',\n 'seeked',\n 'seeking',\n 'stalled',\n 'suspend',\n 'timeupdate',\n 'volumechange',\n 'waiting'\n ];\n this.playerEvents = [\n 'destroy',\n 'listshow',\n 'listhide',\n 'listadd',\n 'listremove',\n 'listswitch',\n 'listclear',\n 'noticeshow',\n 'noticehide',\n 'lrcshow',\n 'lrchide'\n ];\n }\n _createClass(Events, [\n {\n key: 'on',\n value: function on(name, callback) {\n if (this.type(name) && typeof callback === 'function') {\n if (!this.events[name]) {\n this.events[name] = [];\n }\n this.events[name].push(callback);\n }\n }\n },\n {\n key: 'trigger',\n value: function trigger(name, data) {\n if (this.events[name] && this.events[name].length) {\n for (var i = 0; i < this.events[name].length; i++) {\n this.events[name][i](data);\n }\n }\n }\n },\n {\n key: 'type',\n value: function type(name) {\n if (this.playerEvents.indexOf(name) !== -1) {\n return 'player';\n } else if (this.audioEvents.indexOf(name) !== -1) {\n return 'audio';\n }\n console.error('Unknown event name: ' + name);\n return null;\n }\n }\n ]);\n return Events;\n}();\nexports.default = Events;","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if ('value' in descriptor)\n descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps)\n defineProperties(Constructor.prototype, protoProps);\n if (staticProps)\n defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError('Cannot call a class as a function');\n }\n}\nvar Timer = function () {\n function Timer(player) {\n _classCallCheck(this, Timer);\n this.player = player;\n window.requestAnimationFrame = function () {\n return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.oRequestAnimationFrame || window.msRequestAnimationFrame || function (callback) {\n window.setTimeout(callback, 1000 / 60);\n };\n }();\n this.types = ['loading'];\n this.init();\n }\n _createClass(Timer, [\n {\n key: 'init',\n value: function init() {\n var _this = this;\n this.types.forEach(function (item) {\n _this['init' + item + 'Checker']();\n });\n }\n },\n {\n key: 'initloadingChecker',\n value: function initloadingChecker() {\n var _this2 = this;\n var lastPlayPos = 0;\n var currentPlayPos = 0;\n var bufferingDetected = false;\n this.loadingChecker = setInterval(function () {\n if (_this2.enableloadingChecker) {\n currentPlayPos = _this2.player.audio.currentTime;\n if (!bufferingDetected && currentPlayPos === lastPlayPos && !_this2.player.audio.paused) {\n _this2.player.container.classList.add('aplayer-loading');\n bufferingDetected = true;\n }\n if (bufferingDetected && currentPlayPos > lastPlayPos && !_this2.player.audio.paused) {\n _this2.player.container.classList.remove('aplayer-loading');\n bufferingDetected = false;\n }\n lastPlayPos = currentPlayPos;\n }\n }, 100);\n }\n },\n {\n key: 'enable',\n value: function enable(type) {\n this['enable' + type + 'Checker'] = true;\n if (type === 'fps') {\n this.initfpsChecker();\n }\n }\n },\n {\n key: 'disable',\n value: function disable(type) {\n this['enable' + type + 'Checker'] = false;\n }\n },\n {\n key: 'destroy',\n value: function destroy() {\n var _this3 = this;\n this.types.forEach(function (item) {\n _this3['enable' + item + 'Checker'] = false;\n _this3[item + 'Checker'] && clearInterval(_this3[item + 'Checker']);\n });\n }\n }\n ]);\n return Timer;\n}();\nexports.default = Timer;","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if ('value' in descriptor)\n descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps)\n defineProperties(Constructor.prototype, protoProps);\n if (staticProps)\n defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nvar _utils = require('./utils');\nvar _utils2 = _interopRequireDefault(_utils);\nvar _icons = require('./icons');\nvar _icons2 = _interopRequireDefault(_icons);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError('Cannot call a class as a function');\n }\n}\nvar Controller = function () {\n function Controller(player) {\n _classCallCheck(this, Controller);\n this.player = player;\n this.initPlayButton();\n this.initPlayBar();\n this.initOrderButton();\n this.initLoopButton();\n this.initMenuButton();\n if (!_utils2.default.isMobile) {\n this.initVolumeButton();\n }\n this.initMiniSwitcher();\n this.initSkipButton();\n this.initLrcButton();\n }\n _createClass(Controller, [\n {\n key: 'initPlayButton',\n value: function initPlayButton() {\n var _this = this;\n this.player.template.pic.addEventListener('click', function () {\n _this.player.toggle();\n });\n }\n },\n {\n key: 'initPlayBar',\n value: function initPlayBar() {\n var _this2 = this;\n var thumbMove = function thumbMove(e) {\n var percentage = ((e.clientX || e.changedTouches[0].clientX) - _utils2.default.getElementViewLeft(_this2.player.template.barWrap)) / _this2.player.template.barWrap.clientWidth;\n percentage = Math.max(percentage, 0);\n percentage = Math.min(percentage, 1);\n _this2.player.bar.set('played', percentage, 'width');\n _this2.player.lrc && _this2.player.lrc.update(percentage * _this2.player.duration);\n _this2.player.template.ptime.innerHTML = _utils2.default.secondToTime(percentage * _this2.player.duration);\n };\n var thumbUp = function thumbUp(e) {\n document.removeEventListener(_utils2.default.nameMap.dragEnd, thumbUp);\n document.removeEventListener(_utils2.default.nameMap.dragMove, thumbMove);\n var percentage = ((e.clientX || e.changedTouches[0].clientX) - _utils2.default.getElementViewLeft(_this2.player.template.barWrap)) / _this2.player.template.barWrap.clientWidth;\n percentage = Math.max(percentage, 0);\n percentage = Math.min(percentage, 1);\n _this2.player.bar.set('played', percentage, 'width');\n _this2.player.seek(_this2.player.bar.get('played', 'width') * _this2.player.duration);\n _this2.player.disableTimeupdate = false;\n };\n this.player.template.barWrap.addEventListener(_utils2.default.nameMap.dragStart, function () {\n _this2.player.disableTimeupdate = true;\n document.addEventListener(_utils2.default.nameMap.dragMove, thumbMove);\n document.addEventListener(_utils2.default.nameMap.dragEnd, thumbUp);\n });\n }\n },\n {\n key: 'initVolumeButton',\n value: function initVolumeButton() {\n var _this3 = this;\n this.player.template.volumeButton.addEventListener('click', function () {\n if (_this3.player.audio.muted) {\n _this3.player.audio.muted = false;\n _this3.player.switchVolumeIcon();\n _this3.player.bar.set('volume', _this3.player.volume(), 'height');\n } else {\n _this3.player.audio.muted = true;\n _this3.player.switchVolumeIcon();\n _this3.player.bar.set('volume', 0, 'height');\n }\n });\n var thumbMove = function thumbMove(e) {\n var percentage = 1 - ((e.clientY || e.changedTouches[0].clientY) - _utils2.default.getElementViewTop(_this3.player.template.volumeBar, _this3.player.options.fixed)) / _this3.player.template.volumeBar.clientHeight;\n percentage = Math.max(percentage, 0);\n percentage = Math.min(percentage, 1);\n _this3.player.volume(percentage);\n };\n var thumbUp = function thumbUp(e) {\n _this3.player.template.volumeBarWrap.classList.remove('aplayer-volume-bar-wrap-active');\n document.removeEventListener(_utils2.default.nameMap.dragEnd, thumbUp);\n document.removeEventListener(_utils2.default.nameMap.dragMove, thumbMove);\n var percentage = 1 - ((e.clientY || e.changedTouches[0].clientY) - _utils2.default.getElementViewTop(_this3.player.template.volumeBar, _this3.player.options.fixed)) / _this3.player.template.volumeBar.clientHeight;\n percentage = Math.max(percentage, 0);\n percentage = Math.min(percentage, 1);\n _this3.player.volume(percentage);\n };\n this.player.template.volumeBarWrap.addEventListener(_utils2.default.nameMap.dragStart, function () {\n _this3.player.template.volumeBarWrap.classList.add('aplayer-volume-bar-wrap-active');\n document.addEventListener(_utils2.default.nameMap.dragMove, thumbMove);\n document.addEventListener(_utils2.default.nameMap.dragEnd, thumbUp);\n });\n }\n },\n {\n key: 'initOrderButton',\n value: function initOrderButton() {\n var _this4 = this;\n this.player.template.order.addEventListener('click', function () {\n if (_this4.player.options.order === 'list') {\n _this4.player.options.order = 'random';\n _this4.player.template.order.innerHTML = _icons2.default.orderRandom;\n } else if (_this4.player.options.order === 'random') {\n _this4.player.options.order = 'list';\n _this4.player.template.order.innerHTML = _icons2.default.orderList;\n }\n });\n }\n },\n {\n key: 'initLoopButton',\n value: function initLoopButton() {\n var _this5 = this;\n this.player.template.loop.addEventListener('click', function () {\n if (_this5.player.list.audios.length > 1) {\n if (_this5.player.options.loop === 'one') {\n _this5.player.options.loop = 'none';\n _this5.player.template.loop.innerHTML = _icons2.default.loopNone;\n } else if (_this5.player.options.loop === 'none') {\n _this5.player.options.loop = 'all';\n _this5.player.template.loop.innerHTML = _icons2.default.loopAll;\n } else if (_this5.player.options.loop === 'all') {\n _this5.player.options.loop = 'one';\n _this5.player.template.loop.innerHTML = _icons2.default.loopOne;\n }\n } else {\n if (_this5.player.options.loop === 'one' || _this5.player.options.loop === 'all') {\n _this5.player.options.loop = 'none';\n _this5.player.template.loop.innerHTML = _icons2.default.loopNone;\n } else if (_this5.player.options.loop === 'none') {\n _this5.player.options.loop = 'all';\n _this5.player.template.loop.innerHTML = _icons2.default.loopAll;\n }\n }\n });\n }\n },\n {\n key: 'initMenuButton',\n value: function initMenuButton() {\n var _this6 = this;\n this.player.template.menu.addEventListener('click', function () {\n _this6.player.list.toggle();\n });\n }\n },\n {\n key: 'initMiniSwitcher',\n value: function initMiniSwitcher() {\n var _this7 = this;\n this.player.template.miniSwitcher.addEventListener('click', function () {\n _this7.player.setMode(_this7.player.mode === 'mini' ? 'normal' : 'mini');\n });\n }\n },\n {\n key: 'initSkipButton',\n value: function initSkipButton() {\n var _this8 = this;\n this.player.template.skipBackButton.addEventListener('click', function () {\n _this8.player.skipBack();\n });\n this.player.template.skipForwardButton.addEventListener('click', function () {\n _this8.player.skipForward();\n });\n this.player.template.skipPlayButton.addEventListener('click', function () {\n _this8.player.toggle();\n });\n }\n },\n {\n key: 'initLrcButton',\n value: function initLrcButton() {\n var _this9 = this;\n this.player.template.lrcButton.addEventListener('click', function () {\n if (_this9.player.template.lrcButton.classList.contains('aplayer-icon-lrc-inactivity')) {\n _this9.player.template.lrcButton.classList.remove('aplayer-icon-lrc-inactivity');\n _this9.player.lrc && _this9.player.lrc.show();\n } else {\n _this9.player.template.lrcButton.classList.add('aplayer-icon-lrc-inactivity');\n _this9.player.lrc && _this9.player.lrc.hide();\n }\n });\n }\n }\n ]);\n return Controller;\n}();\nexports.default = Controller;","{{each lyrics}}\n {{$value[1]}}

    \n{{/each}}","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if ('value' in descriptor)\n descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps)\n defineProperties(Constructor.prototype, protoProps);\n if (staticProps)\n defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nvar _lrc = require('../template/lrc.art');\nvar _lrc2 = _interopRequireDefault(_lrc);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError('Cannot call a class as a function');\n }\n}\nvar Lrc = function () {\n function Lrc(options) {\n _classCallCheck(this, Lrc);\n this.container = options.container;\n this.async = options.async;\n this.player = options.player;\n this.parsed = [];\n this.index = 0;\n this.current = [];\n }\n _createClass(Lrc, [\n {\n key: 'show',\n value: function show() {\n this.player.events.trigger('lrcshow');\n this.player.template.lrcWrap.classList.remove('aplayer-lrc-hide');\n }\n },\n {\n key: 'hide',\n value: function hide() {\n this.player.events.trigger('lrchide');\n this.player.template.lrcWrap.classList.add('aplayer-lrc-hide');\n }\n },\n {\n key: 'toggle',\n value: function toggle() {\n if (this.player.template.lrcWrap.classList.contains('aplayer-lrc-hide')) {\n this.show();\n } else {\n this.hide();\n }\n }\n },\n {\n key: 'update',\n value: function update() {\n var currentTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.player.audio.currentTime;\n if (this.index > this.current.length - 1 || currentTime < this.current[this.index][0] || !this.current[this.index + 1] || currentTime >= this.current[this.index + 1][0]) {\n for (var i = 0; i < this.current.length; i++) {\n if (currentTime >= this.current[i][0] && (!this.current[i + 1] || currentTime < this.current[i + 1][0])) {\n this.index = i;\n this.container.style.transform = 'translateY(' + -this.index * 16 + 'px)';\n this.container.style.webkitTransform = 'translateY(' + -this.index * 16 + 'px)';\n this.container.getElementsByClassName('aplayer-lrc-current')[0].classList.remove('aplayer-lrc-current');\n this.container.getElementsByTagName('p')[i].classList.add('aplayer-lrc-current');\n }\n }\n }\n }\n },\n {\n key: 'switch',\n value: function _switch(index) {\n var _this = this;\n if (!this.parsed[index]) {\n if (!this.async) {\n if (this.player.list.audios[index].lrc) {\n this.parsed[index] = this.parse(this.player.list.audios[index].lrc);\n } else {\n this.parsed[index] = [[\n '00:00',\n 'Not available'\n ]];\n }\n } else {\n this.parsed[index] = [[\n '00:00',\n 'Loading'\n ]];\n var xhr = new XMLHttpRequest();\n xhr.onreadystatechange = function () {\n if (index === _this.player.list.index && xhr.readyState === 4) {\n if (xhr.status >= 200 && xhr.status < 300 || xhr.status === 304) {\n _this.parsed[index] = _this.parse(xhr.responseText);\n } else {\n _this.player.notice('LRC file request fails: status ' + xhr.status);\n _this.parsed[index] = [[\n '00:00',\n 'Not available'\n ]];\n }\n _this.container.innerHTML = (0, _lrc2.default)({ lyrics: _this.parsed[index] });\n _this.update(0);\n _this.current = _this.parsed[index];\n }\n };\n var apiurl = this.player.list.audios[index].lrc;\n xhr.open('get', apiurl, true);\n xhr.send(null);\n }\n }\n this.container.innerHTML = (0, _lrc2.default)({ lyrics: this.parsed[index] });\n this.update(0);\n this.current = this.parsed[index];\n }\n },\n {\n key: 'parse',\n value: function parse(lrc_s) {\n if (lrc_s) {\n lrc_s = lrc_s.replace(/([^\\]^\\n])\\[/g, function (match, p1) {\n return p1 + '\\n[';\n });\n var lyric = lrc_s.split('\\n');\n var lrc = [];\n var lyricLen = lyric.length;\n for (var i = 0; i < lyricLen; i++) {\n var lrcTimes = lyric[i].match(/\\[(\\d{2}):(\\d{2})(\\.(\\d{2,3}))?]/g);\n var lrcText = lyric[i].replace(/.*\\[(\\d{2}):(\\d{2})(\\.(\\d{2,3}))?]/g, '').replace(/<(\\d{2}):(\\d{2})(\\.(\\d{2,3}))?>/g, '').replace(/^\\s+|\\s+$/g, '');\n if (lrcTimes) {\n var timeLen = lrcTimes.length;\n for (var j = 0; j < timeLen; j++) {\n var oneTime = /\\[(\\d{2}):(\\d{2})(\\.(\\d{2,3}))?]/.exec(lrcTimes[j]);\n var min2sec = oneTime[1] * 60;\n var sec2sec = parseInt(oneTime[2]);\n var msec2sec = oneTime[4] ? parseInt(oneTime[4]) / ((oneTime[4] + '').length === 2 ? 100 : 1000) : 0;\n var lrcTime = min2sec + sec2sec + msec2sec;\n lrc.push([\n lrcTime,\n lrcText\n ]);\n }\n }\n }\n lrc = lrc.filter(function (item) {\n return item[1];\n });\n lrc.sort(function (a, b) {\n return a[0] - b[0];\n });\n return lrc;\n } else {\n return [];\n }\n }\n },\n {\n key: 'remove',\n value: function remove(index) {\n this.parsed.splice(index, 1);\n }\n },\n {\n key: 'clear',\n value: function clear() {\n this.parsed = [];\n this.container.innerHTML = '';\n }\n }\n ]);\n return Lrc;\n}();\nexports.default = Lrc;","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if ('value' in descriptor)\n descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps)\n defineProperties(Constructor.prototype, protoProps);\n if (staticProps)\n defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nvar _utils = require('./utils');\nvar _utils2 = _interopRequireDefault(_utils);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError('Cannot call a class as a function');\n }\n}\nvar Storage = function () {\n function Storage(player) {\n _classCallCheck(this, Storage);\n this.storageName = player.options.storageName;\n this.data = JSON.parse(_utils2.default.storage.get(this.storageName));\n if (!this.data) {\n this.data = {};\n }\n this.data.volume = this.data.volume || player.options.volume;\n }\n _createClass(Storage, [\n {\n key: 'get',\n value: function get(key) {\n return this.data[key];\n }\n },\n {\n key: 'set',\n value: function set(key, value) {\n this.data[key] = value;\n _utils2.default.storage.set(this.storageName, JSON.stringify(this.data));\n }\n }\n ]);\n return Storage;\n}();\nexports.default = Storage;","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if ('value' in descriptor)\n descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps)\n defineProperties(Constructor.prototype, protoProps);\n if (staticProps)\n defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError('Cannot call a class as a function');\n }\n}\nvar Bar = function () {\n function Bar(template) {\n _classCallCheck(this, Bar);\n this.elements = {};\n this.elements.volume = template.volume;\n this.elements.played = template.played;\n this.elements.loaded = template.loaded;\n }\n _createClass(Bar, [\n {\n key: 'set',\n value: function set(type, percentage, direction) {\n percentage = Math.max(percentage, 0);\n percentage = Math.min(percentage, 1);\n this.elements[type].style[direction] = percentage * 100 + '%';\n }\n },\n {\n key: 'get',\n value: function get(type, direction) {\n return parseFloat(this.elements[type].style[direction]) / 100;\n }\n }\n ]);\n return Bar;\n}();\nexports.default = Bar;","'use strict';\nmodule.exports = false;\ntry {\n module.exports = Object.prototype.toString.call(global.process) === '[object process]';\n} catch (e) {\n}","'use strict';\nvar detectNode = require('detect-node');\nvar runtime = Object.create(detectNode ? global : window);\nvar ESCAPE_REG = /[\"&'<>]/;\nruntime.$escape = function (content) {\n return xmlEscape(toString(content));\n};\nruntime.$each = function (data, callback) {\n if (Array.isArray(data)) {\n for (var i = 0, len = data.length; i < len; i++) {\n callback(data[i], i);\n }\n } else {\n for (var _i in data) {\n callback(data[_i], _i);\n }\n }\n};\nfunction toString(value) {\n if (typeof value !== 'string') {\n if (value === undefined || value === null) {\n value = '';\n } else if (typeof value === 'function') {\n value = toString(value.call(value));\n } else {\n value = JSON.stringify(value);\n }\n }\n return value;\n}\n;\nfunction xmlEscape(content) {\n var html = '' + content;\n var regexResult = ESCAPE_REG.exec(html);\n if (!regexResult) {\n return content;\n }\n var result = '';\n var i = void 0, lastIndex = void 0, char = void 0;\n for (i = regexResult.index, lastIndex = 0; i < html.length; i++) {\n switch (html.charCodeAt(i)) {\n case 34:\n char = '"';\n break;\n case 38:\n char = '&';\n break;\n case 39:\n char = ''';\n break;\n case 60:\n char = '<';\n break;\n case 62:\n char = '>';\n break;\n default:\n continue;\n }\n if (lastIndex !== i) {\n result += html.substring(lastIndex, i);\n }\n lastIndex = i + 1;\n result += char;\n }\n if (lastIndex !== i) {\n return result + html.substring(lastIndex, i);\n } else {\n return result;\n }\n}\n;\nmodule.exports = runtime;","{{ if !options.fixed }}\n
    \n
    \n
    {{@ icons.play }}
    \n
    \n
    \n
    \n No audio\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n {{@ icons.loading }}\n \n
    \n
    \n
    \n
    \n \n 00:00 / 00:00\n \n \n {{@ icons.skip }}\n \n \n {{@ icons.play }}\n \n \n {{@ icons.skip }}\n \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n {{ include './list-item.art' getObject({\n theme: options.theme,\n audio: options.audio,\n index: 1\n }) }}\n \n
    \n{{ else }}\n
    \n \n {{ include './list-item.art' getObject({\n theme: options.theme,\n audio: options.audio,\n index: 1\n }) }}\n \n
    \n
    \n
    \n
    {{@ icons.play }}
    \n
    \n
    \n
    \n No audio\n \n
    \n
    \n
    \n
    \n
    \n
    \n \n {{@ icons.loading }}\n \n
    \n
    \n
    \n
    \n \n 00:00 / 00:00\n \n \n {{@ icons.skip }}\n \n \n {{@ icons.play }}\n \n \n {{@ icons.skip }}\n \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n{{/if}}","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if ('value' in descriptor)\n descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps)\n defineProperties(Constructor.prototype, protoProps);\n if (staticProps)\n defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nvar _icons = require('./icons');\nvar _icons2 = _interopRequireDefault(_icons);\nvar _player = require('../template/player.art');\nvar _player2 = _interopRequireDefault(_player);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError('Cannot call a class as a function');\n }\n}\nvar Template = function () {\n function Template(options) {\n _classCallCheck(this, Template);\n this.container = options.container;\n this.options = options.options;\n this.randomOrder = options.randomOrder;\n this.init();\n }\n _createClass(Template, [{\n key: 'init',\n value: function init() {\n var cover = '';\n if (this.options.audio.length) {\n if (this.options.order === 'random') {\n cover = this.options.audio[this.randomOrder[0]].cover;\n } else {\n cover = this.options.audio[0].cover;\n }\n }\n this.container.innerHTML = (0, _player2.default)({\n options: this.options,\n icons: _icons2.default,\n cover: cover,\n getObject: function getObject(obj) {\n return obj;\n }\n });\n this.lrc = this.container.querySelector('.aplayer-lrc-contents');\n this.lrcWrap = this.container.querySelector('.aplayer-lrc');\n this.ptime = this.container.querySelector('.aplayer-ptime');\n this.info = this.container.querySelector('.aplayer-info');\n this.time = this.container.querySelector('.aplayer-time');\n this.barWrap = this.container.querySelector('.aplayer-bar-wrap');\n this.button = this.container.querySelector('.aplayer-button');\n this.body = this.container.querySelector('.aplayer-body');\n this.list = this.container.querySelector('.aplayer-list');\n this.listOl = this.container.querySelector('.aplayer-list ol');\n this.listCurs = this.container.querySelectorAll('.aplayer-list-cur');\n this.played = this.container.querySelector('.aplayer-played');\n this.loaded = this.container.querySelector('.aplayer-loaded');\n this.thumb = this.container.querySelector('.aplayer-thumb');\n this.volume = this.container.querySelector('.aplayer-volume');\n this.volumeBar = this.container.querySelector('.aplayer-volume-bar');\n this.volumeButton = this.container.querySelector('.aplayer-time button');\n this.volumeBarWrap = this.container.querySelector('.aplayer-volume-bar-wrap');\n this.loop = this.container.querySelector('.aplayer-icon-loop');\n this.order = this.container.querySelector('.aplayer-icon-order');\n this.menu = this.container.querySelector('.aplayer-icon-menu');\n this.pic = this.container.querySelector('.aplayer-pic');\n this.title = this.container.querySelector('.aplayer-title');\n this.author = this.container.querySelector('.aplayer-author');\n this.dtime = this.container.querySelector('.aplayer-dtime');\n this.notice = this.container.querySelector('.aplayer-notice');\n this.miniSwitcher = this.container.querySelector('.aplayer-miniswitcher');\n this.skipBackButton = this.container.querySelector('.aplayer-icon-back');\n this.skipForwardButton = this.container.querySelector('.aplayer-icon-forward');\n this.skipPlayButton = this.container.querySelector('.aplayer-icon-play');\n this.lrcButton = this.container.querySelector('.aplayer-icon-lrc');\n }\n }]);\n return Template;\n}();\nexports.default = Template;","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nexports.default = function (options) {\n var defaultOption = {\n container: options.element || document.getElementsByClassName('aplayer')[0],\n mini: options.narrow || options.fixed || false,\n fixed: false,\n autoplay: false,\n mutex: true,\n lrcType: options.showlrc || options.lrc || 0,\n preload: 'auto',\n theme: '#b7daff',\n loop: 'all',\n order: 'list',\n volume: 0.7,\n listFolded: options.fixed,\n listMaxHeight: options.listmaxheight || '250px',\n audio: options.music || [],\n storageName: 'aplayer-setting'\n };\n for (var defaultKey in defaultOption) {\n if (defaultOption.hasOwnProperty(defaultKey) && !options.hasOwnProperty(defaultKey)) {\n options[defaultKey] = defaultOption[defaultKey];\n }\n }\n if (Object.prototype.toString.call(options.audio) !== '[object Array]') {\n options.audio = [options.audio];\n }\n options.audio.map(function (item) {\n item.name = item.name || item.title || 'Audio name';\n item.artist = item.artist || item.author || 'Audio artist';\n item.cover = item.cover || item.pic;\n item.type = item.type || 'normal';\n return item;\n });\n if (options.audio.length <= 1 && options.loop === 'one') {\n options.loop = 'all';\n }\n return options;\n};","module.exports = \"\"","module.exports = \"\"","module.exports = \"\"","module.exports = \"\"","module.exports = \"\"","module.exports = \"\"","module.exports = \"\"","module.exports = \"\"","module.exports = \"\"","module.exports = \"\"","module.exports = \"\"","module.exports = \"\"","module.exports = \"\"","module.exports = \"\"","module.exports = \"\"","'use strict';\nvar process = module.exports = {};\nvar cachedSetTimeout;\nvar cachedClearTimeout;\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout() {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n}());\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n return setTimeout(fun, 0);\n }\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n return cachedSetTimeout(fun, 0);\n } catch (e) {\n try {\n return cachedSetTimeout.call(null, fun, 0);\n } catch (e) {\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n return clearTimeout(marker);\n }\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n return cachedClearTimeout(marker);\n } catch (e) {\n try {\n return cachedClearTimeout.call(null, marker);\n } catch (e) {\n return cachedClearTimeout.call(this, marker);\n }\n }\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n var len = queue.length;\n while (len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = '';\nprocess.versions = {};\nfunction noop() {\n}\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\nprocess.listeners = function (name) {\n return [];\n};\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\nprocess.cwd = function () {\n return '/';\n};\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function () {\n return 0;\n};","'use strict';\n(function (global, undefined) {\n 'use strict';\n if (global.setImmediate) {\n return;\n }\n var nextHandle = 1;\n var tasksByHandle = {};\n var currentlyRunningATask = false;\n var doc = global.document;\n var registerImmediate;\n function setImmediate(callback) {\n if (typeof callback !== 'function') {\n callback = new Function('' + callback);\n }\n var args = new Array(arguments.length - 1);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i + 1];\n }\n var task = {\n callback: callback,\n args: args\n };\n tasksByHandle[nextHandle] = task;\n registerImmediate(nextHandle);\n return nextHandle++;\n }\n function clearImmediate(handle) {\n delete tasksByHandle[handle];\n }\n function run(task) {\n var callback = task.callback;\n var args = task.args;\n switch (args.length) {\n case 0:\n callback();\n break;\n case 1:\n callback(args[0]);\n break;\n case 2:\n callback(args[0], args[1]);\n break;\n case 3:\n callback(args[0], args[1], args[2]);\n break;\n default:\n callback.apply(undefined, args);\n break;\n }\n }\n function runIfPresent(handle) {\n if (currentlyRunningATask) {\n setTimeout(runIfPresent, 0, handle);\n } else {\n var task = tasksByHandle[handle];\n if (task) {\n currentlyRunningATask = true;\n try {\n run(task);\n } finally {\n clearImmediate(handle);\n currentlyRunningATask = false;\n }\n }\n }\n }\n function installNextTickImplementation() {\n registerImmediate = function registerImmediate(handle) {\n process.nextTick(function () {\n runIfPresent(handle);\n });\n };\n }\n function canUsePostMessage() {\n if (global.postMessage && !global.importScripts) {\n var postMessageIsAsynchronous = true;\n var oldOnMessage = global.onmessage;\n global.onmessage = function () {\n postMessageIsAsynchronous = false;\n };\n global.postMessage('', '*');\n global.onmessage = oldOnMessage;\n return postMessageIsAsynchronous;\n }\n }\n function installPostMessageImplementation() {\n var messagePrefix = 'setImmediate$' + Math.random() + '$';\n var onGlobalMessage = function onGlobalMessage(event) {\n if (event.source === global && typeof event.data === 'string' && event.data.indexOf(messagePrefix) === 0) {\n runIfPresent(+event.data.slice(messagePrefix.length));\n }\n };\n if (global.addEventListener) {\n global.addEventListener('message', onGlobalMessage, false);\n } else {\n global.attachEvent('onmessage', onGlobalMessage);\n }\n registerImmediate = function registerImmediate(handle) {\n global.postMessage(messagePrefix + handle, '*');\n };\n }\n function installMessageChannelImplementation() {\n var channel = new MessageChannel();\n channel.port1.onmessage = function (event) {\n var handle = event.data;\n runIfPresent(handle);\n };\n registerImmediate = function registerImmediate(handle) {\n channel.port2.postMessage(handle);\n };\n }\n function installReadyStateChangeImplementation() {\n var html = doc.documentElement;\n registerImmediate = function registerImmediate(handle) {\n var script = doc.createElement('script');\n script.onreadystatechange = function () {\n runIfPresent(handle);\n script.onreadystatechange = null;\n html.removeChild(script);\n script = null;\n };\n html.appendChild(script);\n };\n }\n function installSetTimeoutImplementation() {\n registerImmediate = function registerImmediate(handle) {\n setTimeout(runIfPresent, 0, handle);\n };\n }\n var attachTo = Object.getPrototypeOf && Object.getPrototypeOf(global);\n attachTo = attachTo && attachTo.setTimeout ? attachTo : global;\n if ({}.toString.call(global.process) === '[object process]') {\n installNextTickImplementation();\n } else if (canUsePostMessage()) {\n installPostMessageImplementation();\n } else if (global.MessageChannel) {\n installMessageChannelImplementation();\n } else if (doc && 'onreadystatechange' in doc.createElement('script')) {\n installReadyStateChangeImplementation();\n } else {\n installSetTimeoutImplementation();\n }\n attachTo.setImmediate = setImmediate;\n attachTo.clearImmediate = clearImmediate;\n}(typeof self === 'undefined' ? typeof global === 'undefined' ? undefined : global : self));","'use strict';\nvar apply = Function.prototype.apply;\nexports.setTimeout = function () {\n return new Timeout(apply.call(setTimeout, window, arguments), clearTimeout);\n};\nexports.setInterval = function () {\n return new Timeout(apply.call(setInterval, window, arguments), clearInterval);\n};\nexports.clearTimeout = exports.clearInterval = function (timeout) {\n if (timeout) {\n timeout.close();\n }\n};\nfunction Timeout(id, clearFn) {\n this._id = id;\n this._clearFn = clearFn;\n}\nTimeout.prototype.unref = Timeout.prototype.ref = function () {\n};\nTimeout.prototype.close = function () {\n this._clearFn.call(window, this._id);\n};\nexports.enroll = function (item, msecs) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = msecs;\n};\nexports.unenroll = function (item) {\n clearTimeout(item._idleTimeoutId);\n item._idleTimeout = -1;\n};\nexports._unrefActive = exports.active = function (item) {\n clearTimeout(item._idleTimeoutId);\n var msecs = item._idleTimeout;\n if (msecs >= 0) {\n item._idleTimeoutId = setTimeout(function onTimeout() {\n if (item._onTimeout)\n item._onTimeout();\n }, msecs);\n }\n};\nrequire('setimmediate');\nexports.setImmediate = setImmediate;\nexports.clearImmediate = clearImmediate;","'use strict';\nvar _typeof = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === 'function' && obj.constructor === Symbol && obj !== Symbol.prototype ? 'symbol' : typeof obj;\n};\nvar setTimeoutFunc = setTimeout;\nfunction noop() {\n}\nfunction bind(fn, thisArg) {\n return function () {\n fn.apply(thisArg, arguments);\n };\n}\nfunction Promise(fn) {\n if (!(this instanceof Promise))\n throw new TypeError('Promises must be constructed via new');\n if (typeof fn !== 'function')\n throw new TypeError('not a function');\n this._state = 0;\n this._handled = false;\n this._value = undefined;\n this._deferreds = [];\n doResolve(fn, this);\n}\nfunction handle(self, deferred) {\n while (self._state === 3) {\n self = self._value;\n }\n if (self._state === 0) {\n self._deferreds.push(deferred);\n return;\n }\n self._handled = true;\n Promise._immediateFn(function () {\n var cb = self._state === 1 ? deferred.onFulfilled : deferred.onRejected;\n if (cb === null) {\n (self._state === 1 ? resolve : reject)(deferred.promise, self._value);\n return;\n }\n var ret;\n try {\n ret = cb(self._value);\n } catch (e) {\n reject(deferred.promise, e);\n return;\n }\n resolve(deferred.promise, ret);\n });\n}\nfunction resolve(self, newValue) {\n try {\n if (newValue === self)\n throw new TypeError('A promise cannot be resolved with itself.');\n if (newValue && ((typeof newValue === 'undefined' ? 'undefined' : _typeof(newValue)) === 'object' || typeof newValue === 'function')) {\n var then = newValue.then;\n if (newValue instanceof Promise) {\n self._state = 3;\n self._value = newValue;\n finale(self);\n return;\n } else if (typeof then === 'function') {\n doResolve(bind(then, newValue), self);\n return;\n }\n }\n self._state = 1;\n self._value = newValue;\n finale(self);\n } catch (e) {\n reject(self, e);\n }\n}\nfunction reject(self, newValue) {\n self._state = 2;\n self._value = newValue;\n finale(self);\n}\nfunction finale(self) {\n if (self._state === 2 && self._deferreds.length === 0) {\n Promise._immediateFn(function () {\n if (!self._handled) {\n Promise._unhandledRejectionFn(self._value);\n }\n });\n }\n for (var i = 0, len = self._deferreds.length; i < len; i++) {\n handle(self, self._deferreds[i]);\n }\n self._deferreds = null;\n}\nfunction Handler(onFulfilled, onRejected, promise) {\n this.onFulfilled = typeof onFulfilled === 'function' ? onFulfilled : null;\n this.onRejected = typeof onRejected === 'function' ? onRejected : null;\n this.promise = promise;\n}\nfunction doResolve(fn, self) {\n var done = false;\n try {\n fn(function (value) {\n if (done)\n return;\n done = true;\n resolve(self, value);\n }, function (reason) {\n if (done)\n return;\n done = true;\n reject(self, reason);\n });\n } catch (ex) {\n if (done)\n return;\n done = true;\n reject(self, ex);\n }\n}\nPromise.prototype['catch'] = function (onRejected) {\n return this.then(null, onRejected);\n};\nPromise.prototype.then = function (onFulfilled, onRejected) {\n var prom = new this.constructor(noop);\n handle(this, new Handler(onFulfilled, onRejected, prom));\n return prom;\n};\nPromise.prototype['finally'] = function (callback) {\n var constructor = this.constructor;\n return this.then(function (value) {\n return constructor.resolve(callback()).then(function () {\n return value;\n });\n }, function (reason) {\n return constructor.resolve(callback()).then(function () {\n return constructor.reject(reason);\n });\n });\n};\nPromise.all = function (arr) {\n return new Promise(function (resolve, reject) {\n if (!arr || typeof arr.length === 'undefined')\n throw new TypeError('Promise.all accepts an array');\n var args = Array.prototype.slice.call(arr);\n if (args.length === 0)\n return resolve([]);\n var remaining = args.length;\n function res(i, val) {\n try {\n if (val && ((typeof val === 'undefined' ? 'undefined' : _typeof(val)) === 'object' || typeof val === 'function')) {\n var then = val.then;\n if (typeof then === 'function') {\n then.call(val, function (val) {\n res(i, val);\n }, reject);\n return;\n }\n }\n args[i] = val;\n if (--remaining === 0) {\n resolve(args);\n }\n } catch (ex) {\n reject(ex);\n }\n }\n for (var i = 0; i < args.length; i++) {\n res(i, args[i]);\n }\n });\n};\nPromise.resolve = function (value) {\n if (value && (typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object' && value.constructor === Promise) {\n return value;\n }\n return new Promise(function (resolve) {\n resolve(value);\n });\n};\nPromise.reject = function (value) {\n return new Promise(function (resolve, reject) {\n reject(value);\n });\n};\nPromise.race = function (values) {\n return new Promise(function (resolve, reject) {\n for (var i = 0, len = values.length; i < len; i++) {\n values[i].then(resolve, reject);\n }\n });\n};\nPromise._immediateFn = typeof setImmediate === 'function' && function (fn) {\n setImmediate(fn);\n} || function (fn) {\n setTimeoutFunc(fn, 0);\n};\nPromise._unhandledRejectionFn = function _unhandledRejectionFn(err) {\n if (typeof console !== 'undefined' && console) {\n console.warn('Possible Unhandled Promise Rejection:', err);\n }\n};\nmodule.exports = Promise;","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nvar _createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if ('value' in descriptor)\n descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function (Constructor, protoProps, staticProps) {\n if (protoProps)\n defineProperties(Constructor.prototype, protoProps);\n if (staticProps)\n defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\nvar _promisePolyfill = require('promise-polyfill');\nvar _promisePolyfill2 = _interopRequireDefault(_promisePolyfill);\nvar _utils = require('./utils');\nvar _utils2 = _interopRequireDefault(_utils);\nvar _icons = require('./icons');\nvar _icons2 = _interopRequireDefault(_icons);\nvar _options = require('./options');\nvar _options2 = _interopRequireDefault(_options);\nvar _template = require('./template');\nvar _template2 = _interopRequireDefault(_template);\nvar _bar = require('./bar');\nvar _bar2 = _interopRequireDefault(_bar);\nvar _storage = require('./storage');\nvar _storage2 = _interopRequireDefault(_storage);\nvar _lrc = require('./lrc');\nvar _lrc2 = _interopRequireDefault(_lrc);\nvar _controller = require('./controller');\nvar _controller2 = _interopRequireDefault(_controller);\nvar _timer = require('./timer');\nvar _timer2 = _interopRequireDefault(_timer);\nvar _events = require('./events');\nvar _events2 = _interopRequireDefault(_events);\nvar _list = require('./list');\nvar _list2 = _interopRequireDefault(_list);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\nfunction _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError('Cannot call a class as a function');\n }\n}\nvar instances = [];\nvar APlayer = function () {\n function APlayer(options) {\n _classCallCheck(this, APlayer);\n this.options = (0, _options2.default)(options);\n this.container = this.options.container;\n this.paused = true;\n this.playedPromise = _promisePolyfill2.default.resolve();\n this.mode = 'normal';\n this.randomOrder = _utils2.default.randomOrder(this.options.audio.length);\n this.container.classList.add('aplayer');\n if (this.options.lrcType && !this.options.fixed) {\n this.container.classList.add('aplayer-withlrc');\n }\n if (this.options.audio.length > 1) {\n this.container.classList.add('aplayer-withlist');\n }\n if (_utils2.default.isMobile) {\n this.container.classList.add('aplayer-mobile');\n }\n this.arrow = this.container.offsetWidth <= 300;\n if (this.arrow) {\n this.container.classList.add('aplayer-arrow');\n }\n this.container = this.options.container;\n if (this.options.lrcType === 2 || this.options.lrcType === true) {\n var lrcEle = this.container.getElementsByClassName('aplayer-lrc-content');\n for (var i = 0; i < lrcEle.length; i++) {\n if (this.options.audio[i]) {\n this.options.audio[i].lrc = lrcEle[i].innerHTML;\n }\n }\n }\n this.template = new _template2.default({\n container: this.container,\n options: this.options,\n randomOrder: this.randomOrder\n });\n if (this.options.fixed) {\n this.container.classList.add('aplayer-fixed');\n this.template.body.style.width = this.template.body.offsetWidth - 18 + 'px';\n }\n if (this.options.mini) {\n this.setMode('mini');\n this.template.info.style.display = 'block';\n }\n if (this.template.info.offsetWidth < 200) {\n this.template.time.classList.add('aplayer-time-narrow');\n }\n if (this.options.lrcType) {\n this.lrc = new _lrc2.default({\n container: this.template.lrc,\n async: this.options.lrcType === 3,\n player: this\n });\n }\n this.events = new _events2.default();\n this.storage = new _storage2.default(this);\n this.bar = new _bar2.default(this.template);\n this.controller = new _controller2.default(this);\n this.timer = new _timer2.default(this);\n this.list = new _list2.default(this);\n this.initAudio();\n this.bindEvents();\n if (this.options.order === 'random') {\n this.list.switch(this.randomOrder[0]);\n } else {\n this.list.switch(0);\n }\n if (this.options.autoplay) {\n this.play();\n }\n instances.push(this);\n }\n _createClass(APlayer, [\n {\n key: 'initAudio',\n value: function initAudio() {\n var _this = this;\n this.audio = document.createElement('audio');\n this.audio.preload = this.options.preload;\n var _loop = function _loop(i) {\n _this.audio.addEventListener(_this.events.audioEvents[i], function (e) {\n _this.events.trigger(_this.events.audioEvents[i], e);\n });\n };\n for (var i = 0; i < this.events.audioEvents.length; i++) {\n _loop(i);\n }\n this.volume(this.storage.get('volume'), true);\n }\n },\n {\n key: 'bindEvents',\n value: function bindEvents() {\n var _this2 = this;\n this.on('play', function () {\n if (_this2.paused) {\n _this2.setUIPlaying();\n }\n });\n this.on('pause', function () {\n if (!_this2.paused) {\n _this2.setUIPaused();\n }\n });\n this.on('timeupdate', function () {\n if (!_this2.disableTimeupdate) {\n _this2.bar.set('played', _this2.audio.currentTime / _this2.duration, 'width');\n _this2.lrc && _this2.lrc.update();\n var currentTime = _utils2.default.secondToTime(_this2.audio.currentTime);\n if (_this2.template.ptime.innerHTML !== currentTime) {\n _this2.template.ptime.innerHTML = currentTime;\n }\n }\n });\n this.on('durationchange', function () {\n if (_this2.duration !== 1) {\n _this2.template.dtime.innerHTML = _utils2.default.secondToTime(_this2.duration);\n }\n });\n this.on('progress', function () {\n var percentage = _this2.audio.buffered.length ? _this2.audio.buffered.end(_this2.audio.buffered.length - 1) / _this2.duration : 0;\n _this2.bar.set('loaded', percentage, 'width');\n });\n var skipTime = void 0;\n this.on('error', function () {\n if (_this2.list.audios.length > 1) {\n _this2.notice('An audio error has occurred, player will skip forward in 2 seconds.');\n skipTime = setTimeout(function () {\n _this2.skipForward();\n if (!_this2.paused) {\n _this2.play();\n }\n }, 2000);\n } else if (_this2.list.audios.length === 1) {\n _this2.notice('An audio error has occurred.');\n }\n });\n this.events.on('listswitch', function () {\n skipTime && clearTimeout(skipTime);\n });\n this.on('ended', function () {\n if (_this2.options.loop === 'none') {\n if (_this2.options.order === 'list') {\n if (_this2.list.index < _this2.list.audios.length - 1) {\n _this2.list.switch((_this2.list.index + 1) % _this2.list.audios.length);\n _this2.play();\n } else {\n _this2.list.switch((_this2.list.index + 1) % _this2.list.audios.length);\n _this2.pause();\n }\n } else if (_this2.options.order === 'random') {\n if (_this2.randomOrder.indexOf(_this2.list.index) < _this2.randomOrder.length - 1) {\n _this2.list.switch(_this2.nextIndex());\n _this2.play();\n } else {\n _this2.list.switch(_this2.nextIndex());\n _this2.pause();\n }\n }\n } else if (_this2.options.loop === 'one') {\n _this2.list.switch(_this2.list.index);\n _this2.play();\n } else if (_this2.options.loop === 'all') {\n _this2.skipForward();\n _this2.play();\n }\n });\n }\n },\n {\n key: 'setAudio',\n value: function setAudio(audio) {\n if (this.hls) {\n this.hls.destroy();\n this.hls = null;\n }\n var type = audio.type;\n if (this.options.customAudioType && this.options.customAudioType[type]) {\n if (Object.prototype.toString.call(this.options.customAudioType[type]) === '[object Function]') {\n this.options.customAudioType[type](this.audio, audio, this);\n } else {\n console.error('Illegal customType: ' + type);\n }\n } else {\n if (!type || type === 'auto') {\n if (/m3u8(#|\\?|$)/i.exec(audio.url)) {\n type = 'hls';\n } else {\n type = 'normal';\n }\n }\n if (type === 'hls') {\n if (Hls.isSupported()) {\n this.hls = new Hls();\n this.hls.loadSource(audio.url);\n this.hls.attachMedia(this.audio);\n } else if (this.audio.canPlayType('application/x-mpegURL') || this.audio.canPlayType('application/vnd.apple.mpegURL')) {\n this.audio.src = audio.url;\n } else {\n this.notice('Error: HLS is not supported.');\n }\n } else if (type === 'normal') {\n this.audio.src = audio.url;\n }\n }\n this.seek(0);\n if (!this.paused) {\n this.audio.play();\n }\n }\n },\n {\n key: 'theme',\n value: function theme() {\n var color = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.list.audios[this.list.index].theme || this.options.theme;\n var index = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.list.index;\n var isReset = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n if (isReset) {\n this.list.audios[index] && (this.list.audios[index].theme = color);\n }\n this.template.listCurs[index] && (this.template.listCurs[index].style.backgroundColor = color);\n if (index === this.list.index) {\n this.template.pic.style.backgroundColor = color;\n this.template.played.style.background = color;\n this.template.thumb.style.background = color;\n this.template.volume.style.background = color;\n }\n }\n },\n {\n key: 'seek',\n value: function seek(time) {\n time = Math.max(time, 0);\n time = Math.min(time, this.duration);\n this.audio.currentTime = time;\n this.bar.set('played', time / this.duration, 'width');\n this.template.ptime.innerHTML = _utils2.default.secondToTime(time);\n }\n },\n {\n key: 'setUIPlaying',\n value: function setUIPlaying() {\n var _this3 = this;\n if (this.paused) {\n this.paused = false;\n this.template.button.classList.remove('aplayer-play');\n this.template.button.classList.add('aplayer-pause');\n this.template.button.innerHTML = '';\n setTimeout(function () {\n _this3.template.button.innerHTML = _icons2.default.pause;\n }, 100);\n this.template.skipPlayButton.innerHTML = _icons2.default.pause;\n }\n this.timer.enable('loading');\n if (this.options.mutex) {\n for (var i = 0; i < instances.length; i++) {\n if (this !== instances[i]) {\n instances[i].pause();\n }\n }\n }\n }\n },\n {\n key: 'play',\n value: function play() {\n var _this4 = this;\n this.setUIPlaying();\n var playPromise = this.audio.play();\n if (playPromise) {\n playPromise.catch(function (e) {\n console.warn(e);\n if (e.name === 'NotAllowedError') {\n _this4.setUIPaused();\n }\n });\n }\n }\n },\n {\n key: 'setUIPaused',\n value: function setUIPaused() {\n var _this5 = this;\n if (!this.paused) {\n this.paused = true;\n this.template.button.classList.remove('aplayer-pause');\n this.template.button.classList.add('aplayer-play');\n this.template.button.innerHTML = '';\n setTimeout(function () {\n _this5.template.button.innerHTML = _icons2.default.play;\n }, 100);\n this.template.skipPlayButton.innerHTML = _icons2.default.play;\n }\n this.container.classList.remove('aplayer-loading');\n this.timer.disable('loading');\n }\n },\n {\n key: 'pause',\n value: function pause() {\n this.setUIPaused();\n this.audio.pause();\n }\n },\n {\n key: 'switchVolumeIcon',\n value: function switchVolumeIcon() {\n if (this.volume() >= 0.95) {\n this.template.volumeButton.innerHTML = _icons2.default.volumeUp;\n } else if (this.volume() > 0) {\n this.template.volumeButton.innerHTML = _icons2.default.volumeDown;\n } else {\n this.template.volumeButton.innerHTML = _icons2.default.volumeOff;\n }\n }\n },\n {\n key: 'volume',\n value: function volume(percentage, nostorage) {\n percentage = parseFloat(percentage);\n if (!isNaN(percentage)) {\n percentage = Math.max(percentage, 0);\n percentage = Math.min(percentage, 1);\n this.bar.set('volume', percentage, 'height');\n if (!nostorage) {\n this.storage.set('volume', percentage);\n }\n this.audio.volume = percentage;\n if (this.audio.muted) {\n this.audio.muted = false;\n }\n this.switchVolumeIcon();\n }\n return this.audio.muted ? 0 : this.audio.volume;\n }\n },\n {\n key: 'on',\n value: function on(name, callback) {\n this.events.on(name, callback);\n }\n },\n {\n key: 'toggle',\n value: function toggle() {\n if (this.template.button.classList.contains('aplayer-play')) {\n this.play();\n } else if (this.template.button.classList.contains('aplayer-pause')) {\n this.pause();\n }\n }\n },\n {\n key: 'switchAudio',\n value: function switchAudio(index) {\n this.list.switch(index);\n }\n },\n {\n key: 'addAudio',\n value: function addAudio(audios) {\n this.list.add(audios);\n }\n },\n {\n key: 'removeAudio',\n value: function removeAudio(index) {\n this.list.remove(index);\n }\n },\n {\n key: 'destroy',\n value: function destroy() {\n instances.splice(instances.indexOf(this), 1);\n this.pause();\n this.container.innerHTML = '';\n this.audio.src = '';\n this.timer.destroy();\n this.events.trigger('destroy');\n }\n },\n {\n key: 'setMode',\n value: function setMode() {\n var mode = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'normal';\n this.mode = mode;\n if (mode === 'mini') {\n this.container.classList.add('aplayer-narrow');\n } else if (mode === 'normal') {\n this.container.classList.remove('aplayer-narrow');\n }\n }\n },\n {\n key: 'notice',\n value: function notice(text) {\n var _this6 = this;\n var time = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2000;\n var opacity = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0.8;\n this.template.notice.innerHTML = text;\n this.template.notice.style.opacity = opacity;\n if (this.noticeTime) {\n clearTimeout(this.noticeTime);\n }\n this.events.trigger('noticeshow', { text: text });\n if (time) {\n this.noticeTime = setTimeout(function () {\n _this6.template.notice.style.opacity = 0;\n _this6.events.trigger('noticehide');\n }, time);\n }\n }\n },\n {\n key: 'prevIndex',\n value: function prevIndex() {\n if (this.list.audios.length > 1) {\n if (this.options.order === 'list') {\n return this.list.index - 1 < 0 ? this.list.audios.length - 1 : this.list.index - 1;\n } else if (this.options.order === 'random') {\n var index = this.randomOrder.indexOf(this.list.index);\n if (index === 0) {\n return this.randomOrder[this.randomOrder.length - 1];\n } else {\n return this.randomOrder[index - 1];\n }\n }\n } else {\n return 0;\n }\n }\n },\n {\n key: 'nextIndex',\n value: function nextIndex() {\n if (this.list.audios.length > 1) {\n if (this.options.order === 'list') {\n return (this.list.index + 1) % this.list.audios.length;\n } else if (this.options.order === 'random') {\n var index = this.randomOrder.indexOf(this.list.index);\n if (index === this.randomOrder.length - 1) {\n return this.randomOrder[0];\n } else {\n return this.randomOrder[index + 1];\n }\n }\n } else {\n return 0;\n }\n }\n },\n {\n key: 'skipBack',\n value: function skipBack() {\n this.list.switch(this.prevIndex());\n }\n },\n {\n key: 'skipForward',\n value: function skipForward() {\n this.list.switch(this.nextIndex());\n }\n },\n {\n key: 'duration',\n get: function get() {\n return isNaN(this.audio.duration) ? 0 : this.audio.duration;\n }\n }\n ], [{\n key: 'version',\n get: function get() {\n return APLAYER_VERSION;\n }\n }]);\n return APlayer;\n}();\nexports.default = APlayer;","'use strict';\nObject.defineProperty(exports, '__esModule', { value: true });\nrequire('../css/index.scss');\nvar _player = require('./player');\nvar _player2 = _interopRequireDefault(_player);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : { default: obj };\n}\nconsole.log('\\n' + ' %c APlayer v' + APLAYER_VERSION + ' ' + GIT_HASH + ' %c http://aplayer.js.org ' + '\\n', 'color: #fadfa3; background: #030307; padding:5px 0;', 'background: #fadfa3; padding:5px 0;');\nexports.default = _player2.default;"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/music.js b/dist/music.js deleted file mode 100644 index d0822794d0d5a3faa661effa4b417e7bcf7b9ed1..0000000000000000000000000000000000000000 --- a/dist/music.js +++ /dev/null @@ -1,55 +0,0 @@ -const ap = new APlayer({ - container: document.getElementById('aplayer'), - autoplay: true, //自动播放 - theme: '#FF69B4', //主题色 - loop: 'all', //音频循环播放, 可选值: 'all'全部循环, 'one'单曲循环, 'none'不循环 - order: 'list', //音频循环顺序, 可选值: 'list'列表循环, 'random'随机循环 - preload: 'auto', //预加载,可选值: 'none', 'metadata', 'auto' - volume: 0.7, //默认音量,请注意播放器会记忆用户设置,用户手动设置音量后默认音量即失效 - mutex: true, //互斥,阻止多个播放器同时播放,当前播放器播放时暂停其他播放器 - fixed: true, - lrcType: 2,//歌词传递方式 - audio: [ - { - name: '我乐意', - artist: '许嵩', - lrc: '[ti:我乐意]\n[ar:许嵩]\n[al:我乐意]\n[by:天龙888]\n[00:00.00]许嵩 - 我乐意\n[00:01.28]作词:许嵩\n[00:01.93]作曲:许嵩\n[00:02.60]编曲:蔡廷贵、许嵩\n[00:03.81]制作人:许嵩\n[00:04.67]和声编写:许嵩\n[00:05.63]和声:许嵩\n[00:06.30]录音师:许嵩\n[00:07.15]混音师:许嵩\n[00:07.97]母带处理工程:许嵩\n[00:08.97]LRC歌词制作:LOVE109❤️纪实小屋\n[00:10.97]❤️ www.love109.cn ❤️\n[00:13.94]潇洒如我\n[00:14.75]最近却变得有点敏感\n[00:18.24]半小时收不到你讯息\n[00:20.72]就会坐立不安\n[00:22.80]都说别爱的太满\n[00:25.31]这道理知易行难\n[00:27.31]我还挺乐意享受\n[00:29.19]这份甜中微酸\n[00:31.72]你的笑像西瓜最中间\n[00:34.21]那一勺的口感\n[00:36.18]点亮了一整个夏天\n[00:38.37]星空也为你斑斓\n[00:40.70]我不会深情款款\n[00:42.98]上演什么套路桥段\n[00:45.12]我的爱纯粹简单\n[00:50.93]我乐意站在你身后\n[00:53.11]把你揽在胸口\n[00:55.18]低头看你素净的脸颊粉红\n[00:59.91]我乐意把着你的手\n[01:02.95]心猿意马弹奏\n[01:04.22]每颗音符里都有幸福闪动\n[01:08.73]我乐意守在你左右\n[01:11.23]为你挡雨遮风\n[01:13.20]今后的路我陪你一起走过\n[01:17.57]我乐意把自己奉送\n[01:20.00]做你独家宇宙\n[01:22.23]抱着你旁若无人尽情舞动\n[01:32.41]你的笑像西瓜最中间\n[01:34.74]那一勺的口感\n[01:36.82]点亮了一整个夏天\n[01:38.94]星空也为你斑斓\n[01:41.22]我不会深情款款\n[01:43.14]上演什么套路桥段\n[01:45.67]我的爱纯粹简单\n[01:51.31]我乐意站在你身后\n[01:53.69]把你揽在胸口\n[01:55.77]低头看你素净的脸颊粉红\n[02:00.43]我乐意把着你的手\n[02:02.67]心猿意马弹奏\n[02:04.75]每颗音符里都有幸福闪动\n[02:09.22]我乐意守在你左右\n[02:11.56]为你挡雨遮风\n[02:13.74]今后的路我陪你一起走过\n[02:18.11]我乐意把自己奉送\n[02:20.60]做你独家宇宙\n[02:22.78]抱着你旁若无人尽情舞动\n[02:30.81]我非常乐意\n[02:32.49]为你做任何任何的事情\n[02:36.39]你说只要求我\n[02:37.50]每天过得开心\n[02:39.78]我非常乐意\n[02:41.40]陪你到任何任何地方去\n[02:45.51]你说今年秋天想去趟南极\n[02:48.70]我非常乐意看着你的眼睛\n[02:52.96]落俗而真诚的\n[02:55.45]说出那一句我爱你\n[03:05.53]我乐意站在你身后\n[03:07.66]把你揽在胸口\n[03:09.85]低头看你素净的脸颊粉红\n[03:14.30]我乐意把着你的手\n[03:16.68]心猿意马弹奏\n[03:18.81]每颗音符里都有幸福闪动\n[03:23.18]我乐意守在你左右\n[03:25.61]为你挡雨遮风\n[03:27.74]今后的路我陪你一起走过\n[03:32.20]我乐意把自己奉送\n[03:34.63]做你独家宇宙\n[03:36.82]抱着你旁若无人尽情舞动\n[03:41.24]我乐意守在你左右\n[03:43.62]为你挡雨遮风\n[03:45.75]今后的路我陪你一起走过\n[03:50.13]我乐意把自己奉送\n[03:52.57]做你独家宇宙\n[03:54.90]抱着你旁若无人尽情舞动\n', - url: 'http://www.ytmp3.cn/down/48682.mp3', - cover: 'https://p2.music.126.net/dwvPvZ3HL_nzRoZHJP_KJw==/109951163261278540.jpg?param=130y130', - }, - { - name: '恶魔的爱', - artist: '李宏毅/李明霖', - url: 'http://www.ytmp3.cn/down/36971.mp3', - cover: 'https://p1.music.126.net/paLaPUorjlzdWYZ-HHPPxg==/19223861300040992.jpg?param=130y130', - }, - { - name: '咱们结婚吧', - artist: '齐晨', - lrc: '[ti:咱们结婚吧]\n[ar:齐晨]\n[al:咱们结婚吧]\n[by:听风细雨]\n[00:00.00]咱们结婚吧\n[00:02.00]作词:Jane欢欢/张维\n[00:06.00]作曲:高磊\n[00:08.00]演唱:齐晨\n[00:13.69]发行:黑眼睛文化\n[00:15.00]LRC歌词制作:LOVE109❤️纪实小屋\n[00:17.00]❤️ www.love109.cn ❤️\n[00:19.45]洁白的婚纱 手捧着鲜花\n[00:23.94]美丽得像童话\n[00:28.11]想起那年初夏 我为你牵挂\n[00:32.44]在一起就犯傻\n[00:34.91]丘比特轻轻飞过月光下\n[00:39.25]潘多拉她听到了回答\n[00:43.61]礼堂钟声 在敲打 幸福的密码\n[00:52.43]哦 My Love 咱们结婚吧\n[00:56.95]好想和你拥有一个家\n[01:00.87]这一生最美的梦啊\n[01:05.53]有你陪伴我同闯天涯\n[01:09.50]哦 My Love 咱们结婚吧\n[01:14.10]我会用一生去爱你的\n[01:18.50]我愿把一切都放下\n[01:22.99]给你幸福的家\n[01:27.40]\n[01:47.31]洁白的婚纱 手捧着鲜花\n[01:51.78]美丽得像童话\n[01:56.03]想起那年初夏 我为你牵挂\n[02:00.41]在一起就犯傻\n[02:02.60]丘比特轻轻飞过月光下\n[02:07.27]潘多拉她听到了回答\n[02:11.46]礼堂钟声 在敲打 幸福的密码\n[02:20.19]哦 My Love 咱们结婚吧\n[02:24.85]好想和你拥有一个家\n[02:28.77]这一生最美的梦啊\n[02:33.39]有你陪伴我同闯天涯\n[02:37.35]哦 My Love 咱们结婚吧\n[02:41.97]我会用一生去爱你的\n[02:46.31]我愿把一切都放下\n[02:50.80]给你幸福的家\n[02:54.88]\n[02:56.46]哦 My Love 咱们结婚吧\n[03:01.30]好想和你拥有一个家\n[03:05.21]这一生最美的梦啊\n[03:09.92]有你陪伴我同闯天涯\n[03:13.77]哦 My Love 咱们结婚吧\n[03:18.38]我会用一生去爱你的\n[03:22.66]我愿把一切都放下\n[03:27.35]给你幸福的家\n[03:31.01]\n', - url: 'http://www.ytmp3.cn/down/32874.mp3', - cover: 'https://p1.music.126.net/Hu18fnqGdPDjAEIidBeNLw==/5784530673779689.jpg?param=130y130', - }, - { - name: '最佳歌手', - artist: '许嵩', - lrc: '[ti:最佳歌手]\n[ar:许嵩]\n[al:]\n[by:果果1314]\n[00:00.00]最佳歌手 - 许嵩\n[00:00.35]词曲:许嵩\n[00:00.70]LRC歌词制作:LOVE109❤️纪实小屋\n[00:01.00]❤️ www.love109.cn ❤️\n[00:01.60]\n[00:02.17]我们最好的遇见\n[00:06.03]是现在这样的四月\n[00:10.26]柳絮抚着那条街\n[00:14.04]像大雪一样的热烈\n[00:18.13]你轻轻唱起我的歌\n[00:22.10]我受宠若惊的喜悦\n[00:26.34]绝佳的歌艺里面\n[00:29.85]多少故事做铺垫\n[00:34.27]\n[00:38.15]我们最好的告别\n[00:42.03]是现在这样没红眼\n[00:46.19]因你而起的一泓喜悲\n[00:49.62]权当年轻留个纪念\n[00:54.22]清晨回笼做了梦\n[00:57.95]你成明星开演唱会\n[01:02.28]场馆里歌迷很多\n[01:05.56]我被人潮推到尽头\n[01:10.07]你在台上唱着我的创作\n[01:14.07]布局谋篇像本悲情小说\n[01:18.13]你太擅长表演\n[01:21.27]表情淡漠反倒有催泪效果\n[01:26.10]我在台下已经开始感动\n[01:30.28]大屏幕里忽然给我镜头\n[01:34.51]微笑挥挥手多懂事的观众\n[01:42.63]\n[01:58.35]初见和告别之间\n[02:01.96]回想只剩星星点点\n[02:06.27]曾以为刻骨细节\n[02:09.92]在骨灰里面怎么捡\n[02:14.19]沿着环路兜一圈\n[02:17.91]循环放你唱过的歌\n[02:21.86]心里的舞台已启幕\n[02:25.54]主角登场引来掌声雷动\n[02:30.02]你在台上唱着我的创作\n[02:34.04]布局谋篇像本悲情小说\n[02:38.05]你太擅长表演\n[02:41.09]表情淡漠反倒有催泪效果\n[02:46.11]我在台下已经开始感动\n[02:49.99]大屏幕里忽然给我镜头\n[02:54.34]微笑挥挥手多懂事的观众\n[03:01.85]你在台上唱着我的创作\n[03:06.18]布局谋篇像本悲情小说\n[03:10.13]你太擅长表演\n[03:13.20]表情淡漠反倒有催泪效果\n[03:18.12]我在台下已经开始感动\n[03:22.06]整个世界全是你的镜头\n[03:26.53]听完这一首就理性的退后\n[03:34.83]\n[03:38.33]直到某一天碰面\n[03:41.97]在某家餐厅或商店\n[03:46.27]你挽着他和我擦肩还好\n[03:50.56]我手也有人牵\n[03:54.32]广播里响起的歌\n[03:57.93]是恍若隔世的注解\n[04:02.31]最佳歌手的头衔\n[04:05.55]大致上有了人选\n[04:10.18]最佳歌手的感言\n[04:14.33]记得要慢慢念\n[04:22.29]LRC歌词制作:LOVE109❤️纪实小屋\n[04:25.00]❤️ www.love109.cn ❤️\n[04:27.00]\n', - url: 'http://www.ytmp3.cn/down/50444.mp3', - cover: 'https://p1.music.126.net/Wcs2dbukFx3TUWkRuxVCpw==/3431575794705764.jpg?param=130y130', - }, - { - name: '白羊', - artist: '徐秉龙/沈以诚', - lrc: '[ti:白羊]\n[ar:沈以诚&徐秉龙]\n[al:]\n[by:果果1314]\n[00:00.00]徐秉龙、沈以诚 - 白羊\n[00:01.00]词:徐秉龙\n[00:02.00]曲:徐秉龙\n[00:03.00]\n[00:04.89]你有多少胜算\n[00:07.04]把我困在里面\n[00:09.13]你设计的城堡太糟糕\n[00:13.54]我一起飞就能逃跑\n[00:17.99]可你粲然一笑\n[00:20.09]我心事就潦草\n[00:22.56]你裙下的人间太美妙\n[00:27.39]好想把你一口气全部吃掉\n[00:32.34]\n[00:34.62]多热烈的白羊\n[00:36.80]多善良多抽象\n[00:39.12]多完美的她呀\n[00:41.16]却是下落不详\n[00:43.70]心好空荡\n[00:45.78]都快要失去形状\n[00:52.59]青春一记荒唐\n[00:54.85]亦然学着疯狂\n[00:57.17]这声色太张扬\n[00:59.35]这欢愉太理想\n[01:01.68]先熄灭心跳\n[01:04.32]才能拥抱\n[01:08.51]\n[01:09.53]编曲:徐秉龙\n[01:10.54]制作人:徐秉龙\n[01:11.42]和声编写:徐秉龙\n[01:12.62]和声配唱:徐秉龙\n[01:13.73]吉他:徐秉龙\n[01:14.78]鼓:徐秉龙\n[01:15.89]B-Box:陆颢哲\n[01:17.04]Program:周果亦\n[01:18.05]吉他编写:徐秉龙/武言圣\n[01:19.40]混音:谭聪\n[01:20.53]母带:谭聪\n[01:21.73]封面设计:徐秉龙\n[01:22.99]发行公司:亚合娱乐\n[01:24.37]LRC歌词制作:LOVE109❤️纪实小屋\n[01:26.94]❤️ www.love109.cn ❤️\n[01:27.31]\n[01:30.81]几千几万个你\n[01:33.21]几千几万个我\n[01:35.26]一起躲进这浪漫的回合\n[01:40.01]然后沉迷你诗写一般的身体\n[01:47.13]多热烈的白羊\n[01:49.34]热烈得好抽象\n[01:51.47]抽象掩盖欲望\n[01:53.70]却又欲盖弥彰\n[01:56.03]我要嚣张\n[01:58.34]嚣张到失去形状\n[02:04.92]青春一记荒唐\n[02:07.49]亦然学着疯狂\n[02:09.64]这声色太张扬\n[02:11.93]这欢愉太理想\n[02:14.32]先熄灭心跳\n[02:17.12]才能拥抱\n[02:23.29]青春一记荒唐\n[02:25.69]亦然学着疯狂\n[02:27.84]这声色太张扬\n[02:30.12]这欢愉太理想\n[02:32.67]这归途太远\n[02:35.37]要迷人且倔强\n[02:40.87]\n', - url: 'http://www.ytmp3.cn/down/54977.mp3', - cover: 'https://p2.music.126.net/tczb_7II9KzSuLQsVt89Gw==/109951163049336667.jpg?param=130y130', - }, - { - name: '走心', - artist: '贺敬轩', - lrc: '[ti:走心]\n[ar:贺敬轩]\n[al:]\n[by:吉时雨]\n[00:00.00]贺敬轩 - 走心\n[00:01.10]作词:郑建浩\n[00:02.20]作曲:郑建浩\n[00:03.30]编曲:许笑荣\n[00:04.40]监制:周晓明\n[00:05.50]混音:周晓明\n[00:06.60]制作人:林华勇\n[00:07.70]LRC歌词制作:LOVE109❤️纪实小屋\n[00:09.90]❤️ www.love109.cn ❤️\n[00:11.00]\n[00:12.43]这城市比沙漠还冷清\n[00:15.47]少了一个你\n[00:19.94]一边压抑悲观的情绪\n[00:23.04]一边学开心\n[00:27.23]我在书里寻找欢声笑语\n[00:31.35]我在旅行中释放掉回忆\n[00:34.89]没伤心 也没有顾虑\n[00:41.55]\n[00:42.89]摩天轮最高处的美景\n[00:45.48]不太像爱情\n[00:49.85]慢慢落下我失重的心\n[00:53.03]受不住侵袭\n[00:57.17]关于你的梦我都想还你\n[01:01.16]在你肩膀的温馨也丢弃\n[01:04.67]这故事 也不需要你\n[01:11.36]\n[01:12.38]让我最幸运的最努力的\n[01:14.63]最满足的就是能走近你\n[01:19.34]让我最遗憾的最痛苦的\n[01:22.07]就是没能走进你的心里\n[01:26.10]\n[01:27.14]我们陌生得没有再相遇\n[01:31.07]是你给我最长久的感情\n[01:34.48]全都失去 也不差失去你\n[01:41.30]\n[01:42.41]你所说的每句每个表情\n[01:44.58]都敷衍得那么不够走心\n[01:49.65]我也不再喜欢不再想起\n[01:51.96]不再贪图太奢侈的风景\n[01:56.18]\n[01:57.09]最简单的是再也回不去\n[02:01.12]我们就这样隔为疏离\n[02:05.01]看谁先学会忘记\n[02:12.31]\n[02:38.91]摩天轮最高处的美景\n[02:41.64]不太像爱情\n[02:46.15]慢慢落下我失重的心\n[02:49.19]受不住侵袭\n[02:53.62]关于你的梦我都想还你\n[02:57.58]在你肩膀的温馨也丢弃\n[03:00.75]这故事 也不需要你\n[03:07.51]\n[03:08.33]让我最幸运的最努力的\n[03:10.75]最满足的就是能走近你\n[03:15.68]让我最遗憾的最痛苦的\n[03:18.29]就是没能走进你的心里\n[03:22.30]\n[03:23.42]我们陌生得没有再相遇\n[03:27.29]是你给我最长久的感情\n[03:30.43]全都失去 也不差失去你\n[03:38.07]\n[03:38.73]你所说的每句每个表情\n[03:41.04]都敷衍得那么不够走心\n[03:45.82]我也不再喜欢不再想起\n[03:48.39]不再贪图太奢侈的风景\n[03:52.43]\n[03:53.37]最简单的是再也回不去\n[03:57.33]我们就这样隔为疏离\n[04:01.11]看谁先学会忘记\n[04:07.94]\n[04:08.56]让我最幸运的最努力的\n[04:10.75]最满足的就是能走近你\n[04:15.67]让我最遗憾的最痛苦的\n[04:18.25]就是没能走进你的心里\n[04:22.31]\n[04:23.43]我们陌生得没有再相遇\n[04:27.38]是你给我最长久的感情\n[04:30.86]全都失去 也不差失去你\n[04:38.12]\n[04:38.68]你所说的每句每个表情\n[04:40.82]都敷衍得那么不够走心\n[04:45.84]我也不再喜欢不再想起\n[04:48.17]不再贪图太奢侈的风景\n[04:52.54]\n[04:53.30]最简单的是再也回不去\[04:57.39]我们就这样隔为疏离\n[05:01.12]看谁先学会忘记\n[05:08.59]\n', - url: 'http://www.ytmp3.cn/down/55007.mp3', - cover: 'https://p2.music.126.net/DmX_-LkkpSB11t59idHDtw==/109951163178064565.jpg?param=130y130', - }, - ] -}); \ No newline at end of file diff --git a/donate/index.html b/donate/index.html index 3f50b99db2513a73e04f6241b2d4b1f3c8028456..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 --- a/donate/index.html +++ b/donate/index.html @@ -1,684 +0,0 @@ - - - - - - - donate | LOVE109❤️纪实小屋 - - - - - - - - - - - - - - - - - -
    -
    - -
    -
    - - -
    -
    -
    - - - -
    -
    -

    LOVE109❤️纪实小屋 - 记录爱情❤️记录生活

    -
    -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    -
    -
    - - - -
    -
    - -
    - -
    -
    - -
    -
    -

    - 感谢您的赞赏~

    -
    -
    - -
    - - -
    -
    -
    -
    - - -
    -
    - -
    -

    记录爱情 记录生活

    -
    - -
    - - - - - - - - -
    -
    -
    - -
    - - - © 2019 LOVE109纪实小屋
    - 鄂ICP备19003281号
    - - 正在载入... - - -
    - - - - - - - - - -
    -
    -
    - - - - - - -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    - -
    -

    LOVE109❤️ 纪实小屋

    -

    - - - - - - - - - - - - - -

    - -

    - © 2019 LOVE109❤️纪实小屋

    -
    - - - - - - - - - - - - - - - - - -
    - - - \ No newline at end of file diff --git a/fancybox/blank.gif b/fancybox/blank.gif new file mode 100644 index 0000000000000000000000000000000000000000..35d42e808f0a8017b8d52a06be2f8fec0b466a66 Binary files /dev/null and b/fancybox/blank.gif differ diff --git a/fancybox/fancybox_loading.gif b/fancybox/fancybox_loading.gif new file mode 100644 index 0000000000000000000000000000000000000000..a03a40c097ee728709f65d4ea7397903a389d484 Binary files /dev/null and b/fancybox/fancybox_loading.gif differ diff --git a/fancybox/fancybox_loading@2x.gif b/fancybox/fancybox_loading@2x.gif new file mode 100644 index 0000000000000000000000000000000000000000..9205aeb09fffa6b571b4c6beee30b18400829c03 Binary files /dev/null and b/fancybox/fancybox_loading@2x.gif differ diff --git a/fancybox/fancybox_overlay.png b/fancybox/fancybox_overlay.png new file mode 100644 index 0000000000000000000000000000000000000000..a4391396a9d6b6d7ff3b781f16904732fea40bdd Binary files /dev/null and b/fancybox/fancybox_overlay.png differ diff --git a/fancybox/fancybox_sprite.png b/fancybox/fancybox_sprite.png new file mode 100644 index 0000000000000000000000000000000000000000..fd8d5ca566d47a77d9562168617bb2f6482bf9be Binary files /dev/null and b/fancybox/fancybox_sprite.png differ diff --git a/fancybox/fancybox_sprite@2x.png b/fancybox/fancybox_sprite@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..d0e4779f4bed43fe339f0cf1eb045d8cb9430c87 Binary files /dev/null and b/fancybox/fancybox_sprite@2x.png differ diff --git a/fancybox/helpers/fancybox_buttons.png b/fancybox/helpers/fancybox_buttons.png new file mode 100644 index 0000000000000000000000000000000000000000..07872072704114b91681e2e6f9697ce1521b64d2 Binary files /dev/null and b/fancybox/helpers/fancybox_buttons.png differ diff --git a/fancybox/helpers/jquery.fancybox-buttons.css b/fancybox/helpers/jquery.fancybox-buttons.css new file mode 100644 index 0000000000000000000000000000000000000000..a26273af232562db60229e75809403a784e36d28 --- /dev/null +++ b/fancybox/helpers/jquery.fancybox-buttons.css @@ -0,0 +1,97 @@ +#fancybox-buttons { + position: fixed; + left: 0; + width: 100%; + z-index: 8050; +} + +#fancybox-buttons.top { + top: 10px; +} + +#fancybox-buttons.bottom { + bottom: 10px; +} + +#fancybox-buttons ul { + display: block; + width: 166px; + height: 30px; + margin: 0 auto; + padding: 0; + list-style: none; + border: 1px solid #111; + border-radius: 3px; + -webkit-box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); + -moz-box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); + box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); + background: rgb(50,50,50); + background: -moz-linear-gradient(top, rgb(68,68,68) 0%, rgb(52,52,52) 50%, rgb(41,41,41) 50%, rgb(51,51,51) 100%); + background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(68,68,68)), color-stop(50%,rgb(52,52,52)), color-stop(50%,rgb(41,41,41)), color-stop(100%,rgb(51,51,51))); + background: -webkit-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%); + background: -o-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%); + background: -ms-linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%); + background: linear-gradient(top, rgb(68,68,68) 0%,rgb(52,52,52) 50%,rgb(41,41,41) 50%,rgb(51,51,51) 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#444444', endColorstr='#222222',GradientType=0 ); +} + +#fancybox-buttons ul li { + float: left; + margin: 0; + padding: 0; +} + +#fancybox-buttons a { + display: block; + width: 30px; + height: 30px; + text-indent: -9999px; + background-color: transparent; + background-image: url('fancybox_buttons.png'); + background-repeat: no-repeat; + outline: none; + opacity: 0.8; +} + +#fancybox-buttons a:hover { + opacity: 1; +} + +#fancybox-buttons a.btnPrev { + background-position: 5px 0; +} + +#fancybox-buttons a.btnNext { + background-position: -33px 0; + border-right: 1px solid #3e3e3e; +} + +#fancybox-buttons a.btnPlay { + background-position: 0 -30px; +} + +#fancybox-buttons a.btnPlayOn { + background-position: -30px -30px; +} + +#fancybox-buttons a.btnToggle { + background-position: 3px -60px; + border-left: 1px solid #111; + border-right: 1px solid #3e3e3e; + width: 35px +} + +#fancybox-buttons a.btnToggleOn { + background-position: -27px -60px; +} + +#fancybox-buttons a.btnClose { + border-left: 1px solid #111; + width: 35px; + background-position: -56px 0px; +} + +#fancybox-buttons a.btnDisabled { + opacity : 0.4; + cursor: default; +} \ No newline at end of file diff --git a/fancybox/helpers/jquery.fancybox-buttons.js b/fancybox/helpers/jquery.fancybox-buttons.js new file mode 100644 index 0000000000000000000000000000000000000000..352bb5f0d89a2a7325f513dc34d47c3fb6752bba --- /dev/null +++ b/fancybox/helpers/jquery.fancybox-buttons.js @@ -0,0 +1,122 @@ + /*! + * Buttons helper for fancyBox + * version: 1.0.5 (Mon, 15 Oct 2012) + * @requires fancyBox v2.0 or later + * + * Usage: + * $(".fancybox").fancybox({ + * helpers : { + * buttons: { + * position : 'top' + * } + * } + * }); + * + */ +;(function ($) { + //Shortcut for fancyBox object + var F = $.fancybox; + + //Add helper object + F.helpers.buttons = { + defaults : { + skipSingle : false, // disables if gallery contains single image + position : 'top', // 'top' or 'bottom' + tpl : '
    ' + }, + + list : null, + buttons: null, + + beforeLoad: function (opts, obj) { + //Remove self if gallery do not have at least two items + + if (opts.skipSingle && obj.group.length < 2) { + obj.helpers.buttons = false; + obj.closeBtn = true; + + return; + } + + //Increase top margin to give space for buttons + obj.margin[ opts.position === 'bottom' ? 2 : 0 ] += 30; + }, + + onPlayStart: function () { + if (this.buttons) { + this.buttons.play.attr('title', 'Pause slideshow').addClass('btnPlayOn'); + } + }, + + onPlayEnd: function () { + if (this.buttons) { + this.buttons.play.attr('title', 'Start slideshow').removeClass('btnPlayOn'); + } + }, + + afterShow: function (opts, obj) { + var buttons = this.buttons; + + if (!buttons) { + this.list = $(opts.tpl).addClass(opts.position).appendTo('body'); + + buttons = { + prev : this.list.find('.btnPrev').click( F.prev ), + next : this.list.find('.btnNext').click( F.next ), + play : this.list.find('.btnPlay').click( F.play ), + toggle : this.list.find('.btnToggle').click( F.toggle ), + close : this.list.find('.btnClose').click( F.close ) + } + } + + //Prev + if (obj.index > 0 || obj.loop) { + buttons.prev.removeClass('btnDisabled'); + } else { + buttons.prev.addClass('btnDisabled'); + } + + //Next / Play + if (obj.loop || obj.index < obj.group.length - 1) { + buttons.next.removeClass('btnDisabled'); + buttons.play.removeClass('btnDisabled'); + + } else { + buttons.next.addClass('btnDisabled'); + buttons.play.addClass('btnDisabled'); + } + + this.buttons = buttons; + + this.onUpdate(opts, obj); + }, + + onUpdate: function (opts, obj) { + var toggle; + + if (!this.buttons) { + return; + } + + toggle = this.buttons.toggle.removeClass('btnDisabled btnToggleOn'); + + //Size toggle button + if (obj.canShrink) { + toggle.addClass('btnToggleOn'); + + } else if (!obj.canExpand) { + toggle.addClass('btnDisabled'); + } + }, + + beforeClose: function () { + if (this.list) { + this.list.remove(); + } + + this.list = null; + this.buttons = null; + } + }; + +}(jQuery)); diff --git a/fancybox/helpers/jquery.fancybox-media.js b/fancybox/helpers/jquery.fancybox-media.js new file mode 100644 index 0000000000000000000000000000000000000000..62737a51761ac944da916a96ee6b67160bc1d46d --- /dev/null +++ b/fancybox/helpers/jquery.fancybox-media.js @@ -0,0 +1,199 @@ +/*! + * Media helper for fancyBox + * version: 1.0.6 (Fri, 14 Jun 2013) + * @requires fancyBox v2.0 or later + * + * Usage: + * $(".fancybox").fancybox({ + * helpers : { + * media: true + * } + * }); + * + * Set custom URL parameters: + * $(".fancybox").fancybox({ + * helpers : { + * media: { + * youtube : { + * params : { + * autoplay : 0 + * } + * } + * } + * } + * }); + * + * Or: + * $(".fancybox").fancybox({, + * helpers : { + * media: true + * }, + * youtube : { + * autoplay: 0 + * } + * }); + * + * Supports: + * + * Youtube + * http://www.youtube.com/watch?v=opj24KnzrWo + * http://www.youtube.com/embed/opj24KnzrWo + * http://youtu.be/opj24KnzrWo + * http://www.youtube-nocookie.com/embed/opj24KnzrWo + * Vimeo + * http://vimeo.com/40648169 + * http://vimeo.com/channels/staffpicks/38843628 + * http://vimeo.com/groups/surrealism/videos/36516384 + * http://player.vimeo.com/video/45074303 + * Metacafe + * http://www.metacafe.com/watch/7635964/dr_seuss_the_lorax_movie_trailer/ + * http://www.metacafe.com/watch/7635964/ + * Dailymotion + * http://www.dailymotion.com/video/xoytqh_dr-seuss-the-lorax-premiere_people + * Twitvid + * http://twitvid.com/QY7MD + * Twitpic + * http://twitpic.com/7p93st + * Instagram + * http://instagr.am/p/IejkuUGxQn/ + * http://instagram.com/p/IejkuUGxQn/ + * Google maps + * http://maps.google.com/maps?q=Eiffel+Tower,+Avenue+Gustave+Eiffel,+Paris,+France&t=h&z=17 + * http://maps.google.com/?ll=48.857995,2.294297&spn=0.007666,0.021136&t=m&z=16 + * http://maps.google.com/?ll=48.859463,2.292626&spn=0.000965,0.002642&t=m&z=19&layer=c&cbll=48.859524,2.292532&panoid=YJ0lq28OOy3VT2IqIuVY0g&cbp=12,151.58,,0,-15.56 + */ +;(function ($) { + "use strict"; + + //Shortcut for fancyBox object + var F = $.fancybox, + format = function( url, rez, params ) { + params = params || ''; + + if ( $.type( params ) === "object" ) { + params = $.param(params, true); + } + + $.each(rez, function(key, value) { + url = url.replace( '$' + key, value || '' ); + }); + + if (params.length) { + url += ( url.indexOf('?') > 0 ? '&' : '?' ) + params; + } + + return url; + }; + + //Add helper object + F.helpers.media = { + defaults : { + youtube : { + matcher : /(youtube\.com|youtu\.be|youtube-nocookie\.com)\/(watch\?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*)).*/i, + params : { + autoplay : 1, + autohide : 1, + fs : 1, + rel : 0, + hd : 1, + wmode : 'opaque', + enablejsapi : 1 + }, + type : 'iframe', + url : '//www.youtube.com/embed/$3' + }, + vimeo : { + matcher : /(?:vimeo(?:pro)?.com)\/(?:[^\d]+)?(\d+)(?:.*)/, + params : { + autoplay : 1, + hd : 1, + show_title : 1, + show_byline : 1, + show_portrait : 0, + fullscreen : 1 + }, + type : 'iframe', + url : '//player.vimeo.com/video/$1' + }, + metacafe : { + matcher : /metacafe.com\/(?:watch|fplayer)\/([\w\-]{1,10})/, + params : { + autoPlay : 'yes' + }, + type : 'swf', + url : function( rez, params, obj ) { + obj.swf.flashVars = 'playerVars=' + $.param( params, true ); + + return '//www.metacafe.com/fplayer/' + rez[1] + '/.swf'; + } + }, + dailymotion : { + matcher : /dailymotion.com\/video\/(.*)\/?(.*)/, + params : { + additionalInfos : 0, + autoStart : 1 + }, + type : 'swf', + url : '//www.dailymotion.com/swf/video/$1' + }, + twitvid : { + matcher : /twitvid\.com\/([a-zA-Z0-9_\-\?\=]+)/i, + params : { + autoplay : 0 + }, + type : 'iframe', + url : '//www.twitvid.com/embed.php?guid=$1' + }, + twitpic : { + matcher : /twitpic\.com\/(?!(?:place|photos|events)\/)([a-zA-Z0-9\?\=\-]+)/i, + type : 'image', + url : '//twitpic.com/show/full/$1/' + }, + instagram : { + matcher : /(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i, + type : 'image', + url : '//$1/p/$2/media/?size=l' + }, + google_maps : { + matcher : /maps\.google\.([a-z]{2,3}(\.[a-z]{2})?)\/(\?ll=|maps\?)(.*)/i, + type : 'iframe', + url : function( rez ) { + return '//maps.google.' + rez[1] + '/' + rez[3] + '' + rez[4] + '&output=' + (rez[4].indexOf('layer=c') > 0 ? 'svembed' : 'embed'); + } + } + }, + + beforeLoad : function(opts, obj) { + var url = obj.href || '', + type = false, + what, + item, + rez, + params; + + for (what in opts) { + if (opts.hasOwnProperty(what)) { + item = opts[ what ]; + rez = url.match( item.matcher ); + + if (rez) { + type = item.type; + params = $.extend(true, {}, item.params, obj[ what ] || ($.isPlainObject(opts[ what ]) ? opts[ what ].params : null)); + + url = $.type( item.url ) === "function" ? item.url.call( this, rez, params, obj ) : format( item.url, rez, params ); + + break; + } + } + } + + if (type) { + obj.href = url; + obj.type = type; + + obj.autoHeight = false; + } + } + }; + +}(jQuery)); \ No newline at end of file diff --git a/fancybox/helpers/jquery.fancybox-thumbs.css b/fancybox/helpers/jquery.fancybox-thumbs.css new file mode 100644 index 0000000000000000000000000000000000000000..63d294368d9e280e976902648209486ffd056a1a --- /dev/null +++ b/fancybox/helpers/jquery.fancybox-thumbs.css @@ -0,0 +1,55 @@ +#fancybox-thumbs { + position: fixed; + left: 0; + width: 100%; + overflow: hidden; + z-index: 8050; +} + +#fancybox-thumbs.bottom { + bottom: 2px; +} + +#fancybox-thumbs.top { + top: 2px; +} + +#fancybox-thumbs ul { + position: relative; + list-style: none; + margin: 0; + padding: 0; +} + +#fancybox-thumbs ul li { + float: left; + padding: 1px; + opacity: 0.5; +} + +#fancybox-thumbs ul li.active { + opacity: 0.75; + padding: 0; + border: 1px solid #fff; +} + +#fancybox-thumbs ul li:hover { + opacity: 1; +} + +#fancybox-thumbs ul li a { + display: block; + position: relative; + overflow: hidden; + border: 1px solid #222; + background: #111; + outline: none; +} + +#fancybox-thumbs ul li img { + display: block; + position: relative; + border: 0; + padding: 0; + max-width: none; +} \ No newline at end of file diff --git a/fancybox/helpers/jquery.fancybox-thumbs.js b/fancybox/helpers/jquery.fancybox-thumbs.js new file mode 100644 index 0000000000000000000000000000000000000000..58c971943c870877fb608819b764ceb3afa9e55a --- /dev/null +++ b/fancybox/helpers/jquery.fancybox-thumbs.js @@ -0,0 +1,165 @@ + /*! + * Thumbnail helper for fancyBox + * version: 1.0.7 (Mon, 01 Oct 2012) + * @requires fancyBox v2.0 or later + * + * Usage: + * $(".fancybox").fancybox({ + * helpers : { + * thumbs: { + * width : 50, + * height : 50 + * } + * } + * }); + * + */ +;(function ($) { + //Shortcut for fancyBox object + var F = $.fancybox; + + //Add helper object + F.helpers.thumbs = { + defaults : { + width : 50, // thumbnail width + height : 50, // thumbnail height + position : 'bottom', // 'top' or 'bottom' + source : function ( item ) { // function to obtain the URL of the thumbnail image + var href; + + if (item.element) { + href = $(item.element).find('img').attr('src'); + } + + if (!href && item.type === 'image' && item.href) { + href = item.href; + } + + return href; + } + }, + + wrap : null, + list : null, + width : 0, + + init: function (opts, obj) { + var that = this, + list, + thumbWidth = opts.width, + thumbHeight = opts.height, + thumbSource = opts.source; + + //Build list structure + list = ''; + + for (var n = 0; n < obj.group.length; n++) { + list += '
  • '; + } + + this.wrap = $('
    ').addClass(opts.position).appendTo('body'); + this.list = $('
      ' + list + '
    ').appendTo(this.wrap); + + //Load each thumbnail + $.each(obj.group, function (i) { + var el = obj.group[ i ], + href = thumbSource( el ); + + if (!href) { + return; + } + + $("").load(function () { + var width = this.width, + height = this.height, + widthRatio, heightRatio, parent; + + if (!that.list || !width || !height) { + return; + } + + //Calculate thumbnail width/height and center it + widthRatio = width / thumbWidth; + heightRatio = height / thumbHeight; + + parent = that.list.children().eq(i).find('a'); + + if (widthRatio >= 1 && heightRatio >= 1) { + if (widthRatio > heightRatio) { + width = Math.floor(width / heightRatio); + height = thumbHeight; + + } else { + width = thumbWidth; + height = Math.floor(height / widthRatio); + } + } + + $(this).css({ + width : width, + height : height, + top : Math.floor(thumbHeight / 2 - height / 2), + left : Math.floor(thumbWidth / 2 - width / 2) + }); + + parent.width(thumbWidth).height(thumbHeight); + + $(this).hide().appendTo(parent).fadeIn(300); + + }) + .attr('src', href) + .attr('title', el.title); + }); + + //Set initial width + this.width = this.list.children().eq(0).outerWidth(true); + + this.list.width(this.width * (obj.group.length + 1)).css('left', Math.floor($(window).width() * 0.5 - (obj.index * this.width + this.width * 0.5))); + }, + + beforeLoad: function (opts, obj) { + //Remove self if gallery do not have at least two items + if (obj.group.length < 2) { + obj.helpers.thumbs = false; + + return; + } + + //Increase bottom margin to give space for thumbs + obj.margin[ opts.position === 'top' ? 0 : 2 ] += ((opts.height) + 15); + }, + + afterShow: function (opts, obj) { + //Check if exists and create or update list + if (this.list) { + this.onUpdate(opts, obj); + + } else { + this.init(opts, obj); + } + + //Set active element + this.list.children().removeClass('active').eq(obj.index).addClass('active'); + }, + + //Center list + onUpdate: function (opts, obj) { + if (this.list) { + this.list.stop(true).animate({ + 'left': Math.floor($(window).width() * 0.5 - (obj.index * this.width + this.width * 0.5)) + }, 150); + } + }, + + beforeClose: function () { + if (this.wrap) { + this.wrap.remove(); + } + + this.wrap = null; + this.list = null; + this.width = 0; + } + } + +}(jQuery)); \ No newline at end of file diff --git a/fancybox/jquery.fancybox.css b/fancybox/jquery.fancybox.css new file mode 100644 index 0000000000000000000000000000000000000000..c75d05135e3694193b210ff230e35c1ed18d4da9 --- /dev/null +++ b/fancybox/jquery.fancybox.css @@ -0,0 +1,273 @@ +/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */ +.fancybox-wrap, +.fancybox-skin, +.fancybox-outer, +.fancybox-inner, +.fancybox-image, +.fancybox-wrap iframe, +.fancybox-wrap object, +.fancybox-nav, +.fancybox-nav span, +.fancybox-tmp +{ + padding: 0; + margin: 0; + border: 0; + outline: none; + vertical-align: top; +} + +.fancybox-wrap { + position: absolute; + top: 0; + left: 0; + z-index: 8020; +} + +.fancybox-skin { + position: relative; + background: #f9f9f9; + color: #444; + text-shadow: none; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.fancybox-opened { + z-index: 8030; +} + +.fancybox-opened .fancybox-skin { + -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); + -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); + box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); +} + +.fancybox-outer, .fancybox-inner { + position: relative; +} + +.fancybox-inner { + overflow: hidden; +} + +.fancybox-type-iframe .fancybox-inner { + -webkit-overflow-scrolling: touch; +} + +.fancybox-error { + color: #444; + font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; + margin: 0; + padding: 15px; + white-space: nowrap; +} + +.fancybox-image, .fancybox-iframe { + display: block; + width: 100%; + height: 100%; +} + +.fancybox-image { + max-width: 100%; + max-height: 100%; +} + +#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span { + background-image: url(fancybox_sprite.png); +} + +#fancybox-loading { + position: fixed; + top: 50%; + left: 50%; + margin-top: -22px; + margin-left: -22px; + background-position: 0 -108px; + opacity: 0.8; + cursor: pointer; + z-index: 8060; +} + +#fancybox-loading div { + width: 44px; + height: 44px; + background: url(fancybox_loading.gif) center center no-repeat; +} + +.fancybox-close { + position: absolute; + top: -18px; + right: -18px; + width: 36px; + height: 36px; + cursor: pointer; + z-index: 8040; +} + +.fancybox-nav { + position: absolute; + top: 0; + width: 40%; + height: 100%; + cursor: pointer; + text-decoration: none; + background: transparent url(blank.gif); /* helps IE */ + -webkit-tap-highlight-color: rgba(0,0,0,0); + z-index: 8040; +} + +.fancybox-prev { + left: 0; +} + +.fancybox-next { + right: 0; +} + +.fancybox-nav span { + position: absolute; + top: 50%; + width: 36px; + height: 34px; + margin-top: -18px; + cursor: pointer; + z-index: 8040; + visibility: hidden; +} + +.fancybox-prev span { + left: 10px; + background-position: 0 -36px; +} + +.fancybox-next span { + right: 10px; + background-position: 0 -72px; +} + +.fancybox-nav:hover span { + visibility: visible; +} + +.fancybox-tmp { + position: absolute; + top: -99999px; + left: -99999px; + max-width: 99999px; + max-height: 99999px; + overflow: visible !important; +} + +/* Overlay helper */ + +.fancybox-lock { + overflow: visible !important; + width: auto; +} + +.fancybox-lock body { + overflow: hidden !important; +} + +.fancybox-lock-test { + overflow-y: hidden !important; +} + +.fancybox-overlay { + position: absolute; + top: 0; + left: 0; + overflow: hidden; + display: none; + z-index: 8010; + background: url(fancybox_overlay.png); +} + +.fancybox-overlay-fixed { + position: fixed; + bottom: 0; + right: 0; +} + +.fancybox-lock .fancybox-overlay { + overflow: auto; + overflow-y: scroll; +} + +/* Title helper */ + +.fancybox-title { + visibility: hidden; + font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; + position: relative; + text-shadow: none; + z-index: 8050; +} + +.fancybox-opened .fancybox-title { + visibility: visible; +} + +.fancybox-title-float-wrap { + position: absolute; + bottom: 0; + right: 50%; + margin-bottom: -35px; + z-index: 8050; + text-align: center; +} + +.fancybox-title-float-wrap .child { + display: inline-block; + margin-right: -100%; + padding: 2px 20px; + background: transparent; /* Fallback for web browsers that doesn't support RGBa */ + background: rgba(0, 0, 0, 0.8); + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + border-radius: 15px; + text-shadow: 0 1px 2px #222; + color: #FFF; + font-weight: bold; + line-height: 24px; + white-space: nowrap; +} + +.fancybox-title-outside-wrap { + position: relative; + margin-top: 10px; + color: #fff; +} + +.fancybox-title-inside-wrap { + padding-top: 10px; +} + +.fancybox-title-over-wrap { + position: absolute; + bottom: 0; + left: 0; + color: #fff; + padding: 10px; + background: #000; + background: rgba(0, 0, 0, .8); +} + +/*Retina graphics!*/ +@media only screen and (-webkit-min-device-pixel-ratio: 1.5), + only screen and (min--moz-device-pixel-ratio: 1.5), + only screen and (min-device-pixel-ratio: 1.5){ + + #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span { + background-image: url(fancybox_sprite@2x.png); + background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/ + } + + #fancybox-loading div { + background-image: url(fancybox_loading@2x.gif); + background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/ + } +} \ No newline at end of file diff --git a/fancybox/jquery.fancybox.js b/fancybox/jquery.fancybox.js new file mode 100644 index 0000000000000000000000000000000000000000..7a0f8acb09700cc6608ffef57e4e730251dc2602 --- /dev/null +++ b/fancybox/jquery.fancybox.js @@ -0,0 +1,2017 @@ +/*! + * fancyBox - jQuery Plugin + * version: 2.1.5 (Fri, 14 Jun 2013) + * requires jQuery v1.6 or later + * + * Examples at http://fancyapps.com/fancybox/ + * License: www.fancyapps.com/fancybox/#license + * + * Copyright 2012 Janis Skarnelis - janis@fancyapps.com + * + */ + +;(function (window, document, $, undefined) { + "use strict"; + + var H = $("html"), + W = $(window), + D = $(document), + F = $.fancybox = function () { + F.open.apply( this, arguments ); + }, + IE = navigator.userAgent.match(/msie/i), + didUpdate = null, + isTouch = document.createTouch !== undefined, + + isQuery = function(obj) { + return obj && obj.hasOwnProperty && obj instanceof $; + }, + isString = function(str) { + return str && $.type(str) === "string"; + }, + isPercentage = function(str) { + return isString(str) && str.indexOf('%') > 0; + }, + isScrollable = function(el) { + return (el && !(el.style.overflow && el.style.overflow === 'hidden') && ((el.clientWidth && el.scrollWidth > el.clientWidth) || (el.clientHeight && el.scrollHeight > el.clientHeight))); + }, + getScalar = function(orig, dim) { + var value = parseInt(orig, 10) || 0; + + if (dim && isPercentage(orig)) { + value = F.getViewport()[ dim ] / 100 * value; + } + + return Math.ceil(value); + }, + getValue = function(value, dim) { + return getScalar(value, dim) + 'px'; + }; + + $.extend(F, { + // The current version of fancyBox + version: '2.1.5', + + defaults: { + padding : 15, + margin : 20, + + width : 800, + height : 600, + minWidth : 100, + minHeight : 100, + maxWidth : 9999, + maxHeight : 9999, + pixelRatio: 1, // Set to 2 for retina display support + + autoSize : true, + autoHeight : false, + autoWidth : false, + + autoResize : true, + autoCenter : !isTouch, + fitToView : true, + aspectRatio : false, + topRatio : 0.5, + leftRatio : 0.5, + + scrolling : 'auto', // 'auto', 'yes' or 'no' + wrapCSS : '', + + arrows : true, + closeBtn : true, + closeClick : false, + nextClick : false, + mouseWheel : true, + autoPlay : false, + playSpeed : 3000, + preload : 3, + modal : false, + loop : true, + + ajax : { + dataType : 'html', + headers : { 'X-fancyBox': true } + }, + iframe : { + scrolling : 'auto', + preload : true + }, + swf : { + wmode: 'transparent', + allowfullscreen : 'true', + allowscriptaccess : 'always' + }, + + keys : { + next : { + 13 : 'left', // enter + 34 : 'up', // page down + 39 : 'left', // right arrow + 40 : 'up' // down arrow + }, + prev : { + 8 : 'right', // backspace + 33 : 'down', // page up + 37 : 'right', // left arrow + 38 : 'down' // up arrow + }, + close : [27], // escape key + play : [32], // space - start/stop slideshow + toggle : [70] // letter "f" - toggle fullscreen + }, + + direction : { + next : 'left', + prev : 'right' + }, + + scrollOutside : true, + + // Override some properties + index : 0, + type : null, + href : null, + content : null, + title : null, + + // HTML templates + tpl: { + wrap : '
    ', + image : '', + iframe : '', + error : '

    The requested content cannot be loaded.
    Please try again later.

    ', + closeBtn : '', + next : '', + prev : '' + }, + + // Properties for each animation type + // Opening fancyBox + openEffect : 'fade', // 'elastic', 'fade' or 'none' + openSpeed : 250, + openEasing : 'swing', + openOpacity : true, + openMethod : 'zoomIn', + + // Closing fancyBox + closeEffect : 'fade', // 'elastic', 'fade' or 'none' + closeSpeed : 250, + closeEasing : 'swing', + closeOpacity : true, + closeMethod : 'zoomOut', + + // Changing next gallery item + nextEffect : 'elastic', // 'elastic', 'fade' or 'none' + nextSpeed : 250, + nextEasing : 'swing', + nextMethod : 'changeIn', + + // Changing previous gallery item + prevEffect : 'elastic', // 'elastic', 'fade' or 'none' + prevSpeed : 250, + prevEasing : 'swing', + prevMethod : 'changeOut', + + // Enable default helpers + helpers : { + overlay : true, + title : true + }, + + // Callbacks + onCancel : $.noop, // If canceling + beforeLoad : $.noop, // Before loading + afterLoad : $.noop, // After loading + beforeShow : $.noop, // Before changing in current item + afterShow : $.noop, // After opening + beforeChange : $.noop, // Before changing gallery item + beforeClose : $.noop, // Before closing + afterClose : $.noop // After closing + }, + + //Current state + group : {}, // Selected group + opts : {}, // Group options + previous : null, // Previous element + coming : null, // Element being loaded + current : null, // Currently loaded element + isActive : false, // Is activated + isOpen : false, // Is currently open + isOpened : false, // Have been fully opened at least once + + wrap : null, + skin : null, + outer : null, + inner : null, + + player : { + timer : null, + isActive : false + }, + + // Loaders + ajaxLoad : null, + imgPreload : null, + + // Some collections + transitions : {}, + helpers : {}, + + /* + * Static methods + */ + + open: function (group, opts) { + if (!group) { + return; + } + + if (!$.isPlainObject(opts)) { + opts = {}; + } + + // Close if already active + if (false === F.close(true)) { + return; + } + + // Normalize group + if (!$.isArray(group)) { + group = isQuery(group) ? $(group).get() : [group]; + } + + // Recheck if the type of each element is `object` and set content type (image, ajax, etc) + $.each(group, function(i, element) { + var obj = {}, + href, + title, + content, + type, + rez, + hrefParts, + selector; + + if ($.type(element) === "object") { + // Check if is DOM element + if (element.nodeType) { + element = $(element); + } + + if (isQuery(element)) { + obj = { + href : element.data('fancybox-href') || element.attr('href'), + title : $('
    ').text( element.data('fancybox-title') || element.attr('title') ).html(), + isDom : true, + element : element + }; + + if ($.metadata) { + $.extend(true, obj, element.metadata()); + } + + } else { + obj = element; + } + } + + href = opts.href || obj.href || (isString(element) ? element : null); + title = opts.title !== undefined ? opts.title : obj.title || ''; + + content = opts.content || obj.content; + type = content ? 'html' : (opts.type || obj.type); + + if (!type && obj.isDom) { + type = element.data('fancybox-type'); + + if (!type) { + rez = element.prop('class').match(/fancybox\.(\w+)/); + type = rez ? rez[1] : null; + } + } + + if (isString(href)) { + // Try to guess the content type + if (!type) { + if (F.isImage(href)) { + type = 'image'; + + } else if (F.isSWF(href)) { + type = 'swf'; + + } else if (href.charAt(0) === '#') { + type = 'inline'; + + } else if (isString(element)) { + type = 'html'; + content = element; + } + } + + // Split url into two pieces with source url and content selector, e.g, + // "/mypage.html #my_id" will load "/mypage.html" and display element having id "my_id" + if (type === 'ajax') { + hrefParts = href.split(/\s+/, 2); + href = hrefParts.shift(); + selector = hrefParts.shift(); + } + } + + if (!content) { + if (type === 'inline') { + if (href) { + content = $( isString(href) ? href.replace(/.*(?=#[^\s]+$)/, '') : href ); //strip for ie7 + + } else if (obj.isDom) { + content = element; + } + + } else if (type === 'html') { + content = href; + + } else if (!type && !href && obj.isDom) { + type = 'inline'; + content = element; + } + } + + $.extend(obj, { + href : href, + type : type, + content : content, + title : title, + selector : selector + }); + + group[ i ] = obj; + }); + + // Extend the defaults + F.opts = $.extend(true, {}, F.defaults, opts); + + // All options are merged recursive except keys + if (opts.keys !== undefined) { + F.opts.keys = opts.keys ? $.extend({}, F.defaults.keys, opts.keys) : false; + } + + F.group = group; + + return F._start(F.opts.index); + }, + + // Cancel image loading or abort ajax request + cancel: function () { + var coming = F.coming; + + if (coming && false === F.trigger('onCancel')) { + return; + } + + F.hideLoading(); + + if (!coming) { + return; + } + + if (F.ajaxLoad) { + F.ajaxLoad.abort(); + } + + F.ajaxLoad = null; + + if (F.imgPreload) { + F.imgPreload.onload = F.imgPreload.onerror = null; + } + + if (coming.wrap) { + coming.wrap.stop(true, true).trigger('onReset').remove(); + } + + F.coming = null; + + // If the first item has been canceled, then clear everything + if (!F.current) { + F._afterZoomOut( coming ); + } + }, + + // Start closing animation if is open; remove immediately if opening/closing + close: function (event) { + F.cancel(); + + if (false === F.trigger('beforeClose')) { + return; + } + + F.unbindEvents(); + + if (!F.isActive) { + return; + } + + if (!F.isOpen || event === true) { + $('.fancybox-wrap').stop(true).trigger('onReset').remove(); + + F._afterZoomOut(); + + } else { + F.isOpen = F.isOpened = false; + F.isClosing = true; + + $('.fancybox-item, .fancybox-nav').remove(); + + F.wrap.stop(true, true).removeClass('fancybox-opened'); + + F.transitions[ F.current.closeMethod ](); + } + }, + + // Manage slideshow: + // $.fancybox.play(); - toggle slideshow + // $.fancybox.play( true ); - start + // $.fancybox.play( false ); - stop + play: function ( action ) { + var clear = function () { + clearTimeout(F.player.timer); + }, + set = function () { + clear(); + + if (F.current && F.player.isActive) { + F.player.timer = setTimeout(F.next, F.current.playSpeed); + } + }, + stop = function () { + clear(); + + D.unbind('.player'); + + F.player.isActive = false; + + F.trigger('onPlayEnd'); + }, + start = function () { + if (F.current && (F.current.loop || F.current.index < F.group.length - 1)) { + F.player.isActive = true; + + D.bind({ + 'onCancel.player beforeClose.player' : stop, + 'onUpdate.player' : set, + 'beforeLoad.player' : clear + }); + + set(); + + F.trigger('onPlayStart'); + } + }; + + if (action === true || (!F.player.isActive && action !== false)) { + start(); + } else { + stop(); + } + }, + + // Navigate to next gallery item + next: function ( direction ) { + var current = F.current; + + if (current) { + if (!isString(direction)) { + direction = current.direction.next; + } + + F.jumpto(current.index + 1, direction, 'next'); + } + }, + + // Navigate to previous gallery item + prev: function ( direction ) { + var current = F.current; + + if (current) { + if (!isString(direction)) { + direction = current.direction.prev; + } + + F.jumpto(current.index - 1, direction, 'prev'); + } + }, + + // Navigate to gallery item by index + jumpto: function ( index, direction, router ) { + var current = F.current; + + if (!current) { + return; + } + + index = getScalar(index); + + F.direction = direction || current.direction[ (index >= current.index ? 'next' : 'prev') ]; + F.router = router || 'jumpto'; + + if (current.loop) { + if (index < 0) { + index = current.group.length + (index % current.group.length); + } + + index = index % current.group.length; + } + + if (current.group[ index ] !== undefined) { + F.cancel(); + + F._start(index); + } + }, + + // Center inside viewport and toggle position type to fixed or absolute if needed + reposition: function (e, onlyAbsolute) { + var current = F.current, + wrap = current ? current.wrap : null, + pos; + + if (wrap) { + pos = F._getPosition(onlyAbsolute); + + if (e && e.type === 'scroll') { + delete pos.position; + + wrap.stop(true, true).animate(pos, 200); + + } else { + wrap.css(pos); + + current.pos = $.extend({}, current.dim, pos); + } + } + }, + + update: function (e) { + var type = (e && e.originalEvent && e.originalEvent.type), + anyway = !type || type === 'orientationchange'; + + if (anyway) { + clearTimeout(didUpdate); + + didUpdate = null; + } + + if (!F.isOpen || didUpdate) { + return; + } + + didUpdate = setTimeout(function() { + var current = F.current; + + if (!current || F.isClosing) { + return; + } + + F.wrap.removeClass('fancybox-tmp'); + + if (anyway || type === 'load' || (type === 'resize' && current.autoResize)) { + F._setDimension(); + } + + if (!(type === 'scroll' && current.canShrink)) { + F.reposition(e); + } + + F.trigger('onUpdate'); + + didUpdate = null; + + }, (anyway && !isTouch ? 0 : 300)); + }, + + // Shrink content to fit inside viewport or restore if resized + toggle: function ( action ) { + if (F.isOpen) { + F.current.fitToView = $.type(action) === "boolean" ? action : !F.current.fitToView; + + // Help browser to restore document dimensions + if (isTouch) { + F.wrap.removeAttr('style').addClass('fancybox-tmp'); + + F.trigger('onUpdate'); + } + + F.update(); + } + }, + + hideLoading: function () { + D.unbind('.loading'); + + $('#fancybox-loading').remove(); + }, + + showLoading: function () { + var el, viewport; + + F.hideLoading(); + + el = $('
    ').click(F.cancel).appendTo('body'); + + // If user will press the escape-button, the request will be canceled + D.bind('keydown.loading', function(e) { + if ((e.which || e.keyCode) === 27) { + e.preventDefault(); + + F.cancel(); + } + }); + + if (!F.defaults.fixed) { + viewport = F.getViewport(); + + el.css({ + position : 'absolute', + top : (viewport.h * 0.5) + viewport.y, + left : (viewport.w * 0.5) + viewport.x + }); + } + + F.trigger('onLoading'); + }, + + getViewport: function () { + var locked = (F.current && F.current.locked) || false, + rez = { + x: W.scrollLeft(), + y: W.scrollTop() + }; + + if (locked && locked.length) { + rez.w = locked[0].clientWidth; + rez.h = locked[0].clientHeight; + + } else { + // See http://bugs.jquery.com/ticket/6724 + rez.w = isTouch && window.innerWidth ? window.innerWidth : W.width(); + rez.h = isTouch && window.innerHeight ? window.innerHeight : W.height(); + } + + return rez; + }, + + // Unbind the keyboard / clicking actions + unbindEvents: function () { + if (F.wrap && isQuery(F.wrap)) { + F.wrap.unbind('.fb'); + } + + D.unbind('.fb'); + W.unbind('.fb'); + }, + + bindEvents: function () { + var current = F.current, + keys; + + if (!current) { + return; + } + + // Changing document height on iOS devices triggers a 'resize' event, + // that can change document height... repeating infinitely + W.bind('orientationchange.fb' + (isTouch ? '' : ' resize.fb') + (current.autoCenter && !current.locked ? ' scroll.fb' : ''), F.update); + + keys = current.keys; + + if (keys) { + D.bind('keydown.fb', function (e) { + var code = e.which || e.keyCode, + target = e.target || e.srcElement; + + // Skip esc key if loading, because showLoading will cancel preloading + if (code === 27 && F.coming) { + return false; + } + + // Ignore key combinations and key events within form elements + if (!e.ctrlKey && !e.altKey && !e.shiftKey && !e.metaKey && !(target && (target.type || $(target).is('[contenteditable]')))) { + $.each(keys, function(i, val) { + if (current.group.length > 1 && val[ code ] !== undefined) { + F[ i ]( val[ code ] ); + + e.preventDefault(); + return false; + } + + if ($.inArray(code, val) > -1) { + F[ i ] (); + + e.preventDefault(); + return false; + } + }); + } + }); + } + + if ($.fn.mousewheel && current.mouseWheel) { + F.wrap.bind('mousewheel.fb', function (e, delta, deltaX, deltaY) { + var target = e.target || null, + parent = $(target), + canScroll = false; + + while (parent.length) { + if (canScroll || parent.is('.fancybox-skin') || parent.is('.fancybox-wrap')) { + break; + } + + canScroll = isScrollable( parent[0] ); + parent = $(parent).parent(); + } + + if (delta !== 0 && !canScroll) { + if (F.group.length > 1 && !current.canShrink) { + if (deltaY > 0 || deltaX > 0) { + F.prev( deltaY > 0 ? 'down' : 'left' ); + + } else if (deltaY < 0 || deltaX < 0) { + F.next( deltaY < 0 ? 'up' : 'right' ); + } + + e.preventDefault(); + } + } + }); + } + }, + + trigger: function (event, o) { + var ret, obj = o || F.coming || F.current; + + if (obj) { + if ($.isFunction( obj[event] )) { + ret = obj[event].apply(obj, Array.prototype.slice.call(arguments, 1)); + } + + if (ret === false) { + return false; + } + + if (obj.helpers) { + $.each(obj.helpers, function (helper, opts) { + if (opts && F.helpers[helper] && $.isFunction(F.helpers[helper][event])) { + F.helpers[helper][event]($.extend(true, {}, F.helpers[helper].defaults, opts), obj); + } + }); + } + } + + D.trigger(event); + }, + + isImage: function (str) { + return isString(str) && str.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i); + }, + + isSWF: function (str) { + return isString(str) && str.match(/\.(swf)((\?|#).*)?$/i); + }, + + _start: function (index) { + var coming = {}, + obj, + href, + type, + margin, + padding; + + index = getScalar( index ); + obj = F.group[ index ] || null; + + if (!obj) { + return false; + } + + coming = $.extend(true, {}, F.opts, obj); + + // Convert margin and padding properties to array - top, right, bottom, left + margin = coming.margin; + padding = coming.padding; + + if ($.type(margin) === 'number') { + coming.margin = [margin, margin, margin, margin]; + } + + if ($.type(padding) === 'number') { + coming.padding = [padding, padding, padding, padding]; + } + + // 'modal' propery is just a shortcut + if (coming.modal) { + $.extend(true, coming, { + closeBtn : false, + closeClick : false, + nextClick : false, + arrows : false, + mouseWheel : false, + keys : null, + helpers: { + overlay : { + closeClick : false + } + } + }); + } + + // 'autoSize' property is a shortcut, too + if (coming.autoSize) { + coming.autoWidth = coming.autoHeight = true; + } + + if (coming.width === 'auto') { + coming.autoWidth = true; + } + + if (coming.height === 'auto') { + coming.autoHeight = true; + } + + /* + * Add reference to the group, so it`s possible to access from callbacks, example: + * afterLoad : function() { + * this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : ''); + * } + */ + + coming.group = F.group; + coming.index = index; + + // Give a chance for callback or helpers to update coming item (type, title, etc) + F.coming = coming; + + if (false === F.trigger('beforeLoad')) { + F.coming = null; + + return; + } + + type = coming.type; + href = coming.href; + + if (!type) { + F.coming = null; + + //If we can not determine content type then drop silently or display next/prev item if looping through gallery + if (F.current && F.router && F.router !== 'jumpto') { + F.current.index = index; + + return F[ F.router ]( F.direction ); + } + + return false; + } + + F.isActive = true; + + if (type === 'image' || type === 'swf') { + coming.autoHeight = coming.autoWidth = false; + coming.scrolling = 'visible'; + } + + if (type === 'image') { + coming.aspectRatio = true; + } + + if (type === 'iframe' && isTouch) { + coming.scrolling = 'scroll'; + } + + // Build the neccessary markup + coming.wrap = $(coming.tpl.wrap).addClass('fancybox-' + (isTouch ? 'mobile' : 'desktop') + ' fancybox-type-' + type + ' fancybox-tmp ' + coming.wrapCSS).appendTo( coming.parent || 'body' ); + + $.extend(coming, { + skin : $('.fancybox-skin', coming.wrap), + outer : $('.fancybox-outer', coming.wrap), + inner : $('.fancybox-inner', coming.wrap) + }); + + $.each(["Top", "Right", "Bottom", "Left"], function(i, v) { + coming.skin.css('padding' + v, getValue(coming.padding[ i ])); + }); + + F.trigger('onReady'); + + // Check before try to load; 'inline' and 'html' types need content, others - href + if (type === 'inline' || type === 'html') { + if (!coming.content || !coming.content.length) { + return F._error( 'content' ); + } + + } else if (!href) { + return F._error( 'href' ); + } + + if (type === 'image') { + F._loadImage(); + + } else if (type === 'ajax') { + F._loadAjax(); + + } else if (type === 'iframe') { + F._loadIframe(); + + } else { + F._afterLoad(); + } + }, + + _error: function ( type ) { + $.extend(F.coming, { + type : 'html', + autoWidth : true, + autoHeight : true, + minWidth : 0, + minHeight : 0, + scrolling : 'no', + hasError : type, + content : F.coming.tpl.error + }); + + F._afterLoad(); + }, + + _loadImage: function () { + // Reset preload image so it is later possible to check "complete" property + var img = F.imgPreload = new Image(); + + img.onload = function () { + this.onload = this.onerror = null; + + F.coming.width = this.width / F.opts.pixelRatio; + F.coming.height = this.height / F.opts.pixelRatio; + + F._afterLoad(); + }; + + img.onerror = function () { + this.onload = this.onerror = null; + + F._error( 'image' ); + }; + + img.src = F.coming.href; + + if (img.complete !== true) { + F.showLoading(); + } + }, + + _loadAjax: function () { + var coming = F.coming; + + F.showLoading(); + + F.ajaxLoad = $.ajax($.extend({}, coming.ajax, { + url: coming.href, + error: function (jqXHR, textStatus) { + if (F.coming && textStatus !== 'abort') { + F._error( 'ajax', jqXHR ); + + } else { + F.hideLoading(); + } + }, + success: function (data, textStatus) { + if (textStatus === 'success') { + coming.content = data; + + F._afterLoad(); + } + } + })); + }, + + _loadIframe: function() { + var coming = F.coming, + iframe = $(coming.tpl.iframe.replace(/\{rnd\}/g, new Date().getTime())) + .attr('scrolling', isTouch ? 'auto' : coming.iframe.scrolling) + .attr('src', coming.href); + + // This helps IE + $(coming.wrap).bind('onReset', function () { + try { + $(this).find('iframe').hide().attr('src', '//about:blank').end().empty(); + } catch (e) {} + }); + + if (coming.iframe.preload) { + F.showLoading(); + + iframe.one('load', function() { + $(this).data('ready', 1); + + // iOS will lose scrolling if we resize + if (!isTouch) { + $(this).bind('load.fb', F.update); + } + + // Without this trick: + // - iframe won't scroll on iOS devices + // - IE7 sometimes displays empty iframe + $(this).parents('.fancybox-wrap').width('100%').removeClass('fancybox-tmp').show(); + + F._afterLoad(); + }); + } + + coming.content = iframe.appendTo( coming.inner ); + + if (!coming.iframe.preload) { + F._afterLoad(); + } + }, + + _preloadImages: function() { + var group = F.group, + current = F.current, + len = group.length, + cnt = current.preload ? Math.min(current.preload, len - 1) : 0, + item, + i; + + for (i = 1; i <= cnt; i += 1) { + item = group[ (current.index + i ) % len ]; + + if (item.type === 'image' && item.href) { + new Image().src = item.href; + } + } + }, + + _afterLoad: function () { + var coming = F.coming, + previous = F.current, + placeholder = 'fancybox-placeholder', + current, + content, + type, + scrolling, + href, + embed; + + F.hideLoading(); + + if (!coming || F.isActive === false) { + return; + } + + if (false === F.trigger('afterLoad', coming, previous)) { + coming.wrap.stop(true).trigger('onReset').remove(); + + F.coming = null; + + return; + } + + if (previous) { + F.trigger('beforeChange', previous); + + previous.wrap.stop(true).removeClass('fancybox-opened') + .find('.fancybox-item, .fancybox-nav') + .remove(); + } + + F.unbindEvents(); + + current = coming; + content = coming.content; + type = coming.type; + scrolling = coming.scrolling; + + $.extend(F, { + wrap : current.wrap, + skin : current.skin, + outer : current.outer, + inner : current.inner, + current : current, + previous : previous + }); + + href = current.href; + + switch (type) { + case 'inline': + case 'ajax': + case 'html': + if (current.selector) { + content = $('
    ').html(content).find(current.selector); + + } else if (isQuery(content)) { + if (!content.data(placeholder)) { + content.data(placeholder, $('
    ').insertAfter( content ).hide() ); + } + + content = content.show().detach(); + + current.wrap.bind('onReset', function () { + if ($(this).find(content).length) { + content.hide().replaceAll( content.data(placeholder) ).data(placeholder, false); + } + }); + } + break; + + case 'image': + content = current.tpl.image.replace(/\{href\}/g, href); + break; + + case 'swf': + content = ''; + embed = ''; + + $.each(current.swf, function(name, val) { + content += ''; + embed += ' ' + name + '="' + val + '"'; + }); + + content += ''; + break; + } + + if (!(isQuery(content) && content.parent().is(current.inner))) { + current.inner.append( content ); + } + + // Give a chance for helpers or callbacks to update elements + F.trigger('beforeShow'); + + // Set scrolling before calculating dimensions + current.inner.css('overflow', scrolling === 'yes' ? 'scroll' : (scrolling === 'no' ? 'hidden' : scrolling)); + + // Set initial dimensions and start position + F._setDimension(); + + F.reposition(); + + F.isOpen = false; + F.coming = null; + + F.bindEvents(); + + if (!F.isOpened) { + $('.fancybox-wrap').not( current.wrap ).stop(true).trigger('onReset').remove(); + + } else if (previous.prevMethod) { + F.transitions[ previous.prevMethod ](); + } + + F.transitions[ F.isOpened ? current.nextMethod : current.openMethod ](); + + F._preloadImages(); + }, + + _setDimension: function () { + var viewport = F.getViewport(), + steps = 0, + canShrink = false, + canExpand = false, + wrap = F.wrap, + skin = F.skin, + inner = F.inner, + current = F.current, + width = current.width, + height = current.height, + minWidth = current.minWidth, + minHeight = current.minHeight, + maxWidth = current.maxWidth, + maxHeight = current.maxHeight, + scrolling = current.scrolling, + scrollOut = current.scrollOutside ? current.scrollbarWidth : 0, + margin = current.margin, + wMargin = getScalar(margin[1] + margin[3]), + hMargin = getScalar(margin[0] + margin[2]), + wPadding, + hPadding, + wSpace, + hSpace, + origWidth, + origHeight, + origMaxWidth, + origMaxHeight, + ratio, + width_, + height_, + maxWidth_, + maxHeight_, + iframe, + body; + + // Reset dimensions so we could re-check actual size + wrap.add(skin).add(inner).width('auto').height('auto').removeClass('fancybox-tmp'); + + wPadding = getScalar(skin.outerWidth(true) - skin.width()); + hPadding = getScalar(skin.outerHeight(true) - skin.height()); + + // Any space between content and viewport (margin, padding, border, title) + wSpace = wMargin + wPadding; + hSpace = hMargin + hPadding; + + origWidth = isPercentage(width) ? (viewport.w - wSpace) * getScalar(width) / 100 : width; + origHeight = isPercentage(height) ? (viewport.h - hSpace) * getScalar(height) / 100 : height; + + if (current.type === 'iframe') { + iframe = current.content; + + if (current.autoHeight && iframe.data('ready') === 1) { + try { + if (iframe[0].contentWindow.document.location) { + inner.width( origWidth ).height(9999); + + body = iframe.contents().find('body'); + + if (scrollOut) { + body.css('overflow-x', 'hidden'); + } + + origHeight = body.outerHeight(true); + } + + } catch (e) {} + } + + } else if (current.autoWidth || current.autoHeight) { + inner.addClass( 'fancybox-tmp' ); + + // Set width or height in case we need to calculate only one dimension + if (!current.autoWidth) { + inner.width( origWidth ); + } + + if (!current.autoHeight) { + inner.height( origHeight ); + } + + if (current.autoWidth) { + origWidth = inner.width(); + } + + if (current.autoHeight) { + origHeight = inner.height(); + } + + inner.removeClass( 'fancybox-tmp' ); + } + + width = getScalar( origWidth ); + height = getScalar( origHeight ); + + ratio = origWidth / origHeight; + + // Calculations for the content + minWidth = getScalar(isPercentage(minWidth) ? getScalar(minWidth, 'w') - wSpace : minWidth); + maxWidth = getScalar(isPercentage(maxWidth) ? getScalar(maxWidth, 'w') - wSpace : maxWidth); + + minHeight = getScalar(isPercentage(minHeight) ? getScalar(minHeight, 'h') - hSpace : minHeight); + maxHeight = getScalar(isPercentage(maxHeight) ? getScalar(maxHeight, 'h') - hSpace : maxHeight); + + // These will be used to determine if wrap can fit in the viewport + origMaxWidth = maxWidth; + origMaxHeight = maxHeight; + + if (current.fitToView) { + maxWidth = Math.min(viewport.w - wSpace, maxWidth); + maxHeight = Math.min(viewport.h - hSpace, maxHeight); + } + + maxWidth_ = viewport.w - wMargin; + maxHeight_ = viewport.h - hMargin; + + if (current.aspectRatio) { + if (width > maxWidth) { + width = maxWidth; + height = getScalar(width / ratio); + } + + if (height > maxHeight) { + height = maxHeight; + width = getScalar(height * ratio); + } + + if (width < minWidth) { + width = minWidth; + height = getScalar(width / ratio); + } + + if (height < minHeight) { + height = minHeight; + width = getScalar(height * ratio); + } + + } else { + width = Math.max(minWidth, Math.min(width, maxWidth)); + + if (current.autoHeight && current.type !== 'iframe') { + inner.width( width ); + + height = inner.height(); + } + + height = Math.max(minHeight, Math.min(height, maxHeight)); + } + + // Try to fit inside viewport (including the title) + if (current.fitToView) { + inner.width( width ).height( height ); + + wrap.width( width + wPadding ); + + // Real wrap dimensions + width_ = wrap.width(); + height_ = wrap.height(); + + if (current.aspectRatio) { + while ((width_ > maxWidth_ || height_ > maxHeight_) && width > minWidth && height > minHeight) { + if (steps++ > 19) { + break; + } + + height = Math.max(minHeight, Math.min(maxHeight, height - 10)); + width = getScalar(height * ratio); + + if (width < minWidth) { + width = minWidth; + height = getScalar(width / ratio); + } + + if (width > maxWidth) { + width = maxWidth; + height = getScalar(width / ratio); + } + + inner.width( width ).height( height ); + + wrap.width( width + wPadding ); + + width_ = wrap.width(); + height_ = wrap.height(); + } + + } else { + width = Math.max(minWidth, Math.min(width, width - (width_ - maxWidth_))); + height = Math.max(minHeight, Math.min(height, height - (height_ - maxHeight_))); + } + } + + if (scrollOut && scrolling === 'auto' && height < origHeight && (width + wPadding + scrollOut) < maxWidth_) { + width += scrollOut; + } + + inner.width( width ).height( height ); + + wrap.width( width + wPadding ); + + width_ = wrap.width(); + height_ = wrap.height(); + + canShrink = (width_ > maxWidth_ || height_ > maxHeight_) && width > minWidth && height > minHeight; + canExpand = current.aspectRatio ? (width < origMaxWidth && height < origMaxHeight && width < origWidth && height < origHeight) : ((width < origMaxWidth || height < origMaxHeight) && (width < origWidth || height < origHeight)); + + $.extend(current, { + dim : { + width : getValue( width_ ), + height : getValue( height_ ) + }, + origWidth : origWidth, + origHeight : origHeight, + canShrink : canShrink, + canExpand : canExpand, + wPadding : wPadding, + hPadding : hPadding, + wrapSpace : height_ - skin.outerHeight(true), + skinSpace : skin.height() - height + }); + + if (!iframe && current.autoHeight && height > minHeight && height < maxHeight && !canExpand) { + inner.height('auto'); + } + }, + + _getPosition: function (onlyAbsolute) { + var current = F.current, + viewport = F.getViewport(), + margin = current.margin, + width = F.wrap.width() + margin[1] + margin[3], + height = F.wrap.height() + margin[0] + margin[2], + rez = { + position: 'absolute', + top : margin[0], + left : margin[3] + }; + + if (current.autoCenter && current.fixed && !onlyAbsolute && height <= viewport.h && width <= viewport.w) { + rez.position = 'fixed'; + + } else if (!current.locked) { + rez.top += viewport.y; + rez.left += viewport.x; + } + + rez.top = getValue(Math.max(rez.top, rez.top + ((viewport.h - height) * current.topRatio))); + rez.left = getValue(Math.max(rez.left, rez.left + ((viewport.w - width) * current.leftRatio))); + + return rez; + }, + + _afterZoomIn: function () { + var current = F.current; + + if (!current) { + return; + } + + F.isOpen = F.isOpened = true; + + F.wrap.css('overflow', 'visible').addClass('fancybox-opened').hide().show(0); + + F.update(); + + // Assign a click event + if ( current.closeClick || (current.nextClick && F.group.length > 1) ) { + F.inner.css('cursor', 'pointer').bind('click.fb', function(e) { + if (!$(e.target).is('a') && !$(e.target).parent().is('a')) { + e.preventDefault(); + + F[ current.closeClick ? 'close' : 'next' ](); + } + }); + } + + // Create a close button + if (current.closeBtn) { + $(current.tpl.closeBtn).appendTo(F.skin).bind('click.fb', function(e) { + e.preventDefault(); + + F.close(); + }); + } + + // Create navigation arrows + if (current.arrows && F.group.length > 1) { + if (current.loop || current.index > 0) { + $(current.tpl.prev).appendTo(F.outer).bind('click.fb', F.prev); + } + + if (current.loop || current.index < F.group.length - 1) { + $(current.tpl.next).appendTo(F.outer).bind('click.fb', F.next); + } + } + + F.trigger('afterShow'); + + // Stop the slideshow if this is the last item + if (!current.loop && current.index === current.group.length - 1) { + + F.play( false ); + + } else if (F.opts.autoPlay && !F.player.isActive) { + F.opts.autoPlay = false; + + F.play(true); + } + }, + + _afterZoomOut: function ( obj ) { + obj = obj || F.current; + + $('.fancybox-wrap').trigger('onReset').remove(); + + $.extend(F, { + group : {}, + opts : {}, + router : false, + current : null, + isActive : false, + isOpened : false, + isOpen : false, + isClosing : false, + wrap : null, + skin : null, + outer : null, + inner : null + }); + + F.trigger('afterClose', obj); + } + }); + + /* + * Default transitions + */ + + F.transitions = { + getOrigPosition: function () { + var current = F.current, + element = current.element, + orig = current.orig, + pos = {}, + width = 50, + height = 50, + hPadding = current.hPadding, + wPadding = current.wPadding, + viewport = F.getViewport(); + + if (!orig && current.isDom && element.is(':visible')) { + orig = element.find('img:first'); + + if (!orig.length) { + orig = element; + } + } + + if (isQuery(orig)) { + pos = orig.offset(); + + if (orig.is('img')) { + width = orig.outerWidth(); + height = orig.outerHeight(); + } + + } else { + pos.top = viewport.y + (viewport.h - height) * current.topRatio; + pos.left = viewport.x + (viewport.w - width) * current.leftRatio; + } + + if (F.wrap.css('position') === 'fixed' || current.locked) { + pos.top -= viewport.y; + pos.left -= viewport.x; + } + + pos = { + top : getValue(pos.top - hPadding * current.topRatio), + left : getValue(pos.left - wPadding * current.leftRatio), + width : getValue(width + wPadding), + height : getValue(height + hPadding) + }; + + return pos; + }, + + step: function (now, fx) { + var ratio, + padding, + value, + prop = fx.prop, + current = F.current, + wrapSpace = current.wrapSpace, + skinSpace = current.skinSpace; + + if (prop === 'width' || prop === 'height') { + ratio = fx.end === fx.start ? 1 : (now - fx.start) / (fx.end - fx.start); + + if (F.isClosing) { + ratio = 1 - ratio; + } + + padding = prop === 'width' ? current.wPadding : current.hPadding; + value = now - padding; + + F.skin[ prop ]( getScalar( prop === 'width' ? value : value - (wrapSpace * ratio) ) ); + F.inner[ prop ]( getScalar( prop === 'width' ? value : value - (wrapSpace * ratio) - (skinSpace * ratio) ) ); + } + }, + + zoomIn: function () { + var current = F.current, + startPos = current.pos, + effect = current.openEffect, + elastic = effect === 'elastic', + endPos = $.extend({opacity : 1}, startPos); + + // Remove "position" property that breaks older IE + delete endPos.position; + + if (elastic) { + startPos = this.getOrigPosition(); + + if (current.openOpacity) { + startPos.opacity = 0.1; + } + + } else if (effect === 'fade') { + startPos.opacity = 0.1; + } + + F.wrap.css(startPos).animate(endPos, { + duration : effect === 'none' ? 0 : current.openSpeed, + easing : current.openEasing, + step : elastic ? this.step : null, + complete : F._afterZoomIn + }); + }, + + zoomOut: function () { + var current = F.current, + effect = current.closeEffect, + elastic = effect === 'elastic', + endPos = {opacity : 0.1}; + + if (elastic) { + endPos = this.getOrigPosition(); + + if (current.closeOpacity) { + endPos.opacity = 0.1; + } + } + + F.wrap.animate(endPos, { + duration : effect === 'none' ? 0 : current.closeSpeed, + easing : current.closeEasing, + step : elastic ? this.step : null, + complete : F._afterZoomOut + }); + }, + + changeIn: function () { + var current = F.current, + effect = current.nextEffect, + startPos = current.pos, + endPos = { opacity : 1 }, + direction = F.direction, + distance = 200, + field; + + startPos.opacity = 0.1; + + if (effect === 'elastic') { + field = direction === 'down' || direction === 'up' ? 'top' : 'left'; + + if (direction === 'down' || direction === 'right') { + startPos[ field ] = getValue(getScalar(startPos[ field ]) - distance); + endPos[ field ] = '+=' + distance + 'px'; + + } else { + startPos[ field ] = getValue(getScalar(startPos[ field ]) + distance); + endPos[ field ] = '-=' + distance + 'px'; + } + } + + // Workaround for http://bugs.jquery.com/ticket/12273 + if (effect === 'none') { + F._afterZoomIn(); + + } else { + F.wrap.css(startPos).animate(endPos, { + duration : current.nextSpeed, + easing : current.nextEasing, + complete : F._afterZoomIn + }); + } + }, + + changeOut: function () { + var previous = F.previous, + effect = previous.prevEffect, + endPos = { opacity : 0.1 }, + direction = F.direction, + distance = 200; + + if (effect === 'elastic') { + endPos[ direction === 'down' || direction === 'up' ? 'top' : 'left' ] = ( direction === 'up' || direction === 'left' ? '-' : '+' ) + '=' + distance + 'px'; + } + + previous.wrap.animate(endPos, { + duration : effect === 'none' ? 0 : previous.prevSpeed, + easing : previous.prevEasing, + complete : function () { + $(this).trigger('onReset').remove(); + } + }); + } + }; + + /* + * Overlay helper + */ + + F.helpers.overlay = { + defaults : { + closeClick : true, // if true, fancyBox will be closed when user clicks on the overlay + speedOut : 200, // duration of fadeOut animation + showEarly : true, // indicates if should be opened immediately or wait until the content is ready + css : {}, // custom CSS properties + locked : !isTouch, // if true, the content will be locked into overlay + fixed : true // if false, the overlay CSS position property will not be set to "fixed" + }, + + overlay : null, // current handle + fixed : false, // indicates if the overlay has position "fixed" + el : $('html'), // element that contains "the lock" + + // Public methods + create : function(opts) { + var parent; + + opts = $.extend({}, this.defaults, opts); + + if (this.overlay) { + this.close(); + } + + parent = F.coming ? F.coming.parent : opts.parent; + + this.overlay = $('
    ').appendTo( parent && parent.lenth ? parent : 'body' ); + this.fixed = false; + + if (opts.fixed && F.defaults.fixed) { + this.overlay.addClass('fancybox-overlay-fixed'); + + this.fixed = true; + } + }, + + open : function(opts) { + var that = this; + + opts = $.extend({}, this.defaults, opts); + + if (this.overlay) { + this.overlay.unbind('.overlay').width('auto').height('auto'); + + } else { + this.create(opts); + } + + if (!this.fixed) { + W.bind('resize.overlay', $.proxy( this.update, this) ); + + this.update(); + } + + if (opts.closeClick) { + this.overlay.bind('click.overlay', function(e) { + if ($(e.target).hasClass('fancybox-overlay')) { + if (F.isActive) { + F.close(); + } else { + that.close(); + } + + return false; + } + }); + } + + this.overlay.css( opts.css ).show(); + }, + + close : function() { + W.unbind('resize.overlay'); + + if (this.el.hasClass('fancybox-lock')) { + $('.fancybox-margin').removeClass('fancybox-margin'); + + this.el.removeClass('fancybox-lock'); + + W.scrollTop( this.scrollV ).scrollLeft( this.scrollH ); + } + + $('.fancybox-overlay').remove().hide(); + + $.extend(this, { + overlay : null, + fixed : false + }); + }, + + // Private, callbacks + + update : function () { + var width = '100%', offsetWidth; + + // Reset width/height so it will not mess + this.overlay.width(width).height('100%'); + + // jQuery does not return reliable result for IE + if (IE) { + offsetWidth = Math.max(document.documentElement.offsetWidth, document.body.offsetWidth); + + if (D.width() > offsetWidth) { + width = D.width(); + } + + } else if (D.width() > W.width()) { + width = D.width(); + } + + this.overlay.width(width).height(D.height()); + }, + + // This is where we can manipulate DOM, because later it would cause iframes to reload + onReady : function (opts, obj) { + var overlay = this.overlay; + + $('.fancybox-overlay').stop(true, true); + + if (!overlay) { + this.create(opts); + } + + if (opts.locked && this.fixed && obj.fixed) { + obj.locked = this.overlay.append( obj.wrap ); + obj.fixed = false; + } + + if (opts.showEarly === true) { + this.beforeShow.apply(this, arguments); + } + }, + + beforeShow : function(opts, obj) { + if (obj.locked && !this.el.hasClass('fancybox-lock')) { + if (this.fixPosition !== false) { + $('*').filter(function(){ + return ($(this).css('position') === 'fixed' && !$(this).hasClass("fancybox-overlay") && !$(this).hasClass("fancybox-wrap") ); + }).addClass('fancybox-margin'); + } + + this.el.addClass('fancybox-margin'); + + this.scrollV = W.scrollTop(); + this.scrollH = W.scrollLeft(); + + this.el.addClass('fancybox-lock'); + + W.scrollTop( this.scrollV ).scrollLeft( this.scrollH ); + } + + this.open(opts); + }, + + onUpdate : function() { + if (!this.fixed) { + this.update(); + } + }, + + afterClose: function (opts) { + // Remove overlay if exists and fancyBox is not opening + // (e.g., it is not being open using afterClose callback) + if (this.overlay && !F.coming) { + this.overlay.fadeOut(opts.speedOut, $.proxy( this.close, this )); + } + } + }; + + /* + * Title helper + */ + + F.helpers.title = { + defaults : { + type : 'float', // 'float', 'inside', 'outside' or 'over', + position : 'bottom' // 'top' or 'bottom' + }, + + beforeShow: function (opts) { + var current = F.current, + text = current.title, + type = opts.type, + title, + target; + + if ($.isFunction(text)) { + text = text.call(current.element, current); + } + + if (!isString(text) || $.trim(text) === '') { + return; + } + + title = $('
    ' + text + '
    '); + + switch (type) { + case 'inside': + target = F.skin; + break; + + case 'outside': + target = F.wrap; + break; + + case 'over': + target = F.inner; + break; + + default: // 'float' + target = F.skin; + + title.appendTo('body'); + + if (IE) { + title.width( title.width() ); + } + + title.wrapInner(''); + + //Increase bottom margin so this title will also fit into viewport + F.current.margin[2] += Math.abs( getScalar(title.css('margin-bottom')) ); + break; + } + + title[ (opts.position === 'top' ? 'prependTo' : 'appendTo') ](target); + } + }; + + // jQuery plugin initialization + $.fn.fancybox = function (options) { + var index, + that = $(this), + selector = this.selector || '', + run = function(e) { + var what = $(this).blur(), idx = index, relType, relVal; + + if (!(e.ctrlKey || e.altKey || e.shiftKey || e.metaKey) && !what.is('.fancybox-wrap')) { + relType = options.groupAttr || 'data-fancybox-group'; + relVal = what.attr(relType); + + if (!relVal) { + relType = 'rel'; + relVal = what.get(0)[ relType ]; + } + + if (relVal && relVal !== '' && relVal !== 'nofollow') { + what = selector.length ? $(selector) : that; + what = what.filter('[' + relType + '="' + relVal + '"]'); + idx = what.index(this); + } + + options.index = idx; + + // Stop an event from bubbling if everything is fine + if (F.open(what, options) !== false) { + e.preventDefault(); + } + } + }; + + options = options || {}; + index = options.index || 0; + + if (!selector || options.live === false) { + that.unbind('click.fb-start').bind('click.fb-start', run); + + } else { + D.undelegate(selector, 'click.fb-start').delegate(selector + ":not('.fancybox-item, .fancybox-nav')", 'click.fb-start', run); + } + + this.filter('[data-fancybox-start=1]').trigger('click'); + + return this; + }; + + // Tests that need a body at doc ready + D.ready(function() { + var w1, w2; + + if ( $.scrollbarWidth === undefined ) { + // http://benalman.com/projects/jquery-misc-plugins/#scrollbarwidth + $.scrollbarWidth = function() { + var parent = $('
    ').appendTo('body'), + child = parent.children(), + width = child.innerWidth() - child.height( 99 ).innerWidth(); + + parent.remove(); + + return width; + }; + } + + if ( $.support.fixedPosition === undefined ) { + $.support.fixedPosition = (function() { + var elem = $('
    ').appendTo('body'), + fixed = ( elem[0].offsetTop === 20 || elem[0].offsetTop === 15 ); + + elem.remove(); + + return fixed; + }()); + } + + $.extend(F.defaults, { + scrollbarWidth : $.scrollbarWidth(), + fixed : $.support.fixedPosition, + parent : $('body') + }); + + //Get real width of page scroll-bar + w1 = $(window).width(); + + H.addClass('fancybox-lock-test'); + + w2 = $(window).width(); + + H.removeClass('fancybox-lock-test'); + + $("").appendTo("head"); + }); + +}(window, document, jQuery)); \ No newline at end of file diff --git a/fancybox/jquery.fancybox.pack.js b/fancybox/jquery.fancybox.pack.js new file mode 100644 index 0000000000000000000000000000000000000000..2db128084874c3c71b3d6809af5d48927bda1a8e --- /dev/null +++ b/fancybox/jquery.fancybox.pack.js @@ -0,0 +1,46 @@ +/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */ +(function(s,H,f,w){var K=f("html"),q=f(s),p=f(H),b=f.fancybox=function(){b.open.apply(this,arguments)},J=navigator.userAgent.match(/msie/i),C=null,t=H.createTouch!==w,u=function(a){return a&&a.hasOwnProperty&&a instanceof f},r=function(a){return a&&"string"===f.type(a)},F=function(a){return r(a)&&0
    ',image:'',iframe:'",error:'

    The requested content cannot be loaded.
    Please try again later.

    ',closeBtn:'',next:'',prev:''},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0, +openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:f.noop,beforeLoad:f.noop,afterLoad:f.noop,beforeShow:f.noop,afterShow:f.noop,beforeChange:f.noop,beforeClose:f.noop,afterClose:f.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1, +isOpen:!1,isOpened:!1,wrap:null,skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(a,d){if(a&&(f.isPlainObject(d)||(d={}),!1!==b.close(!0)))return f.isArray(a)||(a=u(a)?f(a).get():[a]),f.each(a,function(e,c){var l={},g,h,k,n,m;"object"===f.type(c)&&(c.nodeType&&(c=f(c)),u(c)?(l={href:c.data("fancybox-href")||c.attr("href"),title:f("
    ").text(c.data("fancybox-title")||c.attr("title")).html(),isDom:!0,element:c}, +f.metadata&&f.extend(!0,l,c.metadata())):l=c);g=d.href||l.href||(r(c)?c:null);h=d.title!==w?d.title:l.title||"";n=(k=d.content||l.content)?"html":d.type||l.type;!n&&l.isDom&&(n=c.data("fancybox-type"),n||(n=(n=c.prop("class").match(/fancybox\.(\w+)/))?n[1]:null));r(g)&&(n||(b.isImage(g)?n="image":b.isSWF(g)?n="swf":"#"===g.charAt(0)?n="inline":r(c)&&(n="html",k=c)),"ajax"===n&&(m=g.split(/\s+/,2),g=m.shift(),m=m.shift()));k||("inline"===n?g?k=f(r(g)?g.replace(/.*(?=#[^\s]+$)/,""):g):l.isDom&&(k=c): +"html"===n?k=g:n||g||!l.isDom||(n="inline",k=c));f.extend(l,{href:g,type:n,content:k,title:h,selector:m});a[e]=l}),b.opts=f.extend(!0,{},b.defaults,d),d.keys!==w&&(b.opts.keys=d.keys?f.extend({},b.defaults.keys,d.keys):!1),b.group=a,b._start(b.opts.index)},cancel:function(){var a=b.coming;a&&!1===b.trigger("onCancel")||(b.hideLoading(),a&&(b.ajaxLoad&&b.ajaxLoad.abort(),b.ajaxLoad=null,b.imgPreload&&(b.imgPreload.onload=b.imgPreload.onerror=null),a.wrap&&a.wrap.stop(!0,!0).trigger("onReset").remove(), +b.coming=null,b.current||b._afterZoomOut(a)))},close:function(a){b.cancel();!1!==b.trigger("beforeClose")&&(b.unbindEvents(),b.isActive&&(b.isOpen&&!0!==a?(b.isOpen=b.isOpened=!1,b.isClosing=!0,f(".fancybox-item, .fancybox-nav").remove(),b.wrap.stop(!0,!0).removeClass("fancybox-opened"),b.transitions[b.current.closeMethod]()):(f(".fancybox-wrap").stop(!0).trigger("onReset").remove(),b._afterZoomOut())))},play:function(a){var d=function(){clearTimeout(b.player.timer)},e=function(){d();b.current&&b.player.isActive&& +(b.player.timer=setTimeout(b.next,b.current.playSpeed))},c=function(){d();p.unbind(".player");b.player.isActive=!1;b.trigger("onPlayEnd")};!0===a||!b.player.isActive&&!1!==a?b.current&&(b.current.loop||b.current.index=c.index?"next":"prev"],b.router=e||"jumpto",c.loop&&(0>a&&(a=c.group.length+a%c.group.length),a%=c.group.length),c.group[a]!==w&&(b.cancel(),b._start(a)))},reposition:function(a,d){var e=b.current,c=e?e.wrap:null,l;c&&(l=b._getPosition(d),a&&"scroll"===a.type?(delete l.position,c.stop(!0,!0).animate(l,200)):(c.css(l),e.pos=f.extend({},e.dim,l)))}, +update:function(a){var d=a&&a.originalEvent&&a.originalEvent.type,e=!d||"orientationchange"===d;e&&(clearTimeout(C),C=null);b.isOpen&&!C&&(C=setTimeout(function(){var c=b.current;c&&!b.isClosing&&(b.wrap.removeClass("fancybox-tmp"),(e||"load"===d||"resize"===d&&c.autoResize)&&b._setDimension(),"scroll"===d&&c.canShrink||b.reposition(a),b.trigger("onUpdate"),C=null)},e&&!t?0:300))},toggle:function(a){b.isOpen&&(b.current.fitToView="boolean"===f.type(a)?a:!b.current.fitToView,t&&(b.wrap.removeAttr("style").addClass("fancybox-tmp"), +b.trigger("onUpdate")),b.update())},hideLoading:function(){p.unbind(".loading");f("#fancybox-loading").remove()},showLoading:function(){var a,d;b.hideLoading();a=f('
    ').click(b.cancel).appendTo("body");p.bind("keydown.loading",function(a){27===(a.which||a.keyCode)&&(a.preventDefault(),b.cancel())});b.defaults.fixed||(d=b.getViewport(),a.css({position:"absolute",top:0.5*d.h+d.y,left:0.5*d.w+d.x}));b.trigger("onLoading")},getViewport:function(){var a=b.current&& +b.current.locked||!1,d={x:q.scrollLeft(),y:q.scrollTop()};a&&a.length?(d.w=a[0].clientWidth,d.h=a[0].clientHeight):(d.w=t&&s.innerWidth?s.innerWidth:q.width(),d.h=t&&s.innerHeight?s.innerHeight:q.height());return d},unbindEvents:function(){b.wrap&&u(b.wrap)&&b.wrap.unbind(".fb");p.unbind(".fb");q.unbind(".fb")},bindEvents:function(){var a=b.current,d;a&&(q.bind("orientationchange.fb"+(t?"":" resize.fb")+(a.autoCenter&&!a.locked?" scroll.fb":""),b.update),(d=a.keys)&&p.bind("keydown.fb",function(e){var c= +e.which||e.keyCode,l=e.target||e.srcElement;if(27===c&&b.coming)return!1;e.ctrlKey||e.altKey||e.shiftKey||e.metaKey||l&&(l.type||f(l).is("[contenteditable]"))||f.each(d,function(d,l){if(1h[0].clientWidth||h[0].clientHeight&&h[0].scrollHeight>h[0].clientHeight),h=f(h).parent();0!==c&&!k&&1g||0>l)&&b.next(0>g?"up":"right"),d.preventDefault())}))},trigger:function(a,d){var e,c=d||b.coming||b.current;if(c){f.isFunction(c[a])&&(e=c[a].apply(c,Array.prototype.slice.call(arguments,1)));if(!1===e)return!1;c.helpers&&f.each(c.helpers,function(d,e){if(e&& +b.helpers[d]&&f.isFunction(b.helpers[d][a]))b.helpers[d][a](f.extend(!0,{},b.helpers[d].defaults,e),c)})}p.trigger(a)},isImage:function(a){return r(a)&&a.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(a){return r(a)&&a.match(/\.(swf)((\?|#).*)?$/i)},_start:function(a){var d={},e,c;a=m(a);e=b.group[a]||null;if(!e)return!1;d=f.extend(!0,{},b.opts,e);e=d.margin;c=d.padding;"number"===f.type(e)&&(d.margin=[e,e,e,e]);"number"===f.type(c)&&(d.padding=[c,c, +c,c]);d.modal&&f.extend(!0,d,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}});d.autoSize&&(d.autoWidth=d.autoHeight=!0);"auto"===d.width&&(d.autoWidth=!0);"auto"===d.height&&(d.autoHeight=!0);d.group=b.group;d.index=a;b.coming=d;if(!1===b.trigger("beforeLoad"))b.coming=null;else{c=d.type;e=d.href;if(!c)return b.coming=null,b.current&&b.router&&"jumpto"!==b.router?(b.current.index=a,b[b.router](b.direction)):!1;b.isActive=!0;if("image"=== +c||"swf"===c)d.autoHeight=d.autoWidth=!1,d.scrolling="visible";"image"===c&&(d.aspectRatio=!0);"iframe"===c&&t&&(d.scrolling="scroll");d.wrap=f(d.tpl.wrap).addClass("fancybox-"+(t?"mobile":"desktop")+" fancybox-type-"+c+" fancybox-tmp "+d.wrapCSS).appendTo(d.parent||"body");f.extend(d,{skin:f(".fancybox-skin",d.wrap),outer:f(".fancybox-outer",d.wrap),inner:f(".fancybox-inner",d.wrap)});f.each(["Top","Right","Bottom","Left"],function(a,b){d.skin.css("padding"+b,x(d.padding[a]))});b.trigger("onReady"); +if("inline"===c||"html"===c){if(!d.content||!d.content.length)return b._error("content")}else if(!e)return b._error("href");"image"===c?b._loadImage():"ajax"===c?b._loadAjax():"iframe"===c?b._loadIframe():b._afterLoad()}},_error:function(a){f.extend(b.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:a,content:b.coming.tpl.error});b._afterLoad()},_loadImage:function(){var a=b.imgPreload=new Image;a.onload=function(){this.onload=this.onerror=null;b.coming.width= +this.width/b.opts.pixelRatio;b.coming.height=this.height/b.opts.pixelRatio;b._afterLoad()};a.onerror=function(){this.onload=this.onerror=null;b._error("image")};a.src=b.coming.href;!0!==a.complete&&b.showLoading()},_loadAjax:function(){var a=b.coming;b.showLoading();b.ajaxLoad=f.ajax(f.extend({},a.ajax,{url:a.href,error:function(a,e){b.coming&&"abort"!==e?b._error("ajax",a):b.hideLoading()},success:function(d,e){"success"===e&&(a.content=d,b._afterLoad())}}))},_loadIframe:function(){var a=b.coming, +d=f(a.tpl.iframe.replace(/\{rnd\}/g,(new Date).getTime())).attr("scrolling",t?"auto":a.iframe.scrolling).attr("src",a.href);f(a.wrap).bind("onReset",function(){try{f(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(a){}});a.iframe.preload&&(b.showLoading(),d.one("load",function(){f(this).data("ready",1);t||f(this).bind("load.fb",b.update);f(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show();b._afterLoad()}));a.content=d.appendTo(a.inner);a.iframe.preload|| +b._afterLoad()},_preloadImages:function(){var a=b.group,d=b.current,e=a.length,c=d.preload?Math.min(d.preload,e-1):0,f,g;for(g=1;g<=c;g+=1)f=a[(d.index+g)%e],"image"===f.type&&f.href&&((new Image).src=f.href)},_afterLoad:function(){var a=b.coming,d=b.current,e,c,l,g,h;b.hideLoading();if(a&&!1!==b.isActive)if(!1===b.trigger("afterLoad",a,d))a.wrap.stop(!0).trigger("onReset").remove(),b.coming=null;else{d&&(b.trigger("beforeChange",d),d.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove()); +b.unbindEvents();e=a.content;c=a.type;l=a.scrolling;f.extend(b,{wrap:a.wrap,skin:a.skin,outer:a.outer,inner:a.inner,current:a,previous:d});g=a.href;switch(c){case "inline":case "ajax":case "html":a.selector?e=f("
    ").html(e).find(a.selector):u(e)&&(e.data("fancybox-placeholder")||e.data("fancybox-placeholder",f('
    ').insertAfter(e).hide()),e=e.show().detach(),a.wrap.bind("onReset",function(){f(this).find(e).length&&e.hide().replaceAll(e.data("fancybox-placeholder")).data("fancybox-placeholder", +!1)}));break;case "image":e=a.tpl.image.replace(/\{href\}/g,g);break;case "swf":e='',h="",f.each(a.swf,function(a,b){e+='';h+=" "+a+'="'+b+'"'}),e+='"}u(e)&&e.parent().is(a.inner)||a.inner.append(e);b.trigger("beforeShow"); +a.inner.css("overflow","yes"===l?"scroll":"no"===l?"hidden":l);b._setDimension();b.reposition();b.isOpen=!1;b.coming=null;b.bindEvents();if(!b.isOpened)f(".fancybox-wrap").not(a.wrap).stop(!0).trigger("onReset").remove();else if(d.prevMethod)b.transitions[d.prevMethod]();b.transitions[b.isOpened?a.nextMethod:a.openMethod]();b._preloadImages()}},_setDimension:function(){var a=b.getViewport(),d=0,e=!1,c=!1,e=b.wrap,l=b.skin,g=b.inner,h=b.current,c=h.width,k=h.height,n=h.minWidth,v=h.minHeight,p=h.maxWidth, +q=h.maxHeight,t=h.scrolling,r=h.scrollOutside?h.scrollbarWidth:0,y=h.margin,z=m(y[1]+y[3]),s=m(y[0]+y[2]),w,A,u,D,B,G,C,E,I;e.add(l).add(g).width("auto").height("auto").removeClass("fancybox-tmp");y=m(l.outerWidth(!0)-l.width());w=m(l.outerHeight(!0)-l.height());A=z+y;u=s+w;D=F(c)?(a.w-A)*m(c)/100:c;B=F(k)?(a.h-u)*m(k)/100:k;if("iframe"===h.type){if(I=h.content,h.autoHeight&&1===I.data("ready"))try{I[0].contentWindow.document.location&&(g.width(D).height(9999),G=I.contents().find("body"),r&&G.css("overflow-x", +"hidden"),B=G.outerHeight(!0))}catch(H){}}else if(h.autoWidth||h.autoHeight)g.addClass("fancybox-tmp"),h.autoWidth||g.width(D),h.autoHeight||g.height(B),h.autoWidth&&(D=g.width()),h.autoHeight&&(B=g.height()),g.removeClass("fancybox-tmp");c=m(D);k=m(B);E=D/B;n=m(F(n)?m(n,"w")-A:n);p=m(F(p)?m(p,"w")-A:p);v=m(F(v)?m(v,"h")-u:v);q=m(F(q)?m(q,"h")-u:q);G=p;C=q;h.fitToView&&(p=Math.min(a.w-A,p),q=Math.min(a.h-u,q));A=a.w-z;s=a.h-s;h.aspectRatio?(c>p&&(c=p,k=m(c/E)),k>q&&(k=q,c=m(k*E)),cA||z>s)&&c>n&&k>v&&!(19p&&(c=p,k=m(c/E)),g.width(c).height(k),e.width(c+y),a=e.width(),z=e.height();else c=Math.max(n,Math.min(c,c-(a-A))),k=Math.max(v,Math.min(k,k-(z-s)));r&&"auto"===t&&kA||z>s)&&c>n&&k>v;c=h.aspectRatio?cv&&k
    ').appendTo(d&&d.lenth?d:"body");this.fixed=!1;a.fixed&&b.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(a){var d=this;a=f.extend({},this.defaults,a);this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(a);this.fixed||(q.bind("resize.overlay",f.proxy(this.update,this)),this.update());a.closeClick&&this.overlay.bind("click.overlay", +function(a){if(f(a.target).hasClass("fancybox-overlay"))return b.isActive?b.close():d.close(),!1});this.overlay.css(a.css).show()},close:function(){q.unbind("resize.overlay");this.el.hasClass("fancybox-lock")&&(f(".fancybox-margin").removeClass("fancybox-margin"),this.el.removeClass("fancybox-lock"),q.scrollTop(this.scrollV).scrollLeft(this.scrollH));f(".fancybox-overlay").remove().hide();f.extend(this,{overlay:null,fixed:!1})},update:function(){var a="100%",b;this.overlay.width(a).height("100%"); +J?(b=Math.max(H.documentElement.offsetWidth,H.body.offsetWidth),p.width()>b&&(a=p.width())):p.width()>q.width()&&(a=p.width());this.overlay.width(a).height(p.height())},onReady:function(a,b){var e=this.overlay;f(".fancybox-overlay").stop(!0,!0);e||this.create(a);a.locked&&this.fixed&&b.fixed&&(b.locked=this.overlay.append(b.wrap),b.fixed=!1);!0===a.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(a,b){b.locked&&!this.el.hasClass("fancybox-lock")&&(!1!==this.fixPosition&&f("*").filter(function(){return"fixed"=== +f(this).css("position")&&!f(this).hasClass("fancybox-overlay")&&!f(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin"),this.scrollV=q.scrollTop(),this.scrollH=q.scrollLeft(),this.el.addClass("fancybox-lock"),q.scrollTop(this.scrollV).scrollLeft(this.scrollH));this.open(a)},onUpdate:function(){this.fixed||this.update()},afterClose:function(a){this.overlay&&!b.coming&&this.overlay.fadeOut(a.speedOut,f.proxy(this.close,this))}};b.helpers.title={defaults:{type:"float", +position:"bottom"},beforeShow:function(a){var d=b.current,e=d.title,c=a.type;f.isFunction(e)&&(e=e.call(d.element,d));if(r(e)&&""!==f.trim(e)){d=f('
    '+e+"
    ");switch(c){case "inside":c=b.skin;break;case "outside":c=b.wrap;break;case "over":c=b.inner;break;default:c=b.skin,d.appendTo("body"),J&&d.width(d.width()),d.wrapInner(''),b.current.margin[2]+=Math.abs(m(d.css("margin-bottom")))}d["top"===a.position?"prependTo": +"appendTo"](c)}}};f.fn.fancybox=function(a){var d,e=f(this),c=this.selector||"",l=function(g){var h=f(this).blur(),k=d,l,m;g.ctrlKey||g.altKey||g.shiftKey||g.metaKey||h.is(".fancybox-wrap")||(l=a.groupAttr||"data-fancybox-group",m=h.attr(l),m||(l="rel",m=h.get(0)[l]),m&&""!==m&&"nofollow"!==m&&(h=c.length?f(c):e,h=h.filter("["+l+'="'+m+'"]'),k=h.index(this)),a.index=k,!1!==b.open(h,a)&&g.preventDefault())};a=a||{};d=a.index||0;c&&!1!==a.live?p.undelegate(c,"click.fb-start").delegate(c+":not('.fancybox-item, .fancybox-nav')", +"click.fb-start",l):e.unbind("click.fb-start").bind("click.fb-start",l);this.filter("[data-fancybox-start=1]").trigger("click");return this};p.ready(function(){var a,d;f.scrollbarWidth===w&&(f.scrollbarWidth=function(){var a=f('
    ').appendTo("body"),b=a.children(),b=b.innerWidth()-b.height(99).innerWidth();a.remove();return b});f.support.fixedPosition===w&&(f.support.fixedPosition=function(){var a=f('
    ').appendTo("body"), +b=20===a[0].offsetTop||15===a[0].offsetTop;a.remove();return b}());f.extend(b.defaults,{scrollbarWidth:f.scrollbarWidth(),fixed:f.support.fixedPosition,parent:f("body")});a=f(s).width();K.addClass("fancybox-lock-test");d=f(s).width();K.removeClass("fancybox-lock-test");f("").appendTo("head")})})(window,document,jQuery); \ No newline at end of file diff --git a/images/LoveTimeline/book.svg b/images/LoveTimeline/book.svg deleted file mode 100644 index b038faf7a2b215575a840e75c73124ae86ed6b94..0000000000000000000000000000000000000000 --- a/images/LoveTimeline/book.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/images/LoveTimeline/star.svg b/images/LoveTimeline/star.svg deleted file mode 100644 index 0b6c0653b99808bc636752ce8ce6e52cd3d8aaa3..0000000000000000000000000000000000000000 --- a/images/LoveTimeline/star.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/images/avatar.jpg b/images/avatar.jpg deleted file mode 100644 index 5f01c6ebd6bc3ba77179028fb7e2aa7ccc3f2e79..0000000000000000000000000000000000000000 Binary files a/images/avatar.jpg and /dev/null differ diff --git a/images/cover/(0).jpg.webp b/images/cover/(0).jpg.webp deleted file mode 100644 index 10614eaeabeed494ce6ca24ba8ab2404187f38cf..0000000000000000000000000000000000000000 Binary files a/images/cover/(0).jpg.webp and /dev/null differ diff --git a/images/cover/(1).jpg.webp b/images/cover/(1).jpg.webp deleted file mode 100644 index 6f288505cb85ef2d44cfdb5191d955958805fae7..0000000000000000000000000000000000000000 Binary files a/images/cover/(1).jpg.webp and /dev/null differ diff --git a/images/cover/(2).jpg.webp b/images/cover/(2).jpg.webp deleted file mode 100644 index edac74cfc3a433b34d80b1cc1b4e8aa9a67fb55e..0000000000000000000000000000000000000000 Binary files a/images/cover/(2).jpg.webp and /dev/null differ diff --git a/images/cover/(3).jpg.webp b/images/cover/(3).jpg.webp deleted file mode 100644 index 124e3385eba1993a88928343661f5561f17689f7..0000000000000000000000000000000000000000 Binary files a/images/cover/(3).jpg.webp and /dev/null differ diff --git a/images/cover/(4).jpg.webp b/images/cover/(4).jpg.webp deleted file mode 100644 index 9397ebfaeb47495a3b5dcc963f5e7c38368b0ea9..0000000000000000000000000000000000000000 Binary files a/images/cover/(4).jpg.webp and /dev/null differ diff --git a/images/cover/(5).jpg.webp b/images/cover/(5).jpg.webp deleted file mode 100644 index 27326b5684a33fc7004fc9577c78991e6b5620a2..0000000000000000000000000000000000000000 Binary files a/images/cover/(5).jpg.webp and /dev/null differ diff --git a/images/cover/(6).jpg.webp b/images/cover/(6).jpg.webp deleted file mode 100644 index 4bc4312d4badcff4ad0434493b409bdaaee79e27..0000000000000000000000000000000000000000 Binary files a/images/cover/(6).jpg.webp and /dev/null differ diff --git a/images/cover/(7).jpg.webp b/images/cover/(7).jpg.webp deleted file mode 100644 index fedd0eb464bf316cabfabb892169099b07eb4a4c..0000000000000000000000000000000000000000 Binary files a/images/cover/(7).jpg.webp and /dev/null differ diff --git a/images/cover/(8).jpg.webp b/images/cover/(8).jpg.webp deleted file mode 100644 index 5c991a82cf97d6190bc7217f1faca6cfa2962387..0000000000000000000000000000000000000000 Binary files a/images/cover/(8).jpg.webp and /dev/null differ diff --git a/images/love109.jpg b/images/love109.jpg deleted file mode 100644 index a7115f16a477a7330017a5c9dc5402011ed5920e..0000000000000000000000000000000000000000 Binary files a/images/love109.jpg and /dev/null differ diff --git a/images/random/d-1.jpg b/images/random/d-1.jpg deleted file mode 100644 index b6369ac8b08cd61e8d43ac99ab14601a834180d5..0000000000000000000000000000000000000000 Binary files a/images/random/d-1.jpg and /dev/null differ diff --git a/images/random/d-10.jpg b/images/random/d-10.jpg deleted file mode 100644 index 6fedab181dc84b85db24ea04376c452bdcbd8cd1..0000000000000000000000000000000000000000 Binary files a/images/random/d-10.jpg and /dev/null differ diff --git a/images/random/d-2.jpg b/images/random/d-2.jpg deleted file mode 100644 index d90b9fc0108c7a17c0cbbc7f74a4a21632a36e6c..0000000000000000000000000000000000000000 Binary files a/images/random/d-2.jpg and /dev/null differ diff --git a/images/random/d-3.jpg b/images/random/d-3.jpg deleted file mode 100644 index 3b035056e42424617d9eaf7405c3f970b79d24d1..0000000000000000000000000000000000000000 Binary files a/images/random/d-3.jpg and /dev/null differ diff --git a/images/random/d-4.jpg b/images/random/d-4.jpg deleted file mode 100644 index 15c7f472e5fc8b0cbe333c530b94cffc9be76f18..0000000000000000000000000000000000000000 Binary files a/images/random/d-4.jpg and /dev/null differ diff --git a/images/random/d-5.jpg b/images/random/d-5.jpg deleted file mode 100644 index 3a5a08a09048edfc6e43c3476281f87ba4daf8a6..0000000000000000000000000000000000000000 Binary files a/images/random/d-5.jpg and /dev/null differ diff --git a/images/random/d-6.jpg b/images/random/d-6.jpg deleted file mode 100644 index c25ef8fc539af5541ea9abefbbd0e1bc04b17635..0000000000000000000000000000000000000000 Binary files a/images/random/d-6.jpg and /dev/null differ diff --git a/images/random/d-7.jpg b/images/random/d-7.jpg deleted file mode 100644 index 565cf1cc8ae9f2ea77a4f7125824df0948f164c6..0000000000000000000000000000000000000000 Binary files a/images/random/d-7.jpg and /dev/null differ diff --git a/images/random/d-8.jpg b/images/random/d-8.jpg deleted file mode 100644 index da7a3910f48eb045b68011a29a98dec312cdac92..0000000000000000000000000000000000000000 Binary files a/images/random/d-8.jpg and /dev/null differ diff --git a/images/random/d-9.jpg b/images/random/d-9.jpg deleted file mode 100644 index 85e7782a403e5df84fe382e09fa74ac55195a185..0000000000000000000000000000000000000000 Binary files a/images/random/d-9.jpg and /dev/null differ diff --git a/images/smilies/bili/baiyan.png b/images/smilies/bili/baiyan.png deleted file mode 100644 index f20ff32e716674c3311052f89695194f3f3c7515..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/baiyan.png and /dev/null differ diff --git a/images/smilies/bili/bishi.png b/images/smilies/bili/bishi.png deleted file mode 100644 index fc78499ed279fe4518469b29a6adc3eebcc17a6f..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/bishi.png and /dev/null differ diff --git a/images/smilies/bili/bizui.png b/images/smilies/bili/bizui.png deleted file mode 100644 index 3943c4868edf0387ee9779af447ff4808c349ec2..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/bizui.png and /dev/null differ diff --git a/images/smilies/bili/chan.png b/images/smilies/bili/chan.png deleted file mode 100644 index d567051fcaf43a08092b29507e613b66429729c7..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/chan.png and /dev/null differ diff --git a/images/smilies/bili/daku.png b/images/smilies/bili/daku.png deleted file mode 100644 index dd3b9467cb79eabfcfe9531f154f66d1205c74e5..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/daku.png and /dev/null differ diff --git a/images/smilies/bili/dalao.png b/images/smilies/bili/dalao.png deleted file mode 100644 index 4cc58a7634af615845f7e35f7348a48f022e66cd..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/dalao.png and /dev/null differ diff --git a/images/smilies/bili/dalian.png b/images/smilies/bili/dalian.png deleted file mode 100644 index 8e51b6172346ab6bb56ab66e606bb213883a348b..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/dalian.png and /dev/null differ diff --git a/images/smilies/bili/dianzan.png b/images/smilies/bili/dianzan.png deleted file mode 100644 index 8b9c924de1ed3962fd7de32e35ccced55696b23b..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/dianzan.png and /dev/null differ diff --git a/images/smilies/bili/doge.png b/images/smilies/bili/doge.png deleted file mode 100644 index 4b7e19660cd8dfc8408ac0734cb2fae265f9d6e0..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/doge.png and /dev/null differ diff --git a/images/smilies/bili/facai.png b/images/smilies/bili/facai.png deleted file mode 100644 index dc78278f675e01f52b484f0433a2ab8a153b2a34..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/facai.png and /dev/null differ diff --git a/images/smilies/bili/fadai.png b/images/smilies/bili/fadai.png deleted file mode 100644 index d2d33515cc331dfe2eac45cb62e9d440282d38a9..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/fadai.png and /dev/null differ diff --git a/images/smilies/bili/fanu.png b/images/smilies/bili/fanu.png deleted file mode 100644 index a413df25baa0f67ee64a3787e2e03c6218259319..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/fanu.png and /dev/null differ diff --git a/images/smilies/bili/ganga.png b/images/smilies/bili/ganga.png deleted file mode 100644 index fa1050a28658df657911092f1079f5828704447e..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/ganga.png and /dev/null differ diff --git a/images/smilies/bili/guilian.png b/images/smilies/bili/guilian.png deleted file mode 100644 index be65b1083e2d9cfb6540257226aa939d307dcbc8..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/guilian.png and /dev/null differ diff --git a/images/smilies/bili/guzhang.png b/images/smilies/bili/guzhang.png deleted file mode 100644 index c2a76704675229b16aebe02458c877f0e8e611fe..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/guzhang.png and /dev/null differ diff --git a/images/smilies/bili/haixiu.png b/images/smilies/bili/haixiu.png deleted file mode 100644 index 99c9761123635ff0ecb0a1e96c665c1db3404cf0..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/haixiu.png and /dev/null differ diff --git a/images/smilies/bili/heirenwenhao.png b/images/smilies/bili/heirenwenhao.png deleted file mode 100644 index 02eef8172d0ec1f62ae96172ec353374b55f2354..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/heirenwenhao.png and /dev/null differ diff --git a/images/smilies/bili/huaixiao.png b/images/smilies/bili/huaixiao.png deleted file mode 100644 index 4004aff0eb7cf5fb09cc0d12c6c520f7e4e0d076..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/huaixiao.png and /dev/null differ diff --git a/images/smilies/bili/jingxia.png b/images/smilies/bili/jingxia.png deleted file mode 100644 index 698d7977efa23e131269ce22ad971d8697a86624..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/jingxia.png and /dev/null differ diff --git a/images/smilies/bili/keai.png b/images/smilies/bili/keai.png deleted file mode 100644 index dcc917d756ac9115225f20684acb7370a5dbec54..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/keai.png and /dev/null differ diff --git a/images/smilies/bili/koubi.png b/images/smilies/bili/koubi.png deleted file mode 100644 index 91eaf2458bbddb340bea7820362f841287612140..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/koubi.png and /dev/null differ diff --git a/images/smilies/bili/kun.png b/images/smilies/bili/kun.png deleted file mode 100644 index 8effe55a6c0c81c56dc85614d2b9a676d6e45303..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/kun.png and /dev/null differ diff --git a/images/smilies/bili/lengmo.png b/images/smilies/bili/lengmo.png deleted file mode 100644 index 5f40f7c3890038dd4608733326a00a383bcc5de1..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/lengmo.png and /dev/null differ diff --git a/images/smilies/bili/liubixue.png b/images/smilies/bili/liubixue.png deleted file mode 100644 index fb6b99e924beedd9c7f4afdb5c22e4bc80677d25..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/liubixue.png and /dev/null differ diff --git a/images/smilies/bili/liuhan.png b/images/smilies/bili/liuhan.png deleted file mode 100644 index 2c95ecfe231be394279a8efd83c4a5fea982d251..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/liuhan.png and /dev/null differ diff --git a/images/smilies/bili/liulei.png b/images/smilies/bili/liulei.png deleted file mode 100644 index 71577cf81c8bd4664551bf6c1d003391ec1bcf6a..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/liulei.png and /dev/null differ diff --git a/images/smilies/bili/miantian.png b/images/smilies/bili/miantian.png deleted file mode 100644 index d6236b70fbc300ea9f71e17fb274886e42b73c83..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/miantian.png and /dev/null differ diff --git a/images/smilies/bili/mudengkoudai.png b/images/smilies/bili/mudengkoudai.png deleted file mode 100644 index 19114d4d02b8582e7dfceb3739cddc13e22530bc..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/mudengkoudai.png and /dev/null differ diff --git a/images/smilies/bili/nanguo.png b/images/smilies/bili/nanguo.png deleted file mode 100644 index 16f2434ac31218a2ce36a3662c63d79bd7e9ec9d..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/nanguo.png and /dev/null differ diff --git a/images/smilies/bili/outu.png b/images/smilies/bili/outu.png deleted file mode 100644 index 871801507f4dfeab1db05e46403c4c30f5093228..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/outu.png and /dev/null differ diff --git a/images/smilies/bili/qinqin.png b/images/smilies/bili/qinqin.png deleted file mode 100644 index 8132cdf16eab82bd30b3d34c59dfd7a4f4db4270..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/qinqin.png and /dev/null differ diff --git a/images/smilies/bili/se.png b/images/smilies/bili/se.png deleted file mode 100644 index 2039ac76428b5a19a4a1f3105309bc7e72e74004..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/se.png and /dev/null differ diff --git a/images/smilies/bili/shengbing.png b/images/smilies/bili/shengbing.png deleted file mode 100644 index 42c363724b1754c77ed0c4f4a444a53f2707c1b2..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/shengbing.png and /dev/null differ diff --git a/images/smilies/bili/shengqi.png b/images/smilies/bili/shengqi.png deleted file mode 100644 index 9e431cf2bc8eef12f8c9e4274902848c38068eb4..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/shengqi.png and /dev/null differ diff --git a/images/smilies/bili/shuizhao.png b/images/smilies/bili/shuizhao.png deleted file mode 100644 index 7433eb8f4c196f34f207e6fc108f47dd1f59a31f..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/shuizhao.png and /dev/null differ diff --git a/images/smilies/bili/sikao.png b/images/smilies/bili/sikao.png deleted file mode 100644 index 95cd2ee0ba65871e0666053852ce2a8e1921653d..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/sikao.png and /dev/null differ diff --git a/images/smilies/bili/tiaokan.png b/images/smilies/bili/tiaokan.png deleted file mode 100644 index e9925679f21dab5483a3eddc588b3163b10179a7..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/tiaokan.png and /dev/null differ diff --git a/images/smilies/bili/tiaopi.png b/images/smilies/bili/tiaopi.png deleted file mode 100644 index 2b5b0287b18b22b43aaf576d98319c987eab5252..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/tiaopi.png and /dev/null differ diff --git a/images/smilies/bili/touxiao.png b/images/smilies/bili/touxiao.png deleted file mode 100644 index f04df882cbdff05bd1b3ee62361e9a20c1383d87..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/touxiao.png and /dev/null differ diff --git a/images/smilies/bili/tuxue.png b/images/smilies/bili/tuxue.png deleted file mode 100644 index 4f406c77e74e9f7cede22af1638d7c57125a55c2..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/tuxue.png and /dev/null differ diff --git a/images/smilies/bili/weiqu.png b/images/smilies/bili/weiqu.png deleted file mode 100644 index 1fe60025fb1b8091dda08d3d3f68647e29fdc8eb..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/weiqu.png and /dev/null differ diff --git a/images/smilies/bili/weixiao.png b/images/smilies/bili/weixiao.png deleted file mode 100644 index 8ab9511fcc5f1b6ffa1ddbac283e9edd89bc9048..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/weixiao.png and /dev/null differ diff --git a/images/smilies/bili/wunai.png b/images/smilies/bili/wunai.png deleted file mode 100644 index 1d04631ba538adb7588ee8ae8da9247226dc9e08..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/wunai.png and /dev/null differ diff --git a/images/smilies/bili/xiaoku.png b/images/smilies/bili/xiaoku.png deleted file mode 100644 index 1734fd397a1d0b84ca6cea278475e262e95aff29..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/xiaoku.png and /dev/null differ diff --git a/images/smilies/bili/xieyanxiao.png b/images/smilies/bili/xieyanxiao.png deleted file mode 100644 index 50d1a8f72e5400c3b75a40d1b211ff0bb9fa8710..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/xieyanxiao.png and /dev/null differ diff --git a/images/smilies/bili/yiwen.png b/images/smilies/bili/yiwen.png deleted file mode 100644 index 4e1246a3feda7b3783ec76ef404dd867a2caabda..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/yiwen.png and /dev/null differ diff --git a/images/smilies/bili/yun.png b/images/smilies/bili/yun.png deleted file mode 100644 index 8385b3406d1e312b54dcee50422aa6ba2a1257d5..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/yun.png and /dev/null differ diff --git a/images/smilies/bili/zaijian.png b/images/smilies/bili/zaijian.png deleted file mode 100644 index 9d5b06873269eb929d5035e93e8f51bd0680b5e1..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/zaijian.png and /dev/null differ diff --git a/images/smilies/bili/zhoumei.png b/images/smilies/bili/zhoumei.png deleted file mode 100644 index 4ae92022820043818871e5cb61711a2f00d1b2a1..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/zhoumei.png and /dev/null differ diff --git a/images/smilies/bili/zhuakuang.png b/images/smilies/bili/zhuakuang.png deleted file mode 100644 index 8c787126929a2378fff6f2a5a442040758f1b0a6..0000000000000000000000000000000000000000 Binary files a/images/smilies/bili/zhuakuang.png and /dev/null differ diff --git a/images/smilies/icon_Grievance.gif b/images/smilies/icon_Grievance.gif deleted file mode 100644 index 2945d5b6bf3b2cc2455da34777e43def58a91f8d..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_Grievance.gif and /dev/null differ diff --git a/images/smilies/icon_Happy.gif b/images/smilies/icon_Happy.gif deleted file mode 100644 index 86dc343e97972b6c1a5a3aad976819e6248ef94a..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_Happy.gif and /dev/null differ diff --git a/images/smilies/icon_aa.gif b/images/smilies/icon_aa.gif deleted file mode 100644 index 8ceac6104f8c8d111ae1cfcb9788284ad7fd7ed7..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_aa.gif and /dev/null differ diff --git a/images/smilies/icon_anger.gif b/images/smilies/icon_anger.gif deleted file mode 100644 index 2180cd8f67e3afa49ff53920313969454acf3ae9..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_anger.gif and /dev/null differ diff --git a/images/smilies/icon_awesome.gif b/images/smilies/icon_awesome.gif deleted file mode 100644 index 23c7e3a8014b15983058ef8eca32dba6321e2a0f..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_awesome.gif and /dev/null differ diff --git a/images/smilies/icon_bbd.gif b/images/smilies/icon_bbd.gif deleted file mode 100644 index e54df9b011610da6c8732e452f604df3b4ba7678..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_bbd.gif and /dev/null differ diff --git a/images/smilies/icon_britan.gif b/images/smilies/icon_britan.gif deleted file mode 100644 index e4dedaa42ed570ea08bb3c933d6158abb5c582fc..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_britan.gif and /dev/null differ diff --git a/images/smilies/icon_doubt.gif b/images/smilies/icon_doubt.gif deleted file mode 100644 index 4afe367656b3c7008ec8d92eacda765cc14c6953..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_doubt.gif and /dev/null differ diff --git a/images/smilies/icon_good.gif b/images/smilies/icon_good.gif deleted file mode 100644 index b823b62464ae3a12f658a69fb54a25b3201a262d..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_good.gif and /dev/null differ diff --git a/images/smilies/icon_haha.gif b/images/smilies/icon_haha.gif deleted file mode 100644 index 2f330847538ff7a66f7bca05bd31d287fea463e5..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_haha.gif and /dev/null differ diff --git a/images/smilies/icon_han.gif b/images/smilies/icon_han.gif deleted file mode 100644 index b836d61bd08a84c0878bd2d48cc95ddd90b4eee8..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_han.gif and /dev/null differ diff --git a/images/smilies/icon_hu.gif b/images/smilies/icon_hu.gif deleted file mode 100644 index e631ad7ef4a7452ce0bf7cb23b8cd75af739799c..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_hu.gif and /dev/null differ diff --git a/images/smilies/icon_huaji.gif b/images/smilies/icon_huaji.gif deleted file mode 100644 index f4b649fef3adaf795b2422417784bef47a564f55..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_huaji.gif and /dev/null differ diff --git a/images/smilies/icon_ku.gif b/images/smilies/icon_ku.gif deleted file mode 100644 index 15f9f2dd77eb154c24c8c29367d17e6df5542752..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_ku.gif and /dev/null differ diff --git a/images/smilies/icon_naive.gif b/images/smilies/icon_naive.gif deleted file mode 100644 index 2f3f62983a94c9afb57cab7033a17c58d68f7a76..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_naive.gif and /dev/null differ diff --git a/images/smilies/icon_niconiconi.gif b/images/smilies/icon_niconiconi.gif deleted file mode 100644 index 3f1cec150467a483a9c2bf971c7fb98e7aa748b6..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_niconiconi.gif and /dev/null differ diff --git a/images/smilies/icon_niconiconi_t.gif b/images/smilies/icon_niconiconi_t.gif deleted file mode 100644 index 8ac8224641fe7454fb6aa57308bd9aa6eba5ff62..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_niconiconi_t.gif and /dev/null differ diff --git a/images/smilies/icon_niconiconit.gif b/images/smilies/icon_niconiconit.gif deleted file mode 100644 index 8ac8224641fe7454fb6aa57308bd9aa6eba5ff62..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_niconiconit.gif and /dev/null differ diff --git a/images/smilies/icon_rbq.gif b/images/smilies/icon_rbq.gif deleted file mode 100644 index 50a3e63d557c213071a034b432304d86500ee079..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_rbq.gif and /dev/null differ diff --git a/images/smilies/icon_reluctantly.gif b/images/smilies/icon_reluctantly.gif deleted file mode 100644 index 1686dbe5b0b14de8940fd1ebac0d55b801e8a52e..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_reluctantly.gif and /dev/null differ diff --git a/images/smilies/icon_rmb.gif b/images/smilies/icon_rmb.gif deleted file mode 100644 index 423423663e7a3b3ce9c72deb896106a909c52f07..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_rmb.gif and /dev/null differ diff --git a/images/smilies/icon_se.gif b/images/smilies/icon_se.gif deleted file mode 100644 index ec3fcaf6817b0a6553b978a07255c45681a84e40..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_se.gif and /dev/null differ diff --git a/images/smilies/icon_shame.gif b/images/smilies/icon_shame.gif deleted file mode 100644 index ba420217e77c81eef3d769ff5c9dbfd21cd04fc1..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_shame.gif and /dev/null differ diff --git a/images/smilies/icon_shui.gif b/images/smilies/icon_shui.gif deleted file mode 100644 index 89a8b5286f1080d66c9dc75c64a837e2e6e0141f..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_shui.gif and /dev/null differ diff --git a/images/smilies/icon_smilingeyes.gif b/images/smilies/icon_smilingeyes.gif deleted file mode 100644 index 8c11611e0f3b2bb4ae9cff831098a6bd8bb684ba..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_smilingeyes.gif and /dev/null differ diff --git a/images/smilies/icon_spit.gif b/images/smilies/icon_spit.gif deleted file mode 100644 index 5f4ada858b77d952365168a374c04b35cc1e680a..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_spit.gif and /dev/null differ diff --git a/images/smilies/icon_spray.gif b/images/smilies/icon_spray.gif deleted file mode 100644 index 00d601ce86aa35763640bdd45e1582f4d1fe5061..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_spray.gif and /dev/null differ diff --git a/images/smilies/icon_surprised.gif b/images/smilies/icon_surprised.gif deleted file mode 100644 index 2d7f1c3436faa5033a0e10e2c24fe74f8f1791aa..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_surprised.gif and /dev/null differ diff --git a/images/smilies/icon_surprised2.gif b/images/smilies/icon_surprised2.gif deleted file mode 100644 index 9ef77f41d846f9f11addf1684ef5947d33ae64fc..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_surprised2.gif and /dev/null differ diff --git a/images/smilies/icon_tear.gif b/images/smilies/icon_tear.gif deleted file mode 100644 index b96dcd2140ba4b4b6342abf938f68c399e8a13df..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_tear.gif and /dev/null differ diff --git a/images/smilies/icon_theblackline.gif b/images/smilies/icon_theblackline.gif deleted file mode 100644 index afc6b86e0a271446e92df6ef03f15063ddc51cd5..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_theblackline.gif and /dev/null differ diff --git a/images/smilies/icon_tongue.gif b/images/smilies/icon_tongue.gif deleted file mode 100644 index 157c2a11b2d0b8b9d78824b038cf4eb89bcf1e79..0000000000000000000000000000000000000000 Binary files a/images/smilies/icon_tongue.gif and /dev/null differ diff --git a/images/startdash/1.png b/images/startdash/1.png deleted file mode 100644 index 3b03bd85e3c4525fb9c8aba5a63461d75935edfc..0000000000000000000000000000000000000000 Binary files a/images/startdash/1.png and /dev/null differ diff --git a/images/startdash/2.png b/images/startdash/2.png deleted file mode 100644 index 83d33a76bd7aaaff415b8baa190e8ab548284f76..0000000000000000000000000000000000000000 Binary files a/images/startdash/2.png and /dev/null differ diff --git a/images/startdash/3.png b/images/startdash/3.png deleted file mode 100644 index a49cd8580ccad7c4341a431ed244344d2304258d..0000000000000000000000000000000000000000 Binary files a/images/startdash/3.png and /dev/null differ diff --git a/images/true.png b/images/true.png deleted file mode 100644 index 1322f8acd7700b41effb24a4c516044b9f9c5e1d..0000000000000000000000000000000000000000 Binary files a/images/true.png and /dev/null differ diff --git a/index.html b/index.html index 65223942cf0e2c5aabd2f1638b969b9fa3d62022..5d10c538113910d8d47b5aa10d1148f69833886c 100644 --- a/index.html +++ b/index.html @@ -1,814 +1,218 @@ - + - - LOVE109❤️纪实小屋 + - + 404 + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + - -
    -
    - -
    -
    - - -
    -
    -
    - - - -
    -
    -

    LOVE109❤️纪实小屋 - 记录爱情❤️记录生活

    -
    -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • - - - -
  • - -
  • -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    -
    -
    -
    - - - -
    -
    -
    - +
    +
    -
    - +
    +
    - web· - - 悦读· - - - - - - 技术 - - -
    -
    -

    -
    - - - -
    -
    -
    -
    - +
    -
    - -
    - - + - - - - - - + + + + + - - - - - - + - - -
    - - - \ No newline at end of file + + +
    + + \ No newline at end of file diff --git a/js/FunnyTitle.js b/js/FunnyTitle.js deleted file mode 100644 index a07074c86099359d56d8015fd008749a942e8c0b..0000000000000000000000000000000000000000 --- a/js/FunnyTitle.js +++ /dev/null @@ -1,16 +0,0 @@ -var OriginTitle = document.title; - var titleTime; - document.addEventListener('visibilitychange', function () { - if (document.hidden) { - $('[rel="icon"]').attr('href', "/image/true.png"); - document.title = '(╥╯^╰╥)你快回来~'; - clearTimeout(titleTime); - } - else { - $('[rel="icon"]').attr('href', "/image/true.png"); - document.title = '(o´ω`o)ノ爱你哟~' + OriginTitle; - titleTime = setTimeout(function () { - document.title = OriginTitle; - }, 2000); - } - }); diff --git a/js/InsightSearch.js b/js/InsightSearch.js deleted file mode 100644 index 00128ce7e711de3a4c4b59a3d0ba66bb0bbc9df6..0000000000000000000000000000000000000000 --- a/js/InsightSearch.js +++ /dev/null @@ -1,243 +0,0 @@ -/** - * Insight search plugin - * @author PPOffice { @link https://github.com/ppoffice } - */ -(function ($, CONFIG) { - var $main = $('.ins-search'); - var $input = $main.find('.ins-search-input'); - var $wrapper = $main.find('.ins-section-wrapper'); - var $container = $main.find('.ins-section-container'); - $main.parent().remove('.ins-search'); - $('body').append($main); - - function section (title) { - return $('
    ').addClass('ins-section') - .append($('
    ').addClass('ins-section-header').text(title)); - } - - function searchItem (icon, title, slug, preview, url) { - return $('
    ').addClass('ins-selectable').addClass('ins-search-item') - .append($('
    ').append($('').addClass('fa').addClass('fa-' + icon)).append(title != null && title != '' ? title : CONFIG.TRANSLATION['UNTITLED']) - .append(slug ? $('').addClass('ins-slug').text(slug) : null)) - .append(preview ? $('

    ').addClass('ins-search-preview').text(preview) : null) - .attr('data-url', url); - } - - function sectionFactory (type, array) { - var sectionTitle; - var $searchItems; - if (array.length === 0) return null; - sectionTitle = CONFIG.TRANSLATION[type]; - switch (type) { - case 'POSTS': - case 'PAGES': - $searchItems = array.map(function (item) { - // Use config.root instead of permalink to fix url issue - return searchItem('file', item.title, null, item.text.slice(0, 150), CONFIG.ROOT_URL + item.path); - }); - break; - case 'CATEGORIES': - case 'TAGS': - $searchItems = array.map(function (item) { - return searchItem(type === 'CATEGORIES' ? 'folder' : 'tag', item.name, item.slug, null, item.permalink); - }); - break; - default: - return null; - } - return section(sectionTitle).append($searchItems); - } - - function extractToSet (json, key) { - var values = {}; - var entries = json.pages.concat(json.posts); - entries.forEach(function (entry) { - if (entry[key]) { - entry[key].forEach(function (value) { - values[value.name] = value; - }); - } - }); - var result = []; - for (var key in values) { - result.push(values[key]); - } - return result; - } - - function parseKeywords (keywords) { - return keywords.split(' ').filter(function (keyword) { - return !!keyword; - }).map(function (keyword) { - return keyword.toUpperCase(); - }); - } - - /** - * Judge if a given post/page/category/tag contains all of the keywords. - * @param Object obj Object to be weighted - * @param Array fields Object's fields to find matches - */ - function filter (keywords, obj, fields) { - var result = false; - var keywordArray = parseKeywords(keywords); - var containKeywords = keywordArray.filter(function (keyword) { - var containFields = fields.filter(function (field) { - if (!obj.hasOwnProperty(field)) - return false; - if (obj[field].toUpperCase().indexOf(keyword) > -1) - return true; - }); - if (containFields.length > 0) - return true; - return false; - }); - return containKeywords.length === keywordArray.length; - } - - function filterFactory (keywords) { - return { - POST: function (obj) { - return filter(keywords, obj, ['title', 'text']); - }, - PAGE: function (obj) { - return filter(keywords, obj, ['title', 'text']); - }, - CATEGORY: function (obj) { - return filter(keywords, obj, ['name', 'slug']); - }, - TAG: function (obj) { - return filter(keywords, obj, ['name', 'slug']); - } - }; - } - - /** - * Calculate the weight of a matched post/page/category/tag. - * @param Object obj Object to be weighted - * @param Array fields Object's fields to find matches - * @param Array weights Weight of every field - */ - function weight (keywords, obj, fields, weights) { - var value = 0; - parseKeywords(keywords).forEach(function (keyword) { - var pattern = new RegExp(keyword, 'img'); // Global, Multi-line, Case-insensitive - fields.forEach(function (field, index) { - if (obj.hasOwnProperty(field)) { - var matches = obj[field].match(pattern); - value += matches ? matches.length * weights[index] : 0; - } - }); - }); - return value; - } - - function weightFactory (keywords) { - return { - POST: function (obj) { - return weight(keywords, obj, ['title', 'text'], [3, 1]); - }, - PAGE: function (obj) { - return weight(keywords, obj, ['title', 'text'], [3, 1]); - }, - CATEGORY: function (obj) { - return weight(keywords, obj, ['name', 'slug'], [1, 1]); - }, - TAG: function (obj) { - return weight(keywords, obj, ['name', 'slug'], [1, 1]); - } - }; - } - - function search (json, keywords) { - var WEIGHTS = weightFactory(keywords); - var FILTERS = filterFactory(keywords); - var posts = json.posts; - // var pages = json.pages; - var tags = extractToSet(json, 'tags'); - var categories = extractToSet(json, 'categories'); - return { - posts: posts.filter(FILTERS.POST).sort(function (a, b) { return WEIGHTS.POST(b) - WEIGHTS.POST(a); }).slice(0, 20), - // pages: pages.filter(FILTERS.PAGE).sort(function (a, b) { return WEIGHTS.PAGE(b) - WEIGHTS.PAGE(a); }).slice(0, 5), - categories: categories.filter(FILTERS.CATEGORY).sort(function (a, b) { return WEIGHTS.CATEGORY(b) - WEIGHTS.CATEGORY(a); }).slice(0, 5), - tags: tags.filter(FILTERS.TAG).sort(function (a, b) { return WEIGHTS.TAG(b) - WEIGHTS.TAG(a); }).slice(0, 5) - }; - } - - function searchResultToDOM (searchResult) { - $container.empty(); - for (var key in searchResult) { - $container.append(sectionFactory(key.toUpperCase(), searchResult[key])); - } - } - - function scrollTo ($item) { - if ($item.length === 0) return; - var wrapperHeight = $wrapper[0].clientHeight; - var itemTop = $item.position().top - $wrapper.scrollTop(); - var itemBottom = $item[0].clientHeight + $item.position().top; - if (itemBottom > wrapperHeight + $wrapper.scrollTop()) { - $wrapper.scrollTop(itemBottom - $wrapper[0].clientHeight); - } - if (itemTop < 0) { - $wrapper.scrollTop($item.position().top); - } - } - - function selectItemByDiff (value) { - var $items = $.makeArray($container.find('.ins-selectable')); - var prevPosition = -1; - $items.forEach(function (item, index) { - if ($(item).hasClass('active')) { - prevPosition = index; - return; - } - }); - var nextPosition = ($items.length + prevPosition + value) % $items.length; - $($items[prevPosition]).removeClass('active'); - $($items[nextPosition]).addClass('active'); - scrollTo($($items[nextPosition])); - } - - function gotoLink ($item) { - if ($item && $item.length) { - location.href = $item.attr('data-url'); - } - } - - $.getJSON(CONFIG.CONTENT_URL, function (json) { - if (location.hash.trim() === '#ins-search') { - $main.addClass('show'); - } - $input.on('input', function () { - var keywords = $(this).val(); - searchResultToDOM(search(json, keywords)); - }); - $input.trigger('input'); - }); - - - $(document).on('click focus', '.search-field', function () { - $main.addClass('show'); - $main.find('.ins-search-input').focus(); - }).on('click focus', '.search-form-submit', function () { - $main.addClass('show'); - $main.find('.ins-search-input').focus(); - }).on('click', '.ins-search-item', function () { - gotoLink($(this)); - }).on('click', '.ins-close', function () { - $main.removeClass('show'); - }).on('keydown', function (e) { - if (!$main.hasClass('show')) return; - switch (e.keyCode) { - case 27: // ESC - $main.removeClass('show'); break; - case 38: // UP - selectItemByDiff(-1); break; - case 40: // DOWN - selectItemByDiff(1); break; - case 13: //ENTER - gotoLink($container.find('.ins-selectable.active').eq(0)); break; - } - }); -})(jQuery, window.INSIGHT_CONFIG); \ No newline at end of file diff --git a/js/fireworks.js b/js/fireworks.js deleted file mode 100644 index a6a393419261b97fa7dd298485070973dc5d2769..0000000000000000000000000000000000000000 --- a/js/fireworks.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";function updateCoords(e){pointerX=(e.clientX||e.touches[0].clientX)-canvasEl.getBoundingClientRect().left,pointerY=e.clientY||e.touches[0].clientY-canvasEl.getBoundingClientRect().top}function setParticuleDirection(e){var t=anime.random(0,360)*Math.PI/180,a=anime.random(50,180),n=[-1,1][anime.random(0,1)]*a;return{x:e.x+n*Math.cos(t),y:e.y+n*Math.sin(t)}}function createParticule(e,t){var a={};return a.x=e,a.y=t,a.color=colors[anime.random(0,colors.length-1)],a.radius=anime.random(16,32),a.endPos=setParticuleDirection(a),a.draw=function(){ctx.beginPath(),ctx.arc(a.x,a.y,a.radius,0,2*Math.PI,!0),ctx.fillStyle=a.color,ctx.fill()},a}function createCircle(e,t){var a={};return a.x=e,a.y=t,a.color="#F00",a.radius=0.1,a.alpha=0.5,a.lineWidth=6,a.draw=function(){ctx.globalAlpha=a.alpha,ctx.beginPath(),ctx.arc(a.x,a.y,a.radius,0,2*Math.PI,!0),ctx.lineWidth=a.lineWidth,ctx.strokeStyle=a.color,ctx.stroke(),ctx.globalAlpha=1},a}function renderParticule(e){for(var t=0;t= 0 && n < t ? [this[n]] : []) - }, - end: function() { - return this.prevObject || this.constructor() - }, - push: s, - sort: n.sort, - splice: n.splice - }, - w.extend = w.fn.extend = function() { - var e, t, n, r, i, o, a = arguments[0] || {}, s = 1, u = arguments.length, l = !1; - for ("boolean" == typeof a && (l = a, - a = arguments[s] || {}, - s++), - "object" == typeof a || g(a) || (a = {}), - s === u && (a = this, - s--); s < u; s++) - if (null != (e = arguments[s])) - for (t in e) - n = a[t], - a !== (r = e[t]) && (l && r && (w.isPlainObject(r) || (i = Array.isArray(r))) ? (i ? (i = !1, - o = n && Array.isArray(n) ? n : []) : o = n && w.isPlainObject(n) ? n : {}, - a[t] = w.extend(l, o, r)) : void 0 !== r && (a[t] = r)); - return a - } - , - w.extend({ - expando: "jQuery" + ("3.3.1" + Math.random()).replace(/\D/g, ""), - isReady: !0, - error: function(e) { - throw new Error(e) - }, - noop: function() {}, - isPlainObject: function(e) { - var t, n; - return !(!e || "[object Object]" !== c.call(e)) && (!(t = i(e)) || "function" == typeof (n = f.call(t, "constructor") && t.constructor) && p.call(n) === d) - }, - isEmptyObject: function(e) { - var t; - for (t in e) - return !1; - return !0 - }, - globalEval: function(e) { - m(e) - }, - each: function(e, t) { - var n, r = 0; - if (C(e)) { - for (n = e.length; r < n; r++) - if (!1 === t.call(e[r], r, e[r])) - break - } else - for (r in e) - if (!1 === t.call(e[r], r, e[r])) - break; - return e - }, - trim: function(e) { - return null == e ? "" : (e + "").replace(T, "") - }, - makeArray: function(e, t) { - var n = t || []; - return null != e && (C(Object(e)) ? w.merge(n, "string" == typeof e ? [e] : e) : s.call(n, e)), - n - }, - inArray: function(e, t, n) { - return null == t ? -1 : u.call(t, e, n) - }, - merge: function(e, t) { - for (var n = +t.length, r = 0, i = e.length; r < n; r++) - e[i++] = t[r]; - return e.length = i, - e - }, - grep: function(e, t, n) { - for (var r, i = [], o = 0, a = e.length, s = !n; o < a; o++) - (r = !t(e[o], o)) !== s && i.push(e[o]); - return i - }, - map: function(e, t, n) { - var r, i, o = 0, s = []; - if (C(e)) - for (r = e.length; o < r; o++) - null != (i = t(e[o], o, n)) && s.push(i); - else - for (o in e) - null != (i = t(e[o], o, n)) && s.push(i); - return a.apply([], s) - }, - guid: 1, - support: h - }), - "function" == typeof Symbol && (w.fn[Symbol.iterator] = n[Symbol.iterator]), - w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), function(e, t) { - l["[object " + t + "]"] = t.toLowerCase() - }); - function C(e) { - var t = !!e && "length"in e && e.length - , n = x(e); - return !g(e) && !y(e) && ("array" === n || 0 === t || "number" == typeof t && t > 0 && t - 1 in e) - } - var E = function(e) { - var t, n, r, i, o, a, s, u, l, c, f, p, d, h, g, y, v, m, x, b = "sizzle" + 1 * new Date, w = e.document, T = 0, C = 0, E = ae(), k = ae(), S = ae(), D = function(e, t) { - return e === t && (f = !0), - 0 - }, N = {}.hasOwnProperty, A = [], j = A.pop, q = A.push, L = A.push, H = A.slice, O = function(e, t) { - for (var n = 0, r = e.length; n < r; n++) - if (e[n] === t) - return n; - return -1 - }, P = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", M = "[\\x20\\t\\r\\n\\f]", R = "(?:\\\\.|[\\w-]|[^\0-\\xa0])+", I = "\\[" + M + "*(" + R + ")(?:" + M + "*([*^$|!~]?=)" + M + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + R + "))|)" + M + "*\\]", W = ":(" + R + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + I + ")*)|.*)\\)|)", $ = new RegExp(M + "+","g"), B = new RegExp("^" + M + "+|((?:^|[^\\\\])(?:\\\\.)*)" + M + "+$","g"), F = new RegExp("^" + M + "*," + M + "*"), _ = new RegExp("^" + M + "*([>+~]|" + M + ")" + M + "*"), z = new RegExp("=" + M + "*([^\\]'\"]*?)" + M + "*\\]","g"), X = new RegExp(W), U = new RegExp("^" + R + "$"), V = { - ID: new RegExp("^#(" + R + ")"), - CLASS: new RegExp("^\\.(" + R + ")"), - TAG: new RegExp("^(" + R + "|[*])"), - ATTR: new RegExp("^" + I), - PSEUDO: new RegExp("^" + W), - CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + M + "*(even|odd|(([+-]|)(\\d*)n|)" + M + "*(?:([+-]|)" + M + "*(\\d+)|))" + M + "*\\)|)","i"), - bool: new RegExp("^(?:" + P + ")$","i"), - needsContext: new RegExp("^" + M + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + M + "*((?:-\\d)?\\d*)" + M + "*\\)|)(?=[^-]|$)","i") - }, G = /^(?:input|select|textarea|button)$/i, Y = /^h\d$/i, Q = /^[^{]+\{\s*\[native \w/, J = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, K = /[+~]/, Z = new RegExp("\\\\([\\da-f]{1,6}" + M + "?|(" + M + ")|.)","ig"), ee = function(e, t, n) { - var r = "0x" + t - 65536; - return r !== r || n ? t : r < 0 ? String.fromCharCode(r + 65536) : String.fromCharCode(r >> 10 | 55296, 1023 & r | 56320) - }, te = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, ne = function(e, t) { - return t ? "\0" === e ? "\ufffd" : e.slice(0, -1) + "\\" + e.charCodeAt(e.length - 1).toString(16) + " " : "\\" + e - }, re = function() { - p() - }, ie = me(function(e) { - return !0 === e.disabled && ("form"in e || "label"in e) - }, { - dir: "parentNode", - next: "legend" - }); - try { - L.apply(A = H.call(w.childNodes), w.childNodes), - A[w.childNodes.length].nodeType - } catch (e) { - L = { - apply: A.length ? function(e, t) { - q.apply(e, H.call(t)) - } - : function(e, t) { - var n = e.length - , r = 0; - while (e[n++] = t[r++]) - ; - e.length = n - 1 - } - } - } - function oe(e, t, r, i) { - var o, s, l, c, f, h, v, m = t && t.ownerDocument, T = t ? t.nodeType : 9; - if (r = r || [], - "string" != typeof e || !e || 1 !== T && 9 !== T && 11 !== T) - return r; - if (!i && ((t ? t.ownerDocument || t : w) !== d && p(t), - t = t || d, - g)) { - if (11 !== T && (f = J.exec(e))) - if (o = f[1]) { - if (9 === T) { - if (!(l = t.getElementById(o))) - return r; - if (l.id === o) - return r.push(l), - r - } else if (m && (l = m.getElementById(o)) && x(t, l) && l.id === o) - return r.push(l), - r - } else { - if (f[2]) - return L.apply(r, t.getElementsByTagName(e)), - r; - if ((o = f[3]) && n.getElementsByClassName && t.getElementsByClassName) - return L.apply(r, t.getElementsByClassName(o)), - r - } - if (n.qsa && !S[e + " "] && (!y || !y.test(e))) { - if (1 !== T) - m = t, - v = e; - else if ("object" !== t.nodeName.toLowerCase()) { - (c = t.getAttribute("id")) ? c = c.replace(te, ne) : t.setAttribute("id", c = b), - s = (h = a(e)).length; - while (s--) - h[s] = "#" + c + " " + ve(h[s]); - v = h.join(","), - m = K.test(e) && ge(t.parentNode) || t - } - if (v) - try { - return L.apply(r, m.querySelectorAll(v)), - r - } catch (e) {} finally { - c === b && t.removeAttribute("id") - } - } - } - return u(e.replace(B, "$1"), t, r, i) - } - function ae() { - var e = []; - function t(n, i) { - return e.push(n + " ") > r.cacheLength && delete t[e.shift()], - t[n + " "] = i - } - return t - } - function se(e) { - return e[b] = !0, - e - } - function ue(e) { - var t = d.createElement("fieldset"); - try { - return !!e(t) - } catch (e) { - return !1 - } finally { - t.parentNode && t.parentNode.removeChild(t), - t = null - } - } - function le(e, t) { - var n = e.split("|") - , i = n.length; - while (i--) - r.attrHandle[n[i]] = t - } - function ce(e, t) { - var n = t && e - , r = n && 1 === e.nodeType && 1 === t.nodeType && e.sourceIndex - t.sourceIndex; - if (r) - return r; - if (n) - while (n = n.nextSibling) - if (n === t) - return -1; - return e ? 1 : -1 - } - function fe(e) { - return function(t) { - return "input" === t.nodeName.toLowerCase() && t.type === e - } - } - function pe(e) { - return function(t) { - var n = t.nodeName.toLowerCase(); - return ("input" === n || "button" === n) && t.type === e - } - } - function de(e) { - return function(t) { - return "form"in t ? t.parentNode && !1 === t.disabled ? "label"in t ? "label"in t.parentNode ? t.parentNode.disabled === e : t.disabled === e : t.isDisabled === e || t.isDisabled !== !e && ie(t) === e : t.disabled === e : "label"in t && t.disabled === e - } - } - function he(e) { - return se(function(t) { - return t = +t, - se(function(n, r) { - var i, o = e([], n.length, t), a = o.length; - while (a--) - n[i = o[a]] && (n[i] = !(r[i] = n[i])) - }) - }) - } - function ge(e) { - return e && "undefined" != typeof e.getElementsByTagName && e - } - n = oe.support = {}, - o = oe.isXML = function(e) { - var t = e && (e.ownerDocument || e).documentElement; - return !!t && "HTML" !== t.nodeName - } - , - p = oe.setDocument = function(e) { - var t, i, a = e ? e.ownerDocument || e : w; - return a !== d && 9 === a.nodeType && a.documentElement ? (d = a, - h = d.documentElement, - g = !o(d), - w !== d && (i = d.defaultView) && i.top !== i && (i.addEventListener ? i.addEventListener("unload", re, !1) : i.attachEvent && i.attachEvent("onunload", re)), - n.attributes = ue(function(e) { - return e.className = "i", - !e.getAttribute("className") - }), - n.getElementsByTagName = ue(function(e) { - return e.appendChild(d.createComment("")), - !e.getElementsByTagName("*").length - }), - n.getElementsByClassName = Q.test(d.getElementsByClassName), - n.getById = ue(function(e) { - return h.appendChild(e).id = b, - !d.getElementsByName || !d.getElementsByName(b).length - }), - n.getById ? (r.filter.ID = function(e) { - var t = e.replace(Z, ee); - return function(e) { - return e.getAttribute("id") === t - } - } - , - r.find.ID = function(e, t) { - if ("undefined" != typeof t.getElementById && g) { - var n = t.getElementById(e); - return n ? [n] : [] - } - } - ) : (r.filter.ID = function(e) { - var t = e.replace(Z, ee); - return function(e) { - var n = "undefined" != typeof e.getAttributeNode && e.getAttributeNode("id"); - return n && n.value === t - } - } - , - r.find.ID = function(e, t) { - if ("undefined" != typeof t.getElementById && g) { - var n, r, i, o = t.getElementById(e); - if (o) { - if ((n = o.getAttributeNode("id")) && n.value === e) - return [o]; - i = t.getElementsByName(e), - r = 0; - while (o = i[r++]) - if ((n = o.getAttributeNode("id")) && n.value === e) - return [o] - } - return [] - } - } - ), - r.find.TAG = n.getElementsByTagName ? function(e, t) { - return "undefined" != typeof t.getElementsByTagName ? t.getElementsByTagName(e) : n.qsa ? t.querySelectorAll(e) : void 0 - } - : function(e, t) { - var n, r = [], i = 0, o = t.getElementsByTagName(e); - if ("*" === e) { - while (n = o[i++]) - 1 === n.nodeType && r.push(n); - return r - } - return o - } - , - r.find.CLASS = n.getElementsByClassName && function(e, t) { - if ("undefined" != typeof t.getElementsByClassName && g) - return t.getElementsByClassName(e) - } - , - v = [], - y = [], - (n.qsa = Q.test(d.querySelectorAll)) && (ue(function(e) { - h.appendChild(e).innerHTML = "", - e.querySelectorAll("[msallowcapture^='']").length && y.push("[*^$]=" + M + "*(?:''|\"\")"), - e.querySelectorAll("[selected]").length || y.push("\\[" + M + "*(?:value|" + P + ")"), - e.querySelectorAll("[id~=" + b + "-]").length || y.push("~="), - e.querySelectorAll(":checked").length || y.push(":checked"), - e.querySelectorAll("a#" + b + "+*").length || y.push(".#.+[+~]") - }), - ue(function(e) { - e.innerHTML = ""; - var t = d.createElement("input"); - t.setAttribute("type", "hidden"), - e.appendChild(t).setAttribute("name", "D"), - e.querySelectorAll("[name=d]").length && y.push("name" + M + "*[*^$|!~]?="), - 2 !== e.querySelectorAll(":enabled").length && y.push(":enabled", ":disabled"), - h.appendChild(e).disabled = !0, - 2 !== e.querySelectorAll(":disabled").length && y.push(":enabled", ":disabled"), - e.querySelectorAll("*,:x"), - y.push(",.*:") - })), - (n.matchesSelector = Q.test(m = h.matches || h.webkitMatchesSelector || h.mozMatchesSelector || h.oMatchesSelector || h.msMatchesSelector)) && ue(function(e) { - n.disconnectedMatch = m.call(e, "*"), - m.call(e, "[s!='']:x"), - v.push("!=", W) - }), - y = y.length && new RegExp(y.join("|")), - v = v.length && new RegExp(v.join("|")), - t = Q.test(h.compareDocumentPosition), - x = t || Q.test(h.contains) ? function(e, t) { - var n = 9 === e.nodeType ? e.documentElement : e - , r = t && t.parentNode; - return e === r || !(!r || 1 !== r.nodeType || !(n.contains ? n.contains(r) : e.compareDocumentPosition && 16 & e.compareDocumentPosition(r))) - } - : function(e, t) { - if (t) - while (t = t.parentNode) - if (t === e) - return !0; - return !1 - } - , - D = t ? function(e, t) { - if (e === t) - return f = !0, - 0; - var r = !e.compareDocumentPosition - !t.compareDocumentPosition; - return r || (1 & (r = (e.ownerDocument || e) === (t.ownerDocument || t) ? e.compareDocumentPosition(t) : 1) || !n.sortDetached && t.compareDocumentPosition(e) === r ? e === d || e.ownerDocument === w && x(w, e) ? -1 : t === d || t.ownerDocument === w && x(w, t) ? 1 : c ? O(c, e) - O(c, t) : 0 : 4 & r ? -1 : 1) - } - : function(e, t) { - if (e === t) - return f = !0, - 0; - var n, r = 0, i = e.parentNode, o = t.parentNode, a = [e], s = [t]; - if (!i || !o) - return e === d ? -1 : t === d ? 1 : i ? -1 : o ? 1 : c ? O(c, e) - O(c, t) : 0; - if (i === o) - return ce(e, t); - n = e; - while (n = n.parentNode) - a.unshift(n); - n = t; - while (n = n.parentNode) - s.unshift(n); - while (a[r] === s[r]) - r++; - return r ? ce(a[r], s[r]) : a[r] === w ? -1 : s[r] === w ? 1 : 0 - } - , - d) : d - } - , - oe.matches = function(e, t) { - return oe(e, null, null, t) - } - , - oe.matchesSelector = function(e, t) { - if ((e.ownerDocument || e) !== d && p(e), - t = t.replace(z, "='$1']"), - n.matchesSelector && g && !S[t + " "] && (!v || !v.test(t)) && (!y || !y.test(t))) - try { - var r = m.call(e, t); - if (r || n.disconnectedMatch || e.document && 11 !== e.document.nodeType) - return r - } catch (e) {} - return oe(t, d, null, [e]).length > 0 - } - , - oe.contains = function(e, t) { - return (e.ownerDocument || e) !== d && p(e), - x(e, t) - } - , - oe.attr = function(e, t) { - (e.ownerDocument || e) !== d && p(e); - var i = r.attrHandle[t.toLowerCase()] - , o = i && N.call(r.attrHandle, t.toLowerCase()) ? i(e, t, !g) : void 0; - return void 0 !== o ? o : n.attributes || !g ? e.getAttribute(t) : (o = e.getAttributeNode(t)) && o.specified ? o.value : null - } - , - oe.escape = function(e) { - return (e + "").replace(te, ne) - } - , - oe.error = function(e) { - throw new Error("Syntax error, unrecognized expression: " + e) - } - , - oe.uniqueSort = function(e) { - var t, r = [], i = 0, o = 0; - if (f = !n.detectDuplicates, - c = !n.sortStable && e.slice(0), - e.sort(D), - f) { - while (t = e[o++]) - t === e[o] && (i = r.push(o)); - while (i--) - e.splice(r[i], 1) - } - return c = null, - e - } - , - i = oe.getText = function(e) { - var t, n = "", r = 0, o = e.nodeType; - if (o) { - if (1 === o || 9 === o || 11 === o) { - if ("string" == typeof e.textContent) - return e.textContent; - for (e = e.firstChild; e; e = e.nextSibling) - n += i(e) - } else if (3 === o || 4 === o) - return e.nodeValue - } else - while (t = e[r++]) - n += i(t); - return n - } - , - (r = oe.selectors = { - cacheLength: 50, - createPseudo: se, - match: V, - attrHandle: {}, - find: {}, - relative: { - ">": { - dir: "parentNode", - first: !0 - }, - " ": { - dir: "parentNode" - }, - "+": { - dir: "previousSibling", - first: !0 - }, - "~": { - dir: "previousSibling" - } - }, - preFilter: { - ATTR: function(e) { - return e[1] = e[1].replace(Z, ee), - e[3] = (e[3] || e[4] || e[5] || "").replace(Z, ee), - "~=" === e[2] && (e[3] = " " + e[3] + " "), - e.slice(0, 4) - }, - CHILD: function(e) { - return e[1] = e[1].toLowerCase(), - "nth" === e[1].slice(0, 3) ? (e[3] || oe.error(e[0]), - e[4] = +(e[4] ? e[5] + (e[6] || 1) : 2 * ("even" === e[3] || "odd" === e[3])), - e[5] = +(e[7] + e[8] || "odd" === e[3])) : e[3] && oe.error(e[0]), - e - }, - PSEUDO: function(e) { - var t, n = !e[6] && e[2]; - return V.CHILD.test(e[0]) ? null : (e[3] ? e[2] = e[4] || e[5] || "" : n && X.test(n) && (t = a(n, !0)) && (t = n.indexOf(")", n.length - t) - n.length) && (e[0] = e[0].slice(0, t), - e[2] = n.slice(0, t)), - e.slice(0, 3)) - } - }, - filter: { - TAG: function(e) { - var t = e.replace(Z, ee).toLowerCase(); - return "*" === e ? function() { - return !0 - } - : function(e) { - return e.nodeName && e.nodeName.toLowerCase() === t - } - }, - CLASS: function(e) { - var t = E[e + " "]; - return t || (t = new RegExp("(^|" + M + ")" + e + "(" + M + "|$)")) && E(e, function(e) { - return t.test("string" == typeof e.className && e.className || "undefined" != typeof e.getAttribute && e.getAttribute("class") || "") - }) - }, - ATTR: function(e, t, n) { - return function(r) { - var i = oe.attr(r, e); - return null == i ? "!=" === t : !t || (i += "", - "=" === t ? i === n : "!=" === t ? i !== n : "^=" === t ? n && 0 === i.indexOf(n) : "*=" === t ? n && i.indexOf(n) > -1 : "$=" === t ? n && i.slice(-n.length) === n : "~=" === t ? (" " + i.replace($, " ") + " ").indexOf(n) > -1 : "|=" === t && (i === n || i.slice(0, n.length + 1) === n + "-")) - } - }, - CHILD: function(e, t, n, r, i) { - var o = "nth" !== e.slice(0, 3) - , a = "last" !== e.slice(-4) - , s = "of-type" === t; - return 1 === r && 0 === i ? function(e) { - return !!e.parentNode - } - : function(t, n, u) { - var l, c, f, p, d, h, g = o !== a ? "nextSibling" : "previousSibling", y = t.parentNode, v = s && t.nodeName.toLowerCase(), m = !u && !s, x = !1; - if (y) { - if (o) { - while (g) { - p = t; - while (p = p[g]) - if (s ? p.nodeName.toLowerCase() === v : 1 === p.nodeType) - return !1; - h = g = "only" === e && !h && "nextSibling" - } - return !0 - } - if (h = [a ? y.firstChild : y.lastChild], - a && m) { - x = (d = (l = (c = (f = (p = y)[b] || (p[b] = {}))[p.uniqueID] || (f[p.uniqueID] = {}))[e] || [])[0] === T && l[1]) && l[2], - p = d && y.childNodes[d]; - while (p = ++d && p && p[g] || (x = d = 0) || h.pop()) - if (1 === p.nodeType && ++x && p === t) { - c[e] = [T, d, x]; - break - } - } else if (m && (x = d = (l = (c = (f = (p = t)[b] || (p[b] = {}))[p.uniqueID] || (f[p.uniqueID] = {}))[e] || [])[0] === T && l[1]), - !1 === x) - while (p = ++d && p && p[g] || (x = d = 0) || h.pop()) - if ((s ? p.nodeName.toLowerCase() === v : 1 === p.nodeType) && ++x && (m && ((c = (f = p[b] || (p[b] = {}))[p.uniqueID] || (f[p.uniqueID] = {}))[e] = [T, x]), - p === t)) - break; - return (x -= i) === r || x % r == 0 && x / r >= 0 - } - } - }, - PSEUDO: function(e, t) { - var n, i = r.pseudos[e] || r.setFilters[e.toLowerCase()] || oe.error("unsupported pseudo: " + e); - return i[b] ? i(t) : i.length > 1 ? (n = [e, e, "", t], - r.setFilters.hasOwnProperty(e.toLowerCase()) ? se(function(e, n) { - var r, o = i(e, t), a = o.length; - while (a--) - e[r = O(e, o[a])] = !(n[r] = o[a]) - }) : function(e) { - return i(e, 0, n) - } - ) : i - } - }, - pseudos: { - not: se(function(e) { - var t = [] - , n = [] - , r = s(e.replace(B, "$1")); - return r[b] ? se(function(e, t, n, i) { - var o, a = r(e, null, i, []), s = e.length; - while (s--) - (o = a[s]) && (e[s] = !(t[s] = o)) - }) : function(e, i, o) { - return t[0] = e, - r(t, null, o, n), - t[0] = null, - !n.pop() - } - }), - has: se(function(e) { - return function(t) { - return oe(e, t).length > 0 - } - }), - contains: se(function(e) { - return e = e.replace(Z, ee), - function(t) { - return (t.textContent || t.innerText || i(t)).indexOf(e) > -1 - } - }), - lang: se(function(e) { - return U.test(e || "") || oe.error("unsupported lang: " + e), - e = e.replace(Z, ee).toLowerCase(), - function(t) { - var n; - do { - if (n = g ? t.lang : t.getAttribute("xml:lang") || t.getAttribute("lang")) - return (n = n.toLowerCase()) === e || 0 === n.indexOf(e + "-") - } while ((t = t.parentNode) && 1 === t.nodeType);return !1 - } - }), - target: function(t) { - var n = e.location && e.location.hash; - return n && n.slice(1) === t.id - }, - root: function(e) { - return e === h - }, - focus: function(e) { - return e === d.activeElement && (!d.hasFocus || d.hasFocus()) && !!(e.type || e.href || ~e.tabIndex) - }, - enabled: de(!1), - disabled: de(!0), - checked: function(e) { - var t = e.nodeName.toLowerCase(); - return "input" === t && !!e.checked || "option" === t && !!e.selected - }, - selected: function(e) { - return e.parentNode && e.parentNode.selectedIndex, - !0 === e.selected - }, - empty: function(e) { - for (e = e.firstChild; e; e = e.nextSibling) - if (e.nodeType < 6) - return !1; - return !0 - }, - parent: function(e) { - return !r.pseudos.empty(e) - }, - header: function(e) { - return Y.test(e.nodeName) - }, - input: function(e) { - return G.test(e.nodeName) - }, - button: function(e) { - var t = e.nodeName.toLowerCase(); - return "input" === t && "button" === e.type || "button" === t - }, - text: function(e) { - var t; - return "input" === e.nodeName.toLowerCase() && "text" === e.type && (null == (t = e.getAttribute("type")) || "text" === t.toLowerCase()) - }, - first: he(function() { - return [0] - }), - last: he(function(e, t) { - return [t - 1] - }), - eq: he(function(e, t, n) { - return [n < 0 ? n + t : n] - }), - even: he(function(e, t) { - for (var n = 0; n < t; n += 2) - e.push(n); - return e - }), - odd: he(function(e, t) { - for (var n = 1; n < t; n += 2) - e.push(n); - return e - }), - lt: he(function(e, t, n) { - for (var r = n < 0 ? n + t : n; --r >= 0; ) - e.push(r); - return e - }), - gt: he(function(e, t, n) { - for (var r = n < 0 ? n + t : n; ++r < t; ) - e.push(r); - return e - }) - } - }).pseudos.nth = r.pseudos.eq; - for (t in { - radio: !0, - checkbox: !0, - file: !0, - password: !0, - image: !0 - }) - r.pseudos[t] = fe(t); - for (t in { - submit: !0, - reset: !0 - }) - r.pseudos[t] = pe(t); - function ye() {} - ye.prototype = r.filters = r.pseudos, - r.setFilters = new ye, - a = oe.tokenize = function(e, t) { - var n, i, o, a, s, u, l, c = k[e + " "]; - if (c) - return t ? 0 : c.slice(0); - s = e, - u = [], - l = r.preFilter; - while (s) { - n && !(i = F.exec(s)) || (i && (s = s.slice(i[0].length) || s), - u.push(o = [])), - n = !1, - (i = _.exec(s)) && (n = i.shift(), - o.push({ - value: n, - type: i[0].replace(B, " ") - }), - s = s.slice(n.length)); - for (a in r.filter) - !(i = V[a].exec(s)) || l[a] && !(i = l[a](i)) || (n = i.shift(), - o.push({ - value: n, - type: a, - matches: i - }), - s = s.slice(n.length)); - if (!n) - break - } - return t ? s.length : s ? oe.error(e) : k(e, u).slice(0) - } - ; - function ve(e) { - for (var t = 0, n = e.length, r = ""; t < n; t++) - r += e[t].value; - return r - } - function me(e, t, n) { - var r = t.dir - , i = t.next - , o = i || r - , a = n && "parentNode" === o - , s = C++; - return t.first ? function(t, n, i) { - while (t = t[r]) - if (1 === t.nodeType || a) - return e(t, n, i); - return !1 - } - : function(t, n, u) { - var l, c, f, p = [T, s]; - if (u) { - while (t = t[r]) - if ((1 === t.nodeType || a) && e(t, n, u)) - return !0 - } else - while (t = t[r]) - if (1 === t.nodeType || a) - if (f = t[b] || (t[b] = {}), - c = f[t.uniqueID] || (f[t.uniqueID] = {}), - i && i === t.nodeName.toLowerCase()) - t = t[r] || t; - else { - if ((l = c[o]) && l[0] === T && l[1] === s) - return p[2] = l[2]; - if (c[o] = p, - p[2] = e(t, n, u)) - return !0 - } - return !1 - } - } - function xe(e) { - return e.length > 1 ? function(t, n, r) { - var i = e.length; - while (i--) - if (!e[i](t, n, r)) - return !1; - return !0 - } - : e[0] - } - function be(e, t, n) { - for (var r = 0, i = t.length; r < i; r++) - oe(e, t[r], n); - return n - } - function we(e, t, n, r, i) { - for (var o, a = [], s = 0, u = e.length, l = null != t; s < u; s++) - (o = e[s]) && (n && !n(o, r, i) || (a.push(o), - l && t.push(s))); - return a - } - function Te(e, t, n, r, i, o) { - return r && !r[b] && (r = Te(r)), - i && !i[b] && (i = Te(i, o)), - se(function(o, a, s, u) { - var l, c, f, p = [], d = [], h = a.length, g = o || be(t || "*", s.nodeType ? [s] : s, []), y = !e || !o && t ? g : we(g, p, e, s, u), v = n ? i || (o ? e : h || r) ? [] : a : y; - if (n && n(y, v, s, u), - r) { - l = we(v, d), - r(l, [], s, u), - c = l.length; - while (c--) - (f = l[c]) && (v[d[c]] = !(y[d[c]] = f)) - } - if (o) { - if (i || e) { - if (i) { - l = [], - c = v.length; - while (c--) - (f = v[c]) && l.push(y[c] = f); - i(null, v = [], l, u) - } - c = v.length; - while (c--) - (f = v[c]) && (l = i ? O(o, f) : p[c]) > -1 && (o[l] = !(a[l] = f)) - } - } else - v = we(v === a ? v.splice(h, v.length) : v), - i ? i(null, a, v, u) : L.apply(a, v) - }) - } - function Ce(e) { - for (var t, n, i, o = e.length, a = r.relative[e[0].type], s = a || r.relative[" "], u = a ? 1 : 0, c = me(function(e) { - return e === t - }, s, !0), f = me(function(e) { - return O(t, e) > -1 - }, s, !0), p = [function(e, n, r) { - var i = !a && (r || n !== l) || ((t = n).nodeType ? c(e, n, r) : f(e, n, r)); - return t = null, - i - } - ]; u < o; u++) - if (n = r.relative[e[u].type]) - p = [me(xe(p), n)]; - else { - if ((n = r.filter[e[u].type].apply(null, e[u].matches))[b]) { - for (i = ++u; i < o; i++) - if (r.relative[e[i].type]) - break; - return Te(u > 1 && xe(p), u > 1 && ve(e.slice(0, u - 1).concat({ - value: " " === e[u - 2].type ? "*" : "" - })).replace(B, "$1"), n, u < i && Ce(e.slice(u, i)), i < o && Ce(e = e.slice(i)), i < o && ve(e)) - } - p.push(n) - } - return xe(p) - } - function Ee(e, t) { - var n = t.length > 0 - , i = e.length > 0 - , o = function(o, a, s, u, c) { - var f, h, y, v = 0, m = "0", x = o && [], b = [], w = l, C = o || i && r.find.TAG("*", c), E = T += null == w ? 1 : Math.random() || .1, k = C.length; - for (c && (l = a === d || a || c); m !== k && null != (f = C[m]); m++) { - if (i && f) { - h = 0, - a || f.ownerDocument === d || (p(f), - s = !g); - while (y = e[h++]) - if (y(f, a || d, s)) { - u.push(f); - break - } - c && (T = E) - } - n && ((f = !y && f) && v--, - o && x.push(f)) - } - if (v += m, - n && m !== v) { - h = 0; - while (y = t[h++]) - y(x, b, a, s); - if (o) { - if (v > 0) - while (m--) - x[m] || b[m] || (b[m] = j.call(u)); - b = we(b) - } - L.apply(u, b), - c && !o && b.length > 0 && v + t.length > 1 && oe.uniqueSort(u) - } - return c && (T = E, - l = w), - x - }; - return n ? se(o) : o - } - return s = oe.compile = function(e, t) { - var n, r = [], i = [], o = S[e + " "]; - if (!o) { - t || (t = a(e)), - n = t.length; - while (n--) - (o = Ce(t[n]))[b] ? r.push(o) : i.push(o); - (o = S(e, Ee(i, r))).selector = e - } - return o - } - , - u = oe.select = function(e, t, n, i) { - var o, u, l, c, f, p = "function" == typeof e && e, d = !i && a(e = p.selector || e); - if (n = n || [], - 1 === d.length) { - if ((u = d[0] = d[0].slice(0)).length > 2 && "ID" === (l = u[0]).type && 9 === t.nodeType && g && r.relative[u[1].type]) { - if (!(t = (r.find.ID(l.matches[0].replace(Z, ee), t) || [])[0])) - return n; - p && (t = t.parentNode), - e = e.slice(u.shift().value.length) - } - o = V.needsContext.test(e) ? 0 : u.length; - while (o--) { - if (l = u[o], - r.relative[c = l.type]) - break; - if ((f = r.find[c]) && (i = f(l.matches[0].replace(Z, ee), K.test(u[0].type) && ge(t.parentNode) || t))) { - if (u.splice(o, 1), - !(e = i.length && ve(u))) - return L.apply(n, i), - n; - break - } - } - } - return (p || s(e, d))(i, t, !g, n, !t || K.test(e) && ge(t.parentNode) || t), - n - } - , - n.sortStable = b.split("").sort(D).join("") === b, - n.detectDuplicates = !!f, - p(), - n.sortDetached = ue(function(e) { - return 1 & e.compareDocumentPosition(d.createElement("fieldset")) - }), - ue(function(e) { - return e.innerHTML = "", - "#" === e.firstChild.getAttribute("href") - }) || le("type|href|height|width", function(e, t, n) { - if (!n) - return e.getAttribute(t, "type" === t.toLowerCase() ? 1 : 2) - }), - n.attributes && ue(function(e) { - return e.innerHTML = "", - e.firstChild.setAttribute("value", ""), - "" === e.firstChild.getAttribute("value") - }) || le("value", function(e, t, n) { - if (!n && "input" === e.nodeName.toLowerCase()) - return e.defaultValue - }), - ue(function(e) { - return null == e.getAttribute("disabled") - }) || le(P, function(e, t, n) { - var r; - if (!n) - return !0 === e[t] ? t.toLowerCase() : (r = e.getAttributeNode(t)) && r.specified ? r.value : null - }), - oe - }(e); - w.find = E, - w.expr = E.selectors, - w.expr[":"] = w.expr.pseudos, - w.uniqueSort = w.unique = E.uniqueSort, - w.text = E.getText, - w.isXMLDoc = E.isXML, - w.contains = E.contains, - w.escapeSelector = E.escape; - var k = function(e, t, n) { - var r = [] - , i = void 0 !== n; - while ((e = e[t]) && 9 !== e.nodeType) - if (1 === e.nodeType) { - if (i && w(e).is(n)) - break; - r.push(e) - } - return r - } - , S = function(e, t) { - for (var n = []; e; e = e.nextSibling) - 1 === e.nodeType && e !== t && n.push(e); - return n - } - , D = w.expr.match.needsContext; - function N(e, t) { - return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase() - } - var A = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i; - function j(e, t, n) { - return g(t) ? w.grep(e, function(e, r) { - return !!t.call(e, r, e) !== n - }) : t.nodeType ? w.grep(e, function(e) { - return e === t !== n - }) : "string" != typeof t ? w.grep(e, function(e) { - return u.call(t, e) > -1 !== n - }) : w.filter(t, e, n) - } - w.filter = function(e, t, n) { - var r = t[0]; - return n && (e = ":not(" + e + ")"), - 1 === t.length && 1 === r.nodeType ? w.find.matchesSelector(r, e) ? [r] : [] : w.find.matches(e, w.grep(t, function(e) { - return 1 === e.nodeType - })) - } - , - w.fn.extend({ - find: function(e) { - var t, n, r = this.length, i = this; - if ("string" != typeof e) - return this.pushStack(w(e).filter(function() { - for (t = 0; t < r; t++) - if (w.contains(i[t], this)) - return !0 - })); - for (n = this.pushStack([]), - t = 0; t < r; t++) - w.find(e, i[t], n); - return r > 1 ? w.uniqueSort(n) : n - }, - filter: function(e) { - return this.pushStack(j(this, e || [], !1)) - }, - not: function(e) { - return this.pushStack(j(this, e || [], !0)) - }, - is: function(e) { - return !!j(this, "string" == typeof e && D.test(e) ? w(e) : e || [], !1).length - } - }); - var q, L = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/; - (w.fn.init = function(e, t, n) { - var i, o; - if (!e) - return this; - if (n = n || q, - "string" == typeof e) { - if (!(i = "<" === e[0] && ">" === e[e.length - 1] && e.length >= 3 ? [null, e, null] : L.exec(e)) || !i[1] && t) - return !t || t.jquery ? (t || n).find(e) : this.constructor(t).find(e); - if (i[1]) { - if (t = t instanceof w ? t[0] : t, - w.merge(this, w.parseHTML(i[1], t && t.nodeType ? t.ownerDocument || t : r, !0)), - A.test(i[1]) && w.isPlainObject(t)) - for (i in t) - g(this[i]) ? this[i](t[i]) : this.attr(i, t[i]); - return this - } - return (o = r.getElementById(i[2])) && (this[0] = o, - this.length = 1), - this - } - return e.nodeType ? (this[0] = e, - this.length = 1, - this) : g(e) ? void 0 !== n.ready ? n.ready(e) : e(w) : w.makeArray(e, this) - } - ).prototype = w.fn, - q = w(r); - var H = /^(?:parents|prev(?:Until|All))/ - , O = { - children: !0, - contents: !0, - next: !0, - prev: !0 - }; - w.fn.extend({ - has: function(e) { - var t = w(e, this) - , n = t.length; - return this.filter(function() { - for (var e = 0; e < n; e++) - if (w.contains(this, t[e])) - return !0 - }) - }, - closest: function(e, t) { - var n, r = 0, i = this.length, o = [], a = "string" != typeof e && w(e); - if (!D.test(e)) - for (; r < i; r++) - for (n = this[r]; n && n !== t; n = n.parentNode) - if (n.nodeType < 11 && (a ? a.index(n) > -1 : 1 === n.nodeType && w.find.matchesSelector(n, e))) { - o.push(n); - break - } - return this.pushStack(o.length > 1 ? w.uniqueSort(o) : o) - }, - index: function(e) { - return e ? "string" == typeof e ? u.call(w(e), this[0]) : u.call(this, e.jquery ? e[0] : e) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1 - }, - add: function(e, t) { - return this.pushStack(w.uniqueSort(w.merge(this.get(), w(e, t)))) - }, - addBack: function(e) { - return this.add(null == e ? this.prevObject : this.prevObject.filter(e)) - } - }); - function P(e, t) { - while ((e = e[t]) && 1 !== e.nodeType) - ; - return e - } - w.each({ - parent: function(e) { - var t = e.parentNode; - return t && 11 !== t.nodeType ? t : null - }, - parents: function(e) { - return k(e, "parentNode") - }, - parentsUntil: function(e, t, n) { - return k(e, "parentNode", n) - }, - next: function(e) { - return P(e, "nextSibling") - }, - prev: function(e) { - return P(e, "previousSibling") - }, - nextAll: function(e) { - return k(e, "nextSibling") - }, - prevAll: function(e) { - return k(e, "previousSibling") - }, - nextUntil: function(e, t, n) { - return k(e, "nextSibling", n) - }, - prevUntil: function(e, t, n) { - return k(e, "previousSibling", n) - }, - siblings: function(e) { - return S((e.parentNode || {}).firstChild, e) - }, - children: function(e) { - return S(e.firstChild) - }, - contents: function(e) { - return N(e, "iframe") ? e.contentDocument : (N(e, "template") && (e = e.content || e), - w.merge([], e.childNodes)) - } - }, function(e, t) { - w.fn[e] = function(n, r) { - var i = w.map(this, t, n); - return "Until" !== e.slice(-5) && (r = n), - r && "string" == typeof r && (i = w.filter(r, i)), - this.length > 1 && (O[e] || w.uniqueSort(i), - H.test(e) && i.reverse()), - this.pushStack(i) - } - }); - var M = /[^\x20\t\r\n\f]+/g; - function R(e) { - var t = {}; - return w.each(e.match(M) || [], function(e, n) { - t[n] = !0 - }), - t - } - w.Callbacks = function(e) { - e = "string" == typeof e ? R(e) : w.extend({}, e); - var t, n, r, i, o = [], a = [], s = -1, u = function() { - for (i = i || e.once, - r = t = !0; a.length; s = -1) { - n = a.shift(); - while (++s < o.length) - !1 === o[s].apply(n[0], n[1]) && e.stopOnFalse && (s = o.length, - n = !1) - } - e.memory || (n = !1), - t = !1, - i && (o = n ? [] : "") - }, l = { - add: function() { - return o && (n && !t && (s = o.length - 1, - a.push(n)), - function t(n) { - w.each(n, function(n, r) { - g(r) ? e.unique && l.has(r) || o.push(r) : r && r.length && "string" !== x(r) && t(r) - }) - }(arguments), - n && !t && u()), - this - }, - remove: function() { - return w.each(arguments, function(e, t) { - var n; - while ((n = w.inArray(t, o, n)) > -1) - o.splice(n, 1), - n <= s && s-- - }), - this - }, - has: function(e) { - return e ? w.inArray(e, o) > -1 : o.length > 0 - }, - empty: function() { - return o && (o = []), - this - }, - disable: function() { - return i = a = [], - o = n = "", - this - }, - disabled: function() { - return !o - }, - lock: function() { - return i = a = [], - n || t || (o = n = ""), - this - }, - locked: function() { - return !!i - }, - fireWith: function(e, n) { - return i || (n = [e, (n = n || []).slice ? n.slice() : n], - a.push(n), - t || u()), - this - }, - fire: function() { - return l.fireWith(this, arguments), - this - }, - fired: function() { - return !!r - } - }; - return l - } - ; - function I(e) { - return e - } - function W(e) { - throw e - } - function $(e, t, n, r) { - var i; - try { - e && g(i = e.promise) ? i.call(e).done(t).fail(n) : e && g(i = e.then) ? i.call(e, t, n) : t.apply(void 0, [e].slice(r)) - } catch (e) { - n.apply(void 0, [e]) - } - } - w.extend({ - Deferred: function(t) { - var n = [["notify", "progress", w.Callbacks("memory"), w.Callbacks("memory"), 2], ["resolve", "done", w.Callbacks("once memory"), w.Callbacks("once memory"), 0, "resolved"], ["reject", "fail", w.Callbacks("once memory"), w.Callbacks("once memory"), 1, "rejected"]] - , r = "pending" - , i = { - state: function() { - return r - }, - always: function() { - return o.done(arguments).fail(arguments), - this - }, - "catch": function(e) { - return i.then(null, e) - }, - pipe: function() { - var e = arguments; - return w.Deferred(function(t) { - w.each(n, function(n, r) { - var i = g(e[r[4]]) && e[r[4]]; - o[r[1]](function() { - var e = i && i.apply(this, arguments); - e && g(e.promise) ? e.promise().progress(t.notify).done(t.resolve).fail(t.reject) : t[r[0] + "With"](this, i ? [e] : arguments) - }) - }), - e = null - }).promise() - }, - then: function(t, r, i) { - var o = 0; - function a(t, n, r, i) { - return function() { - var s = this - , u = arguments - , l = function() { - var e, l; - if (!(t < o)) { - if ((e = r.apply(s, u)) === n.promise()) - throw new TypeError("Thenable self-resolution"); - l = e && ("object" == typeof e || "function" == typeof e) && e.then, - g(l) ? i ? l.call(e, a(o, n, I, i), a(o, n, W, i)) : (o++, - l.call(e, a(o, n, I, i), a(o, n, W, i), a(o, n, I, n.notifyWith))) : (r !== I && (s = void 0, - u = [e]), - (i || n.resolveWith)(s, u)) - } - } - , c = i ? l : function() { - try { - l() - } catch (e) { - w.Deferred.exceptionHook && w.Deferred.exceptionHook(e, c.stackTrace), - t + 1 >= o && (r !== W && (s = void 0, - u = [e]), - n.rejectWith(s, u)) - } - } - ; - t ? c() : (w.Deferred.getStackHook && (c.stackTrace = w.Deferred.getStackHook()), - e.setTimeout(c)) - } - } - return w.Deferred(function(e) { - n[0][3].add(a(0, e, g(i) ? i : I, e.notifyWith)), - n[1][3].add(a(0, e, g(t) ? t : I)), - n[2][3].add(a(0, e, g(r) ? r : W)) - }).promise() - }, - promise: function(e) { - return null != e ? w.extend(e, i) : i - } - } - , o = {}; - return w.each(n, function(e, t) { - var a = t[2] - , s = t[5]; - i[t[1]] = a.add, - s && a.add(function() { - r = s - }, n[3 - e][2].disable, n[3 - e][3].disable, n[0][2].lock, n[0][3].lock), - a.add(t[3].fire), - o[t[0]] = function() { - return o[t[0] + "With"](this === o ? void 0 : this, arguments), - this - } - , - o[t[0] + "With"] = a.fireWith - }), - i.promise(o), - t && t.call(o, o), - o - }, - when: function(e) { - var t = arguments.length - , n = t - , r = Array(n) - , i = o.call(arguments) - , a = w.Deferred() - , s = function(e) { - return function(n) { - r[e] = this, - i[e] = arguments.length > 1 ? o.call(arguments) : n, - --t || a.resolveWith(r, i) - } - }; - if (t <= 1 && ($(e, a.done(s(n)).resolve, a.reject, !t), - "pending" === a.state() || g(i[n] && i[n].then))) - return a.then(); - while (n--) - $(i[n], s(n), a.reject); - return a.promise() - } - }); - var B = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; - w.Deferred.exceptionHook = function(t, n) { - e.console && e.console.warn && t && B.test(t.name) && e.console.warn("jQuery.Deferred exception: " + t.message, t.stack, n) - } - , - w.readyException = function(t) { - e.setTimeout(function() { - throw t - }) - } - ; - var F = w.Deferred(); - w.fn.ready = function(e) { - return F.then(e)["catch"](function(e) { - w.readyException(e) - }), - this - } - , - w.extend({ - isReady: !1, - readyWait: 1, - ready: function(e) { - (!0 === e ? --w.readyWait : w.isReady) || (w.isReady = !0, - !0 !== e && --w.readyWait > 0 || F.resolveWith(r, [w])) - } - }), - w.ready.then = F.then; - function _() { - r.removeEventListener("DOMContentLoaded", _), - e.removeEventListener("load", _), - w.ready() - } - "complete" === r.readyState || "loading" !== r.readyState && !r.documentElement.doScroll ? e.setTimeout(w.ready) : (r.addEventListener("DOMContentLoaded", _), - e.addEventListener("load", _)); - var z = function(e, t, n, r, i, o, a) { - var s = 0 - , u = e.length - , l = null == n; - if ("object" === x(n)) { - i = !0; - for (s in n) - z(e, t, s, n[s], !0, o, a) - } else if (void 0 !== r && (i = !0, - g(r) || (a = !0), - l && (a ? (t.call(e, r), - t = null) : (l = t, - t = function(e, t, n) { - return l.call(w(e), n) - } - )), - t)) - for (; s < u; s++) - t(e[s], n, a ? r : r.call(e[s], s, t(e[s], n))); - return i ? e : l ? t.call(e) : u ? t(e[0], n) : o - } - , X = /^-ms-/ - , U = /-([a-z])/g; - function V(e, t) { - return t.toUpperCase() - } - function G(e) { - return e.replace(X, "ms-").replace(U, V) - } - var Y = function(e) { - return 1 === e.nodeType || 9 === e.nodeType || !+e.nodeType - }; - function Q() { - this.expando = w.expando + Q.uid++ - } - Q.uid = 1, - Q.prototype = { - cache: function(e) { - var t = e[this.expando]; - return t || (t = {}, - Y(e) && (e.nodeType ? e[this.expando] = t : Object.defineProperty(e, this.expando, { - value: t, - configurable: !0 - }))), - t - }, - set: function(e, t, n) { - var r, i = this.cache(e); - if ("string" == typeof t) - i[G(t)] = n; - else - for (r in t) - i[G(r)] = t[r]; - return i - }, - get: function(e, t) { - return void 0 === t ? this.cache(e) : e[this.expando] && e[this.expando][G(t)] - }, - access: function(e, t, n) { - return void 0 === t || t && "string" == typeof t && void 0 === n ? this.get(e, t) : (this.set(e, t, n), - void 0 !== n ? n : t) - }, - remove: function(e, t) { - var n, r = e[this.expando]; - if (void 0 !== r) { - if (void 0 !== t) { - n = (t = Array.isArray(t) ? t.map(G) : (t = G(t))in r ? [t] : t.match(M) || []).length; - while (n--) - delete r[t[n]] - } - (void 0 === t || w.isEmptyObject(r)) && (e.nodeType ? e[this.expando] = void 0 : delete e[this.expando]) - } - }, - hasData: function(e) { - var t = e[this.expando]; - return void 0 !== t && !w.isEmptyObject(t) - } - }; - var J = new Q - , K = new Q - , Z = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/ - , ee = /[A-Z]/g; - function te(e) { - return "true" === e || "false" !== e && ("null" === e ? null : e === +e + "" ? +e : Z.test(e) ? JSON.parse(e) : e) - } - function ne(e, t, n) { - var r; - if (void 0 === n && 1 === e.nodeType) - if (r = "data-" + t.replace(ee, "-$&").toLowerCase(), - "string" == typeof (n = e.getAttribute(r))) { - try { - n = te(n) - } catch (e) {} - K.set(e, t, n) - } else - n = void 0; - return n - } - w.extend({ - hasData: function(e) { - return K.hasData(e) || J.hasData(e) - }, - data: function(e, t, n) { - return K.access(e, t, n) - }, - removeData: function(e, t) { - K.remove(e, t) - }, - _data: function(e, t, n) { - return J.access(e, t, n) - }, - _removeData: function(e, t) { - J.remove(e, t) - } - }), - w.fn.extend({ - data: function(e, t) { - var n, r, i, o = this[0], a = o && o.attributes; - if (void 0 === e) { - if (this.length && (i = K.get(o), - 1 === o.nodeType && !J.get(o, "hasDataAttrs"))) { - n = a.length; - while (n--) - a[n] && 0 === (r = a[n].name).indexOf("data-") && (r = G(r.slice(5)), - ne(o, r, i[r])); - J.set(o, "hasDataAttrs", !0) - } - return i - } - return "object" == typeof e ? this.each(function() { - K.set(this, e) - }) : z(this, function(t) { - var n; - if (o && void 0 === t) { - if (void 0 !== (n = K.get(o, e))) - return n; - if (void 0 !== (n = ne(o, e))) - return n - } else - this.each(function() { - K.set(this, e, t) - }) - }, null, t, arguments.length > 1, null, !0) - }, - removeData: function(e) { - return this.each(function() { - K.remove(this, e) - }) - } - }), - w.extend({ - queue: function(e, t, n) { - var r; - if (e) - return t = (t || "fx") + "queue", - r = J.get(e, t), - n && (!r || Array.isArray(n) ? r = J.access(e, t, w.makeArray(n)) : r.push(n)), - r || [] - }, - dequeue: function(e, t) { - t = t || "fx"; - var n = w.queue(e, t) - , r = n.length - , i = n.shift() - , o = w._queueHooks(e, t) - , a = function() { - w.dequeue(e, t) - }; - "inprogress" === i && (i = n.shift(), - r--), - i && ("fx" === t && n.unshift("inprogress"), - delete o.stop, - i.call(e, a, o)), - !r && o && o.empty.fire() - }, - _queueHooks: function(e, t) { - var n = t + "queueHooks"; - return J.get(e, n) || J.access(e, n, { - empty: w.Callbacks("once memory").add(function() { - J.remove(e, [t + "queue", n]) - }) - }) - } - }), - w.fn.extend({ - queue: function(e, t) { - var n = 2; - return "string" != typeof e && (t = e, - e = "fx", - n--), - arguments.length < n ? w.queue(this[0], e) : void 0 === t ? this : this.each(function() { - var n = w.queue(this, e, t); - w._queueHooks(this, e), - "fx" === e && "inprogress" !== n[0] && w.dequeue(this, e) - }) - }, - dequeue: function(e) { - return this.each(function() { - w.dequeue(this, e) - }) - }, - clearQueue: function(e) { - return this.queue(e || "fx", []) - }, - promise: function(e, t) { - var n, r = 1, i = w.Deferred(), o = this, a = this.length, s = function() { - --r || i.resolveWith(o, [o]) - }; - "string" != typeof e && (t = e, - e = void 0), - e = e || "fx"; - while (a--) - (n = J.get(o[a], e + "queueHooks")) && n.empty && (r++, - n.empty.add(s)); - return s(), - i.promise(t) - } - }); - var re = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source - , ie = new RegExp("^(?:([+-])=|)(" + re + ")([a-z%]*)$","i") - , oe = ["Top", "Right", "Bottom", "Left"] - , ae = function(e, t) { - return "none" === (e = t || e).style.display || "" === e.style.display && w.contains(e.ownerDocument, e) && "none" === w.css(e, "display") - } - , se = function(e, t, n, r) { - var i, o, a = {}; - for (o in t) - a[o] = e.style[o], - e.style[o] = t[o]; - i = n.apply(e, r || []); - for (o in t) - e.style[o] = a[o]; - return i - }; - function ue(e, t, n, r) { - var i, o, a = 20, s = r ? function() { - return r.cur() - } - : function() { - return w.css(e, t, "") - } - , u = s(), l = n && n[3] || (w.cssNumber[t] ? "" : "px"), c = (w.cssNumber[t] || "px" !== l && +u) && ie.exec(w.css(e, t)); - if (c && c[3] !== l) { - u /= 2, - l = l || c[3], - c = +u || 1; - while (a--) - w.style(e, t, c + l), - (1 - o) * (1 - (o = s() / u || .5)) <= 0 && (a = 0), - c /= o; - c *= 2, - w.style(e, t, c + l), - n = n || [] - } - return n && (c = +c || +u || 0, - i = n[1] ? c + (n[1] + 1) * n[2] : +n[2], - r && (r.unit = l, - r.start = c, - r.end = i)), - i - } - var le = {}; - function ce(e) { - var t, n = e.ownerDocument, r = e.nodeName, i = le[r]; - return i || (t = n.body.appendChild(n.createElement(r)), - i = w.css(t, "display"), - t.parentNode.removeChild(t), - "none" === i && (i = "block"), - le[r] = i, - i) - } - function fe(e, t) { - for (var n, r, i = [], o = 0, a = e.length; o < a; o++) - (r = e[o]).style && (n = r.style.display, - t ? ("none" === n && (i[o] = J.get(r, "display") || null, - i[o] || (r.style.display = "")), - "" === r.style.display && ae(r) && (i[o] = ce(r))) : "none" !== n && (i[o] = "none", - J.set(r, "display", n))); - for (o = 0; o < a; o++) - null != i[o] && (e[o].style.display = i[o]); - return e - } - w.fn.extend({ - show: function() { - return fe(this, !0) - }, - hide: function() { - return fe(this) - }, - toggle: function(e) { - return "boolean" == typeof e ? e ? this.show() : this.hide() : this.each(function() { - ae(this) ? w(this).show() : w(this).hide() - }) - } - }); - var pe = /^(?:checkbox|radio)$/i - , de = /<([a-z][^\/\0>\x20\t\r\n\f]+)/i - , he = /^$|^module$|\/(?:java|ecma)script/i - , ge = { - option: [1, ""], - thead: [1, "", "
    "], - col: [2, "", "
    "], - tr: [2, "", "
    "], - td: [3, "", "
    "], - _default: [0, "", ""] - }; - ge.optgroup = ge.option, - ge.tbody = ge.tfoot = ge.colgroup = ge.caption = ge.thead, - ge.th = ge.td; - function ye(e, t) { - var n; - return n = "undefined" != typeof e.getElementsByTagName ? e.getElementsByTagName(t || "*") : "undefined" != typeof e.querySelectorAll ? e.querySelectorAll(t || "*") : [], - void 0 === t || t && N(e, t) ? w.merge([e], n) : n - } - function ve(e, t) { - for (var n = 0, r = e.length; n < r; n++) - J.set(e[n], "globalEval", !t || J.get(t[n], "globalEval")) - } - var me = /<|&#?\w+;/; - function xe(e, t, n, r, i) { - for (var o, a, s, u, l, c, f = t.createDocumentFragment(), p = [], d = 0, h = e.length; d < h; d++) - if ((o = e[d]) || 0 === o) - if ("object" === x(o)) - w.merge(p, o.nodeType ? [o] : o); - else if (me.test(o)) { - a = a || f.appendChild(t.createElement("div")), - s = (de.exec(o) || ["", ""])[1].toLowerCase(), - u = ge[s] || ge._default, - a.innerHTML = u[1] + w.htmlPrefilter(o) + u[2], - c = u[0]; - while (c--) - a = a.lastChild; - w.merge(p, a.childNodes), - (a = f.firstChild).textContent = "" - } else - p.push(t.createTextNode(o)); - f.textContent = "", - d = 0; - while (o = p[d++]) - if (r && w.inArray(o, r) > -1) - i && i.push(o); - else if (l = w.contains(o.ownerDocument, o), - a = ye(f.appendChild(o), "script"), - l && ve(a), - n) { - c = 0; - while (o = a[c++]) - he.test(o.type || "") && n.push(o) - } - return f - } - !function() { - var e = r.createDocumentFragment().appendChild(r.createElement("div")) - , t = r.createElement("input"); - t.setAttribute("type", "radio"), - t.setAttribute("checked", "checked"), - t.setAttribute("name", "t"), - e.appendChild(t), - h.checkClone = e.cloneNode(!0).cloneNode(!0).lastChild.checked, - e.innerHTML = "", - h.noCloneChecked = !!e.cloneNode(!0).lastChild.defaultValue - }(); - var be = r.documentElement - , we = /^key/ - , Te = /^(?:mouse|pointer|contextmenu|drag|drop)|click/ - , Ce = /^([^.]*)(?:\.(.+)|)/; - function Ee() { - return !0 - } - function ke() { - return !1 - } - function Se() { - try { - return r.activeElement - } catch (e) {} - } - function De(e, t, n, r, i, o) { - var a, s; - if ("object" == typeof t) { - "string" != typeof n && (r = r || n, - n = void 0); - for (s in t) - De(e, s, n, r, t[s], o); - return e - } - if (null == r && null == i ? (i = n, - r = n = void 0) : null == i && ("string" == typeof n ? (i = r, - r = void 0) : (i = r, - r = n, - n = void 0)), - !1 === i) - i = ke; - else if (!i) - return e; - return 1 === o && (a = i, - (i = function(e) { - return w().off(e), - a.apply(this, arguments) - } - ).guid = a.guid || (a.guid = w.guid++)), - e.each(function() { - w.event.add(this, t, i, r, n) - }) - } - w.event = { - global: {}, - add: function(e, t, n, r, i) { - var o, a, s, u, l, c, f, p, d, h, g, y = J.get(e); - if (y) { - n.handler && (n = (o = n).handler, - i = o.selector), - i && w.find.matchesSelector(be, i), - n.guid || (n.guid = w.guid++), - (u = y.events) || (u = y.events = {}), - (a = y.handle) || (a = y.handle = function(t) { - return "undefined" != typeof w && w.event.triggered !== t.type ? w.event.dispatch.apply(e, arguments) : void 0 - } - ), - l = (t = (t || "").match(M) || [""]).length; - while (l--) - d = g = (s = Ce.exec(t[l]) || [])[1], - h = (s[2] || "").split(".").sort(), - d && (f = w.event.special[d] || {}, - d = (i ? f.delegateType : f.bindType) || d, - f = w.event.special[d] || {}, - c = w.extend({ - type: d, - origType: g, - data: r, - handler: n, - guid: n.guid, - selector: i, - needsContext: i && w.expr.match.needsContext.test(i), - namespace: h.join(".") - }, o), - (p = u[d]) || ((p = u[d] = []).delegateCount = 0, - f.setup && !1 !== f.setup.call(e, r, h, a) || e.addEventListener && e.addEventListener(d, a)), - f.add && (f.add.call(e, c), - c.handler.guid || (c.handler.guid = n.guid)), - i ? p.splice(p.delegateCount++, 0, c) : p.push(c), - w.event.global[d] = !0) - } - }, - remove: function(e, t, n, r, i) { - var o, a, s, u, l, c, f, p, d, h, g, y = J.hasData(e) && J.get(e); - if (y && (u = y.events)) { - l = (t = (t || "").match(M) || [""]).length; - while (l--) - if (s = Ce.exec(t[l]) || [], - d = g = s[1], - h = (s[2] || "").split(".").sort(), - d) { - f = w.event.special[d] || {}, - p = u[d = (r ? f.delegateType : f.bindType) || d] || [], - s = s[2] && new RegExp("(^|\\.)" + h.join("\\.(?:.*\\.|)") + "(\\.|$)"), - a = o = p.length; - while (o--) - c = p[o], - !i && g !== c.origType || n && n.guid !== c.guid || s && !s.test(c.namespace) || r && r !== c.selector && ("**" !== r || !c.selector) || (p.splice(o, 1), - c.selector && p.delegateCount--, - f.remove && f.remove.call(e, c)); - a && !p.length && (f.teardown && !1 !== f.teardown.call(e, h, y.handle) || w.removeEvent(e, d, y.handle), - delete u[d]) - } else - for (d in u) - w.event.remove(e, d + t[l], n, r, !0); - w.isEmptyObject(u) && J.remove(e, "handle events") - } - }, - dispatch: function(e) { - var t = w.event.fix(e), n, r, i, o, a, s, u = new Array(arguments.length), l = (J.get(this, "events") || {})[t.type] || [], c = w.event.special[t.type] || {}; - for (u[0] = t, - n = 1; n < arguments.length; n++) - u[n] = arguments[n]; - if (t.delegateTarget = this, - !c.preDispatch || !1 !== c.preDispatch.call(this, t)) { - s = w.event.handlers.call(this, t, l), - n = 0; - while ((o = s[n++]) && !t.isPropagationStopped()) { - t.currentTarget = o.elem, - r = 0; - while ((a = o.handlers[r++]) && !t.isImmediatePropagationStopped()) - t.rnamespace && !t.rnamespace.test(a.namespace) || (t.handleObj = a, - t.data = a.data, - void 0 !== (i = ((w.event.special[a.origType] || {}).handle || a.handler).apply(o.elem, u)) && !1 === (t.result = i) && (t.preventDefault(), - t.stopPropagation())) - } - return c.postDispatch && c.postDispatch.call(this, t), - t.result - } - }, - handlers: function(e, t) { - var n, r, i, o, a, s = [], u = t.delegateCount, l = e.target; - if (u && l.nodeType && !("click" === e.type && e.button >= 1)) - for (; l !== this; l = l.parentNode || this) - if (1 === l.nodeType && ("click" !== e.type || !0 !== l.disabled)) { - for (o = [], - a = {}, - n = 0; n < u; n++) - void 0 === a[i = (r = t[n]).selector + " "] && (a[i] = r.needsContext ? w(i, this).index(l) > -1 : w.find(i, this, null, [l]).length), - a[i] && o.push(r); - o.length && s.push({ - elem: l, - handlers: o - }) - } - return l = this, - u < t.length && s.push({ - elem: l, - handlers: t.slice(u) - }), - s - }, - addProp: function(e, t) { - Object.defineProperty(w.Event.prototype, e, { - enumerable: !0, - configurable: !0, - get: g(t) ? function() { - if (this.originalEvent) - return t(this.originalEvent) - } - : function() { - if (this.originalEvent) - return this.originalEvent[e] - } - , - set: function(t) { - Object.defineProperty(this, e, { - enumerable: !0, - configurable: !0, - writable: !0, - value: t - }) - } - }) - }, - fix: function(e) { - return e[w.expando] ? e : new w.Event(e) - }, - special: { - load: { - noBubble: !0 - }, - focus: { - trigger: function() { - if (this !== Se() && this.focus) - return this.focus(), - !1 - }, - delegateType: "focusin" - }, - blur: { - trigger: function() { - if (this === Se() && this.blur) - return this.blur(), - !1 - }, - delegateType: "focusout" - }, - click: { - trigger: function() { - if ("checkbox" === this.type && this.click && N(this, "input")) - return this.click(), - !1 - }, - _default: function(e) { - return N(e.target, "a") - } - }, - beforeunload: { - postDispatch: function(e) { - void 0 !== e.result && e.originalEvent && (e.originalEvent.returnValue = e.result) - } - } - } - }, - w.removeEvent = function(e, t, n) { - e.removeEventListener && e.removeEventListener(t, n) - } - , - w.Event = function(e, t) { - if (!(this instanceof w.Event)) - return new w.Event(e,t); - e && e.type ? (this.originalEvent = e, - this.type = e.type, - this.isDefaultPrevented = e.defaultPrevented || void 0 === e.defaultPrevented && !1 === e.returnValue ? Ee : ke, - this.target = e.target && 3 === e.target.nodeType ? e.target.parentNode : e.target, - this.currentTarget = e.currentTarget, - this.relatedTarget = e.relatedTarget) : this.type = e, - t && w.extend(this, t), - this.timeStamp = e && e.timeStamp || Date.now(), - this[w.expando] = !0 - } - , - w.Event.prototype = { - constructor: w.Event, - isDefaultPrevented: ke, - isPropagationStopped: ke, - isImmediatePropagationStopped: ke, - isSimulated: !1, - preventDefault: function() { - var e = this.originalEvent; - this.isDefaultPrevented = Ee, - e && !this.isSimulated && e.preventDefault() - }, - stopPropagation: function() { - var e = this.originalEvent; - this.isPropagationStopped = Ee, - e && !this.isSimulated && e.stopPropagation() - }, - stopImmediatePropagation: function() { - var e = this.originalEvent; - this.isImmediatePropagationStopped = Ee, - e && !this.isSimulated && e.stopImmediatePropagation(), - this.stopPropagation() - } - }, - w.each({ - altKey: !0, - bubbles: !0, - cancelable: !0, - changedTouches: !0, - ctrlKey: !0, - detail: !0, - eventPhase: !0, - metaKey: !0, - pageX: !0, - pageY: !0, - shiftKey: !0, - view: !0, - "char": !0, - charCode: !0, - key: !0, - keyCode: !0, - button: !0, - buttons: !0, - clientX: !0, - clientY: !0, - offsetX: !0, - offsetY: !0, - pointerId: !0, - pointerType: !0, - screenX: !0, - screenY: !0, - targetTouches: !0, - toElement: !0, - touches: !0, - which: function(e) { - var t = e.button; - return null == e.which && we.test(e.type) ? null != e.charCode ? e.charCode : e.keyCode : !e.which && void 0 !== t && Te.test(e.type) ? 1 & t ? 1 : 2 & t ? 3 : 4 & t ? 2 : 0 : e.which - } - }, w.event.addProp), - w.each({ - mouseenter: "mouseover", - mouseleave: "mouseout", - pointerenter: "pointerover", - pointerleave: "pointerout" - }, function(e, t) { - w.event.special[e] = { - delegateType: t, - bindType: t, - handle: function(e) { - var n, r = this, i = e.relatedTarget, o = e.handleObj; - return i && (i === r || w.contains(r, i)) || (e.type = o.origType, - n = o.handler.apply(this, arguments), - e.type = t), - n - } - } - }), - w.fn.extend({ - on: function(e, t, n, r) { - return De(this, e, t, n, r) - }, - one: function(e, t, n, r) { - return De(this, e, t, n, r, 1) - }, - off: function(e, t, n) { - var r, i; - if (e && e.preventDefault && e.handleObj) - return r = e.handleObj, - w(e.delegateTarget).off(r.namespace ? r.origType + "." + r.namespace : r.origType, r.selector, r.handler), - this; - if ("object" == typeof e) { - for (i in e) - this.off(i, t, e[i]); - return this - } - return !1 !== t && "function" != typeof t || (n = t, - t = void 0), - !1 === n && (n = ke), - this.each(function() { - w.event.remove(this, e, n, t) - }) - } - }); - var Ne = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi - , Ae = /\s*$/g; - function Le(e, t) { - return N(e, "table") && N(11 !== t.nodeType ? t : t.firstChild, "tr") ? w(e).children("tbody")[0] || e : e - } - function He(e) { - return e.type = (null !== e.getAttribute("type")) + "/" + e.type, - e - } - function Oe(e) { - return "true/" === (e.type || "").slice(0, 5) ? e.type = e.type.slice(5) : e.removeAttribute("type"), - e - } - function Pe(e, t) { - var n, r, i, o, a, s, u, l; - if (1 === t.nodeType) { - if (J.hasData(e) && (o = J.access(e), - a = J.set(t, o), - l = o.events)) { - delete a.handle, - a.events = {}; - for (i in l) - for (n = 0, - r = l[i].length; n < r; n++) - w.event.add(t, i, l[i][n]) - } - K.hasData(e) && (s = K.access(e), - u = w.extend({}, s), - K.set(t, u)) - } - } - function Me(e, t) { - var n = t.nodeName.toLowerCase(); - "input" === n && pe.test(e.type) ? t.checked = e.checked : "input" !== n && "textarea" !== n || (t.defaultValue = e.defaultValue) - } - function Re(e, t, n, r) { - t = a.apply([], t); - var i, o, s, u, l, c, f = 0, p = e.length, d = p - 1, y = t[0], v = g(y); - if (v || p > 1 && "string" == typeof y && !h.checkClone && je.test(y)) - return e.each(function(i) { - var o = e.eq(i); - v && (t[0] = y.call(this, i, o.html())), - Re(o, t, n, r) - }); - if (p && (i = xe(t, e[0].ownerDocument, !1, e, r), - o = i.firstChild, - 1 === i.childNodes.length && (i = o), - o || r)) { - for (u = (s = w.map(ye(i, "script"), He)).length; f < p; f++) - l = i, - f !== d && (l = w.clone(l, !0, !0), - u && w.merge(s, ye(l, "script"))), - n.call(e[f], l, f); - if (u) - for (c = s[s.length - 1].ownerDocument, - w.map(s, Oe), - f = 0; f < u; f++) - l = s[f], - he.test(l.type || "") && !J.access(l, "globalEval") && w.contains(c, l) && (l.src && "module" !== (l.type || "").toLowerCase() ? w._evalUrl && w._evalUrl(l.src) : m(l.textContent.replace(qe, ""), c, l)) - } - return e - } - function Ie(e, t, n) { - for (var r, i = t ? w.filter(t, e) : e, o = 0; null != (r = i[o]); o++) - n || 1 !== r.nodeType || w.cleanData(ye(r)), - r.parentNode && (n && w.contains(r.ownerDocument, r) && ve(ye(r, "script")), - r.parentNode.removeChild(r)); - return e - } - w.extend({ - htmlPrefilter: function(e) { - return e.replace(Ne, "<$1>") - }, - clone: function(e, t, n) { - var r, i, o, a, s = e.cloneNode(!0), u = w.contains(e.ownerDocument, e); - if (!(h.noCloneChecked || 1 !== e.nodeType && 11 !== e.nodeType || w.isXMLDoc(e))) - for (a = ye(s), - r = 0, - i = (o = ye(e)).length; r < i; r++) - Me(o[r], a[r]); - if (t) - if (n) - for (o = o || ye(e), - a = a || ye(s), - r = 0, - i = o.length; r < i; r++) - Pe(o[r], a[r]); - else - Pe(e, s); - return (a = ye(s, "script")).length > 0 && ve(a, !u && ye(e, "script")), - s - }, - cleanData: function(e) { - for (var t, n, r, i = w.event.special, o = 0; void 0 !== (n = e[o]); o++) - if (Y(n)) { - if (t = n[J.expando]) { - if (t.events) - for (r in t.events) - i[r] ? w.event.remove(n, r) : w.removeEvent(n, r, t.handle); - n[J.expando] = void 0 - } - n[K.expando] && (n[K.expando] = void 0) - } - } - }), - w.fn.extend({ - detach: function(e) { - return Ie(this, e, !0) - }, - remove: function(e) { - return Ie(this, e) - }, - text: function(e) { - return z(this, function(e) { - return void 0 === e ? w.text(this) : this.empty().each(function() { - 1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType || (this.textContent = e) - }) - }, null, e, arguments.length) - }, - append: function() { - return Re(this, arguments, function(e) { - 1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType || Le(this, e).appendChild(e) - }) - }, - prepend: function() { - return Re(this, arguments, function(e) { - if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) { - var t = Le(this, e); - t.insertBefore(e, t.firstChild) - } - }) - }, - before: function() { - return Re(this, arguments, function(e) { - this.parentNode && this.parentNode.insertBefore(e, this) - }) - }, - after: function() { - return Re(this, arguments, function(e) { - this.parentNode && this.parentNode.insertBefore(e, this.nextSibling) - }) - }, - empty: function() { - for (var e, t = 0; null != (e = this[t]); t++) - 1 === e.nodeType && (w.cleanData(ye(e, !1)), - e.textContent = ""); - return this - }, - clone: function(e, t) { - return e = null != e && e, - t = null == t ? e : t, - this.map(function() { - return w.clone(this, e, t) - }) - }, - html: function(e) { - return z(this, function(e) { - var t = this[0] || {} - , n = 0 - , r = this.length; - if (void 0 === e && 1 === t.nodeType) - return t.innerHTML; - if ("string" == typeof e && !Ae.test(e) && !ge[(de.exec(e) || ["", ""])[1].toLowerCase()]) { - e = w.htmlPrefilter(e); - try { - for (; n < r; n++) - 1 === (t = this[n] || {}).nodeType && (w.cleanData(ye(t, !1)), - t.innerHTML = e); - t = 0 - } catch (e) {} - } - t && this.empty().append(e) - }, null, e, arguments.length) - }, - replaceWith: function() { - var e = []; - return Re(this, arguments, function(t) { - var n = this.parentNode; - w.inArray(this, e) < 0 && (w.cleanData(ye(this)), - n && n.replaceChild(t, this)) - }, e) - } - }), - w.each({ - appendTo: "append", - prependTo: "prepend", - insertBefore: "before", - insertAfter: "after", - replaceAll: "replaceWith" - }, function(e, t) { - w.fn[e] = function(e) { - for (var n, r = [], i = w(e), o = i.length - 1, a = 0; a <= o; a++) - n = a === o ? this : this.clone(!0), - w(i[a])[t](n), - s.apply(r, n.get()); - return this.pushStack(r) - } - }); - var We = new RegExp("^(" + re + ")(?!px)[a-z%]+$","i") - , $e = function(t) { - var n = t.ownerDocument.defaultView; - return n && n.opener || (n = e), - n.getComputedStyle(t) - } - , Be = new RegExp(oe.join("|"),"i"); - !function() { - function t() { - if (c) { - l.style.cssText = "position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0", - c.style.cssText = "position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%", - be.appendChild(l).appendChild(c); - var t = e.getComputedStyle(c); - i = "1%" !== t.top, - u = 12 === n(t.marginLeft), - c.style.right = "60%", - s = 36 === n(t.right), - o = 36 === n(t.width), - c.style.position = "absolute", - a = 36 === c.offsetWidth || "absolute", - be.removeChild(l), - c = null - } - } - function n(e) { - return Math.round(parseFloat(e)) - } - var i, o, a, s, u, l = r.createElement("div"), c = r.createElement("div"); - c.style && (c.style.backgroundClip = "content-box", - c.cloneNode(!0).style.backgroundClip = "", - h.clearCloneStyle = "content-box" === c.style.backgroundClip, - w.extend(h, { - boxSizingReliable: function() { - return t(), - o - }, - pixelBoxStyles: function() { - return t(), - s - }, - pixelPosition: function() { - return t(), - i - }, - reliableMarginLeft: function() { - return t(), - u - }, - scrollboxSize: function() { - return t(), - a - } - })) - }(); - function Fe(e, t, n) { - var r, i, o, a, s = e.style; - return (n = n || $e(e)) && ("" !== (a = n.getPropertyValue(t) || n[t]) || w.contains(e.ownerDocument, e) || (a = w.style(e, t)), - !h.pixelBoxStyles() && We.test(a) && Be.test(t) && (r = s.width, - i = s.minWidth, - o = s.maxWidth, - s.minWidth = s.maxWidth = s.width = a, - a = n.width, - s.width = r, - s.minWidth = i, - s.maxWidth = o)), - void 0 !== a ? a + "" : a - } - function _e(e, t) { - return { - get: function() { - if (!e()) - return (this.get = t).apply(this, arguments); - delete this.get - } - } - } - var ze = /^(none|table(?!-c[ea]).+)/ - , Xe = /^--/ - , Ue = { - position: "absolute", - visibility: "hidden", - display: "block" - } - , Ve = { - letterSpacing: "0", - fontWeight: "400" - } - , Ge = ["Webkit", "Moz", "ms"] - , Ye = r.createElement("div").style; - function Qe(e) { - if (e in Ye) - return e; - var t = e[0].toUpperCase() + e.slice(1) - , n = Ge.length; - while (n--) - if ((e = Ge[n] + t)in Ye) - return e - } - function Je(e) { - var t = w.cssProps[e]; - return t || (t = w.cssProps[e] = Qe(e) || e), - t - } - function Ke(e, t, n) { - var r = ie.exec(t); - return r ? Math.max(0, r[2] - (n || 0)) + (r[3] || "px") : t - } - function Ze(e, t, n, r, i, o) { - var a = "width" === t ? 1 : 0 - , s = 0 - , u = 0; - if (n === (r ? "border" : "content")) - return 0; - for (; a < 4; a += 2) - "margin" === n && (u += w.css(e, n + oe[a], !0, i)), - r ? ("content" === n && (u -= w.css(e, "padding" + oe[a], !0, i)), - "margin" !== n && (u -= w.css(e, "border" + oe[a] + "Width", !0, i))) : (u += w.css(e, "padding" + oe[a], !0, i), - "padding" !== n ? u += w.css(e, "border" + oe[a] + "Width", !0, i) : s += w.css(e, "border" + oe[a] + "Width", !0, i)); - return !r && o >= 0 && (u += Math.max(0, Math.ceil(e["offset" + t[0].toUpperCase() + t.slice(1)] - o - u - s - .5))), - u - } - function et(e, t, n) { - var r = $e(e) - , i = Fe(e, t, r) - , o = "border-box" === w.css(e, "boxSizing", !1, r) - , a = o; - if (We.test(i)) { - if (!n) - return i; - i = "auto" - } - return a = a && (h.boxSizingReliable() || i === e.style[t]), - ("auto" === i || !parseFloat(i) && "inline" === w.css(e, "display", !1, r)) && (i = e["offset" + t[0].toUpperCase() + t.slice(1)], - a = !0), - (i = parseFloat(i) || 0) + Ze(e, t, n || (o ? "border" : "content"), a, r, i) + "px" - } - w.extend({ - cssHooks: { - opacity: { - get: function(e, t) { - if (t) { - var n = Fe(e, "opacity"); - return "" === n ? "1" : n - } - } - } - }, - cssNumber: { - animationIterationCount: !0, - columnCount: !0, - fillOpacity: !0, - flexGrow: !0, - flexShrink: !0, - fontWeight: !0, - lineHeight: !0, - opacity: !0, - order: !0, - orphans: !0, - widows: !0, - zIndex: !0, - zoom: !0 - }, - cssProps: {}, - style: function(e, t, n, r) { - if (e && 3 !== e.nodeType && 8 !== e.nodeType && e.style) { - var i, o, a, s = G(t), u = Xe.test(t), l = e.style; - if (u || (t = Je(s)), - a = w.cssHooks[t] || w.cssHooks[s], - void 0 === n) - return a && "get"in a && void 0 !== (i = a.get(e, !1, r)) ? i : l[t]; - "string" == (o = typeof n) && (i = ie.exec(n)) && i[1] && (n = ue(e, t, i), - o = "number"), - null != n && n === n && ("number" === o && (n += i && i[3] || (w.cssNumber[s] ? "" : "px")), - h.clearCloneStyle || "" !== n || 0 !== t.indexOf("background") || (l[t] = "inherit"), - a && "set"in a && void 0 === (n = a.set(e, n, r)) || (u ? l.setProperty(t, n) : l[t] = n)) - } - }, - css: function(e, t, n, r) { - var i, o, a, s = G(t); - return Xe.test(t) || (t = Je(s)), - (a = w.cssHooks[t] || w.cssHooks[s]) && "get"in a && (i = a.get(e, !0, n)), - void 0 === i && (i = Fe(e, t, r)), - "normal" === i && t in Ve && (i = Ve[t]), - "" === n || n ? (o = parseFloat(i), - !0 === n || isFinite(o) ? o || 0 : i) : i - } - }), - w.each(["height", "width"], function(e, t) { - w.cssHooks[t] = { - get: function(e, n, r) { - if (n) - return !ze.test(w.css(e, "display")) || e.getClientRects().length && e.getBoundingClientRect().width ? et(e, t, r) : se(e, Ue, function() { - return et(e, t, r) - }) - }, - set: function(e, n, r) { - var i, o = $e(e), a = "border-box" === w.css(e, "boxSizing", !1, o), s = r && Ze(e, t, r, a, o); - return a && h.scrollboxSize() === o.position && (s -= Math.ceil(e["offset" + t[0].toUpperCase() + t.slice(1)] - parseFloat(o[t]) - Ze(e, t, "border", !1, o) - .5)), - s && (i = ie.exec(n)) && "px" !== (i[3] || "px") && (e.style[t] = n, - n = w.css(e, t)), - Ke(e, n, s) - } - } - }), - w.cssHooks.marginLeft = _e(h.reliableMarginLeft, function(e, t) { - if (t) - return (parseFloat(Fe(e, "marginLeft")) || e.getBoundingClientRect().left - se(e, { - marginLeft: 0 - }, function() { - return e.getBoundingClientRect().left - })) + "px" - }), - w.each({ - margin: "", - padding: "", - border: "Width" - }, function(e, t) { - w.cssHooks[e + t] = { - expand: function(n) { - for (var r = 0, i = {}, o = "string" == typeof n ? n.split(" ") : [n]; r < 4; r++) - i[e + oe[r] + t] = o[r] || o[r - 2] || o[0]; - return i - } - }, - "margin" !== e && (w.cssHooks[e + t].set = Ke) - }), - w.fn.extend({ - css: function(e, t) { - return z(this, function(e, t, n) { - var r, i, o = {}, a = 0; - if (Array.isArray(t)) { - for (r = $e(e), - i = t.length; a < i; a++) - o[t[a]] = w.css(e, t[a], !1, r); - return o - } - return void 0 !== n ? w.style(e, t, n) : w.css(e, t) - }, e, t, arguments.length > 1) - } - }); - function tt(e, t, n, r, i) { - return new tt.prototype.init(e,t,n,r,i) - } - w.Tween = tt, - tt.prototype = { - constructor: tt, - init: function(e, t, n, r, i, o) { - this.elem = e, - this.prop = n, - this.easing = i || w.easing._default, - this.options = t, - this.start = this.now = this.cur(), - this.end = r, - this.unit = o || (w.cssNumber[n] ? "" : "px") - }, - cur: function() { - var e = tt.propHooks[this.prop]; - return e && e.get ? e.get(this) : tt.propHooks._default.get(this) - }, - run: function(e) { - var t, n = tt.propHooks[this.prop]; - return this.options.duration ? this.pos = t = w.easing[this.easing](e, this.options.duration * e, 0, 1, this.options.duration) : this.pos = t = e, - this.now = (this.end - this.start) * t + this.start, - this.options.step && this.options.step.call(this.elem, this.now, this), - n && n.set ? n.set(this) : tt.propHooks._default.set(this), - this - } - }, - tt.prototype.init.prototype = tt.prototype, - tt.propHooks = { - _default: { - get: function(e) { - var t; - return 1 !== e.elem.nodeType || null != e.elem[e.prop] && null == e.elem.style[e.prop] ? e.elem[e.prop] : (t = w.css(e.elem, e.prop, "")) && "auto" !== t ? t : 0 - }, - set: function(e) { - w.fx.step[e.prop] ? w.fx.step[e.prop](e) : 1 !== e.elem.nodeType || null == e.elem.style[w.cssProps[e.prop]] && !w.cssHooks[e.prop] ? e.elem[e.prop] = e.now : w.style(e.elem, e.prop, e.now + e.unit) - } - } - }, - tt.propHooks.scrollTop = tt.propHooks.scrollLeft = { - set: function(e) { - e.elem.nodeType && e.elem.parentNode && (e.elem[e.prop] = e.now) - } - }, - w.easing = { - linear: function(e) { - return e - }, - swing: function(e) { - return .5 - Math.cos(e * Math.PI) / 2 - }, - _default: "swing" - }, - w.fx = tt.prototype.init, - w.fx.step = {}; - var nt, rt, it = /^(?:toggle|show|hide)$/, ot = /queueHooks$/; - function at() { - rt && (!1 === r.hidden && e.requestAnimationFrame ? e.requestAnimationFrame(at) : e.setTimeout(at, w.fx.interval), - w.fx.tick()) - } - function st() { - return e.setTimeout(function() { - nt = void 0 - }), - nt = Date.now() - } - function ut(e, t) { - var n, r = 0, i = { - height: e - }; - for (t = t ? 1 : 0; r < 4; r += 2 - t) - i["margin" + (n = oe[r])] = i["padding" + n] = e; - return t && (i.opacity = i.width = e), - i - } - function lt(e, t, n) { - for (var r, i = (pt.tweeners[t] || []).concat(pt.tweeners["*"]), o = 0, a = i.length; o < a; o++) - if (r = i[o].call(n, t, e)) - return r - } - function ct(e, t, n) { - var r, i, o, a, s, u, l, c, f = "width"in t || "height"in t, p = this, d = {}, h = e.style, g = e.nodeType && ae(e), y = J.get(e, "fxshow"); - n.queue || (null == (a = w._queueHooks(e, "fx")).unqueued && (a.unqueued = 0, - s = a.empty.fire, - a.empty.fire = function() { - a.unqueued || s() - } - ), - a.unqueued++, - p.always(function() { - p.always(function() { - a.unqueued--, - w.queue(e, "fx").length || a.empty.fire() - }) - })); - for (r in t) - if (i = t[r], - it.test(i)) { - if (delete t[r], - o = o || "toggle" === i, - i === (g ? "hide" : "show")) { - if ("show" !== i || !y || void 0 === y[r]) - continue; - g = !0 - } - d[r] = y && y[r] || w.style(e, r) - } - if ((u = !w.isEmptyObject(t)) || !w.isEmptyObject(d)) { - f && 1 === e.nodeType && (n.overflow = [h.overflow, h.overflowX, h.overflowY], - null == (l = y && y.display) && (l = J.get(e, "display")), - "none" === (c = w.css(e, "display")) && (l ? c = l : (fe([e], !0), - l = e.style.display || l, - c = w.css(e, "display"), - fe([e]))), - ("inline" === c || "inline-block" === c && null != l) && "none" === w.css(e, "float") && (u || (p.done(function() { - h.display = l - }), - null == l && (c = h.display, - l = "none" === c ? "" : c)), - h.display = "inline-block")), - n.overflow && (h.overflow = "hidden", - p.always(function() { - h.overflow = n.overflow[0], - h.overflowX = n.overflow[1], - h.overflowY = n.overflow[2] - })), - u = !1; - for (r in d) - u || (y ? "hidden"in y && (g = y.hidden) : y = J.access(e, "fxshow", { - display: l - }), - o && (y.hidden = !g), - g && fe([e], !0), - p.done(function() { - g || fe([e]), - J.remove(e, "fxshow"); - for (r in d) - w.style(e, r, d[r]) - })), - u = lt(g ? y[r] : 0, r, p), - r in y || (y[r] = u.start, - g && (u.end = u.start, - u.start = 0)) - } - } - function ft(e, t) { - var n, r, i, o, a; - for (n in e) - if (r = G(n), - i = t[r], - o = e[n], - Array.isArray(o) && (i = o[1], - o = e[n] = o[0]), - n !== r && (e[r] = o, - delete e[n]), - (a = w.cssHooks[r]) && "expand"in a) { - o = a.expand(o), - delete e[r]; - for (n in o) - n in e || (e[n] = o[n], - t[n] = i) - } else - t[r] = i - } - function pt(e, t, n) { - var r, i, o = 0, a = pt.prefilters.length, s = w.Deferred().always(function() { - delete u.elem - }), u = function() { - if (i) - return !1; - for (var t = nt || st(), n = Math.max(0, l.startTime + l.duration - t), r = 1 - (n / l.duration || 0), o = 0, a = l.tweens.length; o < a; o++) - l.tweens[o].run(r); - return s.notifyWith(e, [l, r, n]), - r < 1 && a ? n : (a || s.notifyWith(e, [l, 1, 0]), - s.resolveWith(e, [l]), - !1) - }, l = s.promise({ - elem: e, - props: w.extend({}, t), - opts: w.extend(!0, { - specialEasing: {}, - easing: w.easing._default - }, n), - originalProperties: t, - originalOptions: n, - startTime: nt || st(), - duration: n.duration, - tweens: [], - createTween: function(t, n) { - var r = w.Tween(e, l.opts, t, n, l.opts.specialEasing[t] || l.opts.easing); - return l.tweens.push(r), - r - }, - stop: function(t) { - var n = 0 - , r = t ? l.tweens.length : 0; - if (i) - return this; - for (i = !0; n < r; n++) - l.tweens[n].run(1); - return t ? (s.notifyWith(e, [l, 1, 0]), - s.resolveWith(e, [l, t])) : s.rejectWith(e, [l, t]), - this - } - }), c = l.props; - for (ft(c, l.opts.specialEasing); o < a; o++) - if (r = pt.prefilters[o].call(l, e, c, l.opts)) - return g(r.stop) && (w._queueHooks(l.elem, l.opts.queue).stop = r.stop.bind(r)), - r; - return w.map(c, lt, l), - g(l.opts.start) && l.opts.start.call(e, l), - l.progress(l.opts.progress).done(l.opts.done, l.opts.complete).fail(l.opts.fail).always(l.opts.always), - w.fx.timer(w.extend(u, { - elem: e, - anim: l, - queue: l.opts.queue - })), - l - } - w.Animation = w.extend(pt, { - tweeners: { - "*": [function(e, t) { - var n = this.createTween(e, t); - return ue(n.elem, e, ie.exec(t), n), - n - } - ] - }, - tweener: function(e, t) { - g(e) ? (t = e, - e = ["*"]) : e = e.match(M); - for (var n, r = 0, i = e.length; r < i; r++) - n = e[r], - pt.tweeners[n] = pt.tweeners[n] || [], - pt.tweeners[n].unshift(t) - }, - prefilters: [ct], - prefilter: function(e, t) { - t ? pt.prefilters.unshift(e) : pt.prefilters.push(e) - } - }), - w.speed = function(e, t, n) { - var r = e && "object" == typeof e ? w.extend({}, e) : { - complete: n || !n && t || g(e) && e, - duration: e, - easing: n && t || t && !g(t) && t - }; - return w.fx.off ? r.duration = 0 : "number" != typeof r.duration && (r.duration in w.fx.speeds ? r.duration = w.fx.speeds[r.duration] : r.duration = w.fx.speeds._default), - null != r.queue && !0 !== r.queue || (r.queue = "fx"), - r.old = r.complete, - r.complete = function() { - g(r.old) && r.old.call(this), - r.queue && w.dequeue(this, r.queue) - } - , - r - } - , - w.fn.extend({ - fadeTo: function(e, t, n, r) { - return this.filter(ae).css("opacity", 0).show().end().animate({ - opacity: t - }, e, n, r) - }, - animate: function(e, t, n, r) { - var i = w.isEmptyObject(e) - , o = w.speed(t, n, r) - , a = function() { - var t = pt(this, w.extend({}, e), o); - (i || J.get(this, "finish")) && t.stop(!0) - }; - return a.finish = a, - i || !1 === o.queue ? this.each(a) : this.queue(o.queue, a) - }, - stop: function(e, t, n) { - var r = function(e) { - var t = e.stop; - delete e.stop, - t(n) - }; - return "string" != typeof e && (n = t, - t = e, - e = void 0), - t && !1 !== e && this.queue(e || "fx", []), - this.each(function() { - var t = !0 - , i = null != e && e + "queueHooks" - , o = w.timers - , a = J.get(this); - if (i) - a[i] && a[i].stop && r(a[i]); - else - for (i in a) - a[i] && a[i].stop && ot.test(i) && r(a[i]); - for (i = o.length; i--; ) - o[i].elem !== this || null != e && o[i].queue !== e || (o[i].anim.stop(n), - t = !1, - o.splice(i, 1)); - !t && n || w.dequeue(this, e) - }) - }, - finish: function(e) { - return !1 !== e && (e = e || "fx"), - this.each(function() { - var t, n = J.get(this), r = n[e + "queue"], i = n[e + "queueHooks"], o = w.timers, a = r ? r.length : 0; - for (n.finish = !0, - w.queue(this, e, []), - i && i.stop && i.stop.call(this, !0), - t = o.length; t--; ) - o[t].elem === this && o[t].queue === e && (o[t].anim.stop(!0), - o.splice(t, 1)); - for (t = 0; t < a; t++) - r[t] && r[t].finish && r[t].finish.call(this); - delete n.finish - }) - } - }), - w.each(["toggle", "show", "hide"], function(e, t) { - var n = w.fn[t]; - w.fn[t] = function(e, r, i) { - return null == e || "boolean" == typeof e ? n.apply(this, arguments) : this.animate(ut(t, !0), e, r, i) - } - }), - w.each({ - slideDown: ut("show"), - slideUp: ut("hide"), - slideToggle: ut("toggle"), - fadeIn: { - opacity: "show" - }, - fadeOut: { - opacity: "hide" - }, - fadeToggle: { - opacity: "toggle" - } - }, function(e, t) { - w.fn[e] = function(e, n, r) { - return this.animate(t, e, n, r) - } - }), - w.timers = [], - w.fx.tick = function() { - var e, t = 0, n = w.timers; - for (nt = Date.now(); t < n.length; t++) - (e = n[t])() || n[t] !== e || n.splice(t--, 1); - n.length || w.fx.stop(), - nt = void 0 - } - , - w.fx.timer = function(e) { - w.timers.push(e), - w.fx.start() - } - , - w.fx.interval = 13, - w.fx.start = function() { - rt || (rt = !0, - at()) - } - , - w.fx.stop = function() { - rt = null - } - , - w.fx.speeds = { - slow: 600, - fast: 200, - _default: 400 - }, - w.fn.delay = function(t, n) { - return t = w.fx ? w.fx.speeds[t] || t : t, - n = n || "fx", - this.queue(n, function(n, r) { - var i = e.setTimeout(n, t); - r.stop = function() { - e.clearTimeout(i) - } - }) - } - , - function() { - var e = r.createElement("input") - , t = r.createElement("select").appendChild(r.createElement("option")); - e.type = "checkbox", - h.checkOn = "" !== e.value, - h.optSelected = t.selected, - (e = r.createElement("input")).value = "t", - e.type = "radio", - h.radioValue = "t" === e.value - }(); - var dt, ht = w.expr.attrHandle; - w.fn.extend({ - attr: function(e, t) { - return z(this, w.attr, e, t, arguments.length > 1) - }, - removeAttr: function(e) { - return this.each(function() { - w.removeAttr(this, e) - }) - } - }), - w.extend({ - attr: function(e, t, n) { - var r, i, o = e.nodeType; - if (3 !== o && 8 !== o && 2 !== o) - return "undefined" == typeof e.getAttribute ? w.prop(e, t, n) : (1 === o && w.isXMLDoc(e) || (i = w.attrHooks[t.toLowerCase()] || (w.expr.match.bool.test(t) ? dt : void 0)), - void 0 !== n ? null === n ? void w.removeAttr(e, t) : i && "set"in i && void 0 !== (r = i.set(e, n, t)) ? r : (e.setAttribute(t, n + ""), - n) : i && "get"in i && null !== (r = i.get(e, t)) ? r : null == (r = w.find.attr(e, t)) ? void 0 : r) - }, - attrHooks: { - type: { - set: function(e, t) { - if (!h.radioValue && "radio" === t && N(e, "input")) { - var n = e.value; - return e.setAttribute("type", t), - n && (e.value = n), - t - } - } - } - }, - removeAttr: function(e, t) { - var n, r = 0, i = t && t.match(M); - if (i && 1 === e.nodeType) - while (n = i[r++]) - e.removeAttribute(n) - } - }), - dt = { - set: function(e, t, n) { - return !1 === t ? w.removeAttr(e, n) : e.setAttribute(n, n), - n - } - }, - w.each(w.expr.match.bool.source.match(/\w+/g), function(e, t) { - var n = ht[t] || w.find.attr; - ht[t] = function(e, t, r) { - var i, o, a = t.toLowerCase(); - return r || (o = ht[a], - ht[a] = i, - i = null != n(e, t, r) ? a : null, - ht[a] = o), - i - } - }); - var gt = /^(?:input|select|textarea|button)$/i - , yt = /^(?:a|area)$/i; - w.fn.extend({ - prop: function(e, t) { - return z(this, w.prop, e, t, arguments.length > 1) - }, - removeProp: function(e) { - return this.each(function() { - delete this[w.propFix[e] || e] - }) - } - }), - w.extend({ - prop: function(e, t, n) { - var r, i, o = e.nodeType; - if (3 !== o && 8 !== o && 2 !== o) - return 1 === o && w.isXMLDoc(e) || (t = w.propFix[t] || t, - i = w.propHooks[t]), - void 0 !== n ? i && "set"in i && void 0 !== (r = i.set(e, n, t)) ? r : e[t] = n : i && "get"in i && null !== (r = i.get(e, t)) ? r : e[t] - }, - propHooks: { - tabIndex: { - get: function(e) { - var t = w.find.attr(e, "tabindex"); - return t ? parseInt(t, 10) : gt.test(e.nodeName) || yt.test(e.nodeName) && e.href ? 0 : -1 - } - } - }, - propFix: { - "for": "htmlFor", - "class": "className" - } - }), - h.optSelected || (w.propHooks.selected = { - get: function(e) { - var t = e.parentNode; - return t && t.parentNode && t.parentNode.selectedIndex, - null - }, - set: function(e) { - var t = e.parentNode; - t && (t.selectedIndex, - t.parentNode && t.parentNode.selectedIndex) - } - }), - w.each(["tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable"], function() { - w.propFix[this.toLowerCase()] = this - }); - function vt(e) { - return (e.match(M) || []).join(" ") - } - function mt(e) { - return e.getAttribute && e.getAttribute("class") || "" - } - function xt(e) { - return Array.isArray(e) ? e : "string" == typeof e ? e.match(M) || [] : [] - } - w.fn.extend({ - addClass: function(e) { - var t, n, r, i, o, a, s, u = 0; - if (g(e)) - return this.each(function(t) { - w(this).addClass(e.call(this, t, mt(this))) - }); - if ((t = xt(e)).length) - while (n = this[u++]) - if (i = mt(n), - r = 1 === n.nodeType && " " + vt(i) + " ") { - a = 0; - while (o = t[a++]) - r.indexOf(" " + o + " ") < 0 && (r += o + " "); - i !== (s = vt(r)) && n.setAttribute("class", s) - } - return this - }, - removeClass: function(e) { - var t, n, r, i, o, a, s, u = 0; - if (g(e)) - return this.each(function(t) { - w(this).removeClass(e.call(this, t, mt(this))) - }); - if (!arguments.length) - return this.attr("class", ""); - if ((t = xt(e)).length) - while (n = this[u++]) - if (i = mt(n), - r = 1 === n.nodeType && " " + vt(i) + " ") { - a = 0; - while (o = t[a++]) - while (r.indexOf(" " + o + " ") > -1) - r = r.replace(" " + o + " ", " "); - i !== (s = vt(r)) && n.setAttribute("class", s) - } - return this - }, - toggleClass: function(e, t) { - var n = typeof e - , r = "string" === n || Array.isArray(e); - return "boolean" == typeof t && r ? t ? this.addClass(e) : this.removeClass(e) : g(e) ? this.each(function(n) { - w(this).toggleClass(e.call(this, n, mt(this), t), t) - }) : this.each(function() { - var t, i, o, a; - if (r) { - i = 0, - o = w(this), - a = xt(e); - while (t = a[i++]) - o.hasClass(t) ? o.removeClass(t) : o.addClass(t) - } else - void 0 !== e && "boolean" !== n || ((t = mt(this)) && J.set(this, "__className__", t), - this.setAttribute && this.setAttribute("class", t || !1 === e ? "" : J.get(this, "__className__") || "")) - }) - }, - hasClass: function(e) { - var t, n, r = 0; - t = " " + e + " "; - while (n = this[r++]) - if (1 === n.nodeType && (" " + vt(mt(n)) + " ").indexOf(t) > -1) - return !0; - return !1 - } - }); - var bt = /\r/g; - w.fn.extend({ - val: function(e) { - var t, n, r, i = this[0]; - { - if (arguments.length) - return r = g(e), - this.each(function(n) { - var i; - 1 === this.nodeType && (null == (i = r ? e.call(this, n, w(this).val()) : e) ? i = "" : "number" == typeof i ? i += "" : Array.isArray(i) && (i = w.map(i, function(e) { - return null == e ? "" : e + "" - })), - (t = w.valHooks[this.type] || w.valHooks[this.nodeName.toLowerCase()]) && "set"in t && void 0 !== t.set(this, i, "value") || (this.value = i)) - }); - if (i) - return (t = w.valHooks[i.type] || w.valHooks[i.nodeName.toLowerCase()]) && "get"in t && void 0 !== (n = t.get(i, "value")) ? n : "string" == typeof (n = i.value) ? n.replace(bt, "") : null == n ? "" : n - } - } - }), - w.extend({ - valHooks: { - option: { - get: function(e) { - var t = w.find.attr(e, "value"); - return null != t ? t : vt(w.text(e)) - } - }, - select: { - get: function(e) { - var t, n, r, i = e.options, o = e.selectedIndex, a = "select-one" === e.type, s = a ? null : [], u = a ? o + 1 : i.length; - for (r = o < 0 ? u : a ? o : 0; r < u; r++) - if (((n = i[r]).selected || r === o) && !n.disabled && (!n.parentNode.disabled || !N(n.parentNode, "optgroup"))) { - if (t = w(n).val(), - a) - return t; - s.push(t) - } - return s - }, - set: function(e, t) { - var n, r, i = e.options, o = w.makeArray(t), a = i.length; - while (a--) - ((r = i[a]).selected = w.inArray(w.valHooks.option.get(r), o) > -1) && (n = !0); - return n || (e.selectedIndex = -1), - o - } - } - } - }), - w.each(["radio", "checkbox"], function() { - w.valHooks[this] = { - set: function(e, t) { - if (Array.isArray(t)) - return e.checked = w.inArray(w(e).val(), t) > -1 - } - }, - h.checkOn || (w.valHooks[this].get = function(e) { - return null === e.getAttribute("value") ? "on" : e.value - } - ) - }), - h.focusin = "onfocusin"in e; - var wt = /^(?:focusinfocus|focusoutblur)$/ - , Tt = function(e) { - e.stopPropagation() - }; - w.extend(w.event, { - trigger: function(t, n, i, o) { - var a, s, u, l, c, p, d, h, v = [i || r], m = f.call(t, "type") ? t.type : t, x = f.call(t, "namespace") ? t.namespace.split(".") : []; - if (s = h = u = i = i || r, - 3 !== i.nodeType && 8 !== i.nodeType && !wt.test(m + w.event.triggered) && (m.indexOf(".") > -1 && (m = (x = m.split(".")).shift(), - x.sort()), - c = m.indexOf(":") < 0 && "on" + m, - t = t[w.expando] ? t : new w.Event(m,"object" == typeof t && t), - t.isTrigger = o ? 2 : 3, - t.namespace = x.join("."), - t.rnamespace = t.namespace ? new RegExp("(^|\\.)" + x.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, - t.result = void 0, - t.target || (t.target = i), - n = null == n ? [t] : w.makeArray(n, [t]), - d = w.event.special[m] || {}, - o || !d.trigger || !1 !== d.trigger.apply(i, n))) { - if (!o && !d.noBubble && !y(i)) { - for (l = d.delegateType || m, - wt.test(l + m) || (s = s.parentNode); s; s = s.parentNode) - v.push(s), - u = s; - u === (i.ownerDocument || r) && v.push(u.defaultView || u.parentWindow || e) - } - a = 0; - while ((s = v[a++]) && !t.isPropagationStopped()) - h = s, - t.type = a > 1 ? l : d.bindType || m, - (p = (J.get(s, "events") || {})[t.type] && J.get(s, "handle")) && p.apply(s, n), - (p = c && s[c]) && p.apply && Y(s) && (t.result = p.apply(s, n), - !1 === t.result && t.preventDefault()); - return t.type = m, - o || t.isDefaultPrevented() || d._default && !1 !== d._default.apply(v.pop(), n) || !Y(i) || c && g(i[m]) && !y(i) && ((u = i[c]) && (i[c] = null), - w.event.triggered = m, - t.isPropagationStopped() && h.addEventListener(m, Tt), - i[m](), - t.isPropagationStopped() && h.removeEventListener(m, Tt), - w.event.triggered = void 0, - u && (i[c] = u)), - t.result - } - }, - simulate: function(e, t, n) { - var r = w.extend(new w.Event, n, { - type: e, - isSimulated: !0 - }); - w.event.trigger(r, null, t) - } - }), - w.fn.extend({ - trigger: function(e, t) { - return this.each(function() { - w.event.trigger(e, t, this) - }) - }, - triggerHandler: function(e, t) { - var n = this[0]; - if (n) - return w.event.trigger(e, t, n, !0) - } - }), - h.focusin || w.each({ - focus: "focusin", - blur: "focusout" - }, function(e, t) { - var n = function(e) { - w.event.simulate(t, e.target, w.event.fix(e)) - }; - w.event.special[t] = { - setup: function() { - var r = this.ownerDocument || this - , i = J.access(r, t); - i || r.addEventListener(e, n, !0), - J.access(r, t, (i || 0) + 1) - }, - teardown: function() { - var r = this.ownerDocument || this - , i = J.access(r, t) - 1; - i ? J.access(r, t, i) : (r.removeEventListener(e, n, !0), - J.remove(r, t)) - } - } - }); - var Ct = e.location - , Et = Date.now() - , kt = /\?/; - w.parseXML = function(t) { - var n; - if (!t || "string" != typeof t) - return null; - try { - n = (new e.DOMParser).parseFromString(t, "text/xml") - } catch (e) { - n = void 0 - } - return n && !n.getElementsByTagName("parsererror").length || w.error("Invalid XML: " + t), - n - } - ; - var St = /\[\]$/ - , Dt = /\r?\n/g - , Nt = /^(?:submit|button|image|reset|file)$/i - , At = /^(?:input|select|textarea|keygen)/i; - function jt(e, t, n, r) { - var i; - if (Array.isArray(t)) - w.each(t, function(t, i) { - n || St.test(e) ? r(e, i) : jt(e + "[" + ("object" == typeof i && null != i ? t : "") + "]", i, n, r) - }); - else if (n || "object" !== x(t)) - r(e, t); - else - for (i in t) - jt(e + "[" + i + "]", t[i], n, r) - } - w.param = function(e, t) { - var n, r = [], i = function(e, t) { - var n = g(t) ? t() : t; - r[r.length] = encodeURIComponent(e) + "=" + encodeURIComponent(null == n ? "" : n) - }; - if (Array.isArray(e) || e.jquery && !w.isPlainObject(e)) - w.each(e, function() { - i(this.name, this.value) - }); - else - for (n in e) - jt(n, e[n], t, i); - return r.join("&") - } - , - w.fn.extend({ - serialize: function() { - return w.param(this.serializeArray()) - }, - serializeArray: function() { - return this.map(function() { - var e = w.prop(this, "elements"); - return e ? w.makeArray(e) : this - }).filter(function() { - var e = this.type; - return this.name && !w(this).is(":disabled") && At.test(this.nodeName) && !Nt.test(e) && (this.checked || !pe.test(e)) - }).map(function(e, t) { - var n = w(this).val(); - return null == n ? null : Array.isArray(n) ? w.map(n, function(e) { - return { - name: t.name, - value: e.replace(Dt, "\r\n") - } - }) : { - name: t.name, - value: n.replace(Dt, "\r\n") - } - }).get() - } - }); - var qt = /%20/g - , Lt = /#.*$/ - , Ht = /([?&])_=[^&]*/ - , Ot = /^(.*?):[ \t]*([^\r\n]*)$/gm - , Pt = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/ - , Mt = /^(?:GET|HEAD)$/ - , Rt = /^\/\// - , It = {} - , Wt = {} - , $t = "*/".concat("*") - , Bt = r.createElement("a"); - Bt.href = Ct.href; - function Ft(e) { - return function(t, n) { - "string" != typeof t && (n = t, - t = "*"); - var r, i = 0, o = t.toLowerCase().match(M) || []; - if (g(n)) - while (r = o[i++]) - "+" === r[0] ? (r = r.slice(1) || "*", - (e[r] = e[r] || []).unshift(n)) : (e[r] = e[r] || []).push(n) - } - } - function _t(e, t, n, r) { - var i = {} - , o = e === Wt; - function a(s) { - var u; - return i[s] = !0, - w.each(e[s] || [], function(e, s) { - var l = s(t, n, r); - return "string" != typeof l || o || i[l] ? o ? !(u = l) : void 0 : (t.dataTypes.unshift(l), - a(l), - !1) - }), - u - } - return a(t.dataTypes[0]) || !i["*"] && a("*") - } - function zt(e, t) { - var n, r, i = w.ajaxSettings.flatOptions || {}; - for (n in t) - void 0 !== t[n] && ((i[n] ? e : r || (r = {}))[n] = t[n]); - return r && w.extend(!0, e, r), - e - } - function Xt(e, t, n) { - var r, i, o, a, s = e.contents, u = e.dataTypes; - while ("*" === u[0]) - u.shift(), - void 0 === r && (r = e.mimeType || t.getResponseHeader("Content-Type")); - if (r) - for (i in s) - if (s[i] && s[i].test(r)) { - u.unshift(i); - break - } - if (u[0]in n) - o = u[0]; - else { - for (i in n) { - if (!u[0] || e.converters[i + " " + u[0]]) { - o = i; - break - } - a || (a = i) - } - o = o || a - } - if (o) - return o !== u[0] && u.unshift(o), - n[o] - } - function Ut(e, t, n, r) { - var i, o, a, s, u, l = {}, c = e.dataTypes.slice(); - if (c[1]) - for (a in e.converters) - l[a.toLowerCase()] = e.converters[a]; - o = c.shift(); - while (o) - if (e.responseFields[o] && (n[e.responseFields[o]] = t), - !u && r && e.dataFilter && (t = e.dataFilter(t, e.dataType)), - u = o, - o = c.shift()) - if ("*" === o) - o = u; - else if ("*" !== u && u !== o) { - if (!(a = l[u + " " + o] || l["* " + o])) - for (i in l) - if ((s = i.split(" "))[1] === o && (a = l[u + " " + s[0]] || l["* " + s[0]])) { - !0 === a ? a = l[i] : !0 !== l[i] && (o = s[0], - c.unshift(s[1])); - break - } - if (!0 !== a) - if (a && e["throws"]) - t = a(t); - else - try { - t = a(t) - } catch (e) { - return { - state: "parsererror", - error: a ? e : "No conversion from " + u + " to " + o - } - } - } - return { - state: "success", - data: t - } - } - w.extend({ - active: 0, - lastModified: {}, - etag: {}, - ajaxSettings: { - url: Ct.href, - type: "GET", - isLocal: Pt.test(Ct.protocol), - global: !0, - processData: !0, - async: !0, - contentType: "application/x-www-form-urlencoded; charset=UTF-8", - accepts: { - "*": $t, - text: "text/plain", - html: "text/html", - xml: "application/xml, text/xml", - json: "application/json, text/javascript" - }, - contents: { - xml: /\bxml\b/, - html: /\bhtml/, - json: /\bjson\b/ - }, - responseFields: { - xml: "responseXML", - text: "responseText", - json: "responseJSON" - }, - converters: { - "* text": String, - "text html": !0, - "text json": JSON.parse, - "text xml": w.parseXML - }, - flatOptions: { - url: !0, - context: !0 - } - }, - ajaxSetup: function(e, t) { - return t ? zt(zt(e, w.ajaxSettings), t) : zt(w.ajaxSettings, e) - }, - ajaxPrefilter: Ft(It), - ajaxTransport: Ft(Wt), - ajax: function(t, n) { - "object" == typeof t && (n = t, - t = void 0), - n = n || {}; - var i, o, a, s, u, l, c, f, p, d, h = w.ajaxSetup({}, n), g = h.context || h, y = h.context && (g.nodeType || g.jquery) ? w(g) : w.event, v = w.Deferred(), m = w.Callbacks("once memory"), x = h.statusCode || {}, b = {}, T = {}, C = "canceled", E = { - readyState: 0, - getResponseHeader: function(e) { - var t; - if (c) { - if (!s) { - s = {}; - while (t = Ot.exec(a)) - s[t[1].toLowerCase()] = t[2] - } - t = s[e.toLowerCase()] - } - return null == t ? null : t - }, - getAllResponseHeaders: function() { - return c ? a : null - }, - setRequestHeader: function(e, t) { - return null == c && (e = T[e.toLowerCase()] = T[e.toLowerCase()] || e, - b[e] = t), - this - }, - overrideMimeType: function(e) { - return null == c && (h.mimeType = e), - this - }, - statusCode: function(e) { - var t; - if (e) - if (c) - E.always(e[E.status]); - else - for (t in e) - x[t] = [x[t], e[t]]; - return this - }, - abort: function(e) { - var t = e || C; - return i && i.abort(t), - k(0, t), - this - } - }; - if (v.promise(E), - h.url = ((t || h.url || Ct.href) + "").replace(Rt, Ct.protocol + "//"), - h.type = n.method || n.type || h.method || h.type, - h.dataTypes = (h.dataType || "*").toLowerCase().match(M) || [""], - null == h.crossDomain) { - l = r.createElement("a"); - try { - l.href = h.url, - l.href = l.href, - h.crossDomain = Bt.protocol + "//" + Bt.host != l.protocol + "//" + l.host - } catch (e) { - h.crossDomain = !0 - } - } - if (h.data && h.processData && "string" != typeof h.data && (h.data = w.param(h.data, h.traditional)), - _t(It, h, n, E), - c) - return E; - (f = w.event && h.global) && 0 == w.active++ && w.event.trigger("ajaxStart"), - h.type = h.type.toUpperCase(), - h.hasContent = !Mt.test(h.type), - o = h.url.replace(Lt, ""), - h.hasContent ? h.data && h.processData && 0 === (h.contentType || "").indexOf("application/x-www-form-urlencoded") && (h.data = h.data.replace(qt, "+")) : (d = h.url.slice(o.length), - h.data && (h.processData || "string" == typeof h.data) && (o += (kt.test(o) ? "&" : "?") + h.data, - delete h.data), - !1 === h.cache && (o = o.replace(Ht, "$1"), - d = (kt.test(o) ? "&" : "?") + "_=" + Et++ + d), - h.url = o + d), - h.ifModified && (w.lastModified[o] && E.setRequestHeader("If-Modified-Since", w.lastModified[o]), - w.etag[o] && E.setRequestHeader("If-None-Match", w.etag[o])), - (h.data && h.hasContent && !1 !== h.contentType || n.contentType) && E.setRequestHeader("Content-Type", h.contentType), - E.setRequestHeader("Accept", h.dataTypes[0] && h.accepts[h.dataTypes[0]] ? h.accepts[h.dataTypes[0]] + ("*" !== h.dataTypes[0] ? ", " + $t + "; q=0.01" : "") : h.accepts["*"]); - for (p in h.headers) - E.setRequestHeader(p, h.headers[p]); - if (h.beforeSend && (!1 === h.beforeSend.call(g, E, h) || c)) - return E.abort(); - if (C = "abort", - m.add(h.complete), - E.done(h.success), - E.fail(h.error), - i = _t(Wt, h, n, E)) { - if (E.readyState = 1, - f && y.trigger("ajaxSend", [E, h]), - c) - return E; - h.async && h.timeout > 0 && (u = e.setTimeout(function() { - E.abort("timeout") - }, h.timeout)); - try { - c = !1, - i.send(b, k) - } catch (e) { - if (c) - throw e; - k(-1, e) - } - } else - k(-1, "No Transport"); - function k(t, n, r, s) { - var l, p, d, b, T, C = n; - c || (c = !0, - u && e.clearTimeout(u), - i = void 0, - a = s || "", - E.readyState = t > 0 ? 4 : 0, - l = t >= 200 && t < 300 || 304 === t, - r && (b = Xt(h, E, r)), - b = Ut(h, b, E, l), - l ? (h.ifModified && ((T = E.getResponseHeader("Last-Modified")) && (w.lastModified[o] = T), - (T = E.getResponseHeader("etag")) && (w.etag[o] = T)), - 204 === t || "HEAD" === h.type ? C = "nocontent" : 304 === t ? C = "notmodified" : (C = b.state, - p = b.data, - l = !(d = b.error))) : (d = C, - !t && C || (C = "error", - t < 0 && (t = 0))), - E.status = t, - E.statusText = (n || C) + "", - l ? v.resolveWith(g, [p, C, E]) : v.rejectWith(g, [E, C, d]), - E.statusCode(x), - x = void 0, - f && y.trigger(l ? "ajaxSuccess" : "ajaxError", [E, h, l ? p : d]), - m.fireWith(g, [E, C]), - f && (y.trigger("ajaxComplete", [E, h]), - --w.active || w.event.trigger("ajaxStop"))) - } - return E - }, - getJSON: function(e, t, n) { - return w.get(e, t, n, "json") - }, - getScript: function(e, t) { - return w.get(e, void 0, t, "script") - } - }), - w.each(["get", "post"], function(e, t) { - w[t] = function(e, n, r, i) { - return g(n) && (i = i || r, - r = n, - n = void 0), - w.ajax(w.extend({ - url: e, - type: t, - dataType: i, - data: n, - success: r - }, w.isPlainObject(e) && e)) - } - }), - w._evalUrl = function(e) { - return w.ajax({ - url: e, - type: "GET", - dataType: "script", - cache: !0, - async: !1, - global: !1, - "throws": !0 - }) - } - , - w.fn.extend({ - wrapAll: function(e) { - var t; - return this[0] && (g(e) && (e = e.call(this[0])), - t = w(e, this[0].ownerDocument).eq(0).clone(!0), - this[0].parentNode && t.insertBefore(this[0]), - t.map(function() { - var e = this; - while (e.firstElementChild) - e = e.firstElementChild; - return e - }).append(this)), - this - }, - wrapInner: function(e) { - return g(e) ? this.each(function(t) { - w(this).wrapInner(e.call(this, t)) - }) : this.each(function() { - var t = w(this) - , n = t.contents(); - n.length ? n.wrapAll(e) : t.append(e) - }) - }, - wrap: function(e) { - var t = g(e); - return this.each(function(n) { - w(this).wrapAll(t ? e.call(this, n) : e) - }) - }, - unwrap: function(e) { - return this.parent(e).not("body").each(function() { - w(this).replaceWith(this.childNodes) - }), - this - } - }), - w.expr.pseudos.hidden = function(e) { - return !w.expr.pseudos.visible(e) - } - , - w.expr.pseudos.visible = function(e) { - return !!(e.offsetWidth || e.offsetHeight || e.getClientRects().length) - } - , - w.ajaxSettings.xhr = function() { - try { - return new e.XMLHttpRequest - } catch (e) {} - } - ; - var Vt = { - 0: 200, - 1223: 204 - } - , Gt = w.ajaxSettings.xhr(); - h.cors = !!Gt && "withCredentials"in Gt, - h.ajax = Gt = !!Gt, - w.ajaxTransport(function(t) { - var n, r; - if (h.cors || Gt && !t.crossDomain) - return { - send: function(i, o) { - var a, s = t.xhr(); - if (s.open(t.type, t.url, t.async, t.username, t.password), - t.xhrFields) - for (a in t.xhrFields) - s[a] = t.xhrFields[a]; - t.mimeType && s.overrideMimeType && s.overrideMimeType(t.mimeType), - t.crossDomain || i["X-Requested-With"] || (i["X-Requested-With"] = "XMLHttpRequest"); - for (a in i) - s.setRequestHeader(a, i[a]); - n = function(e) { - return function() { - n && (n = r = s.onload = s.onerror = s.onabort = s.ontimeout = s.onreadystatechange = null, - "abort" === e ? s.abort() : "error" === e ? "number" != typeof s.status ? o(0, "error") : o(s.status, s.statusText) : o(Vt[s.status] || s.status, s.statusText, "text" !== (s.responseType || "text") || "string" != typeof s.responseText ? { - binary: s.response - } : { - text: s.responseText - }, s.getAllResponseHeaders())) - } - } - , - s.onload = n(), - r = s.onerror = s.ontimeout = n("error"), - void 0 !== s.onabort ? s.onabort = r : s.onreadystatechange = function() { - 4 === s.readyState && e.setTimeout(function() { - n && r() - }) - } - , - n = n("abort"); - try { - s.send(t.hasContent && t.data || null) - } catch (e) { - if (n) - throw e - } - }, - abort: function() { - n && n() - } - } - }), - w.ajaxPrefilter(function(e) { - e.crossDomain && (e.contents.script = !1) - }), - w.ajaxSetup({ - accepts: { - script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript" - }, - contents: { - script: /\b(?:java|ecma)script\b/ - }, - converters: { - "text script": function(e) { - return w.globalEval(e), - e - } - } - }), - w.ajaxPrefilter("script", function(e) { - void 0 === e.cache && (e.cache = !1), - e.crossDomain && (e.type = "GET") - }), - w.ajaxTransport("script", function(e) { - if (e.crossDomain) { - var t, n; - return { - send: function(i, o) { - t = w("", - rE: !0, - sL: ["actionscript", "javascript", "handlebars", "xml"] - } - }, { - cN: "meta", - v: [{ - b: /<\?xml/, - e: /\?>/, - r: 10 - }, { - b: /<\?\w+/, - e: /\?>/ - }] - }, { - cN: "tag", - b: "", - c: [{ - cN: "name", - b: /[^\/><\s]+/, - r: 0 - }, t] - }] - } -}); -hljs.registerLanguage("nginx", function(e) { - var r = { - cN: "variable", - v: [{ - b: /\$\d+/ - }, { - b: /\$\{/, - e: /}/ - }, { - b: "[\\$\\@]" + e.UIR - }] - } - , b = { - eW: !0, - l: "[a-z/_]+", - k: { - literal: "on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll" - }, - r: 0, - i: "=>", - c: [e.HCM, { - cN: "string", - c: [e.BE, r], - v: [{ - b: /"/, - e: /"/ - }, { - b: /'/, - e: /'/ - }] - }, { - b: "([a-z]+):/", - e: "\\s", - eW: !0, - eE: !0, - c: [r] - }, { - cN: "regexp", - c: [e.BE, r], - v: [{ - b: "\\s\\^", - e: "\\s|{|;", - rE: !0 - }, { - b: "~\\*?\\s+", - e: "\\s|{|;", - rE: !0 - }, { - b: "\\*(\\.[a-z\\-]+)+" - }, { - b: "([a-z\\-]+\\.)+\\*" - }] - }, { - cN: "number", - b: "\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b" - }, { - cN: "number", - b: "\\b\\d+[kKmMgGdshdwy]*\\b", - r: 0 - }, r] - }; - return { - aliases: ["nginxconf"], - c: [e.HCM, { - b: e.UIR + "\\s+{", - rB: !0, - e: "{", - c: [{ - cN: "section", - b: e.UIR - }], - r: 0 - }, { - b: e.UIR + "\\s", - e: ";|{", - rB: !0, - c: [{ - cN: "attribute", - b: e.UIR, - starts: b - }], - r: 0 - }], - i: "[^\\s\\}]" - } -}); -hljs.registerLanguage("coffeescript", function(e) { - var c = { - keyword: "in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger super yield import export from as default await then unless until loop of by when and or is isnt not", - literal: "true false null undefined yes no on off", - built_in: "npm require console print module global window document" - } - , n = "[A-Za-z$_][0-9A-Za-z$_]*" - , r = { - cN: "subst", - b: /#\{/, - e: /}/, - k: c - } - , i = [e.BNM, e.inherit(e.CNM, { - starts: { - e: "(\\s*/)?", - r: 0 - } - }), { - cN: "string", - v: [{ - b: /'''/, - e: /'''/, - c: [e.BE] - }, { - b: /'/, - e: /'/, - c: [e.BE] - }, { - b: /"""/, - e: /"""/, - c: [e.BE, r] - }, { - b: /"/, - e: /"/, - c: [e.BE, r] - }] - }, { - cN: "regexp", - v: [{ - b: "///", - e: "///", - c: [r, e.HCM] - }, { - b: "//[gim]*", - r: 0 - }, { - b: /\/(?![ *])(\\\/|.)*?\/[gim]*(?=\W|$)/ - }] - }, { - b: "@" + n - }, { - sL: "javascript", - eB: !0, - eE: !0, - v: [{ - b: "```", - e: "```" - }, { - b: "`", - e: "`" - }] - }]; - r.c = i; - var s = e.inherit(e.TM, { - b: n - }) - , t = "(\\(.*\\))?\\s*\\B[-=]>" - , o = { - cN: "params", - b: "\\([^\\(]", - rB: !0, - c: [{ - b: /\(/, - e: /\)/, - k: c, - c: ["self"].concat(i) - }] - }; - return { - aliases: ["coffee", "cson", "iced"], - k: c, - i: /\/\*/, - c: i.concat([e.C("###", "###"), e.HCM, { - cN: "function", - b: "^\\s*" + n + "\\s*=\\s*" + t, - e: "[-=]>", - rB: !0, - c: [s, o] - }, { - b: /[:\(,=]\s*/, - r: 0, - c: [{ - cN: "function", - b: t, - e: "[-=]>", - rB: !0, - c: [o] - }] - }, { - cN: "class", - bK: "class", - e: "$", - i: /[:="\[\]]/, - c: [{ - bK: "extends", - eW: !0, - i: /[:="\[\]]/, - c: [s] - }, s] - }, { - b: n + ":", - e: ":", - rB: !0, - rE: !0, - r: 0 - }]) - } -}); -hljs.registerLanguage("python", function(e) { - var r = { - keyword: "and elif is global as in if from raise for except finally print import pass return exec else break not with class assert yield try while continue del or def lambda async await nonlocal|10 None True False", - built_in: "Ellipsis NotImplemented" - } - , b = { - cN: "meta", - b: /^(>>>|\.\.\.) / - } - , c = { - cN: "subst", - b: /\{/, - e: /\}/, - k: r, - i: /#/ - } - , a = { - cN: "string", - c: [e.BE], - v: [{ - b: /(u|b)?r?'''/, - e: /'''/, - c: [b], - r: 10 - }, { - b: /(u|b)?r?"""/, - e: /"""/, - c: [b], - r: 10 - }, { - b: /(fr|rf|f)'''/, - e: /'''/, - c: [b, c] - }, { - b: /(fr|rf|f)"""/, - e: /"""/, - c: [b, c] - }, { - b: /(u|r|ur)'/, - e: /'/, - r: 10 - }, { - b: /(u|r|ur)"/, - e: /"/, - r: 10 - }, { - b: /(b|br)'/, - e: /'/ - }, { - b: /(b|br)"/, - e: /"/ - }, { - b: /(fr|rf|f)'/, - e: /'/, - c: [c] - }, { - b: /(fr|rf|f)"/, - e: /"/, - c: [c] - }, e.ASM, e.QSM] - } - , s = { - cN: "number", - r: 0, - v: [{ - b: e.BNR + "[lLjJ]?" - }, { - b: "\\b(0o[0-7]+)[lLjJ]?" - }, { - b: e.CNR + "[lLjJ]?" - }] - } - , i = { - cN: "params", - b: /\(/, - e: /\)/, - c: ["self", b, s, a] - }; - return c.c = [a, s, b], - { - aliases: ["py", "gyp"], - k: r, - i: /(<\/|->|\?)|=>/, - c: [b, s, a, e.HCM, { - v: [{ - cN: "function", - bK: "def" - }, { - cN: "class", - bK: "class" - }], - e: /:/, - i: /[${=;\n,]/, - c: [e.UTM, i, { - b: /->/, - eW: !0, - k: "None" - }] - }, { - cN: "meta", - b: /^[\t ]*@/, - e: /$/ - }, { - b: /\b(print|exec)\(/ - }] - } -}); -hljs.registerLanguage("shell", function(s) { - return { - aliases: ["console"], - c: [{ - cN: "meta", - b: "^\\s{0,3}[\\w\\d\\[\\]()@-]*[>%$#]", - starts: { - e: "$", - sL: "bash" - } - }] - } -}); -hljs.registerLanguage("objectivec", function(e) { - var t = { - cN: "built_in", - b: "\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+" - } - , _ = { - keyword: "int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar IBOutlet IBAction strong weak copy in out inout bycopy byref oneway __strong __weak __block __autoreleasing @private @protected @public @try @property @end @throw @catch @finally @autoreleasepool @synthesize @dynamic @selector @optional @required @encode @package @import @defs @compatibility_alias __bridge __bridge_transfer __bridge_retained __bridge_retain __covariant __contravariant __kindof _Nonnull _Nullable _Null_unspecified __FUNCTION__ __PRETTY_FUNCTION__ __attribute__ getter setter retain unsafe_unretained nonnull nullable null_unspecified null_resettable class instancetype NS_DESIGNATED_INITIALIZER NS_UNAVAILABLE NS_REQUIRES_SUPER NS_RETURNS_INNER_POINTER NS_INLINE NS_AVAILABLE NS_DEPRECATED NS_ENUM NS_OPTIONS NS_SWIFT_UNAVAILABLE NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_REFINED_FOR_SWIFT NS_SWIFT_NAME NS_SWIFT_NOTHROW NS_DURING NS_HANDLER NS_ENDHANDLER NS_VALUERETURN NS_VOIDRETURN", - literal: "false true FALSE TRUE nil YES NO NULL", - built_in: "BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once" - } - , i = /[a-zA-Z@][a-zA-Z0-9_]*/ - , n = "@interface @class @protocol @implementation"; - return { - aliases: ["mm", "objc", "obj-c"], - k: _, - l: i, - i: "" - }] - }] - }, { - cN: "class", - b: "(" + n.split(" ").join("|") + ")\\b", - e: "({|$)", - eE: !0, - k: n, - l: i, - c: [e.UTM] - }, { - b: "\\." + e.UIR, - r: 0 - }] - } -}); -hljs.registerLanguage("sql", function(e) { - var t = e.C("--", "$"); - return { - cI: !0, - i: /[<>{}*#]/, - c: [{ - bK: "begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment", - e: /;/, - eW: !0, - l: /[\w\.]+/, - k: { - keyword: "abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias allocate allow alter always analyze ancillary and any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second section securefile security seed segment select self sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek", - literal: "true false null", - built_in: "array bigint binary bit blob boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text varchar varying void" - }, - c: [{ - cN: "string", - b: "'", - e: "'", - c: [e.BE, { - b: "''" - }] - }, { - cN: "string", - b: '"', - e: '"', - c: [e.BE, { - b: '""' - }] - }, { - cN: "string", - b: "`", - e: "`", - c: [e.BE] - }, e.CNM, e.CBCM, t] - }, e.CBCM, t] - } -}); -hljs.registerLanguage("apache", function(e) { - var r = { - cN: "number", - b: "[\\$%]\\d+" - }; - return { - aliases: ["apacheconf"], - cI: !0, - c: [e.HCM, { - cN: "section", - b: "" - }, { - cN: "attribute", - b: /\w+/, - r: 0, - k: { - nomarkup: "order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername" - }, - starts: { - e: /$/, - r: 0, - k: { - literal: "on off all" - }, - c: [{ - cN: "meta", - b: "\\s\\[", - e: "\\]$" - }, { - cN: "variable", - b: "[\\$%]\\{", - e: "\\}", - c: ["self", r] - }, r, e.QSM] - } - }], - i: /\S/ - } -}); -hljs.registerLanguage("django", function(e) { - var t = { - b: /\|[A-Za-z]+:?/, - k: { - name: "truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone" - }, - c: [e.QSM, e.ASM] - }; - return { - aliases: ["jinja"], - cI: !0, - sL: "xml", - c: [e.C(/\{%\s*comment\s*%}/, /\{%\s*endcomment\s*%}/), e.C(/\{#/, /#}/), { - cN: "template-tag", - b: /\{%/, - e: /%}/, - c: [{ - cN: "name", - b: /\w+/, - k: { - name: "comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim" - }, - starts: { - eW: !0, - k: "in by as", - c: [t], - r: 0 - } - }] - }, { - cN: "template-variable", - b: /\{\{/, - e: /}}/, - c: [t] - }] - } -}); -hljs.registerLanguage("markdown", function(e) { - return { - aliases: ["md", "mkdown", "mkd"], - c: [{ - cN: "section", - v: [{ - b: "^#{1,6}", - e: "$" - }, { - b: "^.+?\\n[=-]{2,}$" - }] - }, { - b: "<", - e: ">", - sL: "xml", - r: 0 - }, { - cN: "bullet", - b: "^([*+-]|(\\d+\\.))\\s+" - }, { - cN: "strong", - b: "[*_]{2}.+?[*_]{2}" - }, { - cN: "emphasis", - v: [{ - b: "\\*.+?\\*" - }, { - b: "_.+?_", - r: 0 - }] - }, { - cN: "quote", - b: "^>\\s+", - e: "$" - }, { - cN: "code", - v: [{ - b: "^```w*s*$", - e: "^```s*$" - }, { - b: "`.+?`" - }, { - b: "^( {4}| )", - e: "$", - r: 0 - }] - }, { - b: "^[-\\*]{3,}", - e: "$" - }, { - b: "\\[.+?\\][\\(\\[].*?[\\)\\]]", - rB: !0, - c: [{ - cN: "string", - b: "\\[", - e: "\\]", - eB: !0, - rE: !0, - r: 0 - }, { - cN: "link", - b: "\\]\\(", - e: "\\)", - eB: !0, - eE: !0 - }, { - cN: "symbol", - b: "\\]\\[", - e: "\\]", - eB: !0, - eE: !0 - }], - r: 10 - }, { - b: /^\[[^\n]+\]:/, - rB: !0, - c: [{ - cN: "symbol", - b: /\[/, - e: /\]/, - eB: !0, - eE: !0 - }, { - cN: "link", - b: /:\s*/, - e: /$/, - eB: !0 - }] - }] - } -}); -hljs.registerLanguage("stata", function(e) { - return { - aliases: ["do", "ado"], - cI: !0, - k: "if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize meqparse mer merg merge mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5", - c: [{ - cN: "symbol", - b: /`[a-zA-Z0-9_]+'/ - }, { - cN: "variable", - b: /\$\{?[a-zA-Z0-9_]+\}?/ - }, { - cN: "string", - v: [{ - b: '`"[^\r\n]*?"\'' - }, { - b: '"[^\r\n"]*"' - }] - }, { - cN: "built_in", - v: [{ - b: "\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\(|$)" - }] - }, e.C("^[ ]*\\*.*$", !1), e.CLCM, e.CBCM] - } -}); -hljs.registerLanguage("javascript", function(e) { - var r = "[A-Za-z$_][0-9A-Za-z$_]*" - , t = { - keyword: "in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await static import from as", - literal: "true false null undefined NaN Infinity", - built_in: "eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise" - } - , a = { - cN: "number", - v: [{ - b: "\\b(0[bB][01]+)" - }, { - b: "\\b(0[oO][0-7]+)" - }, { - b: e.CNR - }], - r: 0 - } - , n = { - cN: "subst", - b: "\\$\\{", - e: "\\}", - k: t, - c: [] - } - , c = { - cN: "string", - b: "`", - e: "`", - c: [e.BE, n] - }; - n.c = [e.ASM, e.QSM, c, a, e.RM]; - var s = n.c.concat([e.CBCM, e.CLCM]); - return { - aliases: ["js", "jsx"], - k: t, - c: [{ - cN: "meta", - r: 10, - b: /^\s*['"]use (strict|asm)['"]/ - }, { - cN: "meta", - b: /^#!/, - e: /$/ - }, e.ASM, e.QSM, c, e.CLCM, e.CBCM, a, { - b: /[{,]\s*/, - r: 0, - c: [{ - b: r + "\\s*:", - rB: !0, - r: 0, - c: [{ - cN: "attr", - b: r, - r: 0 - }] - }] - }, { - b: "(" + e.RSR + "|\\b(case|return|throw)\\b)\\s*", - k: "return throw case", - c: [e.CLCM, e.CBCM, e.RM, { - cN: "function", - b: "(\\(.*?\\)|" + r + ")\\s*=>", - rB: !0, - e: "\\s*=>", - c: [{ - cN: "params", - v: [{ - b: r - }, { - b: /\(\s*\)/ - }, { - b: /\(/, - e: /\)/, - eB: !0, - eE: !0, - k: t, - c: s - }] - }] - }, { - b: //, - sL: "xml", - c: [{ - b: /<\w+\s*\/>/, - skip: !0 - }, { - b: /<\w+/, - e: /(\/\w+|\w+\/)>/, - skip: !0, - c: [{ - b: /<\w+\s*\/>/, - skip: !0 - }, "self"] - }] - }], - r: 0 - }, { - cN: "function", - bK: "function", - e: /\{/, - eE: !0, - c: [e.inherit(e.TM, { - b: r - }), { - cN: "params", - b: /\(/, - e: /\)/, - eB: !0, - eE: !0, - c: s - }], - i: /\[|%/ - }, { - b: /\$[(.]/ - }, e.METHOD_GUARD, { - cN: "class", - bK: "class", - e: /[{;=]/, - eE: !0, - i: /[:"\[\]]/, - c: [{ - bK: "extends" - }, e.UTM] - }, { - bK: "constructor", - e: /\{/, - eE: !0 - }], - i: /#(?!!)/ - } -}); -hljs.registerLanguage("java", function(e) { - var a = "[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*" - , t = a + "(<" + a + "(\\s*,\\s*" + a + ")*>)?" - , r = "false synchronized int abstract float private char boolean static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do" - , s = "\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?" - , c = { - cN: "number", - b: s, - r: 0 - }; - return { - aliases: ["jsp"], - k: r, - i: /<\/|#/, - c: [e.C("/\\*\\*", "\\*/", { - r: 0, - c: [{ - b: /\w+@/, - r: 0 - }, { - cN: "doctag", - b: "@[A-Za-z]+" - }] - }), e.CLCM, e.CBCM, e.ASM, e.QSM, { - cN: "class", - bK: "class interface", - e: /[{;=]/, - eE: !0, - k: "class interface", - i: /[:"\[\]]/, - c: [{ - bK: "extends implements" - }, e.UTM] - }, { - bK: "new throw return else", - r: 0 - }, { - cN: "function", - b: "(" + t + "\\s+)+" + e.UIR + "\\s*\\(", - rB: !0, - e: /[{;=]/, - eE: !0, - k: r, - c: [{ - b: e.UIR + "\\s*\\(", - rB: !0, - r: 0, - c: [e.UTM] - }, { - cN: "params", - b: /\(/, - e: /\)/, - k: r, - r: 0, - c: [e.ASM, e.QSM, e.CNM, e.CBCM] - }, e.CLCM, e.CBCM] - }, c, { - cN: "meta", - b: "@[A-Za-z]+" - }] - } -}); -hljs.registerLanguage("cpp", function(t) { - var e = { - cN: "keyword", - b: "\\b[a-z\\d_]*_t\\b" - } - , r = { - cN: "string", - v: [{ - b: '(u8?|U)?L?"', - e: '"', - i: "\\n", - c: [t.BE] - }, { - b: '(u8?|U)?R"', - e: '"', - c: [t.BE] - }, { - b: "'\\\\?.", - e: "'", - i: "." - }] - } - , s = { - cN: "number", - v: [{ - b: "\\b(0b[01']+)" - }, { - b: "(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)" - }, { - b: "(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)" - }], - r: 0 - } - , i = { - cN: "meta", - b: /#\s*[a-z]+\b/, - e: /$/, - k: { - "meta-keyword": "if else elif endif define undef warning error line pragma ifdef ifndef include" - }, - c: [{ - b: /\\\n/, - r: 0 - }, t.inherit(r, { - cN: "meta-string" - }), { - cN: "meta-string", - b: /<[^\n>]*>/, - e: /$/, - i: "\\n" - }, t.CLCM, t.CBCM] - } - , a = t.IR + "\\s*\\(" - , c = { - keyword: "int float while private char catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignof constexpr decltype noexcept static_assert thread_local restrict _Bool complex _Complex _Imaginary atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and or not", - built_in: "std string cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap array shared_ptr abort abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr", - literal: "true false nullptr NULL" - } - , n = [e, t.CLCM, t.CBCM, s, r]; - return { - aliases: ["c", "cc", "h", "c++", "h++", "hpp"], - k: c, - i: "", - k: c, - c: ["self", e] - }, { - b: t.IR + "::", - k: c - }, { - v: [{ - b: /=/, - e: /;/ - }, { - b: /\(/, - e: /\)/ - }, { - bK: "new throw return else", - e: /;/ - }], - k: c, - c: n.concat([{ - b: /\(/, - e: /\)/, - k: c, - c: n.concat(["self"]), - r: 0 - }]), - r: 0 - }, { - cN: "function", - b: "(" + t.IR + "[\\*&\\s]+)+" + a, - rB: !0, - e: /[{;=]/, - eE: !0, - k: c, - i: /[^\w\s\*&]/, - c: [{ - b: a, - rB: !0, - c: [t.TM], - r: 0 - }, { - cN: "params", - b: /\(/, - e: /\)/, - k: c, - r: 0, - c: [t.CLCM, t.CBCM, r, s, e] - }, t.CLCM, t.CBCM, i] - }, { - cN: "class", - bK: "class struct", - e: /[{;:]/, - c: [{ - b: //, - c: ["self"] - }, t.TM] - }]), - exports: { - preprocessor: i, - strings: r, - k: c - } - } -}); -hljs.registerLanguage("http", function(e) { - var t = "HTTP/[0-9\\.]+"; - return { - aliases: ["https"], - i: "\\S", - c: [{ - b: "^" + t, - e: "$", - c: [{ - cN: "number", - b: "\\b\\d{3}\\b" - }] - }, { - b: "^[A-Z]+ (.*?) " + t + "$", - rB: !0, - e: "$", - c: [{ - cN: "string", - b: " ", - e: " ", - eB: !0, - eE: !0 - }, { - b: t - }, { - cN: "keyword", - b: "[A-Z]+" - }] - }, { - cN: "attribute", - b: "^\\w", - e: ": ", - eE: !0, - i: "\\n|\\s|=", - starts: { - e: "$", - r: 0 - } - }, { - b: "\\n\\n", - starts: { - sL: [], - eW: !0 - } - }] - } -}); -hljs.registerLanguage("makefile", function(e) { - var i = { - cN: "variable", - v: [{ - b: "\\$\\(" + e.UIR + "\\)", - c: [e.BE] - }, { - b: /\$[@%>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?" - , r = { - keyword: "and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor", - literal: "true false nil" - } - , c = { - cN: "doctag", - b: "@[A-Za-z]+" - } - , a = { - b: "#<", - e: ">" - } - , s = [e.C("#", "$", { - c: [c] - }), e.C("^\\=begin", "^\\=end", { - c: [c], - r: 10 - }), e.C("^__END__", "\\n$")] - , n = { - cN: "subst", - b: "#\\{", - e: "}", - k: r - } - , t = { - cN: "string", - c: [e.BE, n], - v: [{ - b: /'/, - e: /'/ - }, { - b: /"/, - e: /"/ - }, { - b: /`/, - e: /`/ - }, { - b: "%[qQwWx]?\\(", - e: "\\)" - }, { - b: "%[qQwWx]?\\[", - e: "\\]" - }, { - b: "%[qQwWx]?{", - e: "}" - }, { - b: "%[qQwWx]?<", - e: ">" - }, { - b: "%[qQwWx]?/", - e: "/" - }, { - b: "%[qQwWx]?%", - e: "%" - }, { - b: "%[qQwWx]?-", - e: "-" - }, { - b: "%[qQwWx]?\\|", - e: "\\|" - }, { - b: /\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/ - }, { - b: /<<(-?)\w+$/, - e: /^\s*\w+$/ - }] - } - , i = { - cN: "params", - b: "\\(", - e: "\\)", - endsParent: !0, - k: r - } - , d = [t, a, { - cN: "class", - bK: "class module", - e: "$|;", - i: /=/, - c: [e.inherit(e.TM, { - b: "[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?" - }), { - b: "<\\s*", - c: [{ - b: "(" + e.IR + "::)?" + e.IR - }] - }].concat(s) - }, { - cN: "function", - bK: "def", - e: "$|;", - c: [e.inherit(e.TM, { - b: b - }), i].concat(s) - }, { - b: e.IR + "::" - }, { - cN: "symbol", - b: e.UIR + "(\\!|\\?)?:", - r: 0 - }, { - cN: "symbol", - b: ":(?!\\s)", - c: [t, { - b: b - }], - r: 0 - }, { - cN: "number", - b: "(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b", - r: 0 - }, { - b: "(\\$\\W)|((\\$|\\@\\@?)(\\w+))" - }, { - cN: "params", - b: /\|/, - e: /\|/, - k: r - }, { - b: "(" + e.RSR + "|unless)\\s*", - k: "unless", - c: [a, { - cN: "regexp", - c: [e.BE, n], - i: /\n/, - v: [{ - b: "/", - e: "/[a-z]*" - }, { - b: "%r{", - e: "}[a-z]*" - }, { - b: "%r\\(", - e: "\\)[a-z]*" - }, { - b: "%r!", - e: "![a-z]*" - }, { - b: "%r\\[", - e: "\\][a-z]*" - }] - }].concat(s), - r: 0 - }].concat(s); - n.c = d, - i.c = d; - var l = "[>?]>" - , o = "[\\w#]+\\(\\w+\\):\\d+:\\d+>" - , u = "(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>" - , w = [{ - b: /^\s*=>/, - starts: { - e: "$", - c: d - } - }, { - cN: "meta", - b: "^(" + l + "|" + o + "|" + u + ")", - starts: { - e: "$", - c: d - } - }]; - return { - aliases: ["rb", "gemspec", "podspec", "thor", "irb"], - k: r, - i: /\/\*/, - c: s.concat(w).concat(d) - } -}); -/*! line-number */ -!function(n, e) { - "use strict"; - function t() { - var n = e.createElement("style"); - n.type = "text/css", - n.innerHTML = h(".{0}{border-collapse:collapse}.{0} td{padding:0}.{1}:before{content:attr({2})}", [f, m, j]), - e.getElementsByTagName("head")[0].appendChild(n) - } - function r(t) { - "complete" === e.readyState ? l(t) : n.addEventListener("DOMContentLoaded", function() { - l(t) - }) - } - function l(t) { - try { - var r = e.querySelectorAll("code.hljs"); - for (var l in r) - r.hasOwnProperty(l) && i(r[l], t) - } catch (o) { - n.console.error("LineNumbers error: ", o) - } - } - function i(n, e) { - if ("object" == typeof n) { - e = e || { - singleLine: !1 - }; - var t = e.singleLine ? 0 : 1; - u(function() { - s(n), - n.innerHTML = o(n.innerHTML, t) - }) - } - } - function o(n, e) { - var t = c(n); - if ("" === t[t.length - 1].trim() && t.pop(), - t.length > e) { - for (var r = "", l = 0, i = t.length; l < i; l++) - r += h('

    {6}
    ', [v, g, m, j, p, l + 1, t[l].length > 0 ? t[l] : " "]); - return h('{1}
    ', [f, r]) - } - return n - } - function s(n) { - var e = n.childNodes; - for (var t in e) - if (e.hasOwnProperty(t)) { - var r = e[t]; - d(r.textContent) > 0 && (r.childNodes.length > 0 ? s(r) : a(r.parentNode)) - } - } - function a(n) { - var e = n.className; - if (/hljs-/.test(e)) { - for (var t = c(n.innerHTML), r = 0, l = ""; r < t.length; r++) - l += h('{1}\n', [e, t[r]]); - n.innerHTML = l.trim() - } - } - function c(n) { - return 0 === n.length ? [] : n.split(L) - } - function d(n) { - return (n.trim().match(L) || []).length - } - function u(e) { - n.setTimeout(e, 0) - } - function h(n, e) { - return n.replace(/\{(\d+)\}/g, function(n, t) { - return e[t] ? e[t] : n - }) - } - var f = "hljs-ln" - , g = "hljs-ln-line" - , p = "hljs-ln-code" - , v = "hljs-ln-numbers" - , m = "hljs-ln-n" - , j = "data-line-number" - , L = /\r\n|\r|\n/g; - n.hljs ? (n.hljs.initLineNumbersOnLoad = r, - n.hljs.lineNumbersBlock = i, - t()) : n.console.error("highlight.js not detected!") -}(window, document); -!function(n, e) { - "function" == typeof define && define.amd ? define(e) : "object" == typeof exports ? module.exports = e() : n.NProgress = e() -}(this, function() { - function n(n, e, t) { - return e > n ? e : n > t ? t : n - } - function e(n) { - return 100 * (-1 + n) - } - function t(n, t, r) { - var i; - return i = "translate3d" === c.positionUsing ? { - transform: "translate3d(" + e(n) + "%,0,0)" - } : "translate" === c.positionUsing ? { - transform: "translate(" + e(n) + "%,0)" - } : { - "margin-left": e(n) + "%" - }, - i.transition = "all " + t + "ms " + r, - i - } - function r(n, e) { - var t = "string" == typeof n ? n : o(n); - return t.indexOf(" " + e + " ") >= 0 - } - function i(n, e) { - var t = o(n) - , i = t + e; - r(t, e) || (n.className = i.substring(1)) - } - function s(n, e) { - var t, i = o(n); - r(n, e) && (t = i.replace(" " + e + " ", " "), - n.className = t.substring(1, t.length - 1)) - } - function o(n) { - return (" " + (n.className || "") + " ").replace(/\s+/gi, " ") - } - function a(n) { - n && n.parentNode && n.parentNode.removeChild(n) - } - var u = {}; - u.version = "0.2.0"; - var c = u.settings = { - minimum: .08, - easing: "ease", - positionUsing: "", - speed: 200, - trickle: !0, - trickleRate: .02, - trickleSpeed: 800, - showSpinner: !0, - barSelector: '[role="bar"]', - spinnerSelector: '[role="spinner"]', - parent: "body", - template: '
    ' - }; - u.configure = function(n) { - var e, t; - for (e in n) - t = n[e], - void 0 !== t && n.hasOwnProperty(e) && (c[e] = t); - return this - } - , - u.status = null, - u.set = function(e) { - var r = u.isStarted(); - e = n(e, c.minimum, 1), - u.status = 1 === e ? null : e; - var i = u.render(!r) - , s = i.querySelector(c.barSelector) - , o = c.speed - , a = c.easing; - return i.offsetWidth, - l(function(n) { - "" === c.positionUsing && (c.positionUsing = u.getPositioningCSS()), - f(s, t(e, o, a)), - 1 === e ? (f(i, { - transition: "none", - opacity: 1 - }), - i.offsetWidth, - setTimeout(function() { - f(i, { - transition: "all " + o + "ms linear", - opacity: 0 - }), - setTimeout(function() { - u.remove(), - n() - }, o) - }, o)) : setTimeout(n, o) - }), - this - } - , - u.isStarted = function() { - return "number" == typeof u.status - } - , - u.start = function() { - u.status || u.set(0); - var n = function() { - setTimeout(function() { - u.status && (u.trickle(), - n()) - }, c.trickleSpeed) - }; - return c.trickle && n(), - this - } - , - u.done = function(n) { - return n || u.status ? u.inc(.3 + .5 * Math.random()).set(1) : this - } - , - u.inc = function(e) { - var t = u.status; - return t ? ("number" != typeof e && (e = (1 - t) * n(Math.random() * t, .1, .95)), - t = n(t + e, 0, .994), - u.set(t)) : u.start() - } - , - u.trickle = function() { - return u.inc(Math.random() * c.trickleRate) - } - , - function() { - var n = 0 - , e = 0; - u.promise = function(t) { - return t && "resolved" !== t.state() ? (0 === e && u.start(), - n++, - e++, - t.always(function() { - e--, - 0 === e ? (n = 0, - u.done()) : u.set((n - e) / n) - }), - this) : this - } - }(), - u.render = function(n) { - if (u.isRendered()) - return document.getElementById("nprogress"); - i(document.documentElement, "nprogress-busy"); - var t = document.createElement("div"); - t.id = "nprogress", - t.innerHTML = c.template; - var r, s = t.querySelector(c.barSelector), o = n ? "-100" : e(u.status || 0), l = document.querySelector(c.parent); - return f(s, { - transition: "all 0 linear", - transform: "translate3d(" + o + "%,0,0)" - }), - c.showSpinner || (r = t.querySelector(c.spinnerSelector), - r && a(r)), - l != document.body && i(l, "nprogress-custom-parent"), - l.appendChild(t), - t - } - , - u.remove = function() { - s(document.documentElement, "nprogress-busy"), - s(document.querySelector(c.parent), "nprogress-custom-parent"); - var n = document.getElementById("nprogress"); - n && a(n) - } - , - u.isRendered = function() { - return !!document.getElementById("nprogress") - } - , - u.getPositioningCSS = function() { - var n = document.body.style - , e = "WebkitTransform"in n ? "Webkit" : "MozTransform"in n ? "Moz" : "msTransform"in n ? "ms" : "OTransform"in n ? "O" : ""; - return e + "Perspective"in n ? "translate3d" : e + "Transform"in n ? "translate" : "margin" - } - ; - var l = function() { - function n() { - var t = e.shift(); - t && t(n) - } - var e = []; - return function(t) { - e.push(t), - 1 == e.length && n() - } - }() - , f = function() { - function n(n) { - return n.replace(/^-ms-/, "ms-").replace(/-([\da-z])/gi, function(n, e) { - return e.toUpperCase() - }) - } - function e(n) { - var e = document.body.style; - if (n in e) - return n; - for (var t, r = i.length, s = n.charAt(0).toUpperCase() + n.slice(1); r--; ) - if (t = i[r] + s, - t in e) - return t; - return n - } - function t(t) { - return t = n(t), - s[t] || (s[t] = e(t)) - } - function r(n, e, r) { - e = t(e), - n.style[e] = r - } - var i = ["Webkit", "O", "Moz", "ms"] - , s = {}; - return function(n, e) { - var t, i, s = arguments; - if (2 == s.length) - for (t in e) - i = e[t], - void 0 !== i && e.hasOwnProperty(t) && r(n, t, i); - else - r(n, s[1], s[2]) - } - }(); - return u -}); -(function webpackUniversalModuleDefinition(root, factory) { - if (typeof exports === 'object' && typeof module === 'object') - module.exports = factory(); - else if (typeof define === 'function' && define.amd) - define([], factory); - else if (typeof exports === 'object') - exports["POWERMODE"] = factory(); - else - root["POWERMODE"] = factory(); -} -)(this, function() { - return (function(modules) { - var installedModules = {}; - function __webpack_require__(moduleId) { - if (installedModules[moduleId]) - return installedModules[moduleId].exports; - var module = installedModules[moduleId] = { - exports: {}, - id: moduleId, - loaded: false - }; - modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); - module.loaded = true; - return module.exports; - } - __webpack_require__.m = modules; - __webpack_require__.c = installedModules; - __webpack_require__.p = ""; - return __webpack_require__(0); - } - )([(function(module, exports, __webpack_require__) { - 'use strict'; - var canvas = document.createElement('canvas'); - canvas.width = window.innerWidth; - canvas.height = window.innerHeight; - canvas.style.cssText = 'position:fixed;top:0;left:0;pointer-events:none;z-index:999999'; - window.addEventListener('resize', function() { - canvas.width = window.innerWidth; - canvas.height = window.innerHeight; - }); - document.body.appendChild(canvas); - var context = canvas.getContext('2d'); - var particles = []; - var particlePointer = 0; - var rendering = false; - POWERMODE.shake = true; - function getRandom(min, max) { - return Math.random() * (max - min) + min; - } - function getColor(el) { - if (POWERMODE.colorful) { - var u = getRandom(0, 360); - return 'hsla(' + getRandom(u - 10, u + 10) + ', 100%, ' + getRandom(50, 80) + '%, ' + 1 + ')'; - } else { - return window.getComputedStyle(el).color; - } - } - function getCaret() { - var el = document.activeElement; - var bcr; - if (el.tagName === 'TEXTAREA' || (el.tagName === 'INPUT' && el.getAttribute('type') === 'text')) { - var offset = __webpack_require__(1)(el, el.selectionEnd); - bcr = el.getBoundingClientRect(); - return { - x: offset.left + bcr.left, - y: offset.top + bcr.top, - color: getColor(el) - }; - } - var selection = window.getSelection(); - if (selection.rangeCount) { - var range = selection.getRangeAt(0); - var startNode = range.startContainer; - if (startNode.nodeType === document.TEXT_NODE) { - startNode = startNode.parentNode; - } - bcr = range.getBoundingClientRect(); - return { - x: bcr.left, - y: bcr.top, - color: getColor(startNode) - }; - } - return { - x: 0, - y: 0, - color: 'transparent' - }; - } - function createParticle(x, y, color) { - return { - x: x, - y: y, - alpha: 1, - color: color, - velocity: { - x: -1 + Math.random() * 2, - y: -3.5 + Math.random() * 2 - } - }; - } - function POWERMODE() { - { - var caret = getCaret(); - var numParticles = 5 + Math.round(Math.random() * 10); - while (numParticles--) { - particles[particlePointer] = createParticle(caret.x, caret.y, caret.color); - particlePointer = (particlePointer + 1) % 500; - } - } - { - if (POWERMODE.shake) { - var intensity = 1 + 2 * Math.random(); - var x = intensity * (Math.random() > 0.5 ? -1 : 1); - var y = intensity * (Math.random() > 0.5 ? -1 : 1); - document.body.style.marginLeft = x + 'px'; - document.body.style.marginTop = y + 'px'; - setTimeout(function() { - document.body.style.marginLeft = ''; - document.body.style.marginTop = ''; - }, 75); - } - } - if (!rendering) { - requestAnimationFrame(loop); - } - } - ;POWERMODE.colorful = false; - function loop() { - rendering = true; - context.clearRect(0, 0, canvas.width, canvas.height); - var rendered = false; - var rect = canvas.getBoundingClientRect(); - for (var i = 0; i < particles.length; ++i) { - var particle = particles[i]; - if (particle.alpha <= 0.1) - continue; - particle.velocity.y += 0.075; - particle.x += particle.velocity.x; - particle.y += particle.velocity.y; - particle.alpha *= 0.96; - context.globalAlpha = particle.alpha; - context.fillStyle = particle.color; - context.fillRect(Math.round(particle.x - 1.5) - rect.left, Math.round(particle.y - 1.5) - rect.top, 3, 3); - rendered = true; - } - if (rendered) { - requestAnimationFrame(loop); - } else { - rendering = false; - } - } - module.exports = POWERMODE; - } - ), (function(module, exports) { - (function() { - var properties = ['direction', 'boxSizing', 'width', 'height', 'overflowX', 'overflowY', 'borderTopWidth', 'borderRightWidth', 'borderBottomWidth', 'borderLeftWidth', 'borderStyle', 'paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'fontStyle', 'fontVariant', 'fontWeight', 'fontStretch', 'fontSize', 'fontSizeAdjust', 'lineHeight', 'fontFamily', 'textAlign', 'textTransform', 'textIndent', 'textDecoration', 'letterSpacing', 'wordSpacing', 'tabSize', 'MozTabSize']; - var isFirefox = window.mozInnerScreenX != null; - function getCaretCoordinates(element, position, options) { - var debug = options && options.debug || false; - if (debug) { - var el = document.querySelector('#input-textarea-caret-position-mirror-div'); - if (el) { - el.parentNode.removeChild(el); - } - } - var div = document.createElement('div'); - div.id = 'input-textarea-caret-position-mirror-div'; - document.body.appendChild(div); - var style = div.style; - var computed = window.getComputedStyle ? getComputedStyle(element) : element.currentStyle; - style.whiteSpace = 'pre-wrap'; - if (element.nodeName !== 'INPUT') - style.wordWrap = 'break-word'; - style.position = 'absolute'; - if (!debug) - style.visibility = 'hidden'; - properties.forEach(function(prop) { - style[prop] = computed[prop]; - }); - if (isFirefox) { - if (element.scrollHeight > parseInt(computed.height)) - style.overflowY = 'scroll'; - } else { - style.overflow = 'hidden'; - } - div.textContent = element.value.substring(0, position); - if (element.nodeName === 'INPUT') - div.textContent = div.textContent.replace(/\s/g, "\u00a0"); - var span = document.createElement('span'); - span.textContent = element.value.substring(position) || '.'; - div.appendChild(span); - var coordinates = { - top: span.offsetTop + parseInt(computed['borderTopWidth']), - left: span.offsetLeft + parseInt(computed['borderLeftWidth']) - }; - if (debug) { - span.style.backgroundColor = '#aaa'; - } else { - document.body.removeChild(div); - } - return coordinates; - } - if (typeof module != "undefined" && typeof module.exports != "undefined") { - module.exports = getCaretCoordinates; - } else { - window.getCaretCoordinates = getCaretCoordinates; - } - }()); - } - )]) -}); -;!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
  • \n \n ', - t += r(n + s), - t += '\n ', - t += r(e.name), - t += '\n ', - t += r(e.artist), - t += "\n
  • \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 - var o = function(e, t) { - return "HTML" === e.nodeName ? -t : e.getBoundingClientRect().top + t - }(t, r); - var s = Date.now() - , l = window.requestAnimationFrame || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || function(e) { - window.setTimeout(e, 15) - } - ; - !function u() { - var c = Date.now() - s; - a !== window ? a.scrollTop = e(r, o, c, n) : window.scroll(0, e(r, o, c, n)), - c > n ? "function" == typeof i && i(t) : l(u) - }() - } - , n = function(e) { - if (!e.defaultPrevented) { - e.preventDefault(), - location.hash !== this.hash && window.history.pushState(null, null, this.hash); - var n = document.getElementById(this.hash.substring(1)); - if (!n) - return; - t(n, 500, function(e) { - location.replace("#" + e.id) - }) - } - }; - return document.addEventListener("DOMContentLoaded", function() { - for (var e, t = document.querySelectorAll('a[href^="#"]:not([href="#"])'), i = t.length; e = t[--i]; ) - e.addEventListener("click", n, !1) - }), - t - } - } - ) ? i.call(t, n, t, e) : i) || (e.exports = a) - } - , function(e, t, n) { - "use strict"; - Object.defineProperty(t, "__esModule", { - value: !0 - }); - var i = function() { - function e(e, t) { - for (var n = 0; n < t.length; n++) { - var i = t[n]; - i.enumerable = i.enumerable || !1, - i.configurable = !0, - "value"in i && (i.writable = !0), - Object.defineProperty(e, i.key, i) - } - } - return function(t, n, i) { - return n && e(t.prototype, n), - i && e(t, i), - t - } - }() - , a = s(n(1)) - , r = s(n(0)) - , o = s(n(5)); - function s(e) { - return e && e.__esModule ? e : { - default: e - } - } - var l = function() { - function e(t) { - !function(e, t) { - if (!(e instanceof t)) - throw new TypeError("Cannot call a class as a function") - }(this, e), - this.player = t, - this.index = 0, - this.audios = this.player.options.audio, - this.bindEvents() - } - return i(e, [{ - key: "bindEvents", - value: function() { - var e = this; - this.player.template.list.addEventListener("click", function(t) { - var n = void 0; - n = "LI" === t.target.tagName.toUpperCase() ? t.target : t.target.parentElement; - var i = parseInt(n.getElementsByClassName("aplayer-list-index")[0].innerHTML) - 1; - i !== e.index ? (e.switch(i), - e.player.play()) : e.player.toggle() - }) - } - }, { - key: "show", - value: function() { - this.player.events.trigger("listshow"), - this.player.template.list.classList.remove("aplayer-list-hide"), - this.player.template.listOl.scrollTop = 33 * this.index - } - }, { - key: "hide", - value: function() { - this.player.events.trigger("listhide"), - this.player.template.list.classList.add("aplayer-list-hide") - } - }, { - key: "toggle", - value: function() { - this.player.template.list.classList.contains("aplayer-list-hide") ? this.show() : this.hide() - } - }, { - key: "add", - value: function(e) { - this.player.events.trigger("listadd", { - audios: e - }), - "[object Array]" !== Object.prototype.toString.call(e) && (e = [e]), - e.map(function(e) { - return e.name = e.name || e.title || "Audio name", - e.artist = e.artist || e.author || "Audio artist", - e.cover = e.cover || e.pic, - e.type = e.type || "normal", - e - }); - var t = !(this.audios.length > 1) - , n = 0 === this.audios.length; - this.player.template.listOl.innerHTML += (0, - a.default)({ - theme: this.player.options.theme, - audio: e, - index: this.audios.length + 1 - }), - this.audios = this.audios.concat(e), - t && this.audios.length > 1 && this.player.container.classList.add("aplayer-withlist"), - this.player.randomOrder = r.default.randomOrder(this.audios.length), - this.player.template.listCurs = this.player.container.querySelectorAll(".aplayer-list-cur"), - this.player.template.listCurs[this.audios.length - 1].style.backgroundColor = e.theme || this.player.options.theme, - n && ("random" === this.player.options.order ? this.switch(this.player.randomOrder[0]) : this.switch(0)) - } - }, { - key: "remove", - value: function(e) { - if (this.player.events.trigger("listremove", { - index: e - }), - this.audios[e]) - if (this.audios.length > 1) { - var t = this.player.container.querySelectorAll(".aplayer-list li"); - t[e].remove(), - this.audios.splice(e, 1), - this.player.lrc && this.player.lrc.remove(e), - e === this.index && (this.audios[e] ? this.switch(e) : this.switch(e - 1)), - this.index > e && this.index--; - for (var n = e; n < t.length; n++) - t[n].getElementsByClassName("aplayer-list-index")[0].textContent = n; - 1 === this.audios.length && this.player.container.classList.remove("aplayer-withlist"), - this.player.template.listCurs = this.player.container.querySelectorAll(".aplayer-list-cur") - } else - this.clear() - } - }, { - key: "switch", - value: function(e) { - if (this.player.events.trigger("listswitch", { - index: e - }), - void 0 !== e && this.audios[e]) { - this.index = e; - var t = this.audios[this.index]; - this.player.template.pic.style.backgroundImage = t.cover ? "url('" + t.cover + "')" : "", - this.player.theme(this.audios[this.index].theme || this.player.options.theme, this.index, !1), - this.player.template.title.innerHTML = t.name, - this.player.template.author.innerHTML = t.artist ? " - " + t.artist : ""; - var n = this.player.container.getElementsByClassName("aplayer-list-light")[0]; - n && n.classList.remove("aplayer-list-light"), - this.player.container.querySelectorAll(".aplayer-list li")[this.index].classList.add("aplayer-list-light"), - (0, - o.default)(33 * this.index, 500, null, this.player.template.listOl), - this.player.setAudio(t), - this.player.lrc && this.player.lrc.switch(this.index), - this.player.lrc && this.player.lrc.update(0), - 1 !== this.player.duration && (this.player.template.dtime.innerHTML = r.default.secondToTime(this.player.duration)) - } - } - }, { - key: "clear", - value: function() { - this.player.events.trigger("listclear"), - this.index = 0, - this.player.container.classList.remove("aplayer-withlist"), - this.player.pause(), - this.audios = [], - this.player.lrc && this.player.lrc.clear(), - this.player.audio.src = "", - this.player.template.listOl.innerHTML = "", - this.player.template.pic.style.backgroundImage = "", - this.player.theme(this.player.options.theme, this.index, !1), - this.player.template.title.innerHTML = "No audio", - this.player.template.author.innerHTML = "", - this.player.bar.set("loaded", 0, "width"), - this.player.template.dtime.innerHTML = r.default.secondToTime(0) - } - }]), - e - }(); - t.default = l - } - , function(e, t, n) { - "use strict"; - Object.defineProperty(t, "__esModule", { - value: !0 - }); - var i = function() { - function e(e, t) { - for (var n = 0; n < t.length; n++) { - var i = t[n]; - i.enumerable = i.enumerable || !1, - i.configurable = !0, - "value"in i && (i.writable = !0), - Object.defineProperty(e, i.key, i) - } - } - return function(t, n, i) { - return n && e(t.prototype, n), - i && e(t, i), - t - } - }(); - var 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 - } - }(); - var 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 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, - o.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, - o.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 = s - } - , 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 = n(0), o = (i = r) && i.__esModule ? i : { - default: i - }; - 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.storageName = t.options.storageName, - this.data = JSON.parse(o.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, - o.default.storage.set(this.storageName, JSON.stringify(this.data)) - } - }]), - e - }(); - t.default = s - } - , 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 - } - }(); - var 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) { - "string" != typeof t && (t = void 0 === t || null === t ? "" : "function" == typeof t ? e(t.call(t)) : JSON.stringify(t)); - return 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 = (arguments[1], - function(e) { - return t += e - } - ) - , u = e.getObject; - e.theme, - e.audio, - e.index; - return a.fixed ? (t += '\n
    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 - } - }() ? 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) - } - : (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, "*") - } - ), - 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 - , i = e.args; - switch (i.length) { - case 0: - t(); - break; - case 1: - t(i[0]); - break; - case 2: - t(i[0], i[1]); - break; - case 3: - t(i[0], i[1], i[2]); - break; - default: - t.apply(n, i) - } - }(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 = n(38), r = (i = a) && i.__esModule ? i : { - default: i - }; - console.log("\n %c APlayer v1.10.1 af84efb %c http://aplayer.js.org \n", "color: #fadfa3; background: #030307; padding:5px 0;", "background: #fadfa3; padding:5px 0;"), - t.default = r.default - } - ]).default -}); -!function(t, e) { - "object" == typeof exports ? module.exports = e(t) : "function" == typeof define && define.amd ? define([], e(t)) : t.LazyLoad = e(t) -}("undefined" != typeof global ? global : this.window || this.global, function(t) { - "use strict"; - function e(t, e) { - this.settings = r(s, e || {}), - this.images = t || document.querySelectorAll(this.settings.selector), - this.observer = null, - this.init() - } - const s = { - src: "data-src", - srcset: "data-srcset", - selector: ".lazyload" - } - , r = function() { - let t = {} - , e = !1 - , s = 0 - , o = arguments.length; - "[object Boolean]" === Object.prototype.toString.call(arguments[0]) && (e = arguments[0], - s++); - for (; s < o; s++) - !function(s) { - for (let o in s) - Object.prototype.hasOwnProperty.call(s, o) && (e && "[object Object]" === Object.prototype.toString.call(s[o]) ? t[o] = r(!0, t[o], s[o]) : t[o] = s[o]) - }(arguments[s]); - return t - }; - if (e.prototype = { - init: function() { - if (!t.IntersectionObserver) - return void this.loadImages(); - let e = this - , s = { - root: null, - rootMargin: "0px", - threshold: [0] - }; - this.observer = new IntersectionObserver(function(t) { - t.forEach(function(t) { - if (t.intersectionRatio > 0) { - e.observer.unobserve(t.target); - let s = t.target.getAttribute(e.settings.src) - , r = t.target.getAttribute(e.settings.srcset); - "img" === t.target.tagName.toLowerCase() ? (s && (t.target.src = s), - r && (t.target.srcset = r)) : t.target.style.backgroundImage = "url(" + s + ")" - } - }) - } - ,s), - this.images.forEach(function(t) { - e.observer.observe(t) - }) - }, - loadAndDestroy: function() { - this.settings && (this.loadImages(), - this.destroy()) - }, - loadImages: function() { - if (!this.settings) - return; - let t = this; - this.images.forEach(function(e) { - let s = e.getAttribute(t.settings.src) - , r = e.getAttribute(t.settings.srcset); - "img" === e.tagName.toLowerCase() ? (s && (e.src = s), - r && (e.srcset = r)) : e.style.backgroundImage = "url(" + s + ")" - }) - }, - destroy: function() { - this.settings && (this.observer.disconnect(), - this.settings = null) - } - }, - t.lazyload = function(t, s) { - return new e(t,s) - } - , - t.jQuery) { - const s = t.jQuery; - s.fn.lazyload = function(t) { - return t = t || {}, - t.attribute = t.attribute || "data-src", - new e(s.makeArray(this),t), - this - } - } - return e -}); -/*! - * Materialize v1.0.0-alpha.3 (http://materializecss.com) - * Copyright 2014-2017 Materialize - * MIT License (https://raw.githubusercontent.com/Dogfalo/materialize/master/LICENSE) - */ -var _get = function t(e, i, n) { - null === e && (e = Function.prototype); - var s = Object.getOwnPropertyDescriptor(e, i); - if (void 0 === s) { - var o = Object.getPrototypeOf(e); - return null === o ? void 0 : t(o, i, n) - } - if ("value"in s) - return s.value; - var a = s.get; - if (void 0 !== a) - return a.call(n) -} - , _createClass = function() { - function t(t, e) { - for (var i = 0; i < e.length; i++) { - var n = e[i]; - n.enumerable = n.enumerable || !1, - n.configurable = !0, - "value"in n && (n.writable = !0), - Object.defineProperty(t, n.key, n) - } - } - return function(e, i, n) { - return i && t(e.prototype, i), - n && t(e, n), - e - } -}(); -function _possibleConstructorReturn(t, e) { - if (!t) - throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); - return !e || "object" != typeof e && "function" != typeof e ? t : e -} -function _inherits(t, e) { - if ("function" != typeof e && null !== e) - throw new TypeError("Super expression must either be null or a function, not " + typeof e); - t.prototype = Object.create(e && e.prototype, { - constructor: { - value: t, - enumerable: !1, - writable: !0, - configurable: !0 - } - }), - e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e) -} -function _classCallCheck(t, e) { - if (!(t instanceof e)) - throw new TypeError("Cannot call a class as a function") -} -window.cash = function() { - var t = document - , e = window - , i = Array.prototype - , n = i.slice - , s = i.filter - , o = i.push - , a = function() {} - , r = function(t) { - return "function" == typeof t && t.call - } - , l = function(t) { - return "string" == typeof t - } - , h = /^#[\w-]*$/ - , d = /^\.[\w-]*$/ - , u = /<.+>/ - , c = /^\w+$/; - function p(e, i) { - i = i || t; - var n = d.test(e) ? i.getElementsByClassName(e.slice(1)) : c.test(e) ? i.getElementsByTagName(e) : i.querySelectorAll(e); - return n - } - var v; - function f(e) { - if (!v) { - var i = (v = t.implementation.createHTMLDocument(null)).createElement("base"); - i.href = t.location.href, - v.head.appendChild(i) - } - return v.body.innerHTML = e, - v.body.childNodes - } - function m(e) { - "loading" !== t.readyState ? e() : t.addEventListener("DOMContentLoaded", e) - } - function g(i, n) { - if (!i) - return this; - if (i.cash && i !== e) - return i; - var s, o = i, a = 0; - if (l(i)) - o = h.test(i) ? t.getElementById(i.slice(1)) : u.test(i) ? f(i) : p(i, n); - else if (r(i)) - return m(i), - this; - if (!o) - return this; - if (o.nodeType || o === e) - this[0] = o, - this.length = 1; - else - for (s = this.length = o.length; a < s; a++) - this[a] = o[a]; - return this - } - function _(t, e) { - return new g(t,e) - } - var y = _.fn = _.prototype = g.prototype = { - cash: !0, - length: 0, - push: o, - splice: i.splice, - map: i.map, - init: g - }; - Object.defineProperty(y, "constructor", { - value: _ - }), - _.parseHTML = f, - _.noop = a, - _.isFunction = r, - _.isString = l, - _.extend = y.extend = function(t) { - t = t || {}; - var e = n.call(arguments) - , i = e.length - , s = 1; - for (1 === e.length && (t = this, - s = 0); s < i; s++) - if (e[s]) - for (var o in e[s]) - e[s].hasOwnProperty(o) && (t[o] = e[s][o]); - return t - } - ; - function k(t, e) { - for (var i = t.length, n = 0; n < i && !1 !== e.call(t[n], t[n], n, t); n++) - ; - } - function b(t, e) { - var i = t && (t.matches || t.webkitMatchesSelector || t.mozMatchesSelector || t.msMatchesSelector || t.oMatchesSelector); - return !!i && i.call(t, e) - } - function w(t) { - return l(t) ? b : t.cash ? function(e) { - return t.is(e) - } - : function(t, e) { - return t === e - } - } - function C(t) { - return _(n.call(t).filter(function(t, e, i) { - return i.indexOf(t) === e - })) - } - _.extend({ - merge: function(t, e) { - for (var i = +e.length, n = t.length, s = 0; s < i; n++, - s++) - t[n] = e[s]; - return t.length = n, - t - }, - each: k, - matches: b, - unique: C, - isArray: Array.isArray, - isNumeric: function(t) { - return !isNaN(parseFloat(t)) && isFinite(t) - } - }); - var E = _.uid = "_cash" + Date.now(); - function M(t) { - return t[E] = t[E] || {} - } - function x(t, e, i) { - return M(t)[e] = i - } - function L(t, e) { - var i = M(t); - return void 0 === i[e] && (i[e] = t.dataset ? t.dataset[e] : _(t).attr("data-" + e)), - i[e] - } - y.extend({ - data: function(t, e) { - if (l(t)) - return void 0 === e ? L(this[0], t) : this.each(function(i) { - return x(i, t, e) - }); - for (var i in t) - this.data(i, t[i]); - return this - }, - removeData: function(t) { - return this.each(function(e) { - return function(t, e) { - var i = M(t); - i ? delete i[e] : t.dataset ? delete t.dataset[e] : _(t).removeAttr("data-" + name) - }(e, t) - }) - } - }); - var T = /\S+/g; - function O(t) { - return l(t) && t.match(T) - } - function $(t, e) { - return t.classList ? t.classList.contains(e) : new RegExp("(^| )" + e + "( |$)","gi").test(t.className) - } - function D(t, e, i) { - t.classList ? t.classList.add(e) : i.indexOf(" " + e + " ") && (t.className += " " + e) - } - function B(t, e) { - t.classList ? t.classList.remove(e) : t.className = t.className.replace(e, "") - } - y.extend({ - addClass: function(t) { - var e = O(t); - return e ? this.each(function(t) { - var i = " " + t.className + " "; - k(e, function(e) { - D(t, e, i) - }) - }) : this - }, - attr: function(t, e) { - if (t) { - if (l(t)) - return void 0 === e ? this[0] ? this[0].getAttribute ? this[0].getAttribute(t) : this[0][t] : void 0 : this.each(function(i) { - i.setAttribute ? i.setAttribute(t, e) : i[t] = e - }); - for (var i in t) - this.attr(i, t[i]); - return this - } - }, - hasClass: function(t) { - var e = !1 - , i = O(t); - return i && i.length && this.each(function(t) { - return !(e = $(t, i[0])) - }), - e - }, - prop: function(t, e) { - if (l(t)) - return void 0 === e ? this[0][t] : this.each(function(i) { - i[t] = e - }); - for (var i in t) - this.prop(i, t[i]); - return this - }, - removeAttr: function(t) { - return this.each(function(e) { - e.removeAttribute ? e.removeAttribute(t) : delete e[t] - }) - }, - removeClass: function(t) { - if (!arguments.length) - return this.attr("class", ""); - var e = O(t); - return e ? this.each(function(t) { - k(e, function(e) { - B(t, e) - }) - }) : this - }, - removeProp: function(t) { - return this.each(function(e) { - delete e[t] - }) - }, - toggleClass: function(t, e) { - if (void 0 !== e) - return this[e ? "addClass" : "removeClass"](t); - var i = O(t); - return i ? this.each(function(t) { - var e = " " + t.className + " "; - k(i, function(i) { - $(t, i) ? B(t, i) : D(t, i, e) - }) - }) : this - } - }), - y.extend({ - add: function(t, e) { - return C(_.merge(this, _(t, e))) - }, - each: function(t) { - return k(this, t), - this - }, - eq: function(t) { - return _(this.get(t)) - }, - filter: function(t) { - if (!t) - return this; - var e = r(t) ? t : w(t); - return _(s.call(this, function(i) { - return e(i, t) - })) - }, - first: function() { - return this.eq(0) - }, - get: function(t) { - return void 0 === t ? n.call(this) : t < 0 ? this[t + this.length] : this[t] - }, - index: function(t) { - var e = t ? _(t)[0] : this[0] - , i = t ? this : _(e).parent().children(); - return n.call(i).indexOf(e) - }, - last: function() { - return this.eq(-1) - } - }); - var I = function() { - var t = /(?:^\w|[A-Z]|\b\w)/g - , e = /[\s-_]+/g; - return function(i) { - return i.replace(t, function(t, e) { - return t[0 === e ? "toLowerCase" : "toUpperCase"]() - }).replace(e, "") - } - }() - , S = function() { - var t = {} - , e = document - , i = e.createElement("div") - , n = i.style; - return function(e) { - if (e = I(e), - t[e]) - return t[e]; - var i = e.charAt(0).toUpperCase() + e.slice(1) - , s = (e + " " + ["webkit", "moz", "ms", "o"].join(i + " ") + i).split(" "); - return k(s, function(i) { - if (i in n) - return t[i] = e = t[e] = i, - !1 - }), - t[e] - } - }(); - _.prefixedProp = S, - _.camelCase = I, - y.extend({ - css: function(t, i) { - if (l(t)) - return t = S(t), - arguments.length > 1 ? this.each(function(e) { - return e.style[t] = i - }) : e.getComputedStyle(this[0])[t]; - for (var n in t) - this.css(n, t[n]); - return this - } - }); - function A(t, i) { - return parseInt(e.getComputedStyle(t[0], null)[i], 10) || 0 - } - k(["Width", "Height"], function(t) { - var e = t.toLowerCase(); - y[e] = function() { - return this[0].getBoundingClientRect()[e] - } - , - y["inner" + t] = function() { - return this[0]["client" + t] - } - , - y["outer" + t] = function(e) { - return this[0]["offset" + t] + (e ? A(this, "margin" + ("Width" === t ? "Left" : "Top")) + A(this, "margin" + ("Width" === t ? "Right" : "Bottom")) : 0) - } - }); - function R(t, e, i) { - var n, s = L(t, "_cashEvents"), o = s && s[e]; - o && (i ? (t.removeEventListener(e, i), - (n = o.indexOf(i)) >= 0 && o.splice(n, 1)) : (k(o, function(i) { - t.removeEventListener(e, i) - }), - o = [])) - } - y.extend({ - off: function(t, e) { - return this.each(function(i) { - return R(i, t, e) - }) - }, - on: function(t, e, i, n) { - var s; - if (!l(t)) { - for (var o in t) - this.on(o, e, t[o]); - return this - } - return r(e) && (i = e, - e = null), - "ready" === t ? (m(i), - this) : (e && (s = i, - i = function(t) { - for (var i = t.target; !b(i, e); ) { - if (i === this || null === i) - return i = !1; - i = i.parentNode - } - i && s.call(i, t) - } - ), - this.each(function(e) { - var s = i; - n && (s = function() { - i.apply(this, arguments), - R(e, t, s) - } - ), - function(t, e, i) { - var n = L(t, "_cashEvents") || x(t, "_cashEvents", {}); - n[e] = n[e] || [], - n[e].push(i), - t.addEventListener(e, i) - }(e, t, s) - })) - }, - one: function(t, e, i) { - return this.on(t, e, i, !0) - }, - ready: m, - trigger: function(t, e) { - if (document.createEvent) { - var i = document.createEvent("HTMLEvents"); - return i.initEvent(t, !0, !1), - i = this.extend(i, e), - this.each(function(t) { - return t.dispatchEvent(i) - }) - } - } - }); - function H(t, e) { - return "&" + encodeURIComponent(t) + "=" + encodeURIComponent(e).replace(/%20/g, "+") - } - function P(t) { - var e = t.type; - if (!e) - return null; - switch (e.toLowerCase()) { - case "select-one": - return function(t) { - var e = t.selectedIndex; - return e >= 0 ? t.options[e].value : null - }(t); - case "select-multiple": - return function(t) { - var e = []; - return k(t.options, function(t) { - t.selected && e.push(t.value) - }), - e.length ? e : null - }(t); - case "radio": - case "checkbox": - return t.checked ? t.value : null; - default: - return t.value ? t.value : null - } - } - y.extend({ - serialize: function() { - var t = ""; - return k(this[0].elements || this, function(e) { - if (!e.disabled && "FIELDSET" !== e.tagName) { - var i = e.name; - switch (e.type.toLowerCase()) { - case "file": - case "reset": - case "submit": - case "button": - break; - case "select-multiple": - var n = P(e); - null !== n && k(n, function(e) { - t += H(i, e) - }); - break; - default: - var s = P(e); - null !== s && (t += H(i, s)) - } - } - }), - t.substr(1) - }, - val: function(t) { - return void 0 === t ? P(this[0]) : this.each(function(e) { - return e.value = t - }) - } - }); - function W(t, e, i) { - var n = l(e); - n || !e.length ? k(t, n ? function(t) { - return t.insertAdjacentHTML(i ? "afterbegin" : "beforeend", e) - } - : function(t, n) { - return function(t, e, i) { - if (i) { - var n = t.childNodes[0]; - t.insertBefore(e, n) - } else - t.appendChild(e) - }(t, 0 === n ? e : e.cloneNode(!0), i) - } - ) : k(e, function(e) { - return W(t, e, i) - }) - } - y.extend({ - after: function(t) { - return _(t).insertAfter(this), - this - }, - append: function(t) { - return W(this, t), - this - }, - appendTo: function(t) { - return W(_(t), this), - this - }, - before: function(t) { - return _(t).insertBefore(this), - this - }, - clone: function() { - return _(this.map(function(t) { - return t.cloneNode(!0) - })) - }, - empty: function() { - return this.html(""), - this - }, - html: function(t) { - if (void 0 === t) - return this[0].innerHTML; - var e = t.nodeType ? t[0].outerHTML : t; - return this.each(function(t) { - return t.innerHTML = e - }) - }, - insertAfter: function(t) { - var e = this; - return _(t).each(function(t, i) { - var n = t.parentNode - , s = t.nextSibling; - e.each(function(t) { - n.insertBefore(0 === i ? t : t.cloneNode(!0), s) - }) - }), - this - }, - insertBefore: function(t) { - var e = this; - return _(t).each(function(t, i) { - var n = t.parentNode; - e.each(function(e) { - n.insertBefore(0 === i ? e : e.cloneNode(!0), t) - }) - }), - this - }, - prepend: function(t) { - return W(this, t, !0), - this - }, - prependTo: function(t) { - return W(_(t), this, !0), - this - }, - remove: function() { - return this.each(function(t) { - if (t.parentNode) - return t.parentNode.removeChild(t) - }) - }, - text: function(t) { - return void 0 === t ? this[0].textContent : this.each(function(e) { - return e.textContent = t - }) - } - }); - var j = t.documentElement; - return y.extend({ - position: function() { - var t = this[0]; - return { - left: t.offsetLeft, - top: t.offsetTop - } - }, - offset: function() { - var t = this[0].getBoundingClientRect(); - return { - top: t.top + e.pageYOffset - j.clientTop, - left: t.left + e.pageXOffset - j.clientLeft - } - }, - offsetParent: function() { - return _(this[0].offsetParent) - } - }), - y.extend({ - children: function(t) { - var e = []; - return this.each(function(t) { - o.apply(e, t.children) - }), - e = C(e), - t ? e.filter(function(e) { - return b(e, t) - }) : e - }, - closest: function(t) { - return !t || this.length < 1 ? _() : this.is(t) ? this.filter(t) : this.parent().closest(t) - }, - is: function(t) { - if (!t) - return !1; - var e = !1 - , i = w(t); - return this.each(function(n) { - return !(e = i(n, t)) - }), - e - }, - find: function(t) { - if (!t || t.nodeType) - return _(t && this.has(t).length ? t : null); - var e = []; - return this.each(function(i) { - o.apply(e, p(t, i)) - }), - C(e) - }, - has: function(t) { - var e = l(t) ? function(e) { - return 0 !== p(t, e).length - } - : function(e) { - return e.contains(t) - } - ; - return this.filter(e) - }, - next: function() { - return _(this[0].nextElementSibling) - }, - not: function(t) { - if (!t) - return this; - var e = w(t); - return this.filter(function(i) { - return !e(i, t) - }) - }, - parent: function() { - var t = []; - return this.each(function(e) { - e && e.parentNode && t.push(e.parentNode) - }), - C(t) - }, - parents: function(e) { - var i, n = []; - return this.each(function(s) { - for (i = s; i && i.parentNode && i !== t.body.parentNode; ) - i = i.parentNode, - (!e || e && b(i, e)) && n.push(i) - }), - C(n) - }, - prev: function() { - return _(this[0].previousElementSibling) - }, - siblings: function(t) { - var e = this.parent().children(t) - , i = this[0]; - return e.filter(function(t) { - return t !== i - }) - } - }), - _ -}(); -var Component = function() { - function t(e, i, n) { - _classCallCheck(this, t), - i instanceof Element || console.error(Error(i + " is not an HTML Element")); - var s = e.getInstance(i); - s && s.destroy(), - this.el = i, - this.$el = cash(i) - } - return _createClass(t, null, [{ - key: "init", - value: function(t, e, i) { - var n = null; - if (e instanceof Element) - n = new t(e,i); - else if (e.jquery || e instanceof NodeList) { - for (var s = [], o = 0; o < e.length; o++) - s.push(new t(e[o],i)); - n = s - } - return n - } - }]), - t -}(); -!function(t) { - t.Package ? M = {} : t.M = {}, - M.jQueryLoaded = !!t.jQuery -}(window), -"function" == typeof define && define.amd ? define("M", [], function() { - return M -}) : "undefined" == typeof exports || exports.nodeType || ("undefined" != typeof module && !module.nodeType && module.exports && (exports = module.exports = M), -exports.default = M), -M.keys = { - TAB: 9, - ENTER: 13, - ESC: 27, - ARROW_UP: 38, - ARROW_DOWN: 40 -}, -M.tabPressed = !1; -var docHandleKeydown = function(t) { - t.which === M.keys.TAB && (M.tabPressed = !0) -} - , docHandleKeyup = function(t) { - t.which === M.keys.TAB && (M.tabPressed = !1) -}; -document.addEventListener("keydown", docHandleKeydown), -document.addEventListener("keyup", docHandleKeyup), -M.initializeJqueryWrapper = function(t, e, i) { - jQuery.fn[e] = function(n) { - if (t.prototype[n]) { - var s = Array.prototype.slice.call(arguments, 1); - if ("get" === n.slice(0, 3)) { - var o = this.first()[0][i]; - return o[n].apply(o, s) - } - return this.each(function() { - var t = this[i]; - t[n].apply(t, s) - }) - } - if ("object" == typeof n || !n) - return t.init(this, arguments[0]), - this; - jQuery.error("Method " + n + " does not exist on jQuery." + e) - } -} -, -M.objectSelectorString = function(t) { - return ((t.prop("tagName") || "") + (t.attr("id") || "") + (t.attr("class") || "")).replace(/\s/g, "") -} -, -M.guid = function() { - function t() { - return Math.floor(65536 * (1 + Math.random())).toString(16).substring(1) - } - return function() { - return t() + t() + "-" + t() + "-" + t() + "-" + t() + "-" + t() + t() + t() - } -}(), -M.escapeHash = function(t) { - return t.replace(/(:|\.|\[|\]|,|=)/g, "\\$1") -} -, -M.elementOrParentIsFixed = function(t) { - var e = $(t) - , i = !1; - return e.add(e.parents()).each(function() { - if ("fixed" === $(this).css("position")) - return i = !0, - !1 - }), - i -} -, -M.checkWithinContainer = function(t, e, i) { - var n = { - top: !1, - right: !1, - bottom: !1, - left: !1 - } - , s = t.getBoundingClientRect() - , o = t.scrollLeft - , a = t.scrollTop - , r = e.left - o - , l = e.top - a; - return (r < s.left + i || r < i) && (n.left = !0), - (r + e.width > s.right - i || r + e.width > window.innerWidth - i) && (n.right = !0), - (l < s.top + i || l < i) && (n.top = !0), - (l + e.height > s.bottom - i || l + e.height > window.innerHeight - i) && (n.bottom = !0), - n -} -, -M.checkPossibleAlignments = function(t, e, i, n) { - var s = { - top: !0, - right: !0, - bottom: !0, - left: !0, - spaceOnTop: null, - spaceOnRight: null, - spaceOnBottom: null, - spaceOnLeft: null - } - , o = "visible" === getComputedStyle(e).overflow - , a = e.getBoundingClientRect() - , r = t.getBoundingClientRect() - , l = e.scrollLeft - , h = e.scrollTop - , d = i.left - l - , u = i.top - h; - return s.spaceOnRight = o ? window.innerWidth - (r.left + i.width) : e.offsetWidth - (d + i.width), - (!o && d + i.width > e.offsetWidth || o && r.left + i.width > window.innerWidth) && (s.left = !1), - s.spaceOnLeft = o ? r.right - i.width : d - i.width + r.width, - (!o && d - i.width + r.width < 0 || o && r.right - i.width < 0) && (s.right = !1), - s.spaceOnBottom = o ? window.innerHeight - (r.top + i.height + n) : a.height - (u + i.height + n), - (!o && u + i.height + n > a.height || o && r.top + i.height + n > window.innerHeight) && (s.top = !1), - s.spaceOnTop = o ? r.bottom - (i.height + n) : u - (i.height + n), - (!o && u - i.height - n < 0 || o && r.bottom - i.height - n < 0) && (s.bottom = !1), - s -} -, -M.getOverflowParent = function(t) { - return null == t ? null : t === document.body || "visible" !== getComputedStyle(t).overflow ? t : M.getOverflowParent(t.parentElement) -} -, -M.getIdFromTrigger = function(t) { - var e = t.getAttribute("data-target"); - return e || (e = (e = t.getAttribute("href")) ? e.slice(1) : ""), - e -} -, -M.getDocumentScrollTop = function() { - return window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0 -} -, -M.getDocumentScrollLeft = function() { - return window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft || 0 -} -; -var getTime = Date.now || function() { - return (new Date).getTime() -} -; -M.throttle = function(t, e, i) { - var n = void 0 - , s = void 0 - , o = void 0 - , a = null - , r = 0; - i || (i = {}); - var l = function() { - r = !1 === i.leading ? 0 : getTime(), - a = null, - o = t.apply(n, s), - n = s = null - }; - return function() { - var h = getTime(); - r || !1 !== i.leading || (r = h); - var d = e - (h - r); - return n = this, - s = arguments, - d <= 0 ? (clearTimeout(a), - a = null, - r = h, - o = t.apply(n, s), - n = s = null) : a || !1 === i.trailing || (a = setTimeout(l, d)), - o - } -} -; -var $jscomp = { - scope: {} -}; -$jscomp.defineProperty = "function" == typeof Object.defineProperties ? Object.defineProperty : function(t, e, i) { - if (i.get || i.set) - throw new TypeError("ES3 does not support getters and setters."); - t != Array.prototype && t != Object.prototype && (t[e] = i.value) -} -, -$jscomp.getGlobal = function(t) { - return "undefined" != typeof window && window === t ? t : "undefined" != typeof global && null != global ? global : t -} -, -$jscomp.global = $jscomp.getGlobal(this), -$jscomp.SYMBOL_PREFIX = "jscomp_symbol_", -$jscomp.initSymbol = function() { - $jscomp.initSymbol = function() {} - , - $jscomp.global.Symbol || ($jscomp.global.Symbol = $jscomp.Symbol) -} -, -$jscomp.symbolCounter_ = 0, -$jscomp.Symbol = function(t) { - return $jscomp.SYMBOL_PREFIX + (t || "") + $jscomp.symbolCounter_++ -} -, -$jscomp.initSymbolIterator = function() { - $jscomp.initSymbol(); - var t = $jscomp.global.Symbol.iterator; - t || (t = $jscomp.global.Symbol.iterator = $jscomp.global.Symbol("iterator")), - "function" != typeof Array.prototype[t] && $jscomp.defineProperty(Array.prototype, t, { - configurable: !0, - writable: !0, - value: function() { - return $jscomp.arrayIterator(this) - } - }), - $jscomp.initSymbolIterator = function() {} -} -, -$jscomp.arrayIterator = function(t) { - var e = 0; - return $jscomp.iteratorPrototype(function() { - return e < t.length ? { - done: !1, - value: t[e++] - } : { - done: !0 - } - }) -} -, -$jscomp.iteratorPrototype = function(t) { - return $jscomp.initSymbolIterator(), - (t = { - next: t - })[$jscomp.global.Symbol.iterator] = function() { - return this - } - , - t -} -, -$jscomp.array = $jscomp.array || {}, -$jscomp.iteratorFromArray = function(t, e) { - $jscomp.initSymbolIterator(), - t instanceof String && (t += ""); - var i = 0 - , n = { - next: function() { - if (i < t.length) { - var s = i++; - return { - value: e(s, t[s]), - done: !1 - } - } - return n.next = function() { - return { - done: !0, - value: void 0 - } - } - , - n.next() - } - }; - return n[Symbol.iterator] = function() { - return n - } - , - n -} -, -$jscomp.polyfill = function(t, e, i, n) { - if (e) { - for (i = $jscomp.global, - t = t.split("."), - n = 0; n < t.length - 1; n++) { - var s = t[n]; - s in i || (i[s] = {}), - i = i[s] - } - (e = e(n = i[t = t[t.length - 1]])) != n && null != e && $jscomp.defineProperty(i, t, { - configurable: !0, - writable: !0, - value: e - }) - } -} -, -$jscomp.polyfill("Array.prototype.keys", function(t) { - return t || function() { - return $jscomp.iteratorFromArray(this, function(t) { - return t - }) - } -}, "es6-impl", "es3"); -var $jscomp$this = this; -M.anime = function() { - function t(t) { - if (!O.col(t)) - try { - return document.querySelectorAll(t) - } catch (t) {} - } - function e(t, e) { - for (var i = t.length, n = 2 <= arguments.length ? arguments[1] : void 0, s = [], o = 0; o < i; o++) - if (o in t) { - var a = t[o]; - e.call(n, a, o, t) && s.push(a) - } - return s - } - function i(t) { - return t.reduce(function(t, e) { - return t.concat(O.arr(e) ? i(e) : e) - }, []) - } - function n(e) { - return O.arr(e) ? e : (O.str(e) && (e = t(e) || e), - e instanceof NodeList || e instanceof HTMLCollection ? [].slice.call(e) : [e]) - } - function s(t, e) { - return t.some(function(t) { - return t === e - }) - } - function o(t) { - var e, i = {}; - for (e in t) - i[e] = t[e]; - return i - } - function a(t, e) { - var i, n = o(t); - for (i in t) - n[i] = e.hasOwnProperty(i) ? e[i] : t[i]; - return n - } - function r(t, e) { - var i, n = o(t); - for (i in e) - n[i] = O.und(t[i]) ? e[i] : t[i]; - return n - } - function l(t) { - if (t = /([\+\-]?[0-9#\.]+)(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(t)) - return t[2] - } - function h(t, e) { - return O.fnc(t) ? t(e.target, e.id, e.total) : t - } - function d(t, e) { - if (e in t.style) - return getComputedStyle(t).getPropertyValue(e.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase()) || "0" - } - function u(t, e) { - return O.dom(t) && s(T, e) ? "transform" : O.dom(t) && (t.getAttribute(e) || O.svg(t) && t[e]) ? "attribute" : O.dom(t) && "transform" !== e && d(t, e) ? "css" : null != t[e] ? "object" : void 0 - } - function c(t, i) { - switch (u(t, i)) { - case "transform": - return function(t, i) { - var n = function(t) { - return -1 < t.indexOf("translate") || "perspective" === t ? "px" : -1 < t.indexOf("rotate") || -1 < t.indexOf("skew") ? "deg" : void 0 - }(i) - , n = -1 < i.indexOf("scale") ? 1 : 0 + n; - if (!(t = t.style.transform)) - return n; - for (var s = [], o = [], a = [], r = /(\w+)\((.+?)\)/g; s = r.exec(t); ) - o.push(s[1]), - a.push(s[2]); - return (t = e(a, function(t, e) { - return o[e] === i - })).length ? t[0] : n - }(t, i); - case "css": - return d(t, i); - case "attribute": - return t.getAttribute(i) - } - return t[i] || 0 - } - function p(t, e) { - var i = /^(\*=|\+=|-=)/.exec(t); - if (!i) - return t; - var n = l(t) || 0; - switch (e = parseFloat(e), - t = parseFloat(t.replace(i[0], "")), - i[0][0]) { - case "+": - return e + t + n; - case "-": - return e - t + n; - case "*": - return e * t + n - } - } - function v(t, e) { - return Math.sqrt(Math.pow(e.x - t.x, 2) + Math.pow(e.y - t.y, 2)) - } - function f(t) { - t = t.points; - for (var e, i = 0, n = 0; n < t.numberOfItems; n++) { - var s = t.getItem(n); - 0 < n && (i += v(e, s)), - e = s - } - return i - } - function m(t) { - if (t.getTotalLength) - return t.getTotalLength(); - switch (t.tagName.toLowerCase()) { - case "circle": - return 2 * Math.PI * t.getAttribute("r"); - case "rect": - return 2 * t.getAttribute("width") + 2 * t.getAttribute("height"); - case "line": - return v({ - x: t.getAttribute("x1"), - y: t.getAttribute("y1") - }, { - x: t.getAttribute("x2"), - y: t.getAttribute("y2") - }); - case "polyline": - return f(t); - case "polygon": - var e = t.points; - return f(t) + v(e.getItem(e.numberOfItems - 1), e.getItem(0)) - } - } - function g(t, e) { - function i(i) { - return i = void 0 === i ? 0 : i, - t.el.getPointAtLength(1 <= e + i ? e + i : 0) - } - var n = i() - , s = i(-1) - , o = i(1); - switch (t.property) { - case "x": - return n.x; - case "y": - return n.y; - case "angle": - return 180 * Math.atan2(o.y - s.y, o.x - s.x) / Math.PI - } - } - function _(t, e) { - var i, n = /-?\d*\.?\d+/g; - if (i = O.pth(t) ? t.totalLength : t, - O.col(i)) - if (O.rgb(i)) { - var s = /rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(i); - i = s ? "rgba(" + s[1] + ",1)" : i - } else - i = O.hex(i) ? function(t) { - t = t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i, function(t, e, i, n) { - return e + e + i + i + n + n - }); - var e = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t); - t = parseInt(e[1], 16); - var i = parseInt(e[2], 16) - , e = parseInt(e[3], 16); - return "rgba(" + t + "," + i + "," + e + ",1)" - }(i) : O.hsl(i) ? function(t) { - function e(t, e, i) { - return 0 > i && (i += 1), - 1 < i && --i, - i < 1 / 6 ? t + 6 * (e - t) * i : .5 > i ? e : i < 2 / 3 ? t + (e - t) * (2 / 3 - i) * 6 : t - } - var i = /hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(t) || /hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(t); - t = parseInt(i[1]) / 360; - var n = parseInt(i[2]) / 100 - , s = parseInt(i[3]) / 100 - , i = i[4] || 1; - if (0 == n) - s = n = t = s; - else { - var o = .5 > s ? s * (1 + n) : s + n - s * n - , a = 2 * s - o - , s = e(a, o, t + 1 / 3) - , n = e(a, o, t); - t = e(a, o, t - 1 / 3) - } - return "rgba(" + 255 * s + "," + 255 * n + "," + 255 * t + "," + i + ")" - }(i) : void 0; - else - s = (s = l(i)) ? i.substr(0, i.length - s.length) : i, - i = e && !/\s/g.test(i) ? s + e : s; - return { - original: i += "", - numbers: i.match(n) ? i.match(n).map(Number) : [0], - strings: O.str(t) || e ? i.split(n) : [] - } - } - function y(t) { - return e(t = t ? i(O.arr(t) ? t.map(n) : n(t)) : [], function(t, e, i) { - return i.indexOf(t) === e - }) - } - function k(t, e) { - var i = o(e); - if (O.arr(t)) { - var s = t.length; - 2 !== s || O.obj(t[0]) ? O.fnc(e.duration) || (i.duration = e.duration / s) : t = { - value: t - } - } - return n(t).map(function(t, i) { - return i = i ? 0 : e.delay, - t = O.obj(t) && !O.pth(t) ? t : { - value: t - }, - O.und(t.delay) && (t.delay = i), - t - }).map(function(t) { - return r(t, i) - }) - } - function b(t, e) { - var i; - return t.tweens.map(function(n) { - var s = (n = function(t, e) { - var i, n = {}; - for (i in t) { - var s = h(t[i], e); - O.arr(s) && (s = s.map(function(t) { - return h(t, e) - }), - 1 === s.length && (s = s[0])), - n[i] = s - } - return n.duration = parseFloat(n.duration), - n.delay = parseFloat(n.delay), - n - }(n, e)).value - , o = c(e.target, t.name) - , a = i ? i.to.original : o - , a = O.arr(s) ? s[0] : a - , r = p(O.arr(s) ? s[1] : s, a) - , o = l(r) || l(a) || l(o); - return n.from = _(a, o), - n.to = _(r, o), - n.start = i ? i.end : t.offset, - n.end = n.start + n.delay + n.duration, - n.easing = function(t) { - return O.arr(t) ? $.apply(this, t) : D[t] - }(n.easing), - n.elasticity = (1e3 - Math.min(Math.max(n.elasticity, 1), 999)) / 1e3, - n.isPath = O.pth(s), - n.isColor = O.col(n.from.original), - n.isColor && (n.round = 1), - i = n - }) - } - function w(t, e, i, n) { - var s = "delay" === t; - return e.length ? (s ? Math.min : Math.max).apply(Math, e.map(function(e) { - return e[t] - })) : s ? n.delay : i.offset + n.delay + n.duration - } - function C(t) { - var n, s = a(x, t), o = a(L, t), l = function(t) { - var e = y(t); - return e.map(function(t, i) { - return { - target: t, - id: i, - total: e.length - } - }) - }(t.targets), h = [], d = r(s, o); - for (n in t) - d.hasOwnProperty(n) || "targets" === n || h.push({ - name: n, - offset: d.offset, - tweens: k(t[n], o) - }); - c = h, - t = e(i(l.map(function(t) { - return c.map(function(e) { - var i = u(t.target, e.name); - if (i) { - var n = b(e, t); - e = { - type: i, - property: e.name, - animatable: t, - tweens: n, - duration: n[n.length - 1].end, - delay: n[0].delay - } - } else - e = void 0; - return e - }) - })), function(t) { - return !O.und(t) - }); - var c; - return r(s, { - children: [], - animatables: l, - animations: t, - duration: w("duration", t, s, o), - delay: w("delay", t, s, o) - }) - } - function E(t) { - function i() { - return window.Promise && new Promise(function(t) { - return c = t - } - ) - } - function n(t) { - return v.reversed ? v.duration - t : t - } - function s(t) { - for (var i = 0, n = {}, s = v.animations, o = s.length; i < o; ) { - var a = s[i] - , r = a.animatable - , l = a.tweens - , h = l.length - 1 - , u = l[h]; - h && (u = e(l, function(e) { - return t < e.end - })[0] || u); - for (var l = Math.min(Math.max(t - u.start - u.delay, 0), u.duration) / u.duration, c = isNaN(l) ? 1 : u.easing(l, u.elasticity), l = u.to.strings, p = u.round, h = [], f = void 0, f = u.to.numbers.length, m = 0; m < f; m++) { - var _ = void 0 - , _ = u.to.numbers[m] - , y = u.from.numbers[m] - , _ = u.isPath ? g(u.value, c * _) : y + c * (_ - y); - p && (u.isColor && 2 < m || (_ = Math.round(_ * p) / p)), - h.push(_) - } - if (u = l.length) - for (f = l[0], - c = 0; c < u; c++) - p = l[c + 1], - m = h[c], - isNaN(m) || (f = p ? f + (m + p) : f + (m + " ")); - else - f = h[0]; - B[a.type](r.target, a.property, f, n, r.id), - a.currentValue = f, - i++ - } - if (i = Object.keys(n).length) - for (s = 0; s < i; s++) - M || (M = d(document.body, "transform") ? "transform" : "-webkit-transform"), - v.animatables[s].target.style[M] = n[s].join(" "); - v.currentTime = t, - v.progress = t / v.duration * 100 - } - function o(t) { - v[t] && v[t](v) - } - function a() { - v.remaining && !0 !== v.remaining && v.remaining-- - } - function r(t) { - var e = v.duration - , r = v.offset - , d = r + v.delay - , f = v.currentTime - , m = v.reversed - , g = n(t); - if (v.children.length) { - var _ = v.children - , y = _.length; - if (g >= v.currentTime) - for (var k = 0; k < y; k++) - _[k].seek(g); - else - for (; y--; ) - _[y].seek(g) - } - (g >= d || !e) && (v.began || (v.began = !0, - o("begin")), - o("run")), - g > r && g < e ? s(g) : (g <= r && 0 !== f && (s(0), - m && a()), - (g >= e && f !== e || !e) && (s(e), - m || a())), - o("update"), - t >= e && (v.remaining ? (h = l, - "alternate" === v.direction && (v.reversed = !v.reversed)) : (v.pause(), - v.completed || (v.completed = !0, - o("complete"), - "Promise"in window && (c(), - p = i()))), - u = 0) - } - t = void 0 === t ? {} : t; - var l, h, u = 0, c = null, p = i(), v = C(t); - return v.reset = function() { - var t = v.direction - , e = v.loop; - for (v.currentTime = 0, - v.progress = 0, - v.paused = !0, - v.began = !1, - v.completed = !1, - v.reversed = "reverse" === t, - v.remaining = "alternate" === t && 1 === e ? 2 : e, - s(0), - t = v.children.length; t--; ) - v.children[t].reset() - } - , - v.tick = function(t) { - l = t, - h || (h = l), - r((u + l - h) * E.speed) - } - , - v.seek = function(t) { - r(n(t)) - } - , - v.pause = function() { - var t = I.indexOf(v); - -1 < t && I.splice(t, 1), - v.paused = !0 - } - , - v.play = function() { - v.paused && (v.paused = !1, - h = 0, - u = n(v.currentTime), - I.push(v), - S || A()) - } - , - v.reverse = function() { - v.reversed = !v.reversed, - h = 0, - u = n(v.currentTime) - } - , - v.restart = function() { - v.pause(), - v.reset(), - v.play() - } - , - v.finished = p, - v.reset(), - v.autoplay && v.play(), - v - } - var M, x = { - update: void 0, - begin: void 0, - run: void 0, - complete: void 0, - loop: 1, - direction: "normal", - autoplay: !0, - offset: 0 - }, L = { - duration: 1e3, - delay: 0, - easing: "easeOutElastic", - elasticity: 500, - round: 0 - }, T = "translateX translateY translateZ rotate rotateX rotateY rotateZ scale scaleX scaleY scaleZ skewX skewY perspective".split(" "), O = { - arr: function(t) { - return Array.isArray(t) - }, - obj: function(t) { - return -1 < Object.prototype.toString.call(t).indexOf("Object") - }, - pth: function(t) { - return O.obj(t) && t.hasOwnProperty("totalLength") - }, - svg: function(t) { - return t instanceof SVGElement - }, - dom: function(t) { - return t.nodeType || O.svg(t) - }, - str: function(t) { - return "string" == typeof t - }, - fnc: function(t) { - return "function" == typeof t - }, - und: function(t) { - return void 0 === t - }, - hex: function(t) { - return /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t) - }, - rgb: function(t) { - return /^rgb/.test(t) - }, - hsl: function(t) { - return /^hsl/.test(t) - }, - col: function(t) { - return O.hex(t) || O.rgb(t) || O.hsl(t) - } - }, $ = function() { - function t(t, e, i) { - return (((1 - 3 * i + 3 * e) * t + (3 * i - 6 * e)) * t + 3 * e) * t - } - return function(e, i, n, s) { - if (0 <= e && 1 >= e && 0 <= n && 1 >= n) { - var o = new Float32Array(11); - if (e !== i || n !== s) - for (var a = 0; 11 > a; ++a) - o[a] = t(.1 * a, e, n); - return function(a) { - if (e === i && n === s) - return a; - if (0 === a) - return 0; - if (1 === a) - return 1; - for (var r = 0, l = 1; 10 !== l && o[l] <= a; ++l) - r += .1; - var l = r + (a - o[--l]) / (o[l + 1] - o[l]) * .1 - , h = 3 * (1 - 3 * n + 3 * e) * l * l + 2 * (3 * n - 6 * e) * l + 3 * e; - if (.001 <= h) { - for (r = 0; 4 > r && 0 != (h = 3 * (1 - 3 * n + 3 * e) * l * l + 2 * (3 * n - 6 * e) * l + 3 * e); ++r) - var d = t(l, e, n) - a - , l = l - d / h; - a = l - } else if (0 === h) - a = l; - else { - var l = r - , r = r + .1 - , u = 0; - do { - 0 < (h = t(d = l + (r - l) / 2, e, n) - a) ? r = d : l = d - } while (1e-7 < Math.abs(h) && 10 > ++u);a = d - } - return t(a, i, s) - } - } - } - }(), D = function() { - function t(t, e) { - return 0 === t || 1 === t ? t : -Math.pow(2, 10 * (t - 1)) * Math.sin(2 * (t - 1 - e / (2 * Math.PI) * Math.asin(1)) * Math.PI / e) - } - var e, i = "Quad Cubic Quart Quint Sine Expo Circ Back Elastic".split(" "), n = { - In: [[.55, .085, .68, .53], [.55, .055, .675, .19], [.895, .03, .685, .22], [.755, .05, .855, .06], [.47, 0, .745, .715], [.95, .05, .795, .035], [.6, .04, .98, .335], [.6, -.28, .735, .045], t], - Out: [[.25, .46, .45, .94], [.215, .61, .355, 1], [.165, .84, .44, 1], [.23, 1, .32, 1], [.39, .575, .565, 1], [.19, 1, .22, 1], [.075, .82, .165, 1], [.175, .885, .32, 1.275], function(e, i) { - return 1 - t(1 - e, i) - } - ], - InOut: [[.455, .03, .515, .955], [.645, .045, .355, 1], [.77, 0, .175, 1], [.86, 0, .07, 1], [.445, .05, .55, .95], [1, 0, 0, 1], [.785, .135, .15, .86], [.68, -.55, .265, 1.55], function(e, i) { - return .5 > e ? t(2 * e, i) / 2 : 1 - t(-2 * e + 2, i) / 2 - } - ] - }, s = { - linear: $(.25, .25, .75, .75) - }, o = {}; - for (e in n) - o.type = e, - n[o.type].forEach(function(t) { - return function(e, n) { - s["ease" + t.type + i[n]] = O.fnc(e) ? e : $.apply($jscomp$this, e) - } - }(o)), - o = { - type: o.type - }; - return s - }(), B = { - css: function(t, e, i) { - return t.style[e] = i - }, - attribute: function(t, e, i) { - return t.setAttribute(e, i) - }, - object: function(t, e, i) { - return t[e] = i - }, - transform: function(t, e, i, n, s) { - n[s] || (n[s] = []), - n[s].push(e + "(" + i + ")") - } - }, I = [], S = 0, A = function() { - function t() { - S = requestAnimationFrame(e) - } - function e(e) { - var i = I.length; - if (i) { - for (var n = 0; n < i; ) - I[n] && I[n].tick(e), - n++; - t() - } else - cancelAnimationFrame(S), - S = 0 - } - return t - }(); - return E.version = "2.2.0", - E.speed = 1, - E.running = I, - E.remove = function(t) { - t = y(t); - for (var e = I.length; e--; ) - for (var i = I[e], n = i.animations, o = n.length; o--; ) - s(t, n[o].animatable.target) && (n.splice(o, 1), - n.length || i.pause()) - } - , - E.getValue = c, - E.path = function(e, i) { - var n = O.str(e) ? t(e)[0] : e - , s = i || 100; - return function(t) { - return { - el: n, - property: t, - totalLength: m(n) * (s / 100) - } - } - } - , - E.setDashoffset = function(t) { - var e = m(t); - return t.setAttribute("stroke-dasharray", e), - e - } - , - E.bezier = $, - E.easings = D, - E.timeline = function(t) { - var e = E(t); - return e.pause(), - e.duration = 0, - e.add = function(i) { - return e.children.forEach(function(t) { - t.began = !0, - t.completed = !0 - }), - n(i).forEach(function(i) { - var n = r(i, a(L, t || {})); - n.targets = n.targets || t.targets, - i = e.duration; - var s = n.offset; - n.autoplay = !1, - n.direction = e.direction, - n.offset = O.und(s) ? i : p(s, i), - e.began = !0, - e.completed = !0, - e.seek(n.offset), - (n = E(n)).began = !0, - n.completed = !0, - n.duration > i && (e.duration = n.duration), - e.children.push(n) - }), - e.seek(0), - e.reset(), - e.autoplay && e.restart(), - e - } - , - e - } - , - E.random = function(t, e) { - return Math.floor(Math.random() * (e - t + 1)) + t - } - , - E -}(), -function(t, e) { - "use strict"; - var i = { - accordion: !0, - onOpenStart: void 0, - onOpenEnd: void 0, - onCloseStart: void 0, - onCloseEnd: void 0, - inDuration: 300, - outDuration: 300 - } - , n = function(n) { - _inherits(s, Component); - function s(e, i) { - _classCallCheck(this, s); - var n = _possibleConstructorReturn(this, (s.__proto__ || Object.getPrototypeOf(s)).call(this, s, e, i)); - n.el.M_Collapsible = n, - n.options = t.extend({}, s.defaults, i), - n._setupEventHandlers(); - var o = n.$el.children("li.active").children(".collapsible-body"); - return n.options.accordion ? o.first().css("display", "block") : o.css("display", "block"), - n - } - return _createClass(s, [{ - key: "destroy", - value: function() { - this._removeEventHandlers(), - this.el.M_Collapsible = void 0 - } - }, { - key: "_setupEventHandlers", - value: function() { - this._handleCollapsibleClickBound = this._handleCollapsibleClick.bind(this), - this.el.addEventListener("click", this._handleCollapsibleClickBound) - } - }, { - key: "_removeEventHandlers", - value: function() { - this.el.removeEventListener("click", this._handleCollapsibleClickBound) - } - }, { - key: "_handleCollapsibleClick", - value: function(e) { - var i = t(e.target).closest(".collapsible-header"); - if (e.target && i.length) { - var n = i.closest(".collapsible"); - if (n[0] === this.el) { - var s = i.closest("li") - , o = n.children("li") - , a = s[0].classList.contains("active") - , r = o.index(s); - a ? this.close(r) : this.open(r) - } - } - } - }, { - key: "_animateIn", - value: function(t) { - var i = this - , n = this.$el.children("li").eq(t); - if (n.length) { - var s = n.children(".collapsible-body"); - e.remove(s[0]), - s.css({ - display: "block", - overflow: "hidden", - height: 0, - paddingTop: "", - paddingBottom: "" - }); - var o = s.css("padding-top") - , a = s.css("padding-bottom") - , r = s[0].scrollHeight; - s.css({ - paddingTop: 0, - paddingBottom: 0 - }), - e({ - targets: s[0], - height: r, - paddingTop: o, - paddingBottom: a, - duration: this.options.inDuration, - easing: "easeInOutCubic", - complete: function(t) { - s.css({ - overflow: "", - paddingTop: "", - paddingBottom: "", - height: "" - }), - "function" == typeof i.options.onOpenEnd && i.options.onOpenEnd.call(i, n[0]) - } - }) - } - } - }, { - key: "_animateOut", - value: function(t) { - var i = this - , n = this.$el.children("li").eq(t); - if (n.length) { - var s = n.children(".collapsible-body"); - e.remove(s[0]), - s.css("overflow", "hidden"), - e({ - targets: s[0], - height: 0, - paddingTop: 0, - paddingBottom: 0, - duration: this.options.outDuration, - easing: "easeInOutCubic", - complete: function() { - s.css({ - height: "", - overflow: "", - padding: "", - display: "" - }), - "function" == typeof i.options.onCloseEnd && i.options.onCloseEnd.call(i, n[0]) - } - }) - } - } - }, { - key: "open", - value: function(e) { - var i = this - , n = this.$el.children("li").eq(e); - if (n.length && !n[0].classList.contains("active")) { - if ("function" == typeof this.options.onOpenStart && this.options.onOpenStart.call(this, n[0]), - this.options.accordion) { - var s = this.$el.children("li"); - this.$el.children("li.active").each(function(e) { - var n = s.index(t(e)); - i.close(n) - }) - } - n[0].classList.add("active"), - this._animateIn(e) - } - } - }, { - key: "close", - value: function(t) { - var e = this.$el.children("li").eq(t); - e.length && e[0].classList.contains("active") && ("function" == typeof this.options.onCloseStart && this.options.onCloseStart.call(this, e[0]), - e[0].classList.remove("active"), - this._animateOut(t)) - } - }], [{ - key: "init", - value: function(t, e) { - return _get(s.__proto__ || Object.getPrototypeOf(s), "init", this).call(this, this, t, e) - } - }, { - key: "getInstance", - value: function(t) { - return (t.jquery ? t[0] : t).M_Collapsible - } - }, { - key: "defaults", - get: function() { - return i - } - }]), - s - }(); - M.Collapsible = n, - M.jQueryLoaded && M.initializeJqueryWrapper(n, "collapsible", "M_Collapsible") -}(cash, M.anime), -function(t, e) { - "use strict"; - var i = { - alignment: "left", - constrainWidth: !0, - coverTrigger: !0, - closeOnClick: !0, - hover: !1, - inDuration: 150, - outDuration: 250, - onOpenStart: null, - onOpenEnd: null, - onCloseStart: null, - onCloseEnd: null - } - , n = function(n) { - _inherits(s, Component); - function s(e, i) { - _classCallCheck(this, s); - var n = _possibleConstructorReturn(this, (s.__proto__ || Object.getPrototypeOf(s)).call(this, s, e, i)); - return n.el.M_Dropdown = n, - s._dropdowns.push(n), - n.id = M.getIdFromTrigger(e), - n.dropdownEl = document.getElementById(n.id), - n.$dropdownEl = t(n.dropdownEl), - n.options = t.extend({}, s.defaults, i), - n.isOpen = !1, - n.focusedIndex = -1, - n.filterQuery = [], - n.$el.after(n.dropdownEl), - n._makeDropdownFocusable(), - n._resetFilterQueryBound = n._resetFilterQuery.bind(n), - n._handleDocumentClickBound = n._handleDocumentClick.bind(n), - n._handleDropdownKeydownBound = n._handleDropdownKeydown.bind(n), - n._handleTriggerKeydownBound = n._handleTriggerKeydown.bind(n), - n._setupEventHandlers(), - n - } - return _createClass(s, [{ - key: "destroy", - value: function() { - this._resetDropdownStyles(), - this._removeEventHandlers(), - s._dropdowns.splice(s._dropdowns.indexOf(this), 1), - this.el.M_Dropdown = void 0 - } - }, { - key: "_setupEventHandlers", - value: function() { - this.el.addEventListener("keydown", this._handleTriggerKeydownBound), - this.options.hover ? (this._handleMouseEnterBound = this._handleMouseEnter.bind(this), - this.el.addEventListener("mouseenter", this._handleMouseEnterBound), - this._handleMouseLeaveBound = this._handleMouseLeave.bind(this), - this.el.addEventListener("mouseleave", this._handleMouseLeaveBound), - this.dropdownEl.addEventListener("mouseleave", this._handleMouseLeaveBound)) : (this._handleClickBound = this._handleClick.bind(this), - this.el.addEventListener("click", this._handleClickBound)) - } - }, { - key: "_removeEventHandlers", - value: function() { - this.el.removeEventListener("keydown", this._handleTriggerKeydownBound), - this.options.hover ? (this.el.removeEventHandlers("mouseenter", this._handleMouseEnterBound), - this.el.removeEventHandlers("mouseleave", this._handleMouseLeaveBound), - this.dropdownEl.removeEventHandlers("mouseleave", this._handleMouseLeaveBound)) : this.el.removeEventListener("click", this._handleClickBound) - } - }, { - key: "_setupTemporaryEventHandlers", - value: function() { - document.body.addEventListener("click", this._handleDocumentClickBound, !0), - this.dropdownEl.addEventListener("keydown", this._handleDropdownKeydownBound) - } - }, { - key: "_removeTemporaryEventHandlers", - value: function() { - document.body.removeEventListener("click", this._handleDocumentClickBound, !0), - this.dropdownEl.removeEventListener("keydown", this._handleDropdownKeydownBound) - } - }, { - key: "_handleClick", - value: function(t) { - t.preventDefault(), - this.open() - } - }, { - key: "_handleMouseEnter", - value: function() { - this.open() - } - }, { - key: "_handleMouseLeave", - value: function(e) { - var i = e.toElement || e.relatedTarget - , n = !!t(i).closest(".dropdown-content").length - , s = !1 - , o = t(i).closest(".dropdown-trigger"); - o.length && o[0].M_Dropdown && o[0].M_Dropdown.isOpen && (s = !0), - s || n || this.close() - } - }, { - key: "_handleDocumentClick", - value: function(e) { - var i = this - , n = t(e.target); - this.options.closeOnClick && n.closest(".dropdown-content").length ? setTimeout(function() { - i.close() - }, 0) : n.closest(".dropdown-trigger").length ? setTimeout(function() { - i.close() - }, 0) : n.closest(".dropdown-content").length || setTimeout(function() { - i.close() - }, 0) - } - }, { - key: "_handleTriggerKeydown", - value: function(t) { - t.which !== M.keys.ARROW_DOWN && t.which !== M.keys.ENTER || this.isOpen || (t.preventDefault(), - this.open()) - } - }, { - key: "_handleDropdownKeydown", - value: function(e) { - if (e.which === M.keys.TAB) - e.preventDefault(), - this.close(); - else if (e.which !== M.keys.ARROW_DOWN && e.which !== M.keys.ARROW_UP || !this.isOpen) - if (e.which === M.keys.ENTER && this.isOpen) { - var i = this.dropdownEl.children[this.focusedIndex] - , n = t(i).find("a, button").first(); - n.length ? n[0].click() : i.click() - } else - e.which === M.keys.ESC && this.isOpen && (e.preventDefault(), - this.close()); - else { - e.preventDefault(); - var s = e.which === M.keys.ARROW_DOWN ? 1 : -1; - this.focusedIndex = Math.max(Math.min(this.focusedIndex + s, this.dropdownEl.children.length - 1), 0), - this._focusFocusedItem() - } - var o = String.fromCharCode(e.which).toLowerCase(); - if (o && -1 === [9, 13, 27, 38, 40].indexOf(e.which)) { - this.filterQuery.push(o); - var a = this.filterQuery.join("") - , r = t(this.dropdownEl).find("li").filter(function(e) { - return 0 === t(e).text().toLowerCase().indexOf(a) - })[0]; - r && (this.focusedIndex = t(r).index(), - this._focusFocusedItem()) - } - this.filterTimeout = setTimeout(this._resetFilterQueryBound, 1e3) - } - }, { - key: "_resetFilterQuery", - value: function() { - this.filterQuery = [] - } - }, { - key: "_resetDropdownStyles", - value: function() { - this.$dropdownEl.css({ - display: "", - width: "", - height: "", - left: "", - top: "", - "transform-origin": "", - transform: "", - opacity: "" - }) - } - }, { - key: "_makeDropdownFocusable", - value: function() { - -1 === this.dropdownEl.tabIndex && (this.dropdownEl.tabIndex = 0), - t(this.dropdownEl).children().attr("tabindex", 0) - } - }, { - key: "_focusFocusedItem", - value: function() { - this.focusedIndex >= 0 && this.focusedIndex < this.dropdownEl.children.length && this.dropdownEl.children[this.focusedIndex].focus() - } - }, { - key: "_getDropdownPosition", - value: function() { - this.el.offsetParent.getBoundingClientRect(); - var t = { - left: this.el.offsetLeft, - top: this.el.offsetTop, - width: this.el.offsetWidth, - height: this.el.offsetHeight - } - , e = (this.dropdownEl.offsetLeft, - this.dropdownEl.offsetTop, - this.dropdownEl.offsetWidth, - this.dropdownEl.offsetHeight, - this.el.getBoundingClientRect()) - , i = this.dropdownEl.getBoundingClientRect() - , n = i.height - , s = i.width - , o = t.left - , a = t.top - , r = { - left: o, - top: a, - height: n, - width: s - } - , l = this.dropdownEl.offsetParent - , h = M.checkPossibleAlignments(this.el, l, r, this.options.coverTrigger ? 0 : e.height) - , d = "top" - , u = this.options.alignment; - if (a += this.options.coverTrigger ? 0 : e.height, - h.top || (h.bottom ? d = "bottom" : h.spaceOnTop > h.spaceOnBottom ? (d = "bottom", - n += h.spaceOnTop, - a -= h.spaceOnTop) : n += h.spaceOnBottom), - !h[u]) { - var c = "left" === u ? "right" : "left"; - h[c] ? u = c : h.spaceOnLeft > h.spaceOnRight ? (u = "right", - s += h.spaceOnLeft, - o -= h.spaceOnLeft) : (u = "left", - s += h.spaceOnRight) - } - return "bottom" === d && (a = a - i.height + (this.options.coverTrigger ? e.height : 0)), - "right" === u && (o = o - i.width + e.width), - { - x: o, - y: a, - verticalAlignment: d, - horizontalAlignment: u, - height: n, - width: s - } - } - }, { - key: "_animateIn", - value: function(t) { - var i = this; - this.dropdownEl.style.left = t.x + "px", - this.dropdownEl.style.top = t.y + "px", - this.dropdownEl.style.height = t.height + "px", - this.dropdownEl.style.width = t.width + "px", - this.dropdownEl.style.transformOrigin = ("left" === t.horizontalAlignment ? "0" : "100%") + " " + ("top" === t.verticalAlignment ? "0" : "100%"), - e.remove(this.dropdownEl), - e({ - targets: this.dropdownEl, - opacity: { - value: [0, 1], - easing: "easeOutQuad" - }, - scaleX: [.3, 1], - scaleY: [.3, 1], - duration: this.options.inDuration, - easing: "easeOutQuint", - complete: function(t) { - if (i.dropdownEl.focus(), - "function" == typeof i.options.onOpenEnd) { - var e = t.animatables[0].target; - i.options.onOpenEnd.call(e, i.el) - } - } - }) - } - }, { - key: "_animateOut", - value: function() { - var t = this; - e.remove(this.dropdownEl), - e({ - targets: this.dropdownEl, - opacity: { - value: 0, - easing: "easeOutQuint" - }, - scaleX: .3, - scaleY: .3, - duration: this.options.outDuration, - easing: "easeOutQuint", - complete: function(e) { - if (t._resetDropdownStyles(), - "function" == typeof t.options.onCloseEnd) { - e.animatables[0].target; - t.options.onCloseEnd.call(t, t.el) - } - } - }) - } - }, { - key: "open", - value: function() { - if (!this.isOpen) { - this.isOpen = !0, - "function" == typeof this.options.onOpenStart && this.options.onOpenStart.call(this, this.el), - this._resetDropdownStyles(), - this.dropdownEl.style.display = "block"; - var t = this.options.constrainWidth ? this.el.getBoundingClientRect().width : this.dropdownEl.getBoundingClientRect().width; - this.dropdownEl.style.width = t + "px"; - var e = this._getDropdownPosition(); - this._animateIn(e), - this._setupTemporaryEventHandlers() - } - } - }, { - key: "close", - value: function() { - this.isOpen && (this.isOpen = !1, - this.focusedIndex = -1, - "function" == typeof this.options.onCloseStart && this.options.onCloseStart.call(this, this.el), - this._animateOut(), - this._removeTemporaryEventHandlers(), - this.el.focus()) - } - }], [{ - key: "init", - value: function(t, e) { - return _get(s.__proto__ || Object.getPrototypeOf(s), "init", this).call(this, this, t, e) - } - }, { - key: "getInstance", - value: function(t) { - return (t.jquery ? t[0] : t).M_Dropdown - } - }, { - key: "defaults", - get: function() { - return i - } - }]), - s - }(); - n._dropdowns = [], - window.M.Dropdown = n, - M.jQueryLoaded && M.initializeJqueryWrapper(n, "dropdown", "M_Dropdown") -}(cash, M.anime), -function(t, e) { - "use strict"; - var i = { - opacity: .5, - inDuration: 250, - outDuration: 250, - onOpenStart: null, - onOpenEnd: null, - onCloseStart: null, - onCloseEnd: null, - dismissible: !0, - startingTop: "4%", - endingTop: "10%" - } - , n = function(n) { - _inherits(s, Component); - function s(e, i) { - _classCallCheck(this, s); - var n = _possibleConstructorReturn(this, (s.__proto__ || Object.getPrototypeOf(s)).call(this, s, e, i)); - return n.el.M_Modal = n, - n.options = t.extend({}, s.defaults, i), - n.isOpen = !1, - n.id = n.$el.attr("id"), - n._openingTrigger = void 0, - n.$overlay = t(''), - s._increment++, - s._count++, - n.$overlay[0].style.zIndex = 1e3 + 2 * s._increment, - n.el.style.zIndex = 1e3 + 2 * s._increment + 1, - n._setupEventHandlers(), - n - } - return _createClass(s, [{ - key: "destroy", - value: function() { - s._count--, - this._removeEventHandlers(), - this.el.removeAttribute("style"), - this.$overlay.remove(), - this.el.M_Modal = void 0 - } - }, { - key: "_setupEventHandlers", - value: function() { - this._handleOverlayClickBound = this._handleOverlayClick.bind(this), - this._handleModalCloseClickBound = this._handleModalCloseClick.bind(this), - 1 === s._count && document.body.addEventListener("click", this._handleTriggerClick), - this.$overlay[0].addEventListener("click", this._handleOverlayClickBound), - this.el.addEventListener("click", this._handleModalCloseClickBound) - } - }, { - key: "_removeEventHandlers", - value: function() { - 0 === s._count && document.body.removeEventListener("click", this._handleTriggerClick), - this.$overlay[0].removeEventListener("click", this._handleOverlayClickBound), - this.el.removeEventListener("click", this._handleModalCloseClickBound) - } - }, { - key: "_handleTriggerClick", - value: function(e) { - var i = t(e.target).closest(".modal-trigger"); - if (i.length) { - var n = M.getIdFromTrigger(i[0]) - , s = document.getElementById(n).M_Modal; - s && s.open(i), - e.preventDefault() - } - } - }, { - key: "_handleOverlayClick", - value: function() { - this.options.dismissible && this.close() - } - }, { - key: "_handleModalCloseClick", - value: function(e) { - t(e.target).closest(".modal-close").length && this.close() - } - }, { - key: "_handleKeydown", - value: function(t) { - 27 === t.keyCode && this.options.dismissible && this.close() - } - }, { - key: "_animateIn", - value: function() { - var i = this; - t.extend(this.el.style, { - display: "block", - opacity: 0 - }), - t.extend(this.$overlay[0].style, { - display: "block", - opacity: 0 - }), - e({ - targets: this.$overlay[0], - opacity: this.options.opacity, - duration: this.options.inDuration, - easing: "easeOutQuad" - }); - var n = { - targets: this.el, - duration: this.options.inDuration, - easing: "easeOutCubic", - complete: function() { - "function" == typeof i.options.onOpenEnd && i.options.onOpenEnd.call(i, i.el, i._openingTrigger) - } - }; - this.el.classList.contains("bottom-sheet") ? (t.extend(n, { - bottom: 0, - opacity: 1 - }), - e(n)) : (t.extend(n, { - top: [this.options.startingTop, this.options.endingTop], - opacity: 1, - scaleX: [.8, 1], - scaleY: [.8, 1] - }), - e(n)) - } - }, { - key: "_animateOut", - value: function() { - var i = this; - e({ - targets: this.$overlay[0], - opacity: 0, - duration: this.options.outDuration, - easing: "easeOutQuart" - }); - var n = { - targets: this.el, - duration: this.options.outDuration, - easing: "easeOutCubic", - complete: function() { - i.el.style.display = "none", - i.$overlay.remove(), - "function" == typeof i.options.onCloseEnd && i.options.onCloseEnd.call(i, i.el) - } - }; - this.el.classList.contains("bottom-sheet") ? (t.extend(n, { - bottom: "-100%", - opacity: 0 - }), - e(n)) : (t.extend(n, { - top: [this.options.endingTop, this.options.startingTop], - opacity: 0, - scaleX: .8, - scaleY: .8 - }), - e(n)) - } - }, { - key: "open", - value: function(t) { - if (!this.isOpen) { - this.isOpen = !0, - "function" == typeof this.options.onOpenStart && this.options.onOpenStart.call(this, this.el, this._openingTrigger); - return document.body.style.overflow = "hidden", - this.el.classList.add("open"), - this.el.insertAdjacentElement("afterend", this.$overlay[0]), - this._openingTrigger = t ? t[0] : void 0, - this.options.dismissible && (this._handleKeydownBound = this._handleKeydown.bind(this), - document.addEventListener("keydown", this._handleKeydownBound)), - e.remove(this.el), - e.remove(this.$overlay[0]), - this._animateIn(), - this - } - } - }, { - key: "close", - value: function() { - if (this.isOpen) - return this.isOpen = !1, - "function" == typeof this.options.onCloseStart && this.options.onCloseStart.call(this, this.el), - this.el.classList.remove("open"), - document.body.style.overflow = "", - this.options.dismissible && document.removeEventListener("keydown", this._handleKeydownBound), - e.remove(this.el), - e.remove(this.$overlay[0]), - this._animateOut(), - this - } - }], [{ - key: "init", - value: function(t, e) { - return _get(s.__proto__ || Object.getPrototypeOf(s), "init", this).call(this, this, t, e) - } - }, { - key: "getInstance", - value: function(t) { - return (t.jquery ? t[0] : t).M_Modal - } - }, { - key: "defaults", - get: function() { - return i - } - }]), - s - }(); - n._increment = 0, - n._count = 0, - M.Modal = n, - M.jQueryLoaded && M.initializeJqueryWrapper(n, "modal", "M_Modal") -}(cash, M.anime), -function(t, e) { - "use strict"; - var i = { - inDuration: 275, - outDuration: 200, - onOpenStart: null, - onOpenEnd: null, - onCloseStart: null, - onCloseEnd: null - } - , n = function(n) { - _inherits(s, Component); - function s(e, i) { - _classCallCheck(this, s); - var n = _possibleConstructorReturn(this, (s.__proto__ || Object.getPrototypeOf(s)).call(this, s, e, i)); - return n.el.M_Materialbox = n, - n.options = t.extend({}, s.defaults, i), - n.overlayActive = !1, - n.doneAnimating = !0, - n.placeholder = t("
    ").addClass("material-placeholder"), - n.originalWidth = 0, - n.originalHeight = 0, - n.originInlineStyles = n.$el.attr("style"), - n.caption = n.el.getAttribute("data-caption") || "", - n.$el.before(n.placeholder), - n.placeholder.append(n.$el), - n._setupEventHandlers(), - n - } - return _createClass(s, [{ - key: "destroy", - value: function() { - this._removeEventHandlers(), - this.el.M_Materialbox = void 0 - } - }, { - key: "_setupEventHandlers", - value: function() { - this._handleMaterialboxClickBound = this._handleMaterialboxClick.bind(this), - this.el.addEventListener("click", this._handleMaterialboxClickBound) - } - }, { - key: "removeEventHandlers", - value: function() { - this.el.removeEventListener("click", this._handleMaterialboxClickBound) - } - }, { - key: "_handleMaterialboxClick", - value: function(t) { - !1 === this.doneAnimating || this.overlayActive && this.doneAnimating ? this.close() : this.open() - } - }, { - key: "_handleWindowScroll", - value: function() { - this.overlayActive && this.close() - } - }, { - key: "_handleWindowResize", - value: function() { - this.overlayActive && this.close() - } - }, { - key: "_handleWindowEscape", - value: function(t) { - 27 === t.keyCode && this.doneAnimating && this.overlayActive && this.close() - } - }, { - key: "_makeAncestorsOverflowVisible", - value: function() { - this.ancestorsChanged = t(); - for (var e = this.placeholder[0].parentNode; null !== e && !t(e).is(document); ) { - var i = t(e); - "visible" !== i.css("overflow") && (i.css("overflow", "visible"), - void 0 === this.ancestorsChanged ? this.ancestorsChanged = i : this.ancestorsChanged = this.ancestorsChanged.add(i)), - e = e.parentNode - } - } - }, { - key: "_animateImageIn", - value: function() { - var t = this - , i = { - targets: this.el, - height: this.newHeight, - width: this.newWidth, - left: M.getDocumentScrollLeft() + this.windowWidth / 2 - this.placeholder.offset().left - this.newWidth / 2, - top: M.getDocumentScrollTop() + this.windowHeight / 2 - this.placeholder.offset().top - this.newHeight / 2, - duration: this.options.inDuration, - easing: "easeOutQuad", - complete: function() { - t.doneAnimating = !0, - "function" == typeof t.options.onOpenEnd && t.options.onOpenEnd.call(t, t.el) - } - }; - this.$el.hasClass("responsive-img") ? (i.maxWidth = this.newWidth, - i.width = [this.originalWidth, i.width]) : (i.left = [i.left, 0], - i.top = [i.top, 0]), - e(i) - } - }, { - key: "_animateImageOut", - value: function() { - var t = this - , i = { - targets: this.el, - width: this.originalWidth, - height: this.originalHeight, - left: 0, - top: 0, - duration: this.options.outDuration, - easing: "easeOutQuad", - complete: function() { - t.placeholder.css({ - height: "", - width: "", - position: "", - top: "", - left: "" - }), - t.$el.removeAttr("style"), - t.$el.attr("style", t.originInlineStyles), - t.$el.removeClass("active"), - t.doneAnimating = !0, - t.ancestorsChanged.length && t.ancestorsChanged.css("overflow", ""), - "function" == typeof t.options.onCloseEnd && t.options.onCloseEnd.call(t, t.el) - } - }; - e(i) - } - }, { - key: "_updateVars", - value: function() { - this.windowWidth = window.innerWidth, - this.windowHeight = window.innerHeight, - this.caption = this.el.getAttribute("data-caption") || "" - } - }, { - key: "open", - value: function() { - var i = this; - this._updateVars(), - this.originalWidth = this.el.getBoundingClientRect().width, - this.originalHeight = this.el.getBoundingClientRect().height, - this.doneAnimating = !1, - this.$el.addClass("active"), - this.overlayActive = !0, - "function" == typeof this.options.onOpenStart && this.options.onOpenStart.call(this, this.el), - this.placeholder.css({ - width: this.placeholder[0].getBoundingClientRect().width + "px", - height: this.placeholder[0].getBoundingClientRect().height + "px", - position: "relative", - top: 0, - left: 0 - }), - this._makeAncestorsOverflowVisible(), - this.$el.css({ - position: "absolute", - "z-index": 1e3, - "will-change": "left, top, width, height" - }), - this.$overlay = t('
    ').css({ - opacity: 0 - }).one("click", function() { - i.doneAnimating && i.close() - }), - this.$el.before(this.$overlay); - var n = this.$overlay[0].getBoundingClientRect(); - this.$overlay.css({ - width: this.windowWidth + "px", - height: this.windowHeight + "px", - left: -1 * n.left + "px", - top: -1 * n.top + "px" - }), - e.remove(this.el), - e.remove(this.$overlay[0]), - "" !== this.caption && e.remove(this.$photoCaption[0]), - e({ - targets: this.$overlay[0], - opacity: 1, - duration: this.options.inDuration, - easing: "easeOutQuad" - }), - "" !== this.caption && (this.$photoCaption = t('
    '), - this.$photoCaption.text(this.caption), - t("body").append(this.$photoCaption), - this.$photoCaption.css({ - display: "inline" - }), - e({ - targets: this.$photoCaption[0], - opacity: 1, - duration: this.options.inDuration, - easing: "easeOutQuad" - })); - var s = 0 - , o = this.originalWidth / this.windowWidth - , a = this.originalHeight / this.windowHeight; - this.newWidth = 0, - this.newHeight = 0, - o > a ? (s = this.originalHeight / this.originalWidth, - this.newWidth = .9 * this.windowWidth, - this.newHeight = .9 * this.windowWidth * s) : (s = this.originalWidth / this.originalHeight, - this.newWidth = .9 * this.windowHeight * s, - this.newHeight = .9 * this.windowHeight), - this._animateImageIn(), - this._handleWindowScrollBound = this._handleWindowScroll.bind(this), - this._handleWindowResizeBound = this._handleWindowResize.bind(this), - this._handleWindowEscapeBound = this._handleWindowEscape.bind(this), - window.addEventListener("scroll", this._handleWindowScrollBound), - window.addEventListener("resize", this._handleWindowResizeBound), - window.addEventListener("keyup", this._handleWindowEscapeBound) - } - }, { - key: "close", - value: function() { - var t = this; - this._updateVars(), - this.doneAnimating = !1, - "function" == typeof this.options.onCloseStart && this.options.onCloseStart.call(this, this.el), - e.remove(this.el), - e.remove(this.$overlay[0]), - "" !== this.caption && e.remove(this.$photoCaption[0]), - window.removeEventListener("scroll", this._handleWindowScrollBound), - window.removeEventListener("resize", this._handleWindowResizeBound), - window.removeEventListener("keyup", this._handleWindowEscapeBound), - e({ - targets: this.$overlay[0], - opacity: 0, - duration: this.options.outDuration, - easing: "easeOutQuad", - complete: function() { - t.overlayActive = !1, - t.$overlay.remove() - } - }), - this._animateImageOut(), - "" !== this.caption && e({ - targets: this.$photoCaption[0], - opacity: 0, - duration: this.options.outDuration, - easing: "easeOutQuad", - complete: function() { - t.$photoCaption.remove() - } - }) - } - }], [{ - key: "init", - value: function(t, e) { - return _get(s.__proto__ || Object.getPrototypeOf(s), "init", this).call(this, this, t, e) - } - }, { - key: "getInstance", - value: function(t) { - return (t.jquery ? t[0] : t).M_Materialbox - } - }, { - key: "defaults", - get: function() { - return i - } - }]), - s - }(); - M.Materialbox = n, - M.jQueryLoaded && M.initializeJqueryWrapper(n, "materialbox", "M_Materialbox") -}(cash, M.anime), -function(t) { - "use strict"; - var e = { - responsiveThreshold: 0 - } - , i = function(i) { - _inherits(n, Component); - function n(e, i) { - _classCallCheck(this, n); - var s = _possibleConstructorReturn(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, n, e, i)); - return s.el.M_Parallax = s, - s.options = t.extend({}, n.defaults, i), - s.$img = s.$el.find("img").first(), - s._enabled = window.innerWidth > s.options.responsiveThreshold, - s._updateParallax(), - s._setupEventHandlers(), - s._setupStyles(), - n._parallaxes.push(s), - s - } - return _createClass(n, [{ - key: "destroy", - value: function() { - n._parallaxes.splice(n._parallaxes.indexOf(this), 1), - this.$img[0].style.transform = "", - this._removeEventHandlers(), - this.$el[0].M_Parallax = void 0 - } - }, { - key: "_setupEventHandlers", - value: function() { - this._handleImageLoadBound = this._handleImageLoad.bind(this), - this.$img[0].addEventListener("load", this._handleImageLoadBound), - 0 === n._parallaxes.length && (n._handleScrollThrottled = M.throttle(n._handleScroll, 5), - window.addEventListener("scroll", n._handleScrollThrottled), - n._handleWindowResizeThrottled = M.throttle(n._handleWindowResize, 5), - window.addEventListener("resize", n._handleWindowResizeThrottled)) - } - }, { - key: "_removeEventHandlers", - value: function() { - this.$img[0].removeEventListener("load", this._handleImageLoadBound), - 0 === n._parallaxes.length && (window.removeEventListener("scroll", n._handleScrollThrottled), - window.removeEventListener("resize", n._handleWindowResizeThrottled)) - } - }, { - key: "_setupStyles", - value: function() { - this.$img[0].style.opacity = 1 - } - }, { - key: "_handleImageLoad", - value: function() { - this._updateParallax(), - this.$img.each(function() { - this.complete && t(this).trigger("load") - }) - } - }, { - key: "_updateParallax", - value: function() { - var t = this.$el.height() > 0 ? this.el.parentNode.offsetHeight : 500 - , e = this.$img[0].offsetHeight - t - , i = this.$el.offset().top + t - , n = this.$el.offset().top - , s = M.getDocumentScrollTop() - , o = window.innerHeight - , a = e * ((s + o - n) / (t + o)); - this._enabled ? i > s && n < s + o && (this.$img[0].style.transform = "translate3D(-50%, " + a + "px, 0)") : this.$img[0].style.transform = "" - } - }], [{ - key: "init", - value: function(t, e) { - return _get(n.__proto__ || Object.getPrototypeOf(n), "init", this).call(this, this, t, e) - } - }, { - key: "getInstance", - value: function(t) { - return (t.jquery ? t[0] : t).M_Parallax - } - }, { - key: "_handleScroll", - value: function() { - for (var t = 0; t < n._parallaxes.length; t++) { - var e = n._parallaxes[t]; - e._updateParallax.call(e) - } - } - }, { - key: "_handleWindowResize", - value: function() { - for (var t = 0; t < n._parallaxes.length; t++) { - var e = n._parallaxes[t]; - e._enabled = window.innerWidth > e.options.responsiveThreshold - } - } - }, { - key: "defaults", - get: function() { - return e - } - }]), - n - }(); - i._parallaxes = [], - M.Parallax = i, - M.jQueryLoaded && M.initializeJqueryWrapper(i, "parallax", "M_Parallax") -}(cash), -function(t, e) { - "use strict"; - var i = { - duration: 300, - onShow: null, - swipeable: !1, - responsiveThreshold: 1 / 0 - } - , n = function(n) { - _inherits(s, Component); - function s(e, i) { - _classCallCheck(this, s); - var n = _possibleConstructorReturn(this, (s.__proto__ || Object.getPrototypeOf(s)).call(this, s, e, i)); - return n.el.M_Tabs = n, - n.options = t.extend({}, s.defaults, i), - n.$tabLinks = n.$el.children("li.tab").children("a"), - n.index = 0, - n._setTabsAndTabWidth(), - n._setupActiveTabLink(), - n._createIndicator(), - n.options.swipeable ? n._setupSwipeableTabs() : n._setupNormalTabs(), - n._setupEventHandlers(), - n - } - return _createClass(s, [{ - key: "destroy", - value: function() { - this._removeEventHandlers(), - this._indicator.parentNode.removeChild(this._indicator), - this.options.swipeable ? this._teardownSwipeableTabs() : this._teardownNormalTabs(), - this.$el[0].M_Tabs = void 0 - } - }, { - key: "_setupEventHandlers", - value: function() { - this._handleWindowResizeBound = this._handleWindowResize.bind(this), - window.addEventListener("resize", this._handleWindowResizeBound), - this._handleTabClickBound = this._handleTabClick.bind(this), - this.el.addEventListener("click", this._handleTabClickBound) - } - }, { - key: "_removeEventHandlers", - value: function() { - window.removeEventListener("resize", this._handleWindowResizeBound), - this.el.removeEventListener("click", this._handleTabClickBound) - } - }, { - key: "_handleWindowResize", - value: function() { - this._setTabsAndTabWidth(), - 0 !== this.tabWidth && 0 !== this.tabsWidth && (this._indicator.style.left = this._calcLeftPos(this.$activeTabLink) + "px", - this._indicator.style.right = this._calcRightPos(this.$activeTabLink) + "px") - } - }, { - key: "_handleTabClick", - value: function(e) { - var i = this - , n = t(e.target).closest("li.tab") - , s = t(e.target).closest("a"); - if (s.length && s.parent().hasClass("tab")) - if (n.hasClass("disabled")) - e.preventDefault(); - else if (!s.attr("target")) { - this._setTabsAndTabWidth(), - this.$activeTabLink.removeClass("active"); - var o = this.$content; - this.$activeTabLink = s, - this.$content = t(M.escapeHash(s[0].hash)), - this.$tabLinks = this.$el.children("li.tab").children("a"), - this.$activeTabLink.addClass("active"); - var a = this.index; - this.index = Math.max(this.$tabLinks.index(s), 0), - this.options.swipeable ? this._tabsCarousel && this._tabsCarousel.set(this.index, function() { - "function" == typeof i.options.onShow && i.options.onShow.call(i, i.$content[0]) - }) : this.$content.length && (this.$content[0].style.display = "block", - this.$content.addClass("active"), - "function" == typeof this.options.onShow && this.options.onShow.call(this, this.$content[0]), - o.length && !o.is(this.$content) && (o[0].style.display = "none", - o.removeClass("active"))), - this._animateIndicator(a), - e.preventDefault() - } - } - }, { - key: "_createIndicator", - value: function() { - var t = this - , e = document.createElement("li"); - e.classList.add("indicator"), - this.el.appendChild(e), - this._indicator = e, - setTimeout(function() { - t._indicator.style.left = t._calcLeftPos(t.$activeTabLink) + "px", - t._indicator.style.right = t._calcRightPos(t.$activeTabLink) + "px" - }, 0) - } - }, { - key: "_setupActiveTabLink", - value: function() { - this.$activeTabLink = t(this.$tabLinks.filter('[href="' + location.hash + '"]')), - 0 === this.$activeTabLink.length && (this.$activeTabLink = this.$el.children("li.tab").children("a.active").first()), - 0 === this.$activeTabLink.length && (this.$activeTabLink = this.$el.children("li.tab").children("a").first()), - this.$tabLinks.removeClass("active"), - this.$activeTabLink[0].classList.add("active"), - this.index = Math.max(this.$tabLinks.index(this.$activeTabLink), 0), - this.$activeTabLink.length && (this.$content = t(M.escapeHash(this.$activeTabLink[0].hash)), - this.$content.addClass("active")) - } - }, { - key: "_setupSwipeableTabs", - value: function() { - var e = this; - window.innerWidth > this.options.responsiveThreshold && (this.options.swipeable = !1); - var i = t(); - this.$tabLinks.each(function(e) { - var n = t(M.escapeHash(e.hash)); - n.addClass("carousel-item"), - i = i.add(n) - }); - var n = t(''); - i.first().before(n), - n.append(i), - i[0].style.display = "", - this._tabsCarousel = M.Carousel.init(n[0], { - fullWidth: !0, - noWrap: !0, - onCycleTo: function(i) { - var n = e.index; - e.index = t(i).index(), - e.$activeTabLink.removeClass("active"), - e.$activeTabLink = e.$tabLinks.eq(e.index), - e.$activeTabLink.addClass("active"), - e._animateIndicator(n), - "function" == typeof e.options.onShow && e.options.onShow.call(e, e.$content[0]) - } - }) - } - }, { - key: "_teardownSwipeableTabs", - value: function() { - var t = this._tabsCarousel.$el; - this._tabsCarousel.destroy(), - t.after(t.children()), - t.remove() - } - }, { - key: "_setupNormalTabs", - value: function() { - this.$tabLinks.not(this.$activeTabLink).each(function(e) { - if (e.hash) { - var i = t(M.escapeHash(e.hash)); - i.length && (i[0].style.display = "none") - } - }) - } - }, { - key: "_teardownNormalTabs", - value: function() { - this.$tabLinks.each(function(e) { - if (e.hash) { - var i = t(M.escapeHash(e.hash)); - i.length && (i[0].style.display = "") - } - }) - } - }, { - key: "_setTabsAndTabWidth", - value: function() { - this.tabsWidth = this.$el.width(), - this.tabWidth = Math.max(this.tabsWidth, this.el.scrollWidth) / this.$tabLinks.length - } - }, { - key: "_calcRightPos", - value: function(t) { - return Math.ceil(this.tabsWidth - t.position().left - t[0].getBoundingClientRect().width) - } - }, { - key: "_calcLeftPos", - value: function(t) { - return Math.floor(t.position().left) - } - }, { - key: "updateTabIndicator", - value: function() { - this._animateIndicator(this.index) - } - }, { - key: "_animateIndicator", - value: function(t) { - var i = 0 - , n = 0; - this.index - t >= 0 ? i = 90 : n = 90; - var s = { - targets: this._indicator, - left: { - value: this._calcLeftPos(this.$activeTabLink), - delay: i - }, - right: { - value: this._calcRightPos(this.$activeTabLink), - delay: n - }, - duration: this.options.duration, - easing: "easeOutQuad" - }; - e.remove(this._indicator), - e(s) - } - }, { - key: "select", - value: function(t) { - var e = this.$tabLinks.filter('[href="#' + t + '"]'); - e.length && e.trigger("click") - } - }], [{ - key: "init", - value: function(t, e) { - return _get(s.__proto__ || Object.getPrototypeOf(s), "init", this).call(this, this, t, e) - } - }, { - key: "getInstance", - value: function(t) { - return (t.jquery ? t[0] : t).M_Tabs - } - }, { - key: "defaults", - get: function() { - return i - } - }]), - s - }(); - window.M.Tabs = n, - M.jQueryLoaded && M.initializeJqueryWrapper(n, "tabs", "M_Tabs") -}(cash, M.anime), -function(t, e) { - "use strict"; - var i = { - exitDelay: 200, - enterDelay: 0, - html: null, - margin: 5, - inDuration: 250, - outDuration: 200, - position: "bottom", - transitionMovement: 10 - } - , n = function(n) { - _inherits(s, Component); - function s(e, i) { - _classCallCheck(this, s); - var n = _possibleConstructorReturn(this, (s.__proto__ || Object.getPrototypeOf(s)).call(this, s, e, i)); - return n.el.M_Tooltip = n, - n.options = t.extend({}, s.defaults, i), - n.isOpen = !1, - n.isHovered = !1, - n._appendTooltipEl(), - n._setupEventHandlers(), - n - } - return _createClass(s, [{ - key: "destroy", - value: function() { - t(this.tooltipEl).remove(), - this._removeEventHandlers(), - this.$el[0].M_Tooltip = void 0 - } - }, { - key: "_appendTooltipEl", - value: function() { - var t = document.createElement("div"); - t.classList.add("material-tooltip"), - this.tooltipEl = t; - var e = document.createElement("div"); - e.classList.add("tooltip-content"), - e.innerHTML = this.options.html, - t.appendChild(e), - document.body.appendChild(t) - } - }, { - key: "_updateTooltipContent", - value: function() { - this.tooltipEl.querySelector(".tooltip-content").innerHTML = this.options.html - } - }, { - key: "_setupEventHandlers", - value: function() { - this.handleMouseEnterBound = this._handleMouseEnter.bind(this), - this.handleMouseLeaveBound = this._handleMouseLeave.bind(this), - this.$el[0].addEventListener("mouseenter", this.handleMouseEnterBound), - this.$el[0].addEventListener("mouseleave", this.handleMouseLeaveBound) - } - }, { - key: "_removeEventHandlers", - value: function() { - this.$el[0].removeEventListener("mouseenter", this.handleMouseEnterBound), - this.$el[0].removeEventListener("mouseleave", this.handleMouseLeaveBound) - } - }, { - key: "open", - value: function() { - this.isOpen || (this.isOpen = !0, - this.options = t.extend({}, this.options, this._getAttributeOptions()), - this._updateTooltipContent(), - this._setEnterDelayTimeout()) - } - }, { - key: "close", - value: function() { - this.isOpen && (this.isOpen = !1, - this._setExitDelayTimeout()) - } - }, { - key: "_setExitDelayTimeout", - value: function() { - var t = this; - clearTimeout(this._exitDelayTimeout), - this._exitDelayTimeout = setTimeout(function() { - t.isHovered || t._animateOut() - }, this.options.exitDelay) - } - }, { - key: "_setEnterDelayTimeout", - value: function() { - var t = this; - clearTimeout(this._enterDelayTimeout), - this._enterDelayTimeout = setTimeout(function() { - t.isHovered && t._animateIn() - }, this.options.enterDelay) - } - }, { - key: "_positionTooltip", - value: function() { - var e = this.$el[0] - , i = this.tooltipEl - , n = e.offsetHeight - , s = e.offsetWidth - , o = i.offsetHeight - , a = i.offsetWidth - , r = void 0 - , l = this.options.margin - , h = void 0 - , d = void 0; - this.xMovement = 0, - this.yMovement = 0, - h = e.getBoundingClientRect().top + M.getDocumentScrollTop(), - d = e.getBoundingClientRect().left + M.getDocumentScrollLeft(), - "top" === this.options.position ? (h += -o - l, - d += s / 2 - a / 2, - this.yMovement = -this.options.transitionMovement) : "right" === this.options.position ? (h += n / 2 - o / 2, - d += s + l, - this.xMovement = this.options.transitionMovement) : "left" === this.options.position ? (h += n / 2 - o / 2, - d += -a - l, - this.xMovement = -this.options.transitionMovement) : (h += n + l, - d += s / 2 - a / 2, - this.yMovement = this.options.transitionMovement), - r = this._repositionWithinScreen(d, h, a, o), - t(i).css({ - top: r.y + "px", - left: r.x + "px" - }) - } - }, { - key: "_repositionWithinScreen", - value: function(t, e, i, n) { - var s = M.getDocumentScrollLeft() - , o = M.getDocumentScrollTop() - , a = t - s - , r = e - o - , l = { - left: a, - top: r, - width: i, - height: n - } - , h = this.options.margin + this.options.transitionMovement - , d = M.checkWithinContainer(document.body, l, h); - return d.left ? a = h : d.right && (a -= a + i - window.innerWidth), - d.top ? r = h : d.bottom && (r -= r + n - window.innerHeight), - { - x: a + s, - y: r + o - } - } - }, { - key: "_animateIn", - value: function() { - this._positionTooltip(), - this.tooltipEl.style.visibility = "visible", - e.remove(this.tooltipEl), - e({ - targets: this.tooltipEl, - opacity: 1, - translateX: this.xMovement, - translateY: this.yMovement, - duration: this.options.inDuration, - easing: "easeOutCubic" - }) - } - }, { - key: "_animateOut", - value: function() { - e.remove(this.tooltipEl), - e({ - targets: this.tooltipEl, - opacity: 0, - translateX: 0, - translateY: 0, - duration: this.options.outDuration, - easing: "easeOutCubic" - }) - } - }, { - key: "_handleMouseEnter", - value: function() { - this.isHovered = !0, - this.open() - } - }, { - key: "_handleMouseLeave", - value: function() { - this.isHovered = !1, - this.close() - } - }, { - key: "_getAttributeOptions", - value: function() { - var t = {} - , e = this.$el[0].getAttribute("data-tooltip") - , i = this.$el[0].getAttribute("data-position"); - return e && (t.html = e), - i && (t.position = i), - t - } - }], [{ - key: "init", - value: function(t, e) { - return _get(s.__proto__ || Object.getPrototypeOf(s), "init", this).call(this, this, t, e) - } - }, { - key: "getInstance", - value: function(t) { - return (t.jquery ? t[0] : t).M_Tooltip - } - }, { - key: "defaults", - get: function() { - return i - } - }]), - s - }(); - M.Tooltip = n, - M.jQueryLoaded && M.initializeJqueryWrapper(n, "tooltip", "M_Tooltip") -}(cash, M.anime), -function(t) { - "use strict"; - var e = e || {} - , i = document.querySelectorAll.bind(document); - function n(t) { - var e = ""; - for (var i in t) - t.hasOwnProperty(i) && (e += i + ":" + t[i] + ";"); - return e - } - var s = { - duration: 750, - show: function(t, e) { - if (2 === t.button) - return !1; - var i = e || this - , o = document.createElement("div"); - o.className = "waves-ripple", - i.appendChild(o); - var a = function(t) { - var e, i, n = { - top: 0, - left: 0 - }, s = t && t.ownerDocument; - return e = s.documentElement, - void 0 !== t.getBoundingClientRect && (n = t.getBoundingClientRect()), - i = function(t) { - return null !== (e = t) && e === e.window ? t : 9 === t.nodeType && t.defaultView; - var e - }(s), - { - top: n.top + i.pageYOffset - e.clientTop, - left: n.left + i.pageXOffset - e.clientLeft - } - }(i) - , r = t.pageY - a.top - , l = t.pageX - a.left - , h = "scale(" + i.clientWidth / 100 * 10 + ")"; - "touches"in t && (r = t.touches[0].pageY - a.top, - l = t.touches[0].pageX - a.left), - o.setAttribute("data-hold", Date.now()), - o.setAttribute("data-scale", h), - o.setAttribute("data-x", l), - o.setAttribute("data-y", r); - var d = { - top: r + "px", - left: l + "px" - }; - o.className = o.className + " waves-notransition", - o.setAttribute("style", n(d)), - o.className = o.className.replace("waves-notransition", ""), - d["-webkit-transform"] = h, - d["-moz-transform"] = h, - d["-ms-transform"] = h, - d["-o-transform"] = h, - d.transform = h, - d.opacity = "1", - d["-webkit-transition-duration"] = s.duration + "ms", - d["-moz-transition-duration"] = s.duration + "ms", - d["-o-transition-duration"] = s.duration + "ms", - d["transition-duration"] = s.duration + "ms", - d["-webkit-transition-timing-function"] = "cubic-bezier(0.250, 0.460, 0.450, 0.940)", - d["-moz-transition-timing-function"] = "cubic-bezier(0.250, 0.460, 0.450, 0.940)", - d["-o-transition-timing-function"] = "cubic-bezier(0.250, 0.460, 0.450, 0.940)", - d["transition-timing-function"] = "cubic-bezier(0.250, 0.460, 0.450, 0.940)", - o.setAttribute("style", n(d)) - }, - hide: function(t) { - o.touchup(t); - var e = this - , i = (e.clientWidth, - null) - , a = e.getElementsByClassName("waves-ripple"); - if (!(a.length > 0)) - return !1; - var r = (i = a[a.length - 1]).getAttribute("data-x") - , l = i.getAttribute("data-y") - , h = i.getAttribute("data-scale") - , d = 350 - (Date.now() - Number(i.getAttribute("data-hold"))); - d < 0 && (d = 0), - setTimeout(function() { - var t = { - top: l + "px", - left: r + "px", - opacity: "0", - "-webkit-transition-duration": s.duration + "ms", - "-moz-transition-duration": s.duration + "ms", - "-o-transition-duration": s.duration + "ms", - "transition-duration": s.duration + "ms", - "-webkit-transform": h, - "-moz-transform": h, - "-ms-transform": h, - "-o-transform": h, - transform: h - }; - i.setAttribute("style", n(t)), - setTimeout(function() { - try { - e.removeChild(i) - } catch (t) { - return !1 - } - }, s.duration) - }, d) - }, - wrapInput: function(t) { - for (var e = 0; e < t.length; e++) { - var i = t[e]; - if ("input" === i.tagName.toLowerCase()) { - var n = i.parentNode; - if ("i" === n.tagName.toLowerCase() && -1 !== n.className.indexOf("waves-effect")) - continue; - var s = document.createElement("i"); - s.className = i.className + " waves-input-wrapper"; - var o = i.getAttribute("style"); - o || (o = ""), - s.setAttribute("style", o), - i.className = "waves-button-input", - i.removeAttribute("style"), - n.replaceChild(s, i), - s.appendChild(i) - } - } - } - } - , o = { - touches: 0, - allowEvent: function(t) { - var e = !0; - return "touchstart" === t.type ? o.touches += 1 : "touchend" === t.type || "touchcancel" === t.type ? setTimeout(function() { - o.touches > 0 && (o.touches -= 1) - }, 500) : "mousedown" === t.type && o.touches > 0 && (e = !1), - e - }, - touchup: function(t) { - o.allowEvent(t) - } - }; - function a(e) { - var i = function(t) { - if (!1 === o.allowEvent(t)) - return null; - for (var e = null, i = t.target || t.srcElement; null !== i.parentNode; ) { - if (!(i instanceof SVGElement) && -1 !== i.className.indexOf("waves-effect")) { - e = i; - break - } - i = i.parentNode - } - return e - }(e); - null !== i && (s.show(e, i), - "ontouchstart"in t && (i.addEventListener("touchend", s.hide, !1), - i.addEventListener("touchcancel", s.hide, !1)), - i.addEventListener("mouseup", s.hide, !1), - i.addEventListener("mouseleave", s.hide, !1), - i.addEventListener("dragend", s.hide, !1)) - } - e.displayEffect = function(e) { - "duration"in (e = e || {}) && (s.duration = e.duration), - s.wrapInput(i(".waves-effect")), - "ontouchstart"in t && document.body.addEventListener("touchstart", a, !1), - document.body.addEventListener("mousedown", a, !1) - } - , - e.attach = function(e) { - "input" === e.tagName.toLowerCase() && (s.wrapInput([e]), - e = e.parentNode), - "ontouchstart"in t && e.addEventListener("touchstart", a, !1), - e.addEventListener("mousedown", a, !1) - } - , - t.Waves = e, - document.addEventListener("DOMContentLoaded", function() { - e.displayEffect() - }, !1) -}(window), -function(t, e) { - "use strict"; - var i = { - html: "", - displayLength: 4e3, - inDuration: 300, - outDuration: 375, - classes: "", - completeCallback: null, - activationPercent: .8 - } - , n = function() { - function n(e) { - _classCallCheck(this, n), - this.options = t.extend({}, n.defaults, e), - this.message = this.options.html, - this.panning = !1, - this.timeRemaining = this.options.displayLength, - 0 === n._toasts.length && n._createContainer(), - n._toasts.push(this); - var i = this._createToast(); - i.M_Toast = this, - this.el = i, - this._animateIn(), - this._setTimer() - } - return _createClass(n, [{ - key: "_createToast", - value: function() { - var e = document.createElement("div"); - return e.classList.add("toast"), - this.options.classes.length && t(e).addClass(this.options.classes), - ("object" == typeof HTMLElement ? this.message instanceof HTMLElement : this.message && "object" == typeof this.message && null !== this.message && 1 === this.message.nodeType && "string" == typeof this.message.nodeName) ? e.appendChild(this.message) : this.message.jquery ? t(e).append(this.message[0]) : e.innerHTML = this.message, - n._container.appendChild(e), - e - } - }, { - key: "_animateIn", - value: function() { - e({ - targets: this.el, - top: 0, - opacity: 1, - duration: 300, - easing: "easeOutCubic" - }) - } - }, { - key: "_setTimer", - value: function() { - var t = this; - this.timeRemaining !== 1 / 0 && (this.counterInterval = setInterval(function() { - t.panning || (t.timeRemaining -= 20), - t.timeRemaining <= 0 && t.dismiss() - }, 20)) - } - }, { - key: "dismiss", - value: function() { - var t = this; - window.clearInterval(this.counterInterval); - var i = this.el.offsetWidth * this.options.activationPercent; - this.wasSwiped && (this.el.style.transition = "transform .05s, opacity .05s", - this.el.style.transform = "translateX(" + i + "px)", - this.el.style.opacity = 0), - e({ - targets: this.el, - opacity: 0, - marginTop: -40, - duration: this.options.outDuration, - easing: "easeOutExpo", - complete: function() { - "function" == typeof t.options.completeCallback && t.options.completeCallback(), - t.el.parentNode.removeChild(t.el), - n._toasts.splice(n._toasts.indexOf(t), 1), - 0 === n._toasts.length && n._removeContainer() - } - }) - } - }], [{ - key: "getInstance", - value: function(t) { - return (t.jquery ? t[0] : t).M_Toast - } - }, { - key: "_createContainer", - value: function() { - var t = document.createElement("div"); - t.setAttribute("id", "toast-container"), - t.addEventListener("touchstart", n._onDragStart), - t.addEventListener("touchmove", n._onDragMove), - t.addEventListener("touchend", n._onDragEnd), - t.addEventListener("mousedown", n._onDragStart), - document.addEventListener("mousemove", n._onDragMove), - document.addEventListener("mouseup", n._onDragEnd), - document.body.appendChild(t), - n._container = t - } - }, { - key: "_removeContainer", - value: function() { - document.removeEventListener("mousemove", n._onDragMove), - document.removeEventListener("mouseup", n._onDragEnd), - n._container.parentNode.removeChild(n._container), - n._container = null - } - }, { - key: "_onDragStart", - value: function(e) { - if (e.target && t(e.target).closest(".toast").length) { - var i = t(e.target).closest(".toast")[0].M_Toast; - i.panning = !0, - n._draggedToast = i, - i.el.classList.add("panning"), - i.el.style.transition = "", - i.startingXPos = n._xPos(e), - i.time = Date.now(), - i.xPos = n._xPos(e) - } - } - }, { - key: "_onDragMove", - value: function(t) { - if (n._draggedToast) { - t.preventDefault(); - var e = n._draggedToast; - e.deltaX = Math.abs(e.xPos - n._xPos(t)), - e.xPos = n._xPos(t), - e.velocityX = e.deltaX / (Date.now() - e.time), - e.time = Date.now(); - var i = e.xPos - e.startingXPos - , s = e.el.offsetWidth * e.options.activationPercent; - e.el.style.transform = "translateX(" + i + "px)", - e.el.style.opacity = 1 - Math.abs(i / s) - } - } - }, { - key: "_onDragEnd", - value: function() { - if (n._draggedToast) { - var t = n._draggedToast; - t.panning = !1, - t.el.classList.remove("panning"); - var e = t.xPos - t.startingXPos - , i = t.el.offsetWidth * t.options.activationPercent; - Math.abs(e) > i || t.velocityX > 1 ? (t.wasSwiped = !0, - t.dismiss()) : (t.el.style.transition = "transform .2s, opacity .2s", - t.el.style.transform = "", - t.el.style.opacity = ""), - n._draggedToast = null - } - } - }, { - key: "_xPos", - value: function(t) { - return t.targetTouches && t.targetTouches.length >= 1 ? t.targetTouches[0].clientX : t.clientX - } - }, { - key: "dismissAll", - value: function() { - for (var t in n._toasts) - n._toasts[t].dismiss() - } - }, { - key: "defaults", - get: function() { - return i - } - }]), - n - }(); - n._toasts = [], - n._container = null, - n._draggedToast = null, - M.Toast = n, - M.toast = function(t) { - return new n(t) - } -}(cash, M.anime), -function(t, e) { - "use strict"; - var i = { - edge: "left", - draggable: !0, - inDuration: 250, - outDuration: 200, - onOpenStart: null, - onOpenEnd: null, - onCloseStart: null, - onCloseEnd: null - } - , n = function(n) { - _inherits(s, Component); - function s(e, i) { - _classCallCheck(this, s); - var n = _possibleConstructorReturn(this, (s.__proto__ || Object.getPrototypeOf(s)).call(this, s, e, i)); - return n.el.M_Sidenav = n, - n.id = n.$el.attr("id"), - n.options = t.extend({}, s.defaults, i), - n.isOpen = !1, - n.isFixed = n.el.classList.contains("sidenav-fixed"), - n.isDragged = !1, - n._createOverlay(), - n._createDragTarget(), - n._setupEventHandlers(), - n._setupClasses(), - n._setupFixed(), - s._sidenavs.push(n), - n - } - return _createClass(s, [{ - key: "destroy", - value: function() { - this._removeEventHandlers(), - this._overlay.parentNode.removeChild(this._overlay), - this.dragTarget.parentNode.removeChild(this.dragTarget), - this.el.M_Sidenav = void 0; - var t = s._sidenavs.indexOf(this); - t >= 0 && s._sidenavs.splice(t, 1) - } - }, { - key: "_createOverlay", - value: function() { - var t = document.createElement("div"); - this._closeBound = this.close.bind(this), - t.classList.add("sidenav-overlay"), - t.addEventListener("click", this._closeBound), - document.body.appendChild(t), - this._overlay = t - } - }, { - key: "_setupEventHandlers", - value: function() { - 0 === s._sidenavs.length && document.body.addEventListener("click", this._handleTriggerClick), - this._handleDragTargetDragBound = this._handleDragTargetDrag.bind(this), - this._handleDragTargetReleaseBound = this._handleDragTargetRelease.bind(this), - this._handleCloseDragBound = this._handleCloseDrag.bind(this), - this._handleCloseReleaseBound = this._handleCloseRelease.bind(this), - this._handleCloseTriggerClickBound = this._handleCloseTriggerClick.bind(this), - this.dragTarget.addEventListener("touchmove", this._handleDragTargetDragBound), - this.dragTarget.addEventListener("touchend", this._handleDragTargetReleaseBound), - this._overlay.addEventListener("touchmove", this._handleCloseDragBound), - this._overlay.addEventListener("touchend", this._handleCloseReleaseBound), - this.el.addEventListener("touchmove", this._handleCloseDragBound), - this.el.addEventListener("touchend", this._handleCloseReleaseBound), - this.el.addEventListener("click", this._handleCloseTriggerClickBound), - this.isFixed && (this._handleWindowResizeBound = this._handleWindowResize.bind(this), - window.addEventListener("resize", this._handleWindowResizeBound)) - } - }, { - key: "_removeEventHandlers", - value: function() { - 1 === s._sidenavs.length && document.body.removeEventListener("click", this._handleTriggerClick), - this.dragTarget.removeEventListener("touchmove", this._handleDragTargetDragBound), - this.dragTarget.removeEventListener("touchend", this._handleDragTargetReleaseBound), - this._overlay.removeEventListener("touchmove", this._handleCloseDragBound), - this._overlay.removeEventListener("touchend", this._handleCloseReleaseBound), - this.el.removeEventListener("touchmove", this._handleCloseDragBound), - this.el.removeEventListener("touchend", this._handleCloseReleaseBound), - this.el.removeEventListener("click", this._handleCloseTriggerClickBound), - this.isFixed && window.removeEventListener("resize", this._handleWindowResizeBound) - } - }, { - key: "_handleTriggerClick", - value: function(e) { - var i = t(e.target).closest(".sidenav-trigger"); - if (e.target && i.length) { - var n = M.getIdFromTrigger(i[0]) - , s = document.getElementById(n).M_Sidenav; - s && s.open(i), - e.preventDefault() - } - } - }, { - key: "_startDrag", - value: function(t) { - var i = t.targetTouches[0].clientX; - this.isDragged = !0, - this._startingXpos = i, - this._xPos = this._startingXpos, - this._time = Date.now(), - this._width = this.el.getBoundingClientRect().width, - this._overlay.style.display = "block", - e.remove(this.el), - e.remove(this._overlay) - } - }, { - key: "_dragMoveUpdate", - value: function(t) { - var e = t.targetTouches[0].clientX; - this.deltaX = Math.abs(this._xPos - e), - this._xPos = e, - this.velocityX = this.deltaX / (Date.now() - this._time), - this._time = Date.now() - } - }, { - key: "_handleDragTargetDrag", - value: function(t) { - this.isDragged || this._startDrag(t), - this._dragMoveUpdate(t); - var e = this._xPos - this._startingXpos - , i = e > 0 ? "right" : "left"; - e = Math.min(this._width, Math.abs(e)), - this.options.edge === i && (e = 0); - var n = e - , s = "translateX(-100%)"; - "right" === this.options.edge && (s = "translateX(100%)", - n = -n), - this.percentOpen = Math.min(1, e / this._width), - this.el.style.transform = s + " translateX(" + n + "px)", - this._overlay.style.opacity = this.percentOpen - } - }, { - key: "_handleDragTargetRelease", - value: function() { - this.isDragged && (this.percentOpen > .5 ? this.open() : this._animateOut(), - this.isDragged = !1) - } - }, { - key: "_handleCloseDrag", - value: function(t) { - if (this.isOpen) { - this.isDragged || this._startDrag(t), - this._dragMoveUpdate(t); - var e = this._xPos - this._startingXpos - , i = e > 0 ? "right" : "left"; - e = Math.min(this._width, Math.abs(e)), - this.options.edge !== i && (e = 0); - var n = -e; - "right" === this.options.edge && (n = -n), - this.percentOpen = Math.min(1, 1 - e / this._width), - this.el.style.transform = "translateX(" + n + "px)", - this._overlay.style.opacity = this.percentOpen - } - } - }, { - key: "_handleCloseRelease", - value: function() { - this.isOpen && this.isDragged && (this.percentOpen > .5 ? this._animateIn() : this.close(), - this.isDragged = !1) - } - }, { - key: "_handleCloseTriggerClick", - value: function(e) { - t(e.target).closest(".sidenav-close").length && this.close() - } - }, { - key: "_handleWindowResize", - value: function() { - window.innerWidth > 992 ? this.open() : this.close() - } - }, { - key: "_setupClasses", - value: function() { - "right" === this.options.edge && (this.el.classList.add("right-aligned"), - this.dragTarget.classList.add("right-aligned")) - } - }, { - key: "_removeClasses", - value: function() { - this.el.classList.remove("right-aligned"), - this.dragTarget.classList.remove("right-aligned") - } - }, { - key: "_setupFixed", - value: function() { - this.isFixed && window.innerWidth > 992 && this.open() - } - }, { - key: "_createDragTarget", - value: function() { - var t = document.createElement("div"); - t.classList.add("drag-target"), - document.body.appendChild(t), - this.dragTarget = t - } - }, { - key: "_preventBodyScrolling", - value: function() { - document.body.style.overflow = "hidden" - } - }, { - key: "_enableBodyScrolling", - value: function() { - document.body.style.overflow = "" - } - }, { - key: "open", - value: function() { - !0 !== this.isOpen && (this.isOpen = !0, - "function" == typeof this.options.onOpenStart && this.options.onOpenStart.call(this, this.el), - this.isFixed && window.innerWidth > 992 ? (e.remove(this.el), - e({ - targets: this.el, - translateX: 0, - duration: 0, - easing: "easeOutQuad" - }), - this._enableBodyScrolling(), - this._overlay.style.display = "none") : (this._preventBodyScrolling(), - this.isDragged && 1 == this.percentOpen || this._animateIn())) - } - }, { - key: "close", - value: function() { - if (!1 !== this.isOpen) - if (this.isOpen = !1, - "function" == typeof this.options.onCloseStart && this.options.onCloseStart.call(this, this.el), - this.isFixed && window.innerWidth > 992) { - var t = "left" === this.options.edge ? "-105%" : "105%"; - this.el.style.transform = "translateX(" + t + ")" - } else - this._enableBodyScrolling(), - this.isDragged && 0 == this.percentOpen ? this._overlay.style.display = "none" : this._animateOut() - } - }, { - key: "_animateIn", - value: function() { - this._animateSidenavIn(), - this._animateOverlayIn() - } - }, { - key: "_animateSidenavIn", - value: function() { - var t = this - , i = "left" === this.options.edge ? -1 : 1; - this.isDragged && (i = "left" === this.options.edge ? i + this.percentOpen : i - this.percentOpen), - e.remove(this.el), - e({ - targets: this.el, - translateX: [100 * i + "%", 0], - duration: this.options.inDuration, - easing: "easeOutQuad", - complete: function() { - "function" == typeof t.options.onOpenEnd && t.options.onOpenEnd.call(t, t.el) - } - }) - } - }, { - key: "_animateOverlayIn", - value: function() { - var i = 0; - this.isDragged ? i = this.percentOpen : t(this._overlay).css({ - display: "block" - }), - e.remove(this._overlay), - e({ - targets: this._overlay, - opacity: [i, 1], - duration: this.options.inDuration, - easing: "easeOutQuad" - }) - } - }, { - key: "_animateOut", - value: function() { - this._animateSidenavOut(), - this._animateOverlayOut() - } - }, { - key: "_animateSidenavOut", - value: function() { - var t = this - , i = "left" === this.options.edge ? -1 : 1 - , n = 0; - this.isDragged && (n = "left" === this.options.edge ? i + this.percentOpen : i - this.percentOpen), - e.remove(this.el), - e({ - targets: this.el, - translateX: [100 * n + "%", 105 * i + "%"], - duration: this.options.outDuration, - easing: "easeOutQuad", - complete: function() { - "function" == typeof t.options.onCloseEnd && t.options.onCloseEnd.call(t, t.el) - } - }) - } - }, { - key: "_animateOverlayOut", - value: function() { - var i = this; - e.remove(this._overlay), - e({ - targets: this._overlay, - opacity: 0, - duration: this.options.outDuration, - easing: "easeOutQuad", - complete: function() { - t(i._overlay).css("display", "none") - } - }) - } - }], [{ - key: "init", - value: function(t, e) { - return _get(s.__proto__ || Object.getPrototypeOf(s), "init", this).call(this, this, t, e) - } - }, { - key: "getInstance", - value: function(t) { - return (t.jquery ? t[0] : t).M_Sidenav - } - }, { - key: "defaults", - get: function() { - return i - } - }]), - s - }(); - n._sidenavs = [], - window.M.Sidenav = n, - M.jQueryLoaded && M.initializeJqueryWrapper(n, "sidenav", "M_Sidenav") -}(cash, M.anime), -function(t, e) { - "use strict"; - var i = { - throttle: 100, - scrollOffset: 200, - activeClass: "active", - getActiveElement: function(t) { - return 'a[href="#' + t + '"]' - } - } - , n = function(n) { - _inherits(s, Component); - function s(e, i) { - _classCallCheck(this, s); - var n = _possibleConstructorReturn(this, (s.__proto__ || Object.getPrototypeOf(s)).call(this, s, e, i)); - return n.el.M_ScrollSpy = n, - n.options = t.extend({}, s.defaults, i), - s._elements.push(n), - s._count++, - s._increment++, - n.tickId = -1, - n.id = s._increment, - n._setupEventHandlers(), - n._handleWindowScroll(), - n - } - return _createClass(s, [{ - key: "destroy", - value: function() { - s._elements.splice(s._elements.indexOf(this), 1), - s._elementsInView.splice(s._elementsInView.indexOf(this), 1), - s._visibleElements.splice(s._visibleElements.indexOf(this.$el), 1), - s._count--, - this._removeEventHandlers(), - t(this.options.getActiveElement(this.$el.attr("id"))).removeClass(this.options.activeClass), - this.el.M_ScrollSpy = void 0 - } - }, { - key: "_setupEventHandlers", - value: function() { - var t = M.throttle(this._handleWindowScroll, 200); - this._handleThrottledResizeBound = t.bind(this), - this._handleWindowScrollBound = this._handleWindowScroll.bind(this), - 1 === s._count && (window.addEventListener("scroll", this._handleWindowScrollBound), - window.addEventListener("resize", this._handleThrottledResizeBound), - document.body.addEventListener("click", this._handleTriggerClick)) - } - }, { - key: "_removeEventHandlers", - value: function() { - 0 === s._count && (window.removeEventListener("scroll", this._handleWindowScrollBound), - window.removeEventListener("resize", this._handleThrottledResizeBound), - document.body.removeEventListener("click", this._handleTriggerClick)) - } - }, { - key: "_handleTriggerClick", - value: function(i) { - for (var n = t(i.target), o = s._elements.length - 1; o >= 0; o--) { - var a = s._elements[o]; - if (n.is('a[href="#' + a.$el.attr("id") + '"]')) { - i.preventDefault(); - var r = a.$el.offset().top + 1; - e({ - targets: [document.documentElement, document.body], - scrollTop: r - a.options.scrollOffset, - duration: 400, - easing: "easeOutCubic" - }); - break - } - } - } - }, { - key: "_handleWindowScroll", - value: function() { - s._ticks++; - for (var t = M.getDocumentScrollTop(), e = M.getDocumentScrollLeft(), i = e + window.innerWidth, n = t + window.innerHeight, o = s._findElements(t, i, n, e), a = 0; a < o.length; a++) { - var r = o[a]; - r.tickId < 0 && r._enter(), - r.tickId = s._ticks - } - for (var l = 0; l < s._elementsInView.length; l++) { - var h = s._elementsInView[l] - , d = h.tickId; - d >= 0 && d !== s._ticks && (h._exit(), - h.tickId = -1) - } - s._elementsInView = o - } - }, { - key: "_enter", - value: function() { - s._visibleElements = s._visibleElements.filter(function(t) { - return 0 != t.height() - }), - s._visibleElements[0] ? (t(this.options.getActiveElement(s._visibleElements[0].attr("id"))).removeClass(this.options.activeClass), - s._visibleElements[0][0].M_ScrollSpy && this.id < s._visibleElements[0][0].M_ScrollSpy.id ? s._visibleElements.unshift(this.$el) : s._visibleElements.push(this.$el)) : s._visibleElements.push(this.$el), - t(this.options.getActiveElement(s._visibleElements[0].attr("id"))).addClass(this.options.activeClass) - } - }, { - key: "_exit", - value: function() { - var e = this; - s._visibleElements = s._visibleElements.filter(function(t) { - return 0 != t.height() - }), - s._visibleElements[0] && (t(this.options.getActiveElement(s._visibleElements[0].attr("id"))).removeClass(this.options.activeClass), - s._visibleElements = s._visibleElements.filter(function(t) { - return t.attr("id") != e.$el.attr("id") - }), - s._visibleElements[0] && t(this.options.getActiveElement(s._visibleElements[0].attr("id"))).addClass(this.options.activeClass)) - } - }], [{ - key: "init", - value: function(t, e) { - return _get(s.__proto__ || Object.getPrototypeOf(s), "init", this).call(this, this, t, e) - } - }, { - key: "getInstance", - value: function(t) { - return (t.jquery ? t[0] : t).M_ScrollSpy - } - }, { - key: "_findElements", - value: function(t, e, i, n) { - for (var o = [], a = 0; a < s._elements.length; a++) { - var r = s._elements[a] - , l = t + r.options.scrollOffset || 200; - if (r.$el.height() > 0) { - var h = r.$el.offset().top - , d = r.$el.offset().left - , u = d + r.$el.width() - , c = h + r.$el.height(); - !(d > e || u < n || h > i || c < l) && o.push(r) - } - } - return o - } - }, { - key: "defaults", - get: function() { - return i - } - }]), - s - }(); - n._elements = [], - n._elementsInView = [], - n._visibleElements = [], - n._count = 0, - n._increment = 0, - n._ticks = 0, - M.ScrollSpy = n, - M.jQueryLoaded && M.initializeJqueryWrapper(n, "scrollSpy", "M_ScrollSpy") -}(cash, M.anime), -function(t) { - "use strict"; - var e = { - data: {}, - limit: 1 / 0, - onAutocomplete: null, - minLength: 1, - sortFunction: function(t, e, i) { - return t.indexOf(i) - e.indexOf(i) - } - } - , i = function(i) { - _inherits(n, Component); - function n(e, i) { - _classCallCheck(this, n); - var s = _possibleConstructorReturn(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, n, e, i)); - return s.el.M_Autocomplete = s, - s.options = t.extend({}, n.defaults, i), - s.isOpen = !1, - s.count = 0, - s.activeIndex = -1, - s.oldVal, - s.$inputField = s.$el.closest(".input-field"), - s.$active = t(), - s._setupDropdown(), - s._setupEventHandlers(), - s - } - return _createClass(n, [{ - key: "destroy", - value: function() { - this._removeEventHandlers(), - this._removeDropdown(), - this.el.M_Autocomplete = void 0 - } - }, { - key: "_setupEventHandlers", - value: function() { - this._handleInputBlurBound = this._handleInputBlur.bind(this), - this._handleInputKeyupAndFocusBound = this._handleInputKeyupAndFocus.bind(this), - this._handleInputKeydownBound = this._handleInputKeydown.bind(this), - this._handleContainerMousedownAndTouchstartBound = this._handleContainerMousedownAndTouchstart.bind(this), - this.el.addEventListener("blur", this._handleInputBlurBound), - this.el.addEventListener("keyup", this._handleInputKeyupAndFocusBound), - this.el.addEventListener("focus", this._handleInputKeyupAndFocusBound), - this.el.addEventListener("keydown", this._handleInputKeydownBound), - this.container.addEventListener("mousedown", this._handleContainerMousedownAndTouchstartBound), - void 0 !== window.ontouchstart && this.container.addEventListener("touchstart", this._handleContainerMousedownAndTouchstartBound) - } - }, { - key: "_removeEventHandlers", - value: function() { - this.el.removeEventListener("blur", this._handleInputBlurBound), - this.el.removeEventListener("keyup", this._handleInputKeyupAndFocusBound), - this.el.removeEventListener("focus", this._handleInputKeyupAndFocusBound), - this.el.removeEventListener("keydown", this._handleInputKeydownBound), - this.container.removeEventListener("mousedown", this._handleContainerMousedownAndTouchstartBound), - void 0 !== window.ontouchstart && this.container.removeEventListener("touchstart", this._handleContainerMousedownAndTouchstartBound) - } - }, { - key: "_setupDropdown", - value: function() { - this.container = document.createElement("ul"), - t(this.container).addClass("autocomplete-content dropdown-content"), - this.$inputField.append(this.container) - } - }, { - key: "_removeDropdown", - value: function() { - this.container.parentNode.removeChild(this.container) - } - }, { - key: "_handleInputBlur", - value: function() { - this._removeAutocomplete() - } - }, { - key: "_handleInputKeyupAndFocus", - value: function(t) { - "keyup" === t.type && (n._keydown = !1), - this.count = 0; - var e = this.el.value.toLowerCase(); - 13 !== t.keyCode && 38 !== t.keyCode && 40 !== t.keyCode && (this.oldVal !== e && (this._removeAutocomplete(), - e.length >= this.options.minLength && (this.isOpen = !0, - this._renderDropdown(this.options.data, e))), - this.oldVal = e) - } - }, { - key: "_handleInputKeydown", - value: function(e) { - n._keydown = !0; - var i = e.keyCode - , s = void 0 - , o = t(this.container).children("li").length; - 13 === i && this.activeIndex >= 0 ? (s = t(this.container).children("li").eq(this.activeIndex)).length && (this.selectOption(s), - e.preventDefault()) : 38 !== i && 40 !== i || (e.preventDefault(), - 38 === i && this.activeIndex > 0 && this.activeIndex--, - 40 === i && this.activeIndex < o - 1 && this.activeIndex++, - this.$active.removeClass("active"), - this.activeIndex >= 0 && (this.$active = t(this.container).children("li").eq(this.activeIndex), - this.$active.addClass("active"))) - } - }, { - key: "_handleContainerMousedownAndTouchstart", - value: function(e) { - var i = t(e.target).closest("li"); - this.selectOption(i) - } - }, { - key: "_highlight", - value: function(t, e) { - var i = e.find("img") - , n = e.text().toLowerCase().indexOf("" + t.toLowerCase()) - , s = n + t.length - 1 - , o = e.text().slice(0, n) - , a = e.text().slice(n, s + 1) - , r = e.text().slice(s + 1); - e.html("" + o + "" + a + "" + r + ""), - i.length && e.prepend(i) - } - }, { - key: "_resetCurrentElement", - value: function() { - this.activeIndex = -1, - this.$active.removeClass("active") - } - }, { - key: "_removeAutocomplete", - value: function() { - t(this.container).empty(), - this._resetCurrentElement(), - this.oldVal = null, - this.isOpen = !1 - } - }, { - key: "selectOption", - value: function(t) { - var e = t.text().trim(); - this.el.value = e, - this.$el.trigger("change"), - this._removeAutocomplete(), - "function" == typeof this.options.onAutocomplete && this.options.onAutocomplete.call(this, e) - } - }, { - key: "_renderDropdown", - value: function(e, i) { - var n = this; - this._removeAutocomplete(); - var s = []; - for (var o in e) - if (e.hasOwnProperty(o) && -1 !== o.toLowerCase().indexOf(i)) { - if (this.count >= this.options.limit) - break; - var a = { - data: e[o], - key: o - }; - s.push(a), - this.count++ - } - s.sort(function(t, e) { - return n.options.sortFunction(t.key.toLowerCase(), e.key.toLowerCase(), i.toLowerCase()) - }); - for (var r = 0; r < s.length; r++) { - var l = s[r] - , h = t("
  • "); - l.data ? h.append('' + l.key + "") : h.append("" + l.key + ""), - t(this.container).append(h), - this._highlight(i, h) - } - } - }, { - key: "updateData", - value: function(t) { - var e = this.el.value.toLowerCase(); - this.options.data = t, - this.isOpen && this._renderDropdown(t, e) - } - }], [{ - key: "init", - value: function(t, e) { - return _get(n.__proto__ || Object.getPrototypeOf(n), "init", this).call(this, this, t, e) - } - }, { - key: "getInstance", - value: function(t) { - return (t.jquery ? t[0] : t).M_Autocomplete - } - }, { - key: "defaults", - get: function() { - return e - } - }]), - n - }(); - i._keydown = !1, - M.Autocomplete = i, - M.jQueryLoaded && M.initializeJqueryWrapper(i, "autocomplete", "M_Autocomplete") -}(cash), -function(t) { - M.updateTextFields = function() { - t("input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea").each(function(e, i) { - var n = t(this); - e.value.length > 0 || t(e).is(":focus") || e.autofocus || null !== n.attr("placeholder") ? n.siblings("label").addClass("active") : e.validity ? n.siblings("label").toggleClass("active", !0 === e.validity.badInput) : n.siblings("label").removeClass("active") - }) - } - , - M.validate_field = function(t) { - var e = null !== t.attr("data-length") - , i = parseInt(t.attr("data-length")) - , n = t[0].value.length; - 0 !== n || !1 !== t[0].validity.badInput || t.is(":required") ? t.hasClass("validate") && (t.is(":valid") && e && n <= i || t.is(":valid") && !e ? (t.removeClass("invalid"), - t.addClass("valid")) : (t.removeClass("valid"), - t.addClass("invalid"))) : t.hasClass("validate") && (t.removeClass("valid"), - t.removeClass("invalid")) - } - , - M.textareaAutoResize = function(e) { - e instanceof Element && (e = t(e)); - var i = t(".hiddendiv").first(); - i.length || (i = t('
    '), - t("body").append(i)); - var n = e.css("font-family") - , s = e.css("font-size") - , o = e.css("line-height") - , a = e.css("padding-top") - , r = e.css("padding-right") - , l = e.css("padding-bottom") - , h = e.css("padding-left"); - s && i.css("font-size", s), - n && i.css("font-family", n), - o && i.css("line-height", o), - a && i.css("padding-top", a), - r && i.css("padding-right", r), - l && i.css("padding-bottom", l), - h && i.css("padding-left", h), - e.data("original-height") || e.data("original-height", e.height()), - "off" === e.attr("wrap") && i.css("overflow-wrap", "normal").css("white-space", "pre"), - i.text(e[0].value + "\n"); - var d = i.html().replace(/\n/g, "
    "); - i.html(d), - "hidden" !== e.css("display") ? i.css("width", e.width() + "px") : i.css("width", t(window).width() / 2 + "px"), - e.data("original-height") <= i.innerHeight() ? e.css("height", i.innerHeight() + "px") : e[0].value.length < e.data("previous-length") && e.css("height", e.data("original-height") + "px"), - e.data("previous-length", e[0].value.length) - } - , - t(document).ready(function() { - var e = "input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], textarea"; - t(document).on("change", e, function() { - 0 === this.value.length && null === t(this).attr("placeholder") || t(this).siblings("label").addClass("active"), - M.validate_field(t(this)) - }), - t(document).ready(function() { - M.updateTextFields() - }), - t(document).on("reset", function(i) { - var n = t(i.target); - n.is("form") && (n.find(e).removeClass("valid").removeClass("invalid"), - n.find(e).each(function(e) { - this.value.length && t(this).siblings("label").removeClass("active") - }), - setTimeout(function() { - n.find("select").each(function() { - if (this.M_Select) { - var e = t(this).find("option[selected]").text(); - t(this).siblings("input.select-dropdown")[0].value = e - } - }) - }, 0)) - }), - document.addEventListener("focus", function(i) { - t(i.target).is(e) && t(i.target).siblings("label, .prefix").addClass("active") - }, !0), - document.addEventListener("blur", function(i) { - var n = t(i.target); - if (n.is(e)) { - var s = ".prefix"; - 0 === n[0].value.length && !0 !== n[0].validity.badInput && null === n.attr("placeholder") && (s += ", label"), - n.siblings(s).removeClass("active"), - M.validate_field(n) - } - }, !0); - t(document).on("keyup", "input[type=radio], input[type=checkbox]", function(e) { - if (e.which !== M.keys.TAB) - ; - else { - t(this).addClass("tabbed"); - t(this).one("blur", function(e) { - t(this).removeClass("tabbed") - }) - } - }); - var i = ".materialize-textarea"; - t(i).each(function() { - var e = t(this); - e.data("original-height", e.height()), - e.data("previous-length", this.value.length), - M.textareaAutoResize(e) - }), - t(document).on("keyup", i, function() { - M.textareaAutoResize(t(this)) - }), - t(document).on("keydown", i, function() { - M.textareaAutoResize(t(this)) - }), - t(document).on("change", '.file-field input[type="file"]', function() { - for (var e = t(this).closest(".file-field").find("input.file-path"), i = t(this)[0].files, n = [], s = 0; s < i.length; s++) - n.push(i[s].name); - e[0].value = n.join(", "), - e.trigger("change") - }) - }) -}(cash), -function(t, e) { - "use strict"; - var i = { - indicators: !0, - height: 400, - duration: 500, - interval: 6e3 - } - , n = function(n) { - _inherits(s, Component); - function s(i, n) { - _classCallCheck(this, s); - var o = _possibleConstructorReturn(this, (s.__proto__ || Object.getPrototypeOf(s)).call(this, s, i, n)); - return o.el.M_Slider = o, - o.options = t.extend({}, s.defaults, n), - o.$slider = o.$el.find(".slides"), - o.$slides = o.$slider.children("li"), - o.activeIndex = o.$slider.find(".active").index(), - -1 != o.activeIndex && (o.$active = o.$slides.eq(o.activeIndex)), - o._setSliderHeight(), - o.$slides.find(".caption").each(function(t) { - o._animateCaptionIn(t, 0) - }), - o.$slides.find("img").each(function(e) { - var i = "data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="; - t(e).attr("src") !== i && (t(e).css("background-image", 'url("' + t(e).attr("src") + '")'), - t(e).attr("src", i)) - }), - o._setupIndicators(), - o.$active ? o.$active.css("display", "block") : (o.$slides.first().addClass("active"), - e({ - targets: o.$slides.first()[0], - opacity: 1, - duration: o.options.duration, - easing: "easeOutQuad" - }), - o.activeIndex = 0, - o.$active = o.$slides.eq(o.activeIndex), - o.options.indicators && o.$indicators.eq(o.activeIndex).addClass("active")), - o.$active.find("img").each(function(t) { - e({ - targets: o.$active.find(".caption")[0], - opacity: 1, - translateX: 0, - translateY: 0, - duration: o.options.duration, - easing: "easeOutQuad" - }) - }), - o._setupEventHandlers(), - o.start(), - o - } - return _createClass(s, [{ - key: "destroy", - value: function() { - this.pause(), - this._removeIndicators(), - this._removeEventHandlers(), - this.el.M_Slider = void 0 - } - }, { - key: "_setupEventHandlers", - value: function() { - var t = this; - this._handleIntervalBound = this._handleInterval.bind(this), - this._handleIndicatorClickBound = this._handleIndicatorClick.bind(this), - this.options.indicators && this.$indicators.each(function(e) { - e.addEventListener("click", t._handleIndicatorClickBound) - }) - } - }, { - key: "_removeEventHandlers", - value: function() { - var t = this; - this.options.indicators && this.$indicators.each(function(e) { - e.removeEventListener("click", t._handleIndicatorClickBound) - }) - } - }, { - key: "_handleIndicatorClick", - value: function(e) { - var i = t(e.target).index(); - this.set(i) - } - }, { - key: "_handleInterval", - value: function() { - var t = this.$slider.find(".active").index(); - this.$slides.length === t + 1 ? t = 0 : t += 1, - this.set(t) - } - }, { - key: "_animateCaptionIn", - value: function(i, n) { - var s = { - targets: i, - opacity: 0, - duration: n, - easing: "easeOutQuad" - }; - t(i).hasClass("center-align") ? s.translateY = -100 : t(i).hasClass("right-align") ? s.translateX = 100 : t(i).hasClass("left-align") && (s.translateX = -100), - e(s) - } - }, { - key: "_setSliderHeight", - value: function() { - this.$el.hasClass("fullscreen") || (this.options.indicators ? this.$el.css("height", this.options.height + 40 + "px") : this.$el.css("height", this.options.height + "px"), - this.$slider.css("height", this.options.height + "px")) - } - }, { - key: "_setupIndicators", - value: function() { - var e = this; - this.options.indicators && (this.$indicators = t('
      '), - this.$slides.each(function(i, n) { - var s = t('
    • '); - e.$indicators.append(s[0]) - }), - this.$el.append(this.$indicators[0]), - this.$indicators = this.$indicators.children("li.indicator-item")) - } - }, { - key: "_removeIndicators", - value: function() { - this.$el.find("ul.indicators").remove() - } - }, { - key: "set", - value: function(t) { - var i = this; - if (t >= this.$slides.length ? t = 0 : t < 0 && (t = this.$slides.length - 1), - this.activeIndex != t) { - this.$active = this.$slides.eq(this.activeIndex); - var n = this.$active.find(".caption"); - this.$active.removeClass("active"), - e({ - targets: this.$active[0], - opacity: 0, - duration: this.options.duration, - easing: "easeOutQuad", - complete: function() { - i.$slides.not(".active").each(function(t) { - e({ - targets: t, - opacity: 0, - translateX: 0, - translateY: 0, - duration: 0, - easing: "easeOutQuad" - }) - }) - } - }), - this._animateCaptionIn(n[0], this.options.duration), - this.options.indicators && (this.$indicators.eq(this.activeIndex).removeClass("active"), - this.$indicators.eq(t).addClass("active")), - e({ - targets: this.$slides.eq(t)[0], - opacity: 1, - duration: this.options.duration, - easing: "easeOutQuad" - }), - e({ - targets: this.$slides.eq(t).find(".caption")[0], - opacity: 1, - translateX: 0, - translateY: 0, - duration: this.options.duration, - delay: this.options.duration, - easing: "easeOutQuad" - }), - this.$slides.eq(t).addClass("active"), - this.activeIndex = t, - this.start() - } - } - }, { - key: "pause", - value: function() { - clearInterval(this.interval) - } - }, { - key: "start", - value: function() { - clearInterval(this.interval), - this.interval = setInterval(this._handleIntervalBound, this.options.duration + this.options.interval) - } - }, { - key: "next", - value: function() { - var t = this.activeIndex + 1; - t >= this.$slides.length ? t = 0 : t < 0 && (t = this.$slides.length - 1), - this.set(t) - } - }, { - key: "prev", - value: function() { - var t = this.activeIndex - 1; - t >= this.$slides.length ? t = 0 : t < 0 && (t = this.$slides.length - 1), - this.set(t) - } - }], [{ - key: "init", - value: function(t, e) { - return _get(s.__proto__ || Object.getPrototypeOf(s), "init", this).call(this, this, t, e) - } - }, { - key: "getInstance", - value: function(t) { - return (t.jquery ? t[0] : t).M_Slider - } - }, { - key: "defaults", - get: function() { - return i - } - }]), - s - }(); - M.Slider = n, - M.jQueryLoaded && M.initializeJqueryWrapper(n, "slider", "M_Slider") -}(cash, M.anime), -function(t, e) { - t(document).on("click", ".card", function(i) { - if (t(this).children(".card-reveal").length) { - var n = t(i.target).closest(".card"); - void 0 === n.data("initialOverflow") && n.data("initialOverflow", void 0 === n.css("overflow") ? "" : n.css("overflow")); - var s = t(this).find(".card-reveal"); - t(i.target).is(t(".card-reveal .card-title")) || t(i.target).is(t(".card-reveal .card-title i")) ? e({ - targets: s[0], - translateY: 0, - duration: 225, - easing: "easeInOutQuad", - complete: function(e) { - var i = e.animatables[0].target; - t(i).css({ - display: "none" - }), - n.css("overflow", n.data("initialOverflow")) - } - }) : (t(i.target).is(t(".card .activator")) || t(i.target).is(t(".card .activator i"))) && (n.css("overflow", "hidden"), - s.css({ - display: "block" - }), - e({ - targets: s[0], - translateY: "-100%", - duration: 300, - easing: "easeInOutQuad" - })) - } - }) -}(cash, M.anime), -function(t) { - "use strict"; - var e = { - data: [], - placeholder: "", - secondaryPlaceholder: "", - autocompleteOptions: {}, - limit: 1 / 0, - onChipAdd: null, - onChipSelect: null, - onChipDelete: null - } - , i = function(i) { - _inherits(n, Component); - function n(e, i) { - _classCallCheck(this, n); - var s = _possibleConstructorReturn(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, n, e, i)); - return s.el.M_Chips = s, - s.options = t.extend({}, n.defaults, i), - s.$el.addClass("chips input-field"), - s.chipsData = [], - s.$chips = t(), - s._setupInput(), - s.hasAutocomplete = Object.keys(s.options.autocompleteOptions).length > 0, - s.$input.attr("id") || s.$input.attr("id", M.guid()), - s.options.data.length && (s.chipsData = s.options.data, - s._renderChips(s.chipsData)), - s.hasAutocomplete && s._setupAutocomplete(), - s._setPlaceholder(), - s._setupLabel(), - s._setupEventHandlers(), - s - } - return _createClass(n, [{ - key: "getData", - value: function() { - return this.chipsData - } - }, { - key: "destroy", - value: function() { - this._removeEventHandlers(), - this.$chips.remove(), - this.el.M_Chips = void 0 - } - }, { - key: "_setupEventHandlers", - value: function() { - this._handleChipClickBound = this._handleChipClick.bind(this), - this._handleInputKeydownBound = this._handleInputKeydown.bind(this), - this._handleInputFocusBound = this._handleInputFocus.bind(this), - this._handleInputBlurBound = this._handleInputBlur.bind(this), - this.el.addEventListener("click", this._handleChipClickBound), - document.addEventListener("keydown", n._handleChipsKeydown), - document.addEventListener("keyup", n._handleChipsKeyup), - this.el.addEventListener("blur", n._handleChipsBlur, !0), - this.$input[0].addEventListener("focus", this._handleInputFocusBound), - this.$input[0].addEventListener("blur", this._handleInputBlurBound), - this.$input[0].addEventListener("keydown", this._handleInputKeydownBound) - } - }, { - key: "_removeEventHandlers", - value: function() { - this.el.removeEventListener("click", this._handleChipClickBound), - document.removeEventListener("keydown", n._handleChipsKeydown), - document.removeEventListener("keyup", n._handleChipsKeyup), - this.el.removeEventListener("blur", n._handleChipsBlur, !0), - this.$input[0].removeEventListener("focus", this._handleInputFocusBound), - this.$input[0].removeEventListener("blur", this._handleInputBlurBound), - this.$input[0].removeEventListener("keydown", this._handleInputKeydownBound) - } - }, { - key: "_handleChipClick", - value: function(e) { - var i = t(e.target).closest(".chip") - , n = t(e.target).is(".close"); - if (i.length) { - var s = i.index(); - n ? (this.deleteChip(s), - this.$input[0].focus()) : this.selectChip(s) - } else - this.$input[0].focus() - } - }, { - key: "_handleInputFocus", - value: function() { - this.$el.addClass("focus") - } - }, { - key: "_handleInputBlur", - value: function() { - this.$el.removeClass("focus") - } - }, { - key: "_handleInputKeydown", - value: function(t) { - if (n._keydown = !0, - 13 === t.keyCode) { - if (this.hasAutocomplete && this.autocomplete && this.autocomplete.isOpen) - return; - t.preventDefault(), - this.addChip({ - tag: this.$input[0].value - }), - this.$input[0].value = "" - } else - 8 !== t.keyCode && 37 !== t.keyCode || "" !== this.$input[0].value || !this.chipsData.length || (t.preventDefault(), - this.selectChip(this.chipsData.length - 1)) - } - }, { - key: "_renderChip", - value: function(e) { - if (e.tag) { - var i = document.createElement("div") - , n = document.createElement("i"); - if (i.classList.add("chip"), - i.textContent = e.tag, - i.setAttribute("tabindex", 0), - t(n).addClass("material-icons close"), - n.textContent = "close", - e.image) { - var s = document.createElement("img"); - s.setAttribute("src", e.image), - i.insertBefore(s, i.firstChild) - } - return i.appendChild(n), - i - } - } - }, { - key: "_renderChips", - value: function() { - this.$chips.remove(); - for (var t = 0; t < this.chipsData.length; t++) { - var e = this._renderChip(this.chipsData[t]); - this.$el.append(e), - this.$chips.add(e) - } - this.$el.append(this.$input[0]) - } - }, { - key: "_setupAutocomplete", - value: function() { - var t = this; - this.options.autocompleteOptions.onAutocomplete = function(e) { - t.addChip({ - tag: e - }), - t.$input[0].value = "", - t.$input[0].focus() - } - , - this.autocomplete = M.Autocomplete.init(this.$input, this.options.autocompleteOptions)[0] - } - }, { - key: "_setupInput", - value: function() { - this.$input = this.$el.find("input"), - this.$input.length || (this.$input = t(""), - this.$el.append(this.$input)), - this.$input.addClass("input") - } - }, { - key: "_setupLabel", - value: function() { - this.$label = this.$el.find("label"), - this.$label.length && this.$label.setAttribute("for", this.$input.attr("id")) - } - }, { - key: "_setPlaceholder", - value: function() { - void 0 !== this.chipsData && !this.chipsData.length && this.options.placeholder ? t(this.$input).prop("placeholder", this.options.placeholder) : (void 0 === this.chipsData || this.chipsData.length) && this.options.secondaryPlaceholder && t(this.$input).prop("placeholder", this.options.secondaryPlaceholder) - } - }, { - key: "_isValid", - value: function(t) { - if (t.hasOwnProperty("tag") && "" !== t.tag) { - for (var e = !1, i = 0; i < this.chipsData.length; i++) - if (this.chipsData[i].tag === t.tag) { - e = !0; - break - } - return !e - } - return !1 - } - }, { - key: "addChip", - value: function(e) { - if (this._isValid(e) && !(this.chipsData.length >= this.options.limit)) { - var i = this._renderChip(e); - this.$chips.add(i), - this.chipsData.push(e), - t(this.$input).before(i), - this._setPlaceholder(), - "function" == typeof this.options.onChipAdd && this.options.onChipAdd.call(this, this.$el, i) - } - } - }, { - key: "deleteChip", - value: function(e) { - var i = this.$chips.eq(e); - this.$chips.eq(e).remove(), - this.$chips = this.$chips.filter(function(e) { - return t(e).index() >= 0 - }), - this.chipsData.splice(e, 1), - this._setPlaceholder(), - "function" == typeof this.options.onChipDelete && this.options.onChipDelete.call(this, this.$el, i[0]) - } - }, { - key: "selectChip", - value: function(t) { - var e = this.$chips.eq(t); - this._selectedChip = e, - e[0].focus(), - "function" == typeof this.options.onChipSelect && this.options.onChipSelect.call(this, this.$el, e[0]) - } - }], [{ - key: "init", - value: function(t, e) { - return _get(n.__proto__ || Object.getPrototypeOf(n), "init", this).call(this, this, t, e) - } - }, { - key: "getInstance", - value: function(t) { - return (t.jquery ? t[0] : t).M_Chips - } - }, { - key: "_handleChipsKeydown", - value: function(e) { - n._keydown = !0; - var i = t(e.target).closest(".chips") - , s = e.target && i.length; - if (!t(e.target).is("input, textarea") && s) { - var o = i[0].M_Chips; - if (8 === e.keyCode || 46 === e.keyCode) { - e.preventDefault(); - var a = o.chipsData.length; - if (o._selectedChip) { - var r = o._selectedChip.index(); - o.deleteChip(r), - o._selectedChip = null, - a = r - 1 - } - o.chipsData.length && o.selectChip(a) - } else if (37 === e.keyCode) { - if (o._selectedChip) { - var l = o._selectedChip.index() - 1; - if (l < 0) - return; - o.selectChip(l) - } - } else if (39 === e.keyCode && o._selectedChip) { - var h = o._selectedChip.index() + 1; - h >= o.chipsData.length ? o.$input[0].focus() : o.selectChip(h) - } - } - } - }, { - key: "_handleChipsKeyup", - value: function(t) { - n._keydown = !1 - } - }, { - key: "_handleChipsBlur", - value: function(e) { - if (!n._keydown) { - t(e.target).closest(".chips")[0].M_Chips._selectedChip = null - } - } - }, { - key: "defaults", - get: function() { - return e - } - }]), - n - }(); - i._keydown = !1, - M.Chips = i, - M.jQueryLoaded && M.initializeJqueryWrapper(i, "chips", "M_Chips"), - t(document).ready(function() { - t(document.body).on("click", ".chip .close", function() { - var e = t(this).closest(".chips"); - e.length && e[0].M_Chips || t(this).closest(".chip").remove() - }) - }) -}(cash), -function(t) { - "use strict"; - var e = { - top: 0, - bottom: 1 / 0, - offset: 0, - onPositionChange: null - } - , i = function(i) { - _inherits(n, Component); - function n(e, i) { - _classCallCheck(this, n); - var s = _possibleConstructorReturn(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, n, e, i)); - return s.el.M_Pushpin = s, - s.options = t.extend({}, n.defaults, i), - s.originalOffset = s.el.offsetTop, - n._pushpins.push(s), - s._setupEventHandlers(), - s._updatePosition(), - s - } - return _createClass(n, [{ - key: "destroy", - value: function() { - this.el.style.top = null, - this._removePinClasses(), - this._removeEventHandlers(); - var t = n._pushpins.indexOf(this); - n._pushpins.splice(t, 1) - } - }, { - key: "_setupEventHandlers", - value: function() { - document.addEventListener("scroll", n._updateElements) - } - }, { - key: "_removeEventHandlers", - value: function() { - document.removeEventListener("scroll", n._updateElements) - } - }, { - key: "_updatePosition", - value: function() { - var t = M.getDocumentScrollTop() + this.options.offset; - this.options.top <= t && this.options.bottom >= t && !this.el.classList.contains("pinned") && (this._removePinClasses(), - this.el.style.top = this.options.offset + "px", - this.el.classList.add("pinned"), - "function" == typeof this.options.onPositionChange && this.options.onPositionChange.call(this, "pinned")), - t < this.options.top && !this.el.classList.contains("pin-top") && (this._removePinClasses(), - this.el.style.top = 0, - this.el.classList.add("pin-top"), - "function" == typeof this.options.onPositionChange && this.options.onPositionChange.call(this, "pin-top")), - t > this.options.bottom && !this.el.classList.contains("pin-bottom") && (this._removePinClasses(), - this.el.classList.add("pin-bottom"), - this.el.style.top = this.options.bottom - this.originalOffset + "px", - "function" == typeof this.options.onPositionChange && this.options.onPositionChange.call(this, "pin-bottom")) - } - }, { - key: "_removePinClasses", - value: function() { - this.el.classList.remove("pin-top", "pinned", "pin-bottom") - } - }], [{ - key: "init", - value: function(t, e) { - return _get(n.__proto__ || Object.getPrototypeOf(n), "init", this).call(this, this, t, e) - } - }, { - key: "getInstance", - value: function(t) { - return (t.jquery ? t[0] : t).M_Pushpin - } - }, { - key: "_updateElements", - value: function() { - for (var t in n._pushpins) { - n._pushpins[t]._updatePosition() - } - } - }, { - key: "defaults", - get: function() { - return e - } - }]), - n - }(); - i._pushpins = [], - M.Pushpin = i, - M.jQueryLoaded && M.initializeJqueryWrapper(i, "pushpin", "M_Pushpin") -}(cash), -function(t, e) { - "use strict"; - var i = { - direction: "top", - hoverEnabled: !0, - toolbarEnabled: !1 - }; - t.fn.reverse = [].reverse; - var n = function(n) { - _inherits(s, Component); - function s(e, i) { - _classCallCheck(this, s); - var n = _possibleConstructorReturn(this, (s.__proto__ || Object.getPrototypeOf(s)).call(this, s, e, i)); - return n.el.M_FloatingActionButton = n, - n.options = t.extend({}, s.defaults, i), - n.isOpen = !1, - n.$anchor = n.$el.children("a").first(), - n.$menu = n.$el.children("ul").first(), - n.$floatingBtns = n.$el.find("ul .btn-floating"), - n.$floatingBtnsReverse = n.$el.find("ul .btn-floating").reverse(), - n.offsetY = 0, - n.offsetX = 0, - "top" === n.options.direction ? (n.$el.addClass("direction-top"), - n.offsetY = 40) : "right" === n.options.direction ? (n.$el.addClass("direction-right"), - n.offsetX = -40) : "bottom" === n.options.direction ? (n.$el.addClass("direction-bottom"), - n.offsetY = -40) : (n.$el.addClass("direction-left"), - n.offsetX = 40), - n._setupEventHandlers(), - n - } - return _createClass(s, [{ - key: "destroy", - value: function() { - this._removeEventHandlers(), - this.el.M_FloatingActionButton = void 0 - } - }, { - key: "_setupEventHandlers", - value: function() { - this._handleFABClickBound = this._handleFABClick.bind(this), - this._handleOpenBound = this.open.bind(this), - this._handleCloseBound = this.close.bind(this), - this.options.hoverEnabled && !this.options.toolbarEnabled ? (this.el.addEventListener("mouseenter", this._handleOpenBound), - this.el.addEventListener("mouseleave", this._handleCloseBound)) : this.el.addEventListener("click", this._handleFABClickBound) - } - }, { - key: "_removeEventHandlers", - value: function() { - this.options.hoverEnabled && !this.options.toolbarEnabled ? (this.el.removeEventListener("mouseenter", this._handleOpenBound), - this.el.removeEventListener("mouseleave", this._handleCloseBound)) : this.el.removeEventListener("click", this._handleFABClickBound) - } - }, { - key: "_handleFABClick", - value: function() { - this.isOpen ? this.close() : this.open() - } - }, { - key: "_handleDocumentClick", - value: function(e) { - t(e.target).closest(this.$menu).length || this.close() - } - }, { - key: "open", - value: function() { - this.isOpen || (this.options.toolbarEnabled ? this._animateInToolbar() : this._animateInFAB(), - this.isOpen = !0) - } - }, { - key: "close", - value: function() { - this.isOpen && (this.options.toolbarEnabled ? (window.removeEventListener("scroll", this._handleCloseBound, !0), - document.body.removeEventListener("click", this._handleDocumentClickBound, !0), - this._animateOutToolbar()) : this._animateOutFAB(), - this.isOpen = !1) - } - }, { - key: "_animateInFAB", - value: function() { - var t = this; - this.$el.addClass("active"); - var i = 0; - this.$floatingBtnsReverse.each(function(n) { - e({ - targets: n, - opacity: 1, - scale: [.4, 1], - translateY: [t.offsetY, 0], - translateX: [t.offsetX, 0], - duration: 275, - delay: i, - easing: "easeInOutQuad" - }), - i += 40 - }) - } - }, { - key: "_animateOutFAB", - value: function() { - var t = this; - this.$floatingBtnsReverse.each(function(i) { - e.remove(i), - e({ - targets: i, - opacity: 0, - scale: .4, - translateY: t.offsetY, - translateX: t.offsetX, - duration: 175, - easing: "easeOutQuad", - complete: function() { - t.$el.removeClass("active") - } - }) - }) - } - }, { - key: "_animateInToolbar", - value: function() { - var e = this - , i = void 0 - , n = window.innerWidth - , s = window.innerHeight - , o = this.el.getBoundingClientRect() - , a = t('
      ') - , r = this.$anchor.css("background-color"); - this.$anchor.append(a), - this.offsetX = o.left - n / 2 + o.width / 2, - this.offsetY = s - o.bottom, - i = n / a[0].clientWidth, - this.btnBottom = o.bottom, - this.btnLeft = o.left, - this.btnWidth = o.width, - this.$el.addClass("active"), - this.$el.css({ - "text-align": "center", - width: "100%", - bottom: 0, - left: 0, - transform: "translateX(" + this.offsetX + "px)", - transition: "none" - }), - this.$anchor.css({ - transform: "translateY(" + -this.offsetY + "px)", - transition: "none" - }), - a.css({ - "background-color": r - }), - setTimeout(function() { - e.$el.css({ - transform: "", - transition: "transform .2s cubic-bezier(0.550, 0.085, 0.680, 0.530), background-color 0s linear .2s" - }), - e.$anchor.css({ - overflow: "visible", - transform: "", - transition: "transform .2s" - }), - setTimeout(function() { - e.$el.css({ - overflow: "hidden", - "background-color": r - }), - a.css({ - transform: "scale(" + i + ")", - transition: "transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)" - }), - e.$menu.children("li").children("a").css({ - opacity: 1 - }), - e._handleDocumentClickBound = e._handleDocumentClick.bind(e), - window.addEventListener("scroll", e._handleCloseBound, !0), - document.body.addEventListener("click", e._handleDocumentClickBound, !0) - }, 100) - }, 0) - } - }, { - key: "_animateOutToolbar", - value: function() { - var t = this - , e = window.innerWidth - , i = window.innerHeight - , n = this.$el.find(".fab-backdrop") - , s = anchor.css("background-color"); - this.offsetX = this.btnLeft - e / 2 + this.btnWidth / 2, - this.offsetY = i - this.btnBottom, - this.$el.removeClass("active"), - this.$el.css({ - "background-color": "transparent", - transition: "none" - }), - this.$anchor.css({ - transition: "none" - }), - n.css({ - transform: "scale(0)", - "background-color": s - }), - this.$menu.children("li").children("a").css({ - opacity: "" - }), - setTimeout(function() { - n.remove(), - t.$el.css({ - "text-align": "", - width: "", - bottom: "", - left: "", - overflow: "", - "background-color": "", - transform: "translate3d(" + -t.offsetX + "px,0,0)" - }), - t.$anchor.css({ - overflow: "", - transform: "translate3d(0," + t.offsetY + "px,0)" - }), - setTimeout(function() { - t.$el.css({ - transform: "translate3d(0,0,0)", - transition: "transform .2s" - }), - t.$anchor.css({ - transform: "translate3d(0,0,0)", - transition: "transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)" - }) - }, 20) - }, 200) - } - }], [{ - key: "init", - value: function(t, e) { - return _get(s.__proto__ || Object.getPrototypeOf(s), "init", this).call(this, this, t, e) - } - }, { - key: "getInstance", - value: function(t) { - return (t.jquery ? t[0] : t).M_FloatingActionButton - } - }, { - key: "defaults", - get: function() { - return i - } - }]), - s - }(); - M.FloatingActionButton = n, - M.jQueryLoaded && M.initializeJqueryWrapper(n, "floatingActionButton", "M_FloatingActionButton") -}(cash, M.anime), -function(t) { - "use strict"; - var e = { - format: "mmm dd, yyyy", - parse: null, - defaultDate: null, - setDefaultDate: !1, - disableWeekends: !1, - disableDayFn: null, - firstDay: 0, - minDate: null, - maxDate: null, - yearRange: 10, - minYear: 0, - maxYear: 9999, - minMonth: void 0, - maxMonth: void 0, - startRange: null, - endRange: null, - isRTL: !1, - showMonthAfterYear: !1, - showDaysInNextAndPreviousMonths: !1, - container: null, - i18n: { - clear: "Clear", - today: "Today", - done: "Ok", - previousMonth: "?", - nextMonth: "?", - months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], - monthsShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], - weekdaysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], - weekdays: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], - weekdaysAbbrev: ["S", "M", "T", "W", "T", "F", "S"] - }, - events: [], - onSelect: null, - onOpen: null, - onClose: null, - onDraw: null - } - , i = function(i) { - _inherits(n, Component); - function n(e, i) { - _classCallCheck(this, n); - var s = _possibleConstructorReturn(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, n, e, i)); - s.el.M_Datepicker = s, - s.options = t.extend({}, n.defaults, i), - s.options.minDate && s.options.minDate.setHours(0, 0, 0, 0), - s.options.maxDate && s.options.maxDate.setHours(0, 0, 0, 0), - s.id = M.guid(), - s._setupVariables(), - s._insertHTMLIntoDOM(), - s._setupModal(), - s._setupEventHandlers(), - s.options.defaultDate || (s.options.defaultDate = new Date(Date.parse(s.el.value)), - s.options.setDefaultDate = !0); - var o = s.options.defaultDate; - return n._isDate(o) ? s.options.setDefaultDate ? s.setDate(o, !0) : s.gotoDate(o) : s.gotoDate(new Date), - s.isOpen = !1, - s - } - return _createClass(n, [{ - key: "destroy", - value: function() { - this._removeEventHandlers(), - this.modal.destroy(), - t(this.modalEl).remove(), - this.el.M_Datepicker = void 0 - } - }, { - key: "_insertHTMLIntoDOM", - value: function() { - this.clearBtn.innerHTML = this.options.i18n.clear, - this.todayBtn.innerHTML = this.options.i18n.today, - this.doneBtn.innerHTML = this.options.i18n.done; - var t = document.querySelector(this.options.container); - this.options.container && t ? this.$modalEl.appendTo(t) : this.$modalEl.insertBefore(this.el) - } - }, { - key: "_setupModal", - value: function() { - var t = this; - this.modalEl.id = "modal-" + this.id, - this.modal = M.Modal.init(this.modalEl, { - onCloseEnd: function() { - t.isOpen = !1 - } - }) - } - }, { - key: "toString", - value: function(t) { - var e = this; - if (t = t || this.options.format, - !n._isDate(this.date)) - return ""; - return t.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g).map(function(t) { - return e.formats[t] ? e.formats[t]() : t - }).join("") - } - }, { - key: "setDate", - value: function(t, e) { - if (!t) - return this.date = null, - this._renderDateDisplay(), - this.draw(); - if ("string" == typeof t && (t = new Date(Date.parse(t))), - n._isDate(t)) { - var i = this.options.minDate - , s = this.options.maxDate; - n._isDate(i) && t < i ? t = i : n._isDate(s) && t > s && (t = s), - this.date = new Date(t.getTime()), - this._renderDateDisplay(), - n._setToStartOfDay(this.date), - this.gotoDate(this.date), - e || "function" != typeof this.options.onSelect || this.options.onSelect.call(this, this.date) - } - } - }, { - key: "setInputValue", - value: function() { - this.el.value = this.toString(), - this.$el.trigger("change", { - firedBy: this - }) - } - }, { - key: "_renderDateDisplay", - value: function() { - var t = n._isDate(this.date) ? this.date : new Date - , e = this.options.i18n - , i = e.weekdaysShort[t.getDay()] - , s = e.monthsShort[t.getMonth()] - , o = t.getDate(); - this.yearTextEl.innerHTML = t.getFullYear(), - this.dateTextEl.innerHTML = i + ", " + s + " " + o - } - }, { - key: "gotoDate", - value: function(t) { - var e = !0; - if (n._isDate(t)) { - if (this.calendars) { - var i = new Date(this.calendars[0].year,this.calendars[0].month,1) - , s = new Date(this.calendars[this.calendars.length - 1].year,this.calendars[this.calendars.length - 1].month,1) - , o = t.getTime(); - s.setMonth(s.getMonth() + 1), - s.setDate(s.getDate() - 1), - e = o < i.getTime() || s.getTime() < o - } - e && (this.calendars = [{ - month: t.getMonth(), - year: t.getFullYear() - }]), - this.adjustCalendars() - } - } - }, { - key: "adjustCalendars", - value: function() { - this.calendars[0] = this.adjustCalendar(this.calendars[0]), - this.draw() - } - }, { - key: "adjustCalendar", - value: function(t) { - return t.month < 0 && (t.year -= Math.ceil(Math.abs(t.month) / 12), - t.month += 12), - t.month > 11 && (t.year += Math.floor(Math.abs(t.month) / 12), - t.month -= 12), - t - } - }, { - key: "nextMonth", - value: function() { - this.calendars[0].month++, - this.adjustCalendars() - } - }, { - key: "prevMonth", - value: function() { - this.calendars[0].month--, - this.adjustCalendars() - } - }, { - key: "render", - value: function(t, e, i) { - var s = this.options - , o = new Date - , a = n._getDaysInMonth(t, e) - , r = new Date(t,e,1).getDay() - , l = [] - , h = []; - n._setToStartOfDay(o), - s.firstDay > 0 && (r -= s.firstDay) < 0 && (r += 7); - for (var d = 0 === e ? 11 : e - 1, u = 11 === e ? 0 : e + 1, c = 0 === e ? t - 1 : t, p = 11 === e ? t + 1 : t, v = n._getDaysInMonth(c, d), f = a + r, m = f; m > 7; ) - m -= 7; - f += 7 - m; - for (var g = !1, _ = 0, y = 0; _ < f; _++) { - var k = new Date(t,e,_ - r + 1) - , b = !!n._isDate(this.date) && n._compareDates(k, this.date) - , w = n._compareDates(k, o) - , C = -1 !== s.events.indexOf(k.toDateString()) - , E = _ < r || _ >= a + r - , M = _ - r + 1 - , x = e - , L = t - , T = s.startRange && n._compareDates(s.startRange, k) - , O = s.endRange && n._compareDates(s.endRange, k) - , $ = s.startRange && s.endRange && s.startRange < k && k < s.endRange - , D = s.minDate && k < s.minDate || s.maxDate && k > s.maxDate || s.disableWeekends && n._isWeekend(k) || s.disableDayFn && s.disableDayFn(k); - E && (_ < r ? (M = v + M, - x = d, - L = c) : (M -= a, - x = u, - L = p)); - var B = { - day: M, - month: x, - year: L, - hasEvent: C, - isSelected: b, - isToday: w, - isDisabled: D, - isEmpty: E, - isStartRange: T, - isEndRange: O, - isInRange: $, - showDaysInNextAndPreviousMonths: s.showDaysInNextAndPreviousMonths - }; - h.push(this.renderDay(B)), - 7 == ++y && (l.push(this.renderRow(h, s.isRTL, g)), - h = [], - y = 0, - g = !1) - } - return this.renderTable(s, l, i) - } - }, { - key: "renderDay", - value: function(t) { - var e = [] - , i = "false"; - if (t.isEmpty) { - if (!t.showDaysInNextAndPreviousMonths) - return ''; - e.push("is-outside-current-month"), - e.push("is-selection-disabled") - } - return t.isDisabled && e.push("is-disabled"), - t.isToday && e.push("is-today"), - t.isSelected && (e.push("is-selected"), - i = "true"), - t.hasEvent && e.push("has-event"), - t.isInRange && e.push("is-inrange"), - t.isStartRange && e.push("is-startrange"), - t.isEndRange && e.push("is-endrange"), - '" - } - }, { - key: "renderRow", - value: function(t, e, i) { - return '' + (e ? t.reverse() : t).join("") + "" - } - }, { - key: "renderTable", - value: function(t, e, i) { - return '
      ' + this.renderHead(t) + this.renderBody(e) + "
      " - } - }, { - key: "renderHead", - value: function(t) { - var e = void 0 - , i = []; - for (e = 0; e < 7; e++) - i.push('' + this.renderDayName(t, e, !0) + ""); - return "" + (t.isRTL ? i.reverse() : i).join("") + "" - } - }, { - key: "renderBody", - value: function(t) { - return "" + t.join("") + "" - } - }, { - key: "renderTitle", - value: function(e, i, n, s, o, a) { - var r = void 0 - , l = void 0 - , h = void 0 - , d = this.options - , u = n === d.minYear - , c = n === d.maxYear - , p = '
      ' - , v = void 0 - , f = void 0 - , m = !0 - , g = !0; - for (h = [], - r = 0; r < 12; r++) - h.push('"); - for (v = '", - t.isArray(d.yearRange) ? (r = d.yearRange[0], - l = d.yearRange[1] + 1) : (r = n - d.yearRange, - l = 1 + n + d.yearRange), - h = []; r < l && r <= d.maxYear; r++) - r >= d.minYear && h.push('"); - f = '"; - p += '', - p += '
      ', - d.showMonthAfterYear ? p += f + v : p += v + f, - p += "
      ", - u && (0 === s || d.minMonth >= s) && (m = !1), - c && (11 === s || d.maxMonth <= s) && (g = !1); - return (p += '') + "
      " - } - }, { - key: "draw", - value: function(t) { - if (this.isOpen || t) { - var e = this.options - , i = e.minYear - , n = e.maxYear - , s = e.minMonth - , o = e.maxMonth - , a = "" - , r = void 0; - this._y <= i && (this._y = i, - !isNaN(s) && this._m < s && (this._m = s)), - this._y >= n && (this._y = n, - !isNaN(o) && this._m > o && (this._m = o)), - r = "pika-title-" + Math.random().toString(36).replace(/[^a-z]+/g, "").substr(0, 2); - for (var l = 0; l < 1; l++) - this._renderDateDisplay(), - a += this.renderTitle(this, l, this.calendars[l].year, this.calendars[l].month, this.calendars[0].year, r) + this.render(this.calendars[l].year, this.calendars[l].month, r); - this.calendarEl.innerHTML = a; - var h = this.calendarEl.querySelector(".pika-select-year") - , d = this.calendarEl.querySelector(".pika-select-month"); - M.Select.init(h, { - classes: "select-year" - }), - M.Select.init(d, { - classes: "select-month" - }), - h.addEventListener("change", this._handleYearChange.bind(this)), - d.addEventListener("change", this._handleMonthChange.bind(this)), - "function" == typeof this.options.onDraw && this.options.onDraw(this) - } - } - }, { - key: "_setupEventHandlers", - value: function() { - this._handleInputKeydownBound = this._handleInputKeydown.bind(this), - this._handleInputClickBound = this._handleInputClick.bind(this), - this._handleInputChangeBound = this._handleInputChange.bind(this), - this._handleCalendarClickBound = this._handleCalendarClick.bind(this), - this._finishSelectionBound = this._finishSelection.bind(this), - this._handleTodayClickBound = this._handleTodayClick.bind(this), - this._handleClearClickBound = this._handleClearClick.bind(this), - this._handleMonthChange = this._handleMonthChange.bind(this), - this.el.addEventListener("click", this._handleInputClickBound), - this.el.addEventListener("keydown", this._handleInputKeydownBound), - this.el.addEventListener("change", this._handleInputChangeBound), - this.calendarEl.addEventListener("click", this._handleCalendarClickBound), - this.doneBtn.addEventListener("click", this._finishSelectionBound), - this.todayBtn.addEventListener("click", this._handleTodayClickBound), - this.clearBtn.addEventListener("click", this._handleClearClickBound) - } - }, { - key: "_setupVariables", - value: function() { - var e = this; - this.$modalEl = t(n._template), - this.modalEl = this.$modalEl[0], - this.calendarEl = this.modalEl.querySelector(".pika-single"), - this.yearTextEl = this.modalEl.querySelector(".year-text"), - this.dateTextEl = this.modalEl.querySelector(".date-text"), - this.clearBtn = this.modalEl.querySelector(".datepicker-clear"), - this.todayBtn = this.modalEl.querySelector(".datepicker-today"), - this.doneBtn = this.modalEl.querySelector(".datepicker-done"), - this.formats = { - dd: function() { - return e.date.getDate() - }, - ddd: function() { - return e.options.i18n.weekdaysShort[e.date.getDay()] - }, - dddd: function() { - return e.options.i18n.weekdays[e.date.getDay()] - }, - mm: function() { - return e.date.getMonth() + 1 - }, - mmm: function() { - return e.options.i18n.monthsShort[e.date.getMonth()] - }, - mmmm: function() { - return e.options.i18n.monthsShort[e.date.getMonth()] - }, - yy: function() { - return e.date.getFullYear().slice(2) - }, - yyyy: function() { - return e.date.getFullYear() - } - } - } - }, { - key: "_removeEventHandlers", - value: function() { - this.el.removeEventListener("click", this._handleInputClickBound), - this.el.removeEventListener("keydown", this._handleInputKeydownBound), - this.el.removeEventListener("change", this._handleInputChangeBound), - this.calendarEl.removeEventListener("click", this._handleCalendarClickBound) - } - }, { - key: "_handleInputClick", - value: function() { - this.open() - } - }, { - key: "_handleInputKeydown", - value: function(t) { - t.which === M.keys.ENTER && (t.preventDefault(), - this.open()) - } - }, { - key: "_handleCalendarClick", - value: function(e) { - if (this.isOpen) { - var i = t(e.target); - i.hasClass("is-disabled") || (!i.hasClass("datepicker-day-button") || i.hasClass("is-empty") || i.parent().hasClass("is-disabled") ? i.closest(".month-prev").length ? this.prevMonth() : i.closest(".month-next").length && this.nextMonth() : this.setDate(new Date(e.target.getAttribute("data-pika-year"),e.target.getAttribute("data-pika-month"),e.target.getAttribute("data-pika-day")))) - } - } - }, { - key: "_handleTodayClick", - value: function() { - this.date = new Date, - this.setInputValue(), - this.close() - } - }, { - key: "_handleClearClick", - value: function() { - this.date = null, - this.setInputValue(), - this.close() - } - }, { - key: "_handleMonthChange", - value: function(t) { - this.gotoMonth(t.target.value) - } - }, { - key: "_handleYearChange", - value: function(t) { - this.gotoYear(t.target.value) - } - }, { - key: "gotoMonth", - value: function(t) { - isNaN(t) || (this.calendars[0].month = parseInt(t, 10), - this.adjustCalendars()) - } - }, { - key: "gotoYear", - value: function(t) { - isNaN(t) || (this.calendars[0].year = parseInt(t, 10), - this.adjustCalendars()) - } - }, { - key: "_handleInputChange", - value: function(t) { - var e = void 0; - t.firedBy !== this && (e = this.options.parse ? this.options.parse(this.el.value, this.options.format) : new Date(Date.parse(this.el.value)), - n._isDate(e) && this.setDate(e)) - } - }, { - key: "renderDayName", - value: function(t, e, i) { - for (e += t.firstDay; e >= 7; ) - e -= 7; - return i ? t.i18n.weekdaysAbbrev[e] : t.i18n.weekdays[e] - } - }, { - key: "_finishSelection", - value: function() { - this.setInputValue(), - this.close() - } - }, { - key: "open", - value: function() { - if (!this.isOpen) - return this.isOpen = !0, - "function" == typeof this.options.onOpen && this.options.onOpen.call(this), - this.draw(), - this.modal.open(), - this - } - }, { - key: "close", - value: function() { - if (this.isOpen) - return this.isOpen = !1, - "function" == typeof this.options.onClose && this.options.onClose.call(this), - this.modal.close(), - this - } - }], [{ - key: "init", - value: function(t, e) { - return _get(n.__proto__ || Object.getPrototypeOf(n), "init", this).call(this, this, t, e) - } - }, { - key: "_isDate", - value: function(t) { - return /Date/.test(Object.prototype.toString.call(t)) && !isNaN(t.getTime()) - } - }, { - key: "_isWeekend", - value: function(t) { - var e = t.getDay(); - return 0 === e || 6 === e - } - }, { - key: "_setToStartOfDay", - value: function(t) { - n._isDate(t) && t.setHours(0, 0, 0, 0) - } - }, { - key: "_getDaysInMonth", - value: function(t, e) { - return [31, n._isLeapYear(t) ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][e] - } - }, { - key: "_isLeapYear", - value: function(t) { - return t % 4 == 0 && t % 100 != 0 || t % 400 == 0 - } - }, { - key: "_compareDates", - value: function(t, e) { - return t.getTime() === e.getTime() - } - }, { - key: "_setToStartOfDay", - value: function(t) { - n._isDate(t) && t.setHours(0, 0, 0, 0) - } - }, { - key: "getInstance", - value: function(t) { - return (t.jquery ? t[0] : t).M_Datepicker - } - }, { - key: "defaults", - get: function() { - return e - } - }]), - n - }(); - i._template = ['"].join(""), - M.Datepicker = i, - M.jQueryLoaded && M.initializeJqueryWrapper(i, "datepicker", "M_Datepicker") -}(cash), -function(t) { - "use strict"; - var e = { - dialRadius: 135, - outerRadius: 105, - innerRadius: 70, - tickRadius: 20, - duration: 350, - container: null, - defaultTime: "now", - fromnow: 0, - doneText: "Ok", - clearText: "Clear", - cancelText: "Cancel", - autoClose: !1, - twelveHour: !0, - vibrate: !0 - } - , i = function(i) { - _inherits(n, Component); - function n(e, i) { - _classCallCheck(this, n); - var s = _possibleConstructorReturn(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, n, e, i)); - return s.el.M_Timepicker = s, - s.options = t.extend({}, n.defaults, i), - s.id = M.guid(), - s._insertHTMLIntoDOM(), - s._setupModal(), - s._setupVariables(), - s._setupEventHandlers(), - s._clockSetup(), - s._pickerSetup(), - s - } - return _createClass(n, [{ - key: "destroy", - value: function() { - this._removeEventHandlers(), - this.modal.destroy(), - t(this.modalEl).remove(), - this.el.M_Timepicker = void 0 - } - }, { - key: "_setupEventHandlers", - value: function() { - this._handleInputKeydownBound = this._handleInputKeydown.bind(this), - this._handleInputClickBound = this._handleInputClick.bind(this), - this._handleClockClickStartBound = this._handleClockClickStart.bind(this), - this._handleDocumentClickMoveBound = this._handleDocumentClickMove.bind(this), - this._handleDocumentClickEndBound = this._handleDocumentClickEnd.bind(this), - this.el.addEventListener("click", this._handleInputClickBound), - this.el.addEventListener("keydown", this._handleInputKeydownBound), - this.plate.addEventListener("mousedown", this._handleClockClickStartBound), - this.plate.addEventListener("touchstart", this._handleClockClickStartBound), - t(this.spanHours).on("click", this.showView.bind(this, "hours")), - t(this.spanMinutes).on("click", this.showView.bind(this, "minutes")) - } - }, { - key: "_removeEventHandlers", - value: function() { - this.el.removeEventListener("click", this._handleInputClickBound), - this.el.removeEventListener("keydown", this._handleInputKeydownBound) - } - }, { - key: "_handleInputClick", - value: function() { - this.open() - } - }, { - key: "_handleInputKeydown", - value: function(t) { - t.which === M.keys.ENTER && (t.preventDefault(), - this.open()) - } - }, { - key: "_handleClockClickStart", - value: function(t) { - t.preventDefault(); - var e = this.plate.getBoundingClientRect() - , i = e.left - , s = e.top; - this.x0 = i + this.options.dialRadius, - this.y0 = s + this.options.dialRadius, - this.moved = !1; - var o = n._Pos(t); - this.dx = o.x - this.x0, - this.dy = o.y - this.y0, - this.setHand(this.dx, this.dy, !1), - document.addEventListener("mousemove", this._handleDocumentClickMoveBound), - document.addEventListener("touchmove", this._handleDocumentClickMoveBound), - document.addEventListener("mouseup", this._handleDocumentClickEndBound), - document.addEventListener("touchend", this._handleDocumentClickEndBound) - } - }, { - key: "_handleDocumentClickMove", - value: function(t) { - t.preventDefault(); - var e = n._Pos(t) - , i = e.x - this.x0 - , s = e.y - this.y0; - this.moved = !0, - this.setHand(i, s, !1, !0) - } - }, { - key: "_handleDocumentClickEnd", - value: function(t) { - t.preventDefault(), - document.removeEventListener("mouseup", this._handleDocumentClickEndBound), - document.removeEventListener("touchend", this._handleDocumentClickEndBound); - var e = n._Pos(t) - , i = e.x - this.x0 - , s = e.y - this.y0; - this.moved && i === this.dx && s === this.dy && this.setHand(i, s), - "hours" === this.currentView ? this.showView("minutes", this.options.duration / 2) : this.options.autoClose && (this.minutesView.addClass("timepicker-dial-out"), - setTimeout(function() { - this.done() - }, this.options.duration / 2)), - document.removeEventListener("mousemove", this._handleDocumentClickMoveBound), - document.removeEventListener("touchmove", this._handleDocumentClickMoveBound) - } - }, { - key: "_insertHTMLIntoDOM", - value: function() { - this.$modalEl = t(n._template), - this.modalEl = this.$modalEl[0], - this.modalEl.id = "modal-" + this.id; - var e = document.querySelector(this.options.container); - this.options.container && e ? this.$modalEl.appendTo(e) : this.$modalEl.insertBefore(this.el) - } - }, { - key: "_setupModal", - value: function() { - var t = this; - this.modal = M.Modal.init(this.modalEl, { - onCloseEnd: function() { - t.isOpen = !1 - } - }) - } - }, { - key: "_setupVariables", - value: function() { - this.currentView = "hours", - this.vibrate = navigator.vibrate ? "vibrate" : navigator.webkitVibrate ? "webkitVibrate" : null, - this._canvas = this.modalEl.querySelector(".timepicker-canvas"), - this.plate = this.modalEl.querySelector(".timepicker-plate"), - this.hoursView = this.modalEl.querySelector(".timepicker-hours"), - this.minutesView = this.modalEl.querySelector(".timepicker-minutes"), - this.spanHours = this.modalEl.querySelector(".timepicker-span-hours"), - this.spanMinutes = this.modalEl.querySelector(".timepicker-span-minutes"), - this.spanAmPm = this.modalEl.querySelector(".timepicker-span-am-pm"), - this.footer = this.modalEl.querySelector(".timepicker-footer"), - this.amOrPm = "PM" - } - }, { - key: "_pickerSetup", - value: function() { - t('").appendTo(this.footer).on("click", this.clear.bind(this)); - var e = t('
      '); - t('").appendTo(e).on("click", this.close.bind(this)), - t('").appendTo(e).on("click", this.done.bind(this)), - e.appendTo(this.footer) - } - }, { - key: "_clockSetup", - value: function() { - this.options.twelveHour && (this.$amBtn = t('
      AM
      '), - this.$pmBtn = t('
      PM
      '), - this.$amBtn.on("click", this._handleAmPmClick.bind(this)).appendTo(this.spanAmPm), - this.$pmBtn.on("click", this._handleAmPmClick.bind(this)).appendTo(this.spanAmPm)), - this._buildHoursView(), - this._buildMinutesView(), - this._buildSVGClock() - } - }, { - key: "_buildSVGClock", - value: function() { - var t = this.options.dialRadius - , e = this.options.tickRadius - , i = 2 * t - , s = n._createSVGEl("svg"); - s.setAttribute("class", "timepicker-svg"), - s.setAttribute("width", i), - s.setAttribute("height", i); - var o = n._createSVGEl("g"); - o.setAttribute("transform", "translate(" + t + "," + t + ")"); - var a = n._createSVGEl("circle"); - a.setAttribute("class", "timepicker-canvas-bearing"), - a.setAttribute("cx", 0), - a.setAttribute("cy", 0), - a.setAttribute("r", 4); - var r = n._createSVGEl("line"); - r.setAttribute("x1", 0), - r.setAttribute("y1", 0); - var l = n._createSVGEl("circle"); - l.setAttribute("class", "timepicker-canvas-bg"), - l.setAttribute("r", e), - o.appendChild(r), - o.appendChild(l), - o.appendChild(a), - s.appendChild(o), - this._canvas.appendChild(s), - this.hand = r, - this.bg = l, - this.bearing = a, - this.g = o - } - }, { - key: "_buildHoursView", - value: function() { - var e = t('
      '); - if (this.options.twelveHour) - for (var i = 1; i < 13; i += 1) { - var n = e.clone() - , s = i / 6 * Math.PI - , o = this.options.outerRadius; - n.css({ - left: this.options.dialRadius + Math.sin(s) * o - this.options.tickRadius + "px", - top: this.options.dialRadius - Math.cos(s) * o - this.options.tickRadius + "px" - }), - n.html(0 === i ? "00" : i), - this.hoursView.appendChild(n[0]) - } - else - for (var a = 0; a < 24; a += 1) { - var r = e.clone() - , l = a / 6 * Math.PI - , h = a > 0 && a < 13 ? this.options.innerRadius : this.options.outerRadius; - r.css({ - left: this.options.dialRadius + Math.sin(l) * h - this.options.tickRadius + "px", - top: this.options.dialRadius - Math.cos(l) * h - this.options.tickRadius + "px" - }), - r.html(0 === a ? "00" : a), - this.hoursView.appendChild(r[0]) - } - } - }, { - key: "_buildMinutesView", - value: function() { - for (var e = t('
      '), i = 0; i < 60; i += 5) { - var s = e.clone() - , o = i / 30 * Math.PI; - s.css({ - left: this.options.dialRadius + Math.sin(o) * this.options.outerRadius - this.options.tickRadius + "px", - top: this.options.dialRadius - Math.cos(o) * this.options.outerRadius - this.options.tickRadius + "px" - }), - s.html(n._addLeadingZero(i)), - this.minutesView.appendChild(s[0]) - } - } - }, { - key: "_handleAmPmClick", - value: function(e) { - var i = t(e.target); - this.amOrPm = i.hasClass("am-btn") ? "AM" : "PM", - this._updateAmPmView() - } - }, { - key: "_updateAmPmView", - value: function() { - this.options.twelveHour && (this.$amBtn.toggleClass("text-primary", "AM" === this.amOrPm), - this.$pmBtn.toggleClass("text-primary", "PM" === this.amOrPm)) - } - }, { - key: "_updateTimeFromInput", - value: function() { - var t = ((this.el.value || this.options.defaultTime || "") + "").split(":"); - if (this.options.twelveHour && void 0 !== t[1] && (t[1].toUpperCase().indexOf("AM") > 0 ? this.amOrPm = "AM" : this.amOrPm = "PM", - t[1] = t[1].replace("AM", "").replace("PM", "")), - "now" === t[0]) { - var e = new Date(+new Date + this.options.fromnow); - t = [e.getHours(), e.getMinutes()], - this.options.twelveHour && (this.amOrPm = t[0] >= 12 && t[0] < 24 ? "PM" : "AM") - } - this.hours = +t[0] || 0, - this.minutes = +t[1] || 0, - this.spanHours.innerHTML = this.hours, - this.spanMinutes.innerHTML = n._addLeadingZero(this.minutes), - this._updateAmPmView() - } - }, { - key: "showView", - value: function(e, i) { - "minutes" === e && t(this.hoursView).css("visibility"); - var n = "hours" === e - , s = n ? this.hoursView : this.minutesView - , o = n ? this.minutesView : this.hoursView; - this.currentView = e, - t(this.spanHours).toggleClass("text-primary", n), - t(this.spanMinutes).toggleClass("text-primary", !n), - o.classList.add("timepicker-dial-out"), - t(s).css("visibility", "visible").removeClass("timepicker-dial-out"), - this.resetClock(i), - clearTimeout(this.toggleViewTimer), - this.toggleViewTimer = setTimeout(function() { - t(o).css("visibility", "hidden") - }, this.options.duration) - } - }, { - key: "resetClock", - value: function(e) { - var i = this.currentView - , n = this[i] - , s = "hours" === i - , o = n * (Math.PI / (s ? 6 : 30)) - , a = s && n > 0 && n < 13 ? this.options.innerRadius : this.options.outerRadius - , r = Math.sin(o) * a - , l = -Math.cos(o) * a - , h = this; - e ? (t(this.canvas).addClass("timepicker-canvas-out"), - setTimeout(function() { - t(h.canvas).removeClass("timepicker-canvas-out"), - h.setHand(r, l) - }, e)) : this.setHand(r, l) - } - }, { - key: "setHand", - value: function(t, e, i) { - var s = this - , o = Math.atan2(t, -e) - , a = "hours" === this.currentView - , r = Math.PI / (a || i ? 6 : 30) - , l = Math.sqrt(t * t + e * e) - , h = a && l < (this.options.outerRadius + this.options.innerRadius) / 2 - , d = h ? this.options.innerRadius : this.options.outerRadius; - this.options.twelveHour && (d = this.options.outerRadius), - o < 0 && (o = 2 * Math.PI + o); - var u = Math.round(o / r); - o = u * r, - this.options.twelveHour ? a ? 0 === u && (u = 12) : (i && (u *= 5), - 60 === u && (u = 0)) : a ? (12 === u && (u = 0), - u = h ? 0 === u ? 12 : u : 0 === u ? 0 : u + 12) : (i && (u *= 5), - 60 === u && (u = 0)), - this[this.currentView] !== u && this.vibrate && this.options.vibrate && (this.vibrateTimer || (navigator[this.vibrate](10), - this.vibrateTimer = setTimeout(function() { - s.vibrateTimer = null - }, 100))), - this[this.currentView] = u, - a ? this.spanHours.innerHTML = u : this.spanMinutes.innerHTML = n._addLeadingZero(u); - var c = Math.sin(o) * (d - this.options.tickRadius) - , p = -Math.cos(o) * (d - this.options.tickRadius) - , v = Math.sin(o) * d - , f = -Math.cos(o) * d; - this.hand.setAttribute("x2", c), - this.hand.setAttribute("y2", p), - this.bg.setAttribute("cx", v), - this.bg.setAttribute("cy", f) - } - }, { - key: "open", - value: function() { - this.isOpen || (this.isOpen = !0, - this._updateTimeFromInput(), - this.showView("hours"), - this.modal.open()) - } - }, { - key: "close", - value: function() { - this.isOpen && (this.isOpen = !1, - this.modal.close()) - } - }, { - key: "done", - value: function(t, e) { - var i = this.el.value - , s = e ? "" : n._addLeadingZero(this.hours) + ":" + n._addLeadingZero(this.minutes); - this.time = s, - !e && this.options.twelveHour && (s = s + " " + this.amOrPm), - this.el.value = s, - s !== i && this.$el.trigger("change"), - this.close(), - this.el.focus() - } - }, { - key: "clear", - value: function() { - this.done(null, !0) - } - }], [{ - key: "init", - value: function(t, e) { - return _get(n.__proto__ || Object.getPrototypeOf(n), "init", this).call(this, this, t, e) - } - }, { - key: "_addLeadingZero", - value: function(t) { - return (t < 10 ? "0" : "") + t - } - }, { - key: "_createSVGEl", - value: function(t) { - return document.createElementNS("http://www.w3.org/2000/svg", t) - } - }, { - key: "_Pos", - value: function(t) { - return t.targetTouches && t.targetTouches.length >= 1 ? { - x: t.targetTouches[0].clientX, - y: t.targetTouches[0].clientY - } : { - x: t.clientX, - y: t.clientY - } - } - }, { - key: "getInstance", - value: function(t) { - return (t.jquery ? t[0] : t).M_Timepicker - } - }, { - key: "defaults", - get: function() { - return e - } - }]), - n - }(); - i._template = ['"].join(""), - M.Timepicker = i, - M.jQueryLoaded && M.initializeJqueryWrapper(i, "timepicker", "M_Timepicker") -}(cash), -function(t) { - "use strict"; - var e = {} - , i = function(i) { - _inherits(n, Component); - function n(e, i) { - _classCallCheck(this, n); - var s = _possibleConstructorReturn(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, n, e, i)); - return s.el.M_CharacterCounter = s, - s.options = t.extend({}, n.defaults, i), - s.isInvalid = !1, - s.isValidLength = !1, - s._setupCounter(), - s._setupEventHandlers(), - s - } - return _createClass(n, [{ - key: "destroy", - value: function() { - this._removeEventHandlers(), - this.el.CharacterCounter = void 0, - this._removeCounter() - } - }, { - key: "_setupEventHandlers", - value: function() { - this._handleUpdateCounterBound = this.updateCounter.bind(this), - this.el.addEventListener("focus", this._handleUpdateCounterBound, !0), - this.el.addEventListener("input", this._handleUpdateCounterBound, !0) - } - }, { - key: "_removeEventHandlers", - value: function() { - this.el.removeEventListener("focus", this._handleUpdateCounterBound, !0), - this.el.removeEventListener("input", this._handleUpdateCounterBound, !0) - } - }, { - key: "_setupCounter", - value: function() { - this.counterEl = document.createElement("span"), - t(this.counterEl).addClass("character-counter").css({ - float: "right", - "font-size": "12px", - height: 1 - }), - this.$el.parent().append(this.counterEl) - } - }, { - key: "_removeCounter", - value: function() { - t(this.counterEl).remove() - } - }, { - key: "updateCounter", - value: function() { - var e = +this.$el.attr("data-length") - , i = this.el.value.length; - this.isValidLength = i <= e; - var n = i; - e && (n += "/" + e, - this._validateInput()), - t(this.counterEl).html(n) - } - }, { - key: "_validateInput", - value: function() { - this.isValidLength && this.isInvalid ? (this.isInvalid = !1, - this.$el.removeClass("invalid")) : this.isValidLength || this.isInvalid || (this.isInvalid = !0, - this.$el.removeClass("valid"), - this.$el.addClass("invalid")) - } - }], [{ - key: "init", - value: function(t, e) { - return _get(n.__proto__ || Object.getPrototypeOf(n), "init", this).call(this, this, t, e) - } - }, { - key: "getInstance", - value: function(t) { - return (t.jquery ? t[0] : t).M_CharacterCounter - } - }, { - key: "defaults", - get: function() { - return e - } - }]), - n - }(); - M.CharacterCounter = i, - M.jQueryLoaded && M.initializeJqueryWrapper(i, "characterCounter", "M_CharacterCounter") -}(cash), -function(t) { - "use strict"; - var e = { - duration: 200, - dist: -100, - shift: 0, - padding: 0, - fullWidth: !1, - indicators: !1, - noWrap: !1, - onCycleTo: null - } - , i = function(i) { - _inherits(n, Component); - function n(e, i) { - _classCallCheck(this, n); - var s = _possibleConstructorReturn(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, n, e, i)); - return s.el.M_Carousel = s, - s.options = t.extend({}, n.defaults, i), - s.hasMultipleSlides = s.$el.find(".carousel-item").length > 1, - s.showIndicators = s.options.indicators && s.hasMultipleSlides, - s.noWrap = s.options.noWrap || !s.hasMultipleSlides, - s.pressed = !1, - s.dragged = !1, - s.offset = s.target = 0, - s.images = [], - s.itemWidth = s.$el.find(".carousel-item").first().innerWidth(), - s.itemHeight = s.$el.find(".carousel-item").first().innerHeight(), - s.dim = 2 * s.itemWidth + s.options.padding || 1, - s._autoScrollBound = s._autoScroll.bind(s), - s._trackBound = s._track.bind(s), - s.options.fullWidth && (s.options.dist = 0, - s._setCarouselHeight(), - s.showIndicators && s.$el.find(".carousel-fixed-item").addClass("with-indicators")), - s.$indicators = t('
        '), - s.$el.find(".carousel-item").each(function(e, i) { - if (s.images.push(e), - s.showIndicators) { - var n = t('
      • '); - 0 === i && n[0].classList.add("active"), - s.$indicators.append(n) - } - }), - s.showIndicators && s.$el.append(s.$indicators), - s.count = s.images.length, - s.xform = "transform", - ["webkit", "Moz", "O", "ms"].every(function(t) { - var e = t + "Transform"; - return void 0 === document.body.style[e] || (s.xform = e, - !1) - }), - s._setupEventHandlers(), - s._scroll(s.offset), - s - } - return _createClass(n, [{ - key: "destroy", - value: function() { - this._removeEventHandlers(), - this.el.M_Carousel = void 0 - } - }, { - key: "_setupEventHandlers", - value: function() { - var t = this; - this._handleCarouselTapBound = this._handleCarouselTap.bind(this), - this._handleCarouselDragBound = this._handleCarouselDrag.bind(this), - this._handleCarouselReleaseBound = this._handleCarouselRelease.bind(this), - this._handleCarouselClickBound = this._handleCarouselClick.bind(this), - void 0 !== window.ontouchstart && (this.el.addEventListener("touchstart", this._handleCarouselTapBound), - this.el.addEventListener("touchmove", this._handleCarouselDragBound), - this.el.addEventListener("touchend", this._handleCarouselReleaseBound)), - this.el.addEventListener("mousedown", this._handleCarouselTapBound), - this.el.addEventListener("mousemove", this._handleCarouselDragBound), - this.el.addEventListener("mouseup", this._handleCarouselReleaseBound), - this.el.addEventListener("mouseleave", this._handleCarouselReleaseBound), - this.el.addEventListener("click", this._handleCarouselClickBound), - this.showIndicators && this.$indicators && (this._handleIndicatorClickBound = this._handleIndicatorClick.bind(this), - this.$indicators.find(".indicator-item").each(function(e, i) { - e.addEventListener("click", t._handleIndicatorClickBound) - })); - var e = M.throttle(this._handleResize, 200); - this._handleThrottledResizeBound = e.bind(this), - window.addEventListener("resize", this._handleThrottledResizeBound) - } - }, { - key: "_removeEventHandlers", - value: function() { - var t = this; - void 0 !== window.ontouchstart && (this.el.removeEventListener("touchstart", this._handleCarouselTapBound), - this.el.removeEventListener("touchmove", this._handleCarouselDragBound), - this.el.removeEventListener("touchend", this._handleCarouselReleaseBound)), - this.el.removeEventListener("mousedown", this._handleCarouselTapBound), - this.el.removeEventListener("mousemove", this._handleCarouselDragBound), - this.el.removeEventListener("mouseup", this._handleCarouselReleaseBound), - this.el.removeEventListener("mouseleave", this._handleCarouselReleaseBound), - this.el.removeEventListener("click", this._handleCarouselClickBound), - this.showIndicators && this.$indicators && this.$indicators.find(".indicator-item").each(function(e, i) { - e.removeEventListener("click", t._handleIndicatorClickBound) - }), - window.removeEventListener("resize", this._handleThrottledResizeBound) - } - }, { - key: "_handleCarouselTap", - value: function(e) { - "mousedown" === e.type && t(e.target).is("img") && e.preventDefault(), - this.pressed = !0, - this.dragged = !1, - this.verticalDragged = !1, - this.reference = this._xpos(e), - this.referenceY = this._ypos(e), - this.velocity = this.amplitude = 0, - this.frame = this.offset, - this.timestamp = Date.now(), - clearInterval(this.ticker), - this.ticker = setInterval(this._trackBound, 100) - } - }, { - key: "_handleCarouselDrag", - value: function(t) { - var e = void 0 - , i = void 0 - , n = void 0; - if (this.pressed) - if (e = this._xpos(t), - i = this._ypos(t), - n = this.reference - e, - Math.abs(this.referenceY - i) < 30 && !this.verticalDragged) - (n > 2 || n < -2) && (this.dragged = !0, - this.reference = e, - this._scroll(this.offset + n)); - else { - if (this.dragged) - return t.preventDefault(), - t.stopPropagation(), - !1; - this.verticalDragged = !0 - } - if (this.dragged) - return t.preventDefault(), - t.stopPropagation(), - !1 - } - }, { - key: "_handleCarouselRelease", - value: function(t) { - if (this.pressed) - return this.pressed = !1, - clearInterval(this.ticker), - this.target = this.offset, - (this.velocity > 10 || this.velocity < -10) && (this.amplitude = .9 * this.velocity, - this.target = this.offset + this.amplitude), - this.target = Math.round(this.target / this.dim) * this.dim, - this.noWrap && (this.target >= this.dim * (this.count - 1) ? this.target = this.dim * (this.count - 1) : this.target < 0 && (this.target = 0)), - this.amplitude = this.target - this.offset, - this.timestamp = Date.now(), - requestAnimationFrame(this._autoScrollBound), - this.dragged && (t.preventDefault(), - t.stopPropagation()), - !1 - } - }, { - key: "_handleCarouselClick", - value: function(e) { - if (this.dragged) - return e.preventDefault(), - e.stopPropagation(), - !1; - if (!this.options.fullWidth) { - var i = t(e.target).closest(".carousel-item").index(); - 0 !== this._wrap(this.center) - i && (e.preventDefault(), - e.stopPropagation()), - this._cycleTo(i) - } - } - }, { - key: "_handleIndicatorClick", - value: function(e) { - e.stopPropagation(); - var i = t(e.target).closest(".indicator-item"); - i.length && this._cycleTo(i.index()) - } - }, { - key: "_handleResize", - value: function(t) { - this.options.fullWidth ? (this.itemWidth = this.$el.find(".carousel-item").first().innerWidth(), - this.imageHeight = this.$el.find(".carousel-item.active").height(), - this.dim = 2 * this.itemWidth + this.options.padding, - this.offset = 2 * this.center * this.itemWidth, - this.target = this.offset, - this._setCarouselHeight(!0)) : this._scroll() - } - }, { - key: "_setCarouselHeight", - value: function(t) { - var e = this - , i = this.$el.find(".carousel-item.active").length ? this.$el.find(".carousel-item.active").first() : this.$el.find(".carousel-item").first() - , n = i.find("img").first(); - if (n.length) - if (n[0].complete) { - var s = n.height(); - if (s > 0) - this.$el.css("height", s + "px"); - else { - var o = n[0].naturalWidth - , a = n[0].naturalHeight - , r = this.$el.width() / o * a; - this.$el.css("height", r + "px") - } - } else - n.one("load", function(t, i) { - e.$el.css("height", t.offsetHeight + "px") - }); - else if (!t) { - var l = i.height(); - this.$el.css("height", l + "px") - } - } - }, { - key: "_xpos", - value: function(t) { - return t.targetTouches && t.targetTouches.length >= 1 ? t.targetTouches[0].clientX : t.clientX - } - }, { - key: "_ypos", - value: function(t) { - return t.targetTouches && t.targetTouches.length >= 1 ? t.targetTouches[0].clientY : t.clientY - } - }, { - key: "_wrap", - value: function(t) { - return t >= this.count ? t % this.count : t < 0 ? this._wrap(this.count + t % this.count) : t - } - }, { - key: "_track", - value: function() { - var t = void 0 - , e = void 0 - , i = void 0 - , n = void 0; - e = (t = Date.now()) - this.timestamp, - this.timestamp = t, - i = this.offset - this.frame, - this.frame = this.offset, - n = 1e3 * i / (1 + e), - this.velocity = .8 * n + .2 * this.velocity - } - }, { - key: "_autoScroll", - value: function() { - var t = void 0 - , e = void 0; - this.amplitude && (t = Date.now() - this.timestamp, - (e = this.amplitude * Math.exp(-t / this.options.duration)) > 2 || e < -2 ? (this._scroll(this.target - e), - requestAnimationFrame(this._autoScrollBound)) : this._scroll(this.target)) - } - }, { - key: "_scroll", - value: function(e) { - var i = this; - this.$el.hasClass("scrolling") || this.el.classList.add("scrolling"), - null != this.scrollingTimeout && window.clearTimeout(this.scrollingTimeout), - this.scrollingTimeout = window.setTimeout(function() { - i.$el.removeClass("scrolling") - }, this.options.duration); - var n = void 0 - , s = void 0 - , o = void 0 - , a = void 0 - , r = void 0 - , l = void 0 - , h = void 0 - , d = void 0 - , u = void 0 - , c = this.center; - if (this.offset = "number" == typeof e ? e : this.offset, - this.center = Math.floor((this.offset + this.dim / 2) / this.dim), - r = -(a = (o = this.offset - this.center * this.dim) < 0 ? 1 : -1) * o * 2 / this.dim, - s = this.count >> 1, - this.options.fullWidth ? h = "translateX(0)" : (h = "translateX(" + (this.el.clientWidth - this.itemWidth) / 2 + "px) ", - h += "translateY(" + (this.el.clientHeight - this.itemHeight) / 2 + "px)"), - this.showIndicators) { - var p = this.center % this.count - , v = this.$indicators.find(".indicator-item.active"); - v.index() !== p && (v.removeClass("active"), - this.$indicators.find(".indicator-item").eq(p)[0].classList.add("active")) - } - for ((!this.noWrap || this.center >= 0 && this.center < this.count) && (l = this.images[this._wrap(this.center)], - t(l).hasClass("active") || (this.$el.find(".carousel-item").removeClass("active"), - l.classList.add("active")), - l.style[this.xform] = h + " translateX(" + -o / 2 + "px) translateX(" + a * this.options.shift * r * n + "px) translateZ(" + this.options.dist * r + "px)", - l.style.zIndex = 0, - u = this.options.fullWidth ? 1 : 1 - .2 * r, - l.style.opacity = u, - l.style.visibility = "visible"), - n = 1; n <= s; ++n) - this.options.fullWidth ? (d = this.options.dist, - u = n === s && o < 0 ? 1 - r : 1) : (d = this.options.dist * (2 * n + r * a), - u = 1 - .2 * (2 * n + r * a)), - (!this.noWrap || this.center + n < this.count) && ((l = this.images[this._wrap(this.center + n)]).style[this.xform] = h + " translateX(" + (this.options.shift + (this.dim * n - o) / 2) + "px) translateZ(" + d + "px)", - l.style.zIndex = -n, - l.style.opacity = u, - l.style.visibility = "visible"), - this.options.fullWidth ? (d = this.options.dist, - u = n === s && o > 0 ? 1 - r : 1) : (d = this.options.dist * (2 * n - r * a), - u = 1 - .2 * (2 * n - r * a)), - (!this.noWrap || this.center - n >= 0) && ((l = this.images[this._wrap(this.center - n)]).style[this.xform] = h + " translateX(" + (-this.options.shift + (-this.dim * n - o) / 2) + "px) translateZ(" + d + "px)", - l.style.zIndex = -n, - l.style.opacity = u, - l.style.visibility = "visible"); - (!this.noWrap || this.center >= 0 && this.center < this.count) && ((l = this.images[this._wrap(this.center)]).style[this.xform] = h + " translateX(" + -o / 2 + "px) translateX(" + a * this.options.shift * r + "px) translateZ(" + this.options.dist * r + "px)", - l.style.zIndex = 0, - u = this.options.fullWidth ? 1 : 1 - .2 * r, - l.style.opacity = u, - l.style.visibility = "visible"); - var f = this.$el.find(".carousel-item").eq(this._wrap(this.center)); - c !== this.center && "function" == typeof this.options.onCycleTo && this.options.onCycleTo.call(this, f[0], this.dragged), - "function" == typeof this.oneTimeCallback && (this.oneTimeCallback.call(this, f[0], this.dragged), - this.oneTimeCallback = null) - } - }, { - key: "_cycleTo", - value: function(t, e) { - var i = this.center % this.count - t; - this.noWrap || (i < 0 ? Math.abs(i + this.count) < Math.abs(i) && (i += this.count) : i > 0 && Math.abs(i - this.count) < i && (i -= this.count)), - this.target = this.dim * Math.round(this.offset / this.dim), - i < 0 ? this.target += this.dim * Math.abs(i) : i > 0 && (this.target -= this.dim * i), - "function" == typeof e && (this.oneTimeCallback = e), - this.offset !== this.target && (this.amplitude = this.target - this.offset, - this.timestamp = Date.now(), - requestAnimationFrame(this._autoScrollBound)) - } - }, { - key: "next", - value: function(t) { - (void 0 === t || isNaN(t)) && (t = 1); - var e = this.center + t; - if (e > this.count || e < 0) { - if (this.noWrap) - return; - e = this._wrap(e) - } - this._cycleTo(e) - } - }, { - key: "prev", - value: function(t) { - (void 0 === t || isNaN(t)) && (t = 1); - var e = this.center - t; - if (e > this.count || e < 0) { - if (this.noWrap) - return; - e = this._wrap(e) - } - this._cycleTo(e) - } - }, { - key: "set", - value: function(t, e) { - if ((void 0 === t || isNaN(t)) && (t = 0), - t > this.count || t < 0) { - if (this.noWrap) - return; - t = this._wrap(t) - } - this._cycleTo(t, e) - } - }], [{ - key: "init", - value: function(t, e) { - return _get(n.__proto__ || Object.getPrototypeOf(n), "init", this).call(this, this, t, e) - } - }, { - key: "getInstance", - value: function(t) { - return (t.jquery ? t[0] : t).M_Carousel - } - }, { - key: "defaults", - get: function() { - return e - } - }]), - n - }(); - M.Carousel = i, - M.jQueryLoaded && M.initializeJqueryWrapper(i, "carousel", "M_Carousel") -}(cash), -function(t) { - "use strict"; - var e = { - onOpen: void 0, - onClose: void 0 - } - , i = function(i) { - _inherits(n, Component); - function n(e, i) { - _classCallCheck(this, n); - var s = _possibleConstructorReturn(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, n, e, i)); - return s.el.M_FeatureDiscovery = s, - s.options = t.extend({}, n.defaults, i), - s.isOpen = !1, - s.$origin = t("#" + s.$el.attr("data-target")), - s._setup(), - s._calculatePositioning(), - s._setupEventHandlers(), - s - } - return _createClass(n, [{ - key: "destroy", - value: function() { - this._removeEventHandlers(), - this.el.FeatureDiscovery = void 0 - } - }, { - key: "_setupEventHandlers", - value: function() { - this._handleDocumentClickBound = this._handleDocumentClick.bind(this), - this._handleTargetClickBound = this._handleTargetClick.bind(this), - this._handleOriginClickBound = this._handleOriginClick.bind(this), - this.el.addEventListener("click", this._handleTargetClickBound), - this.originEl.addEventListener("click", this._handleOriginClickBound); - var t = M.throttle(this._handleResize, 200); - this._handleThrottledResizeBound = t.bind(this), - window.addEventListener("resize", this._handleThrottledResizeBound) - } - }, { - key: "_removeEventHandlers", - value: function() { - this.el.removeEventListener("click", this._handleTargetClickBound), - this.originEl.removeEventListener("click", this._handleOriginClickBound), - window.removeEventListener("resize", this._handleThrottledResizeBound) - } - }, { - key: "_handleTargetClick", - value: function(t) { - this.open() - } - }, { - key: "_handleOriginClick", - value: function(t) { - this.close() - } - }, { - key: "_handleResize", - value: function(t) { - this._calculatePositioning() - } - }, { - key: "_handleDocumentClick", - value: function(e) { - t(e.target).closest(".tap-target-wrapper").length || (this.close(), - e.preventDefault(), - e.stopPropagation()) - } - }, { - key: "_setup", - value: function() { - this.wrapper = this.$el.parent()[0], - this.waveEl = t(this.wrapper).find(".tap-target-wave")[0], - this.originEl = t(this.wrapper).find(".tap-target-origin")[0], - this.contentEl = this.$el.find(".tap-target-content")[0], - t(this.wrapper).hasClass(".tap-target-wrapper") || (this.wrapper = document.createElement("div"), - this.wrapper.classList.add("tap-target-wrapper"), - this.$el.before(t(this.wrapper)), - this.wrapper.append(this.el)), - this.contentEl || (this.contentEl = document.createElement("div"), - this.contentEl.classList.add("tap-target-content"), - this.$el.append(this.contentEl)), - this.waveEl || (this.waveEl = document.createElement("div"), - this.waveEl.classList.add("tap-target-wave"), - this.originEl || (this.originEl = this.$origin.clone(!0, !0), - this.originEl.addClass("tap-target-origin"), - this.originEl.removeAttr("id"), - this.originEl.removeAttr("style"), - this.originEl = this.originEl[0], - this.waveEl.append(this.originEl)), - this.wrapper.append(this.waveEl)) - } - }, { - key: "_calculatePositioning", - value: function() { - var e = "fixed" === this.$origin.css("position"); - if (!e) - for (var i = this.$origin.parents(), n = 0; n < i.length && !(e = "fixed" == t(i[n]).css("position")); n++) - ; - var s = this.$origin.outerWidth() - , o = this.$origin.outerHeight() - , a = e ? this.$origin.offset().top - M.getDocumentScrollTop() : this.$origin.offset().top - , r = e ? this.$origin.offset().left - M.getDocumentScrollLeft() : this.$origin.offset().left - , l = window.innerWidth - , h = window.innerHeight - , d = l / 2 - , u = h / 2 - , c = r <= d - , p = r > d - , v = a <= u - , f = a > u - , m = r >= .25 * l && r <= .75 * l - , g = this.$el.outerWidth() - , _ = this.$el.outerHeight() - , y = a + o / 2 - _ / 2 - , k = r + s / 2 - g / 2 - , b = e ? "fixed" : "absolute" - , w = m ? g : g / 2 + s - , C = _ / 2 - , E = v ? _ / 2 : 0 - , x = c && !m ? g / 2 - s : 0 - , L = s - , T = f ? "bottom" : "top" - , O = 2 * s - , $ = O - , D = _ / 2 - $ / 2 - , B = g / 2 - O / 2 - , I = {}; - I.top = v ? y + "px" : "", - I.right = p ? l - k - g + "px" : "", - I.bottom = f ? h - y - _ + "px" : "", - I.left = c ? k + "px" : "", - I.position = b, - t(this.wrapper).css(I), - t(this.contentEl).css({ - width: w + "px", - height: C + "px", - top: E + "px", - right: "0px", - bottom: "0px", - left: x + "px", - padding: L + "px", - verticalAlign: T - }), - t(this.waveEl).css({ - top: D + "px", - left: B + "px", - width: O + "px", - height: $ + "px" - }) - } - }, { - key: "open", - value: function() { - this.isOpen || ("function" == typeof this.options.onOpen && this.options.onOpen.call(this, this.$origin[0]), - this.isOpen = !0, - this.wrapper.classList.add("open"), - document.body.addEventListener("click", this._handleDocumentClickBound, !0), - document.body.addEventListener("touchend", this._handleDocumentClickBound)) - } - }, { - key: "close", - value: function() { - this.isOpen && ("function" == typeof this.options.onClose && this.options.onClose.call(this, this.$origin[0]), - this.isOpen = !1, - this.wrapper.classList.remove("open"), - document.body.removeEventListener("click", this._handleDocumentClickBound, !0), - document.body.removeEventListener("touchend", this._handleDocumentClickBound)) - } - }], [{ - key: "init", - value: function(t, e) { - return _get(n.__proto__ || Object.getPrototypeOf(n), "init", this).call(this, this, t, e) - } - }, { - key: "getInstance", - value: function(t) { - return (t.jquery ? t[0] : t).M_FeatureDiscovery - } - }, { - key: "defaults", - get: function() { - return e - } - }]), - n - }(); - M.FeatureDiscovery = i, - M.jQueryLoaded && M.initializeJqueryWrapper(i, "featureDiscovery", "M_FeatureDiscovery") -}(cash), -function(t) { - "use strict"; - var e = { - classes: "" - } - , i = function(i) { - _inherits(n, Component); - function n(e, i) { - _classCallCheck(this, n); - var s = _possibleConstructorReturn(this, (n.__proto__ || Object.getPrototypeOf(n)).call(this, n, e, i)); - return s.el.M_Select = s, - s.options = t.extend({}, n.defaults, i), - s.isMultiple = s.$el.prop("multiple"), - s._keysSelected = {}, - s._valueDict = {}, - s._setupDropdown(), - s._setupEventHandlers(), - s - } - return _createClass(n, [{ - key: "destroy", - value: function() { - this._removeEventHandlers(), - this._removeDropdown(), - this.el.M_Select = void 0 - } - }, { - key: "_setupEventHandlers", - value: function() { - var e = this; - this._handleSelectChangeBound = this._handleSelectChange.bind(this), - this._handleOptionClickBound = this._handleOptionClick.bind(this), - this._handleInputClickBound = this._handleInputClick.bind(this), - t(this.dropdownOptions).find("li:not(.optgroup)").each(function(t) { - t.addEventListener("click", e._handleOptionClickBound) - }), - this.el.addEventListener("change", this._handleSelectChangeBound), - this.input.addEventListener("click", this._handleInputClickBound) - } - }, { - key: "_removeEventHandlers", - value: function() { - var e = this; - t(this.dropdownOptions).find("li:not(.optgroup)").each(function(t) { - t.removeEventListener("click", e._handleOptionClickBound) - }), - this.el.removeEventListener("change", this._handleSelectChangeBound), - this.input.removeEventListener("click", this._handleInputClickBound), - this.input.removeEventListener("focus", this._handleInputFocusBound) - } - }, { - key: "_handleSelectChange", - value: function(t) { - this._setValueToInput() - } - }, { - key: "_handleOptionClick", - value: function(e) { - e.preventDefault(); - var i = t(e.target).closest("li")[0] - , n = i.id; - if (!t(i).hasClass("disabled") && !t(i).hasClass("optgroup") && n.length) { - var s = !0; - if (this.isMultiple) { - var o = t(this.dropdownOptions).find("li.disabled.selected"); - o.length && (o.removeClass("selected"), - o.find('input[type="checkbox"]').prop("checked", !1), - this._toggleEntryFromArray(o[0].id)); - var a = t(i).find('input[type="checkbox"]'); - a.prop("checked", !a.prop("checked")), - s = this._toggleEntryFromArray(n) - } else - t(this.dropdownOptions).find("li").removeClass("active"), - t(i).toggleClass("active"), - this.input.value = i.textContent; - this._activateOption(t(this.dropdownOptions), i), - t(this._valueDict[n].el).prop("selected", s), - this.$el.trigger("change") - } - e.stopPropagation() - } - }, { - key: "_handleInputClick", - value: function() { - this.dropdown && this.dropdown.isOpen && (this._setValueToInput(), - this._setSelectedStates()) - } - }, { - key: "_setupDropdown", - value: function() { - var e = this; - this.wrapper = document.createElement("div"), - t(this.wrapper).addClass("select-wrapper " + this.options.classes), - this.$el.before(t(this.wrapper)), - this.wrapper.appendChild(this.el), - this.el.disabled && this.wrapper.classList.add("disabled"), - this.$selectOptions = this.$el.children("option, optgroup"), - this.dropdownOptions = document.createElement("ul"), - this.dropdownOptions.id = "select-options-" + M.guid(), - t(this.dropdownOptions).addClass("dropdown-content select-dropdown " + (this.isMultiple ? "multiple-select-dropdown" : "")), - this.$selectOptions.length && this.$selectOptions.each(function(i) { - if (t(i).is("option")) { - var n = void 0; - n = e.isMultiple ? e._appendOptionWithIcon(e.$el, i, "multiple") : e._appendOptionWithIcon(e.$el, i), - e._addOptionToValueDict(i, n) - } else if (t(i).is("optgroup")) { - var s = t(i).children("option"); - t(e.dropdownOptions).append(t('
      • ' + i.getAttribute("label") + "
      • ")[0]), - s.each(function(t) { - var i = e._appendOptionWithIcon(e.$el, t, "optgroup-option"); - e._addOptionToValueDict(t, i) - }) - } - }), - this.$el.after(this.dropdownOptions), - this.input = document.createElement("input"), - t(this.input).addClass("select-dropdown dropdown-trigger"), - this.input.setAttribute("type", "text"), - this.input.setAttribute("readonly", "true"), - this.input.setAttribute("data-target", this.dropdownOptions.id), - this.el.disabled && t(this.input).prop("disabled", "true"), - this.$el.before(this.input), - this._setValueToInput(); - var i = t(''); - if (this.$el.before(i[0]), - !this.el.disabled) { - var n = {}; - this.isMultiple && (n.closeOnClick = !1), - this.dropdown = M.Dropdown.init(this.input, n) - } - this._setSelectedStates() - } - }, { - key: "_addOptionToValueDict", - value: function(t, e) { - var i = Object.keys(this._valueDict).length - , n = this.dropdownOptions.id + i - , s = {}; - e.id = n, - s.el = t, - s.optionEl = e, - this._valueDict[n] = s - } - }, { - key: "_removeDropdown", - value: function() { - t(this.wrapper).find(".caret").remove(), - t(this.input).remove(), - t(this.dropdownOptions).remove(), - t(this.wrapper).before(this.$el), - t(this.wrapper).remove() - } - }, { - key: "_appendOptionWithIcon", - value: function(e, i, n) { - var s = i.disabled ? "disabled " : "" - , o = "optgroup-option" === n ? "optgroup-option " : "" - , a = this.isMultiple ? '" : i.innerHTML - , r = t("
      • ") - , l = t(""); - l.html(a), - r.addClass(s + " " + o), - r.append(l); - var h = i.getAttribute("data-icon"); - i.getAttribute("class"); - if (h) { - var d = t(''); - r.prepend(d) - } - return t(this.dropdownOptions).append(r[0]), - r[0] - } - }, { - key: "_toggleEntryFromArray", - value: function(e) { - var i = !this._keysSelected.hasOwnProperty(e); - return i ? this._keysSelected[e] = !0 : delete this._keysSelected[e], - t(this._valueDict[e].optionEl).toggleClass("active"), - t(this._valueDict[e].el).prop("selected", i), - i - } - }, { - key: "_setValueToInput", - value: function() { - var e = ""; - if (this.$el.find("option").each(function(i) { - if (t(i).prop("selected")) { - var n = t(i).text(); - e += "" === e ? n : ", " + n - } - }), - "" === e) { - var i = this.$el.find("option:disabled").eq(0); - i.length && (e = i.text()) - } - this.input.value = e - } - }, { - key: "_setSelectedStates", - value: function() { - this._keysSelected = {}; - for (var e in this._valueDict) { - var i = this._valueDict[e]; - t(i.el).prop("selected") ? (t(i.optionEl).find('input[type="checkbox"]').prop("checked", !0), - this._activateOption(t(this.dropdownOptions), t(i.optionEl)), - this._keysSelected[e] = !0) : (t(i.optionEl).find('input[type="checkbox"]').prop("checked", !1), - t(i.optionEl).removeClass("selected")) - } - } - }, { - key: "_activateOption", - value: function(e, i) { - if (i) { - this.isMultiple || e.find("li.selected").removeClass("selected"); - t(i).addClass("selected") - } - } - }, { - key: "getSelectedValues", - value: function() { - var t = []; - for (var e in this._keysSelected) - t.push(this._valueDict[e].el.value); - return t - } - }], [{ - key: "init", - value: function(t, e) { - return _get(n.__proto__ || Object.getPrototypeOf(n), "init", this).call(this, this, t, e) - } - }, { - key: "getInstance", - value: function(t) { - return (t.jquery ? t[0] : t).M_Select - } - }, { - key: "defaults", - get: function() { - return e - } - }]), - n - }(); - M.Select = i, - M.jQueryLoaded && M.initializeJqueryWrapper(i, "select", "M_Select") -}(cash), -function(t, e) { - "use strict"; - var i = {} - , n = function(n) { - _inherits(s, Component); - function s(e, i) { - _classCallCheck(this, s); - var n = _possibleConstructorReturn(this, (s.__proto__ || Object.getPrototypeOf(s)).call(this, s, e, i)); - return n.el.M_Range = n, - n.options = t.extend({}, s.defaults, i), - n._mousedown = !1, - n._setupThumb(), - n._setupEventHandlers(), - n - } - return _createClass(s, [{ - key: "destroy", - value: function() { - this._removeEventHandlers(), - this._removeThumb(), - this.el.M_Range = void 0 - } - }, { - key: "_setupEventHandlers", - value: function() { - this._handleRangeChangeBound = this._handleRangeChange.bind(this), - this._handleRangeFocusBound = this._handleRangeFocus.bind(this), - this._handleRangeMousedownTouchstartBound = this._handleRangeMousedownTouchstart.bind(this), - this._handleRangeInputMousemoveTouchmoveBound = this._handleRangeInputMousemoveTouchmove.bind(this), - this._handleRangeMouseupTouchendBound = this._handleRangeMouseupTouchend.bind(this), - this._handleRangeBlurMouseoutTouchleaveBound = this._handleRangeBlurMouseoutTouchleave.bind(this), - this.el.addEventListener("change", this._handleRangeChangeBound), - this.el.addEventListener("focus", this._handleRangeFocusBound), - this.el.addEventListener("mousedown", this._handleRangeMousedownTouchstartBound), - this.el.addEventListener("touchstart", this._handleRangeMousedownTouchstartBound), - this.el.addEventListener("input", this._handleRangeInputMousemoveTouchmoveBound), - this.el.addEventListener("mousemove", this._handleRangeInputMousemoveTouchmoveBound), - this.el.addEventListener("touchmove", this._handleRangeInputMousemoveTouchmoveBound), - this.el.addEventListener("mouseup", this._handleRangeMouseupTouchendBound), - this.el.addEventListener("touchend", this._handleRangeMouseupTouchendBound), - this.el.addEventListener("blur", this._handleRangeBlurMouseoutTouchleaveBound), - this.el.addEventListener("mouseout", this._handleRangeBlurMouseoutTouchleaveBound), - this.el.addEventListener("touchleave", this._handleRangeBlurMouseoutTouchleaveBound) - } - }, { - key: "_removeEventHandlers", - value: function() { - this.el.removeEventListener("change", this._handleRangeChangeBound), - this.el.removeEventListener("focus", this._handleRangeFocusBound), - this.el.removeEventListener("mousedown", this._handleRangeMousedownTouchstartBound), - this.el.removeEventListener("touchstart", this._handleRangeMousedownTouchstartBound), - this.el.removeEventListener("input", this._handleRangeInputMousemoveTouchmoveBound), - this.el.removeEventListener("mousemove", this._handleRangeInputMousemoveTouchmoveBound), - this.el.removeEventListener("touchmove", this._handleRangeInputMousemoveTouchmoveBound), - this.el.removeEventListener("mouseup", this._handleRangeMouseupTouchendBound), - this.el.removeEventListener("touchend", this._handleRangeMouseupTouchendBound), - this.el.removeEventListener("blur", this._handleRangeBlurMouseoutTouchleaveBound), - this.el.removeEventListener("mouseout", this._handleRangeBlurMouseoutTouchleaveBound), - this.el.removeEventListener("touchleave", this._handleRangeBlurMouseoutTouchleaveBound) - } - }, { - key: "_handleRangeChange", - value: function() { - t(this.value).html(this.$el.val()), - t(this.thumb).hasClass("active") || this._showRangeBubble(); - var e = this._calcRangeOffset(); - t(this.thumb).addClass("active").css("left", e + "px") - } - }, { - key: "_handleRangeFocus", - value: function() { - M.tabPressed && this.$el.addClass("focused") - } - }, { - key: "_handleRangeMousedownTouchstart", - value: function(e) { - if (t(this.value).html(this.$el.val()), - this._mousedown = !0, - this.$el.addClass("active"), - t(this.thumb).hasClass("active") || this._showRangeBubble(), - "input" !== e.type) { - var i = this._calcRangeOffset(); - t(this.thumb).addClass("active").css("left", i + "px") - } - } - }, { - key: "_handleRangeInputMousemoveTouchmove", - value: function() { - if (this._mousedown) { - t(this.thumb).hasClass("active") || this._showRangeBubble(); - var e = this._calcRangeOffset(); - t(this.thumb).addClass("active").css("left", e + "px"), - t(this.value).html(this.$el.val()) - } - } - }, { - key: "_handleRangeMouseupTouchend", - value: function() { - this._mousedown = !1, - this.$el.removeClass("active") - } - }, { - key: "_handleRangeBlurMouseoutTouchleave", - value: function() { - if (!this._mousedown) { - this.$el.removeClass("focused"); - var i = 7 + parseInt(this.$el.css("padding-left")) + "px"; - t(this.thumb).hasClass("active") && (e.remove(this.thumb), - e({ - targets: this.thumb, - height: 0, - width: 0, - top: 10, - easing: "easeOutQuad", - marginLeft: i, - duration: 100 - })), - t(this.thumb).removeClass("active") - } - } - }, { - key: "_setupThumb", - value: function() { - this.thumb = document.createElement("span"), - this.value = document.createElement("span"), - t(this.thumb).addClass("thumb"), - t(this.value).addClass("value"), - t(this.thumb).append(this.value), - this.$el.after(this.thumb) - } - }, { - key: "_removeThumb", - value: function() { - t(this.thumb).remove() - } - }, { - key: "_showRangeBubble", - value: function() { - var i = -7 + parseInt(t(this.thumb).parent().css("padding-left")) + "px"; - e.remove(this.thumb), - e({ - targets: this.thumb, - height: 30, - width: 30, - top: -30, - marginLeft: i, - duration: 300, - easing: "easeOutQuint" - }) - } - }, { - key: "_calcRangeOffset", - value: function() { - var t = this.$el.width() - 15 - , e = parseFloat(this.$el.attr("max")) - , i = parseFloat(this.$el.attr("min")); - return (parseFloat(this.$el.val()) - i) / (e - i) * t - } - }], [{ - key: "init", - value: function(t, e) { - return _get(s.__proto__ || Object.getPrototypeOf(s), "init", this).call(this, this, t, e) - } - }, { - key: "getInstance", - value: function(t) { - return (t.jquery ? t[0] : t).M_Range - } - }, { - key: "defaults", - get: function() { - return i - } - }]), - s - }(); - M.Range = n, - M.jQueryLoaded && M.initializeJqueryWrapper(n, "range", "M_Range"), - n.init(t("input[type=range]")) -}(cash, M.anime); -function get_gravatar(email, size) { - var MD5 = function(s) { - function L(k, d) { - return (k << d) | (k >>> (32 - d)) - } - function K(G, k) { - var I, d, F, H, x; - F = (G & 2147483648); - H = (k & 2147483648); - I = (G & 1073741824); - d = (k & 1073741824); - x = (G & 1073741823) + (k & 1073741823); - if (I & d) { - return (x ^ 2147483648 ^ F ^ H) - } - if (I | d) { - if (x & 1073741824) { - return (x ^ 3221225472 ^ F ^ H) - } else { - return (x ^ 1073741824 ^ F ^ H) - } - } else { - return (x ^ F ^ H) - } - } - function r(d, F, k) { - return (d & F) | ((~d) & k) - } - function q(d, F, k) { - return (d & k) | (F & (~k)) - } - function p(d, F, k) { - return (d ^ F ^ k) - } - function n(d, F, k) { - return (F ^ (d | (~k))) - } - function u(G, F, aa, Z, k, H, I) { - G = K(G, K(K(r(F, aa, Z), k), I)); - return K(L(G, H), F) - } - function f(G, F, aa, Z, k, H, I) { - G = K(G, K(K(q(F, aa, Z), k), I)); - return K(L(G, H), F) - } - function D(G, F, aa, Z, k, H, I) { - G = K(G, K(K(p(F, aa, Z), k), I)); - return K(L(G, H), F) - } - function t(G, F, aa, Z, k, H, I) { - G = K(G, K(K(n(F, aa, Z), k), I)); - return K(L(G, H), F) - } - function e(G) { - var Z; - var F = G.length; - var x = F + 8; - var k = (x - (x % 64)) / 64; - var I = (k + 1) * 16; - var aa = Array(I - 1); - var d = 0; - var H = 0; - while (H < F) { - Z = (H - (H % 4)) / 4; - d = (H % 4) * 8; - aa[Z] = (aa[Z] | (G.charCodeAt(H) << d)); - H++ - } - Z = (H - (H % 4)) / 4; - d = (H % 4) * 8; - aa[Z] = aa[Z] | (128 << d); - aa[I - 2] = F << 3; - aa[I - 1] = F >>> 29; - return aa - } - function B(x) { - var k = "", F = "", G, d; - for (d = 0; d <= 3; d++) { - G = (x >>> (d * 8)) & 255; - F = "0" + G.toString(16); - k = k + F.substr(F.length - 2, 2) - } - return k - } - function J(k) { - k = k.replace(/rn/g, "n"); - var d = ""; - for (var F = 0; F < k.length; F++) { - var x = k.charCodeAt(F); - if (x < 128) { - d += String.fromCharCode(x) - } else { - if ((x > 127) && (x < 2048)) { - d += String.fromCharCode((x >> 6) | 192); - d += String.fromCharCode((x & 63) | 128) - } else { - d += String.fromCharCode((x >> 12) | 224); - d += String.fromCharCode(((x >> 6) & 63) | 128); - d += String.fromCharCode((x & 63) | 128) - } - } - } - return d - } - var C = Array(); - var P, h, E, v, g, Y, X, W, V; - var S = 7 - , Q = 12 - , N = 17 - , M = 22; - var A = 5 - , z = 9 - , y = 14 - , w = 20; - var o = 4 - , m = 11 - , l = 16 - , j = 23; - var U = 6 - , T = 10 - , R = 15 - , O = 21; - s = J(s); - C = e(s); - Y = 1732584193; - X = 4023233417; - W = 2562383102; - V = 271733878; - for (P = 0; P < C.length; P += 16) { - h = Y; - E = X; - v = W; - g = V; - Y = u(Y, X, W, V, C[P + 0], S, 3614090360); - V = u(V, Y, X, W, C[P + 1], Q, 3905402710); - W = u(W, V, Y, X, C[P + 2], N, 606105819); - X = u(X, W, V, Y, C[P + 3], M, 3250441966); - Y = u(Y, X, W, V, C[P + 4], S, 4118548399); - V = u(V, Y, X, W, C[P + 5], Q, 1200080426); - W = u(W, V, Y, X, C[P + 6], N, 2821735955); - X = u(X, W, V, Y, C[P + 7], M, 4249261313); - Y = u(Y, X, W, V, C[P + 8], S, 1770035416); - V = u(V, Y, X, W, C[P + 9], Q, 2336552879); - W = u(W, V, Y, X, C[P + 10], N, 4294925233); - X = u(X, W, V, Y, C[P + 11], M, 2304563134); - Y = u(Y, X, W, V, C[P + 12], S, 1804603682); - V = u(V, Y, X, W, C[P + 13], Q, 4254626195); - W = u(W, V, Y, X, C[P + 14], N, 2792965006); - X = u(X, W, V, Y, C[P + 15], M, 1236535329); - Y = f(Y, X, W, V, C[P + 1], A, 4129170786); - V = f(V, Y, X, W, C[P + 6], z, 3225465664); - W = f(W, V, Y, X, C[P + 11], y, 643717713); - X = f(X, W, V, Y, C[P + 0], w, 3921069994); - Y = f(Y, X, W, V, C[P + 5], A, 3593408605); - V = f(V, Y, X, W, C[P + 10], z, 38016083); - W = f(W, V, Y, X, C[P + 15], y, 3634488961); - X = f(X, W, V, Y, C[P + 4], w, 3889429448); - Y = f(Y, X, W, V, C[P + 9], A, 568446438); - V = f(V, Y, X, W, C[P + 14], z, 3275163606); - W = f(W, V, Y, X, C[P + 3], y, 4107603335); - X = f(X, W, V, Y, C[P + 8], w, 1163531501); - Y = f(Y, X, W, V, C[P + 13], A, 2850285829); - V = f(V, Y, X, W, C[P + 2], z, 4243563512); - W = f(W, V, Y, X, C[P + 7], y, 1735328473); - X = f(X, W, V, Y, C[P + 12], w, 2368359562); - Y = D(Y, X, W, V, C[P + 5], o, 4294588738); - V = D(V, Y, X, W, C[P + 8], m, 2272392833); - W = D(W, V, Y, X, C[P + 11], l, 1839030562); - X = D(X, W, V, Y, C[P + 14], j, 4259657740); - Y = D(Y, X, W, V, C[P + 1], o, 2763975236); - V = D(V, Y, X, W, C[P + 4], m, 1272893353); - W = D(W, V, Y, X, C[P + 7], l, 4139469664); - X = D(X, W, V, Y, C[P + 10], j, 3200236656); - Y = D(Y, X, W, V, C[P + 13], o, 681279174); - V = D(V, Y, X, W, C[P + 0], m, 3936430074); - W = D(W, V, Y, X, C[P + 3], l, 3572445317); - X = D(X, W, V, Y, C[P + 6], j, 76029189); - Y = D(Y, X, W, V, C[P + 9], o, 3654602809); - V = D(V, Y, X, W, C[P + 12], m, 3873151461); - W = D(W, V, Y, X, C[P + 15], l, 530742520); - X = D(X, W, V, Y, C[P + 2], j, 3299628645); - Y = t(Y, X, W, V, C[P + 0], U, 4096336452); - V = t(V, Y, X, W, C[P + 7], T, 1126891415); - W = t(W, V, Y, X, C[P + 14], R, 2878612391); - X = t(X, W, V, Y, C[P + 5], O, 4237533241); - Y = t(Y, X, W, V, C[P + 12], U, 1700485571); - V = t(V, Y, X, W, C[P + 3], T, 2399980690); - W = t(W, V, Y, X, C[P + 10], R, 4293915773); - X = t(X, W, V, Y, C[P + 1], O, 2240044497); - Y = t(Y, X, W, V, C[P + 8], U, 1873313359); - V = t(V, Y, X, W, C[P + 15], T, 4264355552); - W = t(W, V, Y, X, C[P + 6], R, 2734768916); - X = t(X, W, V, Y, C[P + 13], O, 1309151649); - Y = t(Y, X, W, V, C[P + 4], U, 4149444226); - V = t(V, Y, X, W, C[P + 11], T, 3174756917); - W = t(W, V, Y, X, C[P + 2], R, 718787259); - X = t(X, W, V, Y, C[P + 9], O, 3951481745); - Y = K(Y, h); - X = K(X, E); - W = K(W, v); - V = K(V, g) - } - var i = B(Y) + B(X) + B(W) + B(V); - return i.toLowerCase() - }; - var size = size || 80; - return 'https://gravatar.shino.cc/avatar/' + MD5(email) + '.jpg?s=' + size + '&d=mm'; -} -!function(e) { - "use strict"; - var n = function(n, t, o) { - var l, r = e.document, i = r.createElement("link"); - if (t) - l = t; - else { - var a = (r.body || r.getElementsByTagName("head")[0]).childNodes; - l = a[a.length - 1] - } - var d = r.styleSheets; - i.rel = "stylesheet", - i.href = n, - i.media = "only x", - l.parentNode.insertBefore(i, t ? l : l.nextSibling); - var f = function(e) { - for (var n = i.href, t = d.length; t--; ) - if (d[t].href === n) - return e(); - setTimeout(function() { - f(e) - }) - }; - return i.onloadcssdefined = f, - f(function() { - i.media = o || "all" - }), - i - }; - "undefined" != typeof module ? module.exports = n : e.loadCSS = n -}("undefined" != typeof global ? global : this); -!function(e) { - function t(o) { - if (n[o]) - return n[o].exports; - var l = n[o] = { - i: o, - l: !1, - exports: {} - }; - return e[o].call(l.exports, l, l.exports, t), - l.l = !0, - l.exports - } - var n = {}; - t.m = e, - t.c = n, - t.d = function(e, n, o) { - t.o(e, n) || Object.defineProperty(e, n, { - configurable: !1, - enumerable: !0, - get: o - }) - } - , - t.n = function(e) { - var n = e && e.__esModule ? function() { - return e.default - } - : function() { - return e - } - ; - return t.d(n, "a", n), - n - } - , - t.o = function(e, t) { - return Object.prototype.hasOwnProperty.call(e, t) - } - , - t.p = "", - t(t.s = 0) -}([function(e, t, n) { - (function(o) { - var l, i, r; - !function(n, o) { - i = [], - l = o(n), - void 0 !== (r = "function" == typeof l ? l.apply(t, i) : l) && (e.exports = r) - }(void 0 !== o ? o : this.window || this.global, function(e) { - "use strict"; - function t() { - for (var e = {}, t = 0; t < arguments.length; t++) { - var n = arguments[t]; - for (var o in n) - m.call(n, o) && (e[o] = n[o]) - } - return e - } - function o(e, t, n) { - t || (t = 250); - var o, l; - return function() { - var i = n || this - , r = +new Date - , s = arguments; - o && r < o + t ? (clearTimeout(l), - l = setTimeout(function() { - o = r, - e.apply(i, s) - }, t)) : (o = r, - e.apply(i, s)) - } - } - var l, i, r = n(2), s = {}, c = {}, a = n(3), u = n(4); - if ("undefined" != typeof window) { - var d, f = !!e.document.querySelector && !!e.addEventListener, m = Object.prototype.hasOwnProperty; - return c.destroy = function() { - try { - document.querySelector(s.tocSelector).innerHTML = "" - } catch (e) { - console.warn("Element not found: " + s.tocSelector) - } - document.removeEventListener("scroll", this._scrollListener, !1), - document.removeEventListener("resize", this._scrollListener, !1), - l && document.removeEventListener("click", this._clickListener, !1) - } - , - c.init = function(e) { - if (f && (s = t(r, e || {}), - this.options = s, - this.state = {}, - s.scrollSmooth && (c.scrollSmooth = n(5).initSmoothScrolling({ - duration: s.scrollSmoothDuration - })), - l = a(s), - i = u(s), - this._buildHtml = l, - this._parseContent = i, - c.destroy(), - null !== (d = i.selectHeadings(s.contentSelector, s.headingSelector)))) { - var m = i.nestHeadingsArray(d) - , h = m.nest; - return l.render(s.tocSelector, h), - this._scrollListener = o(function(e) { - l.updateToc(d); - var t = e && e.target && e.target.scrollingElement && 0 === e.target.scrollingElement.scrollTop; - (e && (0 === e.eventPhase || null === e.currentTarget) || t) && (l.enableTocAnimation(), - l.updateToc(d), - s.scrollEndCallback && s.scrollEndCallback(e)) - }, s.throttleTimeout), - this._scrollListener(), - document.addEventListener("scroll", this._scrollListener, !1), - document.addEventListener("resize", this._scrollListener, !1), - this._clickListener = o(function(e) { - s.scrollSmooth && l.disableTocAnimation(e), - l.updateToc(d) - }, s.throttleTimeout), - document.addEventListener("click", this._clickListener, !1), - this - } - } - , - c.refresh = function(e) { - c.destroy(), - c.init(e || this.options) - } - , - e.tocbot = c, - c - } - }) - } - ).call(t, n(1)) -} -, function(e, t) { - var n; - n = function() { - return this - }(); - try { - n = n || Function("return this")() || (0, - eval)("this") - } catch (e) { - "object" == typeof window && (n = window) - } - e.exports = n -} -, function(e, t) { - e.exports = { - tocSelector: ".js-toc", - contentSelector: ".js-toc-content", - headingSelector: "h1, h2, h3", - ignoreSelector: ".js-toc-ignore", - linkClass: "toc-link", - extraLinkClasses: "", - activeLinkClass: "is-active-link", - listClass: "toc-list", - extraListClasses: "", - isCollapsedClass: "is-collapsed", - collapsibleClass: "is-collapsible", - listItemClass: "toc-list-item", - collapseDepth: 0, - scrollSmooth: !0, - scrollSmoothDuration: 420, - scrollEndCallback: function(e) {}, - headingsOffset: 1, - throttleTimeout: 50, - positionFixedSelector: null, - positionFixedClass: "is-position-fixed", - fixedSidebarOffset: "auto", - includeHtml: !1, - onClick: !1 - } -} -, function(e, t) { - e.exports = function(e) { - function t(e, n) { - var i = n.appendChild(o(e)); - if (e.children.length) { - var r = l(e.isCollapsed); - e.children.forEach(function(e) { - t(e, r) - }), - i.appendChild(r) - } - } - function n(e, n) { - var o = l(!1); - n.forEach(function(e) { - t(e, o) - }); - var i = document.querySelector(e); - if (null !== i) - return i.firstChild && i.removeChild(i.firstChild), - i.appendChild(o) - } - function o(t) { - var n = document.createElement("li") - , o = document.createElement("a"); - return e.listItemClass && n.setAttribute("class", e.listItemClass), - e.onClick && (o.onclick = e.onClick), - e.includeHtml && t.childNodes.length ? u.call(t.childNodes, function(e) { - o.appendChild(e.cloneNode(!0)) - }) : o.textContent = t.textContent, - o.setAttribute("href", "#" + t.id), - o.setAttribute("class", e.linkClass + h + "node-name--" + t.nodeName + h + e.extraLinkClasses), - n.appendChild(o), - n - } - function l(t) { - var n = document.createElement("ol") - , o = e.listClass + h + e.extraListClasses; - return t && (o += h + e.collapsibleClass, - o += h + e.isCollapsedClass), - n.setAttribute("class", o), - n - } - function i() { - var t = document.documentElement.scrollTop || f.scrollTop - , n = document.querySelector(e.positionFixedSelector); - "auto" === e.fixedSidebarOffset && (e.fixedSidebarOffset = document.querySelector(e.tocSelector).offsetTop), - t > e.fixedSidebarOffset ? -1 === n.className.indexOf(e.positionFixedClass) && (n.className += h + e.positionFixedClass) : n.className = n.className.split(h + e.positionFixedClass).join("") - } - function r(t) { - var n = document.documentElement.scrollTop || f.scrollTop; - e.positionFixedSelector && i(); - var o, l = t; - if (m && null !== document.querySelector(e.tocSelector) && l.length > 0) { - d.call(l, function(t, i) { - if (t.offsetTop > n + e.headingsOffset + 10) { - return o = l[0 === i ? i : i - 1], - !0 - } - if (i === l.length - 1) - return o = l[l.length - 1], - !0 - }); - var r = document.querySelector(e.tocSelector).querySelectorAll("." + e.linkClass); - u.call(r, function(t) { - t.className = t.className.split(h + e.activeLinkClass).join("") - }); - var c = document.querySelector(e.tocSelector).querySelector("." + e.linkClass + ".node-name--" + o.nodeName + '[href="#' + o.id + '"]'); - c.className += h + e.activeLinkClass; - var a = document.querySelector(e.tocSelector).querySelectorAll("." + e.listClass + "." + e.collapsibleClass); - u.call(a, function(t) { - var n = h + e.isCollapsedClass; - -1 === t.className.indexOf(n) && (t.className += h + e.isCollapsedClass) - }), - c.nextSibling && (c.nextSibling.className = c.nextSibling.className.split(h + e.isCollapsedClass).join("")), - s(c.parentNode.parentNode) - } - } - function s(t) { - return -1 !== t.className.indexOf(e.collapsibleClass) ? (t.className = t.className.split(h + e.isCollapsedClass).join(""), - s(t.parentNode.parentNode)) : t - } - function c(t) { - var n = t.target || t.srcElement; - "string" == typeof n.className && -1 !== n.className.indexOf(e.linkClass) && (m = !1) - } - function a() { - m = !0 - } - var u = [].forEach - , d = [].some - , f = document.body - , m = !0 - , h = " "; - return { - enableTocAnimation: a, - disableTocAnimation: c, - render: n, - updateToc: r - } - } -} -, function(e, t) { - e.exports = function(e) { - function t(e) { - return e[e.length - 1] - } - function n(e) { - return +e.nodeName.split("H").join("") - } - function o(t) { - var o = { - id: t.id, - children: [], - nodeName: t.nodeName, - headingLevel: n(t), - textContent: t.textContent.trim() - }; - return e.includeHtml && (o.childNodes = t.childNodes), - o - } - function l(l, i) { - for (var r = o(l), s = n(l), c = i, a = t(c), u = a ? a.headingLevel : 0, d = s - u; d > 0; ) - a = t(c), - a && void 0 !== a.children && (c = a.children), - d--; - return s >= e.collapseDepth && (r.isCollapsed = !0), - c.push(r), - c - } - function i(t, n) { - var o = n; - e.ignoreSelector && (o = n.split(",").map(function(t) { - return t.trim() + ":not(" + e.ignoreSelector + ")" - })); - try { - return document.querySelector(t).querySelectorAll(o) - } catch (e) { - return console.warn("Element not found: " + t), - null - } - } - function r(e) { - return s.call(e, function(e, t) { - return l(o(t), e.nest), - e - }, { - nest: [] - }) - } - var s = [].reduce; - return { - nestHeadingsArray: r, - selectHeadings: i - } - } -} -, function(e, t) { - function n(e) { - function t(e) { - return "a" === e.tagName.toLowerCase() && (e.hash.length > 0 || "#" === e.href.charAt(e.href.length - 1)) && (n(e.href) === r || n(e.href) + "#" === r) - } - function n(e) { - return e.slice(0, e.lastIndexOf("#")) - } - function l(e) { - var t = document.getElementById(e.substring(1)); - t && (/^(?:a|select|input|button|textarea)$/i.test(t.tagName) || (t.tabIndex = -1), - t.focus()) - } - !function() { - document.documentElement.style - }(); - var i = e.duration - , r = location.hash ? n(location.href) : location.href; - !function() { - function e(e) { - !t(e.target) || e.target.className.indexOf("no-smooth-scroll") > -1 || "#" === e.target.href.charAt(e.target.href.length - 2) && "!" === e.target.href.charAt(e.target.href.length - 1) || (e.preventDefault(), - o(e.target.hash, { - duration: i, - callback: function() { - l(e.target.hash) - } - })) - } - document.body.addEventListener("click", e, !1) - }() - } - function o(e, t) { - function n(e) { - r = e - i, - window.scrollTo(0, c.easing(r, s, u, d)), - r < d ? requestAnimationFrame(n) : o() - } - function o() { - window.scrollTo(0, s + u), - "function" == typeof c.callback && c.callback() - } - function l(e, t, n, o) { - return (e /= o / 2) < 1 ? n / 2 * e * e + t : (e--, - -n / 2 * (e * (e - 2) - 1) + t) - } - var i, r, s = window.pageYOffset, c = { - duration: t.duration, - offset: t.offset || 0, - callback: t.callback, - easing: t.easing || l - }, a = document.querySelector('[id="' + e.split("#").join("") + '"]'), u = "string" == typeof e ? c.offset + (e ? a && a.getBoundingClientRect().top || 0 : -(document.documentElement.scrollTop || document.body.scrollTop)) : e, d = "function" == typeof c.duration ? c.duration(u) : c.duration; - requestAnimationFrame(function(e) { - i = e, - n(e) - }) - } - t.initSmoothScrolling = n -} -]); -function social_share() { - var QRCode; - !function() { - function t(t) { - this.mode = s.MODE_8BIT_BYTE, - this.data = t, - this.parsedData = []; - for (var e = 0, r = this.data.length; e < r; e++) { - var i = [] - , n = this.data.charCodeAt(e); - n > 65536 ? (i[0] = 240 | (1835008 & n) >>> 18, - i[1] = 128 | (258048 & n) >>> 12, - i[2] = 128 | (4032 & n) >>> 6, - i[3] = 128 | 63 & n) : n > 2048 ? (i[0] = 224 | (61440 & n) >>> 12, - i[1] = 128 | (4032 & n) >>> 6, - i[2] = 128 | 63 & n) : n > 128 ? (i[0] = 192 | (1984 & n) >>> 6, - i[1] = 128 | 63 & n) : i[0] = n, - this.parsedData.push(i) - } - this.parsedData = Array.prototype.concat.apply([], this.parsedData), - this.parsedData.length != this.data.length && (this.parsedData.unshift(191), - this.parsedData.unshift(187), - this.parsedData.unshift(239)) - } - function e(t, e) { - this.typeNumber = t, - this.errorCorrectLevel = e, - this.modules = null, - this.moduleCount = 0, - this.dataCache = null, - this.dataList = [] - } - function r(t, e) { - if (void 0 == t.length) - throw new Error(t.length + "/" + e); - for (var r = 0; r < t.length && 0 == t[r]; ) - r++; - this.num = new Array(t.length - r + e); - for (var i = 0; i < t.length - r; i++) - this.num[i] = t[i + r] - } - function i(t, e) { - this.totalCount = t, - this.dataCount = e - } - function n() { - this.buffer = [], - this.length = 0 - } - function o() { - var t = !1 - , e = navigator.userAgent; - if (/android/i.test(e)) { - t = !0; - var r = e.toString().match(/android ([0-9]\.[0-9])/i); - r && r[1] && (t = parseFloat(r[1])) - } - return t - } - function a(t, e) { - for (var r = 1, i = function(t) { - var e = encodeURI(t).toString().replace(/\%[0-9a-fA-F]{2}/g, "a"); - return e.length + (e.length != t ? 3 : 0) - }(t), n = 0, o = d.length; n <= o; n++) { - var a = 0; - switch (e) { - case h.L: - a = d[n][0]; - break; - case h.M: - a = d[n][1]; - break; - case h.Q: - a = d[n][2]; - break; - case h.H: - a = d[n][3] - } - if (i <= a) - break; - r++ - } - if (r > d.length) - throw new Error("Too long data"); - return r - } - t.prototype = { - getLength: function(t) { - return this.parsedData.length - }, - write: function(t) { - for (var e = 0, r = this.parsedData.length; e < r; e++) - t.put(this.parsedData[e], 8) - } - }, - e.prototype = { - addData: function(e) { - var r = new t(e); - this.dataList.push(r), - this.dataCache = null - }, - isDark: function(t, e) { - if (t < 0 || this.moduleCount <= t || e < 0 || this.moduleCount <= e) - throw new Error(t + "," + e); - return this.modules[t][e] - }, - getModuleCount: function() { - return this.moduleCount - }, - make: function() { - this.makeImpl(!1, this.getBestMaskPattern()) - }, - makeImpl: function(t, r) { - this.moduleCount = 4 * this.typeNumber + 17, - this.modules = new Array(this.moduleCount); - for (var i = 0; i < this.moduleCount; i++) { - this.modules[i] = new Array(this.moduleCount); - for (var n = 0; n < this.moduleCount; n++) - this.modules[i][n] = null - } - this.setupPositionProbePattern(0, 0), - this.setupPositionProbePattern(this.moduleCount - 7, 0), - this.setupPositionProbePattern(0, this.moduleCount - 7), - this.setupPositionAdjustPattern(), - this.setupTimingPattern(), - this.setupTypeInfo(t, r), - this.typeNumber >= 7 && this.setupTypeNumber(t), - null == this.dataCache && (this.dataCache = e.createData(this.typeNumber, this.errorCorrectLevel, this.dataList)), - this.mapData(this.dataCache, r) - }, - setupPositionProbePattern: function(t, e) { - for (var r = -1; r <= 7; r++) - if (!(t + r <= -1 || this.moduleCount <= t + r)) - for (var i = -1; i <= 7; i++) - e + i <= -1 || this.moduleCount <= e + i || (this.modules[t + r][e + i] = 0 <= r && r <= 6 && (0 == i || 6 == i) || 0 <= i && i <= 6 && (0 == r || 6 == r) || 2 <= r && r <= 4 && 2 <= i && i <= 4) - }, - getBestMaskPattern: function() { - for (var t = 0, e = 0, r = 0; r < 8; r++) { - this.makeImpl(!0, r); - var i = u.getLostPoint(this); - (0 == r || t > i) && (t = i, - e = r) - } - return e - }, - createMovieClip: function(t, e, r) { - var i = t.createEmptyMovieClip(e, r); - this.make(); - for (var n = 0; n < this.modules.length; n++) - for (var o = 1 * n, a = 0; a < this.modules[n].length; a++) { - var s = 1 * a; - this.modules[n][a] && (i.beginFill(0, 100), - i.moveTo(s, o), - i.lineTo(s + 1, o), - i.lineTo(s + 1, o + 1), - i.lineTo(s, o + 1), - i.endFill()) - } - return i - }, - setupTimingPattern: function() { - for (var t = 8; t < this.moduleCount - 8; t++) - null == this.modules[t][6] && (this.modules[t][6] = t % 2 == 0); - for (var e = 8; e < this.moduleCount - 8; e++) - null == this.modules[6][e] && (this.modules[6][e] = e % 2 == 0) - }, - setupPositionAdjustPattern: function() { - for (var t = u.getPatternPosition(this.typeNumber), e = 0; e < t.length; e++) - for (var r = 0; r < t.length; r++) { - var i = t[e] - , n = t[r]; - if (null == this.modules[i][n]) - for (var o = -2; o <= 2; o++) - for (var a = -2; a <= 2; a++) - this.modules[i + o][n + a] = -2 == o || 2 == o || -2 == a || 2 == a || 0 == o && 0 == a - } - }, - setupTypeNumber: function(t) { - for (var e = u.getBCHTypeNumber(this.typeNumber), r = 0; r < 18; r++) { - i = !t && 1 == (e >> r & 1); - this.modules[Math.floor(r / 3)][r % 3 + this.moduleCount - 8 - 3] = i - } - for (r = 0; r < 18; r++) { - var i = !t && 1 == (e >> r & 1); - this.modules[r % 3 + this.moduleCount - 8 - 3][Math.floor(r / 3)] = i - } - }, - setupTypeInfo: function(t, e) { - for (var r = this.errorCorrectLevel << 3 | e, i = u.getBCHTypeInfo(r), n = 0; n < 15; n++) { - o = !t && 1 == (i >> n & 1); - n < 6 ? this.modules[n][8] = o : n < 8 ? this.modules[n + 1][8] = o : this.modules[this.moduleCount - 15 + n][8] = o - } - for (n = 0; n < 15; n++) { - var o = !t && 1 == (i >> n & 1); - n < 8 ? this.modules[8][this.moduleCount - n - 1] = o : n < 9 ? this.modules[8][15 - n - 1 + 1] = o : this.modules[8][15 - n - 1] = o - } - this.modules[this.moduleCount - 8][8] = !t - }, - mapData: function(t, e) { - for (var r = -1, i = this.moduleCount - 1, n = 7, o = 0, a = this.moduleCount - 1; a > 0; a -= 2) - for (6 == a && a--; ; ) { - for (var s = 0; s < 2; s++) - if (null == this.modules[i][a - s]) { - var h = !1; - o < t.length && (h = 1 == (t[o] >>> n & 1)); - u.getMask(e, i, a - s) && (h = !h), - this.modules[i][a - s] = h, - -1 == --n && (o++, - n = 7) - } - if ((i += r) < 0 || this.moduleCount <= i) { - i -= r, - r = -r; - break - } - } - } - }, - e.PAD0 = 236, - e.PAD1 = 17, - e.createData = function(t, r, o) { - for (var a = i.getRSBlocks(t, r), s = new n, h = 0; h < o.length; h++) { - var l = o[h]; - s.put(l.mode, 4), - s.put(l.getLength(), u.getLengthInBits(l.mode, t)), - l.write(s) - } - for (var c = 0, h = 0; h < a.length; h++) - c += a[h].dataCount; - if (s.getLengthInBits() > 8 * c) - throw new Error("code length overflow. (" + s.getLengthInBits() + ">" + 8 * c + ")"); - for (s.getLengthInBits() + 4 <= 8 * c && s.put(0, 4); s.getLengthInBits() % 8 != 0; ) - s.putBit(!1); - for (; ; ) { - if (s.getLengthInBits() >= 8 * c) - break; - if (s.put(e.PAD0, 8), - s.getLengthInBits() >= 8 * c) - break; - s.put(e.PAD1, 8) - } - return e.createBytes(s, a) - } - , - e.createBytes = function(t, e) { - for (var i = 0, n = 0, o = 0, a = new Array(e.length), s = new Array(e.length), h = 0; h < e.length; h++) { - var l = e[h].dataCount - , c = e[h].totalCount - l; - n = Math.max(n, l), - o = Math.max(o, c), - a[h] = new Array(l); - for (m = 0; m < a[h].length; m++) - a[h][m] = 255 & t.buffer[m + i]; - i += l; - var f = u.getErrorCorrectPolynomial(c) - , d = new r(a[h],f.getLength() - 1).mod(f); - s[h] = new Array(f.getLength() - 1); - for (m = 0; m < s[h].length; m++) { - var g = m + d.getLength() - s[h].length; - s[h][m] = g >= 0 ? d.get(g) : 0 - } - } - for (var p = 0, m = 0; m < e.length; m++) - p += e[m].totalCount; - for (var v = new Array(p), w = 0, m = 0; m < n; m++) - for (h = 0; h < e.length; h++) - m < a[h].length && (v[w++] = a[h][m]); - for (m = 0; m < o; m++) - for (h = 0; h < e.length; h++) - m < s[h].length && (v[w++] = s[h][m]); - return v - } - ; - for (var s = { - MODE_NUMBER: 1, - MODE_ALPHA_NUM: 2, - MODE_8BIT_BYTE: 4, - MODE_KANJI: 8 - }, h = { - L: 1, - M: 0, - Q: 3, - H: 2 - }, l = { - PATTERN000: 0, - PATTERN001: 1, - PATTERN010: 2, - PATTERN011: 3, - PATTERN100: 4, - PATTERN101: 5, - PATTERN110: 6, - PATTERN111: 7 - }, u = { - PATTERN_POSITION_TABLE: [[], [6, 18], [6, 22], [6, 26], [6, 30], [6, 34], [6, 22, 38], [6, 24, 42], [6, 26, 46], [6, 28, 50], [6, 30, 54], [6, 32, 58], [6, 34, 62], [6, 26, 46, 66], [6, 26, 48, 70], [6, 26, 50, 74], [6, 30, 54, 78], [6, 30, 56, 82], [6, 30, 58, 86], [6, 34, 62, 90], [6, 28, 50, 72, 94], [6, 26, 50, 74, 98], [6, 30, 54, 78, 102], [6, 28, 54, 80, 106], [6, 32, 58, 84, 110], [6, 30, 58, 86, 114], [6, 34, 62, 90, 118], [6, 26, 50, 74, 98, 122], [6, 30, 54, 78, 102, 126], [6, 26, 52, 78, 104, 130], [6, 30, 56, 82, 108, 134], [6, 34, 60, 86, 112, 138], [6, 30, 58, 86, 114, 142], [6, 34, 62, 90, 118, 146], [6, 30, 54, 78, 102, 126, 150], [6, 24, 50, 76, 102, 128, 154], [6, 28, 54, 80, 106, 132, 158], [6, 32, 58, 84, 110, 136, 162], [6, 26, 54, 82, 110, 138, 166], [6, 30, 58, 86, 114, 142, 170]], - G15: 1335, - G18: 7973, - G15_MASK: 21522, - getBCHTypeInfo: function(t) { - for (var e = t << 10; u.getBCHDigit(e) - u.getBCHDigit(u.G15) >= 0; ) - e ^= u.G15 << u.getBCHDigit(e) - u.getBCHDigit(u.G15); - return (t << 10 | e) ^ u.G15_MASK - }, - getBCHTypeNumber: function(t) { - for (var e = t << 12; u.getBCHDigit(e) - u.getBCHDigit(u.G18) >= 0; ) - e ^= u.G18 << u.getBCHDigit(e) - u.getBCHDigit(u.G18); - return t << 12 | e - }, - getBCHDigit: function(t) { - for (var e = 0; 0 != t; ) - e++, - t >>>= 1; - return e - }, - getPatternPosition: function(t) { - return u.PATTERN_POSITION_TABLE[t - 1] - }, - getMask: function(t, e, r) { - switch (t) { - case l.PATTERN000: - return (e + r) % 2 == 0; - case l.PATTERN001: - return e % 2 == 0; - case l.PATTERN010: - return r % 3 == 0; - case l.PATTERN011: - return (e + r) % 3 == 0; - case l.PATTERN100: - return (Math.floor(e / 2) + Math.floor(r / 3)) % 2 == 0; - case l.PATTERN101: - return e * r % 2 + e * r % 3 == 0; - case l.PATTERN110: - return (e * r % 2 + e * r % 3) % 2 == 0; - case l.PATTERN111: - return (e * r % 3 + (e + r) % 2) % 2 == 0; - default: - throw new Error("bad maskPattern:" + t) - } - }, - getErrorCorrectPolynomial: function(t) { - for (var e = new r([1],0), i = 0; i < t; i++) - e = e.multiply(new r([1, c.gexp(i)],0)); - return e - }, - getLengthInBits: function(t, e) { - if (1 <= e && e < 10) - switch (t) { - case s.MODE_NUMBER: - return 10; - case s.MODE_ALPHA_NUM: - return 9; - case s.MODE_8BIT_BYTE: - case s.MODE_KANJI: - return 8; - default: - throw new Error("mode:" + t) - } - else if (e < 27) - switch (t) { - case s.MODE_NUMBER: - return 12; - case s.MODE_ALPHA_NUM: - return 11; - case s.MODE_8BIT_BYTE: - return 16; - case s.MODE_KANJI: - return 10; - default: - throw new Error("mode:" + t) - } - else { - if (!(e < 41)) - throw new Error("type:" + e); - switch (t) { - case s.MODE_NUMBER: - return 14; - case s.MODE_ALPHA_NUM: - return 13; - case s.MODE_8BIT_BYTE: - return 16; - case s.MODE_KANJI: - return 12; - default: - throw new Error("mode:" + t) - } - } - }, - getLostPoint: function(t) { - for (var e = t.getModuleCount(), r = 0, i = 0; i < e; i++) - for (u = 0; u < e; u++) { - for (var n = 0, o = t.isDark(i, u), a = -1; a <= 1; a++) - if (!(i + a < 0 || e <= i + a)) - for (var s = -1; s <= 1; s++) - u + s < 0 || e <= u + s || 0 == a && 0 == s || o == t.isDark(i + a, u + s) && n++; - n > 5 && (r += 3 + n - 5) - } - for (i = 0; i < e - 1; i++) - for (u = 0; u < e - 1; u++) { - var h = 0; - t.isDark(i, u) && h++, - t.isDark(i + 1, u) && h++, - t.isDark(i, u + 1) && h++, - t.isDark(i + 1, u + 1) && h++, - 0 != h && 4 != h || (r += 3) - } - for (i = 0; i < e; i++) - for (u = 0; u < e - 6; u++) - t.isDark(i, u) && !t.isDark(i, u + 1) && t.isDark(i, u + 2) && t.isDark(i, u + 3) && t.isDark(i, u + 4) && !t.isDark(i, u + 5) && t.isDark(i, u + 6) && (r += 40); - for (u = 0; u < e; u++) - for (i = 0; i < e - 6; i++) - t.isDark(i, u) && !t.isDark(i + 1, u) && t.isDark(i + 2, u) && t.isDark(i + 3, u) && t.isDark(i + 4, u) && !t.isDark(i + 5, u) && t.isDark(i + 6, u) && (r += 40); - for (var l = 0, u = 0; u < e; u++) - for (i = 0; i < e; i++) - t.isDark(i, u) && l++; - return r += 10 * (Math.abs(100 * l / e / e - 50) / 5) - } - }, c = { - glog: function(t) { - if (t < 1) - throw new Error("glog(" + t + ")"); - return c.LOG_TABLE[t] - }, - gexp: function(t) { - for (; t < 0; ) - t += 255; - for (; t >= 256; ) - t -= 255; - return c.EXP_TABLE[t] - }, - EXP_TABLE: new Array(256), - LOG_TABLE: new Array(256) - }, f = 0; f < 8; f++) - c.EXP_TABLE[f] = 1 << f; - for (f = 8; f < 256; f++) - c.EXP_TABLE[f] = c.EXP_TABLE[f - 4] ^ c.EXP_TABLE[f - 5] ^ c.EXP_TABLE[f - 6] ^ c.EXP_TABLE[f - 8]; - for (f = 0; f < 255; f++) - c.LOG_TABLE[c.EXP_TABLE[f]] = f; - r.prototype = { - get: function(t) { - return this.num[t] - }, - getLength: function() { - return this.num.length - }, - multiply: function(t) { - for (var e = new Array(this.getLength() + t.getLength() - 1), i = 0; i < this.getLength(); i++) - for (var n = 0; n < t.getLength(); n++) - e[i + n] ^= c.gexp(c.glog(this.get(i)) + c.glog(t.get(n))); - return new r(e,0) - }, - mod: function(t) { - if (this.getLength() - t.getLength() < 0) - return this; - for (var e = c.glog(this.get(0)) - c.glog(t.get(0)), i = new Array(this.getLength()), n = 0; n < this.getLength(); n++) - i[n] = this.get(n); - for (n = 0; n < t.getLength(); n++) - i[n] ^= c.gexp(c.glog(t.get(n)) + e); - return new r(i,0).mod(t) - } - }, - i.RS_BLOCK_TABLE = [[1, 26, 19], [1, 26, 16], [1, 26, 13], [1, 26, 9], [1, 44, 34], [1, 44, 28], [1, 44, 22], [1, 44, 16], [1, 70, 55], [1, 70, 44], [2, 35, 17], [2, 35, 13], [1, 100, 80], [2, 50, 32], [2, 50, 24], [4, 25, 9], [1, 134, 108], [2, 67, 43], [2, 33, 15, 2, 34, 16], [2, 33, 11, 2, 34, 12], [2, 86, 68], [4, 43, 27], [4, 43, 19], [4, 43, 15], [2, 98, 78], [4, 49, 31], [2, 32, 14, 4, 33, 15], [4, 39, 13, 1, 40, 14], [2, 121, 97], [2, 60, 38, 2, 61, 39], [4, 40, 18, 2, 41, 19], [4, 40, 14, 2, 41, 15], [2, 146, 116], [3, 58, 36, 2, 59, 37], [4, 36, 16, 4, 37, 17], [4, 36, 12, 4, 37, 13], [2, 86, 68, 2, 87, 69], [4, 69, 43, 1, 70, 44], [6, 43, 19, 2, 44, 20], [6, 43, 15, 2, 44, 16], [4, 101, 81], [1, 80, 50, 4, 81, 51], [4, 50, 22, 4, 51, 23], [3, 36, 12, 8, 37, 13], [2, 116, 92, 2, 117, 93], [6, 58, 36, 2, 59, 37], [4, 46, 20, 6, 47, 21], [7, 42, 14, 4, 43, 15], [4, 133, 107], [8, 59, 37, 1, 60, 38], [8, 44, 20, 4, 45, 21], [12, 33, 11, 4, 34, 12], [3, 145, 115, 1, 146, 116], [4, 64, 40, 5, 65, 41], [11, 36, 16, 5, 37, 17], [11, 36, 12, 5, 37, 13], [5, 109, 87, 1, 110, 88], [5, 65, 41, 5, 66, 42], [5, 54, 24, 7, 55, 25], [11, 36, 12], [5, 122, 98, 1, 123, 99], [7, 73, 45, 3, 74, 46], [15, 43, 19, 2, 44, 20], [3, 45, 15, 13, 46, 16], [1, 135, 107, 5, 136, 108], [10, 74, 46, 1, 75, 47], [1, 50, 22, 15, 51, 23], [2, 42, 14, 17, 43, 15], [5, 150, 120, 1, 151, 121], [9, 69, 43, 4, 70, 44], [17, 50, 22, 1, 51, 23], [2, 42, 14, 19, 43, 15], [3, 141, 113, 4, 142, 114], [3, 70, 44, 11, 71, 45], [17, 47, 21, 4, 48, 22], [9, 39, 13, 16, 40, 14], [3, 135, 107, 5, 136, 108], [3, 67, 41, 13, 68, 42], [15, 54, 24, 5, 55, 25], [15, 43, 15, 10, 44, 16], [4, 144, 116, 4, 145, 117], [17, 68, 42], [17, 50, 22, 6, 51, 23], [19, 46, 16, 6, 47, 17], [2, 139, 111, 7, 140, 112], [17, 74, 46], [7, 54, 24, 16, 55, 25], [34, 37, 13], [4, 151, 121, 5, 152, 122], [4, 75, 47, 14, 76, 48], [11, 54, 24, 14, 55, 25], [16, 45, 15, 14, 46, 16], [6, 147, 117, 4, 148, 118], [6, 73, 45, 14, 74, 46], [11, 54, 24, 16, 55, 25], [30, 46, 16, 2, 47, 17], [8, 132, 106, 4, 133, 107], [8, 75, 47, 13, 76, 48], [7, 54, 24, 22, 55, 25], [22, 45, 15, 13, 46, 16], [10, 142, 114, 2, 143, 115], [19, 74, 46, 4, 75, 47], [28, 50, 22, 6, 51, 23], [33, 46, 16, 4, 47, 17], [8, 152, 122, 4, 153, 123], [22, 73, 45, 3, 74, 46], [8, 53, 23, 26, 54, 24], [12, 45, 15, 28, 46, 16], [3, 147, 117, 10, 148, 118], [3, 73, 45, 23, 74, 46], [4, 54, 24, 31, 55, 25], [11, 45, 15, 31, 46, 16], [7, 146, 116, 7, 147, 117], [21, 73, 45, 7, 74, 46], [1, 53, 23, 37, 54, 24], [19, 45, 15, 26, 46, 16], [5, 145, 115, 10, 146, 116], [19, 75, 47, 10, 76, 48], [15, 54, 24, 25, 55, 25], [23, 45, 15, 25, 46, 16], [13, 145, 115, 3, 146, 116], [2, 74, 46, 29, 75, 47], [42, 54, 24, 1, 55, 25], [23, 45, 15, 28, 46, 16], [17, 145, 115], [10, 74, 46, 23, 75, 47], [10, 54, 24, 35, 55, 25], [19, 45, 15, 35, 46, 16], [17, 145, 115, 1, 146, 116], [14, 74, 46, 21, 75, 47], [29, 54, 24, 19, 55, 25], [11, 45, 15, 46, 46, 16], [13, 145, 115, 6, 146, 116], [14, 74, 46, 23, 75, 47], [44, 54, 24, 7, 55, 25], [59, 46, 16, 1, 47, 17], [12, 151, 121, 7, 152, 122], [12, 75, 47, 26, 76, 48], [39, 54, 24, 14, 55, 25], [22, 45, 15, 41, 46, 16], [6, 151, 121, 14, 152, 122], [6, 75, 47, 34, 76, 48], [46, 54, 24, 10, 55, 25], [2, 45, 15, 64, 46, 16], [17, 152, 122, 4, 153, 123], [29, 74, 46, 14, 75, 47], [49, 54, 24, 10, 55, 25], [24, 45, 15, 46, 46, 16], [4, 152, 122, 18, 153, 123], [13, 74, 46, 32, 75, 47], [48, 54, 24, 14, 55, 25], [42, 45, 15, 32, 46, 16], [20, 147, 117, 4, 148, 118], [40, 75, 47, 7, 76, 48], [43, 54, 24, 22, 55, 25], [10, 45, 15, 67, 46, 16], [19, 148, 118, 6, 149, 119], [18, 75, 47, 31, 76, 48], [34, 54, 24, 34, 55, 25], [20, 45, 15, 61, 46, 16]], - i.getRSBlocks = function(t, e) { - var r = i.getRsBlockTable(t, e); - if (void 0 == r) - throw new Error("bad rs block @ typeNumber:" + t + "/errorCorrectLevel:" + e); - for (var n = r.length / 3, o = [], a = 0; a < n; a++) - for (var s = r[3 * a + 0], h = r[3 * a + 1], l = r[3 * a + 2], u = 0; u < s; u++) - o.push(new i(h,l)); - return o - } - , - i.getRsBlockTable = function(t, e) { - switch (e) { - case h.L: - return i.RS_BLOCK_TABLE[4 * (t - 1) + 0]; - case h.M: - return i.RS_BLOCK_TABLE[4 * (t - 1) + 1]; - case h.Q: - return i.RS_BLOCK_TABLE[4 * (t - 1) + 2]; - case h.H: - return i.RS_BLOCK_TABLE[4 * (t - 1) + 3]; - default: - return - } - } - , - n.prototype = { - get: function(t) { - var e = Math.floor(t / 8); - return 1 == (this.buffer[e] >>> 7 - t % 8 & 1) - }, - put: function(t, e) { - for (var r = 0; r < e; r++) - this.putBit(1 == (t >>> e - r - 1 & 1)) - }, - getLengthInBits: function() { - return this.length - }, - putBit: function(t) { - var e = Math.floor(this.length / 8); - this.buffer.length <= e && this.buffer.push(0), - t && (this.buffer[e] |= 128 >>> this.length % 8), - this.length++ - } - }; - var d = [[17, 14, 11, 7], [32, 26, 20, 14], [53, 42, 32, 24], [78, 62, 46, 34], [106, 84, 60, 44], [134, 106, 74, 58], [154, 122, 86, 64], [192, 152, 108, 84], [230, 180, 130, 98], [271, 213, 151, 119], [321, 251, 177, 137], [367, 287, 203, 155], [425, 331, 241, 177], [458, 362, 258, 194], [520, 412, 292, 220], [586, 450, 322, 250], [644, 504, 364, 280], [718, 560, 394, 310], [792, 624, 442, 338], [858, 666, 482, 382], [929, 711, 509, 403], [1003, 779, 565, 439], [1091, 857, 611, 461], [1171, 911, 661, 511], [1273, 997, 715, 535], [1367, 1059, 751, 593], [1465, 1125, 805, 625], [1528, 1190, 868, 658], [1628, 1264, 908, 698], [1732, 1370, 982, 742], [1840, 1452, 1030, 790], [1952, 1538, 1112, 842], [2068, 1628, 1168, 898], [2188, 1722, 1228, 958], [2303, 1809, 1283, 983], [2431, 1911, 1351, 1051], [2563, 1989, 1423, 1093], [2699, 2099, 1499, 1139], [2809, 2213, 1579, 1219], [2953, 2331, 1663, 1273]] - , g = function() { - var t = function(t, e) { - this._el = t, - this._htOption = e - }; - return t.prototype.draw = function(t) { - function e(t, e) { - var r = document.createElementNS("http://www.w3.org/2000/svg", t); - for (var i in e) - e.hasOwnProperty(i) && r.setAttribute(i, e[i]); - return r - } - var r = this._htOption - , i = this._el - , n = t.getModuleCount(); - Math.floor(r.width / n), - Math.floor(r.height / n); - this.clear(); - var o = e("svg", { - viewBox: "0 0 " + String(n) + " " + String(n), - width: "100%", - height: "100%", - fill: r.colorLight - }); - o.setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:xlink", "http://www.w3.org/1999/xlink"), - i.appendChild(o), - o.appendChild(e("rect", { - fill: r.colorLight, - width: "100%", - height: "100%" - })), - o.appendChild(e("rect", { - fill: r.colorDark, - width: "1", - height: "1", - id: "template" - })); - for (var a = 0; a < n; a++) - for (var s = 0; s < n; s++) - if (t.isDark(a, s)) { - var h = e("use", { - x: String(s), - y: String(a) - }); - h.setAttributeNS("http://www.w3.org/1999/xlink", "href", "#template"), - o.appendChild(h) - } - } - , - t.prototype.clear = function() { - for (; this._el.hasChildNodes(); ) - this._el.removeChild(this._el.lastChild) - } - , - t - }() - , p = "svg" === document.documentElement.tagName.toLowerCase() ? g : "undefined" == typeof CanvasRenderingContext2D ? function() { - var t = function(t, e) { - this._el = t, - this._htOption = e - }; - return t.prototype.draw = function(t) { - for (var e = this._htOption, r = this._el, i = t.getModuleCount(), n = Math.floor(e.width / i), o = Math.floor(e.height / i), a = [''], s = 0; s < i; s++) { - a.push(""); - for (var h = 0; h < i; h++) - a.push(''); - a.push("") - } - a.push("
        "), - r.innerHTML = a.join(""); - var l = r.childNodes[0] - , u = (e.width - l.offsetWidth) / 2 - , c = (e.height - l.offsetHeight) / 2; - u > 0 && c > 0 && (l.style.margin = c + "px " + u + "px") - } - , - t.prototype.clear = function() { - this._el.innerHTML = "" - } - , - t - }() : function() { - function t() { - this._elImage.src = this._elCanvas.toDataURL("image/png"), - this._elImage.style.display = "block", - this._elCanvas.style.display = "none" - } - if (this._android && this._android <= 2.1) { - var e = 1 / window.devicePixelRatio - , r = CanvasRenderingContext2D.prototype.drawImage; - CanvasRenderingContext2D.prototype.drawImage = function(t, i, n, o, a, s, h, l, u) { - if ("nodeName"in t && /img/i.test(t.nodeName)) - for (var c = arguments.length - 1; c >= 1; c--) - arguments[c] = arguments[c] * e; - else - void 0 === l && (arguments[1] *= e, - arguments[2] *= e, - arguments[3] *= e, - arguments[4] *= e); - r.apply(this, arguments) - } - } - var i = function(t, e) { - this._bIsPainted = !1, - this._android = o(), - this._htOption = e, - this._elCanvas = document.createElement("canvas"), - this._elCanvas.width = e.width, - this._elCanvas.height = e.height, - t.appendChild(this._elCanvas), - this._el = t, - this._oContext = this._elCanvas.getContext("2d"), - this._bIsPainted = !1, - this._elImage = document.createElement("img"), - this._elImage.alt = "Scan me!", - this._elImage.style.display = "none", - this._el.appendChild(this._elImage), - this._bSupportDataURI = null - }; - return i.prototype.draw = function(t) { - var e = this._elImage - , r = this._oContext - , i = this._htOption - , n = t.getModuleCount() - , o = i.width / n - , a = i.height / n - , s = Math.round(o) - , h = Math.round(a); - e.style.display = "none", - this.clear(); - for (var l = 0; l < n; l++) - for (var u = 0; u < n; u++) { - var c = t.isDark(l, u) - , f = u * o - , d = l * a; - r.strokeStyle = c ? i.colorDark : i.colorLight, - r.lineWidth = 1, - r.fillStyle = c ? i.colorDark : i.colorLight, - r.fillRect(f, d, o, a), - r.strokeRect(Math.floor(f) + .5, Math.floor(d) + .5, s, h), - r.strokeRect(Math.ceil(f) - .5, Math.ceil(d) - .5, s, h) - } - this._bIsPainted = !0 - } - , - i.prototype.makeImage = function() { - this._bIsPainted && function(t, e) { - var r = this; - if (r._fFail = e, - r._fSuccess = t, - null === r._bSupportDataURI) { - var i = document.createElement("img") - , n = function() { - r._bSupportDataURI = !1, - r._fFail && r._fFail.call(r) - }; - return i.onabort = n, - i.onerror = n, - i.onload = function() { - r._bSupportDataURI = !0, - r._fSuccess && r._fSuccess.call(r) - } - , - void (i.src = "data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==") - } - !0 === r._bSupportDataURI && r._fSuccess ? r._fSuccess.call(r) : !1 === r._bSupportDataURI && r._fFail && r._fFail.call(r) - } - .call(this, t) - } - , - i.prototype.isPainted = function() { - return this._bIsPainted - } - , - i.prototype.clear = function() { - this._oContext.clearRect(0, 0, this._elCanvas.width, this._elCanvas.height), - this._bIsPainted = !1 - } - , - i.prototype.round = function(t) { - return t ? Math.floor(1e3 * t) / 1e3 : t - } - , - i - }(); - (QRCode = function(t, e) { - if (this._htOption = { - width: 256, - height: 256, - typeNumber: 4, - colorDark: "#000000", - colorLight: "#ffffff", - correctLevel: h.H - }, - "string" == typeof e && (e = { - text: e - }), - e) - for (var r in e) - this._htOption[r] = e[r]; - "string" == typeof t && (t = document.getElementById(t)), - this._htOption.useSVG && (p = g), - this._android = o(), - this._el = t, - this._oQRCode = null, - this._oDrawing = new p(this._el,this._htOption), - this._htOption.text && this.makeCode(this._htOption.text) - } - ).prototype.makeCode = function(t) { - this._oQRCode = new e(a(t, this._htOption.correctLevel),this._htOption.correctLevel), - this._oQRCode.addData(t), - this._oQRCode.make(), - this._el.title = t, - this._oDrawing.draw(this._oQRCode), - this.makeImage() - } - , - QRCode.prototype.makeImage = function() { - "function" == typeof this._oDrawing.makeImage && (!this._android || this._android >= 3) && this._oDrawing.makeImage() - } - , - QRCode.prototype.clear = function() { - this._oDrawing.clear() - } - , - QRCode.CorrectLevel = h - }(), - function(t, e, r) { - function i(t, e) { - var i = function() { - var t = arguments; - if (u) - return u.apply(null, t); - var e = {}; - return h(t, function(t) { - h(t, function(t, r) { - e[r] = t - }) - }), - t[0] = e - }({}, v, e || {}, function(t) { - if (t.dataset) - return JSON.parse(JSON.stringify(t.dataset)); - var e = {}; - if (t.hasAttributes()) - return h(t.attributes, function(t) { - var r = t.name; - if (0 !== r.indexOf("data-")) - return !0; - r = r.replace(/^data-/i, "").replace(/-(\w)/g, function(t, e) { - return e.toUpperCase() - }), - e[r] = t.value - }), - e; - return {} - }(t)); - i.imageSelector && (i.image = n(i.imageSelector).map(function(t) { - return t.src - }).join("||")), - function(t, e) { - if (e && "string" == typeof e) { - var r = " "; - h((t.className + " " + e).split(/\s+/), function(t) { - r.indexOf(" " + t + " ") < 0 && (r += t + " ") - }), - t.className = r.slice(1, -1) - } - }(t, "share-component social-share"), - function(t, e) { - var i = function(t) { - t.mobileSites.length || (t.mobileSites = t.sites); - var e = (f ? t.mobileSites : t.sites).slice(0) - , r = t.disabled; - "string" == typeof e && (e = e.split(/\s*,\s*/)); - "string" == typeof r && (r = r.split(/\s*,\s*/)); - c && r.push("wechat"); - return r.length && h(r, function(t) { - e.splice(function(t, e, r) { - var i; - if (e) { - if (l) - return l.call(e, t, r); - for (i = e.length, - r = r ? r < 0 ? Math.max(0, i + r) : r : 0; r < i; r++) - if (r in e && e[r] === t) - return r - } - return -1 - }(t, e), 1) - }), - e - }(e) - , n = "prepend" == e.mode; - h(n ? i.reverse() : i, function(i) { - var o = function(t, e) { - e.summary || (e.summary = e.description); - return w[t].replace(/\{\{(\w)(\w*)\}\}/g, function(i, n, o) { - var a = t + n + o.toLowerCase(); - return o = (n + o).toLowerCase(), - encodeURIComponent((e[a] === r ? e[o] : e[a]) || "") - }) - }(i, e) - , h = e.initialized ? a(t, "icon-" + i) : s(''); - if (!h.length) - return !0; - h[0].href = o, - "wechat" === i ? h[0].tabindex = -1 : h[0].target = "_blank", - e.initialized || (n ? t.insertBefore(h[0], t.firstChild) : t.appendChild(h[0])) - }) - }(t, i), - function(t, e) { - var r = a(t, "icon-wechat", "a"); - if (0 === r.length) - return !1; - var i = s('

        ' + e.wechatQrcodeTitle + '

        ' + e.wechatQrcodeHelper + "
        ") - , n = a(i[0], "qrcode", "div"); - r[0].appendChild(i[0]), - new QRCode(n[0],{ - text: e.url, - width: e.wechatQrcodeSize, - height: e.wechatQrcodeSize - }) - }(t, i), - t.initialized = !0 - } - function n(r) { - return (e.querySelectorAll || t.jQuery || t.Zepto || function(t) { - var r = []; - return h(t.split(/\s*,\s*/), function(i) { - var n = i.match(/([#.])(\w+)/); - if (null === n) - throw Error("Supports only simple single #ID or .CLASS selector."); - if (n[1]) { - var o = e.getElementById(n[2]); - o && r.push(o) - } - r = r.concat(a(t)) - }), - r - } - ).call(e, r) - } - function o(t) { - return (e.getElementsByName(t)[0] || 0).content - } - function a(t, e, r) { - if (t.getElementsByClassName) - return t.getElementsByClassName(e); - var i = [] - , n = t.getElementsByTagName(r || "*"); - return e = " " + e + " ", - h(n, function(t) { - (" " + (t.className || "") + " ").indexOf(e) >= 0 && i.push(t) - }), - i - } - function s(t) { - var r = e.createElement("div"); - return r.innerHTML = t, - r.childNodes - } - function h(t, e) { - var i = t.length; - if (i === r) { - for (var n in t) - if (t.hasOwnProperty(n) && !1 === e.call(t[n], t[n], n)) - break - } else - for (var o = 0; o < i && !1 !== e.call(t[o], t[o], o); o++) - ; - } - var l = Array.prototype.indexOf - , u = Object.assign - , c = /MicroMessenger/i.test(navigator.userAgent) - , f = e.documentElement.clientWidth <= 768 - , d = (e.images[0] || 0).src || "" - , g = o("site") || o("Site") || e.title - , p = o("title") || o("Title") || e.title - , m = o("description") || o("Description") || "" - , v = { - url: location.href, - origin: location.origin, - source: g, - title: p, - description: m, - image: d, - imageSelector: r, - weiboKey: "", - wechatQrcodeTitle: "微信扫一扫:分享", - wechatQrcodeHelper: "

        微信里点“发现”,扫一下

        二维码便可将本文分享至朋友圈。

        ", - wechatQrcodeSize: 100, - sites: ["weibo", "qq", "wechat", "tencent", "douban", "qzone", "linkedin", "diandian", "facebook", "twitter", "google"], - mobileSites: [], - disabled: [], - initialized: !1 - } - , w = { - qzone: "http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url={{URL}}&title={{TITLE}}&desc={{DESCRIPTION}}&summary={{SUMMARY}}&site={{SOURCE}}", - qq: 'http://connect.qq.com/widget/shareqq/index.html?url={{URL}}&title={{TITLE}}&source={{SOURCE}}&desc={{DESCRIPTION}}&pics={{IMAGE}}&summary="{{SUMMARY}}"', - tencent: "http://share.v.t.qq.com/index.php?c=share&a=index&title={{TITLE}}&url={{URL}}&pic={{IMAGE}}", - weibo: "http://service.weibo.com/share/share.php?url={{URL}}&title={{TITLE}}&pic={{IMAGE}}&appkey={{WEIBOKEY}}", - wechat: "javascript:", - douban: "http://shuo.douban.com/!service/share?href={{URL}}&name={{TITLE}}&text={{DESCRIPTION}}&image={{IMAGE}}&starid=0&aid=0&style=11", - diandian: "http://www.diandian.com/share?lo={{URL}}&ti={{TITLE}}&type=link", - linkedin: "http://www.linkedin.com/shareArticle?mini=true&ro=true&title={{TITLE}}&url={{URL}}&summary={{SUMMARY}}&source={{SOURCE}}&armin=armin", - facebook: "https://www.facebook.com/sharer/sharer.php?u={{URL}}", - twitter: "https://twitter.com/intent/tweet?text={{TITLE}}&url={{URL}}&via={{ORIGIN}}", - google: "https://plus.google.com/share?url={{URL}}" - }; - t.socialShare = function(t, e) { - (t = "string" == typeof t ? n(t) : t).length === r && (t = [t]), - h(t, function(t) { - t.initialized || i(t, e) - }) - } - , - function(r) { - var i = "addEventListener" - , n = e[i] ? "" : "on"; - ~e.readyState.indexOf("m") ? r() : "load DOMContentLoaded readystatechange".replace(/\w+/g, function(o, a) { - (a ? e : t)[n ? "attachEvent" : i](n + o, function() { - r && (a < 6 || ~e.readyState.indexOf("m")) && (r(), - r = 0) - }, !1) - }) - }(function() { - socialShare(".social-share, .share-component") - }) - }(window, document); -} -/*! - * baguetteBox.js - * @author feimosi - * @version 1.3.2 - * @url https://github.com/feimosi/baguetteBox.js - */ - -var baguetteBox = function() { - function t(t, n) { - H.transforms = f(), - H.svg = g(), - e(), - j = document.querySelectorAll(t), - [].forEach.call(j, function(t) { - n && n.filter && (A = n.filter); - var e = t.getElementsByTagName("a"); - e = [].filter.call(e, function(t) { - return A.test(t.href) - }); - var o = D.length; - D.push(e), - D[o].options = n, - [].forEach.call(D[o], function(t, e) { - m(t, "click", function(t) { - t.preventDefault ? t.preventDefault() : t.returnValue = !1, - i(o), - a(e) - }) - }) - }) - } - function e() { - return (b = v("baguetteBox-overlay")) ? (k = v("baguetteBox-slider"), - w = v("previous-button"), - C = v("next-button"), - T = v("close-button"), - void 0) : (b = y("div"), - b.id = "baguetteBox-overlay", - document.getElementsByTagName("body")[0].appendChild(b), - k = y("div"), - k.id = "baguetteBox-slider", - b.appendChild(k), - w = y("button"), - w.id = "previous-button", - w.innerHTML = H.svg ? E : "<", - b.appendChild(w), - C = y("button"), - C.id = "next-button", - C.innerHTML = H.svg ? x : ">", - b.appendChild(C), - T = y("button"), - T.id = "close-button", - T.innerHTML = H.svg ? B : "X", - b.appendChild(T), - w.className = C.className = T.className = "baguetteBox-button", - n(), - void 0) - } - function n() { - m(b, "click", function(t) { - t.target && "IMG" !== t.target.nodeName && "FIGCAPTION" !== t.target.nodeName && r() - }), - m(w, "click", function(t) { - t.stopPropagation ? t.stopPropagation() : t.cancelBubble = !0, - c() - }), - m(C, "click", function(t) { - t.stopPropagation ? t.stopPropagation() : t.cancelBubble = !0, - u() - }), - m(T, "click", function(t) { - t.stopPropagation ? t.stopPropagation() : t.cancelBubble = !0, - r() - }), - m(b, "touchstart", function(t) { - N = t.changedTouches[0].pageX - }), - m(b, "touchmove", function(t) { - S || (t.preventDefault ? t.preventDefault() : t.returnValue = !1, - touch = t.touches[0] || t.changedTouches[0], - touch.pageX - N > 40 ? (S = !0, - c()) : touch.pageX - N < -40 && (S = !0, - u())) - }), - m(b, "touchend", function() { - S = !1 - }), - m(document, "keydown", function(t) { - switch (t.keyCode) { - case 37: - c(); - break; - case 39: - u(); - break; - case 27: - r() - } - }) - } - function i(t) { - if (M !== t) { - for (M = t, - o(D[t].options); k.firstChild; ) - k.removeChild(k.firstChild); - X.length = 0; - for (var e, n = 0; n < D[t].length; n++) - e = y("div"), - e.className = "full-image", - e.id = "baguette-img-" + n, - X.push(e), - k.appendChild(X[n]) - } - } - function o(t) { - t || (t = {}); - for (var e in P) - I[e] = P[e], - "undefined" != typeof t[e] && (I[e] = t[e]); - k.style.transition = k.style.webkitTransition = "fadeIn" === I.animation ? "opacity .4s ease" : "slideIn" === I.animation ? "" : "none", - "auto" === I.buttons && ("ontouchstart"in window || 1 === D[M].length) && (I.buttons = !1), - w.style.display = C.style.display = I.buttons ? "" : "none" - } - function a(t) { - "block" !== b.style.display && (L = t, - s(L, function() { - p(L), - h(L) - }), - d(), - b.style.display = "block", - setTimeout(function() { - b.className = "visible", - I.afterShow && I.afterShow() - }, 50), - I.onChange && I.onChange(L, X.length)) - } - function r() { - "none" !== b.style.display && (b.className = "", - setTimeout(function() { - b.style.display = "none", - I.afterHide && I.afterHide() - }, 500)) - } - function s(t, e) { - var n = X[t]; - if ("undefined" != typeof n) { - if (n.getElementsByTagName("img")[0]) - return e && e(), - void 0; - imageElement = D[M][t], - imageCaption = "function" == typeof I.captions ? I.captions.call(D[M], imageElement) : imageElement.getAttribute("data-caption") || imageElement.title, - imageSrc = l(imageElement); - var i = y("figure") - , o = y("img") - , a = y("figcaption"); - n.appendChild(i), - i.innerHTML = '
        ', - o.onload = function() { - var n = document.querySelector("#baguette-img-" + t + " .spinner"); - i.removeChild(n), - !I.async && e && e() - } - , - o.setAttribute("src", imageSrc), - i.appendChild(o), - I.captions && imageCaption && (a.innerHTML = imageCaption, - i.appendChild(a)), - I.async && e && e() - } - } - function l(t) { - var e = imageElement.href; - if (t.dataset) { - var n = []; - for (var i in t.dataset) - "at-" !== i.substring(0, 3) || isNaN(i.substring(3)) || (n[i.replace("at-", "")] = t.dataset[i]); - keys = Object.keys(n).sort(function(t, e) { - return parseInt(t) < parseInt(e) ? -1 : 1 - }); - for (var o = window.innerWidth * window.devicePixelRatio, a = 0; a < keys.length - 1 && keys[a] < o; ) - a++; - e = n[keys[a]] || e - } - return e - } - function u() { - var t; - return L <= X.length - 2 ? (L++, - d(), - p(L), - t = !0) : I.animation && (k.className = "bounce-from-right", - setTimeout(function() { - k.className = "" - }, 400), - t = !1), - I.onChange && I.onChange(L, X.length), - t - } - function c() { - var t; - return L >= 1 ? (L--, - d(), - h(L), - t = !0) : I.animation && (k.className = "bounce-from-left", - setTimeout(function() { - k.className = "" - }, 400), - t = !1), - I.onChange && I.onChange(L, X.length), - t - } - function d() { - var t = 100 * -L + "%"; - "fadeIn" === I.animation ? (k.style.opacity = 0, - setTimeout(function() { - H.transforms ? k.style.transform = k.style.webkitTransform = "translate3d(" + t + ",0,0)" : k.style.left = t, - k.style.opacity = 1 - }, 400)) : H.transforms ? k.style.transform = k.style.webkitTransform = "translate3d(" + t + ",0,0)" : k.style.left = t - } - function f() { - var t = y("div"); - return "undefined" != typeof t.style.perspective || "undefined" != typeof t.style.webkitPerspective - } - function g() { - var t = y("div"); - return t.innerHTML = "", - "http://www.w3.org/2000/svg" == (t.firstChild && t.firstChild.namespaceURI) - } - function p(t) { - t - L >= I.preload || s(t + 1, function() { - p(t + 1) - }) - } - function h(t) { - L - t >= I.preload || s(t - 1, function() { - h(t - 1) - }) - } - function m(t, e, n) { - t.addEventListener ? t.addEventListener(e, n, !1) : t.attachEvent("on" + e, n) - } - function v(t) { - return document.getElementById(t) - } - function y(t) { - return document.createElement(t) - } - var b, k, w, C, T, N, E = '', x = '', B = '', I = {}, P = { - captions: !0, - buttons: "auto", - async: !1, - preload: 2, - animation: "slideIn", - afterShow: null, - afterHide: null, - onChange: null - }, H = {}, L = 0, M = -1, S = !1, A = /.+\.(gif|jpe?g|png|webp)/i, j = [], D = [], X = []; - return [].forEach || (Array.prototype.forEach = function(t, e) { - for (var n = 0; n < this.length; n++) - t.call(e, this[n], n, this) - } - ), - [].filter || (Array.prototype.filter = function(t, e, n, i, o) { - for (n = this, - i = [], - o = 0; o < n.length; o++) - t.call(e, n[o], o, n) && i.push(n[o]); - return i - } - ), - { - run: t, - showNext: u, - showPrevious: c - } -}(); -var MD5 = function(s) { - function L(k, d) { - return (k << d) | (k >>> (32 - d)) - } - function K(G, k) { - var I, d, F, H, x; - F = (G & 2147483648); - H = (k & 2147483648); - I = (G & 1073741824); - d = (k & 1073741824); - x = (G & 1073741823) + (k & 1073741823); - if (I & d) { - return (x ^ 2147483648 ^ F ^ H) - } - if (I | d) { - if (x & 1073741824) { - return (x ^ 3221225472 ^ F ^ H) - } else { - return (x ^ 1073741824 ^ F ^ H) - } - } else { - return (x ^ F ^ H) - } - } - function r(d, F, k) { - return (d & F) | ((~d) & k) - } - function q(d, F, k) { - return (d & k) | (F & (~k)) - } - function p(d, F, k) { - return (d ^ F ^ k) - } - function n(d, F, k) { - return (F ^ (d | (~k))) - } - function u(G, F, aa, Z, k, H, I) { - G = K(G, K(K(r(F, aa, Z), k), I)); - return K(L(G, H), F) - } - function f(G, F, aa, Z, k, H, I) { - G = K(G, K(K(q(F, aa, Z), k), I)); - return K(L(G, H), F) - } - function D(G, F, aa, Z, k, H, I) { - G = K(G, K(K(p(F, aa, Z), k), I)); - return K(L(G, H), F) - } - function t(G, F, aa, Z, k, H, I) { - G = K(G, K(K(n(F, aa, Z), k), I)); - return K(L(G, H), F) - } - function e(G) { - var Z; - var F = G.length; - var x = F + 8; - var k = (x - (x % 64)) / 64; - var I = (k + 1) * 16; - var aa = Array(I - 1); - var d = 0; - var H = 0; - while (H < F) { - Z = (H - (H % 4)) / 4; - d = (H % 4) * 8; - aa[Z] = (aa[Z] | (G.charCodeAt(H) << d)); - H++ - } - Z = (H - (H % 4)) / 4; - d = (H % 4) * 8; - aa[Z] = aa[Z] | (128 << d); - aa[I - 2] = F << 3; - aa[I - 1] = F >>> 29; - return aa - } - function B(x) { - var k = "", F = "", G, d; - for (d = 0; d <= 3; d++) { - G = (x >>> (d * 8)) & 255; - F = "0" + G.toString(16); - k = k + F.substr(F.length - 2, 2) - } - return k - } - function J(k) { - k = k.replace(/rn/g, "n"); - var d = ""; - for (var F = 0; F < k.length; F++) { - var x = k.charCodeAt(F); - if (x < 128) { - d += String.fromCharCode(x) - } else { - if ((x > 127) && (x < 2048)) { - d += String.fromCharCode((x >> 6) | 192); - d += String.fromCharCode((x & 63) | 128) - } else { - d += String.fromCharCode((x >> 12) | 224); - d += String.fromCharCode(((x >> 6) & 63) | 128); - d += String.fromCharCode((x & 63) | 128) - } - } - } - return d - } - var C = Array(); - var P, h, E, v, g, Y, X, W, V; - var S = 7 - , Q = 12 - , N = 17 - , M = 22; - var A = 5 - , z = 9 - , y = 14 - , w = 20; - var o = 4 - , m = 11 - , l = 16 - , j = 23; - var U = 6 - , T = 10 - , R = 15 - , O = 21; - s = J(s); - C = e(s); - Y = 1732584193; - X = 4023233417; - W = 2562383102; - V = 271733878; - for (P = 0; P < C.length; P += 16) { - h = Y; - E = X; - v = W; - g = V; - Y = u(Y, X, W, V, C[P + 0], S, 3614090360); - V = u(V, Y, X, W, C[P + 1], Q, 3905402710); - W = u(W, V, Y, X, C[P + 2], N, 606105819); - X = u(X, W, V, Y, C[P + 3], M, 3250441966); - Y = u(Y, X, W, V, C[P + 4], S, 4118548399); - V = u(V, Y, X, W, C[P + 5], Q, 1200080426); - W = u(W, V, Y, X, C[P + 6], N, 2821735955); - X = u(X, W, V, Y, C[P + 7], M, 4249261313); - Y = u(Y, X, W, V, C[P + 8], S, 1770035416); - V = u(V, Y, X, W, C[P + 9], Q, 2336552879); - W = u(W, V, Y, X, C[P + 10], N, 4294925233); - X = u(X, W, V, Y, C[P + 11], M, 2304563134); - Y = u(Y, X, W, V, C[P + 12], S, 1804603682); - V = u(V, Y, X, W, C[P + 13], Q, 4254626195); - W = u(W, V, Y, X, C[P + 14], N, 2792965006); - X = u(X, W, V, Y, C[P + 15], M, 1236535329); - Y = f(Y, X, W, V, C[P + 1], A, 4129170786); - V = f(V, Y, X, W, C[P + 6], z, 3225465664); - W = f(W, V, Y, X, C[P + 11], y, 643717713); - X = f(X, W, V, Y, C[P + 0], w, 3921069994); - Y = f(Y, X, W, V, C[P + 5], A, 3593408605); - V = f(V, Y, X, W, C[P + 10], z, 38016083); - W = f(W, V, Y, X, C[P + 15], y, 3634488961); - X = f(X, W, V, Y, C[P + 4], w, 3889429448); - Y = f(Y, X, W, V, C[P + 9], A, 568446438); - V = f(V, Y, X, W, C[P + 14], z, 3275163606); - W = f(W, V, Y, X, C[P + 3], y, 4107603335); - X = f(X, W, V, Y, C[P + 8], w, 1163531501); - Y = f(Y, X, W, V, C[P + 13], A, 2850285829); - V = f(V, Y, X, W, C[P + 2], z, 4243563512); - W = f(W, V, Y, X, C[P + 7], y, 1735328473); - X = f(X, W, V, Y, C[P + 12], w, 2368359562); - Y = D(Y, X, W, V, C[P + 5], o, 4294588738); - V = D(V, Y, X, W, C[P + 8], m, 2272392833); - W = D(W, V, Y, X, C[P + 11], l, 1839030562); - X = D(X, W, V, Y, C[P + 14], j, 4259657740); - Y = D(Y, X, W, V, C[P + 1], o, 2763975236); - V = D(V, Y, X, W, C[P + 4], m, 1272893353); - W = D(W, V, Y, X, C[P + 7], l, 4139469664); - X = D(X, W, V, Y, C[P + 10], j, 3200236656); - Y = D(Y, X, W, V, C[P + 13], o, 681279174); - V = D(V, Y, X, W, C[P + 0], m, 3936430074); - W = D(W, V, Y, X, C[P + 3], l, 3572445317); - X = D(X, W, V, Y, C[P + 6], j, 76029189); - Y = D(Y, X, W, V, C[P + 9], o, 3654602809); - V = D(V, Y, X, W, C[P + 12], m, 3873151461); - W = D(W, V, Y, X, C[P + 15], l, 530742520); - X = D(X, W, V, Y, C[P + 2], j, 3299628645); - Y = t(Y, X, W, V, C[P + 0], U, 4096336452); - V = t(V, Y, X, W, C[P + 7], T, 1126891415); - W = t(W, V, Y, X, C[P + 14], R, 2878612391); - X = t(X, W, V, Y, C[P + 5], O, 4237533241); - Y = t(Y, X, W, V, C[P + 12], U, 1700485571); - V = t(V, Y, X, W, C[P + 3], T, 2399980690); - W = t(W, V, Y, X, C[P + 10], R, 4293915773); - X = t(X, W, V, Y, C[P + 1], O, 2240044497); - Y = t(Y, X, W, V, C[P + 8], U, 1873313359); - V = t(V, Y, X, W, C[P + 15], T, 4264355552); - W = t(W, V, Y, X, C[P + 6], R, 2734768916); - X = t(X, W, V, Y, C[P + 13], O, 1309151649); - Y = t(Y, X, W, V, C[P + 4], U, 4149444226); - V = t(V, Y, X, W, C[P + 11], T, 3174756917); - W = t(W, V, Y, X, C[P + 2], R, 718787259); - X = t(X, W, V, Y, C[P + 9], O, 3951481745); - Y = K(Y, h); - X = K(X, E); - W = K(W, v); - V = K(V, g) - } - var i = B(Y) + B(X) + B(W) + B(V); - return i.toLowerCase() -}; diff --git a/js/love.js b/js/love.js deleted file mode 100644 index eaaed7bcbe94fcab30580810b0beb8760e515b80..0000000000000000000000000000000000000000 --- a/js/love.js +++ /dev/null @@ -1 +0,0 @@ -!function(e,t,a){function n(){c(".heart{width: 10px;height: 10px;position: fixed;background: #f00;transform: rotate(45deg);-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);}.heart:after,.heart:before{content: '';width: inherit;height: inherit;background: inherit;border-radius: 50%;-webkit-border-radius: 500%;-moz-border-radius: 50%;position: fixed;}.heart:after{top: -5px;}.heart:before{left: -5px;}"),o(),r()}function r(){for(var e=0;e this.status || 304 === this.status) { -// var g = JSON.parse(this.responseText); -// b.music = g.msg.songs; -// if (void 0 === b.music) return console.warn("Hermit-X failed to load " + c[f].songs), !1; -// void 0 === b.showlrc && (b.lrcType = b.music[0].lrc ? 3 : 0); -// 1 === b.music.length && (b.music = b.music[0]); -// b.autoplay && (b.autoplay = "true" === b.autoplay); -// b.listfolded && (b.listFolded = "true" === b.listfolded); -// b.mutex && (b.mutex = "true" === b.mutex); -// b.narrow && (b.narrow = "true" === b.narrow); -// ap[d] = new APlayer(b); -// ap[d].parseRespons = g; -// if (window.APlayerCall && window.APlayerCall[d]) window.APlayerCall[d](); -// window.APlayerloadAllCall && a.length != ap.length && window.APlayerloadAllCall() -// } else console.error("Request was unsuccessful: " + -// this.status) -// }, c[d].songs.split("#:"), h = HermitX.ajaxurl + "?action=hermit&scope=" + c[d].songs.split("#:")[0] + "&id=" + c[d].songs.split("#:")[1] + "&_nonce=" + c[d]._nonce, e[d].open("get", h, !0), e[d].send(null)) -// }, g = 0; g < a.length; g++) { -// var h; -// f(g) -// } -// } - -// function reloadHermit() { -// for (var a = 0; a < ap.length; a++) try { -// ap[a].destroy() -// } catch (e) {} -// hermitInit() -// } -// var ap = []; -// hermitInit(); -// console.log("\n %c Hermit X Music Helper v" + HermitX.version + " %c https://lwl.moe/HermitX \n", "color: #fff; background: #4285f4; padding:5px 0;", "background: #66CCFF; padding:5px 0;"); -// (function webpackUniversalModuleDefinition(b, a) { -// if (typeof exports === "object" && typeof module === "object") { -// module.exports = a() -// } else { -// if (typeof define === "function" && define.amd) { -// define([], a) -// } else { -// if (typeof exports === "object") { -// exports.POWERMODE = a() -// } else { -// b.POWERMODE = a() -// } -// } -// } -// })(this, function () { -// return (function (c) { -// var b = {}; - -// function a(e) { -// if (b[e]) { -// return b[e].exports -// } -// var d = b[e] = { -// exports: {}, -// id: e, -// loaded: false -// }; -// c[e].call(d.exports, d, d.exports, a); -// d.loaded = true; -// return d.exports -// } -// a.m = c; -// a.c = b; -// a.p = ""; -// return a(0) -// })([ -// function (j, e, a) { -// var b = document.createElement("canvas"); -// b.width = window.innerWidth; -// b.height = window.innerHeight; -// b.style.cssText = "position:fixed;top:0;left:0;pointer-events:none;z-index:999999"; -// window.addEventListener("resize", function () { -// b.width = window.innerWidth; -// b.height = window.innerHeight -// }); -// document.body.appendChild(b); -// var c = b.getContext("2d"); -// var l = []; -// var k = 0; -// m.shake = true; - -// function h(o, n) { -// return Math.random() * (n - o) + o -// } - -// function g(n) { -// if (m.colorful) { -// var o = h(0, 360); -// return "hsla(" + h(o - 10, o + 10) + ", 100%, " + h(50, 80) + "%, " + 1 + ")" -// } else { -// return window.getComputedStyle(n).color -// } -// } - -// function f() { -// var o = document.activeElement; -// var n; -// if (o.tagName === "TEXTAREA" || (o.tagName === "INPUT" && o.getAttribute("type") === "text")) { -// var p = a(1)(o, o.selectionStart); -// n = o.getBoundingClientRect(); -// return { -// x: p.left + n.left, -// y: p.top + n.top, -// color: g(o) -// } -// } -// var r = window.getSelection(); -// if (r.rangeCount) { -// var q = r.getRangeAt(0); -// var s = q.startContainer; -// if (s.nodeType === document.TEXT_NODE) { -// s = s.parentNode -// } -// n = q.getBoundingClientRect(); -// return { -// x: n.left, -// y: n.top, -// color: g(s) -// } -// } -// return { -// x: 0, -// y: 0, -// color: "transparent" -// } -// } - -// function d(o, p, n) { -// return { -// x: o, -// y: p, -// alpha: 1, -// color: n, -// velocity: { -// x: -1 + Math.random() * 2, -// y: -3.5 + Math.random() * 2 -// } -// } -// } - -// function m() { -// var n = f(); -// var p = 5 + Math.round(Math.random() * 10); -// while (p--) { -// l[k] = d(n.x, n.y, n.color); -// k = (k + 1) % 500 -// } -// if (m.shake) { -// var o = 1 + 2 * Math.random(); -// var q = o * (Math.random() > 0.5 ? -1 : 1); -// var r = o * (Math.random() > 0.5 ? -1 : 1); -// document.body.style.marginLeft = q + "px"; -// document.body.style.marginTop = r + "px"; -// setTimeout(function () { -// document.body.style.marginLeft = ""; -// document.body.style.marginTop = "" -// }, 75) -// } -// } -// m.colorful = false; - -// function i() { -// requestAnimationFrame(i); -// c.clearRect(0, 0, b.width, b.height); -// for (var n = 0; n < l.length; ++n) { -// var o = l[n]; -// if (o.alpha <= 0.1) { -// continue -// } -// o.velocity.y += 0.075; -// o.x += o.velocity.x; -// o.y += o.velocity.y; -// o.alpha *= 0.96; -// c.globalAlpha = o.alpha; -// c.fillStyle = o.color; -// c.fillRect(Math.round(o.x - 1.5), Math.round(o.y - 1.5), 3, 3) -// } -// } -// requestAnimationFrame(i); -// j.exports = m -// }, -// function (b, a) { -// (function () { -// var e = ["direction", "boxSizing", "width", "height", "overflowX", "overflowY", "borderTopWidth", "borderRightWidth", "borderBottomWidth", "borderLeftWidth", "borderStyle", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "fontStyle", "fontVariant", "fontWeight", "fontStretch", "fontSize", "fontSizeAdjust", "lineHeight", "fontFamily", "textAlign", "textTransform", "textIndent", "textDecoration", "letterSpacing", "wordSpacing", "tabSize", "MozTabSize"]; -// var d = window.mozInnerScreenX != null; - -// function c(k, m, l) { -// var h = l && l.debug || false; -// if (h) { -// var j = document.querySelector("#input-textarea-caret-position-mirror-div"); -// if (j) { -// j.parentNode.removeChild(j) -// } -// } -// var i = document.createElement("div"); -// i.id = "input-textarea-caret-position-mirror-div"; -// document.body.appendChild(i); -// var o = i.style; -// var f = window.getComputedStyle ? getComputedStyle(k) : k.currentStyle; -// o.whiteSpace = "pre-wrap"; -// if (k.nodeName !== "INPUT") { -// o.wordWrap = "break-word" -// } -// o.position = "absolute"; -// if (!h) { -// o.visibility = "hidden" -// } -// e.forEach(function (p) { -// o[p] = f[p] -// }); -// if (d) { -// if (k.scrollHeight > parseInt(f.height)) { -// o.overflowY = "scroll" -// } -// } else { -// o.overflow = "hidden" -// } -// i.textContent = k.value.substring(0, m); -// if (k.nodeName === "INPUT") { -// i.textContent = i.textContent.replace(/\s/g, "\u00a0") -// } -// var n = document.createElement("span"); -// n.textContent = k.value.substring(m) || "."; -// i.appendChild(n); -// var g = { -// top: n.offsetTop + parseInt(f.borderTopWidth), -// left: n.offsetLeft + parseInt(f.borderLeftWidth) -// }; -// if (h) { -// n.style.backgroundColor = "#aaa" -// } else { -// document.body.removeChild(i) -// } -// return g -// } -// if (typeof b != "undefined" && typeof b.exports != "undefined") { -// b.exports = c -// } else { -// window.getCaretCoordinates = c -// } -// }()) -// } -// ]) -// }); -mashiro_global.variables = new function () { - this.has_bot_ui = false; - this.isNight = false; - this.skinSecter = false; -} -mashiro_global.ini = new function () { - this.normalize = function () { - lazyload(); - social_share(); - mashiro_global.post_list_show_animation.ini(); - if (window.is_app) { - try { - setTimeout(function () { - mashiro_option.app_update(true); - }, 10000); - } catch (e) {} - } - if ($("div").hasClass("poem-wrap")) { - get_poem('#poem', '#info') - } - $(function () { - function waveloop1() { - $("#banner_wave_1").css({ - "left": "-236px" - }).animate({ - "left": "-1233px" - }, 25000, 'linear', waveloop1); - } - - function waveloop2() { - $("#banner_wave_2").css({ - "left": "0px" - }).animate({ - "left": "-1009px" - }, 60000, 'linear', waveloop2); - } - if (screen && screen.width > 860) { - waveloop1(); - waveloop2(); - } - if (navigator.userAgent.indexOf('AppleWebKit') != -1) { - $("body").addClass("isWebKit"); - } - hearthstone_deck_iframe(); - }); - } - this.pjax = function () { - pjaxInit(); - social_share(); - mashiro_global.post_list_show_animation.ini(); - if ($("div").hasClass("poem-wrap")) { - get_poem('#poem', '#info') - } - hearthstone_deck_iframe(); - } -} -mashiro_global.lib = new function () { - this.removeClass = function (ele, className) { - var el = document.getElementById(ele); - if (el.classList) - el.classList.remove(className); - else - el.className = el.className.replace(new RegExp('(^|\\b)' + className.split(' ').join('|') + '(\\b|$)', 'gi'), ' '); - } - this.addClass = function (ele, className) { - var el = document.getElementById(ele); - if (el.classList) - el.classList.add(className); - else - el.className += ' ' + className; - } - this.hasClass = function (ele, className) { - var el = document.getElementById(ele); - if (el.classList) - var e = el.classList.contains(className); - else - var e = new RegExp('(^| )' + className + '( |$)', 'gi').test(el.className); - return e; - } - this.toggleClass = function (ele, className) { - var el = document.getElementById(ele); - if (el.classList) { - el.classList.toggle(className); - } else { - var classes = el.className.split(' '); - var existingIndex = classes.indexOf(className); - if (existingIndex >= 0) - classes.splice(existingIndex, 1); - else - classes.push(className); - el.className = classes.join(' '); - } - } - this.saveFile = function (url, file_name) { - var xhr = new XMLHttpRequest(); - xhr.responseType = 'blob'; - xhr.onload = function () { - var a = document.createElement('a'); - a.href = window.URL.createObjectURL(xhr.response); - a.download = file_name; - a.style.display = 'none'; - document.body.appendChild(a); - a.click(); - }; - xhr.open('GET', url); - xhr.send(); - } -} - -function setCookie(name, value, days) { - var expires = ""; - if (days) { - var date = new Date(); - date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000)); - expires = "; expires=" + date.toUTCString(); - } - document.cookie = name + mashiro_option.cookie_version_control + "=" + (value || "") + expires + "; path=/"; -} - -function getCookie(name) { - var nameEQ = name + mashiro_option.cookie_version_control + "="; - var ca = document.cookie.split(';'); - for (var i = 0; i < ca.length; i++) { - var c = ca[i]; - while (c.charAt(0) == ' ') c = c.substring(1, c.length); - if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length); - } - return null; -} - -function removeCookie(name) { - document.cookie = name + mashiro_option.cookie_version_control + '=; Max-Age=-99999999;'; -} - -function jumpTo(url) { - return mashiro_global.lib.pjax_to_url(url, '#page'); -} - -function injectStyles(rule) { - var div = $("
        ", { - html: '­' - }).appendTo("body"); -} - -function imgError(ele, type) { - switch (type) { - case 1: - if (ele.src.includes("https://cn.gravatar.com/avatar")) { - ele.src = ele.src.replace("https://cn.gravatar.com/avatar/", "https://cdn.v2ex.com/gravatar/"); - } else { - ele.src = 'https://view.moezx.cc/images/2017/12/30/Transparent_Akkarin.th.jpg'; - } - break; - case 2: - ele.src = 'https://gravatar.shino.cc/avatar/?s=80&d=mm&r=g'; - break; - case 3: - if (ele.src.includes("https://static.2heng.xin/")) { - ele.src = ele.src.replace("https://static.2heng.xin/wp-content/uploads/", "https://cdn.2heng.xin/"); - } else { - ele.src = 'https://view.moezx.cc/images/2018/05/13/image-404.png'; - } - break; - default: - ele.src = 'https://view.moezx.cc/images/2018/05/13/image-404.png'; - } -} -mashiro_global.post_list_show_animation = new function () { - this.ini = function (ajax) { - $("article.post-list-thumb").each(function (i) { - if (ajax) { - var window_height = $(window).height(); - } else { - if ($(".headertop").hasClass("headertop-bar")) { - var window_height = 0; - } else { - var window_height = $(window).height() - 300; - } - } - if (!mashiro_global.landing_at_home) { - window_height += 300; - } - var article_height = $("article.post-list-thumb").eq(i).offset().top; - if ($(window).height() + $(window).scrollTop() >= article_height) - $("article.post-list-thumb").eq(i).addClass('post-list-show'); - $(window).scroll(function () { - var scrolltop = $(window).scrollTop(); - if (scrolltop + window_height >= article_height && scrolltop) - $("article.post-list-thumb").eq(i).addClass("post-list-show"); - }); - }); - } -} -mashiro_global.font_control = new function () { - this.change_font = function () { - if ($("body").hasClass("serif")) { - $("body").removeClass("serif"); - $(".control-btn-serif").removeClass("selected"); - $(".control-btn-sans-serif").addClass("selected"); - setCookie("font_family", "sans-serif", 30); - } else { - $("body").addClass("serif"); - $(".control-btn-serif").addClass("selected"); - $(".control-btn-sans-serif").removeClass("selected"); - setCookie("font_family", "serif", 30); - if (document.body.clientWidth <= 860) { - addComment.createButterbar("将从网络加载字体,流量请注意"); - } - } - } - this.ini = function () { - if (document.body.clientWidth > 860) { - if (!getCookie("font_family") || getCookie("font_family") == "serif") - $("body").addClass("serif"); - } - if (getCookie("font_family") == "sans-serif") { - $("body").removeClass("sans-serif"); - $(".control-btn-serif").removeClass("selected"); - $(".control-btn-sans-serif").addClass("selected"); - } - } -} -mashiro_global.font_control.ini(); - -function code_highlight_style() { - function gen_top_bar(i) { - var attributes = { - 'autocomplete': 'off', - 'autocorrect': 'off', - 'autocapitalize': 'off', - 'spellcheck': 'false', - 'contenteditable': 'false', - 'design': 'by hojun' - } - var ele_name = $('pre:eq(' + i + ')')[0].children[0].className; - var lang = ele_name.substr(0, ele_name.indexOf(" ")).replace('language-', ''); - if (lang.toLowerCase() == "hljs") var lang = "text"; - if (lang.toLowerCase() == "js") var lang = "javascript"; - if (lang.toLowerCase() == "md") var lang = "markdown"; - if (lang.toLowerCase() == "py") var lang = "python"; - $('pre:eq(' + i + ')').addClass('highlight-wrap'); - for (var t in attributes) { - $('pre:eq(' + i + ')').attr(t, attributes[t]); - } - $('pre:eq(' + i + ') code').attr('data-rel', lang.toUpperCase()); - } - $('pre code').each(function (i, block) { - hljs.highlightBlock(block); - }); - for (var i = 0; i < $('article pre').length; i++) { - gen_top_bar(i); - } - $('pre').on('click', function (e) { - $(this).toggleClass('code-block-fullscreen'); - $('html').toggleClass('code-block-fullscreen-html-scroll'); - }); - hljs.initLineNumbersOnLoad(); -} -try { - code_highlight_style(); -} catch (e) {} -function attach_image() { - $('#upload-img-file').change(function () { - if (this.files.length > 10) { - addComment.createButterbar("每次上传上限为10张.
        10 files max per request."); - return 0; - } - for (i = 0; i < this.files.length; i++) { - if (this.files[i].size >= 5242880) { - alert('图片上传大小限制为5 MB.\n5 MB max per file.\n\n「' + this.files[i].name + '」\n\n这张图太大啦~\nThis image is too large~'); - } - } - for (var i = 0; i < this.files.length; i++) { - var f = this.files[i]; - var formData = new FormData(); - formData.append('smfile', f); - $.ajax({ - url: 'https://sm.ms/api/upload', - type: 'POST', - processData: false, - contentType: false, - data: formData, - beforeSend: function (xhr) { - $('.insert-image-tips').html(''); - addComment.createButterbar("上传中...
        Uploading..."); - }, success: function (res) { - $('.insert-image-tips').html(''); - setTimeout(function () { - $('.insert-image-tips').html(''); - }, 1000); - var get_the_url = res.data.url.replace('https://i.loli.net/', 'https://static.shino.cc/user-upload/'); - $('#upload-img-show').append(''); - lazyload(); - addComment.createButterbar("图片上传成功~
        Uploaded successfully~"); - grin(res.data.url.replace('https://i.loli.net/', '{UPLOAD}'), type = 'Img'); - }, error: function () { - $('.insert-image-tips').html(''); - alert("上传失败,请重试.\nUpload failed, please try again."); - setTimeout(function () { - $('.insert-image-tips').html(''); - }, 1000); - } - }) - } - }); -} - -function clean_upload_images() { - $('#upload-img-show').html(''); -} - -function add_upload_tips() { - $('').insertAfter($(".form-submit #submit")); - attach_image(); - $("#upload-img-file").hover(function () { - $(".insert-image-tips").addClass("insert-image-tips-hover"); - $("#uploadTipPopup").addClass("show"); - }, function () { - $(".insert-image-tips").removeClass("insert-image-tips-hover"); - $("#uploadTipPopup").removeClass("show"); - }); -} - -function click_to_view_image() { - $(".comment_inline_img").click(function () { - var temp_url = $(this).attr('src'); - window.open(temp_url); - }); -} -click_to_view_image(); - -function original_emoji_click() { - $(".emoji-item").click(function () { - grin($(this).text(), type = "custom", before = "`", after = "` "); - }); -} -original_emoji_click(); - -function showPopup(ele) { - var popup = ele.querySelector("#thePopup"); - popup.classList.toggle("show"); -} - -function cmt_showPopup(ele) { - var popup = $(ele).find("#thePopup"); - popup.addClass("show"); - $(ele).find("input").blur(function () { - popup.removeClass("show"); - }); -} - -function headertop_down() { - var coverOffset = $('#content').offset().top; - $('html,body').animate({ - scrollTop: coverOffset - }, 600); -} - -function scrollBar() { - if (document.body.clientWidth > 860) { - $(window).scroll(function () { - var s = $(window).scrollTop(); - var a = $(document).height(); - var b = $(window).height(); - var result = parseInt(s / (a - b) * 100); - $("#bar").css("width", result + "%"); - if (false) { - if (result >= 0 && result <= 19) - $("#bar").css("background", "#cccccc"); - if (result >= 20 && result <= 39) - $("#bar").css("background", "#50bcb6"); - if (result >= 40 && result <= 59) - $("#bar").css("background", "#85c440"); - if (result >= 60 && result <= 79) - $("#bar").css("background", "#f2b63c"); - if (result >= 80 && result <= 99) - $("#bar").css("background", "#FF0000"); - if (result == 100) - $("#bar").css("background", "#5aaadb"); - } else { - $("#bar").css("background", "orange"); - } - $(".toc-container").css("height", $(".site-content").outerHeight()); - $(".skin-menu").removeClass('show'); - }); - } -} -scrollBar(); -'主题切换代码好恶心,有空一定要重构'; - -function checkBgImgCookie() { - var bgurl = getCookie("bgImgSetting"); - if (!bgurl) { - $('#banner_wave_1').removeClass('banner_wave_hide_fit_skin'); - $('#banner_wave_2').removeClass('banner_wave_hide_fit_skin'); - } else { - $('#banner_wave_1').addClass('banner_wave_hide_fit_skin'); - $('#banner_wave_2').addClass('banner_wave_hide_fit_skin'); - } - if (bgurl != "") { - if (bgurl == "https://view.moezx.cc/images/2018/01/03/sakura.png" || bgurl == "https://view.moezx.cc/images/2018/01/03/plaid2dbf8.jpg" || bgurl == "https://view.moezx.cc/images/2018/01/10/star02.png" || bgurl == "https://view.moezx.cc/images/2018/01/24/kyotoanimation.png" || bgurl == "https://view.moezx.cc/images/2018/09/17/little-monster.png") { - mashiro_global.variables.skinSecter = true; - mashiro_global.variables.isNight = false; - $("#night-mode-cover").css("visibility", "hidden"); - $("body").css("background-image", "url(" + bgurl + ")"); - $(".blank").css("background-color", "rgba(255,255,255,1)"); - $(".pattern-center").removeClass('pattern-center').addClass('pattern-center-sakura'); - $(".headertop-bar").removeClass('headertop-bar').addClass('headertop-bar-sakura'); - } else if (bgurl == "https://api.shino.cc/bing/") { - mashiro_global.variables.skinSecter = true; - mashiro_global.variables.isNight = true; - $("#night-mode-cover").css("visibility", "hidden"); - $("body").css("background-image", "url(" + bgurl + ")"); - $(".blank").css("background-color", "rgba(255,255,255,1)"); - $(".pattern-center").removeClass('pattern-center').addClass('pattern-center-sakura'); - $(".headertop-bar").removeClass('headertop-bar').addClass('headertop-bar-sakura'); - } else {} - } else { - return false; - } -} -if (document.body.clientWidth > 860) { - checkBgImgCookie(); -} - -function no_right_click() { - $('.post-thumb img').bind('contextmenu', function (e) { - return false; - }); -} -if (mashiro_global.variables.isNight) { - $(".changeSkin-gear, .toc").css("background", "rgba(255,255,255,0.8)"); -} else { - $(".changeSkin-gear, .toc").css("background", "none"); -} -$(document).ready(function () { - function changeBG(tagid, url) { - $(".skin-menu " + tagid).click(function () { - mashiro_global.variables.skinSecter = true; - mashiro_global.variables.isNight = false; - $("#night-mode-cover").css("visibility", "hidden"); - $("body").css("background-image", "url(" + url + ")"); - $(".blank").css("background-color", "rgba(255,255,255,1)"); - $(".pattern-center").removeClass('pattern-center').addClass('pattern-center-sakura'); - $(".headertop-bar").removeClass('headertop-bar').addClass('headertop-bar-sakura'); - $('#banner_wave_1').addClass('banner_wave_hide_fit_skin'); - $('#banner_wave_2').addClass('banner_wave_hide_fit_skin'); - closeSkinMenu(); - setCookie("bgImgSetting", url, 30); - }); - } - - function changeBGnoTrans(tagid, url) { - $(".skin-menu " + tagid).click(function () { - mashiro_global.variables.skinSecter = true; - mashiro_global.variables.isNight = true; - $("#night-mode-cover").css("visibility", "hidden"); - $("body").css("background-image", "url(" + url + ")"); - $(".blank").css("background-color", "rgba(255,255,255,1)"); - $(".pattern-center").removeClass('pattern-center').addClass('pattern-center-sakura'); - $(".headertop-bar").removeClass('headertop-bar').addClass('headertop-bar-sakura'); - $('#banner_wave_1').addClass('banner_wave_hide_fit_skin'); - $('#banner_wave_2').addClass('banner_wave_hide_fit_skin'); - closeSkinMenu(); - setCookie("bgImgSetting", url, 30); - }); - } - changeBG("#sakura-bg", "https://view.moezx.cc/images/2018/01/03/sakura.png"); - changeBG("#gribs-bg", "https://view.moezx.cc/images/2018/01/03/plaid2dbf8.jpg"); - changeBG("#pixiv-bg", "https://view.moezx.cc/images/2018/01/10/star02.png"); - changeBG("#KAdots-bg", "https://view.moezx.cc/images/2018/01/24/kyotoanimation.png"); - changeBG("#totem-bg", "https://view.moezx.cc/images/2018/09/17/little-monster.png"); - changeBGnoTrans("#bing-bg", "https://api.shino.cc/bing/"); - $(".skin-menu #white-bg").click(function () { - mashiro_global.variables.skinSecter = false; - mashiro_global.variables.isNight = false; - $("#night-mode-cover").css("visibility", "hidden"); - $("body").css("background-image", "none"); - $(".blank").css("background-color", "rgba(255,255,255,.0)"); - $(".pattern-center-sakura").removeClass('pattern-center-sakura').addClass('pattern-center'); - $(".headertop-bar-sakura").removeClass('headertop-bar-sakura').addClass('headertop-bar'); - $('#banner_wave_1').removeClass('banner_wave_hide_fit_skin'); - $('#banner_wave_2').removeClass('banner_wave_hide_fit_skin'); - closeSkinMenu(); - setCookie("bgImgSetting", "", 30); - }); - $(".skin-menu #dark-bg").click(function () { - mashiro_global.variables.skinSecter = true; - mashiro_global.variables.isNight = true; - $("body").css("background-image", "url(https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.2/other-sites/api-index/images/me.png)"); - $(".blank").css("background-color", "rgba(255,255,255,.8)"); - $("#night-mode-cover").css("visibility", "visible"); - $(".pattern-center").removeClass('pattern-center').addClass('pattern-center-sakura'); - $(".headertop-bar").removeClass('headertop-bar').addClass('headertop-bar-sakura'); - $('#banner_wave_1').addClass('banner_wave_hide_fit_skin'); - $('#banner_wave_2').addClass('banner_wave_hide_fit_skin'); - closeSkinMenu(); - }); - - function closeSkinMenu() { - $(".skin-menu").removeClass('show'); - setTimeout(function () { - $(".changeSkin-gear").css("visibility", "visible"); - }, 300); - if (mashiro_global.variables.isNight) { - $(".changeSkin-gear, .toc").css("background", "rgba(255,255,255,0.8)"); - } else { - $(".changeSkin-gear, .toc").css("background", "none"); - } - } - $(".changeSkin-gear").click(function () { - $(".skin-menu").toggleClass('show'); - if (mashiro_global.variables.isNight) { - $(".changeSkin").css("background", "rgba(255,255,255,0.8)"); - } else { - $(".changeSkin").css("background", "none"); - } - }) - $(".skin-menu #close-skinMenu").click(function () { - closeSkinMenu(); - }); - add_upload_tips(); -}); - -function nextBG() { - $(".centerbg").css("background-image", 'url("/images/cover/(' + Math.abs(bgn%8) + ').jpg.webp")'); - bgn = bgn + 1; -} - -function preBG() { - bgn = bgn - 1; - $(".centerbg").css("background-image", 'url("/images/cover/(' + Math.abs(bgn%8) + ').jpg.webp")'); -} -$(document).ready(function () { - $(".centerbg").css("background-image", 'url("/images/cover/(' + bgn + ').jpg.webp")'); - $("#bg-next").click(function () { - nextBG(); - }); - $("#bg-pre").click(function () { - preBG(); - }); -}); -if (document.body.clientWidth <= 860 && !window.is_app) { - window.onscroll = function () { - scrollFunction() - }; - - function scrollFunction() { - if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) { - document.getElementById("moblieGoTop").style.display = "block"; - } else { - document.getElementById("moblieGoTop").style.display = "none"; - } - } - - function topFunction() { - document.body.scrollTop = 0; - document.documentElement.scrollTop = 0; - } -} - -function reload_show_date_time() { - BirthDay = new Date("06/02/2017 18:00:00"); - today = new Date(); - timeold = (today.getTime() - BirthDay.getTime()); - sectimeold = timeold / 1000 - secondsold = Math.floor(sectimeold); - msPerDay = 24 * 60 * 60 * 1000 - e_daysold = timeold / msPerDay - daysold = Math.floor(e_daysold); - monitorday.innerHTML = daysold; -} - -function timeSeriesReload(flag) { - if (flag == true) { - $('#archives span.al_mon').click(function () { - $(this).next().slideToggle(400); - return false; - }); - lazyload(); - } else { - (function () { - $('#al_expand_collapse,#archives span.al_mon').css({ - cursor: "s-resize" - }); - $('#archives span.al_mon').each(function () { - var num = $(this).next().children('li').length; - $(this).children('#post-num').text(num); - }); - var $al_post_list = $('#archives ul.al_post_list'), - $al_post_list_f = $('#archives ul.al_post_list:first'); - $al_post_list.hide(1, function () { - $al_post_list_f.show(); - }); - $('#archives span.al_mon').click(function () { - $(this).next().slideToggle(400); - return false; - }); - if (document.body.clientWidth > 860) { - $('#archives li.al_li').mouseover(function () { - $(this).children('.al_post_list').show(400); - return false; - }); - if (false) { - $('#archives li.al_li').mouseout(function () { - $(this).children('.al_post_list').hide(400); - return false; - }); - } - } - var al_expand_collapse_click = 0; - $('#al_expand_collapse').click(function () { - if (al_expand_collapse_click == 0) { - $al_post_list.show(); - al_expand_collapse_click++; - } else if (al_expand_collapse_click == 1) { - $al_post_list.hide(); - al_expand_collapse_click--; - } - }); - })(); - } -} -timeSeriesReload(); - -function tableOfContentScroll(flag) { - if (document.body.clientWidth <= 1200) { - return; - } else if ($("div").hasClass("have-toc") == false && $("div").hasClass("has-toc") == false) { - $(".toc-container").remove(); - } else { - $(document).ready(function () { - if ($("div").hasClass("toc")) { - $(".toc-container").css("height", $(".site-content").outerHeight()); - setTimeout(function () { - $(".toc-container").css("height", $(".site-content").outerHeight()); - }, 1000); - setTimeout(function () { - $(".toc-container").css("height", $(".site-content").outerHeight()); - }, 6000); - } - }); - if (flag) { - var id = 1; - $(".entry-content , .links").children("h1,h2,h3,h4,h5").each(function () { - var hyphenated = "toc-head-" + id; - $(this).attr('id', hyphenated); - id++; - }); - tocbot.init({ - tocSelector: '.toc', - contentSelector: ['.entry-content', '.links'], - headingSelector: 'h1, h2, h3, h4, h5', - scrollEndCallback: function (e) {}, - }); - } - } -} -tableOfContentScroll(flag = true); -var pjaxInit = function () { - add_upload_tips(); - click_to_view_image(); - original_emoji_click(); - mashiro_global.font_control.ini(); - $("p").remove(".head-copyright"); - try { - code_highlight_style(); - } catch (e) {}; - try { - inlojv_js_getqqinfo(); - } catch (e) {}; - lazyload(); - $("#to-load-aplayer").click(function () { - try { - reloadHermit(); - } catch (e) {}; - $("div").remove(".load-aplayer"); - }); - if ($("div").hasClass("aplayer")) { - reloadHermit(); - } - // if ($("div").hasClass("popcontainer")) { - // loadBotui(); - // } - try { - reload_show_date_time(); - } catch (e) {} - if (mashiro_global.variables.skinSecter === true) { - $(".pattern-center").removeClass('pattern-center').addClass('pattern-center-sakura'); - $(".headertop-bar").removeClass('headertop-bar').addClass('headertop-bar-sakura'); - if (mashiro_global.variables.isNight) { - $(".blank").css("background-color", "rgba(255,255,255,1)"); - $(".toc").css("background-color", "rgba(255,255,255,0.8)"); - } - } - $('.iconflat').css('width', '50px').css('height', '50px'); - $('.openNav').css('height', '50px'); - $("#bg-next").click(function () { - nextBG(); - }); - $("#bg-pre").click(function () { - preBG(); - }); - smileBoxToggle(); - timeSeriesReload(); - add_copyright(); - tableOfContentScroll(flag = true); - console.log($("#myscript").text()); -} -$(document).on("click", ".sm", function () { - var msg = "您真的要设为私密吗?"; - if (confirm(msg) == true) { - $(this).commentPrivate(); - } else { - aler("已取消"); - } -}); -$.fn.commentPrivate = function () { - if ($(this).hasClass('private_now')) { - alert('您之前已设过私密评论'); - return false; - } else { - $(this).addClass('private_now'); - var idp = $(this).data('idp'), - actionp = $(this).data('actionp'), - rateHolderp = $(this).children('.has_set_private'); - var ajax_data = { - action: "siren_private", - p_id: idp, - p_action: actionp - }; - $.post("/wp-admin/admin-ajax.php", ajax_data, function (data) { - $(rateHolderp).html(data); - }); - return false; - } -}; - -function show_date_time() { - BirthDay = new Date("06/02/2017 18:00:00"); - today = new Date(); - timeold = (today.getTime() - BirthDay.getTime()); - sectimeold = timeold / 1000 - secondsold = Math.floor(sectimeold); - msPerDay = 24 * 60 * 60 * 1000 - e_daysold = timeold / msPerDay - daysold = Math.floor(e_daysold); - monitorday.innerHTML = daysold; -} -try { - show_date_time(); -} catch (e) {} -POWERMODE.colorful = true; -POWERMODE.shake = false; -document.body.addEventListener('input', POWERMODE); - -function motionSwitch(ele) { - var motionEles = [".bili", ".menhera", ".tieba"]; - for (var i in motionEles) { - $(motionEles[i] + '-bar').removeClass("on-hover"); - $(motionEles[i] + '-container').css("display", "none"); - } - $(ele + '-bar').addClass("on-hover"); - $(ele + '-container').css("display", "block"); -} -$('.comt-addsmilies').click(function () { - $('.comt-smilies').toggle(); -}) -$('.comt-smilies a').click(function () { - $(this).parent().hide(); -}) - -function smileBoxToggle() { - $(document).ready(function () { - $("#emotion-toggle").click(function () { - $(".emotion-toggle-off").toggle(0); - $(".emotion-toggle-on").toggle(0); - $(".emotion-box").toggle(160); - }); - }); -} -smileBoxToggle(); - -function grin(tag, type, before, after) { - var myField; - if (type == "custom") { - tag = before + tag + after; - } else if (type == "Img") { - tag = '[img]' + tag + '[/img]'; - } else if (type == "Math") { - tag = ' f(x)=∫(' + tag + ')sec²xdx '; - } else { - tag = ' :' + tag + ': '; - } - if (document.getElementById('comment') && document.getElementById('comment').type == 'textarea') { - myField = document.getElementById('comment'); - } else { - return false; - } - if (document.selection) { - myField.focus(); - sel = document.selection.createRange(); - sel.text = tag; - myField.focus(); - } else if (myField.selectionStart || myField.selectionStart == '0') { - var startPos = myField.selectionStart; - var endPos = myField.selectionEnd; - var cursorPos = endPos; - myField.value = myField.value.substring(0, startPos) + tag + myField.value.substring(endPos, myField.value.length); - cursorPos += tag.length; - myField.focus(); - myField.selectionStart = cursorPos; - myField.selectionEnd = cursorPos; - } else { - myField.value += tag; - myField.focus(); - } -} -// if ($("div").hasClass("popcontainer")) { -// loadBotui(); -// } -// $("bot-ui").click(function () { -// loadBotui(); -// }); - -function add_copyright() { - document.body.addEventListener("copy", function (e) { - if (!mashiro_global.is_user_logged_in && window.getSelection().toString().length > 30) { - setClipboardText(e); - } - }); - - function setClipboardText(event) { - event.preventDefault(); - var htmlData = "" + "著作权归作者所有。
        " + "商业转载请联系作者获得授权,非商业转载请注明出处。
        " + "作者:" + mashiro_option.author_name + "
        " + "链接:" + window.location.href + "
        " + "来源:" + mashiro_option.site_name + "

        " + window.getSelection().toString().replace(/\r\n/g, "
        ");; - var textData = "" + "著作权归作者所有。\n" + "商业转载请联系作者获得授权,非商业转载请注明出处。\n" + "" + mashiro_option.author_name + "\n" + "链接:" + window.location.href + "\n" + "来源:" + mashiro_option.site_name + "\n\n" + window.getSelection().toString().replace(/\r\n/g, "\n"); - if (event.clipboardData) { - event.clipboardData.setData("text/html", htmlData); - event.clipboardData.setData("text/plain", textData); - addComment.createButterbar("复制成功!
        Copied to clipboard successfully!", 1000); - } else if (window.clipboardData) { - return window.clipboardData.setData("text", textData); - } - } -} -add_copyright(); -$(function () { - inlojv_js_getqqinfo(); -}); - -function inlojv_js_getqqinfo() { - var is_get_by_qq = false; - var qq_test = /^[0-9]+$/; - if (!getCookie('user_qq') && !getCookie('user_qq_email') && !getCookie('user_author')) { - $('input#qq,input#author,input#email,input#url').val(''); - } - if (getCookie('user_avatar') && getCookie('user_qq') && getCookie('user_qq_email')) { - $('div.comment-user-avatar img').attr('src', getCookie('user_avatar')); - $('input#author').val(getCookie('user_author')); - $('input#email').val(getCookie('user_qq') + '@qq.com'); - $('input#qq').val(getCookie('user_qq')); - if (mashiro_option.qzone_autocomplete) { - $('input#url').val('https://user.qzone.qq.com/' + getCookie('user_qq')); - } - if ($('input#qq').val()) { - $('.qq-check').css('display', 'block'); - $('.gravatar-check').css('display', 'none'); - } - } - var emailAddressFlag = $('input#email').val(); - $('input#author').on('blur', function () { - var qq = $('input#author').val(); - $.ajax({ - type: 'get', - url: mashiro_option.qq_api_url + '?type=getqqnickname&qq=' + qq, - dataType: 'jsonp', - jsonp: 'callback', - jsonpCallback: 'portraitCallBack', - success: function (data) { - $('input#author').val(data[qq][6]); - $('input#email').val($.trim(qq) + '@qq.com'); - if (mashiro_option.qzone_autocomplete) { - $('input#url').val('https://user.qzone.qq.com/' + $.trim(qq)); - } - $('div.comment-user-avatar img').attr('src', 'https://q2.qlogo.cn/headimg_dl?dst_uin=' + qq + '&spec=100'); - is_get_by_qq = true; - $('input#qq').val($.trim(qq)); - if ($('input#qq').val()) { - $('.qq-check').css('display', 'block'); - $('.gravatar-check').css('display', 'none'); - } - setCookie('user_author', data[qq][6], 30); - setCookie('user_qq', qq, 30); - setCookie('is_user_qq', 'yes', 30); - setCookie('user_qq_email', qq + '@qq.com', 30); - setCookie('user_email', qq + '@qq.com', 30); - emailAddressFlag = $('input#email').val(); - }, error: function () { - if (qq_test.test(qq)) { - addComment.createButterbar("QQ号不存在(建议不要使用纯数字昵称)"); - } - $('input#qq').val(''); - $('.qq-check').css('display', 'none'); - $('.gravatar-check').css('display', 'block'); - $('div.comment-user-avatar img').attr('src', get_gravatar($('input#email').val(), 80)); - setCookie('user_qq', '', 30); - setCookie('user_email', $('input#email').val(), 30); - setCookie('user_avatar', get_gravatar($('input#email').val(), 80), 30); - } - }); - $.ajax({ - type: 'get', - url: mashiro_option.qq_avatar_api_url + '?type=getqqavatar&qq=' + qq, - dataType: 'jsonp', - jsonp: 'callback', - jsonpCallback: 'qqavatarCallBack', - beforeSend: function () { - if (qq_test.test(qq)) { - addComment.createButterbar("正在获取QQ头像..."); - } - }, success: function (data) { - $('div.comment-user-avatar img').attr('src', data[qq]); - addComment.createButterbar("QQ头像获取成功"); - setCookie('user_avatar', data[qq], 30); - }, error: function () { - if (qq_test.test(qq)) { - addComment.createButterbar("QQ号不存在(建议不要使用纯数字昵称)"); - } - $('input#qq', 'input#email', 'input#url').val(''); - if (!$('input#qq').val()) { - $('.qq-check').css('display', 'none'); - $('.gravatar-check').css('display', 'block'); - setCookie('user_qq', '', 30); - $('div.comment-user-avatar img').attr('src', get_gravatar($('input#email').val(), 80)); - setCookie('user_avatar', get_gravatar($('input#email').val(), 80), 30); - } - } - }); - }); - if (getCookie('user_avatar') && getCookie('user_email') && getCookie('is_user_qq') == 'no' && !getCookie('user_qq_email')) { - $('div.comment-user-avatar img').attr('src', getCookie('user_avatar')); - $('input#email').val(getCookie('user_email')); - $('input#qq').val(''); - if (!$('input#qq').val()) { - $('.qq-check').css('display', 'none'); - $('.gravatar-check').css('display', 'block'); - } - } - $('input#email').on('blur', function () { - var emailAddress = $('input#email').val(); - if (is_get_by_qq == false || emailAddressFlag != emailAddress) { - $('div.comment-user-avatar img').attr('src', get_gravatar(emailAddress, 80)); - setCookie('user_avatar', get_gravatar(emailAddress, 80), 30); - setCookie('user_email', emailAddress, 30); - setCookie('user_qq_email', '', 30); - setCookie('is_user_qq', 'no', 30); - $('input#qq').val(''); - if (!$('input#qq').val()) { - $('.qq-check').css('display', 'none'); - $('.gravatar-check').css('display', 'block'); - } - } - }); - if (getCookie('user_url')) { - $('input#url').val(getCookie('user_url')); - } - $('input#url').on('blur', function () { - var URL_Address = $('input#url').val(); - $('input#url').val(URL_Address); - setCookie('user_url', URL_Address, 30); - }); - if (getCookie('user_author')) { - $('input#author').val(getCookie('user_author')); - } - $('input#author').on('blur', function () { - var user_name = $('input#author').val(); - $('input#author').val(user_name); - setCookie('user_author', user_name, 30); - }); -} - -function get_poem(poem_ele, info_ele) { - var poem = document.querySelector(poem_ele); - var info = document.querySelector(info_ele); - var xhr = new XMLHttpRequest(); - xhr.open('get', 'https://v2.jinrishici.com/one.json'); - xhr.withCredentials = true; - xhr.onreadystatechange = function () { - if (xhr.readyState === 4) { - var data = JSON.parse(xhr.responseText); - poem.innerHTML = data.data.content; - info.innerHTML = '【' + data.data.origin.dynasty + '】' + data.data.origin.author + '《' + data.data.origin.title + '》'; - } - }; - xhr.send(); -} - -// function loadBotui() { -// if ($('div').hasClass('popcontainer')) { -// if (mashiro_global.variables.has_bot_ui) { -// bot_ui_ini(); -// } else { -// $.getScript('https://cdn.jsdelivr.net/gh/moezx/cdn@latest/js/botui/botui.js', function () { -// bot_ui_ini(); -// mashiro_global.variables.has_bot_ui = true; -// }); -// } -// } -// } - -function mail_me() { - var mail = "mailto:" + mashiro_option.email_name + "@" + mashiro_option.email_domain; - window.open(mail); -} - -function hearthstone_deck_iframe() { - if ($("iframe").hasClass("hearthstone-deck")) { - $(".hearthstone-deck").each(function () { - $(this).attr('height', $(this).width() * 5 / 9 + 'px'); - }); - $(".hearthstone-deck-container").each(function () { - var deck_container_height_fix = $(this).width() * 5 / 9 + 14; - $(this).css("height", deck_container_height_fix + "px"); - }); - } -} -var currentFontIsUbuntu = true; - -function changeFont() { - if (currentFontIsUbuntu) { - loadCSS("https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.8/css/cn.css"); - currentFontIsUbuntu = false; - } else { - loadCSS("https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.8/css/or.css"); - currentFontIsUbuntu = true; - } -} - -function convertChinese(zh) { - if (zh == 'cn') { - $("#zh_cn").css("display", "none"); - $("#zh_tw").css("display", "inline-block"); - loadCSS("https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.8/css/tw.css"); - } - if (zh == 'tw') { - $("#zh_tw").css("display", "none"); - $("#zh_cn").css("display", "inline-block"); - loadCSS("https://cdn.jsdelivr.net/gh/moezx/cdn@3.1.8/css/cn.css"); - } -} -mashiro_global.ini.normalize(); -if (window.location.hostname == "lovelive.2heng.xin") { - Poi.ajaxurl = Poi.ajaxurl.replace('//2heng.xin', ''); -} -var home = location.href, - s = $('#bgvideo')[0], - Siren = { - MN: function () { - $('.iconflat').on('click', function () { - if ($("#main-container").hasClass("open")) { - $('.iconflat').css('width', '50px').css('height', '50px'); - $('.openNav').css('height', '50px'); - } else { - $('.iconflat').css('width', '100%').css('height', '100%'); - $('.openNav').css('height', '100%'); - } - $('body').toggleClass('navOpen'); - $('#main-container,#mo-nav,.openNav').toggleClass('open'); - }); - }, MNH: function () { - if ($('body').hasClass('navOpen')) { - $('body').toggleClass('navOpen'); - $('#main-container,#mo-nav,.openNav').toggleClass('open'); - } - }, splay: function () { - $('#video-btn').addClass('video-pause').removeClass('video-play').show(); - $('.video-stu').css({ - "bottom": "-100px" - }); - $('.focusinfo').css({ - "top": "-999px" - }); - $('#banner_wave_1').addClass('banner_wave_hide'); - $('#banner_wave_2').addClass('banner_wave_hide'); - // for (var i = 0; i < ap.length; i++) { - // try { - // ap[i].destroy() - // } catch (e) {} - // } - // try { - // hermitInit() - // } catch (e) {} - s.play(); - }, spause: function () { - $('#video-btn').addClass('video-play').removeClass('video-pause'); - $('.focusinfo').css({ - "top": "49.3%" - }); - $('#banner_wave_1').removeClass('banner_wave_hide'); - $('#banner_wave_2').removeClass('banner_wave_hide'); - s.pause(); - }, liveplay: function () { - if (s.oncanplay != undefined && $('.haslive').length > 0) { - if ($('.videolive').length > 0) { - Siren.splay(); - } - } - }, livepause: function () { - if (s.oncanplay != undefined && $('.haslive').length > 0) { - Siren.spause(); - $('.video-stu').css({ - "bottom": "0px" - }).html('已暂停 ...'); - } - }, addsource: function () { - $('.video-stu').html('正在载入视频 ...').css({ - "bottom": "0px" - }); - var t = Poi.movies.name.split(","), - _t = t[Math.floor(Math.random() * t.length)]; - $('#bgvideo').attr('src', Poi.movies.url + '/' + _t + '.mp4'); - $('#bgvideo').attr('video-name', _t); - }, LV: function () { - var _btn = $('#video-btn'); - _btn.on('click', function () { - if ($(this).hasClass('loadvideo')) { - $(this).addClass('video-pause').removeClass('loadvideo').hide(); - Siren.addsource(); - s.oncanplay = function () { - Siren.splay(); - $('#video-add').show(); - _btn.addClass('videolive'); - _btn.addClass('haslive'); - } - } else { - if ($(this).hasClass('video-pause')) { - Siren.spause(); - _btn.removeClass('videolive'); - $('.video-stu').css({ - "bottom": "0px" - }).html('已暂停 ...'); - } else { - Siren.splay(); - _btn.addClass('videolive'); - } - } - s.onended = function () { - $('#bgvideo').attr('src', ''); - $('#video-add').hide(); - _btn.addClass('loadvideo').removeClass('video-pause'); - _btn.removeClass('videolive'); - _btn.removeClass('haslive'); - $('.focusinfo').css({ - "top": "49.3%" - }); - } - }); - $('#video-add').on('click', function () { - Siren.addsource(); - }); - }, AH: function () { - if (Poi.windowheight == 'auto') { - if ($('h1.main-title').length > 0) { - var _height = $(window).height(); - $('#centerbg').css({ - 'height': _height - }); - $('#bgvideo').css({ - 'min-height': _height - }); - $(window).resize(function () { - Siren.AH(); - }); - } - } else { - $('.headertop').addClass('headertop-bar'); - } - }, PE: function () { - if ($('.headertop').length > 0) { - if ($('h1.main-title').length > 0) { - $('.blank').css({ - "padding-top": "0px" - }); - $('.headertop').css({ - "height": "auto" - }).show(); - if (Poi.movies.live == 'open') Siren.liveplay(); - $('.site-header').addClass('is-homepage'); - } else { - $('.blank').css({ - "padding-top": "75px" - }); - $('.headertop').css({ - "height": "0px" - }).hide(); - Siren.livepause(); - } - } - }, CE: function () { - $('.comments-hidden').show(); - $('.comments-main').hide(); - $('.comments-hidden').click(function () { - $('.comments-main').slideDown(500); - $('.comments-hidden').hide(); - }); - $('.archives').hide(); - $('.archives:first').show(); - $('#archives-temp h3').click(function () { - $(this).next().slideToggle('fast'); - return false; - }); - $('.js-toggle-search').on('click', function () { - $('.js-toggle-search').toggleClass('is-active'); - $('.js-search').toggleClass('is-visible'); - }); - $('.search_close').on('click', function () { - if ($('.js-search').hasClass('is-visible')) { - $('.js-toggle-search').toggleClass('is-active'); - $('.js-search').toggleClass('is-visible'); - } - }); - $('#show-nav').on('click', function () { - if ($('#show-nav').hasClass('showNav')) { - $('#show-nav').removeClass('showNav').addClass('hideNav'); - $('.site-top .lower nav').addClass('navbar'); - $('.mobile-fit-control').removeClass('hide'); - if (screen && screen.width <= 1200) { - $(".site-title").toggle(); - } - } else { - $('#show-nav').removeClass('hideNav').addClass('showNav'); - $('.site-top .lower nav').removeClass('navbar'); - $('.mobile-fit-control').addClass('hide'); - if (screen && screen.width <= 1200) { - $(".site-title").toggle(); - } - } - }); - $("#loading").click(function () { - $("#loading").fadeOut(500); - }); - }, NH: function () { - var h1 = 0, - h2 = 50, - ss = $(document).scrollTop(); - $(window).scroll(function () { - var s = $(document).scrollTop(); - if (s == h1) { - $('.site-header').removeClass('yya'); - } - if (s > h1) { - $('.site-header').addClass('yya'); - } - if (s > h2) { - $('.site-header').addClass('gizle'); - if (s > ss) { - $('.site-header').removeClass('sabit'); - } else { - $('.site-header').addClass('sabit'); - } - ss = s; - } - }); - }, XLS: function () { - $body = (window.opera) ? (document.compatMode == "CSS1Compat" ? $('html') : $('body')) : $('html,body'); - $('body').on('click', '#pagination a', function () { - $(this).addClass("loading").text(""); - $.ajax({ - type: "POST", - url: $(this).attr("href") + "#main", - success: function (data) { - result = $(data).find("#main .post"); - nextHref = $(data).find("#pagination a").attr("href"); - $("#main").append(result.fadeIn(500)); - $("#pagination a").removeClass("loading").text("Previous"); - lazyload(); - mashiro_global.post_list_show_animation.ini(50); - if (nextHref != undefined) { - $("#pagination a").attr("href", nextHref); - } else { - $("#pagination").html("很高兴你翻到这里,但是真的没有了..."); - } - } - }); - return false; - }); - }, XCS: function () { - var __cancel = jQuery('#cancel-comment-reply-link'), - __cancel_text = __cancel.text(), - __list = 'commentwrap'; - jQuery(document).on("submit", "#commentform", function () { - jQuery.ajax({ - url: Poi.ajaxurl, - data: jQuery(this).serialize() + "&action=ajax_comment", - type: jQuery(this).attr('method'), - beforeSend: addComment.createButterbar("提交中(Commiting)...."), - error: function (request) { - var t = addComment; - t.createButterbar(request.responseText); - }, success: function (data) { - jQuery('textarea').each(function () { - this.value = '' - }); - var t = addComment, - cancel = t.I('cancel-comment-reply-link'), - temp = t.I('wp-temp-form-div'), - respond = t.I(t.respondId), - post = t.I('comment_post_ID').value, - parent = t.I('comment_parent').value; - if (parent != '0') { - jQuery('#respond').before('
          ' + data + '
        '); - } else if (!jQuery('.' + __list).length) { - if (Poi.formpostion == 'bottom') { - jQuery('#respond').before('
          ' + data + '
        '); - } else { - jQuery('#respond').after('
          ' + data + '
        '); - } - } else { - if (Poi.order == 'asc') { - jQuery('.' + __list).append(data); - } else { - jQuery('.' + __list).prepend(data); - } - } - t.createButterbar("提交成功(Succeed)"); - lazyload(); - code_highlight_style(); - click_to_view_image(); - clean_upload_images(); - cancel.style.display = 'none'; - cancel.onclick = null; - t.I('comment_parent').value = '0'; - if (temp && respond) { - temp.parentNode.insertBefore(respond, temp); - temp.parentNode.removeChild(temp) - } - } - }); - return false; - }); - addComment = { - moveForm: function (commId, parentId, respondId) { - var t = this, - div, comm = t.I(commId), - respond = t.I(respondId), - cancel = t.I('cancel-comment-reply-link'), - parent = t.I('comment_parent'), - post = t.I('comment_post_ID'); - __cancel.text(__cancel_text); - t.respondId = respondId; - if (!t.I('wp-temp-form-div')) { - div = document.createElement('div'); - div.id = 'wp-temp-form-div'; - div.style.display = 'none'; - respond.parentNode.insertBefore(div, respond) - }!comm ? (temp = t.I('wp-temp-form-div'), t.I('comment_parent').value = '0', temp.parentNode.insertBefore(respond, temp), temp.parentNode.removeChild(temp)) : comm.parentNode.insertBefore(respond, comm.nextSibling); - jQuery("body").animate({ - scrollTop: jQuery('#respond').offset().top - 180 - }, 400); - parent.value = parentId; - cancel.style.display = ''; - cancel.onclick = function () { - var t = addComment, - temp = t.I('wp-temp-form-div'), - respond = t.I(t.respondId); - t.I('comment_parent').value = '0'; - if (temp && respond) { - temp.parentNode.insertBefore(respond, temp); - temp.parentNode.removeChild(temp); - } - this.style.display = 'none'; - this.onclick = null; - return false; - }; - try { - t.I('comment').focus(); - } catch (e) {} - return false; - }, I: function (e) { - return document.getElementById(e); - }, clearButterbar: function (e) { - if (jQuery(".butterBar").length > 0) { - jQuery(".butterBar").remove(); - } - }, createButterbar: function (message, showtime) { - var t = this; - t.clearButterbar(); - jQuery("body").append('

        ' + message + '

        '); - if (showtime > 0) { - setTimeout("jQuery('.butterBar').remove()", showtime); - } else { - setTimeout("jQuery('.butterBar').remove()", 6000); - } - } - }; - }, XCP: function () { - $body = (window.opera) ? (document.compatMode == "CSS1Compat" ? $('html') : $('body')) : $('html,body'); - $('body').on('click', '#comments-navi a', function (e) { - e.preventDefault(); - $.ajax({ - type: "GET", - url: $(this).attr('href'), - beforeSend: function () { - $('#comments-navi').remove(); - $('ul.commentwrap').remove(); - $('#loading-comments').slideDown(); - $body.animate({ - scrollTop: $('#comments-list-title').offset().top - 65 - }, 800); - }, dataType: "html", - success: function (out) { - result = $(out).find('ul.commentwrap'); - nextlink = $(out).find('#comments-navi'); - $('#loading-comments').slideUp('fast'); - $('#loading-comments').after(result.fadeIn(500)); - $('ul.commentwrap').after(nextlink); - lazyload(); - code_highlight_style(); - click_to_view_image(); - } - }); - }); - }, IA: function () { - POWERMODE.colorful = true; - POWERMODE.shake = false; - document.body.addEventListener('input', POWERMODE) - }, GT: function () { - var offset = 100, - offset_opacity = 1200, - scroll_top_duration = 700, - $back_to_top = $('.cd-top'); - $(window).scroll(function () { - if ($(this).scrollTop() > offset) { - $back_to_top.addClass('cd-is-visible'); - $(".changeSkin-gear").css("bottom", "0"); - if ($(window).height() > 950) { - $(".cd-top.cd-is-visible").css("top", "0"); - } else { - $(".cd-top.cd-is-visible").css("top", ($(window).height() - 950) + "px"); - } - } else { - $(".changeSkin-gear").css("bottom", "-999px"); - $(".cd-top.cd-is-visible").css("top", "-900px"); - $back_to_top.removeClass('cd-is-visible cd-fade-out'); - } - if ($(this).scrollTop() > offset_opacity) { - $back_to_top.addClass('cd-fade-out'); - } - }); - $back_to_top.on('click', function (event) { - event.preventDefault(); - $('body,html').animate({ - scrollTop: 0, - }, scroll_top_duration); - }); - } - } -$(function () { - Siren.AH(); - Siren.PE(); - Siren.NH(); - Siren.GT(); - Siren.XLS(); - Siren.XCS(); - Siren.XCP(); - Siren.CE(); - Siren.MN(); - Siren.IA(); - Siren.LV(); - if (window.is_app) injectStyles('#nprogress .bar { display: none; }'); - if (Poi.pjax) { - $(document).pjax('a[target!=_top]', '#page', { - fragment: '#page', - timeout: 8000, - }).on('pjax:send', function () { - $("#bar").css("width", "0%"); - if (mashiro_option.NProgressON) NProgress.start(); - Siren.MNH(); - }).on('pjax:complete', function () { - Siren.AH(); - Siren.PE(); - Siren.CE(); - if (mashiro_option.NProgressON) NProgress.done(); - mashiro_global.ini.pjax(); - $("#loading").fadeOut(500); - if (Poi.codelamp == 'open') { - self.Prism.highlightAll(event) - }; - if ($('.ds-thread').length > 0) { - if (typeof DUOSHUO !== 'undefined') { - DUOSHUO.EmbedThread('.ds-thread'); - } else { - $.getScript("//static.duoshuo.com/embed.js"); - } - } - }).on('submit', '.search-form,.s-search', function (event) { - event.preventDefault(); - $.pjax.submit(event, '#page', { - fragment: '#page', - timeout: 8000, - }); - if ($('.js-search.is-visible').length > 0) { - $('.js-toggle-search').toggleClass('is-active'); - $('.js-search').toggleClass('is-visible'); - } - }); - mashiro_global.lib.pjax_to_url = function (url, ele) { - $.pjax({ - url: url, - container: ele, - fragment: ele, - timeout: 8000 - }) - } - window.addEventListener('popstate', function (e) { - Siren.AH(); - Siren.PE(); - Siren.CE(); - timeSeriesReload(true); - }, false); - } - $.fn.postLike = function () { - if ($(this).hasClass('done')) { - return false; - } else { - $(this).addClass('done'); - var id = $(this).data("id"), - action = $(this).data('action'), - rateHolder = $(this).children('.count'); - var ajax_data = { - action: "specs_zan", - um_id: id, - um_action: action - }; - $.post(Poi.ajaxurl, ajax_data, function (data) { - $(rateHolder).html(data); - }); - return false; - } - }; - $(document).on("click", ".specsZan", function () { - $(this).postLike(); - }); - // console.log("%c Mashiro %c", "background:#24272A; color:#ffffff", "", "https://2heng.xin/"); - // console.log("%c Github %c", "background:#24272A; color:#ffffff", "", "https://github.com/mashirozx"); -}); -var isWebkit = navigator.userAgent.toLowerCase().indexOf('webkit') > -1, - isOpera = navigator.userAgent.toLowerCase().indexOf('opera') > -1, - isIe = navigator.userAgent.toLowerCase().indexOf('msie') > -1; -if ((isWebkit || isOpera || isIe) && document.getElementById && window.addEventListener) { - window.addEventListener('hashchange', function () { - var id = location.hash.substring(1), - element; - if (!(/^[A-z0-9_-]+$/.test(id))) { - return; - } - element = document.getElementById(id); - if (element) { - if (!(/^(?:a|select|input|button|textarea)$/i.test(element.tagName))) { - element.tabIndex = -1; - } - element.focus(); - } - }, false); -} -loadCSS(mashiro_option.jsdelivr_css_src); -// loadCSS("https://at.alicdn.com/t/font_679578_dishi1yoavm.css"); -// loadCSS("https://cdn.jsdelivr.net/gh/moezx/cdn@3.5.4/fonts/Moe-Mashiro/stylesheet.css"); -// loadCSS("https://fonts.googleapis.com/css?family=Noto+SerifMerriweather|Merriweather+Sans|Source+Code+Pro|Ubuntu:400,700"); -// loadCSS("https://cdn.jsdelivr.net/gh/moezx/cdn@3.3.9/css/sharejs.css");; - - -function render(template, context) { - var tokenReg = /(\\)?\{([^\{\}\\]+)(\\)?\}/g; - return template.replace(tokenReg, function (word, slash1, token, slash2) { - if (slash1 || slash2) { - return word.replace('\\', ''); - } - var variables = token.replace(/\s/g, '').split('.'); - var currentObject = context; - var i, length, variable; - for (i = 0, length = variables.length; i < length; ++i) { - variable = variables[i]; - currentObject = currentObject[variable]; - if (currentObject === undefined || currentObject === null) return ''; - } - return currentObject; - }); -} -String.prototype.render = function (context) { - return render(this, context); -}; - -$(document).ready(function () { - setTimeout(function () { - isFirstLoad = true; - if (document.body.clientWidth > 860) { - $(".changeSkin-gear").css("visibility", "visible"); - } - $("p").remove(".head-copyright"); - }, 0) -}); -if ($("div").hasClass("aplayer")) { - reloadHermit(); -}; - -function aplayerF() { - 'use strict'; - var aplayers = [], - loadMeting = function () { - function a(a, b) { - var c = { - container: a, - audio: b, - mini: null, - fixed: null, - autoplay: !1, - mutex: !0, - lrcType: 3, - listFolded: !1, - preload: 'auto', - theme: '#2980b9', - loop: 'all', - order: 'list', - volume: null, - listMaxHeight: null, - customAudioType: null, - storageName: 'metingjs' - }; - if (b.length) { - b[0].lrc || (c.lrcType = 0); - var d = {}; - for (var e in c) { - var f = e.toLowerCase(); - (a.dataset.hasOwnProperty(f) || a.dataset.hasOwnProperty(e) || null !== c[e]) && (d[e] = a.dataset[f] || a.dataset[e] || c[e], ('true' === d[e] || 'false' === d[e]) && (d[e] = 'true' == d[e])) - } - aplayers.push(new APlayer(d)) - } - for (var f = 0; f < aplayers.length; f++) try { - aplayers[f].lrc.hide(); - } catch (a) { - console.log(a) - } - var lrcTag = 1; - $(".aplayer.aplayer-fixed").click(function () { - if (lrcTag == 1) { - for (var f = 0; f < aplayers.length; f++) try { - aplayers[f].lrc.show(); - } catch (a) { - console.log(a) - } - } - lrcTag = 2; - }); - var apSwitchTag = 0; - $(".aplayer.aplayer-fixed .aplayer-body").addClass("ap-hover"); - $(".aplayer-miniswitcher").click(function () { - if (apSwitchTag == 0) { - $(".aplayer.aplayer-fixed .aplayer-body").removeClass("ap-hover"); - apSwitchTag = 1; - } else { - $(".aplayer.aplayer-fixed .aplayer-body").addClass("ap-hover"); - apSwitchTag = 0; - } - }); - } - var b = 'https://api.i-meto.com/meting/api?server=:server&type=:type&id=:id&r=:r'; - 'undefined' != typeof meting_api && (b = meting_api); - for (var f = 0; f < aplayers.length; f++) try { - aplayers[f].destroy() - } catch (a) { - console.log(a) - } - aplayers = []; - for (var c = document.querySelectorAll('.aplayer'), d = function () { - var d = c[e], - f = d.dataset.id; - if (f) { - var g = d.dataset.api || b; - g = g.replace(':server', d.dataset.server), g = g.replace(':type', d.dataset.type), g = g.replace(':id', d.dataset.id), g = g.replace(':auth', d.dataset.auth), g = g.replace(':r', Math.random()); - var h = new XMLHttpRequest; - h.onreadystatechange = function () { - if (4 === h.readyState && (200 <= h.status && 300 > h.status || 304 === h.status)) { - var b = JSON.parse(h.responseText); - a(d, b) - } - }, h.open('get', g, !0), h.send(null) - } else if (d.dataset.url) { - var i = [{ - name: d.dataset.name || d.dataset.title || 'Audio name', - artist: d.dataset.artist || d.dataset.author || 'Audio artist', - url: d.dataset.url, - cover: d.dataset.cover || d.dataset.pic, - lrc: d.dataset.lrc, - type: d.dataset.type || 'auto' - }]; - a(d, i) - } - }, e = 0; e < c.length; e++) d() - }; - document.addEventListener('DOMContentLoaded', loadMeting, !1); -} -if (document.body.clientWidth > 860) { - aplayerF(); -} diff --git a/js/script.js b/js/script.js new file mode 100644 index 0000000000000000000000000000000000000000..1e587674597b0dfa4ccf73d8004bab4a359f6c77 --- /dev/null +++ b/js/script.js @@ -0,0 +1,137 @@ +(function($){ + // Search + var $searchWrap = $('#search-form-wrap'), + isSearchAnim = false, + searchAnimDuration = 200; + + var startSearchAnim = function(){ + isSearchAnim = true; + }; + + var stopSearchAnim = function(callback){ + setTimeout(function(){ + isSearchAnim = false; + callback && callback(); + }, searchAnimDuration); + }; + + $('#nav-search-btn').on('click', function(){ + if (isSearchAnim) return; + + startSearchAnim(); + $searchWrap.addClass('on'); + stopSearchAnim(function(){ + $('.search-form-input').focus(); + }); + }); + + $('.search-form-input').on('blur', function(){ + startSearchAnim(); + $searchWrap.removeClass('on'); + stopSearchAnim(); + }); + + // Share + $('body').on('click', function(){ + $('.article-share-box.on').removeClass('on'); + }).on('click', '.article-share-link', function(e){ + e.stopPropagation(); + + var $this = $(this), + url = $this.attr('data-url'), + encodedUrl = encodeURIComponent(url), + id = 'article-share-box-' + $this.attr('data-id'), + offset = $this.offset(); + + if ($('#' + id).length){ + var box = $('#' + id); + + if (box.hasClass('on')){ + box.removeClass('on'); + return; + } + } else { + var html = [ + '
        ', + '', + '
        ', + '', + '', + '', + '', + '
        ', + '
        ' + ].join(''); + + var box = $(html); + + $('body').append(box); + } + + $('.article-share-box.on').hide(); + + box.css({ + top: offset.top + 25, + left: offset.left + }).addClass('on'); + }).on('click', '.article-share-box', function(e){ + e.stopPropagation(); + }).on('click', '.article-share-box-input', function(){ + $(this).select(); + }).on('click', '.article-share-box-link', function(e){ + e.preventDefault(); + e.stopPropagation(); + + window.open(this.href, 'article-share-box-window-' + Date.now(), 'width=500,height=450'); + }); + + // Caption + $('.article-entry').each(function(i){ + $(this).find('img').each(function(){ + if ($(this).parent().hasClass('fancybox')) return; + + var alt = this.alt; + + if (alt) $(this).after('' + alt + ''); + + $(this).wrap(''); + }); + + $(this).find('.fancybox').each(function(){ + $(this).attr('rel', 'article' + i); + }); + }); + + if ($.fancybox){ + $('.fancybox').fancybox(); + } + + // Mobile nav + var $container = $('#container'), + isMobileNavAnim = false, + mobileNavAnimDuration = 200; + + var startMobileNavAnim = function(){ + isMobileNavAnim = true; + }; + + var stopMobileNavAnim = function(){ + setTimeout(function(){ + isMobileNavAnim = false; + }, mobileNavAnimDuration); + } + + $('#main-nav-toggle').on('click', function(){ + if (isMobileNavAnim) return; + + startMobileNavAnim(); + $container.toggleClass('mobile-nav-on'); + stopMobileNavAnim(); + }); + + $('#wrap').on('click', function(){ + if (isMobileNavAnim || !$container.hasClass('mobile-nav-on')) return; + + $container.removeClass('mobile-nav-on'); + }); +})(jQuery); \ No newline at end of file diff --git a/links/index.html b/links/index.html index e5d650bc20a2d718315e2ad436ad70598d7eee43..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 --- a/links/index.html +++ b/links/index.html @@ -1,841 +0,0 @@ - - - - - - - links | LOVE109❤️纪实小屋 - - - - - - - - - - - - - - - - - -
        -
        - -
        -
        - - -
        -
        -
        - - - -
        -
        -

        LOVE109❤️纪实小屋 - 记录爱情❤️记录生活

        -
        -
      • - -
      • - - - -
      • - -
      • - - - -
      • - -
      • - - - -
      • - -
      • - - - -
      • - -
      • - - - -
      • - -
      • - - - -
      • - -
      • - - - -
      • - -
      • -
        -
        -
        -
        -
        - -
        -
        -
        -
        -
        -
        -
        -
        - - - -
        -
        - -
        - -
        -
        - -
        -
        -

        - 友人帐

        -
        -
        - -
        -
        -

        欢迎交换友链 ꉂ(ˊᗜˋ),请留言告诉我你的:1、站点名字;2、站点头像;3、主页地址;4、主页简介。

        - - - - - - - - - - - - - - - - - - - - - -
        站点名字LOVE109❤️纪实小屋
        站点头像https://love109.cn/images/love109.jpg
        主页地址https://love109.cn/
        主页简介记录爱情❤️记录生活
        -
        -

        ※ 申请友链的站点必须遵循中华人民共和国相关法律法规,凡是违反《互联网信息服务管理办法》或其他法律法规的站点恕不接受友链

        -

        ※ 本站部分图标、图片、源代码来源于互联网,如有侵权请联系我立即删除

        -

        ※ 本站“特别链接”内容来源于互联网,若不想单方面被添加为友情链接或者有侵权,请网站负责人联系我立即删除

        -

        ※ 本站不对其他站点任何内容负责

        -
        -



        - 虐狗博主
        -

        -
        - 技术大佬
        - -
        - 特别链接
        - -

        - - - - - -
        - - - -
        - -
        -
        -
        -
        - - -
        -
        - -
        -

        记录爱情 记录生活

        -
        - -
        - - - - - - - - -
        -
        -
        - -
        - - - © 2019 LOVE109纪实小屋
        - 鄂ICP备19003281号
        - - 正在载入... - - -
        - - - - - - - - - -
        -
        -
        - - - - - - -
        -
        -
        -
        -
        - -
        -
        -
        -
        -
        - -
        -

        LOVE109❤️ 纪实小屋

        -

        - - - - - - - - - - - - - -

        - -

        - © 2019 LOVE109❤️纪实小屋

        -
        - - - - - - - - - - - - - - - - - -
        - - - \ No newline at end of file diff --git a/rss/index.html b/rss/index.html index ff5fdbd0c6c276f1f8841fe8bf522a3f4041fd19..a40d238415ad6d382fdd42e0a6e6dfeca6f2f387 100644 --- a/rss/index.html +++ b/rss/index.html @@ -1,675 +1,200 @@ - + - - rss | LOVE109❤️纪实小屋 + - + rss | 404 + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + - -
        -
        - -
        -
        - - -
        -
        -
        - - - -
        -
        -

        LOVE109❤️纪实小屋 - 记录爱情❤️记录生活

        -
        -
      • - -
      • - - - -
      • - -
      • - - - -
      • - -
      • - - - -
      • - -
      • - - - -
      • - -
      • - - - -
      • - -
      • - - - -
      • - -
      • - - - -
      • - -
      • -
        -
        -
        -
        -
        - -
        -
        -
        -
        -
        -
        -
        -
        - - - -
        -
        - -
        - -
        - - -
        -
        -
        -
        + Archives + +
        -
        - -
        -

        记录爱情 记录生活

        -
        - -
        - - - - - - - - -
        -
        -
        - -
        - - - © 2019 LOVE109纪实小屋
        - 鄂ICP备19003281号
        - - 正在载入... - - -
        - - - - - - - - - -
        +
        +
        +
        + - - - +
        + + +
        + + +

        + rss +

        + - - - -
        -
        -
        -
        -
        - -
        -
        -
        -
        -
        - -
        -

        LOVE109❤️ 纪实小屋

        -

        +

        +
        - - - - - + - +
        + + + -

        -
        - + - + +
        + +
        + +
        +
        + + - -

        - © 2019 LOVE109❤️纪实小屋

        - - - - - - + + + + + + - - - - + - - - - -
        - - - \ No newline at end of file + + + + \ No newline at end of file diff --git a/tags/landscape/index.html b/tags/landscape/index.html new file mode 100644 index 0000000000000000000000000000000000000000..a18772140db74a9ed123ebd4f57579ee62327895 --- /dev/null +++ b/tags/landscape/index.html @@ -0,0 +1,198 @@ + + + + + + + + Tag: landscape | 404 + + + + + + + + + + + + + + + + + + + + + + + + +
        +
        + +
        +
        + + + + + + +
        +
        + 2019 +
        +
        + + + + +
        + + + +
        + + + +
        +
        + +
        + +
        +
        +
        + + + + + + + + + + + + + + +
        + + \ No newline at end of file diff --git a/tags/web/index.html b/tags/web/index.html deleted file mode 100644 index d995e4418a095df9d3af5b5d59e67a2984f5c7cf..0000000000000000000000000000000000000000 --- a/tags/web/index.html +++ /dev/null @@ -1,729 +0,0 @@ - - - - - - - Tag: web | LOVE109❤️纪实小屋 - - - - - - - - - - - - - - - - - -
        -
        - -
        -
        - - -
        -
        -
        - - - -
        -
        -

        LOVE109❤️纪实小屋 - 记录爱情❤️记录生活

        -
        -
      • - -
      • - - - -
      • - -
      • - - - -
      • - -
      • - - - -
      • - -
      • - - - -
      • - -
      • - - - -
      • - -
      • - - - -
      • - -
      • - - - -
      • - -
      • -
        -
        -
        -
        -
        - -
        -
        -
        -
        -
        -
        -
        -
        - - - -
        -
        - - -
        -
        -
        - -
        -
        -

        web

        -
        -
        -
        -
        -
        - - - - - - - - - - - -
        -
        -
        - -
        -
        - - - - - - -
        -
        -
        - -
        - - - © 2019 LOVE109纪实小屋
        - 鄂ICP备19003281号
        - - 正在载入... - - -
        - - - - - - - - - -
        -
        -
        - - - - - - -
        -
        -
        -
        -
        - -
        -
        -
        -
        -
        - -
        -

        LOVE109❤️ 纪实小屋

        -

        - - - - - - - - - - - - - -

        - -

        - © 2019 LOVE109❤️纪实小屋

        -
        - - - - - - - - - - - - - - - - - -
        - - - \ No newline at end of file diff --git "a/tags/\346\202\246\350\257\273/index.html" "b/tags/\346\202\246\350\257\273/index.html" deleted file mode 100644 index fc08bafa34d30dcdcd29d6fb86aac9219697fb54..0000000000000000000000000000000000000000 --- "a/tags/\346\202\246\350\257\273/index.html" +++ /dev/null @@ -1,729 +0,0 @@ - - - - - - - Tag: 悦读 | LOVE109❤️纪实小屋 - - - - - - - - - - - - - - - - - -
        -
        - -
        -
        - - -
        -
        -
        - - - -
        -
        -

        LOVE109❤️纪实小屋 - 记录爱情❤️记录生活

        -
        -
      • - -
      • - - - -
      • - -
      • - - - -
      • - -
      • - - - -
      • - -
      • - - - -
      • - -
      • - - - -
      • - -
      • - - - -
      • - -
      • - - - -
      • - -
      • -
        -
        -
        -
        -
        - -
        -
        -
        -
        -
        -
        -
        -
        - - - -
        -
        - - -
        -
        -
        - -
        -
        -

        悦读

        -
        -
        -
        -
        -
        - - - - - - - - - - - -
        -
        -
        - -
        -
        - - - - - - -
        -
        -
        - -
        - - - © 2019 LOVE109纪实小屋
        - 鄂ICP备19003281号
        - - 正在载入... - - -
        - - - - - - - - - -
        -
        -
        - - - - - - -
        -
        -
        -
        -
        - -
        -
        -
        -
        -
        - -
        -

        LOVE109❤️ 纪实小屋

        -

        - - - - - - - - - - - - - -

        - -

        - © 2019 LOVE109❤️纪实小屋

        -
        - - - - - - - - - - - - - - - - - -
        - - - \ No newline at end of file diff --git a/warn.html b/warn.html deleted file mode 100644 index ac1037dcc76bcdafc066a44a8a5e8a4694be19d0..0000000000000000000000000000000000000000 --- a/warn.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - 警告:不被支持的浏览器 - - - - - -

        !

        -

        Not support IE9 and below

        -

        为保持体验良好,本站禁止不支持H5的浏览器访问

        -

        墙裂推荐使用 ChromeFirefox 浏览器访问本站。

        - - \ No newline at end of file