jekyll-theme-hydejack 6.0.0.pre.alpha → 6.0.0.pre.beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.md +1 -1
- data/README.md +0 -84
- data/_includes/about.html +1 -5
- data/_includes/body.html +31 -0
- data/_includes/copyright-header +4 -4
- data/_includes/footer.html +4 -9
- data/_includes/head.html +38 -22
- data/_includes/icon-github.html +2 -0
- data/_includes/page-style.html +8 -0
- data/_includes/related.html +2 -2
- data/_includes/scripts.html +7 -2
- data/_includes/sidebar.html +1 -1
- data/_includes/styles/inline.scss +1 -0
- data/_includes/styles/style.scss +2 -1
- data/_layouts/about.html +1 -5
- data/_layouts/base.html +6 -26
- data/_layouts/compress.html +4 -4
- data/_layouts/default.html +22 -14
- data/_layouts/home.html +3 -0
- data/_layouts/list.html +2 -2
- data/_layouts/redirect.html +8 -0
- data/_sass/_mixins.scss +2 -2
- data/_sass/_spinner.scss +1 -1
- data/_sass/_variables.scss +15 -31
- data/_sass/hydejack/_base-inline.scss +27 -14
- data/_sass/hydejack/_base.scss +26 -17
- data/_sass/hydejack/_content-inline.scss +7 -3
- data/_sass/hydejack/_footer-inline.scss +7 -3
- data/_sass/hydejack/_katex.scss +10 -7
- data/_sass/hydejack/_me-inline.scss +6 -4
- data/_sass/hydejack/_menu-inline.scss +4 -4
- data/_sass/hydejack/_menu.scss +4 -4
- data/_sass/hydejack/_sidebar-inline.scss +10 -3
- data/_sass/hydejack/_sidebar.scss +13 -6
- data/_sass/hydejack/_social-inline.scss +29 -20
- data/_sass/hydejack/_social.scss +29 -20
- data/_sass/hydejack/_toc.scss +0 -4
- data/_sass/pooleparty/_base-inline.scss +2 -1
- data/_sass/pooleparty/_base.scss +2 -1
- data/_sass/pooleparty/_code.scss +6 -10
- data/_sass/pooleparty/_footnotes.scss +4 -6
- data/_sass/pooleparty/_message-inline.scss +2 -2
- data/_sass/pooleparty/_pagination.scss +6 -6
- data/_sass/pooleparty/_posts-inline.scss +1 -1
- data/_sass/pooleparty/_related-inline.scss +2 -1
- data/_sass/pooleparty/_table.scss +13 -9
- data/_sass/pooleparty/_type-inline.scss +9 -8
- data/_sass/pooleparty/_type.scss +9 -4
- data/assets/img/doc.jpg +0 -0
- data/assets/img/google-fonts.png +0 -0
- data/assets/js/hydejack.js +16 -15
- data/assets/version.json +1 -1
- metadata +8 -52
- data/_includes/menu.html +0 -6
- data/_includes/pro/project-card.html +0 -17
- data/_includes/pro/styles/projects.scss +0 -4
- data/_includes/pro/styles/resume.scss +0 -4
- data/assets/img/projects/hyde-v1.png +0 -0
- data/assets/img/projects/hyde-v1@0,25x.png +0 -0
- data/assets/img/projects/hyde-v1@0,5x.png +0 -0
- data/assets/img/projects/hyde-v2.png +0 -0
- data/assets/img/projects/hyde-v2@0,25x.png +0 -0
- data/assets/img/projects/hyde-v2@0,5x.png +0 -0
- data/assets/img/projects/hydejack-v3.jpg +0 -0
- data/assets/img/projects/hydejack-v3@0,25x.jpg +0 -0
- data/assets/img/projects/hydejack-v3@0,5x.jpg +0 -0
- data/assets/img/projects/hydejack-v4.jpg +0 -0
- data/assets/img/projects/hydejack-v4@0,25x.jpg +0 -0
- data/assets/img/projects/hydejack-v4@0,5x.jpg +0 -0
- data/assets/img/projects/hydejack-v5.jpg +0 -0
- data/assets/img/projects/hydejack-v5@0,25x.jpg +0 -0
- data/assets/img/projects/hydejack-v5@0,5x.jpg +0 -0
- data/assets/img/projects/hydejack-v6.jpg +0 -0
- data/assets/img/projects/hydejack-v6@0,25x.jpg +0 -0
- data/assets/img/projects/hydejack-v6@0,5x.jpg +0 -0
@@ -1,22 +1,26 @@
|
|
1
1
|
table {
|
2
2
|
margin-bottom: 1rem;
|
3
3
|
width: 100%;
|
4
|
-
|
5
|
-
|
4
|
+
width: calc(100% + 2rem);
|
5
|
+
margin-left: -1rem;
|
6
|
+
border: 1px solid $border-color;
|
6
7
|
border-collapse: collapse;
|
7
8
|
}
|
8
9
|
|
9
|
-
td,
|
10
|
-
th {
|
10
|
+
td, th {
|
11
11
|
padding: .25rem .5rem;
|
12
|
-
border: 1px solid
|
13
|
-
|
12
|
+
border: 1px solid $border-color;
|
13
|
+
|
14
|
+
&:first-child {
|
15
|
+
padding-left: 1rem;
|
16
|
+
}
|
14
17
|
|
15
|
-
|
16
|
-
|
18
|
+
&:last-child {
|
19
|
+
padding-right: 1rem;
|
20
|
+
}
|
17
21
|
}
|
18
22
|
|
19
23
|
tbody tr:nth-child(odd) td,
|
20
24
|
tbody tr:nth-child(odd) th {
|
21
|
-
background-color:
|
25
|
+
background-color: $gray-bg;
|
22
26
|
}
|
@@ -8,8 +8,8 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading {
|
|
8
8
|
}
|
9
9
|
|
10
10
|
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
|
11
|
-
margin:
|
12
|
-
line-height: 1.
|
11
|
+
margin: 3rem 0 1rem;
|
12
|
+
line-height: 1.6;
|
13
13
|
}
|
14
14
|
|
15
15
|
h1, .h1 {
|
@@ -41,6 +41,10 @@ ul, ol, dl {
|
|
41
41
|
margin-bottom: 1rem;
|
42
42
|
}
|
43
43
|
|
44
|
+
ul, ol {
|
45
|
+
padding-left: 1.25rem;
|
46
|
+
}
|
47
|
+
|
44
48
|
hr {
|
45
49
|
position: relative;
|
46
50
|
margin: 1.5rem 0;
|
@@ -54,10 +58,6 @@ h4, h5, h6, .h4, .h5, .h6 {
|
|
54
58
|
font-size: 1rem;
|
55
59
|
}
|
56
60
|
|
57
|
-
// strong {
|
58
|
-
// color: #303030;
|
59
|
-
// }
|
60
|
-
//
|
61
61
|
// dt {
|
62
62
|
// font-weight: bold;
|
63
63
|
// }
|
@@ -74,7 +74,7 @@ h4, h5, h6, .h4, .h5, .h6 {
|
|
74
74
|
//
|
75
75
|
// &[title] {
|
76
76
|
// cursor: help;
|
77
|
-
// border-bottom: 1px dotted
|
77
|
+
// border-bottom: 1px dotted $border-color;
|
78
78
|
// }
|
79
79
|
// }
|
80
80
|
//
|
@@ -82,13 +82,14 @@ h4, h5, h6, .h4, .h5, .h6 {
|
|
82
82
|
// padding: .5rem 1rem;
|
83
83
|
// margin: .8rem 0;
|
84
84
|
// color: #7a7a7a;
|
85
|
-
// border-left: .25rem solid
|
85
|
+
// border-left: .25rem solid $border-color;
|
86
86
|
//
|
87
87
|
// &.lead {
|
88
88
|
// font-size: 1.25rem;
|
89
89
|
// font-weight: 300;
|
90
90
|
// margin-top: 1.5rem;
|
91
91
|
// margin-bottom: 1.5rem;
|
92
|
+
// border-left-width: 0.5rem;
|
92
93
|
// }
|
93
94
|
//
|
94
95
|
// p:last-child {
|
data/_sass/pooleparty/_type.scss
CHANGED
@@ -8,8 +8,8 @@
|
|
8
8
|
// }
|
9
9
|
//
|
10
10
|
// h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
|
11
|
-
// margin:
|
12
|
-
// line-height: 1.
|
11
|
+
// margin: 3rem 0 1rem;
|
12
|
+
// line-height: 1.6;
|
13
13
|
// }
|
14
14
|
//
|
15
15
|
// h1, .h1 {
|
@@ -41,6 +41,10 @@
|
|
41
41
|
// margin-bottom: 1rem;
|
42
42
|
// }
|
43
43
|
//
|
44
|
+
// ul, ol {
|
45
|
+
// padding-left: 1.25rem;
|
46
|
+
// }
|
47
|
+
//
|
44
48
|
// hr {
|
45
49
|
// position: relative;
|
46
50
|
// margin: 1.5rem 0;
|
@@ -70,7 +74,7 @@ abbr {
|
|
70
74
|
|
71
75
|
&[title] {
|
72
76
|
cursor: help;
|
73
|
-
border-bottom: 1px dotted
|
77
|
+
border-bottom: 1px dotted $border-color;
|
74
78
|
}
|
75
79
|
}
|
76
80
|
|
@@ -78,13 +82,14 @@ blockquote {
|
|
78
82
|
padding: .5rem 1rem;
|
79
83
|
margin: .8rem 0;
|
80
84
|
color: #7a7a7a;
|
81
|
-
border-left: .25rem solid
|
85
|
+
border-left: .25rem solid $border-color;
|
82
86
|
|
83
87
|
&.lead {
|
84
88
|
font-size: 1.25rem;
|
85
89
|
font-weight: 300;
|
86
90
|
margin-top: 1.5rem;
|
87
91
|
margin-bottom: 1.5rem;
|
92
|
+
border-left-width: 0.4rem;
|
88
93
|
}
|
89
94
|
|
90
95
|
p:last-child {
|
data/assets/img/doc.jpg
ADDED
Binary file
|
Binary file
|
data/assets/js/hydejack.js
CHANGED
@@ -8,19 +8,20 @@
|
|
8
8
|
* /\___/ \ \____/
|
9
9
|
* \/__/ \/___/
|
10
10
|
*
|
11
|
-
* Copyright (c) 2017 Florian Klampfer
|
12
|
-
* Licensed under MIT
|
13
|
-
*
|
14
|
-
* Version: 6.0.0-
|
11
|
+
* Copyright (c) 2017 Florian Klampfer
|
12
|
+
* Licensed under MIT
|
13
|
+
* Powered by Hydejack (https://qwtel.com/hydejack/)
|
14
|
+
* Version: 6.0.0-beta2
|
15
15
|
*/
|
16
|
-
!function t(e,r,n){function i(s,a){if(!r[s]){if(!e[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(o)return o(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var l=r[s]={exports:{}};e[s][0].call(l.exports,function(t){var r=e[s][1][t];return i(r||t)},l,l.exports,t,e,r,n)}return r[s].exports}for(var o="function"==typeof require&&require,s=0;s<n.length;s++)i(n[s]);return i}({1:[function(t,e,r){"use strict";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 i(t,e){return(void 0===t?"undefined":n(t))===e}function o(t){return t.replace(/([a-z])-([a-z])/g,function(t,e,r){return e+r.toUpperCase()}).replace(/^-/,"")}function s(){return"function"!=typeof e.createElement?e.createElement(arguments[0]):O?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(O?"svg":"body"),t.fake=!0),t}function u(t,r,n,i){var o,u,c,l,p="modernizr",h=s("div"),f=a();if(parseInt(n,10))for(;n--;)c=s("div"),c.id=i?i[n]:p+(n+1),h.appendChild(c);return o=s("style"),o.type="text/css",o.id="s"+p,(f.fake?f:h).appendChild(o),f.appendChild(h),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(e.createTextNode(t)),h.id=p,f.fake&&(f.style.background="",f.style.overflow="hidden",l=S.style.overflow,S.style.overflow="hidden",S.appendChild(f)),u=r(h,t),f.fake?(f.parentNode.removeChild(f),S.style.overflow=l,S.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 p(t,e,r){var n;for(var o in t)if(t[o]in e)return!1===r?t[o]:(n=e[t[o]],i(n,"function")?l(n,r||e):n);return!1}function h(t){return t.replace(/([A-Z])/g,function(t,e){return"-"+e.toLowerCase()}).replace(/^ms-/,"-ms-")}function f(e,r,n){var i;if("getComputedStyle"in t){i=getComputedStyle.call(t,e,r);var o=t.console;if(null!==i)n&&(i=i.getPropertyValue(n));else if(o){var s=o.error?"error":"log";o[s].call(o,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}}else i=!r&&e.currentStyle&&e.currentStyle[n];return i}function d(e,n){var i=e.length;if("CSS"in t&&"supports"in t.CSS){for(;i--;)if(t.CSS.supports(h(e[i]),n))return!0;return!1}if("CSSSupportsRule"in t){for(var o=[];i--;)o.push("("+h(e[i])+":"+n+")");return o=o.join(" or "),u("@supports ("+o+") { #modernizr { position: absolute; } }",function(t){return"absolute"==f(t,null,"position")})}return r}function b(t,e,n,a){function u(){p&&(delete P.style,delete P.modElem)}if(a=!i(a,"undefined")&&a,!i(n,"undefined")){var l=d(t,n);if(!i(l,"undefined"))return l}for(var p,h,f,b,m,y=["modernizr","tspan","samp"];!P.style&&y.length;)p=!0,P.modElem=s(y.shift()),P.style=P.modElem.style;for(f=t.length,h=0;f>h;h++)if(b=t[h],m=P.style[b],c(b,"-")&&(b=o(b)),P.style[b]!==r){if(a||i(n,"undefined"))return u(),"pfx"!=e||b;try{P.style[b]=n}catch(t){}if(P.style[b]!=m)return u(),"pfx"!=e||b}return u(),!1}function m(t,e,r,n,o){var s=t.charAt(0).toUpperCase()+t.slice(1),a=(t+" "+T.join(s+" ")+s).split(" ");return i(e,"string")||i(e,"undefined")?b(a,e,n,o):(a=(t+" "+A.join(s+" ")+s).split(" "),p(a,e,r))}function y(t,e,n){return m(t,r,r,e,n)}var v=[],g={_version:"3.4.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(t,e){var r=this;setTimeout(function(){e(r[t])},0)},addTest:function(t,e,r){v.push({name:t,fn:e,options:r})},addAsyncTest:function(t){v.push({name:null,fn:t})}},w=function(){};w.prototype=g,w=new w,w.addTest("eventlistener","addEventListener"in t),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)}),w.addTest("queryselector","querySelector"in e&&"querySelectorAll"in e);var _=[],x=g._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];g._prefixes=x;var S=e.documentElement;w.addTest("classlist","classList"in S),w.addTest("documentfragment",function(){return"createDocumentFragment"in e&&"appendChild"in S});var O="svg"===S.nodeName.toLowerCase();w.addTest("opacity",function(){var t=s("a").style;return t.cssText=x.join("opacity:.55;"),/^0.55$/.test(t.opacity)}),w.addTest("csspointerevents",function(){var t=s("a").style;return t.cssText="pointer-events:auto","auto"===t.pointerEvents}),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;w.addTest("touchevents",function(){var r;if("ontouchstart"in t||t.DocumentTouch&&e instanceof DocumentTouch)r=!0;else{var n=["@media (",x.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");j(n,function(t){r=9===t.offsetTop})}return r});var k="Moz O ms Webkit",T=g._config.usePrefixes?k.split(" "):[];g._cssomPrefixes=T;var E=function(e){var n,i=x.length,o=t.CSSRule;if(void 0===o)return r;if(!e)return!1;if(e=e.replace(/^@/,""),(n=e.replace(/-/g,"_").toUpperCase()+"_RULE")in o)return"@"+e;for(var s=0;i>s;s++){var a=x[s];if(a.toUpperCase()+"_"+n in o)return"@-"+a.toLowerCase()+"-"+e}return!1};g.atRule=E;var A=g._config.usePrefixes?k.toLowerCase().split(" "):[];g._domPrefixes=A;var M={elem:s("modernizr")};w._q.push(function(){delete M.elem});var P={style:M.elem.style};w._q.unshift(function(){delete P.style}),g.testAllProps=m;var C=g.prefixed=function(t,e,r){return 0===t.indexOf("@")?E(t):(-1!=t.indexOf("-")&&(t=o(t)),e?m(t,e,r):m(t,"pfx"))};w.addTest("requestanimationframe",!!C("requestAnimationFrame",t),{aliases:["raf"]}),w.addTest("matchmedia",!!C("matchMedia",t)),g.testAllProps=y,w.addTest("cssanimations",y("animationName","a",!0)),w.addTest("csstransforms",function(){return-1===navigator.userAgent.indexOf("Android 2.")&&y("transform","scale(1)",!0)}),function(){var t,e,r,n,o,s,a;for(var u in v)if(v.hasOwnProperty(u)){if(t=[],e=v[u],e.name&&(t.push(e.name.toLowerCase()),e.options&&e.options.aliases&&e.options.aliases.length))for(r=0;r<e.options.aliases.length;r++)t.push(e.options.aliases[r].toLowerCase());for(n=i(e.fn,"function")?e.fn():e.fn,o=0;o<t.length;o++)s=t[o],a=s.split("."),1===a.length?w[a[0]]=n:(!w[a[0]]||w[a[0]]instanceof Boolean||(w[a[0]]=new Boolean(w[a[0]])),w[a[0]][a[1]]=n),_.push((n?"":"no-")+a.join("-"))}}(),delete g.addTest,delete g.addAsyncTest;for(var N=0;N<w._q.length;N++)w._q[N]();t.Modernizr=w}(window,document)},{}],2:[function(t,e,r){"use strict";console.log(" __ __ __ __ \r\n/\\ \\/\\ \\ /\\ \\ __ /\\ \\ \r\n\\ \\ \\_\\ \\ __ __ \\_\\ \\ __ /\\_\\ __ ___ \\ \\ \\/'\\ \r\n \\ \\ _ \\ /\\ \\/\\ \\ /'_` \\ /'__`\\ \\/\\ \\ /'__`\\ /'___\\\\ \\ , < \r\n \\ \\ \\ \\ \\\\ \\ \\_\\ \\ /\\ \\L\\ \\ /\\ __/ \\ \\ \\ /\\ \\L\\.\\_ /\\ \\__/ \\ \\ \\\\`\\ \r\n \\ \\_\\ \\_\\\\/`____ \\\\ \\___,_\\\\ \\____\\ _\\ \\ \\\\ \\__/.\\_\\\\ \\____\\ \\ \\_\\ \\_\\\r\n \\/_/\\/_/ `/___/> \\\\/__,_ / \\/____//\\ \\_\\ \\\\/__/\\/_/ \\/____/ \\/_/\\/_/\r\n /\\___/ \\ \\____/ \r\n \\/__/ \\/___/ "),console.log("Copyright (c) 2017 Florian Klampfer."),console.log("Licensed under MIT."),console.log("Design: Hydejack by @qwtel. Get it at: https://qwtel.com/hydejack"),console.log("Version: "+window._version)},{}],3:[function(t,e,r){"use strict";function n(t){for(var e=!0,r=0;r<t.length;r+=1){var n=t[r],i=window.Modernizr[n];e=e&&i}return e}function i(t){t.style.display="block",t.style.visibility="visible"}function o(t){t.style.display="none",t.style.visibility="hidden"}function s(t){t.style.display="",t.style.visibility=""}function a(t,e){return(t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||t.oMatchesSelector).call(t,e)}function u(t,e,r){return c.Observable.create(function(n){return t.animate(e,r).addEventListener("finish",function(t){n.next(t),n.complete()}),function(){}})}Object.defineProperty(r,"__esModule",{value:!0}),r.unhide=void 0,r.hasFeatures=n,r.show=i,r.hide=o,r.unshow=s,r.matches=a,r.animate=u;var c=t("rxjs/Observable");r.unhide=s},{"rxjs/Observable":110}],4:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.color,r=void 0===e?"#00f":e;this.rules[0].style.color=r,this.rules[1].style.outlineColor=r,this.rules[2].style.backgroundColor=r}Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function t(t,e){var r=[],n=!0,i=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){i=!0,o=t}finally{try{!n&&a.return&&a.return()}finally{if(i)throw o}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),a=t("rxjs/Observable"),u=t("rxjs/observable/empty"),c=t("rxjs/observable/fromEvent"),l=t("rxjs/observable/timer"),p=t("rxjs/operator/do"),h=t("rxjs/operator/finally"),f=t("rxjs/operator/map"),d=t("rxjs/operator/zip"),b=t("./common"),m=Array.prototype.find,y=function(){function t(e){var r,i=e.duration;n(this,t),this.sidebar=document.getElementById("_sidebar"),this.duration=i;var o=document.getElementById("_pageStyle"),s=(r=document.styleSheets,m).call(r,function(t){return t.ownerNode===o});this.rules=s.cssRules||s.rules,this.lastImage=document.getElementById("_main").getAttribute("data-image")}return s(t,[{key:"fetchImage",value:function(t){var e,r=this,n=t.color,o=t.image;if(o===this.lastImage)return u.empty.call(a.Observable);var s=void 0;if(""===o)s=l.timer.call(a.Observable,this.duration);else{var b,m=new Image;s=(b=(b=c.fromEvent.call(a.Observable,m,"load"),d.zipProto).call(b,l.timer.call(a.Observable,this.duration),function(t){return t}),h._finally).call(b,function(){m.src=""}),m.src=o}return(e=(e=s,p._do).call(e,function(){i.call(r,t),r.lastImage=o}),f.map).call(e,function(){var t=document.createElement("div");return t.classList.add("sidebar-bg"),t.style.backgroundColor=n,""!==o&&(t.style.backgroundImage="url("+o+")"),t})}},{key:"crossFade",value:function(t){var e,r=o(t,2),n=r[0],i=r[1];return n.parentNode.insertBefore(i,n.nextElementSibling),(e=(0,b.animate)(i,[{opacity:0},{opacity:1}],{duration:this.duration}),h._finally).call(e,function(){return n.parentNode.removeChild(n)})}}]),t}();r.default=y},{"./common":3,"rxjs/Observable":110,"rxjs/observable/empty":124,"rxjs/observable/fromEvent":125,"rxjs/observable/timer":127,"rxjs/operator/do":131,"rxjs/operator/finally":134,"rxjs/operator/map":135,"rxjs/operator/zip":144}],5:[function(t,e,r){"use strict";function n(){window.isDesktop!==window.matchMedia(c).matches&&(window.isDesktop=!window.isDesktop,window.drawer.persistent=window.isDesktop,window.drawer.jumpTo(window.isDesktop))}function i(t){window.isDesktop||(t.preventDefault(),window.drawer.toggle())}var o=t("y-drawer/src/vanilla"),s=function(t){return t&&t.__esModule?t:{default:t}}(o),a=t("./common"),u=["eventlistener","queryselector","matchmedia","requestanimationframe","classlist","opacity","csstransforms","csspointerevents","cssremunit"],c="(min-width: 801px)";if((0,a.hasFeatures)(u)){window.isDesktop=window.matchMedia(c).matches;var l=document.getElementById("_yDrawer");!function(t){window.drawer=t,window.addEventListener("resize",n),document.getElementById("_menu").addEventListener("click",i)}(new s.default(l,{opened:window.isDesktop,persistent:window.isDesktop,transitionDuration:150})),l.classList.add("loaded")}},{"./common":3,"y-drawer/src/vanilla":171}],6:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(r,"__esModule",{value:!0});var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=t("rxjs/Observable"),s=t("rxjs/observable/empty"),a=function(){function t(e){var r=e.shadowMain,i=e.duration;n(this,t),this.shadowMain=r,this.duration=i}return i(t,null,[{key:"create",value:function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return null!=t.types[e]?new(Function.prototype.bind.apply(t.types[e],[null].concat(n))):new(Function.prototype.bind.apply(t,[null].concat(n)))}}]),i(t,[{key:"start",value:function(){return this.shadowMain.style.opacity=0,this.shadowMain.style.willChange="",s.empty.call(o.Observable)}},{key:"ready",value:function(){return s.empty.call(o.Observable)}}]),t}();r.default=a,a.types={}},{"rxjs/Observable":110,"rxjs/observable/empty":124}],7:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(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 o(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)}Object.defineProperty(r,"__esModule",{value:!0});var s=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),a=t("rxjs/Observable"),u=t("rxjs/observable/of"),c=t("rxjs/observable/fromEvent"),l=t("rxjs/observable/timer"),p=t("rxjs/operator/do"),h=t("rxjs/operator/finally"),f=t("rxjs/operator/zip"),d=t("../common"),b=t("./flip"),m=function(t){return t&&t.__esModule?t:{default:t}}(b),y=function(t){function e(){return n(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return o(e,t),s(e,[{key:"start",value:function(t){var e,r=this,n=t.querySelector(".img");this.shadowMain.querySelector(".page").innerHTML='\n <h1 class="page-title" style="opacity:0">|</h1>\n <div class="post-date heading" style="opacity:0">|</div>\n ';var i=document.createElement("div");i.classList.add("sixteen-nine"),n.parentNode.insertBefore(i,n),n.classList.add("lead"),n.style.transformOrigin="left top",this.shadowMain.querySelector(".page").appendChild(n),this.shadowMain.style.position="fixed",this.shadowMain.style.opacity=1;var o=i.getBoundingClientRect(),s=n.getBoundingClientRect(),a=o.left-s.left,u=o.top-s.top,c=o.width/s.width;return(e=(0,d.animate)(n,[{transform:"translate3d("+a+"px, "+u+"px, 0) scale("+c+")"},{transform:"translate3d(0, 0, 0) scale(1)"}],{duration:this.duration,easing:"cubic-bezier(0,0,0.32,1)"}),p._do).call(e,function(){r.shadowMain.style.position="absolute"})}},{key:"ready",value:function(t){var e,r=this;this.shadowMain.style.willChange="opacity";var n=t.querySelector(".img");null!=n&&(n.style.opacity=0,n.style.willChange="opacity");var i=n.querySelector("img");return(e=(e=(e=null==i?u.of.call(a.Observable,!0):c.fromEvent.call(a.Observable,i,"load"),f.zipProto).call(e,l.timer.call(a.Observable,this.duration+100)),p._do).call(e,function(){null!=n&&(n.style.opacity=1,n.style.willChange="")}),h._finally).call(e,function(){r.shadowMain.style.opacity=0,r.shadowMain.style.willChange=""})}}]),e}(m.default);r.default=y,m.default.types.project=y},{"../common":3,"./flip":6,"rxjs/Observable":110,"rxjs/observable/fromEvent":125,"rxjs/observable/of":126,"rxjs/observable/timer":127,"rxjs/operator/do":131,"rxjs/operator/finally":134,"rxjs/operator/zip":144}],8:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(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 o(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)}var s=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),a=t("rxjs/Observable"),u=t("rxjs/observable/timer"),c=t("rxjs/operator/do"),l=t("rxjs/operator/finally"),p=t("../common"),h=t("./flip"),f=function(t){return t&&t.__esModule?t:{default:t}}(h),d=function(t){function e(){return n(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return o(e,t),s(e,[{key:"start",value:function(t){var e,r=this,n=document.createElement("h1");n.classList.add("page-title"),n.textContent=t.textContent,n.style.transformOrigin="left top",this.shadowMain.querySelector(".page").innerHTML="",this.shadowMain.querySelector(".page").appendChild(n),this.shadowMain.style.position="fixed",this.shadowMain.style.opacity=1;var i=t.getBoundingClientRect(),o=parseInt(getComputedStyle(t).fontSize,10),s=n.getBoundingClientRect(),a=parseInt(getComputedStyle(n).fontSize,10),u=i.left-s.left,l=i.top-s.top,h=o/a;return t.style.opacity=0,(e=(0,p.animate)(n,[{transform:"translate3d("+u+"px, "+l+"px, 0) scale("+h+")"},{transform:"translate3d(0, 0, 0) scale(1)"}],{duration:this.duration,easing:"cubic-bezier(0,0,0.32,1)"}),c._do).call(e,function(){r.shadowMain.style.position="absolute"})}},{key:"ready",value:function(t){var e,r=this;this.shadowMain.style.willChange="opacity";var n=t.querySelector(".page-title, .post-title");return null!=n&&(n.style.opacity=0,n.style.willChange="opacity"),(e=(e=u.timer.call(a.Observable,this.duration+100),c._do).call(e,function(){null!=n&&(n.style.opacity=1,n.style.willChange="")}),l._finally).call(e,function(){r.shadowMain.style.opacity=0,r.shadowMain.style.willChange=""})}}]),e}(f.default);f.default.types.title=d},{"../common":3,"./flip":6,"rxjs/Observable":110,"rxjs/observable/timer":127,"rxjs/operator/do":131,"rxjs/operator/finally":134}],9:[function(t,e,r){"use strict";t("core-js/fn/array/for-each"),t("core-js/fn/array/find"),t("core-js/fn/function/bind"),t("core-js/fn/number/constructor"),t("core-js/fn/object/assign"),t("core-js/fn/object/define-property"),t("core-js/fn/object/keys"),t("core-js/fn/array/reduce"),t("web-animations-js"),t("../lib/modernizr"),t("../lib/version"),t("./katex"),t("./drawer"),t("./push-state")},{"../lib/modernizr":1,"../lib/version":2,"./drawer":5,"./katex":10,"./push-state":11,"core-js/fn/array/find":12,"core-js/fn/array/for-each":13,"core-js/fn/array/reduce":14,"core-js/fn/function/bind":15,"core-js/fn/number/constructor":16,"core-js/fn/object/assign":17,"core-js/fn/object/define-property":18,"core-js/fn/object/keys":19,"web-animations-js":167}],10:[function(t,e,r){"use strict";function n(t){Array.prototype.forEach.call(t,function(t){t.style.willChange="content"})}function i(t,e){t.outerHTML=l.default.renderToString(e,{displayMode:"math/tex; mode=display"===t.type})}function o(t,e){try{var r=t.previousElementSibling;i(t,e),r&&(0,p.matches)(r,".MathJax_Preview")&&(0,p.hide)(r)}catch(t){console.error(t)}finally{t.style.willChange=""}}function s(t){return t.textContent.replace("% <![CDATA[","").replace("%]]>","")}function a(t){Array.prototype.forEach.call(t,function(t){o(t,s(t))})}function u(){if((0,p.hasFeatures)(h)){var t=document.querySelectorAll('script[type^="math/tex"]');t.length&&(n(t),a(t))}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=u;var c=t("katex"),l=function(t){return t&&t.__esModule?t:{default:t}}(c),p=t("./common"),h=["eventlistener","queryselector"];if((0,p.hasFeatures)(h)){var f=document.getElementsByTagName("style")[0];loadCSS("https://unpkg.com/katex@0.6.0/dist/katex.min.css",f).addEventListener("load",u)}},{"./common":3,katex:84}],11:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function i(){return u._catch.call(this,function(t,e){return console.error(t),e})}var o=function(){function t(t,e){var r=[],n=!0,i=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){i=!0,o=t}finally{try{!n&&a.return&&a.return()}finally{if(i)throw o}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=t("rxjs/Observable"),a=t("rxjs/observable/fromEvent"),u=t("rxjs/operator/catch"),c=t("rxjs/operator/do"),l=t("rxjs/operator/debounceTime"),p=t("rxjs/operator/exhaustMap"),h=t("rxjs/operator/filter"),f=t("rxjs/operator/map"),d=t("rxjs/operator/mergeMap"),b=t("rxjs/operator/pairwise"),m=t("rxjs/operator/share"),y=t("rxjs/operator/startWith"),v=t("rxjs/operator/switchMap"),g=t("rxjs/operator/takeUntil"),w=t("rxjs/operator/zip"),_=t("y-push-state/src/vanilla"),x=n(_),S=t("elem-dataset"),O=n(S),j=t("./common"),k=t("./cross-fader"),T=n(k),E=t("./katex"),A=n(E),M=t("./flip/flip"),P=n(M);t("./flip/title"),t("./flip/project");var C=["eventlistener","queryselector","requestanimationframe","classlist","documentfragment","history","opacity","cssanimations"];if((0,j.hasFeatures)(C)){var N,R=navigator.userAgent.toLowerCase(),z=R.indexOf("safari")>0&&R.indexOf("chrome")<0,F=new T.default({duration:600}),q=document.getElementById("_yPushState"),D=document.createElement("div");D.classList.add("shadow-main"),D.innerHTML='\n <div class="content container">\n <div class="page"></div>\n </div>',q.parentNode.insertBefore(D,q);var I=document.createElement("div");I.classList.add("loading"),I.innerHTML='\n <span class="sr-only">Loading...</span>\n <div class="sk-folding-cube">\n <div class="sk-cube1 sk-cube"></div>\n <div class="sk-cube2 sk-cube"></div>\n <div class="sk-cube4 sk-cube"></div>\n <div class="sk-cube3 sk-cube"></div>\n </div>\n ',q.parentNode.insertBefore(I,q);var L=(N=(N=(N=(N=a.fromEvent.call(s.Observable,q,"y-push-state-start"),f.map).call(N,function(t){return t.detail}),f.map).call(N,function(t){return[t,document.getElementById("_main")]}),c._do).call(N,function(){!window.isDesktop&&window.drawer.opened&&window.drawer.close()}),m.share).call(N),B=(N=(N=a.fromEvent.call(s.Observable,q,"y-push-state-ready"),f.map).call(N,function(t){return t.detail}),m.share).call(N),U=(N=a.fromEvent.call(s.Observable,q,"y-push-state-progress"),f.map).call(N,function(t){return t.detail}),H=(N=(N=a.fromEvent.call(s.Observable,q,"y-push-state-after"),f.map).call(N,function(t){return t.detail}),m.share).call(N);z&&(a.fromEvent.call(s.Observable,window,"popstate").subscribe(function(){document.body.style.minHeight="999999px"}),H.subscribe(function(){document.body.style.minHeight=""})),(N=v.switchMap.call(L,function(t){var e=o(t,1),r=e[0],n=r.event.currentTarget,i=P.default.create(n.getAttribute&&n.getAttribute("data-flip"),{shadowMain:D,currentTarget:n,duration:250});return r.flip=i,i.start(n)}),i).call(N).subscribe(),(N=(N=(N=c._do.call(L,function(t){o(t,2)[1].style.opacity=0}),h.filter).call(N,function(t){return"push"===o(t,1)[0].type||!z}),p.exhaustMap).call(N,function(t){var e,r=o(t,2),n=r[0].type,i=r[1];return(e=(e=(0,j.animate)(i,[{opacity:1},{opacity:0}],{duration:250,easing:"cubic-bezier(0,0,0.32,1)"}),c._do).call(e,function(){"push"===n&&window.scroll(0,0)}),w.zipProto).call(e,H)}),i).call(N).subscribe(),(N=c._do.call(U,function(){I.style.display="block"}),i).call(N).subscribe(),(N=(N=(N=c._do.call(B,function(){I.style.display="none"}),h.filter).call(N,function(t){return"push"===t.type||!z}),v.switchMap).call(N,function(t){var e,r=t.flip,n=o(t.content,1),i=n[0];return(e=r.ready(i),g.takeUntil).call(e,L)}),i).call(N).subscribe(),(N=(N=(N=(N=v.switchMap.call(B,function(t){var e,r=o(t.content,1),n=r[0];return(e=F.fetchImage((0,O.default)(n)),g.takeUntil).call(e,L)}),y.startWith).call(N,document.querySelector(".sidebar-bg")),b.pairwise).call(N),d.mergeMap).call(N,F.crossFade.bind(F)),i).call(N).subscribe(),(N=(N=(N=h.filter.call(H,function(t){return"push"===t.type||!z}),f.map).call(N,function(t){return[t,document.querySelector("main")]}),v.switchMap).call(N,function(t){var e=o(t,2),r=e[1];return(0,j.animate)(r,[{transform:"translateY(-2rem)",opacity:0},{transform:"translateY(0)",opacity:1}],{duration:250,easing:"cubic-bezier(0,0,0.32,1)"})}),i).call(N).subscribe(),(N=(N=l.debounceTime.call(H,500),c._do).call(N,function(){window.ga&&window.ga("send","pageview"),(0,A.default)()}),i).call(N).subscribe(),new x.default(q,{replaceIds:["_main"],linkSelector:'a[href^="/"]',duration:250,noPopDuration:z,scrollRestoration:!z}).startHistory()}},{"./common":3,"./cross-fader":4,"./flip/flip":6,"./flip/project":7,"./flip/title":8,"./katex":10,"elem-dataset":83,"rxjs/Observable":110,"rxjs/observable/fromEvent":125,"rxjs/operator/catch":128,"rxjs/operator/debounceTime":130,"rxjs/operator/do":131,"rxjs/operator/exhaustMap":132,"rxjs/operator/filter":133,"rxjs/operator/map":135,"rxjs/operator/mergeMap":137,"rxjs/operator/pairwise":139,"rxjs/operator/share":140,"rxjs/operator/startWith":141,"rxjs/operator/switchMap":142,"rxjs/operator/takeUntil":143,"rxjs/operator/zip":144,"y-push-state/src/vanilla":271}],12:[function(t,e,r){t("../../modules/es6.array.find"),e.exports=t("../../modules/_core").Array.find},{"../../modules/_core":30,"../../modules/es6.array.find":75}],13:[function(t,e,r){t("../../modules/es6.array.for-each"),e.exports=t("../../modules/_core").Array.forEach},{"../../modules/_core":30,"../../modules/es6.array.for-each":76}],14:[function(t,e,r){t("../../modules/es6.array.reduce"),e.exports=t("../../modules/_core").Array.reduce},{"../../modules/_core":30,"../../modules/es6.array.reduce":77}],15:[function(t,e,r){t("../../modules/es6.function.bind"),e.exports=t("../../modules/_core").Function.bind},{"../../modules/_core":30,"../../modules/es6.function.bind":78}],16:[function(t,e,r){t("../../modules/es6.number.constructor"),e.exports=Number},{"../../modules/es6.number.constructor":79}],17:[function(t,e,r){t("../../modules/es6.object.assign"),e.exports=t("../../modules/_core").Object.assign},{"../../modules/_core":30,"../../modules/es6.object.assign":80}],18:[function(t,e,r){t("../../modules/es6.object.define-property");var n=t("../../modules/_core").Object;e.exports=function(t,e,r){return n.defineProperty(t,e,r)}},{"../../modules/_core":30,"../../modules/es6.object.define-property":81}],19:[function(t,e,r){t("../../modules/es6.object.keys"),e.exports=t("../../modules/_core").Object.keys},{"../../modules/_core":30,"../../modules/es6.object.keys":82}],20:[function(t,e,r){e.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},{}],21:[function(t,e,r){var n=t("./_wks")("unscopables"),i=Array.prototype;void 0==i[n]&&t("./_hide")(i,n,{}),e.exports=function(t){i[n][t]=!0}},{"./_hide":40,"./_wks":74}],22:[function(t,e,r){var n=t("./_is-object");e.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},{"./_is-object":47}],23:[function(t,e,r){var n=t("./_to-iobject"),i=t("./_to-length"),o=t("./_to-index");e.exports=function(t){return function(e,r,s){var a,u=n(e),c=i(u.length),l=o(s,c);if(t&&r!=r){for(;c>l;)if((a=u[l++])!=a)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===r)return t||l||0;return!t&&-1}}},{"./_to-index":67,"./_to-iobject":69,"./_to-length":70}],24:[function(t,e,r){var n=t("./_ctx"),i=t("./_iobject"),o=t("./_to-object"),s=t("./_to-length"),a=t("./_array-species-create");e.exports=function(t,e){var r=1==t,u=2==t,c=3==t,l=4==t,p=6==t,h=5==t||p,f=e||a;return function(e,a,d){for(var b,m,y=o(e),v=i(y),g=n(a,d,3),w=s(v.length),_=0,x=r?f(e,w):u?f(e,0):void 0;w>_;_++)if((h||_ in v)&&(b=v[_],m=g(b,_,y),t))if(r)x[_]=m;else if(m)switch(t){case 3:return!0;case 5:return b;case 6:return _;case 2:x.push(b)}else if(l)return!1;return p?-1:c||l?l:x}}},{"./_array-species-create":27,"./_ctx":31,"./_iobject":45,"./_to-length":70,"./_to-object":71}],25:[function(t,e,r){var n=t("./_a-function"),i=t("./_to-object"),o=t("./_iobject"),s=t("./_to-length");e.exports=function(t,e,r,a,u){n(e);var c=i(t),l=o(c),p=s(c.length),h=u?p-1:0,f=u?-1:1;if(r<2)for(;;){if(h in l){a=l[h],h+=f;break}if(h+=f,u?h<0:p<=h)throw TypeError("Reduce of empty array with no initial value")}for(;u?h>=0:p>h;h+=f)h in l&&(a=e(a,l[h],h,c));return a}},{"./_a-function":20,"./_iobject":45,"./_to-length":70,"./_to-object":71}],26:[function(t,e,r){var n=t("./_is-object"),i=t("./_is-array"),o=t("./_wks")("species");e.exports=function(t){var e;return i(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!i(e.prototype)||(e=void 0),n(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},{"./_is-array":46,"./_is-object":47,"./_wks":74}],27:[function(t,e,r){var n=t("./_array-species-constructor");e.exports=function(t,e){return new(n(t))(e)}},{"./_array-species-constructor":26}],28:[function(t,e,r){"use strict";var n=t("./_a-function"),i=t("./_is-object"),o=t("./_invoke"),s=[].slice,a={},u=function(t,e,r){if(!(e in a)){for(var n=[],i=0;i<e;i++)n[i]="a["+i+"]";a[e]=Function("F,a","return new F("+n.join(",")+")")}return a[e](t,r)};e.exports=Function.bind||function(t){var e=n(this),r=s.call(arguments,1),a=function(){var n=r.concat(s.call(arguments));return this instanceof a?u(e,n.length,n):o(e,n,t)};return i(e.prototype)&&(a.prototype=e.prototype),a}},{"./_a-function":20,"./_invoke":44,"./_is-object":47}],29:[function(t,e,r){var n={}.toString;e.exports=function(t){return n.call(t).slice(8,-1)}},{}],30:[function(t,e,r){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},{}],31:[function(t,e,r){var n=t("./_a-function");e.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}}},{"./_a-function":20}],32:[function(t,e,r){e.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},{}],33:[function(t,e,r){e.exports=!t("./_fails")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{"./_fails":37}],34:[function(t,e,r){var n=t("./_is-object"),i=t("./_global").document,o=n(i)&&n(i.createElement);e.exports=function(t){return o?i.createElement(t):{}}},{"./_global":38,"./_is-object":47}],35:[function(t,e,r){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],36:[function(t,e,r){var n=t("./_global"),i=t("./_core"),o=t("./_hide"),s=t("./_redefine"),a=t("./_ctx"),u=function(t,e,r){var c,l,p,h,f=t&u.F,d=t&u.G,b=t&u.S,m=t&u.P,y=t&u.B,v=d?n:b?n[e]||(n[e]={}):(n[e]||{}).prototype,g=d?i:i[e]||(i[e]={}),w=g.prototype||(g.prototype={});d&&(r=e);for(c in r)l=!f&&v&&void 0!==v[c],p=(l?v:r)[c],h=y&&l?a(p,n):m&&"function"==typeof p?a(Function.call,p):p,v&&s(v,c,p,t&u.U),g[c]!=p&&o(g,c,h),
|
17
|
-
m&&w[c]!=p&&(w[c]=p)};n.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},{"./_core":30,"./_ctx":31,"./_global":38,"./_hide":40,"./_redefine":60}],37:[function(t,e,r){e.exports=function(t){try{return!!t()}catch(t){return!0}}},{}],38:[function(t,e,r){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},{}],39:[function(t,e,r){var n={}.hasOwnProperty;e.exports=function(t,e){return n.call(t,e)}},{}],40:[function(t,e,r){var n=t("./_object-dp"),i=t("./_property-desc");e.exports=t("./_descriptors")?function(t,e,r){return n.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},{"./_descriptors":33,"./_object-dp":50,"./_property-desc":59}],41:[function(t,e,r){e.exports=t("./_global").document&&document.documentElement},{"./_global":38}],42:[function(t,e,r){e.exports=!t("./_descriptors")&&!t("./_fails")(function(){return 7!=Object.defineProperty(t("./_dom-create")("div"),"a",{get:function(){return 7}}).a})},{"./_descriptors":33,"./_dom-create":34,"./_fails":37}],43:[function(t,e,r){var n=t("./_is-object"),i=t("./_set-proto").set;e.exports=function(t,e,r){var o,s=e.constructor;return s!==r&&"function"==typeof s&&(o=s.prototype)!==r.prototype&&n(o)&&i&&i(t,o),t}},{"./_is-object":47,"./_set-proto":61}],44:[function(t,e,r){e.exports=function(t,e,r){var n=void 0===r;switch(e.length){case 0:return n?t():t.call(r);case 1:return n?t(e[0]):t.call(r,e[0]);case 2:return n?t(e[0],e[1]):t.call(r,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(r,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(r,e[0],e[1],e[2],e[3])}return t.apply(r,e)}},{}],45:[function(t,e,r){var n=t("./_cof");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},{"./_cof":29}],46:[function(t,e,r){var n=t("./_cof");e.exports=Array.isArray||function(t){return"Array"==n(t)}},{"./_cof":29}],47:[function(t,e,r){e.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},{}],48:[function(t,e,r){"use strict";var n=t("./_object-keys"),i=t("./_object-gops"),o=t("./_object-pie"),s=t("./_to-object"),a=t("./_iobject"),u=Object.assign;e.exports=!u||t("./_fails")(function(){var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach(function(t){e[t]=t}),7!=u({},t)[r]||Object.keys(u({},e)).join("")!=n})?function(t,e){for(var r=s(t),u=arguments.length,c=1,l=i.f,p=o.f;u>c;)for(var h,f=a(arguments[c++]),d=l?n(f).concat(l(f)):n(f),b=d.length,m=0;b>m;)p.call(f,h=d[m++])&&(r[h]=f[h]);return r}:u},{"./_fails":37,"./_iobject":45,"./_object-gops":54,"./_object-keys":56,"./_object-pie":57,"./_to-object":71}],49:[function(t,e,r){var n=t("./_an-object"),i=t("./_object-dps"),o=t("./_enum-bug-keys"),s=t("./_shared-key")("IE_PROTO"),a=function(){},u=function(){var e,r=t("./_dom-create")("iframe"),n=o.length;for(r.style.display="none",t("./_html").appendChild(r),r.src="javascript:",e=r.contentWindow.document,e.open(),e.write("<script>document.F=Object</script>"),e.close(),u=e.F;n--;)delete u.prototype[o[n]];return u()};e.exports=Object.create||function(t,e){var r;return null!==t?(a.prototype=n(t),r=new a,a.prototype=null,r[s]=t):r=u(),void 0===e?r:i(r,e)}},{"./_an-object":22,"./_dom-create":34,"./_enum-bug-keys":35,"./_html":41,"./_object-dps":51,"./_shared-key":62}],50:[function(t,e,r){var n=t("./_an-object"),i=t("./_ie8-dom-define"),o=t("./_to-primitive"),s=Object.defineProperty;r.f=t("./_descriptors")?Object.defineProperty:function(t,e,r){if(n(t),e=o(e,!0),n(r),i)try{return s(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},{"./_an-object":22,"./_descriptors":33,"./_ie8-dom-define":42,"./_to-primitive":72}],51:[function(t,e,r){var n=t("./_object-dp"),i=t("./_an-object"),o=t("./_object-keys");e.exports=t("./_descriptors")?Object.defineProperties:function(t,e){i(t);for(var r,s=o(e),a=s.length,u=0;a>u;)n.f(t,r=s[u++],e[r]);return t}},{"./_an-object":22,"./_descriptors":33,"./_object-dp":50,"./_object-keys":56}],52:[function(t,e,r){var n=t("./_object-pie"),i=t("./_property-desc"),o=t("./_to-iobject"),s=t("./_to-primitive"),a=t("./_has"),u=t("./_ie8-dom-define"),c=Object.getOwnPropertyDescriptor;r.f=t("./_descriptors")?c:function(t,e){if(t=o(t),e=s(e,!0),u)try{return c(t,e)}catch(t){}if(a(t,e))return i(!n.f.call(t,e),t[e])}},{"./_descriptors":33,"./_has":39,"./_ie8-dom-define":42,"./_object-pie":57,"./_property-desc":59,"./_to-iobject":69,"./_to-primitive":72}],53:[function(t,e,r){var n=t("./_object-keys-internal"),i=t("./_enum-bug-keys").concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},{"./_enum-bug-keys":35,"./_object-keys-internal":55}],54:[function(t,e,r){r.f=Object.getOwnPropertySymbols},{}],55:[function(t,e,r){var n=t("./_has"),i=t("./_to-iobject"),o=t("./_array-includes")(!1),s=t("./_shared-key")("IE_PROTO");e.exports=function(t,e){var r,a=i(t),u=0,c=[];for(r in a)r!=s&&n(a,r)&&c.push(r);for(;e.length>u;)n(a,r=e[u++])&&(~o(c,r)||c.push(r));return c}},{"./_array-includes":23,"./_has":39,"./_shared-key":62,"./_to-iobject":69}],56:[function(t,e,r){var n=t("./_object-keys-internal"),i=t("./_enum-bug-keys");e.exports=Object.keys||function(t){return n(t,i)}},{"./_enum-bug-keys":35,"./_object-keys-internal":55}],57:[function(t,e,r){r.f={}.propertyIsEnumerable},{}],58:[function(t,e,r){var n=t("./_export"),i=t("./_core"),o=t("./_fails");e.exports=function(t,e){var r=(i.Object||{})[t]||Object[t],s={};s[t]=e(r),n(n.S+n.F*o(function(){r(1)}),"Object",s)}},{"./_core":30,"./_export":36,"./_fails":37}],59:[function(t,e,r){e.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},{}],60:[function(t,e,r){var n=t("./_global"),i=t("./_hide"),o=t("./_has"),s=t("./_uid")("src"),a=Function.toString,u=(""+a).split("toString");t("./_core").inspectSource=function(t){return a.call(t)},(e.exports=function(t,e,r,a){var c="function"==typeof r;c&&(o(r,"name")||i(r,"name",e)),t[e]!==r&&(c&&(o(r,s)||i(r,s,t[e]?""+t[e]:u.join(String(e)))),t===n?t[e]=r:a?t[e]?t[e]=r:i(t,e,r):(delete t[e],i(t,e,r)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||a.call(this)})},{"./_core":30,"./_global":38,"./_has":39,"./_hide":40,"./_uid":73}],61:[function(t,e,r){var n=t("./_is-object"),i=t("./_an-object"),o=function(t,e){if(i(t),!n(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,r,n){try{n=t("./_ctx")(Function.call,t("./_object-gopd").f(Object.prototype,"__proto__").set,2),n(e,[]),r=!(e instanceof Array)}catch(t){r=!0}return function(t,e){return o(t,e),r?t.__proto__=e:n(t,e),t}}({},!1):void 0),check:o}},{"./_an-object":22,"./_ctx":31,"./_is-object":47,"./_object-gopd":52}],62:[function(t,e,r){var n=t("./_shared")("keys"),i=t("./_uid");e.exports=function(t){return n[t]||(n[t]=i(t))}},{"./_shared":63,"./_uid":73}],63:[function(t,e,r){var n=t("./_global"),i=n["__core-js_shared__"]||(n["__core-js_shared__"]={});e.exports=function(t){return i[t]||(i[t]={})}},{"./_global":38}],64:[function(t,e,r){var n=t("./_fails");e.exports=function(t,e){return!!t&&n(function(){e?t.call(null,function(){},1):t.call(null)})}},{"./_fails":37}],65:[function(t,e,r){var n=t("./_export"),i=t("./_defined"),o=t("./_fails"),s=t("./_string-ws"),a="["+s+"]",u="
",c=RegExp("^"+a+a+"*"),l=RegExp(a+a+"*$"),p=function(t,e,r){var i={},a=o(function(){return!!s[t]()||u[t]()!=u}),c=i[t]=a?e(h):s[t];r&&(i[r]=c),n(n.P+n.F*a,"String",i)},h=p.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(l,"")),t};e.exports=p},{"./_defined":32,"./_export":36,"./_fails":37,"./_string-ws":66}],66:[function(t,e,r){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},{}],67:[function(t,e,r){var n=t("./_to-integer"),i=Math.max,o=Math.min;e.exports=function(t,e){return t=n(t),t<0?i(t+e,0):o(t,e)}},{"./_to-integer":68}],68:[function(t,e,r){var n=Math.ceil,i=Math.floor;e.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},{}],69:[function(t,e,r){var n=t("./_iobject"),i=t("./_defined");e.exports=function(t){return n(i(t))}},{"./_defined":32,"./_iobject":45}],70:[function(t,e,r){var n=t("./_to-integer"),i=Math.min;e.exports=function(t){return t>0?i(n(t),9007199254740991):0}},{"./_to-integer":68}],71:[function(t,e,r){var n=t("./_defined");e.exports=function(t){return Object(n(t))}},{"./_defined":32}],72:[function(t,e,r){var n=t("./_is-object");e.exports=function(t,e){if(!n(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!n(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":47}],73:[function(t,e,r){var n=0,i=Math.random();e.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},{}],74:[function(t,e,r){var n=t("./_shared")("wks"),i=t("./_uid"),o=t("./_global").Symbol,s="function"==typeof o;(e.exports=function(t){return n[t]||(n[t]=s&&o[t]||(s?o:i)("Symbol."+t))}).store=n},{"./_global":38,"./_shared":63,"./_uid":73}],75:[function(t,e,r){"use strict";var n=t("./_export"),i=t("./_array-methods")(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),n(n.P+n.F*o,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),t("./_add-to-unscopables")("find")},{"./_add-to-unscopables":21,"./_array-methods":24,"./_export":36}],76:[function(t,e,r){"use strict";var n=t("./_export"),i=t("./_array-methods")(0),o=t("./_strict-method")([].forEach,!0);n(n.P+n.F*!o,"Array",{forEach:function(t){return i(this,t,arguments[1])}})},{"./_array-methods":24,"./_export":36,"./_strict-method":64}],77:[function(t,e,r){"use strict";var n=t("./_export"),i=t("./_array-reduce");n(n.P+n.F*!t("./_strict-method")([].reduce,!0),"Array",{reduce:function(t){return i(this,t,arguments.length,arguments[1],!1)}})},{"./_array-reduce":25,"./_export":36,"./_strict-method":64}],78:[function(t,e,r){var n=t("./_export");n(n.P,"Function",{bind:t("./_bind")})},{"./_bind":28,"./_export":36}],79:[function(t,e,r){"use strict";var n=t("./_global"),i=t("./_has"),o=t("./_cof"),s=t("./_inherit-if-required"),a=t("./_to-primitive"),u=t("./_fails"),c=t("./_object-gopn").f,l=t("./_object-gopd").f,p=t("./_object-dp").f,h=t("./_string-trim").trim,f=n.Number,d=f,b=f.prototype,m="Number"==o(t("./_object-create")(b)),y="trim"in String.prototype,v=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){e=y?e.trim():h(e,3);var r,n,i,o=e.charCodeAt(0);if(43===o||45===o){if(88===(r=e.charCodeAt(2))||120===r)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+e}for(var s,u=e.slice(2),c=0,l=u.length;c<l;c++)if((s=u.charCodeAt(c))<48||s>i)return NaN;return parseInt(u,n)}}return+e};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof f&&(m?u(function(){b.valueOf.call(r)}):"Number"!=o(r))?s(new d(v(e)),r,f):v(e)};for(var g,w=t("./_descriptors")?c(d):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),_=0;w.length>_;_++)i(d,g=w[_])&&!i(f,g)&&p(f,g,l(d,g));f.prototype=b,b.constructor=f,t("./_redefine")(n,"Number",f)}},{"./_cof":29,"./_descriptors":33,"./_fails":37,"./_global":38,"./_has":39,"./_inherit-if-required":43,"./_object-create":49,"./_object-dp":50,"./_object-gopd":52,"./_object-gopn":53,"./_redefine":60,"./_string-trim":65,"./_to-primitive":72}],80:[function(t,e,r){var n=t("./_export");n(n.S+n.F,"Object",{assign:t("./_object-assign")})},{"./_export":36,"./_object-assign":48}],81:[function(t,e,r){var n=t("./_export");n(n.S+n.F*!t("./_descriptors"),"Object",{defineProperty:t("./_object-dp").f})},{"./_descriptors":33,"./_export":36,"./_object-dp":50}],82:[function(t,e,r){var n=t("./_to-object"),i=t("./_object-keys");t("./_object-sap")("keys",function(){return function(t){return i(n(t))}})},{"./_object-keys":56,"./_object-sap":58,"./_to-object":71}],83:[function(t,e,r){"use strict";function n(t){return t.dataset}e.exports=function(){var t=document.createElement("div");return t.setAttribute("data-a-b","c"),Boolean(t.dataset&&"c"===t.dataset.aB)}()?n:function(t){function e(){return this.value}function r(t,e){void 0===e?this.removeAttribute(t):this.setAttribute(t,e)}for(var n={},i=t.attributes,o=0,s=i.length;o<s;o++){var a=i[o];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(n,c,{enumerable:!0,get:e.bind({value:l||""}),set:r.bind(t,u)})}}}return n}},{}],84:[function(t,e,r){var n=t("./src/ParseError"),i=t("./src/Settings"),o=t("./src/buildTree"),s=t("./src/parseTree"),a=t("./src/utils"),u=function(t,e,r){a.clearNode(e);var n=new i(r),u=s(t,n),c=o(u,t,n).toNode();e.appendChild(c)};"undefined"!=typeof document&&"CSS1Compat"!==document.compatMode&&("undefined"!=typeof console&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),u=function(){throw new n("KaTeX doesn't work in quirks mode.")});var c=function(t,e){var r=new i(e),n=s(t,r);return o(n,t,r).toMarkup()},l=function(t,e){var r=new i(e);return s(t,r)};e.exports={render:u,renderToString:c,__parse:l,ParseError:n}},{"./src/ParseError":88,"./src/Settings":90,"./src/buildTree":95,"./src/parseTree":104,"./src/utils":107}],85:[function(t,e,r){function n(t){this.input=t,this.pos=0}function i(t,e,r,n){this.text=t,this.start=e,this.end=r,this.lexer=n}var o=t("match-at"),s=t("./ParseError");i.prototype.range=function(t,e){return t.lexer!==this.lexer?new i(e):new i(e,this.start,t.end,this.lexer)};var a=new RegExp("([ \r\n\t]+)|([!-\\[\\]-‧-豈-]|[�-�][�-�]|\\\\(?:[a-zA-Z]+|[^�-�]))");n.prototype.lex=function(){var t=this.input,e=this.pos;if(e===t.length)return new i("EOF",e,e,this);var r=o(a,t,e);if(null===r)throw new s("Unexpected character: '"+t[e]+"'",new i(t[e],e,e+1,this));var n=r[2]||" ",u=this.pos;return this.pos+=r[0].length,new i(n,u,this.pos,this)},e.exports=n},{"./ParseError":88,"match-at":108}],86:[function(t,e,r){function n(t,e){this.lexer=new i(t),this.macros=e,this.stack=[],this.discardedWhiteSpace=[]}var i=t("./Lexer");n.prototype.nextToken=function(){for(;;){0===this.stack.length&&this.stack.push(this.lexer.lex());var t=this.stack.pop(),e=t.text;if("\\"!==e.charAt(0)||!this.macros.hasOwnProperty(e))return t;var r=this.macros[e];if("string"==typeof r){var n=new i(r);r=[];for(var o=n.lex();"EOF"!==o.text;)r.push(o),o=n.lex();r.reverse(),this.macros[e]=r}this.stack=this.stack.concat(r)}},n.prototype.get=function(t){this.discardedWhiteSpace=[];var e=this.nextToken();if(t)for(;" "===e.text;)this.discardedWhiteSpace.push(e),e=this.nextToken();return e},n.prototype.unget=function(t){for(this.stack.push(t);0!==this.discardedWhiteSpace.length;)this.stack.push(this.discardedWhiteSpace.pop())},e.exports=n},{"./Lexer":85}],87:[function(t,e,r){function n(t){this.style=t.style,this.color=t.color,this.size=t.size,this.phantom=t.phantom,this.font=t.font,void 0===t.parentStyle?this.parentStyle=t.style:this.parentStyle=t.parentStyle,void 0===t.parentSize?this.parentSize=t.size:this.parentSize=t.parentSize}n.prototype.extend=function(t){var e={style:this.style,size:this.size,color:this.color,parentStyle:this.style,parentSize:this.size,phantom:this.phantom,font:this.font};for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return new n(e)},n.prototype.withStyle=function(t){return this.extend({style:t})},n.prototype.withSize=function(t){return this.extend({size:t})},n.prototype.withColor=function(t){return this.extend({color:t})},n.prototype.withPhantom=function(){return this.extend({phantom:!0})},n.prototype.withFont=function(t){return this.extend({font:t||this.font})},n.prototype.reset=function(){return this.extend({})};var i={"katex-blue":"#6495ed","katex-orange":"#ffa500","katex-pink":"#ff00af","katex-red":"#df0030","katex-green":"#28ae7b","katex-gray":"gray","katex-purple":"#9d38bd","katex-blueA":"#ccfaff","katex-blueB":"#80f6ff","katex-blueC":"#63d9ea","katex-blueD":"#11accd","katex-blueE":"#0c7f99","katex-tealA":"#94fff5","katex-tealB":"#26edd5","katex-tealC":"#01d1c1","katex-tealD":"#01a995","katex-tealE":"#208170","katex-greenA":"#b6ffb0","katex-greenB":"#8af281","katex-greenC":"#74cf70","katex-greenD":"#1fab54","katex-greenE":"#0d923f","katex-goldA":"#ffd0a9","katex-goldB":"#ffbb71","katex-goldC":"#ff9c39","katex-goldD":"#e07d10","katex-goldE":"#a75a05","katex-redA":"#fca9a9","katex-redB":"#ff8482","katex-redC":"#f9685d","katex-redD":"#e84d39","katex-redE":"#bc2612","katex-maroonA":"#ffbde0","katex-maroonB":"#ff92c6","katex-maroonC":"#ed5fa6","katex-maroonD":"#ca337c","katex-maroonE":"#9e034e","katex-purpleA":"#ddd7ff","katex-purpleB":"#c6b9fc","katex-purpleC":"#aa87ff","katex-purpleD":"#7854ab","katex-purpleE":"#543b78","katex-mintA":"#f5f9e8","katex-mintB":"#edf2df","katex-mintC":"#e0e5cc","katex-grayA":"#f6f7f7","katex-grayB":"#f0f1f2","katex-grayC":"#e3e5e6","katex-grayD":"#d6d8da","katex-grayE":"#babec2","katex-grayF":"#888d93","katex-grayG":"#626569","katex-grayH":"#3b3e40","katex-grayI":"#21242c","katex-kaBlue":"#314453","katex-kaGreen":"#71B307"};n.prototype.getColor=function(){return this.phantom?"transparent":i[this.color]||this.color},e.exports=n},{}],88:[function(t,e,r){function n(t,e){var r,i,o="KaTeX parse error: "+t;if(e&&e.lexer&&e.start<=e.end){var s=e.lexer.input;r=e.start,i=e.end,r===s.length?o+=" at end of input: ":o+=" at position "+(r+1)+": ";var a,u=s.slice(r,i).replace(/[^]/g,"$&̲");a=r>15?"…"+s.slice(r-15,r):s.slice(0,r);var c;c=i+15<s.length?s.slice(i,i+15)+"…":s.slice(i),o+=a+u+c}var l=new Error(o);return l.name="ParseError",l.__proto__=n.prototype,l.position=r,l}n.prototype.__proto__=Error.prototype,e.exports=n},{}],89:[function(t,e,r){function n(t,e){this.gullet=new a(t,e.macros),this.settings=e,this.leftrightDepth=0}function i(t,e,r){this.result=t,this.isFunction=e,this.token=r}var o=t("./functions"),s=t("./environments"),a=t("./MacroExpander"),u=t("./symbols"),c=t("./utils"),l=t("./unicodeRegexes").cjkRegex,p=t("./parseData"),h=t("./ParseError"),f=p.ParseNode;n.prototype.expect=function(t,e){if(this.nextToken.text!==t)throw new h("Expected '"+t+"', got '"+this.nextToken.text+"'",this.nextToken);!1!==e&&this.consume()},n.prototype.consume=function(){this.nextToken=this.gullet.get("math"===this.mode)},n.prototype.switchMode=function(t){this.gullet.unget(this.nextToken),this.mode=t,this.consume()},n.prototype.parse=function(){return this.mode="math",this.consume(),this.parseInput()},n.prototype.parseInput=function(){var t=this.parseExpression(!1);return this.expect("EOF",!1),t};var d=["}","\\end","\\right","&","\\\\","\\cr"];n.prototype.parseExpression=function(t,e){for(var r=[];;){var n=this.nextToken;if(-1!==d.indexOf(n.text))break;if(e&&n.text===e)break;if(t&&o[n.text]&&o[n.text].infix)break;var i=this.parseAtom();if(!i){if(!this.settings.throwOnError&&"\\"===n.text[0]){var s=this.handleUnsupportedCmd();r.push(s);continue}break}r.push(i)}return this.handleInfixNodes(r)},n.prototype.handleInfixNodes=function(t){for(var e,r=-1,n=0;n<t.length;n++){var i=t[n];if("infix"===i.type){if(-1!==r)throw new h("only one infix operator per group",i.value.token);r=n,e=i.value.replaceWith}}if(-1!==r){var o,s,a=t.slice(0,r),u=t.slice(r+1);o=1===a.length&&"ordgroup"===a[0].type?a[0]:new f("ordgroup",a,this.mode),s=1===u.length&&"ordgroup"===u[0].type?u[0]:new f("ordgroup",u,this.mode);var c=this.callFunction(e,[o,s],null);return[new f(c.type,c,this.mode)]}return t};n.prototype.handleSupSubscript=function(t){var e=this.nextToken,r=e.text;this.consume();var n=this.parseGroup();if(n){if(n.isFunction){if(o[n.result].greediness>1)return this.parseFunction(n);throw new h("Got function '"+n.result+"' with no arguments as "+t,e)}return n.result}if(this.settings.throwOnError||"\\"!==this.nextToken.text[0])throw new h("Expected group after '"+r+"'",e);return this.handleUnsupportedCmd()},n.prototype.handleUnsupportedCmd=function(){for(var t=this.nextToken.text,e=[],r=0;r<t.length;r++)e.push(new f("textord",t[r],"text"));var n=new f("text",{body:e,type:"text"},this.mode),i=new f("color",{color:this.settings.errorColor,value:[n],type:"color"},this.mode);return this.consume(),i},n.prototype.parseAtom=function(){var t=this.parseImplicitGroup();if("text"===this.mode)return t;for(var e,r;;){var n=this.nextToken;if("\\limits"===n.text||"\\nolimits"===n.text){if(!t||"op"!==t.type)throw new h("Limit controls must follow a math operator",n);var i="\\limits"===n.text;t.value.limits=i,t.value.alwaysHandleSupSub=!0,this.consume()}else if("^"===n.text){if(e)throw new h("Double superscript",n);e=this.handleSupSubscript("superscript")}else if("_"===n.text){if(r)throw new h("Double subscript",n);r=this.handleSupSubscript("subscript")}else{if("'"!==n.text)break;var o=new f("textord","\\prime",this.mode),s=[o];for(this.consume();"'"===this.nextToken.text;)s.push(o),this.consume();e=new f("ordgroup",s,this.mode)}}return e||r?new f("supsub",{base:t,sup:e,sub:r},this.mode):t};var b=["\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],m=["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"];n.prototype.parseImplicitGroup=function(){var t=this.parseSymbol();if(null==t)return this.parseFunction();var e,r=t.result;if("\\left"===r){var n=this.parseFunction(t);++this.leftrightDepth,e=this.parseExpression(!1),--this.leftrightDepth,this.expect("\\right",!1);var i=this.parseFunction();return new f("leftright",{body:e,left:n.value.value,right:i.value.value},this.mode)}if("\\begin"===r){var o=this.parseFunction(t),a=o.value.name;if(!s.hasOwnProperty(a))throw new h("No such environment: "+a,o.value.nameGroup);var u=s[a],l=this.parseArguments("\\begin{"+a+"}",u),p={mode:this.mode,envName:a,parser:this,positions:l.pop()},d=u.handler(p,l);this.expect("\\end",!1);var y=this.nextToken,v=this.parseFunction();if(v.value.name!==a)throw new h("Mismatch: \\begin{"+a+"} matched by \\end{"+v.value.name+"}",y);return d.position=v.position,d}return c.contains(b,r)?(e=this.parseExpression(!1),new f("sizing",{size:"size"+(c.indexOf(b,r)+1),value:e},this.mode)):c.contains(m,r)?(e=this.parseExpression(!0),new f("styling",{style:r.slice(1,r.length-5),value:e},this.mode)):this.parseFunction(t)},n.prototype.parseFunction=function(t){if(t||(t=this.parseGroup()),t){if(t.isFunction){var e=t.result,r=o[e];if("text"===this.mode&&!r.allowedInText)throw new h("Can't use function '"+e+"' in text mode",t.token);var n=this.parseArguments(e,r),i=t.token,s=this.callFunction(e,n,n.pop(),i);return new f(s.type,s,this.mode)}return t.result}return null},n.prototype.callFunction=function(t,e,r,n){var i={funcName:t,parser:this,positions:r,token:n};return o[t].handler(i,e)},n.prototype.parseArguments=function(t,e){var r=e.numArgs+e.numOptionalArgs;if(0===r)return[[this.pos]];for(var n=e.greediness,s=[this.pos],a=[],u=0;u<r;u++){var c,l=this.nextToken,p=e.argTypes&&e.argTypes[u];if(u<e.numOptionalArgs){if(!(c=p?this.parseGroupOfType(p,!0):this.parseGroup(!0))){a.push(null),s.push(this.pos);continue}}else if(!(c=p?this.parseGroupOfType(p):this.parseGroup())){if(this.settings.throwOnError||"\\"!==this.nextToken.text[0])throw new h("Expected group after '"+t+"'",l);c=new i(this.handleUnsupportedCmd(this.nextToken.text),!1)}var f;if(c.isFunction){if(!(o[c.result].greediness>n))throw new h("Got function '"+c.result+"' as argument to '"+t+"'",l);f=this.parseFunction(c)}else f=c.result;a.push(f),s.push(this.pos)}return a.push(s),a},n.prototype.parseGroupOfType=function(t,e){var r=this.mode;if("original"===t&&(t=r),"color"===t)return this.parseColorGroup(e);if("size"===t)return this.parseSizeGroup(e);if(this.switchMode(t),"text"===t)for(;" "===this.nextToken.text;)this.consume();var n=this.parseGroup(e);return this.switchMode(r),n},n.prototype.parseStringGroup=function(t,e){if(e&&"["!==this.nextToken.text)return null;var r=this.mode;this.mode="text",this.expect(e?"[":"{");for(var n="",i=this.nextToken,o=i;this.nextToken.text!==(e?"]":"}");){if("EOF"===this.nextToken.text)throw new h("Unexpected end of input in "+t,i.range(this.nextToken,n));o=this.nextToken,n+=o.text,this.consume()}return this.mode=r,this.expect(e?"]":"}"),i.range(o,n)},n.prototype.parseRegexGroup=function(t,e){var r=this.mode;this.mode="text";for(var n=this.nextToken,i=n,o="";"EOF"!==this.nextToken.text&&t.test(o+this.nextToken.text);)i=this.nextToken,o+=i.text,this.consume();if(""===o)throw new h("Invalid "+e+": '"+n.text+"'",n);return this.mode=r,n.range(i,o)},n.prototype.parseColorGroup=function(t){var e=this.parseStringGroup("color",t);if(!e)return null;var r=/^(#[a-z0-9]+|[a-z]+)$/i.exec(e.text);if(!r)throw new h("Invalid color: '"+e.text+"'",e);return new i(new f("color",r[0],this.mode),!1)},n.prototype.parseSizeGroup=function(t){var e;if(!(e=t||"{"===this.nextToken.text?this.parseStringGroup("size",t):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2}$/,"size")))return null;var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e.text);if(!r)throw new h("Invalid size: '"+e.text+"'",e);var n={number:+(r[1]+r[2]),unit:r[3]};if("em"!==n.unit&&"ex"!==n.unit&&"mu"!==n.unit)throw new h("Invalid unit: '"+n.unit+"'",e);return new i(new f("color",n,this.mode),!1)},n.prototype.parseGroup=function(t){var e=this.nextToken;if(this.nextToken.text===(t?"[":"{")){this.consume();var r=this.parseExpression(!1,t?"]":null),n=this.nextToken;return this.expect(t?"]":"}"),"text"===this.mode&&this.formLigatures(r),new i(new f("ordgroup",r,this.mode,e,n),!1)}return t?null:this.parseSymbol()},n.prototype.formLigatures=function(t){var e,r=t.length-1;for(e=0;e<r;++e){var n=t[e],i=n.value;"-"===i&&"-"===t[e+1].value&&(e+1<r&&"-"===t[e+2].value?(t.splice(e,3,new f("textord","---","text",n,t[e+2])),r-=2):(t.splice(e,2,new f("textord","--","text",n,t[e+1])),r-=1)),"'"!==i&&"`"!==i||t[e+1].value!==i||(t.splice(e,2,new f("textord",i+i,"text",n,t[e+1])),r-=1)}},n.prototype.parseSymbol=function(){var t=this.nextToken;return o[t.text]?(this.consume(),new i(t.text,!0,t)):u[this.mode][t.text]?(this.consume(),new i(new f(u[this.mode][t.text].group,t.text,this.mode,t),!1,t)):"text"===this.mode&&l.test(t.text)?(this.consume(),new i(new f("textord",t.text,this.mode,t),!1,t)):null},n.prototype.ParseNode=f,e.exports=n},{"./MacroExpander":86,"./ParseError":88,"./environments":98,"./functions":101,"./parseData":103,"./symbols":105,"./unicodeRegexes":106,"./utils":107}],90:[function(t,e,r){function n(t,e){return void 0===t?e:t}function i(t){t=t||{},this.displayMode=n(t.displayMode,!1),this.throwOnError=n(t.throwOnError,!0),this.errorColor=n(t.errorColor,"#cc0000"),this.macros=t.macros||{}}e.exports=i},{}],91:[function(t,e,r){function n(t,e,r,n){this.id=t,this.size=e,this.cramped=n,this.sizeMultiplier=r,this.metrics=s[e>0?e-1:0]}var i,o=t("./fontMetrics.js").sigmas,s=[{},{},{}];for(var a in o)if(o.hasOwnProperty(a))for(i=0;i<3;i++)s[i][a]=o[a][i];for(i=0;i<3;i++)s[i].emPerEx=o.xHeight[i]/o.quad[i];n.prototype.sup=function(){return l[p[this.id]]},n.prototype.sub=function(){return l[h[this.id]]},n.prototype.fracNum=function(){return l[f[this.id]]},n.prototype.fracDen=function(){return l[d[this.id]]},n.prototype.cramp=function(){return l[b[this.id]]},n.prototype.cls=function(){return u[this.size]+(this.cramped?" cramped":" uncramped")},n.prototype.reset=function(){return c[this.size]},n.prototype.isTight=function(){return this.size>=2};var u=["displaystyle textstyle","textstyle","scriptstyle","scriptscriptstyle"],c=["reset-textstyle","reset-textstyle","reset-scriptstyle","reset-scriptscriptstyle"],l=[new n(0,0,1,!1),new n(1,0,1,!0),new n(2,1,1,!1),new n(3,1,1,!0),new n(4,2,.7,!1),new n(5,2,.7,!0),new n(6,3,.5,!1),new n(7,3,.5,!0)],p=[4,5,4,5,6,7,6,7],h=[5,5,5,5,7,7,7,7],f=[2,3,4,5,6,7,6,7],d=[3,3,5,5,7,7,7,7],b=[1,1,3,3,5,5,7,7];e.exports={DISPLAY:l[0],TEXT:l[2],SCRIPT:l[4],SCRIPTSCRIPT:l[6]}},{"./fontMetrics.js":99}],92:[function(t,e,r){var n=t("./domTree"),i=t("./fontMetrics"),o=t("./symbols"),s=t("./utils"),a=["\\Gamma","\\Delta","\\Theta","\\Lambda","\\Xi","\\Pi","\\Sigma","\\Upsilon","\\Phi","\\Psi","\\Omega"],u=["ı","ȷ","£"],c=function(t,e,r,s,a){o[r][t]&&o[r][t].replace&&(t=o[r][t].replace);var u,c=i.getCharacterMetrics(t,e);if(c){var l=c.italic;"text"===r&&(l=0),u=new n.symbolNode(t,c.height,c.depth,l,c.skew,a)}else"undefined"!=typeof console&&console.warn("No character metrics for '"+t+"' in style '"+e+"'"),u=new n.symbolNode(t,0,0,0,0,a);return s&&(s.style.isTight()&&u.classes.push("mtight"),s.getColor()&&(u.style.color=s.getColor())),u},l=function(t,e,r,n){return"\\"===t||"main"===o[e][t].font?c(t,"Main-Regular",e,r,n):c(t,"AMS-Regular",e,r,n.concat(["amsrm"]))},p=function(t,e,r,n,i){if("mathord"===i)return h(t,e,r,n);if("textord"===i)return c(t,"Main-Regular",e,r,n.concat(["mathrm"]));throw new Error("unexpected type: "+i+" in mathDefault")},h=function(t,e,r,n){return/[0-9]/.test(t.charAt(0))||s.contains(u,t)||s.contains(a,t)?c(t,"Main-Italic",e,r,n.concat(["mainit"])):c(t,"Math-Italic",e,r,n.concat(["mathit"]))},f=function(t,e,r){var n=t.mode,a=t.value;o[n][a]&&o[n][a].replace&&(a=o[n][a].replace);var l=["mord"],f=e.font;if(f){if("mathit"===f||s.contains(u,a))return h(a,n,e,l);var d=x[f].fontName;return i.getCharacterMetrics(a,d)?c(a,d,n,e,l.concat([f])):p(a,n,e,l,r)}return p(a,n,e,l,r)},d=function(t){var e=0,r=0,n=0;if(t.children)for(var i=0;i<t.children.length;i++)t.children[i].height>e&&(e=t.children[i].height),t.children[i].depth>r&&(r=t.children[i].depth),t.children[i].maxFontSize>n&&(n=t.children[i].maxFontSize);t.height=e,t.depth=r,t.maxFontSize=n},b=function(t,e,r){var i=new n.span(t,e,r);return d(i),i},m=function(t,e){t.children=e.concat(t.children),d(t)},y=function(t){var e=new n.documentFragment(t);return d(e),e},v=function(t,e){var r=b([],[new n.symbolNode("")]);return r.style.fontSize=e/t.style.sizeMultiplier+"em",b(["fontsize-ensurer","reset-"+t.size,"size5"],[r])},g=function(t,e,r,i){var o,s,a;if("individualShift"===e){var u=t;for(t=[u[0]],o=-u[0].shift-u[0].elem.depth,s=o,a=1;a<u.length;a++){var c=-u[a].shift-s-u[a].elem.depth,l=c-(u[a-1].elem.height+u[a-1].elem.depth);s+=c,t.push({type:"kern",size:l}),t.push(u[a])}}else if("top"===e){var p=r;for(a=0;a<t.length;a++)"kern"===t[a].type?p-=t[a].size:p-=t[a].elem.height+t[a].elem.depth;o=p}else o="bottom"===e?-r:"shift"===e?-t[0].elem.depth-r:"firstBaseline"===e?-t[0].elem.depth:0;var h=0;for(a=0;a<t.length;a++)"elem"===t[a].type&&(h=Math.max(h,t[a].elem.maxFontSize));var f=v(i,h),d=[];for(s=o,a=0;a<t.length;a++)if("kern"===t[a].type)s+=t[a].size;else{var m=t[a].elem,y=-m.depth-s;s+=m.height+m.depth;var g=b([],[f,m]);g.height-=y,g.depth+=y,g.style.top=y+"em",d.push(g)}var w=b(["baseline-fix"],[f,new n.symbolNode("")]);d.push(w);var _=b(["vlist"],d);return _.height=Math.max(s,_.height),_.depth=Math.max(-o,_.depth),_},w={size1:.5,size2:.7,size3:.8,size4:.9,size5:1,size6:1.2,size7:1.44,size8:1.73,size9:2.07,size10:2.49},_={"\\qquad":{size:"2em",className:"qquad"},"\\quad":{size:"1em",className:"quad"},"\\enspace":{size:"0.5em",className:"enspace"},"\\;":{size:"0.277778em",className:"thickspace"},"\\:":{size:"0.22222em",className:"mediumspace"},"\\,":{size:"0.16667em",className:"thinspace"},"\\!":{size:"-0.16667em",className:"negativethinspace"}},x={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{
|
18
|
-
variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}};e.exports={fontMap:x,makeSymbol:c,mathsym:l,makeSpan:b,makeFragment:y,makeVList:g,makeOrd:f,prependChildren:m,sizingMultiplier:w,spacingFunctions:_}},{"./domTree":97,"./fontMetrics":99,"./symbols":105,"./utils":107}],93:[function(t,e,r){var n=t("./ParseError"),i=t("./Style"),o=t("./buildCommon"),s=t("./delimiter"),a=t("./domTree"),u=t("./fontMetrics"),c=t("./utils"),l=o.makeSpan,p=function(t){return t instanceof a.span&&"mspace"===t.classes[0]},h=function(t){return t&&"mbin"===t.classes[0]},f=function(t,e){return t?c.contains(["mbin","mopen","mrel","mop","mpunct"],t.classes[0]):e},d=function(t,e){return t?c.contains(["mrel","mclose","mpunct"],t.classes[0]):e},b=function(t,e,r){for(var n=[],i=0;i<t.length;i++){var s=t[i],u=S(s,e);u instanceof a.documentFragment?Array.prototype.push.apply(n,u.children):n.push(u)}var c=null;for(i=0;i<n.length;i++)p(n[i])?(c=c||[],c.push(n[i]),n.splice(i,1),i--):c&&(n[i]instanceof a.symbolNode&&(n[i]=l([].concat(n[i].classes),[n[i]])),o.prependChildren(n[i],c),c=null);for(c&&Array.prototype.push.apply(n,c),i=0;i<n.length;i++)h(n[i])&&(f(n[i-1],r)||d(n[i+1],r))&&(n[i].classes[0]="mord");return n},m=function(t){if(t instanceof a.documentFragment){if(t.children.length)return m(t.children[t.children.length-1])}else if(c.contains(["mord","mop","mbin","mrel","mopen","mclose","mpunct","minner"],t.classes[0]))return t.classes[0];return null},y=function(t,e){return!!t&&("op"===t.type?t.value.limits&&(e.style.size===i.DISPLAY.size||t.value.alwaysHandleSupSub):"accent"===t.type?g(t.value.base):null)},v=function(t){return!!t&&("ordgroup"===t.type?1===t.value.length?v(t.value[0]):t:"color"===t.type?1===t.value.value.length?v(t.value.value[0]):t:"font"===t.type?v(t.value.body):t)},g=function(t){var e=v(t);return"mathord"===e.type||"textord"===e.type||"bin"===e.type||"rel"===e.type||"inner"===e.type||"open"===e.type||"close"===e.type||"punct"===e.type},w=function(t,e){return l(e.concat(["sizing","reset-"+t.size,"size5",t.style.reset(),i.TEXT.cls(),"nulldelimiter"]))},_={};_.mathord=function(t,e){return o.makeOrd(t,e,"mathord")},_.textord=function(t,e){return o.makeOrd(t,e,"textord")},_.bin=function(t,e){return o.mathsym(t.value,t.mode,e,["mbin"])},_.rel=function(t,e){return o.mathsym(t.value,t.mode,e,["mrel"])},_.open=function(t,e){return o.mathsym(t.value,t.mode,e,["mopen"])},_.close=function(t,e){return o.mathsym(t.value,t.mode,e,["mclose"])},_.inner=function(t,e){return o.mathsym(t.value,t.mode,e,["minner"])},_.punct=function(t,e){return o.mathsym(t.value,t.mode,e,["mpunct"])},_.ordgroup=function(t,e){return l(["mord",e.style.cls()],b(t.value,e.reset(),!0),e)},_.text=function(t,e){for(var r=e.withFont(t.value.style),n=b(t.value.body,r,!0),i=0;i<n.length-1;i++)n[i].tryCombine(n[i+1])&&(n.splice(i+1,1),i--);return l(["mord","text",r.style.cls()],n,r)},_.color=function(t,e){var r=b(t.value.value,e.withColor(t.value.color),!1);return new o.makeFragment(r)},_.supsub=function(t,e){if(y(t.value.base,e))return _[t.value.base.type](t,e);var r,n,s,c,p,h=S(t.value.base,e.reset()),f=e.style;t.value.sup&&(p=e.withStyle(f.sup()),s=S(t.value.sup,p),r=l([f.reset(),f.sup().cls()],[s],p)),t.value.sub&&(p=e.withStyle(f.sub()),c=S(t.value.sub,p),n=l([f.reset(),f.sub().cls()],[c],p));var d,b;g(t.value.base)?(d=0,b=0):(d=h.height-f.metrics.supDrop,b=h.depth+f.metrics.subDrop);var v;v=f===i.DISPLAY?f.metrics.sup1:f.cramped?f.metrics.sup3:f.metrics.sup2;var w,x=i.TEXT.sizeMultiplier*f.sizeMultiplier,O=.5/u.metrics.ptPerEm/x+"em";if(t.value.sup)if(t.value.sub){d=Math.max(d,v,s.depth+.25*f.metrics.xHeight),b=Math.max(b,f.metrics.sub2);var j=u.metrics.defaultRuleThickness;if(d-s.depth-(c.height-b)<4*j){b=4*j-(d-s.depth)+c.height;var k=.8*f.metrics.xHeight-(d-s.depth);k>0&&(d+=k,b-=k)}w=o.makeVList([{type:"elem",elem:n,shift:b},{type:"elem",elem:r,shift:-d}],"individualShift",null,e),h instanceof a.symbolNode&&(w.children[0].style.marginLeft=-h.italic+"em"),w.children[0].style.marginRight=O,w.children[1].style.marginRight=O}else d=Math.max(d,v,s.depth+.25*f.metrics.xHeight),w=o.makeVList([{type:"elem",elem:r}],"shift",-d,e),w.children[0].style.marginRight=O;else b=Math.max(b,f.metrics.sub1,c.height-.8*f.metrics.xHeight),w=o.makeVList([{type:"elem",elem:n}],"shift",b,e),w.children[0].style.marginRight=O,h instanceof a.symbolNode&&(w.children[0].style.marginLeft=-h.italic+"em");var T=m(h)||"mord";return l([T],[h,l(["msupsub"],[w])],e)},_.genfrac=function(t,e){var r=e.style;"display"===t.value.size?r=i.DISPLAY:"text"===t.value.size&&(r=i.TEXT);var n,a=r.fracNum(),c=r.fracDen();n=e.withStyle(a);var p=S(t.value.numer,n),h=l([r.reset(),a.cls()],[p],n);n=e.withStyle(c);var f,d=S(t.value.denom,n),b=l([r.reset(),c.cls()],[d],n);f=t.value.hasBarLine?u.metrics.defaultRuleThickness/e.style.sizeMultiplier:0;var m,y,v;r.size===i.DISPLAY.size?(m=r.metrics.num1,y=f>0?3*f:7*u.metrics.defaultRuleThickness,v=r.metrics.denom1):(f>0?(m=r.metrics.num2,y=f):(m=r.metrics.num3,y=3*u.metrics.defaultRuleThickness),v=r.metrics.denom2);var g;if(0===f){var _=m-p.depth-(d.height-v);_<y&&(m+=.5*(y-_),v+=.5*(y-_)),g=o.makeVList([{type:"elem",elem:b,shift:v},{type:"elem",elem:h,shift:-m}],"individualShift",null,e)}else{var x=r.metrics.axisHeight;m-p.depth-(x+.5*f)<y&&(m+=y-(m-p.depth-(x+.5*f))),x-.5*f-(d.height-v)<y&&(v+=y-(x-.5*f-(d.height-v)));var O=l([e.style.reset(),i.TEXT.cls(),"frac-line"]);O.height=f;var j=-(x-.5*f);g=o.makeVList([{type:"elem",elem:b,shift:v},{type:"elem",elem:O,shift:j},{type:"elem",elem:h,shift:-m}],"individualShift",null,e)}g.height*=r.sizeMultiplier/e.style.sizeMultiplier,g.depth*=r.sizeMultiplier/e.style.sizeMultiplier;var k;k=r.size===i.DISPLAY.size?r.metrics.delim1:r.metrics.delim2;var T,E;return T=null==t.value.leftDelim?w(e,["mopen"]):s.customSizedDelim(t.value.leftDelim,k,!0,e.withStyle(r),t.mode,["mopen"]),E=null==t.value.rightDelim?w(e,["mclose"]):s.customSizedDelim(t.value.rightDelim,k,!0,e.withStyle(r),t.mode,["mclose"]),l(["mord",e.style.reset(),r.cls()],[T,l(["mfrac"],[g]),E],e)};var x=function(t,e){var r=t.number;return"ex"===t.unit?r*=e.metrics.emPerEx:"mu"===t.unit&&(r/=18),r};_.array=function(t,e){var r,i,s=t.value.body.length,a=0,p=new Array(s),h=e.style,f=1/u.metrics.ptPerEm,d=5*f,b=12*f,m=c.deflt(t.value.arraystretch,1),y=m*b,v=.7*y,g=.3*y,w=0;for(r=0;r<t.value.body.length;++r){var _=t.value.body[r],O=v,j=g;a<_.length&&(a=_.length);var k=new Array(_.length);for(i=0;i<_.length;++i){var T=S(_[i],e);j<T.depth&&(j=T.depth),O<T.height&&(O=T.height),k[i]=T}var E=0;t.value.rowGaps[r]&&(E=x(t.value.rowGaps[r].value,h))>0&&(E+=g,j<E&&(j=E),E=0),k.height=O,k.depth=j,w+=O,k.pos=w,w+=j+E,p[r]=k}var A,M,P=w/2+h.metrics.axisHeight,C=t.value.cols||[],N=[];for(i=0,M=0;i<a||M<C.length;++i,++M){for(var R=C[M]||{},z=!0;"separator"===R.type;){if(z||(A=l(["arraycolsep"],[]),A.style.width=u.metrics.doubleRuleSep+"em",N.push(A)),"|"!==R.separator)throw new n("Invalid separator type: "+R.separator);var F=l(["vertical-separator"],[]);F.style.height=w+"em",F.style.verticalAlign=-(w-P)+"em",N.push(F),M++,R=C[M]||{},z=!1}if(!(i>=a)){var q;(i>0||t.value.hskipBeforeAndAfter)&&0!==(q=c.deflt(R.pregap,d))&&(A=l(["arraycolsep"],[]),A.style.width=q+"em",N.push(A));var D=[];for(r=0;r<s;++r){var I=p[r],L=I[i];if(L){var B=I.pos-P;L.depth=I.depth,L.height=I.height,D.push({type:"elem",elem:L,shift:B})}}D=o.makeVList(D,"individualShift",null,e),D=l(["col-align-"+(R.align||"c")],[D]),N.push(D),(i<a-1||t.value.hskipBeforeAndAfter)&&0!==(q=c.deflt(R.postgap,d))&&(A=l(["arraycolsep"],[]),A.style.width=q+"em",N.push(A))}}return p=l(["mtable"],N),l(["mord"],[p],e)},_.spacing=function(t,e){return"\\ "===t.value||"\\space"===t.value||" "===t.value||"~"===t.value?"text"===t.mode?o.makeOrd(t,e,"textord"):l(["mspace"],[o.mathsym(t.value,t.mode,e)],e):l(["mspace",o.spacingFunctions[t.value].className],[],e)},_.llap=function(t,e){var r=l(["inner"],[S(t.value.body,e.reset())]),n=l(["fix"],[]);return l(["mord","llap",e.style.cls()],[r,n],e)},_.rlap=function(t,e){var r=l(["inner"],[S(t.value.body,e.reset())]),n=l(["fix"],[]);return l(["mord","rlap",e.style.cls()],[r,n],e)},_.op=function(t,e){var r,n,s=!1;"supsub"===t.type&&(r=t.value.sup,n=t.value.sub,t=t.value.base,s=!0);var a=e.style,p=["\\smallint"],h=!1;a.size===i.DISPLAY.size&&t.value.symbol&&!c.contains(p,t.value.body)&&(h=!0);var f,d=0,m=0;if(t.value.symbol){var y=h?"Size2-Regular":"Size1-Regular";f=o.makeSymbol(t.value.body,y,"math",e,["mop","op-symbol",h?"large-op":"small-op"]),d=(f.height-f.depth)/2-a.metrics.axisHeight*a.sizeMultiplier,m=f.italic}else if(t.value.value){var v=b(t.value.value,e,!0);f=l(["mop"],v,e)}else{for(var g=[],w=1;w<t.value.body.length;w++)g.push(o.mathsym(t.value.body[w],t.mode));f=l(["mop"],g,e)}if(s){f=l([],[f]);var _,x,O,j,k;if(r){k=e.withStyle(a.sup());var T=S(r,k);_=l([a.reset(),a.sup().cls()],[T],k),x=Math.max(u.metrics.bigOpSpacing1,u.metrics.bigOpSpacing3-T.depth)}if(n){k=e.withStyle(a.sub());var E=S(n,k);O=l([a.reset(),a.sub().cls()],[E],k),j=Math.max(u.metrics.bigOpSpacing2,u.metrics.bigOpSpacing4-E.height)}var A,M,P;if(r)if(n){if(!r&&!n)return f;P=u.metrics.bigOpSpacing5+O.height+O.depth+j+f.depth+d,A=o.makeVList([{type:"kern",size:u.metrics.bigOpSpacing5},{type:"elem",elem:O},{type:"kern",size:j},{type:"elem",elem:f},{type:"kern",size:x},{type:"elem",elem:_},{type:"kern",size:u.metrics.bigOpSpacing5}],"bottom",P,e),A.children[0].style.marginLeft=-m+"em",A.children[2].style.marginLeft=m+"em"}else P=f.depth+d,A=o.makeVList([{type:"elem",elem:f},{type:"kern",size:x},{type:"elem",elem:_},{type:"kern",size:u.metrics.bigOpSpacing5}],"bottom",P,e),A.children[1].style.marginLeft=m+"em";else M=f.height-d,A=o.makeVList([{type:"kern",size:u.metrics.bigOpSpacing5},{type:"elem",elem:O},{type:"kern",size:j},{type:"elem",elem:f}],"top",M,e),A.children[0].style.marginLeft=-m+"em";return l(["mop","op-limits"],[A],e)}return t.value.symbol&&(f.style.top=d+"em"),f},_.mod=function(t,e){var r=[];if("bmod"===t.value.modType?(e.style.isTight()||r.push(l(["mspace","negativemediumspace"],[],e)),r.push(l(["mspace","thickspace"],[],e))):e.style.size===i.DISPLAY.size?r.push(l(["mspace","quad"],[],e)):"mod"===t.value.modType?r.push(l(["mspace","twelvemuspace"],[],e)):r.push(l(["mspace","eightmuspace"],[],e)),"pod"!==t.value.modType&&"pmod"!==t.value.modType||r.push(o.mathsym("(",t.mode)),"pod"!==t.value.modType){var n=[o.mathsym("m",t.mode),o.mathsym("o",t.mode),o.mathsym("d",t.mode)];"bmod"===t.value.modType?(r.push(l(["mbin"],n,e)),r.push(l(["mspace","thickspace"],[],e)),e.style.isTight()||r.push(l(["mspace","negativemediumspace"],[],e))):(Array.prototype.push.apply(r,n),r.push(l(["mspace","sixmuspace"],[],e)))}return t.value.value&&Array.prototype.push.apply(r,b(t.value.value,e,!1)),"pod"!==t.value.modType&&"pmod"!==t.value.modType||r.push(o.mathsym(")",t.mode)),o.makeFragment(r)},_.katex=function(t,e){var r=l(["k"],[o.mathsym("K",t.mode)],e),n=l(["a"],[o.mathsym("A",t.mode)],e);n.height=.75*(n.height+.2),n.depth=.75*(n.height-.2);var i=l(["t"],[o.mathsym("T",t.mode)],e),s=l(["e"],[o.mathsym("E",t.mode)],e);s.height=s.height-.2155,s.depth=s.depth+.2155;var a=l(["x"],[o.mathsym("X",t.mode)],e);return l(["mord","katex-logo"],[r,n,i,s,a],e)},_.overline=function(t,e){var r=e.style,n=S(t.value.body,e.withStyle(r.cramp())),s=u.metrics.defaultRuleThickness/r.sizeMultiplier,a=l([r.reset(),i.TEXT.cls(),"overline-line"]);a.height=s,a.maxFontSize=1;var c=o.makeVList([{type:"elem",elem:n},{type:"kern",size:3*s},{type:"elem",elem:a},{type:"kern",size:s}],"firstBaseline",null,e);return l(["mord","overline"],[c],e)},_.underline=function(t,e){var r=e.style,n=S(t.value.body,e),s=u.metrics.defaultRuleThickness/r.sizeMultiplier,a=l([r.reset(),i.TEXT.cls(),"underline-line"]);a.height=s,a.maxFontSize=1;var c=o.makeVList([{type:"kern",size:s},{type:"elem",elem:a},{type:"kern",size:3*s},{type:"elem",elem:n}],"top",n.height,e);return l(["mord","underline"],[c],e)},_.sqrt=function(t,e){var r=e.style,n=S(t.value.body,e.withStyle(r.cramp())),a=u.metrics.defaultRuleThickness/r.sizeMultiplier,c=l([r.reset(),i.TEXT.cls(),"sqrt-line"],[],e);c.height=a,c.maxFontSize=1;var p=a;r.id<i.TEXT.id&&(p=r.metrics.xHeight);var h=a+p/4,f=(n.height+n.depth)*r.sizeMultiplier,d=f+h+a,b=l(["sqrt-sign"],[s.customSizedDelim("\\surd",d,!1,e,t.mode)],e),m=b.height+b.depth-a;m>n.height+n.depth+h&&(h=(h+m-n.height-n.depth)/2);var y=-(n.height+h+a)+b.height;b.style.top=y+"em",b.height-=y,b.depth+=y;var v;if(v=0===n.height&&0===n.depth?l():o.makeVList([{type:"elem",elem:n},{type:"kern",size:h},{type:"elem",elem:c},{type:"kern",size:a}],"firstBaseline",null,e),t.value.index){var g=e.withStyle(i.SCRIPTSCRIPT),w=S(t.value.index,g),_=l([r.reset(),i.SCRIPTSCRIPT.cls()],[w],g),x=Math.max(b.height,v.height),O=Math.max(b.depth,v.depth),j=.6*(x-O),k=o.makeVList([{type:"elem",elem:_}],"shift",-j,e),T=l(["root"],[k]);return l(["mord","sqrt"],[T,b,v],e)}return l(["mord","sqrt"],[b,v],e)},_.sizing=function(t,e){var r=b(t.value.value,e.withSize(t.value.size),!1),n=e.style,i=o.sizingMultiplier[t.value.size];i*=n.sizeMultiplier;for(var s=0;s<r.length;s++){var a=c.indexOf(r[s].classes,"sizing");a<0?(r[s].classes.push("sizing","reset-"+e.size,t.value.size,n.cls()),r[s].maxFontSize=i):r[s].classes[a+1]==="reset-"+t.value.size&&(r[s].classes[a+1]="reset-"+e.size)}return o.makeFragment(r)},_.styling=function(t,e){for(var r={display:i.DISPLAY,text:i.TEXT,script:i.SCRIPT,scriptscript:i.SCRIPTSCRIPT},n=r[t.value.style],s=e.withStyle(n),a=b(t.value.value,s,!1),u=0;u<a.length;u++){var l=c.indexOf(a[u].classes,n.reset());l<0?a[u].classes.push(e.style.reset(),n.cls()):a[u].classes[l]=e.style.reset()}return new o.makeFragment(a)},_.font=function(t,e){var r=t.value.font;return S(t.value.body,e.withFont(r))},_.delimsizing=function(t,e){var r=t.value.value;return"."===r?l([t.value.mclass]):s.sizedDelim(r,t.value.size,e,t.mode,[t.value.mclass])},_.leftright=function(t,e){for(var r=b(t.value.body,e.reset(),!0),n=0,i=0,o=!1,a=0;a<r.length;a++)r[a].isMiddle?o=!0:(n=Math.max(r[a].height,n),i=Math.max(r[a].depth,i));var u=e.style;n*=u.sizeMultiplier,i*=u.sizeMultiplier;var c;if(c="."===t.value.left?w(e,["mopen"]):s.leftRightDelim(t.value.left,n,i,e,t.mode,["mopen"]),r.unshift(c),o)for(a=1;a<r.length;a++)r[a].isMiddle&&(r[a]=s.leftRightDelim(r[a].isMiddle.value,n,i,r[a].isMiddle.options,t.mode,[]));var p;return p="."===t.value.right?w(e,["mclose"]):s.leftRightDelim(t.value.right,n,i,e,t.mode,["mclose"]),r.push(p),l(["minner",u.cls()],r,e)},_.middle=function(t,e){var r;return"."===t.value.value?r=w(e,[]):(r=s.sizedDelim(t.value.value,1,e,t.mode,[]),r.isMiddle={value:t.value.value,options:e}),r},_.rule=function(t,e){var r=l(["mord","rule"],[],e),n=e.style,i=0;t.value.shift&&(i=x(t.value.shift,n));var o=x(t.value.width,n),s=x(t.value.height,n);return i/=n.sizeMultiplier,o/=n.sizeMultiplier,s/=n.sizeMultiplier,r.style.borderRightWidth=o+"em",r.style.borderTopWidth=s+"em",r.style.bottom=i+"em",r.width=o,r.height=s+i,r.depth=-i,r},_.kern=function(t,e){var r=l(["mord","rule"],[],e),n=e.style,i=0;return t.value.dimension&&(i=x(t.value.dimension,n)),i/=n.sizeMultiplier,r.style.marginLeft=i+"em",r},_.accent=function(t,e){var r,n=t.value.base,i=e.style;if("supsub"===t.type){var s=t;t=s.value.base,n=t.value.base,s.value.base=n,r=S(s,e.reset())}var a,u=S(n,e.withStyle(i.cramp()));if(g(n)){var c=v(n);a=S(c,e.withStyle(i.cramp())).skew}else a=0;var p=Math.min(u.height,i.metrics.xHeight),h=o.makeSymbol(t.value.accent,"Main-Regular","math",e);h.italic=0;var f="\\vec"===t.value.accent?"accent-vec":null,d=l(["accent-body",f],[l([],[h])]);d=o.makeVList([{type:"elem",elem:u},{type:"kern",size:-p},{type:"elem",elem:d}],"firstBaseline",null,e),d.children[1].style.marginLeft=2*a+"em";var b=l(["mord","accent"],[d],e);return r?(r.children[0]=b,r.height=Math.max(b.height,r.height),r.classes[0]="mord",r):b},_.phantom=function(t,e){var r=b(t.value.value,e.withPhantom(),!1);return new o.makeFragment(r)},_.mclass=function(t,e){var r=b(t.value.value,e,!0);return l([t.value.mclass],r,e)};var S=function(t,e){if(!t)return l();if(_[t.type]){var r,i=_[t.type](t,e);return e.style!==e.parentStyle&&(r=e.style.sizeMultiplier/e.parentStyle.sizeMultiplier,i.height*=r,i.depth*=r),e.size!==e.parentSize&&(r=o.sizingMultiplier[e.size]/o.sizingMultiplier[e.parentSize],i.height*=r,i.depth*=r),i}throw new n("Got group of unknown type: '"+t.type+"'")},O=function(t,e){t=JSON.parse(JSON.stringify(t));var r=b(t,e,!0),n=l(["base",e.style.cls()],r,e),i=l(["strut"]),o=l(["strut","bottom"]);i.style.height=n.height+"em",o.style.height=n.height+n.depth+"em",o.style.verticalAlign=-n.depth+"em";var s=l(["katex-html"],[i,o,n]);return s.setAttribute("aria-hidden","true"),s};e.exports=O},{"./ParseError":88,"./Style":91,"./buildCommon":92,"./delimiter":96,"./domTree":97,"./fontMetrics":99,"./utils":107}],94:[function(t,e,r){var n=t("./buildCommon"),i=t("./fontMetrics"),o=t("./mathMLTree"),s=t("./ParseError"),a=t("./symbols"),u=t("./utils"),c=n.makeSpan,l=n.fontMap,p=function(t,e){return a[e][t]&&a[e][t].replace&&(t=a[e][t].replace),new o.TextNode(t)},h=function(t,e){var r=e.font;if(!r)return null;var n=t.mode;if("mathit"===r)return"italic";var o=t.value;if(u.contains(["\\imath","\\jmath"],o))return null;a[n][o]&&a[n][o].replace&&(o=a[n][o].replace);var s=l[r].fontName;return i.getCharacterMetrics(o,s)?l[e.font].variant:null},f={};f.mathord=function(t,e){var r=new o.MathNode("mi",[p(t.value,t.mode)]),n=h(t,e);return n&&r.setAttribute("mathvariant",n),r},f.textord=function(t,e){var r,n=p(t.value,t.mode),i=h(t,e)||"normal";return/[0-9]/.test(t.value)?(r=new o.MathNode("mn",[n]),e.font&&r.setAttribute("mathvariant",i)):(r=new o.MathNode("mi",[n]),r.setAttribute("mathvariant",i)),r},f.bin=function(t){return new o.MathNode("mo",[p(t.value,t.mode)])},f.rel=function(t){return new o.MathNode("mo",[p(t.value,t.mode)])},f.open=function(t){return new o.MathNode("mo",[p(t.value,t.mode)])},f.close=function(t){return new o.MathNode("mo",[p(t.value,t.mode)])},f.inner=function(t){return new o.MathNode("mo",[p(t.value,t.mode)])},f.punct=function(t){var e=new o.MathNode("mo",[p(t.value,t.mode)]);return e.setAttribute("separator","true"),e},f.ordgroup=function(t,e){var r=d(t.value,e);return new o.MathNode("mrow",r)},f.text=function(t,e){var r=d(t.value.body,e);return new o.MathNode("mtext",r)},f.color=function(t,e){var r=d(t.value.value,e),n=new o.MathNode("mstyle",r);return n.setAttribute("mathcolor",t.value.color),n},f.supsub=function(t,e){var r=[b(t.value.base,e)];t.value.sub&&r.push(b(t.value.sub,e)),t.value.sup&&r.push(b(t.value.sup,e));var n;return n=t.value.sub?t.value.sup?"msubsup":"msub":"msup",new o.MathNode(n,r)},f.genfrac=function(t,e){var r=new o.MathNode("mfrac",[b(t.value.numer,e),b(t.value.denom,e)]);if(t.value.hasBarLine||r.setAttribute("linethickness","0px"),null!=t.value.leftDelim||null!=t.value.rightDelim){var n=[];if(null!=t.value.leftDelim){var i=new o.MathNode("mo",[new o.TextNode(t.value.leftDelim)]);i.setAttribute("fence","true"),n.push(i)}if(n.push(r),null!=t.value.rightDelim){var s=new o.MathNode("mo",[new o.TextNode(t.value.rightDelim)]);s.setAttribute("fence","true"),n.push(s)}return new o.MathNode("mrow",n)}return r},f.array=function(t,e){return new o.MathNode("mtable",t.value.body.map(function(t){return new o.MathNode("mtr",t.map(function(t){return new o.MathNode("mtd",[b(t,e)])}))}))},f.sqrt=function(t,e){return t.value.index?new o.MathNode("mroot",[b(t.value.body,e),b(t.value.index,e)]):new o.MathNode("msqrt",[b(t.value.body,e)])},f.leftright=function(t,e){var r=d(t.value.body,e);if("."!==t.value.left){var n=new o.MathNode("mo",[p(t.value.left,t.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if("."!==t.value.right){var i=new o.MathNode("mo",[p(t.value.right,t.mode)]);i.setAttribute("fence","true"),r.push(i)}return new o.MathNode("mrow",r)},f.middle=function(t,e){var r=new o.MathNode("mo",[p(t.value.middle,t.mode)]);return r.setAttribute("fence","true"),r},f.accent=function(t,e){var r=new o.MathNode("mo",[p(t.value.accent,t.mode)]),n=new o.MathNode("mover",[b(t.value.base,e),r]);return n.setAttribute("accent","true"),n},f.spacing=function(t){var e;return"\\ "===t.value||"\\space"===t.value||" "===t.value||"~"===t.value?e=new o.MathNode("mtext",[new o.TextNode(" ")]):(e=new o.MathNode("mspace"),e.setAttribute("width",n.spacingFunctions[t.value].size)),e},f.op=function(t,e){return t.value.symbol?new o.MathNode("mo",[p(t.value.body,t.mode)]):t.value.value?new o.MathNode("mo",d(t.value.value,e)):new o.MathNode("mi",[new o.TextNode(t.value.body.slice(1))])},f.mod=function(t,e){var r=[];if("pod"!==t.value.modType&&"pmod"!==t.value.modType||r.push(new o.MathNode("mo",[p("(",t.mode)])),"pod"!==t.value.modType&&r.push(new o.MathNode("mo",[p("mod",t.mode)])),t.value.value){var n=new o.MathNode("mspace");n.setAttribute("width","0.333333em"),r.push(n),r=r.concat(d(t.value.value,e))}return"pod"!==t.value.modType&&"pmod"!==t.value.modType||r.push(new o.MathNode("mo",[p(")",t.mode)])),new o.MathNode("mo",r)},f.katex=function(t){return new o.MathNode("mtext",[new o.TextNode("KaTeX")])},f.font=function(t,e){var r=t.value.font;return b(t.value.body,e.withFont(r))},f.delimsizing=function(t){var e=[];"."!==t.value.value&&e.push(p(t.value.value,t.mode));var r=new o.MathNode("mo",e);return"mopen"===t.value.mclass||"mclose"===t.value.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r},f.styling=function(t,e){var r=d(t.value.value,e),n=new o.MathNode("mstyle",r),i={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=i[t.value.style];return n.setAttribute("scriptlevel",s[0]),n.setAttribute("displaystyle",s[1]),n},f.sizing=function(t,e){var r=d(t.value.value,e),i=new o.MathNode("mstyle",r);return i.setAttribute("mathsize",n.sizingMultiplier[t.value.size]+"em"),i},f.overline=function(t,e){var r=new o.MathNode("mo",[new o.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new o.MathNode("mover",[b(t.value.body,e),r]);return n.setAttribute("accent","true"),n},f.underline=function(t,e){var r=new o.MathNode("mo",[new o.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new o.MathNode("munder",[b(t.value.body,e),r]);return n.setAttribute("accentunder","true"),n},f.rule=function(t){return new o.MathNode("mrow")},f.kern=function(t){return new o.MathNode("mrow")},f.llap=function(t,e){var r=new o.MathNode("mpadded",[b(t.value.body,e)]);return r.setAttribute("lspace","-1width"),r.setAttribute("width","0px"),r},f.rlap=function(t,e){var r=new o.MathNode("mpadded",[b(t.value.body,e)]);return r.setAttribute("width","0px"),r},f.phantom=function(t,e){var r=d(t.value.value,e);return new o.MathNode("mphantom",r)},f.mclass=function(t,e){var r=d(t.value.value,e);return new o.MathNode("mstyle",r)};var d=function(t,e){for(var r=[],n=0;n<t.length;n++){var i=t[n];r.push(b(i,e))}return r},b=function(t,e){if(!t)return new o.MathNode("mrow");if(f[t.type])return f[t.type](t,e);throw new s("Got group of unknown type: '"+t.type+"'")},m=function(t,e,r){var n=d(t,r),i=new o.MathNode("mrow",n),s=new o.MathNode("annotation",[new o.TextNode(e)]);s.setAttribute("encoding","application/x-tex");var a=new o.MathNode("semantics",[i,s]),u=new o.MathNode("math",[a]);return c(["katex-mathml"],[u])};e.exports=m},{"./ParseError":88,"./buildCommon":92,"./fontMetrics":99,"./mathMLTree":102,"./symbols":105,"./utils":107}],95:[function(t,e,r){var n=t("./buildHTML"),i=t("./buildMathML"),o=t("./buildCommon"),s=t("./Options"),a=t("./Settings"),u=t("./Style"),c=o.makeSpan,l=function(t,e,r){r=r||new a({});var o=u.TEXT;r.displayMode&&(o=u.DISPLAY);var l=new s({style:o,size:"size5"}),p=i(t,e,l),h=n(t,l),f=c(["katex"],[p,h]);return r.displayMode?c(["katex-display"],[f]):f};e.exports=l},{"./Options":87,"./Settings":90,"./Style":91,"./buildCommon":92,"./buildHTML":93,"./buildMathML":94}],96:[function(t,e,r){var n=t("./ParseError"),i=t("./Style"),o=t("./buildCommon"),s=t("./fontMetrics"),a=t("./symbols"),u=t("./utils"),c=o.makeSpan,l=function(t,e){return a.math[t]&&a.math[t].replace?s.getCharacterMetrics(a.math[t].replace,e):s.getCharacterMetrics(t,e)},p=function(t,e,r,n){return o.makeSymbol(t,"Size"+e+"-Regular",r,n)},h=function(t,e,r,n){n=n||[];var i=c(n.concat(["style-wrap",r.style.reset(),e.cls()]),[t],r),o=e.sizeMultiplier/r.style.sizeMultiplier;return i.height*=o,i.depth*=o,i.maxFontSize=e.sizeMultiplier,i},f=function(t,e,r,n,i,s){var a=o.makeSymbol(t,"Main-Regular",i,n),u=h(a,e,n,s);if(r){var c=(1-n.style.sizeMultiplier/e.sizeMultiplier)*n.style.metrics.axisHeight;u.style.top=c+"em",u.height-=c,u.depth+=c}return u},d=function(t,e,r,n,o,s){var a=p(t,e,o,n),u=h(c(["delimsizing","size"+e],[a],n),i.TEXT,n,s);if(r){var l=(1-n.style.sizeMultiplier)*n.style.metrics.axisHeight;u.style.top=l+"em",u.height-=l,u.depth+=l}return u},b=function(t,e,r){var n;return"Size1-Regular"===e?n="delim-size1":"Size4-Regular"===e&&(n="delim-size4"),{type:"elem",elem:c(["delimsizinginner",n],[c([],[o.makeSymbol(t,e,r)])])}},m=function(t,e,r,n,s,a){var u,p,f,d;u=f=d=t,p=null;var m="Size1-Regular";"\\uparrow"===t?f=d="⏐":"\\Uparrow"===t?f=d="‖":"\\downarrow"===t?u=f="⏐":"\\Downarrow"===t?u=f="‖":"\\updownarrow"===t?(u="\\uparrow",f="⏐",d="\\downarrow"):"\\Updownarrow"===t?(u="\\Uparrow",f="‖",d="\\Downarrow"):"["===t||"\\lbrack"===t?(u="⎡",f="⎢",d="⎣",m="Size4-Regular"):"]"===t||"\\rbrack"===t?(u="⎤",f="⎥",d="⎦",m="Size4-Regular"):"\\lfloor"===t?(f=u="⎢",d="⎣",m="Size4-Regular"):"\\lceil"===t?(u="⎡",f=d="⎢",m="Size4-Regular"):"\\rfloor"===t?(f=u="⎥",d="⎦",m="Size4-Regular"):"\\rceil"===t?(u="⎤",f=d="⎥",m="Size4-Regular"):"("===t?(u="⎛",f="⎜",d="⎝",m="Size4-Regular"):")"===t?(u="⎞",f="⎟",d="⎠",m="Size4-Regular"):"\\{"===t||"\\lbrace"===t?(u="⎧",p="⎨",d="⎩",f="⎪",m="Size4-Regular"):"\\}"===t||"\\rbrace"===t?(u="⎫",p="⎬",d="⎭",f="⎪",m="Size4-Regular"):"\\lgroup"===t?(u="⎧",d="⎩",f="⎪",m="Size4-Regular"):"\\rgroup"===t?(u="⎫",d="⎭",f="⎪",m="Size4-Regular"):"\\lmoustache"===t?(u="⎧",d="⎭",f="⎪",m="Size4-Regular"):"\\rmoustache"===t?(u="⎫",d="⎩",f="⎪",m="Size4-Regular"):"\\surd"===t&&(u="",d="⎷",f="",m="Size4-Regular");var y=l(u,m),v=y.height+y.depth,g=l(f,m),w=g.height+g.depth,_=l(d,m),x=_.height+_.depth,S=0,O=1;if(null!==p){var j=l(p,m);S=j.height+j.depth,O=2}var k=v+x+S,T=Math.ceil((e-k)/(O*w)),E=k+T*O*w,A=n.style.metrics.axisHeight;r&&(A*=n.style.sizeMultiplier);var M=E/2-A,P=[];P.push(b(d,m,s));var C;if(null===p)for(C=0;C<T;C++)P.push(b(f,m,s));else{for(C=0;C<T;C++)P.push(b(f,m,s));for(P.push(b(p,m,s)),C=0;C<T;C++)P.push(b(f,m,s))}P.push(b(u,m,s));var N=o.makeVList(P,"bottom",M,n);return h(c(["delimsizing","mult"],[N],n),i.TEXT,n,a)},y=["(",")","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\\lceil","\\rceil","\\surd"],v=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\\lmoustache","\\rmoustache"],g=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],w=[0,1.2,1.8,2.4,3],_=function(t,e,r,i,o){if("<"===t||"\\lt"===t?t="\\langle":">"!==t&&"\\gt"!==t||(t="\\rangle"),u.contains(y,t)||u.contains(g,t))return d(t,e,!1,r,i,o);if(u.contains(v,t))return m(t,w[e],!1,r,i,o);throw new n("Illegal delimiter: '"+t+"'")},x=[{type:"small",style:i.SCRIPTSCRIPT},{type:"small",style:i.SCRIPT},{type:"small",style:i.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],S=[{type:"small",style:i.SCRIPTSCRIPT},{type:"small",style:i.SCRIPT},{type:"small",style:i.TEXT},{type:"stack"}],O=[{type:"small",style:i.SCRIPTSCRIPT},{type:"small",style:i.SCRIPT},{type:"small",style:i.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],j=function(t){return"small"===t.type?"Main-Regular":"large"===t.type?"Size"+t.size+"-Regular":"stack"===t.type?"Size4-Regular":void 0},k=function(t,e,r,n){for(var i=Math.min(2,3-n.style.size),o=i;o<r.length&&"stack"!==r[o].type;o++){var s=l(t,j(r[o])),a=s.height+s.depth;if("small"===r[o].type&&(a*=r[o].style.sizeMultiplier),a>e)return r[o]}return r[r.length-1]},T=function(t,e,r,n,i,o){"<"===t||"\\lt"===t?t="\\langle":">"!==t&&"\\gt"!==t||(t="\\rangle");var s;s=u.contains(g,t)?x:u.contains(y,t)?O:S;var a=k(t,e,s,n);return"small"===a.type?f(t,a.style,r,n,i,o):"large"===a.type?d(t,a.size,r,n,i,o):"stack"===a.type?m(t,e,r,n,i,o):void 0},E=function(t,e,r,n,i,o){var a=n.style.metrics.axisHeight*n.style.sizeMultiplier,u=5/s.metrics.ptPerEm,c=Math.max(e-a,r+a),l=Math.max(c/500*901,2*c-u);return T(t,l,!0,n,i,o)};e.exports={sizedDelim:_,customSizedDelim:T,leftRightDelim:E}},{"./ParseError":88,"./Style":91,"./buildCommon":92,"./fontMetrics":99,"./symbols":105,"./utils":107}],97:[function(t,e,r){function n(t,e,r){this.classes=t||[],this.children=e||[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={},this.attributes={},r&&(r.style.isTight()&&this.classes.push("mtight"),r.getColor()&&(this.style.color=r.getColor()))}function i(t){this.children=t||[],this.height=0,this.depth=0,this.maxFontSize=0}function o(t,e,r,n,i,o,a){this.value=t||"",this.height=e||0,this.depth=r||0,this.italic=n||0,this.skew=i||0,this.classes=o||[],this.style=a||{},this.maxFontSize=0,s.cjkRegex.test(t)&&(s.hangulRegex.test(t)?this.classes.push("hangul_fallback"):this.classes.push("cjk_fallback")),/[îïíì]/.test(this.value)&&(this.value=c[this.value])}var s=t("./unicodeRegexes"),a=t("./utils"),u=function(t){t=t.slice();for(var e=t.length-1;e>=0;e--)t[e]||t.splice(e,1);return t.join(" ")};n.prototype.setAttribute=function(t,e){this.attributes[t]=e},n.prototype.tryCombine=function(t){return!1},n.prototype.toNode=function(){var t=document.createElement("span");t.className=u(this.classes);for(var e in this.style)Object.prototype.hasOwnProperty.call(this.style,e)&&(t.style[e]=this.style[e]);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);for(var n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t},n.prototype.toMarkup=function(){var t="<span";this.classes.length&&(t+=' class="',t+=a.escape(u(this.classes)),t+='"');var e="";for(var r in this.style)this.style.hasOwnProperty(r)&&(e+=a.hyphenate(r)+":"+this.style[r]+";");e&&(t+=' style="'+a.escape(e)+'"');for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="',t+=a.escape(this.attributes[n]),t+='"');t+=">";for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+="</span>"},i.prototype.toNode=function(){for(var t=document.createDocumentFragment(),e=0;e<this.children.length;e++)t.appendChild(this.children[e].toNode());return t},i.prototype.toMarkup=function(){for(var t="",e=0;e<this.children.length;e++)t+=this.children[e].toMarkup();return t};var c={"î":"ı̂","ï":"ı̈","í":"ı́","ì":"ı̀"};o.prototype.tryCombine=function(t){if(!t||!(t instanceof o)||this.italic>0||u(this.classes)!==u(t.classes)||this.skew!==t.skew||this.maxFontSize!==t.maxFontSize)return!1;for(var e in this.style)if(this.style.hasOwnProperty(e)&&this.style[e]!==t.style[e])return!1;for(e in t.style)if(t.style.hasOwnProperty(e)&&this.style[e]!==t.style[e])return!1;return this.value+=t.value,this.height=Math.max(this.height,t.height),this.depth=Math.max(this.depth,t.depth),this.italic=t.italic,!0},o.prototype.toNode=function(){var t=document.createTextNode(this.value),e=null;this.italic>0&&(e=document.createElement("span"),e.style.marginRight=this.italic+"em"),this.classes.length>0&&(e=e||document.createElement("span"),e.className=u(this.classes));for(var r in this.style)this.style.hasOwnProperty(r)&&(e=e||document.createElement("span"),e.style[r]=this.style[r]);return e?(e.appendChild(t),e):t},o.prototype.toMarkup=function(){var t=!1,e="<span";this.classes.length&&(t=!0,
|
19
|
-
e+=' class="',e+=a.escape(u(this.classes)),e+='"');var r="";this.italic>0&&(r+="margin-right:"+this.italic+"em;");for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=a.hyphenate(n)+":"+this.style[n]+";");r&&(t=!0,e+=' style="'+a.escape(r)+'"');var i=a.escape(this.value);return t?(e+=">",e+=i,e+="</span>"):i},e.exports={span:n,documentFragment:i,symbolNode:o}},{"./unicodeRegexes":106,"./utils":107}],98:[function(t,e,r){function n(t,e){for(var r=[],n=[r],i=[];;){var o=t.parseExpression(!1,null);r.push(new u("ordgroup",o,t.mode));var a=t.nextToken.text;if("&"===a)t.consume();else{if("\\end"===a)break;if("\\\\"!==a&&"\\cr"!==a)throw new s("Expected & or \\\\ or \\end",t.nextToken);var c=t.parseFunction();i.push(c.value.size),r=[],n.push(r)}}return e.body=n,e.rowGaps=i,new u(e.type,e,t.mode)}function i(t,r,n){"string"==typeof t&&(t=[t]),"number"==typeof r&&(r={numArgs:r});for(var i={numArgs:r.numArgs||0,argTypes:r.argTypes,greediness:1,allowedInText:!!r.allowedInText,numOptionalArgs:r.numOptionalArgs||0,handler:n},o=0;o<t.length;++o)e.exports[t[o]]=i}var o=t("./parseData"),s=t("./ParseError"),a=t("./Style"),u=o.ParseNode;i("array",{numArgs:1},function(t,e){var r=e[0];r=r.value.map?r.value:[r];var i=r.map(function(t){var e=t.value;if(-1!=="lcr".indexOf(e))return{type:"align",align:e};if("|"===e)return{type:"separator",separator:"|"};throw new s("Unknown column alignment: "+t.value,t)}),o={type:"array",cols:i,hskipBeforeAndAfter:!0};return o=n(t.parser,o)}),i(["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],{},function(t){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName],r={type:"array",hskipBeforeAndAfter:!1};return r=n(t.parser,r),e&&(r=new u("leftright",{body:[r],left:e[0],right:e[1]},t.mode)),r}),i("cases",{},function(t){var e={type:"array",arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:a.TEXT.metrics.quad},{type:"align",align:"l",pregap:0,postgap:0}]};return e=n(t.parser,e),e=new u("leftright",{body:[e],left:"\\{",right:"."},t.mode)}),i("aligned",{},function(t){var e={type:"array",cols:[]};e=n(t.parser,e);var r=new u("ordgroup",[],t.mode),i=0;e.value.body.forEach(function(t){var e;for(e=1;e<t.length;e+=2)t[e].value.unshift(r);i<t.length&&(i=t.length)});for(var o=0;o<i;++o){var s="r",a=0;o%2==1?s="l":o>0&&(a=2),e.value.cols[o]={type:"align",align:s,pregap:a,postgap:0}}return e})},{"./ParseError":88,"./Style":91,"./parseData":103}],99:[function(t,e,r){var n=(t("./Style"),t("./unicodeRegexes").cjkRegex),i={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25]},o={defaultRuleThickness:.04,bigOpSpacing1:.111,bigOpSpacing2:.166,bigOpSpacing3:.2,bigOpSpacing4:.6,bigOpSpacing5:.1,ptPerEm:10,doubleRuleSep:.2},s=t("./fontMetricsData"),a={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"A","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"o","ß":"B","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"a","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"o","ÿ":"y","А":"A","Б":"B","В":"B","Г":"F","Д":"A","Е":"E","Ж":"K","З":"3","И":"N","Й":"N","К":"K","Л":"N","М":"M","Н":"H","О":"O","П":"N","Р":"P","С":"C","Т":"T","У":"y","Ф":"O","Х":"X","Ц":"U","Ч":"h","Ш":"W","Щ":"W","Ъ":"B","Ы":"X","Ь":"B","Э":"3","Ю":"X","Я":"R","а":"a","б":"b","в":"a","г":"r","д":"y","е":"e","ж":"m","з":"e","и":"n","й":"n","к":"n","л":"n","м":"m","н":"n","о":"o","п":"n","р":"p","с":"c","т":"o","у":"y","ф":"b","х":"x","ц":"n","ч":"n","ш":"w","щ":"w","ъ":"a","ы":"m","ь":"a","э":"e","ю":"m","я":"r"},u=function(t,e){var r=t.charCodeAt(0);t[0]in a?r=a[t[0]].charCodeAt(0):n.test(t[0])&&(r="M".charCodeAt(0));var i=s[e][r];if(i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}};e.exports={metrics:o,sigmas:i,getCharacterMetrics:u}},{"./Style":91,"./fontMetricsData":100,"./unicodeRegexes":106}],100:[function(t,e,r){e.exports={"AMS-Regular":{65:[0,.68889,0,0],66:[0,.68889,0,0],67:[0,.68889,0,0],68:[0,.68889,0,0],69:[0,.68889,0,0],70:[0,.68889,0,0],71:[0,.68889,0,0],72:[0,.68889,0,0],73:[0,.68889,0,0],74:[.16667,.68889,0,0],75:[0,.68889,0,0],76:[0,.68889,0,0],77:[0,.68889,0,0],78:[0,.68889,0,0],79:[.16667,.68889,0,0],80:[0,.68889,0,0],81:[.16667,.68889,0,0],82:[0,.68889,0,0],83:[0,.68889,0,0],84:[0,.68889,0,0],85:[0,.68889,0,0],86:[0,.68889,0,0],87:[0,.68889,0,0],88:[0,.68889,0,0],89:[0,.68889,0,0],90:[0,.68889,0,0],107:[0,.68889,0,0],165:[0,.675,.025,0],174:[.15559,.69224,0,0],240:[0,.68889,0,0],295:[0,.68889,0,0],710:[0,.825,0,0],732:[0,.9,0,0],770:[0,.825,0,0],771:[0,.9,0,0],989:[.08167,.58167,0,0],1008:[0,.43056,.04028,0],8245:[0,.54986,0,0],8463:[0,.68889,0,0],8487:[0,.68889,0,0],8498:[0,.68889,0,0],8502:[0,.68889,0,0],8503:[0,.68889,0,0],8504:[0,.68889,0,0],8513:[0,.68889,0,0],8592:[-.03598,.46402,0,0],8594:[-.03598,.46402,0,0],8602:[-.13313,.36687,0,0],8603:[-.13313,.36687,0,0],8606:[.01354,.52239,0,0],8608:[.01354,.52239,0,0],8610:[.01354,.52239,0,0],8611:[.01354,.52239,0,0],8619:[0,.54986,0,0],8620:[0,.54986,0,0],8621:[-.13313,.37788,0,0],8622:[-.13313,.36687,0,0],8624:[0,.69224,0,0],8625:[0,.69224,0,0],8630:[0,.43056,0,0],8631:[0,.43056,0,0],8634:[.08198,.58198,0,0],8635:[.08198,.58198,0,0],8638:[.19444,.69224,0,0],8639:[.19444,.69224,0,0],8642:[.19444,.69224,0,0],8643:[.19444,.69224,0,0],8644:[.1808,.675,0,0],8646:[.1808,.675,0,0],8647:[.1808,.675,0,0],8648:[.19444,.69224,0,0],8649:[.1808,.675,0,0],8650:[.19444,.69224,0,0],8651:[.01354,.52239,0,0],8652:[.01354,.52239,0,0],8653:[-.13313,.36687,0,0],8654:[-.13313,.36687,0,0],8655:[-.13313,.36687,0,0],8666:[.13667,.63667,0,0],8667:[.13667,.63667,0,0],8669:[-.13313,.37788,0,0],8672:[-.064,.437,0,0],8674:[-.064,.437,0,0],8705:[0,.825,0,0],8708:[0,.68889,0,0],8709:[.08167,.58167,0,0],8717:[0,.43056,0,0],8722:[-.03598,.46402,0,0],8724:[.08198,.69224,0,0],8726:[.08167,.58167,0,0],8733:[0,.69224,0,0],8736:[0,.69224,0,0],8737:[0,.69224,0,0],8738:[.03517,.52239,0,0],8739:[.08167,.58167,0,0],8740:[.25142,.74111,0,0],8741:[.08167,.58167,0,0],8742:[.25142,.74111,0,0],8756:[0,.69224,0,0],8757:[0,.69224,0,0],8764:[-.13313,.36687,0,0],8765:[-.13313,.37788,0,0],8769:[-.13313,.36687,0,0],8770:[-.03625,.46375,0,0],8774:[.30274,.79383,0,0],8776:[-.01688,.48312,0,0],8778:[.08167,.58167,0,0],8782:[.06062,.54986,0,0],8783:[.06062,.54986,0,0],8785:[.08198,.58198,0,0],8786:[.08198,.58198,0,0],8787:[.08198,.58198,0,0],8790:[0,.69224,0,0],8791:[.22958,.72958,0,0],8796:[.08198,.91667,0,0],8806:[.25583,.75583,0,0],8807:[.25583,.75583,0,0],8808:[.25142,.75726,0,0],8809:[.25142,.75726,0,0],8812:[.25583,.75583,0,0],8814:[.20576,.70576,0,0],8815:[.20576,.70576,0,0],8816:[.30274,.79383,0,0],8817:[.30274,.79383,0,0],8818:[.22958,.72958,0,0],8819:[.22958,.72958,0,0],8822:[.1808,.675,0,0],8823:[.1808,.675,0,0],8828:[.13667,.63667,0,0],8829:[.13667,.63667,0,0],8830:[.22958,.72958,0,0],8831:[.22958,.72958,0,0],8832:[.20576,.70576,0,0],8833:[.20576,.70576,0,0],8840:[.30274,.79383,0,0],8841:[.30274,.79383,0,0],8842:[.13597,.63597,0,0],8843:[.13597,.63597,0,0],8847:[.03517,.54986,0,0],8848:[.03517,.54986,0,0],8858:[.08198,.58198,0,0],8859:[.08198,.58198,0,0],8861:[.08198,.58198,0,0],8862:[0,.675,0,0],8863:[0,.675,0,0],8864:[0,.675,0,0],8865:[0,.675,0,0],8872:[0,.69224,0,0],8873:[0,.69224,0,0],8874:[0,.69224,0,0],8876:[0,.68889,0,0],8877:[0,.68889,0,0],8878:[0,.68889,0,0],8879:[0,.68889,0,0],8882:[.03517,.54986,0,0],8883:[.03517,.54986,0,0],8884:[.13667,.63667,0,0],8885:[.13667,.63667,0,0],8888:[0,.54986,0,0],8890:[.19444,.43056,0,0],8891:[.19444,.69224,0,0],8892:[.19444,.69224,0,0],8901:[0,.54986,0,0],8903:[.08167,.58167,0,0],8905:[.08167,.58167,0,0],8906:[.08167,.58167,0,0],8907:[0,.69224,0,0],8908:[0,.69224,0,0],8909:[-.03598,.46402,0,0],8910:[0,.54986,0,0],8911:[0,.54986,0,0],8912:[.03517,.54986,0,0],8913:[.03517,.54986,0,0],8914:[0,.54986,0,0],8915:[0,.54986,0,0],8916:[0,.69224,0,0],8918:[.0391,.5391,0,0],8919:[.0391,.5391,0,0],8920:[.03517,.54986,0,0],8921:[.03517,.54986,0,0],8922:[.38569,.88569,0,0],8923:[.38569,.88569,0,0],8926:[.13667,.63667,0,0],8927:[.13667,.63667,0,0],8928:[.30274,.79383,0,0],8929:[.30274,.79383,0,0],8934:[.23222,.74111,0,0],8935:[.23222,.74111,0,0],8936:[.23222,.74111,0,0],8937:[.23222,.74111,0,0],8938:[.20576,.70576,0,0],8939:[.20576,.70576,0,0],8940:[.30274,.79383,0,0],8941:[.30274,.79383,0,0],8994:[.19444,.69224,0,0],8995:[.19444,.69224,0,0],9416:[.15559,.69224,0,0],9484:[0,.69224,0,0],9488:[0,.69224,0,0],9492:[0,.37788,0,0],9496:[0,.37788,0,0],9585:[.19444,.68889,0,0],9586:[.19444,.74111,0,0],9632:[0,.675,0,0],9633:[0,.675,0,0],9650:[0,.54986,0,0],9651:[0,.54986,0,0],9654:[.03517,.54986,0,0],9660:[0,.54986,0,0],9661:[0,.54986,0,0],9664:[.03517,.54986,0,0],9674:[.11111,.69224,0,0],9733:[.19444,.69224,0,0],10003:[0,.69224,0,0],10016:[0,.69224,0,0],10731:[.11111,.69224,0,0],10846:[.19444,.75583,0,0],10877:[.13667,.63667,0,0],10878:[.13667,.63667,0,0],10885:[.25583,.75583,0,0],10886:[.25583,.75583,0,0],10887:[.13597,.63597,0,0],10888:[.13597,.63597,0,0],10889:[.26167,.75726,0,0],10890:[.26167,.75726,0,0],10891:[.48256,.98256,0,0],10892:[.48256,.98256,0,0],10901:[.13667,.63667,0,0],10902:[.13667,.63667,0,0],10933:[.25142,.75726,0,0],10934:[.25142,.75726,0,0],10935:[.26167,.75726,0,0],10936:[.26167,.75726,0,0],10937:[.26167,.75726,0,0],10938:[.26167,.75726,0,0],10949:[.25583,.75583,0,0],10950:[.25583,.75583,0,0],10955:[.28481,.79383,0,0],10956:[.28481,.79383,0,0],57350:[.08167,.58167,0,0],57351:[.08167,.58167,0,0],57352:[.08167,.58167,0,0],57353:[0,.43056,.04028,0],57356:[.25142,.75726,0,0],57357:[.25142,.75726,0,0],57358:[.41951,.91951,0,0],57359:[.30274,.79383,0,0],57360:[.30274,.79383,0,0],57361:[.41951,.91951,0,0],57366:[.25142,.75726,0,0],57367:[.25142,.75726,0,0],57368:[.25142,.75726,0,0],57369:[.25142,.75726,0,0],57370:[.13597,.63597,0,0],57371:[.13597,.63597,0,0]},"Caligraphic-Regular":{48:[0,.43056,0,0],49:[0,.43056,0,0],50:[0,.43056,0,0],51:[.19444,.43056,0,0],52:[.19444,.43056,0,0],53:[.19444,.43056,0,0],54:[0,.64444,0,0],55:[.19444,.43056,0,0],56:[0,.64444,0,0],57:[.19444,.43056,0,0],65:[0,.68333,0,.19445],66:[0,.68333,.03041,.13889],67:[0,.68333,.05834,.13889],68:[0,.68333,.02778,.08334],69:[0,.68333,.08944,.11111],70:[0,.68333,.09931,.11111],71:[.09722,.68333,.0593,.11111],72:[0,.68333,.00965,.11111],73:[0,.68333,.07382,0],74:[.09722,.68333,.18472,.16667],75:[0,.68333,.01445,.05556],76:[0,.68333,0,.13889],77:[0,.68333,0,.13889],78:[0,.68333,.14736,.08334],79:[0,.68333,.02778,.11111],80:[0,.68333,.08222,.08334],81:[.09722,.68333,0,.11111],82:[0,.68333,0,.08334],83:[0,.68333,.075,.13889],84:[0,.68333,.25417,0],85:[0,.68333,.09931,.08334],86:[0,.68333,.08222,0],87:[0,.68333,.08222,.08334],88:[0,.68333,.14643,.13889],89:[.09722,.68333,.08222,.08334],90:[0,.68333,.07944,.13889]},"Fraktur-Regular":{33:[0,.69141,0,0],34:[0,.69141,0,0],38:[0,.69141,0,0],39:[0,.69141,0,0],40:[.24982,.74947,0,0],41:[.24982,.74947,0,0],42:[0,.62119,0,0],43:[.08319,.58283,0,0],44:[0,.10803,0,0],45:[.08319,.58283,0,0],46:[0,.10803,0,0],47:[.24982,.74947,0,0],48:[0,.47534,0,0],49:[0,.47534,0,0],50:[0,.47534,0,0],51:[.18906,.47534,0,0],52:[.18906,.47534,0,0],53:[.18906,.47534,0,0],54:[0,.69141,0,0],55:[.18906,.47534,0,0],56:[0,.69141,0,0],57:[.18906,.47534,0,0],58:[0,.47534,0,0],59:[.12604,.47534,0,0],61:[-.13099,.36866,0,0],63:[0,.69141,0,0],65:[0,.69141,0,0],66:[0,.69141,0,0],67:[0,.69141,0,0],68:[0,.69141,0,0],69:[0,.69141,0,0],70:[.12604,.69141,0,0],71:[0,.69141,0,0],72:[.06302,.69141,0,0],73:[0,.69141,0,0],74:[.12604,.69141,0,0],75:[0,.69141,0,0],76:[0,.69141,0,0],77:[0,.69141,0,0],78:[0,.69141,0,0],79:[0,.69141,0,0],80:[.18906,.69141,0,0],81:[.03781,.69141,0,0],82:[0,.69141,0,0],83:[0,.69141,0,0],84:[0,.69141,0,0],85:[0,.69141,0,0],86:[0,.69141,0,0],87:[0,.69141,0,0],88:[0,.69141,0,0],89:[.18906,.69141,0,0],90:[.12604,.69141,0,0],91:[.24982,.74947,0,0],93:[.24982,.74947,0,0],94:[0,.69141,0,0],97:[0,.47534,0,0],98:[0,.69141,0,0],99:[0,.47534,0,0],100:[0,.62119,0,0],101:[0,.47534,0,0],102:[.18906,.69141,0,0],103:[.18906,.47534,0,0],104:[.18906,.69141,0,0],105:[0,.69141,0,0],106:[0,.69141,0,0],107:[0,.69141,0,0],108:[0,.69141,0,0],109:[0,.47534,0,0],110:[0,.47534,0,0],111:[0,.47534,0,0],112:[.18906,.52396,0,0],113:[.18906,.47534,0,0],114:[0,.47534,0,0],115:[0,.47534,0,0],116:[0,.62119,0,0],117:[0,.47534,0,0],118:[0,.52396,0,0],119:[0,.52396,0,0],120:[.18906,.47534,0,0],121:[.18906,.47534,0,0],122:[.18906,.47534,0,0],8216:[0,.69141,0,0],8217:[0,.69141,0,0],58112:[0,.62119,0,0],58113:[0,.62119,0,0],58114:[.18906,.69141,0,0],58115:[.18906,.69141,0,0],58116:[.18906,.47534,0,0],58117:[0,.69141,0,0],58118:[0,.62119,0,0],58119:[0,.47534,0,0]},"Main-Bold":{33:[0,.69444,0,0],34:[0,.69444,0,0],35:[.19444,.69444,0,0],36:[.05556,.75,0,0],37:[.05556,.75,0,0],38:[0,.69444,0,0],39:[0,.69444,0,0],40:[.25,.75,0,0],41:[.25,.75,0,0],42:[0,.75,0,0],43:[.13333,.63333,0,0],44:[.19444,.15556,0,0],45:[0,.44444,0,0],46:[0,.15556,0,0],47:[.25,.75,0,0],48:[0,.64444,0,0],49:[0,.64444,0,0],50:[0,.64444,0,0],51:[0,.64444,0,0],52:[0,.64444,0,0],53:[0,.64444,0,0],54:[0,.64444,0,0],55:[0,.64444,0,0],56:[0,.64444,0,0],57:[0,.64444,0,0],58:[0,.44444,0,0],59:[.19444,.44444,0,0],60:[.08556,.58556,0,0],61:[-.10889,.39111,0,0],62:[.08556,.58556,0,0],63:[0,.69444,0,0],64:[0,.69444,0,0],65:[0,.68611,0,0],66:[0,.68611,0,0],67:[0,.68611,0,0],68:[0,.68611,0,0],69:[0,.68611,0,0],70:[0,.68611,0,0],71:[0,.68611,0,0],72:[0,.68611,0,0],73:[0,.68611,0,0],74:[0,.68611,0,0],75:[0,.68611,0,0],76:[0,.68611,0,0],77:[0,.68611,0,0],78:[0,.68611,0,0],79:[0,.68611,0,0],80:[0,.68611,0,0],81:[.19444,.68611,0,0],82:[0,.68611,0,0],83:[0,.68611,0,0],84:[0,.68611,0,0],85:[0,.68611,0,0],86:[0,.68611,.01597,0],87:[0,.68611,.01597,0],88:[0,.68611,0,0],89:[0,.68611,.02875,0],90:[0,.68611,0,0],91:[.25,.75,0,0],92:[.25,.75,0,0],93:[.25,.75,0,0],94:[0,.69444,0,0],95:[.31,.13444,.03194,0],96:[0,.69444,0,0],97:[0,.44444,0,0],98:[0,.69444,0,0],99:[0,.44444,0,0],100:[0,.69444,0,0],101:[0,.44444,0,0],102:[0,.69444,.10903,0],103:[.19444,.44444,.01597,0],104:[0,.69444,0,0],105:[0,.69444,0,0],106:[.19444,.69444,0,0],107:[0,.69444,0,0],108:[0,.69444,0,0],109:[0,.44444,0,0],110:[0,.44444,0,0],111:[0,.44444,0,0],112:[.19444,.44444,0,0],113:[.19444,.44444,0,0],114:[0,.44444,0,0],115:[0,.44444,0,0],116:[0,.63492,0,0],117:[0,.44444,0,0],118:[0,.44444,.01597,0],119:[0,.44444,.01597,0],120:[0,.44444,0,0],121:[.19444,.44444,.01597,0],122:[0,.44444,0,0],123:[.25,.75,0,0],124:[.25,.75,0,0],125:[.25,.75,0,0],126:[.35,.34444,0,0],168:[0,.69444,0,0],172:[0,.44444,0,0],175:[0,.59611,0,0],176:[0,.69444,0,0],177:[.13333,.63333,0,0],180:[0,.69444,0,0],215:[.13333,.63333,0,0],247:[.13333,.63333,0,0],305:[0,.44444,0,0],567:[.19444,.44444,0,0],710:[0,.69444,0,0],711:[0,.63194,0,0],713:[0,.59611,0,0],714:[0,.69444,0,0],715:[0,.69444,0,0],728:[0,.69444,0,0],729:[0,.69444,0,0],730:[0,.69444,0,0],732:[0,.69444,0,0],768:[0,.69444,0,0],769:[0,.69444,0,0],770:[0,.69444,0,0],771:[0,.69444,0,0],772:[0,.59611,0,0],774:[0,.69444,0,0],775:[0,.69444,0,0],776:[0,.69444,0,0],778:[0,.69444,0,0],779:[0,.69444,0,0],780:[0,.63194,0,0],824:[.19444,.69444,0,0],915:[0,.68611,0,0],916:[0,.68611,0,0],920:[0,.68611,0,0],923:[0,.68611,0,0],926:[0,.68611,0,0],928:[0,.68611,0,0],931:[0,.68611,0,0],933:[0,.68611,0,0],934:[0,.68611,0,0],936:[0,.68611,0,0],937:[0,.68611,0,0],8211:[0,.44444,.03194,0],8212:[0,.44444,.03194,0],8216:[0,.69444,0,0],8217:[0,.69444,0,0],8220:[0,.69444,0,0],8221:[0,.69444,0,0],8224:[.19444,.69444,0,0],8225:[.19444,.69444,0,0],8242:[0,.55556,0,0],8407:[0,.72444,.15486,0],8463:[0,.69444,0,0],8465:[0,.69444,0,0],8467:[0,.69444,0,0],8472:[.19444,.44444,0,0],8476:[0,.69444,0,0],8501:[0,.69444,0,0],8592:[-.10889,.39111,0,0],8593:[.19444,.69444,0,0],8594:[-.10889,.39111,0,0],8595:[.19444,.69444,0,0],8596:[-.10889,.39111,0,0],8597:[.25,.75,0,0],8598:[.19444,.69444,0,0],8599:[.19444,.69444,0,0],8600:[.19444,.69444,0,0],8601:[.19444,.69444,0,0],8636:[-.10889,.39111,0,0],8637:[-.10889,.39111,0,0],8640:[-.10889,.39111,0,0],8641:[-.10889,.39111,0,0],8656:[-.10889,.39111,0,0],8657:[.19444,.69444,0,0],8658:[-.10889,.39111,0,0],8659:[.19444,.69444,0,0],8660:[-.10889,.39111,0,0],8661:[.25,.75,0,0],8704:[0,.69444,0,0],8706:[0,.69444,.06389,0],8707:[0,.69444,0,0],8709:[.05556,.75,0,0],8711:[0,.68611,0,0],8712:[.08556,.58556,0,0],8715:[.08556,.58556,0,0],8722:[.13333,.63333,0,0],8723:[.13333,.63333,0,0],8725:[.25,.75,0,0],8726:[.25,.75,0,0],8727:[-.02778,.47222,0,0],8728:[-.02639,.47361,0,0],8729:[-.02639,.47361,0,0],8730:[.18,.82,0,0],8733:[0,.44444,0,0],8734:[0,.44444,0,0],8736:[0,.69224,0,0],8739:[.25,.75,0,0],8741:[.25,.75,0,0],8743:[0,.55556,0,0],8744:[0,.55556,0,0],8745:[0,.55556,0,0],8746:[0,.55556,0,0],8747:[.19444,.69444,.12778,0],8764:[-.10889,.39111,0,0],8768:[.19444,.69444,0,0],8771:[.00222,.50222,0,0],8776:[.02444,.52444,0,0],8781:[.00222,.50222,0,0],8801:[.00222,.50222,0,0],8804:[.19667,.69667,0,0],8805:[.19667,.69667,0,0],8810:[.08556,.58556,0,0],8811:[.08556,.58556,0,0],8826:[.08556,.58556,0,0],8827:[.08556,.58556,0,0],8834:[.08556,.58556,0,0],8835:[.08556,.58556,0,0],8838:[.19667,.69667,0,0],8839:[.19667,.69667,0,0],8846:[0,.55556,0,0],8849:[.19667,.69667,0,0],8850:[.19667,.69667,0,0],8851:[0,.55556,0,0],8852:[0,.55556,0,0],8853:[.13333,.63333,0,0],8854:[.13333,.63333,0,0],8855:[.13333,.63333,0,0],8856:[.13333,.63333,0,0],8857:[.13333,.63333,0,0],8866:[0,.69444,0,0],8867:[0,.69444,0,0],8868:[0,.69444,0,0],8869:[0,.69444,0,0],8900:[-.02639,.47361,0,0],8901:[-.02639,.47361,0,0],8902:[-.02778,.47222,0,0],8968:[.25,.75,0,0],8969:[.25,.75,0,0],8970:[.25,.75,0,0],8971:[.25,.75,0,0],8994:[-.13889,.36111,0,0],8995:[-.13889,.36111,0,0],9651:[.19444,.69444,0,0],9657:[-.02778,.47222,0,0],9661:[.19444,.69444,0,0],9667:[-.02778,.47222,0,0],9711:[.19444,.69444,0,0],9824:[.12963,.69444,0,0],9825:[.12963,.69444,0,0],9826:[.12963,.69444,0,0],9827:[.12963,.69444,0,0],9837:[0,.75,0,0],9838:[.19444,.69444,0,0],9839:[.19444,.69444,0,0],10216:[.25,.75,0,0],10217:[.25,.75,0,0],10815:[0,.68611,0,0],10927:[.19667,.69667,0,0],10928:[.19667,.69667,0,0]},"Main-Italic":{33:[0,.69444,.12417,0],34:[0,.69444,.06961,0],35:[.19444,.69444,.06616,0],37:[.05556,.75,.13639,0],38:[0,.69444,.09694,0],39:[0,.69444,.12417,0],40:[.25,.75,.16194,0],41:[.25,.75,.03694,0],42:[0,.75,.14917,0],43:[.05667,.56167,.03694,0],44:[.19444,.10556,0,0],45:[0,.43056,.02826,0],46:[0,.10556,0,0],47:[.25,.75,.16194,0],48:[0,.64444,.13556,0],49:[0,.64444,.13556,0],50:[0,.64444,.13556,0],51:[0,.64444,.13556,0],52:[.19444,.64444,.13556,0],53:[0,.64444,.13556,0],54:[0,.64444,.13556,0],55:[.19444,.64444,.13556,0],56:[0,.64444,.13556,0],57:[0,.64444,.13556,0],58:[0,.43056,.0582,0],59:[.19444,.43056,.0582,0],61:[-.13313,.36687,.06616,0],63:[0,.69444,.1225,0],64:[0,.69444,.09597,0],65:[0,.68333,0,0],66:[0,.68333,.10257,0],67:[0,.68333,.14528,0],68:[0,.68333,.09403,0],69:[0,.68333,.12028,0],70:[0,.68333,.13305,0],71:[0,.68333,.08722,0],72:[0,.68333,.16389,0],73:[0,.68333,.15806,0],74:[0,.68333,.14028,0],75:[0,.68333,.14528,0],76:[0,.68333,0,0],77:[0,.68333,.16389,0],78:[0,.68333,.16389,0],79:[0,.68333,.09403,0],80:[0,.68333,.10257,0],81:[.19444,.68333,.09403,0],82:[0,.68333,.03868,0],83:[0,.68333,.11972,0],84:[0,.68333,.13305,0],85:[0,.68333,.16389,0],86:[0,.68333,.18361,0],87:[0,.68333,.18361,0],88:[0,.68333,.15806,0],89:[0,.68333,.19383,0],90:[0,.68333,.14528,0],91:[.25,.75,.1875,0],93:[.25,.75,.10528,0],94:[0,.69444,.06646,0],95:[.31,.12056,.09208,0],97:[0,.43056,.07671,0],98:[0,.69444,.06312,0],99:[0,.43056,.05653,0],100:[0,.69444,.10333,0],101:[0,.43056,.07514,0],102:[.19444,.69444,.21194,0],103:[.19444,.43056,.08847,0],104:[0,.69444,.07671,0],105:[0,.65536,.1019,0],106:[.19444,.65536,.14467,0],107:[0,.69444,.10764,0],108:[0,.69444,.10333,0],109:[0,.43056,.07671,0],110:[0,.43056,.07671,0],111:[0,.43056,.06312,0],112:[.19444,.43056,.06312,0],113:[.19444,.43056,.08847,0],114:[0,.43056,.10764,0],115:[0,.43056,.08208,0],116:[0,.61508,.09486,0],117:[0,.43056,.07671,0],118:[0,.43056,.10764,0],119:[0,.43056,.10764,0],120:[0,.43056,.12042,0],121:[.19444,.43056,.08847,0],122:[0,.43056,.12292,0],126:[.35,.31786,.11585,0],163:[0,.69444,0,0],305:[0,.43056,0,.02778],567:[.19444,.43056,0,.08334],768:[0,.69444,0,0],769:[0,.69444,.09694,0],770:[0,.69444,.06646,0],771:[0,.66786,.11585,0],772:[0,.56167,.10333,0],774:[0,.69444,.10806,0],775:[0,.66786,.11752,0],776:[0,.66786,.10474,0],778:[0,.69444,0,0],779:[0,.69444,.1225,0],780:[0,.62847,.08295,0],915:[0,.68333,.13305,0],916:[0,.68333,0,0],920:[0,.68333,.09403,0],923:[0,.68333,0,0],926:[0,.68333,.15294,0],928:[0,.68333,.16389,0],931:[0,.68333,.12028,0],933:[0,.68333,.11111,0],934:[0,.68333,.05986,0],936:[0,.68333,.11111,0],937:[0,.68333,.10257,0],8211:[0,.43056,.09208,0],8212:[0,.43056,.09208,0],8216:[0,.69444,.12417,0],8217:[0,.69444,.12417,0],8220:[0,.69444,.1685,0],8221:[0,.69444,.06961,0],8463:[0,.68889,0,0]},"Main-Regular":{32:[0,0,0,0],33:[0,.69444,0,0],34:[0,.69444,0,0],35:[.19444,.69444,0,0],36:[.05556,.75,0,0],37:[.05556,.75,0,0],38:[0,.69444,0,0],39:[0,.69444,0,0],40:[.25,.75,0,0],41:[.25,.75,0,0],42:[0,.75,0,0],43:[.08333,.58333,0,0],44:[.19444,.10556,0,0],45:[0,.43056,0,0],46:[0,.10556,0,0],47:[.25,.75,0,0],48:[0,.64444,0,0],49:[0,.64444,0,0],50:[0,.64444,0,0],51:[0,.64444,0,0],52:[0,.64444,0,0],53:[0,.64444,0,0],54:[0,.64444,0,0],55:[0,.64444,0,0],56:[0,.64444,0,0],57:[0,.64444,0,0],58:[0,.43056,0,0],59:[.19444,.43056,0,0],60:[.0391,.5391,0,0],61:[-.13313,.36687,0,0],62:[.0391,.5391,0,0],63:[0,.69444,0,0],64:[0,.69444,0,0],65:[0,.68333,0,0],66:[0,.68333,0,0],67:[0,.68333,0,0],68:[0,.68333,0,0],69:[0,.68333,0,0],70:[0,.68333,0,0],71:[0,.68333,0,0],72:[0,.68333,0,0],73:[0,.68333,0,0],74:[0,.68333,0,0],75:[0,.68333,0,0],76:[0,.68333,0,0],77:[0,.68333,0,0],78:[0,.68333,0,0],79:[0,.68333,0,0],80:[0,.68333,0,0],81:[.19444,.68333,0,0],82:[0,.68333,0,0],83:[0,.68333,0,0],84:[0,.68333,0,0],85:[0,.68333,0,0],86:[0,.68333,.01389,0],87:[0,.68333,.01389,0],88:[0,.68333,0,0],89:[0,.68333,.025,0],90:[0,.68333,0,0],91:[.25,.75,0,0],92:[.25,.75,0,0],93:[.25,.75,0,0],94:[0,.69444,0,0],95:[.31,.12056,.02778,0],96:[0,.69444,0,0],97:[0,.43056,0,0],98:[0,.69444,0,0],99:[0,.43056,0,0],100:[0,.69444,0,0],101:[0,.43056,0,0],102:[0,.69444,.07778,0],103:[.19444,.43056,.01389,0],104:[0,.69444,0,0],105:[0,.66786,0,0],106:[.19444,.66786,0,0],107:[0,.69444,0,0],108:[0,.69444,0,0],109:[0,.43056,0,0],110:[0,.43056,0,0],111:[0,.43056,0,0],112:[.19444,.43056,0,0],113:[.19444,.43056,0,0],114:[0,.43056,0,0],115:[0,.43056,0,0],116:[0,.61508,0,0],117:[0,.43056,0,0],118:[0,.43056,.01389,0],119:[0,.43056,.01389,0],120:[0,.43056,0,0],121:[.19444,.43056,.01389,0],122:[0,.43056,0,0],123:[.25,.75,0,0],124:[.25,.75,0,0],125:[.25,.75,0,0],126:[.35,.31786,0,0],160:[0,0,0,0],168:[0,.66786,0,0],172:[0,.43056,0,0],175:[0,.56778,0,0],176:[0,.69444,0,0],177:[.08333,.58333,0,0],180:[0,.69444,0,0],215:[.08333,.58333,0,0],247:[.08333,.58333,0,0],305:[0,.43056,0,0],567:[.19444,.43056,0,0],710:[0,.69444,0,0],711:[0,.62847,0,0],713:[0,.56778,0,0],714:[0,.69444,0,0],715:[0,.69444,0,0],728:[0,.69444,0,0],729:[0,.66786,0,0],730:[0,.69444,0,0],732:[0,.66786,0,0],768:[0,.69444,0,0],769:[0,.69444,0,0],770:[0,.69444,0,0],771:[0,.66786,0,0],772:[0,.56778,0,0],774:[0,.69444,0,0],775:[0,.66786,0,0],776:[0,.66786,0,0],778:[0,.69444,0,0],779:[0,.69444,0,0],780:[0,.62847,0,0],824:[.19444,.69444,0,0],915:[0,.68333,0,0],916:[0,.68333,0,0],920:[0,.68333,0,0],923:[0,.68333,0,0],926:[0,.68333,0,0],928:[0,.68333,0,0],931:[0,.68333,0,0],933:[0,.68333,0,0],934:[0,.68333,0,0],936:[0,.68333,0,0],937:[0,.68333,0,0],8211:[0,.43056,.02778,0],8212:[0,.43056,.02778,0],8216:[0,.69444,0,0],8217:[0,.69444,0,0],8220:[0,.69444,0,0],8221:[0,.69444,0,0],8224:[.19444,.69444,0,0],8225:[.19444,.69444,0,0],8230:[0,.12,0,0],8242:[0,.55556,0,0],8407:[0,.71444,.15382,0],8463:[0,.68889,0,0],8465:[0,.69444,0,0],8467:[0,.69444,0,.11111],8472:[.19444,.43056,0,.11111],8476:[0,.69444,0,0],8501:[0,.69444,0,0],8592:[-.13313,.36687,0,0],8593:[.19444,.69444,0,0],8594:[-.13313,.36687,0,0],8595:[.19444,.69444,0,0],8596:[-.13313,.36687,0,0],8597:[.25,.75,0,0],8598:[.19444,.69444,0,0],8599:[.19444,.69444,0,0],8600:[.19444,.69444,0,0],8601:[.19444,.69444,0,0],8614:[.011,.511,0,0],8617:[.011,.511,0,0],8618:[.011,.511,0,0],8636:[-.13313,.36687,0,0],8637:[-.13313,.36687,0,0],8640:[-.13313,.36687,0,0],8641:[-.13313,.36687,0,0],8652:[.011,.671,0,0],8656:[-.13313,.36687,0,0],8657:[.19444,.69444,0,0],8658:[-.13313,.36687,0,0],8659:[.19444,.69444,0,0],8660:[-.13313,.36687,0,0],8661:[.25,.75,0,0],8704:[0,.69444,0,0],8706:[0,.69444,.05556,.08334],8707:[0,.69444,0,0],8709:[.05556,.75,0,0],8711:[0,.68333,0,0],8712:[.0391,.5391,0,0],8715:[.0391,.5391,0,0],8722:[.08333,.58333,0,0],8723:[.08333,.58333,0,0],8725:[.25,.75,0,0],8726:[.25,.75,0,0],8727:[-.03472,.46528,0,0],8728:[-.05555,.44445,0,0],8729:[-.05555,.44445,0,0],8730:[.2,.8,0,0],8733:[0,.43056,0,0],8734:[0,.43056,0,0],8736:[0,.69224,0,0],8739:[.25,.75,0,0],8741:[.25,.75,0,0],8743:[0,.55556,0,0],8744:[0,.55556,0,0],8745:[0,.55556,0,0],8746:[0,.55556,0,0],8747:[.19444,.69444,.11111,0],8764:[-.13313,.36687,0,0],8768:[.19444,.69444,0,0],8771:[-.03625,.46375,0,0],8773:[-.022,.589,0,0],8776:[-.01688,.48312,0,0],8781:[-.03625,.46375,0,0],8784:[-.133,.67,0,0],8800:[.215,.716,0,0],8801:[-.03625,.46375,0,0],8804:[.13597,.63597,0,0],8805:[.13597,.63597,0,0],8810:[.0391,.5391,0,0],8811:[.0391,.5391,0,0],8826:[.0391,.5391,0,0],8827:[.0391,.5391,0,0],8834:[.0391,.5391,0,0],8835:[.0391,.5391,0,0],8838:[.13597,.63597,0,0],8839:[.13597,.63597,0,0],8846:[0,.55556,0,0],8849:[.13597,.63597,0,0],8850:[.13597,.63597,0,0],8851:[0,.55556,0,0],8852:[0,.55556,0,0],8853:[.08333,.58333,0,0],8854:[.08333,.58333,0,0],8855:[.08333,.58333,0,0],8856:[.08333,.58333,0,0],8857:[.08333,.58333,0,0],8866:[0,.69444,0,0],8867:[0,.69444,0,0],8868:[0,.69444,0,0],8869:[0,.69444,0,0],8872:[.249,.75,0,0],8900:[-.05555,.44445,0,0],8901:[-.05555,.44445,0,0],8902:[-.03472,.46528,0,0],8904:[.005,.505,0,0],8942:[.03,.9,0,0],8943:[-.19,.31,0,0],8945:[-.1,.82,0,0],8968:[.25,.75,0,0],8969:[.25,.75,0,0],8970:[.25,.75,0,0],8971:[.25,.75,0,0],8994:[-.14236,.35764,0,0],8995:[-.14236,.35764,0,0],9136:[.244,.744,0,0],9137:[.244,.744,0,0],9651:[.19444,.69444,0,0],9657:[-.03472,.46528,0,0],9661:[.19444,.69444,0,0],9667:[-.03472,.46528,0,0],9711:[.19444,.69444,0,0],9824:[.12963,.69444,0,0],9825:[.12963,.69444,0,0],9826:[.12963,.69444,0,0],9827:[.12963,.69444,0,0],9837:[0,.75,0,0],9838:[.19444,.69444,0,0],9839:[.19444,.69444,0,0],10216:[.25,.75,0,0],10217:[.25,.75,0,0],10222:[.244,.744,0,0],10223:[.244,.744,0,0],10229:[.011,.511,0,0],10230:[.011,.511,0,0],10231:[.011,.511,0,0],10232:[.024,.525,0,0],10233:[.024,.525,0,0],10234:[.024,.525,0,0],10236:[.011,.511,0,0],10815:[0,.68333,0,0],10927:[.13597,.63597,0,0],10928:[.13597,.63597,0,0]},"Math-BoldItalic":{47:[.19444,.69444,0,0],65:[0,.68611,0,0],66:[0,.68611,.04835,0],67:[0,.68611,.06979,0],68:[0,.68611,.03194,0],69:[0,.68611,.05451,0],70:[0,.68611,.15972,0],71:[0,.68611,0,0],72:[0,.68611,.08229,0],73:[0,.68611,.07778,0],74:[0,.68611,.10069,0],75:[0,.68611,.06979,0],76:[0,.68611,0,0],77:[0,.68611,.11424,0],78:[0,.68611,.11424,0],79:[0,.68611,.03194,0],80:[0,.68611,.15972,0],81:[.19444,.68611,0,0],82:[0,.68611,.00421,0],83:[0,.68611,.05382,0],84:[0,.68611,.15972,0],85:[0,.68611,.11424,0],86:[0,.68611,.25555,0],87:[0,.68611,.15972,0],88:[0,.68611,.07778,0],89:[0,.68611,.25555,0],90:[0,.68611,.06979,0],97:[0,.44444,0,0],98:[0,.69444,0,0],99:[0,.44444,0,0],100:[0,.69444,0,0],101:[0,.44444,0,0],102:[.19444,.69444,.11042,0],103:[.19444,.44444,.03704,0],104:[0,.69444,0,0],105:[0,.69326,0,0],106:[.19444,.69326,.0622,0],107:[0,.69444,.01852,0],108:[0,.69444,.0088,0],109:[0,.44444,0,0],110:[0,.44444,0,0],111:[0,.44444,0,0],112:[.19444,.44444,0,0],113:[.19444,.44444,.03704,0],114:[0,.44444,.03194,0],115:[0,.44444,0,0],116:[0,.63492,0,0],117:[0,.44444,0,0],118:[0,.44444,.03704,0],119:[0,.44444,.02778,0],120:[0,.44444,0,0],121:[.19444,.44444,.03704,0],122:[0,.44444,.04213,0],915:[0,.68611,.15972,0],916:[0,.68611,0,0],920:[0,.68611,.03194,0],923:[0,.68611,0,0],926:[0,.68611,.07458,0],928:[0,.68611,.08229,0],931:[0,.68611,.05451,0],933:[0,.68611,.15972,0],934:[0,.68611,0,0],936:[0,.68611,.11653,0],937:[0,.68611,.04835,0],945:[0,.44444,0,0],946:[.19444,.69444,.03403,0],947:[.19444,.44444,.06389,0],948:[0,.69444,.03819,0],949:[0,.44444,0,0],950:[.19444,.69444,.06215,0],951:[.19444,.44444,.03704,0],952:[0,.69444,.03194,0],953:[0,.44444,0,0],954:[0,.44444,0,0],955:[0,.69444,0,0],956:[.19444,.44444,0,0],957:[0,.44444,.06898,0],958:[.19444,.69444,.03021,0],959:[0,.44444,0,0],960:[0,.44444,.03704,0],961:[.19444,.44444,0,0],962:[.09722,.44444,.07917,0],963:[0,.44444,.03704,0],964:[0,.44444,.13472,0],965:[0,.44444,.03704,0],966:[.19444,.44444,0,0],967:[.19444,.44444,0,0],968:[.19444,.69444,.03704,0],969:[0,.44444,.03704,0],977:[0,.69444,0,0],981:[.19444,.69444,0,0],982:[0,.44444,.03194,0],1009:[.19444,.44444,0,0],1013:[0,.44444,0,0]},"Math-Italic":{47:[.19444,.69444,0,0],65:[0,.68333,0,.13889],66:[0,.68333,.05017,.08334],67:[0,.68333,.07153,.08334],68:[0,.68333,.02778,.05556],69:[0,.68333,.05764,.08334],70:[0,.68333,.13889,.08334],71:[0,.68333,0,.08334],72:[0,.68333,.08125,.05556],73:[0,.68333,.07847,.11111],74:[0,.68333,.09618,.16667],75:[0,.68333,.07153,.05556],76:[0,.68333,0,.02778],77:[0,.68333,.10903,.08334],78:[0,.68333,.10903,.08334],79:[0,.68333,.02778,.08334],80:[0,.68333,.13889,.08334],81:[.19444,.68333,0,.08334],82:[0,.68333,.00773,.08334],83:[0,.68333,.05764,.08334],84:[0,.68333,.13889,.08334],85:[0,.68333,.10903,.02778],86:[0,.68333,.22222,0],87:[0,.68333,.13889,0],88:[0,.68333,.07847,.08334],89:[0,.68333,.22222,0],90:[0,.68333,.07153,.08334],97:[0,.43056,0,0],98:[0,.69444,0,0],99:[0,.43056,0,.05556],100:[0,.69444,0,.16667],101:[0,.43056,0,.05556],102:[.19444,.69444,.10764,.16667],103:[.19444,.43056,.03588,.02778],104:[0,.69444,0,0],105:[0,.65952,0,0],106:[.19444,.65952,.05724,0],107:[0,.69444,.03148,0],108:[0,.69444,.01968,.08334],109:[0,.43056,0,0],110:[0,.43056,0,0],111:[0,.43056,0,.05556],112:[.19444,.43056,0,.08334],113:[.19444,.43056,.03588,.08334],114:[0,.43056,.02778,.05556],115:[0,.43056,0,.05556],116:[0,.61508,0,.08334],117:[0,.43056,0,.02778],118:[0,.43056,.03588,.02778],119:[0,.43056,.02691,.08334],120:[0,.43056,0,.02778],121:[.19444,.43056,.03588,.05556],122:[0,.43056,.04398,.05556],915:[0,.68333,.13889,.08334],916:[0,.68333,0,.16667],920:[0,.68333,.02778,.08334],923:[0,.68333,0,.16667],926:[0,.68333,.07569,.08334],928:[0,.68333,.08125,.05556],931:[0,.68333,.05764,.08334],933:[0,.68333,.13889,.05556],934:[0,.68333,0,.08334],936:[0,.68333,.11,.05556],937:[0,.68333,.05017,.08334],945:[0,.43056,.0037,.02778],946:[.19444,.69444,.05278,.08334],947:[.19444,.43056,.05556,0],948:[0,.69444,.03785,.05556],949:[0,.43056,0,.08334],950:[.19444,.69444,.07378,.08334],951:[.19444,.43056,.03588,.05556],952:[0,.69444,.02778,.08334],953:[0,.43056,0,.05556],954:[0,.43056,0,0],955:[0,.69444,0,0],956:[.19444,.43056,0,.02778],957:[0,.43056,.06366,.02778],958:[.19444,.69444,.04601,.11111],959:[0,.43056,0,.05556],960:[0,.43056,.03588,0],961:[.19444,.43056,0,.08334],962:[.09722,.43056,.07986,.08334],963:[0,.43056,.03588,0],964:[0,.43056,.1132,.02778],965:[0,.43056,.03588,.02778],966:[.19444,.43056,0,.08334],967:[.19444,.43056,0,.05556],968:[.19444,.69444,.03588,.11111],969:[0,.43056,.03588,0],977:[0,.69444,0,.08334],
|
20
|
-
981:[.19444,.69444,0,.08334],982:[0,.43056,.02778,0],1009:[.19444,.43056,0,.08334],1013:[0,.43056,0,.05556]},"Math-Regular":{65:[0,.68333,0,.13889],66:[0,.68333,.05017,.08334],67:[0,.68333,.07153,.08334],68:[0,.68333,.02778,.05556],69:[0,.68333,.05764,.08334],70:[0,.68333,.13889,.08334],71:[0,.68333,0,.08334],72:[0,.68333,.08125,.05556],73:[0,.68333,.07847,.11111],74:[0,.68333,.09618,.16667],75:[0,.68333,.07153,.05556],76:[0,.68333,0,.02778],77:[0,.68333,.10903,.08334],78:[0,.68333,.10903,.08334],79:[0,.68333,.02778,.08334],80:[0,.68333,.13889,.08334],81:[.19444,.68333,0,.08334],82:[0,.68333,.00773,.08334],83:[0,.68333,.05764,.08334],84:[0,.68333,.13889,.08334],85:[0,.68333,.10903,.02778],86:[0,.68333,.22222,0],87:[0,.68333,.13889,0],88:[0,.68333,.07847,.08334],89:[0,.68333,.22222,0],90:[0,.68333,.07153,.08334],97:[0,.43056,0,0],98:[0,.69444,0,0],99:[0,.43056,0,.05556],100:[0,.69444,0,.16667],101:[0,.43056,0,.05556],102:[.19444,.69444,.10764,.16667],103:[.19444,.43056,.03588,.02778],104:[0,.69444,0,0],105:[0,.65952,0,0],106:[.19444,.65952,.05724,0],107:[0,.69444,.03148,0],108:[0,.69444,.01968,.08334],109:[0,.43056,0,0],110:[0,.43056,0,0],111:[0,.43056,0,.05556],112:[.19444,.43056,0,.08334],113:[.19444,.43056,.03588,.08334],114:[0,.43056,.02778,.05556],115:[0,.43056,0,.05556],116:[0,.61508,0,.08334],117:[0,.43056,0,.02778],118:[0,.43056,.03588,.02778],119:[0,.43056,.02691,.08334],120:[0,.43056,0,.02778],121:[.19444,.43056,.03588,.05556],122:[0,.43056,.04398,.05556],915:[0,.68333,.13889,.08334],916:[0,.68333,0,.16667],920:[0,.68333,.02778,.08334],923:[0,.68333,0,.16667],926:[0,.68333,.07569,.08334],928:[0,.68333,.08125,.05556],931:[0,.68333,.05764,.08334],933:[0,.68333,.13889,.05556],934:[0,.68333,0,.08334],936:[0,.68333,.11,.05556],937:[0,.68333,.05017,.08334],945:[0,.43056,.0037,.02778],946:[.19444,.69444,.05278,.08334],947:[.19444,.43056,.05556,0],948:[0,.69444,.03785,.05556],949:[0,.43056,0,.08334],950:[.19444,.69444,.07378,.08334],951:[.19444,.43056,.03588,.05556],952:[0,.69444,.02778,.08334],953:[0,.43056,0,.05556],954:[0,.43056,0,0],955:[0,.69444,0,0],956:[.19444,.43056,0,.02778],957:[0,.43056,.06366,.02778],958:[.19444,.69444,.04601,.11111],959:[0,.43056,0,.05556],960:[0,.43056,.03588,0],961:[.19444,.43056,0,.08334],962:[.09722,.43056,.07986,.08334],963:[0,.43056,.03588,0],964:[0,.43056,.1132,.02778],965:[0,.43056,.03588,.02778],966:[.19444,.43056,0,.08334],967:[.19444,.43056,0,.05556],968:[.19444,.69444,.03588,.11111],969:[0,.43056,.03588,0],977:[0,.69444,0,.08334],981:[.19444,.69444,0,.08334],982:[0,.43056,.02778,0],1009:[.19444,.43056,0,.08334],1013:[0,.43056,0,.05556]},"SansSerif-Regular":{33:[0,.69444,0,0],34:[0,.69444,0,0],35:[.19444,.69444,0,0],36:[.05556,.75,0,0],37:[.05556,.75,0,0],38:[0,.69444,0,0],39:[0,.69444,0,0],40:[.25,.75,0,0],41:[.25,.75,0,0],42:[0,.75,0,0],43:[.08333,.58333,0,0],44:[.125,.08333,0,0],45:[0,.44444,0,0],46:[0,.08333,0,0],47:[.25,.75,0,0],48:[0,.65556,0,0],49:[0,.65556,0,0],50:[0,.65556,0,0],51:[0,.65556,0,0],52:[0,.65556,0,0],53:[0,.65556,0,0],54:[0,.65556,0,0],55:[0,.65556,0,0],56:[0,.65556,0,0],57:[0,.65556,0,0],58:[0,.44444,0,0],59:[.125,.44444,0,0],61:[-.13,.37,0,0],63:[0,.69444,0,0],64:[0,.69444,0,0],65:[0,.69444,0,0],66:[0,.69444,0,0],67:[0,.69444,0,0],68:[0,.69444,0,0],69:[0,.69444,0,0],70:[0,.69444,0,0],71:[0,.69444,0,0],72:[0,.69444,0,0],73:[0,.69444,0,0],74:[0,.69444,0,0],75:[0,.69444,0,0],76:[0,.69444,0,0],77:[0,.69444,0,0],78:[0,.69444,0,0],79:[0,.69444,0,0],80:[0,.69444,0,0],81:[.125,.69444,0,0],82:[0,.69444,0,0],83:[0,.69444,0,0],84:[0,.69444,0,0],85:[0,.69444,0,0],86:[0,.69444,.01389,0],87:[0,.69444,.01389,0],88:[0,.69444,0,0],89:[0,.69444,.025,0],90:[0,.69444,0,0],91:[.25,.75,0,0],93:[.25,.75,0,0],94:[0,.69444,0,0],95:[.35,.09444,.02778,0],97:[0,.44444,0,0],98:[0,.69444,0,0],99:[0,.44444,0,0],100:[0,.69444,0,0],101:[0,.44444,0,0],102:[0,.69444,.06944,0],103:[.19444,.44444,.01389,0],104:[0,.69444,0,0],105:[0,.67937,0,0],106:[.19444,.67937,0,0],107:[0,.69444,0,0],108:[0,.69444,0,0],109:[0,.44444,0,0],110:[0,.44444,0,0],111:[0,.44444,0,0],112:[.19444,.44444,0,0],113:[.19444,.44444,0,0],114:[0,.44444,.01389,0],115:[0,.44444,0,0],116:[0,.57143,0,0],117:[0,.44444,0,0],118:[0,.44444,.01389,0],119:[0,.44444,.01389,0],120:[0,.44444,0,0],121:[.19444,.44444,.01389,0],122:[0,.44444,0,0],126:[.35,.32659,0,0],305:[0,.44444,0,0],567:[.19444,.44444,0,0],768:[0,.69444,0,0],769:[0,.69444,0,0],770:[0,.69444,0,0],771:[0,.67659,0,0],772:[0,.60889,0,0],774:[0,.69444,0,0],775:[0,.67937,0,0],776:[0,.67937,0,0],778:[0,.69444,0,0],779:[0,.69444,0,0],780:[0,.63194,0,0],915:[0,.69444,0,0],916:[0,.69444,0,0],920:[0,.69444,0,0],923:[0,.69444,0,0],926:[0,.69444,0,0],928:[0,.69444,0,0],931:[0,.69444,0,0],933:[0,.69444,0,0],934:[0,.69444,0,0],936:[0,.69444,0,0],937:[0,.69444,0,0],8211:[0,.44444,.02778,0],8212:[0,.44444,.02778,0],8216:[0,.69444,0,0],8217:[0,.69444,0,0],8220:[0,.69444,0,0],8221:[0,.69444,0,0]},"Script-Regular":{65:[0,.7,.22925,0],66:[0,.7,.04087,0],67:[0,.7,.1689,0],68:[0,.7,.09371,0],69:[0,.7,.18583,0],70:[0,.7,.13634,0],71:[0,.7,.17322,0],72:[0,.7,.29694,0],73:[0,.7,.19189,0],74:[.27778,.7,.19189,0],75:[0,.7,.31259,0],76:[0,.7,.19189,0],77:[0,.7,.15981,0],78:[0,.7,.3525,0],79:[0,.7,.08078,0],80:[0,.7,.08078,0],81:[0,.7,.03305,0],82:[0,.7,.06259,0],83:[0,.7,.19189,0],84:[0,.7,.29087,0],85:[0,.7,.25815,0],86:[0,.7,.27523,0],87:[0,.7,.27523,0],88:[0,.7,.26006,0],89:[0,.7,.2939,0],90:[0,.7,.24037,0]},"Size1-Regular":{40:[.35001,.85,0,0],41:[.35001,.85,0,0],47:[.35001,.85,0,0],91:[.35001,.85,0,0],92:[.35001,.85,0,0],93:[.35001,.85,0,0],123:[.35001,.85,0,0],125:[.35001,.85,0,0],710:[0,.72222,0,0],732:[0,.72222,0,0],770:[0,.72222,0,0],771:[0,.72222,0,0],8214:[-99e-5,.601,0,0],8593:[1e-5,.6,0,0],8595:[1e-5,.6,0,0],8657:[1e-5,.6,0,0],8659:[1e-5,.6,0,0],8719:[.25001,.75,0,0],8720:[.25001,.75,0,0],8721:[.25001,.75,0,0],8730:[.35001,.85,0,0],8739:[-.00599,.606,0,0],8741:[-.00599,.606,0,0],8747:[.30612,.805,.19445,0],8748:[.306,.805,.19445,0],8749:[.306,.805,.19445,0],8750:[.30612,.805,.19445,0],8896:[.25001,.75,0,0],8897:[.25001,.75,0,0],8898:[.25001,.75,0,0],8899:[.25001,.75,0,0],8968:[.35001,.85,0,0],8969:[.35001,.85,0,0],8970:[.35001,.85,0,0],8971:[.35001,.85,0,0],9168:[-99e-5,.601,0,0],10216:[.35001,.85,0,0],10217:[.35001,.85,0,0],10752:[.25001,.75,0,0],10753:[.25001,.75,0,0],10754:[.25001,.75,0,0],10756:[.25001,.75,0,0],10758:[.25001,.75,0,0]},"Size2-Regular":{40:[.65002,1.15,0,0],41:[.65002,1.15,0,0],47:[.65002,1.15,0,0],91:[.65002,1.15,0,0],92:[.65002,1.15,0,0],93:[.65002,1.15,0,0],123:[.65002,1.15,0,0],125:[.65002,1.15,0,0],710:[0,.75,0,0],732:[0,.75,0,0],770:[0,.75,0,0],771:[0,.75,0,0],8719:[.55001,1.05,0,0],8720:[.55001,1.05,0,0],8721:[.55001,1.05,0,0],8730:[.65002,1.15,0,0],8747:[.86225,1.36,.44445,0],8748:[.862,1.36,.44445,0],8749:[.862,1.36,.44445,0],8750:[.86225,1.36,.44445,0],8896:[.55001,1.05,0,0],8897:[.55001,1.05,0,0],8898:[.55001,1.05,0,0],8899:[.55001,1.05,0,0],8968:[.65002,1.15,0,0],8969:[.65002,1.15,0,0],8970:[.65002,1.15,0,0],8971:[.65002,1.15,0,0],10216:[.65002,1.15,0,0],10217:[.65002,1.15,0,0],10752:[.55001,1.05,0,0],10753:[.55001,1.05,0,0],10754:[.55001,1.05,0,0],10756:[.55001,1.05,0,0],10758:[.55001,1.05,0,0]},"Size3-Regular":{40:[.95003,1.45,0,0],41:[.95003,1.45,0,0],47:[.95003,1.45,0,0],91:[.95003,1.45,0,0],92:[.95003,1.45,0,0],93:[.95003,1.45,0,0],123:[.95003,1.45,0,0],125:[.95003,1.45,0,0],710:[0,.75,0,0],732:[0,.75,0,0],770:[0,.75,0,0],771:[0,.75,0,0],8730:[.95003,1.45,0,0],8968:[.95003,1.45,0,0],8969:[.95003,1.45,0,0],8970:[.95003,1.45,0,0],8971:[.95003,1.45,0,0],10216:[.95003,1.45,0,0],10217:[.95003,1.45,0,0]},"Size4-Regular":{40:[1.25003,1.75,0,0],41:[1.25003,1.75,0,0],47:[1.25003,1.75,0,0],91:[1.25003,1.75,0,0],92:[1.25003,1.75,0,0],93:[1.25003,1.75,0,0],123:[1.25003,1.75,0,0],125:[1.25003,1.75,0,0],710:[0,.825,0,0],732:[0,.825,0,0],770:[0,.825,0,0],771:[0,.825,0,0],8730:[1.25003,1.75,0,0],8968:[1.25003,1.75,0,0],8969:[1.25003,1.75,0,0],8970:[1.25003,1.75,0,0],8971:[1.25003,1.75,0,0],9115:[.64502,1.155,0,0],9116:[1e-5,.6,0,0],9117:[.64502,1.155,0,0],9118:[.64502,1.155,0,0],9119:[1e-5,.6,0,0],9120:[.64502,1.155,0,0],9121:[.64502,1.155,0,0],9122:[-99e-5,.601,0,0],9123:[.64502,1.155,0,0],9124:[.64502,1.155,0,0],9125:[-99e-5,.601,0,0],9126:[.64502,1.155,0,0],9127:[1e-5,.9,0,0],9128:[.65002,1.15,0,0],9129:[.90001,0,0,0],9130:[0,.3,0,0],9131:[1e-5,.9,0,0],9132:[.65002,1.15,0,0],9133:[.90001,0,0,0],9143:[.88502,.915,0,0],10216:[1.25003,1.75,0,0],10217:[1.25003,1.75,0,0],57344:[-.00499,.605,0,0],57345:[-.00499,.605,0,0],57680:[0,.12,0,0],57681:[0,.12,0,0],57682:[0,.12,0,0],57683:[0,.12,0,0]},"Typewriter-Regular":{33:[0,.61111,0,0],34:[0,.61111,0,0],35:[0,.61111,0,0],36:[.08333,.69444,0,0],37:[.08333,.69444,0,0],38:[0,.61111,0,0],39:[0,.61111,0,0],40:[.08333,.69444,0,0],41:[.08333,.69444,0,0],42:[0,.52083,0,0],43:[-.08056,.53055,0,0],44:[.13889,.125,0,0],45:[-.08056,.53055,0,0],46:[0,.125,0,0],47:[.08333,.69444,0,0],48:[0,.61111,0,0],49:[0,.61111,0,0],50:[0,.61111,0,0],51:[0,.61111,0,0],52:[0,.61111,0,0],53:[0,.61111,0,0],54:[0,.61111,0,0],55:[0,.61111,0,0],56:[0,.61111,0,0],57:[0,.61111,0,0],58:[0,.43056,0,0],59:[.13889,.43056,0,0],60:[-.05556,.55556,0,0],61:[-.19549,.41562,0,0],62:[-.05556,.55556,0,0],63:[0,.61111,0,0],64:[0,.61111,0,0],65:[0,.61111,0,0],66:[0,.61111,0,0],67:[0,.61111,0,0],68:[0,.61111,0,0],69:[0,.61111,0,0],70:[0,.61111,0,0],71:[0,.61111,0,0],72:[0,.61111,0,0],73:[0,.61111,0,0],74:[0,.61111,0,0],75:[0,.61111,0,0],76:[0,.61111,0,0],77:[0,.61111,0,0],78:[0,.61111,0,0],79:[0,.61111,0,0],80:[0,.61111,0,0],81:[.13889,.61111,0,0],82:[0,.61111,0,0],83:[0,.61111,0,0],84:[0,.61111,0,0],85:[0,.61111,0,0],86:[0,.61111,0,0],87:[0,.61111,0,0],88:[0,.61111,0,0],89:[0,.61111,0,0],90:[0,.61111,0,0],91:[.08333,.69444,0,0],92:[.08333,.69444,0,0],93:[.08333,.69444,0,0],94:[0,.61111,0,0],95:[.09514,0,0,0],96:[0,.61111,0,0],97:[0,.43056,0,0],98:[0,.61111,0,0],99:[0,.43056,0,0],100:[0,.61111,0,0],101:[0,.43056,0,0],102:[0,.61111,0,0],103:[.22222,.43056,0,0],104:[0,.61111,0,0],105:[0,.61111,0,0],106:[.22222,.61111,0,0],107:[0,.61111,0,0],108:[0,.61111,0,0],109:[0,.43056,0,0],110:[0,.43056,0,0],111:[0,.43056,0,0],112:[.22222,.43056,0,0],113:[.22222,.43056,0,0],114:[0,.43056,0,0],115:[0,.43056,0,0],116:[0,.55358,0,0],117:[0,.43056,0,0],118:[0,.43056,0,0],119:[0,.43056,0,0],120:[0,.43056,0,0],121:[.22222,.43056,0,0],122:[0,.43056,0,0],123:[.08333,.69444,0,0],124:[.08333,.69444,0,0],125:[.08333,.69444,0,0],126:[0,.61111,0,0],127:[0,.61111,0,0],305:[0,.43056,0,0],567:[.22222,.43056,0,0],768:[0,.61111,0,0],769:[0,.61111,0,0],770:[0,.61111,0,0],771:[0,.61111,0,0],772:[0,.56555,0,0],774:[0,.61111,0,0],776:[0,.61111,0,0],778:[0,.61111,0,0],780:[0,.56597,0,0],915:[0,.61111,0,0],916:[0,.61111,0,0],920:[0,.61111,0,0],923:[0,.61111,0,0],926:[0,.61111,0,0],928:[0,.61111,0,0],931:[0,.61111,0,0],933:[0,.61111,0,0],934:[0,.61111,0,0],936:[0,.61111,0,0],937:[0,.61111,0,0],2018:[0,.61111,0,0],2019:[0,.61111,0,0],8242:[0,.61111,0,0]}}},{}],101:[function(t,e,r){function n(t,r,n){"string"==typeof t&&(t=[t]),"number"==typeof r&&(r={numArgs:r});for(var i={numArgs:r.numArgs,argTypes:r.argTypes,greediness:void 0===r.greediness?1:r.greediness,allowedInText:!!r.allowedInText,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,handler:n},o=0;o<t.length;++o)e.exports[t[o]]=i}var i=t("./utils"),o=t("./ParseError"),s=t("./parseData"),a=s.ParseNode,u=function(t){return"ordgroup"===t.type?t.value:[t]};n("\\sqrt",{numArgs:1,numOptionalArgs:1},function(t,e){var r=e[0];return{type:"sqrt",body:e[1],index:r}});var c={"\\text":void 0,"\\textrm":"mathrm","\\textsf":"mathsf","\\texttt":"mathtt","\\textnormal":"mathrm","\\textbf":"mathbf","\\textit":"textit"};n(["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textit"],{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},function(t,e){var r=e[0];return{type:"text",body:u(r),style:c[t.funcName]}}),n("\\color",{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},function(t,e){var r=e[0],n=e[1];return{type:"color",color:r.value,value:u(n)}}),n("\\overline",{numArgs:1},function(t,e){return{type:"overline",body:e[0]}}),n("\\underline",{numArgs:1},function(t,e){return{type:"underline",body:e[0]}}),n("\\rule",{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},function(t,e){var r=e[0],n=e[1],i=e[2];return{type:"rule",shift:r&&r.value,width:n.value,height:i.value}}),n(["\\kern","\\mkern"],{numArgs:1,argTypes:["size"]},function(t,e){return{type:"kern",dimension:e[0].value}}),n("\\KaTeX",{numArgs:0},function(t){return{type:"katex"}}),n("\\phantom",{numArgs:1},function(t,e){var r=e[0];return{type:"phantom",value:u(r)}}),n(["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],{numArgs:1},function(t,e){var r=e[0];return{type:"mclass",mclass:"m"+t.funcName.substr(5),value:u(r)}}),n("\\stackrel",{numArgs:2},function(t,e){var r=e[0],n=e[1],i=new a("op",{type:"op",limits:!0,alwaysHandleSupSub:!0,symbol:!1,value:u(n)},n.mode);return{type:"mclass",mclass:"mrel",value:[new a("supsub",{base:i,sup:r,sub:null},r.mode)]}}),n("\\bmod",{numArgs:0},function(t,e){return{type:"mod",modType:"bmod",value:null}}),n(["\\pod","\\pmod","\\mod"],{numArgs:1},function(t,e){var r=e[0];return{type:"mod",modType:t.funcName.substr(1),value:u(r)}});var l={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},p=["(",")","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\\lceil","\\rceil","<",">","\\langle","\\rangle","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\\lmoustache","\\rmoustache","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."],h={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak"};n(["\\blue","\\orange","\\pink","\\red","\\green","\\gray","\\purple","\\blueA","\\blueB","\\blueC","\\blueD","\\blueE","\\tealA","\\tealB","\\tealC","\\tealD","\\tealE","\\greenA","\\greenB","\\greenC","\\greenD","\\greenE","\\goldA","\\goldB","\\goldC","\\goldD","\\goldE","\\redA","\\redB","\\redC","\\redD","\\redE","\\maroonA","\\maroonB","\\maroonC","\\maroonD","\\maroonE","\\purpleA","\\purpleB","\\purpleC","\\purpleD","\\purpleE","\\mintA","\\mintB","\\mintC","\\grayA","\\grayB","\\grayC","\\grayD","\\grayE","\\grayF","\\grayG","\\grayH","\\grayI","\\kaBlue","\\kaGreen"],{numArgs:1,allowedInText:!0,greediness:3},function(t,e){var r=e[0];return{type:"color",color:"katex-"+t.funcName.slice(1),value:u(r)}}),n(["\\arcsin","\\arccos","\\arctan","\\arg","\\cos","\\cosh","\\cot","\\coth","\\csc","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\tan","\\tanh"],{numArgs:0},function(t){return{type:"op",limits:!1,symbol:!1,body:t.funcName}}),n(["\\det","\\gcd","\\inf","\\lim","\\liminf","\\limsup","\\max","\\min","\\Pr","\\sup"],{numArgs:0},function(t){return{type:"op",limits:!0,symbol:!1,body:t.funcName}}),n(["\\int","\\iint","\\iiint","\\oint"],{numArgs:0},function(t){return{type:"op",limits:!1,symbol:!0,body:t.funcName}}),n(["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint"],{numArgs:0},function(t){return{type:"op",limits:!0,symbol:!0,body:t.funcName}}),n("\\mathop",{numArgs:1},function(t,e){var r=e[0];return{type:"op",limits:!1,symbol:!1,value:u(r)}}),n(["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac"],{numArgs:2,greediness:2},function(t,e){var r,n=e[0],i=e[1],o=null,s=null,a="auto";switch(t.funcName){case"\\dfrac":case"\\frac":case"\\tfrac":r=!0;break;case"\\\\atopfrac":r=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":r=!1,o="(",s=")";break;default:throw new Error("Unrecognized genfrac command")}switch(t.funcName){case"\\dfrac":case"\\dbinom":a="display";break;case"\\tfrac":case"\\tbinom":a="text"}return{type:"genfrac",numer:n,denom:i,hasBarLine:r,leftDelim:o,rightDelim:s,size:a}}),n(["\\llap","\\rlap"],{numArgs:1,allowedInText:!0},function(t,e){var r=e[0];return{type:t.funcName.slice(1),body:r}});var f=function(t,e){if(i.contains(p,t.value))return t;throw new o("Invalid delimiter: '"+t.value+"' after '"+e.funcName+"'",t)};n(["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],{numArgs:1},function(t,e){var r=f(e[0],t);return{type:"delimsizing",size:l[t.funcName].size,mclass:l[t.funcName].mclass,value:r.value}}),n(["\\left","\\right"],{numArgs:1},function(t,e){return{type:"leftright",value:f(e[0],t).value}}),n("\\middle",{numArgs:1},function(t,e){var r=f(e[0],t);if(!t.parser.leftrightDepth)throw new o("\\middle without preceding \\left",r);return{type:"middle",value:r.value}}),n(["\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],0,null),n(["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],0,null),n(["\\mathrm","\\mathit","\\mathbf","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],{numArgs:1,greediness:2},function(t,e){var r=e[0],n=t.funcName;return n in h&&(n=h[n]),{type:"font",font:n.slice(1),body:r}}),n(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot"],{numArgs:1},function(t,e){var r=e[0];return{type:"accent",accent:t.funcName,base:r}}),n(["\\over","\\choose","\\atop"],{numArgs:0,infix:!0},function(t){var e;switch(t.funcName){case"\\over":e="\\frac";break;case"\\choose":e="\\binom";break;case"\\atop":e="\\\\atopfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",replaceWith:e,token:t.token}}),n(["\\\\","\\cr"],{numArgs:0,numOptionalArgs:1,argTypes:["size"]},function(t,e){return{type:"cr",size:e[0]}}),n(["\\begin","\\end"],{numArgs:1,argTypes:["text"]},function(t,e){var r=e[0];if("ordgroup"!==r.type)throw new o("Invalid environment name",r);for(var n="",i=0;i<r.value.length;++i)n+=r.value[i].value;return{type:"environment",name:n,nameGroup:r}})},{"./ParseError":88,"./parseData":103,"./utils":107}],102:[function(t,e,r){function n(t,e){this.type=t,this.attributes={},this.children=e||[]}function i(t){this.text=t}var o=t("./utils");n.prototype.setAttribute=function(t,e){this.attributes[t]=e},n.prototype.toNode=function(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var e in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,e)&&t.setAttribute(e,this.attributes[e]);for(var r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t},n.prototype.toMarkup=function(){var t="<"+this.type;for(var e in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,e)&&(t+=" "+e+'="',t+=o.escape(this.attributes[e]),t+='"');t+=">";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</"+this.type+">"},i.prototype.toNode=function(){return document.createTextNode(this.text)},i.prototype.toMarkup=function(){return o.escape(this.text)},e.exports={MathNode:n,TextNode:i}},{"./utils":107}],103:[function(t,e,r){function n(t,e,r,n,i){this.type=t,this.value=e,this.mode=r,!n||i&&i.lexer!==n.lexer||(this.lexer=n.lexer,this.start=n.start,this.end=(i||n).end)}e.exports={ParseNode:n}},{}],104:[function(t,e,r){var n=t("./Parser"),i=function(t,e){if(!("string"==typeof t||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");return new n(t,e).parse()};e.exports=i},{"./Parser":89}],105:[function(t,e,r){function n(t,r,n,i,o){e.exports[t][o]={font:r,group:n,replace:i}}e.exports={math:{},text:{}};var i="math",o="text",s="main",a="ams",u="accent",c="bin",l="close",p="mathord",h="op",f="open",d="rel",b="spacing",m="textord";n(i,s,d,"≡","\\equiv"),n(i,s,d,"≺","\\prec"),n(i,s,d,"≻","\\succ"),n(i,s,d,"∼","\\sim"),n(i,s,d,"⊥","\\perp"),n(i,s,d,"⪯","\\preceq"),n(i,s,d,"⪰","\\succeq"),n(i,s,d,"≃","\\simeq"),n(i,s,d,"∣","\\mid"),n(i,s,d,"≪","\\ll"),n(i,s,d,"≫","\\gg"),n(i,s,d,"≍","\\asymp"),n(i,s,d,"∥","\\parallel"),n(i,s,d,"⋈","\\bowtie"),n(i,s,d,"⌣","\\smile"),n(i,s,d,"⊑","\\sqsubseteq"),n(i,s,d,"⊒","\\sqsupseteq"),n(i,s,d,"≐","\\doteq"),n(i,s,d,"⌢","\\frown"),n(i,s,d,"∋","\\ni"),n(i,s,d,"∝","\\propto"),n(i,s,d,"⊢","\\vdash"),n(i,s,d,"⊣","\\dashv"),n(i,s,d,"∋","\\owns"),n(i,s,"punct",".","\\ldotp"),n(i,s,"punct","⋅","\\cdotp"),n(i,s,m,"#","\\#"),n(o,s,m,"#","\\#"),n(i,s,m,"&","\\&"),n(o,s,m,"&","\\&"),n(i,s,m,"ℵ","\\aleph"),n(i,s,m,"∀","\\forall"),n(i,s,m,"ℏ","\\hbar"),n(i,s,m,"∃","\\exists"),n(i,s,m,"∇","\\nabla"),n(i,s,m,"♭","\\flat"),n(i,s,m,"ℓ","\\ell"),n(i,s,m,"♮","\\natural"),n(i,s,m,"♣","\\clubsuit"),n(i,s,m,"℘","\\wp"),n(i,s,m,"♯","\\sharp"),n(i,s,m,"♢","\\diamondsuit"),n(i,s,m,"ℜ","\\Re"),n(i,s,m,"♡","\\heartsuit"),n(i,s,m,"ℑ","\\Im"),n(i,s,m,"♠","\\spadesuit"),n(i,s,m,"†","\\dag"),n(i,s,m,"‡","\\ddag"),n(i,s,l,"⎱","\\rmoustache"),n(i,s,f,"⎰","\\lmoustache"),n(i,s,l,"⟯","\\rgroup"),n(i,s,f,"⟮","\\lgroup"),n(i,s,c,"∓","\\mp"),n(i,s,c,"⊖","\\ominus"),n(i,s,c,"⊎","\\uplus"),n(i,s,c,"⊓","\\sqcap"),n(i,s,c,"∗","\\ast"),n(i,s,c,"⊔","\\sqcup"),n(i,s,c,"◯","\\bigcirc"),n(i,s,c,"∙","\\bullet"),n(i,s,c,"‡","\\ddagger"),n(i,s,c,"≀","\\wr"),n(i,s,c,"⨿","\\amalg"),n(i,s,d,"⟵","\\longleftarrow"),n(i,s,d,"⇐","\\Leftarrow"),n(i,s,d,"⟸","\\Longleftarrow"),n(i,s,d,"⟶","\\longrightarrow"),n(i,s,d,"⇒","\\Rightarrow"),n(i,s,d,"⟹","\\Longrightarrow"),n(i,s,d,"↔","\\leftrightarrow"),n(i,s,d,"⟷","\\longleftrightarrow"),n(i,s,d,"⇔","\\Leftrightarrow"),n(i,s,d,"⟺","\\Longleftrightarrow"),n(i,s,d,"↦","\\mapsto"),n(i,s,d,"⟼","\\longmapsto"),n(i,s,d,"↗","\\nearrow"),n(i,s,d,"↩","\\hookleftarrow"),n(i,s,d,"↪","\\hookrightarrow"),n(i,s,d,"↘","\\searrow"),n(i,s,d,"↼","\\leftharpoonup"),n(i,s,d,"⇀","\\rightharpoonup"),n(i,s,d,"↙","\\swarrow"),n(i,s,d,"↽","\\leftharpoondown"),n(i,s,d,"⇁","\\rightharpoondown"),n(i,s,d,"↖","\\nwarrow"),n(i,s,d,"⇌","\\rightleftharpoons"),n(i,a,d,"≮","\\nless"),n(i,a,d,"","\\nleqslant"),n(i,a,d,"","\\nleqq"),n(i,a,d,"⪇","\\lneq"),n(i,a,d,"≨","\\lneqq"),n(i,a,d,"","\\lvertneqq"),n(i,a,d,"⋦","\\lnsim"),n(i,a,d,"⪉","\\lnapprox"),n(i,a,d,"⊀","\\nprec"),n(i,a,d,"⋠","\\npreceq"),n(i,a,d,"⋨","\\precnsim"),n(i,a,d,"⪹","\\precnapprox"),n(i,a,d,"≁","\\nsim"),n(i,a,d,"","\\nshortmid"),n(i,a,d,"∤","\\nmid"),n(i,a,d,"⊬","\\nvdash"),n(i,a,d,"⊭","\\nvDash"),n(i,a,d,"⋪","\\ntriangleleft"),n(i,a,d,"⋬","\\ntrianglelefteq"),n(i,a,d,"⊊","\\subsetneq"),n(i,a,d,"","\\varsubsetneq"),n(i,a,d,"⫋","\\subsetneqq"),n(i,a,d,"","\\varsubsetneqq"),n(i,a,d,"≯","\\ngtr"),n(i,a,d,"","\\ngeqslant"),n(i,a,d,"","\\ngeqq"),n(i,a,d,"⪈","\\gneq"),n(i,a,d,"≩","\\gneqq"),n(i,a,d,"","\\gvertneqq"),n(i,a,d,"⋧","\\gnsim"),n(i,a,d,"⪊","\\gnapprox"),n(i,a,d,"⊁","\\nsucc"),n(i,a,d,"⋡","\\nsucceq"),n(i,a,d,"⋩","\\succnsim"),n(i,a,d,"⪺","\\succnapprox"),n(i,a,d,"≆","\\ncong"),n(i,a,d,"","\\nshortparallel"),n(i,a,d,"∦","\\nparallel"),n(i,a,d,"⊯","\\nVDash"),n(i,a,d,"⋫","\\ntriangleright"),n(i,a,d,"⋭","\\ntrianglerighteq"),n(i,a,d,"","\\nsupseteqq"),n(i,a,d,"⊋","\\supsetneq"),n(i,a,d,"","\\varsupsetneq"),n(i,a,d,"⫌","\\supsetneqq"),n(i,a,d,"","\\varsupsetneqq"),n(i,a,d,"⊮","\\nVdash"),n(i,a,d,"⪵","\\precneqq"),n(i,a,d,"⪶","\\succneqq"),n(i,a,d,"","\\nsubseteqq"),n(i,a,c,"⊴","\\unlhd"),n(i,a,c,"⊵","\\unrhd"),n(i,a,d,"↚","\\nleftarrow"),n(i,a,d,"↛","\\nrightarrow"),n(i,a,d,"⇍","\\nLeftarrow"),n(i,a,d,"⇏","\\nRightarrow"),n(i,a,d,"↮","\\nleftrightarrow"),n(i,a,d,"⇎","\\nLeftrightarrow"),n(i,a,d,"△","\\vartriangle"),n(i,a,m,"ℏ","\\hslash"),n(i,a,m,"▽","\\triangledown"),n(i,a,m,"◊","\\lozenge"),n(i,a,m,"Ⓢ","\\circledS"),n(i,a,m,"®","\\circledR"),n(i,a,m,"∡","\\measuredangle"),n(i,a,m,"∄","\\nexists"),n(i,a,m,"℧","\\mho"),n(i,a,m,"Ⅎ","\\Finv"),n(i,a,m,"⅁","\\Game"),n(i,a,m,"k","\\Bbbk"),n(i,a,m,"‵","\\backprime"),n(i,a,m,"▲","\\blacktriangle"),n(i,a,m,"▼","\\blacktriangledown"),n(i,a,m,"■","\\blacksquare"),n(i,a,m,"⧫","\\blacklozenge"),n(i,a,m,"★","\\bigstar"),n(i,a,m,"∢","\\sphericalangle"),n(i,a,m,"∁","\\complement"),n(i,a,m,"ð","\\eth"),n(i,a,m,"╱","\\diagup"),n(i,a,m,"╲","\\diagdown"),n(i,a,m,"□","\\square"),n(i,a,m,"□","\\Box"),n(i,a,m,"◊","\\Diamond"),n(i,a,m,"¥","\\yen"),n(i,a,m,"✓","\\checkmark"),n(i,a,m,"ℶ","\\beth"),n(i,a,m,"ℸ","\\daleth"),n(i,a,m,"ℷ","\\gimel"),n(i,a,m,"ϝ","\\digamma"),n(i,a,m,"ϰ","\\varkappa"),n(i,a,f,"┌","\\ulcorner"),n(i,a,l,"┐","\\urcorner"),n(i,a,f,"└","\\llcorner"),n(i,a,l,"┘","\\lrcorner"),n(i,a,d,"≦","\\leqq"),n(i,a,d,"⩽","\\leqslant"),n(i,a,d,"⪕","\\eqslantless"),n(i,a,d,"≲","\\lesssim"),n(i,a,d,"⪅","\\lessapprox"),n(i,a,d,"≊","\\approxeq"),n(i,a,c,"⋖","\\lessdot"),n(i,a,d,"⋘","\\lll"),n(i,a,d,"≶","\\lessgtr"),n(i,a,d,"⋚","\\lesseqgtr"),n(i,a,d,"⪋","\\lesseqqgtr"),n(i,a,d,"≑","\\doteqdot"),n(i,a,d,"≓","\\risingdotseq"),n(i,a,d,"≒","\\fallingdotseq"),n(i,a,d,"∽","\\backsim"),n(i,a,d,"⋍","\\backsimeq"),n(i,a,d,"⫅","\\subseteqq"),n(i,a,d,"⋐","\\Subset"),n(i,a,d,"⊏","\\sqsubset");n(i,a,d,"≼","\\preccurlyeq"),n(i,a,d,"⋞","\\curlyeqprec"),n(i,a,d,"≾","\\precsim"),n(i,a,d,"⪷","\\precapprox"),n(i,a,d,"⊲","\\vartriangleleft"),n(i,a,d,"⊴","\\trianglelefteq"),n(i,a,d,"⊨","\\vDash"),n(i,a,d,"⊪","\\Vvdash"),n(i,a,d,"⌣","\\smallsmile"),n(i,a,d,"⌢","\\smallfrown"),n(i,a,d,"≏","\\bumpeq"),n(i,a,d,"≎","\\Bumpeq"),n(i,a,d,"≧","\\geqq"),n(i,a,d,"⩾","\\geqslant"),n(i,a,d,"⪖","\\eqslantgtr"),n(i,a,d,"≳","\\gtrsim"),n(i,a,d,"⪆","\\gtrapprox"),n(i,a,c,"⋗","\\gtrdot"),n(i,a,d,"⋙","\\ggg"),n(i,a,d,"≷","\\gtrless"),n(i,a,d,"⋛","\\gtreqless"),n(i,a,d,"⪌","\\gtreqqless"),n(i,a,d,"≖","\\eqcirc"),n(i,a,d,"≗","\\circeq"),n(i,a,d,"≜","\\triangleq"),n(i,a,d,"∼","\\thicksim"),n(i,a,d,"≈","\\thickapprox"),n(i,a,d,"⫆","\\supseteqq"),n(i,a,d,"⋑","\\Supset"),n(i,a,d,"⊐","\\sqsupset"),n(i,a,d,"≽","\\succcurlyeq"),n(i,a,d,"⋟","\\curlyeqsucc"),n(i,a,d,"≿","\\succsim"),n(i,a,d,"⪸","\\succapprox"),n(i,a,d,"⊳","\\vartriangleright"),n(i,a,d,"⊵","\\trianglerighteq"),n(i,a,d,"⊩","\\Vdash"),n(i,a,d,"∣","\\shortmid"),n(i,a,d,"∥","\\shortparallel"),n(i,a,d,"≬","\\between"),n(i,a,d,"⋔","\\pitchfork"),n(i,a,d,"∝","\\varpropto"),n(i,a,d,"◀","\\blacktriangleleft"),n(i,a,d,"∴","\\therefore"),n(i,a,d,"∍","\\backepsilon"),n(i,a,d,"▶","\\blacktriangleright"),n(i,a,d,"∵","\\because"),n(i,a,d,"⋘","\\llless"),n(i,a,d,"⋙","\\gggtr"),n(i,a,c,"⊲","\\lhd"),n(i,a,c,"⊳","\\rhd"),n(i,a,d,"≂","\\eqsim"),n(i,s,d,"⋈","\\Join"),n(i,a,d,"≑","\\Doteq"),n(i,a,c,"∔","\\dotplus"),n(i,a,c,"∖","\\smallsetminus"),n(i,a,c,"⋒","\\Cap"),n(i,a,c,"⋓","\\Cup"),n(i,a,c,"⩞","\\doublebarwedge"),n(i,a,c,"⊟","\\boxminus"),n(i,a,c,"⊞","\\boxplus"),n(i,a,c,"⋇","\\divideontimes"),n(i,a,c,"⋉","\\ltimes"),n(i,a,c,"⋊","\\rtimes"),n(i,a,c,"⋋","\\leftthreetimes"),n(i,a,c,"⋌","\\rightthreetimes"),n(i,a,c,"⋏","\\curlywedge"),n(i,a,c,"⋎","\\curlyvee"),n(i,a,c,"⊝","\\circleddash"),n(i,a,c,"⊛","\\circledast"),n(i,a,c,"⋅","\\centerdot"),n(i,a,c,"⊺","\\intercal"),n(i,a,c,"⋒","\\doublecap"),n(i,a,c,"⋓","\\doublecup"),n(i,a,c,"⊠","\\boxtimes"),n(i,a,d,"⇢","\\dashrightarrow"),n(i,a,d,"⇠","\\dashleftarrow"),n(i,a,d,"⇇","\\leftleftarrows"),n(i,a,d,"⇆","\\leftrightarrows"),n(i,a,d,"⇚","\\Lleftarrow"),n(i,a,d,"↞","\\twoheadleftarrow"),n(i,a,d,"↢","\\leftarrowtail"),n(i,a,d,"↫","\\looparrowleft"),n(i,a,d,"⇋","\\leftrightharpoons"),n(i,a,d,"↶","\\curvearrowleft"),n(i,a,d,"↺","\\circlearrowleft"),n(i,a,d,"↰","\\Lsh"),n(i,a,d,"⇈","\\upuparrows"),n(i,a,d,"↿","\\upharpoonleft"),n(i,a,d,"⇃","\\downharpoonleft"),n(i,a,d,"⊸","\\multimap"),n(i,a,d,"↭","\\leftrightsquigarrow"),n(i,a,d,"⇉","\\rightrightarrows"),n(i,a,d,"⇄","\\rightleftarrows"),n(i,a,d,"↠","\\twoheadrightarrow"),n(i,a,d,"↣","\\rightarrowtail"),n(i,a,d,"↬","\\looparrowright"),n(i,a,d,"↷","\\curvearrowright"),n(i,a,d,"↻","\\circlearrowright"),n(i,a,d,"↱","\\Rsh"),n(i,a,d,"⇊","\\downdownarrows"),n(i,a,d,"↾","\\upharpoonright"),n(i,a,d,"⇂","\\downharpoonright"),n(i,a,d,"⇝","\\rightsquigarrow"),n(i,a,d,"⇝","\\leadsto"),n(i,a,d,"⇛","\\Rrightarrow"),n(i,a,d,"↾","\\restriction"),n(i,s,m,"‘","`"),n(i,s,m,"$","\\$"),n(o,s,m,"$","\\$"),n(i,s,m,"%","\\%"),n(o,s,m,"%","\\%"),n(i,s,m,"_","\\_"),n(o,s,m,"_","\\_"),n(i,s,m,"∠","\\angle"),n(i,s,m,"∞","\\infty"),n(i,s,m,"′","\\prime"),n(i,s,m,"△","\\triangle"),n(i,s,m,"Γ","\\Gamma"),n(i,s,m,"Δ","\\Delta"),n(i,s,m,"Θ","\\Theta"),n(i,s,m,"Λ","\\Lambda"),n(i,s,m,"Ξ","\\Xi"),n(i,s,m,"Π","\\Pi"),n(i,s,m,"Σ","\\Sigma"),n(i,s,m,"Υ","\\Upsilon"),n(i,s,m,"Φ","\\Phi"),n(i,s,m,"Ψ","\\Psi"),n(i,s,m,"Ω","\\Omega"),n(i,s,m,"¬","\\neg"),n(i,s,m,"¬","\\lnot"),n(i,s,m,"⊤","\\top"),n(i,s,m,"⊥","\\bot"),n(i,s,m,"∅","\\emptyset"),n(i,a,m,"∅","\\varnothing"),n(i,s,p,"α","\\alpha"),n(i,s,p,"β","\\beta"),n(i,s,p,"γ","\\gamma"),n(i,s,p,"δ","\\delta"),n(i,s,p,"ϵ","\\epsilon"),n(i,s,p,"ζ","\\zeta"),n(i,s,p,"η","\\eta"),n(i,s,p,"θ","\\theta"),n(i,s,p,"ι","\\iota"),n(i,s,p,"κ","\\kappa"),n(i,s,p,"λ","\\lambda"),n(i,s,p,"μ","\\mu"),n(i,s,p,"ν","\\nu"),n(i,s,p,"ξ","\\xi"),n(i,s,p,"o","\\omicron"),n(i,s,p,"π","\\pi"),n(i,s,p,"ρ","\\rho"),n(i,s,p,"σ","\\sigma"),n(i,s,p,"τ","\\tau"),n(i,s,p,"υ","\\upsilon"),n(i,s,p,"ϕ","\\phi"),n(i,s,p,"χ","\\chi"),n(i,s,p,"ψ","\\psi"),n(i,s,p,"ω","\\omega"),n(i,s,p,"ε","\\varepsilon"),n(i,s,p,"ϑ","\\vartheta"),n(i,s,p,"ϖ","\\varpi"),n(i,s,p,"ϱ","\\varrho"),n(i,s,p,"ς","\\varsigma"),n(i,s,p,"φ","\\varphi"),n(i,s,c,"∗","*"),n(i,s,c,"+","+"),n(i,s,c,"−","-"),n(i,s,c,"⋅","\\cdot"),n(i,s,c,"∘","\\circ"),n(i,s,c,"÷","\\div"),n(i,s,c,"±","\\pm"),n(i,s,c,"×","\\times"),n(i,s,c,"∩","\\cap"),n(i,s,c,"∪","\\cup"),n(i,s,c,"∖","\\setminus"),n(i,s,c,"∧","\\land"),n(i,s,c,"∨","\\lor"),n(i,s,c,"∧","\\wedge"),n(i,s,c,"∨","\\vee"),n(i,s,m,"√","\\surd"),n(i,s,f,"(","("),n(i,s,f,"[","["),n(i,s,f,"⟨","\\langle"),n(i,s,f,"∣","\\lvert"),n(i,s,f,"∥","\\lVert"),n(i,s,l,")",")"),n(i,s,l,"]","]"),n(i,s,l,"?","?"),n(i,s,l,"!","!"),n(i,s,l,"⟩","\\rangle"),n(i,s,l,"∣","\\rvert"),n(i,s,l,"∥","\\rVert"),n(i,s,d,"=","="),n(i,s,d,"<","<"),n(i,s,d,">",">"),n(i,s,d,":",":"),n(i,s,d,"≈","\\approx"),n(i,s,d,"≅","\\cong"),n(i,s,d,"≥","\\ge");n(i,s,d,"≥","\\geq"),n(i,s,d,"←","\\gets"),n(i,s,d,">","\\gt"),n(i,s,d,"∈","\\in"),n(i,s,d,"∉","\\notin"),n(i,s,d,"⊂","\\subset"),n(i,s,d,"⊃","\\supset"),n(i,s,d,"⊆","\\subseteq"),n(i,s,d,"⊇","\\supseteq"),n(i,a,d,"⊈","\\nsubseteq"),n(i,a,d,"⊉","\\nsupseteq"),n(i,s,d,"⊨","\\models"),n(i,s,d,"←","\\leftarrow"),n(i,s,d,"≤","\\le"),n(i,s,d,"≤","\\leq"),n(i,s,d,"<","\\lt"),n(i,s,d,"≠","\\ne"),n(i,s,d,"≠","\\neq"),n(i,s,d,"→","\\rightarrow"),n(i,s,d,"→","\\to"),n(i,a,d,"≱","\\ngeq"),n(i,a,d,"≰","\\nleq"),n(i,s,b,null,"\\!"),n(i,s,b," ","\\ "),n(i,s,b," ","~"),n(i,s,b,null,"\\,"),n(i,s,b,null,"\\:"),n(i,s,b,null,"\\;"),n(i,s,b,null,"\\enspace"),n(i,s,b,null,"\\qquad"),n(i,s,b,null,"\\quad"),n(i,s,b," ","\\space"),n(i,s,"punct",",",","),n(i,s,"punct",";",";"),n(i,s,"punct",":","\\colon"),n(i,a,c,"⊼","\\barwedge"),n(i,a,c,"⊻","\\veebar"),n(i,s,c,"⊙","\\odot"),n(i,s,c,"⊕","\\oplus"),n(i,s,c,"⊗","\\otimes"),n(i,s,m,"∂","\\partial"),n(i,s,c,"⊘","\\oslash"),n(i,a,c,"⊚","\\circledcirc"),n(i,a,c,"⊡","\\boxdot"),n(i,s,c,"△","\\bigtriangleup"),n(i,s,c,"▽","\\bigtriangledown"),n(i,s,c,"†","\\dagger"),n(i,s,c,"⋄","\\diamond"),n(i,s,c,"⋆","\\star"),n(i,s,c,"◃","\\triangleleft"),n(i,s,c,"▹","\\triangleright"),n(i,s,f,"{","\\{"),n(o,s,m,"{","\\{"),n(i,s,l,"}","\\}"),n(o,s,m,"}","\\}"),n(i,s,f,"{","\\lbrace"),n(i,s,l,"}","\\rbrace"),n(i,s,f,"[","\\lbrack"),n(i,s,l,"]","\\rbrack"),n(i,s,f,"⌊","\\lfloor"),n(i,s,l,"⌋","\\rfloor"),n(i,s,f,"⌈","\\lceil"),n(i,s,l,"⌉","\\rceil"),n(i,s,m,"\\","\\backslash"),
|
21
|
-
n(i,s,m,"∣","|"),n(i,s,m,"∣","\\vert"),n(i,s,m,"∥","\\|"),n(i,s,m,"∥","\\Vert"),n(i,s,d,"↑","\\uparrow"),n(i,s,d,"⇑","\\Uparrow"),n(i,s,d,"↓","\\downarrow"),n(i,s,d,"⇓","\\Downarrow"),n(i,s,d,"↕","\\updownarrow"),n(i,s,d,"⇕","\\Updownarrow"),n(i,i,h,"∐","\\coprod"),n(i,i,h,"⋁","\\bigvee"),n(i,i,h,"⋀","\\bigwedge"),n(i,i,h,"⨄","\\biguplus"),n(i,i,h,"⋂","\\bigcap"),n(i,i,h,"⋃","\\bigcup"),n(i,i,h,"∫","\\int"),n(i,i,h,"∫","\\intop"),n(i,i,h,"∬","\\iint"),n(i,i,h,"∭","\\iiint"),n(i,i,h,"∏","\\prod"),n(i,i,h,"∑","\\sum"),n(i,i,h,"⨂","\\bigotimes"),n(i,i,h,"⨁","\\bigoplus"),n(i,i,h,"⨀","\\bigodot"),n(i,i,h,"∮","\\oint"),n(i,i,h,"⨆","\\bigsqcup"),n(i,i,h,"∫","\\smallint"),n(o,s,"inner","…","\\textellipsis"),n(i,s,"inner","…","\\mathellipsis"),n(o,s,"inner","…","\\ldots"),n(i,s,"inner","…","\\ldots"),n(i,s,"inner","⋯","\\cdots"),n(i,s,"inner","⋱","\\ddots"),n(i,s,m,"⋮","\\vdots"),n(i,s,u,"´","\\acute"),n(i,s,u,"`","\\grave"),n(i,s,u,"¨","\\ddot"),n(i,s,u,"~","\\tilde"),n(i,s,u,"¯","\\bar"),n(i,s,u,"˘","\\breve"),n(i,s,u,"ˇ","\\check"),n(i,s,u,"^","\\hat"),n(i,s,u,"⃗","\\vec"),n(i,s,u,"˙","\\dot"),n(i,s,p,"ı","\\imath"),n(i,s,p,"ȷ","\\jmath"),n(o,s,m,"–","--"),n(o,s,m,"—","---"),n(o,s,m,"‘","`"),n(o,s,m,"’","'"),n(o,s,m,"“","``"),n(o,s,m,"”","''"),n(i,s,m,"°","\\degree"),n(o,s,m,"°","\\degree"),n(i,s,p,"£","\\pounds"),n(i,a,m,"✠","\\maltese"),n(o,a,m,"✠","\\maltese"),n(o,s,b," ","\\ "),n(o,s,b," "," "),n(o,s,b," ","~");var y,v,g='0123456789/@."';for(y=0;y<g.length;y++)v=g.charAt(y),n(i,s,m,v,v);var w='0123456789!@*()-=+[]";:?/.,';for(y=0;y<w.length;y++)v=w.charAt(y),n(o,s,m,v,v);var _="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";for(y=0;y<_.length;y++)v=_.charAt(y),n(i,s,p,v,v),n(o,s,m,v,v);for(y=192;y<=214;y++)v=String.fromCharCode(y),n(o,s,m,v,v);for(y=216;y<=246;y++)v=String.fromCharCode(y),n(o,s,m,v,v);for(y=248;y<=255;y++)v=String.fromCharCode(y),n(o,s,m,v,v);for(y=1040;y<=1103;y++)v=String.fromCharCode(y),n(o,s,m,v,v);n(o,s,m,"–","–"),n(o,s,m,"—","—"),n(o,s,m,"‘","‘"),n(o,s,m,"’","’"),n(o,s,m,"“","“"),n(o,s,m,"”","”")},{}],106:[function(t,e,r){e.exports={cjkRegex:/[\u3040-\u309F]|[\u30A0-\u30FF]|[\u4E00-\u9FAF]|[\uAC00-\uD7AF]/,hangulRegex:/[\uAC00-\uD7AF]/}},{}],107:[function(t,e,r){function n(t){return h[t]}function i(t){return(""+t).replace(f,n)}function o(t){s(t,"")}var s,a=Array.prototype.indexOf,u=function(t,e){if(null==t)return-1;if(a&&t.indexOf===a)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1},c=function(t,e){return-1!==u(t,e)},l=function(t,e){return void 0===t?e:t},p=function(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()},h={"&":"&",">":">","<":"<",'"':""","'":"'"},f=/[&><"']/g;if("undefined"!=typeof document){var d=document.createElement("span");s="textContent"in d?function(t,e){t.textContent=e}:function(t,e){t.innerText=e}}e.exports={contains:c,deflt:l,escape:i,hyphenate:p,indexOf:u,setTextContent:s,clearNode:o}},{}],108:[function(t,e,r){"use strict";function n(t){if(!t.__matchAtRelocatable){var e=t.source+"|()",r="g"+(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"");t.__matchAtRelocatable=new RegExp(e,r)}return t.__matchAtRelocatable}function i(t,e,r){if(t.global||t.sticky)throw new Error("matchAt(...): Only non-global regexes are supported");var i=n(t);i.lastIndex=r;var o=i.exec(e);return null==o[o.length-1]?(o.length=o.length-1,o):null}e.exports=i},{}],109:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("./Subscriber"),o=function(t){function e(e,r,n){t.call(this),this.parent=e,this.outerValue=r,this.outerIndex=n,this.index=0}return n(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}(i.Subscriber);r.InnerSubscriber=o},{"./Subscriber":116}],110:[function(t,e,r){"use strict";var n=t("./util/root"),i=t("./util/toSubscriber"),o=t("./symbol/observable"),s=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n=this.operator,o=i.toSubscriber(t,e,r);if(n?n.call(o,this.source):o.add(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 r=this;if(e||(n.root.Rx&&n.root.Rx.config&&n.root.Rx.config.Promise?e=n.root.Rx.config.Promise:n.root.Promise&&(e=n.root.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,n){var i;i=r.subscribe(function(e){if(i)try{t(e)}catch(t){n(t),i.unsubscribe()}else t(e)},n,e)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[o.observable]=function(){return this},t.create=function(e){return new t(e)},t}();r.Observable=s},{"./symbol/observable":150,"./util/root":163,"./util/toSubscriber":165}],111:[function(t,e,r){"use strict";r.empty={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}}},{}],112:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("./Subscriber"),o=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype.notifyNext=function(t,e,r,n,i){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(i.Subscriber);r.OuterSubscriber=o},{"./Subscriber":116}],113:[function(t,e,r){"use strict";var n=function(){function t(e,r){void 0===r&&(r=t.now),this.SchedulerAction=e,this.now=r}return t.prototype.schedule=function(t,e,r){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(r,e)},t.now=Date.now?Date.now:function(){return+new Date},t}();r.Scheduler=n},{}],114:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("./Observable"),o=t("./Subscriber"),s=t("./Subscription"),a=t("./util/ObjectUnsubscribedError"),u=t("./SubjectSubscription"),c=t("./symbol/rxSubscriber"),l=function(t){function e(e){t.call(this,e),this.destination=e}return n(e,t),e}(o.Subscriber);r.SubjectSubscriber=l;var p=function(t){function e(){t.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return n(e,t),e.prototype[c.rxSubscriber]=function(){return new l(this)},e.prototype.lift=function(t){var e=new h(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;if(!this.isStopped)for(var e=this.observers,r=e.length,n=e.slice(),i=0;i<r;i++)n[i].next(t)},e.prototype.error=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,r=e.length,n=e.slice(),i=0;i<r;i++)n[i].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new a.ObjectUnsubscribedError;this.isStopped=!0;for(var t=this.observers,e=t.length,r=t.slice(),n=0;n<e;n++)r[n].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 a.ObjectUnsubscribedError;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;return this.hasError?(t.error(this.thrownError),s.Subscription.EMPTY):this.isStopped?(t.complete(),s.Subscription.EMPTY):(this.observers.push(t),new u.SubjectSubscription(this,t))},e.prototype.asObservable=function(){var t=new i.Observable;return t.source=this,t},e.create=function(t,e){return new h(t,e)},e}(i.Observable);r.Subject=p;var h=function(t){function e(e,r){t.call(this),this.destination=e,this.source=r}return n(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):s.Subscription.EMPTY},e}(p);r.AnonymousSubject=h},{"./Observable":110,"./SubjectSubscription":115,"./Subscriber":116,"./Subscription":117,"./symbol/rxSubscriber":151,"./util/ObjectUnsubscribedError":152}],115:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("./Subscription"),o=function(t){function e(e,r){t.call(this),this.subject=e,this.subscriber=r,this.closed=!1}return n(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 r=e.indexOf(this.subscriber);-1!==r&&e.splice(r,1)}}},e}(i.Subscription);r.SubjectSubscription=o},{"./Subscription":117}],116:[function(t,e,r){"use strict";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},i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("./util/isFunction"),s=t("./Subscription"),a=t("./Observer"),u=t("./symbol/rxSubscriber"),c=function(t){function e(r,i,o){switch(t.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a.empty;break;case 1:if(!r){this.destination=a.empty;break}if("object"===(void 0===r?"undefined":n(r))){r instanceof e?(this.destination=r,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new l(this,r));break}default:this.syncErrorThrowable=!0,this.destination=new l(this,r,i,o)}}return i(e,t),e.prototype[u.rxSubscriber]=function(){return this},e.create=function(t,r,n){var i=new e(t,r,n);return i.syncErrorThrowable=!1,i},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,r=t._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=r,this},e}(s.Subscription);r.Subscriber=c;var l=function(t){function e(e,r,n,i){t.call(this),this._parentSubscriber=e;var s,u=this;o.isFunction(r)?s=r:r&&(s=r.next,n=r.error,i=r.complete,r!==a.empty&&(u=Object.create(r),o.isFunction(u.unsubscribe)&&this.add(u.unsubscribe.bind(u)),u.unsubscribe=this.unsubscribe.bind(this))),this._context=u,this._next=s,this._error=n,this._complete=i}return i(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(){if(!this.isStopped){var t=this._parentSubscriber;this._complete?t.syncErrorThrowable?(this.__tryOrSetError(t,this._complete),this.unsubscribe()):(this.__tryOrUnsub(this._complete),this.unsubscribe()):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,r){try{e.call(this._context,r)}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}(c)},{"./Observer":111,"./Subscription":117,"./symbol/rxSubscriber":151,"./util/isFunction":158}],117:[function(t,e,r){"use strict";function n(t){return t.reduce(function(t,e){return t.concat(e instanceof l.UnsubscriptionError?e.errors: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},o=t("./util/isArray"),s=t("./util/isObject"),a=t("./util/isFunction"),u=t("./util/tryCatch"),c=t("./util/errorObject"),l=t("./util/UnsubscriptionError"),p=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 r=this,i=r._parent,p=r._parents,h=r._unsubscribe,f=r._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var d=-1,b=p?p.length:0;i;)i.remove(this),i=++d<b&&p[d]||null;if(a.isFunction(h)){var m=u.tryCatch(h).call(this);m===c.errorObject&&(e=!0,t=t||(c.errorObject.e instanceof l.UnsubscriptionError?n(c.errorObject.e.errors):[c.errorObject.e]))}if(o.isArray(f))for(d=-1,b=f.length;++d<b;){var y=f[d];if(s.isObject(y)){var m=u.tryCatch(y.unsubscribe).call(y);if(m===c.errorObject){e=!0,t=t||[];var v=c.errorObject.e;v instanceof l.UnsubscriptionError?t=t.concat(n(v.errors)):t.push(v)}}}if(e)throw new l.UnsubscriptionError(t)}},t.prototype.add=function(e){if(!e||e===t.EMPTY)return t.EMPTY;if(e===this)return this;var r=e;switch(void 0===e?"undefined":i(e)){case"function":r=new t(e);case"object":if(r.closed||"function"!=typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if("function"!=typeof r._addParent){var n=r;r=new t,r._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(r),r._addParent(this),r},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var r=e.indexOf(t);-1!==r&&e.splice(r,1)}},t.prototype._addParent=function(t){var e=this,r=e._parent,n=e._parents;r&&r!==t?n?-1===n.indexOf(t)&&n.push(t):this._parents=[t]:this._parent=t},t.EMPTY=function(t){return t.closed=!0,t}(new t),t}();r.Subscription=p},{"./util/UnsubscriptionError":153,"./util/errorObject":154,"./util/isArray":155,"./util/isFunction":158,"./util/isObject":160,"./util/tryCatch":166}],118:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Observable"),o=t("./ScalarObservable"),s=t("./EmptyObservable"),a=t("../util/isScheduler"),u=function(t){function e(e,r){t.call(this),this.array=e,this.scheduler=r,r||1!==e.length||(this._isScalar=!0,this.value=e[0])}return n(e,t),e.create=function(t,r){return new e(t,r)},e.of=function(){for(var t=[],r=0;r<arguments.length;r++)t[r-0]=arguments[r];var n=t[t.length-1];a.isScheduler(n)?t.pop():n=null;var i=t.length;return i>1?new e(t,n):1===i?new o.ScalarObservable(t[0],n):new s.EmptyObservable(n)},e.dispatch=function(t){var e=t.array,r=t.index,n=t.count,i=t.subscriber;if(r>=n)return void i.complete();i.next(e[r]),i.closed||(t.index=r+1,this.schedule(t))},e.prototype._subscribe=function(t){var r=this.array,n=r.length,i=this.scheduler;if(i)return i.schedule(e.dispatch,0,{array:r,index:0,count:n,subscriber:t});for(var o=0;o<n&&!t.closed;o++)t.next(r[o]);t.complete()},e}(i.Observable);r.ArrayObservable=u},{"../Observable":110,"../util/isScheduler":162,"./EmptyObservable":120,"./ScalarObservable":122}],119:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Subject"),o=t("../Observable"),s=t("../Subscriber"),a=t("../Subscription"),u=function(t){function e(e,r){t.call(this),this.source=e,this.subjectFactory=r,this._refCount=0}return n(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||(t=this._connection=new a.Subscription,t.add(this.source.subscribe(new c(this.getSubject(),this))),t.closed?(this._connection=null,t=a.Subscription.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return this.lift(new l(this))},e}(o.Observable);r.ConnectableObservable=u,r.connectableObservableDescriptor={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:u.prototype._subscribe},getSubject:{value:u.prototype.getSubject},connect:{value:u.prototype.connect},refCount:{value:u.prototype.refCount}};var c=function(t){function e(e,r){t.call(this,e),this.connectable=r}return n(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){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}(i.SubjectSubscriber),l=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var r=this.connectable;r._refCount++;var n=new p(t,r),i=e.subscribe(n);return n.closed||(n.connection=r.connect()),i},t}(),p=function(t){function e(e,r){t.call(this,e),this.connectable=r}return n(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 r=this.connection,n=t._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()},e}(s.Subscriber)},{"../Observable":110,"../Subject":114,"../Subscriber":116,"../Subscription":117}],120:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Observable"),o=function(t){function e(e){t.call(this),this.scheduler=e}return n(e,t),e.create=function(t){return new e(t)},e.dispatch=function(t){t.subscriber.complete()},e.prototype._subscribe=function(t){var r=this.scheduler;if(r)return r.schedule(e.dispatch,0,{subscriber:t});t.complete()},e}(i.Observable);r.EmptyObservable=o},{"../Observable":110}],121:[function(t,e,r){"use strict";function n(t){return!!t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}function i(t){return!!t&&"function"==typeof t.on&&"function"==typeof t.off}function o(t){return!!t&&"[object NodeList]"===d.call(t)}function s(t){return!!t&&"[object HTMLCollection]"===d.call(t)}function a(t){return!!t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}var u=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},c=t("../Observable"),l=t("../util/tryCatch"),p=t("../util/isFunction"),h=t("../util/errorObject"),f=t("../Subscription"),d=Object.prototype.toString,b=function(t){function e(e,r,n,i){t.call(this),this.sourceObj=e,this.eventName=r,this.selector=n,this.options=i}return u(e,t),e.create=function(t,r,n,i){return p.isFunction(n)&&(i=n,n=void 0),new e(t,r,i,n)},e.setupSubscription=function(t,r,u,c,l){var p;if(o(t)||s(t))for(var h=0,d=t.length;h<d;h++)e.setupSubscription(t[h],r,u,c,l);else if(a(t)){var b=t;t.addEventListener(r,u,l),p=function(){return b.removeEventListener(r,u)}}else if(i(t)){var m=t;t.on(r,u),p=function(){return m.off(r,u)}}else{if(!n(t))throw new TypeError("Invalid event target");var y=t;t.addListener(r,u),p=function(){return y.removeListener(r,u)}}c.add(new f.Subscription(p))},e.prototype._subscribe=function(t){var r=this.sourceObj,n=this.eventName,i=this.options,o=this.selector,s=o?function(){for(var e=[],r=0;r<arguments.length;r++)e[r-0]=arguments[r];var n=l.tryCatch(o).apply(void 0,e);n===h.errorObject?t.error(h.errorObject.e):t.next(n)}:function(e){return t.next(e)};e.setupSubscription(r,n,s,t,i)},e}(c.Observable);r.FromEventObservable=b},{"../Observable":110,"../Subscription":117,"../util/errorObject":154,"../util/isFunction":158,"../util/tryCatch":166}],122:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Observable"),o=function(t){function e(e,r){t.call(this),this.value=e,this.scheduler=r,this._isScalar=!0,r&&(this._isScalar=!1)}return n(e,t),e.create=function(t,r){return new e(t,r)},e.dispatch=function(t){var e=t.done,r=t.value,n=t.subscriber;if(e)return void n.complete();n.next(r),n.closed||(t.done=!0,this.schedule(t))},e.prototype._subscribe=function(t){var r=this.value,n=this.scheduler;if(n)return n.schedule(e.dispatch,0,{done:!1,value:r,subscriber:t});t.next(r),t.closed||t.complete()},e}(i.Observable);r.ScalarObservable=o},{"../Observable":110}],123:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../util/isNumeric"),o=t("../Observable"),s=t("../scheduler/async"),a=t("../util/isScheduler"),u=t("../util/isDate"),c=function(t){function e(e,r,n){void 0===e&&(e=0),t.call(this),this.period=-1,this.dueTime=0,i.isNumeric(r)?this.period=Number(r)<1&&1||Number(r):a.isScheduler(r)&&(n=r),a.isScheduler(n)||(n=s.async),this.scheduler=n,this.dueTime=u.isDate(e)?+e-this.scheduler.now():e}return n(e,t),e.create=function(t,r,n){return void 0===t&&(t=0),new e(t,r,n)},e.dispatch=function(t){var e=t.index,r=t.period,n=t.subscriber,i=this;if(n.next(e),!n.closed){if(-1===r)return n.complete();t.index=e+1,i.schedule(t,r)}},e.prototype._subscribe=function(t){var r=this,n=r.period,i=r.dueTime;return r.scheduler.schedule(e.dispatch,i,{index:0,period:n,subscriber:t})},e}(o.Observable);r.TimerObservable=c},{"../Observable":110,"../scheduler/async":148,"../util/isDate":157,"../util/isNumeric":159,"../util/isScheduler":162}],124:[function(t,e,r){"use strict";var n=t("./EmptyObservable");r.empty=n.EmptyObservable.create},{"./EmptyObservable":120}],125:[function(t,e,r){"use strict";var n=t("./FromEventObservable");r.fromEvent=n.FromEventObservable.create},{"./FromEventObservable":121}],126:[function(t,e,r){"use strict";var n=t("./ArrayObservable");r.of=n.ArrayObservable.of},{"./ArrayObservable":118}],127:[function(t,e,r){"use strict";var n=t("./TimerObservable");r.timer=n.TimerObservable.create},{"./TimerObservable":123}],128:[function(t,e,r){"use strict";function n(t){var e=new a(t),r=this.lift(e);return e.caught=r}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),s=t("../util/subscribeToResult");r._catch=n;var a=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.selector,this.caught))},t}(),u=function(t){function e(e,r,n){t.call(this,e),this.selector=r,this.caught=n}return i(e,t),e.prototype.error=function(e){if(!this.isStopped){var r=void 0;try{r=this.selector(e,this.caught)}catch(e){return void t.prototype.error.call(this,e)}this._unsubscribeAndRecycle(),this.add(s.subscribeToResult(this,r))}},e}(o.OuterSubscriber)},{"../OuterSubscriber":112,"../util/subscribeToResult":164}],129:[function(t,e,r){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return this.lift.call(i.apply(void 0,[this].concat(t)))}function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var r=null,n=t;return s.isScheduler(n[t.length-1])&&(r=n.pop()),null===r&&1===t.length&&t[0]instanceof o.Observable?t[0]:new a.ArrayObservable(t,r).lift(new u.MergeAllOperator(1))}var o=t("../Observable"),s=t("../util/isScheduler"),a=t("../observable/ArrayObservable"),u=t("./mergeAll");r.concat=n,r.concatStatic=i},{"../Observable":110,"../observable/ArrayObservable":118,"../util/isScheduler":162,"./mergeAll":136}],130:[function(t,e,r){"use strict";function n(t,e){return void 0===e&&(e=a.async),this.lift(new u(t,e))}function i(t){t.debouncedNext()}var o=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},s=t("../Subscriber"),a=t("../scheduler/async");r.debounceTime=n;var u=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.dueTime,this.scheduler))},t}(),c=function(t){function e(e,r,n){t.call(this,e),this.dueTime=r,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}return o(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(i,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}(s.Subscriber)},{"../Subscriber":116,"../scheduler/async":148}],131:[function(t,e,r){"use strict";function n(t,e,r){return this.lift(new s(t,e,r))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber");r._do=n;var s=function(){function t(t,e,r){this.nextOrObserver=t,this.error=e,this.complete=r}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.nextOrObserver,this.error,this.complete))},t}(),a=function(t){function e(e,r,n,i){t.call(this,e);var s=new o.Subscriber(r,n,i);s.syncErrorThrowable=!0,this.add(s),this.safeSubscriber=s}return i(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}(o.Subscriber)},{"../Subscriber":116}],132:[function(t,e,r){"use strict";function n(t,e){return this.lift(new a(t,e))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),s=t("../util/subscribeToResult");r.exhaustMap=n;var a=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.project,this.resultSelector))},t}(),u=function(t){function e(e,r,n){t.call(this,e),this.project=r,this.resultSelector=n,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}return i(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e=this.index++,r=this.destination;try{var n=this.project(t,e);this.hasSubscription=!0,this.add(s.subscribeToResult(this,n,t,e))}catch(t){r.error(t)}},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyNext=function(t,e,r,n,i){var o=this,s=o.resultSelector,a=o.destination;s?this.trySelectResult(t,e,r,n):a.next(e)},e.prototype.trySelectResult=function(t,e,r,n){var i=this,o=i.resultSelector,s=i.destination;try{var a=o(t,e,r,n);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}(o.OuterSubscriber)},{"../OuterSubscriber":112,"../util/subscribeToResult":164}],133:[function(t,e,r){"use strict";function n(t,e){return this.lift(new s(t,e))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber");r.filter=n;var s=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.thisArg))},t}(),a=function(t){function e(e,r,n){t.call(this,e),this.predicate=r,this.thisArg=n,this.count=0,this.predicate=r}return i(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}(o.Subscriber)},{"../Subscriber":116}],134:[function(t,e,r){"use strict";function n(t){return this.lift(new a(t))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber"),s=t("../Subscription");r._finally=n;var a=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.callback))},t}(),u=function(t){function e(e,r){t.call(this,e),this.add(new s.Subscription(r))}return i(e,t),e}(o.Subscriber)},{"../Subscriber":116,"../Subscription":117}],135:[function(t,e,r){"use strict";function n(t,e){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return this.lift(new s(t,e))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber");r.map=n;var s=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.thisArg))},t}();r.MapOperator=s;var a=function(t){function e(e,r,n){t.call(this,e),this.project=r,this.count=0,this.thisArg=n||this}return i(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}(o.Subscriber)},{"../Subscriber":116}],136:[function(t,e,r){"use strict";function n(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),this.lift(new a(t))}var i=function(t,e){function r(){this.constructor=t}
|
22
|
-
for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),s=t("../util/subscribeToResult");r.mergeAll=n;var a=function(){function t(t){this.concurrent=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.concurrent))},t}();r.MergeAllOperator=a;var u=function(t){function e(e,r){t.call(this,e),this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0}return i(e,t),e.prototype._next=function(t){this.active<this.concurrent?(this.active++,this.add(s.subscribeToResult(this,t))):this.buffer.push(t)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},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}(o.OuterSubscriber);r.MergeAllSubscriber=u},{"../OuterSubscriber":112,"../util/subscribeToResult":164}],137:[function(t,e,r){"use strict";function n(t,e,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"number"==typeof e&&(r=e,e=null),this.lift(new a(t,e,r))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../util/subscribeToResult"),s=t("../OuterSubscriber");r.mergeMap=n;var a=function(){function t(t,e,r){void 0===r&&(r=Number.POSITIVE_INFINITY),this.project=t,this.resultSelector=e,this.concurrent=r}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.project,this.resultSelector,this.concurrent))},t}();r.MergeMapOperator=a;var u=function(t){function e(e,r,n,i){void 0===i&&(i=Number.POSITIVE_INFINITY),t.call(this,e),this.project=r,this.resultSelector=n,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return i(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,r=this.index++;try{e=this.project(t,r)}catch(t){return void this.destination.error(t)}this.active++,this._innerSub(e,t,r)},e.prototype._innerSub=function(t,e,r){this.add(o.subscribeToResult(this,t,e,r))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},e.prototype.notifyNext=function(t,e,r,n,i){this.resultSelector?this._notifyResultSelector(t,e,r,n):this.destination.next(e)},e.prototype._notifyResultSelector=function(t,e,r,n){var i;try{i=this.resultSelector(t,e,r,n)}catch(t){return void this.destination.error(t)}this.destination.next(i)},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}(s.OuterSubscriber);r.MergeMapSubscriber=u},{"../OuterSubscriber":112,"../util/subscribeToResult":164}],138:[function(t,e,r){"use strict";function n(t,e){var r;if(r="function"==typeof t?t:function(){return t},"function"==typeof e)return this.lift(new o(r,e));var n=Object.create(this,i.connectableObservableDescriptor);return n.source=this,n.subjectFactory=r,n}var i=t("../observable/ConnectableObservable");r.multicast=n;var o=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var r=this.selector,n=this.subjectFactory(),i=r(n).subscribe(t);return i.add(e.subscribe(n)),i},t}();r.MulticastOperator=o},{"../observable/ConnectableObservable":119}],139:[function(t,e,r){"use strict";function n(){return this.lift(new s)}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber");r.pairwise=n;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e),this.hasPrev=!1}return i(e,t),e.prototype._next=function(t){this.hasPrev?this.destination.next([this.prev,t]):this.hasPrev=!0,this.prev=t},e}(o.Subscriber)},{"../Subscriber":116}],140:[function(t,e,r){"use strict";function n(){return new s.Subject}function i(){return o.multicast.call(this,n).refCount()}var o=t("./multicast"),s=t("../Subject");r.share=i},{"../Subject":114,"./multicast":138}],141:[function(t,e,r){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var r=t[t.length-1];u.isScheduler(r)?t.pop():r=null;var n=t.length;return 1===n?a.concatStatic(new o.ScalarObservable(t[0],r),this):n>1?a.concatStatic(new i.ArrayObservable(t,r),this):a.concatStatic(new s.EmptyObservable(r),this)}var i=t("../observable/ArrayObservable"),o=t("../observable/ScalarObservable"),s=t("../observable/EmptyObservable"),a=t("./concat"),u=t("../util/isScheduler");r.startWith=n},{"../observable/ArrayObservable":118,"../observable/EmptyObservable":120,"../observable/ScalarObservable":122,"../util/isScheduler":162,"./concat":129}],142:[function(t,e,r){"use strict";function n(t,e){return this.lift(new a(t,e))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),s=t("../util/subscribeToResult");r.switchMap=n;var a=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.project,this.resultSelector))},t}(),u=function(t){function e(e,r,n){t.call(this,e),this.project=r,this.resultSelector=n,this.index=0}return i(e,t),e.prototype._next=function(t){var e,r=this.index++;try{e=this.project(t,r)}catch(t){return void this.destination.error(t)}this._innerSub(e,t,r)},e.prototype._innerSub=function(t,e,r){var n=this.innerSubscription;n&&n.unsubscribe(),this.add(this.innerSubscription=s.subscribeToResult(this,t,e,r))},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,r,n,i){this.resultSelector?this._tryNotifyNext(t,e,r,n):this.destination.next(e)},e.prototype._tryNotifyNext=function(t,e,r,n){var i;try{i=this.resultSelector(t,e,r,n)}catch(t){return void this.destination.error(t)}this.destination.next(i)},e}(o.OuterSubscriber)},{"../OuterSubscriber":112,"../util/subscribeToResult":164}],143:[function(t,e,r){"use strict";function n(t){return this.lift(new a(t))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),s=t("../util/subscribeToResult");r.takeUntil=n;var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.notifier))},t}(),u=function(t){function e(e,r){t.call(this,e),this.notifier=r,this.add(s.subscribeToResult(this,r))}return i(e,t),e.prototype.notifyNext=function(t,e,r,n,i){this.complete()},e.prototype.notifyComplete=function(){},e}(o.OuterSubscriber)},{"../OuterSubscriber":112,"../util/subscribeToResult":164}],144:[function(t,e,r){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return this.lift.call(i.apply(void 0,[this].concat(t)))}function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var r=t[t.length-1];return"function"==typeof r&&t.pop(),new s.ArrayObservable(t).lift(new h(r))}var o=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},s=t("../observable/ArrayObservable"),a=t("../util/isArray"),u=t("../Subscriber"),c=t("../OuterSubscriber"),l=t("../util/subscribeToResult"),p=t("../symbol/iterator");r.zipProto=n,r.zipStatic=i;var h=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new f(t,this.project))},t}();r.ZipOperator=h;var f=function(t){function e(e,r,n){void 0===n&&(n=Object.create(null)),t.call(this,e),this.iterators=[],this.active=0,this.project="function"==typeof r?r:null,this.values=n}return o(e,t),e.prototype._next=function(t){var e=this.iterators;a.isArray(t)?e.push(new b(t)):"function"==typeof t[p.iterator]?e.push(new d(t[p.iterator]())):e.push(new m(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 r=0;r<e;r++){var n=t[r];n.stillUnsubscribed?this.add(n.subscribe(n,r)):this.active--}},e.prototype.notifyInactive=function(){0===--this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var t=this.iterators,e=t.length,r=this.destination,n=0;n<e;n++){var i=t[n];if("function"==typeof i.hasValue&&!i.hasValue())return}for(var o=!1,s=[],n=0;n<e;n++){var i=t[n],a=i.next();if(i.hasCompleted()&&(o=!0),a.done)return void r.complete();s.push(a.value)}this.project?this._tryProject(s):r.next(s),o&&r.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}(u.Subscriber);r.ZipSubscriber=f;var d=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}(),b=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[p.iterator]=function(){return this},t.prototype.next=function(t){var e=this.index++,r=this.array;return e<this.length?{value:r[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}(),m=function(t){function e(e,r,n){t.call(this,e),this.parent=r,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return o(e,t),e.prototype[p.iterator]=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,r,n,i){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return l.subscribeToResult(this,this.observable,this,e)},e}(c.OuterSubscriber)},{"../OuterSubscriber":112,"../Subscriber":116,"../observable/ArrayObservable":118,"../symbol/iterator":149,"../util/isArray":155,"../util/subscribeToResult":164}],145:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Subscription"),o=function(t){function e(e,r){t.call(this)}return n(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(i.Subscription);r.Action=o},{"../Subscription":117}],146:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../util/root"),o=t("./Action"),s=function(t){function e(e,r){t.call(this,e,r),this.scheduler=e,this.work=r,this.pending=!1}return n(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 r=this.id,n=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(n,r,e)),this.delay=e,this.id=this.id||this.requestAsyncId(n,this.id,e),this},e.prototype.requestAsyncId=function(t,e,r){return void 0===r&&(r=0),i.root.setInterval(t.flush.bind(t,this),r)},e.prototype.recycleAsyncId=function(t,e,r){return void 0===r&&(r=0),null!==r&&this.delay===r?e:i.root.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 r=this._execute(t,e);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var r=!1,n=void 0;try{this.work(t)}catch(t){r=!0,n=!!t&&t||new Error(t)}if(r)return this.unsubscribe(),n},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,r=e.actions,n=r.indexOf(this);this.work=null,this.delay=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&r.splice(n,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null))},e}(o.Action);r.AsyncAction=s},{"../util/root":163,"./Action":145}],147:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Scheduler"),o=function(t){function e(){t.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return n(e,t),e.prototype.flush=function(t){var e=this.actions;if(this.active)return void e.push(t);var r;this.active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,r){for(;t=e.shift();)t.unsubscribe();throw r}},e}(i.Scheduler);r.AsyncScheduler=o},{"../Scheduler":113}],148:[function(t,e,r){"use strict";var n=t("./AsyncAction"),i=t("./AsyncScheduler");r.async=new i.AsyncScheduler(n.AsyncAction)},{"./AsyncAction":146,"./AsyncScheduler":147}],149:[function(t,e,r){"use strict";function n(t){var e=t.Symbol;if("function"==typeof e)return e.iterator||(e.iterator=e("iterator polyfill")),e.iterator;var r=t.Set;if(r&&"function"==typeof(new r)["@@iterator"])return"@@iterator";var n=t.Map;if(n)for(var i=Object.getOwnPropertyNames(n.prototype),o=0;o<i.length;++o){var s=i[o];if("entries"!==s&&"size"!==s&&n.prototype[s]===n.prototype.entries)return s}return"@@iterator"}var i=t("../util/root");r.symbolIteratorPonyfill=n,r.iterator=n(i.root),r.$$iterator=r.iterator},{"../util/root":163}],150:[function(t,e,r){"use strict";function n(t){var e,r=t.Symbol;return"function"==typeof r?r.observable?e=r.observable:(e=r("observable"),r.observable=e):e="@@observable",e}var i=t("../util/root");r.getSymbolObservable=n,r.observable=n(i.root),r.$$observable=r.observable},{"../util/root":163}],151:[function(t,e,r){"use strict";var n=t("../util/root"),i=n.root.Symbol;r.rxSubscriber="function"==typeof i&&"function"==typeof i.for?i.for("rxSubscriber"):"@@rxSubscriber",r.$$rxSubscriber=r.rxSubscriber},{"../util/root":163}],152:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=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 n(e,t),e}(Error);r.ObjectUnsubscribedError=i},{}],153:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=function(t){function e(e){t.call(this),this.errors=e;var r=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=r.name="UnsubscriptionError",this.stack=r.stack,this.message=r.message}return n(e,t),e}(Error);r.UnsubscriptionError=i},{}],154:[function(t,e,r){"use strict";r.errorObject={e:{}}},{}],155:[function(t,e,r){"use strict";r.isArray=Array.isArray||function(t){return t&&"number"==typeof t.length}},{}],156:[function(t,e,r){"use strict";r.isArrayLike=function(t){return t&&"number"==typeof t.length}},{}],157:[function(t,e,r){"use strict";function n(t){return t instanceof Date&&!isNaN(+t)}r.isDate=n},{}],158:[function(t,e,r){"use strict";function n(t){return"function"==typeof t}r.isFunction=n},{}],159:[function(t,e,r){"use strict";function n(t){return!i.isArray(t)&&t-parseFloat(t)+1>=0}var i=t("../util/isArray");r.isNumeric=n},{"../util/isArray":155}],160:[function(t,e,r){"use strict";function n(t){return null!=t&&"object"===(void 0===t?"undefined":i(t))}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};r.isObject=n},{}],161:[function(t,e,r){"use strict";function n(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}r.isPromise=n},{}],162:[function(t,e,r){"use strict";function n(t){return t&&"function"==typeof t.schedule}r.isScheduler=n},{}],163:[function(t,e,r){(function(t){"use strict";var e="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};if(r.root="object"==("undefined"==typeof window?"undefined":e(window))&&window.window===window&&window||"object"==("undefined"==typeof self?"undefined":e(self))&&self.self===self&&self||"object"==(void 0===t?"undefined":e(t))&&t.global===t&&t,!r.root)throw new Error("RxJS could not find any global context (window, self, global)")}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],164:[function(t,e,r){"use strict";function n(t,e,r,n){var h=new l.InnerSubscriber(t,r,n);if(h.closed)return null;if(e instanceof u.Observable)return e._isScalar?(h.next(e.value),h.complete(),null):e.subscribe(h);if(o.isArrayLike(e)){for(var f=0,d=e.length;f<d&&!h.closed;f++)h.next(e[f]);h.closed||h.complete()}else{if(s.isPromise(e))return e.then(function(t){h.closed||(h.next(t),h.complete())},function(t){return h.error(t)}).then(null,function(t){i.root.setTimeout(function(){throw t})}),h;if(e&&"function"==typeof e[c.iterator])for(var b=e[c.iterator]();;){var m=b.next();if(m.done){h.complete();break}if(h.next(m.value),h.closed)break}else if(e&&"function"==typeof e[p.observable]){var y=e[p.observable]();if("function"==typeof y.subscribe)return y.subscribe(new l.InnerSubscriber(t,r,n));h.error(new TypeError("Provided object does not correctly implement Symbol.observable"))}else{var v=a.isObject(e)?"an invalid object":"'"+e+"'",g="You provided "+v+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.";h.error(new TypeError(g))}}return null}var i=t("./root"),o=t("./isArrayLike"),s=t("./isPromise"),a=t("./isObject"),u=t("../Observable"),c=t("../symbol/iterator"),l=t("../InnerSubscriber"),p=t("../symbol/observable");r.subscribeToResult=n},{"../InnerSubscriber":109,"../Observable":110,"../symbol/iterator":149,"../symbol/observable":150,"./isArrayLike":156,"./isObject":160,"./isPromise":161,"./root":163}],165:[function(t,e,r){"use strict";function n(t,e,r){if(t){if(t instanceof i.Subscriber)return t;if(t[o.rxSubscriber])return t[o.rxSubscriber]()}return t||e||r?new i.Subscriber(t,e,r):new i.Subscriber(s.empty)}var i=t("../Subscriber"),o=t("../symbol/rxSubscriber"),s=t("../Observer");r.toSubscriber=n},{"../Observer":111,"../Subscriber":116,"../symbol/rxSubscriber":151}],166:[function(t,e,r){"use strict";function n(){try{return o.apply(this,arguments)}catch(t){return s.errorObject.e=t,s.errorObject}}function i(t){return o=t,n}var o,s=t("./errorObject");r.tryCatch=i},{"./errorObject":154}],167:[function(require,module,exports){!function(a,b){var c={},d={},e={},f=null;!function(t,e){function r(t){if("number"==typeof t)return t;var e={};for(var r in t)e[r]=t[r];return e}function n(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=S}function i(){return t.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function o(e,r,i){var o=new n;return r&&(o.fill="both",o.duration="auto"),"number"!=typeof e||isNaN(e)?void 0!==e&&Object.getOwnPropertyNames(e).forEach(function(r){if("auto"!=e[r]){if(("number"==typeof o[r]||"duration"==r)&&("number"!=typeof e[r]||isNaN(e[r])))return;if("fill"==r&&-1==_.indexOf(e[r]))return;if("direction"==r&&-1==x.indexOf(e[r]))return;if("playbackRate"==r&&1!==e[r]&&t.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;o[r]=e[r]}}):o.duration=e,o}function s(t){return"number"==typeof t&&(t=isNaN(t)?{duration:0}:{duration:t}),t}function a(e,r){return e=t.numericTimingToObject(e),o(e,r)}function u(t,e,r,n){return t<0||t>1||r<0||r>1?S:function(i){function o(t,e,r){return 3*t*(1-r)*(1-r)*r+3*e*(1-r)*r*r+r*r*r}if(i<=0){var s=0;return t>0?s=e/t:!e&&r>0&&(s=n/r),s*i}if(i>=1){var a=0;return r<1?a=(n-1)/(r-1):1==r&&t<1&&(a=(e-1)/(t-1)),1+a*(i-1)}for(var u=0,c=1;u<c;){var l=(u+c)/2,p=o(t,r,l);if(Math.abs(i-p)<1e-5)return o(e,n,l);p<i?u=l:c=l}return o(e,n,l)}}function c(t,e){return function(r){if(r>=1)return 1;var n=1/t;return(r+=e*n)-r%n}}function l(t){E||(E=document.createElement("div").style),E.animationTimingFunction="",E.animationTimingFunction=t;var e=E.animationTimingFunction;if(""==e&&i())throw new TypeError(t+" is not a valid value for easing");return e}function p(t){if("linear"==t)return S;var e=M.exec(t);if(e)return u.apply(this,e.slice(1).map(Number));var r=P.exec(t);if(r)return c(Number(r[1]),{start:O,middle:j,end:k}[r[2]]);var n=T[t];return n||S}function h(t){return Math.abs(f(t)/t.playbackRate)}function f(t){return 0===t.duration||0===t.iterations?0:t.duration*t.iterations}function d(t,e,r){if(null==e)return C;var n=r.delay+t+r.endDelay;return e<Math.min(r.delay,n)?N:e>=Math.min(r.delay+t,n)?R:z}function b(t,e,r,n,i){switch(n){case N:return"backwards"==e||"both"==e?0:null;case z:return r-i;case R:return"forwards"==e||"both"==e?t:null;case C:return null}}function m(t,e,r,n,i){var o=i;return 0===t?e!==N&&(o+=r):o+=n/t,o}function y(t,e,r,n,i,o){var s=t===1/0?e%1:t%1;return 0!==s||r!==R||0===n||0===i&&0!==o||(s=1),s}function v(t,e,r,n){return t===R&&e===1/0?1/0:1===r?Math.floor(n)-1:Math.floor(n)}function g(t,e,r){var n=t;if("normal"!==t&&"reverse"!==t){var i=e;"alternate-reverse"===t&&(i+=1),n="normal",i!==1/0&&i%2!=0&&(n="reverse")}return"normal"===n?r:1-r}function w(t,e,r){var n=d(t,e,r),i=b(t,r.fill,e,n,r.delay);if(null===i)return null;var o=m(r.duration,n,r.iterations,i,r.iterationStart),s=y(o,r.iterationStart,n,r.iterations,i,r.duration),a=v(n,r.iterations,s,o),u=g(r.direction,a,s);return r._easingFunction(u)}var _="backwards|forwards|both|none".split("|"),x="reverse|alternate|alternate-reverse".split("|"),S=function(t){return t};n.prototype={_setMember:function(e,r){this["_"+e]=r,this._effect&&(this._effect._timingInput[e]=r,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)&&i())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)&&i())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=p(l(t)),this._setMember("easing",t)},get easing(){return this._easing},set iterations(t){if((isNaN(t)||t<0)&&i())throw new TypeError("iterations must be non-negative, received: "+t);this._setMember("iterations",t)},get iterations(){return this._iterations}};var O=1,j=.5,k=0,T={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,O),"step-middle":c(1,j),"step-end":c(1,k)},E=null,A="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",M=new RegExp("cubic-bezier\\("+A+","+A+","+A+","+A+"\\)"),P=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,C=0,N=1,R=2,z=3;t.cloneTimingInput=r,t.makeTiming=o,t.numericTimingToObject=s,t.normalizeTimingInput=a,t.calculateActiveDuration=h,t.calculateIterationProgress=w,t.calculatePhase=d,t.normalizeEasing=l,t.parseEasingFunction=p}(c),function(t,e){function r(t,e){return t in l?l[t][e]||e:e}function n(t){return"display"===t||0===t.lastIndexOf("animation",0)||0===t.lastIndexOf("transition",0)}function i(t,e,i){if(!n(t)){var o=a[t];if(o){u.style[t]=e;for(var s in o){var c=o[s],l=u.style[c];i[c]=r(c,l)}}else i[t]=r(t,e)}}function o(t){var e=[];for(var r in t)if(!(r in["easing","offset","composite"])){var n=t[r];Array.isArray(n)||(n=[n]);for(var i,o=n.length,s=0;s<o;s++)i={},i.offset="offset"in t?t.offset:1==o?1:s/(o-1),"easing"in t&&(i.easing=t.easing),"composite"in t&&(i.composite=t.composite),i[r]=n[s],e.push(i)}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=o(e));for(var r=e.map(function(e){var r={};for(var n in e){var o=e[n];if("offset"==n){if(null!=o){if(o=Number(o),!isFinite(o))throw new TypeError("Keyframe offsets must be numbers.");if(o<0||o>1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==n){if("add"==o||"accumulate"==o)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=o)throw new TypeError("Invalid composite mode "+o+".")}else o="easing"==n?t.normalizeEasing(o):""+o;i(n,o,r)}return void 0==r.offset&&(r.offset=null),void 0==r.easing&&(r.easing="linear"),r}),n=!0,s=-1/0,a=0;a<r.length;a++){var u=r[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 n=!1}return r=r.filter(function(t){return t.offset>=0&&t.offset<=1}),n||function(){var t=r.length;null==r[t-1].offset&&(r[t-1].offset=1),t>1&&null==r[0].offset&&(r[0].offset=0);for(var e=0,n=r[0].offset,i=1;i<t;i++){var o=r[i].offset;if(null!=o){for(var s=1;s<i-e;s++)r[e+s].offset=n+(o-n)*s/(i-e);e=i,n=o}}}(),r}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=o,t.normalizeKeyframes=s}(c),function(t){var e={};t.isDeprecated=function(t,r,n,i){var o=i?"are":"is",s=new Date,a=new Date(r);return a.setMonth(a.getMonth()+3),!(s<a&&(t in e||console.warn("Web Animations: "+t+" "+o+" deprecated and will stop working on "+a.toDateString()+". "+n),e[t]=!0,1))},t.deprecated=function(e,r,n,i){var o=i?"are":"is";if(t.isDeprecated(e,r,n,i))throw new Error(e+" "+o+" no longer supported. "+n)}}(c),function(){if(document.documentElement.animate){var a=document.documentElement.animate([],0),b=!0;if(a&&(b=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach(function(t){void 0===a[t]&&(b=!0)})),!b)return}!function(t,e,r){function n(t){for(var e={},r=0;r<t.length;r++)for(var n in t[r])if("offset"!=n&&"easing"!=n&&"composite"!=n){var i={offset:t[r].offset,easing:t[r].easing,value:t[r][n]};e[n]=e[n]||[],e[n].push(i)}for(var o in e){var s=e[o];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 i(r){var n=[];for(var i in r)for(var o=r[i],s=0;s<o.length-1;s++){var a=s,u=s+1,c=o[a].offset,l=o[u].offset,p=c,h=l;0==s&&(p=-1/0,0==l&&(u=a)),s==o.length-2&&(h=1/0,1==c&&(a=u)),n.push({applyFrom:p,applyTo:h,startOffset:o[a].offset,endOffset:o[u].offset,easingFunction:t.parseEasingFunction(o[a].easing),property:i,interpolation:e.propertyInterpolation(i,o[a].value,o[u].value)})}return n.sort(function(t,e){return t.startOffset-e.startOffset}),n}e.convertEffectInput=function(r){var o=t.normalizeKeyframes(r),s=n(o),a=i(s);return function(t,r){if(null!=r)a.filter(function(t){return r>=t.applyFrom&&r<t.applyTo}).forEach(function(n){var i=r-n.startOffset,o=n.endOffset-n.startOffset,s=0==o?0:n.easingFunction(i/o);e.apply(t,n.property,n.interpolation(s))});else for(var n in s)"offset"!=n&&"easing"!=n&&"composite"!=n&&e.clear(t,n)}}}(c,d),function(t,e,r){function n(t){return t.replace(/-(.)/g,function(t,e){return e.toUpperCase()})}function i(t,e,r){a[r]=a[r]||[],a[r].push([t,e])}function o(t,e,r){for(var o=0;o<r.length;o++){i(t,e,n(r[o]))}}function s(r,i,o){var s=r;/-/.test(r)&&!t.isDeprecated("Hyphenated property names","2016-03-22","Use camelCase instead.",!0)&&(s=n(r)),"initial"!=i&&"initial"!=o||("initial"==i&&(i=u[s]),"initial"==o&&(o=u[s]));for(var c=i==o?[]:a[s],l=0;c&&l<c.length;l++){var p=c[l][0](i),h=c[l][0](o);if(void 0!==p&&void 0!==h){var f=c[l][1](p,h);if(f){var d=e.Interpolation.apply(null,f);return function(t){return 0==t?i:1==t?o:d(t)}}}}return e.Interpolation(!1,!0,function(t){return t?o:i})}var a={};e.addPropertiesHandler=o;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",
|
23
|
-
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",textIndent:"0px",textShadow:"0px 0px 0px transparent",top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",wordSpacing:"normal",zIndex:"auto"};e.propertyInterpolation=s}(c,d),function(t,e,r){function n(e){var r=t.calculateActiveDuration(e),n=function(n){return t.calculateIterationProgress(r,n,e)};return n._totalDuration=e.delay+r+e.endDelay,n}e.KeyframeEffect=function(r,i,o,s){var a,u=n(t.normalizeTimingInput(o)),c=e.convertEffectInput(i),l=function(){c(r,a)};return l._update=function(t){return null!==(a=u(t))},l._clear=function(){c(r,null)},l._hasSameTarget=function(t){return r===t},l._target=r,l._totalDuration=u._totalDuration,l._id=s,l},e.NullEffect=function(t){var e=function(){t&&(t(),t=null)};return e._update=function(){return null},e._totalDuration=0,e._hasSameTarget=function(){return!1},e}}(c,d),function(t,e){function r(t,e,r){r.enumerable=!0,r.configurable=!0,Object.defineProperty(t,e,r)}function n(t){this._surrogateStyle=document.createElementNS("http://www.w3.org/1999/xhtml","div").style,this._style=t.style,this._length=0,this._isAnimatedProperty={};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 n(t);try{r(t,"style",{get:function(){return e}})}catch(e){t.style._set=function(e,r){t.style[e]=r},t.style._clear=function(e){t.style[e]=""}}t._webAnimationsPatchedStyle=t.style}}var o={cssText:1,length:1,parentRule:1},s={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},a={removeProperty:1,setProperty:1};n.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(t){for(var e={},r=0;r<this._surrogateStyle.length;r++)e[this._surrogateStyle[r]]=!0;this._surrogateStyle.cssText=t,this._updateIndices();for(var r=0;r<this._surrogateStyle.length;r++)e[this._surrogateStyle[r]]=!0;for(var n in e)this._isAnimatedProperty[n]||this._style.setProperty(n,this._surrogateStyle.getPropertyValue(n))},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(t,e){this._style[t]=e,this._isAnimatedProperty[t]=!0},_clear:function(t){this._style[t]=this._surrogateStyle[t],delete this._isAnimatedProperty[t]}};for(var u in s)n.prototype[u]=function(t,e){return function(){var r=this._surrogateStyle[t].apply(this._surrogateStyle,arguments);return e&&(this._isAnimatedProperty[arguments[0]]||this._style[t].apply(this._style,arguments),this._updateIndices()),r}}(u,u in a);for(var c in document.documentElement.style)c in o||c in s||function(t){r(n.prototype,t,{get:function(){return this._surrogateStyle[t]},set:function(e){this._surrogateStyle[t]=e,this._updateIndices(),this._isAnimatedProperty[t]||(this._style[t]=e)}})}(c);t.apply=function(e,r,n){i(e),e.style._set(t.propertyName(r),n)},t.clear=function(e,r){e._webAnimationsPatchedStyle&&e.style._clear(t.propertyName(r))}}(d),function(t){window.Element.prototype.animate=function(e,r){var n="";return r&&r.id&&(n=r.id),t.timeline._play(t.KeyframeEffect(this,e,r,n))}}(d),function(t,e){function r(t,e,n){if("number"==typeof t&&"number"==typeof e)return t*(1-n)+e*n;if("boolean"==typeof t&&"boolean"==typeof e)return n<.5?t:e;if(t.length==e.length){for(var i=[],o=0;o<t.length;o++)i.push(r(t[o],e[o],n));return i}throw"Mismatched interpolation arguments "+t+":"+e}t.Interpolation=function(t,e,n){return function(i){return n(r(t,e,i))}}}(d),function(t,e){function r(t,e,r){return Math.max(Math.min(t,r),e)}function n(e,n,i){var o=t.dot(e,n);o=r(o,-1,1);var s=[];if(1===o)s=e;else for(var a=Math.acos(o),u=1*Math.sin(i*a)/Math.sqrt(1-o*o),c=0;c<4;c++)s.push(e[c]*(Math.cos(i*a)-o*u)+n[c]*u);return s}var i=function(){function t(t,e){for(var r=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],n=0;n<4;n++)for(var i=0;i<4;i++)for(var o=0;o<4;o++)r[n][i]+=e[n][o]*t[o][i];return r}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 r(r,n,i,o,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]+=r[c]*a[c][u];var l=o[0],p=o[1],h=o[2],f=o[3],d=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];d[0][0]=1-2*(p*p+h*h),d[0][1]=2*(l*p-h*f),d[0][2]=2*(l*h+p*f),d[1][0]=2*(l*p+h*f),d[1][1]=1-2*(l*l+h*h),d[1][2]=2*(p*h-l*f),d[2][0]=2*(l*h-p*f),d[2][1]=2*(p*h+l*f),d[2][2]=1-2*(l*l+p*p),a=t(a,d);var b=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];i[2]&&(b[2][1]=i[2],a=t(a,b)),i[1]&&(b[2][1]=0,b[2][0]=i[0],a=t(a,b)),i[0]&&(b[2][0]=0,b[1][0]=i[0],a=t(a,b));for(var u=0;u<3;u++)for(var c=0;c<3;c++)a[u][c]*=n[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 r}();t.composeMatrix=i,t.quat=n}(d),function(t,e,r){t.sequenceNumber=0;var n=function(t,e,r){this.target=t,this.currentTime=e,this.timelineTime=r,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 r=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!=r&&(this.currentTime=r)}},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 r=this._finishHandlers.indexOf(e);r>=0&&this._finishHandlers.splice(r,1)}},_fireEvents:function(t){if(this._isFinished){if(!this._finishedFlag){var e=new n(this,this._currentTime,t),r=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout(function(){r.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)}}}(c,d),function(t,e,r){function n(t){var e=c;c=[],t<m.currentTime&&(t=m.currentTime),m._animations.sort(i),m._animations=a(t,!0,m._animations)[0],e.forEach(function(e){e[1](t)}),s(),p=void 0}function i(t,e){return t._sequenceNumber-e._sequenceNumber}function o(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function s(){d.forEach(function(t){t()}),d.length=0}function a(t,r,n){b=!0,f=!1,e.timeline.currentTime=t,h=!1;var i=[],o=[],s=[],a=[];return n.forEach(function(e){e._tick(t,r),e._inEffect?(o.push(e._effect),e._markTarget()):(i.push(e._effect),e._unmarkTarget()),e._needsTick&&(h=!0);var n=e._inEffect||e._needsTick;e._inTimeline=n,n?s.push(e):a.push(e)}),d.push.apply(d,i),d.push.apply(d,o),h&&requestAnimationFrame(function(){}),b=!1,[s,a]}var u=window.requestAnimationFrame,c=[],l=0;window.requestAnimationFrame=function(t){var e=l++;return 0==c.length&&u(n),c.push([e,t]),e},window.cancelAnimationFrame=function(t){c.forEach(function(e){e[0]==t&&(e[1]=function(){})})},o.prototype={_play:function(r){r._timing=t.normalizeTimingInput(r.timing);var n=new e.Animation(r);return n._idle=!1,n._timeline=this,this._animations.push(n),e.restart(),e.applyDirtiedAnimation(n),n}};var p=void 0,h=!1,f=!1;e.restart=function(){return h||(h=!0,requestAnimationFrame(function(){}),f=!0),f},e.applyDirtiedAnimation=function(t){if(!b){t._markTarget();var r=t._targetAnimations();r.sort(i);a(e.timeline.currentTime,!1,r.slice())[1].forEach(function(t){var e=m._animations.indexOf(t);-1!==e&&m._animations.splice(e,1)}),s()}};var d=[],b=!1,m=new o;e.timeline=m}(c,d),function(t,e){function r(t,e){for(var r=0,n=0;n<t.length;n++)r+=t[n]*e[n];return r}function n(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 i(t){var e=t.rad||0;return((t.deg||0)/360+(t.grad||0)/400+(t.turn||0))*(2*Math.PI)+e}function o(t){switch(t.t){case"rotatex":var e=i(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=i(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=i(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 r=t.d[0],n=t.d[1],o=t.d[2],e=i(t.d[3]),s=r*r+n*n+o*o;if(0===s)r=1,n=0,o=0;else if(1!==s){var a=Math.sqrt(s);r/=a,n/=a,o/=a}var u=Math.sin(e/2),c=u*Math.cos(e/2),l=u*u;return[1-2*(n*n+o*o)*l,2*(r*n*l+o*c),2*(r*o*l-n*c),0,2*(r*n*l-o*c),1-2*(r*r+o*o)*l,2*(n*o*l+r*c),0,2*(r*o*l+n*c),2*(n*o*l-r*c),1-2*(r*r+n*n)*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 p=i(t.d[0]),h=i(t.d[1]);return[1,Math.tan(h),0,0,Math.tan(p),1,0,0,0,0,1,0,0,0,0,1];case"skewx":var e=i(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=i(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 r=t.d[0].px||0,n=t.d[1].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,r,n,0,1];case"translatex":var r=t.d[0].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,r,0,0,1];case"translatey":var n=t.d[0].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,0,n,0,1];case"translatez":var o=t.d[0].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,o,1];case"translate3d":var r=t.d[0].px||0,n=t.d[1].px||0,o=t.d[2].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,r,n,o,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(o).reduce(n)}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 r=1/t(e),n=e[0][0],i=e[0][1],o=e[0][2],s=e[1][0],a=e[1][1],u=e[1][2],c=e[2][0],l=e[2][1],p=e[2][2],h=[[(a*p-u*l)*r,(o*l-i*p)*r,(i*u-o*a)*r,0],[(u*c-s*p)*r,(n*p-o*c)*r,(o*s-n*u)*r,0],[(s*l-a*c)*r,(c*i-n*l)*r,(n*a-i*s)*r,0]],f=[],d=0;d<3;d++){for(var b=0,m=0;m<3;m++)b+=e[3][m]*h[m][d];f.push(b)}return f.push(1),h.push(f),h}function n(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 i(t,e){for(var r=[],n=0;n<4;n++){for(var i=0,o=0;o<4;o++)i+=t[o]*e[o][n];r.push(i)}return r}function o(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,r,n){return[r*t[0]+n*e[0],r*t[1]+n*e[1],r*t[2]+n*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 p=[],h=0;h<4;h++)p.push(l[h].slice());for(var h=0;h<3;h++)p[h][3]=0;if(0===t(p))return!1;var f,d=[];if(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]);f=i(d,n(e(p)))}else f=[0,0,0,1];var b=l[3].slice(0,3),m=[];m.push(l[0].slice(0,3));var y=[];y.push(s(m[0])),m[0]=o(m[0]);var v=[];m.push(l[1].slice(0,3)),v.push(r(m[0],m[1])),m[1]=a(m[1],m[0],1,-v[0]),y.push(s(m[1])),m[1]=o(m[1]),v[0]/=y[1],m.push(l[2].slice(0,3)),v.push(r(m[0],m[2])),m[2]=a(m[2],m[0],1,-v[1]),v.push(r(m[1],m[2])),m[2]=a(m[2],m[1],1,-v[2]),y.push(s(m[2])),m[2]=o(m[2]),v[1]/=y[2],v[2]/=y[2];var g=u(m[1],m[2]);if(r(m[0],g)<0)for(var h=0;h<3;h++)y[h]*=-1,m[h][0]*=-1,m[h][1]*=-1,m[h][2]*=-1;var w,_,x=m[0][0]+m[1][1]+m[2][2]+1;return x>1e-4?(w=.5/Math.sqrt(x),_=[(m[2][1]-m[1][2])*w,(m[0][2]-m[2][0])*w,(m[1][0]-m[0][1])*w,.25/w]):m[0][0]>m[1][1]&&m[0][0]>m[2][2]?(w=2*Math.sqrt(1+m[0][0]-m[1][1]-m[2][2]),_=[.25*w,(m[0][1]+m[1][0])/w,(m[0][2]+m[2][0])/w,(m[2][1]-m[1][2])/w]):m[1][1]>m[2][2]?(w=2*Math.sqrt(1+m[1][1]-m[0][0]-m[2][2]),_=[(m[0][1]+m[1][0])/w,.25*w,(m[1][2]+m[2][1])/w,(m[0][2]-m[2][0])/w]):(w=2*Math.sqrt(1+m[2][2]-m[0][0]-m[1][1]),_=[(m[0][2]+m[2][0])/w,(m[1][2]+m[2][1])/w,.25*w,(m[1][0]-m[0][1])/w]),[b,y,v,_,f]}return c}();t.dot=r,t.makeMatrixDecomposition=a}(d),function(t){function e(t,e){var r=t.exec(e);if(r)return r=t.ignoreCase?r[0].toLowerCase():r[0],[r,e.substr(r.length)]}function r(t,e){e=e.replace(/^\s*/,"");var r=t(e);if(r)return[r[0],r[1].replace(/^\s*/,"")]}function n(t,n,i){t=r.bind(null,t);for(var o=[];;){var s=t(i);if(!s)return[o,i];if(o.push(s[0]),i=s[1],!(s=e(n,i))||""==s[1])return[o,i];i=s[1]}}function i(t,e){for(var r=0,n=0;n<e.length&&(!/\s|,/.test(e[n])||0!=r);n++)if("("==e[n])r++;else if(")"==e[n]&&(r--,0==r&&n++,r<=0))break;var i=t(e.substr(0,n));return void 0==i?void 0:[i,e.substr(n)]}function o(t,e){for(var r=t,n=e;r&&n;)r>n?r%=n:n%=r;return r=t*e/(r+n)}function s(t){return function(e){var r=t(e);return r&&(r[0]=void 0),r}}function a(t,e){return function(r){var n=t(r);return n||[e,r]}}function u(e,r){for(var n=[],i=0;i<e.length;i++){var o=t.consumeTrimmed(e[i],r);if(!o||""==o[0])return;void 0!==o[0]&&n.push(o[0]),r=o[1]}if(""==r)return n}function c(t,e,r,n,i){for(var s=[],a=[],u=[],c=o(n.length,i.length),l=0;l<c;l++){var p=e(n[l%n.length],i[l%i.length]);if(!p)return;s.push(p[0]),a.push(p[1]),u.push(p[2])}return[s,a,function(e){var n=e.map(function(t,e){return u[e](t)}).join(r);return t?t(n):n}]}function l(t,e,r){for(var n=[],i=[],o=[],s=0,a=0;a<r.length;a++)if("function"==typeof r[a]){var u=r[a](t[s],e[s++]);n.push(u[0]),i.push(u[1]),o.push(u[2])}else!function(t){n.push(!1),i.push(!1),o.push(function(){return r[t]})}(a);return[n,i,function(t){for(var e="",r=0;r<t.length;r++)e+=o[r](t[r]);return e}]}t.consumeToken=e,t.consumeTrimmed=r,t.consumeRepeated=n,t.consumeParenthesised=i,t.ignore=s,t.optional=a,t.consumeList=u,t.mergeNestedRepeated=c.bind(null,null),t.mergeWrappedNestedRepeated=c,t.mergeList=l}(d),function(t){function e(e){function r(e){var r=t.consumeToken(/^inset/i,e);if(r)return n.inset=!0,r;var r=t.consumeLengthOrPercent(e);if(r)return n.lengths.push(r[0]),r;var r=t.consumeColor(e);return r?(n.color=r[0],r):void 0}var n={inset:!1,lengths:[],color:null},i=t.consumeRepeated(r,/^/,e);if(i&&i[0].length)return[n,i[1]]}function r(r){var n=t.consumeRepeated(e,/^,/,r);if(n&&""==n[1])return n[0]}function n(e,r){for(;e.lengths.length<Math.max(e.lengths.length,r.lengths.length);)e.lengths.push({px:0});for(;r.lengths.length<Math.max(e.lengths.length,r.lengths.length);)r.lengths.push({px:0});if(e.inset==r.inset&&!!e.color==!!r.color){for(var n,i=[],o=[[],0],s=[[],0],a=0;a<e.lengths.length;a++){var u=t.mergeDimensions(e.lengths[a],r.lengths[a],2==a);o[0].push(u[0]),s[0].push(u[1]),i.push(u[2])}if(e.color&&r.color){var c=t.mergeColors(e.color,r.color);o[1]=c[0],s[1]=c[1],n=c[2]}return[o,s,function(t){for(var r=e.inset?"inset ":" ",o=0;o<i.length;o++)r+=i[o](t[0][o])+" ";return n&&(r+=n(t[1])),r}]}}function i(e,r,n,i){function o(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<n.length||u<i.length;u++){var c=n[u]||o(i[u].inset),l=i[u]||o(n[u].inset);s.push(c),a.push(l)}return t.mergeNestedRepeated(e,r,s,a)}var o=i.bind(null,n,", ");t.addPropertiesHandler(r,o,["box-shadow","text-shadow"])}(d),function(t,e){function r(t){return t.toFixed(3).replace(".000","")}function n(t,e,r){return Math.min(e,Math.max(t,r))}function i(t){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t))return Number(t)}function o(t,e){return[t,e,r]}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(n(1,1/0,t))}]}function u(t,e){return function(i,o){return[i,o,function(i){return r(n(t,e,i))}]}}function c(t,e){return[t,e,Math.round]}t.clamp=n,t.addPropertiesHandler(i,u(0,1/0),["border-image-width","line-height"]),t.addPropertiesHandler(i,u(0,1),["opacity","shape-image-threshold"]),t.addPropertiesHandler(i,s,["flex-grow","flex-shrink"]),t.addPropertiesHandler(i,a,["orphans","widows"]),t.addPropertiesHandler(i,c,["z-index"]),t.parseNumber=i,t.mergeNumbers=o,t.numberToString=r}(d),function(t,e){function r(t,e){if("visible"==t||"visible"==e)return[0,1,function(r){return r<=0?t:r>=1?e:"visible"}]}t.addPropertiesHandler(String,r,["visibility"])}(d),function(t,e){function r(t){t=t.trim(),o.fillStyle="#000",o.fillStyle=t;var e=o.fillStyle;if(o.fillStyle="#fff",o.fillStyle=t,e==o.fillStyle){o.fillRect(0,0,1,1);var r=o.getImageData(0,0,1,1).data;o.clearRect(0,0,1,1);var n=r[3]/255;return[r[0]*n,r[1]*n,r[2]*n,n]}}function n(e,r){return[e,r,function(e){if(e[3])for(var r=0;r<3;r++)e[r]=Math.round(function(t){return Math.max(0,Math.min(255,t))}(e[r]/e[3]));return e[3]=t.numberToString(t.clamp(0,1,e[3])),"rgba("+e.join(",")+")"}]}var i=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");i.width=i.height=1;var o=i.getContext("2d");t.addPropertiesHandler(r,n,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","outline-color","text-decoration-color"]),t.consumeColor=t.consumeParenthesised.bind(null,r),t.mergeColors=n}(d),function(a,b){function c(a,b){if("0"==(b=b.trim().toLowerCase())&&"px".search(a)>=0)return{px:0};if(/^[^(]*$|^calc/.test(b)){b=b.replace(/calc\(/g,"(");var c={};b=b.replace(a,function(t){return c[t]=null,"U"+t});for(var d="U("+a.source+")",e=b.replace(/[-+]?(\d*\.)?\d+/g,"N").replace(new RegExp("N"+d,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),f=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],g=0;g<f.length;)f[g].test(e)?(e=e.replace(f[g],"$1"),g=0):g++;if("D"==e){for(var h in c){var i=eval(b.replace(new RegExp("U"+h,"g"),"").replace(new RegExp(d,"g"),"*0"));if(!isFinite(i))return;c[h]=i}return c}}}function d(t,r){return e(t,r,!0)}function e(t,e,r){var n,i=[];for(n in t)i.push(n);for(n in e)i.indexOf(n)<0&&i.push(n);return t=i.map(function(e){return t[e]||0}),e=i.map(function(t){return e[t]||0}),[t,e,function(t){var e=t.map(function(e,n){return 1==t.length&&r&&(e=Math.max(e,0)),a.numberToString(e)+i[n]}).join(" + ");return t.length>1?"calc("+e+")":e}]}var f="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",g=c.bind(null,new RegExp(f,"g")),h=c.bind(null,new RegExp(f+"|%","g")),i=c.bind(null,/deg|rad|grad|turn/g);a.parseLength=g,a.parseLengthOrPercent=h,a.consumeLengthOrPercent=a.consumeParenthesised.bind(null,h),a.parseAngle=i,a.mergeDimensions=e;var j=a.consumeParenthesised.bind(null,g),k=a.consumeRepeated.bind(void 0,j,/^/),l=a.consumeRepeated.bind(void 0,k,/^,/);a.consumeSizePairList=l;var m=function(t){var e=l(t);if(e&&""==e[1])return e[0]},n=a.mergeNestedRepeated.bind(void 0,d," "),o=a.mergeNestedRepeated.bind(void 0,n,",");a.mergeNonNegativeSizePair=n,a.addPropertiesHandler(m,o,["background-size"]),a.addPropertiesHandler(h,d,["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"]),a.addPropertiesHandler(h,e,["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","text-indent","top","vertical-align","word-spacing"])}(d,f),function(t,e){function r(e){return t.consumeLengthOrPercent(e)||t.consumeToken(/^auto/,e)}function n(e){var n=t.consumeList([t.ignore(t.consumeToken.bind(null,/^rect/)),t.ignore(t.consumeToken.bind(null,/^\(/)),t.consumeRepeated.bind(null,r,/^,/),t.ignore(t.consumeToken.bind(null,/^\)/))],e);if(n&&4==n[0].length)return n[0]}function i(e,r){return"auto"==e||"auto"==r?[!0,!1,function(n){var i=n?e:r;if("auto"==i)return"auto";var o=t.mergeDimensions(i,i);return o[2](o[0])}]:t.mergeDimensions(e,r)}function o(t){return"rect("+t+")"}var s=t.mergeWrappedNestedRepeated.bind(null,o,i,", ");t.parseBox=n,t.mergeBoxes=s,t.addPropertiesHandler(n,s,["clip"])}(d),function(t,e){function r(t){return function(e){var r=0;return t.map(function(t){return t===l?e[r++]:t})}}function n(t){return t}function i(e){if("none"==(e=e.toLowerCase().trim()))return[];for(var r,n=/\s*(\w+)\(([^)]*)\)/g,i=[],o=0;r=n.exec(e);){if(r.index!=o)return;o=r.index+r[0].length;var s=r[1],a=f[s];if(!a)return;var u=r[2].split(","),c=a[0];if(c.length<u.length)return;for(var l=[],d=0;d<c.length;d++){var b,m=u[d],y=c[d];if(void 0===(b=m?{A:function(e){return"0"==e.trim()?h:t.parseAngle(e)},N:t.parseNumber,T:t.parseLengthOrPercent,L:t.parseLength}[y.toUpperCase()](m):{a:h,n:l[0],t:p}[y]))return;l.push(b)}if(i.push({t:s,d:l}),n.lastIndex==e.length)return i}}function o(t){return t.toFixed(6).replace(".000000","")}function s(e,r){if(e.decompositionPair!==r){e.decompositionPair=r;var n=t.makeMatrixDecomposition(e)}if(r.decompositionPair!==e){r.decompositionPair=e;var i=t.makeMatrixDecomposition(r)}return null==n[0]||null==i[0]?[[!1],[!0],function(t){return t?r[0].d:e[0].d}]:(n[0].push(0),i[0].push(1),[n,i,function(e){var r=t.quat(n[0][3],i[0][3],e[5]);return t.composeMatrix(e[0],e[1],e[2],r,e[4]).map(o).join(",")}])}function a(t){return t.replace(/[xy]/,"")}function u(t){return t.replace(/(x|y|z|3d)?$/,"3d")}function c(e,r){var n=t.makeMatrixDecomposition&&!0,i=!1;if(!e.length||!r.length){e.length||(i=!0,e=r,r=[]);for(var o=0;o<e.length;o++){var c=e[o].t,l=e[o].d,p="scale"==c.substr(0,5)?1:0;r.push({t:c,d:l.map(function(t){if("number"==typeof t)return p;var e={};for(var r in t)e[r]=p;return e})})}}var h=[],d=[],b=[];if(e.length!=r.length){if(!n)return;var m=s(e,r);h=[m[0]],d=[m[1]],b=[["matrix",[m[2]]]]}else for(var o=0;o<e.length;o++){var c,y=e[o].t,v=r[o].t,g=e[o].d,w=r[o].d,_=f[y],x=f[v];if(function(t,e){return"perspective"==t&&"perspective"==e||("matrix"==t||"matrix3d"==t)&&("matrix"==e||"matrix3d"==e)}(y,v)){if(!n)return;var m=s([e[o]],[r[o]]);h.push(m[0]),d.push(m[1]),b.push(["matrix",[m[2]]])}else{if(y==v)c=y;else if(_[2]&&x[2]&&a(y)==a(v))c=a(y),g=_[2](g),w=x[2](w);else{if(!_[1]||!x[1]||u(y)!=u(v)){if(!n)return;var m=s(e,r);h=[m[0]],d=[m[1]],b=[["matrix",[m[2]]]];break}c=u(y),g=_[1](g),w=x[1](w)}for(var S=[],O=[],j=[],k=0;k<g.length;k++){var T="number"==typeof g[k]?t.mergeNumbers:t.mergeDimensions,m=T(g[k],w[k]);S[k]=m[0],O[k]=m[1],j.push(m[2])}h.push(S),d.push(O),b.push([c,j])}}if(i){var E=h;h=d,d=E}return[h,d,function(t){return t.map(function(t,e){var r=t.map(function(t,r){return b[e][1][r](t)}).join(",");return"matrix"==b[e][0]&&16==r.split(",").length&&(b[e][0]="matrix3d"),b[e][0]+"("+r+")"}).join(" ")}]}var l=null,p={px:0},h={deg:0},f={matrix:["NNNNNN",[l,l,0,0,l,l,0,0,0,0,1,0,l,l,0,1],n],matrix3d:["NNNNNNNNNNNNNNNN",n],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",r([l,l,1]),n],scalex:["N",r([l,1,1]),r([l,1])],scaley:["N",r([1,l,1]),r([1,l])],scalez:["N",r([1,1,l])],scale3d:["NNN",n],skew:["Aa",null,n],skewx:["A",null,r([l,h])],skewy:["A",null,r([h,l])],translate:["Tt",r([l,l,p]),n],translatex:["T",r([l,p,p]),r([l,p])],translatey:["T",r([p,l,p]),r([p,l])],translatez:["L",r([p,p,l])],translate3d:["TTL",n]};t.addPropertiesHandler(i,c,["transform"])}(d),function(t){function e(t){var e=Number(t);if(!(isNaN(e)||e<100||e>900||e%100!=0))return e}function r(e){return e=100*Math.round(e/100),e=t.clamp(100,900,e),400===e?"normal":700===e?"bold":String(e)}function n(t,e){return[t,e,r]}t.addPropertiesHandler(e,n,["font-weight"])}(d),function(t){function e(t){var e={};for(var r in t)e[r]=-t[r];return e}function r(e){return t.consumeToken(/^(left|center|right|top|bottom)\b/i,e)||t.consumeLengthOrPercent(e)}function n(e,n){var i=t.consumeRepeated(r,/^/,n);if(i&&""==i[1]){var o=i[0];if(o[0]=o[0]||"center",o[1]=o[1]||"center",3==e&&(o[2]=o[2]||{px:0}),o.length==e){if(/top|bottom/.test(o[0])||/left|right/.test(o[1])){var a=o[0];o[0]=o[1],o[1]=a}if(/left|right|center|Object/.test(o[0])&&/top|bottom|center|Object/.test(o[1]))return o.map(function(t){return"object"==typeof t?t:s[t]})}}}function i(n){var i=t.consumeRepeated(r,/^/,n);if(i){for(var o=i[0],a=[{"%":50},{"%":50}],u=0,c=!1,l=0;l<o.length;l++){var p=o[l];"string"==typeof p?(c=/bottom|right/.test(p),u={left:0,right:0,center:u,top:1,bottom:1}[p],a[u]=s[p],"center"==p&&u++):(c&&(p=e(p),p["%"]=(p["%"]||0)+100),a[u]=p,u++,c=!1)}return[a,i[1]]}}function o(e){var r=t.consumeRepeated(i,/^,/,e);if(r&&""==r[1])return r[0]}var s={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},a=t.mergeNestedRepeated.bind(null,t.mergeDimensions," ");t.addPropertiesHandler(n.bind(null,3),a,["transform-origin"]),t.addPropertiesHandler(n.bind(null,2),a,["perspective-origin"]),t.consumePosition=i,t.mergeOffsetList=a;var u=t.mergeNestedRepeated.bind(null,a,", ");t.addPropertiesHandler(o,u,["background-position","object-position"])}(d),function(t){function e(e){var r=t.consumeToken(/^circle/,e);if(r&&r[0])return["circle"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),n,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],r[1]));var o=t.consumeToken(/^ellipse/,e);if(o&&o[0])return["ellipse"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),i,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],o[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 r(e,r){if(e[0]===r[0])return"circle"==e[0]?t.mergeList(e.slice(1),r.slice(1),["circle(",t.mergeDimensions," at ",t.mergeOffsetList,")"]):"ellipse"==e[0]?t.mergeList(e.slice(1),r.slice(1),["ellipse(",t.mergeNonNegativeSizePair," at ",t.mergeOffsetList,")"]):"polygon"==e[0]&&e[1]==r[1]?t.mergeList(e.slice(2),r.slice(2),["polygon(",e[1],s,")"]):void 0}var n=t.consumeParenthesised.bind(null,t.parseLengthOrPercent),i=t.consumeRepeated.bind(void 0,n,/^/),o=t.mergeNestedRepeated.bind(void 0,t.mergeDimensions," "),s=t.mergeNestedRepeated.bind(void 0,o,",");t.addPropertiesHandler(e,r,["shape-outside"])}(d),function(t,e){function r(t,e){e.concat([t]).forEach(function(e){e in document.documentElement.style&&(n[t]=e)})}var n={};r("transform",["webkitTransform","msTransform"]),r("transformOrigin",["webkitTransformOrigin"]),r("perspective",["webkitPerspective"]),r("perspectiveOrigin",["webkitPerspectiveOrigin"]),t.propertyName=function(t){return n[t]||t}}(d)}(),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,r){this.target=t,this.currentTime=e,this.timelineTime=r,this.type="cancel",
|
24
|
-
this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()},r=window.Element.prototype.animate;window.Element.prototype.animate=function(n,i){var o=r.call(this,n,i);o._cancelHandlers=[],o.oncancel=null;var s=o.cancel;o.cancel=function(){s.call(this);var r=new e(this,null,t()),n=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout(function(){n.forEach(function(t){t.call(r.target,r)})},0)};var a=o.addEventListener;o.addEventListener=function(t,e){"function"==typeof e&&"cancel"==t?this._cancelHandlers.push(e):a.call(this,t,e)};var u=o.removeEventListener;return o.removeEventListener=function(t,e){if("cancel"==t){var r=this._cancelHandlers.indexOf(e);r>=0&&this._cancelHandlers.splice(r,1)}else u.call(this,t,e)},o}}}(),function(t){var e=document.documentElement,r=null,n=!1;try{var i=getComputedStyle(e).getPropertyValue("opacity"),o="0"==i?"1":"0";r=e.animate({opacity:[o,o]},{duration:1}),r.currentTime=0,n=getComputedStyle(e).getPropertyValue("opacity")==o}catch(t){}finally{r&&r.cancel()}if(!n){var s=window.Element.prototype.animate;window.Element.prototype.animate=function(e,r){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,r)}}}(c),b.true=a}({},function(){return this}())},{}],168:[function(t,e,r){(function(t){"use strict";function e(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":u(e))&&"function"!=typeof e?t:e}function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":u(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 i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{return new CustomEvent(t,e)}catch(n){var r=document.createEvent("CustomEvent");return r.initCustomEvent(t,!0,!0,e.detail),r}}function s(t,e){var r=this;f(this,t,{enumerable:!0,get:function(){return r[b][t]},set:function(n){null!=e?e(n):r.setState(t,n)}})}function a(){var t=this,e=this.sideEffects();Object.keys(this[b]).forEach(function(r){if(void 0===t[r]){var n=e[r];s.call(t,r,n)}})}var u="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};Object.defineProperty(r,"__esModule",{value:!0});var c="function"==typeof Symbol&&"symbol"===u(Symbol.iterator)?function(t){return void 0===t?"undefined":u(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":u(t)},l=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),p=function t(){i(this,t)},h=t.Symbol||function(t){return"_"+t},f=Object.defineProperty.bind(Object),d=h("root"),b=h("state");r.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return function(t){function r(){return i(this,r),e(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return n(r,t),l(r,[{key:"getComponentName",value:function(){throw Error("Component needs to have a name, e.g. `my-tag`. Override `getComponentName`")}},{key:"setupComponent",value:function(t,e){return f(this,b,{value:Object.assign({},this.defaults(),e)}),a.call(this),f(this,d,{value:this.setupDOM(t)}),this}},{key:"setupDOM",value:function(t){return t}},{key:"getRoot",value:function(){return this[d]}},{key:"getEl",value:function(){return this[d]}},{key:"fireEvent",value:function(t,e){var r=this.componentName+"-"+t;this.el.dispatchEvent(o(r,e))}},{key:"defaults",value:function(){return console.warn("defaults not provided"),{}}},{key:"sideEffects",value:function(){return console.warn("sideEffects not provided"),{}}},{key:"setState",value:function(t,e){if("string"==typeof t)this.setStateKV(t,e);else{if("object"!==(void 0===t?"undefined":c(t)))throw Error("setState needs argument");this.setStateMap(t)}}},{key:"setStateKV",value:function(t,e){this[b][t]=e}},{key:"setStateMap",value:function(t){var e=this;Object.keys(this[b]).forEach(function(r){e.setStateKV(r,t[r])})}},{key:"componentName",get:function(){return this.getComponentName()}},{key:"root",get:function(){return this.getRoot()}},{key:"el",get:function(){return this.getEl()}}]),r}(t)}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],169:[function(t,e,r){"use strict";function n(t,e,r,n){return r*t/n+e}function i(t,e){return Math.sqrt(Math.pow(t.pageX-e.pageX,2)+Math.pow(t.pageY-e.pageY,2))}function o(t,e){for(var r=t;null!=r;){if(r.classList&&r.classList.contains(e))return!0;r=r.parentNode}return!1}Object.defineProperty(r,"__esModule",{value:!0}),r.linearTween=n,r.pageDist=i,r.contains=o},{}],170:[function(t,e,r){(function(e){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":s(e))&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":s(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)}var s="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};Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),u=function t(e,r,n){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,r);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,r,n)}if("value"in i)return i.value;var s=i.get;if(void 0!==s)return s.call(n)},c=t("y-component/src/component-core"),l=function(t){return t&&t.__esModule?t:{default:t}}(c),p=t("../common"),h=e.Symbol||function(t){return"_"+t},f=h("idle"),d=h("touching"),b=h("startAnimating"),m=h("animating"),y=Object.defineProperty.bind(Object);r.default=function(t){return function(t){function e(){return n(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return o(e,t),a(e,[{key:"getComponentName",value:function(){return"y-drawer"}},{key:"defaults",value:function(){return{opened:!1,transitionDuration:200,persistent:!1}}},{key:"sideEffects",value:function(){var t=this;return{opened:function(e){!0===e?t.open():t.close()},persistent:function(e){!0===e?t.persist():t.unpersist()}}}},{key:"setupComponent",value:function(t,r){return u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"setupComponent",this).call(this,t,r),this.cacheDOMElements(),this.defProperties(),this.bindCallbacks(),this.jumpTo(this.opened),this.persistent||this.addEventListeners(),this.persistent&&(this.scrim.style.display="none"),this}},{key:"cacheDOMElements",value:function(){y(this,"scrim",{value:this.root.querySelector(".y-drawer-scrim")}),y(this,"content",{value:this.root.querySelector(".y-drawer-content")})}},{key:"defProperties",value:function(){y(this,"startX",{value:0,writable:!0}),y(this,"startY",{value:0,writable:!0}),y(this,"pageX",{value:0,writable:!0}),y(this,"pageY",{value:0,writable:!0}),y(this,"lastPageX",{value:0,writable:!0}),y(this,"lastPageY",{value:0,writable:!0}),y(this,"isScrolling",{writable:!0}),y(this,"startedMoving",{value:!1,writable:!0}),y(this,"loopState",{value:f,writable:!0}),y(this,"velocity",{value:0,writable:!0}),y(this,"startTranslateX",{value:0,writable:!0}),y(this,"translateX",{value:0,writable:!0}),y(this,"animationFrameRequested",{value:!1,writable:!0}),y(this,"touching",{value:!1,writable:!0}),y(this,"lastTime",{writable:!0}),y(this,"sliderWidth",{writable:!0}),y(this,"animation",{writable:!0,configurable:!0})}},{key:"bindCallbacks",value:function(){y(this,"touchStartCallback",{value:this.touchStartCallback.bind(this)}),y(this,"touchMoveCallback",{value:this.touchMoveCallback.bind(this)}),y(this,"touchEndCallback",{value:this.touchEndCallback.bind(this)}),y(this,"scrimClickCallback",{value:this.scrimClickCallback.bind(this)}),y(this,"animationFrameCallback",{value:this.animationFrameCallback.bind(this)})}},{key:"addEventListeners",value:function(){document.addEventListener("touchstart",this.touchStartCallback,{passive:!1}),document.addEventListener("touchmove",this.touchMoveCallback,{passive:!1}),document.addEventListener("touchend",this.touchEndCallback,{passive:!1}),this.scrim.addEventListener("click",this.scrimClickCallback)}},{key:"removeEventListeners",value:function(){document.removeEventListener("touchstart",this.touchStartCallback,{passive:!1}),document.removeEventListener("touchmove",this.touchMoveCallback,{passive:!1}),document.removeEventListener("touchend",this.touchEndCallback,{passive:!1}),this.scrim.removeEventListener("click",this.scrimClickCallback)}},{key:"requestAnimationLoop",value:function(){this.animationFrameRequested||(this.animationFrameRequested=!0,requestAnimationFrame(this.animationFrameCallback))}},{key:"getNearestTouch",value:function(t){var e=this;return 1===t.length?t[0]:Array.prototype.reduce.call(t,function(t,r){var n=(0,p.pageDist)(e,r);return n<t.dist?{dist:n,touch:r}:t},{dist:Number.POSITIVE_INFINITY,touch:null}).touch}},{key:"touchStartCallback",value:function(t){if(1===t.touches.length){this.isScrolling=void 0;var e=t.touches[0];this.startX=e.pageX,this.startY=e.pageY,this.pageX=e.pageX,this.pageY=e.pageY,this.lastPageX=e.pageX,this.lastPageY=e.pageY,(this.opened||this.pageX<window.innerWidth/3)&&(this.prepInteraction(),this.touching=!0,this.loopState=d)}}},{key:"touchMoveCallback",value:function(t){if(this.touching){var e=this.getNearestTouch(t.touches);if(this.pageX=e.pageX,this.pageY=e.pageY,void 0===this.isScrolling&&this.startedMoving&&(this.isScrolling=Math.abs(this.startY-this.pageY)>Math.abs(this.startX-this.pageX),this.isScrolling||(this.loopState=d,this.requestAnimationLoop())),this.isScrolling)return;t.preventDefault(),this.startedMoving=!0}}},{key:"updateMenuOpen",value:function(){this.velocity>.2?this.setState("opened",!0):this.velocity<-.2?this.setState("opened",!1):this.translateX>=this.sliderWidth/2?this.setState("opened",!0):this.setState("opened",!1)}},{key:"touchEndCallback",value:function(t){if(this.touching){if(this.isScrolling||t.touches.length>0)return;this.startedMoving&&this.updateMenuOpen(),this.opened?this.scrim.style.pointerEvents="all":this.scrim.style.pointerEvents="",this.loopState=b,this.startedMoving=!1,this.touching=!1}}},{key:"scrimClickCallback",value:function(){this.close()}},{key:"prepInteraction",value:function(){this.content.style.willChange="transform",this.scrim.style.willChange="opacity",this.content.classList.remove("y-drawer-opened"),this.sliderWidth=this.getMovableSliderWidth()}},{key:"getMovableSliderWidth",value:function(){return-this.content.offsetLeft}},{key:"animateTo",value:function(t){this.prepInteraction(),this.setState("opened",t),this.loopState=b,this.requestAnimationLoop()}},{key:"jumpTo",value:function(t){this.prepInteraction(),this.setState("opened",t),this.loopState=f,this.startTranslateX=t*this.sliderWidth,this.endAnimating(),this.updateDOM(this.startTranslateX,this.sliderWidth)}},{key:"updateTranslateX",value:function(){var t=this.pageX-this.startX;return this.translateX=this.startTranslateX+t,this.translateX=Math.max(0,Math.min(this.sliderWidth,this.translateX)),t}},{key:"animationFrameCallback",value:function(t){switch(this.loopState){case d:this.touchingFrame(t);break;case b:this.startAnimatingFrame(t),this.loopState=m,this.animationFrameCallback(t);break;case m:this.animatingFrame(t)}}},{key:"touchingFrame",value:function(t){var e=t-this.lastTime;if(e>0){var r=this.pageX-this.lastPageX;this.velocity=r/e*.8+(1-.8)*this.velocity}this.updateTranslateX(),this.updateDOM(this.translateX,this.sliderWidth),this.lastTime=t,this.lastPageX=this.pageX,this.lastPageY=this.pageY,requestAnimationFrame(this.animationFrameCallback)}},{key:"startAnimatingFrame",value:function(t){this.updateTranslateX();var e={};e.startX=this.translateX,e.endX=(this.opened?1:0)*this.sliderWidth,e.changeInValue=e.endX-e.startX,e.startTime=t,this.animation=e}},{key:"animatingFrame",value:function(t){var e=t-this.animation.startTime;e<this.transitionDuration?this.animatingCont(e):this.animatingEnd(),this.updateDOM(this.startTranslateX,this.sliderWidth)}},{key:"animatingCont",value:function(t){var e=this.animation.startX,r=this.animation.changeInValue;this.startTranslateX=(0,p.linearTween)(t,e,r,this.transitionDuration),requestAnimationFrame(this.animationFrameCallback)}},{key:"animatingEnd",value:function(){this.startTranslateX=this.animation.endX,delete this.animation,this.endAnimating()}},{key:"endAnimating",value:function(){this.animationFrameRequested=!1,this.loopState=f,this.velocity=0,this.opened?(this.scrim.style.pointerEvents="all",this.content.classList.add("y-drawer-opened")):this.scrim.style.pointerEvents="",this.content.style.willChange="",this.scrim.style.willChange="",this.fireEvent("transitioned")}},{key:"updateDOM",value:function(t,e){this.content.style.transform="translateX("+t+"px)",this.scrim.style.opacity=t/e}},{key:"close",value:function(){return this.animateTo(!1),this}},{key:"open",value:function(){return this.animateTo(!0),this}},{key:"toggle",value:function(){return this.opened?this.close():this.open(),this}},{key:"persist",value:function(){this.scrim.style.display="none",this.removeEventListeners(),this.setState("persistent",!0)}},{key:"unpersist",value:function(){this.scrim.style.display="",this.addEventListeners(),this.setState("persistent",!1)}}]),e}((0,l.default)(t))}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../common":169,"y-component/src/component-core":168}],171:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":a(e))&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":a(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 s(t){return document.createRange().createContextualFragment(t)}var a="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};Object.defineProperty(r,"__esModule",{value:!0});var u=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),c=t("../core"),l=function(t){return t&&t.__esModule?t:{default:t}}(c),p=function(t){function e(t,r){n(this,e);var o=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return o.setupComponent(t,r),o}return o(e,t),u(e,[{key:"setupDOM",value:function(t){if(!t)throw Error("No element provided");var e=document.createElement("div");e.classList.add("y-drawer-scrim");var r=document.createElement("div");for(r.classList.add("y-drawer-content");t.children.length>0;)r.appendChild(t.children[0]);t.appendChild(e),t.appendChild(r);var n=document.getElementsByTagName("style")[0];return n.parentNode.insertBefore(s("\n<style>\n@media screen {\n .y-drawer-scrim {\n display: block;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n opacity: 0;\n z-index: 0;\n pointer-events: none;\n transform: translate3d(0,0,0);\n -webkit-tap-highlight-color: transparent;\n\n background: rgba(0, 0, 0, 0.67);\n }\n\n .y-drawer-content {\n position: fixed;\n left: 0;\n bottom: 0;\n top: 0;\n z-index: 1;\n overflow-x: hidden;\n overflow-y: auto;\n transform: translate3d(0,0,0);\n -webkit-overflow-scrolling: touch;\n contain: strict;\n\n left: -18rem;\n width: 18rem;\n background: #e8e8e8;\n }\n\n .y-drawer-content.y-drawer-opened {\n left: 0!important;\n transform: translate3d(0,0,0)!important;\n }\n}\n\n@media print {\n .y-drawer-scrim {\n display: none!important;\n }\n\n .y-drawer-content {\n transform: none!important;\n }\n}\n\n</style>"),n),t}}]),e}((0,l.default)());r.default=p},{"../core":170}],172:[function(t,e,r){arguments[4][109][0].apply(r,arguments)},{"./Subscriber":180,dup:109}],173:[function(t,e,r){"use strict";var n=t("./Observable"),i=function(){function t(t,e,r){this.kind=t,this.value=e,this.error=r,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,r){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return r&&r()}},t.prototype.accept=function(t,e,r){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,r)},t.prototype.toObservable=function(){switch(this.kind){case"N":return n.Observable.of(this.value);case"E":return n.Observable.throw(this.error);case"C":return n.Observable.empty()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):this.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return this.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}();r.Notification=i},{"./Observable":174}],174:[function(t,e,r){"use strict";var n=t("./util/root"),i=t("./util/toSubscriber"),o=t("./symbol/observable"),s=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n=this.operator,o=i.toSubscriber(t,e,r);if(n?n.call(o,this.source):o.add(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 r=this;if(e||(n.root.Rx&&n.root.Rx.config&&n.root.Rx.config.Promise?e=n.root.Rx.config.Promise:n.root.Promise&&(e=n.root.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,n){var i=r.subscribe(function(e){if(i)try{t(e)}catch(t){n(t),i.unsubscribe()}else t(e)},n,e)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[o.$$observable]=function(){return this},t.create=function(e){return new t(e)},t}();r.Observable=s},{"./symbol/observable":250,"./util/root":264,"./util/toSubscriber":266}],175:[function(t,e,r){arguments[4][111][0].apply(r,arguments)},{dup:111}],176:[function(t,e,r){arguments[4][112][0].apply(r,arguments)},{"./Subscriber":180,dup:112}],177:[function(t,e,r){arguments[4][113][0].apply(r,arguments)},{dup:113}],178:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("./Observable"),o=t("./Subscriber"),s=t("./Subscription"),a=t("./util/ObjectUnsubscribedError"),u=t("./SubjectSubscription"),c=t("./symbol/rxSubscriber"),l=function(t){function e(e){t.call(this,e),this.destination=e}return n(e,t),e}(o.Subscriber);r.SubjectSubscriber=l;var p=function(t){function e(){t.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return n(e,t),e.prototype[c.$$rxSubscriber]=function(){return new l(this)},e.prototype.lift=function(t){var e=new h(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;if(!this.isStopped)for(var e=this.observers,r=e.length,n=e.slice(),i=0;i<r;i++)n[i].next(t)},e.prototype.error=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,r=e.length,n=e.slice(),i=0;i<r;i++)n[i].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new a.ObjectUnsubscribedError;this.isStopped=!0;for(var t=this.observers,e=t.length,r=t.slice(),n=0;n<e;n++)r[n].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 a.ObjectUnsubscribedError;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;return this.hasError?(t.error(this.thrownError),s.Subscription.EMPTY):this.isStopped?(t.complete(),s.Subscription.EMPTY):(this.observers.push(t),new u.SubjectSubscription(this,t))},e.prototype.asObservable=function(){var t=new i.Observable;return t.source=this,t},e.create=function(t,e){return new h(t,e)},e}(i.Observable);r.Subject=p;var h=function(t){function e(e,r){t.call(this),this.destination=e,this.source=r}return n(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):s.Subscription.EMPTY},e}(p);r.AnonymousSubject=h},{"./Observable":174,"./SubjectSubscription":179,"./Subscriber":180,"./Subscription":181,"./symbol/rxSubscriber":251,"./util/ObjectUnsubscribedError":253}],179:[function(t,e,r){arguments[4][115][0].apply(r,arguments)},{"./Subscription":181,dup:115}],180:[function(t,e,r){"use strict";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},i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("./util/isFunction"),s=t("./Subscription"),a=t("./Observer"),u=t("./symbol/rxSubscriber"),c=function(t){function e(r,i,o){switch(t.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a.empty;break;case 1:if(!r){this.destination=a.empty;break}if("object"===(void 0===r?"undefined":n(r))){r instanceof e?(this.destination=r,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new l(this,r));break}default:this.syncErrorThrowable=!0,this.destination=new l(this,r,i,o)}}return i(e,t),e.prototype[u.$$rxSubscriber]=function(){return this},e.create=function(t,r,n){var i=new e(t,r,n);return i.syncErrorThrowable=!1,i},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,r=t._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=r,this},e}(s.Subscription);r.Subscriber=c;var l=function(t){function e(e,r,n,i){t.call(this),this._parentSubscriber=e;var s,a=this;o.isFunction(r)?s=r:r&&(a=r,s=r.next,n=r.error,i=r.complete,o.isFunction(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this)),this._context=a,this._next=s,this._error=n,this._complete=i}return i(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(){if(!this.isStopped){var t=this._parentSubscriber;this._complete?t.syncErrorThrowable?(this.__tryOrSetError(t,this._complete),this.unsubscribe()):(this.__tryOrUnsub(this._complete),this.unsubscribe()):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,r){try{e.call(this._context,r)}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}(c)},{"./Observer":175,"./Subscription":181,"./symbol/rxSubscriber":251,"./util/isFunction":259}],181:[function(t,e,r){arguments[4][117][0].apply(r,arguments)},{"./util/UnsubscriptionError":254,"./util/errorObject":255,"./util/isArray":256,"./util/isFunction":259,"./util/isObject":261,"./util/tryCatch":267,dup:117}],182:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../observable/defer");n.Observable.defer=i.defer},{"../../Observable":174,"../../observable/defer":215}],183:[function(t,e,r){"use strict";var n=t("../../../Observable"),i=t("../../../observable/dom/ajax");n.Observable.ajax=i.ajax},{"../../../Observable":174,"../../../observable/dom/ajax":217}],184:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../observable/fromEvent");n.Observable.fromEvent=i.fromEvent},{"../../Observable":174,"../../observable/fromEvent":218}],185:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../observable/merge");n.Observable.merge=i.merge},{"../../Observable":174,"../../observable/merge":219}],186:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../observable/of");n.Observable.of=i.of},{"../../Observable":174,"../../observable/of":220}],187:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../observable/throw");n.Observable.throw=i._throw},{"../../Observable":174,"../../observable/throw":221}],188:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../observable/timer");n.Observable.timer=i.timer},{"../../Observable":174,"../../observable/timer":222}],189:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/catch");n.Observable.prototype.catch=i._catch,n.Observable.prototype._catch=i._catch},{"../../Observable":174,"../../operator/catch":223}],190:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/debounceTime");n.Observable.prototype.debounceTime=i.debounceTime},{"../../Observable":174,"../../operator/debounceTime":225}],191:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/delay");n.Observable.prototype.delay=i.delay},{"../../Observable":174,"../../operator/delay":226}],192:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/distinctUntilKeyChanged");n.Observable.prototype.distinctUntilKeyChanged=i.distinctUntilKeyChanged},{"../../Observable":174,"../../operator/distinctUntilKeyChanged":228}],193:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/do");n.Observable.prototype.do=i._do,n.Observable.prototype._do=i._do},{"../../Observable":174,"../../operator/do":229}],194:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/filter");n.Observable.prototype.filter=i.filter},{"../../Observable":174,"../../operator/filter":230}],195:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/map");n.Observable.prototype.map=i.map},{"../../Observable":174,"../../operator/map":231}],196:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/mergeAll");n.Observable.prototype.mergeAll=i.mergeAll},{"../../Observable":174,"../../operator/mergeAll":233}],197:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/retryWhen");n.Observable.prototype.retryWhen=i.retryWhen},{"../../Observable":174,"../../operator/retryWhen":235}],198:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/share");n.Observable.prototype.share=i.share},{"../../Observable":174,"../../operator/share":236}],199:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/startWith");n.Observable.prototype.startWith=i.startWith},{"../../Observable":174,"../../operator/startWith":237}],200:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/switch");n.Observable.prototype.switch=i._switch,n.Observable.prototype._switch=i._switch},{"../../Observable":174,"../../operator/switch":238}],201:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/switchMap");n.Observable.prototype.switchMap=i.switchMap},{"../../Observable":174,"../../operator/switchMap":239}],202:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/take");n.Observable.prototype.take=i.take},{"../../Observable":174,"../../operator/take":240}],203:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/takeUntil");n.Observable.prototype.takeUntil=i.takeUntil},{"../../Observable":174,"../../operator/takeUntil":241}],204:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/throttleTime");n.Observable.prototype.throttleTime=i.throttleTime},{"../../Observable":174,"../../operator/throttleTime":242}],205:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/withLatestFrom");n.Observable.prototype.withLatestFrom=i.withLatestFrom},{"../../Observable":174,"../../operator/withLatestFrom":243}],206:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/zip");n.Observable.prototype.zip=i.zipProto},{"../../Observable":174,"../../operator/zip":244}],207:[function(t,e,r){arguments[4][118][0].apply(r,arguments)},{"../Observable":174,"../util/isScheduler":263,"./EmptyObservable":210,"./ScalarObservable":213,dup:118}],208:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])
|
25
|
-
;t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Subject"),o=t("../Observable"),s=t("../Subscriber"),a=t("../Subscription"),u=function(t){function e(e,r){t.call(this),this.source=e,this.subjectFactory=r,this._refCount=0}return n(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||(t=this._connection=new a.Subscription,t.add(this.source.subscribe(new c(this.getSubject(),this))),t.closed?(this._connection=null,t=a.Subscription.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return this.lift(new l(this))},e}(o.Observable);r.ConnectableObservable=u,r.connectableObservableDescriptor={operator:{value:null},_refCount:{value:0,writable:!0},_subscribe:{value:u.prototype._subscribe},getSubject:{value:u.prototype.getSubject},connect:{value:u.prototype.connect},refCount:{value:u.prototype.refCount}};var c=function(t){function e(e,r){t.call(this,e),this.connectable=r}return n(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){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}(i.SubjectSubscriber),l=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var r=this.connectable;r._refCount++;var n=new p(t,r),i=e.subscribe(n);return n.closed||(n.connection=r.connect()),i},t}(),p=function(t){function e(e,r){t.call(this,e),this.connectable=r}return n(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 r=this.connection,n=t._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()},e}(s.Subscriber)},{"../Observable":174,"../Subject":178,"../Subscriber":180,"../Subscription":181}],209:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Observable"),o=t("../util/subscribeToResult"),s=t("../OuterSubscriber"),a=function(t){function e(e){t.call(this),this.observableFactory=e}return n(e,t),e.create=function(t){return new e(t)},e.prototype._subscribe=function(t){return new u(t,this.observableFactory)},e}(i.Observable);r.DeferObservable=a;var u=function(t){function e(e,r){t.call(this,e),this.factory=r,this.tryDefer()}return n(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(o.subscribeToResult(this,t))},e}(s.OuterSubscriber)},{"../Observable":174,"../OuterSubscriber":176,"../util/subscribeToResult":265}],210:[function(t,e,r){arguments[4][120][0].apply(r,arguments)},{"../Observable":174,dup:120}],211:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Observable"),o=function(t){function e(e,r){t.call(this),this.error=e,this.scheduler=r}return n(e,t),e.create=function(t,r){return new e(t,r)},e.dispatch=function(t){var e=t.error;t.subscriber.error(e)},e.prototype._subscribe=function(t){var r=this.error,n=this.scheduler;if(n)return n.schedule(e.dispatch,0,{error:r,subscriber:t});t.error(r)},e}(i.Observable);r.ErrorObservable=o},{"../Observable":174}],212:[function(t,e,r){arguments[4][121][0].apply(r,arguments)},{"../Observable":174,"../Subscription":181,"../util/errorObject":255,"../util/isFunction":259,"../util/tryCatch":267,dup:121}],213:[function(t,e,r){arguments[4][122][0].apply(r,arguments)},{"../Observable":174,dup:122}],214:[function(t,e,r){arguments[4][123][0].apply(r,arguments)},{"../Observable":174,"../scheduler/async":248,"../util/isDate":258,"../util/isNumeric":260,"../util/isScheduler":263,dup:123}],215:[function(t,e,r){"use strict";var n=t("./DeferObservable");r.defer=n.DeferObservable.create},{"./DeferObservable":209}],216:[function(t,e,r){"use strict";function n(){if(h.root.XMLHttpRequest)return new h.root.XMLHttpRequest;if(h.root.XDomainRequest)return new h.root.XDomainRequest;throw new Error("CORS is not supported by your browser")}function i(){if(h.root.XMLHttpRequest)return new h.root.XMLHttpRequest;var t=void 0;try{for(var e=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],r=0;r<3;r++)try{if(t=e[r],new h.root.ActiveXObject(t))break}catch(t){}return new h.root.ActiveXObject(t)}catch(t){throw new Error("XMLHttpRequest is not supported by your browser")}}function o(t,e){return void 0===e&&(e=null),new v({method:"GET",url:t,headers:e})}function s(t,e,r){return new v({method:"POST",url:t,body:e,headers:r})}function a(t,e){return new v({method:"DELETE",url:t,headers:e})}function u(t,e,r){return new v({method:"PUT",url:t,body:e,headers:r})}function c(t,e,r){return new v({method:"PATCH",url:t,body:e,headers:r})}function l(t,e){return new v({method:"GET",url:t,responseType:"json",headers:e}).lift(new y.MapOperator(function(t,e){return t.response},null))}var p=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},h=t("../../util/root"),f=t("../../util/tryCatch"),d=t("../../util/errorObject"),b=t("../../Observable"),m=t("../../Subscriber"),y=t("../../operator/map");r.ajaxGet=o,r.ajaxPost=s,r.ajaxDelete=a,r.ajaxPut=u,r.ajaxPatch=c,r.ajaxGetJSON=l;var v=function(t){function e(e){t.call(this);var r={async:!0,createXHR:function(){return this.crossDomain?n.call(this):i()},crossDomain:!1,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof e)r.url=e;else for(var o in e)e.hasOwnProperty(o)&&(r[o]=e[o]);this.request=r}return p(e,t),e.prototype._subscribe=function(t){return new g(t,this.request)},e.create=function(){var t=function(t){return new e(t)};return t.get=o,t.post=s,t.delete=a,t.put=u,t.patch=c,t.getJSON=l,t}(),e}(b.Observable);r.AjaxObservable=v;var g=function(t){function e(e,r){t.call(this,e),this.request=r,this.done=!1;var n=r.headers=r.headers||{};r.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"),"Content-Type"in n||h.root.FormData&&r.body instanceof h.root.FormData||void 0===r.body||(n["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),r.body=this.serializeBody(r.body,r.headers["Content-Type"]),this.send()}return p(e,t),e.prototype.next=function(t){this.done=!0;var e=this,r=e.xhr,n=e.request,i=e.destination,o=new w(t,r,n);i.next(o)},e.prototype.send=function(){var t=this,e=t.request,r=t.request,n=r.user,i=r.method,o=r.url,s=r.async,a=r.password,u=r.headers,c=r.body,l=e.createXHR,p=f.tryCatch(l).call(e);if(p===d.errorObject)this.error(d.errorObject.e);else{this.xhr=p,this.setupEvents(p,e);if((n?f.tryCatch(p.open).call(p,i,o,s,n,a):f.tryCatch(p.open).call(p,i,o,s))===d.errorObject)return this.error(d.errorObject.e),null;if(p.timeout=e.timeout,p.responseType=e.responseType,"withCredentials"in p&&(p.withCredentials=!!e.withCredentials),this.setHeaders(p,u),(c?f.tryCatch(p.send).call(p,c):f.tryCatch(p.send).call(p))===d.errorObject)return this.error(d.errorObject.e),null}return p},e.prototype.serializeBody=function(t,e){if(!t||"string"==typeof t)return t;if(h.root.FormData&&t instanceof h.root.FormData)return t;if(e){var r=e.indexOf(";");-1!==r&&(e=e.substring(0,r))}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 r in e)e.hasOwnProperty(r)&&t.setRequestHeader(r,e[r])},e.prototype.setupEvents=function(t,e){function r(t){var e=r,n=e.subscriber,i=e.progressSubscriber,o=e.request;i&&i.error(t),n.error(new x(this,o))}function n(t){var e=n,r=e.subscriber,i=e.progressSubscriber,o=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?(i&&i.complete(),r.next(t),r.complete()):(i&&i.error(t),r.error(new _("ajax error "+s,this,o)))}}var i=e.progressSubscriber;if(t.ontimeout=r,r.request=e,r.subscriber=this,r.progressSubscriber=i,t.upload&&"withCredentials"in t){if(i){var o;o=function(t){o.progressSubscriber.next(t)},h.root.XDomainRequest?t.onprogress=o:t.upload.onprogress=o,o.progressSubscriber=i}var s;s=function(t){var e=s,r=e.progressSubscriber,n=e.subscriber,i=e.request;r&&r.error(t),n.error(new _("ajax error",this,i))},t.onerror=s,s.request=e,s.subscriber=this,s.progressSubscriber=i}t.onreadystatechange=n,n.subscriber=this,n.progressSubscriber=i,n.request=e},e.prototype.unsubscribe=function(){var e=this,r=e.done,n=e.xhr;!r&&n&&4!==n.readyState&&"function"==typeof n.abort&&n.abort(),t.prototype.unsubscribe.call(this)},e}(m.Subscriber);r.AjaxSubscriber=g;var w=function(){function t(t,e,r){switch(this.originalEvent=t,this.xhr=e,this.request=r,this.status=e.status,this.responseType=e.responseType||r.responseType,this.responseType){case"json":this.response="response"in e?e.responseType?e.response:JSON.parse(e.response||e.responseText||"null"):JSON.parse(e.responseText||"null");break;case"xml":this.response=e.responseXML;break;case"text":default:this.response="response"in e?e.response:e.responseText}}return t}();r.AjaxResponse=w;var _=function(t){function e(e,r,n){t.call(this,e),this.message=e,this.xhr=r,this.request=n,this.status=r.status}return p(e,t),e}(Error);r.AjaxError=_;var x=function(t){function e(e,r){t.call(this,"ajax timeout",e,r)}return p(e,t),e}(_);r.AjaxTimeoutError=x},{"../../Observable":174,"../../Subscriber":180,"../../operator/map":231,"../../util/errorObject":255,"../../util/root":264,"../../util/tryCatch":267}],217:[function(t,e,r){"use strict";var n=t("./AjaxObservable");r.ajax=n.AjaxObservable.create},{"./AjaxObservable":216}],218:[function(t,e,r){arguments[4][125][0].apply(r,arguments)},{"./FromEventObservable":212,dup:125}],219:[function(t,e,r){"use strict";var n=t("../operator/merge");r.merge=n.mergeStatic},{"../operator/merge":232}],220:[function(t,e,r){arguments[4][126][0].apply(r,arguments)},{"./ArrayObservable":207,dup:126}],221:[function(t,e,r){"use strict";var n=t("./ErrorObservable");r._throw=n.ErrorObservable.create},{"./ErrorObservable":211}],222:[function(t,e,r){arguments[4][127][0].apply(r,arguments)},{"./TimerObservable":214,dup:127}],223:[function(t,e,r){arguments[4][128][0].apply(r,arguments)},{"../OuterSubscriber":176,"../util/subscribeToResult":265,dup:128}],224:[function(t,e,r){arguments[4][129][0].apply(r,arguments)},{"../Observable":174,"../observable/ArrayObservable":207,"../util/isScheduler":263,"./mergeAll":233,dup:129}],225:[function(t,e,r){arguments[4][130][0].apply(r,arguments)},{"../Subscriber":180,"../scheduler/async":248,dup:130}],226:[function(t,e,r){"use strict";function n(t,e){void 0===e&&(e=o.async);var r=s.isDate(t),n=r?+t-e.now():Math.abs(t);return this.lift(new c(n,e))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../scheduler/async"),s=t("../util/isDate"),a=t("../Subscriber"),u=t("../Notification");r.delay=n;var c=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.delay,this.scheduler))},t}(),l=function(t){function e(e,r,n){t.call(this,e),this.delay=r,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}return i(e,t),e.dispatch=function(t){for(var e=t.source,r=e.queue,n=t.scheduler,i=t.destination;r.length>0&&r[0].time-n.now()<=0;)r.shift().notification.observe(i);if(r.length>0){var o=Math.max(0,r[0].time-n.now());this.schedule(t,o)}else e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,r=new p(e.now()+this.delay,t);this.queue.push(r),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(u.Notification.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t)},e.prototype._complete=function(){this.scheduleNotification(u.Notification.createComplete())},e}(a.Subscriber),p=function(){function t(t,e){this.time=t,this.notification=e}return t}()},{"../Notification":173,"../Subscriber":180,"../scheduler/async":248,"../util/isDate":258}],227:[function(t,e,r){"use strict";function n(t,e){return this.lift(new u(t,e))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber"),s=t("../util/tryCatch"),a=t("../util/errorObject");r.distinctUntilChanged=n;var u=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.compare,this.keySelector))},t}(),c=function(t){function e(e,r,n){t.call(this,e),this.keySelector=n,this.hasKey=!1,"function"==typeof r&&(this.compare=r)}return i(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e=this.keySelector,r=t;if(e&&(r=s.tryCatch(this.keySelector)(t))===a.errorObject)return this.destination.error(a.errorObject.e);var n=!1;if(this.hasKey){if((n=s.tryCatch(this.compare)(this.key,r))===a.errorObject)return this.destination.error(a.errorObject.e)}else this.hasKey=!0;!1===Boolean(n)&&(this.key=r,this.destination.next(t))},e}(o.Subscriber)},{"../Subscriber":180,"../util/errorObject":255,"../util/tryCatch":267}],228:[function(t,e,r){"use strict";function n(t,e){return i.distinctUntilChanged.call(this,function(r,n){return e?e(r[t],n[t]):r[t]===n[t]})}var i=t("./distinctUntilChanged");r.distinctUntilKeyChanged=n},{"./distinctUntilChanged":227}],229:[function(t,e,r){arguments[4][131][0].apply(r,arguments)},{"../Subscriber":180,dup:131}],230:[function(t,e,r){arguments[4][133][0].apply(r,arguments)},{"../Subscriber":180,dup:133}],231:[function(t,e,r){arguments[4][135][0].apply(r,arguments)},{"../Subscriber":180,dup:135}],232:[function(t,e,r){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return this.lift.call(i.apply(void 0,[this].concat(t)))}function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var r=Number.POSITIVE_INFINITY,n=null,i=t[t.length-1];return u.isScheduler(i)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(r=t.pop())):"number"==typeof i&&(r=t.pop()),null===n&&1===t.length&&t[0]instanceof o.Observable?t[0]:new s.ArrayObservable(t,n).lift(new a.MergeAllOperator(r))}var o=t("../Observable"),s=t("../observable/ArrayObservable"),a=t("./mergeAll"),u=t("../util/isScheduler");r.merge=n,r.mergeStatic=i},{"../Observable":174,"../observable/ArrayObservable":207,"../util/isScheduler":263,"./mergeAll":233}],233:[function(t,e,r){arguments[4][136][0].apply(r,arguments)},{"../OuterSubscriber":176,"../util/subscribeToResult":265,dup:136}],234:[function(t,e,r){arguments[4][138][0].apply(r,arguments)},{"../observable/ConnectableObservable":208,dup:138}],235:[function(t,e,r){"use strict";function n(t){return this.lift(new l(t,this))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subject"),s=t("../util/tryCatch"),a=t("../util/errorObject"),u=t("../OuterSubscriber"),c=t("../util/subscribeToResult");r.retryWhen=n;var l=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new p(t,this.notifier,this.source))},t}(),p=function(t){function e(e,r,n){t.call(this,e),this.notifier=r,this.source=n}return i(e,t),e.prototype.error=function(e){if(!this.isStopped){var r=this.errors,n=this.retries,i=this.retriesSubscription;if(n)this.errors=null,this.retriesSubscription=null;else{if(r=new o.Subject,(n=s.tryCatch(this.notifier)(r))===a.errorObject)return t.prototype.error.call(this,a.errorObject.e);i=c.subscribeToResult(this,n)}this._unsubscribeAndRecycle(),this.errors=r,this.retries=n,this.retriesSubscription=i,r.next(e)}},e.prototype._unsubscribe=function(){var t=this,e=t.errors,r=t.retriesSubscription;e&&(e.unsubscribe(),this.errors=null),r&&(r.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(t,e,r,n,i){var o=this,s=o.errors,a=o.retries,u=o.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this._unsubscribeAndRecycle(),this.errors=s,this.retries=a,this.retriesSubscription=u,this.source.subscribe(this)},e}(u.OuterSubscriber)},{"../OuterSubscriber":176,"../Subject":178,"../util/errorObject":255,"../util/subscribeToResult":265,"../util/tryCatch":267}],236:[function(t,e,r){arguments[4][140][0].apply(r,arguments)},{"../Subject":178,"./multicast":234,dup:140}],237:[function(t,e,r){arguments[4][141][0].apply(r,arguments)},{"../observable/ArrayObservable":207,"../observable/EmptyObservable":210,"../observable/ScalarObservable":213,"../util/isScheduler":263,"./concat":224,dup:141}],238:[function(t,e,r){"use strict";function n(){return this.lift(new a)}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),s=t("../util/subscribeToResult");r._switch=n;var a=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new u(t))},t}(),u=function(t){function e(e){t.call(this,e),this.active=0,this.hasCompleted=!1}return i(e,t),e.prototype._next=function(t){this.unsubscribeInner(),this.active++,this.add(this.innerSubscription=s.subscribeToResult(this,t))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&this.destination.complete()},e.prototype.unsubscribeInner=function(){this.active=this.active>0?this.active-1:0;var t=this.innerSubscription;t&&(t.unsubscribe(),this.remove(t))},e.prototype.notifyNext=function(t,e,r,n,i){this.destination.next(e)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(){this.unsubscribeInner(),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(o.OuterSubscriber)},{"../OuterSubscriber":176,"../util/subscribeToResult":265}],239:[function(t,e,r){arguments[4][142][0].apply(r,arguments)},{"../OuterSubscriber":176,"../util/subscribeToResult":265,dup:142}],240:[function(t,e,r){"use strict";function n(t){return 0===t?new a.EmptyObservable:this.lift(new u(t))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber"),s=t("../util/ArgumentOutOfRangeError"),a=t("../observable/EmptyObservable");r.take=n;var u=function(){function t(t){if(this.total=t,this.total<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.total))},t}(),c=function(t){function e(e,r){t.call(this,e),this.total=r,this.count=0}return i(e,t),e.prototype._next=function(t){var e=this.total,r=++this.count;r<=e&&(this.destination.next(t),r===e&&(this.destination.complete(),this.unsubscribe()))},e}(o.Subscriber)},{"../Subscriber":180,"../observable/EmptyObservable":210,"../util/ArgumentOutOfRangeError":252}],241:[function(t,e,r){arguments[4][143][0].apply(r,arguments)},{"../OuterSubscriber":176,"../util/subscribeToResult":265,dup:143}],242:[function(t,e,r){"use strict";function n(t,e){return void 0===e&&(e=a.async),this.lift(new u(t,e))}function i(t){t.subscriber.clearThrottle()}var o=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},s=t("../Subscriber"),a=t("../scheduler/async");r.throttleTime=n;var u=function(){function t(t,e){this.duration=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.duration,this.scheduler))},t}(),c=function(t){function e(e,r,n){t.call(this,e),this.duration=r,this.scheduler=n}return o(e,t),e.prototype._next=function(t){this.throttled||(this.add(this.throttled=this.scheduler.schedule(i,this.duration,{subscriber:this})),this.destination.next(t))},e.prototype.clearThrottle=function(){var t=this.throttled;t&&(t.unsubscribe(),this.remove(t),this.throttled=null)},e}(s.Subscriber)},{"../Subscriber":180,"../scheduler/async":248}],243:[function(t,e,r){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var r;"function"==typeof t[t.length-1]&&(r=t.pop());var n=t;return this.lift(new a(n,r))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),s=t("../util/subscribeToResult");r.withLatestFrom=n;var a=function(){function t(t,e){this.observables=t,this.project=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.observables,this.project))},t}(),u=function(t){function e(e,r,n){t.call(this,e),this.observables=r,this.project=n,this.toRespond=[];var i=r.length;this.values=new Array(i);for(var o=0;o<i;o++)this.toRespond.push(o);for(var o=0;o<i;o++){var a=r[o];this.add(s.subscribeToResult(this,a,a,o))}}return i(e,t),e.prototype.notifyNext=function(t,e,r,n,i){this.values[r]=e;var o=this.toRespond;if(o.length>0){var s=o.indexOf(r);-1!==s&&o.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}(o.OuterSubscriber)},{"../OuterSubscriber":176,"../util/subscribeToResult":265}],244:[function(t,e,r){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return this.lift.call(i.apply(void 0,[this].concat(t)))}function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var r=t[t.length-1];return"function"==typeof r&&t.pop(),new s.ArrayObservable(t).lift(new h(r))}var o=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},s=t("../observable/ArrayObservable"),a=t("../util/isArray"),u=t("../Subscriber"),c=t("../OuterSubscriber"),l=t("../util/subscribeToResult"),p=t("../symbol/iterator");r.zipProto=n,r.zipStatic=i;var h=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new f(t,this.project))},t}();r.ZipOperator=h;var f=function(t){function e(e,r,n){void 0===n&&(n=Object.create(null)),t.call(this,e),this.iterators=[],this.active=0,this.project="function"==typeof r?r:null,this.values=n}return o(e,t),e.prototype._next=function(t){var e=this.iterators;a.isArray(t)?e.push(new b(t)):"function"==typeof t[p.$$iterator]?e.push(new d(t[p.$$iterator]())):e.push(new m(this.destination,this,t))},e.prototype._complete=function(){var t=this.iterators,e=t.length;this.active=e;for(var r=0;r<e;r++){var n=t[r];n.stillUnsubscribed?this.add(n.subscribe(n,r)):this.active--}},e.prototype.notifyInactive=function(){0===--this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var t=this.iterators,e=t.length,r=this.destination,n=0;n<e;n++){var i=t[n];if("function"==typeof i.hasValue&&!i.hasValue())return}for(var o=!1,s=[],n=0;n<e;n++){var i=t[n],a=i.next();if(i.hasCompleted()&&(o=!0),a.done)return void r.complete();s.push(a.value)}this.project?this._tryProject(s):r.next(s),o&&r.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}(u.Subscriber);r.ZipSubscriber=f;var d=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}(),b=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[p.$$iterator]=function(){return this},t.prototype.next=function(t){var e=this.index++,r=this.array;return e<this.length?{value:r[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}(),m=function(t){function e(e,r,n){t.call(this,e),this.parent=r,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return o(e,t),e.prototype[p.$$iterator]=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,r,n,i){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return l.subscribeToResult(this,this.observable,this,e)},e}(c.OuterSubscriber)},{"../OuterSubscriber":176,"../Subscriber":180,"../observable/ArrayObservable":207,"../symbol/iterator":249,"../util/isArray":256,"../util/subscribeToResult":265}],245:[function(t,e,r){arguments[4][145][0].apply(r,arguments)},{"../Subscription":181,dup:145}],246:[function(t,e,r){arguments[4][146][0].apply(r,arguments)},{"../util/root":264,"./Action":245,dup:146}],247:[function(t,e,r){arguments[4][147][0].apply(r,arguments)},{"../Scheduler":177,dup:147}],248:[function(t,e,r){arguments[4][148][0].apply(r,arguments)},{"./AsyncAction":246,"./AsyncScheduler":247,dup:148}],249:[function(t,e,r){"use strict";function n(t){var e=t.Symbol;if("function"==typeof e)return e.iterator||(e.iterator=e("iterator polyfill")),e.iterator;var r=t.Set;if(r&&"function"==typeof(new r)["@@iterator"])return"@@iterator";var n=t.Map;if(n)for(var i=Object.getOwnPropertyNames(n.prototype),o=0;o<i.length;++o){var s=i[o];if("entries"!==s&&"size"!==s&&n.prototype[s]===n.prototype.entries)return s}return"@@iterator"}var i=t("../util/root");r.symbolIteratorPonyfill=n,r.$$iterator=n(i.root)},{"../util/root":264}],250:[function(t,e,r){"use strict";function n(t){var e,r=t.Symbol;return"function"==typeof r?r.observable?e=r.observable:(e=r("observable"),r.observable=e):e="@@observable",e}var i=t("../util/root");r.getSymbolObservable=n,r.$$observable=n(i.root)},{"../util/root":264}],251:[function(t,e,r){"use strict";var n=t("../util/root"),i=n.root.Symbol;r.$$rxSubscriber="function"==typeof i&&"function"==typeof i.for?i.for("rxSubscriber"):"@@rxSubscriber"},{"../util/root":264}],252:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=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 n(e,t),e}(Error);r.ArgumentOutOfRangeError=i},{}],253:[function(t,e,r){arguments[4][152][0].apply(r,arguments)},{dup:152}],254:[function(t,e,r){arguments[4][153][0].apply(r,arguments)},{dup:153}],255:[function(t,e,r){arguments[4][154][0].apply(r,arguments)},{dup:154}],256:[function(t,e,r){arguments[4][155][0].apply(r,arguments)},{dup:155}],257:[function(t,e,r){arguments[4][156][0].apply(r,arguments)},{dup:156}],258:[function(t,e,r){arguments[4][157][0].apply(r,arguments)},{dup:157}],259:[function(t,e,r){arguments[4][158][0].apply(r,arguments)},{dup:158}],260:[function(t,e,r){arguments[4][159][0].apply(r,arguments)},{"../util/isArray":256,dup:159}],261:[function(t,e,r){arguments[4][160][0].apply(r,arguments)},{dup:160}],262:[function(t,e,r){arguments[4][161][0].apply(r,arguments)},{dup:161}],263:[function(t,e,r){arguments[4][162][0].apply(r,arguments)},{dup:162}],264:[function(t,e,r){arguments[4][163][0].apply(r,arguments)},{dup:163}],265:[function(t,e,r){"use strict";function n(t,e,r,n){var h=new l.InnerSubscriber(t,r,n);if(h.closed)return null;if(e instanceof u.Observable)return e._isScalar?(h.next(e.value),h.complete(),null):e.subscribe(h);if(o.isArrayLike(e)){for(var f=0,d=e.length;f<d&&!h.closed;f++)h.next(e[f]);h.closed||h.complete()}else{if(s.isPromise(e))return e.then(function(t){h.closed||(h.next(t),h.complete())},function(t){return h.error(t)}).then(null,function(t){i.root.setTimeout(function(){throw t})}),h;if(e&&"function"==typeof e[c.$$iterator])for(var b=e[c.$$iterator]();;){var m=b.next();if(m.done){h.complete();break}if(h.next(m.value),h.closed)break}else if(e&&"function"==typeof e[p.$$observable]){var y=e[p.$$observable]();if("function"==typeof y.subscribe)return y.subscribe(new l.InnerSubscriber(t,r,n));h.error(new TypeError("Provided object does not correctly implement Symbol.observable"))}else{var v=a.isObject(e)?"an invalid object":"'"+e+"'",g="You provided "+v+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.";h.error(new TypeError(g))}}return null}var i=t("./root"),o=t("./isArrayLike"),s=t("./isPromise"),a=t("./isObject"),u=t("../Observable"),c=t("../symbol/iterator"),l=t("../InnerSubscriber"),p=t("../symbol/observable");r.subscribeToResult=n},{"../InnerSubscriber":172,"../Observable":174,"../symbol/iterator":249,"../symbol/observable":250,"./isArrayLike":257,"./isObject":261,"./isPromise":262,"./root":264}],266:[function(t,e,r){"use strict";function n(t,e,r){if(t){if(t instanceof i.Subscriber)return t;if(t[o.$$rxSubscriber])return t[o.$$rxSubscriber]()}return t||e||r?new i.Subscriber(t,e,r):new i.Subscriber(s.empty)}var i=t("../Subscriber"),o=t("../symbol/rxSubscriber"),s=t("../Observer");r.toSubscriber=n},{"../Observer":175,"../Subscriber":180,"../symbol/rxSubscriber":251}],267:[function(t,e,r){arguments[4][166][0].apply(r,arguments)},{"./errorObject":255,dup:166}],268:[function(t,e,r){"use strict";function n(t){var e=t.match(/^([^:\/?#]+:)?(?:\/\/([^\/?#]*))?([^?#]+)?(\?[^#]*)?(#.*)?/);if("string"==typeof e[1]&&e[1].length>0&&e[1].toLowerCase()!==window.location.protocol)return!0;var r={http:80,https:443}[window.location.protocol];return"string"==typeof e[2]&&e[2].length>0&&e[2].replace(new RegExp(":("+r+")?$"),"")!==window.location.host}function i(t){return t.replace(/#.*/,"")}function o(t,e){var r=e||window.location.href,n=t.indexOf("#")>-1,o=i(t)===i(r);return n&&o}function s(t,e){return(t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||t.oMatchesSelector).call(t,e)}function a(t,e){for(var r=t;r!==document&&r!==document.documentElement;){if(s(r,e))return r;r=r.parentNode}return null}function u(t,e,r){var i=t.href;return!(n(i)||o(i)||s(t,e)||""!==t.target||null!==r&&-1===i.search(r))}function c(){var t=document.documentElement,e=document.body,r="scrollHeight";return t[r]||e[r]}function l(){
|
26
|
-
return window.pageXOffset||document.body.scrollLeft}function p(){return window.pageYOffset||document.body.scrollTop}function h(t,e){return d.Observable.create(function(r){function n(){r.next(i),i*=e,o=setTimeout(n,i)}var i=t,o=void 0;return o=setTimeout(n,i),function(){clearTimeout(o)}})}function f(t){return document.createRange().createContextualFragment(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.isExternal=n,r.stripHash=i,r.isHash=o,r.matches=s,r.querySelectorInv=a,r.shouldLoadAnchor=u,r.getScrollHeight=c,r.getScrollLeft=l,r.getScrollTop=p,r.expInterval=h,r.fragmentFromString=f;var d=t("rxjs/Observable")},{"rxjs/Observable":174}],269:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":s(e))&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":s(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)}var s="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};Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function t(t,e){var r=[],n=!0,i=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){i=!0,o=t}finally{try{!n&&a.return&&a.return()}finally{if(i)throw o}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),u=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),c=t("rxjs/Observable"),l=t("rxjs/Subject");t("rxjs/add/observable/defer"),t("rxjs/add/observable/fromEvent"),t("rxjs/add/observable/merge"),t("rxjs/add/observable/of"),t("rxjs/add/observable/throw"),t("rxjs/add/observable/timer"),t("rxjs/add/observable/dom/ajax"),t("rxjs/add/operator/catch"),t("rxjs/add/operator/debounceTime"),t("rxjs/add/operator/delay"),t("rxjs/add/operator/distinctUntilKeyChanged"),t("rxjs/add/operator/do"),t("rxjs/add/operator/filter"),t("rxjs/add/operator/map"),t("rxjs/add/operator/mergeAll"),t("rxjs/add/operator/retryWhen"),t("rxjs/add/operator/share"),t("rxjs/add/operator/startWith"),t("rxjs/add/operator/switch"),t("rxjs/add/operator/switchMap"),t("rxjs/add/operator/take"),t("rxjs/add/operator/takeUntil"),t("rxjs/add/operator/throttleTime"),t("rxjs/add/operator/withLatestFrom"),t("rxjs/add/operator/zip");var p=t("y-component/src/component-core"),h=function(t){return t&&t.__esModule?t:{default:t}}(p),f=t("../common"),d=t("./kind");r.default=function(t){return function(t){function e(){return n(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return o(e,t),u(e,[{key:"getComponentName",value:function(){return"y-push-state"}},{key:"defaults",value:function(){return{replaceIds:[],linkSelector:"a[href]",scrollRestoration:!1,hrefRegex:null,blacklist:".no-push-state",duration:0,noPopDuration:!0}}},{key:"sideEffects",value:function(){return{}}},{key:"startHistory",value:function(){return this.checkPreCondition(),this.setupScrollRestoration(),this.cacheTitleElement(),this.setupObservables(),this}},{key:"checkPreCondition",value:function(){if(0===this.replaceIds.length){var t=this.el.id;if(!t)throw Error("No replace ids provided nor does this component have and id");console.warn("No replace ids provided. Will replace entire content of #"+t)}}},{key:"setupScrollRestoration",value:function(){var t=this;"scrollRestoration"in history&&(history.scrollRestoration=this.scrollRestoration?"manual":"auto"),this.resetScrollPostion(),window.addEventListener("beforeunload",function(){t.updateHistoryState()})}},{key:"cacheTitleElement",value:function(){this.titleElement=document.querySelector("title")||{}}},{key:"bindPushEvents",value:function(t){var e=this;return this.fromEvents(t,"click").map(function(t){return new d.Push(t)}).filter(function(t){return e.isPageChangeEvent(t)}).do(function(t){var r=t.event;e.updateHistoryState(),r.preventDefault()})}},{key:"bindHintEvents",value:function(t){var e=this;return c.Observable.merge(this.fromEvents(t,"mouseenter"),this.fromEvents(t,"touchstart"),this.fromEvents(t,"focus")).map(function(t){return new d.Hint(t)}).filter(function(t){return e.isPageChangeAnchor(t)})}},{key:"bindPopstateEvent",value:function(){return c.Observable.fromEvent(window,"popstate").map(function(t){return new d.Pop(t)}).filter(function(){return null!=window.history.state})}},{key:"linkObservable",value:function(){return c.Observable.of(this.el.querySelectorAll(this.linkSelector))}},{key:"fromEvents",value:function(t,e){return t.map(function(t){return c.Observable.fromEvent(t,e)}).mergeAll()}},{key:"fetchPage",value:function(t){var e=this;return c.Observable.ajax(this.hrefToAjax(t)).map(function(e){var r=e.response;return Object.assign(t,{response:r})}).catch(function(r){return e.recoverIfResponse(t,r)}).retryWhen(function(){return c.Observable.merge(c.Observable.fromEvent(window,"online"),(0,f.expInterval)(1e3,2)).do(e.onRetry.bind(e,t))})}},{key:"hrefToAjax",value:function(t){return{method:"GET",url:t.href,responseType:"text"}}},{key:"recoverIfResponse",value:function(t,e){var r=e.status,n=e.xhr;return n&&r&&r>400?c.Observable.of(Object.assign(t,{response:n.response})):(this.onError(Object.assign(t,e)),c.Observable.throw(e))}},{key:"setupObservables",value:function(){var t=this;this.push$$=new l.Subject,this.hint$$=new l.Subject;var e=this.push$$.switch().throttleTime(this.duration+100),r=this.bindPopstateEvent();this.page$=c.Observable.merge(e,r).share();var n=c.Observable.defer(function(){return c.Observable.merge(t.page$.map(function(){return!0}),t.render$.map(function(){return!1})).startWith(!1)});this.hint$=this.hint$$.switch().withLatestFrom(n).filter(function(t){return!1===a(t,2)[1]}).map(function(t){return a(t,1)[0]}),this.prefetch$=c.Observable.merge(this.hint$,this.page$).distinctUntilKeyChanged("href").switchMap(function(e){return t.fetchPage(e)}).catch(function(t,e){return e}).startWith({}).share(),this.render$=this.page$.do(this.onStart.bind(this)).withLatestFrom(this.prefetch$).switchMap(this.getResponse.bind(this)).map(this.responseToContent.bind(this)).do(this.onReady.bind(this)).do(this.updateDOM.bind(this)).do(this.resetScrollPostion.bind(this)).do(this.onAfter.bind(this)).catch(function(e,r){return t.onError(e),r}).share(),this.render$.debounceTime(this.duration).do(this.renewEventListeners.bind(this)).subscribe(),this.page$.switchMap(function(){return c.Observable.timer(t.duration+200).takeUntil(t.render$)}).subscribe(this.onProgress.bind(this)),this.render$.subscribe(),this.renewEventListeners()}},{key:"getResponse",value:function(t){var e=a(t,2),r=e[0],n=e[1],i=void 0;return r.href===n.href?(i=c.Observable.of(Object.assign(r,{response:n.response})),(r instanceof d.Push||!this.noPopDuration)&&(i=i.delay(this.duration+100))):(i=this.prefetch$.take(1).map(function(t){return Object.assign(r,{response:t.response})}),(r instanceof d.Push||!this.noPopDuration)&&(i=i.zip(c.Observable.timer(this.duration+100),function(t){return t}))),i}},{key:"onStart",value:function(t){var e=t.href;t instanceof d.Push&&window.history.pushState({id:this.componentName},"",e),this.fireEvent("start",{detail:t})}},{key:"onProgress",value:function(t){this.fireEvent("progress",{detail:t})}},{key:"responseToContent",value:function(t){var e=t.response,r=(0,f.fragmentFromString)(e),n=this.getTitleFromDocumentFragment(r),i=this.getContentFromDocumentFragment(r);return Object.assign(t,{title:n,content:i})}},{key:"onReady",value:function(t){this.fireEvent("ready",{detail:t})}},{key:"updateDOM",value:function(t){try{var e=t.href,r=t.title,n=t.content;t instanceof d.Push&&window.history.replaceState({id:this.componentName},r,e),this.titleElement.textContent=r,this.replaceContent(n)}catch(e){throw Object.assign(t,{error:e})}}},{key:"onAfter",value:function(t){this.fireEvent("after",{detail:t})}},{key:"renewEventListeners",value:function(){var t=this.linkObservable();this.push$$.next(this.bindPushEvents(t)),this.hint$$.next(this.bindHintEvents(t))}},{key:"onError",value:function(t){this.el.style.willChange="",this.fireEvent("error",{detail:t})}},{key:"onRetry",value:function(t){this.fireEvent("retry",{detail:t})}},{key:"isPageChangeEvent",value:function(t){var e=t.event;return!e.metaKey&&!e.ctrlKey&&this.isPageChangeAnchor(t)}},{key:"isPageChangeAnchor",value:function(t){var e=t.event.currentTarget;return null!=e&&(0,f.shouldLoadAnchor)(e,this.blacklist,this.hrefRegex)}},{key:"getTitleFromDocumentFragment",value:function(t){return(t.querySelector("title")||{}).textContent}},{key:"getContentFromDocumentFragment",value:function(t){return this.replaceIds.length>0?this.replaceIds.map(function(e){return t.querySelector("#"+e)}):t.querySelector("#"+this.el.id)}},{key:"replaceContent",value:function(t){this.replaceIds.length>0?this.replaceContentByIds(t):this.replaceContentWholesale(t)}},{key:"replaceContentByIds",value:function(t){var e=this.replaceIds.map(function(t){return document.getElementById(t)});Array.prototype.forEach.call(e,function(e){e.parentNode.replaceChild(t.shift(),e)})}},{key:"replaceContentWholesale",value:function(t){this.el.innerHTML=t.innerHTML}},{key:"saveScrollPosition",value:function(t){return Object.assign(t,{scrollTop:(0,f.getScrollTop)(),scrollHeight:(0,f.getScrollHeight)()})}},{key:"updateHistoryState",value:function(){var t=history.state||{id:this.componentName};t=this.scrollRestoration?this.saveScrollPosition(t):t,history.replaceState(t,document.title,window.location.href)}},{key:"resetScrollPostion",value:function(t){if(this.scrollRestoration){if(t instanceof d.Pop){var e=history.state||{};document.body.style.minHeight=(e.scrollHeight||0)+"px",null!=e.scrollTop&&window.scroll(window.pageXOffset,e.scrollTop)}document.body.style.minHeight=""}}}]),e}((0,h.default)(t))}},{"../common":268,"./kind":270,"rxjs/Observable":174,"rxjs/Subject":178,"rxjs/add/observable/defer":182,"rxjs/add/observable/dom/ajax":183,"rxjs/add/observable/fromEvent":184,"rxjs/add/observable/merge":185,"rxjs/add/observable/of":186,"rxjs/add/observable/throw":187,"rxjs/add/observable/timer":188,"rxjs/add/operator/catch":189,"rxjs/add/operator/debounceTime":190,"rxjs/add/operator/delay":191,"rxjs/add/operator/distinctUntilKeyChanged":192,"rxjs/add/operator/do":193,"rxjs/add/operator/filter":194,"rxjs/add/operator/map":195,"rxjs/add/operator/mergeAll":196,"rxjs/add/operator/retryWhen":197,"rxjs/add/operator/share":198,"rxjs/add/operator/startWith":199,"rxjs/add/operator/switch":200,"rxjs/add/operator/switchMap":201,"rxjs/add/operator/take":202,"rxjs/add/operator/takeUntil":203,"rxjs/add/operator/throttleTime":204,"rxjs/add/operator/withLatestFrom":205,"rxjs/add/operator/zip":206,"y-component/src/component-core":168}],270:[function(t,e,r){"use strict";function n(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":s(e))&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":s(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 o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var s="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};Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),u=r.Kind=function t(e){o(this,t),this.event=e};r.Push=function(t){function e(t){o(this,e);var r=n(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.href=t.currentTarget.href,r}return i(e,t),a(e,[{key:"type",get:function(){return"push"}}]),e}(u),r.Hint=function(t){function e(t){o(this,e);var r=n(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.href=t.currentTarget.href,r}return i(e,t),a(e,[{key:"type",get:function(){return"hint"}}]),e}(u),r.Pop=function(t){function e(t){o(this,e);var r=n(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.href=window.location.href,r}return i(e,t),a(e,[{key:"type",get:function(){return"pop"}}]),e}(u)},{}],271:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":s(e))&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":s(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)}var s="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};Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),u=t("../core"),c=function(t){return t&&t.__esModule?t:{default:t}}(u),l=function(t){function e(t,r){n(this,e);var o=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return o.setupComponent(t,r),o}return o(e,t),a(e,[{key:"setupDOM",value:function(t){if(!t)throw Error("No element provided");return t}}]),e}((0,c.default)());r.default=l},{"../core":269}]},{},[9]);
|
16
|
+
!function t(e,r,n){function i(s,a){if(!r[s]){if(!e[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(o)return o(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var l=r[s]={exports:{}};e[s][0].call(l.exports,function(t){var r=e[s][1][t];return i(r||t)},l,l.exports,t,e,r,n)}return r[s].exports}for(var o="function"==typeof require&&require,s=0;s<n.length;s++)i(n[s]);return i}({1:[function(t,e,r){"use strict";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 i(t,e){return(void 0===t?"undefined":n(t))===e}function o(t){return t.replace(/([a-z])-([a-z])/g,function(t,e,r){return e+r.toUpperCase()}).replace(/^-/,"")}function s(){return"function"!=typeof e.createElement?e.createElement(arguments[0]):O?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(O?"svg":"body"),t.fake=!0),t}function u(t,r,n,i){var o,u,c,l,h="modernizr",p=s("div"),f=a();if(parseInt(n,10))for(;n--;)c=s("div"),c.id=i?i[n]:h+(n+1),p.appendChild(c);return o=s("style"),o.type="text/css",o.id="s"+h,(f.fake?f:p).appendChild(o),f.appendChild(p),o.styleSheet?o.styleSheet.cssText=t:o.appendChild(e.createTextNode(t)),p.id=h,f.fake&&(f.style.background="",f.style.overflow="hidden",l=S.style.overflow,S.style.overflow="hidden",S.appendChild(f)),u=r(p,t),f.fake?(f.parentNode.removeChild(f),S.style.overflow=l,S.offsetHeight):p.parentNode.removeChild(p),!!u}function c(t,e){return!!~(""+t).indexOf(e)}function l(t,e){return function(){return t.apply(e,arguments)}}function h(t,e,r){var n;for(var o in t)if(t[o]in e)return!1===r?t[o]:(n=e[t[o]],i(n,"function")?l(n,r||e):n);return!1}function p(t){return t.replace(/([A-Z])/g,function(t,e){return"-"+e.toLowerCase()}).replace(/^ms-/,"-ms-")}function f(e,r,n){var i;if("getComputedStyle"in t){i=getComputedStyle.call(t,e,r);var o=t.console;if(null!==i)n&&(i=i.getPropertyValue(n));else if(o){var s=o.error?"error":"log";o[s].call(o,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}}else i=!r&&e.currentStyle&&e.currentStyle[n];return i}function d(e,n){var i=e.length;if("CSS"in t&&"supports"in t.CSS){for(;i--;)if(t.CSS.supports(p(e[i]),n))return!0;return!1}if("CSSSupportsRule"in t){for(var o=[];i--;)o.push("("+p(e[i])+":"+n+")");return o=o.join(" or "),u("@supports ("+o+") { #modernizr { position: absolute; } }",function(t){return"absolute"==f(t,null,"position")})}return r}function b(t,e,n,a){function u(){h&&(delete P.style,delete P.modElem)}if(a=!i(a,"undefined")&&a,!i(n,"undefined")){var l=d(t,n);if(!i(l,"undefined"))return l}for(var h,p,f,b,m,v=["modernizr","tspan","samp"];!P.style&&v.length;)h=!0,P.modElem=s(v.shift()),P.style=P.modElem.style;for(f=t.length,p=0;f>p;p++)if(b=t[p],m=P.style[b],c(b,"-")&&(b=o(b)),P.style[b]!==r){if(a||i(n,"undefined"))return u(),"pfx"!=e||b;try{P.style[b]=n}catch(t){}if(P.style[b]!=m)return u(),"pfx"!=e||b}return u(),!1}function m(t,e,r,n,o){var s=t.charAt(0).toUpperCase()+t.slice(1),a=(t+" "+T.join(s+" ")+s).split(" ");return i(e,"string")||i(e,"undefined")?b(a,e,n,o):(a=(t+" "+M.join(s+" ")+s).split(" "),h(a,e,r))}function v(t,e,n){return m(t,r,r,e,n)}var y=[],g={_version:"3.4.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(t,e){var r=this;setTimeout(function(){e(r[t])},0)},addTest:function(t,e,r){y.push({name:t,fn:e,options:r})},addAsyncTest:function(t){y.push({name:null,fn:t})}},w=function(){};w.prototype=g,w=new w,w.addTest("eventlistener","addEventListener"in t),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)}),w.addTest("queryselector","querySelector"in e&&"querySelectorAll"in e);var x=[],_=g._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];g._prefixes=_;var S=e.documentElement;w.addTest("classlist","classList"in S),w.addTest("documentfragment",function(){return"createDocumentFragment"in e&&"appendChild"in S});var O="svg"===S.nodeName.toLowerCase();w.addTest("opacity",function(){var t=s("a").style;return t.cssText=_.join("opacity:.55;"),/^0.55$/.test(t.opacity)}),w.addTest("csspointerevents",function(){var t=s("a").style;return t.cssText="pointer-events:auto","auto"===t.pointerEvents}),w.addTest("cssremunit",function(){var t=s("a").style;try{t.fontSize="3rem"}catch(t){}return/rem/.test(t.fontSize)});var k=g.testStyles=u;w.addTest("touchevents",function(){var r;if("ontouchstart"in t||t.DocumentTouch&&e instanceof DocumentTouch)r=!0;else{var n=["@media (",_.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");k(n,function(t){r=9===t.offsetTop})}return r});var j="Moz O ms Webkit",T=g._config.usePrefixes?j.split(" "):[];g._cssomPrefixes=T;var E=function(e){var n,i=_.length,o=t.CSSRule;if(void 0===o)return r;if(!e)return!1;if(e=e.replace(/^@/,""),(n=e.replace(/-/g,"_").toUpperCase()+"_RULE")in o)return"@"+e;for(var s=0;i>s;s++){var a=_[s];if(a.toUpperCase()+"_"+n in o)return"@-"+a.toLowerCase()+"-"+e}return!1};g.atRule=E;var M=g._config.usePrefixes?j.toLowerCase().split(" "):[];g._domPrefixes=M;var A={elem:s("modernizr")};w._q.push(function(){delete A.elem});var P={style:A.elem.style};w._q.unshift(function(){delete P.style}),g.testAllProps=m;var C=g.prefixed=function(t,e,r){return 0===t.indexOf("@")?E(t):(-1!=t.indexOf("-")&&(t=o(t)),e?m(t,e,r):m(t,"pfx"))};w.addTest("requestanimationframe",!!C("requestAnimationFrame",t),{aliases:["raf"]}),w.addTest("matchmedia",!!C("matchMedia",t)),g.testAllProps=v,w.addTest("cssanimations",v("animationName","a",!0)),w.addTest("csstransforms",function(){return-1===navigator.userAgent.indexOf("Android 2.")&&v("transform","scale(1)",!0)}),function(){var t,e,r,n,o,s,a;for(var u in y)if(y.hasOwnProperty(u)){if(t=[],e=y[u],e.name&&(t.push(e.name.toLowerCase()),e.options&&e.options.aliases&&e.options.aliases.length))for(r=0;r<e.options.aliases.length;r++)t.push(e.options.aliases[r].toLowerCase());for(n=i(e.fn,"function")?e.fn():e.fn,o=0;o<t.length;o++)s=t[o],a=s.split("."),1===a.length?w[a[0]]=n:(!w[a[0]]||w[a[0]]instanceof Boolean||(w[a[0]]=new Boolean(w[a[0]])),w[a[0]][a[1]]=n),x.push((n?"":"no-")+a.join("-"))}}(),delete g.addTest,delete g.addAsyncTest;for(var N=0;N<w._q.length;N++)w._q[N]();t.Modernizr=w}(window,document)},{}],2:[function(t,e,r){"use strict";console.log(" __ __ __ __ \r\n/\\ \\/\\ \\ /\\ \\ __ /\\ \\ \r\n\\ \\ \\_\\ \\ __ __ \\_\\ \\ __ /\\_\\ __ ___ \\ \\ \\/'\\ \r\n \\ \\ _ \\ /\\ \\/\\ \\ /'_` \\ /'__`\\ \\/\\ \\ /'__`\\ /'___\\\\ \\ , < \r\n \\ \\ \\ \\ \\\\ \\ \\_\\ \\ /\\ \\L\\ \\ /\\ __/ \\ \\ \\ /\\ \\L\\.\\_ /\\ \\__/ \\ \\ \\\\`\\ \r\n \\ \\_\\ \\_\\\\/`____ \\\\ \\___,_\\\\ \\____\\ _\\ \\ \\\\ \\__/.\\_\\\\ \\____\\ \\ \\_\\ \\_\\\r\n \\/_/\\/_/ `/___/> \\\\/__,_ / \\/____//\\ \\_\\ \\\\/__/\\/_/ \\/____/ \\/_/\\/_/\r\n /\\___/ \\ \\____/ \r\n \\/__/ \\/___/ "),console.log("Copyright (c) 2017 Florian Klampfer"),console.log("Licensed under MIT"),console.log("Powered by Hydejack (https://qwtel.com/hydejack)"),console.log("Version: "+window._version)},{}],3:[function(t,e,r){"use strict";function n(t){for(var e=!0,r=0;r<t.length;r+=1){var n=t[r],i=window.Modernizr[n];e=e&&i}return e}function i(t){t.style.display="block",t.style.visibility="visible"}function o(t){t.style.display="none",t.style.visibility="hidden"}function s(t){t.style.display="",t.style.visibility=""}function a(t,e){return(t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||t.oMatchesSelector).call(t,e)}function u(t,e,r){return c.Observable.create(function(n){return t.animate(e,r).addEventListener("finish",function(t){n.next(t),n.complete()}),function(){}})}Object.defineProperty(r,"__esModule",{value:!0}),r.unhide=void 0,r.hasFeatures=n,r.show=i,r.hide=o,r.unshow=s,r.matches=a,r.animate=u;var c=t("rxjs/Observable");r.unhide=s},{"rxjs/Observable":117}],4:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.color,r=void 0===e?"#00f":e;this.rules[0].style.color=r,this.rules[0].style.borderColor=(0,p.default)(r).fade(g).string(),this.rules[1].style.borderColor=r,this.rules[2].style.outlineColor=r,this.rules[3].style.backgroundColor=r}Object.defineProperty(r,"__esModule",{value:!0});var o=function(){function t(t,e){var r=[],n=!0,i=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){i=!0,o=t}finally{try{!n&&a.return&&a.return()}finally{if(i)throw o}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),a=t("rxjs/Observable"),u=t("rxjs/observable/empty"),c=t("rxjs/observable/fromEvent"),l=t("rxjs/observable/timer"),h=t("color"),p=function(t){return t&&t.__esModule?t:{default:t}}(h),f=t("rxjs/operator/do"),d=t("rxjs/operator/finally"),b=t("rxjs/operator/map"),m=t("rxjs/operator/zip"),v=t("./common"),y=Array.prototype.find,g=.8,w=function(){function t(e){var r,i=e.duration;n(this,t),this.sidebar=document.getElementById("_sidebar"),this.duration=i;var o=document.getElementById("_pageStyle"),s=(r=document.styleSheets,y).call(r,function(t){return t.ownerNode===o});this.rules=s.cssRules||s.rules,this.lastImage=document.getElementById("_main").getAttribute("data-image")}return s(t,[{key:"fetchImage",value:function(t){var e,r=this,n=t.color,o=t.image;if(o===this.lastImage)return u.empty.call(a.Observable);var s=void 0;if(""===o)s=l.timer.call(a.Observable,this.duration);else{var h,p=new Image;s=(h=(h=c.fromEvent.call(a.Observable,p,"load"),m.zipProto).call(h,l.timer.call(a.Observable,this.duration),function(t){return t}),d._finally).call(h,function(){p.src=""}),p.src=o}return(e=(e=s,f._do).call(e,function(){i.call(r,t),r.lastImage=o}),b.map).call(e,function(){var t=document.createElement("div");return t.classList.add("sidebar-bg"),t.style.backgroundColor=n,""!==o&&(t.style.backgroundImage="url("+o+")"),t})}},{key:"crossFade",value:function(t){var e,r=o(t,2),n=r[0],i=r[1];return n.parentNode.insertBefore(i,n.nextElementSibling),(e=(0,v.animate)(i,[{opacity:0},{opacity:1}],{duration:this.duration}),d._finally).call(e,function(){return n.parentNode.removeChild(n)})}}]),t}();r.default=w},{"./common":3,color:17,"rxjs/Observable":117,"rxjs/observable/empty":131,"rxjs/observable/fromEvent":132,"rxjs/observable/timer":133,"rxjs/operator/do":137,"rxjs/operator/finally":140,"rxjs/operator/map":141,"rxjs/operator/zip":150}],5:[function(t,e,r){"use strict";function n(){window.isDesktop!==window.matchMedia(c).matches&&(window.isDesktop=!window.isDesktop,window.drawer.persistent=window.isDesktop,window.drawer.jumpTo(window.isDesktop))}function i(t){window.isDesktop||(t.preventDefault(),window.drawer.toggle())}var o=t("y-drawer/src/vanilla"),s=function(t){return t&&t.__esModule?t:{default:t}}(o),a=t("./common"),u=["eventlistener","queryselector","matchmedia","requestanimationframe","classlist","opacity","csstransforms","csspointerevents","cssremunit"],c="(min-width: 50em)";if((0,a.hasFeatures)(u)){window.isDesktop=window.matchMedia(c).matches;var l=document.getElementById("_yDrawer");!function(t){window.drawer=t,window.addEventListener("resize",n),document.getElementById("_menu").addEventListener("click",i)}(new s.default(l,{opened:window.isDesktop,persistent:window.isDesktop,transitionDuration:150})),l.classList.add("loaded")}},{"./common":3,"y-drawer/src/vanilla":178}],6:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(r,"__esModule",{value:!0});var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=t("rxjs/Observable"),s=t("rxjs/observable/empty"),a=function(){function t(e){var r=e.shadowMain,i=e.duration;n(this,t),this.shadowMain=r,this.duration=i}return i(t,null,[{key:"create",value:function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return null!=t.types[e]?new(Function.prototype.bind.apply(t.types[e],[null].concat(n))):new(Function.prototype.bind.apply(t,[null].concat(n)))}}]),i(t,[{key:"start",value:function(){return this.shadowMain.style.opacity=0,this.shadowMain.style.willChange="",s.empty.call(o.Observable)}},{key:"ready",value:function(){return s.empty.call(o.Observable)}}]),t}();r.default=a,a.types={}},{"rxjs/Observable":117,"rxjs/observable/empty":131}],7:[function(t,e,r){"use strict"},{}],8:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(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 o(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)}var s=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),a=t("rxjs/Observable"),u=t("rxjs/observable/timer"),c=t("rxjs/operator/do"),l=t("rxjs/operator/finally"),h=t("../common"),p=t("./flip"),f=function(t){return t&&t.__esModule?t:{default:t}}(p),d=function(t){function e(){return n(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return o(e,t),s(e,[{key:"start",value:function(t){var e,r=this,n=document.createElement("h1");n.classList.add("page-title"),n.textContent=t.textContent,n.style.transformOrigin="left top",this.shadowMain.querySelector(".page").innerHTML="",this.shadowMain.querySelector(".page").appendChild(n),this.shadowMain.style.position="fixed",this.shadowMain.style.opacity=1;var i=t.getBoundingClientRect(),o=parseInt(getComputedStyle(t).fontSize,10),s=n.getBoundingClientRect(),a=parseInt(getComputedStyle(n).fontSize,10),u=i.left-s.left,l=i.top-s.top,p=o/a;return t.style.opacity=0,(e=(0,h.animate)(n,[{transform:"translate3d("+u+"px, "+l+"px, 0) scale("+p+")"},{transform:"translate3d(0, 0, 0) scale(1)"}],{duration:this.duration,easing:"cubic-bezier(0,0,0.32,1)"}),c._do).call(e,function(){r.shadowMain.style.position="absolute"})}},{key:"ready",value:function(t){var e,r=this;this.shadowMain.style.willChange="opacity";var n=t.querySelector(".page-title, .post-title");return null!=n&&(n.style.opacity=0,n.style.willChange="opacity"),(e=(e=u.timer.call(a.Observable,this.duration+100),c._do).call(e,function(){null!=n&&(n.style.opacity=1,n.style.willChange="")}),l._finally).call(e,function(){r.shadowMain.style.opacity=0,r.shadowMain.style.willChange=""})}}]),e}(f.default);f.default.types.title=d},{"../common":3,"./flip":6,"rxjs/Observable":117,"rxjs/observable/timer":133,"rxjs/operator/do":137,"rxjs/operator/finally":140}],9:[function(t,e,r){"use strict";t("core-js/fn/array/for-each"),t("core-js/fn/array/find"),t("core-js/fn/function/bind"),t("core-js/fn/number/constructor"),t("core-js/fn/object/assign"),t("core-js/fn/object/define-property"),t("core-js/fn/object/keys"),t("core-js/fn/array/reduce"),t("web-animations-js"),t("../lib/modernizr"),t("../lib/version"),t("./katex"),t("./drawer"),t("./push-state")},{"../lib/modernizr":1,"../lib/version":2,"./drawer":5,"./katex":10,"./push-state":11,"core-js/fn/array/find":18,"core-js/fn/array/for-each":19,"core-js/fn/array/reduce":20,"core-js/fn/function/bind":21,"core-js/fn/number/constructor":22,"core-js/fn/object/assign":23,"core-js/fn/object/define-property":24,"core-js/fn/object/keys":25,"web-animations-js":174}],10:[function(t,e,r){"use strict";function n(t){Array.prototype.forEach.call(t,function(t){t.style.willChange="content"})}function i(t,e){t.outerHTML=l.default.renderToString(e,{displayMode:"math/tex; mode=display"===t.type})}function o(t,e){try{var r=t.previousElementSibling;i(t,e),r&&(0,h.matches)(r,".MathJax_Preview")&&(0,h.hide)(r)}catch(t){console.error(t)}finally{t.style.willChange=""}}function s(t){return t.textContent.replace("% <![CDATA[","").replace("%]]>","")}function a(t){Array.prototype.forEach.call(t,function(t){o(t,s(t))})}function u(){if((0,h.hasFeatures)(p)){var t=document.querySelectorAll('script[type^="math/tex"]');t.length&&(n(t),a(t))}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=u;var c=t("katex"),l=function(t){return t&&t.__esModule?t:{default:t}}(c),h=t("./common"),p=["eventlistener","queryselector"];if((0,h.hasFeatures)(p)){var f=document.getElementsByTagName("style")[0];loadCSS("https://unpkg.com/katex@0.6.0/dist/katex.min.css",f).addEventListener("load",u)}},{"./common":3,katex:91}],11:[function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function i(){return u._catch.call(this,function(t,e){return console.error(t),e})}var o=function(){function t(t,e){var r=[],n=!0,i=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){i=!0,o=t}finally{try{!n&&a.return&&a.return()}finally{if(i)throw o}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=t("rxjs/Observable"),a=t("rxjs/observable/fromEvent"),u=t("rxjs/operator/catch"),c=t("rxjs/operator/do"),l=t("rxjs/operator/debounceTime"),h=t("rxjs/operator/exhaustMap"),p=t("rxjs/operator/filter"),f=t("rxjs/operator/map"),d=t("rxjs/operator/mergeMap"),b=t("rxjs/operator/pairwise"),m=t("rxjs/operator/share"),v=t("rxjs/operator/startWith"),y=t("rxjs/operator/switchMap"),g=t("rxjs/operator/takeUntil"),w=t("rxjs/operator/zip"),x=t("y-push-state/src/vanilla"),_=n(x),S=t("elem-dataset"),O=n(S),k=t("./common"),j=t("./cross-fader"),T=n(j),E=t("./katex"),M=n(E),A=t("./flip/flip"),P=n(A);t("./flip/title"),t("./flip/project");var C=["eventlistener","queryselector","requestanimationframe","classlist","documentfragment","history","opacity","cssanimations"];if((0,k.hasFeatures)(C)){var N,R=navigator.userAgent.toLowerCase(),z=R.indexOf("safari")>0&&R.indexOf("chrome")<0,F=new T.default({duration:500}),q=document.getElementById("_yPushState"),I=document.createElement("div");I.classList.add("shadow-main"),I.innerHTML='\n <div class="content container">\n <div class="page"></div>\n </div>',q.parentNode.insertBefore(I,q);var D=document.createElement("div");D.classList.add("loading"),D.innerHTML='\n <span class="sr-only">Loading...</span>\n <div class="sk-folding-cube">\n <div class="sk-cube1 sk-cube"></div>\n <div class="sk-cube2 sk-cube"></div>\n <div class="sk-cube4 sk-cube"></div>\n <div class="sk-cube3 sk-cube"></div>\n </div>\n ',q.parentNode.insertBefore(D,q);var L=(N=(N=(N=(N=a.fromEvent.call(s.Observable,q,"y-push-state-start"),f.map).call(N,function(t){return t.detail}),f.map).call(N,function(t){return[t,document.getElementById("_main")]}),c._do).call(N,function(){!window.isDesktop&&window.drawer.opened&&window.drawer.close()}),m.share).call(N),U=(N=(N=a.fromEvent.call(s.Observable,q,"y-push-state-ready"),f.map).call(N,function(t){return t.detail}),m.share).call(N),B=(N=a.fromEvent.call(s.Observable,q,"y-push-state-progress"),f.map).call(N,function(t){return t.detail}),H=(N=(N=a.fromEvent.call(s.Observable,q,"y-push-state-after"),f.map).call(N,function(t){return t.detail}),m.share).call(N);z&&(a.fromEvent.call(s.Observable,window,"popstate").subscribe(function(){document.body.style.minHeight="999999px"}),H.subscribe(function(){document.body.style.minHeight=""})),(N=y.switchMap.call(L,function(t){var e=o(t,1),r=e[0],n=r.event.currentTarget,i=P.default.create(n.getAttribute&&n.getAttribute("data-flip"),{shadowMain:I,currentTarget:n,duration:250});return r.flip=i,i.start(n)}),i).call(N).subscribe(),(N=(N=(N=c._do.call(L,function(t){o(t,2)[1].style.opacity=0}),p.filter).call(N,function(t){return"push"===o(t,1)[0].type||!z}),h.exhaustMap).call(N,function(t){var e,r=o(t,2),n=r[0].type,i=r[1];return(e=(e=(0,k.animate)(i,[{opacity:1},{opacity:0}],{duration:250,easing:"cubic-bezier(0,0,0.32,1)"}),c._do).call(e,function(){"push"===n&&window.scroll(0,0)}),w.zipProto).call(e,H)}),i).call(N).subscribe(),(N=c._do.call(B,function(){D.style.display="block"}),i).call(N).subscribe(),(N=(N=(N=c._do.call(U,function(){D.style.display="none"}),p.filter).call(N,function(t){return"push"===t.type||!z}),y.switchMap).call(N,function(t){var e,r=t.flip,n=o(t.content,1),i=n[0];return(e=r.ready(i),g.takeUntil).call(e,L)}),i).call(N).subscribe(),(N=(N=(N=(N=y.switchMap.call(U,function(t){var e,r=o(t.content,1),n=r[0];return(e=F.fetchImage((0,O.default)(n)),g.takeUntil).call(e,L)}),v.startWith).call(N,document.querySelector(".sidebar-bg")),b.pairwise).call(N),d.mergeMap).call(N,F.crossFade.bind(F)),i).call(N).subscribe(),(N=(N=(N=p.filter.call(H,function(t){return"push"===t.type||!z}),f.map).call(N,function(t){return[t,document.querySelector("main")]}),y.switchMap).call(N,function(t){var e=o(t,2),r=e[1];return(0,k.animate)(r,[{transform:"translateY(-2rem)",opacity:0},{transform:"translateY(0)",opacity:1}],{duration:250,easing:"cubic-bezier(0,0,0.32,1)"})}),i).call(N).subscribe(),(N=(N=l.debounceTime.call(H,500),c._do).call(N,function(){window.ga&&window.ga("send","pageview"),(0,M.default)()}),i).call(N).subscribe(),new _.default(q,{replaceIds:["_main"],linkSelector:'a[href^="/"]',duration:250,noPopDuration:z,scrollRestoration:!z}).startHistory()}},{"./common":3,"./cross-fader":4,"./flip/flip":6,"./flip/project":7,"./flip/title":8,"./katex":10,"elem-dataset":89,"rxjs/Observable":117,"rxjs/observable/fromEvent":132,"rxjs/operator/catch":134,"rxjs/operator/debounceTime":136,"rxjs/operator/do":137,"rxjs/operator/exhaustMap":138,"rxjs/operator/filter":139,"rxjs/operator/map":141,"rxjs/operator/mergeMap":143,"rxjs/operator/pairwise":145,"rxjs/operator/share":146,"rxjs/operator/startWith":147,"rxjs/operator/switchMap":148,"rxjs/operator/takeUntil":149,"rxjs/operator/zip":150,"y-push-state/src/vanilla":278}],12:[function(t,e,r){function n(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 i=t("color-name"),o={};for(var s in i)i.hasOwnProperty(s)&&(o[i[s]]=s);var a=e.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,r,n,i=t[0]/255,o=t[1]/255,s=t[2]/255,a=Math.min(i,o,s),u=Math.max(i,o,s),c=u-a;return u===a?e=0:i===u?e=(o-s)/c:o===u?e=2+(s-i)/c:s===u&&(e=4+(i-o)/c),e=Math.min(60*e,360),e<0&&(e+=360),n=(a+u)/2,r=u===a?0:n<=.5?c/(u+a):c/(2-u-a),[e,100*r,100*n]},a.rgb.hsv=function(t){var e,r,n,i=t[0],o=t[1],s=t[2],a=Math.min(i,o,s),u=Math.max(i,o,s),c=u-a;return r=0===u?0:c/u*1e3/10,u===a?e=0:i===u?e=(o-s)/c:o===u?e=2+(s-i)/c:s===u&&(e=4+(i-o)/c),e=Math.min(60*e,360),e<0&&(e+=360),n=u/255*1e3/10,[e,r,n]},a.rgb.hwb=function(t){var e=t[0],r=t[1],n=t[2],i=a.rgb.hsl(t)[0],o=1/255*Math.min(e,Math.min(r,n));return n=1-1/255*Math.max(e,Math.max(r,n)),[i,100*o,100*n]},a.rgb.cmyk=function(t){var e,r,n,i,o=t[0]/255,s=t[1]/255,a=t[2]/255;return i=Math.min(1-o,1-s,1-a),e=(1-o-i)/(1-i)||0,r=(1-s-i)/(1-i)||0,n=(1-a-i)/(1-i)||0,[100*e,100*r,100*n,100*i]},a.rgb.keyword=function(t){var e=o[t];if(e)return e;var r,s=1/0;for(var a in i)if(i.hasOwnProperty(a)){var u=i[a],c=n(t,u);c<s&&(s=c,r=a)}return r},a.keyword.rgb=function(t){return i[t]},a.rgb.xyz=function(t){var e=t[0]/255,r=t[1]/255,n=t[2]/255;return e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,[100*(.4124*e+.3576*r+.1805*n),100*(.2126*e+.7152*r+.0722*n),100*(.0193*e+.1192*r+.9505*n)]},a.rgb.lab=function(t){var e,r,n,i=a.rgb.xyz(t),o=i[0],s=i[1],u=i[2];return o/=95.047,s/=100,u/=108.883,o=o>.008856?Math.pow(o,1/3):7.787*o+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,r=500*(o-s),n=200*(s-u),[e,r,n]},a.hsl.rgb=function(t){var e,r,n,i,o,s=t[0]/360,a=t[1]/100,u=t[2]/100;if(0===a)return o=255*u,[o,o,o];r=u<.5?u*(1+a):u+a-u*a,e=2*u-r,i=[0,0,0];for(var c=0;c<3;c++)n=s+1/3*-(c-1),n<0&&n++,n>1&&n--,o=6*n<1?e+6*(r-e)*n:2*n<1?r:3*n<2?e+(r-e)*(2/3-n)*6:e,i[c]=255*o;return i},a.hsl.hsv=function(t){var e,r,n=t[0],i=t[1]/100,o=t[2]/100,s=i,a=Math.max(o,.01);return o*=2,i*=o<=1?o:2-o,s*=a<=1?a:2-a,r=(o+i)/2,e=0===o?2*s/(a+s):2*i/(o+i),[n,100*e,100*r]},a.hsv.rgb=function(t){var e=t[0]/60,r=t[1]/100,n=t[2]/100,i=Math.floor(e)%6,o=e-Math.floor(e),s=255*n*(1-r),a=255*n*(1-r*o),u=255*n*(1-r*(1-o));switch(n*=255,i){case 0:return[n,u,s];case 1:return[a,n,s];case 2:return[s,n,u];case 3:return[s,a,n];case 4:return[u,s,n];case 5:return[n,s,a]}},a.hsv.hsl=function(t){var e,r,n,i=t[0],o=t[1]/100,s=t[2]/100,a=Math.max(s,.01);return n=(2-o)*s,e=(2-o)*a,r=o*a,r/=e<=1?e:2-e,r=r||0,n/=2,[i,100*r,100*n]},a.hwb.rgb=function(t){var e,r,n,i,o=t[0]/360,s=t[1]/100,a=t[2]/100,u=s+a;u>1&&(s/=u,a/=u),e=Math.floor(6*o),r=1-a,n=6*o-e,0!=(1&e)&&(n=1-n),i=s+n*(r-s);var c,l,h;switch(e){default:case 6:case 0:c=r,l=i,h=s;break;case 1:c=i,l=r,h=s;break;case 2:c=s,l=r,h=i;break;case 3:c=s,l=i,h=r;break;case 4:c=i,l=s,h=r;break;case 5:c=r,l=s,h=i}return[255*c,255*l,255*h]},a.cmyk.rgb=function(t){var e,r,n,i=t[0]/100,o=t[1]/100,s=t[2]/100,a=t[3]/100;return e=1-Math.min(1,i*(1-a)+a),r=1-Math.min(1,o*(1-a)+a),n=1-Math.min(1,s*(1-a)+a),[255*e,255*r,255*n]},a.xyz.rgb=function(t){var e,r,n,i=t[0]/100,o=t[1]/100,s=t[2]/100;return e=3.2406*i+-1.5372*o+-.4986*s,r=-.9689*i+1.8758*o+.0415*s,n=.0557*i+-.204*o+1.057*s,e=e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,e=Math.min(Math.max(0,e),1),r=Math.min(Math.max(0,r),1),n=Math.min(Math.max(0,n),1),[255*e,255*r,255*n]},a.xyz.lab=function(t){var e,r,n,i=t[0],o=t[1],s=t[2];return i/=95.047,o/=100,s/=108.883,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,e=116*o-16,r=500*(i-o),n=200*(o-s),[e,r,n]},a.lab.xyz=function(t){var e,r,n,i=t[0],o=t[1],s=t[2];r=(i+16)/116,e=o/500+r,n=r-s/200;var a=Math.pow(r,3),u=Math.pow(e,3),c=Math.pow(n,3);return r=a>.008856?a:(r-16/116)/7.787,e=u>.008856?u:(e-16/116)/7.787,n=c>.008856?c:(n-16/116)/7.787,e*=95.047,r*=100,n*=108.883,[e,r,n]},a.lab.lch=function(t){var e,r,n,i=t[0],o=t[1],s=t[2];return e=Math.atan2(s,o),r=360*e/2/Math.PI,r<0&&(r+=360),n=Math.sqrt(o*o+s*s),[i,n,r]},a.lch.lab=function(t){var e,r,n,i=t[0],o=t[1],s=t[2];return n=s/360*2*Math.PI,e=o*Math.cos(n),r=o*Math.sin(n),[i,e,r]},a.rgb.ansi16=function(t){var e=t[0],r=t[1],n=t[2],i=1 in arguments?arguments[1]:a.rgb.hsv(t)[2];if(0===(i=Math.round(i/50)))return 30;var o=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(e/255));return 2===i&&(o+=60),o},a.hsv.ansi16=function(t){return a.rgb.ansi16(a.hsv.rgb(t),t[2])},a.rgb.ansi256=function(t){var e=t[0],r=t[1],n=t[2];return e===r&&r===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(n/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 r=.5*(1+~~(t>50));return[(1&e)*r*255,(e>>1&1)*r*255,(e>>2&1)*r*255]},a.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}t-=16;var r;return[Math.floor(t/36)/5*255,Math.floor((r=t%36)/6)/5*255,r%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])),r=e.toString(16).toUpperCase();return"000000".substring(r.length)+r},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 r=e[0];3===e[0].length&&(r=r.split("").map(function(t){return t+t}).join(""));var n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},a.rgb.hcg=function(t){var e,r,n=t[0]/255,i=t[1]/255,o=t[2]/255,s=Math.max(Math.max(n,i),o),a=Math.min(Math.min(n,i),o),u=s-a;return e=u<1?a/(1-u):0,r=u<=0?0:s===n?(i-o)/u%6:s===i?2+(o-n)/u:4+(n-i)/u+4,r/=6,r%=1,[360*r,100*u,100*e]},a.hsl.hcg=function(t){var e=t[1]/100,r=t[2]/100,n=1,i=0;return n=r<.5?2*e*r:2*e*(1-r),n<1&&(i=(r-.5*n)/(1-n)),[t[0],100*n,100*i]},a.hsv.hcg=function(t){var e=t[1]/100,r=t[2]/100,n=e*r,i=0;return n<1&&(i=(r-n)/(1-n)),[t[0],100*n,100*i]},a.hcg.rgb=function(t){var e=t[0]/360,r=t[1]/100,n=t[2]/100;if(0===r)return[255*n,255*n,255*n];var i=[0,0,0],o=e%1*6,s=o%1,a=1-s,u=0;switch(Math.floor(o)){case 0:i[0]=1,i[1]=s,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=s;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=s,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return u=(1-r)*n,[255*(r*i[0]+u),255*(r*i[1]+u),255*(r*i[2]+u)]},a.hcg.hsv=function(t){var e=t[1]/100,r=t[2]/100,n=e+r*(1-e),i=0;return n>0&&(i=e/n),[t[0],100*i,100*n]},a.hcg.hsl=function(t){var e=t[1]/100,r=t[2]/100,n=r*(1-e)+.5*e,i=0;return n>0&&n<.5?i=e/(2*n):n>=.5&&n<1&&(i=e/(2*(1-n))),[t[0],100*i,100*n]},a.hcg.hwb=function(t){var e=t[1]/100,r=t[2]/100,n=e+r*(1-e);return[t[0],100*(n-e),100*(1-n)]},a.hwb.hcg=function(t){var e=t[1]/100,r=t[2]/100,n=1-r,i=n-e,o=0;return i<1&&(o=(n-i)/(1-i)),[t[0],100*i,100*o]},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),r=(e<<16)+(e<<8)+e,n=r.toString(16).toUpperCase();return"000000".substring(n.length)+n},
|
17
|
+
a.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}},{"color-name":15}],13:[function(t,e,r){function n(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 i(t){var e=function(e){if(void 0===e||null===e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var r=t(e);if("object"==typeof r)for(var n=r.length,i=0;i<n;i++)r[i]=Math.round(r[i]);return r};return"conversion"in t&&(e.conversion=t.conversion),e}var o=t("./conversions"),s=t("./route"),a={};Object.keys(o).forEach(function(t){a[t]={},Object.defineProperty(a[t],"channels",{value:o[t].channels}),Object.defineProperty(a[t],"labels",{value:o[t].labels});var e=s(t);Object.keys(e).forEach(function(r){var o=e[r];a[t][r]=i(o),a[t][r].raw=n(o)})}),e.exports=a},{"./conversions":12,"./route":14}],14:[function(t,e,r){function n(){for(var t={},e=u.length,r=0;r<e;r++)t[u[r]]={distance:-1,parent:null};return t}function i(t){var e=n(),r=[t];for(e[t].distance=0;r.length;)for(var i=r.pop(),o=Object.keys(a[i]),s=o.length,u=0;u<s;u++){var c=o[u],l=e[c];-1===l.distance&&(l.distance=e[i].distance+1,l.parent=i,r.unshift(c))}return e}function o(t,e){return function(r){return e(t(r))}}function s(t,e){for(var r=[e[t].parent,t],n=a[e[t].parent][t],i=e[t].parent;e[i].parent;)r.unshift(e[i].parent),n=o(a[e[i].parent][i],n),i=e[i].parent;return n.conversion=r,n}var a=t("./conversions"),u=Object.keys(a);e.exports=function(t){for(var e=i(t),r={},n=Object.keys(e),o=n.length,a=0;a<o;a++){var u=n[a];null!==e[u].parent&&(r[u]=s(u,e))}return r}},{"./conversions":12}],15:[function(t,e,r){e.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]}},{}],16:[function(t,e,r){function n(t,e,r){return Math.min(Math.max(e,t),r)}function i(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}var o=t("color-name"),s=t("simple-swizzle"),a={};for(var u in o)o.hasOwnProperty(u)&&(a[o[u]]=u);var c=e.exports={to:{}};c.get=function(t){var e,r,n=t.substring(0,3).toLowerCase();switch(n){case"hsl":e=c.get.hsl(t),r="hsl";break;case"hwb":e=c.get.hwb(t),r="hwb";break;default:e=c.get.rgb(t),r="rgb"}return e?{model:r,value:e}:null},c.get.rgb=function(t){if(!t)return null;var e,r,i,s=[0,0,0,1];if(e=t.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(i=e[2],e=e[1],r=0;r<3;r++){var a=2*r;s[r]=parseInt(e.slice(a,a+2),16)}i&&(s[3]=Math.round(parseInt(i,16)/255*100)/100)}else if(e=t.match(/^#([a-f0-9]{3,4})$/i)){for(e=e[1],i=e[3],r=0;r<3;r++)s[r]=parseInt(e[r]+e[r],16);i&&(s[3]=Math.round(parseInt(i+i,16)/255*100)/100)}else if(e=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(r=0;r<3;r++)s[r]=parseInt(e[r+1],0);e[4]&&(s[3]=parseFloat(e[4]))}else{if(!(e=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)))return(e=t.match(/(\D+)/))?"transparent"===e[1]?[0,0,0,0]:(s=o[e[1]])?(s[3]=1,s):null:null;for(r=0;r<3;r++)s[r]=Math.round(2.55*parseFloat(e[r+1]));e[4]&&(s[3]=parseFloat(e[4]))}for(r=0;r<3;r++)s[r]=n(s[r],0,255);return s[3]=n(s[3],0,1),s},c.get.hsl=function(t){if(!t)return null;var e=t.match(/^hsla?\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(e){var r=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,n(parseFloat(e[2]),0,100),n(parseFloat(e[3]),0,100),n(isNaN(r)?1:r,0,1)]}return null},c.get.hwb=function(t){if(!t)return null;var e=t.match(/^hwb\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(e){var r=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,n(parseFloat(e[2]),0,100),n(parseFloat(e[3]),0,100),n(isNaN(r)?1:r,0,1)]}return null},c.to.hex=function(){var t=s(arguments);return"#"+i(t[0])+i(t[1])+i(t[2])+(t[3]<1?i(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),r=Math.round(t[1]/255*100),n=Math.round(t[2]/255*100);return t.length<4||1===t[3]?"rgb("+e+"%, "+r+"%, "+n+"%)":"rgba("+e+"%, "+r+"%, "+n+"%, "+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)]}},{"color-name":15,"simple-swizzle":173}],17:[function(t,e,r){"use strict";function n(t,e){if(!(this instanceof n))return new n(t,e);if(e&&e in f&&(e=null),e&&!(e in h))throw new Error("Unknown model: "+e);var r,i;if(t)if(t instanceof n)this.model=t.model,this.color=t.color.slice(),this.valpha=t.valpha;else if("string"==typeof t){var o=l.get(t);if(null===o)throw new Error("Unable to parse color from string: "+t);this.model=o.model,i=h[this.model].channels,this.color=o.value.slice(0,i),this.valpha="number"==typeof o.value[i]?o.value[i]:1}else if(t.length){this.model=e||"rgb",i=h[this.model].channels;var s=p.call(t,0,i);this.color=c(s,i),this.valpha="number"==typeof t[i]?t[i]: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 m=h[this.model].labels,v=[];for(r=0;r<m.length;r++)v.push(t[m[r]]);this.color=c(v)}else this.model="rgb",this.color=[0,0,0],this.valpha=1;if(b[this.model])for(i=h[this.model].channels,r=0;r<i;r++){var y=b[this.model][r];y&&(this.color[r]=y(this.color[r]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}function i(t,e){return Number(t.toFixed(e))}function o(t){return function(e){return i(e,t)}}function s(t,e,r){return t=Array.isArray(t)?t:[t],t.forEach(function(t){(b[t]||(b[t]=[]))[e]=r}),t=t[0],function(n){var i;return arguments.length?(r&&(n=r(n)),i=this[t](),i.color[e]=n,i):(i=this[t]().color[e],r&&(i=r(i)),i)}}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 r=0;r<e;r++)"number"!=typeof t[r]&&(t[r]=0);return t}var l=t("color-string"),h=t("color-convert"),p=[].slice,f=["keyword","gray","hex"],d={};Object.keys(h).forEach(function(t){d[p.call(h[t].labels).sort().join("")]=t});var b={};n.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 r=1===e.valpha?e.color:e.color.concat(this.valpha);return l.to[e.model](r)},percentString:function(t){var e=this.rgb().round("number"==typeof t?t:1),r=1===e.valpha?e.color:e.color.concat(this.valpha);return l.to.rgb.percent(r)},array:function(){return 1===this.valpha?this.color.slice():this.color.concat(this.valpha)},object:function(){for(var t={},e=h[this.model].channels,r=h[this.model].labels,n=0;n<e;n++)t[r[n]]=this.color[n];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 n(this.color.map(o(t)).concat(this.valpha),this.model)},alpha:function(t){return arguments.length?new n(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 n(t):h[this.model].keyword(this.color)},hex:function(t){return arguments.length?new n(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=[],r=0;r<t.length;r++){var n=t[r]/255;e[r]=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),r=t.luminosity();return e>r?(e+.05)/(r+.05):(r+.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 n.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(),r=e.color[0];return r=(r+t)%360,r=r<0?360+r:r,e.color[0]=r,e},mix:function(t,e){var r=this.rgb(),i=t.rgb(),o=void 0===e?.5:e,s=2*o-1,a=r.alpha()-i.alpha(),u=((s*a==-1?s:(s+a)/(1+s*a))+1)/2,c=1-u;return n.rgb(u*r.red()+c*i.red(),u*r.green()+c*i.green(),u*r.blue()+c*i.blue(),r.alpha()*o+i.alpha()*(1-o))}},Object.keys(h).forEach(function(t){if(-1===f.indexOf(t)){var e=h[t].channels;n.prototype[t]=function(){if(this.model===t)return new n(this);if(arguments.length)return new n(arguments,t);var r="number"==typeof arguments[e]?e:this.valpha;return new n(u(h[this.model][t].raw(this.color)).concat(r),t)},n[t]=function(r){return"number"==typeof r&&(r=c(p.call(arguments),e)),new n(r,t)}}}),e.exports=n},{"color-convert":13,"color-string":16}],18:[function(t,e,r){t("../../modules/es6.array.find"),e.exports=t("../../modules/_core").Array.find},{"../../modules/_core":36,"../../modules/es6.array.find":81}],19:[function(t,e,r){t("../../modules/es6.array.for-each"),e.exports=t("../../modules/_core").Array.forEach},{"../../modules/_core":36,"../../modules/es6.array.for-each":82}],20:[function(t,e,r){t("../../modules/es6.array.reduce"),e.exports=t("../../modules/_core").Array.reduce},{"../../modules/_core":36,"../../modules/es6.array.reduce":83}],21:[function(t,e,r){t("../../modules/es6.function.bind"),e.exports=t("../../modules/_core").Function.bind},{"../../modules/_core":36,"../../modules/es6.function.bind":84}],22:[function(t,e,r){t("../../modules/es6.number.constructor"),e.exports=Number},{"../../modules/es6.number.constructor":85}],23:[function(t,e,r){t("../../modules/es6.object.assign"),e.exports=t("../../modules/_core").Object.assign},{"../../modules/_core":36,"../../modules/es6.object.assign":86}],24:[function(t,e,r){t("../../modules/es6.object.define-property");var n=t("../../modules/_core").Object;e.exports=function(t,e,r){return n.defineProperty(t,e,r)}},{"../../modules/_core":36,"../../modules/es6.object.define-property":87}],25:[function(t,e,r){t("../../modules/es6.object.keys"),e.exports=t("../../modules/_core").Object.keys},{"../../modules/_core":36,"../../modules/es6.object.keys":88}],26:[function(t,e,r){e.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},{}],27:[function(t,e,r){var n=t("./_wks")("unscopables"),i=Array.prototype;void 0==i[n]&&t("./_hide")(i,n,{}),e.exports=function(t){i[n][t]=!0}},{"./_hide":46,"./_wks":80}],28:[function(t,e,r){var n=t("./_is-object");e.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},{"./_is-object":53}],29:[function(t,e,r){var n=t("./_to-iobject"),i=t("./_to-length"),o=t("./_to-index");e.exports=function(t){return function(e,r,s){var a,u=n(e),c=i(u.length),l=o(s,c);if(t&&r!=r){for(;c>l;)if((a=u[l++])!=a)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===r)return t||l||0;return!t&&-1}}},{"./_to-index":73,"./_to-iobject":75,"./_to-length":76}],30:[function(t,e,r){var n=t("./_ctx"),i=t("./_iobject"),o=t("./_to-object"),s=t("./_to-length"),a=t("./_array-species-create");e.exports=function(t,e){var r=1==t,u=2==t,c=3==t,l=4==t,h=6==t,p=5==t||h,f=e||a;return function(e,a,d){for(var b,m,v=o(e),y=i(v),g=n(a,d,3),w=s(y.length),x=0,_=r?f(e,w):u?f(e,0):void 0;w>x;x++)if((p||x in y)&&(b=y[x],m=g(b,x,v),t))if(r)_[x]=m;else if(m)switch(t){case 3:return!0;case 5:return b;case 6:return x;case 2:_.push(b)}else if(l)return!1;return h?-1:c||l?l:_}}},{"./_array-species-create":33,"./_ctx":37,"./_iobject":51,"./_to-length":76,"./_to-object":77}],31:[function(t,e,r){var n=t("./_a-function"),i=t("./_to-object"),o=t("./_iobject"),s=t("./_to-length");e.exports=function(t,e,r,a,u){n(e);var c=i(t),l=o(c),h=s(c.length),p=u?h-1:0,f=u?-1:1;if(r<2)for(;;){if(p in l){a=l[p],p+=f;break}if(p+=f,u?p<0:h<=p)throw TypeError("Reduce of empty array with no initial value")}for(;u?p>=0:h>p;p+=f)p in l&&(a=e(a,l[p],p,c));return a}},{"./_a-function":26,"./_iobject":51,"./_to-length":76,"./_to-object":77}],32:[function(t,e,r){var n=t("./_is-object"),i=t("./_is-array"),o=t("./_wks")("species");e.exports=function(t){var e;return i(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!i(e.prototype)||(e=void 0),n(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},{"./_is-array":52,"./_is-object":53,"./_wks":80}],33:[function(t,e,r){var n=t("./_array-species-constructor");e.exports=function(t,e){return new(n(t))(e)}},{"./_array-species-constructor":32}],34:[function(t,e,r){"use strict";var n=t("./_a-function"),i=t("./_is-object"),o=t("./_invoke"),s=[].slice,a={},u=function(t,e,r){if(!(e in a)){for(var n=[],i=0;i<e;i++)n[i]="a["+i+"]";a[e]=Function("F,a","return new F("+n.join(",")+")")}return a[e](t,r)};e.exports=Function.bind||function(t){var e=n(this),r=s.call(arguments,1),a=function(){var n=r.concat(s.call(arguments));return this instanceof a?u(e,n.length,n):o(e,n,t)};return i(e.prototype)&&(a.prototype=e.prototype),a}},{"./_a-function":26,"./_invoke":50,"./_is-object":53}],35:[function(t,e,r){var n={}.toString;e.exports=function(t){return n.call(t).slice(8,-1)}},{}],36:[function(t,e,r){var n=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},{}],37:[function(t,e,r){var n=t("./_a-function");e.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}}},{"./_a-function":26}],38:[function(t,e,r){e.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},{}],39:[function(t,e,r){e.exports=!t("./_fails")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{"./_fails":43}],40:[function(t,e,r){var n=t("./_is-object"),i=t("./_global").document,o=n(i)&&n(i.createElement);e.exports=function(t){return o?i.createElement(t):{}}},{"./_global":44,"./_is-object":53}],41:[function(t,e,r){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],42:[function(t,e,r){var n=t("./_global"),i=t("./_core"),o=t("./_hide"),s=t("./_redefine"),a=t("./_ctx"),u=function(t,e,r){var c,l,h,p,f=t&u.F,d=t&u.G,b=t&u.S,m=t&u.P,v=t&u.B,y=d?n:b?n[e]||(n[e]={}):(n[e]||{}).prototype,g=d?i:i[e]||(i[e]={}),w=g.prototype||(g.prototype={});d&&(r=e);for(c in r)l=!f&&y&&void 0!==y[c],h=(l?y:r)[c],p=v&&l?a(h,n):m&&"function"==typeof h?a(Function.call,h):h,y&&s(y,c,h,t&u.U),g[c]!=h&&o(g,c,p),m&&w[c]!=h&&(w[c]=h)};n.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},{"./_core":36,"./_ctx":37,"./_global":44,"./_hide":46,"./_redefine":66}],43:[function(t,e,r){e.exports=function(t){try{return!!t()}catch(t){return!0}}},{}],44:[function(t,e,r){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},{}],45:[function(t,e,r){var n={}.hasOwnProperty;e.exports=function(t,e){return n.call(t,e)}},{}],46:[function(t,e,r){var n=t("./_object-dp"),i=t("./_property-desc");e.exports=t("./_descriptors")?function(t,e,r){return n.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},{"./_descriptors":39,"./_object-dp":56,"./_property-desc":65}],47:[function(t,e,r){e.exports=t("./_global").document&&document.documentElement},{"./_global":44}],48:[function(t,e,r){e.exports=!t("./_descriptors")&&!t("./_fails")(function(){return 7!=Object.defineProperty(t("./_dom-create")("div"),"a",{get:function(){return 7}}).a})},{"./_descriptors":39,"./_dom-create":40,"./_fails":43}],49:[function(t,e,r){var n=t("./_is-object"),i=t("./_set-proto").set;e.exports=function(t,e,r){var o,s=e.constructor;return s!==r&&"function"==typeof s&&(o=s.prototype)!==r.prototype&&n(o)&&i&&i(t,o),t}},{"./_is-object":53,"./_set-proto":67}],50:[function(t,e,r){e.exports=function(t,e,r){var n=void 0===r;switch(e.length){case 0:return n?t():t.call(r);case 1:return n?t(e[0]):t.call(r,e[0]);case 2:return n?t(e[0],e[1]):t.call(r,e[0],e[1]);case 3:return n?t(e[0],e[1],e[2]):t.call(r,e[0],e[1],e[2]);case 4:return n?t(e[0],e[1],e[2],e[3]):t.call(r,e[0],e[1],e[2],e[3])}return t.apply(r,e)}},{}],51:[function(t,e,r){var n=t("./_cof");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},{"./_cof":35}],52:[function(t,e,r){var n=t("./_cof");e.exports=Array.isArray||function(t){return"Array"==n(t)}},{"./_cof":35}],53:[function(t,e,r){e.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},{}],54:[function(t,e,r){"use strict";var n=t("./_object-keys"),i=t("./_object-gops"),o=t("./_object-pie"),s=t("./_to-object"),a=t("./_iobject"),u=Object.assign;e.exports=!u||t("./_fails")(function(){var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach(function(t){e[t]=t}),7!=u({},t)[r]||Object.keys(u({},e)).join("")!=n})?function(t,e){for(var r=s(t),u=arguments.length,c=1,l=i.f,h=o.f;u>c;)for(var p,f=a(arguments[c++]),d=l?n(f).concat(l(f)):n(f),b=d.length,m=0;b>m;)h.call(f,p=d[m++])&&(r[p]=f[p]);return r}:u},{"./_fails":43,"./_iobject":51,"./_object-gops":60,"./_object-keys":62,"./_object-pie":63,"./_to-object":77}],55:[function(t,e,r){var n=t("./_an-object"),i=t("./_object-dps"),o=t("./_enum-bug-keys"),s=t("./_shared-key")("IE_PROTO"),a=function(){},u=function(){var e,r=t("./_dom-create")("iframe"),n=o.length;for(r.style.display="none",t("./_html").appendChild(r),r.src="javascript:",e=r.contentWindow.document,e.open(),e.write("<script>document.F=Object</script>"),e.close(),u=e.F;n--;)delete u.prototype[o[n]];return u()};e.exports=Object.create||function(t,e){var r;return null!==t?(a.prototype=n(t),r=new a,a.prototype=null,r[s]=t):r=u(),void 0===e?r:i(r,e)}},{"./_an-object":28,"./_dom-create":40,"./_enum-bug-keys":41,"./_html":47,"./_object-dps":57,"./_shared-key":68}],56:[function(t,e,r){var n=t("./_an-object"),i=t("./_ie8-dom-define"),o=t("./_to-primitive"),s=Object.defineProperty;r.f=t("./_descriptors")?Object.defineProperty:function(t,e,r){if(n(t),e=o(e,!0),n(r),i)try{return s(t,e,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},{"./_an-object":28,"./_descriptors":39,"./_ie8-dom-define":48,"./_to-primitive":78}],57:[function(t,e,r){var n=t("./_object-dp"),i=t("./_an-object"),o=t("./_object-keys");e.exports=t("./_descriptors")?Object.defineProperties:function(t,e){i(t);for(var r,s=o(e),a=s.length,u=0;a>u;)n.f(t,r=s[u++],e[r]);return t}},{"./_an-object":28,"./_descriptors":39,"./_object-dp":56,"./_object-keys":62}],58:[function(t,e,r){var n=t("./_object-pie"),i=t("./_property-desc"),o=t("./_to-iobject"),s=t("./_to-primitive"),a=t("./_has"),u=t("./_ie8-dom-define"),c=Object.getOwnPropertyDescriptor;r.f=t("./_descriptors")?c:function(t,e){if(t=o(t),e=s(e,!0),u)try{return c(t,e)}catch(t){}if(a(t,e))return i(!n.f.call(t,e),t[e])}},{"./_descriptors":39,"./_has":45,"./_ie8-dom-define":48,"./_object-pie":63,"./_property-desc":65,"./_to-iobject":75,"./_to-primitive":78}],59:[function(t,e,r){var n=t("./_object-keys-internal"),i=t("./_enum-bug-keys").concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},{"./_enum-bug-keys":41,"./_object-keys-internal":61}],60:[function(t,e,r){r.f=Object.getOwnPropertySymbols},{}],61:[function(t,e,r){var n=t("./_has"),i=t("./_to-iobject"),o=t("./_array-includes")(!1),s=t("./_shared-key")("IE_PROTO");e.exports=function(t,e){var r,a=i(t),u=0,c=[];for(r in a)r!=s&&n(a,r)&&c.push(r);for(;e.length>u;)n(a,r=e[u++])&&(~o(c,r)||c.push(r));return c}},{"./_array-includes":29,"./_has":45,"./_shared-key":68,"./_to-iobject":75}],62:[function(t,e,r){var n=t("./_object-keys-internal"),i=t("./_enum-bug-keys");e.exports=Object.keys||function(t){return n(t,i)}},{"./_enum-bug-keys":41,"./_object-keys-internal":61}],63:[function(t,e,r){r.f={}.propertyIsEnumerable},{}],64:[function(t,e,r){var n=t("./_export"),i=t("./_core"),o=t("./_fails");e.exports=function(t,e){var r=(i.Object||{})[t]||Object[t],s={};s[t]=e(r),n(n.S+n.F*o(function(){r(1)}),"Object",s)}},{"./_core":36,"./_export":42,"./_fails":43}],65:[function(t,e,r){e.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},{}],66:[function(t,e,r){var n=t("./_global"),i=t("./_hide"),o=t("./_has"),s=t("./_uid")("src"),a=Function.toString,u=(""+a).split("toString");t("./_core").inspectSource=function(t){return a.call(t)},(e.exports=function(t,e,r,a){var c="function"==typeof r;c&&(o(r,"name")||i(r,"name",e)),t[e]!==r&&(c&&(o(r,s)||i(r,s,t[e]?""+t[e]:u.join(String(e)))),t===n?t[e]=r:a?t[e]?t[e]=r:i(t,e,r):(delete t[e],i(t,e,r)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[s]||a.call(this)})},{"./_core":36,"./_global":44,"./_has":45,"./_hide":46,"./_uid":79}],67:[function(t,e,r){var n=t("./_is-object"),i=t("./_an-object"),o=function(t,e){if(i(t),!n(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,r,n){try{n=t("./_ctx")(Function.call,t("./_object-gopd").f(Object.prototype,"__proto__").set,2),n(e,[]),r=!(e instanceof Array)}catch(t){r=!0}return function(t,e){return o(t,e),r?t.__proto__=e:n(t,e),t}}({},!1):void 0),check:o}},{"./_an-object":28,"./_ctx":37,"./_is-object":53,"./_object-gopd":58}],68:[function(t,e,r){var n=t("./_shared")("keys"),i=t("./_uid");e.exports=function(t){return n[t]||(n[t]=i(t))}},{"./_shared":69,"./_uid":79}],69:[function(t,e,r){var n=t("./_global"),i=n["__core-js_shared__"]||(n["__core-js_shared__"]={});e.exports=function(t){return i[t]||(i[t]={})}},{"./_global":44}],70:[function(t,e,r){var n=t("./_fails");e.exports=function(t,e){return!!t&&n(function(){e?t.call(null,function(){},1):t.call(null)})}},{"./_fails":43}],71:[function(t,e,r){var n=t("./_export"),i=t("./_defined"),o=t("./_fails"),s=t("./_string-ws"),a="["+s+"]",u="
",c=RegExp("^"+a+a+"*"),l=RegExp(a+a+"*$"),h=function(t,e,r){var i={},a=o(function(){return!!s[t]()||u[t]()!=u}),c=i[t]=a?e(p):s[t];r&&(i[r]=c),n(n.P+n.F*a,"String",i)},p=h.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(l,"")),t};e.exports=h},{"./_defined":38,"./_export":42,"./_fails":43,"./_string-ws":72}],72:[function(t,e,r){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},{}],73:[function(t,e,r){var n=t("./_to-integer"),i=Math.max,o=Math.min;e.exports=function(t,e){return t=n(t),t<0?i(t+e,0):o(t,e)}},{"./_to-integer":74}],74:[function(t,e,r){var n=Math.ceil,i=Math.floor;e.exports=function(t){return isNaN(t=+t)?0:(t>0?i:n)(t)}},{}],75:[function(t,e,r){var n=t("./_iobject"),i=t("./_defined");e.exports=function(t){return n(i(t))}},{"./_defined":38,"./_iobject":51}],76:[function(t,e,r){var n=t("./_to-integer"),i=Math.min;e.exports=function(t){return t>0?i(n(t),9007199254740991):0}},{"./_to-integer":74}],77:[function(t,e,r){var n=t("./_defined");e.exports=function(t){return Object(n(t))}},{"./_defined":38}],78:[function(t,e,r){var n=t("./_is-object");e.exports=function(t,e){if(!n(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!n(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":53}],79:[function(t,e,r){var n=0,i=Math.random();e.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},{}],80:[function(t,e,r){var n=t("./_shared")("wks"),i=t("./_uid"),o=t("./_global").Symbol,s="function"==typeof o;(e.exports=function(t){return n[t]||(n[t]=s&&o[t]||(s?o:i)("Symbol."+t))}).store=n},{"./_global":44,"./_shared":69,"./_uid":79}],81:[function(t,e,r){"use strict";var n=t("./_export"),i=t("./_array-methods")(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),n(n.P+n.F*o,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),t("./_add-to-unscopables")("find")},{"./_add-to-unscopables":27,"./_array-methods":30,"./_export":42}],82:[function(t,e,r){"use strict";var n=t("./_export"),i=t("./_array-methods")(0),o=t("./_strict-method")([].forEach,!0);n(n.P+n.F*!o,"Array",{forEach:function(t){return i(this,t,arguments[1])}})},{"./_array-methods":30,"./_export":42,"./_strict-method":70}],83:[function(t,e,r){"use strict";var n=t("./_export"),i=t("./_array-reduce");n(n.P+n.F*!t("./_strict-method")([].reduce,!0),"Array",{reduce:function(t){return i(this,t,arguments.length,arguments[1],!1)}})},{"./_array-reduce":31,"./_export":42,"./_strict-method":70}],84:[function(t,e,r){var n=t("./_export");n(n.P,"Function",{bind:t("./_bind")})},{"./_bind":34,"./_export":42}],85:[function(t,e,r){"use strict";var n=t("./_global"),i=t("./_has"),o=t("./_cof"),s=t("./_inherit-if-required"),a=t("./_to-primitive"),u=t("./_fails"),c=t("./_object-gopn").f,l=t("./_object-gopd").f,h=t("./_object-dp").f,p=t("./_string-trim").trim,f=n.Number,d=f,b=f.prototype,m="Number"==o(t("./_object-create")(b)),v="trim"in String.prototype,y=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){e=v?e.trim():p(e,3);var r,n,i,o=e.charCodeAt(0);if(43===o||45===o){if(88===(r=e.charCodeAt(2))||120===r)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+e}for(var s,u=e.slice(2),c=0,l=u.length;c<l;c++)if((s=u.charCodeAt(c))<48||s>i)return NaN;return parseInt(u,n)}}return+e};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof f&&(m?u(function(){b.valueOf.call(r)}):"Number"!=o(r))?s(new d(y(e)),r,f):y(e)};for(var g,w=t("./_descriptors")?c(d):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;w.length>x;x++)i(d,g=w[x])&&!i(f,g)&&h(f,g,l(d,g));f.prototype=b,b.constructor=f,t("./_redefine")(n,"Number",f)}},{"./_cof":35,"./_descriptors":39,"./_fails":43,"./_global":44,"./_has":45,"./_inherit-if-required":49,"./_object-create":55,"./_object-dp":56,"./_object-gopd":58,"./_object-gopn":59,"./_redefine":66,"./_string-trim":71,"./_to-primitive":78}],86:[function(t,e,r){var n=t("./_export");n(n.S+n.F,"Object",{assign:t("./_object-assign")})},{"./_export":42,"./_object-assign":54}],87:[function(t,e,r){var n=t("./_export");n(n.S+n.F*!t("./_descriptors"),"Object",{defineProperty:t("./_object-dp").f})},{"./_descriptors":39,"./_export":42,"./_object-dp":56}],88:[function(t,e,r){var n=t("./_to-object"),i=t("./_object-keys");t("./_object-sap")("keys",function(){
|
18
|
+
return function(t){return i(n(t))}})},{"./_object-keys":62,"./_object-sap":64,"./_to-object":77}],89:[function(t,e,r){"use strict";function n(t){return t.dataset}e.exports=function(){var t=document.createElement("div");return t.setAttribute("data-a-b","c"),Boolean(t.dataset&&"c"===t.dataset.aB)}()?n:function(t){function e(){return this.value}function r(t,e){void 0===e?this.removeAttribute(t):this.setAttribute(t,e)}for(var n={},i=t.attributes,o=0,s=i.length;o<s;o++){var a=i[o];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(n,c,{enumerable:!0,get:e.bind({value:l||""}),set:r.bind(t,u)})}}}return n}},{}],90:[function(t,e,r){"use strict";e.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))}},{}],91:[function(t,e,r){var n=t("./src/ParseError"),i=t("./src/Settings"),o=t("./src/buildTree"),s=t("./src/parseTree"),a=t("./src/utils"),u=function(t,e,r){a.clearNode(e);var n=new i(r),u=s(t,n),c=o(u,t,n).toNode();e.appendChild(c)};"undefined"!=typeof document&&"CSS1Compat"!==document.compatMode&&("undefined"!=typeof console&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),u=function(){throw new n("KaTeX doesn't work in quirks mode.")});var c=function(t,e){var r=new i(e),n=s(t,r);return o(n,t,r).toMarkup()},l=function(t,e){var r=new i(e);return s(t,r)};e.exports={render:u,renderToString:c,__parse:l,ParseError:n}},{"./src/ParseError":95,"./src/Settings":97,"./src/buildTree":102,"./src/parseTree":111,"./src/utils":114}],92:[function(t,e,r){function n(t){this.input=t,this.pos=0}function i(t,e,r,n){this.text=t,this.start=e,this.end=r,this.lexer=n}var o=t("match-at"),s=t("./ParseError");i.prototype.range=function(t,e){return t.lexer!==this.lexer?new i(e):new i(e,this.start,t.end,this.lexer)};var a=new RegExp("([ \r\n\t]+)|([!-\\[\\]-‧-豈-]|[�-�][�-�]|\\\\(?:[a-zA-Z]+|[^�-�]))");n.prototype.lex=function(){var t=this.input,e=this.pos;if(e===t.length)return new i("EOF",e,e,this);var r=o(a,t,e);if(null===r)throw new s("Unexpected character: '"+t[e]+"'",new i(t[e],e,e+1,this));var n=r[2]||" ",u=this.pos;return this.pos+=r[0].length,new i(n,u,this.pos,this)},e.exports=n},{"./ParseError":95,"match-at":115}],93:[function(t,e,r){function n(t,e){this.lexer=new i(t),this.macros=e,this.stack=[],this.discardedWhiteSpace=[]}var i=t("./Lexer");n.prototype.nextToken=function(){for(;;){0===this.stack.length&&this.stack.push(this.lexer.lex());var t=this.stack.pop(),e=t.text;if("\\"!==e.charAt(0)||!this.macros.hasOwnProperty(e))return t;var r=this.macros[e];if("string"==typeof r){var n=new i(r);r=[];for(var o=n.lex();"EOF"!==o.text;)r.push(o),o=n.lex();r.reverse(),this.macros[e]=r}this.stack=this.stack.concat(r)}},n.prototype.get=function(t){this.discardedWhiteSpace=[];var e=this.nextToken();if(t)for(;" "===e.text;)this.discardedWhiteSpace.push(e),e=this.nextToken();return e},n.prototype.unget=function(t){for(this.stack.push(t);0!==this.discardedWhiteSpace.length;)this.stack.push(this.discardedWhiteSpace.pop())},e.exports=n},{"./Lexer":92}],94:[function(t,e,r){function n(t){this.style=t.style,this.color=t.color,this.size=t.size,this.phantom=t.phantom,this.font=t.font,void 0===t.parentStyle?this.parentStyle=t.style:this.parentStyle=t.parentStyle,void 0===t.parentSize?this.parentSize=t.size:this.parentSize=t.parentSize}n.prototype.extend=function(t){var e={style:this.style,size:this.size,color:this.color,parentStyle:this.style,parentSize:this.size,phantom:this.phantom,font:this.font};for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return new n(e)},n.prototype.withStyle=function(t){return this.extend({style:t})},n.prototype.withSize=function(t){return this.extend({size:t})},n.prototype.withColor=function(t){return this.extend({color:t})},n.prototype.withPhantom=function(){return this.extend({phantom:!0})},n.prototype.withFont=function(t){return this.extend({font:t||this.font})},n.prototype.reset=function(){return this.extend({})};var i={"katex-blue":"#6495ed","katex-orange":"#ffa500","katex-pink":"#ff00af","katex-red":"#df0030","katex-green":"#28ae7b","katex-gray":"gray","katex-purple":"#9d38bd","katex-blueA":"#ccfaff","katex-blueB":"#80f6ff","katex-blueC":"#63d9ea","katex-blueD":"#11accd","katex-blueE":"#0c7f99","katex-tealA":"#94fff5","katex-tealB":"#26edd5","katex-tealC":"#01d1c1","katex-tealD":"#01a995","katex-tealE":"#208170","katex-greenA":"#b6ffb0","katex-greenB":"#8af281","katex-greenC":"#74cf70","katex-greenD":"#1fab54","katex-greenE":"#0d923f","katex-goldA":"#ffd0a9","katex-goldB":"#ffbb71","katex-goldC":"#ff9c39","katex-goldD":"#e07d10","katex-goldE":"#a75a05","katex-redA":"#fca9a9","katex-redB":"#ff8482","katex-redC":"#f9685d","katex-redD":"#e84d39","katex-redE":"#bc2612","katex-maroonA":"#ffbde0","katex-maroonB":"#ff92c6","katex-maroonC":"#ed5fa6","katex-maroonD":"#ca337c","katex-maroonE":"#9e034e","katex-purpleA":"#ddd7ff","katex-purpleB":"#c6b9fc","katex-purpleC":"#aa87ff","katex-purpleD":"#7854ab","katex-purpleE":"#543b78","katex-mintA":"#f5f9e8","katex-mintB":"#edf2df","katex-mintC":"#e0e5cc","katex-grayA":"#f6f7f7","katex-grayB":"#f0f1f2","katex-grayC":"#e3e5e6","katex-grayD":"#d6d8da","katex-grayE":"#babec2","katex-grayF":"#888d93","katex-grayG":"#626569","katex-grayH":"#3b3e40","katex-grayI":"#21242c","katex-kaBlue":"#314453","katex-kaGreen":"#71B307"};n.prototype.getColor=function(){return this.phantom?"transparent":i[this.color]||this.color},e.exports=n},{}],95:[function(t,e,r){function n(t,e){var r,i,o="KaTeX parse error: "+t;if(e&&e.lexer&&e.start<=e.end){var s=e.lexer.input;r=e.start,i=e.end,r===s.length?o+=" at end of input: ":o+=" at position "+(r+1)+": ";var a,u=s.slice(r,i).replace(/[^]/g,"$&̲");a=r>15?"…"+s.slice(r-15,r):s.slice(0,r);var c;c=i+15<s.length?s.slice(i,i+15)+"…":s.slice(i),o+=a+u+c}var l=new Error(o);return l.name="ParseError",l.__proto__=n.prototype,l.position=r,l}n.prototype.__proto__=Error.prototype,e.exports=n},{}],96:[function(t,e,r){function n(t,e){this.gullet=new a(t,e.macros),this.settings=e,this.leftrightDepth=0}function i(t,e,r){this.result=t,this.isFunction=e,this.token=r}var o=t("./functions"),s=t("./environments"),a=t("./MacroExpander"),u=t("./symbols"),c=t("./utils"),l=t("./unicodeRegexes").cjkRegex,h=t("./parseData"),p=t("./ParseError"),f=h.ParseNode;n.prototype.expect=function(t,e){if(this.nextToken.text!==t)throw new p("Expected '"+t+"', got '"+this.nextToken.text+"'",this.nextToken);!1!==e&&this.consume()},n.prototype.consume=function(){this.nextToken=this.gullet.get("math"===this.mode)},n.prototype.switchMode=function(t){this.gullet.unget(this.nextToken),this.mode=t,this.consume()},n.prototype.parse=function(){return this.mode="math",this.consume(),this.parseInput()},n.prototype.parseInput=function(){var t=this.parseExpression(!1);return this.expect("EOF",!1),t};var d=["}","\\end","\\right","&","\\\\","\\cr"];n.prototype.parseExpression=function(t,e){for(var r=[];;){var n=this.nextToken;if(-1!==d.indexOf(n.text))break;if(e&&n.text===e)break;if(t&&o[n.text]&&o[n.text].infix)break;var i=this.parseAtom();if(!i){if(!this.settings.throwOnError&&"\\"===n.text[0]){var s=this.handleUnsupportedCmd();r.push(s);continue}break}r.push(i)}return this.handleInfixNodes(r)},n.prototype.handleInfixNodes=function(t){for(var e,r=-1,n=0;n<t.length;n++){var i=t[n];if("infix"===i.type){if(-1!==r)throw new p("only one infix operator per group",i.value.token);r=n,e=i.value.replaceWith}}if(-1!==r){var o,s,a=t.slice(0,r),u=t.slice(r+1);o=1===a.length&&"ordgroup"===a[0].type?a[0]:new f("ordgroup",a,this.mode),s=1===u.length&&"ordgroup"===u[0].type?u[0]:new f("ordgroup",u,this.mode);var c=this.callFunction(e,[o,s],null);return[new f(c.type,c,this.mode)]}return t};n.prototype.handleSupSubscript=function(t){var e=this.nextToken,r=e.text;this.consume();var n=this.parseGroup();if(n){if(n.isFunction){if(o[n.result].greediness>1)return this.parseFunction(n);throw new p("Got function '"+n.result+"' with no arguments as "+t,e)}return n.result}if(this.settings.throwOnError||"\\"!==this.nextToken.text[0])throw new p("Expected group after '"+r+"'",e);return this.handleUnsupportedCmd()},n.prototype.handleUnsupportedCmd=function(){for(var t=this.nextToken.text,e=[],r=0;r<t.length;r++)e.push(new f("textord",t[r],"text"));var n=new f("text",{body:e,type:"text"},this.mode),i=new f("color",{color:this.settings.errorColor,value:[n],type:"color"},this.mode);return this.consume(),i},n.prototype.parseAtom=function(){var t=this.parseImplicitGroup();if("text"===this.mode)return t;for(var e,r;;){var n=this.nextToken;if("\\limits"===n.text||"\\nolimits"===n.text){if(!t||"op"!==t.type)throw new p("Limit controls must follow a math operator",n);var i="\\limits"===n.text;t.value.limits=i,t.value.alwaysHandleSupSub=!0,this.consume()}else if("^"===n.text){if(e)throw new p("Double superscript",n);e=this.handleSupSubscript("superscript")}else if("_"===n.text){if(r)throw new p("Double subscript",n);r=this.handleSupSubscript("subscript")}else{if("'"!==n.text)break;var o=new f("textord","\\prime",this.mode),s=[o];for(this.consume();"'"===this.nextToken.text;)s.push(o),this.consume();e=new f("ordgroup",s,this.mode)}}return e||r?new f("supsub",{base:t,sup:e,sub:r},this.mode):t};var b=["\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],m=["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"];n.prototype.parseImplicitGroup=function(){var t=this.parseSymbol();if(null==t)return this.parseFunction();var e,r=t.result;if("\\left"===r){var n=this.parseFunction(t);++this.leftrightDepth,e=this.parseExpression(!1),--this.leftrightDepth,this.expect("\\right",!1);var i=this.parseFunction();return new f("leftright",{body:e,left:n.value.value,right:i.value.value},this.mode)}if("\\begin"===r){var o=this.parseFunction(t),a=o.value.name;if(!s.hasOwnProperty(a))throw new p("No such environment: "+a,o.value.nameGroup);var u=s[a],l=this.parseArguments("\\begin{"+a+"}",u),h={mode:this.mode,envName:a,parser:this,positions:l.pop()},d=u.handler(h,l);this.expect("\\end",!1);var v=this.nextToken,y=this.parseFunction();if(y.value.name!==a)throw new p("Mismatch: \\begin{"+a+"} matched by \\end{"+y.value.name+"}",v);return d.position=y.position,d}return c.contains(b,r)?(e=this.parseExpression(!1),new f("sizing",{size:"size"+(c.indexOf(b,r)+1),value:e},this.mode)):c.contains(m,r)?(e=this.parseExpression(!0),new f("styling",{style:r.slice(1,r.length-5),value:e},this.mode)):this.parseFunction(t)},n.prototype.parseFunction=function(t){if(t||(t=this.parseGroup()),t){if(t.isFunction){var e=t.result,r=o[e];if("text"===this.mode&&!r.allowedInText)throw new p("Can't use function '"+e+"' in text mode",t.token);var n=this.parseArguments(e,r),i=t.token,s=this.callFunction(e,n,n.pop(),i);return new f(s.type,s,this.mode)}return t.result}return null},n.prototype.callFunction=function(t,e,r,n){var i={funcName:t,parser:this,positions:r,token:n};return o[t].handler(i,e)},n.prototype.parseArguments=function(t,e){var r=e.numArgs+e.numOptionalArgs;if(0===r)return[[this.pos]];for(var n=e.greediness,s=[this.pos],a=[],u=0;u<r;u++){var c,l=this.nextToken,h=e.argTypes&&e.argTypes[u];if(u<e.numOptionalArgs){if(!(c=h?this.parseGroupOfType(h,!0):this.parseGroup(!0))){a.push(null),s.push(this.pos);continue}}else if(!(c=h?this.parseGroupOfType(h):this.parseGroup())){if(this.settings.throwOnError||"\\"!==this.nextToken.text[0])throw new p("Expected group after '"+t+"'",l);c=new i(this.handleUnsupportedCmd(this.nextToken.text),!1)}var f;if(c.isFunction){if(!(o[c.result].greediness>n))throw new p("Got function '"+c.result+"' as argument to '"+t+"'",l);f=this.parseFunction(c)}else f=c.result;a.push(f),s.push(this.pos)}return a.push(s),a},n.prototype.parseGroupOfType=function(t,e){var r=this.mode;if("original"===t&&(t=r),"color"===t)return this.parseColorGroup(e);if("size"===t)return this.parseSizeGroup(e);if(this.switchMode(t),"text"===t)for(;" "===this.nextToken.text;)this.consume();var n=this.parseGroup(e);return this.switchMode(r),n},n.prototype.parseStringGroup=function(t,e){if(e&&"["!==this.nextToken.text)return null;var r=this.mode;this.mode="text",this.expect(e?"[":"{");for(var n="",i=this.nextToken,o=i;this.nextToken.text!==(e?"]":"}");){if("EOF"===this.nextToken.text)throw new p("Unexpected end of input in "+t,i.range(this.nextToken,n));o=this.nextToken,n+=o.text,this.consume()}return this.mode=r,this.expect(e?"]":"}"),i.range(o,n)},n.prototype.parseRegexGroup=function(t,e){var r=this.mode;this.mode="text";for(var n=this.nextToken,i=n,o="";"EOF"!==this.nextToken.text&&t.test(o+this.nextToken.text);)i=this.nextToken,o+=i.text,this.consume();if(""===o)throw new p("Invalid "+e+": '"+n.text+"'",n);return this.mode=r,n.range(i,o)},n.prototype.parseColorGroup=function(t){var e=this.parseStringGroup("color",t);if(!e)return null;var r=/^(#[a-z0-9]+|[a-z]+)$/i.exec(e.text);if(!r)throw new p("Invalid color: '"+e.text+"'",e);return new i(new f("color",r[0],this.mode),!1)},n.prototype.parseSizeGroup=function(t){var e;if(!(e=t||"{"===this.nextToken.text?this.parseStringGroup("size",t):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2}$/,"size")))return null;var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e.text);if(!r)throw new p("Invalid size: '"+e.text+"'",e);var n={number:+(r[1]+r[2]),unit:r[3]};if("em"!==n.unit&&"ex"!==n.unit&&"mu"!==n.unit)throw new p("Invalid unit: '"+n.unit+"'",e);return new i(new f("color",n,this.mode),!1)},n.prototype.parseGroup=function(t){var e=this.nextToken;if(this.nextToken.text===(t?"[":"{")){this.consume();var r=this.parseExpression(!1,t?"]":null),n=this.nextToken;return this.expect(t?"]":"}"),"text"===this.mode&&this.formLigatures(r),new i(new f("ordgroup",r,this.mode,e,n),!1)}return t?null:this.parseSymbol()},n.prototype.formLigatures=function(t){var e,r=t.length-1;for(e=0;e<r;++e){var n=t[e],i=n.value;"-"===i&&"-"===t[e+1].value&&(e+1<r&&"-"===t[e+2].value?(t.splice(e,3,new f("textord","---","text",n,t[e+2])),r-=2):(t.splice(e,2,new f("textord","--","text",n,t[e+1])),r-=1)),"'"!==i&&"`"!==i||t[e+1].value!==i||(t.splice(e,2,new f("textord",i+i,"text",n,t[e+1])),r-=1)}},n.prototype.parseSymbol=function(){var t=this.nextToken;return o[t.text]?(this.consume(),new i(t.text,!0,t)):u[this.mode][t.text]?(this.consume(),new i(new f(u[this.mode][t.text].group,t.text,this.mode,t),!1,t)):"text"===this.mode&&l.test(t.text)?(this.consume(),new i(new f("textord",t.text,this.mode,t),!1,t)):null},n.prototype.ParseNode=f,e.exports=n},{"./MacroExpander":93,"./ParseError":95,"./environments":105,"./functions":108,"./parseData":110,"./symbols":112,"./unicodeRegexes":113,"./utils":114}],97:[function(t,e,r){function n(t,e){return void 0===t?e:t}function i(t){t=t||{},this.displayMode=n(t.displayMode,!1),this.throwOnError=n(t.throwOnError,!0),this.errorColor=n(t.errorColor,"#cc0000"),this.macros=t.macros||{}}e.exports=i},{}],98:[function(t,e,r){function n(t,e,r,n){this.id=t,this.size=e,this.cramped=n,this.sizeMultiplier=r,this.metrics=s[e>0?e-1:0]}var i,o=t("./fontMetrics.js").sigmas,s=[{},{},{}];for(var a in o)if(o.hasOwnProperty(a))for(i=0;i<3;i++)s[i][a]=o[a][i];for(i=0;i<3;i++)s[i].emPerEx=o.xHeight[i]/o.quad[i];n.prototype.sup=function(){return l[h[this.id]]},n.prototype.sub=function(){return l[p[this.id]]},n.prototype.fracNum=function(){return l[f[this.id]]},n.prototype.fracDen=function(){return l[d[this.id]]},n.prototype.cramp=function(){return l[b[this.id]]},n.prototype.cls=function(){return u[this.size]+(this.cramped?" cramped":" uncramped")},n.prototype.reset=function(){return c[this.size]},n.prototype.isTight=function(){return this.size>=2};var u=["displaystyle textstyle","textstyle","scriptstyle","scriptscriptstyle"],c=["reset-textstyle","reset-textstyle","reset-scriptstyle","reset-scriptscriptstyle"],l=[new n(0,0,1,!1),new n(1,0,1,!0),new n(2,1,1,!1),new n(3,1,1,!0),new n(4,2,.7,!1),new n(5,2,.7,!0),new n(6,3,.5,!1),new n(7,3,.5,!0)],h=[4,5,4,5,6,7,6,7],p=[5,5,5,5,7,7,7,7],f=[2,3,4,5,6,7,6,7],d=[3,3,5,5,7,7,7,7],b=[1,1,3,3,5,5,7,7];e.exports={DISPLAY:l[0],TEXT:l[2],SCRIPT:l[4],SCRIPTSCRIPT:l[6]}},{"./fontMetrics.js":106}],99:[function(t,e,r){var n=t("./domTree"),i=t("./fontMetrics"),o=t("./symbols"),s=t("./utils"),a=["\\Gamma","\\Delta","\\Theta","\\Lambda","\\Xi","\\Pi","\\Sigma","\\Upsilon","\\Phi","\\Psi","\\Omega"],u=["ı","ȷ","£"],c=function(t,e,r,s,a){o[r][t]&&o[r][t].replace&&(t=o[r][t].replace);var u,c=i.getCharacterMetrics(t,e);if(c){var l=c.italic;"text"===r&&(l=0),u=new n.symbolNode(t,c.height,c.depth,l,c.skew,a)}else"undefined"!=typeof console&&console.warn("No character metrics for '"+t+"' in style '"+e+"'"),u=new n.symbolNode(t,0,0,0,0,a);return s&&(s.style.isTight()&&u.classes.push("mtight"),s.getColor()&&(u.style.color=s.getColor())),u},l=function(t,e,r,n){return"\\"===t||"main"===o[e][t].font?c(t,"Main-Regular",e,r,n):c(t,"AMS-Regular",e,r,n.concat(["amsrm"]))},h=function(t,e,r,n,i){if("mathord"===i)return p(t,e,r,n);if("textord"===i)return c(t,"Main-Regular",e,r,n.concat(["mathrm"]));throw new Error("unexpected type: "+i+" in mathDefault")},p=function(t,e,r,n){return/[0-9]/.test(t.charAt(0))||s.contains(u,t)||s.contains(a,t)?c(t,"Main-Italic",e,r,n.concat(["mainit"])):c(t,"Math-Italic",e,r,n.concat(["mathit"]))},f=function(t,e,r){var n=t.mode,a=t.value;o[n][a]&&o[n][a].replace&&(a=o[n][a].replace);var l=["mord"],f=e.font;if(f){if("mathit"===f||s.contains(u,a))return p(a,n,e,l);var d=_[f].fontName;return i.getCharacterMetrics(a,d)?c(a,d,n,e,l.concat([f])):h(a,n,e,l,r)}return h(a,n,e,l,r)},d=function(t){var e=0,r=0,n=0;if(t.children)for(var i=0;i<t.children.length;i++)t.children[i].height>e&&(e=t.children[i].height),t.children[i].depth>r&&(r=t.children[i].depth),t.children[i].maxFontSize>n&&(n=t.children[i].maxFontSize);t.height=e,t.depth=r,t.maxFontSize=n},b=function(t,e,r){var i=new n.span(t,e,r);return d(i),i},m=function(t,e){t.children=e.concat(t.children),d(t)},v=function(t){var e=new n.documentFragment(t);return d(e),e},y=function(t,e){var r=b([],[new n.symbolNode("")]);return r.style.fontSize=e/t.style.sizeMultiplier+"em",b(["fontsize-ensurer","reset-"+t.size,"size5"],[r])},g=function(t,e,r,i){var o,s,a;if("individualShift"===e){var u=t;for(t=[u[0]],o=-u[0].shift-u[0].elem.depth,s=o,a=1;a<u.length;a++){var c=-u[a].shift-s-u[a].elem.depth,l=c-(u[a-1].elem.height+u[a-1].elem.depth);s+=c,t.push({type:"kern",size:l}),t.push(u[a])}}else if("top"===e){var h=r;for(a=0;a<t.length;a++)"kern"===t[a].type?h-=t[a].size:h-=t[a].elem.height+t[a].elem.depth;o=h}else o="bottom"===e?-r:"shift"===e?-t[0].elem.depth-r:"firstBaseline"===e?-t[0].elem.depth:0;var p=0;for(a=0;a<t.length;a++)"elem"===t[a].type&&(p=Math.max(p,t[a].elem.maxFontSize));var f=y(i,p),d=[];for(s=o,a=0;a<t.length;a++)if("kern"===t[a].type)s+=t[a].size;else{var m=t[a].elem,v=-m.depth-s;s+=m.height+m.depth;var g=b([],[f,m]);g.height-=v,g.depth+=v,g.style.top=v+"em",d.push(g)}var w=b(["baseline-fix"],[f,new n.symbolNode("")]);d.push(w);var x=b(["vlist"],d);return x.height=Math.max(s,x.height),x.depth=Math.max(-o,x.depth),x},w={size1:.5,size2:.7,size3:.8,size4:.9,size5:1,size6:1.2,size7:1.44,size8:1.73,size9:2.07,size10:2.49},x={"\\qquad":{size:"2em",className:"qquad"},"\\quad":{size:"1em",className:"quad"},"\\enspace":{size:"0.5em",className:"enspace"},"\\;":{size:"0.277778em",className:"thickspace"},"\\:":{size:"0.22222em",className:"mediumspace"},"\\,":{size:"0.16667em",className:"thinspace"},"\\!":{size:"-0.16667em",className:"negativethinspace"}},_={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}};e.exports={fontMap:_,makeSymbol:c,mathsym:l,makeSpan:b,makeFragment:v,makeVList:g,makeOrd:f,prependChildren:m,sizingMultiplier:w,spacingFunctions:x}},{"./domTree":104,"./fontMetrics":106,"./symbols":112,"./utils":114}],100:[function(t,e,r){var n=t("./ParseError"),i=t("./Style"),o=t("./buildCommon"),s=t("./delimiter"),a=t("./domTree"),u=t("./fontMetrics"),c=t("./utils"),l=o.makeSpan,h=function(t){return t instanceof a.span&&"mspace"===t.classes[0]},p=function(t){return t&&"mbin"===t.classes[0]},f=function(t,e){return t?c.contains(["mbin","mopen","mrel","mop","mpunct"],t.classes[0]):e},d=function(t,e){return t?c.contains(["mrel","mclose","mpunct"],t.classes[0]):e},b=function(t,e,r){for(var n=[],i=0;i<t.length;i++){var s=t[i],u=S(s,e);u instanceof a.documentFragment?Array.prototype.push.apply(n,u.children):n.push(u)}var c=null;for(i=0;i<n.length;i++)h(n[i])?(c=c||[],c.push(n[i]),n.splice(i,1),i--):c&&(n[i]instanceof a.symbolNode&&(n[i]=l([].concat(n[i].classes),[n[i]])),o.prependChildren(n[i],c),c=null);for(c&&Array.prototype.push.apply(n,c),i=0;i<n.length;i++)p(n[i])&&(f(n[i-1],r)||d(n[i+1],r))&&(n[i].classes[0]="mord");return n},m=function(t){if(t instanceof a.documentFragment){if(t.children.length)return m(t.children[t.children.length-1])}else if(c.contains(["mord","mop","mbin","mrel","mopen","mclose","mpunct","minner"],t.classes[0]))return t.classes[0];return null},v=function(t,e){return!!t&&("op"===t.type?t.value.limits&&(e.style.size===i.DISPLAY.size||t.value.alwaysHandleSupSub):"accent"===t.type?g(t.value.base):null)},y=function(t){return!!t&&("ordgroup"===t.type?1===t.value.length?y(t.value[0]):t:"color"===t.type?1===t.value.value.length?y(t.value.value[0]):t:"font"===t.type?y(t.value.body):t)},g=function(t){var e=y(t);return"mathord"===e.type||"textord"===e.type||"bin"===e.type||"rel"===e.type||"inner"===e.type||"open"===e.type||"close"===e.type||"punct"===e.type},w=function(t,e){return l(e.concat(["sizing","reset-"+t.size,"size5",t.style.reset(),i.TEXT.cls(),"nulldelimiter"]))},x={};x.mathord=function(t,e){return o.makeOrd(t,e,"mathord")},x.textord=function(t,e){return o.makeOrd(t,e,"textord")},x.bin=function(t,e){return o.mathsym(t.value,t.mode,e,["mbin"])},x.rel=function(t,e){return o.mathsym(t.value,t.mode,e,["mrel"])},x.open=function(t,e){return o.mathsym(t.value,t.mode,e,["mopen"])},x.close=function(t,e){return o.mathsym(t.value,t.mode,e,["mclose"])},x.inner=function(t,e){return o.mathsym(t.value,t.mode,e,["minner"])},x.punct=function(t,e){return o.mathsym(t.value,t.mode,e,["mpunct"])},x.ordgroup=function(t,e){return l(["mord",e.style.cls()],b(t.value,e.reset(),!0),e)},x.text=function(t,e){for(var r=e.withFont(t.value.style),n=b(t.value.body,r,!0),i=0;i<n.length-1;i++)n[i].tryCombine(n[i+1])&&(n.splice(i+1,1),i--);return l(["mord","text",r.style.cls()],n,r)},x.color=function(t,e){var r=b(t.value.value,e.withColor(t.value.color),!1);return new o.makeFragment(r)},x.supsub=function(t,e){if(v(t.value.base,e))return x[t.value.base.type](t,e);var r,n,s,c,h,p=S(t.value.base,e.reset()),f=e.style;t.value.sup&&(h=e.withStyle(f.sup()),s=S(t.value.sup,h),r=l([f.reset(),f.sup().cls()],[s],h)),t.value.sub&&(h=e.withStyle(f.sub()),c=S(t.value.sub,h),n=l([f.reset(),f.sub().cls()],[c],h));var d,b;g(t.value.base)?(d=0,b=0):(d=p.height-f.metrics.supDrop,b=p.depth+f.metrics.subDrop);var y;y=f===i.DISPLAY?f.metrics.sup1:f.cramped?f.metrics.sup3:f.metrics.sup2;var w,_=i.TEXT.sizeMultiplier*f.sizeMultiplier,O=.5/u.metrics.ptPerEm/_+"em";if(t.value.sup)if(t.value.sub){d=Math.max(d,y,s.depth+.25*f.metrics.xHeight),b=Math.max(b,f.metrics.sub2);var k=u.metrics.defaultRuleThickness;if(d-s.depth-(c.height-b)<4*k){b=4*k-(d-s.depth)+c.height;var j=.8*f.metrics.xHeight-(d-s.depth);j>0&&(d+=j,b-=j)}w=o.makeVList([{type:"elem",elem:n,shift:b},{type:"elem",elem:r,shift:-d}],"individualShift",null,e),p instanceof a.symbolNode&&(w.children[0].style.marginLeft=-p.italic+"em"),w.children[0].style.marginRight=O,w.children[1].style.marginRight=O}else d=Math.max(d,y,s.depth+.25*f.metrics.xHeight),w=o.makeVList([{type:"elem",elem:r}],"shift",-d,e),w.children[0].style.marginRight=O;else b=Math.max(b,f.metrics.sub1,c.height-.8*f.metrics.xHeight),w=o.makeVList([{type:"elem",elem:n}],"shift",b,e),w.children[0].style.marginRight=O,p instanceof a.symbolNode&&(w.children[0].style.marginLeft=-p.italic+"em");var T=m(p)||"mord";return l([T],[p,l(["msupsub"],[w])],e)},x.genfrac=function(t,e){var r=e.style;"display"===t.value.size?r=i.DISPLAY:"text"===t.value.size&&(r=i.TEXT);var n,a=r.fracNum(),c=r.fracDen();n=e.withStyle(a);var h=S(t.value.numer,n),p=l([r.reset(),a.cls()],[h],n);n=e.withStyle(c);var f,d=S(t.value.denom,n),b=l([r.reset(),c.cls()],[d],n);f=t.value.hasBarLine?u.metrics.defaultRuleThickness/e.style.sizeMultiplier:0;var m,v,y;r.size===i.DISPLAY.size?(m=r.metrics.num1,v=f>0?3*f:7*u.metrics.defaultRuleThickness,y=r.metrics.denom1):(f>0?(m=r.metrics.num2,v=f):(m=r.metrics.num3,v=3*u.metrics.defaultRuleThickness),y=r.metrics.denom2);var g;if(0===f){var x=m-h.depth-(d.height-y);x<v&&(m+=.5*(v-x),y+=.5*(v-x)),g=o.makeVList([{type:"elem",elem:b,shift:y},{type:"elem",elem:p,shift:-m}],"individualShift",null,e)}else{var _=r.metrics.axisHeight;m-h.depth-(_+.5*f)<v&&(m+=v-(m-h.depth-(_+.5*f))),_-.5*f-(d.height-y)<v&&(y+=v-(_-.5*f-(d.height-y)));var O=l([e.style.reset(),i.TEXT.cls(),"frac-line"]);O.height=f;var k=-(_-.5*f);g=o.makeVList([{type:"elem",elem:b,shift:y},{type:"elem",elem:O,shift:k},{type:"elem",elem:p,shift:-m}],"individualShift",null,e)}g.height*=r.sizeMultiplier/e.style.sizeMultiplier,g.depth*=r.sizeMultiplier/e.style.sizeMultiplier;var j;j=r.size===i.DISPLAY.size?r.metrics.delim1:r.metrics.delim2;var T,E;return T=null==t.value.leftDelim?w(e,["mopen"]):s.customSizedDelim(t.value.leftDelim,j,!0,e.withStyle(r),t.mode,["mopen"]),E=null==t.value.rightDelim?w(e,["mclose"]):s.customSizedDelim(t.value.rightDelim,j,!0,e.withStyle(r),t.mode,["mclose"]),l(["mord",e.style.reset(),r.cls()],[T,l(["mfrac"],[g]),E],e)};var _=function(t,e){var r=t.number;return"ex"===t.unit?r*=e.metrics.emPerEx:"mu"===t.unit&&(r/=18),r};x.array=function(t,e){var r,i,s=t.value.body.length,a=0,h=new Array(s),p=e.style,f=1/u.metrics.ptPerEm,d=5*f,b=12*f,m=c.deflt(t.value.arraystretch,1),v=m*b,y=.7*v,g=.3*v,w=0;for(r=0;r<t.value.body.length;++r){var x=t.value.body[r],O=y,k=g;a<x.length&&(a=x.length);var j=new Array(x.length);for(i=0;i<x.length;++i){var T=S(x[i],e);k<T.depth&&(k=T.depth),O<T.height&&(O=T.height),j[i]=T}var E=0;t.value.rowGaps[r]&&(E=_(t.value.rowGaps[r].value,p))>0&&(E+=g,k<E&&(k=E),E=0),j.height=O,j.depth=k,w+=O,j.pos=w,w+=k+E,h[r]=j}var M,A,P=w/2+p.metrics.axisHeight,C=t.value.cols||[],N=[];for(i=0,A=0;i<a||A<C.length;++i,++A){for(var R=C[A]||{},z=!0;"separator"===R.type;){if(z||(M=l(["arraycolsep"],[]),M.style.width=u.metrics.doubleRuleSep+"em",N.push(M)),"|"!==R.separator)throw new n("Invalid separator type: "+R.separator);var F=l(["vertical-separator"],[]);F.style.height=w+"em",F.style.verticalAlign=-(w-P)+"em",N.push(F),A++,R=C[A]||{},z=!1}if(!(i>=a)){var q;(i>0||t.value.hskipBeforeAndAfter)&&0!==(q=c.deflt(R.pregap,d))&&(M=l(["arraycolsep"],[]),M.style.width=q+"em",N.push(M));var I=[];for(r=0;r<s;++r){var D=h[r],L=D[i];if(L){var U=D.pos-P;L.depth=D.depth,L.height=D.height,I.push({type:"elem",elem:L,shift:U})}}I=o.makeVList(I,"individualShift",null,e),I=l(["col-align-"+(R.align||"c")],[I]),N.push(I),(i<a-1||t.value.hskipBeforeAndAfter)&&0!==(q=c.deflt(R.postgap,d))&&(M=l(["arraycolsep"],[]),M.style.width=q+"em",N.push(M))}}return h=l(["mtable"],N),l(["mord"],[h],e)},x.spacing=function(t,e){return"\\ "===t.value||"\\space"===t.value||" "===t.value||"~"===t.value?"text"===t.mode?o.makeOrd(t,e,"textord"):l(["mspace"],[o.mathsym(t.value,t.mode,e)],e):l(["mspace",o.spacingFunctions[t.value].className],[],e)},x.llap=function(t,e){var r=l(["inner"],[S(t.value.body,e.reset())]),n=l(["fix"],[]);return l(["mord","llap",e.style.cls()],[r,n],e)},x.rlap=function(t,e){var r=l(["inner"],[S(t.value.body,e.reset())]),n=l(["fix"],[]);return l(["mord","rlap",e.style.cls()],[r,n],e)},x.op=function(t,e){var r,n,s=!1;"supsub"===t.type&&(r=t.value.sup,n=t.value.sub,t=t.value.base,s=!0);var a=e.style,h=["\\smallint"],p=!1;a.size===i.DISPLAY.size&&t.value.symbol&&!c.contains(h,t.value.body)&&(p=!0);var f,d=0,m=0;if(t.value.symbol){var v=p?"Size2-Regular":"Size1-Regular";f=o.makeSymbol(t.value.body,v,"math",e,["mop","op-symbol",p?"large-op":"small-op"]),d=(f.height-f.depth)/2-a.metrics.axisHeight*a.sizeMultiplier,m=f.italic}else if(t.value.value){var y=b(t.value.value,e,!0);f=l(["mop"],y,e)}else{for(var g=[],w=1;w<t.value.body.length;w++)g.push(o.mathsym(t.value.body[w],t.mode));f=l(["mop"],g,e)}if(s){f=l([],[f]);var x,_,O,k,j;if(r){j=e.withStyle(a.sup());var T=S(r,j);x=l([a.reset(),a.sup().cls()],[T],j),_=Math.max(u.metrics.bigOpSpacing1,u.metrics.bigOpSpacing3-T.depth)}if(n){j=e.withStyle(a.sub());var E=S(n,j);O=l([a.reset(),a.sub().cls()],[E],j),k=Math.max(u.metrics.bigOpSpacing2,u.metrics.bigOpSpacing4-E.height)}var M,A,P;if(r)if(n){if(!r&&!n)return f;P=u.metrics.bigOpSpacing5+O.height+O.depth+k+f.depth+d,M=o.makeVList([{type:"kern",size:u.metrics.bigOpSpacing5},{type:"elem",elem:O},{type:"kern",size:k},{type:"elem",elem:f},{type:"kern",size:_},{type:"elem",elem:x},{type:"kern",size:u.metrics.bigOpSpacing5}],"bottom",P,e),M.children[0].style.marginLeft=-m+"em",M.children[2].style.marginLeft=m+"em"}else P=f.depth+d,M=o.makeVList([{type:"elem",elem:f},{type:"kern",size:_},{type:"elem",elem:x},{type:"kern",size:u.metrics.bigOpSpacing5}],"bottom",P,e),M.children[1].style.marginLeft=m+"em";else A=f.height-d,M=o.makeVList([{type:"kern",size:u.metrics.bigOpSpacing5},{type:"elem",elem:O},{type:"kern",size:k},{type:"elem",elem:f}],"top",A,e),M.children[0].style.marginLeft=-m+"em";return l(["mop","op-limits"],[M],e)}return t.value.symbol&&(f.style.top=d+"em"),f},x.mod=function(t,e){var r=[];if("bmod"===t.value.modType?(e.style.isTight()||r.push(l(["mspace","negativemediumspace"],[],e)),r.push(l(["mspace","thickspace"],[],e))):e.style.size===i.DISPLAY.size?r.push(l(["mspace","quad"],[],e)):"mod"===t.value.modType?r.push(l(["mspace","twelvemuspace"],[],e)):r.push(l(["mspace","eightmuspace"],[],e)),"pod"!==t.value.modType&&"pmod"!==t.value.modType||r.push(o.mathsym("(",t.mode)),"pod"!==t.value.modType){var n=[o.mathsym("m",t.mode),o.mathsym("o",t.mode),o.mathsym("d",t.mode)];"bmod"===t.value.modType?(r.push(l(["mbin"],n,e)),r.push(l(["mspace","thickspace"],[],e)),e.style.isTight()||r.push(l(["mspace","negativemediumspace"],[],e))):(Array.prototype.push.apply(r,n),r.push(l(["mspace","sixmuspace"],[],e)))}return t.value.value&&Array.prototype.push.apply(r,b(t.value.value,e,!1)),"pod"!==t.value.modType&&"pmod"!==t.value.modType||r.push(o.mathsym(")",t.mode)),o.makeFragment(r)},x.katex=function(t,e){var r=l(["k"],[o.mathsym("K",t.mode)],e),n=l(["a"],[o.mathsym("A",t.mode)],e);n.height=.75*(n.height+.2),n.depth=.75*(n.height-.2);var i=l(["t"],[o.mathsym("T",t.mode)],e),s=l(["e"],[o.mathsym("E",t.mode)],e);s.height=s.height-.2155,s.depth=s.depth+.2155;var a=l(["x"],[o.mathsym("X",t.mode)],e);return l(["mord","katex-logo"],[r,n,i,s,a],e)},x.overline=function(t,e){var r=e.style,n=S(t.value.body,e.withStyle(r.cramp())),s=u.metrics.defaultRuleThickness/r.sizeMultiplier,a=l([r.reset(),i.TEXT.cls(),"overline-line"]);a.height=s,a.maxFontSize=1;var c=o.makeVList([{type:"elem",elem:n},{type:"kern",size:3*s},{type:"elem",elem:a},{type:"kern",size:s}],"firstBaseline",null,e);return l(["mord","overline"],[c],e)},x.underline=function(t,e){var r=e.style,n=S(t.value.body,e),s=u.metrics.defaultRuleThickness/r.sizeMultiplier,a=l([r.reset(),i.TEXT.cls(),"underline-line"]);a.height=s,a.maxFontSize=1;var c=o.makeVList([{type:"kern",size:s
|
19
|
+
},{type:"elem",elem:a},{type:"kern",size:3*s},{type:"elem",elem:n}],"top",n.height,e);return l(["mord","underline"],[c],e)},x.sqrt=function(t,e){var r=e.style,n=S(t.value.body,e.withStyle(r.cramp())),a=u.metrics.defaultRuleThickness/r.sizeMultiplier,c=l([r.reset(),i.TEXT.cls(),"sqrt-line"],[],e);c.height=a,c.maxFontSize=1;var h=a;r.id<i.TEXT.id&&(h=r.metrics.xHeight);var p=a+h/4,f=(n.height+n.depth)*r.sizeMultiplier,d=f+p+a,b=l(["sqrt-sign"],[s.customSizedDelim("\\surd",d,!1,e,t.mode)],e),m=b.height+b.depth-a;m>n.height+n.depth+p&&(p=(p+m-n.height-n.depth)/2);var v=-(n.height+p+a)+b.height;b.style.top=v+"em",b.height-=v,b.depth+=v;var y;if(y=0===n.height&&0===n.depth?l():o.makeVList([{type:"elem",elem:n},{type:"kern",size:p},{type:"elem",elem:c},{type:"kern",size:a}],"firstBaseline",null,e),t.value.index){var g=e.withStyle(i.SCRIPTSCRIPT),w=S(t.value.index,g),x=l([r.reset(),i.SCRIPTSCRIPT.cls()],[w],g),_=Math.max(b.height,y.height),O=Math.max(b.depth,y.depth),k=.6*(_-O),j=o.makeVList([{type:"elem",elem:x}],"shift",-k,e),T=l(["root"],[j]);return l(["mord","sqrt"],[T,b,y],e)}return l(["mord","sqrt"],[b,y],e)},x.sizing=function(t,e){var r=b(t.value.value,e.withSize(t.value.size),!1),n=e.style,i=o.sizingMultiplier[t.value.size];i*=n.sizeMultiplier;for(var s=0;s<r.length;s++){var a=c.indexOf(r[s].classes,"sizing");a<0?(r[s].classes.push("sizing","reset-"+e.size,t.value.size,n.cls()),r[s].maxFontSize=i):r[s].classes[a+1]==="reset-"+t.value.size&&(r[s].classes[a+1]="reset-"+e.size)}return o.makeFragment(r)},x.styling=function(t,e){for(var r={display:i.DISPLAY,text:i.TEXT,script:i.SCRIPT,scriptscript:i.SCRIPTSCRIPT},n=r[t.value.style],s=e.withStyle(n),a=b(t.value.value,s,!1),u=0;u<a.length;u++){var l=c.indexOf(a[u].classes,n.reset());l<0?a[u].classes.push(e.style.reset(),n.cls()):a[u].classes[l]=e.style.reset()}return new o.makeFragment(a)},x.font=function(t,e){var r=t.value.font;return S(t.value.body,e.withFont(r))},x.delimsizing=function(t,e){var r=t.value.value;return"."===r?l([t.value.mclass]):s.sizedDelim(r,t.value.size,e,t.mode,[t.value.mclass])},x.leftright=function(t,e){for(var r=b(t.value.body,e.reset(),!0),n=0,i=0,o=!1,a=0;a<r.length;a++)r[a].isMiddle?o=!0:(n=Math.max(r[a].height,n),i=Math.max(r[a].depth,i));var u=e.style;n*=u.sizeMultiplier,i*=u.sizeMultiplier;var c;if(c="."===t.value.left?w(e,["mopen"]):s.leftRightDelim(t.value.left,n,i,e,t.mode,["mopen"]),r.unshift(c),o)for(a=1;a<r.length;a++)r[a].isMiddle&&(r[a]=s.leftRightDelim(r[a].isMiddle.value,n,i,r[a].isMiddle.options,t.mode,[]));var h;return h="."===t.value.right?w(e,["mclose"]):s.leftRightDelim(t.value.right,n,i,e,t.mode,["mclose"]),r.push(h),l(["minner",u.cls()],r,e)},x.middle=function(t,e){var r;return"."===t.value.value?r=w(e,[]):(r=s.sizedDelim(t.value.value,1,e,t.mode,[]),r.isMiddle={value:t.value.value,options:e}),r},x.rule=function(t,e){var r=l(["mord","rule"],[],e),n=e.style,i=0;t.value.shift&&(i=_(t.value.shift,n));var o=_(t.value.width,n),s=_(t.value.height,n);return i/=n.sizeMultiplier,o/=n.sizeMultiplier,s/=n.sizeMultiplier,r.style.borderRightWidth=o+"em",r.style.borderTopWidth=s+"em",r.style.bottom=i+"em",r.width=o,r.height=s+i,r.depth=-i,r},x.kern=function(t,e){var r=l(["mord","rule"],[],e),n=e.style,i=0;return t.value.dimension&&(i=_(t.value.dimension,n)),i/=n.sizeMultiplier,r.style.marginLeft=i+"em",r},x.accent=function(t,e){var r,n=t.value.base,i=e.style;if("supsub"===t.type){var s=t;t=s.value.base,n=t.value.base,s.value.base=n,r=S(s,e.reset())}var a,u=S(n,e.withStyle(i.cramp()));if(g(n)){var c=y(n);a=S(c,e.withStyle(i.cramp())).skew}else a=0;var h=Math.min(u.height,i.metrics.xHeight),p=o.makeSymbol(t.value.accent,"Main-Regular","math",e);p.italic=0;var f="\\vec"===t.value.accent?"accent-vec":null,d=l(["accent-body",f],[l([],[p])]);d=o.makeVList([{type:"elem",elem:u},{type:"kern",size:-h},{type:"elem",elem:d}],"firstBaseline",null,e),d.children[1].style.marginLeft=2*a+"em";var b=l(["mord","accent"],[d],e);return r?(r.children[0]=b,r.height=Math.max(b.height,r.height),r.classes[0]="mord",r):b},x.phantom=function(t,e){var r=b(t.value.value,e.withPhantom(),!1);return new o.makeFragment(r)},x.mclass=function(t,e){var r=b(t.value.value,e,!0);return l([t.value.mclass],r,e)};var S=function(t,e){if(!t)return l();if(x[t.type]){var r,i=x[t.type](t,e);return e.style!==e.parentStyle&&(r=e.style.sizeMultiplier/e.parentStyle.sizeMultiplier,i.height*=r,i.depth*=r),e.size!==e.parentSize&&(r=o.sizingMultiplier[e.size]/o.sizingMultiplier[e.parentSize],i.height*=r,i.depth*=r),i}throw new n("Got group of unknown type: '"+t.type+"'")},O=function(t,e){t=JSON.parse(JSON.stringify(t));var r=b(t,e,!0),n=l(["base",e.style.cls()],r,e),i=l(["strut"]),o=l(["strut","bottom"]);i.style.height=n.height+"em",o.style.height=n.height+n.depth+"em",o.style.verticalAlign=-n.depth+"em";var s=l(["katex-html"],[i,o,n]);return s.setAttribute("aria-hidden","true"),s};e.exports=O},{"./ParseError":95,"./Style":98,"./buildCommon":99,"./delimiter":103,"./domTree":104,"./fontMetrics":106,"./utils":114}],101:[function(t,e,r){var n=t("./buildCommon"),i=t("./fontMetrics"),o=t("./mathMLTree"),s=t("./ParseError"),a=t("./symbols"),u=t("./utils"),c=n.makeSpan,l=n.fontMap,h=function(t,e){return a[e][t]&&a[e][t].replace&&(t=a[e][t].replace),new o.TextNode(t)},p=function(t,e){var r=e.font;if(!r)return null;var n=t.mode;if("mathit"===r)return"italic";var o=t.value;if(u.contains(["\\imath","\\jmath"],o))return null;a[n][o]&&a[n][o].replace&&(o=a[n][o].replace);var s=l[r].fontName;return i.getCharacterMetrics(o,s)?l[e.font].variant:null},f={};f.mathord=function(t,e){var r=new o.MathNode("mi",[h(t.value,t.mode)]),n=p(t,e);return n&&r.setAttribute("mathvariant",n),r},f.textord=function(t,e){var r,n=h(t.value,t.mode),i=p(t,e)||"normal";return/[0-9]/.test(t.value)?(r=new o.MathNode("mn",[n]),e.font&&r.setAttribute("mathvariant",i)):(r=new o.MathNode("mi",[n]),r.setAttribute("mathvariant",i)),r},f.bin=function(t){return new o.MathNode("mo",[h(t.value,t.mode)])},f.rel=function(t){return new o.MathNode("mo",[h(t.value,t.mode)])},f.open=function(t){return new o.MathNode("mo",[h(t.value,t.mode)])},f.close=function(t){return new o.MathNode("mo",[h(t.value,t.mode)])},f.inner=function(t){return new o.MathNode("mo",[h(t.value,t.mode)])},f.punct=function(t){var e=new o.MathNode("mo",[h(t.value,t.mode)]);return e.setAttribute("separator","true"),e},f.ordgroup=function(t,e){var r=d(t.value,e);return new o.MathNode("mrow",r)},f.text=function(t,e){var r=d(t.value.body,e);return new o.MathNode("mtext",r)},f.color=function(t,e){var r=d(t.value.value,e),n=new o.MathNode("mstyle",r);return n.setAttribute("mathcolor",t.value.color),n},f.supsub=function(t,e){var r=[b(t.value.base,e)];t.value.sub&&r.push(b(t.value.sub,e)),t.value.sup&&r.push(b(t.value.sup,e));var n;return n=t.value.sub?t.value.sup?"msubsup":"msub":"msup",new o.MathNode(n,r)},f.genfrac=function(t,e){var r=new o.MathNode("mfrac",[b(t.value.numer,e),b(t.value.denom,e)]);if(t.value.hasBarLine||r.setAttribute("linethickness","0px"),null!=t.value.leftDelim||null!=t.value.rightDelim){var n=[];if(null!=t.value.leftDelim){var i=new o.MathNode("mo",[new o.TextNode(t.value.leftDelim)]);i.setAttribute("fence","true"),n.push(i)}if(n.push(r),null!=t.value.rightDelim){var s=new o.MathNode("mo",[new o.TextNode(t.value.rightDelim)]);s.setAttribute("fence","true"),n.push(s)}return new o.MathNode("mrow",n)}return r},f.array=function(t,e){return new o.MathNode("mtable",t.value.body.map(function(t){return new o.MathNode("mtr",t.map(function(t){return new o.MathNode("mtd",[b(t,e)])}))}))},f.sqrt=function(t,e){return t.value.index?new o.MathNode("mroot",[b(t.value.body,e),b(t.value.index,e)]):new o.MathNode("msqrt",[b(t.value.body,e)])},f.leftright=function(t,e){var r=d(t.value.body,e);if("."!==t.value.left){var n=new o.MathNode("mo",[h(t.value.left,t.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if("."!==t.value.right){var i=new o.MathNode("mo",[h(t.value.right,t.mode)]);i.setAttribute("fence","true"),r.push(i)}return new o.MathNode("mrow",r)},f.middle=function(t,e){var r=new o.MathNode("mo",[h(t.value.middle,t.mode)]);return r.setAttribute("fence","true"),r},f.accent=function(t,e){var r=new o.MathNode("mo",[h(t.value.accent,t.mode)]),n=new o.MathNode("mover",[b(t.value.base,e),r]);return n.setAttribute("accent","true"),n},f.spacing=function(t){var e;return"\\ "===t.value||"\\space"===t.value||" "===t.value||"~"===t.value?e=new o.MathNode("mtext",[new o.TextNode(" ")]):(e=new o.MathNode("mspace"),e.setAttribute("width",n.spacingFunctions[t.value].size)),e},f.op=function(t,e){return t.value.symbol?new o.MathNode("mo",[h(t.value.body,t.mode)]):t.value.value?new o.MathNode("mo",d(t.value.value,e)):new o.MathNode("mi",[new o.TextNode(t.value.body.slice(1))])},f.mod=function(t,e){var r=[];if("pod"!==t.value.modType&&"pmod"!==t.value.modType||r.push(new o.MathNode("mo",[h("(",t.mode)])),"pod"!==t.value.modType&&r.push(new o.MathNode("mo",[h("mod",t.mode)])),t.value.value){var n=new o.MathNode("mspace");n.setAttribute("width","0.333333em"),r.push(n),r=r.concat(d(t.value.value,e))}return"pod"!==t.value.modType&&"pmod"!==t.value.modType||r.push(new o.MathNode("mo",[h(")",t.mode)])),new o.MathNode("mo",r)},f.katex=function(t){return new o.MathNode("mtext",[new o.TextNode("KaTeX")])},f.font=function(t,e){var r=t.value.font;return b(t.value.body,e.withFont(r))},f.delimsizing=function(t){var e=[];"."!==t.value.value&&e.push(h(t.value.value,t.mode));var r=new o.MathNode("mo",e);return"mopen"===t.value.mclass||"mclose"===t.value.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r},f.styling=function(t,e){var r=d(t.value.value,e),n=new o.MathNode("mstyle",r),i={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=i[t.value.style];return n.setAttribute("scriptlevel",s[0]),n.setAttribute("displaystyle",s[1]),n},f.sizing=function(t,e){var r=d(t.value.value,e),i=new o.MathNode("mstyle",r);return i.setAttribute("mathsize",n.sizingMultiplier[t.value.size]+"em"),i},f.overline=function(t,e){var r=new o.MathNode("mo",[new o.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new o.MathNode("mover",[b(t.value.body,e),r]);return n.setAttribute("accent","true"),n},f.underline=function(t,e){var r=new o.MathNode("mo",[new o.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new o.MathNode("munder",[b(t.value.body,e),r]);return n.setAttribute("accentunder","true"),n},f.rule=function(t){return new o.MathNode("mrow")},f.kern=function(t){return new o.MathNode("mrow")},f.llap=function(t,e){var r=new o.MathNode("mpadded",[b(t.value.body,e)]);return r.setAttribute("lspace","-1width"),r.setAttribute("width","0px"),r},f.rlap=function(t,e){var r=new o.MathNode("mpadded",[b(t.value.body,e)]);return r.setAttribute("width","0px"),r},f.phantom=function(t,e){var r=d(t.value.value,e);return new o.MathNode("mphantom",r)},f.mclass=function(t,e){var r=d(t.value.value,e);return new o.MathNode("mstyle",r)};var d=function(t,e){for(var r=[],n=0;n<t.length;n++){var i=t[n];r.push(b(i,e))}return r},b=function(t,e){if(!t)return new o.MathNode("mrow");if(f[t.type])return f[t.type](t,e);throw new s("Got group of unknown type: '"+t.type+"'")},m=function(t,e,r){var n=d(t,r),i=new o.MathNode("mrow",n),s=new o.MathNode("annotation",[new o.TextNode(e)]);s.setAttribute("encoding","application/x-tex");var a=new o.MathNode("semantics",[i,s]),u=new o.MathNode("math",[a]);return c(["katex-mathml"],[u])};e.exports=m},{"./ParseError":95,"./buildCommon":99,"./fontMetrics":106,"./mathMLTree":109,"./symbols":112,"./utils":114}],102:[function(t,e,r){var n=t("./buildHTML"),i=t("./buildMathML"),o=t("./buildCommon"),s=t("./Options"),a=t("./Settings"),u=t("./Style"),c=o.makeSpan,l=function(t,e,r){r=r||new a({});var o=u.TEXT;r.displayMode&&(o=u.DISPLAY);var l=new s({style:o,size:"size5"}),h=i(t,e,l),p=n(t,l),f=c(["katex"],[h,p]);return r.displayMode?c(["katex-display"],[f]):f};e.exports=l},{"./Options":94,"./Settings":97,"./Style":98,"./buildCommon":99,"./buildHTML":100,"./buildMathML":101}],103:[function(t,e,r){var n=t("./ParseError"),i=t("./Style"),o=t("./buildCommon"),s=t("./fontMetrics"),a=t("./symbols"),u=t("./utils"),c=o.makeSpan,l=function(t,e){return a.math[t]&&a.math[t].replace?s.getCharacterMetrics(a.math[t].replace,e):s.getCharacterMetrics(t,e)},h=function(t,e,r,n){return o.makeSymbol(t,"Size"+e+"-Regular",r,n)},p=function(t,e,r,n){n=n||[];var i=c(n.concat(["style-wrap",r.style.reset(),e.cls()]),[t],r),o=e.sizeMultiplier/r.style.sizeMultiplier;return i.height*=o,i.depth*=o,i.maxFontSize=e.sizeMultiplier,i},f=function(t,e,r,n,i,s){var a=o.makeSymbol(t,"Main-Regular",i,n),u=p(a,e,n,s);if(r){var c=(1-n.style.sizeMultiplier/e.sizeMultiplier)*n.style.metrics.axisHeight;u.style.top=c+"em",u.height-=c,u.depth+=c}return u},d=function(t,e,r,n,o,s){var a=h(t,e,o,n),u=p(c(["delimsizing","size"+e],[a],n),i.TEXT,n,s);if(r){var l=(1-n.style.sizeMultiplier)*n.style.metrics.axisHeight;u.style.top=l+"em",u.height-=l,u.depth+=l}return u},b=function(t,e,r){var n;return"Size1-Regular"===e?n="delim-size1":"Size4-Regular"===e&&(n="delim-size4"),{type:"elem",elem:c(["delimsizinginner",n],[c([],[o.makeSymbol(t,e,r)])])}},m=function(t,e,r,n,s,a){var u,h,f,d;u=f=d=t,h=null;var m="Size1-Regular";"\\uparrow"===t?f=d="⏐":"\\Uparrow"===t?f=d="‖":"\\downarrow"===t?u=f="⏐":"\\Downarrow"===t?u=f="‖":"\\updownarrow"===t?(u="\\uparrow",f="⏐",d="\\downarrow"):"\\Updownarrow"===t?(u="\\Uparrow",f="‖",d="\\Downarrow"):"["===t||"\\lbrack"===t?(u="⎡",f="⎢",d="⎣",m="Size4-Regular"):"]"===t||"\\rbrack"===t?(u="⎤",f="⎥",d="⎦",m="Size4-Regular"):"\\lfloor"===t?(f=u="⎢",d="⎣",m="Size4-Regular"):"\\lceil"===t?(u="⎡",f=d="⎢",m="Size4-Regular"):"\\rfloor"===t?(f=u="⎥",d="⎦",m="Size4-Regular"):"\\rceil"===t?(u="⎤",f=d="⎥",m="Size4-Regular"):"("===t?(u="⎛",f="⎜",d="⎝",m="Size4-Regular"):")"===t?(u="⎞",f="⎟",d="⎠",m="Size4-Regular"):"\\{"===t||"\\lbrace"===t?(u="⎧",h="⎨",d="⎩",f="⎪",m="Size4-Regular"):"\\}"===t||"\\rbrace"===t?(u="⎫",h="⎬",d="⎭",f="⎪",m="Size4-Regular"):"\\lgroup"===t?(u="⎧",d="⎩",f="⎪",m="Size4-Regular"):"\\rgroup"===t?(u="⎫",d="⎭",f="⎪",m="Size4-Regular"):"\\lmoustache"===t?(u="⎧",d="⎭",f="⎪",m="Size4-Regular"):"\\rmoustache"===t?(u="⎫",d="⎩",f="⎪",m="Size4-Regular"):"\\surd"===t&&(u="",d="⎷",f="",m="Size4-Regular");var v=l(u,m),y=v.height+v.depth,g=l(f,m),w=g.height+g.depth,x=l(d,m),_=x.height+x.depth,S=0,O=1;if(null!==h){var k=l(h,m);S=k.height+k.depth,O=2}var j=y+_+S,T=Math.ceil((e-j)/(O*w)),E=j+T*O*w,M=n.style.metrics.axisHeight;r&&(M*=n.style.sizeMultiplier);var A=E/2-M,P=[];P.push(b(d,m,s));var C;if(null===h)for(C=0;C<T;C++)P.push(b(f,m,s));else{for(C=0;C<T;C++)P.push(b(f,m,s));for(P.push(b(h,m,s)),C=0;C<T;C++)P.push(b(f,m,s))}P.push(b(u,m,s));var N=o.makeVList(P,"bottom",A,n);return p(c(["delimsizing","mult"],[N],n),i.TEXT,n,a)},v=["(",")","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\\lceil","\\rceil","\\surd"],y=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\\lmoustache","\\rmoustache"],g=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],w=[0,1.2,1.8,2.4,3],x=function(t,e,r,i,o){if("<"===t||"\\lt"===t?t="\\langle":">"!==t&&"\\gt"!==t||(t="\\rangle"),u.contains(v,t)||u.contains(g,t))return d(t,e,!1,r,i,o);if(u.contains(y,t))return m(t,w[e],!1,r,i,o);throw new n("Illegal delimiter: '"+t+"'")},_=[{type:"small",style:i.SCRIPTSCRIPT},{type:"small",style:i.SCRIPT},{type:"small",style:i.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],S=[{type:"small",style:i.SCRIPTSCRIPT},{type:"small",style:i.SCRIPT},{type:"small",style:i.TEXT},{type:"stack"}],O=[{type:"small",style:i.SCRIPTSCRIPT},{type:"small",style:i.SCRIPT},{type:"small",style:i.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],k=function(t){return"small"===t.type?"Main-Regular":"large"===t.type?"Size"+t.size+"-Regular":"stack"===t.type?"Size4-Regular":void 0},j=function(t,e,r,n){for(var i=Math.min(2,3-n.style.size),o=i;o<r.length&&"stack"!==r[o].type;o++){var s=l(t,k(r[o])),a=s.height+s.depth;if("small"===r[o].type&&(a*=r[o].style.sizeMultiplier),a>e)return r[o]}return r[r.length-1]},T=function(t,e,r,n,i,o){"<"===t||"\\lt"===t?t="\\langle":">"!==t&&"\\gt"!==t||(t="\\rangle");var s;s=u.contains(g,t)?_:u.contains(v,t)?O:S;var a=j(t,e,s,n);return"small"===a.type?f(t,a.style,r,n,i,o):"large"===a.type?d(t,a.size,r,n,i,o):"stack"===a.type?m(t,e,r,n,i,o):void 0},E=function(t,e,r,n,i,o){var a=n.style.metrics.axisHeight*n.style.sizeMultiplier,u=5/s.metrics.ptPerEm,c=Math.max(e-a,r+a),l=Math.max(c/500*901,2*c-u);return T(t,l,!0,n,i,o)};e.exports={sizedDelim:x,customSizedDelim:T,leftRightDelim:E}},{"./ParseError":95,"./Style":98,"./buildCommon":99,"./fontMetrics":106,"./symbols":112,"./utils":114}],104:[function(t,e,r){function n(t,e,r){this.classes=t||[],this.children=e||[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={},this.attributes={},r&&(r.style.isTight()&&this.classes.push("mtight"),r.getColor()&&(this.style.color=r.getColor()))}function i(t){this.children=t||[],this.height=0,this.depth=0,this.maxFontSize=0}function o(t,e,r,n,i,o,a){this.value=t||"",this.height=e||0,this.depth=r||0,this.italic=n||0,this.skew=i||0,this.classes=o||[],this.style=a||{},this.maxFontSize=0,s.cjkRegex.test(t)&&(s.hangulRegex.test(t)?this.classes.push("hangul_fallback"):this.classes.push("cjk_fallback")),/[îïíì]/.test(this.value)&&(this.value=c[this.value])}var s=t("./unicodeRegexes"),a=t("./utils"),u=function(t){t=t.slice();for(var e=t.length-1;e>=0;e--)t[e]||t.splice(e,1);return t.join(" ")};n.prototype.setAttribute=function(t,e){this.attributes[t]=e},n.prototype.tryCombine=function(t){return!1},n.prototype.toNode=function(){var t=document.createElement("span");t.className=u(this.classes);for(var e in this.style)Object.prototype.hasOwnProperty.call(this.style,e)&&(t.style[e]=this.style[e]);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);for(var n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t},n.prototype.toMarkup=function(){var t="<span";this.classes.length&&(t+=' class="',t+=a.escape(u(this.classes)),t+='"');var e="";for(var r in this.style)this.style.hasOwnProperty(r)&&(e+=a.hyphenate(r)+":"+this.style[r]+";");e&&(t+=' style="'+a.escape(e)+'"');for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="',t+=a.escape(this.attributes[n]),t+='"');t+=">";for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+="</span>"},i.prototype.toNode=function(){for(var t=document.createDocumentFragment(),e=0;e<this.children.length;e++)t.appendChild(this.children[e].toNode());return t},i.prototype.toMarkup=function(){for(var t="",e=0;e<this.children.length;e++)t+=this.children[e].toMarkup();return t};var c={"î":"ı̂","ï":"ı̈","í":"ı́","ì":"ı̀"};o.prototype.tryCombine=function(t){if(!t||!(t instanceof o)||this.italic>0||u(this.classes)!==u(t.classes)||this.skew!==t.skew||this.maxFontSize!==t.maxFontSize)return!1;for(var e in this.style)if(this.style.hasOwnProperty(e)&&this.style[e]!==t.style[e])return!1;for(e in t.style)if(t.style.hasOwnProperty(e)&&this.style[e]!==t.style[e])return!1;return this.value+=t.value,this.height=Math.max(this.height,t.height),this.depth=Math.max(this.depth,t.depth),this.italic=t.italic,!0},o.prototype.toNode=function(){var t=document.createTextNode(this.value),e=null;this.italic>0&&(e=document.createElement("span"),e.style.marginRight=this.italic+"em"),this.classes.length>0&&(e=e||document.createElement("span"),e.className=u(this.classes));for(var r in this.style)this.style.hasOwnProperty(r)&&(e=e||document.createElement("span"),e.style[r]=this.style[r]);return e?(e.appendChild(t),e):t},o.prototype.toMarkup=function(){var t=!1,e="<span";this.classes.length&&(t=!0,e+=' class="',e+=a.escape(u(this.classes)),e+='"');var r="";this.italic>0&&(r+="margin-right:"+this.italic+"em;");for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=a.hyphenate(n)+":"+this.style[n]+";");r&&(t=!0,e+=' style="'+a.escape(r)+'"');var i=a.escape(this.value);return t?(e+=">",e+=i,e+="</span>"):i},e.exports={span:n,documentFragment:i,symbolNode:o}},{"./unicodeRegexes":113,"./utils":114}],105:[function(t,e,r){function n(t,e){for(var r=[],n=[r],i=[];;){var o=t.parseExpression(!1,null);r.push(new u("ordgroup",o,t.mode));var a=t.nextToken.text;if("&"===a)t.consume();else{if("\\end"===a)break;if("\\\\"!==a&&"\\cr"!==a)throw new s("Expected & or \\\\ or \\end",t.nextToken);var c=t.parseFunction();i.push(c.value.size),r=[],n.push(r)}}return e.body=n,e.rowGaps=i,new u(e.type,e,t.mode)}function i(t,r,n){"string"==typeof t&&(t=[t]),"number"==typeof r&&(r={numArgs:r});for(var i={numArgs:r.numArgs||0,argTypes:r.argTypes,greediness:1,allowedInText:!!r.allowedInText,numOptionalArgs:r.numOptionalArgs||0,handler:n},o=0;o<t.length;++o)e.exports[t[o]]=i}var o=t("./parseData"),s=t("./ParseError"),a=t("./Style"),u=o.ParseNode;i("array",{numArgs:1},function(t,e){var r=e[0];r=r.value.map?r.value:[r];var i=r.map(function(t){var e=t.value;if(-1!=="lcr".indexOf(e))return{type:"align",align:e};if("|"===e)return{type:"separator",separator:"|"};throw new s("Unknown column alignment: "+t.value,t)}),o={type:"array",cols:i,hskipBeforeAndAfter:!0};return o=n(t.parser,o)}),i(["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],{},function(t){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName],r={type:"array",hskipBeforeAndAfter:!1};return r=n(t.parser,r),e&&(r=new u("leftright",{body:[r],left:e[0],right:e[1]},t.mode)),r}),i("cases",{},function(t){var e={type:"array",arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:a.TEXT.metrics.quad},{type:"align",align:"l",pregap:0,postgap:0}]};return e=n(t.parser,e),e=new u("leftright",{body:[e],left:"\\{",right:"."},t.mode)}),i("aligned",{},function(t){var e={type:"array",cols:[]};e=n(t.parser,e);var r=new u("ordgroup",[],t.mode),i=0;e.value.body.forEach(function(t){var e;for(e=1;e<t.length;e+=2)t[e].value.unshift(r);i<t.length&&(i=t.length)});for(var o=0;o<i;++o){var s="r",a=0;o%2==1?s="l":o>0&&(a=2),e.value.cols[o]={type:"align",align:s,pregap:a,postgap:0}}return e})},{"./ParseError":95,"./Style":98,"./parseData":110}],106:[function(t,e,r){var n=(t("./Style"),t("./unicodeRegexes").cjkRegex),i={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25]},o={defaultRuleThickness:.04,bigOpSpacing1:.111,bigOpSpacing2:.166,bigOpSpacing3:.2,bigOpSpacing4:.6,bigOpSpacing5:.1,ptPerEm:10,doubleRuleSep:.2},s=t("./fontMetricsData"),a={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"A","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"o","ß":"B","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"a","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"o","ÿ":"y","А":"A","Б":"B","В":"B","Г":"F","Д":"A","Е":"E","Ж":"K","З":"3","И":"N","Й":"N","К":"K","Л":"N","М":"M","Н":"H","О":"O","П":"N","Р":"P","С":"C","Т":"T","У":"y","Ф":"O","Х":"X","Ц":"U","Ч":"h","Ш":"W","Щ":"W","Ъ":"B","Ы":"X","Ь":"B","Э":"3","Ю":"X","Я":"R","а":"a","б":"b","в":"a","г":"r","д":"y","е":"e","ж":"m","з":"e","и":"n","й":"n","к":"n","л":"n","м":"m","н":"n","о":"o","п":"n","р":"p","с":"c","т":"o","у":"y","ф":"b","х":"x","ц":"n","ч":"n","ш":"w","щ":"w","ъ":"a","ы":"m","ь":"a","э":"e","ю":"m","я":"r"},u=function(t,e){var r=t.charCodeAt(0);t[0]in a?r=a[t[0]].charCodeAt(0):n.test(t[0])&&(r="M".charCodeAt(0));var i=s[e][r];if(i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}};e.exports={metrics:o,sigmas:i,getCharacterMetrics:u}},{"./Style":98,"./fontMetricsData":107,"./unicodeRegexes":113}],107:[function(t,e,r){e.exports={"AMS-Regular":{65:[0,.68889,0,0],66:[0,.68889,0,0],67:[0,.68889,0,0],68:[0,.68889,0,0],69:[0,.68889,0,0],70:[0,.68889,0,0],71:[0,.68889,0,0],72:[0,.68889,0,0],73:[0,.68889,0,0],74:[.16667,.68889,0,0],75:[0,.68889,0,0],76:[0,.68889,0,0],77:[0,.68889,0,0],78:[0,.68889,0,0],79:[.16667,.68889,0,0],80:[0,.68889,0,0],81:[.16667,.68889,0,0],82:[0,.68889,0,0],83:[0,.68889,0,0],84:[0,.68889,0,0],85:[0,.68889,0,0],86:[0,.68889,0,0],87:[0,.68889,0,0],88:[0,.68889,0,0],89:[0,.68889,0,0],90:[0,.68889,0,0],107:[0,.68889,0,0],165:[0,.675,.025,0],174:[.15559,.69224,0,0],240:[0,.68889,0,0],295:[0,.68889,0,0],710:[0,.825,0,0],732:[0,.9,0,0],770:[0,.825,0,0],771:[0,.9,0,0],989:[.08167,.58167,0,0],1008:[0,.43056,.04028,0],8245:[0,.54986,0,0],8463:[0,.68889,0,0],8487:[0,.68889,0,0],8498:[0,.68889,0,0],8502:[0,.68889,0,0],8503:[0,.68889,0,0],8504:[0,.68889,0,0],8513:[0,.68889,0,0],8592:[-.03598,.46402,0,0],8594:[-.03598,.46402,0,0],8602:[-.13313,.36687,0,0],8603:[-.13313,.36687,0,0],8606:[.01354,.52239,0,0],8608:[.01354,.52239,0,0],8610:[.01354,.52239,0,0],8611:[.01354,.52239,0,0],8619:[0,.54986,0,0],8620:[0,.54986,0,0],8621:[-.13313,.37788,0,0],8622:[-.13313,.36687,0,0],8624:[0,.69224,0,0],8625:[0,.69224,0,0],8630:[0,.43056,0,0],8631:[0,.43056,0,0],8634:[.08198,.58198,0,0],8635:[.08198,.58198,0,0],8638:[.19444,.69224,0,0],8639:[.19444,.69224,0,0],8642:[.19444,.69224,0,0],8643:[.19444,.69224,0,0],8644:[.1808,.675,0,0],8646:[.1808,.675,0,0],8647:[.1808,.675,0,0],8648:[.19444,.69224,0,0],8649:[.1808,.675,0,0],8650:[.19444,.69224,0,0],8651:[.01354,.52239,0,0],8652:[.01354,.52239,0,0],8653:[-.13313,.36687,0,0],8654:[-.13313,.36687,0,0],8655:[-.13313,.36687,0,0],8666:[.13667,.63667,0,0],8667:[.13667,.63667,0,0],8669:[-.13313,.37788,0,0],8672:[-.064,.437,0,0],8674:[-.064,.437,0,0],8705:[0,.825,0,0],8708:[0,.68889,0,0],8709:[.08167,.58167,0,0],8717:[0,.43056,0,0],8722:[-.03598,.46402,0,0],8724:[.08198,.69224,0,0],8726:[.08167,.58167,0,0],8733:[0,.69224,0,0],8736:[0,.69224,0,0],8737:[0,.69224,0,0],8738:[.03517,.52239,0,0],8739:[.08167,.58167,0,0],8740:[.25142,.74111,0,0],8741:[.08167,.58167,0,0],8742:[.25142,.74111,0,0],8756:[0,.69224,0,0],8757:[0,.69224,0,0],8764:[-.13313,.36687,0,0],8765:[-.13313,.37788,0,0],8769:[-.13313,.36687,0,0],8770:[-.03625,.46375,0,0],8774:[.30274,.79383,0,0],8776:[-.01688,.48312,0,0],8778:[.08167,.58167,0,0],8782:[.06062,.54986,0,0],8783:[.06062,.54986,0,0],8785:[.08198,.58198,0,0],8786:[.08198,.58198,0,0],8787:[.08198,.58198,0,0],8790:[0,.69224,0,0],8791:[.22958,.72958,0,0],8796:[.08198,.91667,0,0],8806:[.25583,.75583,0,0],8807:[.25583,.75583,0,0],8808:[.25142,.75726,0,0],8809:[.25142,.75726,0,0],8812:[.25583,.75583,0,0],8814:[.20576,.70576,0,0],8815:[.20576,.70576,0,0],8816:[.30274,.79383,0,0],8817:[.30274,.79383,0,0],8818:[.22958,.72958,0,0],8819:[.22958,.72958,0,0],8822:[.1808,.675,0,0],8823:[.1808,.675,0,0],8828:[.13667,.63667,0,0],8829:[.13667,.63667,0,0],8830:[.22958,.72958,0,0],8831:[.22958,.72958,0,0],8832:[.20576,.70576,0,0],8833:[.20576,.70576,0,0],8840:[.30274,.79383,0,0],8841:[.30274,.79383,0,0],8842:[.13597,.63597,0,0],8843:[.13597,.63597,0,0],8847:[.03517,.54986,0,0],8848:[.03517,.54986,0,0],8858:[.08198,.58198,0,0],8859:[.08198,.58198,0,0],8861:[.08198,.58198,0,0],8862:[0,.675,0,0],8863:[0,.675,0,0],8864:[0,.675,0,0],8865:[0,.675,0,0],8872:[0,.69224,0,0],8873:[0,.69224,0,0],8874:[0,.69224,0,0],8876:[0,.68889,0,0],8877:[0,.68889,0,0],8878:[0,.68889,0,0],8879:[0,.68889,0,0],8882:[.03517,.54986,0,0],8883:[.03517,.54986,0,0],8884:[.13667,.63667,0,0],8885:[.13667,.63667,0,0],8888:[0,.54986,0,0],8890:[.19444,.43056,0,0],8891:[.19444,.69224,0,0],8892:[.19444,.69224,0,0],8901:[0,.54986,0,0],8903:[.08167,.58167,0,0],8905:[.08167,.58167,0,0],8906:[.08167,.58167,0,0],8907:[0,.69224,0,0],8908:[0,.69224,0,0],8909:[-.03598,.46402,0,0],8910:[0,.54986,0,0],8911:[0,.54986,0,0],8912:[.03517,.54986,0,0],8913:[.03517,.54986,0,0],8914:[0,.54986,0,0],8915:[0,.54986,0,0],8916:[0,.69224,0,0],8918:[.0391,.5391,0,0],8919:[.0391,.5391,0,0],8920:[.03517,.54986,0,0],8921:[.03517,.54986,0,0],8922:[.38569,.88569,0,0],8923:[.38569,.88569,0,0],8926:[.13667,.63667,0,0],8927:[.13667,.63667,0,0],8928:[.30274,.79383,0,0],8929:[.30274,.79383,0,0],8934:[.23222,.74111,0,0],8935:[.23222,.74111,0,0],8936:[.23222,.74111,0,0],8937:[.23222,.74111,0,0],8938:[.20576,.70576,0,0],8939:[.20576,.70576,0,0],8940:[.30274,.79383,0,0],8941:[.30274,.79383,0,0],8994:[.19444,.69224,0,0],8995:[.19444,.69224,0,0],9416:[.15559,.69224,0,0],9484:[0,.69224,0,0],9488:[0,.69224,0,0],9492:[0,.37788,0,0],9496:[0,.37788,0,0],9585:[.19444,.68889,0,0],9586:[.19444,.74111,0,0],9632:[0,.675,0,0],9633:[0,.675,0,0],9650:[0,.54986,0,0],9651:[0,.54986,0,0],9654:[.03517,.54986,0,0],9660:[0,.54986,0,0],9661:[0,.54986,0,0],9664:[.03517,.54986,0,0],9674:[.11111,.69224,0,0],9733:[.19444,.69224,0,0],10003:[0,.69224,0,0],10016:[0,.69224,0,0],10731:[.11111,.69224,0,0],10846:[.19444,.75583,0,0],10877:[.13667,.63667,0,0],10878:[.13667,.63667,0,0],10885:[.25583,.75583,0,0],10886:[.25583,.75583,0,0],10887:[.13597,.63597,0,0],10888:[.13597,.63597,0,0],10889:[.26167,.75726,0,0],10890:[.26167,.75726,0,0],10891:[.48256,.98256,0,0],10892:[.48256,.98256,0,0],10901:[.13667,.63667,0,0],10902:[.13667,.63667,0,0],10933:[.25142,.75726,0,0],10934:[.25142,.75726,0,0],10935:[.26167,.75726,0,0],10936:[.26167,.75726,0,0],10937:[.26167,.75726,0,0],10938:[.26167,.75726,0,0],10949:[.25583,.75583,0,0],10950:[.25583,.75583,0,0],10955:[.28481,.79383,0,0],10956:[.28481,.79383,0,0],57350:[.08167,.58167,0,0],57351:[.08167,.58167,0,0],57352:[.08167,.58167,0,0],57353:[0,.43056,.04028,0],57356:[.25142,.75726,0,0],57357:[.25142,.75726,0,0],57358:[.41951,.91951,0,0],57359:[.30274,.79383,0,0],57360:[.30274,.79383,0,0],57361:[.41951,.91951,0,0],57366:[.25142,.75726,0,0],57367:[.25142,.75726,0,0],57368:[.25142,.75726,0,0],57369:[.25142,.75726,0,0],57370:[.13597,.63597,0,0],57371:[.13597,.63597,0,0]},"Caligraphic-Regular":{48:[0,.43056,0,0],49:[0,.43056,0,0],50:[0,.43056,0,0],51:[.19444,.43056,0,0],52:[.19444,.43056,0,0],53:[.19444,.43056,0,0],54:[0,.64444,0,0],55:[.19444,.43056,0,0],56:[0,.64444,0,0],57:[.19444,.43056,0,0],65:[0,.68333,0,.19445],66:[0,.68333,.03041,.13889],67:[0,.68333,.05834,.13889],68:[0,.68333,.02778,.08334],69:[0,.68333,.08944,.11111],70:[0,.68333,.09931,.11111],71:[.09722,.68333,.0593,.11111],72:[0,.68333,.00965,.11111],73:[0,.68333,.07382,0],74:[.09722,.68333,.18472,.16667],75:[0,.68333,.01445,.05556],76:[0,.68333,0,.13889],77:[0,.68333,0,.13889],78:[0,.68333,.14736,.08334],79:[0,.68333,.02778,.11111],80:[0,.68333,.08222,.08334],81:[.09722,.68333,0,.11111],82:[0,.68333,0,.08334],83:[0,.68333,.075,.13889],84:[0,.68333,.25417,0],85:[0,.68333,.09931,.08334],86:[0,.68333,.08222,0],87:[0,.68333,.08222,.08334],88:[0,.68333,.14643,.13889],89:[.09722,.68333,.08222,.08334],90:[0,.68333,.07944,.13889]},"Fraktur-Regular":{33:[0,.69141,0,0],34:[0,.69141,0,0],38:[0,.69141,0,0],39:[0,.69141,0,0],40:[.24982,.74947,0,0],41:[.24982,.74947,0,0],42:[0,.62119,0,0],43:[.08319,.58283,0,0],44:[0,.10803,0,0],45:[.08319,.58283,0,0],46:[0,.10803,0,0],47:[.24982,.74947,0,0],48:[0,.47534,0,0],49:[0,.47534,0,0],50:[0,.47534,0,0],51:[.18906,.47534,0,0],52:[.18906,.47534,0,0],53:[.18906,.47534,0,0],54:[0,.69141,0,0],55:[.18906,.47534,0,0],56:[0,.69141,0,0],57:[.18906,.47534,0,0],58:[0,.47534,0,0],59:[.12604,.47534,0,0],
|
20
|
+
61:[-.13099,.36866,0,0],63:[0,.69141,0,0],65:[0,.69141,0,0],66:[0,.69141,0,0],67:[0,.69141,0,0],68:[0,.69141,0,0],69:[0,.69141,0,0],70:[.12604,.69141,0,0],71:[0,.69141,0,0],72:[.06302,.69141,0,0],73:[0,.69141,0,0],74:[.12604,.69141,0,0],75:[0,.69141,0,0],76:[0,.69141,0,0],77:[0,.69141,0,0],78:[0,.69141,0,0],79:[0,.69141,0,0],80:[.18906,.69141,0,0],81:[.03781,.69141,0,0],82:[0,.69141,0,0],83:[0,.69141,0,0],84:[0,.69141,0,0],85:[0,.69141,0,0],86:[0,.69141,0,0],87:[0,.69141,0,0],88:[0,.69141,0,0],89:[.18906,.69141,0,0],90:[.12604,.69141,0,0],91:[.24982,.74947,0,0],93:[.24982,.74947,0,0],94:[0,.69141,0,0],97:[0,.47534,0,0],98:[0,.69141,0,0],99:[0,.47534,0,0],100:[0,.62119,0,0],101:[0,.47534,0,0],102:[.18906,.69141,0,0],103:[.18906,.47534,0,0],104:[.18906,.69141,0,0],105:[0,.69141,0,0],106:[0,.69141,0,0],107:[0,.69141,0,0],108:[0,.69141,0,0],109:[0,.47534,0,0],110:[0,.47534,0,0],111:[0,.47534,0,0],112:[.18906,.52396,0,0],113:[.18906,.47534,0,0],114:[0,.47534,0,0],115:[0,.47534,0,0],116:[0,.62119,0,0],117:[0,.47534,0,0],118:[0,.52396,0,0],119:[0,.52396,0,0],120:[.18906,.47534,0,0],121:[.18906,.47534,0,0],122:[.18906,.47534,0,0],8216:[0,.69141,0,0],8217:[0,.69141,0,0],58112:[0,.62119,0,0],58113:[0,.62119,0,0],58114:[.18906,.69141,0,0],58115:[.18906,.69141,0,0],58116:[.18906,.47534,0,0],58117:[0,.69141,0,0],58118:[0,.62119,0,0],58119:[0,.47534,0,0]},"Main-Bold":{33:[0,.69444,0,0],34:[0,.69444,0,0],35:[.19444,.69444,0,0],36:[.05556,.75,0,0],37:[.05556,.75,0,0],38:[0,.69444,0,0],39:[0,.69444,0,0],40:[.25,.75,0,0],41:[.25,.75,0,0],42:[0,.75,0,0],43:[.13333,.63333,0,0],44:[.19444,.15556,0,0],45:[0,.44444,0,0],46:[0,.15556,0,0],47:[.25,.75,0,0],48:[0,.64444,0,0],49:[0,.64444,0,0],50:[0,.64444,0,0],51:[0,.64444,0,0],52:[0,.64444,0,0],53:[0,.64444,0,0],54:[0,.64444,0,0],55:[0,.64444,0,0],56:[0,.64444,0,0],57:[0,.64444,0,0],58:[0,.44444,0,0],59:[.19444,.44444,0,0],60:[.08556,.58556,0,0],61:[-.10889,.39111,0,0],62:[.08556,.58556,0,0],63:[0,.69444,0,0],64:[0,.69444,0,0],65:[0,.68611,0,0],66:[0,.68611,0,0],67:[0,.68611,0,0],68:[0,.68611,0,0],69:[0,.68611,0,0],70:[0,.68611,0,0],71:[0,.68611,0,0],72:[0,.68611,0,0],73:[0,.68611,0,0],74:[0,.68611,0,0],75:[0,.68611,0,0],76:[0,.68611,0,0],77:[0,.68611,0,0],78:[0,.68611,0,0],79:[0,.68611,0,0],80:[0,.68611,0,0],81:[.19444,.68611,0,0],82:[0,.68611,0,0],83:[0,.68611,0,0],84:[0,.68611,0,0],85:[0,.68611,0,0],86:[0,.68611,.01597,0],87:[0,.68611,.01597,0],88:[0,.68611,0,0],89:[0,.68611,.02875,0],90:[0,.68611,0,0],91:[.25,.75,0,0],92:[.25,.75,0,0],93:[.25,.75,0,0],94:[0,.69444,0,0],95:[.31,.13444,.03194,0],96:[0,.69444,0,0],97:[0,.44444,0,0],98:[0,.69444,0,0],99:[0,.44444,0,0],100:[0,.69444,0,0],101:[0,.44444,0,0],102:[0,.69444,.10903,0],103:[.19444,.44444,.01597,0],104:[0,.69444,0,0],105:[0,.69444,0,0],106:[.19444,.69444,0,0],107:[0,.69444,0,0],108:[0,.69444,0,0],109:[0,.44444,0,0],110:[0,.44444,0,0],111:[0,.44444,0,0],112:[.19444,.44444,0,0],113:[.19444,.44444,0,0],114:[0,.44444,0,0],115:[0,.44444,0,0],116:[0,.63492,0,0],117:[0,.44444,0,0],118:[0,.44444,.01597,0],119:[0,.44444,.01597,0],120:[0,.44444,0,0],121:[.19444,.44444,.01597,0],122:[0,.44444,0,0],123:[.25,.75,0,0],124:[.25,.75,0,0],125:[.25,.75,0,0],126:[.35,.34444,0,0],168:[0,.69444,0,0],172:[0,.44444,0,0],175:[0,.59611,0,0],176:[0,.69444,0,0],177:[.13333,.63333,0,0],180:[0,.69444,0,0],215:[.13333,.63333,0,0],247:[.13333,.63333,0,0],305:[0,.44444,0,0],567:[.19444,.44444,0,0],710:[0,.69444,0,0],711:[0,.63194,0,0],713:[0,.59611,0,0],714:[0,.69444,0,0],715:[0,.69444,0,0],728:[0,.69444,0,0],729:[0,.69444,0,0],730:[0,.69444,0,0],732:[0,.69444,0,0],768:[0,.69444,0,0],769:[0,.69444,0,0],770:[0,.69444,0,0],771:[0,.69444,0,0],772:[0,.59611,0,0],774:[0,.69444,0,0],775:[0,.69444,0,0],776:[0,.69444,0,0],778:[0,.69444,0,0],779:[0,.69444,0,0],780:[0,.63194,0,0],824:[.19444,.69444,0,0],915:[0,.68611,0,0],916:[0,.68611,0,0],920:[0,.68611,0,0],923:[0,.68611,0,0],926:[0,.68611,0,0],928:[0,.68611,0,0],931:[0,.68611,0,0],933:[0,.68611,0,0],934:[0,.68611,0,0],936:[0,.68611,0,0],937:[0,.68611,0,0],8211:[0,.44444,.03194,0],8212:[0,.44444,.03194,0],8216:[0,.69444,0,0],8217:[0,.69444,0,0],8220:[0,.69444,0,0],8221:[0,.69444,0,0],8224:[.19444,.69444,0,0],8225:[.19444,.69444,0,0],8242:[0,.55556,0,0],8407:[0,.72444,.15486,0],8463:[0,.69444,0,0],8465:[0,.69444,0,0],8467:[0,.69444,0,0],8472:[.19444,.44444,0,0],8476:[0,.69444,0,0],8501:[0,.69444,0,0],8592:[-.10889,.39111,0,0],8593:[.19444,.69444,0,0],8594:[-.10889,.39111,0,0],8595:[.19444,.69444,0,0],8596:[-.10889,.39111,0,0],8597:[.25,.75,0,0],8598:[.19444,.69444,0,0],8599:[.19444,.69444,0,0],8600:[.19444,.69444,0,0],8601:[.19444,.69444,0,0],8636:[-.10889,.39111,0,0],8637:[-.10889,.39111,0,0],8640:[-.10889,.39111,0,0],8641:[-.10889,.39111,0,0],8656:[-.10889,.39111,0,0],8657:[.19444,.69444,0,0],8658:[-.10889,.39111,0,0],8659:[.19444,.69444,0,0],8660:[-.10889,.39111,0,0],8661:[.25,.75,0,0],8704:[0,.69444,0,0],8706:[0,.69444,.06389,0],8707:[0,.69444,0,0],8709:[.05556,.75,0,0],8711:[0,.68611,0,0],8712:[.08556,.58556,0,0],8715:[.08556,.58556,0,0],8722:[.13333,.63333,0,0],8723:[.13333,.63333,0,0],8725:[.25,.75,0,0],8726:[.25,.75,0,0],8727:[-.02778,.47222,0,0],8728:[-.02639,.47361,0,0],8729:[-.02639,.47361,0,0],8730:[.18,.82,0,0],8733:[0,.44444,0,0],8734:[0,.44444,0,0],8736:[0,.69224,0,0],8739:[.25,.75,0,0],8741:[.25,.75,0,0],8743:[0,.55556,0,0],8744:[0,.55556,0,0],8745:[0,.55556,0,0],8746:[0,.55556,0,0],8747:[.19444,.69444,.12778,0],8764:[-.10889,.39111,0,0],8768:[.19444,.69444,0,0],8771:[.00222,.50222,0,0],8776:[.02444,.52444,0,0],8781:[.00222,.50222,0,0],8801:[.00222,.50222,0,0],8804:[.19667,.69667,0,0],8805:[.19667,.69667,0,0],8810:[.08556,.58556,0,0],8811:[.08556,.58556,0,0],8826:[.08556,.58556,0,0],8827:[.08556,.58556,0,0],8834:[.08556,.58556,0,0],8835:[.08556,.58556,0,0],8838:[.19667,.69667,0,0],8839:[.19667,.69667,0,0],8846:[0,.55556,0,0],8849:[.19667,.69667,0,0],8850:[.19667,.69667,0,0],8851:[0,.55556,0,0],8852:[0,.55556,0,0],8853:[.13333,.63333,0,0],8854:[.13333,.63333,0,0],8855:[.13333,.63333,0,0],8856:[.13333,.63333,0,0],8857:[.13333,.63333,0,0],8866:[0,.69444,0,0],8867:[0,.69444,0,0],8868:[0,.69444,0,0],8869:[0,.69444,0,0],8900:[-.02639,.47361,0,0],8901:[-.02639,.47361,0,0],8902:[-.02778,.47222,0,0],8968:[.25,.75,0,0],8969:[.25,.75,0,0],8970:[.25,.75,0,0],8971:[.25,.75,0,0],8994:[-.13889,.36111,0,0],8995:[-.13889,.36111,0,0],9651:[.19444,.69444,0,0],9657:[-.02778,.47222,0,0],9661:[.19444,.69444,0,0],9667:[-.02778,.47222,0,0],9711:[.19444,.69444,0,0],9824:[.12963,.69444,0,0],9825:[.12963,.69444,0,0],9826:[.12963,.69444,0,0],9827:[.12963,.69444,0,0],9837:[0,.75,0,0],9838:[.19444,.69444,0,0],9839:[.19444,.69444,0,0],10216:[.25,.75,0,0],10217:[.25,.75,0,0],10815:[0,.68611,0,0],10927:[.19667,.69667,0,0],10928:[.19667,.69667,0,0]},"Main-Italic":{33:[0,.69444,.12417,0],34:[0,.69444,.06961,0],35:[.19444,.69444,.06616,0],37:[.05556,.75,.13639,0],38:[0,.69444,.09694,0],39:[0,.69444,.12417,0],40:[.25,.75,.16194,0],41:[.25,.75,.03694,0],42:[0,.75,.14917,0],43:[.05667,.56167,.03694,0],44:[.19444,.10556,0,0],45:[0,.43056,.02826,0],46:[0,.10556,0,0],47:[.25,.75,.16194,0],48:[0,.64444,.13556,0],49:[0,.64444,.13556,0],50:[0,.64444,.13556,0],51:[0,.64444,.13556,0],52:[.19444,.64444,.13556,0],53:[0,.64444,.13556,0],54:[0,.64444,.13556,0],55:[.19444,.64444,.13556,0],56:[0,.64444,.13556,0],57:[0,.64444,.13556,0],58:[0,.43056,.0582,0],59:[.19444,.43056,.0582,0],61:[-.13313,.36687,.06616,0],63:[0,.69444,.1225,0],64:[0,.69444,.09597,0],65:[0,.68333,0,0],66:[0,.68333,.10257,0],67:[0,.68333,.14528,0],68:[0,.68333,.09403,0],69:[0,.68333,.12028,0],70:[0,.68333,.13305,0],71:[0,.68333,.08722,0],72:[0,.68333,.16389,0],73:[0,.68333,.15806,0],74:[0,.68333,.14028,0],75:[0,.68333,.14528,0],76:[0,.68333,0,0],77:[0,.68333,.16389,0],78:[0,.68333,.16389,0],79:[0,.68333,.09403,0],80:[0,.68333,.10257,0],81:[.19444,.68333,.09403,0],82:[0,.68333,.03868,0],83:[0,.68333,.11972,0],84:[0,.68333,.13305,0],85:[0,.68333,.16389,0],86:[0,.68333,.18361,0],87:[0,.68333,.18361,0],88:[0,.68333,.15806,0],89:[0,.68333,.19383,0],90:[0,.68333,.14528,0],91:[.25,.75,.1875,0],93:[.25,.75,.10528,0],94:[0,.69444,.06646,0],95:[.31,.12056,.09208,0],97:[0,.43056,.07671,0],98:[0,.69444,.06312,0],99:[0,.43056,.05653,0],100:[0,.69444,.10333,0],101:[0,.43056,.07514,0],102:[.19444,.69444,.21194,0],103:[.19444,.43056,.08847,0],104:[0,.69444,.07671,0],105:[0,.65536,.1019,0],106:[.19444,.65536,.14467,0],107:[0,.69444,.10764,0],108:[0,.69444,.10333,0],109:[0,.43056,.07671,0],110:[0,.43056,.07671,0],111:[0,.43056,.06312,0],112:[.19444,.43056,.06312,0],113:[.19444,.43056,.08847,0],114:[0,.43056,.10764,0],115:[0,.43056,.08208,0],116:[0,.61508,.09486,0],117:[0,.43056,.07671,0],118:[0,.43056,.10764,0],119:[0,.43056,.10764,0],120:[0,.43056,.12042,0],121:[.19444,.43056,.08847,0],122:[0,.43056,.12292,0],126:[.35,.31786,.11585,0],163:[0,.69444,0,0],305:[0,.43056,0,.02778],567:[.19444,.43056,0,.08334],768:[0,.69444,0,0],769:[0,.69444,.09694,0],770:[0,.69444,.06646,0],771:[0,.66786,.11585,0],772:[0,.56167,.10333,0],774:[0,.69444,.10806,0],775:[0,.66786,.11752,0],776:[0,.66786,.10474,0],778:[0,.69444,0,0],779:[0,.69444,.1225,0],780:[0,.62847,.08295,0],915:[0,.68333,.13305,0],916:[0,.68333,0,0],920:[0,.68333,.09403,0],923:[0,.68333,0,0],926:[0,.68333,.15294,0],928:[0,.68333,.16389,0],931:[0,.68333,.12028,0],933:[0,.68333,.11111,0],934:[0,.68333,.05986,0],936:[0,.68333,.11111,0],937:[0,.68333,.10257,0],8211:[0,.43056,.09208,0],8212:[0,.43056,.09208,0],8216:[0,.69444,.12417,0],8217:[0,.69444,.12417,0],8220:[0,.69444,.1685,0],8221:[0,.69444,.06961,0],8463:[0,.68889,0,0]},"Main-Regular":{32:[0,0,0,0],33:[0,.69444,0,0],34:[0,.69444,0,0],35:[.19444,.69444,0,0],36:[.05556,.75,0,0],37:[.05556,.75,0,0],38:[0,.69444,0,0],39:[0,.69444,0,0],40:[.25,.75,0,0],41:[.25,.75,0,0],42:[0,.75,0,0],43:[.08333,.58333,0,0],44:[.19444,.10556,0,0],45:[0,.43056,0,0],46:[0,.10556,0,0],47:[.25,.75,0,0],48:[0,.64444,0,0],49:[0,.64444,0,0],50:[0,.64444,0,0],51:[0,.64444,0,0],52:[0,.64444,0,0],53:[0,.64444,0,0],54:[0,.64444,0,0],55:[0,.64444,0,0],56:[0,.64444,0,0],57:[0,.64444,0,0],58:[0,.43056,0,0],59:[.19444,.43056,0,0],60:[.0391,.5391,0,0],61:[-.13313,.36687,0,0],62:[.0391,.5391,0,0],63:[0,.69444,0,0],64:[0,.69444,0,0],65:[0,.68333,0,0],66:[0,.68333,0,0],67:[0,.68333,0,0],68:[0,.68333,0,0],69:[0,.68333,0,0],70:[0,.68333,0,0],71:[0,.68333,0,0],72:[0,.68333,0,0],73:[0,.68333,0,0],74:[0,.68333,0,0],75:[0,.68333,0,0],76:[0,.68333,0,0],77:[0,.68333,0,0],78:[0,.68333,0,0],79:[0,.68333,0,0],80:[0,.68333,0,0],81:[.19444,.68333,0,0],82:[0,.68333,0,0],83:[0,.68333,0,0],84:[0,.68333,0,0],85:[0,.68333,0,0],86:[0,.68333,.01389,0],87:[0,.68333,.01389,0],88:[0,.68333,0,0],89:[0,.68333,.025,0],90:[0,.68333,0,0],91:[.25,.75,0,0],92:[.25,.75,0,0],93:[.25,.75,0,0],94:[0,.69444,0,0],95:[.31,.12056,.02778,0],96:[0,.69444,0,0],97:[0,.43056,0,0],98:[0,.69444,0,0],99:[0,.43056,0,0],100:[0,.69444,0,0],101:[0,.43056,0,0],102:[0,.69444,.07778,0],103:[.19444,.43056,.01389,0],104:[0,.69444,0,0],105:[0,.66786,0,0],106:[.19444,.66786,0,0],107:[0,.69444,0,0],108:[0,.69444,0,0],109:[0,.43056,0,0],110:[0,.43056,0,0],111:[0,.43056,0,0],112:[.19444,.43056,0,0],113:[.19444,.43056,0,0],114:[0,.43056,0,0],115:[0,.43056,0,0],116:[0,.61508,0,0],117:[0,.43056,0,0],118:[0,.43056,.01389,0],119:[0,.43056,.01389,0],120:[0,.43056,0,0],121:[.19444,.43056,.01389,0],122:[0,.43056,0,0],123:[.25,.75,0,0],124:[.25,.75,0,0],125:[.25,.75,0,0],126:[.35,.31786,0,0],160:[0,0,0,0],168:[0,.66786,0,0],172:[0,.43056,0,0],175:[0,.56778,0,0],176:[0,.69444,0,0],177:[.08333,.58333,0,0],180:[0,.69444,0,0],215:[.08333,.58333,0,0],247:[.08333,.58333,0,0],305:[0,.43056,0,0],567:[.19444,.43056,0,0],710:[0,.69444,0,0],711:[0,.62847,0,0],713:[0,.56778,0,0],714:[0,.69444,0,0],715:[0,.69444,0,0],728:[0,.69444,0,0],729:[0,.66786,0,0],730:[0,.69444,0,0],732:[0,.66786,0,0],768:[0,.69444,0,0],769:[0,.69444,0,0],770:[0,.69444,0,0],771:[0,.66786,0,0],772:[0,.56778,0,0],774:[0,.69444,0,0],775:[0,.66786,0,0],776:[0,.66786,0,0],778:[0,.69444,0,0],779:[0,.69444,0,0],780:[0,.62847,0,0],824:[.19444,.69444,0,0],915:[0,.68333,0,0],916:[0,.68333,0,0],920:[0,.68333,0,0],923:[0,.68333,0,0],926:[0,.68333,0,0],928:[0,.68333,0,0],931:[0,.68333,0,0],933:[0,.68333,0,0],934:[0,.68333,0,0],936:[0,.68333,0,0],937:[0,.68333,0,0],8211:[0,.43056,.02778,0],8212:[0,.43056,.02778,0],8216:[0,.69444,0,0],8217:[0,.69444,0,0],8220:[0,.69444,0,0],8221:[0,.69444,0,0],8224:[.19444,.69444,0,0],8225:[.19444,.69444,0,0],8230:[0,.12,0,0],8242:[0,.55556,0,0],8407:[0,.71444,.15382,0],8463:[0,.68889,0,0],8465:[0,.69444,0,0],8467:[0,.69444,0,.11111],8472:[.19444,.43056,0,.11111],8476:[0,.69444,0,0],8501:[0,.69444,0,0],8592:[-.13313,.36687,0,0],8593:[.19444,.69444,0,0],8594:[-.13313,.36687,0,0],8595:[.19444,.69444,0,0],8596:[-.13313,.36687,0,0],8597:[.25,.75,0,0],8598:[.19444,.69444,0,0],8599:[.19444,.69444,0,0],8600:[.19444,.69444,0,0],8601:[.19444,.69444,0,0],8614:[.011,.511,0,0],8617:[.011,.511,0,0],8618:[.011,.511,0,0],8636:[-.13313,.36687,0,0],8637:[-.13313,.36687,0,0],8640:[-.13313,.36687,0,0],8641:[-.13313,.36687,0,0],8652:[.011,.671,0,0],8656:[-.13313,.36687,0,0],8657:[.19444,.69444,0,0],8658:[-.13313,.36687,0,0],8659:[.19444,.69444,0,0],8660:[-.13313,.36687,0,0],8661:[.25,.75,0,0],8704:[0,.69444,0,0],8706:[0,.69444,.05556,.08334],8707:[0,.69444,0,0],8709:[.05556,.75,0,0],8711:[0,.68333,0,0],8712:[.0391,.5391,0,0],8715:[.0391,.5391,0,0],8722:[.08333,.58333,0,0],8723:[.08333,.58333,0,0],8725:[.25,.75,0,0],8726:[.25,.75,0,0],8727:[-.03472,.46528,0,0],8728:[-.05555,.44445,0,0],8729:[-.05555,.44445,0,0],8730:[.2,.8,0,0],8733:[0,.43056,0,0],8734:[0,.43056,0,0],8736:[0,.69224,0,0],8739:[.25,.75,0,0],8741:[.25,.75,0,0],8743:[0,.55556,0,0],8744:[0,.55556,0,0],8745:[0,.55556,0,0],8746:[0,.55556,0,0],8747:[.19444,.69444,.11111,0],8764:[-.13313,.36687,0,0],8768:[.19444,.69444,0,0],8771:[-.03625,.46375,0,0],8773:[-.022,.589,0,0],8776:[-.01688,.48312,0,0],8781:[-.03625,.46375,0,0],8784:[-.133,.67,0,0],8800:[.215,.716,0,0],8801:[-.03625,.46375,0,0],8804:[.13597,.63597,0,0],8805:[.13597,.63597,0,0],8810:[.0391,.5391,0,0],8811:[.0391,.5391,0,0],8826:[.0391,.5391,0,0],8827:[.0391,.5391,0,0],8834:[.0391,.5391,0,0],8835:[.0391,.5391,0,0],8838:[.13597,.63597,0,0],8839:[.13597,.63597,0,0],8846:[0,.55556,0,0],8849:[.13597,.63597,0,0],8850:[.13597,.63597,0,0],8851:[0,.55556,0,0],8852:[0,.55556,0,0],8853:[.08333,.58333,0,0],8854:[.08333,.58333,0,0],8855:[.08333,.58333,0,0],8856:[.08333,.58333,0,0],8857:[.08333,.58333,0,0],8866:[0,.69444,0,0],8867:[0,.69444,0,0],8868:[0,.69444,0,0],8869:[0,.69444,0,0],8872:[.249,.75,0,0],8900:[-.05555,.44445,0,0],8901:[-.05555,.44445,0,0],8902:[-.03472,.46528,0,0],8904:[.005,.505,0,0],8942:[.03,.9,0,0],8943:[-.19,.31,0,0],8945:[-.1,.82,0,0],8968:[.25,.75,0,0],8969:[.25,.75,0,0],8970:[.25,.75,0,0],8971:[.25,.75,0,0],8994:[-.14236,.35764,0,0],8995:[-.14236,.35764,0,0],9136:[.244,.744,0,0],9137:[.244,.744,0,0],9651:[.19444,.69444,0,0],9657:[-.03472,.46528,0,0],9661:[.19444,.69444,0,0],9667:[-.03472,.46528,0,0],9711:[.19444,.69444,0,0],9824:[.12963,.69444,0,0],9825:[.12963,.69444,0,0],9826:[.12963,.69444,0,0],9827:[.12963,.69444,0,0],9837:[0,.75,0,0],9838:[.19444,.69444,0,0],9839:[.19444,.69444,0,0],10216:[.25,.75,0,0],10217:[.25,.75,0,0],10222:[.244,.744,0,0],10223:[.244,.744,0,0],10229:[.011,.511,0,0],10230:[.011,.511,0,0],10231:[.011,.511,0,0],10232:[.024,.525,0,0],10233:[.024,.525,0,0],10234:[.024,.525,0,0],10236:[.011,.511,0,0],10815:[0,.68333,0,0],10927:[.13597,.63597,0,0],10928:[.13597,.63597,0,0]},"Math-BoldItalic":{47:[.19444,.69444,0,0],65:[0,.68611,0,0],66:[0,.68611,.04835,0],67:[0,.68611,.06979,0],68:[0,.68611,.03194,0],69:[0,.68611,.05451,0],70:[0,.68611,.15972,0],71:[0,.68611,0,0],72:[0,.68611,.08229,0],73:[0,.68611,.07778,0],74:[0,.68611,.10069,0],75:[0,.68611,.06979,0],76:[0,.68611,0,0],77:[0,.68611,.11424,0],78:[0,.68611,.11424,0],79:[0,.68611,.03194,0],80:[0,.68611,.15972,0],81:[.19444,.68611,0,0],82:[0,.68611,.00421,0],83:[0,.68611,.05382,0],84:[0,.68611,.15972,0],85:[0,.68611,.11424,0],86:[0,.68611,.25555,0],87:[0,.68611,.15972,0],88:[0,.68611,.07778,0],89:[0,.68611,.25555,0],90:[0,.68611,.06979,0],97:[0,.44444,0,0],98:[0,.69444,0,0],99:[0,.44444,0,0],100:[0,.69444,0,0],101:[0,.44444,0,0],102:[.19444,.69444,.11042,0],103:[.19444,.44444,.03704,0],104:[0,.69444,0,0],105:[0,.69326,0,0],106:[.19444,.69326,.0622,0],107:[0,.69444,.01852,0],108:[0,.69444,.0088,0],109:[0,.44444,0,0],110:[0,.44444,0,0],111:[0,.44444,0,0],112:[.19444,.44444,0,0],113:[.19444,.44444,.03704,0],114:[0,.44444,.03194,0],115:[0,.44444,0,0],116:[0,.63492,0,0],117:[0,.44444,0,0],118:[0,.44444,.03704,0],119:[0,.44444,.02778,0],120:[0,.44444,0,0],121:[.19444,.44444,.03704,0],122:[0,.44444,.04213,0],915:[0,.68611,.15972,0],916:[0,.68611,0,0],920:[0,.68611,.03194,0],923:[0,.68611,0,0],926:[0,.68611,.07458,0],928:[0,.68611,.08229,0],931:[0,.68611,.05451,0],933:[0,.68611,.15972,0],934:[0,.68611,0,0],936:[0,.68611,.11653,0],937:[0,.68611,.04835,0],945:[0,.44444,0,0],946:[.19444,.69444,.03403,0],947:[.19444,.44444,.06389,0],948:[0,.69444,.03819,0],949:[0,.44444,0,0],950:[.19444,.69444,.06215,0],951:[.19444,.44444,.03704,0],952:[0,.69444,.03194,0],953:[0,.44444,0,0],954:[0,.44444,0,0],955:[0,.69444,0,0],956:[.19444,.44444,0,0],957:[0,.44444,.06898,0],958:[.19444,.69444,.03021,0],959:[0,.44444,0,0],960:[0,.44444,.03704,0],961:[.19444,.44444,0,0],962:[.09722,.44444,.07917,0],963:[0,.44444,.03704,0],964:[0,.44444,.13472,0],965:[0,.44444,.03704,0],966:[.19444,.44444,0,0],967:[.19444,.44444,0,0],968:[.19444,.69444,.03704,0],969:[0,.44444,.03704,0],977:[0,.69444,0,0],981:[.19444,.69444,0,0],982:[0,.44444,.03194,0],1009:[.19444,.44444,0,0],1013:[0,.44444,0,0]},"Math-Italic":{47:[.19444,.69444,0,0],65:[0,.68333,0,.13889],66:[0,.68333,.05017,.08334],67:[0,.68333,.07153,.08334],68:[0,.68333,.02778,.05556],69:[0,.68333,.05764,.08334],70:[0,.68333,.13889,.08334],71:[0,.68333,0,.08334],72:[0,.68333,.08125,.05556],73:[0,.68333,.07847,.11111],74:[0,.68333,.09618,.16667],75:[0,.68333,.07153,.05556],76:[0,.68333,0,.02778],77:[0,.68333,.10903,.08334],78:[0,.68333,.10903,.08334],79:[0,.68333,.02778,.08334],80:[0,.68333,.13889,.08334],81:[.19444,.68333,0,.08334],82:[0,.68333,.00773,.08334],83:[0,.68333,.05764,.08334],84:[0,.68333,.13889,.08334],85:[0,.68333,.10903,.02778],86:[0,.68333,.22222,0],87:[0,.68333,.13889,0],88:[0,.68333,.07847,.08334],89:[0,.68333,.22222,0],90:[0,.68333,.07153,.08334],97:[0,.43056,0,0],98:[0,.69444,0,0],99:[0,.43056,0,.05556],100:[0,.69444,0,.16667],101:[0,.43056,0,.05556],102:[.19444,.69444,.10764,.16667],103:[.19444,.43056,.03588,.02778],104:[0,.69444,0,0],105:[0,.65952,0,0],106:[.19444,.65952,.05724,0],107:[0,.69444,.03148,0],108:[0,.69444,.01968,.08334],109:[0,.43056,0,0],110:[0,.43056,0,0],111:[0,.43056,0,.05556],112:[.19444,.43056,0,.08334],113:[.19444,.43056,.03588,.08334],114:[0,.43056,.02778,.05556],115:[0,.43056,0,.05556],116:[0,.61508,0,.08334],117:[0,.43056,0,.02778],118:[0,.43056,.03588,.02778],119:[0,.43056,.02691,.08334],120:[0,.43056,0,.02778],121:[.19444,.43056,.03588,.05556],122:[0,.43056,.04398,.05556],915:[0,.68333,.13889,.08334],916:[0,.68333,0,.16667],920:[0,.68333,.02778,.08334],923:[0,.68333,0,.16667],926:[0,.68333,.07569,.08334],928:[0,.68333,.08125,.05556],931:[0,.68333,.05764,.08334],933:[0,.68333,.13889,.05556],934:[0,.68333,0,.08334],936:[0,.68333,.11,.05556],937:[0,.68333,.05017,.08334],945:[0,.43056,.0037,.02778],946:[.19444,.69444,.05278,.08334],947:[.19444,.43056,.05556,0],948:[0,.69444,.03785,.05556],949:[0,.43056,0,.08334],950:[.19444,.69444,.07378,.08334],951:[.19444,.43056,.03588,.05556],952:[0,.69444,.02778,.08334],953:[0,.43056,0,.05556],954:[0,.43056,0,0],955:[0,.69444,0,0],956:[.19444,.43056,0,.02778],957:[0,.43056,.06366,.02778],958:[.19444,.69444,.04601,.11111],959:[0,.43056,0,.05556],960:[0,.43056,.03588,0],961:[.19444,.43056,0,.08334],962:[.09722,.43056,.07986,.08334],963:[0,.43056,.03588,0],964:[0,.43056,.1132,.02778],965:[0,.43056,.03588,.02778],966:[.19444,.43056,0,.08334],967:[.19444,.43056,0,.05556],968:[.19444,.69444,.03588,.11111],969:[0,.43056,.03588,0],977:[0,.69444,0,.08334],981:[.19444,.69444,0,.08334],982:[0,.43056,.02778,0],1009:[.19444,.43056,0,.08334],1013:[0,.43056,0,.05556]},"Math-Regular":{65:[0,.68333,0,.13889],66:[0,.68333,.05017,.08334],67:[0,.68333,.07153,.08334],68:[0,.68333,.02778,.05556],69:[0,.68333,.05764,.08334],70:[0,.68333,.13889,.08334],71:[0,.68333,0,.08334],72:[0,.68333,.08125,.05556],73:[0,.68333,.07847,.11111],74:[0,.68333,.09618,.16667],75:[0,.68333,.07153,.05556],76:[0,.68333,0,.02778],77:[0,.68333,.10903,.08334],78:[0,.68333,.10903,.08334],79:[0,.68333,.02778,.08334],80:[0,.68333,.13889,.08334],81:[.19444,.68333,0,.08334],82:[0,.68333,.00773,.08334],83:[0,.68333,.05764,.08334],84:[0,.68333,.13889,.08334],85:[0,.68333,.10903,.02778],86:[0,.68333,.22222,0],87:[0,.68333,.13889,0],88:[0,.68333,.07847,.08334],89:[0,.68333,.22222,0],90:[0,.68333,.07153,.08334],97:[0,.43056,0,0],98:[0,.69444,0,0],99:[0,.43056,0,.05556],100:[0,.69444,0,.16667],101:[0,.43056,0,.05556],102:[.19444,.69444,.10764,.16667],103:[.19444,.43056,.03588,.02778],104:[0,.69444,0,0],105:[0,.65952,0,0],106:[.19444,.65952,.05724,0],107:[0,.69444,.03148,0],108:[0,.69444,.01968,.08334],109:[0,.43056,0,0],110:[0,.43056,0,0],111:[0,.43056,0,.05556],112:[.19444,.43056,0,.08334],113:[.19444,.43056,.03588,.08334],114:[0,.43056,.02778,.05556],115:[0,.43056,0,.05556],116:[0,.61508,0,.08334],117:[0,.43056,0,.02778],118:[0,.43056,.03588,.02778],119:[0,.43056,.02691,.08334],120:[0,.43056,0,.02778],121:[.19444,.43056,.03588,.05556],122:[0,.43056,.04398,.05556],915:[0,.68333,.13889,.08334],916:[0,.68333,0,.16667],920:[0,.68333,.02778,.08334],923:[0,.68333,0,.16667],926:[0,.68333,.07569,.08334],928:[0,.68333,.08125,.05556],931:[0,.68333,.05764,.08334],933:[0,.68333,.13889,.05556],934:[0,.68333,0,.08334],936:[0,.68333,.11,.05556],937:[0,.68333,.05017,.08334],945:[0,.43056,.0037,.02778],946:[.19444,.69444,.05278,.08334],947:[.19444,.43056,.05556,0],948:[0,.69444,.03785,.05556],949:[0,.43056,0,.08334],950:[.19444,.69444,.07378,.08334],951:[.19444,.43056,.03588,.05556],952:[0,.69444,.02778,.08334],953:[0,.43056,0,.05556],954:[0,.43056,0,0],955:[0,.69444,0,0],956:[.19444,.43056,0,.02778],957:[0,.43056,.06366,.02778],958:[.19444,.69444,.04601,.11111],959:[0,.43056,0,.05556],960:[0,.43056,.03588,0],961:[.19444,.43056,0,.08334],962:[.09722,.43056,.07986,.08334],963:[0,.43056,.03588,0],964:[0,.43056,.1132,.02778],965:[0,.43056,.03588,.02778],966:[.19444,.43056,0,.08334],967:[.19444,.43056,0,.05556],968:[.19444,.69444,.03588,.11111],969:[0,.43056,.03588,0],977:[0,.69444,0,.08334],981:[.19444,.69444,0,.08334],982:[0,.43056,.02778,0],1009:[.19444,.43056,0,.08334],1013:[0,.43056,0,.05556]},"SansSerif-Regular":{33:[0,.69444,0,0],34:[0,.69444,0,0],35:[.19444,.69444,0,0],36:[.05556,.75,0,0],37:[.05556,.75,0,0],38:[0,.69444,0,0],39:[0,.69444,0,0],40:[.25,.75,0,0],41:[.25,.75,0,0],42:[0,.75,0,0],43:[.08333,.58333,0,0],44:[.125,.08333,0,0],45:[0,.44444,0,0],46:[0,.08333,0,0],47:[.25,.75,0,0],48:[0,.65556,0,0],49:[0,.65556,0,0],50:[0,.65556,0,0],51:[0,.65556,0,0],52:[0,.65556,0,0],53:[0,.65556,0,0],54:[0,.65556,0,0],55:[0,.65556,0,0],56:[0,.65556,0,0],57:[0,.65556,0,0],58:[0,.44444,0,0],59:[.125,.44444,0,0],61:[-.13,.37,0,0],63:[0,.69444,0,0],64:[0,.69444,0,0],65:[0,.69444,0,0],66:[0,.69444,0,0],67:[0,.69444,0,0],68:[0,.69444,0,0],69:[0,.69444,0,0],70:[0,.69444,0,0],71:[0,.69444,0,0],72:[0,.69444,0,0],73:[0,.69444,0,0],74:[0,.69444,0,0],75:[0,.69444,0,0],76:[0,.69444,0,0],77:[0,.69444,0,0],78:[0,.69444,0,0],79:[0,.69444,0,0],80:[0,.69444,0,0],81:[.125,.69444,0,0],82:[0,.69444,0,0],83:[0,.69444,0,0],84:[0,.69444,0,0],85:[0,.69444,0,0],86:[0,.69444,.01389,0],87:[0,.69444,.01389,0],88:[0,.69444,0,0],89:[0,.69444,.025,0],90:[0,.69444,0,0],91:[.25,.75,0,0],93:[.25,.75,0,0],94:[0,.69444,0,0],95:[.35,.09444,.02778,0],97:[0,.44444,0,0],98:[0,.69444,0,0],99:[0,.44444,0,0],100:[0,.69444,0,0],101:[0,.44444,0,0],102:[0,.69444,.06944,0],103:[.19444,.44444,.01389,0],104:[0,.69444,0,0],105:[0,.67937,0,0],106:[.19444,.67937,0,0],107:[0,.69444,0,0],108:[0,.69444,0,0],109:[0,.44444,0,0],110:[0,.44444,0,0],111:[0,.44444,0,0],112:[.19444,.44444,0,0],113:[.19444,.44444,0,0],114:[0,.44444,.01389,0],115:[0,.44444,0,0],116:[0,.57143,0,0],117:[0,.44444,0,0],118:[0,.44444,.01389,0],119:[0,.44444,.01389,0],120:[0,.44444,0,0],121:[.19444,.44444,.01389,0],122:[0,.44444,0,0],126:[.35,.32659,0,0],305:[0,.44444,0,0],567:[.19444,.44444,0,0],768:[0,.69444,0,0],769:[0,.69444,0,0],770:[0,.69444,0,0],771:[0,.67659,0,0],772:[0,.60889,0,0],774:[0,.69444,0,0],775:[0,.67937,0,0],776:[0,.67937,0,0],778:[0,.69444,0,0],779:[0,.69444,0,0],780:[0,.63194,0,0],915:[0,.69444,0,0],916:[0,.69444,0,0],920:[0,.69444,0,0],923:[0,.69444,0,0],926:[0,.69444,0,0],928:[0,.69444,0,0],931:[0,.69444,0,0],933:[0,.69444,0,0],934:[0,.69444,0,0],936:[0,.69444,0,0],937:[0,.69444,0,0],8211:[0,.44444,.02778,0],8212:[0,.44444,.02778,0],8216:[0,.69444,0,0],8217:[0,.69444,0,0],8220:[0,.69444,0,0],8221:[0,.69444,0,0]},"Script-Regular":{65:[0,.7,.22925,0],66:[0,.7,.04087,0],67:[0,.7,.1689,0],68:[0,.7,.09371,0],69:[0,.7,.18583,0],70:[0,.7,.13634,0],71:[0,.7,.17322,0],72:[0,.7,.29694,0],73:[0,.7,.19189,0],74:[.27778,.7,.19189,0],75:[0,.7,.31259,0],76:[0,.7,.19189,0],77:[0,.7,.15981,0],78:[0,.7,.3525,0],79:[0,.7,.08078,0],80:[0,.7,.08078,0],81:[0,.7,.03305,0],82:[0,.7,.06259,0],83:[0,.7,.19189,0],84:[0,.7,.29087,0],85:[0,.7,.25815,0],86:[0,.7,.27523,0],87:[0,.7,.27523,0],88:[0,.7,.26006,0],89:[0,.7,.2939,0],90:[0,.7,.24037,0]},"Size1-Regular":{40:[.35001,.85,0,0],41:[.35001,.85,0,0],47:[.35001,.85,0,0],91:[.35001,.85,0,0],92:[.35001,.85,0,0],93:[.35001,.85,0,0],123:[.35001,.85,0,0],125:[.35001,.85,0,0],710:[0,.72222,0,0],732:[0,.72222,0,0],770:[0,.72222,0,0],771:[0,.72222,0,0],8214:[-99e-5,.601,0,0],8593:[1e-5,.6,0,0],8595:[1e-5,.6,0,0],8657:[1e-5,.6,0,0],8659:[1e-5,.6,0,0],8719:[.25001,.75,0,0],8720:[.25001,.75,0,0],8721:[.25001,.75,0,0],8730:[.35001,.85,0,0],8739:[-.00599,.606,0,0],8741:[-.00599,.606,0,0],8747:[.30612,.805,.19445,0],8748:[.306,.805,.19445,0],8749:[.306,.805,.19445,0],8750:[.30612,.805,.19445,0],8896:[.25001,.75,0,0],8897:[.25001,.75,0,0],8898:[.25001,.75,0,0],8899:[.25001,.75,0,0],8968:[.35001,.85,0,0],8969:[.35001,.85,0,0],8970:[.35001,.85,0,0],8971:[.35001,.85,0,0],9168:[-99e-5,.601,0,0],10216:[.35001,.85,0,0],10217:[.35001,.85,0,0],10752:[.25001,.75,0,0],10753:[.25001,.75,0,0],10754:[.25001,.75,0,0],10756:[.25001,.75,0,0],10758:[.25001,.75,0,0]},"Size2-Regular":{40:[.65002,1.15,0,0],41:[.65002,1.15,0,0],47:[.65002,1.15,0,0],91:[.65002,1.15,0,0],92:[.65002,1.15,0,0],93:[.65002,1.15,0,0],123:[.65002,1.15,0,0],125:[.65002,1.15,0,0],710:[0,.75,0,0],732:[0,.75,0,0],770:[0,.75,0,0],771:[0,.75,0,0],8719:[.55001,1.05,0,0],8720:[.55001,1.05,0,0],8721:[.55001,1.05,0,0],8730:[.65002,1.15,0,0],8747:[.86225,1.36,.44445,0],8748:[.862,1.36,.44445,0],8749:[.862,1.36,.44445,0],8750:[.86225,1.36,.44445,0],8896:[.55001,1.05,0,0],8897:[.55001,1.05,0,0],8898:[.55001,1.05,0,0],8899:[.55001,1.05,0,0],8968:[.65002,1.15,0,0],8969:[.65002,1.15,0,0],8970:[.65002,1.15,0,0],8971:[.65002,1.15,0,0],10216:[.65002,1.15,0,0],10217:[.65002,1.15,0,0],10752:[.55001,1.05,0,0],10753:[.55001,1.05,0,0],10754:[.55001,1.05,0,0],10756:[.55001,1.05,0,0],10758:[.55001,1.05,0,0]},"Size3-Regular":{40:[.95003,1.45,0,0],41:[.95003,1.45,0,0],47:[.95003,1.45,0,0],91:[.95003,1.45,0,0],92:[.95003,1.45,0,0],93:[.95003,1.45,0,0],123:[.95003,1.45,0,0],125:[.95003,1.45,0,0],710:[0,.75,0,0],732:[0,.75,0,0],770:[0,.75,0,0],771:[0,.75,0,0],8730:[.95003,1.45,0,0],8968:[.95003,1.45,0,0],8969:[.95003,1.45,0,0],8970:[.95003,1.45,0,0],8971:[.95003,1.45,0,0],10216:[.95003,1.45,0,0],10217:[.95003,1.45,0,0]},"Size4-Regular":{40:[1.25003,1.75,0,0],41:[1.25003,1.75,0,0],47:[1.25003,1.75,0,0],91:[1.25003,1.75,0,0],92:[1.25003,1.75,0,0],93:[1.25003,1.75,0,0],123:[1.25003,1.75,0,0],125:[1.25003,1.75,0,0],710:[0,.825,0,0],732:[0,.825,0,0],770:[0,.825,0,0],771:[0,.825,0,0],8730:[1.25003,1.75,0,0],8968:[1.25003,1.75,0,0],8969:[1.25003,1.75,0,0],8970:[1.25003,1.75,0,0],8971:[1.25003,1.75,0,0],9115:[.64502,1.155,0,0],9116:[1e-5,.6,0,0],9117:[.64502,1.155,0,0],9118:[.64502,1.155,0,0],9119:[1e-5,.6,0,0],9120:[.64502,1.155,0,0],9121:[.64502,1.155,0,0],9122:[-99e-5,.601,0,0],9123:[.64502,1.155,0,0],9124:[.64502,1.155,0,0],9125:[-99e-5,.601,0,0],9126:[.64502,1.155,0,0],9127:[1e-5,.9,0,0],9128:[.65002,1.15,0,0],9129:[.90001,0,0,0],9130:[0,.3,0,0],9131:[1e-5,.9,0,0],9132:[.65002,1.15,0,0],9133:[.90001,0,0,0],9143:[.88502,.915,0,0],10216:[1.25003,1.75,0,0],10217:[1.25003,1.75,0,0],57344:[-.00499,.605,0,0],57345:[-.00499,.605,0,0],57680:[0,.12,0,0],57681:[0,.12,0,0],57682:[0,.12,0,0],57683:[0,.12,0,0]},"Typewriter-Regular":{33:[0,.61111,0,0],34:[0,.61111,0,0],35:[0,.61111,0,0],36:[.08333,.69444,0,0],37:[.08333,.69444,0,0],38:[0,.61111,0,0],39:[0,.61111,0,0],40:[.08333,.69444,0,0],41:[.08333,.69444,0,0],42:[0,.52083,0,0],43:[-.08056,.53055,0,0],44:[.13889,.125,0,0],45:[-.08056,.53055,0,0],46:[0,.125,0,0],47:[.08333,.69444,0,0],48:[0,.61111,0,0],49:[0,.61111,0,0],50:[0,.61111,0,0],51:[0,.61111,0,0],52:[0,.61111,0,0],53:[0,.61111,0,0],54:[0,.61111,0,0],55:[0,.61111,0,0],56:[0,.61111,0,0],57:[0,.61111,0,0],58:[0,.43056,0,0],59:[.13889,.43056,0,0],60:[-.05556,.55556,0,0],61:[-.19549,.41562,0,0],62:[-.05556,.55556,0,0],63:[0,.61111,0,0],64:[0,.61111,0,0],65:[0,.61111,0,0],66:[0,.61111,0,0],67:[0,.61111,0,0],68:[0,.61111,0,0],69:[0,.61111,0,0],70:[0,.61111,0,0],71:[0,.61111,0,0],72:[0,.61111,0,0],73:[0,.61111,0,0],74:[0,.61111,0,0],75:[0,.61111,0,0],76:[0,.61111,0,0],77:[0,.61111,0,0],78:[0,.61111,0,0],79:[0,.61111,0,0],80:[0,.61111,0,0],81:[.13889,.61111,0,0],82:[0,.61111,0,0],83:[0,.61111,0,0],84:[0,.61111,0,0],85:[0,.61111,0,0],86:[0,.61111,0,0],87:[0,.61111,0,0],88:[0,.61111,0,0],89:[0,.61111,0,0],90:[0,.61111,0,0],91:[.08333,.69444,0,0],92:[.08333,.69444,0,0],93:[.08333,.69444,0,0],94:[0,.61111,0,0],95:[.09514,0,0,0],96:[0,.61111,0,0],97:[0,.43056,0,0],98:[0,.61111,0,0],99:[0,.43056,0,0],100:[0,.61111,0,0],101:[0,.43056,0,0],102:[0,.61111,0,0],103:[.22222,.43056,0,0],104:[0,.61111,0,0],105:[0,.61111,0,0],106:[.22222,.61111,0,0],107:[0,.61111,0,0],108:[0,.61111,0,0],109:[0,.43056,0,0],110:[0,.43056,0,0],111:[0,.43056,0,0],112:[.22222,.43056,0,0],113:[.22222,.43056,0,0],114:[0,.43056,0,0],115:[0,.43056,0,0],116:[0,.55358,0,0],117:[0,.43056,0,0],118:[0,.43056,0,0],119:[0,.43056,0,0],120:[0,.43056,0,0],121:[.22222,.43056,0,0],122:[0,.43056,0,0],123:[.08333,.69444,0,0],124:[.08333,.69444,0,0],125:[.08333,.69444,0,0],126:[0,.61111,0,0],127:[0,.61111,0,0],305:[0,.43056,0,0],567:[.22222,.43056,0,0],768:[0,.61111,0,0],769:[0,.61111,0,0],770:[0,.61111,0,0],771:[0,.61111,0,0],772:[0,.56555,0,0],774:[0,.61111,0,0],776:[0,.61111,0,0],778:[0,.61111,0,0],780:[0,.56597,0,0],915:[0,.61111,0,0],916:[0,.61111,0,0],920:[0,.61111,0,0],923:[0,.61111,0,0],926:[0,.61111,0,0],928:[0,.61111,0,0],931:[0,.61111,0,0],933:[0,.61111,0,0],934:[0,.61111,0,0],936:[0,.61111,0,0],937:[0,.61111,0,0],2018:[0,.61111,0,0],2019:[0,.61111,0,0],8242:[0,.61111,0,0]}}},{}],108:[function(t,e,r){function n(t,r,n){"string"==typeof t&&(t=[t]),"number"==typeof r&&(r={numArgs:r});for(var i={numArgs:r.numArgs,argTypes:r.argTypes,greediness:void 0===r.greediness?1:r.greediness,allowedInText:!!r.allowedInText,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,handler:n},o=0;o<t.length;++o)e.exports[t[o]]=i}var i=t("./utils"),o=t("./ParseError"),s=t("./parseData"),a=s.ParseNode,u=function(t){return"ordgroup"===t.type?t.value:[t]};n("\\sqrt",{numArgs:1,numOptionalArgs:1},function(t,e){var r=e[0];return{type:"sqrt",body:e[1],index:r}});var c={"\\text":void 0,"\\textrm":"mathrm","\\textsf":"mathsf","\\texttt":"mathtt","\\textnormal":"mathrm","\\textbf":"mathbf","\\textit":"textit"};n(["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textit"],{numArgs:1,argTypes:["text"],greediness:2,allowedInText:!0},function(t,e){var r=e[0];return{type:"text",body:u(r),style:c[t.funcName]}}),
|
21
|
+
n("\\color",{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},function(t,e){var r=e[0],n=e[1];return{type:"color",color:r.value,value:u(n)}}),n("\\overline",{numArgs:1},function(t,e){return{type:"overline",body:e[0]}}),n("\\underline",{numArgs:1},function(t,e){return{type:"underline",body:e[0]}}),n("\\rule",{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},function(t,e){var r=e[0],n=e[1],i=e[2];return{type:"rule",shift:r&&r.value,width:n.value,height:i.value}}),n(["\\kern","\\mkern"],{numArgs:1,argTypes:["size"]},function(t,e){return{type:"kern",dimension:e[0].value}}),n("\\KaTeX",{numArgs:0},function(t){return{type:"katex"}}),n("\\phantom",{numArgs:1},function(t,e){var r=e[0];return{type:"phantom",value:u(r)}}),n(["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],{numArgs:1},function(t,e){var r=e[0];return{type:"mclass",mclass:"m"+t.funcName.substr(5),value:u(r)}}),n("\\stackrel",{numArgs:2},function(t,e){var r=e[0],n=e[1],i=new a("op",{type:"op",limits:!0,alwaysHandleSupSub:!0,symbol:!1,value:u(n)},n.mode);return{type:"mclass",mclass:"mrel",value:[new a("supsub",{base:i,sup:r,sub:null},r.mode)]}}),n("\\bmod",{numArgs:0},function(t,e){return{type:"mod",modType:"bmod",value:null}}),n(["\\pod","\\pmod","\\mod"],{numArgs:1},function(t,e){var r=e[0];return{type:"mod",modType:t.funcName.substr(1),value:u(r)}});var l={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},h=["(",")","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\\lceil","\\rceil","<",">","\\langle","\\rangle","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\\lmoustache","\\rmoustache","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."],p={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak"};n(["\\blue","\\orange","\\pink","\\red","\\green","\\gray","\\purple","\\blueA","\\blueB","\\blueC","\\blueD","\\blueE","\\tealA","\\tealB","\\tealC","\\tealD","\\tealE","\\greenA","\\greenB","\\greenC","\\greenD","\\greenE","\\goldA","\\goldB","\\goldC","\\goldD","\\goldE","\\redA","\\redB","\\redC","\\redD","\\redE","\\maroonA","\\maroonB","\\maroonC","\\maroonD","\\maroonE","\\purpleA","\\purpleB","\\purpleC","\\purpleD","\\purpleE","\\mintA","\\mintB","\\mintC","\\grayA","\\grayB","\\grayC","\\grayD","\\grayE","\\grayF","\\grayG","\\grayH","\\grayI","\\kaBlue","\\kaGreen"],{numArgs:1,allowedInText:!0,greediness:3},function(t,e){var r=e[0];return{type:"color",color:"katex-"+t.funcName.slice(1),value:u(r)}}),n(["\\arcsin","\\arccos","\\arctan","\\arg","\\cos","\\cosh","\\cot","\\coth","\\csc","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\tan","\\tanh"],{numArgs:0},function(t){return{type:"op",limits:!1,symbol:!1,body:t.funcName}}),n(["\\det","\\gcd","\\inf","\\lim","\\liminf","\\limsup","\\max","\\min","\\Pr","\\sup"],{numArgs:0},function(t){return{type:"op",limits:!0,symbol:!1,body:t.funcName}}),n(["\\int","\\iint","\\iiint","\\oint"],{numArgs:0},function(t){return{type:"op",limits:!1,symbol:!0,body:t.funcName}}),n(["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint"],{numArgs:0},function(t){return{type:"op",limits:!0,symbol:!0,body:t.funcName}}),n("\\mathop",{numArgs:1},function(t,e){var r=e[0];return{type:"op",limits:!1,symbol:!1,value:u(r)}}),n(["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac"],{numArgs:2,greediness:2},function(t,e){var r,n=e[0],i=e[1],o=null,s=null,a="auto";switch(t.funcName){case"\\dfrac":case"\\frac":case"\\tfrac":r=!0;break;case"\\\\atopfrac":r=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":r=!1,o="(",s=")";break;default:throw new Error("Unrecognized genfrac command")}switch(t.funcName){case"\\dfrac":case"\\dbinom":a="display";break;case"\\tfrac":case"\\tbinom":a="text"}return{type:"genfrac",numer:n,denom:i,hasBarLine:r,leftDelim:o,rightDelim:s,size:a}}),n(["\\llap","\\rlap"],{numArgs:1,allowedInText:!0},function(t,e){var r=e[0];return{type:t.funcName.slice(1),body:r}});var f=function(t,e){if(i.contains(h,t.value))return t;throw new o("Invalid delimiter: '"+t.value+"' after '"+e.funcName+"'",t)};n(["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],{numArgs:1},function(t,e){var r=f(e[0],t);return{type:"delimsizing",size:l[t.funcName].size,mclass:l[t.funcName].mclass,value:r.value}}),n(["\\left","\\right"],{numArgs:1},function(t,e){return{type:"leftright",value:f(e[0],t).value}}),n("\\middle",{numArgs:1},function(t,e){var r=f(e[0],t);if(!t.parser.leftrightDepth)throw new o("\\middle without preceding \\left",r);return{type:"middle",value:r.value}}),n(["\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],0,null),n(["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],0,null),n(["\\mathrm","\\mathit","\\mathbf","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],{numArgs:1,greediness:2},function(t,e){var r=e[0],n=t.funcName;return n in p&&(n=p[n]),{type:"font",font:n.slice(1),body:r}}),n(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot"],{numArgs:1},function(t,e){var r=e[0];return{type:"accent",accent:t.funcName,base:r}}),n(["\\over","\\choose","\\atop"],{numArgs:0,infix:!0},function(t){var e;switch(t.funcName){case"\\over":e="\\frac";break;case"\\choose":e="\\binom";break;case"\\atop":e="\\\\atopfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",replaceWith:e,token:t.token}}),n(["\\\\","\\cr"],{numArgs:0,numOptionalArgs:1,argTypes:["size"]},function(t,e){return{type:"cr",size:e[0]}}),n(["\\begin","\\end"],{numArgs:1,argTypes:["text"]},function(t,e){var r=e[0];if("ordgroup"!==r.type)throw new o("Invalid environment name",r);for(var n="",i=0;i<r.value.length;++i)n+=r.value[i].value;return{type:"environment",name:n,nameGroup:r}})},{"./ParseError":95,"./parseData":110,"./utils":114}],109:[function(t,e,r){function n(t,e){this.type=t,this.attributes={},this.children=e||[]}function i(t){this.text=t}var o=t("./utils");n.prototype.setAttribute=function(t,e){this.attributes[t]=e},n.prototype.toNode=function(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var e in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,e)&&t.setAttribute(e,this.attributes[e]);for(var r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t},n.prototype.toMarkup=function(){var t="<"+this.type;for(var e in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,e)&&(t+=" "+e+'="',t+=o.escape(this.attributes[e]),t+='"');t+=">";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</"+this.type+">"},i.prototype.toNode=function(){return document.createTextNode(this.text)},i.prototype.toMarkup=function(){return o.escape(this.text)},e.exports={MathNode:n,TextNode:i}},{"./utils":114}],110:[function(t,e,r){function n(t,e,r,n,i){this.type=t,this.value=e,this.mode=r,!n||i&&i.lexer!==n.lexer||(this.lexer=n.lexer,this.start=n.start,this.end=(i||n).end)}e.exports={ParseNode:n}},{}],111:[function(t,e,r){var n=t("./Parser"),i=function(t,e){if(!("string"==typeof t||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");return new n(t,e).parse()};e.exports=i},{"./Parser":96}],112:[function(t,e,r){function n(t,r,n,i,o){e.exports[t][o]={font:r,group:n,replace:i}}e.exports={math:{},text:{}};var i="math",o="text",s="main",a="ams",u="accent",c="bin",l="close",h="mathord",p="op",f="open",d="rel",b="spacing",m="textord";n(i,s,d,"≡","\\equiv"),n(i,s,d,"≺","\\prec"),n(i,s,d,"≻","\\succ"),n(i,s,d,"∼","\\sim"),n(i,s,d,"⊥","\\perp"),n(i,s,d,"⪯","\\preceq"),n(i,s,d,"⪰","\\succeq"),n(i,s,d,"≃","\\simeq"),n(i,s,d,"∣","\\mid"),n(i,s,d,"≪","\\ll"),n(i,s,d,"≫","\\gg"),n(i,s,d,"≍","\\asymp"),n(i,s,d,"∥","\\parallel"),n(i,s,d,"⋈","\\bowtie"),n(i,s,d,"⌣","\\smile"),n(i,s,d,"⊑","\\sqsubseteq"),n(i,s,d,"⊒","\\sqsupseteq"),n(i,s,d,"≐","\\doteq"),n(i,s,d,"⌢","\\frown"),n(i,s,d,"∋","\\ni"),n(i,s,d,"∝","\\propto"),n(i,s,d,"⊢","\\vdash"),n(i,s,d,"⊣","\\dashv"),n(i,s,d,"∋","\\owns"),n(i,s,"punct",".","\\ldotp"),n(i,s,"punct","⋅","\\cdotp"),n(i,s,m,"#","\\#"),n(o,s,m,"#","\\#"),n(i,s,m,"&","\\&"),n(o,s,m,"&","\\&"),n(i,s,m,"ℵ","\\aleph"),n(i,s,m,"∀","\\forall"),n(i,s,m,"ℏ","\\hbar"),n(i,s,m,"∃","\\exists"),n(i,s,m,"∇","\\nabla"),n(i,s,m,"♭","\\flat"),n(i,s,m,"ℓ","\\ell"),n(i,s,m,"♮","\\natural"),n(i,s,m,"♣","\\clubsuit"),n(i,s,m,"℘","\\wp"),n(i,s,m,"♯","\\sharp"),n(i,s,m,"♢","\\diamondsuit"),n(i,s,m,"ℜ","\\Re"),n(i,s,m,"♡","\\heartsuit"),n(i,s,m,"ℑ","\\Im"),n(i,s,m,"♠","\\spadesuit"),n(i,s,m,"†","\\dag"),n(i,s,m,"‡","\\ddag"),n(i,s,l,"⎱","\\rmoustache"),n(i,s,f,"⎰","\\lmoustache"),n(i,s,l,"⟯","\\rgroup"),n(i,s,f,"⟮","\\lgroup"),n(i,s,c,"∓","\\mp"),n(i,s,c,"⊖","\\ominus"),n(i,s,c,"⊎","\\uplus"),n(i,s,c,"⊓","\\sqcap"),n(i,s,c,"∗","\\ast"),n(i,s,c,"⊔","\\sqcup"),n(i,s,c,"◯","\\bigcirc"),n(i,s,c,"∙","\\bullet"),n(i,s,c,"‡","\\ddagger"),n(i,s,c,"≀","\\wr"),n(i,s,c,"⨿","\\amalg"),n(i,s,d,"⟵","\\longleftarrow"),n(i,s,d,"⇐","\\Leftarrow"),n(i,s,d,"⟸","\\Longleftarrow"),n(i,s,d,"⟶","\\longrightarrow"),n(i,s,d,"⇒","\\Rightarrow"),n(i,s,d,"⟹","\\Longrightarrow"),n(i,s,d,"↔","\\leftrightarrow"),n(i,s,d,"⟷","\\longleftrightarrow"),n(i,s,d,"⇔","\\Leftrightarrow"),n(i,s,d,"⟺","\\Longleftrightarrow"),n(i,s,d,"↦","\\mapsto"),n(i,s,d,"⟼","\\longmapsto"),n(i,s,d,"↗","\\nearrow"),n(i,s,d,"↩","\\hookleftarrow"),n(i,s,d,"↪","\\hookrightarrow"),n(i,s,d,"↘","\\searrow"),n(i,s,d,"↼","\\leftharpoonup"),n(i,s,d,"⇀","\\rightharpoonup"),n(i,s,d,"↙","\\swarrow"),n(i,s,d,"↽","\\leftharpoondown"),n(i,s,d,"⇁","\\rightharpoondown"),n(i,s,d,"↖","\\nwarrow"),n(i,s,d,"⇌","\\rightleftharpoons"),n(i,a,d,"≮","\\nless"),n(i,a,d,"","\\nleqslant"),n(i,a,d,"","\\nleqq"),n(i,a,d,"⪇","\\lneq"),n(i,a,d,"≨","\\lneqq"),n(i,a,d,"","\\lvertneqq"),n(i,a,d,"⋦","\\lnsim"),n(i,a,d,"⪉","\\lnapprox"),n(i,a,d,"⊀","\\nprec"),n(i,a,d,"⋠","\\npreceq"),n(i,a,d,"⋨","\\precnsim"),n(i,a,d,"⪹","\\precnapprox"),n(i,a,d,"≁","\\nsim"),n(i,a,d,"","\\nshortmid"),n(i,a,d,"∤","\\nmid"),n(i,a,d,"⊬","\\nvdash"),n(i,a,d,"⊭","\\nvDash"),n(i,a,d,"⋪","\\ntriangleleft"),n(i,a,d,"⋬","\\ntrianglelefteq"),n(i,a,d,"⊊","\\subsetneq"),n(i,a,d,"","\\varsubsetneq"),n(i,a,d,"⫋","\\subsetneqq"),n(i,a,d,"","\\varsubsetneqq"),n(i,a,d,"≯","\\ngtr"),n(i,a,d,"","\\ngeqslant"),n(i,a,d,"","\\ngeqq"),n(i,a,d,"⪈","\\gneq"),n(i,a,d,"≩","\\gneqq"),n(i,a,d,"","\\gvertneqq"),n(i,a,d,"⋧","\\gnsim"),n(i,a,d,"⪊","\\gnapprox"),n(i,a,d,"⊁","\\nsucc"),n(i,a,d,"⋡","\\nsucceq"),n(i,a,d,"⋩","\\succnsim"),n(i,a,d,"⪺","\\succnapprox"),n(i,a,d,"≆","\\ncong"),n(i,a,d,"","\\nshortparallel"),n(i,a,d,"∦","\\nparallel"),n(i,a,d,"⊯","\\nVDash"),n(i,a,d,"⋫","\\ntriangleright"),n(i,a,d,"⋭","\\ntrianglerighteq"),n(i,a,d,"","\\nsupseteqq"),n(i,a,d,"⊋","\\supsetneq"),n(i,a,d,"","\\varsupsetneq"),n(i,a,d,"⫌","\\supsetneqq"),n(i,a,d,"","\\varsupsetneqq"),n(i,a,d,"⊮","\\nVdash"),n(i,a,d,"⪵","\\precneqq"),n(i,a,d,"⪶","\\succneqq"),n(i,a,d,"","\\nsubseteqq"),n(i,a,c,"⊴","\\unlhd"),n(i,a,c,"⊵","\\unrhd"),n(i,a,d,"↚","\\nleftarrow"),n(i,a,d,"↛","\\nrightarrow"),n(i,a,d,"⇍","\\nLeftarrow"),n(i,a,d,"⇏","\\nRightarrow"),n(i,a,d,"↮","\\nleftrightarrow"),n(i,a,d,"⇎","\\nLeftrightarrow"),n(i,a,d,"△","\\vartriangle"),n(i,a,m,"ℏ","\\hslash"),n(i,a,m,"▽","\\triangledown"),n(i,a,m,"◊","\\lozenge"),n(i,a,m,"Ⓢ","\\circledS"),n(i,a,m,"®","\\circledR"),n(i,a,m,"∡","\\measuredangle"),n(i,a,m,"∄","\\nexists"),n(i,a,m,"℧","\\mho"),n(i,a,m,"Ⅎ","\\Finv"),n(i,a,m,"⅁","\\Game"),n(i,a,m,"k","\\Bbbk"),n(i,a,m,"‵","\\backprime"),n(i,a,m,"▲","\\blacktriangle"),n(i,a,m,"▼","\\blacktriangledown"),n(i,a,m,"■","\\blacksquare"),n(i,a,m,"⧫","\\blacklozenge"),n(i,a,m,"★","\\bigstar"),n(i,a,m,"∢","\\sphericalangle"),n(i,a,m,"∁","\\complement"),n(i,a,m,"ð","\\eth"),n(i,a,m,"╱","\\diagup"),n(i,a,m,"╲","\\diagdown"),n(i,a,m,"□","\\square"),n(i,a,m,"□","\\Box"),n(i,a,m,"◊","\\Diamond"),n(i,a,m,"¥","\\yen"),n(i,a,m,"✓","\\checkmark"),n(i,a,m,"ℶ","\\beth"),n(i,a,m,"ℸ","\\daleth"),n(i,a,m,"ℷ","\\gimel"),n(i,a,m,"ϝ","\\digamma"),n(i,a,m,"ϰ","\\varkappa"),n(i,a,f,"┌","\\ulcorner"),n(i,a,l,"┐","\\urcorner"),n(i,a,f,"└","\\llcorner"),n(i,a,l,"┘","\\lrcorner"),n(i,a,d,"≦","\\leqq"),n(i,a,d,"⩽","\\leqslant"),n(i,a,d,"⪕","\\eqslantless"),n(i,a,d,"≲","\\lesssim"),n(i,a,d,"⪅","\\lessapprox"),n(i,a,d,"≊","\\approxeq"),n(i,a,c,"⋖","\\lessdot"),n(i,a,d,"⋘","\\lll"),n(i,a,d,"≶","\\lessgtr"),n(i,a,d,"⋚","\\lesseqgtr"),n(i,a,d,"⪋","\\lesseqqgtr"),n(i,a,d,"≑","\\doteqdot"),n(i,a,d,"≓","\\risingdotseq"),n(i,a,d,"≒","\\fallingdotseq"),n(i,a,d,"∽","\\backsim"),n(i,a,d,"⋍","\\backsimeq"),n(i,a,d,"⫅","\\subseteqq"),n(i,a,d,"⋐","\\Subset"),n(i,a,d,"⊏","\\sqsubset");n(i,a,d,"≼","\\preccurlyeq"),n(i,a,d,"⋞","\\curlyeqprec"),n(i,a,d,"≾","\\precsim"),n(i,a,d,"⪷","\\precapprox"),n(i,a,d,"⊲","\\vartriangleleft"),n(i,a,d,"⊴","\\trianglelefteq"),n(i,a,d,"⊨","\\vDash"),n(i,a,d,"⊪","\\Vvdash"),n(i,a,d,"⌣","\\smallsmile"),n(i,a,d,"⌢","\\smallfrown"),n(i,a,d,"≏","\\bumpeq"),n(i,a,d,"≎","\\Bumpeq"),n(i,a,d,"≧","\\geqq"),n(i,a,d,"⩾","\\geqslant"),n(i,a,d,"⪖","\\eqslantgtr"),n(i,a,d,"≳","\\gtrsim"),n(i,a,d,"⪆","\\gtrapprox"),n(i,a,c,"⋗","\\gtrdot"),n(i,a,d,"⋙","\\ggg"),n(i,a,d,"≷","\\gtrless"),n(i,a,d,"⋛","\\gtreqless"),n(i,a,d,"⪌","\\gtreqqless"),n(i,a,d,"≖","\\eqcirc"),n(i,a,d,"≗","\\circeq"),n(i,a,d,"≜","\\triangleq"),n(i,a,d,"∼","\\thicksim"),n(i,a,d,"≈","\\thickapprox"),n(i,a,d,"⫆","\\supseteqq"),n(i,a,d,"⋑","\\Supset"),n(i,a,d,"⊐","\\sqsupset"),n(i,a,d,"≽","\\succcurlyeq"),n(i,a,d,"⋟","\\curlyeqsucc"),n(i,a,d,"≿","\\succsim"),n(i,a,d,"⪸","\\succapprox"),n(i,a,d,"⊳","\\vartriangleright"),n(i,a,d,"⊵","\\trianglerighteq"),n(i,a,d,"⊩","\\Vdash"),n(i,a,d,"∣","\\shortmid"),n(i,a,d,"∥","\\shortparallel"),n(i,a,d,"≬","\\between"),n(i,a,d,"⋔","\\pitchfork"),n(i,a,d,"∝","\\varpropto"),n(i,a,d,"◀","\\blacktriangleleft"),n(i,a,d,"∴","\\therefore"),n(i,a,d,"∍","\\backepsilon"),n(i,a,d,"▶","\\blacktriangleright"),n(i,a,d,"∵","\\because"),n(i,a,d,"⋘","\\llless"),n(i,a,d,"⋙","\\gggtr"),n(i,a,c,"⊲","\\lhd"),n(i,a,c,"⊳","\\rhd"),n(i,a,d,"≂","\\eqsim"),n(i,s,d,"⋈","\\Join"),n(i,a,d,"≑","\\Doteq"),n(i,a,c,"∔","\\dotplus"),n(i,a,c,"∖","\\smallsetminus"),n(i,a,c,"⋒","\\Cap"),n(i,a,c,"⋓","\\Cup"),n(i,a,c,"⩞","\\doublebarwedge"),n(i,a,c,"⊟","\\boxminus"),n(i,a,c,"⊞","\\boxplus"),n(i,a,c,"⋇","\\divideontimes"),n(i,a,c,"⋉","\\ltimes"),n(i,a,c,"⋊","\\rtimes"),n(i,a,c,"⋋","\\leftthreetimes"),n(i,a,c,"⋌","\\rightthreetimes"),n(i,a,c,"⋏","\\curlywedge"),n(i,a,c,"⋎","\\curlyvee"),n(i,a,c,"⊝","\\circleddash"),n(i,a,c,"⊛","\\circledast"),n(i,a,c,"⋅","\\centerdot"),n(i,a,c,"⊺","\\intercal"),n(i,a,c,"⋒","\\doublecap"),n(i,a,c,"⋓","\\doublecup"),n(i,a,c,"⊠","\\boxtimes"),n(i,a,d,"⇢","\\dashrightarrow"),n(i,a,d,"⇠","\\dashleftarrow"),n(i,a,d,"⇇","\\leftleftarrows"),n(i,a,d,"⇆","\\leftrightarrows"),n(i,a,d,"⇚","\\Lleftarrow"),n(i,a,d,"↞","\\twoheadleftarrow"),n(i,a,d,"↢","\\leftarrowtail"),n(i,a,d,"↫","\\looparrowleft"),n(i,a,d,"⇋","\\leftrightharpoons"),n(i,a,d,"↶","\\curvearrowleft"),n(i,a,d,"↺","\\circlearrowleft"),n(i,a,d,"↰","\\Lsh"),n(i,a,d,"⇈","\\upuparrows"),n(i,a,d,"↿","\\upharpoonleft"),n(i,a,d,"⇃","\\downharpoonleft"),n(i,a,d,"⊸","\\multimap"),n(i,a,d,"↭","\\leftrightsquigarrow"),n(i,a,d,"⇉","\\rightrightarrows"),n(i,a,d,"⇄","\\rightleftarrows"),n(i,a,d,"↠","\\twoheadrightarrow"),n(i,a,d,"↣","\\rightarrowtail"),n(i,a,d,"↬","\\looparrowright"),n(i,a,d,"↷","\\curvearrowright"),n(i,a,d,"↻","\\circlearrowright"),n(i,a,d,"↱","\\Rsh"),n(i,a,d,"⇊","\\downdownarrows"),n(i,a,d,"↾","\\upharpoonright"),n(i,a,d,"⇂","\\downharpoonright"),n(i,a,d,"⇝","\\rightsquigarrow"),n(i,a,d,"⇝","\\leadsto"),n(i,a,d,"⇛","\\Rrightarrow"),n(i,a,d,"↾","\\restriction"),n(i,s,m,"‘","`"),n(i,s,m,"$","\\$"),n(o,s,m,"$","\\$"),n(i,s,m,"%","\\%"),n(o,s,m,"%","\\%"),n(i,s,m,"_","\\_"),n(o,s,m,"_","\\_"),n(i,s,m,"∠","\\angle"),n(i,s,m,"∞","\\infty"),n(i,s,m,"′","\\prime"),n(i,s,m,"△","\\triangle"),n(i,s,m,"Γ","\\Gamma"),n(i,s,m,"Δ","\\Delta"),n(i,s,m,"Θ","\\Theta"),n(i,s,m,"Λ","\\Lambda"),n(i,s,m,"Ξ","\\Xi"),n(i,s,m,"Π","\\Pi"),n(i,s,m,"Σ","\\Sigma"),n(i,s,m,"Υ","\\Upsilon"),n(i,s,m,"Φ","\\Phi"),n(i,s,m,"Ψ","\\Psi"),n(i,s,m,"Ω","\\Omega"),n(i,s,m,"¬","\\neg"),n(i,s,m,"¬","\\lnot"),n(i,s,m,"⊤","\\top"),n(i,s,m,"⊥","\\bot"),n(i,s,m,"∅","\\emptyset"),n(i,a,m,"∅","\\varnothing"),n(i,s,h,"α","\\alpha"),n(i,s,h,"β","\\beta"),n(i,s,h,"γ","\\gamma"),n(i,s,h,"δ","\\delta"),n(i,s,h,"ϵ","\\epsilon"),n(i,s,h,"ζ","\\zeta"),n(i,s,h,"η","\\eta"),n(i,s,h,"θ","\\theta"),n(i,s,h,"ι","\\iota"),n(i,s,h,"κ","\\kappa"),n(i,s,h,"λ","\\lambda"),n(i,s,h,"μ","\\mu"),n(i,s,h,"ν","\\nu"),n(i,s,h,"ξ","\\xi"),n(i,s,h,"o","\\omicron"),n(i,s,h,"π","\\pi"),n(i,s,h,"ρ","\\rho"),n(i,s,h,"σ","\\sigma"),n(i,s,h,"τ","\\tau"),n(i,s,h,"υ","\\upsilon"),n(i,s,h,"ϕ","\\phi"),n(i,s,h,"χ","\\chi"),n(i,s,h,"ψ","\\psi"),n(i,s,h,"ω","\\omega"),n(i,s,h,"ε","\\varepsilon"),n(i,s,h,"ϑ","\\vartheta"),n(i,s,h,"ϖ","\\varpi"),n(i,s,h,"ϱ","\\varrho"),n(i,s,h,"ς","\\varsigma"),n(i,s,h,"φ","\\varphi"),n(i,s,c,"∗","*"),n(i,s,c,"+","+"),n(i,s,c,"−","-"),n(i,s,c,"⋅","\\cdot"),n(i,s,c,"∘","\\circ"),n(i,s,c,"÷","\\div"),n(i,s,c,"±","\\pm"),n(i,s,c,"×","\\times"),n(i,s,c,"∩","\\cap"),n(i,s,c,"∪","\\cup"),n(i,s,c,"∖","\\setminus"),n(i,s,c,"∧","\\land"),n(i,s,c,"∨","\\lor"),n(i,s,c,"∧","\\wedge"),n(i,s,c,"∨","\\vee"),n(i,s,m,"√","\\surd"),n(i,s,f,"(","("),n(i,s,f,"[","["),n(i,s,f,"⟨","\\langle"),n(i,s,f,"∣","\\lvert"),n(i,s,f,"∥","\\lVert"),n(i,s,l,")",")"),n(i,s,l,"]","]"),n(i,s,l,"?","?"),n(i,s,l,"!","!"),n(i,s,l,"⟩","\\rangle"),n(i,s,l,"∣","\\rvert"),n(i,s,l,"∥","\\rVert"),n(i,s,d,"=","="),n(i,s,d,"<","<"),n(i,s,d,">",">"),n(i,s,d,":",":"),n(i,s,d,"≈","\\approx"),n(i,s,d,"≅","\\cong"),n(i,s,d,"≥","\\ge");n(i,s,d,"≥","\\geq"),n(i,s,d,"←","\\gets"),n(i,s,d,">","\\gt"),n(i,s,d,"∈","\\in"),n(i,s,d,"∉","\\notin"),n(i,s,d,"⊂","\\subset"),n(i,s,d,"⊃","\\supset"),n(i,s,d,"⊆","\\subseteq"),n(i,s,d,"⊇","\\supseteq"),n(i,a,d,"⊈","\\nsubseteq"),n(i,a,d,"⊉","\\nsupseteq"),n(i,s,d,"⊨","\\models"),n(i,s,d,"←","\\leftarrow"),n(i,s,d,"≤","\\le"),n(i,s,d,"≤","\\leq"),n(i,s,d,"<","\\lt"),n(i,s,d,"≠","\\ne"),n(i,s,d,"≠","\\neq"),n(i,s,d,"→","\\rightarrow"),n(i,s,d,"→","\\to"),n(i,a,d,"≱","\\ngeq"),n(i,a,d,"≰","\\nleq"),n(i,s,b,null,"\\!"),n(i,s,b," ","\\ "),n(i,s,b," ","~"),n(i,s,b,null,"\\,"),n(i,s,b,null,"\\:"),n(i,s,b,null,"\\;"),n(i,s,b,null,"\\enspace"),n(i,s,b,null,"\\qquad"),n(i,s,b,null,"\\quad"),n(i,s,b," ","\\space"),n(i,s,"punct",",",","),n(i,s,"punct",";",";"),n(i,s,"punct",":","\\colon"),n(i,a,c,"⊼","\\barwedge"),n(i,a,c,"⊻","\\veebar"),n(i,s,c,"⊙","\\odot"),n(i,s,c,"⊕","\\oplus"),n(i,s,c,"⊗","\\otimes"),n(i,s,m,"∂","\\partial"),n(i,s,c,"⊘","\\oslash"),n(i,a,c,"⊚","\\circledcirc"),n(i,a,c,"⊡","\\boxdot"),n(i,s,c,"△","\\bigtriangleup"),n(i,s,c,"▽","\\bigtriangledown"),n(i,s,c,"†","\\dagger"),n(i,s,c,"⋄","\\diamond"),n(i,s,c,"⋆","\\star"),n(i,s,c,"◃","\\triangleleft"),n(i,s,c,"▹","\\triangleright"),n(i,s,f,"{","\\{"),n(o,s,m,"{","\\{"),n(i,s,l,"}","\\}"),n(o,s,m,"}","\\}"),n(i,s,f,"{","\\lbrace"),n(i,s,l,"}","\\rbrace"),n(i,s,f,"[","\\lbrack"),n(i,s,l,"]","\\rbrack"),n(i,s,f,"⌊","\\lfloor"),n(i,s,l,"⌋","\\rfloor"),n(i,s,f,"⌈","\\lceil"),n(i,s,l,"⌉","\\rceil"),n(i,s,m,"\\","\\backslash"),n(i,s,m,"∣","|"),n(i,s,m,"∣","\\vert"),n(i,s,m,"∥","\\|"),n(i,s,m,"∥","\\Vert"),n(i,s,d,"↑","\\uparrow"),n(i,s,d,"⇑","\\Uparrow"),n(i,s,d,"↓","\\downarrow"),n(i,s,d,"⇓","\\Downarrow"),n(i,s,d,"↕","\\updownarrow"),n(i,s,d,"⇕","\\Updownarrow"),n(i,i,p,"∐","\\coprod"),n(i,i,p,"⋁","\\bigvee"),n(i,i,p,"⋀","\\bigwedge"),n(i,i,p,"⨄","\\biguplus"),n(i,i,p,"⋂","\\bigcap"),n(i,i,p,"⋃","\\bigcup"),n(i,i,p,"∫","\\int"),n(i,i,p,"∫","\\intop"),n(i,i,p,"∬","\\iint"),n(i,i,p,"∭","\\iiint"),n(i,i,p,"∏","\\prod"),n(i,i,p,"∑","\\sum"),n(i,i,p,"⨂","\\bigotimes"),n(i,i,p,"⨁","\\bigoplus"),n(i,i,p,"⨀","\\bigodot"),n(i,i,p,"∮","\\oint"),n(i,i,p,"⨆","\\bigsqcup"),n(i,i,p,"∫","\\smallint"),n(o,s,"inner","…","\\textellipsis"),n(i,s,"inner","…","\\mathellipsis"),n(o,s,"inner","…","\\ldots"),n(i,s,"inner","…","\\ldots"),n(i,s,"inner","⋯","\\cdots"),n(i,s,"inner","⋱","\\ddots"),n(i,s,m,"⋮","\\vdots"),n(i,s,u,"´","\\acute"),n(i,s,u,"`","\\grave"),n(i,s,u,"¨","\\ddot"),n(i,s,u,"~","\\tilde"),n(i,s,u,"¯","\\bar"),n(i,s,u,"˘","\\breve"),n(i,s,u,"ˇ","\\check"),n(i,s,u,"^","\\hat"),n(i,s,u,"⃗","\\vec"),n(i,s,u,"˙","\\dot"),n(i,s,h,"ı","\\imath"),n(i,s,h,"ȷ","\\jmath"),n(o,s,m,"–","--"),n(o,s,m,"—","---"),n(o,s,m,"‘","`"),n(o,s,m,"’","'"),n(o,s,m,"“","``"),n(o,s,m,"”","''"),n(i,s,m,"°","\\degree"),n(o,s,m,"°","\\degree"),n(i,s,h,"£","\\pounds"),n(i,a,m,"✠","\\maltese"),n(o,a,m,"✠","\\maltese"),n(o,s,b," ","\\ "),n(o,s,b," "," "),n(o,s,b," ","~");var v,y,g='0123456789/@."';for(v=0;v<g.length;v++)y=g.charAt(v),n(i,s,m,y,y);var w='0123456789!@*()-=+[]";:?/.,';for(v=0;v<w.length;v++)y=w.charAt(v),n(o,s,m,y,y);var x="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";for(v=0;v<x.length;v++)y=x.charAt(v),n(i,s,h,y,y),n(o,s,m,y,y);for(v=192;v<=214;v++)y=String.fromCharCode(v),n(o,s,m,y,y);for(v=216;v<=246;v++)y=String.fromCharCode(v),n(o,s,m,y,y);for(v=248;v<=255;v++)y=String.fromCharCode(v),n(o,s,m,y,y);for(v=1040;v<=1103;v++)y=String.fromCharCode(v),n(o,s,m,y,y);n(o,s,m,"–","–"),n(o,s,m,"—","—"),n(o,s,m,"‘","‘"),n(o,s,m,"’","’"),n(o,s,m,"“","“"),n(o,s,m,"”","”")},{}],113:[function(t,e,r){e.exports={cjkRegex:/[\u3040-\u309F]|[\u30A0-\u30FF]|[\u4E00-\u9FAF]|[\uAC00-\uD7AF]/,hangulRegex:/[\uAC00-\uD7AF]/}},{}],114:[function(t,e,r){function n(t){return p[t]}function i(t){return(""+t).replace(f,n)}function o(t){s(t,"")}var s,a=Array.prototype.indexOf,u=function(t,e){if(null==t)return-1;if(a&&t.indexOf===a)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1},c=function(t,e){return-1!==u(t,e)},l=function(t,e){return void 0===t?e:t},h=function(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()},p={"&":"&",">":">","<":"<",'"':""","'":"'"},f=/[&><"']/g;if("undefined"!=typeof document){var d=document.createElement("span");s="textContent"in d?function(t,e){t.textContent=e}:function(t,e){t.innerText=e}}e.exports={contains:c,deflt:l,escape:i,hyphenate:h,indexOf:u,setTextContent:s,clearNode:o}},{}],115:[function(t,e,r){"use strict";function n(t){if(!t.__matchAtRelocatable){var e=t.source+"|()",r="g"+(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"");t.__matchAtRelocatable=new RegExp(e,r)}return t.__matchAtRelocatable}function i(t,e,r){if(t.global||t.sticky)throw new Error("matchAt(...): Only non-global regexes are supported");var i=n(t);i.lastIndex=r;var o=i.exec(e);return null==o[o.length-1]?(o.length=o.length-1,o):null}e.exports=i},{}],116:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("./Subscriber"),o=function(t){function e(e,r,n){t.call(this),this.parent=e,this.outerValue=r,this.outerIndex=n,this.index=0}return n(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}(i.Subscriber);r.InnerSubscriber=o},{"./Subscriber":123}],117:[function(t,e,r){"use strict";var n=t("./util/root"),i=t("./util/toSubscriber"),o=t("./symbol/observable"),s=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n=this.operator,o=i.toSubscriber(t,e,r);if(n?n.call(o,this.source):o.add(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 r=this;if(e||(n.root.Rx&&n.root.Rx.config&&n.root.Rx.config.Promise?e=n.root.Rx.config.Promise:n.root.Promise&&(e=n.root.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,n){var i;i=r.subscribe(function(e){if(i)try{t(e)}catch(t){n(t),i.unsubscribe()}else t(e)},n,e)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[o.observable]=function(){return this},t.create=function(e){return new t(e)},t}();r.Observable=s},{"./symbol/observable":156,"./util/root":169,"./util/toSubscriber":171}],118:[function(t,e,r){"use strict";r.empty={closed:!0,next:function(t){},error:function(t){throw t},complete:function(){}}},{}],119:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("./Subscriber"),o=function(t){function e(){t.apply(this,arguments)}return n(e,t),e.prototype.notifyNext=function(t,e,r,n,i){this.destination.next(e)},e.prototype.notifyError=function(t,e){this.destination.error(t)},e.prototype.notifyComplete=function(t){this.destination.complete()},e}(i.Subscriber);r.OuterSubscriber=o},{"./Subscriber":123}],120:[function(t,e,r){"use strict";var n=function(){function t(e,r){void 0===r&&(r=t.now),this.SchedulerAction=e,this.now=r}return t.prototype.schedule=function(t,e,r){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(r,e)},t.now=Date.now?Date.now:function(){return+new Date},t}();r.Scheduler=n},{}],121:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("./Observable"),o=t("./Subscriber"),s=t("./Subscription"),a=t("./util/ObjectUnsubscribedError"),u=t("./SubjectSubscription"),c=t("./symbol/rxSubscriber"),l=function(t){function e(e){t.call(this,e),this.destination=e}return n(e,t),e}(o.Subscriber);r.SubjectSubscriber=l;var h=function(t){function e(){t.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return n(e,t),e.prototype[c.rxSubscriber]=function(){return new l(this)},e.prototype.lift=function(t){var e=new p(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;if(!this.isStopped)for(var e=this.observers,r=e.length,n=e.slice(),i=0;i<r;i++)n[i].next(t)},e.prototype.error=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,r=e.length,n=e.slice(),i=0;i<r;i++)n[i].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new a.ObjectUnsubscribedError;this.isStopped=!0;for(var t=this.observers,e=t.length,r=t.slice(),n=0;n<e;n++)r[n].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 a.ObjectUnsubscribedError;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;return this.hasError?(t.error(this.thrownError),s.Subscription.EMPTY):this.isStopped?(t.complete(),s.Subscription.EMPTY):(this.observers.push(t),new u.SubjectSubscription(this,t))},e.prototype.asObservable=function(){var t=new i.Observable;return t.source=this,t},e.create=function(t,e){return new p(t,e)},e}(i.Observable);r.Subject=h;var p=function(t){function e(e,r){t.call(this),this.destination=e,this.source=r}return n(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):s.Subscription.EMPTY},e}(h);r.AnonymousSubject=p},{"./Observable":117,"./SubjectSubscription":122,"./Subscriber":123,"./Subscription":124,"./symbol/rxSubscriber":157,"./util/ObjectUnsubscribedError":158}],122:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("./Subscription"),o=function(t){function e(e,r){t.call(this),this.subject=e,this.subscriber=r,this.closed=!1}return n(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 r=e.indexOf(this.subscriber);-1!==r&&e.splice(r,1)}}},e}(i.Subscription);r.SubjectSubscription=o},{"./Subscription":124}],123:[function(t,e,r){"use strict";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},i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("./util/isFunction"),s=t("./Subscription"),a=t("./Observer"),u=t("./symbol/rxSubscriber"),c=function(t){function e(r,i,o){switch(t.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a.empty;break;case 1:if(!r){this.destination=a.empty;break}if("object"===(void 0===r?"undefined":n(r))){r instanceof e?(this.destination=r,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new l(this,r));break}default:this.syncErrorThrowable=!0,this.destination=new l(this,r,i,o)}}return i(e,t),e.prototype[u.rxSubscriber]=function(){return this},e.create=function(t,r,n){var i=new e(t,r,n);return i.syncErrorThrowable=!1,i},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,r=t._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=r,this},e}(s.Subscription);r.Subscriber=c;var l=function(t){function e(e,r,n,i){t.call(this),this._parentSubscriber=e;var s,u=this;o.isFunction(r)?s=r:r&&(s=r.next,n=r.error,i=r.complete,r!==a.empty&&(u=Object.create(r),o.isFunction(u.unsubscribe)&&this.add(u.unsubscribe.bind(u)),u.unsubscribe=this.unsubscribe.bind(this))),this._context=u,this._next=s,this._error=n,this._complete=i}return i(e,t),e.prototype.next=function(t){
|
22
|
+
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(){if(!this.isStopped){var t=this._parentSubscriber;this._complete?t.syncErrorThrowable?(this.__tryOrSetError(t,this._complete),this.unsubscribe()):(this.__tryOrUnsub(this._complete),this.unsubscribe()):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,r){try{e.call(this._context,r)}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}(c)},{"./Observer":118,"./Subscription":124,"./symbol/rxSubscriber":157,"./util/isFunction":164}],124:[function(t,e,r){"use strict";function n(t){return t.reduce(function(t,e){return t.concat(e instanceof l.UnsubscriptionError?e.errors: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},o=t("./util/isArray"),s=t("./util/isObject"),a=t("./util/isFunction"),u=t("./util/tryCatch"),c=t("./util/errorObject"),l=t("./util/UnsubscriptionError"),h=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 r=this,i=r._parent,h=r._parents,p=r._unsubscribe,f=r._subscriptions;this.closed=!0,this._parent=null,this._parents=null,this._subscriptions=null;for(var d=-1,b=h?h.length:0;i;)i.remove(this),i=++d<b&&h[d]||null;if(a.isFunction(p)){var m=u.tryCatch(p).call(this);m===c.errorObject&&(e=!0,t=t||(c.errorObject.e instanceof l.UnsubscriptionError?n(c.errorObject.e.errors):[c.errorObject.e]))}if(o.isArray(f))for(d=-1,b=f.length;++d<b;){var v=f[d];if(s.isObject(v)){var m=u.tryCatch(v.unsubscribe).call(v);if(m===c.errorObject){e=!0,t=t||[];var y=c.errorObject.e;y instanceof l.UnsubscriptionError?t=t.concat(n(y.errors)):t.push(y)}}}if(e)throw new l.UnsubscriptionError(t)}},t.prototype.add=function(e){if(!e||e===t.EMPTY)return t.EMPTY;if(e===this)return this;var r=e;switch(void 0===e?"undefined":i(e)){case"function":r=new t(e);case"object":if(r.closed||"function"!=typeof r.unsubscribe)return r;if(this.closed)return r.unsubscribe(),r;if("function"!=typeof r._addParent){var n=r;r=new t,r._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+e+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(r),r._addParent(this),r},t.prototype.remove=function(t){var e=this._subscriptions;if(e){var r=e.indexOf(t);-1!==r&&e.splice(r,1)}},t.prototype._addParent=function(t){var e=this,r=e._parent,n=e._parents;r&&r!==t?n?-1===n.indexOf(t)&&n.push(t):this._parents=[t]:this._parent=t},t.EMPTY=function(t){return t.closed=!0,t}(new t),t}();r.Subscription=h},{"./util/UnsubscriptionError":159,"./util/errorObject":160,"./util/isArray":161,"./util/isFunction":164,"./util/isObject":166,"./util/tryCatch":172}],125:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Observable"),o=t("./ScalarObservable"),s=t("./EmptyObservable"),a=t("../util/isScheduler"),u=function(t){function e(e,r){t.call(this),this.array=e,this.scheduler=r,r||1!==e.length||(this._isScalar=!0,this.value=e[0])}return n(e,t),e.create=function(t,r){return new e(t,r)},e.of=function(){for(var t=[],r=0;r<arguments.length;r++)t[r-0]=arguments[r];var n=t[t.length-1];a.isScheduler(n)?t.pop():n=null;var i=t.length;return i>1?new e(t,n):1===i?new o.ScalarObservable(t[0],n):new s.EmptyObservable(n)},e.dispatch=function(t){var e=t.array,r=t.index,n=t.count,i=t.subscriber;if(r>=n)return void i.complete();i.next(e[r]),i.closed||(t.index=r+1,this.schedule(t))},e.prototype._subscribe=function(t){var r=this.array,n=r.length,i=this.scheduler;if(i)return i.schedule(e.dispatch,0,{array:r,index:0,count:n,subscriber:t});for(var o=0;o<n&&!t.closed;o++)t.next(r[o]);t.complete()},e}(i.Observable);r.ArrayObservable=u},{"../Observable":117,"../util/isScheduler":168,"./EmptyObservable":127,"./ScalarObservable":129}],126:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Subject"),o=t("../Observable"),s=t("../Subscriber"),a=t("../Subscription"),u=function(t){function e(e,r){t.call(this),this.source=e,this.subjectFactory=r,this._refCount=0}return n(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||(t=this._connection=new a.Subscription,t.add(this.source.subscribe(new c(this.getSubject(),this))),t.closed?(this._connection=null,t=a.Subscription.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return this.lift(new l(this))},e}(o.Observable);r.ConnectableObservable=u,r.connectableObservableDescriptor={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:u.prototype._subscribe},getSubject:{value:u.prototype.getSubject},connect:{value:u.prototype.connect},refCount:{value:u.prototype.refCount}};var c=function(t){function e(e,r){t.call(this,e),this.connectable=r}return n(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){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}(i.SubjectSubscriber),l=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var r=this.connectable;r._refCount++;var n=new h(t,r),i=e.subscribe(n);return n.closed||(n.connection=r.connect()),i},t}(),h=function(t){function e(e,r){t.call(this,e),this.connectable=r}return n(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 r=this.connection,n=t._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()},e}(s.Subscriber)},{"../Observable":117,"../Subject":121,"../Subscriber":123,"../Subscription":124}],127:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Observable"),o=function(t){function e(e){t.call(this),this.scheduler=e}return n(e,t),e.create=function(t){return new e(t)},e.dispatch=function(t){t.subscriber.complete()},e.prototype._subscribe=function(t){var r=this.scheduler;if(r)return r.schedule(e.dispatch,0,{subscriber:t});t.complete()},e}(i.Observable);r.EmptyObservable=o},{"../Observable":117}],128:[function(t,e,r){"use strict";function n(t){return!!t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}function i(t){return!!t&&"function"==typeof t.on&&"function"==typeof t.off}function o(t){return!!t&&"[object NodeList]"===d.call(t)}function s(t){return!!t&&"[object HTMLCollection]"===d.call(t)}function a(t){return!!t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}var u=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},c=t("../Observable"),l=t("../util/tryCatch"),h=t("../util/isFunction"),p=t("../util/errorObject"),f=t("../Subscription"),d=Object.prototype.toString,b=function(t){function e(e,r,n,i){t.call(this),this.sourceObj=e,this.eventName=r,this.selector=n,this.options=i}return u(e,t),e.create=function(t,r,n,i){return h.isFunction(n)&&(i=n,n=void 0),new e(t,r,i,n)},e.setupSubscription=function(t,r,u,c,l){var h;if(o(t)||s(t))for(var p=0,d=t.length;p<d;p++)e.setupSubscription(t[p],r,u,c,l);else if(a(t)){var b=t;t.addEventListener(r,u,l),h=function(){return b.removeEventListener(r,u)}}else if(i(t)){var m=t;t.on(r,u),h=function(){return m.off(r,u)}}else{if(!n(t))throw new TypeError("Invalid event target");var v=t;t.addListener(r,u),h=function(){return v.removeListener(r,u)}}c.add(new f.Subscription(h))},e.prototype._subscribe=function(t){var r=this.sourceObj,n=this.eventName,i=this.options,o=this.selector,s=o?function(){for(var e=[],r=0;r<arguments.length;r++)e[r-0]=arguments[r];var n=l.tryCatch(o).apply(void 0,e);n===p.errorObject?t.error(p.errorObject.e):t.next(n)}:function(e){return t.next(e)};e.setupSubscription(r,n,s,t,i)},e}(c.Observable);r.FromEventObservable=b},{"../Observable":117,"../Subscription":124,"../util/errorObject":160,"../util/isFunction":164,"../util/tryCatch":172}],129:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Observable"),o=function(t){function e(e,r){t.call(this),this.value=e,this.scheduler=r,this._isScalar=!0,r&&(this._isScalar=!1)}return n(e,t),e.create=function(t,r){return new e(t,r)},e.dispatch=function(t){var e=t.done,r=t.value,n=t.subscriber;if(e)return void n.complete();n.next(r),n.closed||(t.done=!0,this.schedule(t))},e.prototype._subscribe=function(t){var r=this.value,n=this.scheduler;if(n)return n.schedule(e.dispatch,0,{done:!1,value:r,subscriber:t});t.next(r),t.closed||t.complete()},e}(i.Observable);r.ScalarObservable=o},{"../Observable":117}],130:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../util/isNumeric"),o=t("../Observable"),s=t("../scheduler/async"),a=t("../util/isScheduler"),u=t("../util/isDate"),c=function(t){function e(e,r,n){void 0===e&&(e=0),t.call(this),this.period=-1,this.dueTime=0,i.isNumeric(r)?this.period=Number(r)<1&&1||Number(r):a.isScheduler(r)&&(n=r),a.isScheduler(n)||(n=s.async),this.scheduler=n,this.dueTime=u.isDate(e)?+e-this.scheduler.now():e}return n(e,t),e.create=function(t,r,n){return void 0===t&&(t=0),new e(t,r,n)},e.dispatch=function(t){var e=t.index,r=t.period,n=t.subscriber,i=this;if(n.next(e),!n.closed){if(-1===r)return n.complete();t.index=e+1,i.schedule(t,r)}},e.prototype._subscribe=function(t){var r=this,n=r.period,i=r.dueTime;return r.scheduler.schedule(e.dispatch,i,{index:0,period:n,subscriber:t})},e}(o.Observable);r.TimerObservable=c},{"../Observable":117,"../scheduler/async":154,"../util/isDate":163,"../util/isNumeric":165,"../util/isScheduler":168}],131:[function(t,e,r){"use strict";var n=t("./EmptyObservable");r.empty=n.EmptyObservable.create},{"./EmptyObservable":127}],132:[function(t,e,r){"use strict";var n=t("./FromEventObservable");r.fromEvent=n.FromEventObservable.create},{"./FromEventObservable":128}],133:[function(t,e,r){"use strict";var n=t("./TimerObservable");r.timer=n.TimerObservable.create},{"./TimerObservable":130}],134:[function(t,e,r){"use strict";function n(t){var e=new a(t),r=this.lift(e);return e.caught=r}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),s=t("../util/subscribeToResult");r._catch=n;var a=function(){function t(t){this.selector=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.selector,this.caught))},t}(),u=function(t){function e(e,r,n){t.call(this,e),this.selector=r,this.caught=n}return i(e,t),e.prototype.error=function(e){if(!this.isStopped){var r=void 0;try{r=this.selector(e,this.caught)}catch(e){return void t.prototype.error.call(this,e)}this._unsubscribeAndRecycle(),this.add(s.subscribeToResult(this,r))}},e}(o.OuterSubscriber)},{"../OuterSubscriber":119,"../util/subscribeToResult":170}],135:[function(t,e,r){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return this.lift.call(i.apply(void 0,[this].concat(t)))}function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var r=null,n=t;return s.isScheduler(n[t.length-1])&&(r=n.pop()),null===r&&1===t.length&&t[0]instanceof o.Observable?t[0]:new a.ArrayObservable(t,r).lift(new u.MergeAllOperator(1))}var o=t("../Observable"),s=t("../util/isScheduler"),a=t("../observable/ArrayObservable"),u=t("./mergeAll");r.concat=n,r.concatStatic=i},{"../Observable":117,"../observable/ArrayObservable":125,"../util/isScheduler":168,"./mergeAll":142}],136:[function(t,e,r){"use strict";function n(t,e){return void 0===e&&(e=a.async),this.lift(new u(t,e))}function i(t){t.debouncedNext()}var o=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},s=t("../Subscriber"),a=t("../scheduler/async");r.debounceTime=n;var u=function(){function t(t,e){this.dueTime=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.dueTime,this.scheduler))},t}(),c=function(t){function e(e,r,n){t.call(this,e),this.dueTime=r,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}return o(e,t),e.prototype._next=function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(i,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}(s.Subscriber)},{"../Subscriber":123,"../scheduler/async":154}],137:[function(t,e,r){"use strict";function n(t,e,r){return this.lift(new s(t,e,r))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber");r._do=n;var s=function(){function t(t,e,r){this.nextOrObserver=t,this.error=e,this.complete=r}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.nextOrObserver,this.error,this.complete))},t}(),a=function(t){function e(e,r,n,i){t.call(this,e);var s=new o.Subscriber(r,n,i);s.syncErrorThrowable=!0,this.add(s),this.safeSubscriber=s}return i(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}(o.Subscriber)},{"../Subscriber":123}],138:[function(t,e,r){"use strict";function n(t,e){return this.lift(new a(t,e))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),s=t("../util/subscribeToResult");r.exhaustMap=n;var a=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.project,this.resultSelector))},t}(),u=function(t){function e(e,r,n){t.call(this,e),this.project=r,this.resultSelector=n,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}return i(e,t),e.prototype._next=function(t){this.hasSubscription||this.tryNext(t)},e.prototype.tryNext=function(t){var e=this.index++,r=this.destination;try{var n=this.project(t,e);this.hasSubscription=!0,this.add(s.subscribeToResult(this,n,t,e))}catch(t){r.error(t)}},e.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},e.prototype.notifyNext=function(t,e,r,n,i){var o=this,s=o.resultSelector,a=o.destination;s?this.trySelectResult(t,e,r,n):a.next(e)},e.prototype.trySelectResult=function(t,e,r,n){var i=this,o=i.resultSelector,s=i.destination;try{var a=o(t,e,r,n);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}(o.OuterSubscriber)},{"../OuterSubscriber":119,"../util/subscribeToResult":170}],139:[function(t,e,r){"use strict";function n(t,e){return this.lift(new s(t,e))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber");r.filter=n;var s=function(){function t(t,e){this.predicate=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.predicate,this.thisArg))},t}(),a=function(t){function e(e,r,n){t.call(this,e),this.predicate=r,this.thisArg=n,this.count=0,this.predicate=r}return i(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}(o.Subscriber)},{"../Subscriber":123}],140:[function(t,e,r){"use strict";function n(t){return this.lift(new a(t))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber"),s=t("../Subscription");r._finally=n;var a=function(){function t(t){this.callback=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.callback))},t}(),u=function(t){function e(e,r){t.call(this,e),this.add(new s.Subscription(r))}return i(e,t),e}(o.Subscriber)},{"../Subscriber":123,"../Subscription":124}],141:[function(t,e,r){"use strict";function n(t,e){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return this.lift(new s(t,e))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber");r.map=n;var s=function(){function t(t,e){this.project=t,this.thisArg=e}return t.prototype.call=function(t,e){return e.subscribe(new a(t,this.project,this.thisArg))},t}();r.MapOperator=s;var a=function(t){function e(e,r,n){t.call(this,e),this.project=r,this.count=0,this.thisArg=n||this}return i(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}(o.Subscriber)},{"../Subscriber":123}],142:[function(t,e,r){"use strict";function n(t){return void 0===t&&(t=Number.POSITIVE_INFINITY),this.lift(new a(t))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),s=t("../util/subscribeToResult");r.mergeAll=n;var a=function(){function t(t){this.concurrent=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.concurrent))},t}();r.MergeAllOperator=a;var u=function(t){function e(e,r){t.call(this,e),this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0}return i(e,t),e.prototype._next=function(t){this.active<this.concurrent?(this.active++,this.add(s.subscribeToResult(this,t))):this.buffer.push(t)},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},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}(o.OuterSubscriber);r.MergeAllSubscriber=u},{"../OuterSubscriber":119,"../util/subscribeToResult":170}],143:[function(t,e,r){"use strict";function n(t,e,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"number"==typeof e&&(r=e,e=null),this.lift(new a(t,e,r))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../util/subscribeToResult"),s=t("../OuterSubscriber");r.mergeMap=n;var a=function(){function t(t,e,r){void 0===r&&(r=Number.POSITIVE_INFINITY),this.project=t,this.resultSelector=e,this.concurrent=r}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.project,this.resultSelector,this.concurrent))},t}();r.MergeMapOperator=a;var u=function(t){function e(e,r,n,i){void 0===i&&(i=Number.POSITIVE_INFINITY),t.call(this,e),this.project=r,this.resultSelector=n,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return i(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,r=this.index++;try{e=this.project(t,r)}catch(t){return void this.destination.error(t)}this.active++,this._innerSub(e,t,r)},e.prototype._innerSub=function(t,e,r){this.add(o.subscribeToResult(this,t,e,r))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},e.prototype.notifyNext=function(t,e,r,n,i){this.resultSelector?this._notifyResultSelector(t,e,r,n):this.destination.next(e)},e.prototype._notifyResultSelector=function(t,e,r,n){var i;try{i=this.resultSelector(t,e,r,n)}catch(t){return void this.destination.error(t)}this.destination.next(i)},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}(s.OuterSubscriber);r.MergeMapSubscriber=u},{"../OuterSubscriber":119,"../util/subscribeToResult":170}],144:[function(t,e,r){"use strict";function n(t,e){var r;if(r="function"==typeof t?t:function(){return t},"function"==typeof e)return this.lift(new o(r,e));var n=Object.create(this,i.connectableObservableDescriptor);return n.source=this,n.subjectFactory=r,n}var i=t("../observable/ConnectableObservable");r.multicast=n;var o=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var r=this.selector,n=this.subjectFactory(),i=r(n).subscribe(t);return i.add(e.subscribe(n)),i},t}();r.MulticastOperator=o},{"../observable/ConnectableObservable":126}],145:[function(t,e,r){"use strict";function n(){return this.lift(new s)}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber");r.pairwise=n;var s=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new a(t))},t}(),a=function(t){function e(e){t.call(this,e),this.hasPrev=!1}return i(e,t),e.prototype._next=function(t){this.hasPrev?this.destination.next([this.prev,t]):this.hasPrev=!0,this.prev=t},e}(o.Subscriber)},{"../Subscriber":123}],146:[function(t,e,r){"use strict";function n(){return new s.Subject}function i(){return o.multicast.call(this,n).refCount()}var o=t("./multicast"),s=t("../Subject");r.share=i},{"../Subject":121,"./multicast":144}],147:[function(t,e,r){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var r=t[t.length-1];u.isScheduler(r)?t.pop():r=null;var n=t.length;return 1===n?a.concatStatic(new o.ScalarObservable(t[0],r),this):n>1?a.concatStatic(new i.ArrayObservable(t,r),this):a.concatStatic(new s.EmptyObservable(r),this)}var i=t("../observable/ArrayObservable"),o=t("../observable/ScalarObservable"),s=t("../observable/EmptyObservable"),a=t("./concat"),u=t("../util/isScheduler");r.startWith=n},{"../observable/ArrayObservable":125,"../observable/EmptyObservable":127,"../observable/ScalarObservable":129,"../util/isScheduler":168,"./concat":135}],148:[function(t,e,r){"use strict";function n(t,e){return this.lift(new a(t,e))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),s=t("../util/subscribeToResult");r.switchMap=n;var a=function(){function t(t,e){this.project=t,this.resultSelector=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.project,this.resultSelector))},t}(),u=function(t){function e(e,r,n){t.call(this,e),this.project=r,this.resultSelector=n,this.index=0}return i(e,t),e.prototype._next=function(t){var e,r=this.index++;try{e=this.project(t,r)}catch(t){return void this.destination.error(t)}this._innerSub(e,t,r)},e.prototype._innerSub=function(t,e,r){var n=this.innerSubscription;n&&n.unsubscribe(),this.add(this.innerSubscription=s.subscribeToResult(this,t,e,r))},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,r,n,i){this.resultSelector?this._tryNotifyNext(t,e,r,n):this.destination.next(e)},e.prototype._tryNotifyNext=function(t,e,r,n){var i;try{i=this.resultSelector(t,e,r,n)}catch(t){return void this.destination.error(t)}this.destination.next(i)},e}(o.OuterSubscriber)},{"../OuterSubscriber":119,"../util/subscribeToResult":170}],149:[function(t,e,r){"use strict";function n(t){return this.lift(new a(t))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),s=t("../util/subscribeToResult");r.takeUntil=n;var a=function(){function t(t){this.notifier=t}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.notifier))},t}(),u=function(t){function e(e,r){t.call(this,e),this.notifier=r,this.add(s.subscribeToResult(this,r))}return i(e,t),e.prototype.notifyNext=function(t,e,r,n,i){this.complete()},e.prototype.notifyComplete=function(){},e}(o.OuterSubscriber)},{"../OuterSubscriber":119,"../util/subscribeToResult":170}],150:[function(t,e,r){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return this.lift.call(i.apply(void 0,[this].concat(t)))}function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var r=t[t.length-1];return"function"==typeof r&&t.pop(),new s.ArrayObservable(t).lift(new p(r))}var o=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},s=t("../observable/ArrayObservable"),a=t("../util/isArray"),u=t("../Subscriber"),c=t("../OuterSubscriber"),l=t("../util/subscribeToResult"),h=t("../symbol/iterator");r.zipProto=n,r.zipStatic=i;var p=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new f(t,this.project))},t}();r.ZipOperator=p;var f=function(t){function e(e,r,n){void 0===n&&(n=Object.create(null)),t.call(this,e),this.iterators=[],this.active=0,this.project="function"==typeof r?r:null,this.values=n}return o(e,t),e.prototype._next=function(t){var e=this.iterators;a.isArray(t)?e.push(new b(t)):"function"==typeof t[h.iterator]?e.push(new d(t[h.iterator]())):e.push(new m(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 r=0;r<e;r++){var n=t[r];n.stillUnsubscribed?this.add(n.subscribe(n,r)):this.active--}},e.prototype.notifyInactive=function(){0===--this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var t=this.iterators,e=t.length,r=this.destination,n=0;n<e;n++){var i=t[n];if("function"==typeof i.hasValue&&!i.hasValue())return}for(var o=!1,s=[],n=0;n<e;n++){var i=t[n],a=i.next();if(i.hasCompleted()&&(o=!0),a.done)return void r.complete();s.push(a.value)}this.project?this._tryProject(s):r.next(s),o&&r.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}(u.Subscriber);r.ZipSubscriber=f;var d=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}(),b=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[h.iterator]=function(){return this},t.prototype.next=function(t){var e=this.index++,r=this.array;return e<this.length?{value:r[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}(),m=function(t){function e(e,r,n){t.call(this,e),this.parent=r,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return o(e,t),e.prototype[h.iterator]=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,r,n,i){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return l.subscribeToResult(this,this.observable,this,e)},e}(c.OuterSubscriber)},{"../OuterSubscriber":119,"../Subscriber":123,"../observable/ArrayObservable":125,"../symbol/iterator":155,"../util/isArray":161,"../util/subscribeToResult":170}],151:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Subscription"),o=function(t){function e(e,r){t.call(this)}return n(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(i.Subscription);r.Action=o},{"../Subscription":124}],152:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../util/root"),o=t("./Action"),s=function(t){function e(e,r){t.call(this,e,r),this.scheduler=e,this.work=r,this.pending=!1}return n(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t,this.pending=!0
|
23
|
+
;var r=this.id,n=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(n,r,e)),this.delay=e,this.id=this.id||this.requestAsyncId(n,this.id,e),this},e.prototype.requestAsyncId=function(t,e,r){return void 0===r&&(r=0),i.root.setInterval(t.flush.bind(t,this),r)},e.prototype.recycleAsyncId=function(t,e,r){return void 0===r&&(r=0),null!==r&&this.delay===r?e:i.root.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 r=this._execute(t,e);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var r=!1,n=void 0;try{this.work(t)}catch(t){r=!0,n=!!t&&t||new Error(t)}if(r)return this.unsubscribe(),n},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,r=e.actions,n=r.indexOf(this);this.work=null,this.delay=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&r.splice(n,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null))},e}(o.Action);r.AsyncAction=s},{"../util/root":169,"./Action":151}],153:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Scheduler"),o=function(t){function e(){t.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return n(e,t),e.prototype.flush=function(t){var e=this.actions;if(this.active)return void e.push(t);var r;this.active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,r){for(;t=e.shift();)t.unsubscribe();throw r}},e}(i.Scheduler);r.AsyncScheduler=o},{"../Scheduler":120}],154:[function(t,e,r){"use strict";var n=t("./AsyncAction"),i=t("./AsyncScheduler");r.async=new i.AsyncScheduler(n.AsyncAction)},{"./AsyncAction":152,"./AsyncScheduler":153}],155:[function(t,e,r){"use strict";function n(t){var e=t.Symbol;if("function"==typeof e)return e.iterator||(e.iterator=e("iterator polyfill")),e.iterator;var r=t.Set;if(r&&"function"==typeof(new r)["@@iterator"])return"@@iterator";var n=t.Map;if(n)for(var i=Object.getOwnPropertyNames(n.prototype),o=0;o<i.length;++o){var s=i[o];if("entries"!==s&&"size"!==s&&n.prototype[s]===n.prototype.entries)return s}return"@@iterator"}var i=t("../util/root");r.symbolIteratorPonyfill=n,r.iterator=n(i.root),r.$$iterator=r.iterator},{"../util/root":169}],156:[function(t,e,r){"use strict";function n(t){var e,r=t.Symbol;return"function"==typeof r?r.observable?e=r.observable:(e=r("observable"),r.observable=e):e="@@observable",e}var i=t("../util/root");r.getSymbolObservable=n,r.observable=n(i.root),r.$$observable=r.observable},{"../util/root":169}],157:[function(t,e,r){"use strict";var n=t("../util/root"),i=n.root.Symbol;r.rxSubscriber="function"==typeof i&&"function"==typeof i.for?i.for("rxSubscriber"):"@@rxSubscriber",r.$$rxSubscriber=r.rxSubscriber},{"../util/root":169}],158:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=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 n(e,t),e}(Error);r.ObjectUnsubscribedError=i},{}],159:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=function(t){function e(e){t.call(this),this.errors=e;var r=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=r.name="UnsubscriptionError",this.stack=r.stack,this.message=r.message}return n(e,t),e}(Error);r.UnsubscriptionError=i},{}],160:[function(t,e,r){"use strict";r.errorObject={e:{}}},{}],161:[function(t,e,r){"use strict";r.isArray=Array.isArray||function(t){return t&&"number"==typeof t.length}},{}],162:[function(t,e,r){"use strict";r.isArrayLike=function(t){return t&&"number"==typeof t.length}},{}],163:[function(t,e,r){"use strict";function n(t){return t instanceof Date&&!isNaN(+t)}r.isDate=n},{}],164:[function(t,e,r){"use strict";function n(t){return"function"==typeof t}r.isFunction=n},{}],165:[function(t,e,r){"use strict";function n(t){return!i.isArray(t)&&t-parseFloat(t)+1>=0}var i=t("../util/isArray");r.isNumeric=n},{"../util/isArray":161}],166:[function(t,e,r){"use strict";function n(t){return null!=t&&"object"===(void 0===t?"undefined":i(t))}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};r.isObject=n},{}],167:[function(t,e,r){"use strict";function n(t){return t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}r.isPromise=n},{}],168:[function(t,e,r){"use strict";function n(t){return t&&"function"==typeof t.schedule}r.isScheduler=n},{}],169:[function(t,e,r){(function(t){"use strict";var e="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};if(r.root="object"==("undefined"==typeof window?"undefined":e(window))&&window.window===window&&window||"object"==("undefined"==typeof self?"undefined":e(self))&&self.self===self&&self||"object"==(void 0===t?"undefined":e(t))&&t.global===t&&t,!r.root)throw new Error("RxJS could not find any global context (window, self, global)")}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],170:[function(t,e,r){"use strict";function n(t,e,r,n){var p=new l.InnerSubscriber(t,r,n);if(p.closed)return null;if(e instanceof u.Observable)return e._isScalar?(p.next(e.value),p.complete(),null):e.subscribe(p);if(o.isArrayLike(e)){for(var f=0,d=e.length;f<d&&!p.closed;f++)p.next(e[f]);p.closed||p.complete()}else{if(s.isPromise(e))return e.then(function(t){p.closed||(p.next(t),p.complete())},function(t){return p.error(t)}).then(null,function(t){i.root.setTimeout(function(){throw t})}),p;if(e&&"function"==typeof e[c.iterator])for(var b=e[c.iterator]();;){var m=b.next();if(m.done){p.complete();break}if(p.next(m.value),p.closed)break}else if(e&&"function"==typeof e[h.observable]){var v=e[h.observable]();if("function"==typeof v.subscribe)return v.subscribe(new l.InnerSubscriber(t,r,n));p.error(new TypeError("Provided object does not correctly implement Symbol.observable"))}else{var y=a.isObject(e)?"an invalid object":"'"+e+"'",g="You provided "+y+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.";p.error(new TypeError(g))}}return null}var i=t("./root"),o=t("./isArrayLike"),s=t("./isPromise"),a=t("./isObject"),u=t("../Observable"),c=t("../symbol/iterator"),l=t("../InnerSubscriber"),h=t("../symbol/observable");r.subscribeToResult=n},{"../InnerSubscriber":116,"../Observable":117,"../symbol/iterator":155,"../symbol/observable":156,"./isArrayLike":162,"./isObject":166,"./isPromise":167,"./root":169}],171:[function(t,e,r){"use strict";function n(t,e,r){if(t){if(t instanceof i.Subscriber)return t;if(t[o.rxSubscriber])return t[o.rxSubscriber]()}return t||e||r?new i.Subscriber(t,e,r):new i.Subscriber(s.empty)}var i=t("../Subscriber"),o=t("../symbol/rxSubscriber"),s=t("../Observer");r.toSubscriber=n},{"../Observer":118,"../Subscriber":123,"../symbol/rxSubscriber":157}],172:[function(t,e,r){"use strict";function n(){try{return o.apply(this,arguments)}catch(t){return s.errorObject.e=t,s.errorObject}}function i(t){return o=t,n}var o,s=t("./errorObject");r.tryCatch=i},{"./errorObject":160}],173:[function(t,e,r){"use strict";var n=t("is-arrayish"),i=Array.prototype.concat,o=Array.prototype.slice,s=e.exports=function(t){for(var e=[],r=0,s=t.length;r<s;r++){var a=t[r];n(a)?e=i.call(e,o.call(a)):e.push(a)}return e};s.wrap=function(t){return function(){return t(s(arguments))}}},{"is-arrayish":90}],174:[function(require,module,exports){!function(a,b){var c={},d={},e={},f=null;!function(t,e){function r(t){if("number"==typeof t)return t;var e={};for(var r in t)e[r]=t[r];return e}function n(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=S}function i(){return t.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function o(e,r,i){var o=new n;return r&&(o.fill="both",o.duration="auto"),"number"!=typeof e||isNaN(e)?void 0!==e&&Object.getOwnPropertyNames(e).forEach(function(r){if("auto"!=e[r]){if(("number"==typeof o[r]||"duration"==r)&&("number"!=typeof e[r]||isNaN(e[r])))return;if("fill"==r&&-1==x.indexOf(e[r]))return;if("direction"==r&&-1==_.indexOf(e[r]))return;if("playbackRate"==r&&1!==e[r]&&t.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;o[r]=e[r]}}):o.duration=e,o}function s(t){return"number"==typeof t&&(t=isNaN(t)?{duration:0}:{duration:t}),t}function a(e,r){return e=t.numericTimingToObject(e),o(e,r)}function u(t,e,r,n){return t<0||t>1||r<0||r>1?S:function(i){function o(t,e,r){return 3*t*(1-r)*(1-r)*r+3*e*(1-r)*r*r+r*r*r}if(i<=0){var s=0;return t>0?s=e/t:!e&&r>0&&(s=n/r),s*i}if(i>=1){var a=0;return r<1?a=(n-1)/(r-1):1==r&&t<1&&(a=(e-1)/(t-1)),1+a*(i-1)}for(var u=0,c=1;u<c;){var l=(u+c)/2,h=o(t,r,l);if(Math.abs(i-h)<1e-5)return o(e,n,l);h<i?u=l:c=l}return o(e,n,l)}}function c(t,e){return function(r){if(r>=1)return 1;var n=1/t;return(r+=e*n)-r%n}}function l(t){E||(E=document.createElement("div").style),E.animationTimingFunction="",E.animationTimingFunction=t;var e=E.animationTimingFunction;if(""==e&&i())throw new TypeError(t+" is not a valid value for easing");return e}function h(t){if("linear"==t)return S;var e=A.exec(t);if(e)return u.apply(this,e.slice(1).map(Number));var r=P.exec(t);if(r)return c(Number(r[1]),{start:O,middle:k,end:j}[r[2]]);var n=T[t];return n||S}function p(t){return Math.abs(f(t)/t.playbackRate)}function f(t){return 0===t.duration||0===t.iterations?0:t.duration*t.iterations}function d(t,e,r){if(null==e)return C;var n=r.delay+t+r.endDelay;return e<Math.min(r.delay,n)?N:e>=Math.min(r.delay+t,n)?R:z}function b(t,e,r,n,i){switch(n){case N:return"backwards"==e||"both"==e?0:null;case z:return r-i;case R:return"forwards"==e||"both"==e?t:null;case C:return null}}function m(t,e,r,n,i){var o=i;return 0===t?e!==N&&(o+=r):o+=n/t,o}function v(t,e,r,n,i,o){var s=t===1/0?e%1:t%1;return 0!==s||r!==R||0===n||0===i&&0!==o||(s=1),s}function y(t,e,r,n){return t===R&&e===1/0?1/0:1===r?Math.floor(n)-1:Math.floor(n)}function g(t,e,r){var n=t;if("normal"!==t&&"reverse"!==t){var i=e;"alternate-reverse"===t&&(i+=1),n="normal",i!==1/0&&i%2!=0&&(n="reverse")}return"normal"===n?r:1-r}function w(t,e,r){var n=d(t,e,r),i=b(t,r.fill,e,n,r.delay);if(null===i)return null;var o=m(r.duration,n,r.iterations,i,r.iterationStart),s=v(o,r.iterationStart,n,r.iterations,i,r.duration),a=y(n,r.iterations,s,o),u=g(r.direction,a,s);return r._easingFunction(u)}var x="backwards|forwards|both|none".split("|"),_="reverse|alternate|alternate-reverse".split("|"),S=function(t){return t};n.prototype={_setMember:function(e,r){this["_"+e]=r,this._effect&&(this._effect._timingInput[e]=r,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)&&i())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)&&i())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=h(l(t)),this._setMember("easing",t)},get easing(){return this._easing},set iterations(t){if((isNaN(t)||t<0)&&i())throw new TypeError("iterations must be non-negative, received: "+t);this._setMember("iterations",t)},get iterations(){return this._iterations}};var O=1,k=.5,j=0,T={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,O),"step-middle":c(1,k),"step-end":c(1,j)},E=null,M="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",A=new RegExp("cubic-bezier\\("+M+","+M+","+M+","+M+"\\)"),P=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/,C=0,N=1,R=2,z=3;t.cloneTimingInput=r,t.makeTiming=o,t.numericTimingToObject=s,t.normalizeTimingInput=a,t.calculateActiveDuration=p,t.calculateIterationProgress=w,t.calculatePhase=d,t.normalizeEasing=l,t.parseEasingFunction=h}(c),function(t,e){function r(t,e){return t in l?l[t][e]||e:e}function n(t){return"display"===t||0===t.lastIndexOf("animation",0)||0===t.lastIndexOf("transition",0)}function i(t,e,i){if(!n(t)){var o=a[t];if(o){u.style[t]=e;for(var s in o){var c=o[s],l=u.style[c];i[c]=r(c,l)}}else i[t]=r(t,e)}}function o(t){var e=[];for(var r in t)if(!(r in["easing","offset","composite"])){var n=t[r];Array.isArray(n)||(n=[n]);for(var i,o=n.length,s=0;s<o;s++)i={},i.offset="offset"in t?t.offset:1==o?1:s/(o-1),"easing"in t&&(i.easing=t.easing),"composite"in t&&(i.composite=t.composite),i[r]=n[s],e.push(i)}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=o(e));for(var r=e.map(function(e){var r={};for(var n in e){var o=e[n];if("offset"==n){if(null!=o){if(o=Number(o),!isFinite(o))throw new TypeError("Keyframe offsets must be numbers.");if(o<0||o>1)throw new TypeError("Keyframe offsets must be between 0 and 1.")}}else if("composite"==n){if("add"==o||"accumulate"==o)throw{type:DOMException.NOT_SUPPORTED_ERR,name:"NotSupportedError",message:"add compositing is not supported"};if("replace"!=o)throw new TypeError("Invalid composite mode "+o+".")}else o="easing"==n?t.normalizeEasing(o):""+o;i(n,o,r)}return void 0==r.offset&&(r.offset=null),void 0==r.easing&&(r.easing="linear"),r}),n=!0,s=-1/0,a=0;a<r.length;a++){var u=r[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 n=!1}return r=r.filter(function(t){return t.offset>=0&&t.offset<=1}),n||function(){var t=r.length;null==r[t-1].offset&&(r[t-1].offset=1),t>1&&null==r[0].offset&&(r[0].offset=0);for(var e=0,n=r[0].offset,i=1;i<t;i++){var o=r[i].offset;if(null!=o){for(var s=1;s<i-e;s++)r[e+s].offset=n+(o-n)*s/(i-e);e=i,n=o}}}(),r}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=o,t.normalizeKeyframes=s}(c),function(t){var e={};t.isDeprecated=function(t,r,n,i){var o=i?"are":"is",s=new Date,a=new Date(r);return a.setMonth(a.getMonth()+3),!(s<a&&(t in e||console.warn("Web Animations: "+t+" "+o+" deprecated and will stop working on "+a.toDateString()+". "+n),e[t]=!0,1))},t.deprecated=function(e,r,n,i){var o=i?"are":"is";if(t.isDeprecated(e,r,n,i))throw new Error(e+" "+o+" no longer supported. "+n)}}(c),function(){if(document.documentElement.animate){var a=document.documentElement.animate([],0),b=!0;if(a&&(b=!1,"play|currentTime|pause|reverse|playbackRate|cancel|finish|startTime|playState".split("|").forEach(function(t){void 0===a[t]&&(b=!0)})),!b)return}!function(t,e,r){function n(t){for(var e={},r=0;r<t.length;r++)for(var n in t[r])if("offset"!=n&&"easing"!=n&&"composite"!=n){var i={offset:t[r].offset,easing:t[r].easing,value:t[r][n]};e[n]=e[n]||[],e[n].push(i)}for(var o in e){var s=e[o];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 i(r){var n=[];for(var i in r)for(var o=r[i],s=0;s<o.length-1;s++){var a=s,u=s+1,c=o[a].offset,l=o[u].offset,h=c,p=l;0==s&&(h=-1/0,0==l&&(u=a)),s==o.length-2&&(p=1/0,1==c&&(a=u)),n.push({applyFrom:h,applyTo:p,startOffset:o[a].offset,endOffset:o[u].offset,easingFunction:t.parseEasingFunction(o[a].easing),property:i,interpolation:e.propertyInterpolation(i,o[a].value,o[u].value)})}return n.sort(function(t,e){return t.startOffset-e.startOffset}),n}e.convertEffectInput=function(r){var o=t.normalizeKeyframes(r),s=n(o),a=i(s);return function(t,r){if(null!=r)a.filter(function(t){return r>=t.applyFrom&&r<t.applyTo}).forEach(function(n){var i=r-n.startOffset,o=n.endOffset-n.startOffset,s=0==o?0:n.easingFunction(i/o);e.apply(t,n.property,n.interpolation(s))});else for(var n in s)"offset"!=n&&"easing"!=n&&"composite"!=n&&e.clear(t,n)}}}(c,d),function(t,e,r){function n(t){return t.replace(/-(.)/g,function(t,e){return e.toUpperCase()})}function i(t,e,r){a[r]=a[r]||[],a[r].push([t,e])}function o(t,e,r){for(var o=0;o<r.length;o++){i(t,e,n(r[o]))}}function s(r,i,o){var s=r;/-/.test(r)&&!t.isDeprecated("Hyphenated property names","2016-03-22","Use camelCase instead.",!0)&&(s=n(r)),"initial"!=i&&"initial"!=o||("initial"==i&&(i=u[s]),"initial"==o&&(o=u[s]));for(var c=i==o?[]:a[s],l=0;c&&l<c.length;l++){var h=c[l][0](i),p=c[l][0](o);if(void 0!==h&&void 0!==p){var f=c[l][1](h,p);if(f){var d=e.Interpolation.apply(null,f);return function(t){return 0==t?i:1==t?o:d(t)}}}}return e.Interpolation(!1,!0,function(t){return t?o:i})}var a={};e.addPropertiesHandler=o;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",textIndent:"0px",textShadow:"0px 0px 0px transparent",top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",wordSpacing:"normal",zIndex:"auto"};e.propertyInterpolation=s}(c,d),function(t,e,r){function n(e){var r=t.calculateActiveDuration(e),n=function(n){return t.calculateIterationProgress(r,n,e)};return n._totalDuration=e.delay+r+e.endDelay,n}e.KeyframeEffect=function(r,i,o,s){var a,u=n(t.normalizeTimingInput(o)),c=e.convertEffectInput(i),l=function(){c(r,a)};return l._update=function(t){return null!==(a=u(t))},l._clear=function(){c(r,null)},l._hasSameTarget=function(t){return r===t},l._target=r,l._totalDuration=u._totalDuration,l._id=s,l},e.NullEffect=function(t){var e=function(){t&&(t(),t=null)};return e._update=function(){return null},e._totalDuration=0,e._hasSameTarget=function(){return!1},e}}(c,d),function(t,e){function r(t,e,r){r.enumerable=!0,r.configurable=!0,Object.defineProperty(t,e,r)}function n(t){this._surrogateStyle=document.createElementNS("http://www.w3.org/1999/xhtml","div").style,this._style=t.style,this._length=0,this._isAnimatedProperty={};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 n(t);try{r(t,"style",{get:function(){return e}})}catch(e){t.style._set=function(e,r){t.style[e]=r},t.style._clear=function(e){t.style[e]=""}}t._webAnimationsPatchedStyle=t.style}}var o={cssText:1,length:1,parentRule:1},s={getPropertyCSSValue:1,getPropertyPriority:1,getPropertyValue:1,item:1,removeProperty:1,setProperty:1},a={removeProperty:1,setProperty:1};n.prototype={get cssText(){return this._surrogateStyle.cssText},set cssText(t){for(var e={},r=0;r<this._surrogateStyle.length;r++)e[this._surrogateStyle[r]]=!0;this._surrogateStyle.cssText=t,this._updateIndices();for(var r=0;r<this._surrogateStyle.length;r++)e[this._surrogateStyle[r]]=!0;for(var n in e)this._isAnimatedProperty[n]||this._style.setProperty(n,this._surrogateStyle.getPropertyValue(n))},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(t,e){this._style[t]=e,this._isAnimatedProperty[t]=!0},_clear:function(t){this._style[t]=this._surrogateStyle[t],delete this._isAnimatedProperty[t]}};for(var u in s)n.prototype[u]=function(t,e){return function(){var r=this._surrogateStyle[t].apply(this._surrogateStyle,arguments);return e&&(this._isAnimatedProperty[arguments[0]]||this._style[t].apply(this._style,arguments),this._updateIndices()),r}}(u,u in a);for(var c in document.documentElement.style)c in o||c in s||function(t){r(n.prototype,t,{get:function(){return this._surrogateStyle[t]},set:function(e){this._surrogateStyle[t]=e,this._updateIndices(),this._isAnimatedProperty[t]||(this._style[t]=e)}})}(c);t.apply=function(e,r,n){i(e),e.style._set(t.propertyName(r),n)},t.clear=function(e,r){e._webAnimationsPatchedStyle&&e.style._clear(t.propertyName(r))}}(d),function(t){window.Element.prototype.animate=function(e,r){var n="";return r&&r.id&&(n=r.id),t.timeline._play(t.KeyframeEffect(this,e,r,n))}}(d),function(t,e){function r(t,e,n){if("number"==typeof t&&"number"==typeof e)return t*(1-n)+e*n;if("boolean"==typeof t&&"boolean"==typeof e)return n<.5?t:e;if(t.length==e.length){for(var i=[],o=0;o<t.length;o++)i.push(r(t[o],e[o],n));return i}throw"Mismatched interpolation arguments "+t+":"+e}t.Interpolation=function(t,e,n){return function(i){return n(r(t,e,i))}}}(d),function(t,e){function r(t,e,r){return Math.max(Math.min(t,r),e)}function n(e,n,i){var o=t.dot(e,n);o=r(o,-1,1);var s=[];if(1===o)s=e;else for(var a=Math.acos(o),u=1*Math.sin(i*a)/Math.sqrt(1-o*o),c=0;c<4;c++)s.push(e[c]*(Math.cos(i*a)-o*u)+n[c]*u);return s}var i=function(){function t(t,e){for(var r=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],n=0;n<4;n++)for(var i=0;i<4;i++)for(var o=0;o<4;o++)r[n][i]+=e[n][o]*t[o][i];return r}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 r(r,n,i,o,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]+=r[c]*a[c][u];var l=o[0],h=o[1],p=o[2],f=o[3],d=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];d[0][0]=1-2*(h*h+p*p),d[0][1]=2*(l*h-p*f),d[0][2]=2*(l*p+h*f),d[1][0]=2*(l*h+p*f),d[1][1]=1-2*(l*l+p*p),d[1][2]=2*(h*p-l*f),d[2][0]=2*(l*p-h*f),d[2][1]=2*(h*p+l*f),d[2][2]=1-2*(l*l+h*h),a=t(a,d);var b=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];i[2]&&(b[2][1]=i[2],a=t(a,b)),i[1]&&(b[2][1]=0,b[2][0]=i[0],a=t(a,b)),i[0]&&(b[2][0]=0,b[1][0]=i[0],a=t(a,b));for(var u=0;u<3;u++)for(var c=0;c<3;c++)a[u][c]*=n[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 r}();t.composeMatrix=i,t.quat=n}(d),function(t,e,r){t.sequenceNumber=0;var n=function(t,e,r){this.target=t,this.currentTime=e,this.timelineTime=r,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 r=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!=r&&(this.currentTime=r)}},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 r=this._finishHandlers.indexOf(e);r>=0&&this._finishHandlers.splice(r,1)}},_fireEvents:function(t){if(this._isFinished){if(!this._finishedFlag){var e=new n(this,this._currentTime,t),r=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout(function(){r.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)}}}(c,d),function(t,e,r){function n(t){var e=c;c=[],t<m.currentTime&&(t=m.currentTime),m._animations.sort(i),m._animations=a(t,!0,m._animations)[0],e.forEach(function(e){e[1](t)}),s(),h=void 0}function i(t,e){return t._sequenceNumber-e._sequenceNumber}function o(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function s(){d.forEach(function(t){t()}),d.length=0}function a(t,r,n){b=!0,f=!1,e.timeline.currentTime=t,p=!1;var i=[],o=[],s=[],a=[];return n.forEach(function(e){e._tick(t,r),e._inEffect?(o.push(e._effect),e._markTarget()):(i.push(e._effect),e._unmarkTarget()),e._needsTick&&(p=!0);var n=e._inEffect||e._needsTick;e._inTimeline=n,n?s.push(e):a.push(e)}),d.push.apply(d,i),d.push.apply(d,o),p&&requestAnimationFrame(function(){}),b=!1,[s,a]}var u=window.requestAnimationFrame,c=[],l=0;window.requestAnimationFrame=function(t){var e=l++;return 0==c.length&&u(n),c.push([e,t]),e},window.cancelAnimationFrame=function(t){c.forEach(function(e){e[0]==t&&(e[1]=function(){})})},o.prototype={_play:function(r){r._timing=t.normalizeTimingInput(r.timing);var n=new e.Animation(r);return n._idle=!1,n._timeline=this,this._animations.push(n),e.restart(),e.applyDirtiedAnimation(n),n}};var h=void 0,p=!1,f=!1;e.restart=function(){return p||(p=!0,requestAnimationFrame(function(){}),f=!0),f},e.applyDirtiedAnimation=function(t){if(!b){t._markTarget()
|
24
|
+
;var r=t._targetAnimations();r.sort(i);a(e.timeline.currentTime,!1,r.slice())[1].forEach(function(t){var e=m._animations.indexOf(t);-1!==e&&m._animations.splice(e,1)}),s()}};var d=[],b=!1,m=new o;e.timeline=m}(c,d),function(t,e){function r(t,e){for(var r=0,n=0;n<t.length;n++)r+=t[n]*e[n];return r}function n(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 i(t){var e=t.rad||0;return((t.deg||0)/360+(t.grad||0)/400+(t.turn||0))*(2*Math.PI)+e}function o(t){switch(t.t){case"rotatex":var e=i(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=i(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=i(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 r=t.d[0],n=t.d[1],o=t.d[2],e=i(t.d[3]),s=r*r+n*n+o*o;if(0===s)r=1,n=0,o=0;else if(1!==s){var a=Math.sqrt(s);r/=a,n/=a,o/=a}var u=Math.sin(e/2),c=u*Math.cos(e/2),l=u*u;return[1-2*(n*n+o*o)*l,2*(r*n*l+o*c),2*(r*o*l-n*c),0,2*(r*n*l-o*c),1-2*(r*r+o*o)*l,2*(n*o*l+r*c),0,2*(r*o*l+n*c),2*(n*o*l-r*c),1-2*(r*r+n*n)*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 h=i(t.d[0]),p=i(t.d[1]);return[1,Math.tan(p),0,0,Math.tan(h),1,0,0,0,0,1,0,0,0,0,1];case"skewx":var e=i(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=i(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 r=t.d[0].px||0,n=t.d[1].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,r,n,0,1];case"translatex":var r=t.d[0].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,r,0,0,1];case"translatey":var n=t.d[0].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,0,n,0,1];case"translatez":var o=t.d[0].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,o,1];case"translate3d":var r=t.d[0].px||0,n=t.d[1].px||0,o=t.d[2].px||0;return[1,0,0,0,0,1,0,0,0,0,1,0,r,n,o,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(o).reduce(n)}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 r=1/t(e),n=e[0][0],i=e[0][1],o=e[0][2],s=e[1][0],a=e[1][1],u=e[1][2],c=e[2][0],l=e[2][1],h=e[2][2],p=[[(a*h-u*l)*r,(o*l-i*h)*r,(i*u-o*a)*r,0],[(u*c-s*h)*r,(n*h-o*c)*r,(o*s-n*u)*r,0],[(s*l-a*c)*r,(c*i-n*l)*r,(n*a-i*s)*r,0]],f=[],d=0;d<3;d++){for(var b=0,m=0;m<3;m++)b+=e[3][m]*p[m][d];f.push(b)}return f.push(1),p.push(f),p}function n(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 i(t,e){for(var r=[],n=0;n<4;n++){for(var i=0,o=0;o<4;o++)i+=t[o]*e[o][n];r.push(i)}return r}function o(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,r,n){return[r*t[0]+n*e[0],r*t[1]+n*e[1],r*t[2]+n*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 h=[],p=0;p<4;p++)h.push(l[p].slice());for(var p=0;p<3;p++)h[p][3]=0;if(0===t(h))return!1;var f,d=[];if(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]);f=i(d,n(e(h)))}else f=[0,0,0,1];var b=l[3].slice(0,3),m=[];m.push(l[0].slice(0,3));var v=[];v.push(s(m[0])),m[0]=o(m[0]);var y=[];m.push(l[1].slice(0,3)),y.push(r(m[0],m[1])),m[1]=a(m[1],m[0],1,-y[0]),v.push(s(m[1])),m[1]=o(m[1]),y[0]/=v[1],m.push(l[2].slice(0,3)),y.push(r(m[0],m[2])),m[2]=a(m[2],m[0],1,-y[1]),y.push(r(m[1],m[2])),m[2]=a(m[2],m[1],1,-y[2]),v.push(s(m[2])),m[2]=o(m[2]),y[1]/=v[2],y[2]/=v[2];var g=u(m[1],m[2]);if(r(m[0],g)<0)for(var p=0;p<3;p++)v[p]*=-1,m[p][0]*=-1,m[p][1]*=-1,m[p][2]*=-1;var w,x,_=m[0][0]+m[1][1]+m[2][2]+1;return _>1e-4?(w=.5/Math.sqrt(_),x=[(m[2][1]-m[1][2])*w,(m[0][2]-m[2][0])*w,(m[1][0]-m[0][1])*w,.25/w]):m[0][0]>m[1][1]&&m[0][0]>m[2][2]?(w=2*Math.sqrt(1+m[0][0]-m[1][1]-m[2][2]),x=[.25*w,(m[0][1]+m[1][0])/w,(m[0][2]+m[2][0])/w,(m[2][1]-m[1][2])/w]):m[1][1]>m[2][2]?(w=2*Math.sqrt(1+m[1][1]-m[0][0]-m[2][2]),x=[(m[0][1]+m[1][0])/w,.25*w,(m[1][2]+m[2][1])/w,(m[0][2]-m[2][0])/w]):(w=2*Math.sqrt(1+m[2][2]-m[0][0]-m[1][1]),x=[(m[0][2]+m[2][0])/w,(m[1][2]+m[2][1])/w,.25*w,(m[1][0]-m[0][1])/w]),[b,v,y,x,f]}return c}();t.dot=r,t.makeMatrixDecomposition=a}(d),function(t){function e(t,e){var r=t.exec(e);if(r)return r=t.ignoreCase?r[0].toLowerCase():r[0],[r,e.substr(r.length)]}function r(t,e){e=e.replace(/^\s*/,"");var r=t(e);if(r)return[r[0],r[1].replace(/^\s*/,"")]}function n(t,n,i){t=r.bind(null,t);for(var o=[];;){var s=t(i);if(!s)return[o,i];if(o.push(s[0]),i=s[1],!(s=e(n,i))||""==s[1])return[o,i];i=s[1]}}function i(t,e){for(var r=0,n=0;n<e.length&&(!/\s|,/.test(e[n])||0!=r);n++)if("("==e[n])r++;else if(")"==e[n]&&(r--,0==r&&n++,r<=0))break;var i=t(e.substr(0,n));return void 0==i?void 0:[i,e.substr(n)]}function o(t,e){for(var r=t,n=e;r&&n;)r>n?r%=n:n%=r;return r=t*e/(r+n)}function s(t){return function(e){var r=t(e);return r&&(r[0]=void 0),r}}function a(t,e){return function(r){var n=t(r);return n||[e,r]}}function u(e,r){for(var n=[],i=0;i<e.length;i++){var o=t.consumeTrimmed(e[i],r);if(!o||""==o[0])return;void 0!==o[0]&&n.push(o[0]),r=o[1]}if(""==r)return n}function c(t,e,r,n,i){for(var s=[],a=[],u=[],c=o(n.length,i.length),l=0;l<c;l++){var h=e(n[l%n.length],i[l%i.length]);if(!h)return;s.push(h[0]),a.push(h[1]),u.push(h[2])}return[s,a,function(e){var n=e.map(function(t,e){return u[e](t)}).join(r);return t?t(n):n}]}function l(t,e,r){for(var n=[],i=[],o=[],s=0,a=0;a<r.length;a++)if("function"==typeof r[a]){var u=r[a](t[s],e[s++]);n.push(u[0]),i.push(u[1]),o.push(u[2])}else!function(t){n.push(!1),i.push(!1),o.push(function(){return r[t]})}(a);return[n,i,function(t){for(var e="",r=0;r<t.length;r++)e+=o[r](t[r]);return e}]}t.consumeToken=e,t.consumeTrimmed=r,t.consumeRepeated=n,t.consumeParenthesised=i,t.ignore=s,t.optional=a,t.consumeList=u,t.mergeNestedRepeated=c.bind(null,null),t.mergeWrappedNestedRepeated=c,t.mergeList=l}(d),function(t){function e(e){function r(e){var r=t.consumeToken(/^inset/i,e);if(r)return n.inset=!0,r;var r=t.consumeLengthOrPercent(e);if(r)return n.lengths.push(r[0]),r;var r=t.consumeColor(e);return r?(n.color=r[0],r):void 0}var n={inset:!1,lengths:[],color:null},i=t.consumeRepeated(r,/^/,e);if(i&&i[0].length)return[n,i[1]]}function r(r){var n=t.consumeRepeated(e,/^,/,r);if(n&&""==n[1])return n[0]}function n(e,r){for(;e.lengths.length<Math.max(e.lengths.length,r.lengths.length);)e.lengths.push({px:0});for(;r.lengths.length<Math.max(e.lengths.length,r.lengths.length);)r.lengths.push({px:0});if(e.inset==r.inset&&!!e.color==!!r.color){for(var n,i=[],o=[[],0],s=[[],0],a=0;a<e.lengths.length;a++){var u=t.mergeDimensions(e.lengths[a],r.lengths[a],2==a);o[0].push(u[0]),s[0].push(u[1]),i.push(u[2])}if(e.color&&r.color){var c=t.mergeColors(e.color,r.color);o[1]=c[0],s[1]=c[1],n=c[2]}return[o,s,function(t){for(var r=e.inset?"inset ":" ",o=0;o<i.length;o++)r+=i[o](t[0][o])+" ";return n&&(r+=n(t[1])),r}]}}function i(e,r,n,i){function o(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<n.length||u<i.length;u++){var c=n[u]||o(i[u].inset),l=i[u]||o(n[u].inset);s.push(c),a.push(l)}return t.mergeNestedRepeated(e,r,s,a)}var o=i.bind(null,n,", ");t.addPropertiesHandler(r,o,["box-shadow","text-shadow"])}(d),function(t,e){function r(t){return t.toFixed(3).replace(".000","")}function n(t,e,r){return Math.min(e,Math.max(t,r))}function i(t){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t))return Number(t)}function o(t,e){return[t,e,r]}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(n(1,1/0,t))}]}function u(t,e){return function(i,o){return[i,o,function(i){return r(n(t,e,i))}]}}function c(t,e){return[t,e,Math.round]}t.clamp=n,t.addPropertiesHandler(i,u(0,1/0),["border-image-width","line-height"]),t.addPropertiesHandler(i,u(0,1),["opacity","shape-image-threshold"]),t.addPropertiesHandler(i,s,["flex-grow","flex-shrink"]),t.addPropertiesHandler(i,a,["orphans","widows"]),t.addPropertiesHandler(i,c,["z-index"]),t.parseNumber=i,t.mergeNumbers=o,t.numberToString=r}(d),function(t,e){function r(t,e){if("visible"==t||"visible"==e)return[0,1,function(r){return r<=0?t:r>=1?e:"visible"}]}t.addPropertiesHandler(String,r,["visibility"])}(d),function(t,e){function r(t){t=t.trim(),o.fillStyle="#000",o.fillStyle=t;var e=o.fillStyle;if(o.fillStyle="#fff",o.fillStyle=t,e==o.fillStyle){o.fillRect(0,0,1,1);var r=o.getImageData(0,0,1,1).data;o.clearRect(0,0,1,1);var n=r[3]/255;return[r[0]*n,r[1]*n,r[2]*n,n]}}function n(e,r){return[e,r,function(e){if(e[3])for(var r=0;r<3;r++)e[r]=Math.round(function(t){return Math.max(0,Math.min(255,t))}(e[r]/e[3]));return e[3]=t.numberToString(t.clamp(0,1,e[3])),"rgba("+e.join(",")+")"}]}var i=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");i.width=i.height=1;var o=i.getContext("2d");t.addPropertiesHandler(r,n,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","outline-color","text-decoration-color"]),t.consumeColor=t.consumeParenthesised.bind(null,r),t.mergeColors=n}(d),function(a,b){function c(a,b){if("0"==(b=b.trim().toLowerCase())&&"px".search(a)>=0)return{px:0};if(/^[^(]*$|^calc/.test(b)){b=b.replace(/calc\(/g,"(");var c={};b=b.replace(a,function(t){return c[t]=null,"U"+t});for(var d="U("+a.source+")",e=b.replace(/[-+]?(\d*\.)?\d+/g,"N").replace(new RegExp("N"+d,"g"),"D").replace(/\s[+-]\s/g,"O").replace(/\s/g,""),f=[/N\*(D)/g,/(N|D)[*\/]N/g,/(N|D)O\1/g,/\((N|D)\)/g],g=0;g<f.length;)f[g].test(e)?(e=e.replace(f[g],"$1"),g=0):g++;if("D"==e){for(var h in c){var i=eval(b.replace(new RegExp("U"+h,"g"),"").replace(new RegExp(d,"g"),"*0"));if(!isFinite(i))return;c[h]=i}return c}}}function d(t,r){return e(t,r,!0)}function e(t,e,r){var n,i=[];for(n in t)i.push(n);for(n in e)i.indexOf(n)<0&&i.push(n);return t=i.map(function(e){return t[e]||0}),e=i.map(function(t){return e[t]||0}),[t,e,function(t){var e=t.map(function(e,n){return 1==t.length&&r&&(e=Math.max(e,0)),a.numberToString(e)+i[n]}).join(" + ");return t.length>1?"calc("+e+")":e}]}var f="px|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc",g=c.bind(null,new RegExp(f,"g")),h=c.bind(null,new RegExp(f+"|%","g")),i=c.bind(null,/deg|rad|grad|turn/g);a.parseLength=g,a.parseLengthOrPercent=h,a.consumeLengthOrPercent=a.consumeParenthesised.bind(null,h),a.parseAngle=i,a.mergeDimensions=e;var j=a.consumeParenthesised.bind(null,g),k=a.consumeRepeated.bind(void 0,j,/^/),l=a.consumeRepeated.bind(void 0,k,/^,/);a.consumeSizePairList=l;var m=function(t){var e=l(t);if(e&&""==e[1])return e[0]},n=a.mergeNestedRepeated.bind(void 0,d," "),o=a.mergeNestedRepeated.bind(void 0,n,",");a.mergeNonNegativeSizePair=n,a.addPropertiesHandler(m,o,["background-size"]),a.addPropertiesHandler(h,d,["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"]),a.addPropertiesHandler(h,e,["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","text-indent","top","vertical-align","word-spacing"])}(d,f),function(t,e){function r(e){return t.consumeLengthOrPercent(e)||t.consumeToken(/^auto/,e)}function n(e){var n=t.consumeList([t.ignore(t.consumeToken.bind(null,/^rect/)),t.ignore(t.consumeToken.bind(null,/^\(/)),t.consumeRepeated.bind(null,r,/^,/),t.ignore(t.consumeToken.bind(null,/^\)/))],e);if(n&&4==n[0].length)return n[0]}function i(e,r){return"auto"==e||"auto"==r?[!0,!1,function(n){var i=n?e:r;if("auto"==i)return"auto";var o=t.mergeDimensions(i,i);return o[2](o[0])}]:t.mergeDimensions(e,r)}function o(t){return"rect("+t+")"}var s=t.mergeWrappedNestedRepeated.bind(null,o,i,", ");t.parseBox=n,t.mergeBoxes=s,t.addPropertiesHandler(n,s,["clip"])}(d),function(t,e){function r(t){return function(e){var r=0;return t.map(function(t){return t===l?e[r++]:t})}}function n(t){return t}function i(e){if("none"==(e=e.toLowerCase().trim()))return[];for(var r,n=/\s*(\w+)\(([^)]*)\)/g,i=[],o=0;r=n.exec(e);){if(r.index!=o)return;o=r.index+r[0].length;var s=r[1],a=f[s];if(!a)return;var u=r[2].split(","),c=a[0];if(c.length<u.length)return;for(var l=[],d=0;d<c.length;d++){var b,m=u[d],v=c[d];if(void 0===(b=m?{A:function(e){return"0"==e.trim()?p:t.parseAngle(e)},N:t.parseNumber,T:t.parseLengthOrPercent,L:t.parseLength}[v.toUpperCase()](m):{a:p,n:l[0],t:h}[v]))return;l.push(b)}if(i.push({t:s,d:l}),n.lastIndex==e.length)return i}}function o(t){return t.toFixed(6).replace(".000000","")}function s(e,r){if(e.decompositionPair!==r){e.decompositionPair=r;var n=t.makeMatrixDecomposition(e)}if(r.decompositionPair!==e){r.decompositionPair=e;var i=t.makeMatrixDecomposition(r)}return null==n[0]||null==i[0]?[[!1],[!0],function(t){return t?r[0].d:e[0].d}]:(n[0].push(0),i[0].push(1),[n,i,function(e){var r=t.quat(n[0][3],i[0][3],e[5]);return t.composeMatrix(e[0],e[1],e[2],r,e[4]).map(o).join(",")}])}function a(t){return t.replace(/[xy]/,"")}function u(t){return t.replace(/(x|y|z|3d)?$/,"3d")}function c(e,r){var n=t.makeMatrixDecomposition&&!0,i=!1;if(!e.length||!r.length){e.length||(i=!0,e=r,r=[]);for(var o=0;o<e.length;o++){var c=e[o].t,l=e[o].d,h="scale"==c.substr(0,5)?1:0;r.push({t:c,d:l.map(function(t){if("number"==typeof t)return h;var e={};for(var r in t)e[r]=h;return e})})}}var p=[],d=[],b=[];if(e.length!=r.length){if(!n)return;var m=s(e,r);p=[m[0]],d=[m[1]],b=[["matrix",[m[2]]]]}else for(var o=0;o<e.length;o++){var c,v=e[o].t,y=r[o].t,g=e[o].d,w=r[o].d,x=f[v],_=f[y];if(function(t,e){return"perspective"==t&&"perspective"==e||("matrix"==t||"matrix3d"==t)&&("matrix"==e||"matrix3d"==e)}(v,y)){if(!n)return;var m=s([e[o]],[r[o]]);p.push(m[0]),d.push(m[1]),b.push(["matrix",[m[2]]])}else{if(v==y)c=v;else if(x[2]&&_[2]&&a(v)==a(y))c=a(v),g=x[2](g),w=_[2](w);else{if(!x[1]||!_[1]||u(v)!=u(y)){if(!n)return;var m=s(e,r);p=[m[0]],d=[m[1]],b=[["matrix",[m[2]]]];break}c=u(v),g=x[1](g),w=_[1](w)}for(var S=[],O=[],k=[],j=0;j<g.length;j++){var T="number"==typeof g[j]?t.mergeNumbers:t.mergeDimensions,m=T(g[j],w[j]);S[j]=m[0],O[j]=m[1],k.push(m[2])}p.push(S),d.push(O),b.push([c,k])}}if(i){var E=p;p=d,d=E}return[p,d,function(t){return t.map(function(t,e){var r=t.map(function(t,r){return b[e][1][r](t)}).join(",");return"matrix"==b[e][0]&&16==r.split(",").length&&(b[e][0]="matrix3d"),b[e][0]+"("+r+")"}).join(" ")}]}var l=null,h={px:0},p={deg:0},f={matrix:["NNNNNN",[l,l,0,0,l,l,0,0,0,0,1,0,l,l,0,1],n],matrix3d:["NNNNNNNNNNNNNNNN",n],rotate:["A"],rotatex:["A"],rotatey:["A"],rotatez:["A"],rotate3d:["NNNA"],perspective:["L"],scale:["Nn",r([l,l,1]),n],scalex:["N",r([l,1,1]),r([l,1])],scaley:["N",r([1,l,1]),r([1,l])],scalez:["N",r([1,1,l])],scale3d:["NNN",n],skew:["Aa",null,n],skewx:["A",null,r([l,p])],skewy:["A",null,r([p,l])],translate:["Tt",r([l,l,h]),n],translatex:["T",r([l,h,h]),r([l,h])],translatey:["T",r([h,l,h]),r([h,l])],translatez:["L",r([h,h,l])],translate3d:["TTL",n]};t.addPropertiesHandler(i,c,["transform"])}(d),function(t){function e(t){var e=Number(t);if(!(isNaN(e)||e<100||e>900||e%100!=0))return e}function r(e){return e=100*Math.round(e/100),e=t.clamp(100,900,e),400===e?"normal":700===e?"bold":String(e)}function n(t,e){return[t,e,r]}t.addPropertiesHandler(e,n,["font-weight"])}(d),function(t){function e(t){var e={};for(var r in t)e[r]=-t[r];return e}function r(e){return t.consumeToken(/^(left|center|right|top|bottom)\b/i,e)||t.consumeLengthOrPercent(e)}function n(e,n){var i=t.consumeRepeated(r,/^/,n);if(i&&""==i[1]){var o=i[0];if(o[0]=o[0]||"center",o[1]=o[1]||"center",3==e&&(o[2]=o[2]||{px:0}),o.length==e){if(/top|bottom/.test(o[0])||/left|right/.test(o[1])){var a=o[0];o[0]=o[1],o[1]=a}if(/left|right|center|Object/.test(o[0])&&/top|bottom|center|Object/.test(o[1]))return o.map(function(t){return"object"==typeof t?t:s[t]})}}}function i(n){var i=t.consumeRepeated(r,/^/,n);if(i){for(var o=i[0],a=[{"%":50},{"%":50}],u=0,c=!1,l=0;l<o.length;l++){var h=o[l];"string"==typeof h?(c=/bottom|right/.test(h),u={left:0,right:0,center:u,top:1,bottom:1}[h],a[u]=s[h],"center"==h&&u++):(c&&(h=e(h),h["%"]=(h["%"]||0)+100),a[u]=h,u++,c=!1)}return[a,i[1]]}}function o(e){var r=t.consumeRepeated(i,/^,/,e);if(r&&""==r[1])return r[0]}var s={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},a=t.mergeNestedRepeated.bind(null,t.mergeDimensions," ");t.addPropertiesHandler(n.bind(null,3),a,["transform-origin"]),t.addPropertiesHandler(n.bind(null,2),a,["perspective-origin"]),t.consumePosition=i,t.mergeOffsetList=a;var u=t.mergeNestedRepeated.bind(null,a,", ");t.addPropertiesHandler(o,u,["background-position","object-position"])}(d),function(t){function e(e){var r=t.consumeToken(/^circle/,e);if(r&&r[0])return["circle"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),n,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],r[1]));var o=t.consumeToken(/^ellipse/,e);if(o&&o[0])return["ellipse"].concat(t.consumeList([t.ignore(t.consumeToken.bind(void 0,/^\(/)),i,t.ignore(t.consumeToken.bind(void 0,/^at/)),t.consumePosition,t.ignore(t.consumeToken.bind(void 0,/^\)/))],o[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 r(e,r){if(e[0]===r[0])return"circle"==e[0]?t.mergeList(e.slice(1),r.slice(1),["circle(",t.mergeDimensions," at ",t.mergeOffsetList,")"]):"ellipse"==e[0]?t.mergeList(e.slice(1),r.slice(1),["ellipse(",t.mergeNonNegativeSizePair," at ",t.mergeOffsetList,")"]):"polygon"==e[0]&&e[1]==r[1]?t.mergeList(e.slice(2),r.slice(2),["polygon(",e[1],s,")"]):void 0}var n=t.consumeParenthesised.bind(null,t.parseLengthOrPercent),i=t.consumeRepeated.bind(void 0,n,/^/),o=t.mergeNestedRepeated.bind(void 0,t.mergeDimensions," "),s=t.mergeNestedRepeated.bind(void 0,o,",");t.addPropertiesHandler(e,r,["shape-outside"])}(d),function(t,e){function r(t,e){e.concat([t]).forEach(function(e){e in document.documentElement.style&&(n[t]=e)})}var n={};r("transform",["webkitTransform","msTransform"]),r("transformOrigin",["webkitTransformOrigin"]),r("perspective",["webkitPerspective"]),r("perspectiveOrigin",["webkitPerspectiveOrigin"]),t.propertyName=function(t){return n[t]||t}}(d)}(),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,r){this.target=t,this.currentTime=e,this.timelineTime=r,this.type="cancel",this.bubbles=!1,this.cancelable=!1,this.currentTarget=t,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()},r=window.Element.prototype.animate;window.Element.prototype.animate=function(n,i){var o=r.call(this,n,i);o._cancelHandlers=[],o.oncancel=null;var s=o.cancel;o.cancel=function(){s.call(this);var r=new e(this,null,t()),n=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout(function(){n.forEach(function(t){t.call(r.target,r)})},0)};var a=o.addEventListener;o.addEventListener=function(t,e){"function"==typeof e&&"cancel"==t?this._cancelHandlers.push(e):a.call(this,t,e)};var u=o.removeEventListener;return o.removeEventListener=function(t,e){if("cancel"==t){var r=this._cancelHandlers.indexOf(e);r>=0&&this._cancelHandlers.splice(r,1)}else u.call(this,t,e)},o}}}(),function(t){var e=document.documentElement,r=null,n=!1;try{var i=getComputedStyle(e).getPropertyValue("opacity"),o="0"==i?"1":"0";r=e.animate({opacity:[o,o]},{duration:1}),r.currentTime=0,n=getComputedStyle(e).getPropertyValue("opacity")==o}catch(t){}finally{r&&r.cancel()}if(!n){var s=window.Element.prototype.animate;window.Element.prototype.animate=function(e,r){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,r)}}}(c),b.true=a}({},function(){return this}())},{}],175:[function(t,e,r){(function(t){"use strict";function e(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":u(e))&&"function"!=typeof e?t:e}function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":u(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 i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{return new CustomEvent(t,e)}catch(n){var r=document.createEvent("CustomEvent");return r.initCustomEvent(t,!0,!0,e.detail),r}}function s(t,e){var r=this;f(this,t,{enumerable:!0,get:function(){return r[b][t]},set:function(n){null!=e?e(n):r.setState(t,n)}})}function a(){var t=this,e=this.sideEffects();Object.keys(this[b]).forEach(function(r){if(void 0===t[r]){var n=e[r];s.call(t,r,n)}})}var u="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};Object.defineProperty(r,"__esModule",{value:!0});var c="function"==typeof Symbol&&"symbol"===u(Symbol.iterator)?function(t){return void 0===t?"undefined":u(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":void 0===t?"undefined":u(t)},l=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),h=function t(){i(this,t)},p=t.Symbol||function(t){return"_"+t},f=Object.defineProperty.bind(Object),d=p("root"),b=p("state");r.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h;return function(t){function r(){return i(this,r),e(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return n(r,t),l(r,[{key:"getComponentName",value:function(){throw Error("Component needs to have a name, e.g. `my-tag`. Override `getComponentName`")}},{key:"setupComponent",value:function(t,e){return f(this,b,{value:Object.assign({},this.defaults(),e)}),a.call(this),f(this,d,{value:this.setupDOM(t)}),this}},{key:"setupDOM",value:function(t){return t}},{key:"getRoot",value:function(){return this[d]}},{key:"getEl",value:function(){return this[d]}},{key:"fireEvent",value:function(t,e){var r=this.componentName+"-"+t;this.el.dispatchEvent(o(r,e))}},{key:"defaults",value:function(){return console.warn("defaults not provided"),{}}},{key:"sideEffects",value:function(){return console.warn("sideEffects not provided"),{}}},{key:"setState",value:function(t,e){if("string"==typeof t)this.setStateKV(t,e);else{if("object"!==(void 0===t?"undefined":c(t)))throw Error("setState needs argument");this.setStateMap(t)}}},{key:"setStateKV",value:function(t,e){this[b][t]=e}},{key:"setStateMap",value:function(t){var e=this;Object.keys(this[b]).forEach(function(r){e.setStateKV(r,t[r])})}},{key:"componentName",get:function(){return this.getComponentName()}},{key:"root",get:function(){return this.getRoot()}},{key:"el",get:function(){return this.getEl()}}]),r}(t)}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],176:[function(t,e,r){"use strict";function n(t,e,r,n){return r*t/n+e}function i(t,e){return Math.sqrt(Math.pow(t.pageX-e.pageX,2)+Math.pow(t.pageY-e.pageY,2))}function o(t,e){for(var r=t;null!=r;){if(r.classList&&r.classList.contains(e))return!0;r=r.parentNode}return!1}Object.defineProperty(r,"__esModule",{value:!0}),r.linearTween=n,r.pageDist=i,r.contains=o},{}],177:[function(t,e,r){(function(e){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":s(e))&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":s(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)}var s="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};Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),u=function t(e,r,n){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,r);if(void 0===i){var o=Object.getPrototypeOf(e);return null===o?void 0:t(o,r,n)}if("value"in i)return i.value;var s=i.get;if(void 0!==s)return s.call(n)},c=t("y-component/src/component-core"),l=function(t){return t&&t.__esModule?t:{default:t}}(c),h=t("../common"),p=e.Symbol||function(t){return"_"+t},f=p("idle"),d=p("touching"),b=p("startAnimating"),m=p("animating"),v=Object.defineProperty.bind(Object);r.default=function(t){return function(t){function e(){return n(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return o(e,t),a(e,[{key:"getComponentName",value:function(){return"y-drawer"}},{key:"defaults",value:function(){return{opened:!1,transitionDuration:200,persistent:!1}}},{key:"sideEffects",value:function(){var t=this;return{opened:function(e){!0===e?t.open():t.close()},persistent:function(e){!0===e?t.persist():t.unpersist()}}}},{key:"setupComponent",value:function(t,r){return u(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"setupComponent",this).call(this,t,r),this.cacheDOMElements(),this.defProperties(),this.bindCallbacks(),this.jumpTo(this.opened),this.persistent||this.addEventListeners(),this.persistent&&(this.scrim.style.display="none"),this}},{key:"cacheDOMElements",value:function(){v(this,"scrim",{value:this.root.querySelector(".y-drawer-scrim")}),v(this,"content",{value:this.root.querySelector(".y-drawer-content")})}},{key:"defProperties",value:function(){v(this,"startX",{value:0,writable:!0}),v(this,"startY",{value:0,writable:!0}),v(this,"pageX",{value:0,writable:!0}),v(this,"pageY",{value:0,writable:!0}),v(this,"lastPageX",{value:0,writable:!0}),v(this,"lastPageY",{value:0,writable:!0}),v(this,"isScrolling",{writable:!0}),v(this,"startedMoving",{value:!1,writable:!0}),v(this,"loopState",{value:f,writable:!0}),v(this,"velocity",{value:0,writable:!0}),v(this,"startTranslateX",{value:0,writable:!0}),v(this,"translateX",{value:0,writable:!0}),v(this,"animationFrameRequested",{value:!1,writable:!0}),v(this,"touching",{value:!1,writable:!0}),v(this,"lastTime",{writable:!0}),v(this,"sliderWidth",{writable:!0}),v(this,"animation",{writable:!0,configurable:!0})}},{key:"bindCallbacks",value:function(){v(this,"touchStartCallback",{value:this.touchStartCallback.bind(this)}),v(this,"touchMoveCallback",{value:this.touchMoveCallback.bind(this)}),v(this,"touchEndCallback",{value:this.touchEndCallback.bind(this)}),v(this,"scrimClickCallback",{value:this.scrimClickCallback.bind(this)}),v(this,"animationFrameCallback",{value:this.animationFrameCallback.bind(this)})}},{key:"addEventListeners",value:function(){document.addEventListener("touchstart",this.touchStartCallback,{passive:!1}),document.addEventListener("touchmove",this.touchMoveCallback,{passive:!1}),document.addEventListener("touchend",this.touchEndCallback,{passive:!1}),this.scrim.addEventListener("click",this.scrimClickCallback)}},{key:"removeEventListeners",value:function(){document.removeEventListener("touchstart",this.touchStartCallback,{passive:!1}),document.removeEventListener("touchmove",this.touchMoveCallback,{passive:!1}),document.removeEventListener("touchend",this.touchEndCallback,{passive:!1}),this.scrim.removeEventListener("click",this.scrimClickCallback)}},{key:"requestAnimationLoop",value:function(){this.animationFrameRequested||(this.animationFrameRequested=!0,requestAnimationFrame(this.animationFrameCallback))}},{key:"getNearestTouch",value:function(t){var e=this;return 1===t.length?t[0]:Array.prototype.reduce.call(t,function(t,r){var n=(0,h.pageDist)(e,r);return n<t.dist?{dist:n,touch:r}:t},{dist:Number.POSITIVE_INFINITY,touch:null}).touch}},{key:"touchStartCallback",value:function(t){if(1===t.touches.length){this.isScrolling=void 0;var e=t.touches[0];this.startX=e.pageX,this.startY=e.pageY,this.pageX=e.pageX,this.pageY=e.pageY,this.lastPageX=e.pageX,this.lastPageY=e.pageY,(this.opened||this.pageX<window.innerWidth/3)&&(this.prepInteraction(),this.touching=!0,this.loopState=d)}}},{key:"touchMoveCallback",value:function(t){if(this.touching){var e=this.getNearestTouch(t.touches);if(this.pageX=e.pageX,this.pageY=e.pageY,void 0===this.isScrolling&&this.startedMoving&&(this.isScrolling=Math.abs(this.startY-this.pageY)>Math.abs(this.startX-this.pageX),this.isScrolling||(this.loopState=d,this.requestAnimationLoop())),this.isScrolling)return;t.preventDefault(),this.startedMoving=!0}}},{key:"updateMenuOpen",value:function(){this.velocity>.2?this.setState("opened",!0):this.velocity<-.2?this.setState("opened",!1):this.translateX>=this.sliderWidth/2?this.setState("opened",!0):this.setState("opened",!1)}},{key:"touchEndCallback",value:function(t){if(this.touching){if(this.isScrolling||t.touches.length>0)return;this.startedMoving&&this.updateMenuOpen(),this.opened?this.scrim.style.pointerEvents="all":this.scrim.style.pointerEvents="",this.loopState=b,this.startedMoving=!1,this.touching=!1}}},{key:"scrimClickCallback",value:function(){this.close()}},{key:"prepInteraction",value:function(){this.content.style.willChange="transform",this.scrim.style.willChange="opacity",
|
25
|
+
this.content.classList.remove("y-drawer-opened"),this.sliderWidth=this.getMovableSliderWidth()}},{key:"getMovableSliderWidth",value:function(){return-this.content.offsetLeft}},{key:"animateTo",value:function(t){this.prepInteraction(),this.setState("opened",t),this.loopState=b,this.requestAnimationLoop()}},{key:"jumpTo",value:function(t){this.prepInteraction(),this.setState("opened",t),this.loopState=f,this.startTranslateX=t*this.sliderWidth,this.endAnimating(),this.updateDOM(this.startTranslateX,this.sliderWidth)}},{key:"updateTranslateX",value:function(){var t=this.pageX-this.startX;return this.translateX=this.startTranslateX+t,this.translateX=Math.max(0,Math.min(this.sliderWidth,this.translateX)),t}},{key:"animationFrameCallback",value:function(t){switch(this.loopState){case d:this.touchingFrame(t);break;case b:this.startAnimatingFrame(t),this.loopState=m,this.animationFrameCallback(t);break;case m:this.animatingFrame(t)}}},{key:"touchingFrame",value:function(t){var e=t-this.lastTime;if(e>0){var r=this.pageX-this.lastPageX;this.velocity=r/e*.8+(1-.8)*this.velocity}this.updateTranslateX(),this.updateDOM(this.translateX,this.sliderWidth),this.lastTime=t,this.lastPageX=this.pageX,this.lastPageY=this.pageY,requestAnimationFrame(this.animationFrameCallback)}},{key:"startAnimatingFrame",value:function(t){this.updateTranslateX();var e={};e.startX=this.translateX,e.endX=(this.opened?1:0)*this.sliderWidth,e.changeInValue=e.endX-e.startX,e.startTime=t,this.animation=e}},{key:"animatingFrame",value:function(t){var e=t-this.animation.startTime;e<this.transitionDuration?this.animatingCont(e):this.animatingEnd(),this.updateDOM(this.startTranslateX,this.sliderWidth)}},{key:"animatingCont",value:function(t){var e=this.animation.startX,r=this.animation.changeInValue;this.startTranslateX=(0,h.linearTween)(t,e,r,this.transitionDuration),requestAnimationFrame(this.animationFrameCallback)}},{key:"animatingEnd",value:function(){this.startTranslateX=this.animation.endX,delete this.animation,this.endAnimating()}},{key:"endAnimating",value:function(){this.animationFrameRequested=!1,this.loopState=f,this.velocity=0,this.opened?(this.scrim.style.pointerEvents="all",this.content.classList.add("y-drawer-opened")):this.scrim.style.pointerEvents="",this.content.style.willChange="",this.scrim.style.willChange="",this.fireEvent("transitioned")}},{key:"updateDOM",value:function(t,e){this.content.style.transform="translateX("+t+"px)",this.scrim.style.opacity=t/e}},{key:"close",value:function(){return this.animateTo(!1),this}},{key:"open",value:function(){return this.animateTo(!0),this}},{key:"toggle",value:function(){return this.opened?this.close():this.open(),this}},{key:"persist",value:function(){this.scrim.style.display="none",this.removeEventListeners(),this.setState("persistent",!0)}},{key:"unpersist",value:function(){this.scrim.style.display="",this.addEventListeners(),this.setState("persistent",!1)}}]),e}((0,l.default)(t))}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../common":176,"y-component/src/component-core":175}],178:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":a(e))&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":a(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 s(t){return document.createRange().createContextualFragment(t)}var a="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};Object.defineProperty(r,"__esModule",{value:!0});var u=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),c=t("../core"),l=function(t){return t&&t.__esModule?t:{default:t}}(c),h=function(t){function e(t,r){n(this,e);var o=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return o.setupComponent(t,r),o}return o(e,t),u(e,[{key:"setupDOM",value:function(t){if(!t)throw Error("No element provided");var e=document.createElement("div");e.classList.add("y-drawer-scrim");var r=document.createElement("div");for(r.classList.add("y-drawer-content");t.children.length>0;)r.appendChild(t.children[0]);t.appendChild(e),t.appendChild(r);var n=document.getElementsByTagName("style")[0];return n.parentNode.insertBefore(s("\n<style>\n@media screen {\n .y-drawer-scrim {\n display: block;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n opacity: 0;\n z-index: 0;\n pointer-events: none;\n transform: translate3d(0,0,0);\n -webkit-tap-highlight-color: transparent;\n\n background: rgba(0, 0, 0, 0.67);\n }\n\n .y-drawer-content {\n position: fixed;\n left: 0;\n bottom: 0;\n top: 0;\n z-index: 1;\n overflow-x: hidden;\n overflow-y: auto;\n transform: translate3d(0,0,0);\n -webkit-overflow-scrolling: touch;\n contain: strict;\n\n left: -18rem;\n width: 18rem;\n background: #e8e8e8;\n }\n\n .y-drawer-content.y-drawer-opened {\n left: 0!important;\n transform: translate3d(0,0,0)!important;\n }\n}\n\n@media print {\n .y-drawer-scrim {\n display: none!important;\n }\n\n .y-drawer-content {\n transform: none!important;\n }\n}\n\n</style>"),n),t}}]),e}((0,l.default)());r.default=h},{"../core":177}],179:[function(t,e,r){arguments[4][116][0].apply(r,arguments)},{"./Subscriber":187,dup:116}],180:[function(t,e,r){"use strict";var n=t("./Observable"),i=function(){function t(t,e,r){this.kind=t,this.value=e,this.error=r,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,r){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return r&&r()}},t.prototype.accept=function(t,e,r){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,r)},t.prototype.toObservable=function(){switch(this.kind){case"N":return n.Observable.of(this.value);case"E":return n.Observable.throw(this.error);case"C":return n.Observable.empty()}throw new Error("unexpected notification kind value")},t.createNext=function(e){return void 0!==e?new t("N",e):this.undefinedValueNotification},t.createError=function(e){return new t("E",void 0,e)},t.createComplete=function(){return this.completeNotification},t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}();r.Notification=i},{"./Observable":181}],181:[function(t,e,r){"use strict";var n=t("./util/root"),i=t("./util/toSubscriber"),o=t("./symbol/observable"),s=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n=this.operator,o=i.toSubscriber(t,e,r);if(n?n.call(o,this.source):o.add(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 r=this;if(e||(n.root.Rx&&n.root.Rx.config&&n.root.Rx.config.Promise?e=n.root.Rx.config.Promise:n.root.Promise&&(e=n.root.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,n){var i=r.subscribe(function(e){if(i)try{t(e)}catch(t){n(t),i.unsubscribe()}else t(e)},n,e)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[o.$$observable]=function(){return this},t.create=function(e){return new t(e)},t}();r.Observable=s},{"./symbol/observable":257,"./util/root":271,"./util/toSubscriber":273}],182:[function(t,e,r){arguments[4][118][0].apply(r,arguments)},{dup:118}],183:[function(t,e,r){arguments[4][119][0].apply(r,arguments)},{"./Subscriber":187,dup:119}],184:[function(t,e,r){arguments[4][120][0].apply(r,arguments)},{dup:120}],185:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("./Observable"),o=t("./Subscriber"),s=t("./Subscription"),a=t("./util/ObjectUnsubscribedError"),u=t("./SubjectSubscription"),c=t("./symbol/rxSubscriber"),l=function(t){function e(e){t.call(this,e),this.destination=e}return n(e,t),e}(o.Subscriber);r.SubjectSubscriber=l;var h=function(t){function e(){t.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return n(e,t),e.prototype[c.$$rxSubscriber]=function(){return new l(this)},e.prototype.lift=function(t){var e=new p(this,this);return e.operator=t,e},e.prototype.next=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;if(!this.isStopped)for(var e=this.observers,r=e.length,n=e.slice(),i=0;i<r;i++)n[i].next(t)},e.prototype.error=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;this.hasError=!0,this.thrownError=t,this.isStopped=!0;for(var e=this.observers,r=e.length,n=e.slice(),i=0;i<r;i++)n[i].error(t);this.observers.length=0},e.prototype.complete=function(){if(this.closed)throw new a.ObjectUnsubscribedError;this.isStopped=!0;for(var t=this.observers,e=t.length,r=t.slice(),n=0;n<e;n++)r[n].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 a.ObjectUnsubscribedError;return t.prototype._trySubscribe.call(this,e)},e.prototype._subscribe=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;return this.hasError?(t.error(this.thrownError),s.Subscription.EMPTY):this.isStopped?(t.complete(),s.Subscription.EMPTY):(this.observers.push(t),new u.SubjectSubscription(this,t))},e.prototype.asObservable=function(){var t=new i.Observable;return t.source=this,t},e.create=function(t,e){return new p(t,e)},e}(i.Observable);r.Subject=h;var p=function(t){function e(e,r){t.call(this),this.destination=e,this.source=r}return n(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):s.Subscription.EMPTY},e}(h);r.AnonymousSubject=p},{"./Observable":181,"./SubjectSubscription":186,"./Subscriber":187,"./Subscription":188,"./symbol/rxSubscriber":258,"./util/ObjectUnsubscribedError":260}],186:[function(t,e,r){arguments[4][122][0].apply(r,arguments)},{"./Subscription":188,dup:122}],187:[function(t,e,r){"use strict";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},i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("./util/isFunction"),s=t("./Subscription"),a=t("./Observer"),u=t("./symbol/rxSubscriber"),c=function(t){function e(r,i,o){switch(t.call(this),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a.empty;break;case 1:if(!r){this.destination=a.empty;break}if("object"===(void 0===r?"undefined":n(r))){r instanceof e?(this.destination=r,this.destination.add(this)):(this.syncErrorThrowable=!0,this.destination=new l(this,r));break}default:this.syncErrorThrowable=!0,this.destination=new l(this,r,i,o)}}return i(e,t),e.prototype[u.$$rxSubscriber]=function(){return this},e.create=function(t,r,n){var i=new e(t,r,n);return i.syncErrorThrowable=!1,i},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,r=t._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=e,this._parents=r,this},e}(s.Subscription);r.Subscriber=c;var l=function(t){function e(e,r,n,i){t.call(this),this._parentSubscriber=e;var s,a=this;o.isFunction(r)?s=r:r&&(a=r,s=r.next,n=r.error,i=r.complete,o.isFunction(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this)),this._context=a,this._next=s,this._error=n,this._complete=i}return i(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(){if(!this.isStopped){var t=this._parentSubscriber;this._complete?t.syncErrorThrowable?(this.__tryOrSetError(t,this._complete),this.unsubscribe()):(this.__tryOrUnsub(this._complete),this.unsubscribe()):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,r){try{e.call(this._context,r)}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}(c)},{"./Observer":182,"./Subscription":188,"./symbol/rxSubscriber":258,"./util/isFunction":266}],188:[function(t,e,r){arguments[4][124][0].apply(r,arguments)},{"./util/UnsubscriptionError":261,"./util/errorObject":262,"./util/isArray":263,"./util/isFunction":266,"./util/isObject":268,"./util/tryCatch":274,dup:124}],189:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../observable/defer");n.Observable.defer=i.defer},{"../../Observable":181,"../../observable/defer":222}],190:[function(t,e,r){"use strict";var n=t("../../../Observable"),i=t("../../../observable/dom/ajax");n.Observable.ajax=i.ajax},{"../../../Observable":181,"../../../observable/dom/ajax":224}],191:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../observable/fromEvent");n.Observable.fromEvent=i.fromEvent},{"../../Observable":181,"../../observable/fromEvent":225}],192:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../observable/merge");n.Observable.merge=i.merge},{"../../Observable":181,"../../observable/merge":226}],193:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../observable/of");n.Observable.of=i.of},{"../../Observable":181,"../../observable/of":227}],194:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../observable/throw");n.Observable.throw=i._throw},{"../../Observable":181,"../../observable/throw":228}],195:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../observable/timer");n.Observable.timer=i.timer},{"../../Observable":181,"../../observable/timer":229}],196:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/catch");n.Observable.prototype.catch=i._catch,n.Observable.prototype._catch=i._catch},{"../../Observable":181,"../../operator/catch":230}],197:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/debounceTime");n.Observable.prototype.debounceTime=i.debounceTime},{"../../Observable":181,"../../operator/debounceTime":232}],198:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/delay");n.Observable.prototype.delay=i.delay},{"../../Observable":181,"../../operator/delay":233}],199:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/distinctUntilKeyChanged");n.Observable.prototype.distinctUntilKeyChanged=i.distinctUntilKeyChanged},{"../../Observable":181,"../../operator/distinctUntilKeyChanged":235}],200:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/do");n.Observable.prototype.do=i._do,n.Observable.prototype._do=i._do},{"../../Observable":181,"../../operator/do":236}],201:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/filter");n.Observable.prototype.filter=i.filter},{"../../Observable":181,"../../operator/filter":237}],202:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/map");n.Observable.prototype.map=i.map},{"../../Observable":181,"../../operator/map":238}],203:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/mergeAll");n.Observable.prototype.mergeAll=i.mergeAll},{"../../Observable":181,"../../operator/mergeAll":240}],204:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/retryWhen");n.Observable.prototype.retryWhen=i.retryWhen},{"../../Observable":181,"../../operator/retryWhen":242}],205:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/share");n.Observable.prototype.share=i.share},{"../../Observable":181,"../../operator/share":243}],206:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/startWith");n.Observable.prototype.startWith=i.startWith},{"../../Observable":181,"../../operator/startWith":244}],207:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/switch");n.Observable.prototype.switch=i._switch,n.Observable.prototype._switch=i._switch},{"../../Observable":181,"../../operator/switch":245}],208:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/switchMap");n.Observable.prototype.switchMap=i.switchMap},{"../../Observable":181,"../../operator/switchMap":246}],209:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/take");n.Observable.prototype.take=i.take},{"../../Observable":181,"../../operator/take":247}],210:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/takeUntil");n.Observable.prototype.takeUntil=i.takeUntil},{"../../Observable":181,"../../operator/takeUntil":248}],211:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/throttleTime");n.Observable.prototype.throttleTime=i.throttleTime},{"../../Observable":181,"../../operator/throttleTime":249}],212:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/withLatestFrom");n.Observable.prototype.withLatestFrom=i.withLatestFrom},{"../../Observable":181,"../../operator/withLatestFrom":250}],213:[function(t,e,r){"use strict";var n=t("../../Observable"),i=t("../../operator/zip");n.Observable.prototype.zip=i.zipProto},{"../../Observable":181,"../../operator/zip":251}],214:[function(t,e,r){arguments[4][125][0].apply(r,arguments)},{"../Observable":181,"../util/isScheduler":270,"./EmptyObservable":217,"./ScalarObservable":220,dup:125}],215:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Subject"),o=t("../Observable"),s=t("../Subscriber"),a=t("../Subscription"),u=function(t){function e(e,r){t.call(this),this.source=e,this.subjectFactory=r,this._refCount=0}return n(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||(t=this._connection=new a.Subscription,t.add(this.source.subscribe(new c(this.getSubject(),this))),t.closed?(this._connection=null,t=a.Subscription.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return this.lift(new l(this))},e}(o.Observable);r.ConnectableObservable=u,r.connectableObservableDescriptor={operator:{value:null},_refCount:{value:0,writable:!0},_subscribe:{value:u.prototype._subscribe},getSubject:{value:u.prototype.getSubject},connect:{value:u.prototype.connect},refCount:{value:u.prototype.refCount}};var c=function(t){function e(e,r){t.call(this,e),this.connectable=r}return n(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){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}(i.SubjectSubscriber),l=function(){function t(t){this.connectable=t}return t.prototype.call=function(t,e){var r=this.connectable;r._refCount++;var n=new h(t,r),i=e.subscribe(n);return n.closed||(n.connection=r.connect()),i},t}(),h=function(t){function e(e,r){t.call(this,e),this.connectable=r}return n(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 r=this.connection,n=t._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()},e}(s.Subscriber)},{"../Observable":181,"../Subject":185,"../Subscriber":187,"../Subscription":188}],216:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Observable"),o=t("../util/subscribeToResult"),s=t("../OuterSubscriber"),a=function(t){function e(e){t.call(this),this.observableFactory=e}return n(e,t),e.create=function(t){return new e(t)},e.prototype._subscribe=function(t){return new u(t,this.observableFactory)},e}(i.Observable);r.DeferObservable=a;var u=function(t){function e(e,r){t.call(this,e),this.factory=r,this.tryDefer()}return n(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(o.subscribeToResult(this,t))},e}(s.OuterSubscriber)},{"../Observable":181,"../OuterSubscriber":183,"../util/subscribeToResult":272}],217:[function(t,e,r){arguments[4][127][0].apply(r,arguments)},{"../Observable":181,dup:127}],218:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=t("../Observable"),o=function(t){function e(e,r){t.call(this),this.error=e,this.scheduler=r}return n(e,t),e.create=function(t,r){return new e(t,r)},e.dispatch=function(t){var e=t.error;t.subscriber.error(e)},e.prototype._subscribe=function(t){var r=this.error,n=this.scheduler;if(n)return n.schedule(e.dispatch,0,{error:r,subscriber:t});t.error(r)},e}(i.Observable);r.ErrorObservable=o},{"../Observable":181}],219:[function(t,e,r){arguments[4][128][0].apply(r,arguments)},{"../Observable":181,"../Subscription":188,"../util/errorObject":262,"../util/isFunction":266,"../util/tryCatch":274,dup:128}],220:[function(t,e,r){arguments[4][129][0].apply(r,arguments)},{"../Observable":181,dup:129}],221:[function(t,e,r){arguments[4][130][0].apply(r,arguments)},{"../Observable":181,"../scheduler/async":255,"../util/isDate":265,"../util/isNumeric":267,"../util/isScheduler":270,dup:130}],222:[function(t,e,r){"use strict";var n=t("./DeferObservable");r.defer=n.DeferObservable.create},{"./DeferObservable":216}],223:[function(t,e,r){"use strict";function n(){if(p.root.XMLHttpRequest)return new p.root.XMLHttpRequest;if(p.root.XDomainRequest)return new p.root.XDomainRequest;throw new Error("CORS is not supported by your browser")}function i(){if(p.root.XMLHttpRequest)return new p.root.XMLHttpRequest;var t=void 0;try{for(var e=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],r=0;r<3;r++)try{if(t=e[r],new p.root.ActiveXObject(t))break}catch(t){}return new p.root.ActiveXObject(t)}catch(t){throw new Error("XMLHttpRequest is not supported by your browser")}}function o(t,e){return void 0===e&&(e=null),new y({method:"GET",url:t,headers:e})}function s(t,e,r){return new y({method:"POST",url:t,body:e,headers:r})}function a(t,e){return new y({method:"DELETE",url:t,headers:e})}function u(t,e,r){return new y({method:"PUT",url:t,body:e,headers:r})}function c(t,e,r){return new y({method:"PATCH",url:t,body:e,headers:r})}function l(t,e){return new y({method:"GET",url:t,responseType:"json",headers:e}).lift(new v.MapOperator(function(t,e){return t.response},null))}var h=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},p=t("../../util/root"),f=t("../../util/tryCatch"),d=t("../../util/errorObject"),b=t("../../Observable"),m=t("../../Subscriber"),v=t("../../operator/map");r.ajaxGet=o,r.ajaxPost=s,r.ajaxDelete=a,r.ajaxPut=u,r.ajaxPatch=c,r.ajaxGetJSON=l;var y=function(t){function e(e){t.call(this);var r={async:!0,createXHR:function(){return this.crossDomain?n.call(this):i()},crossDomain:!1,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeof e)r.url=e;else for(var o in e)e.hasOwnProperty(o)&&(r[o]=e[o]);this.request=r}return h(e,t),e.prototype._subscribe=function(t){return new g(t,this.request)},e.create=function(){var t=function(t){return new e(t)};return t.get=o,t.post=s,t.delete=a,t.put=u,t.patch=c,t.getJSON=l,t}(),e}(b.Observable);r.AjaxObservable=y;var g=function(t){function e(e,r){t.call(this,e),this.request=r,this.done=!1;var n=r.headers=r.headers||{};r.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"),"Content-Type"in n||p.root.FormData&&r.body instanceof p.root.FormData||void 0===r.body||(n["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),r.body=this.serializeBody(r.body,r.headers["Content-Type"]),this.send()}return h(e,t),e.prototype.next=function(t){this.done=!0;var e=this,r=e.xhr,n=e.request,i=e.destination,o=new w(t,r,n);i.next(o)},e.prototype.send=function(){var t=this,e=t.request,r=t.request,n=r.user,i=r.method,o=r.url,s=r.async,a=r.password,u=r.headers,c=r.body,l=e.createXHR,h=f.tryCatch(l).call(e);if(h===d.errorObject)this.error(d.errorObject.e);else{this.xhr=h,this.setupEvents(h,e);if((n?f.tryCatch(h.open).call(h,i,o,s,n,a):f.tryCatch(h.open).call(h,i,o,s))===d.errorObject)return this.error(d.errorObject.e),null;if(h.timeout=e.timeout,h.responseType=e.responseType,"withCredentials"in h&&(h.withCredentials=!!e.withCredentials),this.setHeaders(h,u),(c?f.tryCatch(h.send).call(h,c):f.tryCatch(h.send).call(h))===d.errorObject)return this.error(d.errorObject.e),null}return h},e.prototype.serializeBody=function(t,e){if(!t||"string"==typeof t)return t;if(p.root.FormData&&t instanceof p.root.FormData)return t;if(e){var r=e.indexOf(";");-1!==r&&(e=e.substring(0,r))}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 r in e)e.hasOwnProperty(r)&&t.setRequestHeader(r,e[r])},e.prototype.setupEvents=function(t,e){function r(t){var e=r,n=e.subscriber,i=e.progressSubscriber,o=e.request;i&&i.error(t),n.error(new _(this,o))}function n(t){var e=n,r=e.subscriber,i=e.progressSubscriber,o=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?(i&&i.complete(),r.next(t),r.complete()):(i&&i.error(t),r.error(new x("ajax error "+s,this,o)))}}var i=e.progressSubscriber;if(t.ontimeout=r,r.request=e,r.subscriber=this,r.progressSubscriber=i,t.upload&&"withCredentials"in t){if(i){var o;o=function(t){o.progressSubscriber.next(t)},p.root.XDomainRequest?t.onprogress=o:t.upload.onprogress=o,o.progressSubscriber=i}var s;s=function(t){var e=s,r=e.progressSubscriber,n=e.subscriber,i=e.request;r&&r.error(t),n.error(new x("ajax error",this,i))},t.onerror=s,s.request=e,s.subscriber=this,s.progressSubscriber=i}t.onreadystatechange=n,n.subscriber=this,n.progressSubscriber=i,n.request=e},e.prototype.unsubscribe=function(){var e=this,r=e.done,n=e.xhr;!r&&n&&4!==n.readyState&&"function"==typeof n.abort&&n.abort(),t.prototype.unsubscribe.call(this)},e}(m.Subscriber);r.AjaxSubscriber=g;var w=function(){function t(t,e,r){switch(this.originalEvent=t,this.xhr=e,this.request=r,this.status=e.status,this.responseType=e.responseType||r.responseType,this.responseType){case"json":this.response="response"in e?e.responseType?e.response:JSON.parse(e.response||e.responseText||"null"):JSON.parse(e.responseText||"null");break;case"xml":this.response=e.responseXML;break;case"text":default:this.response="response"in e?e.response:e.responseText}}return t}();r.AjaxResponse=w;var x=function(t){function e(e,r,n){t.call(this,e),this.message=e,this.xhr=r,this.request=n,this.status=r.status}return h(e,t),e}(Error);r.AjaxError=x;var _=function(t){function e(e,r){t.call(this,"ajax timeout",e,r)}return h(e,t),e}(x);r.AjaxTimeoutError=_},{"../../Observable":181,"../../Subscriber":187,"../../operator/map":238,"../../util/errorObject":262,"../../util/root":271,"../../util/tryCatch":274}],224:[function(t,e,r){"use strict";var n=t("./AjaxObservable");r.ajax=n.AjaxObservable.create},{"./AjaxObservable":223}],225:[function(t,e,r){arguments[4][132][0].apply(r,arguments)},{"./FromEventObservable":219,dup:132}],226:[function(t,e,r){"use strict";var n=t("../operator/merge");r.merge=n.mergeStatic},{"../operator/merge":239}],227:[function(t,e,r){"use strict";var n=t("./ArrayObservable");r.of=n.ArrayObservable.of},{"./ArrayObservable":214}],228:[function(t,e,r){"use strict";var n=t("./ErrorObservable");r._throw=n.ErrorObservable.create},{"./ErrorObservable":218}],229:[function(t,e,r){arguments[4][133][0].apply(r,arguments)},{"./TimerObservable":221,dup:133}],230:[function(t,e,r){arguments[4][134][0].apply(r,arguments)},{"../OuterSubscriber":183,"../util/subscribeToResult":272,dup:134}],231:[function(t,e,r){arguments[4][135][0].apply(r,arguments)},{"../Observable":181,"../observable/ArrayObservable":214,"../util/isScheduler":270,"./mergeAll":240,dup:135}],232:[function(t,e,r){arguments[4][136][0].apply(r,arguments)},{"../Subscriber":187,"../scheduler/async":255,dup:136}],233:[function(t,e,r){"use strict";function n(t,e){void 0===e&&(e=o.async);var r=s.isDate(t),n=r?+t-e.now():Math.abs(t);return this.lift(new c(n,e))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)
|
26
|
+
},o=t("../scheduler/async"),s=t("../util/isDate"),a=t("../Subscriber"),u=t("../Notification");r.delay=n;var c=function(){function t(t,e){this.delay=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new l(t,this.delay,this.scheduler))},t}(),l=function(t){function e(e,r,n){t.call(this,e),this.delay=r,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}return i(e,t),e.dispatch=function(t){for(var e=t.source,r=e.queue,n=t.scheduler,i=t.destination;r.length>0&&r[0].time-n.now()<=0;)r.shift().notification.observe(i);if(r.length>0){var o=Math.max(0,r[0].time-n.now());this.schedule(t,o)}else e.active=!1},e.prototype._schedule=function(t){this.active=!0,this.add(t.schedule(e.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))},e.prototype.scheduleNotification=function(t){if(!0!==this.errored){var e=this.scheduler,r=new h(e.now()+this.delay,t);this.queue.push(r),!1===this.active&&this._schedule(e)}},e.prototype._next=function(t){this.scheduleNotification(u.Notification.createNext(t))},e.prototype._error=function(t){this.errored=!0,this.queue=[],this.destination.error(t)},e.prototype._complete=function(){this.scheduleNotification(u.Notification.createComplete())},e}(a.Subscriber),h=function(){function t(t,e){this.time=t,this.notification=e}return t}()},{"../Notification":180,"../Subscriber":187,"../scheduler/async":255,"../util/isDate":265}],234:[function(t,e,r){"use strict";function n(t,e){return this.lift(new u(t,e))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber"),s=t("../util/tryCatch"),a=t("../util/errorObject");r.distinctUntilChanged=n;var u=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.compare,this.keySelector))},t}(),c=function(t){function e(e,r,n){t.call(this,e),this.keySelector=n,this.hasKey=!1,"function"==typeof r&&(this.compare=r)}return i(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e=this.keySelector,r=t;if(e&&(r=s.tryCatch(this.keySelector)(t))===a.errorObject)return this.destination.error(a.errorObject.e);var n=!1;if(this.hasKey){if((n=s.tryCatch(this.compare)(this.key,r))===a.errorObject)return this.destination.error(a.errorObject.e)}else this.hasKey=!0;!1===Boolean(n)&&(this.key=r,this.destination.next(t))},e}(o.Subscriber)},{"../Subscriber":187,"../util/errorObject":262,"../util/tryCatch":274}],235:[function(t,e,r){"use strict";function n(t,e){return i.distinctUntilChanged.call(this,function(r,n){return e?e(r[t],n[t]):r[t]===n[t]})}var i=t("./distinctUntilChanged");r.distinctUntilKeyChanged=n},{"./distinctUntilChanged":234}],236:[function(t,e,r){arguments[4][137][0].apply(r,arguments)},{"../Subscriber":187,dup:137}],237:[function(t,e,r){arguments[4][139][0].apply(r,arguments)},{"../Subscriber":187,dup:139}],238:[function(t,e,r){arguments[4][141][0].apply(r,arguments)},{"../Subscriber":187,dup:141}],239:[function(t,e,r){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return this.lift.call(i.apply(void 0,[this].concat(t)))}function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var r=Number.POSITIVE_INFINITY,n=null,i=t[t.length-1];return u.isScheduler(i)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(r=t.pop())):"number"==typeof i&&(r=t.pop()),null===n&&1===t.length&&t[0]instanceof o.Observable?t[0]:new s.ArrayObservable(t,n).lift(new a.MergeAllOperator(r))}var o=t("../Observable"),s=t("../observable/ArrayObservable"),a=t("./mergeAll"),u=t("../util/isScheduler");r.merge=n,r.mergeStatic=i},{"../Observable":181,"../observable/ArrayObservable":214,"../util/isScheduler":270,"./mergeAll":240}],240:[function(t,e,r){arguments[4][142][0].apply(r,arguments)},{"../OuterSubscriber":183,"../util/subscribeToResult":272,dup:142}],241:[function(t,e,r){arguments[4][144][0].apply(r,arguments)},{"../observable/ConnectableObservable":215,dup:144}],242:[function(t,e,r){"use strict";function n(t){return this.lift(new l(t,this))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subject"),s=t("../util/tryCatch"),a=t("../util/errorObject"),u=t("../OuterSubscriber"),c=t("../util/subscribeToResult");r.retryWhen=n;var l=function(){function t(t,e){this.notifier=t,this.source=e}return t.prototype.call=function(t,e){return e.subscribe(new h(t,this.notifier,this.source))},t}(),h=function(t){function e(e,r,n){t.call(this,e),this.notifier=r,this.source=n}return i(e,t),e.prototype.error=function(e){if(!this.isStopped){var r=this.errors,n=this.retries,i=this.retriesSubscription;if(n)this.errors=null,this.retriesSubscription=null;else{if(r=new o.Subject,(n=s.tryCatch(this.notifier)(r))===a.errorObject)return t.prototype.error.call(this,a.errorObject.e);i=c.subscribeToResult(this,n)}this._unsubscribeAndRecycle(),this.errors=r,this.retries=n,this.retriesSubscription=i,r.next(e)}},e.prototype._unsubscribe=function(){var t=this,e=t.errors,r=t.retriesSubscription;e&&(e.unsubscribe(),this.errors=null),r&&(r.unsubscribe(),this.retriesSubscription=null),this.retries=null},e.prototype.notifyNext=function(t,e,r,n,i){var o=this,s=o.errors,a=o.retries,u=o.retriesSubscription;this.errors=null,this.retries=null,this.retriesSubscription=null,this._unsubscribeAndRecycle(),this.errors=s,this.retries=a,this.retriesSubscription=u,this.source.subscribe(this)},e}(u.OuterSubscriber)},{"../OuterSubscriber":183,"../Subject":185,"../util/errorObject":262,"../util/subscribeToResult":272,"../util/tryCatch":274}],243:[function(t,e,r){arguments[4][146][0].apply(r,arguments)},{"../Subject":185,"./multicast":241,dup:146}],244:[function(t,e,r){arguments[4][147][0].apply(r,arguments)},{"../observable/ArrayObservable":214,"../observable/EmptyObservable":217,"../observable/ScalarObservable":220,"../util/isScheduler":270,"./concat":231,dup:147}],245:[function(t,e,r){"use strict";function n(){return this.lift(new a)}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),s=t("../util/subscribeToResult");r._switch=n;var a=function(){function t(){}return t.prototype.call=function(t,e){return e.subscribe(new u(t))},t}(),u=function(t){function e(e){t.call(this,e),this.active=0,this.hasCompleted=!1}return i(e,t),e.prototype._next=function(t){this.unsubscribeInner(),this.active++,this.add(this.innerSubscription=s.subscribeToResult(this,t))},e.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&this.destination.complete()},e.prototype.unsubscribeInner=function(){this.active=this.active>0?this.active-1:0;var t=this.innerSubscription;t&&(t.unsubscribe(),this.remove(t))},e.prototype.notifyNext=function(t,e,r,n,i){this.destination.next(e)},e.prototype.notifyError=function(t){this.destination.error(t)},e.prototype.notifyComplete=function(){this.unsubscribeInner(),this.hasCompleted&&0===this.active&&this.destination.complete()},e}(o.OuterSubscriber)},{"../OuterSubscriber":183,"../util/subscribeToResult":272}],246:[function(t,e,r){arguments[4][148][0].apply(r,arguments)},{"../OuterSubscriber":183,"../util/subscribeToResult":272,dup:148}],247:[function(t,e,r){"use strict";function n(t){return 0===t?new a.EmptyObservable:this.lift(new u(t))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../Subscriber"),s=t("../util/ArgumentOutOfRangeError"),a=t("../observable/EmptyObservable");r.take=n;var u=function(){function t(t){if(this.total=t,this.total<0)throw new s.ArgumentOutOfRangeError}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.total))},t}(),c=function(t){function e(e,r){t.call(this,e),this.total=r,this.count=0}return i(e,t),e.prototype._next=function(t){var e=this.total,r=++this.count;r<=e&&(this.destination.next(t),r===e&&(this.destination.complete(),this.unsubscribe()))},e}(o.Subscriber)},{"../Subscriber":187,"../observable/EmptyObservable":217,"../util/ArgumentOutOfRangeError":259}],248:[function(t,e,r){arguments[4][149][0].apply(r,arguments)},{"../OuterSubscriber":183,"../util/subscribeToResult":272,dup:149}],249:[function(t,e,r){"use strict";function n(t,e){return void 0===e&&(e=a.async),this.lift(new u(t,e))}function i(t){t.subscriber.clearThrottle()}var o=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},s=t("../Subscriber"),a=t("../scheduler/async");r.throttleTime=n;var u=function(){function t(t,e){this.duration=t,this.scheduler=e}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.duration,this.scheduler))},t}(),c=function(t){function e(e,r,n){t.call(this,e),this.duration=r,this.scheduler=n}return o(e,t),e.prototype._next=function(t){this.throttled||(this.add(this.throttled=this.scheduler.schedule(i,this.duration,{subscriber:this})),this.destination.next(t))},e.prototype.clearThrottle=function(){var t=this.throttled;t&&(t.unsubscribe(),this.remove(t),this.throttled=null)},e}(s.Subscriber)},{"../Subscriber":187,"../scheduler/async":255}],250:[function(t,e,r){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var r;"function"==typeof t[t.length-1]&&(r=t.pop());var n=t;return this.lift(new a(n,r))}var i=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=t("../OuterSubscriber"),s=t("../util/subscribeToResult");r.withLatestFrom=n;var a=function(){function t(t,e){this.observables=t,this.project=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.observables,this.project))},t}(),u=function(t){function e(e,r,n){t.call(this,e),this.observables=r,this.project=n,this.toRespond=[];var i=r.length;this.values=new Array(i);for(var o=0;o<i;o++)this.toRespond.push(o);for(var o=0;o<i;o++){var a=r[o];this.add(s.subscribeToResult(this,a,a,o))}}return i(e,t),e.prototype.notifyNext=function(t,e,r,n,i){this.values[r]=e;var o=this.toRespond;if(o.length>0){var s=o.indexOf(r);-1!==s&&o.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}(o.OuterSubscriber)},{"../OuterSubscriber":183,"../util/subscribeToResult":272}],251:[function(t,e,r){"use strict";function n(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];return this.lift.call(i.apply(void 0,[this].concat(t)))}function i(){for(var t=[],e=0;e<arguments.length;e++)t[e-0]=arguments[e];var r=t[t.length-1];return"function"==typeof r&&t.pop(),new s.ArrayObservable(t).lift(new p(r))}var o=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},s=t("../observable/ArrayObservable"),a=t("../util/isArray"),u=t("../Subscriber"),c=t("../OuterSubscriber"),l=t("../util/subscribeToResult"),h=t("../symbol/iterator");r.zipProto=n,r.zipStatic=i;var p=function(){function t(t){this.project=t}return t.prototype.call=function(t,e){return e.subscribe(new f(t,this.project))},t}();r.ZipOperator=p;var f=function(t){function e(e,r,n){void 0===n&&(n=Object.create(null)),t.call(this,e),this.iterators=[],this.active=0,this.project="function"==typeof r?r:null,this.values=n}return o(e,t),e.prototype._next=function(t){var e=this.iterators;a.isArray(t)?e.push(new b(t)):"function"==typeof t[h.$$iterator]?e.push(new d(t[h.$$iterator]())):e.push(new m(this.destination,this,t))},e.prototype._complete=function(){var t=this.iterators,e=t.length;this.active=e;for(var r=0;r<e;r++){var n=t[r];n.stillUnsubscribed?this.add(n.subscribe(n,r)):this.active--}},e.prototype.notifyInactive=function(){0===--this.active&&this.destination.complete()},e.prototype.checkIterators=function(){for(var t=this.iterators,e=t.length,r=this.destination,n=0;n<e;n++){var i=t[n];if("function"==typeof i.hasValue&&!i.hasValue())return}for(var o=!1,s=[],n=0;n<e;n++){var i=t[n],a=i.next();if(i.hasCompleted()&&(o=!0),a.done)return void r.complete();s.push(a.value)}this.project?this._tryProject(s):r.next(s),o&&r.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}(u.Subscriber);r.ZipSubscriber=f;var d=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}(),b=function(){function t(t){this.array=t,this.index=0,this.length=0,this.length=t.length}return t.prototype[h.$$iterator]=function(){return this},t.prototype.next=function(t){var e=this.index++,r=this.array;return e<this.length?{value:r[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}(),m=function(t){function e(e,r,n){t.call(this,e),this.parent=r,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return o(e,t),e.prototype[h.$$iterator]=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,r,n,i){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return l.subscribeToResult(this,this.observable,this,e)},e}(c.OuterSubscriber)},{"../OuterSubscriber":183,"../Subscriber":187,"../observable/ArrayObservable":214,"../symbol/iterator":256,"../util/isArray":263,"../util/subscribeToResult":272}],252:[function(t,e,r){arguments[4][151][0].apply(r,arguments)},{"../Subscription":188,dup:151}],253:[function(t,e,r){arguments[4][152][0].apply(r,arguments)},{"../util/root":271,"./Action":252,dup:152}],254:[function(t,e,r){arguments[4][153][0].apply(r,arguments)},{"../Scheduler":184,dup:153}],255:[function(t,e,r){arguments[4][154][0].apply(r,arguments)},{"./AsyncAction":253,"./AsyncScheduler":254,dup:154}],256:[function(t,e,r){"use strict";function n(t){var e=t.Symbol;if("function"==typeof e)return e.iterator||(e.iterator=e("iterator polyfill")),e.iterator;var r=t.Set;if(r&&"function"==typeof(new r)["@@iterator"])return"@@iterator";var n=t.Map;if(n)for(var i=Object.getOwnPropertyNames(n.prototype),o=0;o<i.length;++o){var s=i[o];if("entries"!==s&&"size"!==s&&n.prototype[s]===n.prototype.entries)return s}return"@@iterator"}var i=t("../util/root");r.symbolIteratorPonyfill=n,r.$$iterator=n(i.root)},{"../util/root":271}],257:[function(t,e,r){"use strict";function n(t){var e,r=t.Symbol;return"function"==typeof r?r.observable?e=r.observable:(e=r("observable"),r.observable=e):e="@@observable",e}var i=t("../util/root");r.getSymbolObservable=n,r.$$observable=n(i.root)},{"../util/root":271}],258:[function(t,e,r){"use strict";var n=t("../util/root"),i=n.root.Symbol;r.$$rxSubscriber="function"==typeof i&&"function"==typeof i.for?i.for("rxSubscriber"):"@@rxSubscriber"},{"../util/root":271}],259:[function(t,e,r){"use strict";var n=function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=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 n(e,t),e}(Error);r.ArgumentOutOfRangeError=i},{}],260:[function(t,e,r){arguments[4][158][0].apply(r,arguments)},{dup:158}],261:[function(t,e,r){arguments[4][159][0].apply(r,arguments)},{dup:159}],262:[function(t,e,r){arguments[4][160][0].apply(r,arguments)},{dup:160}],263:[function(t,e,r){arguments[4][161][0].apply(r,arguments)},{dup:161}],264:[function(t,e,r){arguments[4][162][0].apply(r,arguments)},{dup:162}],265:[function(t,e,r){arguments[4][163][0].apply(r,arguments)},{dup:163}],266:[function(t,e,r){arguments[4][164][0].apply(r,arguments)},{dup:164}],267:[function(t,e,r){arguments[4][165][0].apply(r,arguments)},{"../util/isArray":263,dup:165}],268:[function(t,e,r){arguments[4][166][0].apply(r,arguments)},{dup:166}],269:[function(t,e,r){arguments[4][167][0].apply(r,arguments)},{dup:167}],270:[function(t,e,r){arguments[4][168][0].apply(r,arguments)},{dup:168}],271:[function(t,e,r){arguments[4][169][0].apply(r,arguments)},{dup:169}],272:[function(t,e,r){"use strict";function n(t,e,r,n){var p=new l.InnerSubscriber(t,r,n);if(p.closed)return null;if(e instanceof u.Observable)return e._isScalar?(p.next(e.value),p.complete(),null):e.subscribe(p);if(o.isArrayLike(e)){for(var f=0,d=e.length;f<d&&!p.closed;f++)p.next(e[f]);p.closed||p.complete()}else{if(s.isPromise(e))return e.then(function(t){p.closed||(p.next(t),p.complete())},function(t){return p.error(t)}).then(null,function(t){i.root.setTimeout(function(){throw t})}),p;if(e&&"function"==typeof e[c.$$iterator])for(var b=e[c.$$iterator]();;){var m=b.next();if(m.done){p.complete();break}if(p.next(m.value),p.closed)break}else if(e&&"function"==typeof e[h.$$observable]){var v=e[h.$$observable]();if("function"==typeof v.subscribe)return v.subscribe(new l.InnerSubscriber(t,r,n));p.error(new TypeError("Provided object does not correctly implement Symbol.observable"))}else{var y=a.isObject(e)?"an invalid object":"'"+e+"'",g="You provided "+y+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.";p.error(new TypeError(g))}}return null}var i=t("./root"),o=t("./isArrayLike"),s=t("./isPromise"),a=t("./isObject"),u=t("../Observable"),c=t("../symbol/iterator"),l=t("../InnerSubscriber"),h=t("../symbol/observable");r.subscribeToResult=n},{"../InnerSubscriber":179,"../Observable":181,"../symbol/iterator":256,"../symbol/observable":257,"./isArrayLike":264,"./isObject":268,"./isPromise":269,"./root":271}],273:[function(t,e,r){"use strict";function n(t,e,r){if(t){if(t instanceof i.Subscriber)return t;if(t[o.$$rxSubscriber])return t[o.$$rxSubscriber]()}return t||e||r?new i.Subscriber(t,e,r):new i.Subscriber(s.empty)}var i=t("../Subscriber"),o=t("../symbol/rxSubscriber"),s=t("../Observer");r.toSubscriber=n},{"../Observer":182,"../Subscriber":187,"../symbol/rxSubscriber":258}],274:[function(t,e,r){arguments[4][172][0].apply(r,arguments)},{"./errorObject":262,dup:172}],275:[function(t,e,r){"use strict";function n(t){var e=t.match(/^([^:\/?#]+:)?(?:\/\/([^\/?#]*))?([^?#]+)?(\?[^#]*)?(#.*)?/);if("string"==typeof e[1]&&e[1].length>0&&e[1].toLowerCase()!==window.location.protocol)return!0;var r={http:80,https:443}[window.location.protocol];return"string"==typeof e[2]&&e[2].length>0&&e[2].replace(new RegExp(":("+r+")?$"),"")!==window.location.host}function i(t){return t.replace(/#.*/,"")}function o(t,e){var r=e||window.location.href,n=t.indexOf("#")>-1,o=i(t)===i(r);return n&&o}function s(t,e){return(t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.webkitMatchesSelector||t.oMatchesSelector).call(t,e)}function a(t,e){for(var r=t;r!==document&&r!==document.documentElement;){if(s(r,e))return r;r=r.parentNode}return null}function u(t,e,r){var i=t.href;return!(n(i)||o(i)||s(t,e)||""!==t.target||null!==r&&-1===i.search(r))}function c(){var t=document.documentElement,e=document.body,r="scrollHeight";return t[r]||e[r]}function l(){return window.pageXOffset||document.body.scrollLeft}function h(){return window.pageYOffset||document.body.scrollTop}function p(t,e){return d.Observable.create(function(r){function n(){r.next(i),i*=e,o=setTimeout(n,i)}var i=t,o=void 0;return o=setTimeout(n,i),function(){clearTimeout(o)}})}function f(t){return document.createRange().createContextualFragment(t)}Object.defineProperty(r,"__esModule",{value:!0}),r.isExternal=n,r.stripHash=i,r.isHash=o,r.matches=s,r.querySelectorInv=a,r.shouldLoadAnchor=u,r.getScrollHeight=c,r.getScrollLeft=l,r.getScrollTop=h,r.expInterval=p,r.fragmentFromString=f;var d=t("rxjs/Observable")},{"rxjs/Observable":181}],276:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":s(e))&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":s(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)}var s="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};Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function t(t,e){var r=[],n=!0,i=!1,o=void 0;try{for(var s,a=t[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!e||r.length!==e);n=!0);}catch(t){i=!0,o=t}finally{try{!n&&a.return&&a.return()}finally{if(i)throw o}}return r}return function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),u=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),c=t("rxjs/Observable"),l=t("rxjs/Subject");t("rxjs/add/observable/defer"),t("rxjs/add/observable/fromEvent"),t("rxjs/add/observable/merge"),t("rxjs/add/observable/of"),t("rxjs/add/observable/throw"),t("rxjs/add/observable/timer"),t("rxjs/add/observable/dom/ajax"),t("rxjs/add/operator/catch"),t("rxjs/add/operator/debounceTime"),t("rxjs/add/operator/delay"),t("rxjs/add/operator/distinctUntilKeyChanged"),t("rxjs/add/operator/do"),t("rxjs/add/operator/filter"),t("rxjs/add/operator/map"),t("rxjs/add/operator/mergeAll"),t("rxjs/add/operator/retryWhen"),t("rxjs/add/operator/share"),t("rxjs/add/operator/startWith"),t("rxjs/add/operator/switch"),t("rxjs/add/operator/switchMap"),t("rxjs/add/operator/take"),t("rxjs/add/operator/takeUntil"),t("rxjs/add/operator/throttleTime"),t("rxjs/add/operator/withLatestFrom"),t("rxjs/add/operator/zip");var h=t("y-component/src/component-core"),p=function(t){return t&&t.__esModule?t:{default:t}}(h),f=t("../common"),d=t("./kind");r.default=function(t){return function(t){function e(){return n(this,e),i(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return o(e,t),u(e,[{key:"getComponentName",value:function(){return"y-push-state"}},{key:"defaults",value:function(){return{replaceIds:[],linkSelector:"a[href]",scrollRestoration:!1,hrefRegex:null,blacklist:".no-push-state",duration:0,noPopDuration:!0}}},{key:"sideEffects",value:function(){return{}}},{key:"startHistory",value:function(){return this.checkPreCondition(),this.setupScrollRestoration(),this.cacheTitleElement(),this.setupObservables(),this}},{key:"checkPreCondition",value:function(){if(0===this.replaceIds.length){var t=this.el.id;if(!t)throw Error("No replace ids provided nor does this component have and id");console.warn("No replace ids provided. Will replace entire content of #"+t)}}},{key:"setupScrollRestoration",value:function(){"scrollRestoration"in history&&(history.scrollRestoration=this.scrollRestoration?"manual":"auto"),this.setScrollPosition(),window.addEventListener("beforeunload",this.updateHistoryState.bind(this))}},{key:"cacheTitleElement",value:function(){this.titleElement=document.querySelector("title")||{}}},{key:"bindPushEvents",value:function(t){var e=this;return this.fromEvents(t,"click").map(function(t){return new d.Push(t)}).filter(function(t){return e.isPageChangeEvent(t)}).do(function(t){var r=t.event;e.updateHistoryState(),r.preventDefault()})}},{key:"bindHintEvents",value:function(t){var e=this;return c.Observable.merge(this.fromEvents(t,"mouseenter"),this.fromEvents(t,"touchstart"),this.fromEvents(t,"focus")).map(function(t){return new d.Hint(t)}).filter(function(t){return e.isPageChangeAnchor(t)})}},{key:"bindPopstateEvent",value:function(){return c.Observable.fromEvent(window,"popstate").map(function(t){return new d.Pop(t)}).filter(function(){return null!=window.history.state})}},{key:"linkObservable",value:function(){return c.Observable.of(this.el.querySelectorAll(this.linkSelector))}},{key:"fromEvents",value:function(t,e){return t.map(function(t){return c.Observable.fromEvent(t,e)}).mergeAll()}},{key:"fetchPage",value:function(t){var e=this;return c.Observable.ajax(this.hrefToAjax(t)).map(function(e){var r=e.response;return Object.assign(t,{response:r})}).catch(function(r){return e.recoverIfResponse(t,r)}).retryWhen(function(){return c.Observable.merge(c.Observable.fromEvent(window,"online"),(0,f.expInterval)(1e3,2)).do(e.onRetry.bind(e,t))})}},{key:"hrefToAjax",value:function(t){return{method:"GET",url:t.href,responseType:"text"}}},{key:"recoverIfResponse",value:function(t,e){var r=e.status,n=e.xhr;return n&&r&&r>400?c.Observable.of(Object.assign(t,{response:n.response})):(this.onError(Object.assign(t,e)),c.Observable.throw(e))}},{key:"setupObservables",value:function(){var t=this;this.push$$=new l.Subject,this.hint$$=new l.Subject;var e=this.push$$.switch().throttleTime(this.duration+100),r=this.bindPopstateEvent();this.page$=c.Observable.merge(e,r).share();var n=c.Observable.defer(function(){return c.Observable.merge(t.page$.map(function(){return!0}),t.render$.map(function(){return!1})).startWith(!1)});this.hint$=this.hint$$.switch().withLatestFrom(n).filter(function(t){return!1===a(t,2)[1]}).map(function(t){return a(t,1)[0]}),this.prefetch$=c.Observable.merge(this.hint$,this.page$).distinctUntilKeyChanged("href").switchMap(function(e){return t.fetchPage(e)}).catch(function(t,e){return e}).startWith({}).share(),this.render$=this.page$.do(this.onStart.bind(this)).withLatestFrom(this.prefetch$).switchMap(this.getResponse.bind(this)).map(this.responseToContent.bind(this)).do(this.onReady.bind(this)).do(this.updateDOM.bind(this)).do(this.resetScrollPostion.bind(this)).do(this.onAfter.bind(this)).catch(function(e,r){return t.onError(e),r}).share(),this.render$.debounceTime(this.duration).do(this.renewEventListeners.bind(this)).subscribe(),this.page$.switchMap(function(){return c.Observable.timer(t.duration+200).takeUntil(t.render$)}).subscribe(this.onProgress.bind(this)),this.render$.subscribe(),this.renewEventListeners()}},{key:"getResponse",value:function(t){var e=a(t,2),r=e[0],n=e[1],i=void 0;return r.href===n.href?(i=c.Observable.of(Object.assign(r,{response:n.response})),(r instanceof d.Push||!this.noPopDuration)&&(i=i.delay(this.duration+100))):(i=this.prefetch$.take(1).map(function(t){return Object.assign(r,{response:t.response})}),(r instanceof d.Push||!this.noPopDuration)&&(i=i.zip(c.Observable.timer(this.duration+100),function(t){return t}))),i}},{key:"onStart",value:function(t){var e=t.href;t instanceof d.Push&&window.history.pushState({id:this.componentName},"",e),this.fireEvent("start",{detail:t})}},{key:"onProgress",value:function(t){this.fireEvent("progress",{detail:t})}},{key:"responseToContent",value:function(t){var e=t.response,r=(0,f.fragmentFromString)(e),n=this.getTitleFromDocumentFragment(r),i=this.getContentFromDocumentFragment(r);return Object.assign(t,{title:n,content:i})}},{key:"onReady",value:function(t){this.fireEvent("ready",{detail:t})}},{key:"updateDOM",value:function(t){try{var e=t.href,r=t.title,n=t.content;t instanceof d.Push&&window.history.replaceState({id:this.componentName},r,e),this.titleElement.textContent=r,this.replaceContent(n)}catch(e){throw Object.assign(t,{error:e})}}},{key:"onAfter",value:function(t){this.fireEvent("after",{detail:t})}},{key:"renewEventListeners",value:function(){var t=this.linkObservable();this.push$$.next(this.bindPushEvents(t)),this.hint$$.next(this.bindHintEvents(t))}},{key:"onError",value:function(t){this.el.style.willChange="",this.fireEvent("error",{detail:t})}},{key:"onRetry",value:function(t){this.fireEvent("retry",{detail:t})}},{key:"isPageChangeEvent",value:function(t){var e=t.event;return!e.metaKey&&!e.ctrlKey&&this.isPageChangeAnchor(t)}},{key:"isPageChangeAnchor",value:function(t){var e=t.event.currentTarget;return null!=e&&(0,f.shouldLoadAnchor)(e,this.blacklist,this.hrefRegex)}},{key:"getTitleFromDocumentFragment",value:function(t){return(t.querySelector("title")||{}).textContent}},{key:"getContentFromDocumentFragment",value:function(t){return this.replaceIds.length>0?this.replaceIds.map(function(e){return t.querySelector("#"+e)}):t.querySelector("#"+this.el.id)}},{key:"replaceContent",value:function(t){this.replaceIds.length>0?this.replaceContentByIds(t):this.replaceContentWholesale(t)}},{key:"replaceContentByIds",value:function(t){var e=this.replaceIds.map(function(t){return document.getElementById(t)});Array.prototype.forEach.call(e,function(e){e.parentNode.replaceChild(t.shift(),e)})}},{key:"replaceContentWholesale",value:function(t){this.el.innerHTML=t.innerHTML}},{key:"saveScrollPosition",value:function(t){return Object.assign(t,{scrollTop:(0,f.getScrollTop)(),scrollHeight:(0,f.getScrollHeight)()})}},{key:"updateHistoryState",value:function(){var t=history.state||{id:this.componentName};t=this.scrollRestoration?this.saveScrollPosition(t):t,history.replaceState(t,document.title,window.location.href)}},{key:"setScrollPosition",value:function(){var t=history.state||{};document.body.style.minHeight=(t.scrollHeight||0)+"px",null!=t.scrollTop&&window.scroll(window.pageXOffset,t.scrollTop),document.body.style.minHeight=""}},{key:"resetScrollPostion",value:function(t){this.scrollRestoration&&t instanceof d.Pop&&this.setScrollPosition()}}]),e}((0,p.default)(t))}},{"../common":275,"./kind":277,"rxjs/Observable":181,"rxjs/Subject":185,"rxjs/add/observable/defer":189,"rxjs/add/observable/dom/ajax":190,"rxjs/add/observable/fromEvent":191,"rxjs/add/observable/merge":192,"rxjs/add/observable/of":193,"rxjs/add/observable/throw":194,"rxjs/add/observable/timer":195,"rxjs/add/operator/catch":196,"rxjs/add/operator/debounceTime":197,"rxjs/add/operator/delay":198,"rxjs/add/operator/distinctUntilKeyChanged":199,"rxjs/add/operator/do":200,"rxjs/add/operator/filter":201,"rxjs/add/operator/map":202,"rxjs/add/operator/mergeAll":203,"rxjs/add/operator/retryWhen":204,"rxjs/add/operator/share":205,"rxjs/add/operator/startWith":206,"rxjs/add/operator/switch":207,"rxjs/add/operator/switchMap":208,"rxjs/add/operator/take":209,"rxjs/add/operator/takeUntil":210,"rxjs/add/operator/throttleTime":211,"rxjs/add/operator/withLatestFrom":212,"rxjs/add/operator/zip":213,"y-component/src/component-core":175}],277:[function(t,e,r){"use strict";function n(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called")
|
27
|
+
;return!e||"object"!==(void 0===e?"undefined":s(e))&&"function"!=typeof e?t:e}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":s(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 o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var s="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};Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),u=r.Kind=function t(e){o(this,t),this.event=e};r.Push=function(t){function e(t){o(this,e);var r=n(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.href=t.currentTarget.href,r}return i(e,t),a(e,[{key:"type",get:function(){return"push"}}]),e}(u),r.Hint=function(t){function e(t){o(this,e);var r=n(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.href=t.currentTarget.href,r}return i(e,t),a(e,[{key:"type",get:function(){return"hint"}}]),e}(u),r.Pop=function(t){function e(t){o(this,e);var r=n(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.href=window.location.href,r}return i(e,t),a(e,[{key:"type",get:function(){return"pop"}}]),e}(u)},{}],278:[function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==(void 0===e?"undefined":s(e))&&"function"!=typeof e?t:e}function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":s(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)}var s="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};Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),u=t("../core"),c=function(t){return t&&t.__esModule?t:{default:t}}(u),l=function(t){function e(t,r){n(this,e);var o=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return o.setupComponent(t,r),o}return o(e,t),a(e,[{key:"setupDOM",value:function(t){if(!t)throw Error("No element provided");return t}}]),e}((0,c.default)());r.default=l},{"../core":276}]},{},[9]);
|
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: 6.0.0.pre.
|
4
|
+
version: 6.0.0.pre.beta2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Klampfer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -24,34 +24,6 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.4'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: jekyll-feed
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0.9'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0.9'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: jekyll-sitemap
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '1.0'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '1.0'
|
55
27
|
- !ruby/object:Gem::Dependency
|
56
28
|
name: jekyll-paginate
|
57
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -105,21 +77,19 @@ files:
|
|
105
77
|
- README.md
|
106
78
|
- _includes/about-short.html
|
107
79
|
- _includes/about.html
|
80
|
+
- _includes/body.html
|
108
81
|
- _includes/comments.html
|
109
82
|
- _includes/copyright-header
|
110
83
|
- _includes/footer.html
|
111
84
|
- _includes/head.html
|
85
|
+
- _includes/icon-github.html
|
112
86
|
- _includes/link.html
|
113
|
-
- _includes/menu.html
|
114
87
|
- _includes/message.html
|
115
88
|
- _includes/nav.html
|
116
89
|
- _includes/page-style.html
|
117
90
|
- _includes/pagination.html
|
118
91
|
- _includes/post-list-item.html
|
119
92
|
- _includes/post.html
|
120
|
-
- _includes/pro/project-card.html
|
121
|
-
- _includes/pro/styles/projects.scss
|
122
|
-
- _includes/pro/styles/resume.scss
|
123
93
|
- _includes/related.html
|
124
94
|
- _includes/scripts.html
|
125
95
|
- _includes/scripts/cssrelpreload.min.js
|
@@ -140,10 +110,12 @@ files:
|
|
140
110
|
- _layouts/blog.html
|
141
111
|
- _layouts/compress.html
|
142
112
|
- _layouts/default.html
|
113
|
+
- _layouts/home.html
|
143
114
|
- _layouts/list.html
|
144
115
|
- _layouts/not-found.html
|
145
116
|
- _layouts/page.html
|
146
117
|
- _layouts/post.html
|
118
|
+
- _layouts/redirect.html
|
147
119
|
- _sass/_jekyll-github.scss
|
148
120
|
- _sass/_mixins.scss
|
149
121
|
- _sass/_spinner.scss
|
@@ -187,25 +159,9 @@ files:
|
|
187
159
|
- assets/icomoon/fonts/icomoon.woff
|
188
160
|
- assets/icomoon/selection.json
|
189
161
|
- assets/icomoon/style.css
|
162
|
+
- assets/img/doc.jpg
|
163
|
+
- assets/img/google-fonts.png
|
190
164
|
- assets/img/nap.jpg
|
191
|
-
- assets/img/projects/hyde-v1.png
|
192
|
-
- assets/img/projects/hyde-v1@0,25x.png
|
193
|
-
- assets/img/projects/hyde-v1@0,5x.png
|
194
|
-
- assets/img/projects/hyde-v2.png
|
195
|
-
- assets/img/projects/hyde-v2@0,25x.png
|
196
|
-
- assets/img/projects/hyde-v2@0,5x.png
|
197
|
-
- assets/img/projects/hydejack-v3.jpg
|
198
|
-
- assets/img/projects/hydejack-v3@0,25x.jpg
|
199
|
-
- assets/img/projects/hydejack-v3@0,5x.jpg
|
200
|
-
- assets/img/projects/hydejack-v4.jpg
|
201
|
-
- assets/img/projects/hydejack-v4@0,25x.jpg
|
202
|
-
- assets/img/projects/hydejack-v4@0,5x.jpg
|
203
|
-
- assets/img/projects/hydejack-v5.jpg
|
204
|
-
- assets/img/projects/hydejack-v5@0,25x.jpg
|
205
|
-
- assets/img/projects/hydejack-v5@0,5x.jpg
|
206
|
-
- assets/img/projects/hydejack-v6.jpg
|
207
|
-
- assets/img/projects/hydejack-v6@0,25x.jpg
|
208
|
-
- assets/img/projects/hydejack-v6@0,5x.jpg
|
209
165
|
- assets/js/hydejack.js
|
210
166
|
- assets/resume.json
|
211
167
|
- assets/version.json
|
data/_includes/menu.html
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
{% assign project = include.project %}
|
2
|
-
|
3
|
-
<div class="card">
|
4
|
-
<a href="{{ project.url | relative_url }}" class="no-hover" data-flip="project">
|
5
|
-
<div class="img sixteen-nine">
|
6
|
-
{% if project.screenshot %}
|
7
|
-
{% include srcset-img.html img=project.screenshot alt="Thumbnail" sizes="(min-width: 608px) 22.5rem, 100vw" %}
|
8
|
-
{% endif %}
|
9
|
-
</div>
|
10
|
-
</a>
|
11
|
-
<h3 class="name">
|
12
|
-
<a href="{{ project.url | relative_url }}" data-flip="title">{{ project.title }}</a>
|
13
|
-
</h3>
|
14
|
-
{% if project.caption %}
|
15
|
-
<div class="caption">{{ project.caption | markdownify }}</div>
|
16
|
-
{% endif %}
|
17
|
-
</div>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|