forked from barryclark/jekyll-now
-
Notifications
You must be signed in to change notification settings - Fork 0
/
slider.885efe.js
14 lines (14 loc) · 51.7 KB
/
slider.885efe.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
!function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="./",e(0)}([function(t,e,n){"use strict";function r(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function i(t){return t&&t.__esModule?t:{default:t}}function o(t){return t+="",1===t.length?"0"+t:t}function s(){var t=document.querySelectorAll(".tools-section");t.forEach(function(t){t.scrollTop=0})}function a(){function t(t){t=(t||"").toLowerCase();var n="title";0===t.indexOf("#")&&(t=t.substr(1,t.length),n="tag");var r=e.items;r.forEach(function(e){var r=!1;e.title.toLowerCase().indexOf(t)>-1&&(r=!0);var i=!1;e.tags.forEach(function(e){e.name.toLowerCase().indexOf(t)>-1&&(i=!0)}),"title"===n&&r||"tag"===n&&i?e.isShow=!0:e.isShow=!1}),e.$set("items",r)}var e=new p.default({el:"#container",data:{isCtnShow:!1,isShow:0,innerArchive:!1,friends:!1,aboutme:!1,items:[],jsonFail:!1,showTags:!1,search:""},methods:{stop:function(t){t.stopPropagation()},choseTag:function(t,n){e.$set("search","#"+(n?n:t.target.innerHTML))},clearChose:function(t){e.$set("search","")},toggleTag:function(t){e.$set("showTags",!e.showTags),window.localStorage&&window.localStorage.setItem(g,e.showTags)},openSlider:function(t,n){t.stopPropagation(),n||(n="innerArchive"),e.$set("innerArchive",!1),e.$set("friends",!1),e.$set("aboutme",!1),e.$set(n,!0),e.$set("isShow",!0),e.$set("isCtnShow",!0),s()}},filters:{isFalse:function(t){return t===!1},isEmptyStr:function(t){return""===t},isNotEmptyStr:function(t){return""!==t},urlformat:function(t){return"/"+t},tagformat:function(t){return"#"+t},dateformat:function(t){var e=new Date(t);return e.getFullYear()+"-"+o(e.getMonth()+1)+"-"+o(e.getDate())}},ready:function(){}});e.$watch("search",function(e,n){window.localStorage&&window.localStorage.setItem(w,e),t(e)}),window.fetch(window.yiliaConfig.root+"content.json?t="+ +new Date,{method:"get"}).then(function(t){return t.json()}).then(function(n){n.forEach(function(t){t.isShow=!0}),e.$set("items",n);var r=window.localStorage&&window.localStorage.getItem(w)||"";e.$set("search",r),""!==r&&t(r)}).catch(function(t){e.$set("jsonFail",!0)}),document.querySelector("#container").onclick=function(t){e.isShow&&(e.$set("isShow",!1),setTimeout(function(){e.$set("isCtnShow",!1)},300))};var n=!1;window.localStorage&&(n=window.localStorage.getItem(g));var r="false";r=null===n?window.yiliaConfig&&window.yiliaConfig.showTags?"true":"false":window.localStorage&&window.localStorage.getItem(g)||"false",e.$set("showTags",JSON.parse(r));for(var i=document.querySelectorAll(".tagcloud a.js-tag"),a=function(){var t=i[u];t.setAttribute("href","javascript:void(0)"),t.onclick=function(n){return n.stopPropagation(),e.$set("innerArchive",!0),e.$set("friends",!1),e.$set("aboutme",!1),e.$set("isShow",!0),e.$set("isCtnShow",!0),e.$set("search","#"+t.innerHTML),s(),!1}},u=0,c=i.length;u<c;u++)a()}var u=n(74),c=i(u),f=n(69),l=i(f),h=n(73),p=i(h),d=n(85),v=r(d),y=n(89),m=r(y);window.Promise=window.Promise||v.Promise,window.fetch=window.fetch||m;var g="yilia-tag",w="yilia-search",b=l.default.versions.mobile&&window.screen.width<800;a(),b||c.default.init(),t.exports={}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(49),i=n(15);t.exports=function(t){return r(i(t))}},function(t,e,n){t.exports=!n(8)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(6),i=n(12);t.exports=n(4)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(10),i=n(30),o=n(24),s=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(22)("wks"),i=n(13),o=n(1).Symbol,s="function"==typeof o,a=t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))};a.store=r},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(35),i=n(16);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(11);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){t.exports={}},function(t,e){t.exports=!0},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(6).f,i=n(2),o=n(7)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(22)("keys"),i=n(13);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(1),i="__core-js_shared__",o=r[i]||(r[i]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(11);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(1),i=n(14),o=n(18),s=n(26),a=n(6).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||a(e,t,{value:s.f(t)})}},function(t,e,n){e.f=n(7)},function(t,e,n){var r=n(1),i=n(14),o=n(46),s=n(5),a="prototype",u=function(t,e,n){var c,f,l,h=t&u.F,p=t&u.G,d=t&u.S,v=t&u.P,y=t&u.B,m=t&u.W,g=p?i:i[e]||(i[e]={}),w=g[a],b=p?r:d?r[e]:(r[e]||{})[a];p&&(n=e);for(c in n)f=!h&&b&&void 0!==b[c],f&&c in g||(l=f?b[c]:n[c],g[c]=p&&"function"!=typeof b[c]?n[c]:y&&f?o(l,r):m&&b[c]==l?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e[a]=t[a],e}(l):v&&"function"==typeof l?o(Function.call,l):l,v&&((g.virtual||(g.virtual={}))[c]=l,t&u.R&&w&&!w[c]&&s(w,c,l)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(11),i=n(1).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e,n){t.exports=!n(4)&&!n(8)(function(){return 7!=Object.defineProperty(n(29)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";var r=n(18),i=n(27),o=n(36),s=n(5),a=n(2),u=n(17),c=n(51),f=n(20),l=n(58),h=n(7)("iterator"),p=!([].keys&&"next"in[].keys()),d="@@iterator",v="keys",y="values",m=function(){return this};t.exports=function(t,e,n,g,w,b,_){c(n,e,g);var x,O,S,$=function(t){if(!p&&t in j)return j[t];switch(t){case v:return function(){return new n(this,t)};case y:return function(){return new n(this,t)}}return function(){return new n(this,t)}},E=e+" Iterator",T=w==y,k=!1,j=t.prototype,A=j[h]||j[d]||w&&j[w],P=A||$(w),C=w?T?$("entries"):P:void 0,M="Array"==e?j.entries||A:A;if(M&&(S=l(M.call(new t)),S!==Object.prototype&&(f(S,E,!0),r||a(S,h)||s(S,h,m))),T&&A&&A.name!==y&&(k=!0,P=function(){return A.call(this)}),r&&!_||!p&&!k&&j[h]||s(j,h,P),u[e]=P,u[E]=m,w)if(x={values:T?P:$(y),keys:b?P:$(v),entries:C},_)for(O in x)O in j||o(j,O,x[O]);else i(i.P+i.F*(p||k),e,x);return x}},function(t,e,n){var r=n(10),i=n(55),o=n(16),s=n(21)("IE_PROTO"),a=function(){},u="prototype",c=function(){var t,e=n(29)("iframe"),r=o.length,i="<",s=">";for(e.style.display="none",n(48).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+s+"document.F=Object"+i+"/script"+s),t.close(),c=t.F;r--;)delete c[u][o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[u]=r(t),n=new a,a[u]=null,n[s]=t):n=c(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(35),i=n(16).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(2),i=n(3),o=n(45)(!1),s=n(21)("IE_PROTO");t.exports=function(t,e){var n,a=i(t),u=0,c=[];for(n in a)n!=s&&r(a,n)&&c.push(n);for(;e.length>u;)r(a,n=e[u++])&&(~o(c,n)||c.push(n));return c}},function(t,e,n){t.exports=n(5)},function(t,e,n){var r=n(15);t.exports=function(t){return Object(r(t))}},function(t,e,n){t.exports={default:n(41),__esModule:!0}},function(t,e,n){t.exports={default:n(42),__esModule:!0}},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}e.__esModule=!0;var i=n(39),o=r(i),s=n(38),a=r(s),u="function"==typeof a.default&&"symbol"==typeof o.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};e.default="function"==typeof a.default&&"symbol"===u(o.default)?function(t){return"undefined"==typeof t?"undefined":u(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":"undefined"==typeof t?"undefined":u(t)}},function(t,e,n){n(65),n(63),n(66),n(67),t.exports=n(14).Symbol},function(t,e,n){n(64),n(68),t.exports=n(26).f("iterator")},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){t.exports=function(){}},function(t,e,n){var r=n(3),i=n(61),o=n(60);t.exports=function(t){return function(e,n,s){var a,u=r(e),c=i(u.length),f=o(s,c);if(t&&n!=n){for(;c>f;)if(a=u[f++],a!=a)return!0}else for(;c>f;f++)if((t||f in u)&&u[f]===n)return t||f||0;return!t&&-1}}},function(t,e,n){var r=n(43);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(9),i=n(34),o=n(19);t.exports=function(t){var e=r(t),n=i.f;if(n)for(var s,a=n(t),u=o.f,c=0;a.length>c;)u.call(t,s=a[c++])&&e.push(s);return e}},function(t,e,n){t.exports=n(1).document&&document.documentElement},function(t,e,n){var r=n(28);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(28);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){"use strict";var r=n(32),i=n(12),o=n(20),s={};n(5)(s,n(7)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){var r=n(9),i=n(3);t.exports=function(t,e){for(var n,o=i(t),s=r(o),a=s.length,u=0;a>u;)if(o[n=s[u++]]===e)return n}},function(t,e,n){var r=n(13)("meta"),i=n(11),o=n(2),s=n(6).f,a=0,u=Object.isExtensible||function(){return!0},c=!n(8)(function(){return u(Object.preventExtensions({}))}),f=function(t){s(t,r,{value:{i:"O"+ ++a,w:{}}})},l=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!u(t))return"F";if(!e)return"E";f(t)}return t[r].i},h=function(t,e){if(!o(t,r)){if(!u(t))return!0;if(!e)return!1;f(t)}return t[r].w},p=function(t){return c&&d.NEED&&u(t)&&!o(t,r)&&f(t),t},d=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:h,onFreeze:p}},function(t,e,n){var r=n(6),i=n(10),o=n(9);t.exports=n(4)?Object.defineProperties:function(t,e){i(t);for(var n,s=o(e),a=s.length,u=0;a>u;)r.f(t,n=s[u++],e[n]);return t}},function(t,e,n){var r=n(19),i=n(12),o=n(3),s=n(24),a=n(2),u=n(30),c=Object.getOwnPropertyDescriptor;e.f=n(4)?c:function(t,e){if(t=o(t),e=s(e,!0),u)try{return c(t,e)}catch(t){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(3),i=n(33).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(t){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==o.call(t)?a(t):i(r(t))}},function(t,e,n){var r=n(2),i=n(37),o=n(21)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,e,n){var r=n(23),i=n(15);t.exports=function(t){return function(e,n){var o,s,a=String(i(e)),u=r(n),c=a.length;return u<0||u>=c?t?"":void 0:(o=a.charCodeAt(u),o<55296||o>56319||u+1===c||(s=a.charCodeAt(u+1))<56320||s>57343?t?a.charAt(u):o:t?a.slice(u,u+2):(o-55296<<10)+(s-56320)+65536)}}},function(t,e,n){var r=n(23),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},function(t,e,n){var r=n(23),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){"use strict";var r=n(44),i=n(52),o=n(17),s=n(3);t.exports=n(31)(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):"keys"==e?i(0,n):"values"==e?i(0,t[n]):i(0,[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e){},function(t,e,n){"use strict";var r=n(59)(!0);n(31)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var r=n(1),i=n(2),o=n(4),s=n(27),a=n(36),u=n(54).KEY,c=n(8),f=n(22),l=n(20),h=n(13),p=n(7),d=n(26),v=n(25),y=n(53),m=n(47),g=n(50),w=n(10),b=n(3),_=n(24),x=n(12),O=n(32),S=n(57),$=n(56),E=n(6),T=n(9),k=$.f,j=E.f,A=S.f,P=r.Symbol,C=r.JSON,M=C&&C.stringify,F="prototype",N=p("_hidden"),D=p("toPrimitive"),I={}.propertyIsEnumerable,L=f("symbol-registry"),B=f("symbols"),R=f("op-symbols"),q=Object[F],H="function"==typeof P,U=r.QObject,W=!U||!U[F]||!U[F].findChild,z=o&&c(function(){return 7!=O(j({},"a",{get:function(){return j(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=k(q,e);r&&delete q[e],j(t,e,n),r&&t!==q&&j(q,e,r)}:j,G=function(t){var e=B[t]=O(P[F]);return e._k=t,e},K=H&&"symbol"==typeof P.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof P},Y=function(t,e,n){return t===q&&Y(R,e,n),w(t),e=_(e,!0),w(n),i(B,e)?(n.enumerable?(i(t,N)&&t[N][e]&&(t[N][e]=!1),n=O(n,{enumerable:x(0,!1)})):(i(t,N)||j(t,N,x(1,{})),t[N][e]=!0),z(t,e,n)):j(t,e,n)},J=function(t,e){w(t);for(var n,r=m(e=b(e)),i=0,o=r.length;o>i;)Y(t,n=r[i++],e[n]);return t},Q=function(t,e){return void 0===e?O(t):J(O(t),e)},X=function(t){var e=I.call(this,t=_(t,!0));return!(this===q&&i(B,t)&&!i(R,t))&&(!(e||!i(this,t)||!i(B,t)||i(this,N)&&this[N][t])||e)},V=function(t,e){if(t=b(t),e=_(e,!0),t!==q||!i(B,e)||i(R,e)){var n=k(t,e);return!n||!i(B,e)||i(t,N)&&t[N][e]||(n.enumerable=!0),n}},Z=function(t){for(var e,n=A(b(t)),r=[],o=0;n.length>o;)i(B,e=n[o++])||e==N||e==u||r.push(e);return r},tt=function(t){for(var e,n=t===q,r=A(n?R:b(t)),o=[],s=0;r.length>s;)!i(B,e=r[s++])||n&&!i(q,e)||o.push(B[e]);return o};H||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===q&&e.call(R,n),i(this,N)&&i(this[N],t)&&(this[N][t]=!1),z(this,t,x(1,n))};return o&&W&&z(q,t,{configurable:!0,set:e}),G(t)},a(P[F],"toString",function(){return this._k}),$.f=V,E.f=Y,n(33).f=S.f=Z,n(19).f=X,n(34).f=tt,o&&!n(18)&&a(q,"propertyIsEnumerable",X,!0),d.f=function(t){return G(p(t))}),s(s.G+s.W+s.F*!H,{Symbol:P});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)p(et[nt++]);for(var et=T(p.store),nt=0;et.length>nt;)v(et[nt++]);s(s.S+s.F*!H,"Symbol",{for:function(t){return i(L,t+="")?L[t]:L[t]=P(t)},keyFor:function(t){if(K(t))return y(L,t);throw TypeError(t+" is not a symbol!")},useSetter:function(){W=!0},useSimple:function(){W=!1}}),s(s.S+s.F*!H,"Object",{create:Q,defineProperty:Y,defineProperties:J,getOwnPropertyDescriptor:V,getOwnPropertyNames:Z,getOwnPropertySymbols:tt}),C&&s(s.S+s.F*(!H||c(function(){var t=P();return"[null]"!=M([t])||"{}"!=M({a:t})||"{}"!=M(Object(t))})),"JSON",{stringify:function(t){if(void 0!==t&&!K(t)){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);return e=r[1],"function"==typeof e&&(n=e),!n&&g(e)||(e=function(t,e){if(n&&(e=n.call(this,t,e)),!K(e))return e}),r[1]=e,M.apply(C,r)}}}),P[F][D]||n(5)(P[F],D,P[F].valueOf),l(P,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,e,n){n(25)("asyncIterator")},function(t,e,n){n(25)("observable")},function(t,e,n){n(62);for(var r=n(1),i=n(5),o=n(17),s=n(7)("toStringTag"),a=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],u=0;u<5;u++){var c=a[u],f=r[c],l=f&&f.prototype;l&&!l[s]&&i(l,s,c),o[c]=o.Array}},function(t,e){"use strict";var n={versions:function(){var t=window.navigator.userAgent;return{trident:t.indexOf("Trident")>-1,presto:t.indexOf("Presto")>-1,webKit:t.indexOf("AppleWebKit")>-1,gecko:t.indexOf("Gecko")>-1&&t.indexOf("KHTML")==-1,mobile:!!t.match(/AppleWebKit.*Mobile.*/),ios:!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),android:t.indexOf("Android")>-1||t.indexOf("Linux")>-1,iPhone:t.indexOf("iPhone")>-1||t.indexOf("Mac")>-1,iPad:t.indexOf("iPad")>-1,webApp:t.indexOf("Safari")==-1,weixin:t.indexOf("MicroMessenger")==-1}}()};t.exports=n},,,,function(t,e,n){var r,i,o;(function(t){"use strict";function s(t){return t&&t.__esModule?t:{default:t}}var a=n(79),u=s(a),c=n(40),f=s(c);/*!
* Q.js v1.0.12
* Inspired from vue.js
* (c) 2016 Daniel Yang
* Released under the MIT License.
*/
!function(n,s){"object"===(0,f.default)(e)&&"object"===(0,f.default)(t)?t.exports=s():(i=[],r=s,o="function"==typeof r?r.apply(e,i):r,!(void 0!==o&&(t.exports=o)))}(void 0,function(){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){var r=n(1),i=n(3),o=n(4);i.extend(r,i),t.exports=o(r)},function(t,e,n){function r(t,e,n){for(var r,i,o=0,s=a.length;o<s;o++)if(r="q-"+a[o],i=t.getAttribute(r))return e.push({name:r,value:i}),t.removeAttribute(r),!0}function i(t,e,n){n=n||{};var o,s,a,u,c,f;for(o=0;u=t[o++];){if(1===u.nodeType){if(c=u.attributes,f=[],!r(u,f,n))for(s=0,a=c.length;s<a;s++)0===c[s].name.indexOf("q-")&&f.push({name:c[s].name,value:c[s].value});f.length>0&&e(u,f,n)}u.childNodes.length&&!n.stop&&i(l.call(u.childNodes,0),e,n),n.stop=!1}}var o=function(){},s=window.requestAnimationFrame||window.webkitRequestAnimationFrame||setTimeout,a=(new(n(2))(1e3),["vm","repeat","if"]),u=[].slice,c=document.getElementsByTagName("html")[0],l=function(){try{return u.call(document.body.childNodes),u}catch(t){return function(t){t=t||0;for(var e=[],n=this.length;t<n;t++)e.push(this[t]);return e}}}();c&&(c=c.getAttribute("alpaca")),t.exports={slice:l,noop:o,addClass:function(t,e){if(t.classList)t.classList.add(e);else{var n=" "+(t.className||"")+" ";n.indexOf(" "+e+" ")<0&&(t.className=(n+e).trim())}},removeClass:function(t,e){if(t.classList)t.classList.remove(e);else{for(var n=" "+(t.className||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");t.className=n.trim()}},noexist:function(t,e){throw this.warn(t),new Error("Filter "+e+" hasn't implemented.")},warn:function(){return window.console&&console.error?function(){console.error.apply(console,arguments)}:o}(),isObject:function(t){return"object"===("undefined"==typeof t?"undefined":(0,f.default)(t))},nextTick:function(t,e){return e?s(function(){t.call(e)},0):s(t,0)},get:function(t,e){var n=[];return t&&n.push(t),e&&n.push(e),n.join(".").replace(/^(.+\.)?\$top\./,"")},walk:i,alpaca:!!c}},function(t,e){function n(t){this.size=0,this.limit=t,this.head=this.tail=void 0,this._keymap={}}var r=n.prototype;r.put=function(t,e){var n={key:t,value:e};return this._keymap[t]=n,this.tail?(this.tail.newer=n,n.older=this.tail):this.head=n,this.tail=n,this.size===this.limit?this.shift():void this.size++},r.shift=function(){var t=this.head;return t&&(this.head=this.head.newer,this.head.older=void 0,t.newer=t.older=void 0,this._keymap[t.key]=void 0),t},r.get=function(t,e){var n=this._keymap[t];if(void 0!==n)return n===this.tail?e?n:n.value:(n.newer&&(n===this.head&&(this.head=n.newer),n.newer.older=n.older),n.older&&(n.older.newer=n.newer),n.newer=void 0,n.older=this.tail,this.tail&&(this.tail.newer=n),this.tail=n,e?n:n.value)},t.exports=n},function(t,e){function n(t,e){return t!==e&&t.contains(e)}function r(t,e,n){var r=t[u]=t[u]||++c,i=f[r]=f[r]||{};return void 0===n?i[e]:i[e]=n}function i(t,e,n){e.split(" ").forEach(function(e){t.addEventListener(e,n,!1)})}var o="__cbs__",s={mouseover:!0,change:!0,input:!0,porpertychange:!0},a=function(t,e){e=[].splice.call(arguments,1);for(var n,r,i=0,o=e.length;i<o;i++){n=e[i];for(r in n)t[r]=n[r]}return t},u="QDataUid",c=0,f={};t.exports={find:function(t){return this.slice.call(document.querySelectorAll(t),0)},contains:n,data:r,cleanData:function(t){t.forEach(function(t){var e=t[u];e&&e in f&&delete f[e]})},add:function(t,e,a,u){if(!u||s[e])i(t,e,a);else{var c=u.$el,f=r(c,o);f||(f=[],r(c,o,f),i(c,e,function(t){var e=t.target;f.forEach(function(r){var i=r.fn,o=r.el;n(o,e)&&i.call(o,t)})})),f.push({el:t,fn:a})}},remove:function(t,e,n){t.removeEventListener(e,n,!1)},clone:function(t){return t.cloneNode(!0)},extend:function(t){return 1===arguments.length?a(this,t):a.apply(this,arguments)}}},function(t,e,n){t.exports=function(t){function e(e){return t.contains(u.documentElement,e)}function r(t){this._init(t)}var i=n(5),o=n(6),s=n(7).mergeOptions,a=n(8),u=document;return r._=t,r.options={directives:n(9),filters:{}},r.get=function(e){var n=t.find(e)[0];return n?t.data(n,"QI"):new this({el:e})},r.all=function(e){var n=this;return t.find(e.el).map(function(r){return new n(t.extend(e,{el:r}))})},t.extend(r,a),t.extend(r.prototype,{_init:function(e){e=e||{},this.$el=e.el&&"string"==typeof e.el?t.find(e.el)[0]:e.el,this.$$={},this.$parent=e._parent,e=this.$options=s(this.constructor.options,e,this),this._isCompiled=!1,this._isAttached=!1,this._isReady=!1,this._events={},this._watchers={},this._children=[],this.$={},i.call(this,e),this._initScope(),this._callHook("created"),this.$el&&(t.data(this.$el,"QI",this),this.$mount(this.$el))},$on:function(t,e){return(this._events[t]||(this._events[t]=[])).push(e),this},$once:function(t,e){function n(){r.$off(t,n),e.apply(this,arguments)}var r=this;return n.fn=e,this.$on(t,n),this},$off:function(t,e){var n,r,i;if(!arguments.length)return this._events={},this;if(n=this._events[t],!n)return this;if(1===arguments.length)return this._events[t]=null,this;for(i=n.length;i--;)if(r=n[i],r===e||r.fn===e){n.splice(i,1);break}return this},$watch:function(t,e,n,r){var i=n?t+"**deep**":t;return(this._watchers[i]||(this._watchers[i]=[])).push(e),r&&e(this.data(t)),this},$emit:function(e){var n=t.slice.call(arguments,1);return o.emit.call(this,e,t.slice.call(n,0)),e.indexOf("data:")||(e=e.substring(5),o.callChange.call(this,e,t.slice.call(n,0))),e.indexOf("deep:")||(e=e.substring(5),o.callDeep.call(this,e,t.slice.call(n,0)),n.unshift(e),o.emit.call(this,"datachange",n)),this},_initScope:function(){this._initMethods()},_initMethods:function(){var t,e=this.$options.methods;if(e)for(t in e)this[t]=e[t].bind(this)},$mount:function(n){return this._isCompiled?t.warn("$mount() should be called only once"):(this._compile(n),this._isCompiled=!0,this._callHook("compiled"),void(e(this.$el)?(this._callHook("attached"),this._ready()):this.$once("hook:attached",this._ready)))},_ready:function(){this._isAttached=!0,this._isReady=!0,this._callHook("ready")},_compile:function(t){this.transclue(t,this.$options)},transclue:function(t,e){this._templateBind(t,e)},_templateBind:n(11),_callHook:function(t){var e=this.$options[t];if(e)for(var n=0,r=e.length;n<r;n++)e[n].call(this);this.$emit("hook:"+t)},_makeReadFilters:function(e,n){if(!e.length)return[];var r=this.$options.filters,i=this;return e.map(function(e){e=t.slice.call(e,0);var o=e.shift(),s=r[o]?r[o].read||r[o]:t.noexist(i,o);return function(t,r){var o=[t].concat(e||[]),a=o.indexOf("$this");return o.push(r),~a&&(o[a]=n),e?s.apply(i,o):s.call(i,t,r)}})},applyFilters:function(t,e,n){if(!e||!e.length)return t;for(var r=0,i=e.length;r<i;r++)t=e[r].call(this,t,n);return t}}),t.extend(r.prototype,i.prototype),r}},function(t,e,n){function r(t,e,n,r){var o=t._top,u=i(n),c={data:n,up:t,top:o,namespace:e+"",trigger:!u&&r},l=o.data?o.data(t.$namespace(e)):void 0;"object"===("undefined"==typeof n?"undefined":(0,f.default)(n))&&null!==n?(t[e]=u?new a(c):new s(c),r&&t.$change(t.$namespace(e),t[e],l)):l!==n&&(t[e]=n,r&&t.$change(t.$namespace(e),n,l)),~t._keys.indexOf(e)||t._keys.push(e)}function i(t){return Array.isArray(t)||t instanceof a}function o(t){return t.filter(function(t){return"number"==typeof t}).length}function s(t){var e=t.data,n=(0,u.default)(t.data||{}).filter(function(t){return 0!==t.indexOf("_")}).map(function(t){return+t+""===t?+t:t}),s=this;l.extend(this,e),this._keys=n,this._up=t.up,this._top=t.top||this,this._namespace=t.namespace||"",n.forEach(function(n){r(s,n,e[n],t.trigger)}),i(e)&&(this.length=o(n))}function a(t){s.call(this,t)}function c(t){s.call(this,t)}var l=n(1);l.extend(s.prototype,{$namespace:function(t){for(var e=[],n=this;void 0!=n;n=n._up)n._namespace&&e.unshift(n._namespace);return t&&e.push(t),e.join(".")},$key:function(){var t=this._namespace;return+t+""===t?+t:t},$up:function(t){t=t||1;for(var e=this;t--;)e=e._up;return e},$set:function(t,e){if("object"===("undefined"==typeof t?"undefined":(0,f.default)(t))){var n=this;(0,u.default)(t).filter(function(t){return 0!==t.indexOf("_")}).forEach(function(e){r(n,e,t[e],!0)}),this.$change(this.$namespace(t),this,void 0,1)}else{var i=this[t];r(this,t,e,!0),this.$change(this.$namespace(t),this[t],i,void 0,-1)}return this},$get:function(){var t,e=this._keys,n=this;return t=this instanceof s?{}:[],e.forEach(function(e){t[e]=null==n[e]?n[e]:n[e].$get?n[e].$get():n[e]}),t},$change:function(t,e,n,r,i){i=i||0;var o=this._top;o.$emit&&(~i&&this._top.$emit("data:"+t,e,n,r),i&&this._top.$emit("deep:"+t,e,n,r))}}),l.extend(a.prototype,s.prototype,{push:function(t){t=l.slice.call(arguments,0);for(var e=[],n=0,i=t.length;n<i;n++)r(this,this.length,t[n]),this._keys.push(this.length),e.push(this[this.length]),this.length++;return this.$change(this.$namespace(),this,null,{method:"push",res:e,args:t},1),this},pop:function(){var t=this[--this.length];return delete this[this.length],this._keys.pop(),this.$change(this.$namespace(),this,null,void 0,1),t},unshift:function(t){this._keys.push(this.length),this.length++;for(var e=this.length;e--;)this[e]=this[e-1],"object"===(0,f.default)(this[e])&&(this[e]._namespace=e+"");return r(this,0,t),this.$change(this.$namespace(),this,null,void 0,1),this},shift:function(){this.length--;for(var t=this[0],e=0,n=this.length;e<n;e++)this[e]=this[e+1],"object"===(0,f.default)(this[e])&&(this[e]._namespace=e+"");return this._keys.pop(),delete this[this.length],this.$change(this.$namespace(),this,null,void 0,1),t},touch:function(t){this.$change(this.$namespace(t),this,null,void 0,1)},indexOf:function(t){if(t._up===this){var e=+t._namespace;if(this[e]===t)return e}else if("object"!==("undefined"==typeof t?"undefined":(0,f.default)(t)))for(var e=0,n=this.length;e<n;e++)if(this[e]===t)return e;return-1},splice:function(t,e){for(var n={method:"splice",args:[t,e]},r=0,i=e+t,o=this.length-e;t<o;t++,r++)this[t]=this[i+r],"object"===(0,f.default)(this[t])&&(this[t]._namespace=t+"");for(;t<this.length;t++)this[t]=null,delete this[t];this.length-=e,this._keys.splice(this.length,e),this.$change(this.$namespace(),this,null,n,1)},forEach:function(t){for(var e=0,n=this.length;e<n;e++)t(this[e],e)},filter:function(t){var e=[];return this.forEach(function(n,r){t(n)&&e.push(n)}),e}}),l.extend(c,{Data:s,DataArray:a}),l.extend(c.prototype,s.prototype,{data:function t(e,n){if(void 0===e)return this;var i,o,s=0,t=this;if(~e.indexOf(".")){var a=e.split(".");for(i=a.length;s<i-1;s++)if(e=a[s],+e+""===e&&(e=+e),e in t&&null!=t[e])t=t[e];else{if(void 0===n)return;o=a[s+1],+o+""==o?r(t,e,[],!0):r(t,e,{},!0)}}return i&&(e=a[s]),void 0===n?t&&e?t[e]:t:(t.$set(e,n),t[e])}}),t.exports=c},function(t,e,n){function r(t,e,n){n=n||this;var i=this._events[t];if(i){var o=0;i=i.length>1?s.slice.call(i,0):i;for(var a=i.length;o<a;o++)i[o].apply(n,e)}t.indexOf("data:")&&t.indexOf("hook:")&&t.indexOf("deep:")&&this.$parent&&r.call(this.$parent,t,e,n)}function i(t,e){var n={_events:this._watchers};r.call(n,t,e),r.call(n,t+"**deep**",e)}function o(t,e){var n,i=t.split("."),o={_events:this._watchers};for(i.pop();i.length>0;i.pop())t=i.join("."),n=t+"**deep**",r.call(o,n,[this.data(t)]);r.call(o,"**deep**",[this])}var s=(n(5),n(1));t.exports={emit:r,callChange:i,callDeep:o}},function(t,e,n){function r(t,e,n){function r(r){var i=o[r]||s;a[r]=i(t[r],e[r],n,r)}var i,a={};for(i in t)r(i);for(i in e)t.hasOwnProperty(i)||r(i);return a}var i=n(1),o={};o.created=o.ready=o.attached=o.detached=o.compiled=o.beforeDestroy=o.destroyed=o.paramAttributes=function(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t},o.data=o.filters=o.methods=o.directives=function(t,e){return e?t?i.extend({},t,e):e:t};var s=function(t,e){return void 0===e?t:e};t.exports={strats:o,mergeOptions:r}},function(t,e,n){function r(t,e){if(u[t])return!1;var n=u[t]=this.extend(e||{});return n}function i(t,e){return u[t]||this}function o(t){function e(){}return e.prototype=t,new e}function s(t){t=t||{};var e=this,n=a(t.name||"QComponent");return n.prototype=o(e.prototype),n.prototype.constructor=n,n.options=c(e.options,t),n.super=e,["extend","get","all","require","define"].forEach(function(t){n[t]=e[t]}),n}function a(t){return new Function("return function "+t+" (options) { this._init(options) }")()}var u={},c=n(7).mergeOptions;t.exports={define:r,require:i,extend:s}},function(t,e,n){var r=n(1);n(7);t.exports={cloak:{bind:function(){var t=this.vm,e=this.el;t.$once("hook:ready",function(){t.$once("datachange",function(){e.removeAttribute("q-cloak")})})}},show:function(t){var e=this.el;if(t){e.style.display="";var n=e.currentStyle?e.currentStyle.display:getComputedStyle(e,null).display;"none"===n&&(e.style.display="block")}else e.style.display="none"},class:function(t){var e=this.el,n=this.arg;n?t?r.addClass(e,n):r.removeClass(e,n):(this.lastVal&&r.removeClass(e,this.lastVal),t&&(r.addClass(e,t),this.lastVal=t))},value:function(t){var e=this.el;"checkbox"===e.type?e.checked=t:e.value=t},attr:function(t){if(void 0!==t){var e=this.arg,n=this.el;if("style"===e)if("object"===("undefined"==typeof t?"undefined":(0,f.default)(t)))for(var r in t)t.hasOwnProperty(r)&&(n.style[r]=t[r]);else n.setAttribute(e,t);else e in n?n[e]=t:n.setAttribute(e,t)}},text:function t(e){var t;void 0!==e&&(t="string"==typeof this.el.textContent?"textContent":"innerText")&&(this.el[t]=null==e?"":e.toString())},html:function(t){this.el.innerHTML=t&&t.toString()||""},on:{bind:function(){var t=this,e=this.target,n=this.param,i=this.filters,o=this.vm,s=o.applyFilters(this.vm[e],i),a=n&&~n.indexOf("this")&&t.data();r.add(this.el,this.arg,function(i){if(!s||"function"!=typeof s)return r.warn("You need implement the "+e+" method.");var u=[];n?n.forEach(function(e){"e"===e?u.push(i):"this"===e?u.push(a):"true"===e?u.push(!0):"false"===e?u.push(!1):+e+""===e?u.push(+e):e.match(/^(['"]).*\1$/)?u.push(e.slice(1,-1)):u.push(t.data(e))}):u.push(i),s.apply(o,u)})}},model:{bind:function(){var t=((this.namespace?this.namespace+".":"")+this.target).split("."),e=t.pop(),n=t.join("."),i=this.el,o=this.vm,s=o.data(n),a=!1;r.add(i,"input propertychange change keypress keyup",function(t){a||s.$set(e,i.value)}),r.add(i,"compositionstart",function(t){a=!0}),r.add(i,"compositionend",function(t){a=!1})},update:function(t){this.el.value!==t&&(this.el.value=t)}},vm:{bind:function(){this.setting.stop=!0;var t,e,n=this.target,r=this.vm,i=this.el,o=i.getAttribute("q-ref")||!1,s=r.constructor.require(n),a=s.options.data;t={el:i,data:a,_parent:r},e=new s(t),r._children.push(e),o&&!function(){var t=r.$[o];t?t.length?t.push(e):r.$[o]=[t,e]:r.$[o]=e}()}},if:{bind:function(){function t(t){!o&&s&&t&&(o=!0,p._templateBind(e,{data:h,namespace:u,immediate:!0}))}if(this.el.parentNode){var e=this.el,n=e.parentNode,i=document.createComment("q-if"),o=!1,s=!0,a=this.target,u=this.namespace,c=r.get(u,a),l=this.filters,h=this.data(),p=this.vm;this.setting.stop=!0,p.$watch(c,function(r,o){r=p.applyFilters(r,l,o),t(r),r!==s&&(r===!0?(n.replaceChild(e,i),s=r):r===!1&&(n.replaceChild(i,e),s=r),t(r))},"object"===(0,f.default)(this.data(a)),!0)}}},el:{bind:function(){this.vm.$$[this.target]=this.el}},repeat:n(10)}},function(t,e,n){function r(t,e,n,r){var i,o,s,a,c=e.length;(0,u.default)(t).forEach(function(u){~u.indexOf(e)&&(i=u.substring(c+1),o=i.split("."),o.length&&(s=+o.shift(),(s-=r)>=n&&(o.unshift(s),o.unshift(e),a=o.join("."),t[a]=t[u],delete t[u])))})}var i=n(1),o={default:{clean:function(t,e){e.length&&(e.forEach(function(e){e.parentNode===t&&t.removeChild(e)}),i.cleanData(e),e.length=0)},insert:function(t,e,n){t.insertBefore(e,n)}},push:{insert:function(t,e,n){t.insertBefore(e,n)},dp:function(t,e){return e.res}},splice:{clean:function(t,e,n,i){var o=n[0],s=n[1],a=n[2].$namespace(),u=e.splice(o,s);return u.forEach(function(e){t.removeChild(e)}),n.done||(r(i,a,o,s),n.done=!0),!0},dp:function(t,e){return e.args.push(t),e.args}}};e.bind=function(){var t,e,n,r,s,a,u,c=this.el,f=this.setting,l=c.parentNode;l&&!f.stop&&(f.stop=!0,t=this.target,e=this.namespace,n=i.get(e,t),r=this.filters,s=[],a=document.createComment("q-repeat"),u=this.vm,l.replaceChild(a,c),u.$watch(n,function(t,e,f){if(t=u.applyFilters(t,r),null!=t){var h=!r.length&&f?f.method:"default",p=(o[h]||{}).dp,d=(o[h]||{}).clean,v=(o[h]||{}).insert;if(p&&(t=p(t,f)),!d||d(l,s,t,u._watchers,n)!==!0){var y,m=document.createDocumentFragment();t.forEach(function(t,e){y=i.clone(c),u._templateBind(y,{data:t,namespace:t.$namespace(),immediate:!0}),s.push(y),m.appendChild(y)}),v&&v(l,m,a),u.$emit("repeat-render")}}},!1,!0))}},function(t,e,n){var r=n(12),i=n(1);t.exports=function(t,e){e=e||{};var n=this,o=n.$options.directives,s=(e.index,e.data||n,e.namespace);i.walk([t],function(t,a,u){a.forEach(function(a){var c=a.name.substring(2),l=o[c],h=r(a.value);l&&h.forEach(function(r){var o=n._makeReadFilters(r.filters,n.data(s)),a=r.target,c=i.get(s,a),h=i.isObject(l)?l.update:l,p=i.extend({el:t,vm:n,data:function(t){return n.data(i.get(s,t))},namespace:s,setting:u},r,{filters:o}),d=p.data(a);h&&n.$watch(c,function(t,e){t=n.applyFilters(t,o,e),h.call(p,t,e)},"object"===("undefined"==typeof d?"undefined":(0,f.default)(d)),!i.alpaca&&("boolean"==typeof e.immediate?e.immediate:void 0!==d)),i.isObject(l)&&l.bind&&l.bind.call(p)})})})}},function(t,e,n){function r(t){var e=t,n=o.get(e);if(n)return n;for(var r,u,c,f=[],l=s.length,h=!1,p={filter:!1,token:{filters:[]}};t.length;){for(u=0;u<l;u++)if(r=s[u][0].exec(t)){var h=!0,c=s[u][1];c&&c(r,p,f),t=t.replace(s[u][0],""),p.filter&&(r=a.exec(t),i(r[0].trim(),p.token),t=t.replace(a,""),p.filter=!1);break}if(!h)throw new Error("Syntax error at: "+t);h=!1}return f.push(p.token),o.put(e,f),f}function i(t,e){for(var n,r=u.length,i=!1;t.length;){for(n=0;n<r;n++){var o=u[n][0].exec(t);if(o){var i=!0,s=u[n][1];s&&s(o,e.filters),t=t.replace(u[n][0],"");break}}if(!i)throw new Error("Syntax error at: "+t);i=!1}}var o=new(n(2))(1e3),s=[[/^ +/],[/^([\w\-]+):/,function(t,e){e.token.arg=t[1]}],[/^([\w]+)\((.+?)\)/,function(t,e){e.token.target=t[1],e.token.param=t[2].split(/ *, */)}],[/^([\w\-\.\$]+)/,function(t,e){e.token.target=t[1]}],[/^(?=\|)/,function(t,e){e.filter=!0}],[/^,/,function(t,e,n){n.push(e.token),e.token={filters:[]}}]],a=/^(.+?)(?=,|$)/,u=[[/^ +/],[/^\| *([\w\-\!]+)/,function(t,e){e.push([t[1]])}],[/^(['"])(((\\['"])?([^\1])*)+)\1/,function(t,e){e[e.length-1].push(t[3])}],[/^([\w\-\$]+)/,function(t,e){e[e.length-1].push(t[1])}]];t.exports=r}])})}).call(e,n(94)(t))},function(t,e){"use strict";function n(){function t(){s=window.innerWidth,a=window.innerHeight,h={x:0,y:a},u=document.getElementById("container"),u.style.height=a+"px",c=document.getElementById("anm-canvas"),c.width=s,c.height=a,f=c.getContext("2d"),l=[];for(var t=0;t<.5*s;t++){var e=new o;l.push(e)}i()}function e(){window.addEventListener("scroll",n),window.addEventListener("resize",r)}function n(){p=!(document.body.scrollTop>a)}function r(){s=window.innerWidth,a=window.innerHeight,u.style.height=a+"px",c.width=s,c.height=a}function i(){if(p){f.clearRect(0,0,s,a);for(var t in l)l[t].draw()}requestAnimationFrame(i)}function o(){function t(){e.pos.x=Math.random()*s,e.pos.y=a+100*Math.random(),e.alpha=.1+.3*Math.random(),e.scale=.1+.3*Math.random(),e.velocity=Math.random()}var e=this;!function(){e.pos={},t()}(),this.draw=function(){e.alpha<=0&&t(),e.pos.y-=e.velocity,e.alpha-=5e-4,f.beginPath(),f.arc(e.pos.x,e.pos.y,10*e.scale,0,2*Math.PI,!1),f.fillStyle="rgba(255,255,255,"+e.alpha+")",f.fill()}}var s,a,u,c,f,l,h,p=!0;t(),e()}t.exports={init:n}},,,,,function(t,e,n){t.exports={default:n(81),__esModule:!0}},,function(t,e,n){n(83),t.exports=n(14).Object.keys},function(t,e,n){var r=n(27),i=n(14),o=n(8);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],s={};s[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",s)}},function(t,e,n){var r=n(37),i=n(9);n(82)("keys",function(){return function(t){return i(r(t))}})},,function(t,e,n){(function(e,r){/*!
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
* @version 4.0.5
*/
!function(e,n){t.exports=n()}(this,function(){"use strict";function t(t){return"function"==typeof t||"object"==typeof t&&null!==t}function i(t){return"function"==typeof t}function o(t){J=t}function s(t){Q=t}function a(){return function(){return e.nextTick(h)}}function u(){return"undefined"!=typeof Y?function(){Y(h)}:l()}function c(){var t=0,e=new Z(h),n=document.createTextNode("");return e.observe(n,{characterData:!0}),function(){n.data=t=++t%2}}function f(){var t=new MessageChannel;return t.port1.onmessage=h,function(){return t.port2.postMessage(0)}}function l(){var t=setTimeout;return function(){return t(h,1)}}function h(){for(var t=0;t<K;t+=2){var e=nt[t],n=nt[t+1];e(n),nt[t]=void 0,nt[t+1]=void 0}K=0}function p(){try{var t=n(95);return Y=t.runOnLoop||t.runOnContext,u()}catch(t){return l()}}function d(t,e){var n=arguments,r=this,i=new this.constructor(y);void 0===i[it]&&N(i);var o=r._state;return o?!function(){var t=n[o-1];Q(function(){return C(o,i,t,r._result)})}():k(r,i,t,e),i}function v(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var n=new e(y);return S(n,t),n}function y(){}function m(){return new TypeError("You cannot resolve a promise with itself")}function g(){return new TypeError("A promises callback cannot return that same promise.")}function w(t){try{return t.then}catch(t){return ut.error=t,ut}}function b(t,e,n,r){try{t.call(e,n,r)}catch(t){return t}}function _(t,e,n){Q(function(t){var r=!1,i=b(n,e,function(n){r||(r=!0,e!==n?S(t,n):E(t,n))},function(e){r||(r=!0,T(t,e))},"Settle: "+(t._label||" unknown promise"));!r&&i&&(r=!0,T(t,i))},t)}function x(t,e){e._state===st?E(t,e._result):e._state===at?T(t,e._result):k(e,void 0,function(e){return S(t,e)},function(e){return T(t,e)})}function O(t,e,n){e.constructor===t.constructor&&n===d&&e.constructor.resolve===v?x(t,e):n===ut?T(t,ut.error):void 0===n?E(t,e):i(n)?_(t,e,n):E(t,e)}function S(e,n){e===n?T(e,m()):t(n)?O(e,n,w(n)):E(e,n)}function $(t){t._onerror&&t._onerror(t._result),j(t)}function E(t,e){t._state===ot&&(t._result=e,t._state=st,0!==t._subscribers.length&&Q(j,t))}function T(t,e){t._state===ot&&(t._state=at,t._result=e,Q($,t))}function k(t,e,n,r){var i=t._subscribers,o=i.length;t._onerror=null,i[o]=e,i[o+st]=n,i[o+at]=r,0===o&&t._state&&Q(j,t)}function j(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r=void 0,i=void 0,o=t._result,s=0;s<e.length;s+=3)r=e[s],i=e[s+n],r?C(n,r,i,o):i(o);t._subscribers.length=0}}function A(){this.error=null}function P(t,e){try{return t(e)}catch(t){return ct.error=t,ct}}function C(t,e,n,r){var o=i(n),s=void 0,a=void 0,u=void 0,c=void 0;if(o){if(s=P(n,r),s===ct?(c=!0,a=s.error,s=null):u=!0,e===s)return void T(e,g())}else s=r,u=!0;e._state!==ot||(o&&u?S(e,s):c?T(e,a):t===st?E(e,s):t===at&&T(e,s))}function M(t,e){try{e(function(e){S(t,e)},function(e){T(t,e)})}catch(e){T(t,e)}}function F(){return ft++}function N(t){t[it]=ft++,t._state=void 0,t._result=void 0,t._subscribers=[]}function D(t,e){this._instanceConstructor=t,this.promise=new t(y),this.promise[it]||N(this.promise),G(e)?(this._input=e,this.length=e.length,this._remaining=e.length,this._result=new Array(this.length),0===this.length?E(this.promise,this._result):(this.length=this.length||0,this._enumerate(),0===this._remaining&&E(this.promise,this._result))):T(this.promise,I())}function I(){return new Error("Array Methods must be provided an Array")}function L(t){return new D(this,t).promise}function B(t){var e=this;return new e(G(t)?function(n,r){for(var i=t.length,o=0;o<i;o++)e.resolve(t[o]).then(n,r)}:function(t,e){return e(new TypeError("You must pass an array to race."))})}function R(t){var e=this,n=new e(y);return T(n,t),n}function q(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function H(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}function U(t){this[it]=F(),this._result=this._state=void 0,this._subscribers=[],y!==t&&("function"!=typeof t&&q(),this instanceof U?M(this,t):H())}function W(){var t=void 0;if("undefined"!=typeof r)t=r;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var n=null;try{n=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===n&&!e.cast)return}t.Promise=U}var z=void 0;z=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)};var G=z,K=0,Y=void 0,J=void 0,Q=function(t,e){nt[K]=t,nt[K+1]=e,K+=2,2===K&&(J?J(h):rt())},X="undefined"!=typeof window?window:void 0,V=X||{},Z=V.MutationObserver||V.WebKitMutationObserver,tt="undefined"==typeof self&&"undefined"!=typeof e&&"[object process]"==={}.toString.call(e),et="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel,nt=new Array(1e3),rt=void 0;rt=tt?a():Z?c():et?f():void 0===X?p():l();var it=Math.random().toString(36).substring(16),ot=void 0,st=1,at=2,ut=new A,ct=new A,ft=0;return D.prototype._enumerate=function(){for(var t=this.length,e=this._input,n=0;this._state===ot&&n<t;n++)this._eachEntry(e[n],n)},D.prototype._eachEntry=function(t,e){var n=this._instanceConstructor,r=n.resolve;if(r===v){var i=w(t);if(i===d&&t._state!==ot)this._settledAt(t._state,e,t._result);else if("function"!=typeof i)this._remaining--,this._result[e]=t;else if(n===U){var o=new n(y);O(o,t,i),this._willSettleAt(o,e)}else this._willSettleAt(new n(function(e){return e(t)}),e)}else this._willSettleAt(r(t),e)},D.prototype._settledAt=function(t,e,n){var r=this.promise;r._state===ot&&(this._remaining--,t===at?T(r,n):this._result[e]=n),0===this._remaining&&E(r,this._result)},D.prototype._willSettleAt=function(t,e){var n=this;k(t,void 0,function(t){return n._settledAt(st,e,t)},function(t){return n._settledAt(at,e,t)})},U.all=L,U.race=B,U.resolve=v,U.reject=R,U._setScheduler=o,U._setAsap=s,U._asap=Q,U.prototype={constructor:U,then:d,catch:function(t){return this.then(null,t)}},U.polyfill=W,U.Promise=U,U})}).call(e,n(93),function(){return this}())},,,,function(t,e){!function(){"use strict";function e(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function n(t){return"string"!=typeof t&&(t=String(t)),t}function r(t){this.map={},t instanceof r?t.forEach(function(t,e){this.append(e,t)},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function i(t){return t.bodyUsed?Promise.reject(new TypeError("Already read")):void(t.bodyUsed=!0)}function o(t){return new Promise(function(e,n){t.onload=function(){e(t.result)},t.onerror=function(){n(t.error)}})}function s(t){var e=new FileReader;return e.readAsArrayBuffer(t),o(e)}function a(t,e){var n=new FileReader,r=e.headers.map["content-type"]?e.headers.map["content-type"].toString():"",i=/charset\=[0-9a-zA-Z\-\_]*;?/,s=t.type.match(i)||r.match(i),a=[t];return s&&a.push(s[0].replace(/^charset\=/,"").replace(/;$/,"")),n.readAsText.apply(n,a),o(n)}function u(){return this.bodyUsed=!1,this._initBody=function(t,e){if(this._bodyInit=t,"string"==typeof t)this._bodyText=t;else if(d.blob&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t,this._options=e;else if(d.formData&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else if(t){if(!d.arrayBuffer||!ArrayBuffer.prototype.isPrototypeOf(t))throw new Error("unsupported BodyInit type")}else this._bodyText=""},d.blob?(this.blob=function(){var t=i(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this.blob().then(s)},this.text=function(){var t=i(this);if(t)return t;if(this._bodyBlob)return a(this._bodyBlob,this._options);if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)}):this.text=function(){var t=i(this);return t?t:Promise.resolve(this._bodyText)},d.formData&&(this.formData=function(){return this.text().then(l)}),this.json=function(){return this.text().then(JSON.parse)},this}function c(t){var e=t.toUpperCase();return v.indexOf(e)>-1?e:t}function f(t,e){e=e||{};var n=e.body;if(f.prototype.isPrototypeOf(t)){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new r(t.headers)),this.method=t.method,this.mode=t.mode,n||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=t;if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new r(e.headers)),this.method=c(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n,e)}function l(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var n=t.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(i))}}),e}function h(t){var e=new r,n=t.getAllResponseHeaders().trim().split("\n");return n.forEach(function(t){var n=t.trim().split(":"),r=n.shift().trim(),i=n.join(":").trim();e.append(r,i)}),e}function p(t,e){e||(e={}),this._initBody(t,e),this.type="default",this.status=e.status,this.ok=this.status>=200&&this.status<300,this.statusText=e.statusText,this.headers=e.headers instanceof r?e.headers:new r(e.headers),this.url=e.url||""}if(self.__disableNativeFetch||!self.fetch){r.prototype.append=function(t,r){t=e(t),r=n(r);var i=this.map[t];i||(i=[],this.map[t]=i),i.push(r)},r.prototype.delete=function(t){delete this.map[e(t)]},r.prototype.get=function(t){var n=this.map[e(t)];return n?n[0]:null},r.prototype.getAll=function(t){return this.map[e(t)]||[]},r.prototype.has=function(t){return this.map.hasOwnProperty(e(t))},r.prototype.set=function(t,r){this.map[e(t)]=[n(r)]},r.prototype.forEach=function(t,e){Object.getOwnPropertyNames(this.map).forEach(function(n){this.map[n].forEach(function(r){t.call(e,r,n,this)},this)},this)};var d={blob:"FileReader"in self&&"Blob"in self&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in self,arrayBuffer:"ArrayBuffer"in self},v=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];f.prototype.clone=function(){return new f(this)},u.call(f.prototype),u.call(p.prototype),p.prototype.clone=function(){return new p(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new r(this.headers),url:this.url})},p.error=function(){var t=new p(null,{status:0,statusText:""});return t.type="error",t};var y=[301,302,303,307,308];p.redirect=function(t,e){if(y.indexOf(e)===-1)throw new RangeError("Invalid status code");return new p(null,{status:e,headers:{location:t}})},self.Headers=r,self.Request=f,self.Response=p,self.fetch=function(t,e){return new Promise(function(n,r){function i(){return"responseURL"in a?a.responseURL:/^X-Request-URL:/m.test(a.getAllResponseHeaders())?a.getResponseHeader("X-Request-URL"):void 0}function o(){if(4===a.readyState){var t=1223===a.status?204:a.status;if(t<100||t>599){if(u)return;return u=!0,void r(new TypeError("Network request failed"))}var e={status:t,statusText:a.statusText,headers:h(a),url:i()},o="response"in a?a.response:a.responseText;u||(u=!0,n(new p(o,e)))}}var s;s=f.prototype.isPrototypeOf(t)&&!e?t:new f(t,e);var a=new XMLHttpRequest,u=!1;a.onreadystatechange=o,a.onload=o,a.onerror=function(){u||(u=!0,r(new TypeError("Network request failed")))},a.open(s.method,s.url,!0);try{"include"===s.credentials&&("withCredentials"in a?a.withCredentials=!0:console&&console.warn&&console.warn("withCredentials is not supported, you can ignore this warning"))}catch(t){console&&console.warn&&console.warn("set withCredentials error:"+t)}"responseType"in a&&d.blob&&(a.responseType="blob"),s.headers.forEach(function(t,e){a.setRequestHeader(e,t)}),a.send("undefined"==typeof s._bodyInit?null:s._bodyInit)})},self.fetch.polyfill=!0,"undefined"!=typeof t&&t.exports&&(t.exports=self.fetch)}}()},,,,function(t,e){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(t){if(f===setTimeout)return setTimeout(t,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(t,0);try{return f(t,0)}catch(e){try{return f.call(null,t,0)}catch(e){return f.call(this,t,0)}}}function o(t){if(l===clearTimeout)return clearTimeout(t);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(t);try{return l(t)}catch(e){try{return l.call(null,t)}catch(e){return l.call(this,t)}}}function s(){v&&p&&(v=!1,p.length?d=p.concat(d):y=-1,d.length&&a())}function a(){if(!v){var t=i(s);v=!0;for(var e=d.length;e;){for(p=d,d=[];++y<e;)p&&p[y].run();y=-1,e=d.length}p=null,v=!1,o(t)}}function u(t,e){this.fun=t,this.array=e}function c(){}var f,l,h=t.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:n}catch(t){f=n}try{l="function"==typeof clearTimeout?clearTimeout:r}catch(t){l=r}}();var p,d=[],v=!1,y=-1;h.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];d.push(new u(t,e)),1!==d.length||v||i(a)},u.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=c,h.addListener=c,h.once=c,h.off=c,h.removeListener=c,h.removeAllListeners=c,h.emit=c,h.binding=function(t){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(t){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children=[],t.webpackPolyfill=1),t}},function(t,e){}]);