jekyll-theme-hydejack 7.5.0 → 7.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/_includes/footer.html +1 -1
- data/_includes/head/meta.html +1 -1
- data/_includes/head/styles.html +1 -1
- data/_includes/header.txt +1 -1
- data/_includes/scripts.html +1 -1
- data/_layouts/compress.html +1 -1
- data/assets/css/{hydejack-7.5.0.css → hydejack-7.5.1.css} +0 -0
- data/assets/js/hydejack-7.5.1.js +249 -0
- data/assets/version.json +1 -1
- metadata +4 -5
- data/assets/bower_components/html5shiv/MIT and GPL2 licenses.md +0 -372
- data/assets/js/hydejack-7.5.0.js +0 -14
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 72f7ebb4aff6701953c956f9c85ddfb3b78d78e3
|
|
4
|
+
data.tar.gz: 725576817a9aaf61ae56a751dad683f3f4d1673c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 70b3dd1f01322718a8122ebf53f515959baba6d5efaeb61fea982f16290d1c19a576afef6219b88cdc83cc742742b9aef245a9d0d92e541803f44ff667215a5e
|
|
7
|
+
data.tar.gz: 467f218c76e577e91d66794e4b3fdfa12c19dd89eb4dd57fbf7678f26bb5e98ec6a19fbf67644aa5e977d4cdb2f1a3d60cef5e05ccf853c11b064182d8c7fc7f
|
data/README.md
CHANGED
|
@@ -103,17 +103,17 @@ This table details what is and isn't included in each respective version.
|
|
|
103
103
|
|
|
104
104
|
[license]: LICENSE.md
|
|
105
105
|
[pro]: licenses/PRO.md
|
|
106
|
-
[docs]: docs/7.5.
|
|
106
|
+
[docs]: docs/7.5.1/index.md
|
|
107
107
|
|
|
108
|
-
[kit]: https://github.com/qwtel/hydejack-starter-kit/archive/v7.5.
|
|
108
|
+
[kit]: https://github.com/qwtel/hydejack-starter-kit/archive/v7.5.1.zip
|
|
109
109
|
[src]: https://github.com/qwtel/hydejack
|
|
110
110
|
[git]: https://github.com/qwtel/hydejack-starter-kit
|
|
111
111
|
[gem]: https://rubygems.org/gems/jekyll-theme-hydejack
|
|
112
112
|
[buy]: https://app.simplegoods.co/i/AQTTVBOE
|
|
113
113
|
|
|
114
114
|
[gpss]: https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fqwtel.com%2Fhydejack%2F
|
|
115
|
-
[wiki]: https://github.com/qwtel/hydejack/blob/master/docs/7.5.
|
|
116
|
-
[pdf]: https://github.com/qwtel/hydejack/releases/download/v7.5.
|
|
115
|
+
[wiki]: https://github.com/qwtel/hydejack/blob/master/docs/7.5.1/index.md
|
|
116
|
+
[pdf]: https://github.com/qwtel/hydejack/releases/download/v7.5.1/Documentation._.Hydejack.pdf
|
|
117
117
|
[hy-push-state]: https://qwtel.com/hy-push-state/
|
|
118
118
|
[hy-drawer]: https://qwtel.com/hy-drawer/
|
|
119
119
|
[rouge]: http://rouge.jneen.net
|
data/_includes/footer.html
CHANGED
|
@@ -11,6 +11,6 @@
|
|
|
11
11
|
{% endfor %}
|
|
12
12
|
</small></nav>
|
|
13
13
|
{% endif %}
|
|
14
|
-
<p><small>Powered by <a class="external" href="https://qwtel.com/hydejack/">Hydejack</a> v<span id="_version">7.5.
|
|
14
|
+
<p><small>Powered by <a class="external" href="https://qwtel.com/hydejack/">Hydejack</a> v<span id="_version">7.5.1</span></small></p>
|
|
15
15
|
<hr class="sr-only"/>
|
|
16
16
|
</footer>
|
data/_includes/head/meta.html
CHANGED
data/_includes/head/styles.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!--[if gt IE 8]><!---->
|
|
2
|
-
{% capture style_url %}{% link assets/css/hydejack-7.5.
|
|
2
|
+
{% capture style_url %}{% link assets/css/hydejack-7.5.1.css %}{% endcapture %}
|
|
3
3
|
|
|
4
4
|
{% if site.hydejack.no_inline_css or jekyll.environment == 'development' %}
|
|
5
5
|
<link rel="stylesheet" href="{{ style_url | relative_url }}">
|
data/_includes/header.txt
CHANGED
data/_includes/scripts.html
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
{% endif %}
|
|
27
27
|
|
|
28
28
|
<!--[if gt IE 9]><!---->
|
|
29
|
-
{% capture js_url %}{% link assets/js/hydejack-7.5.
|
|
29
|
+
{% capture js_url %}{% link assets/js/hydejack-7.5.1.js %}{% endcapture %}
|
|
30
30
|
<script>loadJSDeferred('{{ js_url | relative_url }}');</script>
|
|
31
31
|
{% include my-scripts.html %}
|
|
32
32
|
<!--<![endif]-->
|
data/_layouts/compress.html
CHANGED
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
/\___/ \ \____/
|
|
11
11
|
\/__/ \/___/
|
|
12
12
|
|
|
13
|
-
Powered by Hydejack v7.5.
|
|
13
|
+
Powered by Hydejack v7.5.1 <https://qwtel.com/hydejack/>
|
|
14
14
|
-->{% capture _LINE_FEED %}
|
|
15
15
|
{% 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 %}</{{ _element }}>{% 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: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% 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 "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" 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 = " <e;<e; </e>;</e>;</e> ;</e>" | 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 %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}</html>
|
|
File without changes
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* __ __ __ __
|
|
3
|
+
* /\ \/\ \ /\ \ __ /\ \
|
|
4
|
+
* \ \ \_\ \ __ __ \_\ \ __ /\_\ __ ___ \ \ \/'\
|
|
5
|
+
* \ \ _ \ /\ \/\ \ /'_` \ /'__`\ \/\ \ /'__`\ /'___\\ \ , <
|
|
6
|
+
* \ \ \ \ \\ \ \_\ \ /\ \L\ \ /\ __/ \ \ \ /\ \L\.\_ /\ \__/ \ \ \\`\
|
|
7
|
+
* \ \_\ \_\\/`____ \\ \___,_\\ \____\ _\ \ \\ \__/.\_\\ \____\ \ \_\ \_\
|
|
8
|
+
* \/_/\/_/ `/___/> \\/__,_ / \/____//\ \_\ \\/__/\/_/ \/____/ \/_/\/_/
|
|
9
|
+
* /\___/ \ \____/
|
|
10
|
+
* \/__/ \/___/
|
|
11
|
+
*
|
|
12
|
+
* Powered by Hydejack v7.5.1 <https://qwtel.com/hydejack/>
|
|
13
|
+
*/
|
|
14
|
+
!function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=28)}([function(t,e,n){"use strict";(function(t){n.d(e,"a",function(){return s});var r="undefined"!=typeof window&&window,o="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,i=void 0!==t&&t,s=r||i||o}).call(e,n(49))},function(t,e){var n=t.exports={version:"2.5.4"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(5),o=n(1),i=n(8),s=n(41),a=n(16),u=function t(e,n,u){var c,l,f,h,p=e&t.F,d=e&t.G,y=e&t.S,b=e&t.P,v=e&t.B,m=d?r:y?r[n]||(r[n]={}):(r[n]||{}).prototype,g=d?o:o[n]||(o[n]={}),w=g.prototype||(g.prototype={});d&&(u=n);for(c in u)l=!p&&m&&void 0!==m[c],f=(l?m:u)[c],h=v&&l?a(f,r):b&&"function"==typeof f?a(Function.call,f):f,m&&s(m,c,f,e&t.U),g[c]!=f&&i(g,c,h),b&&w[c]!=f&&(w[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="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.exports=function(t){return"object"===(void 0===t?"undefined":n(t))?null!==t:"function"==typeof t}},function(t,e,n){n(46),t.exports=n(1).Function.bind},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){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(22)("wks"),o=n(10),i=n(5).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){var r=n(35),o=n(40);t.exports=n(9)?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(6)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(12);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},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){n(34),t.exports=n(1).Array.forEach},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(17);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(16),o=n(11),i=n(19),s=n(20),a=n(42);t.exports=function(t,e){var n=1==t,u=2==t,c=3==t,l=4==t,f=6==t,h=5==t||f,p=e||a;return function(e,a,d){for(var y,b,v=i(e),m=o(v),g=r(a,d,3),w=s(m.length),_=0,x=n?p(e,w):u?p(e,0):void 0;w>_;_++)if((h||_ in m)&&(y=m[_],b=g(y,_,v),t))if(n)x[_]=b;else if(b)switch(t){case 3:return!0;case 5:return y;case 6:return _;case 2:x.push(y)}else if(l)return!1;return f?-1:c||l?l:x}}},function(t,e,n){var r=n(13);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(21),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(5),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,e,n){var r=n(11),o=n(13);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(23),o=n(20),i=n(60);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(7)("unscopables"),o=Array.prototype;void 0==o[r]&&n(8)(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){function r(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)+Math.pow(t[2]-e[2],2)}var o=n(26),i={};for(var s in o)o.hasOwnProperty(s)&&(i[o[s]]=s);var a=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 u in a)if(a.hasOwnProperty(u)){if(!("channels"in a[u]))throw new Error("missing channels property: "+u);if(!("labels"in a[u]))throw new Error("missing channel labels property: "+u);if(a[u].labels.length!==a[u].channels)throw new Error("channel and label counts mismatch: "+u);var c=a[u].channels,l=a[u].labels;delete a[u].channels,delete a[u].labels,Object.defineProperty(a[u],"channels",{value:c}),Object.defineProperty(a[u],"labels",{value:l})}a.rgb.hsl=function(t){var e,n,r,o=t[0]/255,i=t[1]/255,s=t[2]/255,a=Math.min(o,i,s),u=Math.max(o,i,s),c=u-a;return u===a?e=0:o===u?e=(i-s)/c:i===u?e=2+(s-o)/c:s===u&&(e=4+(o-i)/c),e=Math.min(60*e,360),e<0&&(e+=360),r=(a+u)/2,n=u===a?0:r<=.5?c/(u+a):c/(2-u-a),[e,100*n,100*r]},a.rgb.hsv=function(t){var e,n,r,o=t[0],i=t[1],s=t[2],a=Math.min(o,i,s),u=Math.max(o,i,s),c=u-a;return n=0===u?0:c/u*1e3/10,u===a?e=0:o===u?e=(i-s)/c:i===u?e=2+(s-o)/c:s===u&&(e=4+(o-i)/c),e=Math.min(60*e,360),e<0&&(e+=360),r=u/255*1e3/10,[e,n,r]},a.rgb.hwb=function(t){var e=t[0],n=t[1],r=t[2],o=a.rgb.hsl(t)[0],i=1/255*Math.min(e,Math.min(n,r));return r=1-1/255*Math.max(e,Math.max(n,r)),[o,100*i,100*r]},a.rgb.cmyk=function(t){var e,n,r,o,i=t[0]/255,s=t[1]/255,a=t[2]/255;return o=Math.min(1-i,1-s,1-a),e=(1-i-o)/(1-o)||0,n=(1-s-o)/(1-o)||0,r=(1-a-o)/(1-o)||0,[100*e,100*n,100*r,100*o]},a.rgb.keyword=function(t){var e=i[t];if(e)return e;var n,s=1/0;for(var a in o)if(o.hasOwnProperty(a)){var u=o[a],c=r(t,u);c<s&&(s=c,n=a)}return n},a.keyword.rgb=function(t){return o[t]},a.rgb.xyz=function(t){var e=t[0]/255,n=t[1]/255,r=t[2]/255;return e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,[100*(.4124*e+.3576*n+.1805*r),100*(.2126*e+.7152*n+.0722*r),100*(.0193*e+.1192*n+.9505*r)]},a.rgb.lab=function(t){var e,n,r,o=a.rgb.xyz(t),i=o[0],s=o[1],u=o[2];return i/=95.047,s/=100,u/=108.883,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,u=u>.008856?Math.pow(u,1/3):7.787*u+16/116,e=116*s-16,n=500*(i-s),r=200*(s-u),[e,n,r]},a.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,i];n=u<.5?u*(1+a):u+a-u*a,e=2*u-n,o=[0,0,0];for(var c=0;c<3;c++)r=s+1/3*-(c-1),r<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},a.hsl.hsv=function(t){var e,n,r=t[0],o=t[1]/100,i=t[2]/100,s=o,a=Math.max(i,.01);return i*=2,o*=i<=1?i:2-i,s*=a<=1?a:2-a,n=(i+o)/2,e=0===i?2*s/(a+s):2*o/(i+o),[r,100*e,100*n]},a.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]}},a.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,e=(2-i)*a,n=i*a,n/=e<=1?e:2-e,n=n||0,r/=2,[o,100*n,100*r]},a.hwb.rgb=function(t){var e,n,r,o,i=t[0]/360,s=t[1]/100,a=t[2]/100,u=s+a;u>1&&(s/=u,a/=u),e=Math.floor(6*i),n=1-a,r=6*i-e,0!=(1&e)&&(r=1-r),o=s+r*(n-s);var c,l,f;switch(e){default:case 6:case 0:c=n,l=o,f=s;break;case 1:c=o,l=n,f=s;break;case 2:c=s,l=n,f=o;break;case 3:c=s,l=o,f=n;break;case 4:c=o,l=s,f=n;break;case 5:c=n,l=s,f=o}return[255*c,255*l,255*f]},a.cmyk.rgb=function(t){var e,n,r,o=t[0]/100,i=t[1]/100,s=t[2]/100,a=t[3]/100;return e=1-Math.min(1,o*(1-a)+a),n=1-Math.min(1,i*(1-a)+a),r=1-Math.min(1,s*(1-a)+a),[255*e,255*n,255*r]},a.xyz.rgb=function(t){var e,n,r,o=t[0]/100,i=t[1]/100,s=t[2]/100;return e=3.2406*o+-1.5372*i+-.4986*s,n=-.9689*o+1.8758*i+.0415*s,r=.0557*o+-.204*i+1.057*s,e=e>.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,e=Math.min(Math.max(0,e),1),n=Math.min(Math.max(0,n),1),r=Math.min(Math.max(0,r),1),[255*e,255*n,255*r]},a.xyz.lab=function(t){var e,n,r,o=t[0],i=t[1],s=t[2];return o/=95.047,i/=100,s/=108.883,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,e=116*i-16,n=500*(o-i),r=200*(i-s),[e,n,r]},a.lab.xyz=function(t){var e,n,r,o=t[0],i=t[1],s=t[2];n=(o+16)/116,e=i/500+n,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,[e,n,r]},a.lab.lch=function(t){var e,n,r,o=t[0],i=t[1],s=t[2];return e=Math.atan2(s,i),n=360*e/2/Math.PI,n<0&&(n+=360),r=Math.sqrt(i*i+s*s),[o,r,n]},a.lch.lab=function(t){var e,n,r,o=t[0],i=t[1],s=t[2];return r=s/360*2*Math.PI,e=i*Math.cos(r),n=i*Math.sin(r),[o,e,n]},a.rgb.ansi16=function(t){var e=t[0],n=t[1],r=t[2],o=1 in arguments?arguments[1]:a.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},a.hsv.ansi16=function(t){return a.rgb.ansi16(a.hsv.rgb(t),t[2])},a.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)},a.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,e];var n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},a.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}t-=16;var n;return[Math.floor(t/36)/5*255,Math.floor((n=t%36)/6)/5*255,n%6/5*255]},a.rgb.hex=function(t){var e=((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2])),n=e.toString(16).toUpperCase();return"000000".substring(n.length)+n},a.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]},a.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,n%=1,[360*n,100*u,100*e]},a.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),r<1&&(o=(n-.5*r)/(1-r)),[t[0],100*r,100*o]},a.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]},a.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=[0,0,0],i=e%1*6,s=i%1,a=1-s,u=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=a,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=a,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=a}return u=(1-n)*r,[255*(n*o[0]+u),255*(n*o[1]+u),255*(n*o[2]+u)]},a.hcg.hsv=function(t){var e=t[1]/100,n=t[2]/100,r=e+n*(1-e),o=0;return r>0&&(o=e/r),[t[0],100*o,100*r]},a.hcg.hsl=function(t){var e=t[1]/100,n=t[2]/100,r=n*(1-e)+.5*e,o=0;return r>0&&r<.5?o=e/(2*r):r>=.5&&r<1&&(o=e/(2*(1-r))),[t[0],100*o,100*r]},a.hcg.hwb=function(t){var e=t[1]/100,n=t[2]/100,r=e+n*(1-e);return[t[0],100*(r-e),100*(1-r)]},a.hwb.hcg=function(t){var e=t[1]/100,n=t[2]/100,r=1-n,o=r-e,i=0;return o<1&&(i=(r-o)/(1-o)),[t[0],100*o,100*i]},a.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},a.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},a.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},a.gray.hsl=a.gray.hsv=function(t){return[0,0,t[0]]},a.gray.hwb=function(t){return[0,100,t[0]]},a.gray.cmyk=function(t){return[0,0,0,t[0]]},a.gray.lab=function(t){return[t[0],0,0]},a.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),n=(e<<16)+(e<<8)+e,r=n.toString(16).toUpperCase();return"000000".substring(r.length)+r},a.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}},function(t,e,n){"use strict";function r(t){return"function"==typeof t}function o(t){return null!=t&&"object"===(void 0===t?"undefined":On(t))}function i(){try{return wn.apply(this,arguments)}catch(t){return Sn.e=t,Sn}}function s(t){return wn=t,i}function a(t){return t.reduce(function(t,e){return t.concat(e instanceof En?e.errors:e)},[])}function u(t){return t instanceof Nn||"syncErrorThrowable"in t&&t[Cn]}function c(t,e,n){if(t){if(t instanceof Nn)return t;if(t[Cn])return t[Cn]()}return t||e||n?new Nn(t,e,n):new Nn(Pn)}function l(){}function f(t){return t?1===t.length?t[0]:function(e){return t.reduce(function(t,e){return e(t)},e)}:l}function h(t){var e=!0;return t.forEach(function(t){var n=window.Modernizr[t];e=e&&n}),e}function p(){this.style.display="none",this.style.visibility="hidden"}function d(){for(;this.firstChild;)this.removeChild(this.firstChild)}function y(t,e,n){return qn.create(function(r){var o=t.animate(e,n);return o.addEventListener("finish",function(t){r.next(t),requestAnimationFrame(r.complete.bind(r))}),function(){"finished"!==o.playState&&o.cancel()}})}function b(){var t=void 0,e=void 0,n=new Promise(function(n,r){t=n,e=r});return n.resolve=t,n.reject=e,n}function v(t,e){t.outerHTML=window.katex.renderToString(e,{displayMode:"math/tex; mode=display"===t.type})}function m(t,e){try{var n=t.previousElementSibling;v(t,e),n&&n.classList&&n.classList.contains("MathJax_Preview")&&p.call(n)}catch(t){console.error(t)}finally{t.style.willChange=""}}function g(t){return t.textContent.replace("% <![CDATA[","").replace("%]]>","")}function w(t){Bn.call(t,function(t){m(t,g(t))})}function _(){if(Xn){var t=document.querySelectorAll('script[type^="math/tex"]');t.length&&($n&&Vn?w(t):(window.loadJSDeferred(document.getElementById("_katexJS").href,function(){($n=!0)&&Vn&&_()}),window.loadCSS(document.getElementById("_katexCSS").href).onload=function(){Vn=!0,$n&&Vn&&_()}))}}function x(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function O(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function S(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function j(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function E(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function k(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function T(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function P(t){return t&&"function"==typeof t.schedule}function A(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}function C(t,e,n,r){var i=new Nr(t,n,r);if(i.closed)return null;if(e instanceof qn)return e._isScalar?(i.next(e.value),i.complete(),null):(i.syncErrorThrowable=!0,e.subscribe(i));if(Cr(e)){for(var s=0,a=e.length;s<a&&!i.closed;s++)i.next(e[s]);i.closed||i.complete()}else{if(A(e))return e.then(function(t){i.closed||(i.next(t),i.complete())},function(t){return i.error(t)}).then(null,function(t){_n.a.setTimeout(function(){throw t})}),i;if(e&&"function"==typeof e[Mr])for(var u=e[Mr]();;){var c=u.next();if(c.done){i.complete();break}if(i.next(c.value),i.closed)break}else if(e&&"function"==typeof e[In]){var l=e[In]();if("function"==typeof l.subscribe)return l.subscribe(new Nr(t,n,r));i.error(new TypeError("Provided object does not correctly implement Symbol.observable"))}else{var f=o(e)?"an invalid object":"'"+e+"'",h="You provided "+f+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.";i.error(new TypeError(h))}}return null}function M(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=null,r=null;return P(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(n=t.pop()),1===t.length&&xn(t[0])&&(t=t[0]),new Tr(t,r).lift(new qr(n))}function R(t){return!!t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}function N(t){return!!t&&"function"==typeof t.on&&"function"==typeof t.off}function L(t){return!!t&&"[object NodeList]"===Wr.call(t)}function I(t){return!!t&&"[object HTMLCollection]"===Wr.call(t)}function q(t){return!!t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}function D(t,e,n){return void 0===n&&(n=Number.POSITIVE_INFINITY),function(r){return"number"==typeof e&&(n=e,e=null),r.lift(new Yr(t,e,n))}}function F(t){return t}function U(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),D(F,null,t)}function H(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=Number.POSITIVE_INFINITY,r=null,o=t[t.length-1];return P(o)?(r=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(n=t.pop())):"number"==typeof o&&(n=t.pop()),null===r&&1===t.length&&t[0]instanceof qn?t[0]:U(n)(new Tr(t,r))}function z(t,e,n){return function(r){return r.lift(new to(t,e,n))}}function B(t,e){return function(n){return n.lift(new ro(t,e))}}function W(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new so(t,e))}}function X(){return function(t){return t.lift(new co)}}function $(t){return function(e){return e.lift(new ho(t))}}function V(t){return function(e){return e.lift(new bo(t))}}function Y(){return function(t){return t.lift(new go(t))}}function J(t,e){return function(n){var r;if(r="function"==typeof t?t:function(){return t},"function"==typeof e)return n.lift(new Eo(r,e));var o=Object.create(n,So);return o.source=n,o.subjectFactory=r,o}}function K(){return new fr}function G(){return function(t){return Y()(J(K)(t))}}function Z(t){var e=t.value,n=t.subscriber;n.closed||(n.next(e),n.complete())}function Q(t){var e=t.err,n=t.subscriber;n.closed||n.error(e)}function tt(t){var e=t[Mr];if(!e&&"string"==typeof t)return new Mo(t);if(!e&&void 0!==t.length)return new Ro(t);if(!e)throw new TypeError("object is not iterable");return t[Mr]()}function et(t){var e=+t.length;return isNaN(e)?0:0!==e&&nt(e)?(e=rt(e)*Math.floor(Math.abs(e)),e<=0?0:e>No?No:e):e}function nt(t){return"number"==typeof t&&_n.a.isFinite(t)}function rt(t){var e=+t;return 0===e?e:isNaN(e)?e:e<0?-1:1}function ot(){return U(1)}function it(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return 1===t.length||2===t.length&&P(t[1])?Xo(t[0]):ot()(ko.apply(void 0,t))}function st(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){var n=t[t.length-1];P(n)?t.pop():n=null;var r=t.length;return 1===r?it(new Sr(t[0],n),e):r>1?it(new Tr(t,n),e):it(new Er(n),e)}}function at(t,e){return function(n){return n.lift(new Vo(t,e))}}function ut(t){return function(e){return 0===t?new Er:e.lift(new Zo(t))}}function ct(t){return function(e){return e.lift(new ei(t))}}function lt(t){return void 0===t&&(t=li),W(function(e){return new fi(e,t.now())})}function ft(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){var n;"function"==typeof t[t.length-1]&&(n=t.pop());var r=t;return e.lift(new pi(r,n))}}function ht(t,e,n,r,o){return qn.create(function(i){var s=void 0,a=requestAnimationFrame(function u(c){s=s||c;var l=c-s;l<r?(i.next(t(l,e,n,r,o)),a=requestAnimationFrame(u)):(i.next(t(r,e,n,r,o)),a=requestAnimationFrame(function(){return i.complete()}))});return function(){a&&cancelAnimationFrame(a)}})}function pt(t,e,n,r){return n*Math.sin(t/r*(Math.PI/2))+e}function dt(t){return Array.isArray(t)?t:Array.from(t)}function yt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bt(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function vt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function mt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gt(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function wt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function _t(t){return function(e){return e.lift(new Ei(t))}}function xt(t){return function(e){return e.lift(new Pi(t))}}function Ot(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function St(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function jt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function Et(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kt(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function Tt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function Pt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function At(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function Ct(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function Mt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rt(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function Nt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function Lt(t,e){return t?t(e):e}function It(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return t.replace(/([a-z\d])([A-Z])/g,"$1"+e+"$2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1"+e+"$2").toLowerCase()}function qt(t){for(var e=t,n=!1,r=!1,o=!1,i=0;i<e.length;i++){var s=e.charAt(i);n&&/[a-zA-Z]/.test(s)&&s.toUpperCase()===s?(e=e.substr(0,i)+"-"+e.substr(i),n=!1,o=r,r=!0,i++):r&&o&&/[a-zA-Z]/.test(s)&&s.toLowerCase()===s?(e=e.substr(0,i-1)+"-"+e.substr(i-1),o=r,r=!1,n=!0):(n=s.toLowerCase()===s,o=r,r=s.toUpperCase()===s)}return e}function Dt(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=[].map.call(e,function(t){return t.trim()}).filter(function(t){return t.length}).join("-");return 0===r.length?"":1===r.length?r.toLowerCase():(r=qt(r),r.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,function(t,e){return e.toUpperCase()}))}function Ft(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ut(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function Ht(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function zt(){var t="function"==typeof window.HTMLElement?window.HTMLElement:function(){};return Reflect.construct(t,[],this.__proto__.constructor)}function Bt(t){return document.createRange().createContextualFragment(t)}function Wt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xt(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function $t(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function Vt(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function Yt(){var t=window.matchMedia(Qi).matches;window._isDesktop!==t&&(window._isDesktop=t,window._drawer.persistent=t,window._drawer.opened=t)}function Jt(t){window._isDesktop||(t.preventDefault(),window._drawer.toggle())}function Kt(){return Un&&!navigator.standalone?[35,135]:[0,150]}function Gt(t){for(var e=this;e!==document&&e!==document.documentElement;){if(os.call(e,t))return e;e=e.parentNode}return null}function Zt(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 Qt(t){var e=t.hash,n=t.origin,r=t.pathname,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location;return""!==e&&n===o.origin&&r===o.pathname}function te(){var t=document.documentElement,e=document.body,n="scrollHeight";return t[n]||e[n]}function ee(){return window.pageYOffset||document.body.scrollTop}function ne(t){return document.createRange().createContextualFragment(t)}function re(){if(_n.a.XMLHttpRequest)return new _n.a.XMLHttpRequest;if(_n.a.XDomainRequest)return new _n.a.XDomainRequest;throw new Error("CORS is not supported by your browser")}function oe(){if(_n.a.XMLHttpRequest)return new _n.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 _n.a.ActiveXObject(t))break}catch(t){}return new _n.a.ActiveXObject(t)}catch(t){throw new Error("XMLHttpRequest is not supported by your browser")}}function ie(t,e){return void 0===e&&(e=null),new us({method:"GET",url:t,headers:e})}function se(t,e,n){return new us({method:"POST",url:t,body:e,headers:n})}function ae(t,e){return new us({method:"DELETE",url:t,headers:e})}function ue(t,e,n){return new us({method:"PUT",url:t,body:e,headers:n})}function ce(t,e,n){return new us({method:"PATCH",url:t,body:e,headers:n})}function le(t,e){return as(new us({method:"GET",url:t,responseType:"json",headers:e}))}function fe(t,e){switch(t){case"json":return"response"in e?e.responseType?e.response:JSON.parse(e.response||e.responseText||"null"):JSON.parse(e.responseText||"null");case"xml":return e.responseXML;case"text":default:return"response"in e?e.response:e.responseText}}function he(t){return function(e){var n=new ys(t),r=e.lift(n);return n.caught=r}}function pe(t,e){return function(n){return n.lift(new ms(t,e))}}function de(t,e){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=t,n.thisArg=e,n}function ye(t,e){return function(n){return[B(t,e)(n),B(de(t,e))(n)]}}function be(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ve(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function me(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function ge(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function we(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _e(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function xe(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function Oe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Se(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function je(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function Ee(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function ke(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return function(e){return e.lift.call(Te.apply(void 0,[e].concat(t)))}}function Te(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var n=t[t.length-1];return"function"==typeof n&&t.pop(),new Tr(t).lift(new Ps(n))}function Pe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ae(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function Ce(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function Me(t,e){return D(t,e,1)}function Re(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ne(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function Le(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function Ie(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qe(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function De(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function Fe(t){return!xn(t)&&t-parseFloat(t)+1>=0}function Ue(t){return t instanceof Date&&!isNaN(+t)}function He(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ze(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function Be(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function We(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xe(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function $e(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function Ve(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ye(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function Je(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function Ke(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ge(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function Ze(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function Qe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tn(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function en(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function nn(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function rn(t){t.debouncedNext()}function on(t){return function(e){return e.lift(new xa(t))}}function sn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function an(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.color,n=void 0===e?"#4fb1ba":e,r=t.themeColor;if(this.themeColor&&(this.themeColor.content=r||n),this.rules)try{var o=ga()(n),i=o.darken(.1);this.rules[0].style.color=n,this.rules[0].style.borderColor=o.fade(Pa).string(),this.rules[1].style.borderColor=n,this.rules[2].style.outlineColor=n,this.rules[3].style.backgroundColor=n,this.rules[3].style.borderColor=n,this.rules[4].style.boxShadow="0 0 0 3px "+o.fade(.5),this.rules[5].style.backgroundColor=i,this.rules[5].style.borderColor=i,this.rules[6].style.backgroundColor=n,this.rules[6].style.borderColor=n,this.rules[7].style.backgroundColor=i,this.rules[7].style.borderColor=i,this.rules[this.rules.length-1].style.backgroundColor=n}catch(t){console.error(t)}}function un(t){var e=t.background,n=t.color,r=t.image,o=t.overlay;return""+n+(r||e)+(""===o?"overlay":"")}function cn(t){var e=t.background,n=t.image;if(e||!n||""===n||"none"===n||n===this.prevImage)return ko({});var r=new Image,o=$r(r,"load").pipe(ut(1),on(function(){r.src=""}));return r.src=n,o}function ln(){window.DISQUS.reset({reload:!0,config:function(){this.page.url=window.location.href,this.page.title=document.title}})}function fn(){document.getElementById("disqus_thread")&&(window.DISQUS?ln():(window.disqus_config=function(){this.page.url=window.location.href,this.page.title=document.title},window.loadJSDeferred(document.getElementById("_disqusJS").href)))}function hn(t,e,n,r){var o=r.animationMain,i=r.settings;if(!o)return t;var s=t.pipe(B(function(t){return"title"===t.flipType}),at(function(t){var e=t.anchor;if(!e)return ko({});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 ko({});d.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,y(n,[{transform:"translate3d("+l+"px, "+f+"px, 0) scale("+h+")"},{transform:"translate3d(0, 0, 0) scale(1)"}],i).pipe(z({complete:function(){o.style.position="absolute"}}))}));return t.pipe(at(function(t){var r=t.flipType;return e.pipe(B(function(){return"title"===r}),W(function(t){var e=Ma(t.replaceEls,1),n=e[0],r=n.querySelector(Ra);return r&&(r.style.opacity=0),r}),ke(n,function(t){return t}),z(function(t){t&&(t.style.opacity=1),o.style.opacity=0}),on(function(){o.style.opacity=0}))})).subscribe(),s}function pn(t){var e=document.getElementById("_permalink-template"),n=document.importNode(e.content,!0);n.querySelector(".permalink").href="#"+t.id,t.appendChild(n)}function dn(t,e){var n=e.pathname,r=document.getElementById("_error-template"),o=document.importNode(r.content,!0),i=o.querySelector(".this-link");return i&&(i.href=n,i.textContent=n),t.appendChild(o),t.lastElementChild}function yn(t){return t&&t.classList?t.classList.contains("flip-title")?"title":t.classList.contains("flip-project")?"project":t.getAttribute&&t.getAttribute("data-flip"):null}function bn(t){return"push"===t||navigator.standalone||!Fn}function vn(){return!Fn||!!navigator.standalone}function mn(t){var e=t.type,n=t.main;return bn(e)?y(n,za,Wa).pipe(_t({main:n})):ko({main:n})}function gn(t){var e=t.type,n=La(t.replaceEls,1),r=n[0],o=t.flipType;return bn(e)?y(r,Ba,Wa).pipe(_t({main:r,flipType:o})):ko({main:r,flipType:o})}Object.defineProperty(e,"__esModule",{value:!0});var wn,_n=(n(29),n(30),n(31),n(32),n(33),n(14),n(4),n(0)),xn=Array.isArray||function(t){return t&&"number"==typeof t.length},On="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},Sn={e:{}},jn=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},En=function(t){function e(e){t.call(this),this.errors=e;var n=Error.call(this,e?e.length+" errors occurred during unsubscription:\n "+e.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"");this.name=n.name="UnsubscriptionError",this.stack=n.stack,this.message=n.message}return jn(e,t),e}(Error),kn="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},Tn=function(){function t(t){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return t.prototype.unsubscribe=function(){var t,e=!1;if(!this.closed){var n=this,i=n._parent,u=n._parents,c=n._unsubscribe,l=n._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var f=-1,h=u?u.length:0;i;)i.remove(this),i=++f<h&&u[f]||null;if(r(c)){var p=s(c).call(this);p===Sn&&(e=!0,t=t||(Sn.e instanceof En?a(Sn.e.errors):[Sn.e]))}if(xn(l))for(f=-1,h=l.length;++f<h;){var d=l[f];if(o(d)){var p=s(d.unsubscribe).call(d);if(p===Sn){e=!0,t=t||[];var y=Sn.e;y instanceof En?t=t.concat(a(y.errors)):t.push(y)}}}if(e)throw new En(t)}},t.prototype.add=function(e){if(!e||e===t.EMPTY)return t.EMPTY;if(e===this)return this;var n=e;switch(void 0===e?"undefined":kn(e)){case"function":n=new t(e);case"object":if(n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if("function"!=typeof n._addParent){var r=n;n=new t,n._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(n),n._addParent(this),n},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},t.prototype._addParent=function(t){var e=this,n=e._parent,r=e._parents;n&&n!==t?r?-1===r.indexOf(t)&&r.push(t):this._parents=[t]:this._parent=t},t.EMPTY=function(t){return t.closed=!0,t}(new t),t}(),Pn={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}},An=_n.a.Symbol,Cn="function"==typeof An&&"function"==typeof An.for?An.for("rxSubscriber"):"@@rxSubscriber",Mn="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},Rn=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Nn=function(t){function e(e,n,r){switch(t.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=Pn;break;case 1:if(!e){this.destination=Pn;break}if("object"===(void 0===e?"undefined":Mn(e))){if(u(e)){var o=e[Cn]();this.syncErrorThrowable=o.syncErrorThrowable,this.destination=o,o.add(this)}else this.syncErrorThrowable=!0,this.destination=new Ln(this,e);break}default:this.syncErrorThrowable=!0,this.destination=new Ln(this,e,n,r)}}return Rn(e,t),e.prototype[Cn]=function(){return this},e.create=function(t,n,r){var o=new e(t,n,r);return o.syncErrorThrowable=!1,o},e.prototype.next=function(t){this.isStopped||this._next(t)},e.prototype.error=function(t){this.isStopped||(this.isStopped=!0,this._error(t))},e.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},e.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this))},e.prototype._next=function(t){this.destination.next(t)},e.prototype._error=function(t){this.destination.error(t),this.unsubscribe()},e.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},e.prototype._unsubscribeAndRecycle=function(){var t=this,e=t._parent,n=t._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=n,this},e}(Tn),Ln=function(t){function e(e,n,o,i){t.call(this),this._parentSubscriber=e;var s,a=this;r(n)?s=n:n&&(s=n.next,o=n.error,i=n.complete,n!==Pn&&(a=Object.create(n),r(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=s,this._error=o,this._complete=i}return Rn(e,t),e.prototype.next=function(t){if(!this.isStopped&&this._next){var e=this._parentSubscriber;e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}},e.prototype.error=function(t){if(!this.isStopped){var e=this._parentSubscriber;if(this._error)e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else{if(!e.syncErrorThrowable)throw this.unsubscribe(),t;e.syncErrorValue=t,e.syncErrorThrown=!0,this.unsubscribe()}}},e.prototype.complete=function(){var t=this;if(!this.isStopped){var e=this._parentSubscriber;if(this._complete){var n=function(){return t._complete.call(t._context)};e.syncErrorThrowable?(this.__tryOrSetError(e,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}},e.prototype.__tryOrUnsub=function(t,e){try{t.call(this._context,e)}catch(t){throw this.unsubscribe(),t}},e.prototype.__tryOrSetError=function(t,e,n){try{e.call(this._context,n)}catch(e){return t.syncErrorValue=e,t.syncErrorThrown=!0,!0}return!1},e.prototype._unsubscribe=function(){var t=this._parentSubscriber;this._context=null,this._parentSubscriber=null,t.unsubscribe()},e}(Nn),In=function(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}(_n.a),qn=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var n=new t;return n.source=this,n.operator=e,n},t.prototype.subscribe=function(t,e,n){var r=this.operator,o=c(t,e,n);if(r?r.call(o,this.source):o.add(this.source||!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.syncErrorThrown=!0,t.syncErrorValue=e,t.error(e)}},t.prototype.forEach=function(t,e){var n=this;if(e||(_n.a.Rx&&_n.a.Rx.config&&_n.a.Rx.config.Promise?e=_n.a.Rx.config.Promise:_n.a.Promise&&(e=_n.a.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,r){var o;o=n.subscribe(function(e){if(o)try{t(e)}catch(t){r(t),o.unsubscribe()}else t(e)},r,e)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[In]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return 0===t.length?this:f(t)(this)},t.prototype.toPromise=function(t){var e=this;if(t||(_n.a.Rx&&_n.a.Rx.config&&_n.a.Rx.config.Promise?t=_n.a.Rx.config.Promise:_n.a.Promise&&(t=_n.a.Promise)),!t)throw new Error("no Promise impl found");return new t(function(t,n){var r;e.subscribe(function(t){return r=t},function(t){return n(t)},function(){return t(r)})})},t.create=function(e){return new t(e)},t}(),Dn=navigator.userAgent.toLowerCase(),Fn=Dn.indexOf("safari")>0&&Dn.indexOf("chrome")<0,Un=Fn&&Dn.indexOf("mobile")>0,Hn=Dn.indexOf("ucbrowser")>0,zn=Dn.indexOf("fxios")>0&&Dn.indexOf("safari")>0,Bn=Array.prototype.forEach,Wn=["classlist","eventlistener","queryselector"],Xn=h(Wn),$n=!1,Vn=!1;_();var Yn="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)}),t.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=void 0;return(n=t.has(e))&&(t.size--,t.splice(t.indexOf(e),1)),n},t.clear=function(){for(;t.pop(););t.size=0},t},Jn=function t(e,n){x(this,t),this.setupComponent(e,n),this.connectComponent()},Kn=function(t,e){function n(t){"string"==typeof t?this.appendChild(e(t)):this.appendChild(t)}return function(r,o,i){var s=t(r);for(var a in o)s.setAttribute(a,o[a]);if(i)if("string"==typeof i)s.appendChild(e(i));else if(i.length){var u=Array.prototype.slice.call(i,0);Array.prototype.forEach.call(u,n,s)}else s.appendChild(i);return s}},Gn=Kn(document.createElement.bind(document),document.createTextNode.bind(document)),Zn=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Qn=new Yn(["customevent"]),tr=Symbol||function(t){return"_"+t},er=tr("sroot"),nr=tr("state");window.process=window.process||{},window.process.env=window.process.env||{};var rr=function t(){j(this,t)},or=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:rr;return function(t){function e(){return j(this,e),O(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return S(e,t),Zn(e,[{key:"setupComponent",value:function(t,e){var n=this.constructor.defaults;this[nr]=Object.assign({},n,e),this.setupProperties(this),this[er]=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[er]}},{key:"getEl",value:function(){return this[er]}},{key:"fireEvent",value:function(t,e){var n=this.constructor.componentName,r=new CustomEvent(n+"-"+t,e);this.el.dispatchEvent(r)}},{key:"setInternalState",value:function(t,e){this[nr][t]=e}},{key:"setupProperties",value:function(){var t=this,e=this.constructor.sideEffects;Object.keys(this[nr]).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[nr][t]},set:function(r){var o=n[nr][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()}}]),e}(t)},ir=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},sr=function(t){function e(){var e=t.call(this,"object unsubscribed");this.name=e.name="ObjectUnsubscribedError",this.stack=e.stack,this.message=e.message}return ir(e,t),e}(Error),ar=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},ur=function(t){function e(e,n){t.call(this),this.subject=e,this.subscriber=n,this.closed=!1}return ar(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},e}(Tn),cr=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},lr=function(t){function e(e){t.call(this,e),this.destination=e}return cr(e,t),e}(Nn),fr=function(t){function e(){t.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return cr(e,t),e.prototype[Cn]=function(){return new lr(this)},e.prototype.lift=function(t){var e=new hr(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new sr;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].next(t)},e.prototype.error=function(t){if(this.closed)throw new sr;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,n=e.length,r=e.slice(),o=0;o<n;o++)r[o].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new sr;this.isStopped=!0;for(var t=this.observers,e=t.length,n=t.slice(),r=0;r<e;r++)n[r].complete();this.observers.length=0},e.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},e.prototype._trySubscribe=function(e){if(this.closed)throw new sr;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new sr;return this.hasError?(t.error(this.thrownError),Tn.EMPTY):this.isStopped?(t.complete(),Tn.EMPTY):(this.observers.push(t),new ur(this,t))},e.prototype.asObservable=function(){var t=new qn;return t.source=this,t},e.create=function(t,e){return new hr(t,e)},e}(qn),hr=function(t){function e(e,n){t.call(this),this.destination=e,this.source=n}return cr(e,t),e.prototype.next=function(t){var e=this.destination;e&&e.next&&e.next(t)},e.prototype.error=function(t){var e=this.destination;e&&e.error&&this.destination.error(t)},e.prototype.complete=function(){var t=this.destination;t&&t.complete&&this.destination.complete()},e.prototype._subscribe=function(t){return this.source?this.source.subscribe(t):Tn.EMPTY},e}(fr),pr=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),dr=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var s=o.get;if(void 0!==s)return s.call(r)},yr=function(t){return function(t){function e(){return E(this,e),k(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return T(e,t),pr(e,[{key:"setupComponent",value:function(t,n){var r=this;this.subjects={};var o={};this.subjects.disconnect=new fr,this.subjects.adapt=new fr;var i=this.constructor.types;Object.keys(i).map(function(t){r.subjects[t]=new fr,o[t]=function(e){return r.subjects[t].next(e)}}),Object.defineProperty(this.constructor,"sideEffects",{get:function(){return o},set:function(){},enumerable:!0,configurable:!0}),dr(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"setupComponent",this).call(this,t,n)}},{key:"connectComponent",value:function(){var t=this;dr(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"connectComponent",this).call(this),this.subjects.adapt.next(document);var n=this.constructor.types;Object.keys(n).map(function(e){t.subjects[e].next(t[e])})}},{key:"disconnectComponent",value:function(){this.subjects.disconnect.next({}),dr(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"disconnectComponent",this).call(this)}},{key:"adaptComponent",value:function(){this.subjects.adapt.next(document),dr(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"adaptComponent",this).call(this)}}],[{key:"sideEffects",get:function(){}}]),e}(t)},br=function(t){return null==t?null:t.trim().replace(/^\[?(.*?)\]?$/,"$1").split(",").map(function(t){return t.trim()})||null};br.stringify=function(t){return t&&t.length>0?t.join(","):null};var vr=function(t){var e=function(e){if(null==e)return null;var n=br(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)?br.stringify(n):null},e},mr=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)};mr.stringify=function(t){return t?"":null};var gr=function(t){return null==t?null:Number(t)};gr.stringify=function(t){return null==t?null:""+t};var wr=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},_r=function(t){if(null==t)return null;var e=t.trim&&t.trim()||t,n=e.match(/^\/?(.*?)(\/([gimy]*))?$/);return new RegExp(n[1],n[3])};_r.stringify=function(t){return t&&t.toString()||null};var xr=function(t){return t};xr.stringify=function(t){return t};var Or=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Sr=function(t){function e(e,n){t.call(this),this.value=e,this.scheduler=n,this._isScalar=!0,n&&(this._isScalar=!1)}return Or(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.done,n=t.value,r=t.subscriber;if(e)return void r.complete();r.next(n),r.closed||(t.done=!0,this.schedule(t))},e.prototype._subscribe=function(t){var n=this.value,r=this.scheduler;if(r)return r.schedule(e.dispatch,0,{done:!1,value:n,subscriber:t});t.next(n),t.closed||t.complete()},e}(qn),jr=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Er=function(t){function e(e){t.call(this),this.scheduler=e}return jr(e,t),e.create=function(t){return new e(t)},e.dispatch=function(t){t.subscriber.complete()},e.prototype._subscribe=function(t){var n=this.scheduler;if(n)return n.schedule(e.dispatch,0,{subscriber:t});t.complete()},e}(qn),kr=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Tr=function(t){function e(e,n){t.call(this),this.array=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return kr(e,t),e.create=function(t,n){return new e(t,n)},e.of=function(){for(var t=[],n=0;n<arguments.length;n++)t[n-0]=arguments[n];var r=t[t.length-1];P(r)?t.pop():r=null;var o=t.length;return o>1?new e(t,r):1===o?new Sr(t[0],r):new Er(r)},e.dispatch=function(t){var e=t.array,n=t.index,r=t.count,o=t.subscriber;if(n>=r)return void o.complete();o.next(e[n]),o.closed||(t.index=n+1,this.schedule(t))},e.prototype._subscribe=function(t){var n=this.array,r=n.length,o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{array:n,index:0,count:r,subscriber:t});for(var i=0;i<r&&!t.closed;i++)t.next(n[i]);t.complete()},e}(qn),Pr=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Ar=function(t){function e(){t.apply(this,arguments)}return Pr(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}(Nn),Cr=function(t){return t&&"number"==typeof t.length},Mr=function(t){var e=t.Symbol;if("function"==typeof e)return e.iterator||(e.iterator=e("iterator polyfill")),e.iterator;var n=t.Set;if(n&&"function"==typeof(new n)["@@iterator"])return"@@iterator";var r=t.Map;if(r)for(var o=Object.getOwnPropertyNames(r.prototype),i=0;i<o.length;++i){var s=o[i];if("entries"!==s&&"size"!==s&&r.prototype[s]===r.prototype.entries)return s}return"@@iterator"}(_n.a),Rr=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Nr=function(t){function e(e,n,r){t.call(this),this.parent=e,this.outerValue=n,this.outerIndex=r,this.index=0}return Rr(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}(Nn),Lr=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Ir={},qr=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new Dr(t,this.project))},t}(),Dr=function(t){function e(e,n){t.call(this,e),this.project=n,this.active=0,this.values=[],this.observables=[]}return Lr(e,t),e.prototype._next=function(t){this.values.push(Ir),this.observables.push(t)},e.prototype._complete=function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n<e;n++){var r=t[n];this.add(C(this,r,r,n))}}},e.prototype.notifyComplete=function(t){0==(this.active-=1)&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,o){var i=this.values,s=i[n],a=this.toRespond?s===Ir?--this.toRespond:this.toRespond:0;i[n]=e,0===a&&(this.project?this._tryProject(i):this.destination.next(i.slice()))},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}(Ar),Fr=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Ur=function(t){function e(e){t.call(this),this.observableFactory=e}return Fr(e,t),e.create=function(t){return new e(t)},e.prototype._subscribe=function(t){return new Hr(t,this.observableFactory)},e}(qn),Hr=function(t){function e(e,n){t.call(this,e),this.factory=n,this.tryDefer()}return Fr(e,t),e.prototype.tryDefer=function(){try{this._callFactory()}catch(t){this._error(t)}},e.prototype._callFactory=function(){var t=this.factory();t&&this.add(C(this,t))},e}(Ar),zr=Ur.create,Br=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Wr=Object.prototype.toString,Xr=function(t){function e(e,n,r,o){t.call(this),this.sourceObj=e,this.eventName=n,this.selector=r,this.options=o}return Br(e,t),e.create=function(t,n,o,i){return r(o)&&(i=o,o=void 0),new e(t,n,i,o)},e.setupSubscription=function(t,n,r,o,i){var s;if(L(t)||I(t))for(var a=0,u=t.length;a<u;a++)e.setupSubscription(t[a],n,r,o,i);else if(q(t)){var c=t;t.addEventListener(n,r,i),s=function(){return c.removeEventListener(n,r,i)}}else if(N(t)){var l=t;t.on(n,r),s=function(){return l.off(n,r)}}else{if(!R(t))throw new TypeError("Invalid event target");var f=t;t.addListener(n,r),s=function(){return f.removeListener(n,r)}}o.add(new Tn(s))},e.prototype._subscribe=function(t){var n=this.sourceObj,r=this.eventName,o=this.options,i=this.selector,a=i?function(){for(var e=[],n=0;n<arguments.length;n++)e[n-0]=arguments[n];var r=s(i).apply(void 0,e);r===Sn?t.error(Sn.e):t.next(r)}:function(e){return t.next(e)};e.setupSubscription(n,r,a,t,o)},e}(qn),$r=Xr.create,Vr=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Yr=function(){function t(t,e,n){void 0===n&&(n=Number.POSITIVE_INFINITY),this.project=t,this.resultSelector=e,this.concurrent=n}return t.prototype.call=function(t,e){return e.subscribe(new Jr(t,this.project,this.resultSelector,this.concurrent))},t}(),Jr=function(t){function e(e,n,r,o){void 0===o&&(o=Number.POSITIVE_INFINITY),t.call(this,e),this.project=n,this.resultSelector=r,this.concurrent=o,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return Vr(e,t),e.prototype._next=function(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)},e.prototype._tryNext=function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(t){return void this.destination.error(t)}this.active++,this._innerSub(e,t,n)},e.prototype._innerSub=function(t,e,n){this.add(C(this,t,e,n))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,o){this.resultSelector?this._notifyResultSelector(t,e,n,r):this.destination.next(e)},e.prototype._notifyResultSelector=function(t,e,n,r){var o;try{o=this.resultSelector(t,e,n,r)}catch(t){return void this.destination.error(t)}this.destination.next(o)},e.prototype.notifyComplete=function(t){var e=this.buffer;this.remove(t),this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(Ar),Kr=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Gr=function(t){function e(){t.call(this)}return Kr(e,t),e.create=function(){return new e},e.prototype._subscribe=function(t){l()},e}(qn),Zr=Gr.create,Qr=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},to=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 eo(t,this.nextOrObserver,this.error,this.complete))},t}(),eo=function(t){function e(e,n,r,o){t.call(this,e);var i=new Nn(n,r,o);i.syncErrorThrowable=!0,this.add(i),this.safeSubscriber=i}return Qr(e,t),e.prototype._next=function(t){var e=this.safeSubscriber;e.next(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.next(t)},e.prototype._error=function(t){var e=this.safeSubscriber;e.error(t),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.error(t)},e.prototype._complete=function(){var t=this.safeSubscriber;t.complete(),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.complete()},e}(Nn),no=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},ro=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new oo(t,this.predicate,this.thisArg))},t}(),oo=function(t){function e(e,n,r){t.call(this,e),this.predicate=n,this.thisArg=r,this.count=0}return no(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}(Nn),io=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},so=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new ao(t,this.project,this.thisArg))},t}(),ao=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.count=0,this.thisArg=r||this}return io(e,t),e.prototype._next=function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(Nn),uo=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},co=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new lo(t))},t}(),lo=function(t){function e(e){t.call(this,e),this.hasPrev=!1}return uo(e,t),e.prototype._next=function(t){this.hasPrev?this.destination.next([this.prev,t]):this.hasPrev=!0,this.prev=t},e}(Nn),fo=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},ho=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new po(t,this.notifier,e))},t}(),po=function(t){function e(e,n,r){t.call(this,e),this.notifier=n,this.source=r,this.sourceIsBeingSubscribedTo=!0}return fo(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.sourceIsBeingSubscribedTo=!0,this.source.subscribe(this)},e.prototype.notifyComplete=function(e){if(!1===this.sourceIsBeingSubscribedTo)return t.prototype.complete.call(this)},e.prototype.complete=function(){if(this.sourceIsBeingSubscribedTo=!1,!this.isStopped){if(this.retries||this.subscribeToRetries(),!this.retriesSubscription||this.retriesSubscription.closed)return t.prototype.complete.call(this);this._unsubscribeAndRecycle(),this.notifications.next()}},e.prototype._unsubscribe=function(){var t=this,e=t.notifications,n=t.retriesSubscription;e&&(e.unsubscribe(),this.notifications=null),n&&(n.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype._unsubscribeAndRecycle=function(){var e=this,n=e.notifications,r=e.retries,o=e.retriesSubscription;return this.notifications=null,this.retries=null,this.retriesSubscription=null,t.prototype._unsubscribeAndRecycle.call(this),this.notifications=n,this.retries=r,this.retriesSubscription=o,this},e.prototype.subscribeToRetries=function(){this.notifications=new fr;var e=s(this.notifier)(this.notifications);if(e===Sn)return t.prototype.complete.call(this);this.retries=e,this.retriesSubscription=C(this,e)},e}(Ar),yo=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},bo=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){var n=new vo(t),r=e.subscribe(n);return r.add(C(n,this.notifier)),r},t}(),vo=function(t){function e(){t.apply(this,arguments),this.hasValue=!1}return yo(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}(Ar),mo=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},go=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var n=this.connectable;n._refCount++;var r=new wo(t,n),o=e.subscribe(r);return r.closed||(r.connection=n.connect()),o},t}(),wo=function(t){function e(e,n){t.call(this,e),this.connectable=n}return mo(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(!t)return void(this.connection=null);this.connectable=null;var e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()},e}(Nn),_o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},xo=function(t){function e(e,n){t.call(this),this.source=e,this.subjectFactory=n,this._refCount=0,this._isComplete=!1}return _o(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 Tn,t.add(this.source.subscribe(new jo(this.getSubject(),this))),t.closed?(this._connection=null,t=Tn.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return Y()(this)},e}(qn),Oo=xo.prototype,So={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:Oo._subscribe},_isComplete:{value:Oo._isComplete,writable:!0},getSubject:{value:Oo.getSubject},connect:{value:Oo.connect},refCount:{value:Oo.refCount}},jo=function(t){function e(e,n){t.call(this,e),this.connectable=n}return _o(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}(lr),Eo=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}(),ko=Tr.of,To=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Po=function(t){function e(e,n){t.call(this),this.promise=e,this.scheduler=n}return To(e,t),e.create=function(t,n){return new e(t,n)},e.prototype._subscribe=function(t){var e=this,n=this.promise,r=this.scheduler;if(null==r)this._isScalar?t.closed||(t.next(this.value),t.complete()):n.then(function(n){e.value=n,e._isScalar=!0,t.closed||(t.next(n),t.complete())},function(e){t.closed||t.error(e)}).then(null,function(t){_n.a.setTimeout(function(){throw t})});else if(this._isScalar){if(!t.closed)return r.schedule(Z,0,{value:this.value,subscriber:t})}else n.then(function(n){e.value=n,e._isScalar=!0,t.closed||t.add(r.schedule(Z,0,{value:n,subscriber:t}))},function(e){t.closed||t.add(r.schedule(Q,0,{err:e,subscriber:t}))}).then(null,function(t){_n.a.setTimeout(function(){throw t})})},e}(qn),Ao=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Co=function(t){function e(e,n){if(t.call(this),this.scheduler=n,null==e)throw new Error("iterator cannot be null.");this.iterator=tt(e)}return Ao(e,t),e.create=function(t,n){return new e(t,n)},e.dispatch=function(t){var e=t.index,n=t.hasError,r=t.iterator,o=t.subscriber;if(n)return void o.error(t.error);var i=r.next();return i.done?void o.complete():(o.next(i.value),t.index=e+1,o.closed?void("function"==typeof r.return&&r.return()):void this.schedule(t))},e.prototype._subscribe=function(t){var n=this,r=n.iterator,o=n.scheduler;if(o)return o.schedule(e.dispatch,0,{index:0,iterator:r,subscriber:t});for(;;){var i=r.next();if(i.done){t.complete();break}if(t.next(i.value),t.closed){"function"==typeof r.return&&r.return();break}}},e}(qn),Mo=function(){function t(t,e,n){void 0===e&&(e=0),void 0===n&&(n=t.length),this.str=t,this.idx=e,this.len=n}return t.prototype[Mr]=function(){return this},t.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.str.charAt(this.idx++)}:{done:!0,value:void 0}},t}(),Ro=function(){function t(t,e,n){void 0===e&&(e=0),void 0===n&&(n=et(t)),this.arr=t,this.idx=e,this.len=n}return t.prototype[Mr]=function(){return this},t.prototype.next=function(){return this.idx<this.len?{done:!1,value:this.arr[this.idx++]}:{done:!0,value:void 0}},t}(),No=Math.pow(2,53)-1,Lo=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Io=function(t){function e(e,n){t.call(this),this.arrayLike=e,this.scheduler=n,n||1!==e.length||(this._isScalar=!0,this.value=e[0])}return Lo(e,t),e.create=function(t,n){var r=t.length;return 0===r?new Er:1===r?new Sr(t[0],n):new e(t,n)},e.dispatch=function(t){var e=t.arrayLike,n=t.index,r=t.length,o=t.subscriber;if(!o.closed){if(n>=r)return void o.complete();o.next(e[n]),t.index=n+1,this.schedule(t)}},e.prototype._subscribe=function(t){var n=this,r=n.arrayLike,o=n.scheduler,i=r.length;if(o)return o.schedule(e.dispatch,0,{arrayLike:r,index:0,length:i,subscriber:t});for(var s=0;s<i&&!t.closed;s++)t.next(r[s]);t.complete()},e}(qn),qo=function(){function t(t,e,n){this.kind=t,this.value=e,this.error=n,this.hasValue="N"===t}return t.prototype.observe=function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}},t.prototype.do=function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}},t.prototype.accept=function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)},t.prototype.toObservable=function(){switch(this.kind){case"N":return qn.of(this.value);case"E":return qn.throw(this.error);case"C":return qn.empty()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return t.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}(),Do=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Fo=function(){function t(t,e){void 0===e&&(e=0),this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return e.subscribe(new Uo(t,this.scheduler,this.delay))},t}(),Uo=function(t){function e(e,n,r){void 0===r&&(r=0),t.call(this,e),this.scheduler=n,this.delay=r}return Do(e,t),e.dispatch=function(t){var e=t.notification,n=t.destination;e.observe(n),this.unsubscribe()},e.prototype.scheduleMessage=function(t){this.add(this.scheduler.schedule(e.dispatch,this.delay,new Ho(t,this.destination)))},e.prototype._next=function(t){this.scheduleMessage(qo.createNext(t))},e.prototype._error=function(t){this.scheduleMessage(qo.createError(t))},e.prototype._complete=function(){this.scheduleMessage(qo.createComplete())},e}(Nn),Ho=function(){function t(t,e){this.notification=t,this.destination=e}return t}(),zo="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},Bo=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Wo=function(t){function e(e,n){t.call(this,null),this.ish=e,this.scheduler=n}return Bo(e,t),e.create=function(t,n){if(null!=t){if("function"==typeof t[In])return t instanceof qn&&!n?t:new e(t,n);if(xn(t))return new Tr(t,n);if(A(t))return new Po(t,n);if("function"==typeof t[Mr]||"string"==typeof t)return new Co(t,n);if(Cr(t))return new Io(t,n)}throw new TypeError((null!==t&&(void 0===t?"undefined":zo(t))||t)+" is not observable")},e.prototype._subscribe=function(t){var e=this.ish,n=this.scheduler;return null==n?e[In]().subscribe(t):e[In]().subscribe(new Uo(t,n,0))},e}(qn),Xo=Wo.create,$o=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Vo=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new Yo(t,this.project,this.resultSelector))},t}(),Yo=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.resultSelector=r,this.index=0}return $o(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(),this.add(this.innerSubscription=C(this,t,e,n))},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.resultSelector?this._tryNotifyNext(t,e,n,r):this.destination.next(e)},e.prototype._tryNotifyNext=function(t,e,n,r){var o;try{o=this.resultSelector(t,e,n,r)}catch(t){return void this.destination.error(t)}this.destination.next(o)},e}(Ar),Jo=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Ko=function(t){function e(){var e=t.call(this,"argument out of range");this.name=e.name="ArgumentOutOfRangeError",this.stack=e.stack,this.message=e.message}return Jo(e,t),e}(Error),Go=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Zo=function(){function t(t){if(this.total=t,this.total<0)throw new Ko}return t.prototype.call=function(t,e){return e.subscribe(new Qo(t,this.total))},t}(),Qo=function(t){function e(e,n){t.call(this,e),this.total=n,this.count=0}return Go(e,t),e.prototype._next=function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))},e}(Nn),ti=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},ei=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new ni(t,this.notifier))},t}(),ni=function(t){function e(e,n){t.call(this,e),this.notifier=n,this.add(C(this,n))}return ti(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.complete()},e.prototype.notifyComplete=function(){},e}(Ar),ri=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},oi=function(t){function e(e,n){t.call(this)}return ri(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(Tn),ii=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},si=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n,this.pending=!1}return ii(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t,this.pending=!0;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this},e.prototype.requestAsyncId=function(t,e,n){return void 0===n&&(n=0),_n.a.setInterval(t.flush.bind(t,this),n)},e.prototype.recycleAsyncId=function(t,e,n){return void 0===n&&(n=0),null!==n&&this.delay===n&&!1===this.pending?e:_n.a.clearInterval(e)&&void 0||void 0},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(t){n=!0,r=!!t&&t||new Error(t)}if(n)return this.unsubscribe(),r},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(oi),ai=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=Date.now?Date.now:function(){return+new Date},t}(),ui=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},ci=function(t){function e(){t.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return ui(e,t),e.prototype.flush=function(t){var e=this.actions;if(this.active)return void e.push(t);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}(ai),li=new ci(si),fi=function(){function t(t,e){this.value=t,this.timestamp=e}return t}(),hi=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},pi=function(){function t(t,e){this.observables=t,this.project=e}return t.prototype.call=function(t,e){return e.subscribe(new di(t,this.observables,this.project))},t}(),di=function(t){function e(e,n,r){t.call(this,e),this.observables=n,this.project=r,this.toRespond=[];var o=n.length;this.values=new Array(o);for(var i=0;i<o;i++)this.toRespond.push(i);for(var i=0;i<o;i++){var s=n[i];this.add(C(this,s,s,i))}}return hi(e,t),e.prototype.notifyNext=function(t,e,n,r,o){this.values[n]=e;var i=this.toRespond;if(i.length>0){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}(Ar),yi=function(){function t(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&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),bi=function(t){return function(e){return t.pipe(at(function(t){return t?e:Zr()}))}},vi=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return function(e){return 0===n.length?e.pipe(ft(t),B(function(t){return yi(t,2)[1]}),W(function(t){return yi(t,1)[0]})):e.pipe(ft.apply(void 0,[t].concat(n)),B(function(t){return dt(t).slice(1).every(function(t){return t})}),W(function(t){return yi(t,1)[0]}))}},mi=function(){function t(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&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),gi=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),wi=Math.min.bind(Math),_i=Math.max.bind(Math),xi=function(t){return function(t){function e(){return yt(this,e),bt(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return vt(e,t),gi(e,[{key:"calcIsInRange",value:function(t,e){switch(this.align){case"left":return t>this.range[0]&&(e||t<this.range[1]);case"right":return t<window.innerWidth-this.range[0]&&(e||t>window.innerWidth-this.range[1]);default:throw Error()}}},{key:"calcIsSwipe",value:function(t){var e=mi(t,3),n=e[0].clientX,r=e[1].clientX,o=e[2];return n!==r||o>0&&o<this.drawerWidth}},{key:"calcWillOpen",value:function(t){var e=mi(t,4),n=e[2],r=e[3];switch(this.align){case"left":return r>.15||!(r<-.15)&&n>=this.drawerWidth/2;case"right":return-r>.15||!(-r<-.15)&&n<=-this.drawerWidth/2;default:throw Error()}}},{key:"calcTranslateX",value:function(t,e,n){switch(this.align){case"left":var r=t-e,o=n+r;return _i(0,wi(this.drawerWidth,o));case"right":var i=t-e,s=n+i;return wi(0,_i(-this.drawerWidth,s));default:throw Error()}}},{key:"calcMovableDrawerWidth",value:function(){return-parseFloat(getComputedStyle(this.contentEl)[this.align])}}]),e}(t)},Oi=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Si=function(t){return function(t){function e(){return mt(this,e),gt(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return wt(e,t),Oi(e,[{key:"histId",value:function(){return this.el.id||this.constructor.componentName}},{key:"prepareInteraction",value:function(){this.contentEl.style.willChange="transform",this.scrimEl.style.willChange="opacity",this.contentEl.classList.remove("hy-drawer-opened"),this.fireEvent("prepare")}},{key:"cleanupInteraction",value:function(t){this.scrimEl.style.willChange="",this.contentEl.style.willChange="",t?(this.scrimEl.style.pointerEvents="all",this.contentEl.classList.add("hy-drawer-opened")):(this.scrimEl.style.pointerEvents="",this.contentEl.classList.remove("hy-drawer-opened")),this.fireEvent("transitioned",{detail:t})}},{key:"updateDOM",value:function(t){this.translateX=t;var e="left"===this.align?1:-1,n=this.opacity=t/this.drawerWidth*e;this.contentEl.style.transform="translateX("+t+"px)",this.scrimEl.style.opacity=this.opacity,this.fireEvent("move",{detail:{translateX:t,opacity:n}})}}]),e}(t)},ji=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Ei=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new ki(t,this.value))},t}(),ki=function(t){function e(e,n){t.call(this,e),this.value=n}return ji(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(Nn),Ti=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Pi=function(){function t(t){this.predicate=t}return t.prototype.call=function(t,e){return e.subscribe(new Ai(t,this.predicate))},t}(),Ai=function(t){function e(e,n){t.call(this,e),this.predicate=n,this.skipping=!0,this.index=0}return Ti(e,t),e.prototype._next=function(t){var e=this.destination;this.skipping&&this.tryCallPredicate(t),this.skipping||e.next(t)},e.prototype.tryCallPredicate=function(t){try{var e=this.predicate(t,this.index++);this.skipping=Boolean(e)}catch(t){this.destination.error(t)}},e}(Nn),Ci=function(){function t(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&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Mi=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Ri=Math.abs.bind(Math),Ni=function(t){return function(t){function e(){return Ot(this,e),St(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return jt(e,t),Mi(e,[{key:"getStartObservable",value:function(){return M(this.subjects.adapt,this.subjects.mouseEvents).pipe(at(function(t){var e=Ci(t,2),n=e[0],r=e[1],o=$r(n,"touchstart",{passive:!0}).pipe(B(function(t){return 1===t.touches.length}),W(function(t){return t.touches[0]}));return r?H(o,$r(n,"mousedown").pipe(z(function(t){return Object.assign(t,{event:t})}))):o}))}},{key:"getMoveObservable",value:function(t,e){return M(this.subjects.adapt,this.subjects.mouseEvents,this.subjects.preventDefault).pipe(at(function(n){var r=Ci(n,3),o=r[0],i=r[1],s=r[2],a={passive:!s},u=$r(o,"touchmove",a).pipe(W(function(t){return Object.assign(t.touches[0],{event:t})}));return i?H(u,$r(o,"mousemove",{passive:!s}).pipe(bi(H(t.pipe(_t(!0)),e.pipe(_t(!1)))),W(function(t){return Object.assign(t,{event:t})}))):u}))}},{key:"getEndObservable",value:function(){return M(this.subjects.adapt,this.subjects.mouseEvents).pipe(at(function(t){var e=Ci(t,2),n=e[0],r=e[1],o=$r(n,"touchend",{passive:!0}).pipe(B(function(t){return 0===t.touches.length}),W(function(t){return t.changedTouches[0]}));return r?H(o,$r(n,"mouseup",{passive:!0})):o}))}},{key:"getIsSlidingObservable",value:function(t,e){var n=this;return this.threshold?t.pipe(ft(e),xt(function(t){var e=Ci(t,2),r=e[0],o=r.clientX,i=r.clientY,s=e[1],a=s.clientX,u=s.clientY;return Ri(u-i)<n.threshold&&Ri(a-o)<n.threshold}),W(function(t){var e=Ci(t,2),n=e[0],r=n.clientX,o=n.clientY,i=e[1],s=i.clientX,a=i.clientY;return Ri(s-r)>=Ri(a-o)})):t.pipe(ft(e),W(function(t){var e=Ci(t,2),r=e[0],o=r.clientX,i=r.clientY,s=r.event,a=e[1],u=a.clientX,c=a.clientY,l=Ri(u-o)>=Ri(c-i);return n.preventDefault&&l&&s.preventDefault(),l}))}}]),e}(t)},Li=function(){function t(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&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Ii=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),qi=function(t){return function(t){function e(){return Et(this,e),kt(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return Tt(e,t),Ii(e,[{key:"setupObservables",value:function(){var t=this;$r(window,"resize",{passive:!0}).pipe(ct(this.subjects.disconnect),G(),st({})).pipe(ct(this.subjects.disconnect)).subscribe(function(){t.opened&&t.contentEl.classList.remove("hy-drawer-opened"),t.drawerWidth=t.calcMovableDrawerWidth(),t.opened&&t.contentEl.classList.add("hy-drawer-opened")});var e=this.subjects.persistent.pipe(ct(this.subjects.disconnect),W(function(t){return!t}),G()),n={},r=this.getStartObservable().pipe(ct(this.subjects.disconnect),vi(e),G()),o=zr(function(){return n.translateX$.pipe(W(function(e){return"left"===t.align?e>0:e<t.drawerWidth}))}),i=r.pipe(ft(o),W(function(e){var n=Li(e,2),r=n[0].clientX,o=n[1];return t.calcIsInRange(r,o)}),z(function(e){e&&(t.mouseEvents&&t.contentEl.classList.add("hy-drawer-grabbing"),t.prepareInteraction())}),G()),s=this.getEndObservable().pipe(ct(this.subjects.disconnect),vi(e,i),G()),a=this.getMoveObservable(r,s).pipe(ct(this.subjects.disconnect),vi(e,i),G()),u=this.getIsSlidingObservable(a,r).pipe(ut(1),st(void 0),$(function(){return s}),z(function(e){e&&t.fireEvent("slidestart",{detail:t.opened})}));n.translateX$=zr(function(){return H(a.pipe(vi(u),z(function(e){var n=e.event;t.preventDefault&&n.preventDefault()}),ft(r,n.startTranslateX$),W(function(e){var n=Li(e,3),r=n[0].clientX,o=n[1].clientX,i=n[2];return t.calcTranslateX(r,o,i)})),n.tween$,M(t.subjects.opened,t.subjects.align).pipe(z(function(e){var n=Li(e,1),r=n[0];return t.cleanupInteraction(r)}),W(function(e){var n=Li(e,2),r=n[0],o=n[1];return r?t.drawerWidth*("left"===o?1:-1):0})))}).pipe(ct(this.subjects.disconnect),G()),n.startTranslateX$=n.translateX$.pipe(V(r));var c=n.translateX$.pipe(lt(),X(),B(function(t){var e=Li(t,2),n=e[0].timestamp;return e[1].timestamp-n>0}),W(function(t){var e=Li(t,2),n=e[0],r=n.value,o=n.timestamp,i=e[1];return(i.value-r)/(i.timestamp-o)}),st(0)),l=s.pipe(z(function(){t.contentEl.classList.remove("hy-drawer-grabbing")}),ft(r,n.translateX$,c),B(this.calcIsSwipe.bind(this)),W(this.calcWillOpen.bind(this)),z(function(e){return t.fireEvent("slideend",{detail:e})})),f=H(l,this.animateTo$.pipe(z(this.prepareInteraction.bind(this))));n.tween$=f.pipe(z(function(e){t.setInternalState("opened",e)}),ft(n.translateX$),at(function(e){var n=Li(e,2),o=n[0],i=n[1],s="left"===t.align?1:-1;return ht(pt,i,(o?t.drawerWidth*s:0)-i,200+.15*t.drawerWidth).pipe(z({complete:function(){return t.subjects.opened.next(o)}}),ct(r),ct(t.subjects.align))})),n.translateX$.subscribe(this.updateDOM.bind(this)),$r(this.scrimEl,"click").pipe(ct(this.subjects.disconnect)).subscribe(function(){return t.close()}),e.pipe(ct(this.subjects.disconnect)).subscribe(function(e){t.scrimEl.style.display=e?"block":"none"}),this.subjects.align.pipe(ct(this.subjects.disconnect)).subscribe(function(e){var n="left"===e?"right":"left";t.contentEl.classList.remove("hy-drawer-"+n),t.contentEl.classList.add("hy-drawer-"+e)}),this.subjects.mouseEvents.pipe(ct(this.subjects.disconnect),at(function(e){return e?t.contentEl.classList.add("hy-drawer-grab"):t.contentEl.classList.remove("hy-drawer-grab"),e?r.pipe(ft(i)):Zr()})).subscribe(function(t){var e=Li(t,2),n=e[0].event;e[1]&&n&&n.preventDefault()})}}]),e}(Ni(Si(xi(t))))},Di=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Fi=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var s=o.get;if(void 0!==s)return s.call(r)},Ui=new Yn([].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(Qn),["eventlistener","queryselector","requestanimationframe","classlist","opacity","csstransforms","csspointerevents"]));window.process=window.process||{},window.process.env=window.process.env||{};var Hi=function(t){return function(t){function e(){return Pt(this,e),At(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return Ct(e,t),Di(e,[{key:"setupComponent",value:function(t,n){Fi(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"setupComponent",this).call(this,t,n),this.animateTo$=new fr,this.scrimEl=this.sroot.querySelector(".hy-drawer-scrim"),this.contentEl=this.sroot.querySelector(".hy-drawer-content"),this.contentEl.classList.add("hy-drawer-"+this.align)}},{key:"connectComponent",value:function(){this.setupObservables(),Fi(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"connectComponent",this).call(this),this.fireEvent("init",{detail:this.opened})}},{key:"open",value:function(){arguments.length>0&&void 0!==arguments[0]&&!arguments[0]?this.opened=!0:this.animateTo$.next(!0)}},{key:"close",value:function(){arguments.length>0&&void 0!==arguments[0]&&!arguments[0]?this.opened=!1:this.animateTo$.next(!1)}},{key:"toggle",value:function(){arguments.length>0&&void 0!==arguments[0]&&!arguments[0]?this.opened=!this.opened:this.animateTo$.next(!this.opened)}}],[{key:"componentName",get:function(){return"hy-drawer"}},{key:"types",get:function(){return{opened:mr,align:wr(["left","right"]),persistent:mr,range:vr(gr),threshold:gr,preventDefault:mr,mouseEvents:mr}}},{key:"defaults",get:function(){return{opened:!1,align:"left",persistent:!1,range:[0,100],threshold:10,preventDefault:!1,mouseEvents:!1}}}]),e}(qi(yr(or(t))))},zi=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Bi=Ui,Wi=function(t){function e(){return Mt(this,e),Rt(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return Nt(e,t),zi(e,[{key:"setupShadowDOM",value:function(t){if(!t)throw Error("No element provided");var e=new DocumentFragment;return e.appendChild(Gn("div",{class:"hy-drawer-scrim"})),e.appendChild(Gn("div",{class:"hy-drawer-content"},t.children)),t.appendChild(e),t}}]),e}(Hi(Jn)),Xi=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var s=o.get;if(void 0!==s)return s.call(r)},$i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Vi=new Yn([].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(Qn),["template","customelements"])),Yi=null,Ji=function(t){return function(t){function e(){var t;Ft(this,e);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=Ut(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(r)));return i.setupComponent(i,i.getStateFromAttributes()),i}return Ht(e,t),$i(e,null,[{key:"getObservedAttributes",value:function(){var t=this.types;return Object.keys(t).map(function(t){return It(t)})}}]),$i(e,[{key:"reflectAttribute",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=It(t);n&&(Yi=r);var o=this.constructor.types,i=o[t],s=i.stringify(e);null==s?this.removeAttribute(r):this.setAttribute(r,s)}},{key:"getStateFromAttributes",value:function(){var t=this,e=this.constructor.types,n={};return Object.keys(e).forEach(function(r){var o=It(r),i=t.hasAttribute(o)?t.getAttribute(o):null,s=Lt(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(Yi===t)Yi=null;else if(e!==n){var r=this.constructor.types,o=Dt(t),i=Lt(r[o],n);this[o]=null!=i?i:this.constructor.defaults[o]}}},{key:"setInternalState",value:function(t,n){Xi(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"setInternalState",this).call(this,t,n),this.reflectAttribute(t,n,!0)}},{key:"setupShadowDOM",value:function(t){var e=this.getTemplate();if(e){if("attachShadow"in Element.prototype)return t.attachShadow({mode:"open"}),t.shadowRoot.appendChild(e),t.shadowRoot;throw Error("ShadowDOM API not supported")}return t}},{key:"getEl",value:function(){return this}},{key:"getTemplate",value:function(){var t=this.constructor.componentName;return document.querySelector('link[href*="'+t+'"]').import.querySelector("#"+t+"-template").content.cloneNode(!0)}},{key:"template",get:function(){return this.getTemplate()}}]),e}(t)};Object.setPrototypeOf&&(Object.setPrototypeOf(zt.prototype,HTMLElement.prototype),Object.setPrototypeOf(zt,HTMLElement));var Ki=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Gi=(new Yn([].concat(Vt(Vi),Vt(Ui))),function(t){function e(){return Wt(this,e),Xt(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return $t(e,t),Ki(e,[{key:"getTemplate",value:function(){return Bt('<div class="hy-drawer-scrim"></div> <div class="hy-drawer-content"> <slot></slot> </div> <style> @media screen { .hy-drawer-scrim { position: fixed; top: 0; left: 0; height: 100vh; width: 100vw; z-index: 20; opacity: 0; pointer-events: none; background: rgba(0, 0, 0, 0.5); transform: translateX(0); -webkit-tap-highlight-color: transparent; } .hy-drawer-content { position: fixed; top: 0; height: 100vh; z-index: 30; overflow-x: hidden; overflow-y: auto; transform: translateX(0); width: 300px; background: #e8e8e8; box-shadow: 0 0 15px rgba(0, 0, 0, 0.25); contain: strict; -webkit-overflow-scrolling: touch; } .hy-drawer-content.hy-drawer-left { left: -300px; } .hy-drawer-content.hy-drawer-right { right: -300px; } .hy-drawer-content.hy-drawer-left.hy-drawer-opened { left: 0 !important; transform: translateX(0) !important; } .hy-drawer-content.hy-drawer-right.hy-drawer-opened { right: 0 !important; transform: translateX(0) !important; } .hy-drawer-grab { cursor: move; cursor: -webkit-grab; cursor: -moz-grab; cursor: grab; } .hy-drawer-grabbing { cursor: -webkit-grabbing; cursor: -moz-grabbing; cursor: grabbing; } } @media print { .hy-drawer-scrim { display: none !important; } .hy-drawer-content { transform: none !important; } } @media screen { .hy-drawer-content { @apply --hy-drawer-content-container; width: var(--hy-drawer-width, 300px); background: var(--hy-drawer-background, #e8e8e8); box-shadow: var(--hy-drawer-box-shadow, 0 0 15px rgba(0, 0, 0, 0.25)); z-index: var(--hy-drawer-z-index, 30); } .hy-drawer-content.hy-drawer-left { left: calc( -1 * var(--hy-drawer-slide-width, var(--hy-drawer-width, 300px)) ); } .hy-drawer-content.hy-drawer-right { right: calc( -1 * var(--hy-drawer-slide-width, var(--hy-drawer-width, 300px)) ); } .hy-drawer-scrim { @apply --hy-drawer-scrim-container; background: var(--hy-drawer-scrim-background, rgba(0, 0, 0, 0.5)); z-index: var(--hy-drawer-scrim-z-index, 20); } } </style>')}}],[{key:"observedAttributes",get:function(){return this.getObservedAttributes()}}]),e}(Ji(Hi(zt)))),Zi=(n(50),new Yn([].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(Bi),["cssremunit","classlist","eventlistener","matchmedia"]))),Qi="(min-width: 64em)";if(!window._noDrawer&&h(Zi)&&!Hn){var ts=document.getElementsByTagName("hy-drawer")[0],es=document.getElementById("_menu");window._isDesktop=window.matchMedia(Qi).matches,window._drawer="customElements"in window&&"attachShadow"in Element.prototype?function(t){return window._isDesktop&&t.setAttribute("opened",""),window._isDesktop&&t.setAttribute("persistent",""),t.setAttribute("align","left"),t.setAttribute("range",Kt().join(",")),t.setAttribute("threshold",Fn?0:10),t.setAttribute("prevent-default",""),customElements.define("hy-drawer",Gi),t}(ts):function(t){return new Wi(t,{opened:window._isDesktop,persistent:window._isDesktop,align:"left",range:Kt(),threshold:Fn?0:10,preventDefault:!0})}(ts),ts.classList.add("loaded"),es.addEventListener("click",Jt),$r(window,"resize",{passive:!0}).subscribe(Yt)}var ns=(n(55),n(65),window.URL);if(!(ns&&ns.prototype&&"href"in ns.prototype)){ns=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})},ns.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 rs=window.URL||window.webkitURL||window.mozURL;ns.createObjectURL=function(t){return rs.createObjectURL.apply(rs,arguments)},ns.revokeObjectURL=function(t){return rs.revokeObjectURL.apply(rs,arguments)},Object.defineProperty(ns.prototype,"toString",{enumerable:!1})}var os=Element.prototype.matches||Element.prototype.matchesSelector||Element.prototype.msMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.webkitMatchesSelector||Element.prototype.oMatchesSelector,is="push",ss=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},as=W(function(t,e){return t.response}),us=function(t){function e(e){t.call(this);var n={async:!0,createXHR:function(){return this.crossDomain?re.call(this):oe()},crossDomain:!1,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof e)n.url=e;else for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);this.request=n}return ss(e,t),e.prototype._subscribe=function(t){return new cs(t,this.request)},e.create=function(){var t=function(t){return new e(t)};return t.get=ie,t.post=se,t.delete=ae,t.put=ue,t.patch=ce,t.getJSON=le,t}(),e}(qn),cs=function(t){function e(e,n){t.call(this,e),this.request=n,this.done=!1;var r=n.headers=n.headers||{};n.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),"Content-Type"in r||_n.a.FormData&&n.body instanceof _n.a.FormData||void 0===n.body||(r["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),n.body=this.serializeBody(n.body,n.headers["Content-Type"]),this.send()}return ss(e,t),e.prototype.next=function(t){this.done=!0;var e=this,n=e.xhr,r=e.request,o=e.destination,i=new ls(t,n,r);o.next(i)},e.prototype.send=function(){var t=this,e=t.request,n=t.request,r=n.user,o=n.method,i=n.url,a=n.async,u=n.password,c=n.headers,l=n.body,f=e.createXHR,h=s(f).call(e);if(h===Sn)this.error(Sn.e);else{this.xhr=h,this.setupEvents(h,e);if((r?s(h.open).call(h,o,i,a,r,u):s(h.open).call(h,o,i,a))===Sn)return this.error(Sn.e),null;if(a&&(h.timeout=e.timeout,h.responseType=e.responseType),"withCredentials"in h&&(h.withCredentials=!!e.withCredentials),this.setHeaders(h,c),(l?s(h.send).call(h,l):s(h.send).call(h))===Sn)return this.error(Sn.e),null}return h},e.prototype.serializeBody=function(t,e){if(!t||"string"==typeof t)return t;if(_n.a.FormData&&t instanceof _n.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 encodeURI(e)+"="+encodeURI(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){function n(t){var e=n,r=e.subscriber,o=e.progressSubscriber,i=e.request;o&&o.error(t),r.error(new hs(this,i))}function r(t){var e=r,n=e.subscriber,o=e.progressSubscriber,i=e.request;if(4===this.readyState){var s=1223===this.status?204:this.status,a="text"===this.responseType?this.response||this.responseText:this.response;0===s&&(s=a?200:0),200<=s&&s<300?(o&&o.complete(),n.next(t),n.complete()):(o&&o.error(t),n.error(new fs("ajax error "+s,this,i)))}}var o=e.progressSubscriber;if(t.ontimeout=n,n.request=e,n.subscriber=this,n.progressSubscriber=o,t.upload&&"withCredentials"in t){if(o){var i;i=function(t){i.progressSubscriber.next(t)},_n.a.XDomainRequest?t.onprogress=i:t.upload.onprogress=i,i.progressSubscriber=o}var s;s=function(t){var e=s,n=e.progressSubscriber,r=e.subscriber,o=e.request;n&&n.error(t),r.error(new fs("ajax error",this,o))},t.onerror=s,s.request=e,s.subscriber=this,s.progressSubscriber=o}t.onreadystatechange=r,r.subscriber=this,r.progressSubscriber=o,r.request=e},e.prototype.unsubscribe=function(){var e=this,n=e.done,r=e.xhr;!n&&r&&4!==r.readyState&&"function"==typeof r.abort&&r.abort(),t.prototype.unsubscribe.call(this)},e}(Nn),ls=function(){function t(t,e,n){this.originalEvent=t,this.xhr=e,this.request=n,this.status=e.status,this.responseType=e.responseType||n.responseType,this.response=fe(this.responseType,e)}return t}(),fs=function(t){function e(e,n,r){t.call(this,e),this.message=e,this.xhr=n,this.request=r,this.status=n.status,this.responseType=n.responseType||r.responseType,this.response=fe(this.responseType,n)}return ss(e,t),e}(Error),hs=function(t){function e(e,n){t.call(this,"ajax timeout",e,n)}return ss(e,t),e}(fs),ps=us.create,ds=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},ys=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new bs(t,this.selector,this.caught))},t}(),bs=function(t){function e(e,n,r){t.call(this,e),this.selector=n,this.caught=r}return ds(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(),this.add(C(this,n))}},e}(Ar),vs=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},ms=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new gs(t,this.compare,this.keySelector))},t}(),gs=function(t){function e(e,n,r){t.call(this,e),this.keySelector=r,this.hasKey=!1,"function"==typeof n&&(this.compare=n)}return vs(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e=this.keySelector,n=t;if(e&&(n=s(this.keySelector)(t))===Sn)return this.destination.error(Sn.e);var r=!1;if(this.hasKey){if((r=s(this.compare)(this.key,n))===Sn)return this.destination.error(Sn.e)}else this.hasKey=!0;!1===Boolean(r)&&(this.key=n,this.destination.next(t))},e}(Nn),ws=function(t){return function(e){return t.pipe(at(function(t){return t?Zr():e}))}},_s=function(){function t(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&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),xs=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Os=function(t){return function(t){function e(){return be(this,e),ve(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return me(e,t),xs(e,[{key:"histId",value:function(){return this.el.id||this.constructor.componentName}},{key:"shouldLoadAnchor",value:function(t,e){return t&&""===t.target&&(!e||-1!==t.href.search(e))}},{key:"isPushEvent",value:function(t){var e=t.url,n=t.anchor,r=t.event,o=r.metaKey,i=r.ctrlKey;return!o&&!i&&this.shouldLoadAnchor(n,this.hrefRegex)&&!Zt(e,this)}},{key:"isHintEvent",value:function(t){var e=t.url,n=t.anchor;return this.shouldLoadAnchor(n,this.hrefRegex)&&!Zt(e,this)&&!Qt(e,this)}},{key:"isHashChange",value:function(t){var e=_s(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===is&&""!==s)}}]),e}(t)},Ss=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),js=function(t){return function(t){function e(){return we(this,e),_e(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return xe(e,t),Ss(e,[{key:"scrollHashIntoView",value:function(t){if(t){var e=document.getElementById(t.substr(1));e&&e.scrollIntoView()}else window.scroll(window.pageXOffset,0)}},{key:"restoreScrollPostion",value:function(){var t=this.histId(),e=window.history.state&&window.history.state[t]||{};null!=e.scrollTop?(document.body.style.minHeight=e.scrollHeight,window.scroll(window.pageXOffset,e.scrollTop)):e.hash&&this.scrollHashIntoView(window.location.hash)}},{key:"manageScrollPostion",value:function(t){var e=t.type,n=t.url.hash;e===is&&this.scrollHashIntoView(n),"pop"===e&&this.scrollRestoration&&this.restoreScrollPostion()}},{key:"saveScrollPosition",value:function(t){var e=this.histId();return Object.assign(t,ge({},e,Object.assign(t[e]||{},{scrollTop:ee(),scrollHeight:te()})))}}]),e}(t)},Es=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),ks=function(t){return function(t){function e(){return Se(this,e),je(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return Ee(e,t),Es(e,[{key:"updateHistoryState",value:function(t){var e=t.type,n=t.replace,r=t.url,o=r.href,i=r.hash;if((e===is||"init"===e)&&!Zt(this)){var s=this.histId(),a=n||o===window.location.href?"replaceState":"pushState",u=Object.assign(window.history.state||{},Oe({},s,{hash:!!i}));window.history[a](u,document.title,o)}}},{key:"updateHistoryStateHash",value:function(t){var e=t.type,n=t.url,r=n.hash,o=n.href;if(e===is&&!Zt(this)){var i=this.histId(),s=Object.assign(window.history.state,Oe({},i,Object.assign(window.history.state[i],{hash:!0}))),a=Oe({},i,{hash:!0});window.history.replaceState(s,document.title,window.location.href),window.history.pushState(a,document.title,o)}this.scrollHashIntoView(r)}},{key:"updateHistoryTitle",value:function(t){var e=t.type,n=t.title;document.title=n,e!==is||Zt(this)||window.history.replaceState(window.history.state,n,window.location)}},{key:"saveScrollHistoryState",value:function(){if(!Zt(this)){var t=this.saveScrollPosition(window.history.state||{});window.history.replaceState(t,document.title,window.location)}}}]),e}(js(t))},Ts=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Ps=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new As(t,this.project))},t}(),As=function(t){function e(e,n,r){void 0===r&&(r=Object.create(null)),t.call(this,e),this.iterators=[],this.active=0,this.project="function"==typeof n?n:null,this.values=r}return Ts(e,t),e.prototype._next=function(t){var e=this.iterators;xn(t)?e.push(new Ms(t)):"function"==typeof t[Mr]?e.push(new Cs(t[Mr]())):e.push(new Rs(this.destination,this,t))},e.prototype._complete=function(){var t=this.iterators,e=t.length;if(0===e)return void this.destination.complete();this.active=e;for(var n=0;n<e;n++){var r=t[n];r.stillUnsubscribed?this.add(r.subscribe(r,n)):this.active--}},e.prototype.notifyInactive=function(){0===--this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var t=this.iterators,e=t.length,n=this.destination,r=0;r<e;r++){var o=t[r];if("function"==typeof o.hasValue&&!o.hasValue())return}for(var i=!1,s=[],r=0;r<e;r++){var o=t[r],a=o.next();if(o.hasCompleted()&&(i=!0),a.done)return void n.complete();s.push(a.value)}this.project?this._tryProject(s):n.next(s),i&&n.complete()},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}(Nn),Cs=function(){function t(t){this.iterator=t,this.nextResult=t.next()}return t.prototype.hasValue=function(){return!0},t.prototype.next=function(){var t=this.nextResult;return this.nextResult=this.iterator.next(),t},t.prototype.hasCompleted=function(){var t=this.nextResult;return t&&t.done},t}(),Ms=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[Mr]=function(){return this},t.prototype.next=function(t){var e=this.index++,n=this.array;return e<this.length?{value:n[e],done:!1}:{value:null,done:!0}},t.prototype.hasValue=function(){return this.array.length>this.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),Rs=function(t){function e(e,n,r){t.call(this,e),this.parent=n,this.observable=r,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return Ts(e,t),e.prototype[Mr]=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 C(this,this.observable,this,e)},e}(Ar),Ns=function(){function t(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&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Ls=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Is=function(t){return function(t){function e(){return Pe(this,e),Ae(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return Ce(e,t),Ls(e,[{key:"recoverIfResponse",value:function(t,e){var n=e.status,r=e.xhr;return ko(r&&r.response&&n>400?Object.assign(t,{response:r.response}):Object.assign(t,{error:e}))}},{key:"getFetch$",value:function(t,e,n){return t.url.href===e.url.href&&null==e.error?ko(e):n.pipe(ut(1))}},{key:"getResponse",value:function(t,e){var n=Ns(e,2),r=n[0],o=n[1];return this.getFetch$(r,o,t).pipe(W(function(t){return Object.assign(t,r)}),ke(this.animPromise,function(t){return t}))}}]),e}(t)},qs=function(){function t(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&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Ds=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Fs=function(t){return function(t){function e(){return Re(this,e),Ne(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return Le(e,t),Ds(e,[{key:"tempRemoveScriptTags",value:function(t){var e=this,n=[];return t.forEach(function(t){return Array.from(t.querySelectorAll(e.scriptSelector)).forEach(function(t){var e=[t,t.previousSibling];t.parentNode.removeChild(t),n.push(e)})}),n}},{key:"insertScript",value:function(t){var e=qs(t,2),n=e[0],r=e[1],o=document.write;return document.write=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=document.createElement("div");o.innerHTML=e.join(),Array.from(o.childNodes).forEach(function(t){r.parentNode.insertBefore(t,r.nextSibling)})},""!==n.src?qn.create(function(t){n.addEventListener("load",function(e){document.write=o,t.complete(e)}),n.addEventListener("error",function(e){document.write=o,t.error(e)}),r.parentNode.insertBefore(n,r.nextSibling)}):ko({}).pipe(z(function(){r.parentNode.insertBefore(n,r.nextSibling),document.write=o}))}},{key:"reinsertScriptTags",value:function(t){if(!this.scriptSelector)return ko(t);var e=t.scripts;return Xo(e).pipe(Me(this.insertScript.bind(this)),he(function(e){throw Object.assign(t,{error:e})})).toPromise().then(function(){return t})}}]),e}(t)},Us=function(){function t(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&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Hs=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),zs=function(t){return function(t){function e(){return Ie(this,e),qe(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return De(e,t),Hs(e,[{key:"getTitle",value:function(t){return(t.querySelector("title")||{}).textContent}},{key:"getReplaceElements",value:function(t){if(this.replaceIds.length>0)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=t.response,n=ne(e),r=this.getTitle(n),o=this.getReplaceElements(n);if(o.some(function(t){return null==t}))throw Object.assign(t,{replaceElMissing:!0});var i=this.scriptSelector?this.tempRemoveScriptTags(o):[];return Object.assign(t,{title:r,replaceEls:o,scripts:i})}},{key:"replaceContentByIds",value:function(t){this.replaceIds.map(function(t){return document.getElementById(t)}).forEach(function(e,n){e.parentNode.replaceChild(t[n],e)})}},{key:"replaceContentWholesale",value:function(t){var e=Us(t,1),n=e[0];this.el.innerHTML=n.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),Zt(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){}}}},{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){}}}},{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){}}}}]),e}(Fs(t))},Bs=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},Ws=function(t){function e(e,n,r){void 0===e&&(e=0),t.call(this),this.period=-1,this.dueTime=0,Fe(n)?this.period=Number(n)<1&&1||Number(n):P(n)&&(r=n),P(r)||(r=li),this.scheduler=r,this.dueTime=Ue(e)?+e-this.scheduler.now():e}return Bs(e,t),e.create=function(t,n,r){return void 0===t&&(t=0),new e(t,n,r)},e.dispatch=function(t){var e=t.index,n=t.period,r=t.subscriber,o=this;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,o.schedule(t,n)}},e.prototype._subscribe=function(t){var n=this,r=n.period,o=n.dueTime;return n.scheduler.schedule(e.dispatch,o,{index:0,period:r,subscriber:t})},e}(qn),Xs=Ws.create,$s=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Vs=function(t){return function(t){function e(){return He(this,e),ze(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return Be(e,t),$s(e,[{key:"onStart",value:function(t){var e=this;this.animPromise=Xs(this.duration);var n=function(t){e.animPromise=t};this.fireEvent("start",{detail:Object.assign(t,{waitUntil:n})})}},{key:"onDOMError",value:function(t){var e=t.replaceElMissing,n=t.url;if(e){window.history.back(),setTimeout(function(){document.location.href=n},100)}else this.fireEvent("error",{detail:t})}},{key:"onNetworkError",value:function(t){this.fireEvent("networkerror",{detail:t})}},{key:"onError",value:function(t){this.fireEvent("error",{detail:t})}},{key:"onReady",value:function(t){this.fireEvent("ready",{detail:t})}},{key:"onAfter",value:function(t){this.fireEvent("after",{detail:t})}},{key:"onProgress",value:function(t){this.fireEvent("progress",{detail:t})}},{key:"onLoad",value:function(t){this.fireEvent("load",{detail:t})}}]),e}(t)},Ys=function(){function t(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&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Js=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Ks=function(t){return function(t){function e(){return We(this,e),Xe(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return $e(e,t),Js(e,[{key:"compareContext",value:function(t,e){return t.url.href===e.url.href&&t.error===e.error&&t.cacheNr===e.cacheNr}},{key:"setupObservables",value:function(){var t=this;this.cacheNr=1;var e=new fr,n=new fr,r=e.pipe(ct(this.subjects.disconnect),W(function(e){return{type:is,url:new ns(e.currentTarget.href,t.href),anchor:e.currentTarget,event:e,cacheNr:t.cacheNr}}),B(this.isPushEvent.bind(this)),z(function(e){e.event.preventDefault(),t.saveScrollHistoryState()})),o=$r(window,"popstate").pipe(ct(this.subjects.disconnect),B(function(){return window.history.state&&window.history.state[t.histId()]}),W(function(e){return{type:"pop",url:new ns(window.location,t.href),event:e,cacheNr:t.cacheNr}})),i=this.reload$.pipe(ct(this.subjects.disconnect)),s=H(r,o,i).pipe(st({url:new ns(this.initialHref)}),z(function(e){var n=e.url;t._url=n}),X(),G(),ye(this.isHashChange)).map(function(t){return t.pipe(W(function(t){return Ys(t,2)[1]}),G())}),a=Ys(s,2),u=a[0],c=a[1],l=zr(function(){return H(c.pipe(_t(!0)),t.fetch$.pipe(_t(!1)))}).pipe(st(!1),G()),f=n.pipe(ct(this.subjects.disconnect),ws(l),W(function(e){return{type:"hint",url:new ns(e.currentTarget.href,t.href),anchor:e.currentTarget,event:e,cacheNr:t.cacheNr}}),B(this.isHintEvent.bind(this))),h=H(f,c).pipe(pe(this.compareContext.bind(this)),at(function(e){return ps({method:"GET",responseType:"text",url:e.url,crossDomain:Zt(t)}).pipe(W(function(t){var n=t.response;return Object.assign(e,{response:n})}),he(function(n){return t.recoverIfResponse(e,n)}))}),st({url:{}}),G());this.fetch$=c.pipe(z(function(e){t.updateHistoryState(e),t.onStart(e)}),ft(h),at(this.getResponse.bind(this,h)),G());var p=this.fetch$.pipe(ye(function(t){return!t.error})),d=Ys(p,2),y=d[0],b=d[1];if(y.pipe(W(this.responseToContent.bind(this)),z(function(e){t.onReady(e),t.updateDOM(e),t.onAfter(e),t.manageScrollPostion(e)}),z({error:function(e){return t.onDOMError(e)}}),he(function(t,e){return e}),at(this.reinsertScriptTags.bind(this)),z({error:function(e){return t.onError(e)}}),he(function(t,e){return e})).subscribe(this.onLoad.bind(this)),u.subscribe(this.updateHistoryStateHash.bind(this)),b.subscribe(this.onNetworkError.bind(this)),c.pipe(at(function(e){return zr(function(){return t.animPromise}).pipe(ct(t.fetch$),_t(e))})).subscribe(this.onProgress.bind(this)),"MutationObserver"in window&&"WeakSet"in window){var v=new WeakSet,m=e.next.bind(e),g=n.next.bind(n),w=function(t){v.has(t)||(v.add(t),t.addEventListener("click",m),t.addEventListener("mouseenter",g,{passive:!0}),t.addEventListener("touchstart",g,{passive:!0}),t.addEventListener("focus",g,{passive:!0}))},_=function(e){e instanceof Element&&(os.call(e,t.linkSelector)?w(e):Array.from(e.querySelectorAll(t.linkSelector)).forEach(w))},x=function(t){v.delete(t),t.removeEventListener("click",m),t.removeEventListener("mouseenter",g,{passive:!0}),t.removeEventListener("touchstart",g,{passive:!0}),t.removeEventListener("focus",g,{passive:!0})},O=function(e){e instanceof Element&&(os.call(e,t.linkSelector)?x(e):Array.from(e.querySelectorAll(t.linkSelector)).forEach(x))};qn.create(function(e){var n=e.next.bind(e);t.mutationObserver=new MutationObserver(function(t){return Array.from(t).forEach(n)}),t.mutationObserver.observe(t.el,{childList:!0,subtree:!0})}).subscribe(function(e){var n=e.addedNodes,r=e.removedNodes;Array.from(r).forEach(O.bind(t)),Array.from(n).forEach(_.bind(t))}),this.subjects.linkSelector.subscribe(function(){Array.from(v).forEach(x),_.call(t,t.el)})}else this.el.addEventListener("click",function(n){var r=Gt.call(n.target,t.linkSelector);r&&r.href&&(n.currentTarget=r,e.next(n))})}}]),e}(Vs(zs(Is(ks(Os(t))))))},Gs=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Zs=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var s=o.get;if(void 0!==s)return s.call(r)},Qs=new Yn([].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(Qn),["documentfragment","eventlistener","history","promises","queryselector","requestanimationframe"]));DocumentFragment.prototype.getElementById=DocumentFragment.prototype.getElementById||function(t){return this.querySelector("#"+t)},window.process=window.process||{},window.process.env=window.process.env||{};var ta=function(t){return function(t){function e(){return Ve(this,e),Ye(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return Je(e,t),Gs(e,[{key:"setupComponent",value:function(t,n){Zs(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"setupComponent",this).call(this,t,n),this.saveScrollHistoryState=this.saveScrollHistoryState.bind(this),this.reload$=new fr}},{key:"setupShadowDOM",value:function(t){return t}},{key:"connectComponent",value:function(){if("scrollRestoration"in window.history){var t=window.history.scrollRestoration;this.subjects.scrollRestoration.pipe(ct(this.subjects.disconnect)).subscribe(function(e){window.history.scrollRestoration=e?"manual":t})}this.restoreScrollPostion(),window.addEventListener("beforeunload",this.saveScrollHistoryState),this.setupObservables(),Zs(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"connectComponent",this).call(this);var n=new ns(this.initialHref);this.updateHistoryState({type:"init",replace:!0,url:n});var r=this.getReplaceElements(document);Zt(this)&&this.rewriteURLs(r),this.fireEvent("init"),this.onLoad({type:"init",title:this.getTitle(document),replaceEls:r,url:n,cacheNr:this.cacheNr})}},{key:"disconnectComponent",value:function(){Zs(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"disconnectComponent",this).call(this),window.removeEventListener("beforeunload",this.saveScrollHistoryState)}},{key:"assign",value:function(t){this.reload$.next({type:is,url:new ns(t,this.href),cacheNr:++this.cacheNr})}},{key:"reload",value:function(){this.reload$.next({type:is,cacheNr:++this.cacheNr,url:new ns(this.href),replace:!0})}},{key:"replace",value:function(t){this.reload$.next({type:is,url:new ns(t,this.href),cacheNr:++this.cacheNr,replace:!0})}},{key:"hash",get:function(){return this._url.hash}},{key:"host",get:function(){return this._url.host}},{key:"hostname",get:function(){return this._url.hostname}},{key:"href",get:function(){return this._url.href}},{key:"origin",get:function(){return this._url.origin}},{key:"pathname",get:function(){return this._url.pathname}},{key:"port",get:function(){return this._url.port}},{key:"protocol",get:function(){return this._url.protocol}},{key:"search",get:function(){return this._url.search}}],[{key:"componentName",get:function(){return"hy-push-state"}},{key:"types",get:function(){return{replaceIds:br,linkSelector:xr,scrollRestoration:mr,duration:gr,hrefRegex:_r,scriptSelector:xr,initialHref:xr}}},{key:"defaults",get:function(){return{replaceIds:[],linkSelector:"a[href]:not(.no-push-state)",scrollRestoration:!1,duration:0,hrefRegex:null,scriptSelector:null,initialHref:window.location.href}}}]),e}(Ks(yr(or(t))))},ea=Qs,na=function(t){function e(){return Ke(this,e),Ge(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return Ze(e,t),e}(ta(Jn)),ra=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),oa=(new Yn([].concat(nn(Vi),nn(Qs))),function(t){function e(){return Qe(this,e),tn(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return en(e,t),ra(e,[{key:"getTemplate",value:function(){return null}}],[{key:"observedAttributes",get:function(){return this.getObservedAttributes()}}]),e}(Ji(ta(zt)))),ia=function(){function t(t){t.requestAnimationFrame?(this.cancelAnimationFrame=t.cancelAnimationFrame.bind(t),this.requestAnimationFrame=t.requestAnimationFrame.bind(t)):t.mozRequestAnimationFrame?(this.cancelAnimationFrame=t.mozCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.mozRequestAnimationFrame.bind(t)):t.webkitRequestAnimationFrame?(this.cancelAnimationFrame=t.webkitCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.webkitRequestAnimationFrame.bind(t)):t.msRequestAnimationFrame?(this.cancelAnimationFrame=t.msCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.msRequestAnimationFrame.bind(t)):t.oRequestAnimationFrame?(this.cancelAnimationFrame=t.oCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.oRequestAnimationFrame.bind(t)):(this.cancelAnimationFrame=t.clearTimeout.bind(t),this.requestAnimationFrame=function(e){return t.setTimeout(e,1e3/60)})}return t}(),sa=new ia(_n.a),aa=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},ua=function(t){function e(e,n){t.call(this,e,n),this.scheduler=e,this.work=n}return aa(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=sa.requestAnimationFrame(e.flush.bind(e,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&&(sa.cancelAnimationFrame(n),e.scheduled=void 0)},e}(si),ca=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},la=function(t){function e(){t.apply(this,arguments)}return ca(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(++r<o&&(t=n.shift()));if(this.active=!1,e){for(;++r<o&&(t=n.shift());)t.unsubscribe();throw e}},e}(ci),fa=new la(ua),ha=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},pa=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new da(t,this.dueTime,this.scheduler))},t}(),da=function(t){function e(e,n,r){t.call(this,e),this.dueTime=n,this.scheduler=r,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}return ha(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(rn,this.dueTime,this))},e.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},e.prototype.debouncedNext=function(){this.clearDebounce(),this.hasValue&&(this.destination.next(this.lastValue),this.lastValue=null,this.hasValue=!1)},e.prototype.clearDebounce=function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)},e}(Nn),ya=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},ba=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new va(t,this.project,this.resultSelector))},t}(),va=function(t){function e(e,n,r){t.call(this,e),this.project=n,this.resultSelector=r,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}return ya(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e=this.index++,n=this.destination;try{var r=this.project(t,e);this.hasSubscription=!0,this.add(C(this,r,t,e))}catch(t){n.error(t)}},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyNext=function(t,e,n,r,o){var i=this,s=i.resultSelector,a=i.destination;s?this.trySelectResult(t,e,n,r):a.next(e)},e.prototype.trySelectResult=function(t,e,n,r){var o=this,i=o.resultSelector,s=o.destination;try{var a=i(t,e,n,r);s.next(a)}catch(t){s.error(t)}},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.remove(t),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},e}(Ar),ma=(n(70),n(72)),ga=n.n(ma),wa=Er.create,_a=this&&this.__extends||function(t,e){function n(){this.constructor=t}for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)},xa=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new Oa(t,this.callback))},t}(),Oa=function(t){function e(e,n){t.call(this,e),this.add(new Tn(n))}return _a(e,t),e}(Nn),Sa=n(78),ja=n.n(Sa),Ea=function(){function t(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&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),ka=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),Ta=Array.prototype.find,Pa=.8,Aa=function(){function t(e){sn(this,t);var n=document.getElementById("_main"),r=document.getElementById("_pageStyle"),o=Ta.call(document.styleSheets,function(t){return t.ownerNode===r})||{};this.sidebar=document.getElementById("_sidebar"),this.fadeDuration=e,this.rules=o.cssRules||o.rules,this.prevHash=un(ja()(n)),this.themeColor=document.querySelector('meta[name="theme-color"]')}return ka(t,[{key:"fetchImage",value:function(t){var e=ja()(t),n=e.background,r=e.color,o=e.image,i=e.overlay,s=un(e);return s===this.prevHash?wa():cn.call(this,e).pipe(W(function(){var t=document.createElement("div");return t.classList.add("sidebar-bg"),"none"!==o&&""===i&&t.classList.add("sidebar-overlay"),n?t.style.background=n:(t.style.backgroundColor=r,""!==o&&"none"!==o&&(t.style.backgroundImage="url("+o+")")),[t,e,s]}))}},{key:"fade",value:function(t,e){var n=Ea(t,1),r=n[0],o=Ea(e,3),i=o[0],s=o[1],a=o[2];return r.parentNode.insertBefore(i,r.nextElementSibling),an.call(this,s),this.prevHash=a,y(i,[{opacity:0},{opacity:1}],{duration:this.fadeDuration}).pipe(on(function(){return r.parentNode.removeChild(r)}))}}]),t}(),Ca=Aa;fn();var Ma=(n(79),function(){function t(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&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()),Ra=".page-title, .post-title",Na=["title"],La=function(){function t(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&&a.return&&a.return()}finally{if(o)throw i}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Ia=new Yn([].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(ea),["classlist","cssanimations","cssremunit","documentfragment","eventlistener","history","matchmedia","opacity","queryselector","requestanimationframe"])),qa="_main",Da="a[href]:not(.external):not(.no-push-state)",Fa='script:not([type^="math/tex"])',Ua=/^((?!(\/assets\/)).)*$/,Ha=250,za=[{opacity:1},{opacity:0}],Ba=[{opacity:0,transform:"translateY(-3rem)"},{opacity:1,transform:"translateY(0)"}],Wa={duration:Ha,easing:"cubic-bezier(0,0,0.32,1)"},Xa=Array.prototype.forEach,$a=Object.assign.bind(Object);if(!window._noPushState&&h(Ia)&&!zn){var Va=!!navigator.standalone||window.matchMedia("(display-mode: standalone)").matches,Ya=document.getElementsByTagName("hy-push-state")[0],Ja=document.querySelector(".navbar .content .nav-btn-bar"),Ka=function(t){var e=document.getElementById("_animation-template"),n=document.importNode(e.content,!0);return t.parentNode.insertBefore(n,t),t.previousElementSibling}(Ya),Ga=function(t){var e=document.getElementById("_loading-template"),n=document.importNode(e.content,!0);return t.appendChild(n),t.lastElementChild}(document.querySelector(".navbar .content"));Va&&function(t,e,n){var r=document.getElementById(e),o=document.importNode(r.content,!0);o.querySelector(".nav-btn").addEventListener("click",n),t.appendChild(o),t.lastElementChild}(Ja,"_back-template",function(){return window.history.back()});var Za=document.getElementById("_main");Xa.call(Za.querySelectorAll("h1[id], h2[id], h3[id], h4[id], h5[id], h6[id]"),pn),Za.classList.remove("fade-in");var Qa=$r(Ya,"hy-push-state-start").pipe(W(function(t){var e=t.detail;return $a(e,{flipType:yn(e.anchor)})}),G()),tu=$r(Ya,"hy-push-state-ready").pipe(W(function(t){return t.detail}),G()),eu=$r(Ya,"hy-push-state-after").pipe(W(function(t){return t.detail}),G()),nu=$r(Ya,"hy-push-state-progress").pipe(W(function(t){return t.detail}),G()),ru=$r(Ya,"hy-push-state-networkerror").pipe(W(function(t){return t.detail}),G()),ou=Qa.pipe(W(function(t){return $a(t,{main:document.getElementById("_main")})}),z(function(t){var e=t.type,n=t.main;!window._isDesktop&&window._drawer&&window._drawer.opened&&window._drawer.close(),bn(e)&&(n.style.pointerEvents="none",n.style.opacity=0)}),function(t,e){return function(n){return n.lift(new ba(t,e))}}(mn),z(function(t){var e=t.main;d.call(e),window.scroll(window.pageXOffset,0)}),G());nu.subscribe(function(){Ga.style.display="block"}),tu.subscribe(function(t){var e=La(t.replaceEls,1),n=e[0];Ga.style.display="none",n.classList.remove("fade-in"),Xa.call(n.querySelectorAll("h1[id], h2[id], h3[id], h4[id], h5[id], h6[id]"),pn),n.style.pointerEvents="none"});var iu=eu.pipe(at(gn),z(function(t){t.main.style.pointerEvents=""}),G()),su=function(t,e,n,r){var o=t.pipe(B(function(t){var e=t.flipType;return!Na.includes(e)}));return H(hn(t,e,n,r),o)}(Qa,tu,H(iu,ru),{animationMain:Ka,settings:Wa}).pipe(G());Qa.pipe(W(function(t){var e=b();return t.waitUntil(e),e}),at(function(t){return Xs(Ha).pipe(ke(ou,su,function(){return t}))})).subscribe(function(t){return t.resolve()}),ou.subscribe(),su.subscribe();var au=new Ca(600);eu.pipe(at(function(t){var e=La(t.replaceEls,1),n=e[0];return au.fetchImage(n).pipe(ke(iu,function(t){return t}),ct(Qa))}),st([document.querySelector(".sidebar-bg")]),X(),D(function(t){var e=La(t,2),n=e[0],r=e[1];return au.fade(n,r)})).subscribe(),iu.pipe(z(_),z(fn),B(function(){return!!window.ga}),function(t,e){return void 0===e&&(e=li),function(n){return n.lift(new pa(t,e))}}(500)).subscribe(function(){window.ga("set","page",window.location.pathname),window.ga("send","pageview")}),ru.subscribe(function(t){var e=t.url;Ga.style.display="none",d.call(Ka.querySelector(".page"));var n=document.getElementById("_main");d.call(n),n.style.pointerEvents="",n.style.opacity="",dn(n,e)}),Fn&&!navigator.standalone&&($r(window,"popstate").pipe(B(function(){return window.history.state&&window.history.state["hy-push-state"]&&!window.history.state["hy-push-state"].hash})).subscribe(function(){var t=window.history.state["hy-push-state"].scrollHeight;document.body.style.minHeight=t+"px"}),H(eu,nu,ru).pipe(function(t,e){return void 0===e&&(e=0),function(n){return n.lift(new Fo(t,e))}}(fa)).subscribe(function(){document.body.style.minHeight=""})),window._pushState="customElements"in window?function(t){return t.setAttribute("replace-ids",qa),t.setAttribute("link-selector",Da),t.setAttribute("duration",Ha),vn()&&t.setAttribute("scroll-restoration",""),t.setAttribute("href-regex",Ua),t.setAttribute("script-selector",Fa),customElements.define("hy-push-state",oa),t}(Ya):function(t){return new na(t,{replaceIds:qa.split(","),linkSelector:Da,duration:Ha,scrollRestoration:vn(),hrefRegex:Ua,scriptSelector:Fa})}(Ya)}},function(t,e){var 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};!function(t,e){var r={},o={};!function(t,e){function n(t){if("number"==typeof t)return t;var e={};for(var n in t)e[n]=t[n];return e}function r(){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=O}function o(){return t.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function i(e,n,o){var i=new r;return n&&(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==_.indexOf(e[n]))return;if("direction"==n&&-1==x.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 s(t){return"number"==typeof t&&(t=isNaN(t)?{duration:0}:{duration:t}),t}function a(e,n){return e=t.numericTimingToObject(e),i(e,n)}function u(t,e,n,r){return t<0||t>1||n<0||n>1?O: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<c;){var l=(u+c)/2,f=i(t,n,l);if(Math.abs(o-f)<1e-5)return i(e,r,l);f<o?u=l:c=l}return i(e,r,l)}}function c(t,e){return function(n){if(n>=1)return 1;var r=1/t;return(n+=e*r)-n%r}}function l(t){T||(T=document.createElement("div").style),T.animationTimingFunction="",T.animationTimingFunction=t;var e=T.animationTimingFunction;if(""==e&&o())throw new TypeError(t+" is not a valid value for easing");return e}function f(t){if("linear"==t)return O;var e=A.exec(t);if(e)return u.apply(this,e.slice(1).map(Number));var n=C.exec(t);return n?c(Number(n[1]),{start:S,middle:j,end:E}[n[2]]):k[t]||O}function h(t){return Math.abs(p(t)/t.playbackRate)}function p(t){return 0===t.duration||0===t.iterations?0:t.duration*t.iterations}function d(t,e,n){if(null==e)return M;var r=n.delay+t+n.endDelay;return e<Math.min(n.delay,r)?R:e>=Math.min(n.delay+t,r)?N:L}function y(t,e,n,r,o){switch(r){case R:return"backwards"==e||"both"==e?0:null;case L:return n-o;case N:return"forwards"==e||"both"==e?t:null;case M:return null}}function b(t,e,n,r,o){var i=o;return 0===t?e!==R&&(i+=n):i+=r/t,i}function v(t,e,n,r,o,i){var s=t===1/0?e%1:t%1;return 0!==s||n!==N||0===r||0===o&&0!==i||(s=1),s}function m(t,e,n,r){return t===N&&e===1/0?1/0:1===n?Math.floor(r)-1:Math.floor(r)}function g(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}function w(t,e,n){var r=d(t,e,n),o=y(t,n.fill,e,r,n.delay);if(null===o)return null;var i=b(n.duration,r,n.iterations,o,n.iterationStart),s=v(i,n.iterationStart,r,n.iterations,o,n.duration),a=m(r,n.iterations,s,i),u=g(n.direction,a,s);return n._easingFunction(u)}var _="backwards|forwards|both|none".split("|"),x="reverse|alternate|alternate-reverse".split("|"),O=function(t){return t};r.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)&&o())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)&&o())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=f(l(t)),this._setMember("easing",t)},get easing(){return this._easing},set iterations(t){if((isNaN(t)||t<0)&&o())throw new TypeError("iterations must be non-negative, received: "+t);this._setMember("iterations",t)},get iterations(){return this._iterations}};var S=1,j=.5,E=0,k={ease:u(.25,.1,.25,1),"ease-in":u(.42,0,1,1),"ease-out":u(0,0,.58,1),"ease-in-out":u(.42,0,.58,1),"step-start":c(1,S),"step-middle":c(1,j),"step-end":c(1,E)},T=null,P="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",A=new RegExp("cubic-bezier\\("+P+","+P+","+P+","+P+"\\)"),C=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,M=0,R=1,N=2,L=3;t.cloneTimingInput=n,t.makeTiming=i,t.numericTimingToObject=s,t.normalizeTimingInput=a,t.calculateActiveDuration=h,t.calculateIterationProgress=w,t.calculatePhase=d,t.normalizeEasing=l,t.parseEasingFunction=f}(r),function(t,e){function n(t,e){return t in l?l[t][e]||e:e}function r(t){return"display"===t||0===t.lastIndexOf("animation",0)||0===t.lastIndexOf("transition",0)}function o(t,e,o){if(!r(t)){var i=a[t];if(i){u.style[t]=e;for(var s in i){var c=i[s],l=u.style[c];o[c]=n(c,l)}}else o[t]=n(t,e)}}function i(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;s<i;s++)o={},o.offset="offset"in t?t.offset:1==i?1:s/(i-1),"easing"in t&&(o.easing=t.easing),"composite"in t&&(o.composite=t.composite),o[n]=r[s],e.push(o)}return e.sort(function(t,e){return t.offset-e.offset}),e}function s(e){if(null==e)return[];window.Symbol&&Symbol.iterator&&Array.prototype.from&&e[Symbol.iterator]&&(e=Array.from(e)),Array.isArray(e)||(e=i(e));for(var n=e.map(function(e){var n={};for(var r in e){var i=e[r];if("offset"==r){if(null!=i){if(i=Number(i),!isFinite(i))throw new TypeError("Keyframe offsets must be numbers.");if(i<0||i>1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==r){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"==r?t.normalizeEasing(i):""+i;o(r,i,n)}return void 0==n.offset&&(n.offset=null),void 0==n.easing&&(n.easing="linear"),n}),r=!0,s=-1/0,a=0;a<n.length;a++){var u=n[a].offset;if(null!=u){if(u<s)throw new TypeError("Keyframes are not loosely sorted by offset. Sort or specify offsets.");s=u}else r=!1}return n=n.filter(function(t){return t.offset>=0&&t.offset<=1}),r||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;o++){var i=n[o].offset;if(null!=i){for(var s=1;s<o-e;s++)n[e+s].offset=r+(i-r)*s/(o-e);e=o,r=i}}}(),n}var a={background:["backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundOrigin","backgroundClip","backgroundColor"],border:["borderTopColor","borderTopStyle","borderTopWidth","borderRightColor","borderRightStyle","borderRightWidth","borderBottomColor","borderBottomStyle","borderBottomWidth","borderLeftColor","borderLeftStyle","borderLeftWidth"],borderBottom:["borderBottomWidth","borderBottomStyle","borderBottomColor"],borderColor:["borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"],borderLeft:["borderLeftWidth","borderLeftStyle","borderLeftColor"],borderRadius:["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],borderRight:["borderRightWidth","borderRightStyle","borderRightColor"],borderTop:["borderTopWidth","borderTopStyle","borderTopColor"],borderWidth:["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"],flex:["flexGrow","flexShrink","flexBasis"],font:["fontFamily","fontSize","fontStyle","fontVariant","fontWeight","lineHeight"],margin:["marginTop","marginRight","marginBottom","marginLeft"],outline:["outlineColor","outlineStyle","outlineWidth"],padding:["paddingTop","paddingRight","paddingBottom","paddingLeft"]},u=document.createElementNS("http://www.w3.org/1999/xhtml","div"),c={thin:"1px",medium:"3px",thick:"5px"},l={borderBottomWidth:c,borderLeftWidth:c,borderRightWidth:c,borderTopWidth:c,fontSize:{"xx-small":"60%","x-small":"75%",small:"89%",medium:"100%",large:"120%","x-large":"150%","xx-large":"200%"},fontWeight:{normal:"400",bold:"700"},outlineWidth:c,textShadow:{none:"0px 0px 0px transparent"},boxShadow:{none:"0px 0px 0px 0px transparent"}};t.convertToArrayForm=i,t.normalizeKeyframes=s}(r),function(t){var e={};t.isDeprecated=function(t,n,r,o){var i=o?"are":"is",s=new Date,a=new Date(n);return a.setMonth(a.getMonth()+3),!(s<a&&(t in e||console.warn("Web Animations: "+t+" "+i+" deprecated and will stop working on "+a.toDateString()+". "+r),e[t]=!0,1))},t.deprecated=function(e,n,r,o){var i=o?"are":"is";if(t.isDeprecated(e,n,r,o))throw new Error(e+" "+i+" no longer supported. "+r)}}(r),function(){if(document.documentElement.animate){var t=document.documentElement.animate([],0),e=!0;if(t&&(e=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach(function(n){void 0===t[n]&&(e=!0)})),!e)return}!function(t,e,n){function r(t){for(var e={},n=0;n<t.length;n++)for(var r in t[n])if("offset"!=r&&"easing"!=r&&"composite"!=r){var o={offset:t[n].offset,easing:t[n].easing,value:t[n][r]};e[r]=e[r]||[],e[r].push(o)}for(var i in e){var s=e[i];if(0!=s[0].offset||1!=s[s.length-1].offset)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"Partial keyframes are not supported"}}return e}function o(n){var r=[];for(var o in n)for(var i=n[o],s=0;s<i.length-1;s++){var a=s,u=s+1,c=i[a].offset,l=i[u].offset,f=c,h=l;0==s&&(f=-1/0,0==l&&(u=a)),s==i.length-2&&(h=1/0,1==c&&(a=u)),r.push({applyFrom:f,applyTo:h,startOffset:i[a].offset,endOffset:i[u].offset,easingFunction:t.parseEasingFunction(i[a].easing),property:o,interpolation:e.propertyInterpolation(o,i[a].value,i[u].value)})}return r.sort(function(t,e){return t.startOffset-e.startOffset}),r}e.convertEffectInput=function(n){var i=t.normalizeKeyframes(n),s=r(i),a=o(s);return function(t,n){if(null!=n)a.filter(function(t){return n>=t.applyFrom&&n<t.applyTo}).forEach(function(r){var o=n-r.startOffset,i=r.endOffset-r.startOffset,s=0==i?0:r.easingFunction(o/i);e.apply(t,r.property,r.interpolation(s))});else for(var r in s)"offset"!=r&&"easing"!=r&&"composite"!=r&&e.clear(t,r)}}}(r,o),function(t,e,n){function r(t){return t.replace(/-(.)/g,function(t,e){return e.toUpperCase()})}function o(t,e,n){a[n]=a[n]||[],a[n].push([t,e])}function i(t,e,n){for(var i=0;i<n.length;i++)o(t,e,r(n[i]))}function s(n,o,i){var s=n;/-/.test(n)&&!t.isDeprecated("Hyphenated property names","2016-03-22","Use camelCase instead.",!0)&&(s=r(n)),"initial"!=o&&"initial"!=i||("initial"==o&&(o=u[s]),"initial"==i&&(i=u[s]));for(var c=o==i?[]:a[s],l=0;c&&l<c.length;l++){var f=c[l][0](o),h=c[l][0](i);if(void 0!==f&&void 0!==h){var p=c[l][1](f,h);if(p){var d=e.Interpolation.apply(null,p);return function(t){return 0==t?o:1==t?i:d(t)}}}}return e.Interpolation(!1,!0,function(t){return t?i:o})}var a={};e.addPropertiesHandler=i;var u={backgroundColor:"transparent",backgroundPosition:"0% 0%",borderBottomColor:"currentColor",borderBottomLeftRadius:"0px",borderBottomRightRadius:"0px",borderBottomWidth:"3px",borderLeftColor:"currentColor",borderLeftWidth:"3px",borderRightColor:"currentColor",borderRightWidth:"3px",borderSpacing:"2px",borderTopColor:"currentColor",borderTopLeftRadius:"0px",borderTopRightRadius:"0px",borderTopWidth:"3px",bottom:"auto",clip:"rect(0px, 0px, 0px, 0px)",color:"black",fontSize:"100%",fontWeight:"400",height:"auto",left:"auto",letterSpacing:"normal",lineHeight:"120%",marginBottom:"0px",marginLeft:"0px",marginRight:"0px",marginTop:"0px",maxHeight:"none",maxWidth:"none",minHeight:"0px",minWidth:"0px",opacity:"1.0",outlineColor:"invert",outlineOffset:"0px",outlineWidth:"3px",paddingBottom:"0px",paddingLeft:"0px",paddingRight:"0px",paddingTop:"0px",right:"auto",strokeDasharray:"none",strokeDashoffset:"0px",textIndent:"0px",textShadow:"0px 0px 0px transparent",top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",wordSpacing:"normal",zIndex:"auto"};e.propertyInterpolation=s}(r,o),function(t,e,n){function r(e){var n=t.calculateActiveDuration(e),r=function(r){return t.calculateIterationProgress(n,r,e)};return r._totalDuration=e.delay+n+e.endDelay,r}e.KeyframeEffect=function(n,o,i,s){var a,u=r(t.normalizeTimingInput(i)),c=e.convertEffectInput(o),l=function(){c(n,a)};return l._update=function(t){return null!==(a=u(t))},l._clear=function(){c(n,null)},l._hasSameTarget=function(t){return n===t},l._target=n,l._totalDuration=u._totalDuration,l._id=s,l}}(r,o),function(t,e){function n(t,e){return!(!e.namespaceURI||-1==e.namespaceURI.indexOf("/svg"))&&(s in t||(t[s]=/Trident|MSIE|IEMobile|Edge|Android 4/i.test(t.navigator.userAgent)),t[s])}function r(t,e,n){n.enumerable=!0,n.configurable=!0,Object.defineProperty(t,e,n)}function o(t){this._element=t,this._surrogateStyle=document.createElementNS("http://www.w3.org/1999/xhtml","div").style,this._style=t.style,this._length=0,this._isAnimatedProperty={},this._updateSvgTransformAttr=n(window,t),this._savedTransformAttr=null;for(var e=0;e<this._style.length;e++){var r=this._style[e];this._surrogateStyle[r]=this._style[r]}this._updateIndices()}function i(t){if(!t._webAnimationsPatchedStyle){var e=new o(t);try{r(t,"style",{get:function(){return e}})}catch(e){t.style._set=function(e,n){t.style[e]=n},t.style._clear=function(e){t.style[e]=""}}t._webAnimationsPatchedStyle=t.style}}var s="_webAnimationsUpdateSvgTransformAttr",a={cssText:1,length:1,parentRule:1},u={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},c={removeProperty:1,setProperty:1};o.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(t){for(var e={},n=0;n<this._surrogateStyle.length;n++)e[this._surrogateStyle[n]]=!0;this._surrogateStyle.cssText=t,this._updateIndices();for(var n=0;n<this._surrogateStyle.length;n++)e[this._surrogateStyle[n]]=!0;for(var r in e)this._isAnimatedProperty[r]||this._style.setProperty(r,this._surrogateStyle.getPropertyValue(r))},get length(){return this._surrogateStyle.length},get parentRule(){return this._style.parentRule},_updateIndices:function(){for(;this._length<this._surrogateStyle.length;)Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,get:function(t){return function(){return this._surrogateStyle[t]}}(this._length)}),this._length++;for(;this._length>this._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]}};for(var l in u)o.prototype[l]=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}}(l,l in c);for(var f in document.documentElement.style)f in a||f in u||function(t){r(o.prototype,t,{get:function(){return this._surrogateStyle[t]},set:function(e){this._surrogateStyle[t]=e,this._updateIndices(),this._isAnimatedProperty[t]||(this._style[t]=e)}})}(f);t.apply=function(e,n,r){i(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){function n(t,e,r){if("number"==typeof t&&"number"==typeof e)return t*(1-r)+e*r;if("boolean"==typeof t&&"boolean"==typeof e)return r<.5?t:e;if(t.length==e.length){for(var o=[],i=0;i<t.length;i++)o.push(n(t[i],e[i],r));return o}throw"Mismatched interpolation arguments "+t+":"+e}t.Interpolation=function(t,e,r){return function(o){return r(n(t,e,o))}}}(o),function(t,e){function n(t,e,n){return Math.max(Math.min(t,n),e)}function r(e,r,o){var i=t.dot(e,r);i=n(i,-1,1);var s=[];if(1===i)s=e;else for(var a=Math.acos(i),u=1*Math.sin(o*a)/Math.sqrt(1-i*i),c=0;c<4;c++)s.push(e[c]*(Math.cos(o*a)-i*u)+r[c]*u);return s}var o=function(){function t(t,e){for(var n=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],r=0;r<4;r++)for(var o=0;o<4;o++)for(var i=0;i<4;i++)n[r][o]+=e[r][i]*t[i][o];return n}function e(t){return 0==t[0][2]&&0==t[0][3]&&0==t[1][2]&&0==t[1][3]&&0==t[2][0]&&0==t[2][1]&&1==t[2][2]&&0==t[2][3]&&0==t[3][2]&&1==t[3][3]}function n(n,r,o,i,s){for(var a=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],u=0;u<4;u++)a[u][3]=s[u];for(var u=0;u<3;u++)for(var c=0;c<3;c++)a[3][u]+=n[c]*a[c][u];var l=i[0],f=i[1],h=i[2],p=i[3],d=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];d[0][0]=1-2*(f*f+h*h),d[0][1]=2*(l*f-h*p),d[0][2]=2*(l*h+f*p),d[1][0]=2*(l*f+h*p),d[1][1]=1-2*(l*l+h*h),d[1][2]=2*(f*h-l*p),d[2][0]=2*(l*h-f*p),d[2][1]=2*(f*h+l*p),d[2][2]=1-2*(l*l+f*f),a=t(a,d);var y=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];o[2]&&(y[2][1]=o[2],a=t(a,y)),o[1]&&(y[2][1]=0,y[2][0]=o[0],a=t(a,y)),o[0]&&(y[2][0]=0,y[1][0]=o[0],a=t(a,y));for(var u=0;u<3;u++)for(var c=0;c<3;c++)a[u][c]*=r[u];return e(a)?[a[0][0],a[0][1],a[1][0],a[1][1],a[3][0],a[3][1]]:a[0].concat(a[1],a[2],a[3])}return n}();t.composeMatrix=o,t.quat=r}(o),function(t,e,n){t.sequenceNumber=0;var r=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()};e.Animation=function(e){this.id="",e&&e._id&&(this.id=e._id),this._sequenceNumber=t.sequenceNumber++,this._currentTime=0,this._startTime=null,this._paused=!1,this._playbackRate=1,this._inTimeline=!0,this._finishedFlag=!0,this.onfinish=null,this._finishHandlers=[],this._effect=e,this._inEffect=this._effect._update(0),this._idle=!0,this._currentTimePending=!1},e.Animation.prototype={_ensureAlive:function(){this.playbackRate<0&&0===this.currentTime?this._inEffect=this._effect._update(-1):this._inEffect=this._effect._update(this.currentTime),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,e.timeline._animations.push(this))},_tickCurrentTime:function(t,e){t!=this._currentTime&&(this._currentTime=t,this._isFinished&&!e&&(this._currentTime=this._playbackRate>0?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 r(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=[],t<b.currentTime&&(t=b.currentTime),b._animations.sort(o),b._animations=a(t,!0,b._animations)[0],e.forEach(function(e){e[1](t)}),s(),f=void 0}function o(t,e){return t._sequenceNumber-e._sequenceNumber}function i(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function s(){d.forEach(function(t){t()}),d.length=0}function a(t,n,r){y=!0,p=!1,e.timeline.currentTime=t,h=!1;var o=[],i=[],s=[],a=[];return r.forEach(function(e){e._tick(t,n),e._inEffect?(i.push(e._effect),e._markTarget()):(o.push(e._effect),e._unmarkTarget()),e._needsTick&&(h=!0);var r=e._inEffect||e._needsTick;e._inTimeline=r,r?s.push(e):a.push(e)}),d.push.apply(d,o),d.push.apply(d,i),h&&requestAnimationFrame(function(){}),y=!1,[s,a]}var u=window.requestAnimationFrame,c=[],l=0;window.requestAnimationFrame=function(t){var e=l++;return 0==c.length&&u(r),c.push([e,t]),e},window.cancelAnimationFrame=function(t){c.forEach(function(e){e[0]==t&&(e[1]=function(){})})},i.prototype={_play:function(n){n._timing=t.normalizeTimingInput(n.timing);var r=new e.Animation(n);return r._idle=!1,r._timeline=this,this._animations.push(r),e.restart(),e.applyDirtiedAnimation(r),r}};var f=void 0,h=!1,p=!1;e.restart=function(){return h||(h=!0,requestAnimationFrame(function(){}),p=!0),p},e.applyDirtiedAnimation=function(t){if(!y){t._markTarget();var n=t._targetAnimations();n.sort(o),a(e.timeline.currentTime,!1,n.slice())[1].forEach(function(t){var e=b._animations.indexOf(t);-1!==e&&b._animations.splice(e,1)}),s()}};var d=[],y=!1,b=new i;e.timeline=b}(r,o),function(t,e){function n(t,e){for(var n=0,r=0;r<t.length;r++)n+=t[r]*e[r];return n}function r(t,e){return[t[0]*e[0]+t[4]*e[1]+t[8]*e[2]+t[12]*e[3],t[1]*e[0]+t[5]*e[1]+t[9]*e[2]+t[13]*e[3],t[2]*e[0]+t[6]*e[1]+t[10]*e[2]+t[14]*e[3],t[3]*e[0]+t[7]*e[1]+t[11]*e[2]+t[15]*e[3],t[0]*e[4]+t[4]*e[5]+t[8]*e[6]+t[12]*e[7],t[1]*e[4]+t[5]*e[5]+t[9]*e[6]+t[13]*e[7],t[2]*e[4]+t[6]*e[5]+t[10]*e[6]+t[14]*e[7],t[3]*e[4]+t[7]*e[5]+t[11]*e[6]+t[15]*e[7],t[0]*e[8]+t[4]*e[9]+t[8]*e[10]+t[12]*e[11],t[1]*e[8]+t[5]*e[9]+t[9]*e[10]+t[13]*e[11],t[2]*e[8]+t[6]*e[9]+t[10]*e[10]+t[14]*e[11],t[3]*e[8]+t[7]*e[9]+t[11]*e[10]+t[15]*e[11],t[0]*e[12]+t[4]*e[13]+t[8]*e[14]+t[12]*e[15],t[1]*e[12]+t[5]*e[13]+t[9]*e[14]+t[13]*e[15],t[2]*e[12]+t[6]*e[13]+t[10]*e[14]+t[14]*e[15],t[3]*e[12]+t[7]*e[13]+t[11]*e[14]+t[15]*e[15]]}function o(t){var e=t.rad||0;return((t.deg||0)/360+(t.grad||0)/400+(t.turn||0))*(2*Math.PI)+e}function i(t){switch(t.t){case"rotatex":var e=o(t.d[0]);return[1,0,0,0,0,Math.cos(e),Math.sin(e),0,0,-Math.sin(e),Math.cos(e),0,0,0,0,1];case"rotatey":var e=o(t.d[0]);return[Math.cos(e),0,-Math.sin(e),0,0,1,0,0,Math.sin(e),0,Math.cos(e),0,0,0,0,1];case"rotate":case"rotatez":var e=o(t.d[0]);return[Math.cos(e),Math.sin(e),0,0,-Math.sin(e),Math.cos(e),0,0,0,0,1,0,0,0,0,1];case"rotate3d":var n=t.d[0],r=t.d[1],i=t.d[2],e=o(t.d[3]),s=n*n+r*r+i*i;if(0===s)n=1,r=0,i=0;else if(1!==s){var a=Math.sqrt(s);n/=a,r/=a,i/=a}var u=Math.sin(e/2),c=u*Math.cos(e/2),l=u*u;return[1-2*(r*r+i*i)*l,2*(n*r*l+i*c),2*(n*i*l-r*c),0,2*(n*r*l-i*c),1-2*(n*n+i*i)*l,2*(r*i*l+n*c),0,2*(n*i*l+r*c),2*(r*i*l-n*c),1-2*(n*n+r*r)*l,0,0,0,0,1];case"scale":return[t.d[0],0,0,0,0,t.d[1],0,0,0,0,1,0,0,0,0,1];case"scalex":return[t.d[0],0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"scaley":return[1,0,0,0,0,t.d[0],0,0,0,0,1,0,0,0,0,1];case"scalez":return[1,0,0,0,0,1,0,0,0,0,t.d[0],0,0,0,0,1];case"scale3d":return[t.d[0],0,0,0,0,t.d[1],0,0,0,0,t.d[2],0,0,0,0,1];case"skew":var f=o(t.d[0]),h=o(t.d[1]);return[1,Math.tan(h),0,0,Math.tan(f),1,0,0,0,0,1,0,0,0,0,1];case"skewx":var e=o(t.d[0]);return[1,0,0,0,Math.tan(e),1,0,0,0,0,1,0,0,0,0,1];case"skewy":var e=o(t.d[0]);return[1,Math.tan(e),0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"translate":var n=t.d[0].px||0,r=t.d[1].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,n,r,0,1];case"translatex":var n=t.d[0].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,n,0,0,1];case"translatey":var r=t.d[0].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,0,r,0,1];case"translatez":var i=t.d[0].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,i,1];case"translate3d":var n=t.d[0].px||0,r=t.d[1].px||0,i=t.d[2].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,n,r,i,1];case"perspective":return[1,0,0,0,0,1,0,0,0,0,1,t.d[0].px?-1/t.d[0].px:0,0,0,0,1];case"matrix":return[t.d[0],t.d[1],0,0,t.d[2],t.d[3],0,0,0,0,1,0,t.d[4],t.d[5],0,1];case"matrix3d":return t.d}}function s(t){return 0===t.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:t.map(i).reduce(r)}function a(t){return[u(s(t))]}var u=function(){function t(t){return t[0][0]*t[1][1]*t[2][2]+t[1][0]*t[2][1]*t[0][2]+t[2][0]*t[0][1]*t[1][2]-t[0][2]*t[1][1]*t[2][0]-t[1][2]*t[2][1]*t[0][0]-t[2][2]*t[0][1]*t[1][0]}function e(e){for(var n=1/t(e),r=e[0][0],o=e[0][1],i=e[0][2],s=e[1][0],a=e[1][1],u=e[1][2],c=e[2][0],l=e[2][1],f=e[2][2],h=[[(a*f-u*l)*n,(i*l-o*f)*n,(o*u-i*a)*n,0],[(u*c-s*f)*n,(r*f-i*c)*n,(i*s-r*u)*n,0],[(s*l-a*c)*n,(c*o-r*l)*n,(r*a-o*s)*n,0]],p=[],d=0;d<3;d++){for(var y=0,b=0;b<3;b++)y+=e[3][b]*h[b][d];p.push(y)}return p.push(1),h.push(p),h}function r(t){return[[t[0][0],t[1][0],t[2][0],t[3][0]],[t[0][1],t[1][1],t[2][1],t[3][1]],[t[0][2],t[1][2],t[2][2],t[3][2]],[t[0][3],t[1][3],t[2][3],t[3][3]]]}function o(t,e){for(var n=[],r=0;r<4;r++){for(var o=0,i=0;i<4;i++)o+=t[i]*e[i][r];n.push(o)}return n}function i(t){var e=s(t);return[t[0]/e,t[1]/e,t[2]/e]}function s(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1]+t[2]*t[2])}function a(t,e,n,r){return[n*t[0]+r*e[0],n*t[1]+r*e[1],n*t[2]+r*e[2]]}function u(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function c(c){var l=[c.slice(0,4),c.slice(4,8),c.slice(8,12),c.slice(12,16)];if(1!==l[3][3])return null;for(var f=[],h=0;h<4;h++)f.push(l[h].slice());for(var h=0;h<3;h++)f[h][3]=0;if(0===t(f))return null;var p,d=[];l[0][3]||l[1][3]||l[2][3]?(d.push(l[0][3]),d.push(l[1][3]),d.push(l[2][3]),d.push(l[3][3]),p=o(d,r(e(f)))):p=[0,0,0,1];var y=l[3].slice(0,3),b=[];b.push(l[0].slice(0,3));var v=[];v.push(s(b[0])),b[0]=i(b[0]);var m=[];b.push(l[1].slice(0,3)),m.push(n(b[0],b[1])),b[1]=a(b[1],b[0],1,-m[0]),v.push(s(b[1])),b[1]=i(b[1]),m[0]/=v[1],b.push(l[2].slice(0,3)),m.push(n(b[0],b[2])),b[2]=a(b[2],b[0],1,-m[1]),m.push(n(b[1],b[2])),b[2]=a(b[2],b[1],1,-m[2]),v.push(s(b[2])),b[2]=i(b[2]),m[1]/=v[2],m[2]/=v[2];var g=u(b[1],b[2]);if(n(b[0],g)<0)for(var h=0;h<3;h++)v[h]*=-1,b[h][0]*=-1,b[h][1]*=-1,b[h][2]*=-1;var w,_,x=b[0][0]+b[1][1]+b[2][2]+1;return x>1e-4?(w=.5/Math.sqrt(x),_=[(b[2][1]-b[1][2])*w,(b[0][2]-b[2][0])*w,(b[1][0]-b[0][1])*w,.25/w]):b[0][0]>b[1][1]&&b[0][0]>b[2][2]?(w=2*Math.sqrt(1+b[0][0]-b[1][1]-b[2][2]),_=[.25*w,(b[0][1]+b[1][0])/w,(b[0][2]+b[2][0])/w,(b[2][1]-b[1][2])/w]):b[1][1]>b[2][2]?(w=2*Math.sqrt(1+b[1][1]-b[0][0]-b[2][2]),_=[(b[0][1]+b[1][0])/w,.25*w,(b[1][2]+b[2][1])/w,(b[0][2]-b[2][0])/w]):(w=2*Math.sqrt(1+b[2][2]-b[0][0]-b[1][1]),_=[(b[0][2]+b[2][0])/w,(b[1][2]+b[2][1])/w,.25*w,(b[1][0]-b[0][1])/w]),[y,v,m,_,p]}return c}();t.dot=n,t.makeMatrixDecomposition=a,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],[n,e.substr(n.length)]}function n(t,e){e=e.replace(/^\s*/,"");var n=t(e);if(n)return[n[0],n[1].replace(/^\s*/,"")]}function r(t,r,o){t=n.bind(null,t);for(var i=[];;){var s=t(o);if(!s)return[i,o];if(i.push(s[0]),o=s[1],!(s=e(r,o))||""==s[1])return[i,o];o=s[1]}}function o(t,e){for(var n=0,r=0;r<e.length&&(!/\s|,/.test(e[r])||0!=n);r++)if("("==e[r])n++;else if(")"==e[r]&&(n--,0==n&&r++,n<=0))break;var o=t(e.substr(0,r));return void 0==o?void 0:[o,e.substr(r)]}function i(t,e){for(var n=t,r=e;n&&r;)n>r?n%=r:r%=n;return n=t*e/(n+r)}function s(t){return function(e){var n=t(e);return n&&(n[0]=void 0),n}}function a(t,e){return function(n){return t(n)||[e,n]}}function u(e,n){for(var r=[],o=0;o<e.length;o++){var i=t.consumeTrimmed(e[o],n);if(!i||""==i[0])return;void 0!==i[0]&&r.push(i[0]),n=i[1]}if(""==n)return r}function c(t,e,n,r,o){for(var s=[],a=[],u=[],c=i(r.length,o.length),l=0;l<c;l++){var f=e(r[l%r.length],o[l%o.length]);if(!f)return;s.push(f[0]),a.push(f[1]),u.push(f[2])}return[s,a,function(e){var r=e.map(function(t,e){return u[e](t)}).join(n);return t?t(r):r}]}function l(t,e,n){for(var r=[],o=[],i=[],s=0,a=0;a<n.length;a++)if("function"==typeof n[a]){var u=n[a](t[s],e[s++]);r.push(u[0]),o.push(u[1]),i.push(u[2])}else!function(t){r.push(!1),o.push(!1),i.push(function(){return n[t]})}(a);return[r,o,function(t){for(var e="",n=0;n<t.length;n++)e+=i[n](t[n]);return e}]}t.consumeToken=e,t.consumeTrimmed=n,t.consumeRepeated=r,t.consumeParenthesised=o,t.ignore=s,t.optional=a,t.consumeList=u,t.mergeNestedRepeated=c.bind(null,null),t.mergeWrappedNestedRepeated=c,t.mergeList=l}(o),function(t){function e(e){function n(e){var n=t.consumeToken(/^inset/i,e);if(n)return r.inset=!0,n;var n=t.consumeLengthOrPercent(e);if(n)return r.lengths.push(n[0]),n;var n=t.consumeColor(e);return n?(r.color=n[0],n):void 0}var r={inset:!1,lengths:[],color:null},o=t.consumeRepeated(n,/^/,e);if(o&&o[0].length)return[r,o[1]]}function n(n){var r=t.consumeRepeated(e,/^,/,n);if(r&&""==r[1])return r[0]}function r(e,n){for(;e.lengths.length<Math.max(e.lengths.length,n.lengths.length);)e.lengths.push({px:0});for(;n.lengths.length<Math.max(e.lengths.length,n.lengths.length);)n.lengths.push({px:0});if(e.inset==n.inset&&!!e.color==!!n.color){for(var r,o=[],i=[[],0],s=[[],0],a=0;a<e.lengths.length;a++){var u=t.mergeDimensions(e.lengths[a],n.lengths[a],2==a);i[0].push(u[0]),s[0].push(u[1]),o.push(u[2])}if(e.color&&n.color){var c=t.mergeColors(e.color,n.color);i[1]=c[0],s[1]=c[1],r=c[2]}return[i,s,function(t){for(var n=e.inset?"inset ":" ",i=0;i<o.length;i++)n+=o[i](t[0][i])+" ";return r&&(n+=r(t[1])),n}]}}function o(e,n,r,o){function i(t){return{inset:t,color:[0,0,0,0],lengths:[{px:0},{px:0},{px:0},{px:0}]}}for(var s=[],a=[],u=0;u<r.length||u<o.length;u++){var c=r[u]||i(o[u].inset),l=o[u]||i(r[u].inset);s.push(c),a.push(l)}return t.mergeNestedRepeated(e,n,s,a)}var i=o.bind(null,r,", ");t.addPropertiesHandler(n,i,["box-shadow","text-shadow"])}(o),function(t,e){function n(t){return t.toFixed(3).replace(/0+$/,"").replace(/\.$/,"")}function r(t,e,n){return Math.min(e,Math.max(t,n))}function o(t){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t))return Number(t)}function i(t,e){return[t,e,n]}function s(t,e){if(0!=t)return u(0,1/0)(t,e)}function a(t,e){return[t,e,function(t){return Math.round(r(1,1/0,t))}]}function u(t,e){return function(o,i){return[o,i,function(o){return n(r(t,e,o))}]}}function c(t){var e=t.trim().split(/\s*[\s,]\s*/);if(0!==e.length){for(var n=[],r=0;r<e.length;r++){var i=o(e[r]);if(void 0===i)return;n.push(i)}return n}}function l(t,e){if(t.length==e.length)return[t,e,function(t){return t.map(n).join(" ")}]}function f(t,e){return[t,e,Math.round]}t.clamp=r,t.addPropertiesHandler(c,l,["stroke-dasharray"]),t.addPropertiesHandler(o,u(0,1/0),["border-image-width","line-height"]),t.addPropertiesHandler(o,u(0,1),["opacity","shape-image-threshold"]),t.addPropertiesHandler(o,s,["flex-grow","flex-shrink"]),t.addPropertiesHandler(o,a,["orphans","widows"]),t.addPropertiesHandler(o,f,["z-index"]),t.parseNumber=o,t.parseNumberList=c,t.mergeNumbers=i,t.numberToString=n}(o),function(t,e){function n(t,e){if("visible"==t||"visible"==e)return[0,1,function(n){return n<=0?t:n>=1?e:"visible"}]}t.addPropertiesHandler(String,n,["visibility"])}(o),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){if(e[3])for(var n=0;n<3;n++)e[n]=Math.round(function(t){return Math.max(0,Math.min(255,t))}(e[n]/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=a.exec(t);s=e?e[0]:void 0}function n(){var t=Number(s);return e(),t}function r(){if("("!==s)return n();e();var t=i();return")"!==s?NaN:(e(),t)}function o(){for(var t=r();"*"===s||"/"===s;){var n=s;e();var o=r();"*"===n?t*=o:t/=o}return t}function i(){for(var t=o();"+"===s||"-"===s;){var n=s;e();var r=o();"+"===n?t+=r:t-=r}return t}var s,a=/([\+\-\w\.]+|[\(\)\*\/])/g;return e(),i()}function r(t,e){if("0"==(e=e.trim().toLowerCase())&&"px".search(t)>=0)return{px:0};if(/^[^(]*$|^calc/.test(e)){e=e.replace(/calc\(/g,"(");var r={};e=e.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;a<s.length;)s[a].test(i)?(i=i.replace(s[a],"$1"),a=0):a++;if("D"==i){for(var u in r){var c=n(e.replace(new RegExp("U"+u,"g"),"").replace(new RegExp(o,"g"),"*0"));if(!isFinite(c))return;r[u]=c}return r}}}function o(t,e){return i(t,e,!0)}function i(e,n,r){var o,i=[];for(o in e)i.push(o);for(o in n)i.indexOf(o)<0&&i.push(o);return e=i.map(function(t){return e[t]||0}),n=i.map(function(t){return n[t]||0}),[e,n,function(e){var n=e.map(function(n,o){return 1==e.length&&r&&(n=Math.max(n,0)),t.numberToString(n)+i[o]}).join(" + ");return e.length>1?"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=function(t){var e=h(t);if(e&&""==e[1])return e[0]},d=t.mergeNestedRepeated.bind(void 0,o," "),y=t.mergeNestedRepeated.bind(void 0,d,",");t.mergeNonNegativeSizePair=d,t.addPropertiesHandler(p,y,["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]}function o(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)}function i(t){return"rect("+t+")"}var s=t.mergeWrappedNestedRepeated.bind(null,i,o,", ");t.parseBox=r,t.mergeBoxes=s,t.addPropertiesHandler(r,s,["clip"])}(o),function(t,e){function n(t){return function(e){var n=0;return t.map(function(t){return t===l?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=p[s];if(!a)return;var u=n[2].split(","),c=a[0];if(c.length<u.length)return;for(var l=[],d=0;d<c.length;d++){var y,b=u[d],v=c[d];if(void 0===(y=b?{A:function(e){return"0"==e.trim()?h:t.parseAngle(e)},N:t.parseNumber,T:t.parseLengthOrPercent,L:t.parseLength}[v.toUpperCase()](b):{a:h,n:l[0],t:f}[v]))return;l.push(y)}if(o.push({t:s,d:l}),r.lastIndex==e.length)return o}}function i(t){return t.toFixed(6).replace(".000000","")}function s(e,n){if(e.decompositionPair!==n){e.decompositionPair=n;var r=t.makeMatrixDecomposition(e)}if(n.decompositionPair!==e){n.decompositionPair=e;var o=t.makeMatrixDecomposition(n)}return null==r[0]||null==o[0]?[[!1],[!0],function(t){return t?n[0].d:e[0].d}]:(r[0].push(0),o[0].push(1),[r,o,function(e){var n=t.quat(r[0][3],o[0][3],e[5]);return t.composeMatrix(e[0],e[1],e[2],n,e[4]).map(i).join(",")}])}function a(t){return t.replace(/[xy]/,"")}function u(t){return t.replace(/(x|y|z|3d)?$/,"3d")}function c(e,n){var r=t.makeMatrixDecomposition&&!0,o=!1;if(!e.length||!n.length){e.length||(o=!0,e=n,n=[]);for(var i=0;i<e.length;i++){var c=e[i].t,l=e[i].d,f="scale"==c.substr(0,5)?1:0;n.push({t:c,d:l.map(function(t){if("number"==typeof t)return f;var e={};for(var n in t)e[n]=f;return e})})}}var h=[],d=[],y=[];if(e.length!=n.length){if(!r)return;var b=s(e,n);h=[b[0]],d=[b[1]],y=[["matrix",[b[2]]]]}else for(var i=0;i<e.length;i++){var c,v=e[i].t,m=n[i].t,g=e[i].d,w=n[i].d,_=p[v],x=p[m];if(function(t,e){return"perspective"==t&&"perspective"==e||("matrix"==t||"matrix3d"==t)&&("matrix"==e||"matrix3d"==e)}(v,m)){if(!r)return;var b=s([e[i]],[n[i]]);h.push(b[0]),d.push(b[1]),y.push(["matrix",[b[2]]])}else{if(v==m)c=v;else if(_[2]&&x[2]&&a(v)==a(m))c=a(v),g=_[2](g),w=x[2](w);else{if(!_[1]||!x[1]||u(v)!=u(m)){if(!r)return;var b=s(e,n);h=[b[0]],d=[b[1]],y=[["matrix",[b[2]]]];break}c=u(v),g=_[1](g),w=x[1](w)}for(var O=[],S=[],j=[],E=0;E<g.length;E++){var k="number"==typeof g[E]?t.mergeNumbers:t.mergeDimensions,b=k(g[E],w[E]);O[E]=b[0],S[E]=b[1],j.push(b[2])}h.push(O),d.push(S),y.push([c,j])}}if(o){var T=h;h=d,d=T}return[h,d,function(t){return t.map(function(t,e){var n=t.map(function(t,n){return y[e][1][n](t)}).join(",");return"matrix"==y[e][0]&&16==n.split(",").length&&(y[e][0]="matrix3d"),y[e][0]+"("+n+")"}).join(" ")}]}var l=null,f={px:0},h={deg:0},p={matrix:["NNNNNN",[l,l,0,0,l,l,0,0,0,0,1,0,l,l,0,1],r],matrix3d:["NNNNNNNNNNNNNNNN",r],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",n([l,l,1]),r],scalex:["N",n([l,1,1]),n([l,1])],scaley:["N",n([1,l,1]),n([1,l])],scalez:["N",n([1,1,l])],scale3d:["NNN",r],skew:["Aa",null,r],skewx:["A",null,n([l,h])],skewy:["A",null,n([h,l])],translate:["Tt",n([l,l,f]),r],translatex:["T",n([l,f,f]),n([l,f])],translatey:["T",n([f,l,f]),n([f,l])],translatez:["L",n([f,f,l])],translate3d:["TTL",r]};t.addPropertiesHandler(o,c,["transform"]),t.transformToSvgMatrix=function(e){var n=t.transformListToMatrix(o(e));return"matrix("+i(n[0])+" "+i(n[1])+" "+i(n[4])+" "+i(n[5])+" "+i(n[12])+" "+i(n[13])+")"}}(o),function(t){function e(t){var e=Number(t);if(!(isNaN(e)||e<100||e>900||e%100!=0))return e}function n(e){return e=100*Math.round(e/100),e=t.clamp(100,900,e),400===e?"normal":700===e?"bold":String(e)}function r(t,e){return[t,e,n]}t.addPropertiesHandler(e,r,["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 s=i[0];if(s[0]=s[0]||"center",s[1]=s[1]||"center",3==e&&(s[2]=s[2]||{px:0}),s.length==e){if(/top|bottom/.test(s[0])||/left|right/.test(s[1])){var u=s[0];s[0]=s[1],s[1]=u}if(/left|right|center|Object/.test(s[0])&&/top|bottom|center|Object/.test(s[1]))return s.map(function(t){return"object"==(void 0===t?"undefined":n(t))?t:a[t]})}}}function i(n){var o=t.consumeRepeated(r,/^/,n);if(o){for(var i=o[0],s=[{"%":50},{"%":50}],u=0,c=!1,l=0;l<i.length;l++){var f=i[l];"string"==typeof f?(c=/bottom|right/.test(f),u={left:0,right:0,center:u,top:1,bottom:1}[f],s[u]=a[f],"center"==f&&u++):(c&&(f=e(f),f["%"]=(f["%"]||0)+100),s[u]=f,u++,c=!1)}return[s,o[1]]}}function s(e){var n=t.consumeRepeated(i,/^,/,e);if(n&&""==n[1])return n[0]}var a={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},u=t.mergeNestedRepeated.bind(null,t.mergeDimensions," ");t.addPropertiesHandler(o.bind(null,3),u,["transform-origin"]),t.addPropertiesHandler(o.bind(null,2),u,["perspective-origin"]),t.consumePosition=i,t.mergeOffsetList=u;var c=t.mergeNestedRepeated.bind(null,u,", ");t.addPropertiesHandler(s,c,["background-position","object-position"])}(o),function(t){function e(e){var n=t.consumeToken(/^circle/,e);if(n&&n[0])return["circle"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),r,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],n[1]));var i=t.consumeToken(/^ellipse/,e);if(i&&i[0])return["ellipse"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),o,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],i[1]));var s=t.consumeToken(/^polygon/,e);return s&&s[0]?["polygon"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),t.optional(t.consumeToken.bind(void 0,/^nonzero\s*,|^evenodd\s*,/),"nonzero,"),t.consumeSizePairList,t.ignore(t.consumeToken.bind(void 0,/^\)/))],s[1])):void 0}function n(e,n){if(e[0]===n[0])return"circle"==e[0]?t.mergeList(e.slice(1),n.slice(1),["circle(",t.mergeDimensions," at ",t.mergeOffsetList,")"]):"ellipse"==e[0]?t.mergeList(e.slice(1),n.slice(1),["ellipse(",t.mergeNonNegativeSizePair," at ",t.mergeOffsetList,")"]):"polygon"==e[0]&&e[1]==n[1]?t.mergeList(e.slice(2),n.slice(2),["polygon(",e[1],s,")"]):void 0}var r=t.consumeParenthesised.bind(null,t.parseLengthOrPercent),o=t.consumeRepeated.bind(void 0,r,/^/),i=t.mergeNestedRepeated.bind(void 0,t.mergeDimensions," "),s=t.mergeNestedRepeated.bind(void 0,i,",");t.addPropertiesHandler(e,n,["shape-outside"])}(o),function(t,e){function n(t,e){e.concat([t]).forEach(function(e){e in document.documentElement.style&&(r[t]=e),o[e]=t})}var r={},o={};n("transform",["webkitTransform","msTransform"]),n("transformOrigin",["webkitTransformOrigin"]),n("perspective",["webkitPerspective"]),n("perspectiveOrigin",["webkitPerspectiveOrigin"]),t.propertyName=function(t){return r[t]||t},t.unprefixedPropertyName=function(t){return o[t]||t}}(o)}(),function(){if(void 0===document.createElement("div").animate([]).oncancel){var t;if(window.performance&&performance.now)var t=function(){return performance.now()};else var t=function(){return Date.now()};var e=function(t,e,n){this.target=t,this.currentTime=e,this.timelineTime=n,this.type="cancel",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()},n=window.Element.prototype.animate;window.Element.prototype.animate=function(r,o){var i=n.call(this,r,o);i._cancelHandlers=[],i.oncancel=null;var s=i.cancel;i.cancel=function(){s.call(this);var n=new e(this,null,t()),r=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout(function(){r.forEach(function(t){t.call(n.target,n)})},0)};var a=i.addEventListener;i.addEventListener=function(t,e){"function"==typeof e&&"cancel"==t?this._cancelHandlers.push(e):a.call(this,t,e)};var u=i.removeEventListener;return i.removeEventListener=function(t,e){if("cancel"==t){var n=this._cancelHandlers.indexOf(e);n>=0&&this._cancelHandlers.splice(n,1)}else u.call(this,t,e)},i}}}(),function(t){var e=document.documentElement,n=null,r=!1;try{var o=getComputedStyle(e).getPropertyValue("opacity"),i="0"==o?"1":"0";n=e.animate({opacity:[i,i]},{duration:1}),n.currentTime=0,r=getComputedStyle(e).getPropertyValue("opacity")==i}catch(t){}finally{n&&n.cancel()}if(!r){var s=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)),s.call(this,e,n)}}}(r),e.true=t}({},function(){return this}())},function(t,e){var 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};!function(t,e,r){function o(t,e){return(void 0===t?"undefined":n(t))===e}function i(t){return t.replace(/([a-z])-([a-z])/g,function(t,e,n){return e+n.toUpperCase()}).replace(/^-/,"")}function s(){return"function"!=typeof e.createElement?e.createElement(arguments[0]):S?e.createElementNS.call(e,"http://www.w3.org/2000/svg",arguments[0]):e.createElement.apply(e,arguments)}function a(){var t=e.body;return t||(t=s(S?"svg":"body"),t.fake=!0),t}function u(t,n,r,o){var i,u,c,l,f="modernizr",h=s("div"),p=a();if(parseInt(r,10))for(;r--;)c=s("div"),c.id=o?o[r]:f+(r+1),h.appendChild(c);return i=s("style"),i.type="text/css",i.id="s"+f,(p.fake?p:h).appendChild(i),p.appendChild(h),i.styleSheet?i.styleSheet.cssText=t:i.appendChild(e.createTextNode(t)),h.id=f,p.fake&&(p.style.background="",p.style.overflow="hidden",l=O.style.overflow,O.style.overflow="hidden",O.appendChild(p)),u=n(h,t),p.fake?(p.parentNode.removeChild(p),O.style.overflow=l,O.offsetHeight):h.parentNode.removeChild(h),!!u}function c(t,e){return!!~(""+t).indexOf(e)}function l(t,e){return function(){return t.apply(e,arguments)}}function f(t,e,n){var r;for(var i in t)if(t[i]in e)return!1===n?t[i]:(r=e[t[i]],o(r,"function")?l(r,n||e):r);return!1}function h(t){return t.replace(/([A-Z])/g,function(t,e){return"-"+e.toLowerCase()}).replace(/^ms-/,"-ms-")}function p(e,n,r){var o;if("getComputedStyle"in t){o=getComputedStyle.call(t,e,n);var i=t.console;if(null!==o)r&&(o=o.getPropertyValue(r));else if(i){var s=i.error?"error":"log";i[s].call(i,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}}else o=!n&&e.currentStyle&&e.currentStyle[r];return o}function d(e,n){var o=e.length;if("CSS"in t&&"supports"in t.CSS){for(;o--;)if(t.CSS.supports(h(e[o]),n))return!0;return!1}if("CSSSupportsRule"in t){for(var i=[];o--;)i.push("("+h(e[o])+":"+n+")");return i=i.join(" or "),u("@supports ("+i+") { #modernizr { position: absolute; } }",function(t){return"absolute"==p(t,null,"position")})}return r}function y(t,e,n,a){function u(){f&&(delete C.style,delete C.modElem)}if(a=!o(a,"undefined")&&a,!o(n,"undefined")){var l=d(t,n);if(!o(l,"undefined"))return l}for(var f,h,p,y,b,v=["modernizr","tspan","samp"];!C.style&&v.length;)f=!0,C.modElem=s(v.shift()),C.style=C.modElem.style;for(p=t.length,h=0;h<p;h++)if(y=t[h],b=C.style[y],c(y,"-")&&(y=i(y)),C.style[y]!==r){if(a||o(n,"undefined"))return u(),"pfx"!=e||y;try{C.style[y]=n}catch(t){}if(C.style[y]!=b)return u(),"pfx"!=e||y}return u(),!1}function b(t,e,n,r,i){var s=t.charAt(0).toUpperCase()+t.slice(1),a=(t+" "+k.join(s+" ")+s).split(" ");return o(e,"string")||o(e,"undefined")?y(a,e,r,i):(a=(t+" "+P.join(s+" ")+s).split(" "),f(a,e,n))}function v(t,e,n){return b(t,r,r,e,n)}var m=[],g={_version:"3.5.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){m.push({name:t,fn:e,options:n})},addAsyncTest:function(t){m.push({name:null,fn:t})}},w=function(){};w.prototype=g,w=new w,/*!
|
|
15
|
+
{
|
|
16
|
+
"name": "CustomEvent",
|
|
17
|
+
"property": "customevent",
|
|
18
|
+
"tags": ["customevent"],
|
|
19
|
+
"authors": ["Alberto Elias"],
|
|
20
|
+
"notes": [{
|
|
21
|
+
"name": "W3C DOM reference",
|
|
22
|
+
"href": "https://www.w3.org/TR/DOM-Level-3-Events/#interface-CustomEvent"
|
|
23
|
+
}, {
|
|
24
|
+
"name": "MDN documentation",
|
|
25
|
+
"href": "https://developer.mozilla.org/en/docs/Web/API/CustomEvent"
|
|
26
|
+
}],
|
|
27
|
+
"polyfills": ["eventlistener"]
|
|
28
|
+
}
|
|
29
|
+
!*/
|
|
30
|
+
w.addTest("customevent","CustomEvent"in t&&"function"==typeof t.CustomEvent),/*!
|
|
31
|
+
{
|
|
32
|
+
"name": "Event Listener",
|
|
33
|
+
"property": "eventlistener",
|
|
34
|
+
"authors": ["Andrew Betts (@triblondon)"],
|
|
35
|
+
"notes": [{
|
|
36
|
+
"name": "W3C Spec",
|
|
37
|
+
"href": "https://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-Registration-interfaces"
|
|
38
|
+
}],
|
|
39
|
+
"polyfills": ["eventlistener"]
|
|
40
|
+
}
|
|
41
|
+
!*/
|
|
42
|
+
w.addTest("eventlistener","addEventListener"in t),/*!
|
|
43
|
+
{
|
|
44
|
+
"name": "History API",
|
|
45
|
+
"property": "history",
|
|
46
|
+
"caniuse": "history",
|
|
47
|
+
"tags": ["history"],
|
|
48
|
+
"authors": ["Hay Kranen", "Alexander Farkas"],
|
|
49
|
+
"notes": [{
|
|
50
|
+
"name": "W3C Spec",
|
|
51
|
+
"href": "https://www.w3.org/TR/html51/browsers.html#the-history-interface"
|
|
52
|
+
}, {
|
|
53
|
+
"name": "MDN documentation",
|
|
54
|
+
"href": "https://developer.mozilla.org/en-US/docs/Web/API/window.history"
|
|
55
|
+
}],
|
|
56
|
+
"polyfills": ["historyjs", "html5historyapi"]
|
|
57
|
+
}
|
|
58
|
+
!*/
|
|
59
|
+
w.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)}),/*!
|
|
60
|
+
{
|
|
61
|
+
"name": "QuerySelector",
|
|
62
|
+
"property": "queryselector",
|
|
63
|
+
"caniuse": "queryselector",
|
|
64
|
+
"tags": ["queryselector"],
|
|
65
|
+
"authors": ["Andrew Betts (@triblondon)"],
|
|
66
|
+
"notes": [{
|
|
67
|
+
"name" : "W3C Selectors reference",
|
|
68
|
+
"href": "https://www.w3.org/TR/selectors-api/#queryselectorall"
|
|
69
|
+
}],
|
|
70
|
+
"polyfills": ["css-selector-engine"]
|
|
71
|
+
}
|
|
72
|
+
!*/
|
|
73
|
+
w.addTest("queryselector","querySelector"in e&&"querySelectorAll"in e),/*!
|
|
74
|
+
{
|
|
75
|
+
"name": "ES6 Promises",
|
|
76
|
+
"property": "promises",
|
|
77
|
+
"caniuse": "promises",
|
|
78
|
+
"polyfills": ["es6promises"],
|
|
79
|
+
"authors": ["Krister Kari", "Jake Archibald"],
|
|
80
|
+
"tags": ["es6"],
|
|
81
|
+
"notes": [{
|
|
82
|
+
"name": "The ES6 promises spec",
|
|
83
|
+
"href": "https://github.com/domenic/promises-unwrapping"
|
|
84
|
+
},{
|
|
85
|
+
"name": "Chromium dashboard - ES6 Promises",
|
|
86
|
+
"href": "https://www.chromestatus.com/features/5681726336532480"
|
|
87
|
+
},{
|
|
88
|
+
"name": "JavaScript Promises: There and back again - HTML5 Rocks",
|
|
89
|
+
"href": "http://www.html5rocks.com/en/tutorials/es6/promises/"
|
|
90
|
+
}]
|
|
91
|
+
}
|
|
92
|
+
!*/
|
|
93
|
+
w.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 _=[],x=g._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];g._prefixes=x;var O=e.documentElement;/*!
|
|
94
|
+
{
|
|
95
|
+
"name": "classList",
|
|
96
|
+
"caniuse": "classlist",
|
|
97
|
+
"property": "classlist",
|
|
98
|
+
"tags": ["dom"],
|
|
99
|
+
"builderAliases": ["dataview_api"],
|
|
100
|
+
"notes": [{
|
|
101
|
+
"name": "MDN Docs",
|
|
102
|
+
"href": "https://developer.mozilla.org/en/DOM/element.classList"
|
|
103
|
+
}]
|
|
104
|
+
}
|
|
105
|
+
!*/
|
|
106
|
+
w.addTest("classlist","classList"in O),/*!
|
|
107
|
+
{
|
|
108
|
+
"name": "Document Fragment",
|
|
109
|
+
"property": "documentfragment",
|
|
110
|
+
"notes": [{
|
|
111
|
+
"name": "W3C DOM Level 1 Reference",
|
|
112
|
+
"href": "https://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-B63ED1A3"
|
|
113
|
+
}, {
|
|
114
|
+
"name": "SitePoint Reference",
|
|
115
|
+
"href": "http://reference.sitepoint.com/javascript/DocumentFragment"
|
|
116
|
+
}, {
|
|
117
|
+
"name": "QuirksMode Compatibility Tables",
|
|
118
|
+
"href": "http://www.quirksmode.org/m/w3c_core.html#t112"
|
|
119
|
+
}],
|
|
120
|
+
"authors": ["Ron Waldon (@jokeyrhyme)"],
|
|
121
|
+
"knownBugs": ["false-positive on Blackberry 9500, see QuirksMode note"],
|
|
122
|
+
"tags": []
|
|
123
|
+
}
|
|
124
|
+
!*/
|
|
125
|
+
w.addTest("documentfragment",function(){return"createDocumentFragment"in e&&"appendChild"in O});var S="svg"===O.nodeName.toLowerCase();/*!
|
|
126
|
+
{
|
|
127
|
+
"name": "CSS Opacity",
|
|
128
|
+
"caniuse": "css-opacity",
|
|
129
|
+
"property": "opacity",
|
|
130
|
+
"tags": ["css"]
|
|
131
|
+
}
|
|
132
|
+
!*/
|
|
133
|
+
w.addTest("opacity",function(){var t=s("a").style;return t.cssText=x.join("opacity:.55;"),/^0.55$/.test(t.opacity)}),/*!
|
|
134
|
+
{
|
|
135
|
+
"name": "CSS Pointer Events",
|
|
136
|
+
"caniuse": "pointer-events",
|
|
137
|
+
"property": "csspointerevents",
|
|
138
|
+
"authors": ["ausi"],
|
|
139
|
+
"tags": ["css"],
|
|
140
|
+
"builderAliases": ["css_pointerevents"],
|
|
141
|
+
"notes": [
|
|
142
|
+
{
|
|
143
|
+
"name": "MDN Docs",
|
|
144
|
+
"href": "https://developer.mozilla.org/en-US/docs/Web/CSS/pointer-events"
|
|
145
|
+
},{
|
|
146
|
+
"name": "Test Project Page",
|
|
147
|
+
"href": "https://ausi.github.com/Feature-detection-technique-for-pointer-events/"
|
|
148
|
+
},{
|
|
149
|
+
"name": "Test Project Wiki",
|
|
150
|
+
"href": "https://github.com/ausi/Feature-detection-technique-for-pointer-events/wiki"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "Related Github Issue",
|
|
154
|
+
"href": "https://github.com/Modernizr/Modernizr/issues/80"
|
|
155
|
+
}
|
|
156
|
+
]
|
|
157
|
+
}
|
|
158
|
+
!*/
|
|
159
|
+
w.addTest("csspointerevents",function(){var t=s("a").style;return t.cssText="pointer-events:auto","auto"===t.pointerEvents}),/*!
|
|
160
|
+
{
|
|
161
|
+
"name": "CSS Font rem Units",
|
|
162
|
+
"caniuse": "rem",
|
|
163
|
+
"authors": ["nsfmc"],
|
|
164
|
+
"property": "cssremunit",
|
|
165
|
+
"tags": ["css"],
|
|
166
|
+
"builderAliases": ["css_remunit"],
|
|
167
|
+
"notes": [{
|
|
168
|
+
"name": "W3C Spec",
|
|
169
|
+
"href": "https://www.w3.org/TR/css3-values/#relative0"
|
|
170
|
+
},{
|
|
171
|
+
"name": "Font Size with rem by Jonathan Snook",
|
|
172
|
+
"href": "http://snook.ca/archives/html_and_css/font-size-with-rem"
|
|
173
|
+
}]
|
|
174
|
+
}
|
|
175
|
+
!*/
|
|
176
|
+
w.addTest("cssremunit",function(){var t=s("a").style;try{t.fontSize="3rem"}catch(t){}return/rem/.test(t.fontSize)});var j=g.testStyles=u;/*!
|
|
177
|
+
{
|
|
178
|
+
"name": "Touch Events",
|
|
179
|
+
"property": "touchevents",
|
|
180
|
+
"caniuse" : "touch",
|
|
181
|
+
"tags": ["media", "attribute"],
|
|
182
|
+
"notes": [{
|
|
183
|
+
"name": "Touch Events spec",
|
|
184
|
+
"href": "https://www.w3.org/TR/2013/WD-touch-events-20130124/"
|
|
185
|
+
}],
|
|
186
|
+
"warnings": [
|
|
187
|
+
"Indicates if the browser supports the Touch Events spec, and does not necessarily reflect a touchscreen device"
|
|
188
|
+
],
|
|
189
|
+
"knownBugs": [
|
|
190
|
+
"False-positive on some configurations of Nokia N900",
|
|
191
|
+
"False-positive on some BlackBerry 6.0 builds – https://github.com/Modernizr/Modernizr/issues/372#issuecomment-3112695"
|
|
192
|
+
]
|
|
193
|
+
}
|
|
194
|
+
!*/
|
|
195
|
+
w.addTest("touchevents",function(){var n;if("ontouchstart"in t||t.DocumentTouch&&e instanceof DocumentTouch)n=!0;else{var r=["@media (",x.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");j(r,function(t){n=9===t.offsetTop})}return n});var E="Moz O ms Webkit",k=g._config.usePrefixes?E.split(" "):[];g._cssomPrefixes=k;var T=function(e){var n,o=x.length,i=t.CSSRule;if(void 0===i)return r;if(!e)return!1;if(e=e.replace(/^@/,""),(n=e.replace(/-/g,"_").toUpperCase()+"_RULE")in i)return"@"+e;for(var s=0;s<o;s++){var a=x[s];if(a.toUpperCase()+"_"+n in i)return"@-"+a.toLowerCase()+"-"+e}return!1};g.atRule=T;var P=g._config.usePrefixes?E.toLowerCase().split(" "):[];g._domPrefixes=P;var A={elem:s("modernizr")};w._q.push(function(){delete A.elem});var C={style:A.elem.style};w._q.unshift(function(){delete C.style}),g.testAllProps=b;var M=g.prefixed=function(t,e,n){return 0===t.indexOf("@")?T(t):(-1!=t.indexOf("-")&&(t=i(t)),e?b(t,e,n):b(t,"pfx"))};/*!
|
|
196
|
+
{
|
|
197
|
+
"name": "requestAnimationFrame",
|
|
198
|
+
"property": "requestanimationframe",
|
|
199
|
+
"aliases": ["raf"],
|
|
200
|
+
"caniuse": "requestanimationframe",
|
|
201
|
+
"tags": ["animation"],
|
|
202
|
+
"authors": ["Addy Osmani"],
|
|
203
|
+
"notes": [{
|
|
204
|
+
"name": "W3C spec",
|
|
205
|
+
"href": "https://www.w3.org/TR/animation-timing/"
|
|
206
|
+
}],
|
|
207
|
+
"polyfills": ["raf"]
|
|
208
|
+
}
|
|
209
|
+
!*/
|
|
210
|
+
w.addTest("requestanimationframe",!!M("requestAnimationFrame",t),{aliases:["raf"]}),/*!
|
|
211
|
+
{
|
|
212
|
+
"name": "matchMedia",
|
|
213
|
+
"property": "matchmedia",
|
|
214
|
+
"caniuse" : "matchmedia",
|
|
215
|
+
"tags": ["matchmedia"],
|
|
216
|
+
"authors": ["Alberto Elias"],
|
|
217
|
+
"notes": [{
|
|
218
|
+
"name": "W3C CSSOM View Module",
|
|
219
|
+
"href": "https://drafts.csswg.org/cssom-view/#the-mediaquerylist-interface"
|
|
220
|
+
}, {
|
|
221
|
+
"name": "MDN documentation",
|
|
222
|
+
"href": "https://developer.mozilla.org/en-US/docs/Web/API/Window.matchMedia"
|
|
223
|
+
}],
|
|
224
|
+
"polyfills": ["matchmediajs"]
|
|
225
|
+
}
|
|
226
|
+
!*/
|
|
227
|
+
w.addTest("matchmedia",!!M("matchMedia",t)),g.testAllProps=v,/*!
|
|
228
|
+
{
|
|
229
|
+
"name": "CSS Animations",
|
|
230
|
+
"property": "cssanimations",
|
|
231
|
+
"caniuse": "css-animation",
|
|
232
|
+
"polyfills": ["transformie", "csssandpaper"],
|
|
233
|
+
"tags": ["css"],
|
|
234
|
+
"warnings": ["Android < 4 will pass this test, but can only animate a single property at a time"],
|
|
235
|
+
"notes": [{
|
|
236
|
+
"name" : "Article: 'Dispelling the Android CSS animation myths'",
|
|
237
|
+
"href": "https://goo.gl/OGw5Gm"
|
|
238
|
+
}]
|
|
239
|
+
}
|
|
240
|
+
!*/
|
|
241
|
+
w.addTest("cssanimations",v("animationName","a",!0)),/*!
|
|
242
|
+
{
|
|
243
|
+
"name": "CSS Transforms",
|
|
244
|
+
"property": "csstransforms",
|
|
245
|
+
"caniuse": "transforms2d",
|
|
246
|
+
"tags": ["css"]
|
|
247
|
+
}
|
|
248
|
+
!*/
|
|
249
|
+
w.addTest("csstransforms",function(){return-1===navigator.userAgent.indexOf("Android 2.")&&v("transform","scale(1)",!0)}),function(){var t,e,n,r,i,s,a;for(var u in m)if(m.hasOwnProperty(u)){if(t=[],e=m[u],e.name&&(t.push(e.name.toLowerCase()),e.options&&e.options.aliases&&e.options.aliases.length))for(n=0;n<e.options.aliases.length;n++)t.push(e.options.aliases[n].toLowerCase());for(r=o(e.fn,"function")?e.fn():e.fn,i=0;i<t.length;i++)s=t[i],a=s.split("."),1===a.length?w[a[0]]=r:(!w[a[0]]||w[a[0]]instanceof Boolean||(w[a[0]]=new Boolean(w[a[0]])),w[a[0]][a[1]]=r),_.push((r?"":"no-")+a.join("-"))}}(),delete g.addTest,delete g.addAsyncTest;for(var R=0;R<w._q.length;R++)w._q[R]();t.Modernizr=w}(window,document)},function(t,e){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 v7.5.1 <https://qwtel.com/hydejack/>")},function(t,e){if(!("content"in document.createElement("template")))for(var n=document.getElementsByTagName("template"),r=n.length,o=0;o<r;++o){for(var i=n[o],s=i.childNodes,a=document.createDocumentFragment();s[0];)a.appendChild(s[0]);i.content=a}},function(t,e){if(window.ga&&!navigator.CookiesOK&&(!localStorage||!localStorage.getItem("hy:cookiesOK"))){var n=document.getElementById("_cookies-banner-template");if(n){var r=document.getElementsByTagName("hy-push-state")[0];r.insertBefore(document.importNode(n.content,!0),r.firstChild),document.getElementById("_cookies-ok").addEventListener("click",function(){localStorage&&localStorage.setItem("hy:cookiesOK",!0);var t=document.getElementById("_cookies-banner");t.parentNode.removeChild(t),window.ga(function(t){window.ga("set","anonymizeIp",void 0),localStorage&&localStorage.setItem("ga:clientId",t.get("clientId"))})},{once:!0})}}},function(t,e,n){"use strict";var r=n(2),o=n(18)(0),i=n(45)([].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(36),o=n(37),i=n(39),s=Object.defineProperty;e.f=n(9)?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(3);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){t.exports=!n(9)&&!n(6)(function(){return 7!=Object.defineProperty(n(38)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(3),o=n(5).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){var r=n(3);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(5),o=n(8),i=n(15),s=n(10)("src"),a=Function.toString,u=(""+a).split("toString");n(1).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,n){var r=n(43);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){var r=n(3),o=n(44),i=n(7)("species");t.exports=function(t){var e;return o(t)&&(e=t.constructor,"function"!=typeof e||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(12);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){"use strict";var r=n(6);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(2);r(r.P,"Function",{bind:n(47)})},function(t,e,n){"use strict";var r=n(17),o=n(3),i=n(48),s=[].slice,a={},u=function(t,e,n){if(!(e in a)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";a[e]=Function("F,a","return new F("+r.join(",")+")")}return a[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=s.call(arguments,1),a=function r(){var o=n.concat(s.call(arguments));return this instanceof r?u(e,o.length,o):i(e,o,t)};return o(e.prototype)&&(a.prototype=e.prototype),a}},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e){var n,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};n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(n=window)}t.exports=n},function(t,e,n){var r=n(51);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0};o.transform=void 0,o.insertInto=void 0;n(53)(r,o);r.locals&&(t.exports=r.locals)},function(t,e,n){e=t.exports=n(52)(!1),e.push([t.i,"@media screen {\n .hy-drawer-scrim {\n position: fixed;\n top: 0;\n left: 0;\n height: 100vh;\n width: 100vw;\n z-index: 20;\n opacity: 0;\n pointer-events: none;\n background: rgba(0, 0, 0, 0.5);\n transform: translateX(0);\n -webkit-tap-highlight-color: transparent;\n }\n\n .hy-drawer-content {\n position: fixed;\n top: 0;\n height: 100vh;\n z-index: 30;\n overflow-x: hidden;\n overflow-y: auto;\n transform: translateX(0);\n width: 300px;\n background: #e8e8e8;\n box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);\n contain: strict;\n -webkit-overflow-scrolling: touch;\n }\n\n .hy-drawer-content.hy-drawer-left {\n left: -300px;\n }\n\n .hy-drawer-content.hy-drawer-right {\n right: -300px;\n }\n\n .hy-drawer-content.hy-drawer-left.hy-drawer-opened {\n left: 0 !important;\n transform: translateX(0) !important;\n }\n\n .hy-drawer-content.hy-drawer-right.hy-drawer-opened {\n right: 0 !important;\n transform: translateX(0) !important;\n }\n\n .hy-drawer-grab {\n cursor: move;\n cursor: -webkit-grab;\n cursor: -moz-grab;\n cursor: grab;\n }\n\n .hy-drawer-grabbing {\n cursor: -webkit-grabbing;\n cursor: -moz-grabbing;\n cursor: grabbing;\n }\n}\n\n@media print {\n .hy-drawer-scrim {\n display: none !important;\n }\n\n .hy-drawer-content {\n transform: none !important;\n }\n}\n",""])},function(t,e){function n(t,e){var n=t[1]||"",o=t[3];if(!o)return n;if(e&&"function"==typeof btoa){var i=r(o);return[n].concat(o.sources.map(function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"})).concat([i]).join("\n")}return[n].join("\n")}function r(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var r=n(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<t.length;o++){var s=t[o];"number"==typeof s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),e.push(s))}},e}},function(t,e,n){function r(t,e){for(var n=0;n<t.length;n++){var r=t[n],o=d[r.id];if(o){o.refs++;for(var i=0;i<o.parts.length;i++)o.parts[i](r.parts[i]);for(;i<r.parts.length;i++)o.parts.push(l(r.parts[i],e))}else{for(var s=[],i=0;i<r.parts.length;i++)s.push(l(r.parts[i],e));d[r.id]={id:r.id,refs:1,parts:s}}}}function o(t,e){for(var n=[],r={},o=0;o<t.length;o++){var i=t[o],s=e.base?i[0]+e.base:i[0],a=i[1],u=i[2],c=i[3],l={css:a,media:u,sourceMap:c};r[s]?r[s].parts.push(l):n.push(r[s]={id:s,parts:[l]})}return n}function i(t,e){var n=v(t.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=w[w.length-1];if("top"===t.insertAt)r?r.nextSibling?n.insertBefore(e,r.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),w.push(e);else if("bottom"===t.insertAt)n.appendChild(e);else{if("object"!=typeof t.insertAt||!t.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=v(t.insertInto+" "+t.insertAt.before);n.insertBefore(e,o)}}function s(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=w.indexOf(t);e>=0&&w.splice(e,1)}function a(t){var e=document.createElement("style");return t.attrs.type="text/css",c(e,t.attrs),i(t,e),e}function u(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",c(e,t.attrs),i(t,e),e}function c(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function l(t,e){var n,r,o,i;if(e.transform&&t.css){if(!(i=e.transform(t.css)))return function(){};t.css=i}if(e.singleton){var c=g++;n=m||(m=a(e)),r=f.bind(null,n,c,!1),o=f.bind(null,n,c,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=u(e),r=p.bind(null,n,e),o=function(){s(n),n.href&&URL.revokeObjectURL(n.href)}):(n=a(e),r=h.bind(null,n),o=function(){s(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}function f(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=x(e,o);else{var i=document.createTextNode(o),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(i,s[e]):t.appendChild(i)}}function h(t,e){var n=e.css,r=e.media;if(r&&t.setAttribute("media",r),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function p(t,e,n){var r=n.css,o=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(r=_(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var s=new Blob([r],{type:"text/css"}),a=t.href;t.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}var d={},y=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}(function(){return window&&document&&document.all&&!window.atob}),b=function(t){return document.querySelector(t)},v=function(t){var e={};return function(t){if("function"==typeof t)return t();if(void 0===e[t]){var n=b.call(this,t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}e[t]=n}return e[t]}}(),m=null,g=0,w=[],_=n(54);t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");e=e||{},e.attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=y()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=o(t,e);return r(n,e),function(t){for(var i=[],s=0;s<n.length;s++){var a=n[s],u=d[a.id];u.refs--,i.push(u)}if(t){r(o(t,e),e)}for(var s=0;s<i.length;s++){var u=i[s];if(0===u.refs){for(var c=0;c<u.parts.length;c++)u.parts[c]();delete d[u.id]}}}};var x=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,r=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var o=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o))return t;var i;return i=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:r+o.replace(/^\.\//,""),"url("+JSON.stringify(i)+")"})}},function(t,e,n){n(56),t.exports=n(1).Object.assign},function(t,e,n){var r=n(2);r(r.S+r.F,"Object",{assign:n(57)})},function(t,e,n){"use strict";var r=n(58),o=n(63),i=n(64),s=n(19),a=n(11),u=Object.assign;t.exports=!u||n(6)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=u({},t)[n]||Object.keys(u({},e)).join("")!=r})?function(t,e){for(var n=s(t),u=arguments.length,c=1,l=o.f,f=i.f;u>c;)for(var h,p=a(arguments[c++]),d=l?r(p).concat(l(p)):r(p),y=d.length,b=0;y>b;)f.call(p,h=d[b++])&&(n[h]=p[h]);return n}:u},function(t,e,n){var r=n(59),o=n(62);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(15),o=n(23),i=n(24)(!1),s=n(61)("IE_PROTO");t.exports=function(t,e){var n,a=o(t),u=0,c=[];for(n in a)n!=s&&r(a,n)&&c.push(n);for(;e.length>u;)r(a,n=e[u++])&&(~i(c,n)||c.push(n));return c}},function(t,e,n){var r=n(21),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),t<0?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(22)("keys"),o=n(10);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){n(66),t.exports=n(1).String.includes},function(t,e,n){"use strict";var r=n(2),o=n(67);r(r.P+r.F*n(69)("includes"),"String",{includes:function(t){return!!~o(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(68),o=n(13);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(3),o=n(12),i=n(7)("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(7)("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(71),t.exports=n(1).Array.find},function(t,e,n){"use strict";var r=n(2),o=n(18)(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(25)("find")},function(t,e,n){"use strict";function r(t,e){if(!(this instanceof r))return new r(t,e);if(e&&e in p&&(e=null),e&&!(e in f))throw new Error("Unknown model: "+e);var n,o;if(t)if(t instanceof r)this.model=t.model,this.color=t.color.slice(),this.valpha=t.valpha;else if("string"==typeof t){var i=l.get(t);if(null===i)throw new Error("Unable to parse color from string: "+t);this.model=i.model,o=f[this.model].channels,this.color=i.value.slice(0,o),this.valpha="number"==typeof i.value[o]?i.value[o]:1}else if(t.length){this.model=e||"rgb",o=f[this.model].channels;var s=h.call(t,0,o);this.color=c(s,o),this.valpha="number"==typeof t[o]?t[o]: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 a=Object.keys(t);"alpha"in t&&(a.splice(a.indexOf("alpha"),1),this.valpha="number"==typeof t.alpha?t.alpha:0);var u=a.sort().join("");if(!(u in d))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=d[u];var b=f[this.model].labels,v=[];for(n=0;n<b.length;n++)v.push(t[b[n]]);this.color=c(v)}else this.model="rgb",this.color=[0,0,0],this.valpha=1;if(y[this.model])for(o=f[this.model].channels,n=0;n<o;n++){var m=y[this.model][n];m&&(this.color[n]=m(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}function o(t,e){return Number(t.toFixed(e))}function i(t){return function(e){return o(e,t)}}function s(t,e,n){return t=Array.isArray(t)?t:[t],t.forEach(function(t){(y[t]||(y[t]=[]))[e]=n}),t=t[0],function(r){var o;return arguments.length?(n&&(r=n(r)),o=this[t](),o.color[e]=r,o):(o=this[t]().color[e],n&&(o=n(o)),o)}}function a(t){return function(e){return Math.max(0,Math.min(t,e))}}function u(t){return Array.isArray(t)?t:[t]}function c(t,e){for(var n=0;n<e;n++)"number"!=typeof t[n]&&(t[n]=0);return t}var l=n(73),f=n(76),h=[].slice,p=["keyword","gray","hex"],d={};Object.keys(f).forEach(function(t){d[h.call(f[t].labels).sort().join("")]=t});var y={};r.prototype={toString:function(){return this.string()},toJSON:function(){return this[this.model]()},string:function(t){var e=this.model in l.to?this:this.rgb();e=e.round("number"==typeof t?t:1);var n=1===e.valpha?e.color:e.color.concat(this.valpha);return l.to[e.model](n)},percentString:function(t){var e=this.rgb().round("number"==typeof t?t:1),n=1===e.valpha?e.color:e.color.concat(this.valpha);return l.to.rgb.percent(n)},array:function(){return 1===this.valpha?this.color.slice():this.color.concat(this.valpha)},object:function(){for(var t={},e=f[this.model].channels,n=f[this.model].labels,r=0;r<e;r++)t[n[r]]=this.color[r];return 1!==this.valpha&&(t.alpha=this.valpha),t},unitArray:function(){var t=this.rgb().color;return t[0]/=255,t[1]/=255,t[2]/=255,1!==this.valpha&&t.push(this.valpha),t},unitObject:function(){var t=this.rgb().object();return t.r/=255,t.g/=255,t.b/=255,1!==this.valpha&&(t.alpha=this.valpha),t},round:function(t){return t=Math.max(t||0,0),new r(this.color.map(i(t)).concat(this.valpha),this.model)},alpha:function(t){return arguments.length?new r(this.color.concat(Math.max(0,Math.min(1,t))),this.model):this.valpha},red:s("rgb",0,a(255)),green:s("rgb",1,a(255)),blue:s("rgb",2,a(255)),hue:s(["hsl","hsv","hsl","hwb","hcg"],0,function(t){return(t%360+360)%360}),saturationl:s("hsl",1,a(100)),lightness:s("hsl",2,a(100)),saturationv:s("hsv",1,a(100)),value:s("hsv",2,a(100)),chroma:s("hcg",1,a(100)),gray:s("hcg",2,a(100)),white:s("hwb",1,a(100)),wblack:s("hwb",2,a(100)),cyan:s("cmyk",0,a(100)),magenta:s("cmyk",1,a(100)),yellow:s("cmyk",2,a(100)),black:s("cmyk",3,a(100)),x:s("xyz",0,a(100)),y:s("xyz",1,a(100)),z:s("xyz",2,a(100)),l:s("lab",0,a(100)),a:s("lab",1),b:s("lab",2),keyword:function(t){return arguments.length?new r(t):f[this.model].keyword(this.color)},hex:function(t){return arguments.length?new r(t):l.to.hex(this.rgb().round().color)},rgbNumber:function(){var t=this.rgb().color;return(255&t[0])<<16|(255&t[1])<<8|255&t[2]},luminosity:function(){for(var t=this.rgb().color,e=[],n=0;n<t.length;n++){var r=t[n]/255;e[n]=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),n=t.luminosity();return e>n?(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":""},dark:function(){var t=this.rgb().color;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},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 r.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+t)%360,n=n<0?360+n:n,e.color[0]=n,e},mix:function(t,e){var n=t.rgb(),o=this.rgb(),i=void 0===e?.5:e,s=2*i-1,a=n.alpha()-o.alpha(),u=((s*a==-1?s:(s+a)/(1+s*a))+1)/2,c=1-u;return r.rgb(u*n.red()+c*o.red(),u*n.green()+c*o.green(),u*n.blue()+c*o.blue(),n.alpha()*i+o.alpha()*(1-i))}},Object.keys(f).forEach(function(t){if(-1===p.indexOf(t)){var e=f[t].channels;r.prototype[t]=function(){if(this.model===t)return new r(this);if(arguments.length)return new r(arguments,t);var n="number"==typeof arguments[e]?e:this.valpha;return new r(u(f[this.model][t].raw(this.color)).concat(n),t)},r[t]=function(n){return"number"==typeof n&&(n=c(h.call(arguments),e)),new r(n,t)}}}),t.exports=r},function(t,e,n){function r(t,e,n){return Math.min(Math.max(e,t),n)}function o(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}var i=n(26),s=n(74),a={};for(var u in i)i.hasOwnProperty(u)&&(a[i[u]]=u);var c=t.exports={to:{}};c.get=function(t){var e,n,r=t.substring(0,3).toLowerCase();switch(r){case"hsl":e=c.get.hsl(t),n="hsl";break;case"hwb":e=c.get.hwb(t),n="hwb";break;default:e=c.get.rgb(t),n="rgb"}return e?{model:n,value:e}:null},c.get.rgb=function(t){if(!t)return null;var e,n,o,s=/^#([a-f0-9]{3,4})$/i,a=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,u=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,c=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,l=/(\D+)/,f=[0,0,0,1];if(e=t.match(a)){for(o=e[2],e=e[1],n=0;n<3;n++){var h=2*n;f[n]=parseInt(e.slice(h,h+2),16)}o&&(f[3]=Math.round(parseInt(o,16)/255*100)/100)}else if(e=t.match(s)){for(e=e[1],o=e[3],n=0;n<3;n++)f[n]=parseInt(e[n]+e[n],16);o&&(f[3]=Math.round(parseInt(o+o,16)/255*100)/100)}else if(e=t.match(u)){for(n=0;n<3;n++)f[n]=parseInt(e[n+1],0);e[4]&&(f[3]=parseFloat(e[4]))}else{if(!(e=t.match(c)))return(e=t.match(l))?"transparent"===e[1]?[0,0,0,0]:(f=i[e[1]])?(f[3]=1,f):null:null;for(n=0;n<3;n++)f[n]=Math.round(2.55*parseFloat(e[n+1]));e[4]&&(f[3]=parseFloat(e[4]))}for(n=0;n<3;n++)f[n]=r(f[n],0,255);return f[3]=r(f[3],0,1),f},c.get.hsl=function(t){if(!t)return null;var e=/^hsla?\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,n=t.match(e);if(n){var o=parseFloat(n[4]);return[(parseFloat(n[1])%360+360)%360,r(parseFloat(n[2]),0,100),r(parseFloat(n[3]),0,100),r(isNaN(o)?1:o,0,1)]}return null},c.get.hwb=function(t){if(!t)return null;var e=/^hwb\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,n=t.match(e);if(n){var o=parseFloat(n[4]);return[(parseFloat(n[1])%360+360)%360,r(parseFloat(n[2]),0,100),r(parseFloat(n[3]),0,100),r(isNaN(o)?1:o,0,1)]}return null},c.to.hex=function(){var t=s(arguments);return"#"+o(t[0])+o(t[1])+o(t[2])+(t[3]<1?o(Math.round(255*t[3])):"")},c.to.rgb=function(){var t=s(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]+")"},c.to.rgb.percent=function(){var t=s(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]+")"},c.to.hsl=function(){var t=s(arguments);return t.length<4||1===t[3]?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},c.to.hwb=function(){var t=s(arguments),e="";return t.length>=4&&1!==t[3]&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},c.to.keyword=function(t){return a[t.slice(0,3)]}},function(t,e,n){"use strict";var r=n(75),o=Array.prototype.concat,i=Array.prototype.slice,s=t.exports=function(t){for(var e=[],n=0,s=t.length;n<s;n++){var a=t[n];r(a)?e=o.call(e,i.call(a)):e.push(a)}return e};s.wrap=function(t){return function(){return t(s(arguments))}}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||"string"==typeof t)&&(t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&"String"!==t.constructor.name))}},function(t,e,n){function r(t){var e=function(e){return void 0===e||null===e?e:(arguments.length>1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}function o(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"===(void 0===n?"undefined":i(n)))for(var r=n.length,o=0;o<r;o++)n[o]=Math.round(n[o]);return n};return"conversion"in t&&(e.conversion=t.conversion),e}var i="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},s=n(27),a=n(77),u={};Object.keys(s).forEach(function(t){u[t]={},Object.defineProperty(u[t],"channels",{value:s[t].channels}),Object.defineProperty(u[t],"labels",{value:s[t].labels});var e=a(t);Object.keys(e).forEach(function(n){var i=e[n];u[t][n]=o(i),u[t][n].raw=r(i)})}),t.exports=u},function(t,e,n){function r(){for(var t={},e=Object.keys(a),n=e.length,r=0;r<n;r++)t[e[r]]={distance:-1,parent:null};return t}function o(t){var e=r(),n=[t];for(e[t].distance=0;n.length;)for(var o=n.pop(),i=Object.keys(a[o]),s=i.length,u=0;u<s;u++){var c=i[u],l=e[c];-1===l.distance&&(l.distance=e[o].distance+1,l.parent=o,n.unshift(c))}return e}function i(t,e){return function(n){return e(t(n))}}function s(t,e){for(var n=[e[t].parent,t],r=a[e[t].parent][t],o=e[t].parent;e[o].parent;)n.unshift(e[o].parent),r=i(a[e[o].parent][o],r),o=e[o].parent;return r.conversion=n,r}var a=n(27);t.exports=function(t){for(var e=o(t),n={},r=Object.keys(e),i=r.length,a=0;a<i;a++){var u=r[a];null!==e[u].parent&&(n[u]=s(u,e))}return n}},function(t,e,n){"use strict";function r(t){return t.dataset}t.exports=function(){var t=document.createElement("div");return t.setAttribute("data-a-b","c"),Boolean(t.dataset&&"c"===t.dataset.aB)}()?r:function(t){function e(){return this.value}function n(t,e){void 0===e?this.removeAttribute(t):this.setAttribute(t,e)}for(var r={},o=t.attributes,i=0,s=o.length;i<s;i++){var a=o[i];if(a){var u=a.name;if(0===u.indexOf("data-")){var c=u.slice(5).replace(/-./g,function(t){return t.charAt(1).toUpperCase()}),l=a.value;Object.defineProperty(r,c,{enumerable:!0,get:e.bind({value:l||""}),set:n.bind(t,u)})}}}return r}},function(t,e,n){n(80),t.exports=n(1).Array.includes},function(t,e,n){"use strict";var r=n(2),o=n(24)(!0);r(r.P,"Array",{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),n(25)("includes")}]);
|
data/assets/version.json
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-theme-hydejack
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.5.
|
|
4
|
+
version: 7.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Florian Klampfer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-04-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -191,7 +191,6 @@ files:
|
|
|
191
191
|
- assets/bower.json
|
|
192
192
|
- assets/bower_components/html5shiv/.bower.json
|
|
193
193
|
- assets/bower_components/html5shiv/Gruntfile.js
|
|
194
|
-
- assets/bower_components/html5shiv/MIT and GPL2 licenses.md
|
|
195
194
|
- assets/bower_components/html5shiv/bower.json
|
|
196
195
|
- assets/bower_components/html5shiv/dist/html5shiv-printshiv.js
|
|
197
196
|
- assets/bower_components/html5shiv/dist/html5shiv-printshiv.min.js
|
|
@@ -318,7 +317,7 @@ files:
|
|
|
318
317
|
- assets/bower_components/webfontloader/src/modules/typekit.js
|
|
319
318
|
- assets/bower_components/webfontloader/webfontloader.gemspec
|
|
320
319
|
- assets/bower_components/webfontloader/webfontloader.js
|
|
321
|
-
- assets/css/hydejack-7.5.
|
|
320
|
+
- assets/css/hydejack-7.5.1.css
|
|
322
321
|
- assets/icomoon/fonts/icomoon.eot
|
|
323
322
|
- assets/icomoon/fonts/icomoon.svg
|
|
324
323
|
- assets/icomoon/fonts/icomoon.ttf
|
|
@@ -340,7 +339,7 @@ files:
|
|
|
340
339
|
- assets/img/oldschool-bg.jpg
|
|
341
340
|
- assets/img/pretentious-bg.jpg
|
|
342
341
|
- assets/img/sidebar-bg.jpg
|
|
343
|
-
- assets/js/hydejack-7.5.
|
|
342
|
+
- assets/js/hydejack-7.5.1.js
|
|
344
343
|
- assets/manifest.json
|
|
345
344
|
- assets/version.json
|
|
346
345
|
- licenses/Apache-2.0.md
|
|
@@ -1,372 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2014 Alexander Farkas (aFarkas).
|
|
2
|
-
|
|
3
|
-
This software is licensed under a dual license system (MIT or GPL version 2).
|
|
4
|
-
This means you are free to choose with which of both licenses (MIT or
|
|
5
|
-
GPL version 2) you want to use this library.
|
|
6
|
-
|
|
7
|
-
The license texts of the MIT license and the GPL version 2 are as follows:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
## MIT License
|
|
11
|
-
|
|
12
|
-
Permission is hereby granted, free of charge, to any person obtaining a
|
|
13
|
-
copy of this software and associated documentation files (the "Software"),
|
|
14
|
-
to deal in the Software without restriction, including without limitation
|
|
15
|
-
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
16
|
-
and/or sell copies of the Software, and to permit persons to whom the
|
|
17
|
-
Software is furnished to do so, subject to the following conditions:
|
|
18
|
-
|
|
19
|
-
The above copyright notice and this permission notice shall be included in
|
|
20
|
-
all copies or substantial portions of the Software.
|
|
21
|
-
|
|
22
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
23
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
24
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
25
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
26
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
27
|
-
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
28
|
-
DEALINGS IN THE SOFTWARE.
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
## GNU GENERAL PUBLIC LICENSE Version 2, June 1991
|
|
33
|
-
|
|
34
|
-
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
|
35
|
-
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
36
|
-
Everyone is permitted to copy and distribute verbatim copies
|
|
37
|
-
of this license document, but changing it is not allowed.
|
|
38
|
-
|
|
39
|
-
Preamble
|
|
40
|
-
|
|
41
|
-
The licenses for most software are designed to take away your
|
|
42
|
-
freedom to share and change it. By contrast, the GNU General Public
|
|
43
|
-
License is intended to guarantee your freedom to share and change free
|
|
44
|
-
software--to make sure the software is free for all its users. This
|
|
45
|
-
General Public License applies to most of the Free Software
|
|
46
|
-
Foundation's software and to any other program whose authors commit to
|
|
47
|
-
using it. (Some other Free Software Foundation software is covered by
|
|
48
|
-
the GNU Library General Public License instead.) You can apply it to
|
|
49
|
-
your programs, too.
|
|
50
|
-
|
|
51
|
-
When we speak of free software, we are referring to freedom, not
|
|
52
|
-
price. Our General Public Licenses are designed to make sure that you
|
|
53
|
-
have the freedom to distribute copies of free software (and charge for
|
|
54
|
-
this service if you wish), that you receive source code or can get it
|
|
55
|
-
if you want it, that you can change the software or use pieces of it
|
|
56
|
-
in new free programs; and that you know you can do these things.
|
|
57
|
-
|
|
58
|
-
To protect your rights, we need to make restrictions that forbid
|
|
59
|
-
anyone to deny you these rights or to ask you to surrender the rights.
|
|
60
|
-
These restrictions translate to certain responsibilities for you if you
|
|
61
|
-
distribute copies of the software, or if you modify it.
|
|
62
|
-
|
|
63
|
-
For example, if you distribute copies of such a program, whether
|
|
64
|
-
gratis or for a fee, you must give the recipients all the rights that
|
|
65
|
-
you have. You must make sure that they, too, receive or can get the
|
|
66
|
-
source code. And you must show them these terms so they know their
|
|
67
|
-
rights.
|
|
68
|
-
|
|
69
|
-
We protect your rights with two steps: (1) copyright the software, and
|
|
70
|
-
(2) offer you this license which gives you legal permission to copy,
|
|
71
|
-
distribute and/or modify the software.
|
|
72
|
-
|
|
73
|
-
Also, for each author's protection and ours, we want to make certain
|
|
74
|
-
that everyone understands that there is no warranty for this free
|
|
75
|
-
software. If the software is modified by someone else and passed on, we
|
|
76
|
-
want its recipients to know that what they have is not the original, so
|
|
77
|
-
that any problems introduced by others will not reflect on the original
|
|
78
|
-
authors' reputations.
|
|
79
|
-
|
|
80
|
-
Finally, any free program is threatened constantly by software
|
|
81
|
-
patents. We wish to avoid the danger that redistributors of a free
|
|
82
|
-
program will individually obtain patent licenses, in effect making the
|
|
83
|
-
program proprietary. To prevent this, we have made it clear that any
|
|
84
|
-
patent must be licensed for everyone's free use or not licensed at all.
|
|
85
|
-
|
|
86
|
-
The precise terms and conditions for copying, distribution and
|
|
87
|
-
modification follow.
|
|
88
|
-
|
|
89
|
-
GNU GENERAL PUBLIC LICENSE
|
|
90
|
-
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
|
91
|
-
|
|
92
|
-
0. This License applies to any program or other work which contains
|
|
93
|
-
a notice placed by the copyright holder saying it may be distributed
|
|
94
|
-
under the terms of this General Public License. The "Program", below,
|
|
95
|
-
refers to any such program or work, and a "work based on the Program"
|
|
96
|
-
means either the Program or any derivative work under copyright law:
|
|
97
|
-
that is to say, a work containing the Program or a portion of it,
|
|
98
|
-
either verbatim or with modifications and/or translated into another
|
|
99
|
-
language. (Hereinafter, translation is included without limitation in
|
|
100
|
-
the term "modification".) Each licensee is addressed as "you".
|
|
101
|
-
|
|
102
|
-
Activities other than copying, distribution and modification are not
|
|
103
|
-
covered by this License; they are outside its scope. The act of
|
|
104
|
-
running the Program is not restricted, and the output from the Program
|
|
105
|
-
is covered only if its contents constitute a work based on the
|
|
106
|
-
Program (independent of having been made by running the Program).
|
|
107
|
-
Whether that is true depends on what the Program does.
|
|
108
|
-
|
|
109
|
-
1. You may copy and distribute verbatim copies of the Program's
|
|
110
|
-
source code as you receive it, in any medium, provided that you
|
|
111
|
-
conspicuously and appropriately publish on each copy an appropriate
|
|
112
|
-
copyright notice and disclaimer of warranty; keep intact all the
|
|
113
|
-
notices that refer to this License and to the absence of any warranty;
|
|
114
|
-
and give any other recipients of the Program a copy of this License
|
|
115
|
-
along with the Program.
|
|
116
|
-
|
|
117
|
-
You may charge a fee for the physical act of transferring a copy, and
|
|
118
|
-
you may at your option offer warranty protection in exchange for a fee.
|
|
119
|
-
|
|
120
|
-
2. You may modify your copy or copies of the Program or any portion
|
|
121
|
-
of it, thus forming a work based on the Program, and copy and
|
|
122
|
-
distribute such modifications or work under the terms of Section 1
|
|
123
|
-
above, provided that you also meet all of these conditions:
|
|
124
|
-
|
|
125
|
-
a) You must cause the modified files to carry prominent notices
|
|
126
|
-
stating that you changed the files and the date of any change.
|
|
127
|
-
|
|
128
|
-
b) You must cause any work that you distribute or publish, that in
|
|
129
|
-
whole or in part contains or is derived from the Program or any
|
|
130
|
-
part thereof, to be licensed as a whole at no charge to all third
|
|
131
|
-
parties under the terms of this License.
|
|
132
|
-
|
|
133
|
-
c) If the modified program normally reads commands interactively
|
|
134
|
-
when run, you must cause it, when started running for such
|
|
135
|
-
interactive use in the most ordinary way, to print or display an
|
|
136
|
-
announcement including an appropriate copyright notice and a
|
|
137
|
-
notice that there is no warranty (or else, saying that you provide
|
|
138
|
-
a warranty) and that users may redistribute the program under
|
|
139
|
-
these conditions, and telling the user how to view a copy of this
|
|
140
|
-
License. (Exception: if the Program itself is interactive but
|
|
141
|
-
does not normally print such an announcement, your work based on
|
|
142
|
-
the Program is not required to print an announcement.)
|
|
143
|
-
|
|
144
|
-
These requirements apply to the modified work as a whole. If
|
|
145
|
-
identifiable sections of that work are not derived from the Program,
|
|
146
|
-
and can be reasonably considered independent and separate works in
|
|
147
|
-
themselves, then this License, and its terms, do not apply to those
|
|
148
|
-
sections when you distribute them as separate works. But when you
|
|
149
|
-
distribute the same sections as part of a whole which is a work based
|
|
150
|
-
on the Program, the distribution of the whole must be on the terms of
|
|
151
|
-
this License, whose permissions for other licensees extend to the
|
|
152
|
-
entire whole, and thus to each and every part regardless of who wrote it.
|
|
153
|
-
|
|
154
|
-
Thus, it is not the intent of this section to claim rights or contest
|
|
155
|
-
your rights to work written entirely by you; rather, the intent is to
|
|
156
|
-
exercise the right to control the distribution of derivative or
|
|
157
|
-
collective works based on the Program.
|
|
158
|
-
|
|
159
|
-
In addition, mere aggregation of another work not based on the Program
|
|
160
|
-
with the Program (or with a work based on the Program) on a volume of
|
|
161
|
-
a storage or distribution medium does not bring the other work under
|
|
162
|
-
the scope of this License.
|
|
163
|
-
|
|
164
|
-
3. You may copy and distribute the Program (or a work based on it,
|
|
165
|
-
under Section 2) in object code or executable form under the terms of
|
|
166
|
-
Sections 1 and 2 above provided that you also do one of the following:
|
|
167
|
-
|
|
168
|
-
a) Accompany it with the complete corresponding machine-readable
|
|
169
|
-
source code, which must be distributed under the terms of Sections
|
|
170
|
-
1 and 2 above on a medium customarily used for software interchange; or,
|
|
171
|
-
|
|
172
|
-
b) Accompany it with a written offer, valid for at least three
|
|
173
|
-
years, to give any third party, for a charge no more than your
|
|
174
|
-
cost of physically performing source distribution, a complete
|
|
175
|
-
machine-readable copy of the corresponding source code, to be
|
|
176
|
-
distributed under the terms of Sections 1 and 2 above on a medium
|
|
177
|
-
customarily used for software interchange; or,
|
|
178
|
-
|
|
179
|
-
c) Accompany it with the information you received as to the offer
|
|
180
|
-
to distribute corresponding source code. (This alternative is
|
|
181
|
-
allowed only for noncommercial distribution and only if you
|
|
182
|
-
received the program in object code or executable form with such
|
|
183
|
-
an offer, in accord with Subsection b above.)
|
|
184
|
-
|
|
185
|
-
The source code for a work means the preferred form of the work for
|
|
186
|
-
making modifications to it. For an executable work, complete source
|
|
187
|
-
code means all the source code for all modules it contains, plus any
|
|
188
|
-
associated interface definition files, plus the scripts used to
|
|
189
|
-
control compilation and installation of the executable. However, as a
|
|
190
|
-
special exception, the source code distributed need not include
|
|
191
|
-
anything that is normally distributed (in either source or binary
|
|
192
|
-
form) with the major components (compiler, kernel, and so on) of the
|
|
193
|
-
operating system on which the executable runs, unless that component
|
|
194
|
-
itself accompanies the executable.
|
|
195
|
-
|
|
196
|
-
If distribution of executable or object code is made by offering
|
|
197
|
-
access to copy from a designated place, then offering equivalent
|
|
198
|
-
access to copy the source code from the same place counts as
|
|
199
|
-
distribution of the source code, even though third parties are not
|
|
200
|
-
compelled to copy the source along with the object code.
|
|
201
|
-
|
|
202
|
-
4. You may not copy, modify, sublicense, or distribute the Program
|
|
203
|
-
except as expressly provided under this License. Any attempt
|
|
204
|
-
otherwise to copy, modify, sublicense or distribute the Program is
|
|
205
|
-
void, and will automatically terminate your rights under this License.
|
|
206
|
-
However, parties who have received copies, or rights, from you under
|
|
207
|
-
this License will not have their licenses terminated so long as such
|
|
208
|
-
parties remain in full compliance.
|
|
209
|
-
|
|
210
|
-
5. You are not required to accept this License, since you have not
|
|
211
|
-
signed it. However, nothing else grants you permission to modify or
|
|
212
|
-
distribute the Program or its derivative works. These actions are
|
|
213
|
-
prohibited by law if you do not accept this License. Therefore, by
|
|
214
|
-
modifying or distributing the Program (or any work based on the
|
|
215
|
-
Program), you indicate your acceptance of this License to do so, and
|
|
216
|
-
all its terms and conditions for copying, distributing or modifying
|
|
217
|
-
the Program or works based on it.
|
|
218
|
-
|
|
219
|
-
6. Each time you redistribute the Program (or any work based on the
|
|
220
|
-
Program), the recipient automatically receives a license from the
|
|
221
|
-
original licensor to copy, distribute or modify the Program subject to
|
|
222
|
-
these terms and conditions. You may not impose any further
|
|
223
|
-
restrictions on the recipients' exercise of the rights granted herein.
|
|
224
|
-
You are not responsible for enforcing compliance by third parties to
|
|
225
|
-
this License.
|
|
226
|
-
|
|
227
|
-
7. If, as a consequence of a court judgment or allegation of patent
|
|
228
|
-
infringement or for any other reason (not limited to patent issues),
|
|
229
|
-
conditions are imposed on you (whether by court order, agreement or
|
|
230
|
-
otherwise) that contradict the conditions of this License, they do not
|
|
231
|
-
excuse you from the conditions of this License. If you cannot
|
|
232
|
-
distribute so as to satisfy simultaneously your obligations under this
|
|
233
|
-
License and any other pertinent obligations, then as a consequence you
|
|
234
|
-
may not distribute the Program at all. For example, if a patent
|
|
235
|
-
license would not permit royalty-free redistribution of the Program by
|
|
236
|
-
all those who receive copies directly or indirectly through you, then
|
|
237
|
-
the only way you could satisfy both it and this License would be to
|
|
238
|
-
refrain entirely from distribution of the Program.
|
|
239
|
-
|
|
240
|
-
If any portion of this section is held invalid or unenforceable under
|
|
241
|
-
any particular circumstance, the balance of the section is intended to
|
|
242
|
-
apply and the section as a whole is intended to apply in other
|
|
243
|
-
circumstances.
|
|
244
|
-
|
|
245
|
-
It is not the purpose of this section to induce you to infringe any
|
|
246
|
-
patents or other property right claims or to contest validity of any
|
|
247
|
-
such claims; this section has the sole purpose of protecting the
|
|
248
|
-
integrity of the free software distribution system, which is
|
|
249
|
-
implemented by public license practices. Many people have made
|
|
250
|
-
generous contributions to the wide range of software distributed
|
|
251
|
-
through that system in reliance on consistent application of that
|
|
252
|
-
system; it is up to the author/donor to decide if he or she is willing
|
|
253
|
-
to distribute software through any other system and a licensee cannot
|
|
254
|
-
impose that choice.
|
|
255
|
-
|
|
256
|
-
This section is intended to make thoroughly clear what is believed to
|
|
257
|
-
be a consequence of the rest of this License.
|
|
258
|
-
|
|
259
|
-
8. If the distribution and/or use of the Program is restricted in
|
|
260
|
-
certain countries either by patents or by copyrighted interfaces, the
|
|
261
|
-
original copyright holder who places the Program under this License
|
|
262
|
-
may add an explicit geographical distribution limitation excluding
|
|
263
|
-
those countries, so that distribution is permitted only in or among
|
|
264
|
-
countries not thus excluded. In such case, this License incorporates
|
|
265
|
-
the limitation as if written in the body of this License.
|
|
266
|
-
|
|
267
|
-
9. The Free Software Foundation may publish revised and/or new versions
|
|
268
|
-
of the General Public License from time to time. Such new versions will
|
|
269
|
-
be similar in spirit to the present version, but may differ in detail to
|
|
270
|
-
address new problems or concerns.
|
|
271
|
-
|
|
272
|
-
Each version is given a distinguishing version number. If the Program
|
|
273
|
-
specifies a version number of this License which applies to it and "any
|
|
274
|
-
later version", you have the option of following the terms and conditions
|
|
275
|
-
either of that version or of any later version published by the Free
|
|
276
|
-
Software Foundation. If the Program does not specify a version number of
|
|
277
|
-
this License, you may choose any version ever published by the Free Software
|
|
278
|
-
Foundation.
|
|
279
|
-
|
|
280
|
-
10. If you wish to incorporate parts of the Program into other free
|
|
281
|
-
programs whose distribution conditions are different, write to the author
|
|
282
|
-
to ask for permission. For software which is copyrighted by the Free
|
|
283
|
-
Software Foundation, write to the Free Software Foundation; we sometimes
|
|
284
|
-
make exceptions for this. Our decision will be guided by the two goals
|
|
285
|
-
of preserving the free status of all derivatives of our free software and
|
|
286
|
-
of promoting the sharing and reuse of software generally.
|
|
287
|
-
|
|
288
|
-
NO WARRANTY
|
|
289
|
-
|
|
290
|
-
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
|
291
|
-
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
|
292
|
-
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
|
293
|
-
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
|
294
|
-
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
295
|
-
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
|
296
|
-
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
|
297
|
-
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
|
298
|
-
REPAIR OR CORRECTION.
|
|
299
|
-
|
|
300
|
-
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
|
301
|
-
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
|
302
|
-
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
|
303
|
-
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
|
304
|
-
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
|
305
|
-
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
|
306
|
-
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
|
307
|
-
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
|
308
|
-
POSSIBILITY OF SUCH DAMAGES.
|
|
309
|
-
|
|
310
|
-
END OF TERMS AND CONDITIONS
|
|
311
|
-
|
|
312
|
-
How to Apply These Terms to Your New Programs
|
|
313
|
-
|
|
314
|
-
If you develop a new program, and you want it to be of the greatest
|
|
315
|
-
possible use to the public, the best way to achieve this is to make it
|
|
316
|
-
free software which everyone can redistribute and change under these terms.
|
|
317
|
-
|
|
318
|
-
To do so, attach the following notices to the program. It is safest
|
|
319
|
-
to attach them to the start of each source file to most effectively
|
|
320
|
-
convey the exclusion of warranty; and each file should have at least
|
|
321
|
-
the "copyright" line and a pointer to where the full notice is found.
|
|
322
|
-
|
|
323
|
-
<Html5shiv, The HTML5 Shiv enables use of HTML5 sectioning elements in
|
|
324
|
-
legacy Internet Explorer and provides basic HTML5 styling for Internet Explorer 6-9,
|
|
325
|
-
Safari 4.x (and iPhone 3.x), and Firefox 3.x.>
|
|
326
|
-
Copyright (C) 2014 Alexander Farkas (aFarkas)
|
|
327
|
-
|
|
328
|
-
This program is free software; you can redistribute it and/or modify
|
|
329
|
-
it under the terms of the GNU General Public License as published by
|
|
330
|
-
the Free Software Foundation; either version 2 of the License, or
|
|
331
|
-
(at your option) any later version.
|
|
332
|
-
|
|
333
|
-
This program is distributed in the hope that it will be useful,
|
|
334
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
335
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
336
|
-
GNU General Public License for more details.
|
|
337
|
-
|
|
338
|
-
You should have received a copy of the GNU General Public License
|
|
339
|
-
along with this program; if not, write to the Free Software
|
|
340
|
-
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
Also add information on how to contact you by electronic and paper mail.
|
|
344
|
-
|
|
345
|
-
If the program is interactive, make it output a short notice like this
|
|
346
|
-
when it starts in an interactive mode:
|
|
347
|
-
|
|
348
|
-
Gnomovision version 69, Copyright (C) 2014 Alexander Farkas (aFarkas)
|
|
349
|
-
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
|
350
|
-
This is free software, and you are welcome to redistribute it
|
|
351
|
-
under certain conditions; type `show c' for details.
|
|
352
|
-
|
|
353
|
-
The hypothetical commands `show w' and `show c' should show the appropriate
|
|
354
|
-
parts of the General Public License. Of course, the commands you use may
|
|
355
|
-
be called something other than `show w' and `show c'; they could even be
|
|
356
|
-
mouse-clicks or menu items--whatever suits your program.
|
|
357
|
-
|
|
358
|
-
You should also get your employer (if you work as a programmer) or your
|
|
359
|
-
school, if any, to sign a "copyright disclaimer" for the program, if
|
|
360
|
-
necessary. Here is a sample; alter the names:
|
|
361
|
-
|
|
362
|
-
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
|
363
|
-
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
|
364
|
-
|
|
365
|
-
<signature of Ty Coon>, 1 April 1989
|
|
366
|
-
Ty Coon, President of Vice
|
|
367
|
-
|
|
368
|
-
This General Public License does not permit incorporating your program into
|
|
369
|
-
proprietary programs. If your program is a subroutine library, you may
|
|
370
|
-
consider it more useful to permit linking proprietary applications with the
|
|
371
|
-
library. If this is what you want to do, use the GNU Library General
|
|
372
|
-
Public License instead of this License.
|