diff --git a/.gitignore b/.gitignore index e94362c6a14..d725d5d307e 100644 --- a/.gitignore +++ b/.gitignore @@ -45,4 +45,4 @@ vendor/bundle *.gem _zip -/assets/js/hydejack-* +# diff --git a/_includes/body/footer.html b/_includes/body/footer.html index c5c3921e527..b29b0a73c12 100644 --- a/_includes/body/footer.html +++ b/_includes/body/footer.html @@ -12,7 +12,7 @@ {% endfor %} {% endif %} -

Powered by Hydejack v8.1.0

+

Powered by Hydejack v8.1.1


{% endif %} diff --git a/_includes/head/links.html b/_includes/head/links.html index e5720cd6543..481f4d03312 100644 --- a/_includes/head/links.html +++ b/_includes/head/links.html @@ -20,7 +20,7 @@ This is to avoid hard-coding URLs in JS (where they can't be discovered by automated tools). -->{% endcomment %} - + diff --git a/_includes/head/meta.html b/_includes/head/meta.html index a3554793666..6f98fd6dffc 100644 --- a/_includes/head/meta.html +++ b/_includes/head/meta.html @@ -27,4 +27,4 @@ {% endunless %} - + diff --git a/_includes/head/styles.html b/_includes/head/styles.html index 496be24cc56..fa7f6c4bc73 100644 --- a/_includes/head/styles.html +++ b/_includes/head/styles.html @@ -1,5 +1,5 @@ -{% capture style_url %}{% link assets/css/hydejack-8.1.0.css %}{% endcapture %} +{% capture style_url %}{% link assets/css/hydejack-8.1.1.css %}{% endcapture %} {% capture icons_url %}{% link assets/icomoon/style.css %}{% endcapture %} {% capture fonts_url %}https://fonts.googleapis.com/css?family={{ google_fonts }}{% endcapture %} diff --git a/_includes/header.txt b/_includes/header.txt index 664c1403766..cbb1150054b 100644 --- a/_includes/header.txt +++ b/_includes/header.txt @@ -9,5 +9,5 @@ * /\___/ \ \____/ * \/__/ \/___/ * - * Powered by Hydejack v8.1.0 + * Powered by Hydejack v8.1.1 */ diff --git a/_js/lib/version.js b/_js/lib/version.js index 85be9f5df18..896fcf52b08 100644 --- a/_js/lib/version.js +++ b/_js/lib/version.js @@ -1,2 +1,2 @@ console.log(' __ __ __ __ \r\n\/\\ \\\/\\ \\ \/\\ \\ __ \/\\ \\ \r\n\\ \\ \\_\\ \\ __ __ \\_\\ \\ __ \/\\_\\ __ ___ \\ \\ \\\/\'\\ \r\n \\ \\ _ \\ \/\\ \\\/\\ \\ \/\'_` \\ \/\'__`\\ \\\/\\ \\ \/\'__`\\ \/\'___\\\\ \\ , < \r\n \\ \\ \\ \\ \\\\ \\ \\_\\ \\ \/\\ \\L\\ \\ \/\\ __\/ \\ \\ \\ \/\\ \\L\\.\\_ \/\\ \\__\/ \\ \\ \\\\`\\ \r\n \\ \\_\\ \\_\\\\\/`____ \\\\ \\___,_\\\\ \\____\\ _\\ \\ \\\\ \\__\/.\\_\\\\ \\____\\ \\ \\_\\ \\_\\\r\n \\\/_\/\\\/_\/ `\/___\/> \\\\\/__,_ \/ \\\/____\/\/\\ \\_\\ \\\\\/__\/\\\/_\/ \\\/____\/ \\\/_\/\\\/_\/\r\n \/\\___\/ \\ \\____\/ \r\n \\\/__\/ \\\/___\/ \n\n'); -console.log('Powered by Hydejack v8.1.0 '); +console.log('Powered by Hydejack v8.1.1 '); diff --git a/_layouts/compress.html b/_layouts/compress.html index 7f62c49e12a..5d17e676e93 100644 --- a/_layouts/compress.html +++ b/_layouts/compress.html @@ -10,6 +10,6 @@ /\___/ \ \____/ \/__/ \/___/ -Powered by Hydejack v8.1.0 +Powered by Hydejack v8.1.1 -->{% capture _LINE_FEED %} {% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "" %}{% endif %}{% unless _pre_before contains "" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " ;; ;" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %}
Step Bytes
raw {{ content | size }}{% if _profile_endings %}
endings {{ _profile_endings }}{% endif %}{% if _profile_startings %}
startings {{ _profile_startings }}{% endif %}{% if _profile_comments %}
comments {{ _profile_comments }}{% endif %}{% if _profile_collapse %}
collapse {{ _profile_collapse }}{% endif %}{% if _profile_clippings %}
clippings {{ _profile_clippings }}{% endif %}
{% endif %}{% endif %} diff --git a/assets/css/hydejack-8.1.0.css b/assets/css/hydejack-8.1.1.css similarity index 100% rename from assets/css/hydejack-8.1.0.css rename to assets/css/hydejack-8.1.1.css diff --git a/assets/js/hydejack-8.1.1.js b/assets/js/hydejack-8.1.1.js new file mode 100644 index 00000000000..3bb2366dd01 --- /dev/null +++ b/assets/js/hydejack-8.1.1.js @@ -0,0 +1,47 @@ +/*! + * __ __ __ __ + * /\ \/\ \ /\ \ __ /\ \ + * \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\ + * \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , < + * \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\ + * \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\ + * \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/ + * /\___/ \ \____/ + * \/__/ \/___/ + * + * Powered by Hydejack v8.1.1 + */!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=76)}([,function(t,e,n){"use strict";(function(t){n.d(e,"a",function(){return i});var r="undefined"!=typeof window&&window,o="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,i=r||void 0!==t&&t||o}).call(this,n(6))},,function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}t.exports=function(t){return"object"===n(t)?null!==t:"function"==typeof t}},function(t,e,n){n(56),t.exports=n(3).Function.bind},function(t,e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(t){"object"===("undefined"==typeof window?"undefined":n(window))&&(r=window)}t.exports=r},function(t,e,n){var r=n(8),o=n(3),i=n(12),s=n(47),a=n(20),u=function t(e,n,u){var c,l,f,h,p=e&t.F,d=e&t.G,y=e&t.P,m=e&t.B,v=d?r:e&t.S?r[n]||(r[n]={}):(r[n]||{}).prototype,b=d?o:o[n]||(o[n]={}),g=b.prototype||(b.prototype={});for(c in d&&(u=n),u)f=((l=!p&&v&&void 0!==v[c])?v:u)[c],h=m&&l?a(f,r):y&&"function"==typeof f?a(Function.call,f):f,v&&s(v,c,f,e&t.U),b[c]!=f&&i(b,c,h),y&&g[c]!=f&&(g[c]=f)};r.core=o,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=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,n){var r=n(53)("wks"),o=n(19),i=n(8).Symbol,s="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=s&&i[t]||(s?i:o)("Symbol."+t))}).store=r},function(t,e,n){"use strict";(function(t){var n=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some(function(t,r){return t[0]===e&&(n=r,!0)}),n}return function(){function e(){this.__entries__=[]}var n={size:{configurable:!0}};return n.size.get=function(){return this.__entries__.length},e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n0},c.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},c.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},c.prototype.onTransitionEnd_=function(t){var e=t.propertyName;void 0===e&&(e=""),a.some(function(t){return!!~e.indexOf(t)})&&this.refresh()},c.getInstance=function(){return this.instance_||(this.instance_=new c),this.instance_},c.instance_=null;var l=function(t,e){for(var n=0,r=Object.keys(e);n0;)e[n]=arguments[n+1];return e.reduce(function(e,n){return e+p(t["border-"+n+"-width"])},0)}function y(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return h;var r=f(t).getComputedStyle(t),o=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n0};var E="undefined"!=typeof WeakMap?new WeakMap:new n,S=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new _(e,n,this);E.set(this,r)};["observe","unobserve","disconnect"].forEach(function(t){S.prototype[t]=function(){return(e=E.get(this))[t].apply(e,arguments);var e}});var x=void 0!==o.ResizeObserver?o.ResizeObserver:S;e.a=x}).call(this,n(6))},function(t,e,n){n(40),t.exports=n(3).Array.forEach},function(t,e,n){var r=n(41),o=n(46);t.exports=n(13)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){t.exports=!n(14)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){"use strict";t.exports=function(){var t=document.createElement("div");return t.setAttribute("data-a-b","c"),Boolean(t.dataset&&"c"===t.dataset.aB)}()?function(t){return t.dataset}:function(t){var e={},n=t.attributes;function r(){return this.value}function o(t,e){void 0===e?this.removeAttribute(t):this.setAttribute(t,e)}for(var i=0,s=n.length;i_;_++)if((h||_ in b)&&(m=g(y=b[_],_,v),t))if(n)E[_]=m;else if(m)switch(t){case 3:return!0;case 5:return y;case 6:return _;case 2:E.push(y)}else if(l)return!1;return f?-1:c||l?l:E}}},function(t,e,n){var r=n(15);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(25),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},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(9)("unscopables"),o=Array.prototype;void 0==o[r]&&n(12)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e,n){"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(t,e,n){var r=n(27),o={};for(var i in r)r.hasOwnProperty(i)&&(o[r[i]]=i);var s=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var a in s)if(s.hasOwnProperty(a)){if(!("channels"in s[a]))throw new Error("missing channels property: "+a);if(!("labels"in s[a]))throw new Error("missing channel labels property: "+a);if(s[a].labels.length!==s[a].channels)throw new Error("channel and label counts mismatch: "+a);var u=s[a].channels,c=s[a].labels;delete s[a].channels,delete s[a].labels,Object.defineProperty(s[a],"channels",{value:u}),Object.defineProperty(s[a],"labels",{value:c})}function l(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)+Math.pow(t[2]-e[2],2)}s.rgb.hsl=function(t){var e,n,r=t[0]/255,o=t[1]/255,i=t[2]/255,s=Math.min(r,o,i),a=Math.max(r,o,i),u=a-s;return a===s?e=0:r===a?e=(o-i)/u:o===a?e=2+(i-r)/u:i===a&&(e=4+(r-o)/u),(e=Math.min(60*e,360))<0&&(e+=360),n=(s+a)/2,[e,100*(a===s?0:n<=.5?u/(a+s):u/(2-a-s)),100*n]},s.rgb.hsv=function(t){var e,n,r=t[0],o=t[1],i=t[2],s=Math.min(r,o,i),a=Math.max(r,o,i),u=a-s;return n=0===a?0:u/a*1e3/10,a===s?e=0:r===a?e=(o-i)/u:o===a?e=2+(i-r)/u:i===a&&(e=4+(r-o)/u),(e=Math.min(60*e,360))<0&&(e+=360),[e,n,a/255*1e3/10]},s.rgb.hwb=function(t){var e=t[0],n=t[1],r=t[2];return[s.rgb.hsl(t)[0],100*(1/255*Math.min(e,Math.min(n,r))),100*(r=1-1/255*Math.max(e,Math.max(n,r)))]},s.rgb.cmyk=function(t){var e,n=t[0]/255,r=t[1]/255,o=t[2]/255;return[100*((1-n-(e=Math.min(1-n,1-r,1-o)))/(1-e)||0),100*((1-r-e)/(1-e)||0),100*((1-o-e)/(1-e)||0),100*e]},s.rgb.keyword=function(t){var e=o[t];if(e)return e;var n,i=1/0;for(var s in r)if(r.hasOwnProperty(s)){var a=l(t,r[s]);a.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*e+.7152*n+.0722*r),100*(.0193*e+.1192*n+.9505*r)]},s.rgb.lab=function(t){var e=s.rgb.xyz(t),n=e[0],r=e[1],o=e[2];return r/=100,o/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(o=o>.008856?Math.pow(o,1/3):7.787*o+16/116))]},s.hsl.rgb=function(t){var e,n,r,o,i,s=t[0]/360,a=t[1]/100,u=t[2]/100;if(0===a)return[i=255*u,i,i];e=2*u-(n=u<.5?u*(1+a):u+a-u*a),o=[0,0,0];for(var c=0;c<3;c++)(r=s+1/3*-(c-1))<0&&r++,r>1&&r--,i=6*r<1?e+6*(n-e)*r:2*r<1?n:3*r<2?e+(n-e)*(2/3-r)*6:e,o[c]=255*i;return o},s.hsl.hsv=function(t){var e=t[0],n=t[1]/100,r=t[2]/100,o=n,i=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,o*=i<=1?i:2-i,[e,100*(0===r?2*o/(i+o):2*n/(r+n)),100*((r+n)/2)]},s.hsv.rgb=function(t){var e=t[0]/60,n=t[1]/100,r=t[2]/100,o=Math.floor(e)%6,i=e-Math.floor(e),s=255*r*(1-n),a=255*r*(1-n*i),u=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,u,s];case 1:return[a,r,s];case 2:return[s,r,u];case 3:return[s,a,r];case 4:return[u,s,r];case 5:return[r,s,a]}},s.hsv.hsl=function(t){var e,n,r,o=t[0],i=t[1]/100,s=t[2]/100,a=Math.max(s,.01);return r=(2-i)*s,n=i*a,[o,100*(n=(n/=(e=(2-i)*a)<=1?e:2-e)||0),100*(r/=2)]},s.hwb.rgb=function(t){var e,n,r,o,i,s,a,u=t[0]/360,c=t[1]/100,l=t[2]/100,f=c+l;switch(f>1&&(c/=f,l/=f),n=1-l,r=6*u-(e=Math.floor(6*u)),0!=(1&e)&&(r=1-r),o=c+r*(n-c),e){default:case 6:case 0:i=n,s=o,a=c;break;case 1:i=o,s=n,a=c;break;case 2:i=c,s=n,a=o;break;case 3:i=c,s=o,a=n;break;case 4:i=o,s=c,a=n;break;case 5:i=n,s=c,a=o}return[255*i,255*s,255*a]},s.cmyk.rgb=function(t){var e=t[0]/100,n=t[1]/100,r=t[2]/100,o=t[3]/100;return[255*(1-Math.min(1,e*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},s.xyz.rgb=function(t){var e,n,r,o=t[0]/100,i=t[1]/100,s=t[2]/100;return n=-.9689*o+1.8758*i+.0415*s,r=.0557*o+-.204*i+1.057*s,e=(e=3.2406*o+-1.5372*i+-.4986*s)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(e=Math.min(Math.max(0,e),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},s.xyz.lab=function(t){var e=t[0],n=t[1],r=t[2];return n/=100,r/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},s.lab.xyz=function(t){var e,n,r,o=t[0],i=t[1],s=t[2];e=i/500+(n=(o+16)/116),r=n-s/200;var a=Math.pow(n,3),u=Math.pow(e,3),c=Math.pow(r,3);return n=a>.008856?a:(n-16/116)/7.787,e=u>.008856?u:(e-16/116)/7.787,r=c>.008856?c:(r-16/116)/7.787,[e*=95.047,n*=100,r*=108.883]},s.lab.lch=function(t){var e,n=t[0],r=t[1],o=t[2];return(e=360*Math.atan2(o,r)/2/Math.PI)<0&&(e+=360),[n,Math.sqrt(r*r+o*o),e]},s.lch.lab=function(t){var e,n=t[0],r=t[1];return e=t[2]/360*2*Math.PI,[n,r*Math.cos(e),r*Math.sin(e)]},s.rgb.ansi16=function(t){var e=t[0],n=t[1],r=t[2],o=1 in arguments?arguments[1]:s.rgb.hsv(t)[2];if(0===(o=Math.round(o/50)))return 30;var i=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(e/255));return 2===o&&(i+=60),i},s.hsv.ansi16=function(t){return s.rgb.ansi16(s.hsv.rgb(t),t[2])},s.rgb.ansi256=function(t){var e=t[0],n=t[1],r=t[2];return e===n&&n===r?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},s.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),[e=e/10.5*255,e,e];var n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},s.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}var n;return t-=16,[Math.floor(t/36)/5*255,Math.floor((n=t%36)/6)/5*255,n%6/5*255]},s.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},s.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var n=e[0];3===e[0].length&&(n=n.split("").map(function(t){return t+t}).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},s.rgb.hcg=function(t){var e,n,r=t[0]/255,o=t[1]/255,i=t[2]/255,s=Math.max(Math.max(r,o),i),a=Math.min(Math.min(r,o),i),u=s-a;return e=u<1?a/(1-u):0,n=u<=0?0:s===r?(o-i)/u%6:s===o?2+(i-r)/u:4+(r-o)/u+4,n/=6,[360*(n%=1),100*u,100*e]},s.hsl.hcg=function(t){var e=t[1]/100,n=t[2]/100,r=1,o=0;return(r=n<.5?2*e*n:2*e*(1-n))<1&&(o=(n-.5*r)/(1-r)),[t[0],100*r,100*o]},s.hsv.hcg=function(t){var e=t[1]/100,n=t[2]/100,r=e*n,o=0;return r<1&&(o=(n-r)/(1-r)),[t[0],100*r,100*o]},s.hcg.rgb=function(t){var e=t[0]/360,n=t[1]/100,r=t[2]/100;if(0===n)return[255*r,255*r,255*r];var o,i=[0,0,0],s=e%1*6,a=s%1,u=1-a;switch(Math.floor(s)){case 0:i[0]=1,i[1]=a,i[2]=0;break;case 1:i[0]=u,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=a;break;case 3:i[0]=0,i[1]=u,i[2]=1;break;case 4:i[0]=a,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=u}return o=(1-n)*r,[255*(n*i[0]+o),255*(n*i[1]+o),255*(n*i[2]+o)]},s.hcg.hsv=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e),r=0;return n>0&&(r=e/n),[t[0],100*r,100*n]},s.hcg.hsl=function(t){var e=t[1]/100,n=t[2]/100*(1-e)+.5*e,r=0;return n>0&&n<.5?r=e/(2*n):n>=.5&&n<1&&(r=e/(2*(1-n))),[t[0],100*r,100*n]},s.hcg.hwb=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e);return[t[0],100*(n-e),100*(1-n)]},s.hwb.hcg=function(t){var e=t[1]/100,n=1-t[2]/100,r=n-e,o=0;return r<1&&(o=(n-r)/(1-r)),[t[0],100*r,100*o]},s.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},s.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},s.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},s.gray.hsl=s.gray.hsv=function(t){return[0,0,t[0]]},s.gray.hwb=function(t){return[0,100,t[0]]},s.gray.cmyk=function(t){return[0,0,0,t[0]]},s.gray.lab=function(t){return[t[0],0,0]},s.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n},s.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}},function(t,e,n){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(){"use strict";function n(){var t=window,e=document;if(!("scrollBehavior"in e.documentElement.style&&!0!==t.__forceSmoothScrollPolyfill__)){var n=t.HTMLElement||t.Element,o=468,i={scroll:t.scroll||t.scrollTo,scrollBy:t.scrollBy,elementScroll:n.prototype.scroll||u,scrollIntoView:n.prototype.scrollIntoView},s=t.performance&&t.performance.now?t.performance.now.bind(t.performance):Date.now,a=function(t){return new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(t)}(t.navigator.userAgent)?1:0;t.scroll=t.scrollTo=function(){void 0!==arguments[0]&&(!0!==c(arguments[0])?d.call(t,e.body,void 0!==arguments[0].left?~~arguments[0].left:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:t.scrollY||t.pageYOffset):i.scroll.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!==r(arguments[0])?arguments[0]:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:t.scrollY||t.pageYOffset))},t.scrollBy=function(){void 0!==arguments[0]&&(c(arguments[0])?i.scrollBy.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!==r(arguments[0])?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):d.call(t,e.body,~~arguments[0].left+(t.scrollX||t.pageXOffset),~~arguments[0].top+(t.scrollY||t.pageYOffset)))},n.prototype.scroll=n.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==c(arguments[0])){var t=arguments[0].left,e=arguments[0].top;d.call(this,this,void 0===t?this.scrollLeft:~~t,void 0===e?this.scrollTop:~~e)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!==r(arguments[0])?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},n.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==c(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},n.prototype.scrollIntoView=function(){if(!0!==c(arguments[0])){var n=function(t){var n;do{n=(t=t.parentNode)===e.body}while(!1===n&&!1===h(t));return n=null,t}(this),r=n.getBoundingClientRect(),o=this.getBoundingClientRect();n!==e.body?(d.call(this,n,n.scrollLeft+o.left-r.left,n.scrollTop+o.top-r.top),"fixed"!==t.getComputedStyle(n).position&&t.scrollBy({left:r.left,top:r.top,behavior:"smooth"})):t.scrollBy({left:o.left,top:o.top,behavior:"smooth"})}else i.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function u(t,e){this.scrollLeft=t,this.scrollTop=e}function c(t){if(null===t||"object"!==r(t)||void 0===t.behavior||"auto"===t.behavior||"instant"===t.behavior)return!0;if("object"===r(t)&&"smooth"===t.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+t.behavior+" is not a valid value for enumeration ScrollBehavior.")}function l(t,e){return"Y"===e?t.clientHeight+a1?1:a),r=e.startX+(e.x-e.startX)*n,i=e.startY+(e.y-e.startY)*n,e.method.call(e.scrollable,r,i),r===e.x&&i===e.y||t.requestAnimationFrame(p.bind(t,e))}function d(n,r,o){var a,c,l,f,h=s();n===e.body?(a=t,c=t.scrollX||t.pageXOffset,l=t.scrollY||t.pageYOffset,f=i.scroll):(a=n,c=n.scrollLeft,l=n.scrollTop,f=u),p({scrollable:a,method:f,startTime:h,startX:c,startY:l,x:r,y:o})}}"object"===r(e)&&void 0!==t?t.exports={polyfill:n}:n()}()},function(t,e,n){"use strict";var r=n(66),o=n(69),i=[].slice,s=["keyword","gray","hex"],a={};Object.keys(o).forEach(function(t){a[i.call(o[t].labels).sort().join("")]=t});var u={};function c(t,e){if(!(this instanceof c))return new c(t,e);if(e&&e in s&&(e=null),e&&!(e in o))throw new Error("Unknown model: "+e);var n,l;if(t)if(t instanceof c)this.model=t.model,this.color=t.color.slice(),this.valpha=t.valpha;else if("string"==typeof t){var f=r.get(t);if(null===f)throw new Error("Unable to parse color from string: "+t);this.model=f.model,l=o[this.model].channels,this.color=f.value.slice(0,l),this.valpha="number"==typeof f.value[l]?f.value[l]:1}else if(t.length){this.model=e||"rgb",l=o[this.model].channels;var p=i.call(t,0,l);this.color=h(p,l),this.valpha="number"==typeof t[l]?t[l]:1}else if("number"==typeof t)t&=16777215,this.model="rgb",this.color=[t>>16&255,t>>8&255,255&t],this.valpha=1;else{this.valpha=1;var d=Object.keys(t);"alpha"in t&&(d.splice(d.indexOf("alpha"),1),this.valpha="number"==typeof t.alpha?t.alpha:0);var y=d.sort().join("");if(!(y in a))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=a[y];var m=o[this.model].labels,v=[];for(n=0;nn?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},isDark:function(){var t=this.rgb().color;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var t=this.rgb(),e=0;e<3;e++)t.color[e]=255-t.color[e];return t},lighten:function(t){var e=this.hsl();return e.color[2]+=e.color[2]*t,e},darken:function(t){var e=this.hsl();return e.color[2]-=e.color[2]*t,e},saturate:function(t){var e=this.hsl();return e.color[1]+=e.color[1]*t,e},desaturate:function(t){var e=this.hsl();return e.color[1]-=e.color[1]*t,e},whiten:function(t){var e=this.hwb();return e.color[1]+=e.color[1]*t,e},blacken:function(t){var e=this.hwb();return e.color[2]+=e.color[2]*t,e},grayscale:function(){var t=this.rgb().color,e=.3*t[0]+.59*t[1]+.11*t[2];return c.rgb(e,e,e)},fade:function(t){return this.alpha(this.valpha-this.valpha*t)},opaquer:function(t){return this.alpha(this.valpha+this.valpha*t)},rotate:function(t){var e=this.hsl(),n=e.color[0];return n=(n=(n+t)%360)<0?360+n:n,e.color[0]=n,e},mix:function(t,e){var n=t.rgb(),r=this.rgb(),o=void 0===e?.5:e,i=2*o-1,s=n.alpha()-r.alpha(),a=((i*s==-1?i:(i+s)/(1+i*s))+1)/2,u=1-a;return c.rgb(a*n.red()+u*r.red(),a*n.green()+u*r.green(),a*n.blue()+u*r.blue(),n.alpha()*o+r.alpha()*(1-o))}},Object.keys(o).forEach(function(t){if(-1===s.indexOf(t)){var e=o[t].channels;c.prototype[t]=function(){if(this.model===t)return new c(this);if(arguments.length)return new c(arguments,t);var n="number"==typeof arguments[e]?e:this.valpha;return new c(function(t){return Array.isArray(t)?t:[t]}(o[this.model][t].raw(this.color)).concat(n),t)},c[t]=function(n){return"number"==typeof n&&(n=h(i.call(arguments),e)),new c(n,t)}}}),t.exports=c},function(t,e,n){(function(t,e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)} +/** +@license @nocompile +Copyright (c) 2018 The Polymer Project Authors. All rights reserved. +This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt +The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt +The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt +Code distributed by Google as part of the polymer project is also +subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt +*/ +/** +@license @nocompile +Copyright (c) 2018 The Polymer Project Authors. All rights reserved. +This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt +The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt +The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt +Code distributed by Google as part of the polymer project is also +subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt +*/ +(function(){"use strict";var r,o="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,n){t!=Array.prototype&&t!=Object.prototype&&(t[e]=n.value)},i="undefined"!=typeof window&&window===this?this:void 0!==t&&null!=t?t:this;function s(){s=function(){},i.Symbol||(i.Symbol=u)}var a,u=function(){var t=0;return function(e){return"jscomp_symbol_"+(e||"")+t++}}();function c(){s();var t=i.Symbol.iterator;t||(t=i.Symbol.iterator=i.Symbol("iterator")),"function"!=typeof Array.prototype[t]&&o(Array.prototype,t,{configurable:!0,writable:!0,value:function(){return l(this)}}),c=function(){}}function l(t){var e=0;return function(t){return c(),(t={next:t})[i.Symbol.iterator]=function(){return this},t}(function(){return e\x20\t\r\n\f]+)/i.exec(e)||["",""])[1].toLowerCase()];if(n)for(var r=0;r"+e+"";for(b.body.innerHTML=e,t.a(b);this.content.firstChild;)u.call(this.content,this.content.firstChild);if(e=b.body,n)for(r=0;r"+this.innerHTML+""},set:function(t){if(!this.parentNode)throw Error("Failed to set the 'outerHTML' property on 'Element': This element has no parent node.");for(b.body.innerHTML=t,t=this.ownerDocument.createDocumentFragment();b.body.firstChild;)c.call(t,b.body.firstChild);l.call(this.parentNode,t,this)},configurable:!0})};x(t.prototype),O(t.prototype),t.a=function(n){for(var r,o=0,i=(n=e(n,"template")).length;o]/g,N=function(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}},k=(w=function(t){for(var e={},n=0;n";break t;case Node.TEXT_NODE:u=u.data,u=c&&j[c.localName]?u:u.replace(C,N);break t;case Node.COMMENT_NODE:u="\x3c!--"+u.data+"--\x3e";break t;default:throw window.console.error(u),Error("not implemented")}}o+=u}return o}}if(n||v){t.b=function(t,e){var n=i.call(t,!1);return this.R&&this.R(n),e&&(c.call(n.content,i.call(t.content,!0)),M(n.content,t.content)),n};var M=function(n,r){if(r.querySelectorAll&&0!==(r=e(r,"template")).length)for(var o,i,s=0,a=(n=e(n,"template")).length;s]/g;function Xt(t){switch(t){case"&":return"&";case"<":return"<";case">":return">";case'"':return""";case" ":return" "}}function Gt(t){for(var e={},n=0;n";break t;case Node.TEXT_NODE:a=a.data,a=u&&Kt[u.localName]?a:a.replace($t,Xt);break t;case Node.COMMENT_NODE:a="\x3c!--"+a.data+"--\x3e";break t;default:throw window.console.error(a),Error("not implemented")}}r+=a}return r}var Zt=document.createTreeWalker(document,NodeFilter.SHOW_ALL,null,!1),Qt=document.createTreeWalker(document,NodeFilter.SHOW_ELEMENT,null,!1);function te(t){var e=[];for(Zt.currentNode=t,t=Zt.firstChild();t;)e.push(t),t=Zt.nextSibling();return e}var ee={parentNode:function(t){return Zt.currentNode=t,Zt.parentNode()},firstChild:function(t){return Zt.currentNode=t,Zt.firstChild()},lastChild:function(t){return Zt.currentNode=t,Zt.lastChild()},previousSibling:function(t){return Zt.currentNode=t,Zt.previousSibling()},nextSibling:function(t){return Zt.currentNode=t,Zt.nextSibling()}};ee.childNodes=te,ee.parentElement=function(t){return Qt.currentNode=t,Qt.parentNode()},ee.firstElementChild=function(t){return Qt.currentNode=t,Qt.firstChild()},ee.lastElementChild=function(t){return Qt.currentNode=t,Qt.lastChild()},ee.previousElementSibling=function(t){return Qt.currentNode=t,Qt.previousSibling()},ee.nextElementSibling=function(t){return Qt.currentNode=t,Qt.nextSibling()},ee.children=function(t){var e=[];for(Qt.currentNode=t,t=Qt.firstChild();t;)e.push(t),t=Qt.nextSibling();return bt(e)},ee.innerHTML=function(t){return Jt(t,function(t){return te(t)})},ee.textContent=function(t){switch(t.nodeType){case Node.ELEMENT_NODE:case Node.DOCUMENT_FRAGMENT_NODE:t=document.createTreeWalker(t,NodeFilter.SHOW_TEXT,null,!1);for(var e,n="";e=t.nextNode();)n+=e.nodeValue;return n;default:return t.nodeValue}};var ne=et.K,re=[Node.prototype,Element.prototype,HTMLElement.prototype];function oe(t){var e;t:{for(e=0;eo.assignedNodes.length&&(o.da=!0)}o.da&&(o.da=!1,vn(this,e))}for(n=this.o,e=[],o=0;oe.indexOf(r))||e.push(r);for(n=0;n "+e}))}return{value:t=t.replace(Yo,function(t,e,n){return'[dir="'+n+'"] '+e+", "+e+'[dir="'+n+'"]'}),Qa:e,stop:i}}(i,o,e,n),r=r||t.stop,o=t.Qa,i=t.value),o+i}),i&&(t=function(t,e){var n=t.split("");return e.reduce(function(t,e,r){return t+e+n[r+1]},n[0])}(t,s)),o&&(t=Lo(t)),t},Co.prototype.c=function(t){return t.match(Bo)?"":t.match(Vo)?this.b(t,qo):Io(t.trim(),qo)},i.Object.defineProperties(Co.prototype,{a:{configurable:!0,enumerable:!0,get:function(){return"style-scope"}}});var Fo=/:(nth[-\w]+)\(([^)]+)\)/,qo=":not(.style-scope)",Ho=",",Uo=/(^|[\s>+~]+)((?:\[.+?\]|[^\s>+~=[])+)/g,zo=/[[.:#*]/,Bo=":host",Wo=":root",Vo="::slotted",$o=new RegExp("^("+Vo+")"),Xo=/(:host)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Go=/(?:::slotted)(?:\(((?:\([^)(]*\)|[^)(]*)+?)\))/,Yo=/(.*):dir\((?:(ltr|rtl))\)/,Ko=".",Jo=":",Zo="class",Qo="should_not_match",ti=/:(?:matches|any|-(?:webkit|moz)-any)/,ei=new Co;function ni(t,e,n,r){this.M=t||null,this.b=e||null,this.pa=n||[],this.T=null,this.X=r||"",this.a=this.I=this.O=null}function ri(t){return t?t.__styleInfo:null}function oi(t,e){return t.__styleInfo=e}function ii(t){var e=this.matches||this.matchesSelector||this.mozMatchesSelector||this.msMatchesSelector||this.oMatchesSelector||this.webkitMatchesSelector;return e&&e.call(this,t)}ni.prototype.c=function(){return this.M},ni.prototype._getStyleRules=ni.prototype.c;var si=navigator.userAgent.match("Trident");function ai(){}function ui(t){if(!t.B){var e={},n={};ci(t,n)&&(e.L=n,t.rules=null),e.cssText=t.parsedCssText.replace(ho,"").replace(ao,""),t.B=e}}function ci(t,e){var n=t.B;if(!n){n=t.parsedCssText;for(var r;t=ao.exec(n);)"inherit"===(r=(t[2]||t[3]).trim())&&"unset"===r||(e[t[1].trim()]=r),r=!0;return r}if(n.L)return Object.assign(e,n.L),!0}function li(t,e,n){return e&&(e=0<=e.indexOf(";")?fi(t,e,n):function t(e,n){var r=e.indexOf("var(");if(-1===r)return n(e,"","","");var o=So(e,r+3),i=e.substring(r+4,o);return r=e.substring(0,r),e=t(e.substring(o+1),n),-1===(o=i.indexOf(","))?n(r,i.trim(),"",e):n(r,i.substring(0,o).trim(),i.substring(o+1).trim(),e)}(e,function(e,r,o,i){return r?((r=li(t,n[r],n))&&"initial"!==r?"apply-shim-inherit"===r&&(r="inherit"):r=li(t,n[o]||o,n)||o,e+(r||"")+i):e+i})),e&&e.trim()||""}function fi(t,e,n){e=e.split(";");for(var r,o,i=0;i *"===i||"html"===i,a=0===i.indexOf(":host")&&!s;"shady"===n&&(a=!(s=i===o+" > *."+o||-1!==i.indexOf("html"))&&0===i.indexOf(o)),"shadow"===n&&(s=":host > *"===i||"html"===i,a=a&&!s),(s||a)&&(n=o,a&&(e.F||(e.F=Ro(ei,e,ei.b,t?Ko+t:"",o)),n=e.F||o),r({ra:n,Wa:a,xb:s}))}}(t,e,o,function(o){ii.call(t.lb||t,o.ra)&&(o.Wa?ci(e,n):ci(e,r))})},null,!0),{$a:r,Ua:n}}function pi(t,e,n,r){var o=Oo(e),i=Po(o.is,o.X),s=new RegExp("(?:^|[^.#[:])"+(e.extends?"\\"+i.slice(0,-1)+"\\]":i)+"($|[.:[\\s>+~])"),a=function(t,e){t=t.b;var n={};if(!oo&&t)for(var r=0,o=t[r];r=c._useCount&&c.parentNode&&c.parentNode.removeChild(c)),oo?i.a?(i.a.textContent=o,r=i.a):o&&(r=go(o,a,t.shadowRoot,i.b)):r?r.parentNode||(si&&-1e&&-1==[34,35,60,62,63,96].indexOf(e)?t:encodeURIComponent(t)}function r(t){var e=t.charCodeAt(0);return 32e&&-1==[34,35,60,62,96].indexOf(e)?t:encodeURIComponent(t)}function o(t,o,s){function a(t){v.push(t)}var u=o||"scheme start",p=0,d="",y=!1,m=!1,v=[];t:for(;(void 0!=t[p-1]||0==p)&&!this.i;){var b=t[p];switch(u){case"scheme start":if(!b||!f.test(b)){if(o){a("Invalid scheme.");break t}d="",u="no scheme";continue}d+=b.toLowerCase(),u="scheme";break;case"scheme":if(b&&h.test(b))d+=b.toLowerCase();else{if(":"!=b){if(o){void 0!=b&&a("Code point not allowed in scheme: "+b);break t}d="",p=0,u="no scheme";continue}if(this.h=d,d="",o)break t;void 0!==c[this.h]&&(this.D=!0),u="file"==this.h?"relative":this.D&&s&&s.h==this.h?"relative or authority":this.D?"authority first slash":"scheme data"}break;case"scheme data":"?"==b?(this.u="?",u="query"):"#"==b?(this.C="#",u="fragment"):void 0!=b&&"\t"!=b&&"\n"!=b&&"\r"!=b&&(this.na+=n(b));break;case"no scheme":if(s&&void 0!==c[s.h]){u="relative";continue}a("Missing scheme."),i.call(this),this.i=!0;break;case"relative or authority":if("/"!=b||"/"!=t[p+1]){a("Expected /, got: "+b),u="relative";continue}u="authority ignore slashes";break;case"relative":if(this.D=!0,"file"!=this.h&&(this.h=s.h),void 0==b){this.j=s.j,this.s=s.s,this.l=s.l.slice(),this.u=s.u,this.v=s.v,this.g=s.g;break t}if("/"==b||"\\"==b)"\\"==b&&a("\\ is an invalid code point."),u="relative slash";else if("?"==b)this.j=s.j,this.s=s.s,this.l=s.l.slice(),this.u="?",this.v=s.v,this.g=s.g,u="query";else{if("#"!=b){u=t[p+1];var g=t[p+2];("file"!=this.h||!f.test(b)||":"!=u&&"|"!=u||void 0!=g&&"/"!=g&&"\\"!=g&&"?"!=g&&"#"!=g)&&(this.j=s.j,this.s=s.s,this.v=s.v,this.g=s.g,this.l=s.l.slice(),this.l.pop()),u="relative path";continue}this.j=s.j,this.s=s.s,this.l=s.l.slice(),this.u=s.u,this.C="#",this.v=s.v,this.g=s.g,u="fragment"}break;case"relative slash":if("/"!=b&&"\\"!=b){"file"!=this.h&&(this.j=s.j,this.s=s.s,this.v=s.v,this.g=s.g),u="relative path";continue}"\\"==b&&a("\\ is an invalid code point."),u="file"==this.h?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=b){a("Expected '/', got: "+b),u="authority ignore slashes";continue}u="authority second slash";break;case"authority second slash":if(u="authority ignore slashes","/"!=b){a("Expected '/', got: "+b);continue}break;case"authority ignore slashes":if("/"!=b&&"\\"!=b){u="authority";continue}a("Expected authority, got: "+b);break;case"authority":if("@"==b){for(y&&(a("@ already seen."),d+="%40"),y=!0,b=0;b=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(33),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(6))},function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var r,o=1,i={},s=!1,a=t.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(t);u=u&&u.setTimeout?u:t,"[object process]"==={}.toString.call(t.process)?r=function(t){e.nextTick(function(){l(t)})}:function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?function(){var e="setImmediate$"+Math.random()+"$",n=function(n){n.source===t&&"string"==typeof n.data&&0===n.data.indexOf(e)&&l(+n.data.slice(e.length))};t.addEventListener?t.addEventListener("message",n,!1):t.attachEvent("onmessage",n),r=function(n){t.postMessage(e+n,"*")}}():t.MessageChannel?function(){var t=new MessageChannel;t.port1.onmessage=function(t){l(t.data)},r=function(e){t.port2.postMessage(e)}}():a&&"onreadystatechange"in a.createElement("script")?function(){var t=a.documentElement;r=function(e){var n=a.createElement("script");n.onreadystatechange=function(){l(e),n.onreadystatechange=null,t.removeChild(n),n=null},t.appendChild(n)}}():r=function(t){setTimeout(l,0,t)},u.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n1)for(var n=1;n0}});else{var n=[];o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o.prototype.observe=function(t){if(!this._observationTargets.some(function(e){return e.element==t})){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},o.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter(function(e){return e.element!=t}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},o.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter(function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]})},o.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map(function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}});return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},o.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(i(t,"resize",this._checkForIntersections,!0),i(e,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in t&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},o.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,s(t,"resize",this._checkForIntersections,!0),s(e,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},o.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),n=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach(function(o){var i=o.element,s=u(i),a=this._rootContainsTarget(i),c=o.entry,l=e&&a&&this._computeTargetAndRootIntersection(i,n),f=o.entry=new r({time:t.performance&&performance.now&&performance.now(),target:i,boundingClientRect:s,rootBounds:n,intersectionRect:l});c?e&&a?this._hasCrossedThreshold(c,f)&&this._queuedEntries.push(f):c&&c.isIntersecting&&this._queuedEntries.push(f):this._queuedEntries.push(f)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},o.prototype._computeTargetAndRootIntersection=function(n,r){if("none"!=t.getComputedStyle(n).display){for(var o=u(n),i=l(n),s=!1;!s;){var c=null,f=1==i.nodeType?t.getComputedStyle(i):{};if("none"==f.display)return;if(i==this.root||i==e?(s=!0,c=r):i!=e.body&&i!=e.documentElement&&"visible"!=f.overflow&&(c=u(i)),c&&!(o=a(c,o)))break;i=l(i)}return o}},o.prototype._getRootRect=function(){var t;if(this.root)t=u(this.root);else{var n=e.documentElement,r=e.body;t={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},o.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map(function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100}),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},o.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,r=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==r)for(var o=0;o=0&&a>=0&&{top:n,bottom:r,left:o,right:i,width:s,height:a}}function u(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function c(t,e){for(var n=e;n;){if(n==t)return!0;n=l(n)}return!1}function l(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e}}(window,document)},function(t,e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(t,e){var r={},o={};!function(t,e){function n(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=h}function r(){return t.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function o(e,r,o){var i=new n;return r&&(i.fill="both",i.duration="auto"),"number"!=typeof e||isNaN(e)?void 0!==e&&Object.getOwnPropertyNames(e).forEach(function(n){if("auto"!=e[n]){if(("number"==typeof i[n]||"duration"==n)&&("number"!=typeof e[n]||isNaN(e[n])))return;if("fill"==n&&-1==l.indexOf(e[n]))return;if("direction"==n&&-1==f.indexOf(e[n]))return;if("playbackRate"==n&&1!==e[n]&&t.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;i[n]=e[n]}}):i.duration=e,i}function i(t,e,n,r){return t<0||t>1||n<0||n>1?h:function(o){function i(t,e,n){return 3*t*(1-n)*(1-n)*n+3*e*(1-n)*n*n+n*n*n}if(o<=0){var s=0;return t>0?s=e/t:!e&&n>0&&(s=r/n),s*o}if(o>=1){var a=0;return n<1?a=(r-1)/(n-1):1==n&&t<1&&(a=(e-1)/(t-1)),1+a*(o-1)}for(var u=0,c=1;u=1)return 1;var r=1/t;return(n+=e*r)-n%r}}function a(t){v||(v=document.createElement("div").style),v.animationTimingFunction="",v.animationTimingFunction=t;var e=v.animationTimingFunction;if(""==e&&r())throw new TypeError(t+" is not a valid value for easing");return e}function u(t){if("linear"==t)return h;var e=g.exec(t);if(e)return i.apply(this,e.slice(1).map(Number));var n=w.exec(t);return n?s(Number(n[1]),{start:p,middle:d,end:y}[n[2]]):m[t]||h}function c(t,e,n){if(null==e)return _;var r=n.delay+t+n.endDelay;return e=Math.min(n.delay+t,r)?S:x}var l="backwards|forwards|both|none".split("|"),f="reverse|alternate|alternate-reverse".split("|"),h=function(t){return t};n.prototype={_setMember:function(e,n){this["_"+e]=n,this._effect&&(this._effect._timingInput[e]=n,this._effect._timing=t.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=t.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(t){this._setMember("delay",t)},get delay(){return this._delay},set endDelay(t){this._setMember("endDelay",t)},get endDelay(){return this._endDelay},set fill(t){this._setMember("fill",t)},get fill(){return this._fill},set iterationStart(t){if((isNaN(t)||t<0)&&r())throw new TypeError("iterationStart must be a non-negative number, received: "+timing.iterationStart);this._setMember("iterationStart",t)},get iterationStart(){return this._iterationStart},set duration(t){if("auto"!=t&&(isNaN(t)||t<0)&&r())throw new TypeError("duration must be non-negative or auto, received: "+t);this._setMember("duration",t)},get duration(){return this._duration},set direction(t){this._setMember("direction",t)},get direction(){return this._direction},set easing(t){this._easingFunction=u(a(t)),this._setMember("easing",t)},get easing(){return this._easing},set iterations(t){if((isNaN(t)||t<0)&&r())throw new TypeError("iterations must be non-negative, received: "+t);this._setMember("iterations",t)},get iterations(){return this._iterations}};var p=1,d=.5,y=0,m={ease:i(.25,.1,.25,1),"ease-in":i(.42,0,1,1),"ease-out":i(0,0,.58,1),"ease-in-out":i(.42,0,.58,1),"step-start":s(1,p),"step-middle":s(1,d),"step-end":s(1,y)},v=null,b="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",g=new RegExp("cubic-bezier\\("+b+","+b+","+b+","+b+"\\)"),w=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,_=0,E=1,S=2,x=3;t.cloneTimingInput=function(t){if("number"==typeof t)return t;var e={};for(var n in t)e[n]=t[n];return e},t.makeTiming=o,t.numericTimingToObject=function(t){return"number"==typeof t&&(t=isNaN(t)?{duration:0}:{duration:t}),t},t.normalizeTimingInput=function(e,n){return o(e=t.numericTimingToObject(e),n)},t.calculateActiveDuration=function(t){return Math.abs(function(t){return 0===t.duration||0===t.iterations?0:t.duration*t.iterations}(t)/t.playbackRate)},t.calculateIterationProgress=function(t,e,n){var r=c(t,e,n),o=function(t,e,n,r,o){switch(r){case E:return"backwards"==e||"both"==e?0:null;case x:return n-o;case S:return"forwards"==e||"both"==e?t:null;case _:return null}}(t,n.fill,e,r,n.delay);if(null===o)return null;var i=function(t,e,n,r,o){var i=o;return 0===t?e!==E&&(i+=n):i+=r/t,i}(n.duration,r,n.iterations,o,n.iterationStart),s=function(t,e,n,r,o,i){var s=t===1/0?e%1:t%1;return 0!==s||n!==S||0===r||0===o&&0!==i||(s=1),s}(i,n.iterationStart,r,n.iterations,o,n.duration),a=function(t,e,n,r){return t===S&&e===1/0?1/0:1===n?Math.floor(r)-1:Math.floor(r)}(r,n.iterations,s,i),u=function(t,e,n){var r=t;if("normal"!==t&&"reverse"!==t){var o=e;"alternate-reverse"===t&&(o+=1),r="normal",o!==1/0&&o%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,a,s);return n._easingFunction(u)},t.calculatePhase=c,t.normalizeEasing=a,t.parseEasingFunction=u}(r),function(t,e){function n(t,e){return t in u&&u[t][e]||e}function r(t,e,r){if(!function(t){return"display"===t||0===t.lastIndexOf("animation",0)||0===t.lastIndexOf("transition",0)}(t)){var o=i[t];if(o)for(var a in s.style[t]=e,o){var u=o[a],c=s.style[u];r[u]=n(u,c)}else r[t]=n(t,e)}}function o(t){var e=[];for(var n in t)if(!(n in["easing","offset","composite"])){var r=t[n];Array.isArray(r)||(r=[r]);for(var o,i=r.length,s=0;s1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==o){if("add"==i||"accumulate"==i)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=i)throw new TypeError("Invalid composite mode "+i+".")}else i="easing"==o?t.normalizeEasing(i):""+i;r(o,i,n)}return void 0==n.offset&&(n.offset=null),void 0==n.easing&&(n.easing="linear"),n}),i=!0,s=-1/0,a=0;a=0&&t.offset<=1}),i||function(){var t=n.length;null==n[t-1].offset&&(n[t-1].offset=1),t>1&&null==n[0].offset&&(n[0].offset=0);for(var e=0,r=n[0].offset,o=1;o=t.applyFrom&&nthis._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(e,n){this._style[e]=n,this._isAnimatedProperty[e]=!0,this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(null==this._savedTransformAttr&&(this._savedTransformAttr=this._element.getAttribute("transform")),this._element.setAttribute("transform",t.transformToSvgMatrix(n)))},_clear:function(e){this._style[e]=this._surrogateStyle[e],this._updateSvgTransformAttr&&"transform"==t.unprefixedPropertyName(e)&&(this._savedTransformAttr?this._element.setAttribute("transform",this._savedTransformAttr):this._element.removeAttribute("transform"),this._savedTransformAttr=null),delete this._isAnimatedProperty[e]}},a)r.prototype[c]=function(t,e){return function(){var n=this._surrogateStyle[t].apply(this._surrogateStyle,arguments);return e&&(this._isAnimatedProperty[arguments[0]]||this._style[t].apply(this._style,arguments),this._updateIndices()),n}}(c,c in u);for(var l in document.documentElement.style)l in s||l in a||function(t){n(r.prototype,t,{get:function(){return this._surrogateStyle[t]},set:function(e){this._surrogateStyle[t]=e,this._updateIndices(),this._isAnimatedProperty[t]||(this._style[t]=e)}})}(l);t.apply=function(e,n,r){o(e),e.style._set(t.propertyName(n),r)},t.clear=function(e,n){e._webAnimationsPatchedStyle&&e.style._clear(t.propertyName(n))}}(o),function(t){window.Element.prototype.animate=function(e,n){var r="";return n&&n.id&&(r=n.id),t.timeline._play(t.KeyframeEffect(this,e,n,r))}}(o),function(t,e){o.Interpolation=function(t,e,n){return function(r){return n(function t(e,n,r){if("number"==typeof e&&"number"==typeof n)return e*(1-r)+n*r;if("boolean"==typeof e&&"boolean"==typeof n)return r<.5?e:n;if(e.length==n.length){for(var o=[],i=0;i0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(t){t=+t,isNaN(t)||(e.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-t/this._playbackRate),this._currentTimePending=!1,this._currentTime!=t&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(t,!0),e.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(t){t=+t,isNaN(t)||this._paused||this._idle||(this._startTime=t,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),e.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(t){if(t!=this._playbackRate){var n=this.currentTime;this._playbackRate=t,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)),null!=n&&(this.currentTime=n)}},get _isFinished(){return!this._idle&&(this._playbackRate>0&&this._currentTime>=this._totalDuration||this._playbackRate<0&&this._currentTime<=0)},get _totalDuration(){return this._effect._totalDuration},get playState(){return this._idle?"idle":null==this._startTime&&!this._paused&&0!=this.playbackRate||this._currentTimePending?"pending":this._paused?"paused":this._isFinished?"finished":"running"},_rewind:function(){if(this._playbackRate>=0)this._currentTime=0;else{if(!(this._totalDuration<1/0))throw new DOMException("Unable to rewind negative playback rate animation with infinite duration","InvalidStateError");this._currentTime=this._totalDuration}},play:function(){this._paused=!1,(this._isFinished||this._idle)&&(this._rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),e.applyDirtiedAnimation(this)},pause:function(){this._isFinished||this._paused||this._idle?this._idle&&(this._rewind(),this._idle=!1):this._currentTimePending=!0,this._startTime=null,this._paused=!0},finish:function(){this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this._currentTimePending=!1,e.applyDirtiedAnimation(this))},cancel:function(){this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._isFinished=!0,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this._effect._update(null),e.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(t,e){"function"==typeof e&&"finish"==t&&this._finishHandlers.push(e)},removeEventListener:function(t,e){if("finish"==t){var n=this._finishHandlers.indexOf(e);n>=0&&this._finishHandlers.splice(n,1)}},_fireEvents:function(t){if(this._isFinished){if(!this._finishedFlag){var e=new function(t,e,n){this.target=t,this.currentTime=e,this.timelineTime=n,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()}(this,this._currentTime,t),n=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout(function(){n.forEach(function(t){t.call(e.target,e)})},0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(t,e){this._idle||this._paused||(null==this._startTime?e&&(this.startTime=t-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((t-this._startTime)*this.playbackRate)),e&&(this._currentTimePending=!1,this._fireEvents(t))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var t=this._effect._target;return t._activeAnimations||(t._activeAnimations=[]),t._activeAnimations},_markTarget:function(){var t=this._targetAnimations();-1===t.indexOf(this)&&t.push(this)},_unmarkTarget:function(){var t=this._targetAnimations(),e=t.indexOf(this);-1!==e&&t.splice(e,1)}}}(r,o),function(t,e,n){function r(t){var e=c;c=[],t1e-4?(m=.5/Math.sqrt(b),v=[(h[2][1]-h[1][2])*m,(h[0][2]-h[2][0])*m,(h[1][0]-h[0][1])*m,.25/m]):h[0][0]>h[1][1]&&h[0][0]>h[2][2]?v=[.25*(m=2*Math.sqrt(1+h[0][0]-h[1][1]-h[2][2])),(h[0][1]+h[1][0])/m,(h[0][2]+h[2][0])/m,(h[2][1]-h[1][2])/m]:h[1][1]>h[2][2]?(m=2*Math.sqrt(1+h[1][1]-h[0][0]-h[2][2]),v=[(h[0][1]+h[1][0])/m,.25*m,(h[1][2]+h[2][1])/m,(h[0][2]-h[2][0])/m]):(m=2*Math.sqrt(1+h[2][2]-h[0][0]-h[1][1]),v=[(h[0][2]+h[2][0])/m,(h[1][2]+h[2][1])/m,.25*m,(h[1][0]-h[0][1])/m]),[f,p,d,v,c]}}();t.dot=n,t.makeMatrixDecomposition=function(t){return[a(s(t))]},t.transformListToMatrix=s}(o),function(t){function e(t,e){var n=t.exec(e);if(n)return[n=t.ignoreCase?n[0].toLowerCase():n[0],e.substr(n.length)]}function n(t,e){var n=t(e=e.replace(/^\s*/,""));if(n)return[n[0],n[1].replace(/^\s*/,"")]}function r(t,e,n,r,o){for(var i=[],s=[],a=[],u=function(t,e){for(var n=t,r=e;n&&r;)n>r?n%=r:r%=n;return t*e/(n+r)}(r.length,o.length),c=0;c=1?e:"visible"}]},["visibility"])}(),function(t,e){function n(t){t=t.trim(),i.fillStyle="#000",i.fillStyle=t;var e=i.fillStyle;if(i.fillStyle="#fff",i.fillStyle=t,e==i.fillStyle){i.fillRect(0,0,1,1);var n=i.getImageData(0,0,1,1).data;i.clearRect(0,0,1,1);var r=n[3]/255;return[n[0]*r,n[1]*r,n[2]*r,r]}}function r(e,n){return[e,n,function(e){function n(t){return Math.max(0,Math.min(255,t))}if(e[3])for(var r=0;r<3;r++)e[r]=Math.round(n(e[r]/e[3]));return e[3]=t.numberToString(t.clamp(0,1,e[3])),"rgba("+e.join(",")+")"}]}var o=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");o.width=o.height=1;var i=o.getContext("2d");t.addPropertiesHandler(n,r,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),t.consumeColor=t.consumeParenthesised.bind(null,n),t.mergeColors=r}(o),function(t,e){function n(t){function e(){var e=s.exec(t);i=e?e[0]:void 0}function n(){if("("!==i)return function(){var t=Number(i);return e(),t}();e();var t=o();return")"!==i?NaN:(e(),t)}function r(){for(var t=n();"*"===i||"/"===i;){var r=i;e();var o=n();"*"===r?t*=o:t/=o}return t}function o(){for(var t=r();"+"===i||"-"===i;){var n=i;e();var o=r();"+"===n?t+=o:t-=o}return t}var i,s=/([\+\-\w\.]+|[\(\)\*\/])/g;return e(),o()}function r(t,e){if("0"==(e=e.trim().toLowerCase())&&"px".search(t)>=0)return{px:0};if(/^[^(]*$|^calc/.test(e)){var r={};e=(e=e.replace(/calc\(/g,"(")).replace(t,function(t){return r[t]=null,"U"+t});for(var o="U("+t.source+")",i=e.replace(/[-+]?(\d*\.)?\d+([Ee][-+]?\d+)?/g,"N").replace(new RegExp("N"+o,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),s=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],a=0;a1?"calc("+n+")":n}]}var s="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",a=r.bind(null,new RegExp(s,"g")),u=r.bind(null,new RegExp(s+"|%","g")),c=r.bind(null,/deg|rad|grad|turn/g);t.parseLength=a,t.parseLengthOrPercent=u,t.consumeLengthOrPercent=t.consumeParenthesised.bind(null,u),t.parseAngle=c,t.mergeDimensions=i;var l=t.consumeParenthesised.bind(null,a),f=t.consumeRepeated.bind(void 0,l,/^/),h=t.consumeRepeated.bind(void 0,f,/^,/);t.consumeSizePairList=h;var p=t.mergeNestedRepeated.bind(void 0,o," "),d=t.mergeNestedRepeated.bind(void 0,p,",");t.mergeNonNegativeSizePair=p,t.addPropertiesHandler(function(t){var e=h(t);if(e&&""==e[1])return e[0]},d,["background-size"]),t.addPropertiesHandler(u,o,["border-bottom-width","border-image-width","border-left-width","border-right-width","border-top-width","flex-basis","font-size","height","line-height","max-height","max-width","outline-width","width"]),t.addPropertiesHandler(u,i,["border-bottom-left-radius","border-bottom-right-radius","border-top-left-radius","border-top-right-radius","bottom","left","letter-spacing","margin-bottom","margin-left","margin-right","margin-top","min-height","min-width","outline-offset","padding-bottom","padding-left","padding-right","padding-top","perspective","right","shape-margin","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(o),function(t,e){function n(e){return t.consumeLengthOrPercent(e)||t.consumeToken(/^auto/,e)}function r(e){var r=t.consumeList([t.ignore(t.consumeToken.bind(null,/^rect/)),t.ignore(t.consumeToken.bind(null,/^\(/)),t.consumeRepeated.bind(null,n,/^,/),t.ignore(t.consumeToken.bind(null,/^\)/))],e);if(r&&4==r[0].length)return r[0]}var o=t.mergeWrappedNestedRepeated.bind(null,function(t){return"rect("+t+")"},function(e,n){return"auto"==e||"auto"==n?[!0,!1,function(r){var o=r?e:n;if("auto"==o)return"auto";var i=t.mergeDimensions(o,o);return i[2](i[0])}]:t.mergeDimensions(e,n)},", ");t.parseBox=r,t.mergeBoxes=o,t.addPropertiesHandler(r,o,["clip"])}(o),function(t,e){function n(t){return function(e){var n=0;return t.map(function(t){return t===c?e[n++]:t})}}function r(t){return t}function o(e){if("none"==(e=e.toLowerCase().trim()))return[];for(var n,r=/\s*(\w+)\(([^)]*)\)/g,o=[],i=0;n=r.exec(e);){if(n.index!=i)return;i=n.index+n[0].length;var s=n[1],a=h[s];if(!a)return;var u=n[2].split(","),c=a[0];if(c.length900||e%100!=0))return e},function(t,n){return[t,n,e]},["font-weight"])}(o),function(t){function e(t){var e={};for(var n in t)e[n]=-t[n];return e}function r(e){return t.consumeToken(/^(left|center|right|top|bottom)\b/i,e)||t.consumeLengthOrPercent(e)}function o(e,o){var i=t.consumeRepeated(r,/^/,o);if(i&&""==i[1]){var a=i[0];if(a[0]=a[0]||"center",a[1]=a[1]||"center",3==e&&(a[2]=a[2]||{px:0}),a.length==e){if(/top|bottom/.test(a[0])||/left|right/.test(a[1])){var u=a[0];a[0]=a[1],a[1]=u}if(/left|right|center|Object/.test(a[0])&&/top|bottom|center|Object/.test(a[1]))return a.map(function(t){return"object"==n(t)?t:s[t]})}}}function i(n){var o=t.consumeRepeated(r,/^/,n);if(o){for(var i=o[0],a=[{"%":50},{"%":50}],u=0,c=!1,l=0;l=0&&this._cancelHandlers.splice(n,1)}else a.call(this,t,e)},o}}}(),function(t){var e=document.documentElement,n=null,r=!1;try{var o="0"==getComputedStyle(e).getPropertyValue("opacity")?"1":"0";(n=e.animate({opacity:[o,o]},{duration:1})).currentTime=0,r=getComputedStyle(e).getPropertyValue("opacity")==o}catch(t){}finally{n&&n.cancel()}if(!r){var i=window.Element.prototype.animate;window.Element.prototype.animate=function(e,n){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||null===e||(e=t.convertToArrayForm(e)),i.call(this,e,n)}}}(r),e.true={}}(0,function(){return this}())},function(t,e){window.requestIdleCallback=window.requestIdleCallback||function(t){return window.setTimeout(t,0)},window.cancelIdleCallback=window.cancelIdleCallback||window.clearTimeout},function(t,e){function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(t,e,r){var o=[],i={_version:"3.6.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!1},_q:[],on:function(t,e){var n=this;setTimeout(function(){e(n[t])},0)},addTest:function(t,e,n){o.push({name:t,fn:e,options:n})},addAsyncTest:function(t){o.push({name:null,fn:t})}},s=function(){};s.prototype=i,(s=new s).addTest("customelements","customElements"in t),s.addTest("customevent","CustomEvent"in t&&"function"==typeof t.CustomEvent),s.addTest("eventlistener","addEventListener"in t),s.addTest("history",function(){var e=navigator.userAgent;return(-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone")||"file:"===location.protocol)&&(t.history&&"pushState"in t.history)}),s.addTest("queryselector","querySelector"in e&&"querySelectorAll"in e),s.addTest("promises",function(){return"Promise"in t&&"resolve"in t.Promise&&"reject"in t.Promise&&"all"in t.Promise&&"race"in t.Promise&&function(){var e;return new t.Promise(function(t){e=t}),"function"==typeof e}()});var a=[];function u(t,e){return n(t)===e}var c=i._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];i._prefixes=c;var l=e.documentElement;function f(t){return t.replace(/([a-z])-([a-z])/g,function(t,e,n){return e+n.toUpperCase()}).replace(/^-/,"")}s.addTest("classlist","classList"in l),s.addTest("documentfragment",function(){return"createDocumentFragment"in e&&"appendChild"in l});var h="svg"===l.nodeName.toLowerCase();function p(){return"function"!=typeof e.createElement?e.createElement(arguments[0]):h?e.createElementNS.call(e,"http://www.w3.org/2000/svg",arguments[0]):e.createElement.apply(e,arguments)}function d(t,n,r,o){var i,s,a,u,c="modernizr",f=p("div"),d=function(){var t=e.body;return t||((t=p(h?"svg":"body")).fake=!0),t}();if(parseInt(r,10))for(;r--;)(a=p("div")).id=o?o[r]:c+(r+1),f.appendChild(a);return(i=p("style")).type="text/css",i.id="s"+c,(d.fake?d:f).appendChild(i),d.appendChild(f),i.styleSheet?i.styleSheet.cssText=t:i.appendChild(e.createTextNode(t)),f.id=c,d.fake&&(d.style.background="",d.style.overflow="hidden",u=l.style.overflow,l.style.overflow="hidden",l.appendChild(d)),s=n(f,t),d.fake?(d.parentNode.removeChild(d),l.style.overflow=u,l.offsetHeight):f.parentNode.removeChild(f),!!s}s.addTest("opacity",function(){var t=p("a").style;return t.cssText=c.join("opacity:.55;"),/^0.55$/.test(t.opacity)}),s.addTest("csspointerevents",function(){var t=p("a").style;return t.cssText="pointer-events:auto","auto"===t.pointerEvents}),s.addTest("cssremunit",function(){var t=p("a").style;try{t.fontSize="3rem"}catch(t){}return/rem/.test(t.fontSize)});var y=i.testStyles=d;s.addTest("touchevents",function(){var n;if("ontouchstart"in t||t.DocumentTouch&&e instanceof DocumentTouch)n=!0;else{var r=["@media (",c.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");y(r,function(t){n=9===t.offsetTop})}return n});var m=i._config.usePrefixes?"Moz O ms Webkit".split(" "):[];i._cssomPrefixes=m;var v=function(e){var n,o=c.length,i=t.CSSRule;if(void 0===i)return r;if(!e)return!1;if((n=(e=e.replace(/^@/,"")).replace(/-/g,"_").toUpperCase()+"_RULE")in i)return"@"+e;for(var s=0;s \\\\/__,_ / \\/____//\\ \\_\\ \\\\/__/\\/_/ \\/____/ \\/_/\\/_/\r\n /\\___/ \\ \\____/ \r\n \\/__/ \\/___/ \n\n"),console.log("Powered by Hydejack v8.1.1 ")},function(t,e,n){"use strict";var r=n(7),o=n(22)(0),i=n(55)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(t){return o(this,t,arguments[1])}})},function(t,e,n){var r=n(42),o=n(43),i=n(45),s=Object.defineProperty;e.f=n(13)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)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(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){t.exports=!n(13)&&!n(14)(function(){return 7!=Object.defineProperty(n(44)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(4),o=n(8).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(8),o=n(12),i=n(48),s=n(19)("src"),a=Function.toString,u=(""+a).split("toString");n(3).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var c="function"==typeof n;c&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(c&&(i(n,s)||o(n,s,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||a.call(this)})},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(16);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(51);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){var r=n(4),o=n(52),i=n(9)("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){var r=n(15);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(3),o=n(8),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(54)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=!1},function(t,e,n){"use strict";var r=n(14);t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,n){var r=n(7);r(r.P,"Function",{bind:n(57)})},function(t,e,n){"use strict";var r=n(21),o=n(4),i=n(58),s=[].slice,a={};t.exports=Function.bind||function(t){var e=r(this),n=s.call(arguments,1),u=function r(){var o=n.concat(s.call(arguments));return this instanceof r?function(t,e,n){if(!(e in a)){for(var r=[],o=0;o1?arguments[1]:void 0)}})},function(t,e,n){var r=n(62),o=n(16);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(t))}},function(t,e,n){var r=n(4),o=n(15),i=n(9)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},function(t,e,n){var r=n(9)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){n(65),t.exports=n(3).Array.find},function(t,e,n){"use strict";var r=n(7),o=n(22)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),r(r.P+r.F*i,"Array",{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(26)("find")},function(t,e,n){var r=n(27),o=n(67),i={};for(var s in r)r.hasOwnProperty(s)&&(i[r[s]]=s);var a=t.exports={to:{}};function u(t,e,n){return Math.min(Math.max(e,t),n)}function c(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}a.get=function(t){var e,n;switch(t.substring(0,3).toLowerCase()){case"hsl":e=a.get.hsl(t),n="hsl";break;case"hwb":e=a.get.hwb(t),n="hwb";break;default:e=a.get.rgb(t),n="rgb"}return e?{model:n,value:e}:null},a.get.rgb=function(t){if(!t)return null;var e,n,o,i=[0,0,0,1];if(e=t.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(o=e[2],e=e[1],n=0;n<3;n++){var s=2*n;i[n]=parseInt(e.slice(s,s+2),16)}o&&(i[3]=Math.round(parseInt(o,16)/255*100)/100)}else if(e=t.match(/^#([a-f0-9]{3,4})$/i)){for(o=(e=e[1])[3],n=0;n<3;n++)i[n]=parseInt(e[n]+e[n],16);o&&(i[3]=Math.round(parseInt(o+o,16)/255*100)/100)}else if(e=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(n=0;n<3;n++)i[n]=parseInt(e[n+1],0);e[4]&&(i[3]=parseFloat(e[4]))}else{if(!(e=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)))return(e=t.match(/(\D+)/))?"transparent"===e[1]?[0,0,0,0]:(i=r[e[1]])?(i[3]=1,i):null:null;for(n=0;n<3;n++)i[n]=Math.round(2.55*parseFloat(e[n+1]));e[4]&&(i[3]=parseFloat(e[4]))}for(n=0;n<3;n++)i[n]=u(i[n],0,255);return i[3]=u(i[3],0,1),i},a.get.hsl=function(t){if(!t)return null;var e=t.match(/^hsla?\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(e){var n=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,u(parseFloat(e[2]),0,100),u(parseFloat(e[3]),0,100),u(isNaN(n)?1:n,0,1)]}return null},a.get.hwb=function(t){if(!t)return null;var e=t.match(/^hwb\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(e){var n=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,u(parseFloat(e[2]),0,100),u(parseFloat(e[3]),0,100),u(isNaN(n)?1:n,0,1)]}return null},a.to.hex=function(){var t=o(arguments);return"#"+c(t[0])+c(t[1])+c(t[2])+(t[3]<1?c(Math.round(255*t[3])):"")},a.to.rgb=function(){var t=o(arguments);return t.length<4||1===t[3]?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"},a.to.rgb.percent=function(){var t=o(arguments),e=Math.round(t[0]/255*100),n=Math.round(t[1]/255*100),r=Math.round(t[2]/255*100);return t.length<4||1===t[3]?"rgb("+e+"%, "+n+"%, "+r+"%)":"rgba("+e+"%, "+n+"%, "+r+"%, "+t[3]+")"},a.to.hsl=function(){var t=o(arguments);return t.length<4||1===t[3]?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},a.to.hwb=function(){var t=o(arguments),e="";return t.length>=4&&1!==t[3]&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},a.to.keyword=function(t){return i[t.slice(0,3)]}},function(t,e,n){"use strict";var r=n(68),o=Array.prototype.concat,i=Array.prototype.slice,s=t.exports=function(t){for(var e=[],n=0,s=t.length;n=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&"String"!==t.constructor.name))}},function(t,e,n){function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var o=n(28),i=n(70),s={};Object.keys(o).forEach(function(t){s[t]={},Object.defineProperty(s[t],"channels",{value:o[t].channels}),Object.defineProperty(s[t],"labels",{value:o[t].labels});var e=i(t);Object.keys(e).forEach(function(n){var o=e[n];s[t][n]=function(t){var e=function(e){if(void 0===e||null===e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var n=t(e);if("object"===r(n))for(var o=n.length,i=0;i1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(o)})}),t.exports=s},function(t,e,n){var r=n(28);function o(t){var e=function(){for(var t={},e=Object.keys(r),n=e.length,o=0;o1?arguments[1]:void 0)}}),n(26)("includes")},function(t,e,n){var r=n(74),o=n(24),i=n(75);t.exports=function(t){return function(e,n,s){var a,u=r(e),c=o(u.length),l=i(s,c);if(t&&n!=n){for(;c>l;)if((a=u[l++])!=a)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(23),o=n(16);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(25),o=Math.max,i=Math.min;t.exports=function(t,e){return(t=r(t))<0?o(t+e,0):i(t,e)}},function(t,e,n){"use strict";n.r(e);n(31),n(35);var r=n(10),o=(n(36),n(29)),i=n.n(o),s=(n(37),n(38),n(39),n(11),"undefined"!=typeof Set&&1===new Set([1]).size?Set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return(t=t.filter(function(e,n){return n===t.indexOf(e)})).size=t.length,t.has=function(e){return t.indexOf(e)>-1},t.add=function(e){return t.has(e)||(t.size++,t.push(e)),t},t.delete=function(e){var n;return(n=t.has(e))&&(t.size--,t.splice(t.indexOf(e),1)),n},t.clear=function(){for(;t.pop(););t.size=0},t});function a(t,e){return t?t(e):e}function u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return t.replace(/([a-z\d])([A-Z])/g,"$1".concat(e,"$2")).replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1".concat(e,"$2")).toLowerCase()}function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:g;return function(e){function n(){return d(this,n),f(this,h(n).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(n,t),function(t,e,n){e&&l(t.prototype,e),n&&l(t,n)}(n,[{key:"setupComponent",value:function(t,e){var n=this.constructor.defaults;this[b]=Object.assign({},n,e),this.setupProperties(this),this[v]=this.setupShadowDOM(t)}},{key:"setupShadowDOM",value:function(t){return t}},{key:"connectComponent",value:function(){}},{key:"disconnectComponent",value:function(){}},{key:"adoptComponent",value:function(){}},{key:"getRoot",value:function(){return this[v]}},{key:"getEl",value:function(){return this[v]}},{key:"fireEvent",value:function(t,e){var n=this.constructor.componentName,r=new CustomEvent("".concat(n,"-").concat(t),e);this.el.dispatchEvent(r)}},{key:"setInternalState",value:function(t,e){this[b][t]=e}},{key:"setupProperties",value:function(){var t=this,e=this.constructor.sideEffects;Object.keys(this[b]).forEach(function(n){var r=e[n];t.setupProperty(n,r)})}},{key:"setupProperty",value:function(t,e){var n=this;Object.defineProperty(this,t,{get:function(){return n[b][t]},set:function(r){var o=n[b][t];n.setInternalState(t,r),e&&e.call(n,r,o)},enumerable:!0,configurable:!0})}},{key:"sroot",get:function(){return this.getRoot()}},{key:"el",get:function(){return this.getEl()}}]),n}()};function _(t){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function E(t,e,n){return(E="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=S(t)););return t}(t,e);if(r){var o=Object.getOwnPropertyDescriptor(r,e);return o.get?o.get.call(n):o.value}})(t,e,n||t)}function S(t){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function x(t,e){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=u(t);n&&(k=r);var o=this.constructor.types[t].stringify(e);null==o?this.removeAttribute(r):this.setAttribute(r,o)}},{key:"getStateFromAttributes",value:function(){var t=this,e=this.constructor.types,n={};return Object.keys(e).forEach(function(r){var o=u(r),i=t.hasAttribute(o)?t.getAttribute(o):null,s=a(e[r],i);null!=s&&(n[r]=s)}),n}},{key:"connectedCallback",value:function(){this.connectComponent()}},{key:"disconnectedCallback",value:function(){this.disconnectComponent()}},{key:"adoptedCallback",value:function(){this.adoptComponent()}},{key:"attributeChangedCallback",value:function(t,e,n){if(k===t)k=null;else if(e!==n){var r=this.constructor.types,o=function(){for(var t=arguments.length,e=new Array(t),n=0;n0?t.prototype.schedule.call(this,e,n):(this.delay=n,this.state=e,this.scheduler.flush(this),this)},e.prototype.execute=function(e,n){return n>0||this.closed?t.prototype.execute.call(this,e,n):this._execute(e,n)},e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0?t.prototype.requestAsyncId.call(this,e,n,r):e.flush(this)},e}(ht),dt=function(){function t(e,n){void 0===n&&(n=t.now),this.SchedulerAction=e,this.now=n}return t.prototype.schedule=function(t,e,n){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(n,e)},t.now=function(){return Date.now()},t}(),yt=function(t){function e(n,r){void 0===r&&(r=dt.now);var o=t.call(this,n,function(){return e.delegate&&e.delegate!==o?e.delegate.now():r()})||this;return o.actions=[],o.active=!1,o.scheduled=void 0,o}return P(e,t),e.prototype.schedule=function(n,r,o){return void 0===r&&(r=0),e.delegate&&e.delegate!==this?e.delegate.schedule(n,r,o):t.prototype.schedule.call(this,n,r,o)},e.prototype.flush=function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}},e}(dt),mt=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return P(e,t),e}(yt))(pt),vt=new ot(function(t){return t.complete()});function bt(t){return t?function(t){return new ot(function(e){return t.schedule(function(){return e.complete()})})}(t):vt}function gt(t){return t&&"function"==typeof t.schedule}var wt=function(t){return function(e){for(var n=0,r=t.length;nthis._bufferSize&&n.shift(),t.prototype.next.call(this,e)},e.prototype.nextTimeWindow=function(e){this._events.push(new jt(this._getNow(),e)),this._trimBufferThenGetEvents(),t.prototype.next.call(this,e)},e.prototype._subscribe=function(t){var e,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),o=this.scheduler,i=r.length;if(this.closed)throw new at;if(this.isStopped||this.hasError?e=Y.EMPTY:(this.observers.push(t),e=new ut(this,t)),o&&t.add(t=new Ct(t,o)),n)for(var s=0;se&&(i=Math.max(i,o-e)),i>0&&r.splice(0,i),r},e}(lt),jt=function(){return function(t,e){this.time=t,this.value=e}}();function At(t){return(At="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Mt(t,e){for(var n=0;n0?t.join(","):null};var Ht=function(t){var e=function(e){if(null==e)return null;var n=qt(e).map(t);return n.reduce(function(t,e){return t&&null!==e},!0)?n:null};return e.stringify=function(e){var n=e&&e.map&&e.map(t.stringify);return n&&n.reduce(function(t,e){return t&&null!==e},!0)?qt.stringify(n):null},e},Ut=function(t){if(null==t)return!1;var e=t.trim&&t.trim()||t;return!("false"===e||"null"===e||"undefined"===e||"0"===e||!1===e)};Ut.stringify=function(t){return t?"":null};var zt=function(t){return null==t?null:Number(t)};zt.stringify=function(t){return null==t?null:"".concat(t)};var Bt=function(t){var e=function(e){if(null==e)return null;var n=t.indexOf(e);return n>-1?t[n]:null};return e.stringify=function(e){return-1!==t.indexOf(e)?e:null},e},Wt=function(t){if(null==t)return null;var e=(t.trim&&t.trim()||t).match(/^\/?(.*?)(\/([gimy]*))?$/);return new RegExp(e[1],e[3])};Wt.stringify=function(t){return t&&t.toString()||null};var Vt=function(t){return t};Vt.stringify=function(t){return t};var $t=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return P(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(Q),Xt=function(t){function e(e,n,r){var o=t.call(this)||this;return o.parent=e,o.outerValue=n,o.outerIndex=r,o.index=0,o}return P(e,t),e.prototype._next=function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)},e.prototype._error=function(t){this.parent.notifyError(t,this),this.unsubscribe()},e.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},e}(Q),Gt=function(t){return function(e){return t.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,D),e}};var Yt=function(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}(),Kt=function(t){return function(e){for(var n=t[Yt]();;){var r=n.next();if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add(function(){n.return&&n.return()}),e}},Jt=function(t){return function(e){var n=t[et]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(e)}},Zt=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t};function Qt(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}var te=function(t){if(t instanceof ot)return function(e){return t._isScalar?(e.next(t.value),void e.complete()):t.subscribe(e)};if(t&&"function"==typeof t[et])return Jt(t);if(Zt(t))return wt(t);if(Qt(t))return Gt(t);if(t&&"function"==typeof t[Yt])return Kt(t);var e=U(t)?"an invalid object":"'"+t+"'";throw new TypeError("You provided "+e+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function ee(t,e,n,r,o){if(void 0===o&&(o=new Xt(t,n,r)),!o.closed)return te(e)(o)}var ne={};function re(){for(var t=[],e=0;e0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}($t);function de(t){return t}function ye(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),fe(de,t)}function me(){for(var t=[],e=0;e1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof o&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof ot?t[0]:ye(n)(_t(t,r))}var ve=new ot(nt);Object.prototype.toString;function be(t,e,n,r){return R(n)&&(r=n,n=void 0),r?be(t,e,n).pipe(se(function(t){return q(t)?r.apply(void 0,t):r(t)})):new ot(function(r){!function t(e,n,r,o,i){var s;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){var a=e;e.addEventListener(n,r,i),s=function(){return a.removeEventListener(n,r,i)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){var u=e;e.on(n,r),s=function(){return u.off(n,r)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){var c=e;e.addListener(n,r),s=function(){return c.removeListener(n,r)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var l=0,f=e.length;l1?r.next(Array.prototype.slice.call(arguments)):r.next(t)},r,n)})}var ge=n(1);function we(t,e){return void 0===e&&(e=null),new Ce({method:"GET",url:t,headers:e})}function _e(t,e,n){return new Ce({method:"POST",url:t,body:e,headers:n})}function Ee(t,e){return new Ce({method:"DELETE",url:t,headers:e})}function Se(t,e,n){return new Ce({method:"PUT",url:t,body:e,headers:n})}function xe(t,e,n){return new Ce({method:"PATCH",url:t,body:e,headers:n})}var Oe=se(function(t,e){return t.response});function Te(t,e){return Oe(new Ce({method:"GET",url:t,responseType:"json",headers:e}))}var Ce=function(t){function e(e){var n=t.call(this)||this,r={async:!0,createXHR:function(){return this.crossDomain?function(){if(ge.a.XMLHttpRequest)return new ge.a.XMLHttpRequest;if(ge.a.XDomainRequest)return new ge.a.XDomainRequest;throw new Error("CORS is not supported by your browser")}():function(){if(ge.a.XMLHttpRequest)return new ge.a.XMLHttpRequest;var t=void 0;try{for(var e=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],n=0;n<3;n++)try{if(t=e[n],new ge.a.ActiveXObject(t))break}catch(t){}return new ge.a.ActiveXObject(t)}catch(t){throw new Error("XMLHttpRequest is not supported by your browser")}}()},crossDomain:!0,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof e)r.url=e;else for(var o in e)e.hasOwnProperty(o)&&(r[o]=e[o]);return n.request=r,n}return P(e,t),e.prototype._subscribe=function(t){return new Ne(t,this.request)},e.create=function(){var t=function(t){return new e(t)};return t.get=we,t.post=_e,t.delete=Ee,t.put=Se,t.patch=xe,t.getJSON=Te,t}(),e}(ot),Ne=function(t){function e(e,n){var r=t.call(this,e)||this;r.request=n,r.done=!1;var o=n.headers=n.headers||{};return n.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),"Content-Type"in o||ge.a.FormData&&n.body instanceof ge.a.FormData||void 0===n.body||(o["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),n.body=r.serializeBody(n.body,n.headers["Content-Type"]),r.send(),r}return P(e,t),e.prototype.next=function(t){this.done=!0;var e=this.xhr,n=this.request,r=this.destination,o=new ke(t,e,n);o.response===B?r.error(B.e):r.next(o)},e.prototype.send=function(){var t=this.request,e=this.request,n=e.user,r=e.method,o=e.url,i=e.async,s=e.password,a=e.headers,u=e.body,c=V(t.createXHR).call(t);if(c===B)this.error(B.e);else{this.xhr=c,this.setupEvents(c,t);if((n?V(c.open).call(c,r,o,i,n,s):V(c.open).call(c,r,o,i))===B)return this.error(B.e),null;if(i&&(c.timeout=t.timeout,c.responseType=t.responseType),"withCredentials"in c&&(c.withCredentials=!!t.withCredentials),this.setHeaders(c,a),(u?V(c.send).call(c,u):V(c.send).call(c))===B)return this.error(B.e),null}return c},e.prototype.serializeBody=function(t,e){if(!t||"string"==typeof t)return t;if(ge.a.FormData&&t instanceof ge.a.FormData)return t;if(e){var n=e.indexOf(";");-1!==n&&(e=e.substring(0,n))}switch(e){case"application/x-www-form-urlencoded":return Object.keys(t).map(function(e){return encodeURIComponent(e)+"="+encodeURIComponent(t[e])}).join("&");case"application/json":return JSON.stringify(t);default:return t}},e.prototype.setHeaders=function(t,e){for(var n in e)e.hasOwnProperty(n)&&t.setRequestHeader(n,e[n])},e.prototype.setupEvents=function(t,e){var n=e.progressSubscriber;function r(t){var e=r,n=e.subscriber,o=e.progressSubscriber,i=e.request;o&&o.error(t);var s=new Re(this,i);s.response===B?n.error(B.e):n.error(s)}if(t.ontimeout=r,r.request=e,r.subscriber=this,r.progressSubscriber=n,t.upload&&"withCredentials"in t){var o,i;if(n)o=function(t){o.progressSubscriber.next(t)},ge.a.XDomainRequest?t.onprogress=o:t.upload.onprogress=o,o.progressSubscriber=n;i=function(t){var e=i,n=e.progressSubscriber,r=e.subscriber,o=e.request;n&&n.error(t);var s=new Ae("ajax error",this,o);s.response===B?r.error(B.e):r.error(s)},t.onerror=i,i.request=e,i.subscriber=this,i.progressSubscriber=n}function s(t){}function a(t){var e=a,n=e.subscriber,r=e.progressSubscriber,o=e.request;if(4===this.readyState){var i=1223===this.status?204:this.status,s="text"===this.responseType?this.response||this.responseText:this.response;if(0===i&&(i=s?200:0),i<400)r&&r.complete(),n.next(t),n.complete();else{r&&r.error(t);var u=new Ae("ajax error "+i,this,o);u.response===B?n.error(B.e):n.error(u)}}}t.onreadystatechange=s,s.subscriber=this,s.progressSubscriber=n,s.request=e,t.onload=a,a.subscriber=this,a.progressSubscriber=n,a.request=e},e.prototype.unsubscribe=function(){var e=this.done,n=this.xhr;!e&&n&&4!==n.readyState&&"function"==typeof n.abort&&n.abort(),t.prototype.unsubscribe.call(this)},e}(Q),ke=function(){return function(t,e,n){this.originalEvent=t,this.xhr=e,this.request=n,this.status=e.status,this.responseType=e.responseType||n.responseType,this.response=Pe(this.responseType,e)}}();function je(t,e,n){return Error.call(this),this.message=t,this.name="AjaxError",this.xhr=e,this.request=n,this.status=e.status,this.responseType=e.responseType||n.responseType,this.response=Pe(this.responseType,e),this}je.prototype=Object.create(Error.prototype);var Ae=je;function Me(t){return"response"in t?t.responseType?t.response:JSON.parse(t.response||t.responseText||"null"):JSON.parse(t.responseText||"null")}function Pe(t,e){switch(t){case"json":return V(Me)(e);case"xml":return e.responseXML;case"text":default:return"response"in e?e.response:e.responseText}}var Re=function(t,e){return Ae.call(this,"ajax timeout",t,e),this.name="AjaxTimeoutError",this},Le=Ce.create;function Ie(){for(var t=[],e=0;e0?_t(t,n):bt(n):Et(t[0]),e)}}function Fe(t){return function(e){return e.lift(new qe(t))}}var qe=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new He(t),r=ee(n,this.notifier);return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n},t}(),He=function(t){function e(e){var n=t.call(this,e)||this;return n.seenValue=!1,n}return P(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.seenValue=!0,this.complete()},e.prototype.notifyComplete=function(){},e}($t);function Ue(t,e){return"function"==typeof e?function(n){return n.pipe(Ue(function(n,r){return le(t(n,r)).pipe(se(function(t,o){return e(n,t,r,o)}))}))}:function(e){return e.lift(new ze(t))}}var ze=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new Be(t,this.project))},t}(),Be=function(t){function e(e,n){var r=t.call(this,e)||this;return r.project=n,r.index=0,r}return P(e,t),e.prototype._next=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){var r=this.innerSubscription;r&&r.unsubscribe();var o=new Xt(this,void 0,void 0);this.add(o),this.innerSubscription=ee(this,t,e,n,o)},e.prototype._complete=function(){var e=this.innerSubscription;e&&!e.closed||t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){this.innerSubscription=null},e.prototype.notifyComplete=function(e){this.remove(e),this.innerSubscription=null,this.isStopped&&t.prototype._complete.call(this)},e.prototype.notifyNext=function(t,e,n,r,o){this.destination.next(e)},e}($t);function We(){return function(t){return t.lift(new Ve(t))}}var Ve=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new $e(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o},t}(),$e=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return P(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null},e}(Q),Xe=function(t){function e(e,n){var r=t.call(this)||this;return r.source=e,r.subjectFactory=n,r._refCount=0,r._isComplete=!1,r}return P(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new Y).add(this.source.subscribe(new Ye(this.getSubject(),this))),t.closed?(this._connection=null,t=Y.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return We()(this)},e}(ot).prototype,Ge={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:Xe._subscribe},_isComplete:{value:Xe._isComplete,writable:!0},getSubject:{value:Xe.getSubject},connect:{value:Xe.connect},refCount:{value:Xe.refCount}},Ye=function(t){function e(e,n){var r=t.call(this,e)||this;return r.connectable=n,r}return P(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(ct);var Ke=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var n=this.selector,r=this.subjectFactory(),o=n(r).subscribe(t);return o.add(e.subscribe(r)),o},t}();function Je(){return new lt}function Ze(){return function(t){return We()(function(t,e){return function(n){var r;if(r="function"==typeof t?t:function(){return t},"function"==typeof e)return n.lift(new Ke(r,e));var o=Object.create(n,Ge);return o.source=n,o.subjectFactory=r,o}}(Je)(t))}}function Qe(t,e){return function(n){return n.lift(new tn(t,e))}}var tn=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new en(t,this.predicate,this.thisArg))},t}(),en=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.predicate=n,o.thisArg=r,o.count=0,o}return P(e,t),e.prototype._next=function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}e&&this.destination.next(t)},e}(Q);function nn(t,e){return function(n){return n.lift(new rn(t,e))}}var rn=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new on(t,this.compare,this.keySelector))},t}(),on=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.keySelector=r,o.hasKey=!1,"function"==typeof n&&(o.compare=n),o}return P(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e=t;if(this.keySelector&&(e=V(this.keySelector)(t))===B)return this.destination.error(B.e);var n=!1;if(this.hasKey){if((n=V(this.compare)(this.key,e))===B)return this.destination.error(B.e)}else this.hasKey=!0;!1===Boolean(n)&&(this.key=e,this.destination.next(t))},e}(Q);function sn(t,e,n){return function(r){return r.lift(new an(t,e,n))}}var an=function(){function t(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}return t.prototype.call=function(t,e){return e.subscribe(new un(t,this.nextOrObserver,this.error,this.complete))},t}(),un=function(t){function e(e,n,r,o){var i=t.call(this,e)||this;return i._tapNext=nt,i._tapError=nt,i._tapComplete=nt,i._tapError=r||nt,i._tapComplete=o||nt,R(n)?(i._context=i,i._tapNext=n):n&&(i._context=n,i._tapNext=n.next||nt,i._tapError=n.error||nt,i._tapComplete=n.complete||nt),i}return P(e,t),e.prototype._next=function(t){try{this._tapNext.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.next(t)},e.prototype._error=function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)},e.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()},e}(Q),cn="attributeStyleMap"in Element.prototype&&"CSS"in window&&CSS.number;function ln(t,e){for(var n=0;n1.2))break;n=i,r=a,o=s}return n}},{key:"selectByDpr_",value:function(t){for(var e=this.sources_,n=0,r=1/0,o=0;o1&&void 0!==arguments[1]?arguments[1]:window.location;return e!==r.protocol||n!==r.host}(n),headers:{Accept:"image/*"}}).pipe(se(function(t){var e=t.response;return URL.createObjectURL(e)}),sn(function(t){return i.set(o,t)})):i.has(o)?St(i.get(o)):ve}},{key:"setImgSrcAndLoad",value:function(t){var e=be(this.img,"load");return this.img.src=t,e}},{key:"updateAttr",value:function(t){var e=this;return function(n){return null==n||!1===n?e.img.removeAttribute(t):e.img.setAttribute(t,!0===n?"":n)}}},{key:"loadImageFallback",value:function(){this.el.hasAttribute("sizes")&&this.img.setAttribute("sizes",this.getAttribute("sizes")),this.el.hasAttribute("crossorigin")&&this.img.setAttribute("crossorigin",this.getAttribute("crossorigin")),this.el.hasAttribute("referrerpolicy")&&this.img.setAttribute("referrerpolicy",this.getAttribute("referrerpolicy")),this.srcset&&(this.img.srcset=this.srcset),this.src&&(this.img.src=this.src),null!=this.sizer.parentNode&&this.el.removeChild(this.sizer),null==this.img.parentNode&&this.el.appendChild(this.img),this.fireEvent("load")}},{key:"updateSizerStyle",value:function(t){var e=bn(t,3),n=e[0],r=e[1],o=e[2],i=n.contentRect.width;cn?(this.sizer.attributeStyleMap.set("position","relative"),null!=r&&null!=o?r>=i?(this.sizer.attributeStyleMap.set("width",CSS.percent(100)),this.sizer.attributeStyleMap.set("padding-top",CSS.percent(o/r*100))):(this.sizer.attributeStyleMap.set("width",CSS.px(r)),this.sizer.attributeStyleMap.set("height",CSS.px(o))):(this.sizer.attributeStyleMap.set("width",CSS.percent(100)),this.sizer.attributeStyleMap.set("height",CSS.percent(100)))):(this.sizer.style.position="relative",null!=r&&null!=o?r>=i?(this.sizer.style.width="100%",this.sizer.style.paddingTop="".concat(o/r*100,"%")):(this.sizer.style.width="".concat(r,"px"),this.sizer.style.height="".concat(o,"px")):(this.sizer.style.width="100%",this.sizer.style.height="100%"))}},{key:"disconnectComponent",value:function(){_n(En(n.prototype),"disconnectComponent",this).call(this),this.cache&&this.cache.forEach(function(t){URL.revokeObjectURL(t)})}},{key:"loadImage",value:function(){this.loadImage$.next(!0)}}],[{key:"componentName",get:function(){return"hy-img"}},{key:"defaults",get:function(){return{root:null,rootMargin:"0px",src:null,srcset:null,width:null,height:null,dataWidth:null,dataHeight:null,alt:null,decoding:null,longdesc:null,ismap:!1,usemap:null}}},{key:"types",get:function(){return{root:Vt,rootMargin:Vt,src:Vt,srcset:Vt,width:zt,height:zt,dataWidth:zt,dataHeight:zt,alt:Vt,decoding:Bt(["sync","async","auto"]),longdesc:Vt,ismap:Ut,usemap:Vt}}}]),n}()};function Tn(t){return(Tn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Cn(t,e){for(var n=0;n0&&Rn.indexOf("chrome")<0,In=Rn.indexOf("mobile")>0,Dn=Ln&&In,Fn=Rn.indexOf("ucbrowser")>0,qn=Rn.indexOf("firefox")>0,Hn=Rn.indexOf("fxios")>0&&Rn.indexOf("safari")>0,Un="attributeStyleMap"in Element.prototype&&"CSS"in window&&CSS.number;function zn(t){var e=!0;return t.forEach(function(t){var n=window.Modernizr[t];e=e&&n}),e}function Bn(){for(;this.firstChild;)this.removeChild(this.firstChild)}function Wn(t,e,n){return ot.create(function(r){var o=t.animate(e,n);return o.addEventListener("finish",function(t){return r.next(t),requestAnimationFrame(function(){return requestAnimationFrame(r.complete.bind(r))})}),function(){"finished"!==o.playState&&o.cancel()}})}function Vn(t){var e=document.getElementById(t);return e&&document.importNode(e.content,!0)}function $n(t){return new ot(function(e){var n;try{n=t()}catch(t){return void e.error(t)}return(n?le(n):bt()).subscribe(e)})}zn(Mn)?window.customElements.define("hy-img",Pn):Array.prototype.forEach.call(document.getElementsByTagName("hy-img"),function(t){return t.innerHTML=t.children[0].innerText});var Xn=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.scheduler=e,r.work=n,r}return P(e,t),e.prototype.requestAsyncId=function(e,n,r){return void 0===r&&(r=0),null!==r&&r>0?t.prototype.requestAsyncId.call(this,e,n,r):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(function(){return e.flush(null)})))},e.prototype.recycleAsyncId=function(e,n,r){if(void 0===r&&(r=0),null!==r&&r>0||null===r&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,n,r);0===e.actions.length&&(cancelAnimationFrame(n),e.scheduled=void 0)},e}(ht),Gn=new(function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return P(e,t),e.prototype.flush=function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,o=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r0){var s=i.indexOf(n);-1!==s&&i.splice(s,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}($t);var Zn=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new Qn(t),r=e.subscribe(n);return r.add(ee(n,this.notifier)),r},t}(),Qn=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasValue=!1,e}return P(e,t),e.prototype._next=function(t){this.value=t,this.hasValue=!0},e.prototype.notifyNext=function(t,e,n,r,o){this.emitValue()},e.prototype.notifyComplete=function(){this.emitValue()},e.prototype.emitValue=function(){this.hasValue&&(this.hasValue=!1,this.destination.next(this.value))},e}($t),tr=new yt(ht);var er=function(){return function(t,e){this.value=t,this.timestamp=e}}();function nr(){return function(t){return t.lift(new rr)}}var rr=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new or(t))},t}(),or=function(t){function e(e){var n=t.call(this,e)||this;return n.hasPrev=!1,n}return P(e,t),e.prototype._next=function(t){this.hasPrev?this.destination.next([this.prev,t]):this.hasPrev=!0,this.prev=t},e}(Q);function ir(t){return function(e){return e.lift(new sr(t))}}var sr=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new ar(t,this.total))},t}(),ar=function(t){function e(e,n){var r=t.call(this,e)||this;return r.total=n,r.count=0,r}return P(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(Q);function ur(t,e,n,r,o){return ot.create(function(i){var s,a=requestAnimationFrame(function u(c){var l=c-(s=s||c);l1?e-1:0),r=1;rn&&(e||ti);default:throw Error()}}},{key:"calcIsSwipe",value:function(t){var e=mr(t,4),n=e[0].clientX,r=e[1].clientX,o=e[2],i=e[3];return n!==r||o>0&&o.15||!(o<-.15)&&n>=r/2;case"right":return-o>.15||!(-o<-.15)&&n<=-r/2;default:throw Error()}}},{key:"calcTranslateX",value:function(t,e,n,r){switch(this.align){case"left":return Er(0,_r(r,n+(t-e)));case"right":return _r(0,Er(-r,n+(t-e)));default:throw Error()}}}]),n}()};function xr(t){return(xr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Or(t,e){for(var n=0;n=Yr(a-o)})):t.pipe(Yn(e),se(function(t){var e=Wr(t,2),r=e[0],o=r.clientX,i=r.clientY,s=r.event,a=e[1],u=a.clientX,c=a.clientY,l=Yr(u-o)>=Yr(c-i);return n.preventDefault&&l&&s.preventDefault(),l}))}}]),n}()};function Jr(t){return(Jr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Zr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Qr(t,e){for(var n=0;n0}),se(function(t){var e=Zr(t,2),n=e[0],r=n.value,o=n.timestamp,i=e[1];return(i.value-r)/(i.timestamp-o)}),De(0)),f=me(a.pipe(sn(function(){return t.contentEl.classList.remove("hy-drawer-grabbing")}),Yn(o,this.translateX$,n,l),Qe(this.calcIsSwipe.bind(this)),se(this.calcWillOpen.bind(this)),sn(function(e){return t.fireEvent("slideend",{detail:e})})),this.animateTo$.pipe(sn(this.prepareInteraction.bind(this))));this.tween$=f.pipe(sn(function(e){return t.setInternalState("opened",e)}),Yn(this.translateX$,n),Ue(function(e){var n=Zr(e,3),r=n[0],i=n[1],s=n[2],a="left"===t.align?1:-1;return ur(cr,i,(r?s*a:0)-i,200+.15*s).pipe(sn({complete:function(){return t.subjects.opened.next(r)}}),Fe(o),Fe(t.subjects.align.pipe(ir(1))),Ze())})),this.translateX$.pipe(Yn(n)).subscribe(function(e){var n=Zr(e,2),r=n[0],o=n[1];return t.updateDOM(r,o)}),be(this.scrimEl,"click").pipe(Fe(this.subjects.disconnect)).subscribe(function(){return t.close()}),r.pipe(Fe(this.subjects.disconnect)).subscribe(function(e){t.scrimEl.style.display=e?"block":"none"}),this.subjects.align.pipe(Fe(this.subjects.disconnect)).subscribe(function(e){t.contentEl.classList.remove("hy-drawer-left"),t.contentEl.classList.remove("hy-drawer-right"),t.contentEl.classList.add("hy-drawer-".concat(e))}),this.subjects.mouseEvents.pipe(Fe(this.subjects.disconnect),Ue(function(e){return e?t.contentEl.classList.add("hy-drawer-grab"):t.contentEl.classList.remove("hy-drawer-grab"),e?o.pipe(Yn(s)):ve})).subscribe(function(t){var e=Zr(t,2),n=e[0].event;return e[1]&&n&&n.preventDefault()}),this.fireEvent("init",{detail:this.opened})}}]),n}()};function oo(t){return(oo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function io(t,e){for(var n=0;n0&&void 0!==arguments[0])||arguments[0]?this.animateTo$.next(!0):this.opened=!0}},{key:"close",value:function(){!(arguments.length>0&&void 0!==arguments[0])||arguments[0]?this.animateTo$.next(!1):this.opened=!1}},{key:"toggle",value:function(){!(arguments.length>0&&void 0!==arguments[0])||arguments[0]?this.animateTo$.next(!this.opened):this.opened=!this.opened}}],[{key:"componentName",get:function(){return"hy-drawer"}},{key:"types",get:function(){return{opened:Ut,align:Bt(["left","right"]),persistent:Ut,range:Ht(zt),threshold:zt,preventDefault:Ut,touchEvents:Ut,mouseEvents:Ut}}},{key:"defaults",get:function(){return{opened:!1,align:"left",persistent:!1,range:[0,100],threshold:10,preventDefault:!1,touchEvents:!1,mouseEvents:!1}}}]),n}()};function ho(t){return(ho="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function po(t,e){for(var n=0;n
')}}],[{key:"observedAttributes",get:function(){return this.getObservedAttributes()}}]),e}();function _o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Eo=new s(function(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e=ko?Mo():Ao()})),u=a.pipe(Yn(i),se(function(t){var e=_o(t,2),n=e[0];return e[1]>=No?document.body.clientWidth/2-n/2:document.body.clientWidth/2})),c=a.pipe(Yn(i),se(function(t){var e=_o(t,2),n=e[0];return e[1]>=No?[0,n]:Dn&&!navigator.standalone?[35,150]:[0,150]}));ot.create(function(e){return t.moveCallback=function(t){return e.next(t)}}).pipe(Yn(u,i)).subscribe(function(t){var e=_o(t,3),n=e[0].opacity,r=e[1];return s(e[2]>=No,r,n)}),t.addEventListener("hy-drawer-prepare",function(){Un?(n.attributeStyleMap.set("will-change","transform"),o.attributeStyleMap.set("will-change","opacity")):(n.style.willChange="transform",o.style.willChange="opacity")}),t.addEventListener("hy-drawer-transitioned",function(){Un?(n.attributeStyleMap.delete("will-change"),o.attributeStyleMap.delete("will-change")):(n.style.willChange="",o.style.willChange="")}),e.addEventListener("click",function(t){Dn&&t.preventDefault(),window._drawer.toggle()});var l=be(t,"hy-drawer-transitioned").pipe(se(function(t){return t.detail}),nn(),sn(function(t){return!t&&function(){var t=document.getElementById("_swipe");t&&t.parentNode.removeChild(t)}()}));be(window,"popstate",{passive:!0}).pipe(Po(l)).subscribe(function(){return window._drawer.close()});var f=window.pageYOffset||document.body.scrollTop,h=t.classList.contains("cover")&&f<=0;t._peek$=i.pipe(se(function(t){switch(t){case ko:return Mo();case No:return Ao();case Co:return.5*jo()}}));var p=h?null:t.getBoundingClientRect().height;t.addEventListener("hy-drawer-init",function(){!function(){var t=document.getElementById("_hrefSwipeSVG");if(t){var e=document.createElement("img");e.id="_swipe",e.src=t.href,e.alt="Swipe image",e.addEventListener("click",function(){return window._drawer.close()}),document.getElementById("_sidebar").appendChild(e)}}(),t.classList.add("loaded"),p&&f>=p&&window.scrollTo(0,f-p)},{once:!0}),u.pipe(Yn(i),ir(1)).subscribe(function(e){var n=_o(e,2),r=n[0];return s(n[1]>=No,r,void 0!==t.opacity?t.opacity:h?1:0)}),window._drawer=function(t,e){return e&&t.setAttribute("opened",""),Ln&&t.setAttribute("threshold",0),In||t.setAttribute("mouse-events",""),qn&&t.removeAttribute("prevent-default"),window.customElements.define("hy-drawer",wo),t}(t,h),c.subscribe(function(e){return t.range=e})}function s(t,e,r){var i=1-r;if(Un){var s=new CSSTransformValue([new CSSTranslate(CSS.px(e*i),CSS.px(0))]);n.attributeStyleMap.set("transform",s),o.attributeStyleMap.set("opacity",t?1:r)}else n.style.transform="translateX(".concat(e*i,"px)"),o.style.opacity=t?1:r}!function e(){getComputedStyle(t).getPropertyValue("--hy-drawer-width")?i():setTimeout(e,300)}()});n(59);var Ro=window.URL;if(!(Ro&&Ro.prototype&&"href"in Ro.prototype)){(Ro=function(t,e){if(!t)throw new TypeError("Invalid argument");var n=document.implementation.createHTMLDocument("");if(e){var r=n.createElement("base");r.href=e,n.head.appendChild(r)}var o=n.createElement("a");if(o.href=t,n.body.appendChild(o),":"===o.protocol||!/:/.test(o.href))throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o})}).prototype={toString:function(){return this.href},get href(){return this._anchorElement.href},set href(t){this._anchorElement.href=t},get protocol(){return this._anchorElement.protocol},set protocol(t){this._anchorElement.protocol=t},get host(){return this._anchorElement.host},set host(t){this._anchorElement.host=t},get hostname(){return this._anchorElement.hostname},set hostname(t){this._anchorElement.hostname=t},get port(){return this._anchorElement.port},set port(t){this._anchorElement.port=t},get pathname(){return this._anchorElement.pathname},set pathname(t){this._anchorElement.pathname=t},get search(){return this._anchorElement.search},set search(t){this._anchorElement.search=t},get hash(){return this._anchorElement.hash},set hash(t){this._anchorElement.hash=t}};var Lo=window.URL||window.webkitURL||window.mozURL;Ro.createObjectURL=function(t){return Lo.createObjectURL.apply(Lo,arguments)},Ro.revokeObjectURL=function(t){return Lo.revokeObjectURL.apply(Lo,arguments)},Object.defineProperty(Ro.prototype,"toString",{enumerable:!1})}var Io=Element.prototype.matches||Element.prototype.matchesSelector||Element.prototype.msMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.webkitMatchesSelector||Element.prototype.oMatchesSelector;function Do(t){var e=t.protocol,n=t.host,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location;return e!==r.protocol||n!==r.host}function Fo(){return window.pageYOffset||document.body.scrollTop}var qo="push";function Ho(t,e){return function(n){return[Qe(t,e)(n),Qe(function(t,e){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=t,n.thisArg=e,n}(t,e))(n)]}}function Uo(t){return function(e){var n=new zo(t),r=e.lift(n);return n.caught=r}}var zo=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new Bo(t,this.selector,this.caught))},t}(),Bo=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.selector=n,o.caught=r,o}return P(e,t),e.prototype.error=function(e){if(!this.isStopped){var n=void 0;try{n=this.selector(e,this.caught)}catch(e){return void t.prototype.error.call(this,e)}this._unsubscribeAndRecycle();var r=new Xt(this,void 0,void 0);this.add(r),ee(this,n,void 0,void 0,r)}},e}($t);function Wo(t){return(Wo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Vo(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function $o(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:window.location;return""!==e&&n===o.origin&&r===o.pathname}(e,this)}},{key:"isHashChange",value:function(t){var e=Vo(t,2),n=e[0].url.pathname,r=e[1],o=r.url,i=o.pathname,s=o.hash,a=r.type;return i===n&&("pop"===a||a===qo&&""!==s)}}]),n}()};function Jo(t){return(Jo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Zo(t,e){for(var n=0;nthis.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),yi=function(t){function e(e,n,r){var o=t.call(this,e)||this;return o.parent=n,o.observable=r,o.stillUnsubscribed=!0,o.buffer=[],o.isComplete=!1,o}return P(e,t),e.prototype[Yt]=function(){return this},e.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,o){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return ee(this,this.observable,this,e)},e}($t);function mi(t){return(mi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function vi(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function bi(t,e){for(var n=0;n400&&n<598?St(Object.assign(t,{response:r.response})):St(Object.assign(t,{error:e}))}},{key:"getFetch$",value:function(t,e,n){return t.url.href===e.url.href&&null==e.error?St(e):n.pipe(Ir(1))}},{key:"getResponse",value:function(t,e){var n=vi(e,2),r=n[0],o=n[1];return li(this.getFetch$(r,o,t).pipe(se(function(t){return Object.assign(t,r)})),this.animPromise,function(t){return t})}}]),n}()};function Si(t){return(Si="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function xi(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Oi(t,e){for(var n=0;n0)return this.replaceIds.map(function(e){return t.getElementById(e)});if(this.el.id)return[t.getElementById(this.el.id)];var e=Array.from(document.getElementsByTagName(this.el.tagName)).indexOf(this.el);return[t.querySelectorAll(this.el.tagName)[e]]}},{key:"responseToContent",value:function(t){var e=function(t){return document.createRange().createContextualFragment(t)}(t.response),n=this.getTitle(e),r=this.getReplaceElements(e);if(r.some(function(t){return null==t}))throw Object.assign(t,{replaceElMissing:!0});var o=this.scriptSelector?this.tempRemoveScriptTags(r):[];return Object.assign(t,{documentFragment:e,title:n,replaceEls:r,scripts:o})}},{key:"replaceContentByIds",value:function(t){this.replaceIds.map(function(t){return document.getElementById(t)}).forEach(function(e,n){return e.parentNode.replaceChild(t[n],e)})}},{key:"replaceContentWholesale",value:function(t){var e=Ai(t,1)[0];this.el.innerHTML=e.innerHTML}},{key:"replaceContent",value:function(t){this.replaceIds.length>0?this.replaceContentByIds(t):this.replaceContentWholesale(t)}},{key:"updateDOM",value:function(t){try{var e=t.replaceEls;this.updateHistoryTitle(t),Do(this)&&this.rewriteURLs(e),this.replaceContent(e)}catch(e){throw Object.assign(t,{error:e})}}},{key:"rewriteURLs",value:function(t){var e=this;t.forEach(function(t){t.querySelectorAll("[href]").forEach(e.rewriteURL("href")),t.querySelectorAll("[src]").forEach(e.rewriteURL("src")),t.querySelectorAll("img[srcset]").forEach(e.rewriteURLSrcSet("srcset")),t.querySelectorAll("blockquote[cite]").forEach(e.rewriteURL("cite")),t.querySelectorAll("del[cite]").forEach(e.rewriteURL("cite")),t.querySelectorAll("ins[cite]").forEach(e.rewriteURL("cite")),t.querySelectorAll("q[cite]").forEach(e.rewriteURL("cite")),t.querySelectorAll("img[longdesc]").forEach(e.rewriteURL("longdesc")),t.querySelectorAll("frame[longdesc]").forEach(e.rewriteURL("longdesc")),t.querySelectorAll("iframe[longdesc]").forEach(e.rewriteURL("longdesc")),t.querySelectorAll("img[usemap]").forEach(e.rewriteURL("usemap")),t.querySelectorAll("input[usemap]").forEach(e.rewriteURL("usemap")),t.querySelectorAll("object[usemap]").forEach(e.rewriteURL("usemap")),t.querySelectorAll("form[action]").forEach(e.rewriteURL("action")),t.querySelectorAll("button[formaction]").forEach(e.rewriteURL("formaction")),t.querySelectorAll("input[formaction]").forEach(e.rewriteURL("formaction")),t.querySelectorAll("video[poster]").forEach(e.rewriteURL("poster")),t.querySelectorAll("object[data]").forEach(e.rewriteURL("data")),t.querySelectorAll("object[codebase]").forEach(e.rewriteURL("codebase")),t.querySelectorAll("object[archive]").forEach(e.rewriteURLList("archive"))})}},{key:"rewriteURL",value:function(t){var e=this;return function(n){try{n.setAttribute(t,new URL(n.getAttribute(t),e.href).href)}catch(t){0}}}},{key:"rewriteURLSrcSet",value:function(t){var e=this;return function(n){try{n.setAttribute(t,n.getAttribute(t).split(/\s*,\s*/).map(function(t){var n=t.split(/\s+/);return n[0]=new URL(n[0],e.href).href,n.join(" ")}).join(", "))}catch(t){0}}}},{key:"rewriteURLList",value:function(t){var e=this;return function(n){try{n.setAttribute(t,n.getAttribute(t).split(/[\s,]+/).map(function(t){return new URL(t,e.href).href}).join(", "))}catch(t){0}}}}]),n}()};function Di(t){return!q(t)&&t-parseFloat(t)+1>=0}function Fi(t,e,n){void 0===t&&(t=0);var r=-1;return Di(e)?r=Number(e)<1?1:Number(e):gt(e)&&(n=e),gt(n)||(n=tr),new ot(function(e){var o=Di(t)?t:+t-n.now();return n.schedule(qi,o,{index:0,period:r,subscriber:e})})}function qi(t){var e=t.index,n=t.period,r=t.subscriber;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}}function Hi(t){return(Hi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ui(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:window.location;return e!==r.protocol||n!==r.host}(r),headers:{Accept:"image/*"}}).pipe(se(function(t){var e=t.response;return URL.createObjectURL(e)}),Uo(function(){return St(n)}))}},{key:"fetchImage",value:function(t){var e=ks()(t),n=e.background,r=e.color,o=e.image,i=e.overlay,s=Ms(e);return s===this.prevHash?bt():this.fetchImage2(e).pipe(se(function(t){var a=document.createElement("div");return a.classList.add("sidebar-bg"),"none"!==o&&""===i&&a.classList.add("sidebar-overlay"),n?a.style.background=n:(a.style.backgroundColor=r,t&&(a.style.backgroundImage="url(".concat(t,")"),a.objectURL=t)),[a,e,s]}))}},{key:"updateStyle",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.color,r=void 0===n?"#4fb1ba":n,o=e.themeColor,i=void 0===o?"#193747":o;if(this.themeColorEl&&window.setTimeout(function(){return t.themeColorEl.content=i},250),this.rules)try{var s=xs()(r),a=s.darken(.1);this.rules[0].style.color=r,this.rules[0].style.borderColor=s.fade(.8).string(),this.rules[1].style.borderColor=r,this.rules[2].style.outlineColor=r,this.rules[3].style.backgroundColor=r,this.rules[3].style.borderColor=r,this.rules[4].style.boxShadow="0 0 0 3px ".concat(s.fade(.5)),this.rules[5].style.backgroundColor=a,this.rules[5].style.borderColor=a,this.rules[6].style.backgroundColor=r,this.rules[6].style.borderColor=r,this.rules[7].style.backgroundColor=a,this.rules[7].style.borderColor=a,this.rules[this.rules.length-1].style.backgroundColor=r}catch(t){console.error(t)}}},{key:"fade",value:function(t,e){var n=js(t,1)[0],r=js(e,3),o=r[0],i=r[1],s=r[2];return n.parentNode.insertBefore(o,n.nextElementSibling),this.updateStyle(i),this.prevHash=s,Wn(o,[{opacity:0},{opacity:1}],{duration:this.fadeDuration,easing:"ease"}).pipe(Os(function(){n.objectURL&&URL.revokeObjectURL(n.objectURL),n.parentNode.removeChild(n)}))}}]),t}(),Rs=!1,Ls=!1;function Is(t){try{for(var e=t.previousElementSibling;e&&!e.classList.contains("MathJax_Preview");)e=e.previousElementSibling;var n=t.textContent.replace("% ","");t.outerHTML=window.katex.renderToString(n,{displayMode:"math/tex; mode=display"===t.type}),e&&function(){this.style.display="none",this.style.visibility="hidden"}.call(e)}catch(t){0}}var Ds=zn(["classlist","eventlistener","queryselector"])?function(){var t=document.querySelectorAll('script[type^="math/tex"]');t.length&&(Rs&&Ls?Array.from(t).forEach(Is):(loadJS(document.getElementById("_hrefKatexJS").href).addEventListener("load",function(){(Rs=!0)&&Ls&&Ds()}),loadCSS(document.getElementById("_hrefKatexCSS").href).addEventListener("load",function(){Ls=!0,Rs&&Ls&&Ds()})))}:function(){};Ds();n(71);function Fs(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var qs=".page-title, .post-title";var Hs=["title"];function Us(t,e,n,r){var o=t.pipe(Qe(function(t){var e=t.flipType;return!Hs.includes(e)}));return me(function(t,e,n,r){var o=r.animationMain,i=r.settings;if(!o)return t;var s=t.pipe(Qe(function(t){return"title"===t.flipType}),Ue(function(t){var e=t.anchor;if(!e)return St({});var n=document.createElement("h1");n.classList.add("page-title"),n.textContent=e.textContent,n.style.transformOrigin="left top";var r=o.querySelector(".page");if(!r)return St({});Bn.call(r),r.appendChild(n),o.style.position="fixed",o.style.opacity=1;var s=e.getBoundingClientRect(),a=n.getBoundingClientRect(),u=parseInt(getComputedStyle(e).fontSize,10),c=parseInt(getComputedStyle(n).fontSize,10),l=s.left-a.left,f=s.top-a.top,h=u/c;return e.style.opacity=0,Wn(n,[{transform:"translate3d(".concat(l,"px, ").concat(f,"px, 0) scale(").concat(h,")")},{transform:"translate3d(0, 0, 0) scale(1)"}],i).pipe(sn({complete:function(){o.style.position="absolute"}}))}));return t.pipe(Ue(function(t){var r=t.flipType;return li(e.pipe(Qe(function(){return"title"===r}),se(function(t){var e=Fs(t.replaceEls,1)[0].querySelector(qs);return e&&(e.style.opacity=0),e})),n,function(t){return t}).pipe(sn(function(t){t&&(t.style.opacity=1),o.style.opacity=0}),Os(function(){o.style.opacity=0}))})).subscribe(),s}(t,e,n,r),o)}function zs(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var s,a=t[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Bs=new s(function(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e .content > .nav-btn-bar"),r=document.querySelector("link[rel=canonical]"),o=document.querySelector("meta[name=description]"),i=function(t){var e=Vn("_animation-template");return t.parentNode.insertBefore(e,t),t.previousElementSibling}(e),s=function(t){var e=Vn("_loading-template");return t.appendChild(e),t.lastElementChild}(n);t&&function(t,e,n){var r=Vn(e);r.querySelector(".nav-btn").addEventListener("click",n),t.appendChild(r),t.lastElementChild}(n,"_back-template",function(){return window.history.back()});var a=be(e,"hy-push-state-start").pipe(se(function(t){var e=t.detail;return Object.assign(e,{flipType:function(t){return t&&t.classList?t.classList.contains("flip-title")?"title":t.classList.contains("flip-project")?"project":t.getAttribute&&t.getAttribute("data-flip"):null}(e.anchor)})}),Ze()),u=be(e,"hy-push-state-ready").pipe(se(function(t){return t.detail}),Ze()),c=be(e,"hy-push-state-after").pipe(se(function(t){return t.detail}),Ze()),l=be(e,"hy-push-state-progress").pipe(se(function(t){return t.detail}),Ze()),f=be(e,"hy-push-state-networkerror").pipe(se(function(t){return t.detail}),Ze()),h=a.pipe(se(function(t){return Object.assign(t,{main:document.getElementById("_main")})}),sn(function(t){return t.main.style.pointerEvents="none"}),function t(e,n){return n?function(r){return r.pipe(t(function(t,r){return le(e(t,r)).pipe(se(function(e,o){return n(t,e,r,o)}))}))}:function(t){return t.lift(new _s(e))}}(Gs),sn(function(t){var e=t.main;return Bn.call(e)}),Ze());l.subscribe(function(){return s.style.display="block"}),u.pipe(De({replaceEls:[document.getElementById("_main")]})).subscribe(function(t){var e=zs(t.replaceEls,1)[0];e.classList.remove("fade-in"),requestAnimationFrame(function(){return s.style.display="none"}),requestIdleCallback(function(){return Array.from(e.querySelectorAll("h1[id], h2[id], h3[id], h4[id], h5[id], h6[id]")).forEach(Xs)})}),c.pipe(De({replaceEls:[document.getElementById("_main")],documentFragment:document})).subscribe(function(t){var e=zs(t.replaceEls,1)[0],n=t.documentFragment,i=n.querySelector("link[rel=canonical]");r&&i&&(r.href=i.href);var s=n.querySelector("meta[name=description]");o&&s&&(o.content=s.content),Array.from(e.querySelectorAll("li[id^='fn:']")).forEach(function(t){return t.tabIndex=0}),Array.from(e.querySelectorAll("a[href^='#fn:']")).forEach(function(t){return t.addEventListener("click",function(t){return document.getElementById(t.currentTarget.hash.substr(1)).focus()})})});var p=c.pipe(Ue(Ys),Ze()),d=Us(a,u,me(p,f),{animationMain:i,settings:$s}).pipe(Ze());a.pipe(Ue(function(t){var e=li(Fi(250),h,d).toPromise();return t.transitionUntil(e),e})).subscribe(),h.subscribe(),d.subscribe();var y=new Ps(1e3);c.pipe(Ue(function(t){var e=zs(t.replaceEls,1)[0];return li(y.fetchImage(e),p,function(t){return t}).pipe(Fe(a))}),De([document.querySelector(".sidebar-bg")]),nr(),fe(function(t){var e=zs(t,2),n=e[0],r=e[1];return y.fade(n,r)})).subscribe(),p.subscribe(function(){return Ds()}),f.pipe(Ue(function(t){var e=t.url;s.style.display="none";var n=document.getElementById("_main");return n.style.pointerEvents="",Bn.call(i.querySelector(".page")),Bn.call(n),function(t,e){var n=e.pathname,r=Vn("_error-template"),o=r.querySelector(".this-link");o&&(o.href=n,o.textContent=n),t.appendChild(r),t.lastElementChild}(n,e),Wn(n,Vs,$s)})).subscribe(),window._pushState=function(t){return window.customElements.define("hy-push-state",ws),t}(e)}),window.ResizeObserver=window.ResizeObserver||r.a,i.a.polyfill()}]); \ No newline at end of file diff --git a/assets/version.json b/assets/version.json index 8857000ffcc..4b171c67663 100644 --- a/assets/version.json +++ b/assets/version.json @@ -1,3 +1,3 @@ { - "version": "8.1.0" + "version": "8.1.1" } diff --git a/docs/config.md b/docs/config.md index 042e02bb15d..07ecf8c12e8 100644 --- a/docs/config.md +++ b/docs/config.md @@ -334,7 +334,7 @@ author: social: email: mail@qwtel.com rss: {{ site.url }}{{ site.baseurl }}/feed.xml # make sure you provide an absolute URL - download: https://github.com/qwtel/hydejack/archive/v8.1.0.zip + download: https://github.com/qwtel/hydejack/archive/v8.1.1.zip ~~~ diff --git a/docs/install.md b/docs/install.md index 9303d427f11..403db87df7e 100644 --- a/docs/install.md +++ b/docs/install.md @@ -31,7 +31,7 @@ If you have a GitHub account, fork the [hy-starter-kit](https://github.com/qwtel Alternatively, you can just [![Deploy to Netlify][dtn]{:data-ignore=""}][nfy]{:.no-hover.no-mark}. -[src]: https://github.com/qwtel/hy-starter-kit/archive/v8.1.0.zip +[src]: https://github.com/qwtel/hy-starter-kit/archive/v8.1.1.zip [nfy]: https://app.netlify.com/start/deploy?repository=https://github.com/qwtel/hydejack-starter-kit [dtn]: https://www.netlify.com/img/deploy/button.svg @@ -151,7 +151,7 @@ For new installations only the `install` folder is relevant. Unzip the archive somewhere on your machine, then `cd` *into* the `install` folder, e.g. ~~~bash -$ cd ~/Downloads/hydejack-pro-8.1.0/install/ +$ cd ~/Downloads/hydejack-pro-8.1.1/install/ ~~~ You can now continue with [Running locally](#running-locally). @@ -165,7 +165,7 @@ It is located at `/.ssh/hydejack_8_pro`. You have to copy the key file to `~/.ssh` (or wherever your SSH keys are located), e.g.: ~~~bash -$ cp ~/Downloads/hydejack-pro-8.1.0/.ssh/hydejack_8_pro ~/.ssh/ +$ cp ~/Downloads/hydejack-pro-8.1.1/.ssh/hydejack_8_pro ~/.ssh/ ~~~ It is required that your private key files are NOT accessible by others, e.g.: diff --git a/docs/upgrade.md b/docs/upgrade.md index 10f5c4fc16c..57f92e9b4fa 100644 --- a/docs/upgrade.md +++ b/docs/upgrade.md @@ -20,7 +20,7 @@ especially the part about the [license change](../CHANGELOG.md#license-change)! When using the Starter Kit, upgrading Hydejack is as simple as setting the `remote_theme` key in `config.yml` to the desired version. ```yml -remote_theme: qwtel/hydejack@v8.1.0 +remote_theme: qwtel/hydejack@v8.1.1 ``` To use the latest version on the `v8` branch on each build, you can use `qwtel/hydejack@v8`. diff --git a/hydejack/_posts/2017-05-03-javascripten.md b/hydejack/_posts/2017-05-03-javascripten.md index 918486e6c50..7b38ad8e427 100644 --- a/hydejack/_posts/2017-05-03-javascripten.md +++ b/hydejack/_posts/2017-05-03-javascripten.md @@ -57,7 +57,7 @@ See the [the migration guide][upgrade] for instructions on how to upgrade. *** -[Get *JavaScripten* on GitHub](https://github.com/qwtel/hydejack/releases/tag/v8.1.0) +[Get *JavaScripten* on GitHub](https://github.com/qwtel/hydejack/releases/tag/v8.1.1) [upgrade]: ../../docs/upgrade.md [writing]: ../../docs/writing.md diff --git a/hydejack/_posts/2017-07-27-better-gem-support.md b/hydejack/_posts/2017-07-27-better-gem-support.md index 5eefcf8a6c3..f067f6b4a60 100644 --- a/hydejack/_posts/2017-07-27-better-gem-support.md +++ b/hydejack/_posts/2017-07-27-better-gem-support.md @@ -50,7 +50,7 @@ For the full patch notes, read on. social: github: https://github.com/qwtel/hydejack npm: https://www.npmjs.com/package/hydejack - download: https://github.com/qwtel/hydejack/archive/v8.1.0.zip + download: https://github.com/qwtel/hydejack/archive/v8.1.1.zip data_social: github: diff --git a/jekyll-theme-hydejack.gemspec b/jekyll-theme-hydejack.gemspec index 74ac4331988..089553d35b1 100644 --- a/jekyll-theme-hydejack.gemspec +++ b/jekyll-theme-hydejack.gemspec @@ -2,7 +2,7 @@ Gem::Specification.new do |spec| spec.name = "jekyll-theme-hydejack" - spec.version = "8.1.0" + spec.version = "8.1.1" spec.authors = ["Florian Klampfer"] spec.email = ["mail@qwtel.com"] diff --git a/package-lock.json b/package-lock.json index db4853c040e..d225fb8846a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "hydejack", - "version": "8.1.0", + "version": "8.1.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 304eeb8b8dd..ab6e7de633b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hydejack", - "version": "8.1.0", + "version": "8.1.1", "description": "The best Jekyll theme by a mile", "scripts": { "clean": "rm -f assets/js/hydejack-*.js",