jekyll-theme-hydejack 6.0.0.pre.beta3 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -5
- data/_includes/body.html +10 -8
- data/_includes/copyright-header +1 -1
- data/_includes/footer.html +1 -1
- data/_includes/head.html +1 -1
- data/_includes/message.html +0 -2
- data/_includes/post.html +5 -3
- data/_includes/scripts.html +1 -1
- data/_includes/sidebar.html +1 -1
- data/_includes/styles/inline.scss +1 -1
- data/_includes/styles/style.scss +3 -2
- data/_layouts/base.html +2 -2
- data/_layouts/compress.html +1 -1
- data/_layouts/default.html +4 -3
- data/_layouts/list.html +2 -0
- data/_layouts/page.html +1 -0
- data/_sass/_variables.scss +3 -3
- data/_sass/hydejack/_base-inline.scss +13 -35
- data/_sass/hydejack/_base.scss +13 -35
- data/_sass/hydejack/_content-inline.scss +13 -5
- data/_sass/hydejack/_menu-inline.scss +35 -18
- data/_sass/hydejack/_menu.scss +36 -20
- data/_sass/hydejack/_sidebar-inline.scss +2 -0
- data/_sass/pooleparty/_posts-inline.scss +10 -1
- data/_sass/pooleparty/_posts.scss +35 -0
- data/_sass/pooleparty/_related-inline.scss +0 -5
- data/assets/img/doc.jpg +0 -0
- data/assets/js/hydejack.js +12 -13
- data/assets/version.json +1 -1
- metadata +5 -6
- data/_sass/pooleparty/_layout-inline.scss +0 -11
- data/assets/img/gst.jpg +0 -0
data/_sass/hydejack/_menu.scss
CHANGED
@@ -1,31 +1,31 @@
|
|
1
|
+
// .fixed-top {
|
2
|
+
// position: fixed;
|
3
|
+
// top: 0;
|
4
|
+
// left: 0;
|
5
|
+
// width: 100%;
|
6
|
+
// z-index: 1;
|
7
|
+
// }
|
8
|
+
//
|
9
|
+
// .navbar > .content {
|
10
|
+
// padding-top: 0;
|
11
|
+
// padding-bottom: 0;
|
12
|
+
// min-height: 0;
|
13
|
+
// }
|
14
|
+
|
1
15
|
.menu {
|
2
|
-
// display: block;
|
3
|
-
// padding: 1.
|
4
|
-
// color: $gray;
|
16
|
+
// display: inline-block;
|
17
|
+
// padding: 1.75rem 1.5rem;
|
5
18
|
// border-bottom: none;
|
6
|
-
//
|
7
|
-
//
|
8
|
-
// left: 0;
|
9
|
-
// z-index: 1;
|
19
|
+
// margin-left: -1.5rem;
|
20
|
+
// color: $gray!important;
|
10
21
|
//
|
11
22
|
// @media screen and (min-width: $break-point-2) {
|
23
|
+
// padding: 1.25rem 1.5rem;
|
12
24
|
// position: absolute;
|
13
25
|
// left: -9999px;
|
14
26
|
//
|
15
27
|
// &:focus {
|
16
|
-
//
|
17
|
-
// }
|
18
|
-
// }
|
19
|
-
//
|
20
|
-
// @media screen and (min-width: $break-point-3) {
|
21
|
-
// &:focus {
|
22
|
-
// left: 21.5rem;
|
23
|
-
// }
|
24
|
-
// }
|
25
|
-
//
|
26
|
-
// @media screen and (min-width: $break-point-dynamic) {
|
27
|
-
// &:focus {
|
28
|
-
// left: calc(50% - 24.5rem);
|
28
|
+
// position: static;
|
29
29
|
// }
|
30
30
|
// }
|
31
31
|
|
@@ -33,3 +33,19 @@
|
|
33
33
|
display: none;
|
34
34
|
}
|
35
35
|
}
|
36
|
+
|
37
|
+
.shadow-main {
|
38
|
+
opacity: 0;
|
39
|
+
will-change: opacity;
|
40
|
+
// pointer-events: none;
|
41
|
+
}
|
42
|
+
|
43
|
+
.loading {
|
44
|
+
// display: none;
|
45
|
+
position: absolute;
|
46
|
+
top: 0;
|
47
|
+
right: 0;
|
48
|
+
padding: 3 * 1.75rem 3 * 1.5rem;
|
49
|
+
transform-origin: top right;
|
50
|
+
transform: scale(0.33);
|
51
|
+
}
|
@@ -4,7 +4,7 @@
|
|
4
4
|
// page is wrapped in `.page` and is only used on the page layout.
|
5
5
|
|
6
6
|
.page, .post {
|
7
|
-
margin-bottom:
|
7
|
+
margin-bottom: 3em;
|
8
8
|
|
9
9
|
li + li {
|
10
10
|
margin-top: .25rem;
|
@@ -24,3 +24,12 @@
|
|
24
24
|
margin-bottom: 1rem;
|
25
25
|
color: $gray;
|
26
26
|
}
|
27
|
+
|
28
|
+
// .dingbat::after {
|
29
|
+
// content: "❖";
|
30
|
+
// display: block;
|
31
|
+
// text-align: center;
|
32
|
+
// margin-top: 3rem;
|
33
|
+
// font-size: 1.5rem;
|
34
|
+
// color: #ddd;
|
35
|
+
// }
|
@@ -0,0 +1,35 @@
|
|
1
|
+
// Posts and pages
|
2
|
+
//
|
3
|
+
// Each post is wrapped in `.post` and is used on default and post layouts. Each
|
4
|
+
// page is wrapped in `.page` and is only used on the page layout.
|
5
|
+
|
6
|
+
.page, .post {
|
7
|
+
// margin-bottom: 2em;
|
8
|
+
//
|
9
|
+
// li + li {
|
10
|
+
// margin-top: .25rem;
|
11
|
+
// }
|
12
|
+
}
|
13
|
+
|
14
|
+
// Blog post or page title
|
15
|
+
.page-title, .post-title {
|
16
|
+
// color: #303030;
|
17
|
+
// margin-top: 0;
|
18
|
+
}
|
19
|
+
|
20
|
+
// Meta data line below post title
|
21
|
+
.post-date {
|
22
|
+
// display: block;
|
23
|
+
// margin-top: -0.5rem;
|
24
|
+
// margin-bottom: 1rem;
|
25
|
+
// color: $gray;
|
26
|
+
}
|
27
|
+
|
28
|
+
.dingbat::after {
|
29
|
+
content: "❖";
|
30
|
+
display: block;
|
31
|
+
text-align: center;
|
32
|
+
margin-top: 1.5rem;
|
33
|
+
font-size: 1.5rem;
|
34
|
+
color: #ddd;
|
35
|
+
}
|
data/assets/img/doc.jpg
CHANGED
Binary file
|
data/assets/js/hydejack.js
CHANGED
@@ -11,17 +11,16 @@
|
|
11
11
|
* Copyright (c) 2017 Florian Klampfer
|
12
12
|
* Licensed under MIT
|
13
13
|
* Powered by Hydejack (https://qwtel.com/hydejack/)
|
14
|
-
* Version: 6.0.0
|
14
|
+
* Version: 6.0.0
|
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,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: 6.0.0-beta3")},{}],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]);
|
16
|
+
!function e(t,r,n){function i(s,a){if(!r[s]){if(!t[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:{}};t[s][0].call(l.exports,function(e){var r=t[s][1][e];return i(r||e)},l,l.exports,e,t,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(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(e,t,r){function i(e,t){return(void 0===e?"undefined":n(e))===t}function o(e){return e.replace(/([a-z])-([a-z])/g,function(e,t,r){return t+r.toUpperCase()}).replace(/^-/,"")}function s(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):O?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function a(){var e=t.body;return e||(e=s(O?"svg":"body"),e.fake=!0),e}function u(e,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=e:o.appendChild(t.createTextNode(e)),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,e),f.fake?(f.parentNode.removeChild(f),S.style.overflow=l,S.offsetHeight):p.parentNode.removeChild(p),!!u}function c(e,t){return!!~(""+e).indexOf(t)}function l(e,t){return function(){return e.apply(t,arguments)}}function h(e,t,r){var n;for(var o in e)if(e[o]in t)return!1===r?e[o]:(n=t[e[o]],i(n,"function")?l(n,r||t):n);return!1}function p(e){return e.replace(/([A-Z])/g,function(e,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function f(t,r,n){var i;if("getComputedStyle"in e){i=getComputedStyle.call(e,t,r);var o=e.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&&t.currentStyle&&t.currentStyle[n];return i}function d(t,n){var i=t.length;if("CSS"in e&&"supports"in e.CSS){for(;i--;)if(e.CSS.supports(p(t[i]),n))return!0;return!1}if("CSSSupportsRule"in e){for(var o=[];i--;)o.push("("+p(t[i])+":"+n+")");return o=o.join(" or "),u("@supports ("+o+") { #modernizr { position: absolute; } }",function(e){return"absolute"==f(e,null,"position")})}return r}function b(e,t,n,a){function u(){h&&(delete P.style,delete P.modElem)}if(a=!i(a,"undefined")&&a,!i(n,"undefined")){var l=d(e,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=e.length,p=0;f>p;p++)if(b=e[p],m=P.style[b],c(b,"-")&&(b=o(b)),P.style[b]!==r){if(a||i(n,"undefined"))return u(),"pfx"!=t||b;try{P.style[b]=n}catch(e){}if(P.style[b]!=m)return u(),"pfx"!=t||b}return u(),!1}function m(e,t,r,n,o){var s=e.charAt(0).toUpperCase()+e.slice(1),a=(e+" "+T.join(s+" ")+s).split(" ");return i(t,"string")||i(t,"undefined")?b(a,t,n,o):(a=(e+" "+M.join(s+" ")+s).split(" "),h(a,t,r))}function v(e,t,n){return m(e,r,r,t,n)}var y=[],g={_version:"3.4.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var r=this;setTimeout(function(){t(r[e])},0)},addTest:function(e,t,r){y.push({name:e,fn:t,options:r})},addAsyncTest:function(e){y.push({name:null,fn:e})}},w=function(){};w.prototype=g,w=new w,w.addTest("eventlistener","addEventListener"in e),w.addTest("history",function(){var t=navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone")||"file:"===location.protocol)&&(e.history&&"pushState"in e.history)}),w.addTest("queryselector","querySelector"in t&&"querySelectorAll"in t);var x=[],_=g._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];g._prefixes=_;var S=t.documentElement;w.addTest("classlist","classList"in S),w.addTest("documentfragment",function(){return"createDocumentFragment"in t&&"appendChild"in S});var O="svg"===S.nodeName.toLowerCase();w.addTest("opacity",function(){var e=s("a").style;return e.cssText=_.join("opacity:.55;"),/^0.55$/.test(e.opacity)}),w.addTest("csspointerevents",function(){var e=s("a").style;return e.cssText="pointer-events:auto","auto"===e.pointerEvents}),w.addTest("cssremunit",function(){var e=s("a").style;try{e.fontSize="3rem"}catch(e){}return/rem/.test(e.fontSize)});var k=g.testStyles=u;w.addTest("touchevents",function(){var r;if("ontouchstart"in e||e.DocumentTouch&&t instanceof DocumentTouch)r=!0;else{var n=["@media (",_.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");k(n,function(e){r=9===e.offsetTop})}return r});var j="Moz O ms Webkit",T=g._config.usePrefixes?j.split(" "):[];g._cssomPrefixes=T;var E=function(t){var n,i=_.length,o=e.CSSRule;if(void 0===o)return r;if(!t)return!1;if(t=t.replace(/^@/,""),(n=t.replace(/-/g,"_").toUpperCase()+"_RULE")in o)return"@"+t;for(var s=0;i>s;s++){var a=_[s];if(a.toUpperCase()+"_"+n in o)return"@-"+a.toLowerCase()+"-"+t}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(e,t,r){return 0===e.indexOf("@")?E(e):(-1!=e.indexOf("-")&&(e=o(e)),t?m(e,t,r):m(e,"pfx"))};w.addTest("requestanimationframe",!!C("requestAnimationFrame",e),{aliases:["raf"]}),w.addTest("matchmedia",!!C("matchMedia",e)),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 e,t,r,n,o,s,a;for(var u in y)if(y.hasOwnProperty(u)){if(e=[],t=y[u],t.name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(r=0;r<t.options.aliases.length;r++)e.push(t.options.aliases[r].toLowerCase());for(n=i(t.fn,"function")?t.fn():t.fn,o=0;o<e.length;o++)s=e[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]();e.Modernizr=w}(window,document)},{}],2:[function(e,t,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: 6.0.0")},{}],3:[function(e,t,r){"use strict";function n(e){for(var t=!0,r=0;r<e.length;r+=1){var n=e[r],i=window.Modernizr[n];t=t&&i}return t}function i(e){e.style.display="block",e.style.visibility="visible"}function o(e){e.style.display="none",e.style.visibility="hidden"}function s(e){e.style.display="",e.style.visibility=""}function a(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector).call(e,t)}function u(e,t,r){return c.Observable.create(function(n){return e.animate(t,r).addEventListener("finish",function(e){n.next(e),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=e("rxjs/Observable");r.unhide=s},{"rxjs/Observable":117}],4:[function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.color,r=void 0===t?"#00f":t;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 e(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&a.return&&a.return()}finally{if(i)throw o}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=e("rxjs/Observable"),u=e("rxjs/observable/empty"),c=e("rxjs/observable/fromEvent"),l=e("rxjs/observable/timer"),h=e("color"),p=function(e){return e&&e.__esModule?e:{default:e}}(h),f=e("rxjs/operator/do"),d=e("rxjs/operator/finally"),b=e("rxjs/operator/map"),m=e("rxjs/operator/zip"),v=e("./common"),y=Array.prototype.find,g=.8,w=function(){function e(t){var r,i=t.duration;n(this,e),this.sidebar=document.getElementById("_sidebar"),this.duration=i;var o=document.getElementById("_pageStyle"),s=(r=document.styleSheets,y).call(r,function(e){return e.ownerNode===o});this.rules=s.cssRules||s.rules,this.lastImage=document.getElementById("_main").getAttribute("data-image")}return s(e,[{key:"fetchImage",value:function(e){var t,r=this,n=e.color,o=e.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(e){return e}),d._finally).call(h,function(){p.src=""}),p.src=o}return(t=(t=s,f._do).call(t,function(){i.call(r,e),r.lastImage=o}),b.map).call(t,function(){var e=document.createElement("div");return e.classList.add("sidebar-bg"),e.style.backgroundColor=n,""!==o&&(e.style.backgroundImage="url("+o+")"),e})}},{key:"crossFade",value:function(e){var t,r=o(e,2),n=r[0],i=r[1];return n.parentNode.insertBefore(i,n.nextElementSibling),(t=(0,v.animate)(i,[{opacity:0},{opacity:1}],{duration:this.duration}),d._finally).call(t,function(){return n.parentNode.removeChild(n)})}}]),e}();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(e,t,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(e){window.isDesktop||(e.preventDefault(),window.drawer.toggle())}var o=e("y-drawer/src/vanilla"),s=function(e){return e&&e.__esModule?e:{default:e}}(o),a=e("./common"),u=["eventlistener","queryselector","matchmedia","requestanimationframe","classlist","opacity","csstransforms","csspointerevents","cssremunit"],c="(min-width: 54em)";if((0,a.hasFeatures)(u)){window.isDesktop=window.matchMedia(c).matches;var l=document.getElementById("_yDrawer");!function(e){window.drawer=e,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(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(r,"__esModule",{value:!0});var i=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=e("rxjs/Observable"),s=e("rxjs/observable/empty"),a=function(){function e(t){var r=t.shadowMain,i=t.duration;n(this,e),this.shadowMain=r,this.duration=i}return i(e,null,[{key:"create",value:function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return null!=e.types[t]?new(Function.prototype.bind.apply(e.types[t],[null].concat(n))):new(Function.prototype.bind.apply(e,[null].concat(n)))}}]),i(e,[{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)}}]),e}();r.default=a,a.types={}},{"rxjs/Observable":117,"rxjs/observable/empty":131}],7:[function(e,t,r){"use strict"},{}],8:[function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=e("rxjs/Observable"),u=e("rxjs/observable/timer"),c=e("rxjs/operator/do"),l=e("rxjs/operator/finally"),h=e("../common"),p=e("./flip"),f=function(e){return e&&e.__esModule?e:{default:e}}(p),d=function(e){function t(){return n(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),s(t,[{key:"start",value:function(e){var t,r=this,n=document.createElement("h1");n.classList.add("page-title"),n.textContent=e.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=e.getBoundingClientRect(),o=parseInt(getComputedStyle(e).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 e.style.opacity=0,(t=(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(t,function(){r.shadowMain.style.position="absolute"})}},{key:"ready",value:function(e){var t,r=this;this.shadowMain.style.willChange="opacity";var n=e.querySelector(".page-title, .post-title");return null!=n&&(n.style.opacity=0,n.style.willChange="opacity"),(t=(t=u.timer.call(a.Observable,this.duration+100),c._do).call(t,function(){null!=n&&(n.style.opacity=1,n.style.willChange="")}),l._finally).call(t,function(){r.shadowMain.style.opacity=0,r.shadowMain.style.willChange=""})}}]),t}(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(e,t,r){"use strict";e("core-js/fn/array/for-each"),e("core-js/fn/array/find"),e("core-js/fn/function/bind"),e("core-js/fn/number/constructor"),e("core-js/fn/object/assign"),e("core-js/fn/object/define-property"),e("core-js/fn/object/keys"),e("core-js/fn/array/reduce"),e("web-animations-js"),e("../lib/modernizr"),e("../lib/version"),e("./katex"),e("./drawer"),e("./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(e,t,r){"use strict";function n(e){Array.prototype.forEach.call(e,function(e){e.style.willChange="content"})}function i(e,t){e.outerHTML=l.default.renderToString(t,{displayMode:"math/tex; mode=display"===e.type})}function o(e,t){try{var r=e.previousElementSibling;i(e,t),r&&(0,h.matches)(r,".MathJax_Preview")&&(0,h.hide)(r)}catch(e){console.error(e)}finally{e.style.willChange=""}}function s(e){return e.textContent.replace("% <![CDATA[","").replace("%]]>","")}function a(e){Array.prototype.forEach.call(e,function(e){o(e,s(e))})}function u(){if((0,h.hasFeatures)(p)){var e=document.querySelectorAll('script[type^="math/tex"]');e.length&&(n(e),a(e))}}Object.defineProperty(r,"__esModule",{value:!0}),r.default=u;var c=e("katex"),l=function(e){return e&&e.__esModule?e:{default:e}}(c),h=e("./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(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(){return u._catch.call(this,function(e,t){return console.error(e),t})}var o=function(){function e(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&a.return&&a.return()}finally{if(i)throw o}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=e("rxjs/Observable"),a=e("rxjs/observable/fromEvent"),u=e("rxjs/operator/catch"),c=e("rxjs/operator/do"),l=e("rxjs/operator/debounceTime"),h=e("rxjs/operator/exhaustMap"),p=e("rxjs/operator/filter"),f=e("rxjs/operator/map"),d=e("rxjs/operator/mergeMap"),b=e("rxjs/operator/pairwise"),m=e("rxjs/operator/share"),v=e("rxjs/operator/startWith"),y=e("rxjs/operator/switchMap"),g=e("rxjs/operator/takeUntil"),w=e("rxjs/operator/zip"),x=e("y-push-state/src/vanilla"),_=n(x),S=e("elem-dataset"),O=n(S),k=e("./common"),j=e("./cross-fader"),T=n(j),E=e("./katex"),M=n(E),A=e("./flip/flip"),P=n(A);e("./flip/title"),e("./flip/project");var C=["eventlistener","queryselector","requestanimationframe","classlist","documentfragment","history","opacity","cssanimations"];if((0,k.hasFeatures)(C)){var N,z=navigator.userAgent.toLowerCase(),R=z.indexOf("safari")>0&&z.indexOf("chrome")<0,F=new T.default({duration:500}),q=document.getElementById("_yPushState"),D=document.createElement("div");D.classList.add("shadow-main","fixed-top"),D.innerHTML='\n <div class="content">\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 ',document.querySelector(".navbar .content").appendChild(I);var L=(N=(N=(N=(N=a.fromEvent.call(s.Observable,q,"y-push-state-start"),f.map).call(N,function(e){return e.detail}),f.map).call(N,function(e){return[e,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(e){return e.detail}),m.share).call(N),U=(N=a.fromEvent.call(s.Observable,q,"y-push-state-progress"),f.map).call(N,function(e){return e.detail}),H=(N=(N=a.fromEvent.call(s.Observable,q,"y-push-state-after"),f.map).call(N,function(e){return e.detail}),m.share).call(N);R&&(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(e){var t=o(e,1),r=t[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(e){o(e,2)[1].style.opacity=0}),p.filter).call(N,function(e){return"push"===o(e,1)[0].type||!R}),h.exhaustMap).call(N,function(e){var t,r=o(e,2),n=r[0].type,i=r[1];return(t=(t=(0,k.animate)(i,[{opacity:1},{opacity:0}],{duration:250,easing:"cubic-bezier(0,0,0.32,1)"}),c._do).call(t,function(){"push"===n&&window.scroll(0,0)}),w.zipProto).call(t,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"}),p.filter).call(N,function(e){return"push"===e.type||!R}),y.switchMap).call(N,function(e){var t,r=e.flip,n=o(e.content,1),i=n[0];return(t=r.ready(i),g.takeUntil).call(t,L)}),i).call(N).subscribe(),(N=(N=(N=(N=y.switchMap.call(B,function(e){var t,r=o(e.content,1),n=r[0];return(t=F.fetchImage((0,O.default)(n)),g.takeUntil).call(t,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(e){return"push"===e.type||!R}),f.map).call(N,function(e){return[e,document.querySelector("main")]}),y.switchMap).call(N,function(e){var t=o(e,2),r=t[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:R,scrollRestoration:!R}).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":279}],12:[function(e,t,r){function n(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}var i=e("color-name"),o={};for(var s in i)i.hasOwnProperty(s)&&(o[i[s]]=s);var a=t.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var u in a)if(a.hasOwnProperty(u)){if(!("channels"in a[u]))throw new Error("missing channels property: "+u);if(!("labels"in a[u]))throw new Error("missing channel labels property: "+u);if(a[u].labels.length!==a[u].channels)throw new Error("channel and label counts mismatch: "+u);var c=a[u].channels,l=a[u].labels;delete a[u].channels,delete a[u].labels,Object.defineProperty(a[u],"channels",{value:c}),Object.defineProperty(a[u],"labels",{value:l})}a.rgb.hsl=function(e){var t,r,n,i=e[0]/255,o=e[1]/255,s=e[2]/255,a=Math.min(i,o,s),u=Math.max(i,o,s),c=u-a;return u===a?t=0:i===u?t=(o-s)/c:o===u?t=2+(s-i)/c:s===u&&(t=4+(i-o)/c),t=Math.min(60*t,360),t<0&&(t+=360),n=(a+u)/2,r=u===a?0:n<=.5?c/(u+a):c/(2-u-a),[t,100*r,100*n]},a.rgb.hsv=function(e){var t,r,n,i=e[0],o=e[1],s=e[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?t=0:i===u?t=(o-s)/c:o===u?t=2+(s-i)/c:s===u&&(t=4+(i-o)/c),t=Math.min(60*t,360),t<0&&(t+=360),n=u/255*1e3/10,[t,r,n]},a.rgb.hwb=function(e){var t=e[0],r=e[1],n=e[2],i=a.rgb.hsl(e)[0],o=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[i,100*o,100*n]},a.rgb.cmyk=function(e){var t,r,n,i,o=e[0]/255,s=e[1]/255,a=e[2]/255;return i=Math.min(1-o,1-s,1-a),t=(1-o-i)/(1-i)||0,r=(1-s-i)/(1-i)||0,n=(1-a-i)/(1-i)||0,[100*t,100*r,100*n,100*i]},a.rgb.keyword=function(e){var t=o[e];if(t)return t;var r,s=1/0;for(var a in i)if(i.hasOwnProperty(a)){var u=i[a],c=n(e,u);c<s&&(s=c,r=a)}return r},a.keyword.rgb=function(e){return i[e]},a.rgb.xyz=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255;return t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/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*t+.3576*r+.1805*n),100*(.2126*t+.7152*r+.0722*n),100*(.0193*t+.1192*r+.9505*n)]},a.rgb.lab=function(e){var t,r,n,i=a.rgb.xyz(e),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,t=116*s-16,r=500*(o-s),n=200*(s-u),[t,r,n]},a.hsl.rgb=function(e){var t,r,n,i,o,s=e[0]/360,a=e[1]/100,u=e[2]/100;if(0===a)return o=255*u,[o,o,o];r=u<.5?u*(1+a):u+a-u*a,t=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?t+6*(r-t)*n:2*n<1?r:3*n<2?t+(r-t)*(2/3-n)*6:t,i[c]=255*o;return i},a.hsl.hsv=function(e){var t,r,n=e[0],i=e[1]/100,o=e[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,t=0===o?2*s/(a+s):2*i/(o+i),[n,100*t,100*r]},a.hsv.rgb=function(e){var t=e[0]/60,r=e[1]/100,n=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),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(e){var t,r,n,i=e[0],o=e[1]/100,s=e[2]/100,a=Math.max(s,.01);return n=(2-o)*s,t=(2-o)*a,r=o*a,r/=t<=1?t:2-t,r=r||0,n/=2,[i,100*r,100*n]},a.hwb.rgb=function(e){var t,r,n,i,o=e[0]/360,s=e[1]/100,a=e[2]/100,u=s+a;u>1&&(s/=u,a/=u),t=Math.floor(6*o),r=1-a,n=6*o-t,0!=(1&t)&&(n=1-n),i=s+n*(r-s);var c,l,h;switch(t){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(e){var t,r,n,i=e[0]/100,o=e[1]/100,s=e[2]/100,a=e[3]/100;return t=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*t,255*r,255*n]},a.xyz.rgb=function(e){var t,r,n,i=e[0]/100,o=e[1]/100,s=e[2]/100;return t=3.2406*i+-1.5372*o+-.4986*s,r=-.9689*i+1.8758*o+.0415*s,n=.0557*i+-.204*o+1.057*s,t=t>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,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,t=Math.min(Math.max(0,t),1),r=Math.min(Math.max(0,r),1),n=Math.min(Math.max(0,n),1),[255*t,255*r,255*n]},a.xyz.lab=function(e){var t,r,n,i=e[0],o=e[1],s=e[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,t=116*o-16,r=500*(i-o),n=200*(o-s),[t,r,n]},a.lab.xyz=function(e){var t,r,n,i=e[0],o=e[1],s=e[2];r=(i+16)/116,t=o/500+r,n=r-s/200;var a=Math.pow(r,3),u=Math.pow(t,3),c=Math.pow(n,3);return r=a>.008856?a:(r-16/116)/7.787,t=u>.008856?u:(t-16/116)/7.787,n=c>.008856?c:(n-16/116)/7.787,t*=95.047,r*=100,n*=108.883,[t,r,n]},a.lab.lch=function(e){var t,r,n,i=e[0],o=e[1],s=e[2];return t=Math.atan2(s,o),r=360*t/2/Math.PI,r<0&&(r+=360),n=Math.sqrt(o*o+s*s),[i,n,r]},a.lch.lab=function(e){var t,r,n,i=e[0],o=e[1],s=e[2];return n=s/360*2*Math.PI,t=o*Math.cos(n),r=o*Math.sin(n),[i,t,r]},a.rgb.ansi16=function(e){var t=e[0],r=e[1],n=e[2],i=1 in arguments?arguments[1]:a.rgb.hsv(e)[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(t/255));return 2===i&&(o+=60),o},a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])},a.rgb.ansi256=function(e){var t=e[0],r=e[1],n=e[2];return t===r&&r===n?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},a.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];var r=.5*(1+~~(e>50));return[(1&t)*r*255,(t>>1&1)*r*255,(t>>2&1)*r*255]},a.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}e-=16;var r;return[Math.floor(e/36)/5*255,Math.floor((r=e%36)/6)/5*255,r%6/5*255]},a.rgb.hex=function(e){var t=((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2])),r=t.toString(16).toUpperCase();return"000000".substring(r.length)+r},a.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var r=t[0];3===t[0].length&&(r=r.split("").map(function(e){return e+e}).join(""));var n=parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},a.rgb.hcg=function(e){var t,r,n=e[0]/255,i=e[1]/255,o=e[2]/255,s=Math.max(Math.max(n,i),o),a=Math.min(Math.min(n,i),o),u=s-a;return t=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*t]},a.hsl.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1,i=0;return n=r<.5?2*t*r:2*t*(1-r),n<1&&(i=(r-.5*n)/(1-n)),[e[0],100*n,100*i]},a.hsv.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=t*r,i=0;return n<1&&(i=(r-n)/(1-n)),[e[0],100*n,100*i]},a.hcg.rgb=function(e){var t=e[0]/360,r=e[1]/100,n=e[2]/100;if(0===r)return[255*n,255*n,255*n];var i=[0,0,0],o=t%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(e){var t=e[1]/100,r=e[2]/100,n=t+r*(1-t),i=0;return n>0&&(i=t/n),[e[0],100*i,100*n]},a.hcg.hsl=function(e){var t=e[1]/100,r=e[2]/100,n=r*(1-t)+.5*t,i=0;return n>0&&n<.5?i=t/(2*n):n>=.5&&n<1&&(i=t/(2*(1-n))),[e[0],100*i,100*n]},a.hcg.hwb=function(e){var t=e[1]/100,r=e[2]/100,n=t+r*(1-t);return[e[0],100*(n-t),100*(1-n)]},a.hwb.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1-r,i=n-t,o=0;return i<1&&(o=(n-i)/(1-i)),[e[0],100*i,100*o]},a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]},a.gray.hwb=function(e){return[0,100,e[0]]},a.gray.cmyk=function(e){return[0,0,0,e[0]]},a.gray.lab=function(e){return[e[0],0,0]},a.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),r=(t<<16)+(t<<8)+t,n=r.toString(16).toUpperCase()
|
17
|
+
;return"000000".substring(n.length)+n},a.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}},{"color-name":15}],13:[function(e,t,r){function n(e){var t=function(t){return void 0===t||null===t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}function i(e){var t=function(t){if(void 0===t||null===t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var r=e(t);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 e&&(t.conversion=e.conversion),t}var o=e("./conversions"),s=e("./route"),a={};Object.keys(o).forEach(function(e){a[e]={},Object.defineProperty(a[e],"channels",{value:o[e].channels}),Object.defineProperty(a[e],"labels",{value:o[e].labels});var t=s(e);Object.keys(t).forEach(function(r){var o=t[r];a[e][r]=i(o),a[e][r].raw=n(o)})}),t.exports=a},{"./conversions":12,"./route":14}],14:[function(e,t,r){function n(){for(var e={},t=u.length,r=0;r<t;r++)e[u[r]]={distance:-1,parent:null};return e}function i(e){var t=n(),r=[e];for(t[e].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=t[c];-1===l.distance&&(l.distance=t[i].distance+1,l.parent=i,r.unshift(c))}return t}function o(e,t){return function(r){return t(e(r))}}function s(e,t){for(var r=[t[e].parent,e],n=a[t[e].parent][e],i=t[e].parent;t[i].parent;)r.unshift(t[i].parent),n=o(a[t[i].parent][i],n),i=t[i].parent;return n.conversion=r,n}var a=e("./conversions"),u=Object.keys(a);t.exports=function(e){for(var t=i(e),r={},n=Object.keys(t),o=n.length,a=0;a<o;a++){var u=n[a];null!==t[u].parent&&(r[u]=s(u,t))}return r}},{"./conversions":12}],15:[function(e,t,r){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},{}],16:[function(e,t,r){function n(e,t,r){return Math.min(Math.max(t,e),r)}function i(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var o=e("color-name"),s=e("simple-swizzle"),a={};for(var u in o)o.hasOwnProperty(u)&&(a[o[u]]=u);var c=t.exports={to:{}};c.get=function(e){var t,r,n=e.substring(0,3).toLowerCase();switch(n){case"hsl":t=c.get.hsl(e),r="hsl";break;case"hwb":t=c.get.hwb(e),r="hwb";break;default:t=c.get.rgb(e),r="rgb"}return t?{model:r,value:t}:null},c.get.rgb=function(e){if(!e)return null;var t,r,i,s=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(i=t[2],t=t[1],r=0;r<3;r++){var a=2*r;s[r]=parseInt(t.slice(a,a+2),16)}i&&(s[3]=Math.round(parseInt(i,16)/255*100)/100)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(t=t[1],i=t[3],r=0;r<3;r++)s[r]=parseInt(t[r]+t[r],16);i&&(s[3]=Math.round(parseInt(i+i,16)/255*100)/100)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(r=0;r<3;r++)s[r]=parseInt(t[r+1],0);t[4]&&(s[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)))return(t=e.match(/(\D+)/))?"transparent"===t[1]?[0,0,0,0]:(s=o[t[1]])?(s[3]=1,s):null:null;for(r=0;r<3;r++)s[r]=Math.round(2.55*parseFloat(t[r+1]));t[4]&&(s[3]=parseFloat(t[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(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(t){var r=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,n(parseFloat(t[2]),0,100),n(parseFloat(t[3]),0,100),n(isNaN(r)?1:r,0,1)]}return null},c.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(t){var r=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,n(parseFloat(t[2]),0,100),n(parseFloat(t[3]),0,100),n(isNaN(r)?1:r,0,1)]}return null},c.to.hex=function(){var e=s(arguments);return"#"+i(e[0])+i(e[1])+i(e[2])+(e[3]<1?i(Math.round(255*e[3])):"")},c.to.rgb=function(){var e=s(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},c.to.rgb.percent=function(){var e=s(arguments),t=Math.round(e[0]/255*100),r=Math.round(e[1]/255*100),n=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+r+"%, "+n+"%)":"rgba("+t+"%, "+r+"%, "+n+"%, "+e[3]+")"},c.to.hsl=function(){var e=s(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},c.to.hwb=function(){var e=s(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},c.to.keyword=function(e){return a[e.slice(0,3)]}},{"color-name":15,"simple-swizzle":173}],17:[function(e,t,r){"use strict";function n(e,t){if(!(this instanceof n))return new n(e,t);if(t&&t in f&&(t=null),t&&!(t in h))throw new Error("Unknown model: "+t);var r,i;if(e)if(e instanceof n)this.model=e.model,this.color=e.color.slice(),this.valpha=e.valpha;else if("string"==typeof e){var o=l.get(e);if(null===o)throw new Error("Unable to parse color from string: "+e);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(e.length){this.model=t||"rgb",i=h[this.model].channels;var s=p.call(e,0,i);this.color=c(s,i),this.valpha="number"==typeof e[i]?e[i]:1}else if("number"==typeof e)e&=16777215,this.model="rgb",this.color=[e>>16&255,e>>8&255,255&e],this.valpha=1;else{this.valpha=1;var a=Object.keys(e);"alpha"in e&&(a.splice(a.indexOf("alpha"),1),this.valpha="number"==typeof e.alpha?e.alpha:0);var u=a.sort().join("");if(!(u in d))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=d[u];var m=h[this.model].labels,v=[];for(r=0;r<m.length;r++)v.push(e[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(e,t){return Number(e.toFixed(t))}function o(e){return function(t){return i(t,e)}}function s(e,t,r){return e=Array.isArray(e)?e:[e],e.forEach(function(e){(b[e]||(b[e]=[]))[t]=r}),e=e[0],function(n){var i;return arguments.length?(r&&(n=r(n)),i=this[e](),i.color[t]=n,i):(i=this[e]().color[t],r&&(i=r(i)),i)}}function a(e){return function(t){return Math.max(0,Math.min(e,t))}}function u(e){return Array.isArray(e)?e:[e]}function c(e,t){for(var r=0;r<t;r++)"number"!=typeof e[r]&&(e[r]=0);return e}var l=e("color-string"),h=e("color-convert"),p=[].slice,f=["keyword","gray","hex"],d={};Object.keys(h).forEach(function(e){d[p.call(h[e].labels).sort().join("")]=e});var b={};n.prototype={toString:function(){return this.string()},toJSON:function(){return this[this.model]()},string:function(e){var t=this.model in l.to?this:this.rgb();t=t.round("number"==typeof e?e:1);var r=1===t.valpha?t.color:t.color.concat(this.valpha);return l.to[t.model](r)},percentString:function(e){var t=this.rgb().round("number"==typeof e?e:1),r=1===t.valpha?t.color:t.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 e={},t=h[this.model].channels,r=h[this.model].labels,n=0;n<t;n++)e[r[n]]=this.color[n];return 1!==this.valpha&&(e.alpha=this.valpha),e},unitArray:function(){var e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,1!==this.valpha&&e.push(this.valpha),e},unitObject:function(){var e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,1!==this.valpha&&(e.alpha=this.valpha),e},round:function(e){return e=Math.max(e||0,0),new n(this.color.map(o(e)).concat(this.valpha),this.model)},alpha:function(e){return arguments.length?new n(this.color.concat(Math.max(0,Math.min(1,e))),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(e){return(e%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(e){return arguments.length?new n(e):h[this.model].keyword(this.color)},hex:function(e){return arguments.length?new n(e):l.to.hex(this.rgb().round().color)},rgbNumber:function(){var e=this.rgb().color;return(255&e[0])<<16|(255&e[1])<<8|255&e[2]},luminosity:function(){for(var e=this.rgb().color,t=[],r=0;r<e.length;r++){var n=e[r]/255;t[r]=n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),r=e.luminosity();return t>r?(t+.05)/(r+.05):(r+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.rgb().color;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=this.rgb(),t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten:function(e){var t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken:function(e){var t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate:function(e){var t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate:function(e){var t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten:function(e){var t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken:function(e){var t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale:function(){var e=this.rgb().color,t=.3*e[0]+.59*e[1]+.11*e[2];return n.rgb(t,t,t)},fade:function(e){return this.alpha(this.valpha-this.valpha*e)},opaquer:function(e){return this.alpha(this.valpha+this.valpha*e)},rotate:function(e){var t=this.hsl(),r=t.color[0];return r=(r+e)%360,r=r<0?360+r:r,t.color[0]=r,t},mix:function(e,t){var r=this.rgb(),i=e.rgb(),o=void 0===t?.5:t,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(e){if(-1===f.indexOf(e)){var t=h[e].channels;n.prototype[e]=function(){if(this.model===e)return new n(this);if(arguments.length)return new n(arguments,e);var r="number"==typeof arguments[t]?t:this.valpha;return new n(u(h[this.model][e].raw(this.color)).concat(r),e)},n[e]=function(r){return"number"==typeof r&&(r=c(p.call(arguments),t)),new n(r,e)}}}),t.exports=n},{"color-convert":13,"color-string":16}],18:[function(e,t,r){e("../../modules/es6.array.find"),t.exports=e("../../modules/_core").Array.find},{"../../modules/_core":36,"../../modules/es6.array.find":81}],19:[function(e,t,r){e("../../modules/es6.array.for-each"),t.exports=e("../../modules/_core").Array.forEach},{"../../modules/_core":36,"../../modules/es6.array.for-each":82}],20:[function(e,t,r){e("../../modules/es6.array.reduce"),t.exports=e("../../modules/_core").Array.reduce},{"../../modules/_core":36,"../../modules/es6.array.reduce":83}],21:[function(e,t,r){e("../../modules/es6.function.bind"),t.exports=e("../../modules/_core").Function.bind},{"../../modules/_core":36,"../../modules/es6.function.bind":84}],22:[function(e,t,r){e("../../modules/es6.number.constructor"),t.exports=Number},{"../../modules/es6.number.constructor":85}],23:[function(e,t,r){e("../../modules/es6.object.assign"),t.exports=e("../../modules/_core").Object.assign},{"../../modules/_core":36,"../../modules/es6.object.assign":86}],24:[function(e,t,r){e("../../modules/es6.object.define-property");var n=e("../../modules/_core").Object;t.exports=function(e,t,r){return n.defineProperty(e,t,r)}},{"../../modules/_core":36,"../../modules/es6.object.define-property":87}],25:[function(e,t,r){e("../../modules/es6.object.keys"),t.exports=e("../../modules/_core").Object.keys},{"../../modules/_core":36,"../../modules/es6.object.keys":88}],26:[function(e,t,r){t.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},{}],27:[function(e,t,r){var n=e("./_wks")("unscopables"),i=Array.prototype;void 0==i[n]&&e("./_hide")(i,n,{}),t.exports=function(e){i[n][e]=!0}},{"./_hide":46,"./_wks":80}],28:[function(e,t,r){var n=e("./_is-object");t.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},{"./_is-object":53}],29:[function(e,t,r){var n=e("./_to-iobject"),i=e("./_to-length"),o=e("./_to-index");t.exports=function(e){return function(t,r,s){var a,u=n(t),c=i(u.length),l=o(s,c);if(e&&r!=r){for(;c>l;)if((a=u[l++])!=a)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}}},{"./_to-index":73,"./_to-iobject":75,"./_to-length":76}],30:[function(e,t,r){var n=e("./_ctx"),i=e("./_iobject"),o=e("./_to-object"),s=e("./_to-length"),a=e("./_array-species-create");t.exports=function(e,t){var r=1==e,u=2==e,c=3==e,l=4==e,h=6==e,p=5==e||h,f=t||a;return function(t,a,d){for(var b,m,v=o(t),y=i(v),g=n(a,d,3),w=s(y.length),x=0,_=r?f(t,w):u?f(t,0):void 0;w>x;x++)if((p||x in y)&&(b=y[x],m=g(b,x,v),e))if(r)_[x]=m;else if(m)switch(e){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(e,t,r){var n=e("./_a-function"),i=e("./_to-object"),o=e("./_iobject"),s=e("./_to-length");t.exports=function(e,t,r,a,u){n(t);var c=i(e),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=t(a,l[p],p,c));return a}},{"./_a-function":26,"./_iobject":51,"./_to-length":76,"./_to-object":77}],32:[function(e,t,r){var n=e("./_is-object"),i=e("./_is-array"),o=e("./_wks")("species");t.exports=function(e){var t;return i(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!i(t.prototype)||(t=void 0),n(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},{"./_is-array":52,"./_is-object":53,"./_wks":80}],33:[function(e,t,r){var n=e("./_array-species-constructor");t.exports=function(e,t){return new(n(e))(t)}},{"./_array-species-constructor":32}],34:[function(e,t,r){"use strict";var n=e("./_a-function"),i=e("./_is-object"),o=e("./_invoke"),s=[].slice,a={},u=function(e,t,r){if(!(t in a)){for(var n=[],i=0;i<t;i++)n[i]="a["+i+"]";a[t]=Function("F,a","return new F("+n.join(",")+")")}return a[t](e,r)};t.exports=Function.bind||function(e){var t=n(this),r=s.call(arguments,1),a=function(){var n=r.concat(s.call(arguments));return this instanceof a?u(t,n.length,n):o(t,n,e)};return i(t.prototype)&&(a.prototype=t.prototype),a}},{"./_a-function":26,"./_invoke":50,"./_is-object":53}],35:[function(e,t,r){var n={}.toString;t.exports=function(e){return n.call(e).slice(8,-1)}},{}],36:[function(e,t,r){var n=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=n)},{}],37:[function(e,t,r){var n=e("./_a-function");t.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},{"./_a-function":26}],38:[function(e,t,r){t.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},{}],39:[function(e,t,r){t.exports=!e("./_fails")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{"./_fails":43}],40:[function(e,t,r){var n=e("./_is-object"),i=e("./_global").document,o=n(i)&&n(i.createElement);t.exports=function(e){return o?i.createElement(e):{}}},{"./_global":44,"./_is-object":53}],41:[function(e,t,r){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],42:[function(e,t,r){var n=e("./_global"),i=e("./_core"),o=e("./_hide"),s=e("./_redefine"),a=e("./_ctx"),u=function(e,t,r){var c,l,h,p,f=e&u.F,d=e&u.G,b=e&u.S,m=e&u.P,v=e&u.B,y=d?n:b?n[t]||(n[t]={}):(n[t]||{}).prototype,g=d?i:i[t]||(i[t]={}),w=g.prototype||(g.prototype={});d&&(r=t);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,e&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,t.exports=u},{"./_core":36,"./_ctx":37,"./_global":44,"./_hide":46,"./_redefine":66}],43:[function(e,t,r){t.exports=function(e){try{return!!e()}catch(e){return!0}}},{}],44:[function(e,t,r){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},{}],45:[function(e,t,r){var n={}.hasOwnProperty;t.exports=function(e,t){return n.call(e,t)}},{}],46:[function(e,t,r){var n=e("./_object-dp"),i=e("./_property-desc");t.exports=e("./_descriptors")?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},{"./_descriptors":39,"./_object-dp":56,"./_property-desc":65}],47:[function(e,t,r){t.exports=e("./_global").document&&document.documentElement},{"./_global":44}],48:[function(e,t,r){t.exports=!e("./_descriptors")&&!e("./_fails")(function(){return 7!=Object.defineProperty(e("./_dom-create")("div"),"a",{get:function(){return 7}}).a})},{"./_descriptors":39,"./_dom-create":40,"./_fails":43}],49:[function(e,t,r){var n=e("./_is-object"),i=e("./_set-proto").set;t.exports=function(e,t,r){var o,s=t.constructor;return s!==r&&"function"==typeof s&&(o=s.prototype)!==r.prototype&&n(o)&&i&&i(e,o),e}},{"./_is-object":53,"./_set-proto":67}],50:[function(e,t,r){t.exports=function(e,t,r){var n=void 0===r;switch(t.length){case 0:return n?e():e.call(r);case 1:return n?e(t[0]):e.call(r,t[0]);case 2:return n?e(t[0],t[1]):e.call(r,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(r,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(r,t[0],t[1],t[2],t[3])}return e.apply(r,t)}},{}],51:[function(e,t,r){var n=e("./_cof");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},{"./_cof":35}],52:[function(e,t,r){var n=e("./_cof");t.exports=Array.isArray||function(e){return"Array"==n(e)}},{"./_cof":35}],53:[function(e,t,r){t.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},{}],54:[function(e,t,r){"use strict";var n=e("./_object-keys"),i=e("./_object-gops"),o=e("./_object-pie"),s=e("./_to-object"),a=e("./_iobject"),u=Object.assign;t.exports=!u||e("./_fails")(function(){var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(e){t[e]=e}),7!=u({},e)[r]||Object.keys(u({},t)).join("")!=n})?function(e,t){for(var r=s(e),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(e,t,r){var n=e("./_an-object"),i=e("./_object-dps"),o=e("./_enum-bug-keys"),s=e("./_shared-key")("IE_PROTO"),a=function(){},u=function(){var t,r=e("./_dom-create")("iframe"),n=o.length;for(r.style.display="none",e("./_html").appendChild(r),r.src="javascript:",t=r.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;n--;)delete u.prototype[o[n]];return u()};t.exports=Object.create||function(e,t){var r;return null!==e?(a.prototype=n(e),r=new a,a.prototype=null,r[s]=e):r=u(),void 0===t?r:i(r,t)}},{"./_an-object":28,"./_dom-create":40,"./_enum-bug-keys":41,"./_html":47,"./_object-dps":57,"./_shared-key":68}],56:[function(e,t,r){var n=e("./_an-object"),i=e("./_ie8-dom-define"),o=e("./_to-primitive"),s=Object.defineProperty;r.f=e("./_descriptors")?Object.defineProperty:function(e,t,r){if(n(e),t=o(t,!0),n(r),i)try{return s(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},{"./_an-object":28,"./_descriptors":39,"./_ie8-dom-define":48,"./_to-primitive":78}],57:[function(e,t,r){var n=e("./_object-dp"),i=e("./_an-object"),o=e("./_object-keys");t.exports=e("./_descriptors")?Object.defineProperties:function(e,t){i(e);for(var r,s=o(t),a=s.length,u=0;a>u;)n.f(e,r=s[u++],t[r]);return e}},{"./_an-object":28,"./_descriptors":39,"./_object-dp":56,"./_object-keys":62}],58:[function(e,t,r){var n=e("./_object-pie"),i=e("./_property-desc"),o=e("./_to-iobject"),s=e("./_to-primitive"),a=e("./_has"),u=e("./_ie8-dom-define"),c=Object.getOwnPropertyDescriptor;r.f=e("./_descriptors")?c:function(e,t){if(e=o(e),t=s(t,!0),u)try{return c(e,t)}catch(e){}if(a(e,t))return i(!n.f.call(e,t),e[t])}},{"./_descriptors":39,"./_has":45,"./_ie8-dom-define":48,"./_object-pie":63,"./_property-desc":65,"./_to-iobject":75,"./_to-primitive":78}],59:[function(e,t,r){var n=e("./_object-keys-internal"),i=e("./_enum-bug-keys").concat("length","prototype");r.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},{"./_enum-bug-keys":41,"./_object-keys-internal":61}],60:[function(e,t,r){r.f=Object.getOwnPropertySymbols},{}],61:[function(e,t,r){var n=e("./_has"),i=e("./_to-iobject"),o=e("./_array-includes")(!1),s=e("./_shared-key")("IE_PROTO");t.exports=function(e,t){var r,a=i(e),u=0,c=[];for(r in a)r!=s&&n(a,r)&&c.push(r);for(;t.length>u;)n(a,r=t[u++])&&(~o(c,r)||c.push(r));return c}},{"./_array-includes":29,"./_has":45,"./_shared-key":68,"./_to-iobject":75}],62:[function(e,t,r){var n=e("./_object-keys-internal"),i=e("./_enum-bug-keys");t.exports=Object.keys||function(e){return n(e,i)}},{"./_enum-bug-keys":41,"./_object-keys-internal":61}],63:[function(e,t,r){r.f={}.propertyIsEnumerable},{}],64:[function(e,t,r){var n=e("./_export"),i=e("./_core"),o=e("./_fails");t.exports=function(e,t){var r=(i.Object||{})[e]||Object[e],s={};s[e]=t(r),n(n.S+n.F*o(function(){r(1)}),"Object",s)}},{"./_core":36,"./_export":42,"./_fails":43}],65:[function(e,t,r){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],66:[function(e,t,r){var n=e("./_global"),i=e("./_hide"),o=e("./_has"),s=e("./_uid")("src"),a=Function.toString,u=(""+a).split("toString");e("./_core").inspectSource=function(e){return a.call(e)},(t.exports=function(e,t,r,a){var c="function"==typeof r;c&&(o(r,"name")||i(r,"name",t)),e[t]!==r&&(c&&(o(r,s)||i(r,s,e[t]?""+e[t]:u.join(String(t)))),e===n?e[t]=r:a?e[t]?e[t]=r:i(e,t,r):(delete e[t],i(e,t,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(e,t,r){var n=e("./_is-object"),i=e("./_an-object"),o=function(e,t){if(i(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,r,n){try{n=e("./_ctx")(Function.call,e("./_object-gopd").f(Object.prototype,"__proto__").set,2),n(t,[]),r=!(t instanceof Array)}catch(e){r=!0}return function(e,t){return o(e,t),r?e.__proto__=t:n(e,t),e}}({},!1):void 0),check:o}},{"./_an-object":28,"./_ctx":37,"./_is-object":53,"./_object-gopd":58}],68:[function(e,t,r){var n=e("./_shared")("keys"),i=e("./_uid");t.exports=function(e){return n[e]||(n[e]=i(e))}},{"./_shared":69,"./_uid":79}],69:[function(e,t,r){var n=e("./_global"),i=n["__core-js_shared__"]||(n["__core-js_shared__"]={});t.exports=function(e){return i[e]||(i[e]={})}},{"./_global":44}],70:[function(e,t,r){var n=e("./_fails");t.exports=function(e,t){return!!e&&n(function(){t?e.call(null,function(){},1):e.call(null)})}},{"./_fails":43}],71:[function(e,t,r){var n=e("./_export"),i=e("./_defined"),o=e("./_fails"),s=e("./_string-ws"),a="["+s+"]",u="
",c=RegExp("^"+a+a+"*"),l=RegExp(a+a+"*$"),h=function(e,t,r){var i={},a=o(function(){return!!s[e]()||u[e]()!=u}),c=i[e]=a?t(p):s[e];r&&(i[r]=c),n(n.P+n.F*a,"String",i)},p=h.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(l,"")),e};t.exports=h},{"./_defined":38,"./_export":42,"./_fails":43,"./_string-ws":72}],72:[function(e,t,r){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},{}],73:[function(e,t,r){var n=e("./_to-integer"),i=Math.max,o=Math.min;t.exports=function(e,t){return e=n(e),e<0?i(e+t,0):o(e,t)}},{"./_to-integer":74}],74:[function(e,t,r){var n=Math.ceil,i=Math.floor;t.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},{}],75:[function(e,t,r){var n=e("./_iobject"),i=e("./_defined");t.exports=function(e){return n(i(e))}},{"./_defined":38,"./_iobject":51}],76:[function(e,t,r){var n=e("./_to-integer"),i=Math.min;t.exports=function(e){return e>0?i(n(e),9007199254740991):0}},{"./_to-integer":74}],77:[function(e,t,r){var n=e("./_defined");t.exports=function(e){return Object(n(e))}},{"./_defined":38}],78:[function(e,t,r){var n=e("./_is-object");t.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":53}],79:[function(e,t,r){var n=0,i=Math.random();t.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},{}],80:[function(e,t,r){var n=e("./_shared")("wks"),i=e("./_uid"),o=e("./_global").Symbol,s="function"==typeof o;(t.exports=function(e){return n[e]||(n[e]=s&&o[e]||(s?o:i)("Symbol."+e))}).store=n},{"./_global":44,"./_shared":69,"./_uid":79}],81:[function(e,t,r){"use strict";var n=e("./_export"),i=e("./_array-methods")(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),n(n.P+n.F*o,"Array",{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),e("./_add-to-unscopables")("find")},{"./_add-to-unscopables":27,"./_array-methods":30,"./_export":42}],82:[function(e,t,r){"use strict";var n=e("./_export"),i=e("./_array-methods")(0),o=e("./_strict-method")([].forEach,!0);n(n.P+n.F*!o,"Array",{forEach:function(e){return i(this,e,arguments[1])}})},{"./_array-methods":30,"./_export":42,"./_strict-method":70}],83:[function(e,t,r){"use strict";var n=e("./_export"),i=e("./_array-reduce");n(n.P+n.F*!e("./_strict-method")([].reduce,!0),"Array",{reduce:function(e){return i(this,e,arguments.length,arguments[1],!1)}})},{"./_array-reduce":31,"./_export":42,"./_strict-method":70}],84:[function(e,t,r){var n=e("./_export");n(n.P,"Function",{bind:e("./_bind")})},{"./_bind":34,"./_export":42}],85:[function(e,t,r){"use strict";var n=e("./_global"),i=e("./_has"),o=e("./_cof"),s=e("./_inherit-if-required"),a=e("./_to-primitive"),u=e("./_fails"),c=e("./_object-gopn").f,l=e("./_object-gopd").f,h=e("./_object-dp").f,p=e("./_string-trim").trim,f=n.Number,d=f,b=f.prototype,m="Number"==o(e("./_object-create")(b)),v="trim"in String.prototype,y=function(e){var t=a(e,!1);if("string"==typeof t&&t.length>2){t=v?t.trim():p(t,3);var r,n,i,o=t.charCodeAt(0);if(43===o||45===o){if(88===(r=t.charCodeAt(2))||120===r)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+t}for(var s,u=t.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+t};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function(e){var t=arguments.length<1?0:e,r=this;return r instanceof f&&(m?u(function(){b.valueOf.call(r)}):"Number"!=o(r))?s(new d(y(t)),r,f):y(t)};for(var g,w=e("./_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,e("./_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(e,t,r){var n=e("./_export");n(n.S+n.F,"Object",{assign:e("./_object-assign")})},{"./_export":42,"./_object-assign":54}],87:[function(e,t,r){var n=e("./_export");n(n.S+n.F*!e("./_descriptors"),"Object",{defineProperty:e("./_object-dp").f})},{"./_descriptors":39,"./_export":42,"./_object-dp":56}],88:[function(e,t,r){var n=e("./_to-object"),i=e("./_object-keys")
|
18
|
+
;e("./_object-sap")("keys",function(){return function(e){return i(n(e))}})},{"./_object-keys":62,"./_object-sap":64,"./_to-object":77}],89:[function(e,t,r){"use strict";function n(e){return e.dataset}t.exports=function(){var e=document.createElement("div");return e.setAttribute("data-a-b","c"),Boolean(e.dataset&&"c"===e.dataset.aB)}()?n:function(e){function t(){return this.value}function r(e,t){void 0===t?this.removeAttribute(e):this.setAttribute(e,t)}for(var n={},i=e.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(e){return e.charAt(1).toUpperCase()}),l=a.value;Object.defineProperty(n,c,{enumerable:!0,get:t.bind({value:l||""}),set:r.bind(e,u)})}}}return n}},{}],90:[function(e,t,r){"use strict";t.exports=function(e){return!(!e||"string"==typeof e)&&(e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},{}],91:[function(e,t,r){var n=e("./src/ParseError"),i=e("./src/Settings"),o=e("./src/buildTree"),s=e("./src/parseTree"),a=e("./src/utils"),u=function(e,t,r){a.clearNode(t);var n=new i(r),u=s(e,n),c=o(u,e,n).toNode();t.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(e,t){var r=new i(t),n=s(e,r);return o(n,e,r).toMarkup()},l=function(e,t){var r=new i(t);return s(e,r)};t.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(e,t,r){function n(e){this.input=e,this.pos=0}function i(e,t,r,n){this.text=e,this.start=t,this.end=r,this.lexer=n}var o=e("match-at"),s=e("./ParseError");i.prototype.range=function(e,t){return e.lexer!==this.lexer?new i(t):new i(t,this.start,e.end,this.lexer)};var a=new RegExp("([ \r\n\t]+)|([!-\\[\\]-‧-豈-]|[�-�][�-�]|\\\\(?:[a-zA-Z]+|[^�-�]))");n.prototype.lex=function(){var e=this.input,t=this.pos;if(t===e.length)return new i("EOF",t,t,this);var r=o(a,e,t);if(null===r)throw new s("Unexpected character: '"+e[t]+"'",new i(e[t],t,t+1,this));var n=r[2]||" ",u=this.pos;return this.pos+=r[0].length,new i(n,u,this.pos,this)},t.exports=n},{"./ParseError":95,"match-at":115}],93:[function(e,t,r){function n(e,t){this.lexer=new i(e),this.macros=t,this.stack=[],this.discardedWhiteSpace=[]}var i=e("./Lexer");n.prototype.nextToken=function(){for(;;){0===this.stack.length&&this.stack.push(this.lexer.lex());var e=this.stack.pop(),t=e.text;if("\\"!==t.charAt(0)||!this.macros.hasOwnProperty(t))return e;var r=this.macros[t];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[t]=r}this.stack=this.stack.concat(r)}},n.prototype.get=function(e){this.discardedWhiteSpace=[];var t=this.nextToken();if(e)for(;" "===t.text;)this.discardedWhiteSpace.push(t),t=this.nextToken();return t},n.prototype.unget=function(e){for(this.stack.push(e);0!==this.discardedWhiteSpace.length;)this.stack.push(this.discardedWhiteSpace.pop())},t.exports=n},{"./Lexer":92}],94:[function(e,t,r){function n(e){this.style=e.style,this.color=e.color,this.size=e.size,this.phantom=e.phantom,this.font=e.font,void 0===e.parentStyle?this.parentStyle=e.style:this.parentStyle=e.parentStyle,void 0===e.parentSize?this.parentSize=e.size:this.parentSize=e.parentSize}n.prototype.extend=function(e){var t={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 e)e.hasOwnProperty(r)&&(t[r]=e[r]);return new n(t)},n.prototype.withStyle=function(e){return this.extend({style:e})},n.prototype.withSize=function(e){return this.extend({size:e})},n.prototype.withColor=function(e){return this.extend({color:e})},n.prototype.withPhantom=function(){return this.extend({phantom:!0})},n.prototype.withFont=function(e){return this.extend({font:e||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},t.exports=n},{}],95:[function(e,t,r){function n(e,t){var r,i,o="KaTeX parse error: "+e;if(t&&t.lexer&&t.start<=t.end){var s=t.lexer.input;r=t.start,i=t.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,t.exports=n},{}],96:[function(e,t,r){function n(e,t){this.gullet=new a(e,t.macros),this.settings=t,this.leftrightDepth=0}function i(e,t,r){this.result=e,this.isFunction=t,this.token=r}var o=e("./functions"),s=e("./environments"),a=e("./MacroExpander"),u=e("./symbols"),c=e("./utils"),l=e("./unicodeRegexes").cjkRegex,h=e("./parseData"),p=e("./ParseError"),f=h.ParseNode;n.prototype.expect=function(e,t){if(this.nextToken.text!==e)throw new p("Expected '"+e+"', got '"+this.nextToken.text+"'",this.nextToken);!1!==t&&this.consume()},n.prototype.consume=function(){this.nextToken=this.gullet.get("math"===this.mode)},n.prototype.switchMode=function(e){this.gullet.unget(this.nextToken),this.mode=e,this.consume()},n.prototype.parse=function(){return this.mode="math",this.consume(),this.parseInput()},n.prototype.parseInput=function(){var e=this.parseExpression(!1);return this.expect("EOF",!1),e};var d=["}","\\end","\\right","&","\\\\","\\cr"];n.prototype.parseExpression=function(e,t){for(var r=[];;){var n=this.nextToken;if(-1!==d.indexOf(n.text))break;if(t&&n.text===t)break;if(e&&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(e){for(var t,r=-1,n=0;n<e.length;n++){var i=e[n];if("infix"===i.type){if(-1!==r)throw new p("only one infix operator per group",i.value.token);r=n,t=i.value.replaceWith}}if(-1!==r){var o,s,a=e.slice(0,r),u=e.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(t,[o,s],null);return[new f(c.type,c,this.mode)]}return e};n.prototype.handleSupSubscript=function(e){var t=this.nextToken,r=t.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 "+e,t)}return n.result}if(this.settings.throwOnError||"\\"!==this.nextToken.text[0])throw new p("Expected group after '"+r+"'",t);return this.handleUnsupportedCmd()},n.prototype.handleUnsupportedCmd=function(){for(var e=this.nextToken.text,t=[],r=0;r<e.length;r++)t.push(new f("textord",e[r],"text"));var n=new f("text",{body:t,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 e=this.parseImplicitGroup();if("text"===this.mode)return e;for(var t,r;;){var n=this.nextToken;if("\\limits"===n.text||"\\nolimits"===n.text){if(!e||"op"!==e.type)throw new p("Limit controls must follow a math operator",n);var i="\\limits"===n.text;e.value.limits=i,e.value.alwaysHandleSupSub=!0,this.consume()}else if("^"===n.text){if(t)throw new p("Double superscript",n);t=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();t=new f("ordgroup",s,this.mode)}}return t||r?new f("supsub",{base:e,sup:t,sub:r},this.mode):e};var b=["\\tiny","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],m=["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"];n.prototype.parseImplicitGroup=function(){var e=this.parseSymbol();if(null==e)return this.parseFunction();var t,r=e.result;if("\\left"===r){var n=this.parseFunction(e);++this.leftrightDepth,t=this.parseExpression(!1),--this.leftrightDepth,this.expect("\\right",!1);var i=this.parseFunction();return new f("leftright",{body:t,left:n.value.value,right:i.value.value},this.mode)}if("\\begin"===r){var o=this.parseFunction(e),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)?(t=this.parseExpression(!1),new f("sizing",{size:"size"+(c.indexOf(b,r)+1),value:t},this.mode)):c.contains(m,r)?(t=this.parseExpression(!0),new f("styling",{style:r.slice(1,r.length-5),value:t},this.mode)):this.parseFunction(e)},n.prototype.parseFunction=function(e){if(e||(e=this.parseGroup()),e){if(e.isFunction){var t=e.result,r=o[t];if("text"===this.mode&&!r.allowedInText)throw new p("Can't use function '"+t+"' in text mode",e.token);var n=this.parseArguments(t,r),i=e.token,s=this.callFunction(t,n,n.pop(),i);return new f(s.type,s,this.mode)}return e.result}return null},n.prototype.callFunction=function(e,t,r,n){var i={funcName:e,parser:this,positions:r,token:n};return o[e].handler(i,t)},n.prototype.parseArguments=function(e,t){var r=t.numArgs+t.numOptionalArgs;if(0===r)return[[this.pos]];for(var n=t.greediness,s=[this.pos],a=[],u=0;u<r;u++){var c,l=this.nextToken,h=t.argTypes&&t.argTypes[u];if(u<t.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 '"+e+"'",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 '"+e+"'",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(e,t){var r=this.mode;if("original"===e&&(e=r),"color"===e)return this.parseColorGroup(t);if("size"===e)return this.parseSizeGroup(t);if(this.switchMode(e),"text"===e)for(;" "===this.nextToken.text;)this.consume();var n=this.parseGroup(t);return this.switchMode(r),n},n.prototype.parseStringGroup=function(e,t){if(t&&"["!==this.nextToken.text)return null;var r=this.mode;this.mode="text",this.expect(t?"[":"{");for(var n="",i=this.nextToken,o=i;this.nextToken.text!==(t?"]":"}");){if("EOF"===this.nextToken.text)throw new p("Unexpected end of input in "+e,i.range(this.nextToken,n));o=this.nextToken,n+=o.text,this.consume()}return this.mode=r,this.expect(t?"]":"}"),i.range(o,n)},n.prototype.parseRegexGroup=function(e,t){var r=this.mode;this.mode="text";for(var n=this.nextToken,i=n,o="";"EOF"!==this.nextToken.text&&e.test(o+this.nextToken.text);)i=this.nextToken,o+=i.text,this.consume();if(""===o)throw new p("Invalid "+t+": '"+n.text+"'",n);return this.mode=r,n.range(i,o)},n.prototype.parseColorGroup=function(e){var t=this.parseStringGroup("color",e);if(!t)return null;var r=/^(#[a-z0-9]+|[a-z]+)$/i.exec(t.text);if(!r)throw new p("Invalid color: '"+t.text+"'",t);return new i(new f("color",r[0],this.mode),!1)},n.prototype.parseSizeGroup=function(e){var t;if(!(t=e||"{"===this.nextToken.text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2}$/,"size")))return null;var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!r)throw new p("Invalid size: '"+t.text+"'",t);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+"'",t);return new i(new f("color",n,this.mode),!1)},n.prototype.parseGroup=function(e){var t=this.nextToken;if(this.nextToken.text===(e?"[":"{")){this.consume();var r=this.parseExpression(!1,e?"]":null),n=this.nextToken;return this.expect(e?"]":"}"),"text"===this.mode&&this.formLigatures(r),new i(new f("ordgroup",r,this.mode,t,n),!1)}return e?null:this.parseSymbol()},n.prototype.formLigatures=function(e){var t,r=e.length-1;for(t=0;t<r;++t){var n=e[t],i=n.value;"-"===i&&"-"===e[t+1].value&&(t+1<r&&"-"===e[t+2].value?(e.splice(t,3,new f("textord","---","text",n,e[t+2])),r-=2):(e.splice(t,2,new f("textord","--","text",n,e[t+1])),r-=1)),"'"!==i&&"`"!==i||e[t+1].value!==i||(e.splice(t,2,new f("textord",i+i,"text",n,e[t+1])),r-=1)}},n.prototype.parseSymbol=function(){var e=this.nextToken;return o[e.text]?(this.consume(),new i(e.text,!0,e)):u[this.mode][e.text]?(this.consume(),new i(new f(u[this.mode][e.text].group,e.text,this.mode,e),!1,e)):"text"===this.mode&&l.test(e.text)?(this.consume(),new i(new f("textord",e.text,this.mode,e),!1,e)):null},n.prototype.ParseNode=f,t.exports=n},{"./MacroExpander":93,"./ParseError":95,"./environments":105,"./functions":108,"./parseData":110,"./symbols":112,"./unicodeRegexes":113,"./utils":114}],97:[function(e,t,r){function n(e,t){return void 0===e?t:e}function i(e){e=e||{},this.displayMode=n(e.displayMode,!1),this.throwOnError=n(e.throwOnError,!0),this.errorColor=n(e.errorColor,"#cc0000"),this.macros=e.macros||{}}t.exports=i},{}],98:[function(e,t,r){function n(e,t,r,n){this.id=e,this.size=t,this.cramped=n,this.sizeMultiplier=r,this.metrics=s[t>0?t-1:0]}var i,o=e("./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];t.exports={DISPLAY:l[0],TEXT:l[2],SCRIPT:l[4],SCRIPTSCRIPT:l[6]}},{"./fontMetrics.js":106}],99:[function(e,t,r){var n=e("./domTree"),i=e("./fontMetrics"),o=e("./symbols"),s=e("./utils"),a=["\\Gamma","\\Delta","\\Theta","\\Lambda","\\Xi","\\Pi","\\Sigma","\\Upsilon","\\Phi","\\Psi","\\Omega"],u=["ı","ȷ","£"],c=function(e,t,r,s,a){o[r][e]&&o[r][e].replace&&(e=o[r][e].replace);var u,c=i.getCharacterMetrics(e,t);if(c){var l=c.italic;"text"===r&&(l=0),u=new n.symbolNode(e,c.height,c.depth,l,c.skew,a)}else"undefined"!=typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"'"),u=new n.symbolNode(e,0,0,0,0,a);return s&&(s.style.isTight()&&u.classes.push("mtight"),s.getColor()&&(u.style.color=s.getColor())),u},l=function(e,t,r,n){return"\\"===e||"main"===o[t][e].font?c(e,"Main-Regular",t,r,n):c(e,"AMS-Regular",t,r,n.concat(["amsrm"]))},h=function(e,t,r,n,i){if("mathord"===i)return p(e,t,r,n);if("textord"===i)return c(e,"Main-Regular",t,r,n.concat(["mathrm"]));throw new Error("unexpected type: "+i+" in mathDefault")},p=function(e,t,r,n){return/[0-9]/.test(e.charAt(0))||s.contains(u,e)||s.contains(a,e)?c(e,"Main-Italic",t,r,n.concat(["mainit"])):c(e,"Math-Italic",t,r,n.concat(["mathit"]))},f=function(e,t,r){var n=e.mode,a=e.value;o[n][a]&&o[n][a].replace&&(a=o[n][a].replace);var l=["mord"],f=t.font;if(f){if("mathit"===f||s.contains(u,a))return p(a,n,t,l);var d=_[f].fontName;return i.getCharacterMetrics(a,d)?c(a,d,n,t,l.concat([f])):h(a,n,t,l,r)}return h(a,n,t,l,r)},d=function(e){var t=0,r=0,n=0;if(e.children)for(var i=0;i<e.children.length;i++)e.children[i].height>t&&(t=e.children[i].height),e.children[i].depth>r&&(r=e.children[i].depth),e.children[i].maxFontSize>n&&(n=e.children[i].maxFontSize);e.height=t,e.depth=r,e.maxFontSize=n},b=function(e,t,r){var i=new n.span(e,t,r);return d(i),i},m=function(e,t){e.children=t.concat(e.children),d(e)},v=function(e){var t=new n.documentFragment(e);return d(t),t},y=function(e,t){var r=b([],[new n.symbolNode("")]);return r.style.fontSize=t/e.style.sizeMultiplier+"em",b(["fontsize-ensurer","reset-"+e.size,"size5"],[r])},g=function(e,t,r,i){var o,s,a;if("individualShift"===t){var u=e;for(e=[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,e.push({type:"kern",size:l}),e.push(u[a])}}else if("top"===t){var h=r;for(a=0;a<e.length;a++)"kern"===e[a].type?h-=e[a].size:h-=e[a].elem.height+e[a].elem.depth;o=h}else o="bottom"===t?-r:"shift"===t?-e[0].elem.depth-r:"firstBaseline"===t?-e[0].elem.depth:0;var p=0;for(a=0;a<e.length;a++)"elem"===e[a].type&&(p=Math.max(p,e[a].elem.maxFontSize));var f=y(i,p),d=[];for(s=o,a=0;a<e.length;a++)if("kern"===e[a].type)s+=e[a].size;else{var m=e[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"}};t.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(e,t,r){var n=e("./ParseError"),i=e("./Style"),o=e("./buildCommon"),s=e("./delimiter"),a=e("./domTree"),u=e("./fontMetrics"),c=e("./utils"),l=o.makeSpan,h=function(e){return e instanceof a.span&&"mspace"===e.classes[0]},p=function(e){return e&&"mbin"===e.classes[0]},f=function(e,t){return e?c.contains(["mbin","mopen","mrel","mop","mpunct"],e.classes[0]):t},d=function(e,t){return e?c.contains(["mrel","mclose","mpunct"],e.classes[0]):t},b=function(e,t,r){for(var n=[],i=0;i<e.length;i++){var s=e[i],u=S(s,t);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(e){if(e instanceof a.documentFragment){if(e.children.length)return m(e.children[e.children.length-1])}else if(c.contains(["mord","mop","mbin","mrel","mopen","mclose","mpunct","minner"],e.classes[0]))return e.classes[0];return null},v=function(e,t){return!!e&&("op"===e.type?e.value.limits&&(t.style.size===i.DISPLAY.size||e.value.alwaysHandleSupSub):"accent"===e.type?g(e.value.base):null)},y=function(e){return!!e&&("ordgroup"===e.type?1===e.value.length?y(e.value[0]):e:"color"===e.type?1===e.value.value.length?y(e.value.value[0]):e:"font"===e.type?y(e.value.body):e)},g=function(e){var t=y(e);return"mathord"===t.type||"textord"===t.type||"bin"===t.type||"rel"===t.type||"inner"===t.type||"open"===t.type||"close"===t.type||"punct"===t.type},w=function(e,t){return l(t.concat(["sizing","reset-"+e.size,"size5",e.style.reset(),i.TEXT.cls(),"nulldelimiter"]))},x={};x.mathord=function(e,t){return o.makeOrd(e,t,"mathord")},x.textord=function(e,t){return o.makeOrd(e,t,"textord")},x.bin=function(e,t){return o.mathsym(e.value,e.mode,t,["mbin"])},x.rel=function(e,t){return o.mathsym(e.value,e.mode,t,["mrel"])},x.open=function(e,t){return o.mathsym(e.value,e.mode,t,["mopen"])},x.close=function(e,t){return o.mathsym(e.value,e.mode,t,["mclose"])},x.inner=function(e,t){return o.mathsym(e.value,e.mode,t,["minner"])},x.punct=function(e,t){return o.mathsym(e.value,e.mode,t,["mpunct"])},x.ordgroup=function(e,t){return l(["mord",t.style.cls()],b(e.value,t.reset(),!0),t)},x.text=function(e,t){for(var r=t.withFont(e.value.style),n=b(e.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(e,t){var r=b(e.value.value,t.withColor(e.value.color),!1);return new o.makeFragment(r)},x.supsub=function(e,t){if(v(e.value.base,t))return x[e.value.base.type](e,t);var r,n,s,c,h,p=S(e.value.base,t.reset()),f=t.style;e.value.sup&&(h=t.withStyle(f.sup()),s=S(e.value.sup,h),r=l([f.reset(),f.sup().cls()],[s],h)),e.value.sub&&(h=t.withStyle(f.sub()),c=S(e.value.sub,h),n=l([f.reset(),f.sub().cls()],[c],h));var d,b;g(e.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(e.value.sup)if(e.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,t),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,t),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,t),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])],t)},x.genfrac=function(e,t){var r=t.style;"display"===e.value.size?r=i.DISPLAY:"text"===e.value.size&&(r=i.TEXT);var n,a=r.fracNum(),c=r.fracDen();n=t.withStyle(a);var h=S(e.value.numer,n),p=l([r.reset(),a.cls()],[h],n);n=t.withStyle(c);var f,d=S(e.value.denom,n),b=l([r.reset(),c.cls()],[d],n);f=e.value.hasBarLine?u.metrics.defaultRuleThickness/t.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,t)}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([t.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,t)}g.height*=r.sizeMultiplier/t.style.sizeMultiplier,g.depth*=r.sizeMultiplier/t.style.sizeMultiplier;var j;j=r.size===i.DISPLAY.size?r.metrics.delim1:r.metrics.delim2;var T,E;return T=null==e.value.leftDelim?w(t,["mopen"]):s.customSizedDelim(e.value.leftDelim,j,!0,t.withStyle(r),e.mode,["mopen"]),E=null==e.value.rightDelim?w(t,["mclose"]):s.customSizedDelim(e.value.rightDelim,j,!0,t.withStyle(r),e.mode,["mclose"]),l(["mord",t.style.reset(),r.cls()],[T,l(["mfrac"],[g]),E],t)};var _=function(e,t){var r=e.number;return"ex"===e.unit?r*=t.metrics.emPerEx:"mu"===e.unit&&(r/=18),r};x.array=function(e,t){var r,i,s=e.value.body.length,a=0,h=new Array(s),p=t.style,f=1/u.metrics.ptPerEm,d=5*f,b=12*f,m=c.deflt(e.value.arraystretch,1),v=m*b,y=.7*v,g=.3*v,w=0;for(r=0;r<e.value.body.length;++r){var x=e.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],t);k<T.depth&&(k=T.depth),O<T.height&&(O=T.height),j[i]=T}var E=0;e.value.rowGaps[r]&&(E=_(e.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=e.value.cols||[],N=[];for(i=0,A=0;i<a||A<C.length;++i,++A){for(var z=C[A]||{},R=!0;"separator"===z.type;){if(R||(M=l(["arraycolsep"],[]),M.style.width=u.metrics.doubleRuleSep+"em",N.push(M)),"|"!==z.separator)throw new n("Invalid separator type: "+z.separator);var F=l(["vertical-separator"],[]);F.style.height=w+"em",F.style.verticalAlign=-(w-P)+"em",N.push(F),A++,z=C[A]||{},R=!1}if(!(i>=a)){var q;(i>0||e.value.hskipBeforeAndAfter)&&0!==(q=c.deflt(z.pregap,d))&&(M=l(["arraycolsep"],[]),M.style.width=q+"em",N.push(M));var D=[];for(r=0;r<s;++r){var I=h[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,t),D=l(["col-align-"+(z.align||"c")],[D]),N.push(D),(i<a-1||e.value.hskipBeforeAndAfter)&&0!==(q=c.deflt(z.postgap,d))&&(M=l(["arraycolsep"],[]),M.style.width=q+"em",N.push(M))}}return h=l(["mtable"],N),l(["mord"],[h],t)},x.spacing=function(e,t){return"\\ "===e.value||"\\space"===e.value||" "===e.value||"~"===e.value?"text"===e.mode?o.makeOrd(e,t,"textord"):l(["mspace"],[o.mathsym(e.value,e.mode,t)],t):l(["mspace",o.spacingFunctions[e.value].className],[],t)},x.llap=function(e,t){var r=l(["inner"],[S(e.value.body,t.reset())]),n=l(["fix"],[]);return l(["mord","llap",t.style.cls()],[r,n],t)},x.rlap=function(e,t){var r=l(["inner"],[S(e.value.body,t.reset())]),n=l(["fix"],[]);return l(["mord","rlap",t.style.cls()],[r,n],t)},x.op=function(e,t){var r,n,s=!1;"supsub"===e.type&&(r=e.value.sup,n=e.value.sub,e=e.value.base,s=!0);var a=t.style,h=["\\smallint"],p=!1;a.size===i.DISPLAY.size&&e.value.symbol&&!c.contains(h,e.value.body)&&(p=!0);var f,d=0,m=0;if(e.value.symbol){var v=p?"Size2-Regular":"Size1-Regular";f=o.makeSymbol(e.value.body,v,"math",t,["mop","op-symbol",p?"large-op":"small-op"]),d=(f.height-f.depth)/2-a.metrics.axisHeight*a.sizeMultiplier,m=f.italic}else if(e.value.value){var y=b(e.value.value,t,!0);f=l(["mop"],y,t)}else{for(var g=[],w=1;w<e.value.body.length;w++)g.push(o.mathsym(e.value.body[w],e.mode));f=l(["mop"],g,t)}if(s){f=l([],[f]);var x,_,O,k,j;if(r){j=t.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=t.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,t),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,t),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,t),M.children[0].style.marginLeft=-m+"em";return l(["mop","op-limits"],[M],t)}return e.value.symbol&&(f.style.top=d+"em"),f},x.mod=function(e,t){var r=[];if("bmod"===e.value.modType?(t.style.isTight()||r.push(l(["mspace","negativemediumspace"],[],t)),r.push(l(["mspace","thickspace"],[],t))):t.style.size===i.DISPLAY.size?r.push(l(["mspace","quad"],[],t)):"mod"===e.value.modType?r.push(l(["mspace","twelvemuspace"],[],t)):r.push(l(["mspace","eightmuspace"],[],t)),"pod"!==e.value.modType&&"pmod"!==e.value.modType||r.push(o.mathsym("(",e.mode)),"pod"!==e.value.modType){var n=[o.mathsym("m",e.mode),o.mathsym("o",e.mode),o.mathsym("d",e.mode)];"bmod"===e.value.modType?(r.push(l(["mbin"],n,t)),r.push(l(["mspace","thickspace"],[],t)),t.style.isTight()||r.push(l(["mspace","negativemediumspace"],[],t))):(Array.prototype.push.apply(r,n),r.push(l(["mspace","sixmuspace"],[],t)))}return e.value.value&&Array.prototype.push.apply(r,b(e.value.value,t,!1)),"pod"!==e.value.modType&&"pmod"!==e.value.modType||r.push(o.mathsym(")",e.mode)),o.makeFragment(r)},x.katex=function(e,t){var r=l(["k"],[o.mathsym("K",e.mode)],t),n=l(["a"],[o.mathsym("A",e.mode)],t);n.height=.75*(n.height+.2),n.depth=.75*(n.height-.2);var i=l(["t"],[o.mathsym("T",e.mode)],t),s=l(["e"],[o.mathsym("E",e.mode)],t);s.height=s.height-.2155,s.depth=s.depth+.2155;var a=l(["x"],[o.mathsym("X",e.mode)],t);return l(["mord","katex-logo"],[r,n,i,s,a],t)},x.overline=function(e,t){var r=t.style,n=S(e.value.body,t.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,t);return l(["mord","overline"],[c],t)},x.underline=function(e,t){var r=t.style,n=S(e.value.body,t),s=u.metrics.defaultRuleThickness/r.sizeMultiplier,a=l([r.reset(),i.TEXT.cls(),"underline-line"]);a.height=s,a.maxFontSize=1
|
19
|
+
;var c=o.makeVList([{type:"kern",size:s},{type:"elem",elem:a},{type:"kern",size:3*s},{type:"elem",elem:n}],"top",n.height,t);return l(["mord","underline"],[c],t)},x.sqrt=function(e,t){var r=t.style,n=S(e.value.body,t.withStyle(r.cramp())),a=u.metrics.defaultRuleThickness/r.sizeMultiplier,c=l([r.reset(),i.TEXT.cls(),"sqrt-line"],[],t);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,t,e.mode)],t),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,t),e.value.index){var g=t.withStyle(i.SCRIPTSCRIPT),w=S(e.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,t),T=l(["root"],[j]);return l(["mord","sqrt"],[T,b,y],t)}return l(["mord","sqrt"],[b,y],t)},x.sizing=function(e,t){var r=b(e.value.value,t.withSize(e.value.size),!1),n=t.style,i=o.sizingMultiplier[e.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-"+t.size,e.value.size,n.cls()),r[s].maxFontSize=i):r[s].classes[a+1]==="reset-"+e.value.size&&(r[s].classes[a+1]="reset-"+t.size)}return o.makeFragment(r)},x.styling=function(e,t){for(var r={display:i.DISPLAY,text:i.TEXT,script:i.SCRIPT,scriptscript:i.SCRIPTSCRIPT},n=r[e.value.style],s=t.withStyle(n),a=b(e.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(t.style.reset(),n.cls()):a[u].classes[l]=t.style.reset()}return new o.makeFragment(a)},x.font=function(e,t){var r=e.value.font;return S(e.value.body,t.withFont(r))},x.delimsizing=function(e,t){var r=e.value.value;return"."===r?l([e.value.mclass]):s.sizedDelim(r,e.value.size,t,e.mode,[e.value.mclass])},x.leftright=function(e,t){for(var r=b(e.value.body,t.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=t.style;n*=u.sizeMultiplier,i*=u.sizeMultiplier;var c;if(c="."===e.value.left?w(t,["mopen"]):s.leftRightDelim(e.value.left,n,i,t,e.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,e.mode,[]));var h;return h="."===e.value.right?w(t,["mclose"]):s.leftRightDelim(e.value.right,n,i,t,e.mode,["mclose"]),r.push(h),l(["minner",u.cls()],r,t)},x.middle=function(e,t){var r;return"."===e.value.value?r=w(t,[]):(r=s.sizedDelim(e.value.value,1,t,e.mode,[]),r.isMiddle={value:e.value.value,options:t}),r},x.rule=function(e,t){var r=l(["mord","rule"],[],t),n=t.style,i=0;e.value.shift&&(i=_(e.value.shift,n));var o=_(e.value.width,n),s=_(e.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(e,t){var r=l(["mord","rule"],[],t),n=t.style,i=0;return e.value.dimension&&(i=_(e.value.dimension,n)),i/=n.sizeMultiplier,r.style.marginLeft=i+"em",r},x.accent=function(e,t){var r,n=e.value.base,i=t.style;if("supsub"===e.type){var s=e;e=s.value.base,n=e.value.base,s.value.base=n,r=S(s,t.reset())}var a,u=S(n,t.withStyle(i.cramp()));if(g(n)){var c=y(n);a=S(c,t.withStyle(i.cramp())).skew}else a=0;var h=Math.min(u.height,i.metrics.xHeight),p=o.makeSymbol(e.value.accent,"Main-Regular","math",t);p.italic=0;var f="\\vec"===e.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,t),d.children[1].style.marginLeft=2*a+"em";var b=l(["mord","accent"],[d],t);return r?(r.children[0]=b,r.height=Math.max(b.height,r.height),r.classes[0]="mord",r):b},x.phantom=function(e,t){var r=b(e.value.value,t.withPhantom(),!1);return new o.makeFragment(r)},x.mclass=function(e,t){var r=b(e.value.value,t,!0);return l([e.value.mclass],r,t)};var S=function(e,t){if(!e)return l();if(x[e.type]){var r,i=x[e.type](e,t);return t.style!==t.parentStyle&&(r=t.style.sizeMultiplier/t.parentStyle.sizeMultiplier,i.height*=r,i.depth*=r),t.size!==t.parentSize&&(r=o.sizingMultiplier[t.size]/o.sizingMultiplier[t.parentSize],i.height*=r,i.depth*=r),i}throw new n("Got group of unknown type: '"+e.type+"'")},O=function(e,t){e=JSON.parse(JSON.stringify(e));var r=b(e,t,!0),n=l(["base",t.style.cls()],r,t),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};t.exports=O},{"./ParseError":95,"./Style":98,"./buildCommon":99,"./delimiter":103,"./domTree":104,"./fontMetrics":106,"./utils":114}],101:[function(e,t,r){var n=e("./buildCommon"),i=e("./fontMetrics"),o=e("./mathMLTree"),s=e("./ParseError"),a=e("./symbols"),u=e("./utils"),c=n.makeSpan,l=n.fontMap,h=function(e,t){return a[t][e]&&a[t][e].replace&&(e=a[t][e].replace),new o.TextNode(e)},p=function(e,t){var r=t.font;if(!r)return null;var n=e.mode;if("mathit"===r)return"italic";var o=e.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[t.font].variant:null},f={};f.mathord=function(e,t){var r=new o.MathNode("mi",[h(e.value,e.mode)]),n=p(e,t);return n&&r.setAttribute("mathvariant",n),r},f.textord=function(e,t){var r,n=h(e.value,e.mode),i=p(e,t)||"normal";return/[0-9]/.test(e.value)?(r=new o.MathNode("mn",[n]),t.font&&r.setAttribute("mathvariant",i)):(r=new o.MathNode("mi",[n]),r.setAttribute("mathvariant",i)),r},f.bin=function(e){return new o.MathNode("mo",[h(e.value,e.mode)])},f.rel=function(e){return new o.MathNode("mo",[h(e.value,e.mode)])},f.open=function(e){return new o.MathNode("mo",[h(e.value,e.mode)])},f.close=function(e){return new o.MathNode("mo",[h(e.value,e.mode)])},f.inner=function(e){return new o.MathNode("mo",[h(e.value,e.mode)])},f.punct=function(e){var t=new o.MathNode("mo",[h(e.value,e.mode)]);return t.setAttribute("separator","true"),t},f.ordgroup=function(e,t){var r=d(e.value,t);return new o.MathNode("mrow",r)},f.text=function(e,t){var r=d(e.value.body,t);return new o.MathNode("mtext",r)},f.color=function(e,t){var r=d(e.value.value,t),n=new o.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.value.color),n},f.supsub=function(e,t){var r=[b(e.value.base,t)];e.value.sub&&r.push(b(e.value.sub,t)),e.value.sup&&r.push(b(e.value.sup,t));var n;return n=e.value.sub?e.value.sup?"msubsup":"msub":"msup",new o.MathNode(n,r)},f.genfrac=function(e,t){var r=new o.MathNode("mfrac",[b(e.value.numer,t),b(e.value.denom,t)]);if(e.value.hasBarLine||r.setAttribute("linethickness","0px"),null!=e.value.leftDelim||null!=e.value.rightDelim){var n=[];if(null!=e.value.leftDelim){var i=new o.MathNode("mo",[new o.TextNode(e.value.leftDelim)]);i.setAttribute("fence","true"),n.push(i)}if(n.push(r),null!=e.value.rightDelim){var s=new o.MathNode("mo",[new o.TextNode(e.value.rightDelim)]);s.setAttribute("fence","true"),n.push(s)}return new o.MathNode("mrow",n)}return r},f.array=function(e,t){return new o.MathNode("mtable",e.value.body.map(function(e){return new o.MathNode("mtr",e.map(function(e){return new o.MathNode("mtd",[b(e,t)])}))}))},f.sqrt=function(e,t){return e.value.index?new o.MathNode("mroot",[b(e.value.body,t),b(e.value.index,t)]):new o.MathNode("msqrt",[b(e.value.body,t)])},f.leftright=function(e,t){var r=d(e.value.body,t);if("."!==e.value.left){var n=new o.MathNode("mo",[h(e.value.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if("."!==e.value.right){var i=new o.MathNode("mo",[h(e.value.right,e.mode)]);i.setAttribute("fence","true"),r.push(i)}return new o.MathNode("mrow",r)},f.middle=function(e,t){var r=new o.MathNode("mo",[h(e.value.middle,e.mode)]);return r.setAttribute("fence","true"),r},f.accent=function(e,t){var r=new o.MathNode("mo",[h(e.value.accent,e.mode)]),n=new o.MathNode("mover",[b(e.value.base,t),r]);return n.setAttribute("accent","true"),n},f.spacing=function(e){var t;return"\\ "===e.value||"\\space"===e.value||" "===e.value||"~"===e.value?t=new o.MathNode("mtext",[new o.TextNode(" ")]):(t=new o.MathNode("mspace"),t.setAttribute("width",n.spacingFunctions[e.value].size)),t},f.op=function(e,t){return e.value.symbol?new o.MathNode("mo",[h(e.value.body,e.mode)]):e.value.value?new o.MathNode("mo",d(e.value.value,t)):new o.MathNode("mi",[new o.TextNode(e.value.body.slice(1))])},f.mod=function(e,t){var r=[];if("pod"!==e.value.modType&&"pmod"!==e.value.modType||r.push(new o.MathNode("mo",[h("(",e.mode)])),"pod"!==e.value.modType&&r.push(new o.MathNode("mo",[h("mod",e.mode)])),e.value.value){var n=new o.MathNode("mspace");n.setAttribute("width","0.333333em"),r.push(n),r=r.concat(d(e.value.value,t))}return"pod"!==e.value.modType&&"pmod"!==e.value.modType||r.push(new o.MathNode("mo",[h(")",e.mode)])),new o.MathNode("mo",r)},f.katex=function(e){return new o.MathNode("mtext",[new o.TextNode("KaTeX")])},f.font=function(e,t){var r=e.value.font;return b(e.value.body,t.withFont(r))},f.delimsizing=function(e){var t=[];"."!==e.value.value&&t.push(h(e.value.value,e.mode));var r=new o.MathNode("mo",t);return"mopen"===e.value.mclass||"mclose"===e.value.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r},f.styling=function(e,t){var r=d(e.value.value,t),n=new o.MathNode("mstyle",r),i={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},s=i[e.value.style];return n.setAttribute("scriptlevel",s[0]),n.setAttribute("displaystyle",s[1]),n},f.sizing=function(e,t){var r=d(e.value.value,t),i=new o.MathNode("mstyle",r);return i.setAttribute("mathsize",n.sizingMultiplier[e.value.size]+"em"),i},f.overline=function(e,t){var r=new o.MathNode("mo",[new o.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new o.MathNode("mover",[b(e.value.body,t),r]);return n.setAttribute("accent","true"),n},f.underline=function(e,t){var r=new o.MathNode("mo",[new o.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new o.MathNode("munder",[b(e.value.body,t),r]);return n.setAttribute("accentunder","true"),n},f.rule=function(e){return new o.MathNode("mrow")},f.kern=function(e){return new o.MathNode("mrow")},f.llap=function(e,t){var r=new o.MathNode("mpadded",[b(e.value.body,t)]);return r.setAttribute("lspace","-1width"),r.setAttribute("width","0px"),r},f.rlap=function(e,t){var r=new o.MathNode("mpadded",[b(e.value.body,t)]);return r.setAttribute("width","0px"),r},f.phantom=function(e,t){var r=d(e.value.value,t);return new o.MathNode("mphantom",r)},f.mclass=function(e,t){var r=d(e.value.value,t);return new o.MathNode("mstyle",r)};var d=function(e,t){for(var r=[],n=0;n<e.length;n++){var i=e[n];r.push(b(i,t))}return r},b=function(e,t){if(!e)return new o.MathNode("mrow");if(f[e.type])return f[e.type](e,t);throw new s("Got group of unknown type: '"+e.type+"'")},m=function(e,t,r){var n=d(e,r),i=new o.MathNode("mrow",n),s=new o.MathNode("annotation",[new o.TextNode(t)]);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])};t.exports=m},{"./ParseError":95,"./buildCommon":99,"./fontMetrics":106,"./mathMLTree":109,"./symbols":112,"./utils":114}],102:[function(e,t,r){var n=e("./buildHTML"),i=e("./buildMathML"),o=e("./buildCommon"),s=e("./Options"),a=e("./Settings"),u=e("./Style"),c=o.makeSpan,l=function(e,t,r){r=r||new a({});var o=u.TEXT;r.displayMode&&(o=u.DISPLAY);var l=new s({style:o,size:"size5"}),h=i(e,t,l),p=n(e,l),f=c(["katex"],[h,p]);return r.displayMode?c(["katex-display"],[f]):f};t.exports=l},{"./Options":94,"./Settings":97,"./Style":98,"./buildCommon":99,"./buildHTML":100,"./buildMathML":101}],103:[function(e,t,r){var n=e("./ParseError"),i=e("./Style"),o=e("./buildCommon"),s=e("./fontMetrics"),a=e("./symbols"),u=e("./utils"),c=o.makeSpan,l=function(e,t){return a.math[e]&&a.math[e].replace?s.getCharacterMetrics(a.math[e].replace,t):s.getCharacterMetrics(e,t)},h=function(e,t,r,n){return o.makeSymbol(e,"Size"+t+"-Regular",r,n)},p=function(e,t,r,n){n=n||[];var i=c(n.concat(["style-wrap",r.style.reset(),t.cls()]),[e],r),o=t.sizeMultiplier/r.style.sizeMultiplier;return i.height*=o,i.depth*=o,i.maxFontSize=t.sizeMultiplier,i},f=function(e,t,r,n,i,s){var a=o.makeSymbol(e,"Main-Regular",i,n),u=p(a,t,n,s);if(r){var c=(1-n.style.sizeMultiplier/t.sizeMultiplier)*n.style.metrics.axisHeight;u.style.top=c+"em",u.height-=c,u.depth+=c}return u},d=function(e,t,r,n,o,s){var a=h(e,t,o,n),u=p(c(["delimsizing","size"+t],[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(e,t,r){var n;return"Size1-Regular"===t?n="delim-size1":"Size4-Regular"===t&&(n="delim-size4"),{type:"elem",elem:c(["delimsizinginner",n],[c([],[o.makeSymbol(e,t,r)])])}},m=function(e,t,r,n,s,a){var u,h,f,d;u=f=d=e,h=null;var m="Size1-Regular";"\\uparrow"===e?f=d="⏐":"\\Uparrow"===e?f=d="‖":"\\downarrow"===e?u=f="⏐":"\\Downarrow"===e?u=f="‖":"\\updownarrow"===e?(u="\\uparrow",f="⏐",d="\\downarrow"):"\\Updownarrow"===e?(u="\\Uparrow",f="‖",d="\\Downarrow"):"["===e||"\\lbrack"===e?(u="⎡",f="⎢",d="⎣",m="Size4-Regular"):"]"===e||"\\rbrack"===e?(u="⎤",f="⎥",d="⎦",m="Size4-Regular"):"\\lfloor"===e?(f=u="⎢",d="⎣",m="Size4-Regular"):"\\lceil"===e?(u="⎡",f=d="⎢",m="Size4-Regular"):"\\rfloor"===e?(f=u="⎥",d="⎦",m="Size4-Regular"):"\\rceil"===e?(u="⎤",f=d="⎥",m="Size4-Regular"):"("===e?(u="⎛",f="⎜",d="⎝",m="Size4-Regular"):")"===e?(u="⎞",f="⎟",d="⎠",m="Size4-Regular"):"\\{"===e||"\\lbrace"===e?(u="⎧",h="⎨",d="⎩",f="⎪",m="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(u="⎫",h="⎬",d="⎭",f="⎪",m="Size4-Regular"):"\\lgroup"===e?(u="⎧",d="⎩",f="⎪",m="Size4-Regular"):"\\rgroup"===e?(u="⎫",d="⎭",f="⎪",m="Size4-Regular"):"\\lmoustache"===e?(u="⎧",d="⎭",f="⎪",m="Size4-Regular"):"\\rmoustache"===e?(u="⎫",d="⎩",f="⎪",m="Size4-Regular"):"\\surd"===e&&(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((t-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(e,t,r,i,o){if("<"===e||"\\lt"===e?e="\\langle":">"!==e&&"\\gt"!==e||(e="\\rangle"),u.contains(v,e)||u.contains(g,e))return d(e,t,!1,r,i,o);if(u.contains(y,e))return m(e,w[t],!1,r,i,o);throw new n("Illegal delimiter: '"+e+"'")},_=[{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(e){return"small"===e.type?"Main-Regular":"large"===e.type?"Size"+e.size+"-Regular":"stack"===e.type?"Size4-Regular":void 0},j=function(e,t,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(e,k(r[o])),a=s.height+s.depth;if("small"===r[o].type&&(a*=r[o].style.sizeMultiplier),a>t)return r[o]}return r[r.length-1]},T=function(e,t,r,n,i,o){"<"===e||"\\lt"===e?e="\\langle":">"!==e&&"\\gt"!==e||(e="\\rangle");var s;s=u.contains(g,e)?_:u.contains(v,e)?O:S;var a=j(e,t,s,n);return"small"===a.type?f(e,a.style,r,n,i,o):"large"===a.type?d(e,a.size,r,n,i,o):"stack"===a.type?m(e,t,r,n,i,o):void 0},E=function(e,t,r,n,i,o){var a=n.style.metrics.axisHeight*n.style.sizeMultiplier,u=5/s.metrics.ptPerEm,c=Math.max(t-a,r+a),l=Math.max(c/500*901,2*c-u);return T(e,l,!0,n,i,o)};t.exports={sizedDelim:x,customSizedDelim:T,leftRightDelim:E}},{"./ParseError":95,"./Style":98,"./buildCommon":99,"./fontMetrics":106,"./symbols":112,"./utils":114}],104:[function(e,t,r){function n(e,t,r){this.classes=e||[],this.children=t||[],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(e){this.children=e||[],this.height=0,this.depth=0,this.maxFontSize=0}function o(e,t,r,n,i,o,a){this.value=e||"",this.height=t||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(e)&&(s.hangulRegex.test(e)?this.classes.push("hangul_fallback"):this.classes.push("cjk_fallback")),/[îïíì]/.test(this.value)&&(this.value=c[this.value])}var s=e("./unicodeRegexes"),a=e("./utils"),u=function(e){e=e.slice();for(var t=e.length-1;t>=0;t--)e[t]||e.splice(t,1);return e.join(" ")};n.prototype.setAttribute=function(e,t){this.attributes[e]=t},n.prototype.tryCombine=function(e){return!1},n.prototype.toNode=function(){var e=document.createElement("span");e.className=u(this.classes);for(var t in this.style)Object.prototype.hasOwnProperty.call(this.style,t)&&(e.style[t]=this.style[t]);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&e.setAttribute(r,this.attributes[r]);for(var n=0;n<this.children.length;n++)e.appendChild(this.children[n].toNode());return e},n.prototype.toMarkup=function(){var e="<span";this.classes.length&&(e+=' class="',e+=a.escape(u(this.classes)),e+='"');var t="";for(var r in this.style)this.style.hasOwnProperty(r)&&(t+=a.hyphenate(r)+":"+this.style[r]+";");t&&(e+=' style="'+a.escape(t)+'"');for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(e+=" "+n+'="',e+=a.escape(this.attributes[n]),e+='"');e+=">";for(var i=0;i<this.children.length;i++)e+=this.children[i].toMarkup();return e+="</span>"},i.prototype.toNode=function(){for(var e=document.createDocumentFragment(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e},i.prototype.toMarkup=function(){for(var e="",t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e};var c={"î":"ı̂","ï":"ı̈","í":"ı́","ì":"ı̀"};o.prototype.tryCombine=function(e){if(!e||!(e instanceof o)||this.italic>0||u(this.classes)!==u(e.classes)||this.skew!==e.skew||this.maxFontSize!==e.maxFontSize)return!1;for(var t in this.style)if(this.style.hasOwnProperty(t)&&this.style[t]!==e.style[t])return!1;for(t in e.style)if(e.style.hasOwnProperty(t)&&this.style[t]!==e.style[t])return!1;return this.value+=e.value,this.height=Math.max(this.height,e.height),this.depth=Math.max(this.depth,e.depth),this.italic=e.italic,!0},o.prototype.toNode=function(){var e=document.createTextNode(this.value),t=null;this.italic>0&&(t=document.createElement("span"),t.style.marginRight=this.italic+"em"),this.classes.length>0&&(t=t||document.createElement("span"),t.className=u(this.classes));for(var r in this.style)this.style.hasOwnProperty(r)&&(t=t||document.createElement("span"),t.style[r]=this.style[r]);return t?(t.appendChild(e),t):e},o.prototype.toMarkup=function(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=a.escape(u(this.classes)),t+='"');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&&(e=!0,t+=' style="'+a.escape(r)+'"');var i=a.escape(this.value);return e?(t+=">",t+=i,t+="</span>"):i},t.exports={span:n,documentFragment:i,symbolNode:o}},{"./unicodeRegexes":113,"./utils":114}],105:[function(e,t,r){function n(e,t){for(var r=[],n=[r],i=[];;){var o=e.parseExpression(!1,null);r.push(new u("ordgroup",o,e.mode));var a=e.nextToken.text;if("&"===a)e.consume();else{if("\\end"===a)break;if("\\\\"!==a&&"\\cr"!==a)throw new s("Expected & or \\\\ or \\end",e.nextToken);var c=e.parseFunction();i.push(c.value.size),r=[],n.push(r)}}return t.body=n,t.rowGaps=i,new u(t.type,t,e.mode)}function i(e,r,n){"string"==typeof e&&(e=[e]),"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<e.length;++o)t.exports[e[o]]=i}var o=e("./parseData"),s=e("./ParseError"),a=e("./Style"),u=o.ParseNode;i("array",{numArgs:1},function(e,t){var r=t[0];r=r.value.map?r.value:[r];var i=r.map(function(e){var t=e.value;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};throw new s("Unknown column alignment: "+e.value,e)}),o={type:"array",cols:i,hskipBeforeAndAfter:!0};return o=n(e.parser,o)}),i(["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix"],{},function(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName],r={type:"array",hskipBeforeAndAfter:!1};return r=n(e.parser,r),t&&(r=new u("leftright",{body:[r],left:t[0],right:t[1]},e.mode)),r}),i("cases",{},function(e){var t={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 t=n(e.parser,t),t=new u("leftright",{body:[t],left:"\\{",right:"."},e.mode)}),i("aligned",{},function(e){var t={type:"array",cols:[]};t=n(e.parser,t);var r=new u("ordgroup",[],e.mode),i=0;t.value.body.forEach(function(e){var t;for(t=1;t<e.length;t+=2)e[t].value.unshift(r);i<e.length&&(i=e.length)});for(var o=0;o<i;++o){var s="r",a=0;o%2==1?s="l":o>0&&(a=2),t.value.cols[o]={type:"align",align:s,pregap:a,postgap:0}}return t})},{"./ParseError":95,"./Style":98,"./parseData":110}],106:[function(e,t,r){var n=(e("./Style"),e("./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=e("./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(e,t){var r=e.charCodeAt(0);e[0]in a?r=a[e[0]].charCodeAt(0):n.test(e[0])&&(r="M".charCodeAt(0));var i=s[t][r];if(i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}};t.exports={metrics:o,sigmas:i,getCharacterMetrics:u}},{"./Style":98,"./fontMetricsData":107,"./unicodeRegexes":113}],107:[function(e,t,r){t.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],
|
20
|
+
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],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(e,t,r){function n(e,r,n){"string"==typeof e&&(e=[e]),"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<e.length;++o)t.exports[e[o]]=i}var i=e("./utils"),o=e("./ParseError"),s=e("./parseData"),a=s.ParseNode,u=function(e){return"ordgroup"===e.type?e.value:[e]};n("\\sqrt",{numArgs:1,numOptionalArgs:1},function(e,t){var r=t[0];return{type:"sqrt",body:t[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(e,t){var r=t[0];return{type:"text",body:u(r),
|
21
|
+
style:c[e.funcName]}}),n("\\color",{numArgs:2,allowedInText:!0,greediness:3,argTypes:["color","original"]},function(e,t){var r=t[0],n=t[1];return{type:"color",color:r.value,value:u(n)}}),n("\\overline",{numArgs:1},function(e,t){return{type:"overline",body:t[0]}}),n("\\underline",{numArgs:1},function(e,t){return{type:"underline",body:t[0]}}),n("\\rule",{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},function(e,t){var r=t[0],n=t[1],i=t[2];return{type:"rule",shift:r&&r.value,width:n.value,height:i.value}}),n(["\\kern","\\mkern"],{numArgs:1,argTypes:["size"]},function(e,t){return{type:"kern",dimension:t[0].value}}),n("\\KaTeX",{numArgs:0},function(e){return{type:"katex"}}),n("\\phantom",{numArgs:1},function(e,t){var r=t[0];return{type:"phantom",value:u(r)}}),n(["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],{numArgs:1},function(e,t){var r=t[0];return{type:"mclass",mclass:"m"+e.funcName.substr(5),value:u(r)}}),n("\\stackrel",{numArgs:2},function(e,t){var r=t[0],n=t[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(e,t){return{type:"mod",modType:"bmod",value:null}}),n(["\\pod","\\pmod","\\mod"],{numArgs:1},function(e,t){var r=t[0];return{type:"mod",modType:e.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(e,t){var r=t[0];return{type:"color",color:"katex-"+e.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(e){return{type:"op",limits:!1,symbol:!1,body:e.funcName}}),n(["\\det","\\gcd","\\inf","\\lim","\\liminf","\\limsup","\\max","\\min","\\Pr","\\sup"],{numArgs:0},function(e){return{type:"op",limits:!0,symbol:!1,body:e.funcName}}),n(["\\int","\\iint","\\iiint","\\oint"],{numArgs:0},function(e){return{type:"op",limits:!1,symbol:!0,body:e.funcName}}),n(["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint"],{numArgs:0},function(e){return{type:"op",limits:!0,symbol:!0,body:e.funcName}}),n("\\mathop",{numArgs:1},function(e,t){var r=t[0];return{type:"op",limits:!1,symbol:!1,value:u(r)}}),n(["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac"],{numArgs:2,greediness:2},function(e,t){var r,n=t[0],i=t[1],o=null,s=null,a="auto";switch(e.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(e.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(e,t){var r=t[0];return{type:e.funcName.slice(1),body:r}});var f=function(e,t){if(i.contains(h,e.value))return e;throw new o("Invalid delimiter: '"+e.value+"' after '"+t.funcName+"'",e)};n(["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],{numArgs:1},function(e,t){var r=f(t[0],e);return{type:"delimsizing",size:l[e.funcName].size,mclass:l[e.funcName].mclass,value:r.value}}),n(["\\left","\\right"],{numArgs:1},function(e,t){return{type:"leftright",value:f(t[0],e).value}}),n("\\middle",{numArgs:1},function(e,t){var r=f(t[0],e);if(!e.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(e,t){var r=t[0],n=e.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(e,t){var r=t[0];return{type:"accent",accent:e.funcName,base:r}}),n(["\\over","\\choose","\\atop"],{numArgs:0,infix:!0},function(e){var t;switch(e.funcName){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",replaceWith:t,token:e.token}}),n(["\\\\","\\cr"],{numArgs:0,numOptionalArgs:1,argTypes:["size"]},function(e,t){return{type:"cr",size:t[0]}}),n(["\\begin","\\end"],{numArgs:1,argTypes:["text"]},function(e,t){var r=t[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(e,t,r){function n(e,t){this.type=e,this.attributes={},this.children=t||[]}function i(e){this.text=e}var o=e("./utils");n.prototype.setAttribute=function(e,t){this.attributes[e]=t},n.prototype.toNode=function(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e},n.prototype.toMarkup=function(){var e="<"+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=o.escape(this.attributes[t]),e+='"');e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+="</"+this.type+">"},i.prototype.toNode=function(){return document.createTextNode(this.text)},i.prototype.toMarkup=function(){return o.escape(this.text)},t.exports={MathNode:n,TextNode:i}},{"./utils":114}],110:[function(e,t,r){function n(e,t,r,n,i){this.type=e,this.value=t,this.mode=r,!n||i&&i.lexer!==n.lexer||(this.lexer=n.lexer,this.start=n.start,this.end=(i||n).end)}t.exports={ParseNode:n}},{}],111:[function(e,t,r){var n=e("./Parser"),i=function(e,t){if(!("string"==typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");return new n(e,t).parse()};t.exports=i},{"./Parser":96}],112:[function(e,t,r){function n(e,r,n,i,o){t.exports[e][o]={font:r,group:n,replace:i}}t.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(e,t,r){t.exports={cjkRegex:/[\u3040-\u309F]|[\u30A0-\u30FF]|[\u4E00-\u9FAF]|[\uAC00-\uD7AF]/,hangulRegex:/[\uAC00-\uD7AF]/}},{}],114:[function(e,t,r){function n(e){return p[e]}function i(e){return(""+e).replace(f,n)}function o(e){s(e,"")}var s,a=Array.prototype.indexOf,u=function(e,t){if(null==e)return-1;if(a&&e.indexOf===a)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1},c=function(e,t){return-1!==u(e,t)},l=function(e,t){return void 0===e?t:e},h=function(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()},p={"&":"&",">":">","<":"<",'"':""","'":"'"},f=/[&><"']/g;if("undefined"!=typeof document){var d=document.createElement("span");s="textContent"in d?function(e,t){e.textContent=t}:function(e,t){e.innerText=t}}t.exports={contains:c,deflt:l,escape:i,hyphenate:h,indexOf:u,setTextContent:s,clearNode:o}},{}],115:[function(e,t,r){"use strict";function n(e){if(!e.__matchAtRelocatable){var t=e.source+"|()",r="g"+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"");e.__matchAtRelocatable=new RegExp(t,r)}return e.__matchAtRelocatable}function i(e,t,r){if(e.global||e.sticky)throw new Error("matchAt(...): Only non-global regexes are supported");var i=n(e);i.lastIndex=r;var o=i.exec(t);return null==o[o.length-1]?(o.length=o.length-1,o):null}t.exports=i},{}],116:[function(e,t,r){"use strict";var n=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},i=e("./Subscriber"),o=function(e){function t(t,r,n){e.call(this),this.parent=t,this.outerValue=r,this.outerIndex=n,this.index=0}return n(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(i.Subscriber);r.InnerSubscriber=o},{"./Subscriber":123}],117:[function(e,t,r){"use strict";var n=e("./util/root"),i=e("./util/toSubscriber"),o=e("./symbol/observable"),s=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var n=this.operator,o=i.toSubscriber(e,t,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},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.syncErrorThrown=!0,e.syncErrorValue=t,e.error(t)}},e.prototype.forEach=function(e,t){var r=this;if(t||(n.root.Rx&&n.root.Rx.config&&n.root.Rx.config.Promise?t=n.root.Rx.config.Promise:n.root.Promise&&(t=n.root.Promise)),!t)throw new Error("no Promise impl found");return new t(function(t,n){var i;i=r.subscribe(function(t){if(i)try{e(t)}catch(e){n(e),i.unsubscribe()}else e(t)},n,t)})},e.prototype._subscribe=function(e){return this.source.subscribe(e)},e.prototype[o.observable]=function(){return this},e.create=function(t){return new e(t)},e}();r.Observable=s},{"./symbol/observable":156,"./util/root":169,"./util/toSubscriber":171}],118:[function(e,t,r){"use strict";r.empty={closed:!0,next:function(e){},error:function(e){throw e},complete:function(){}}},{}],119:[function(e,t,r){"use strict";var n=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},i=e("./Subscriber"),o=function(e){function t(){e.apply(this,arguments)}return n(t,e),t.prototype.notifyNext=function(e,t,r,n,i){this.destination.next(t)},t.prototype.notifyError=function(e,t){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.destination.complete()},t}(i.Subscriber);r.OuterSubscriber=o},{"./Subscriber":123}],120:[function(e,t,r){"use strict";var n=function(){function e(t,r){void 0===r&&(r=e.now),this.SchedulerAction=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(r,t)},e.now=Date.now?Date.now:function(){return+new Date},e}();r.Scheduler=n},{}],121:[function(e,t,r){"use strict";var n=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},i=e("./Observable"),o=e("./Subscriber"),s=e("./Subscription"),a=e("./util/ObjectUnsubscribedError"),u=e("./SubjectSubscription"),c=e("./symbol/rxSubscriber"),l=function(e){function t(t){e.call(this,t),this.destination=t}return n(t,e),t}(o.Subscriber);r.SubjectSubscriber=l;var h=function(e){function t(){e.call(this),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}return n(t,e),t.prototype[c.rxSubscriber]=function(){return new l(this)},t.prototype.lift=function(e){var t=new p(this,this);return t.operator=e,t},t.prototype.next=function(e){if(this.closed)throw new a.ObjectUnsubscribedError;if(!this.isStopped)for(var t=this.observers,r=t.length,n=t.slice(),i=0;i<r;i++)n[i].next(e)},t.prototype.error=function(e){if(this.closed)throw new a.ObjectUnsubscribedError;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,r=t.length,n=t.slice(),i=0;i<r;i++)n[i].error(e);this.observers.length=0},t.prototype.complete=function(){if(this.closed)throw new a.ObjectUnsubscribedError;this.isStopped=!0;for(var e=this.observers,t=e.length,r=e.slice(),n=0;n<t;n++)r[n].complete();this.observers.length=0},t.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},t.prototype._trySubscribe=function(t){if(this.closed)throw new a.ObjectUnsubscribedError;return e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){if(this.closed)throw new a.ObjectUnsubscribedError;return this.hasError?(e.error(this.thrownError),s.Subscription.EMPTY):this.isStopped?(e.complete(),s.Subscription.EMPTY):(this.observers.push(e),new u.SubjectSubscription(this,e))},t.prototype.asObservable=function(){var e=new i.Observable;return e.source=this,e},t.create=function(e,t){return new p(e,t)},t}(i.Observable);r.Subject=h;var p=function(e){function t(t,r){e.call(this),this.destination=t,this.source=r}return n(t,e),t.prototype.next=function(e){var t=this.destination;t&&t.next&&t.next(e)},t.prototype.error=function(e){var t=this.destination;t&&t.error&&this.destination.error(e)},t.prototype.complete=function(){var e=this.destination;e&&e.complete&&this.destination.complete()},t.prototype._subscribe=function(e){return this.source?this.source.subscribe(e):s.Subscription.EMPTY},t}(h);r.AnonymousSubject=p},{"./Observable":117,"./SubjectSubscription":122,"./Subscriber":123,"./Subscription":124,"./symbol/rxSubscriber":157,"./util/ObjectUnsubscribedError":158}],122:[function(e,t,r){"use strict";var n=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},i=e("./Subscription"),o=function(e){function t(t,r){e.call(this),this.subject=t,this.subscriber=r,this.closed=!1}return n(t,e),t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var r=t.indexOf(this.subscriber);-1!==r&&t.splice(r,1)}}},t}(i.Subscription);r.SubjectSubscription=o},{"./Subscription":124}],123:[function(e,t,r){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},o=e("./util/isFunction"),s=e("./Subscription"),a=e("./Observer"),u=e("./symbol/rxSubscriber"),c=function(e){function t(r,i,o){switch(e.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 t?(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(t,e),t.prototype[u.rxSubscriber]=function(){return this},t.create=function(e,r,n){var i=new t(e,r,n);return i.syncErrorThrowable=!1,i},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this,t=e._parent,r=e._parents;return this._parent=null,this._parents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parent=t,this._parents=r,this},t}(s.Subscription);r.Subscriber=c;var l=function(e){function t(t,r,n,i){e.call(this),this._parentSubscriber=t;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(t,e),
|
22
|
+
t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber;if(this._error)t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else{if(!t.syncErrorThrowable)throw this.unsubscribe(),e;t.syncErrorValue=e,t.syncErrorThrown=!0,this.unsubscribe()}}},t.prototype.complete=function(){if(!this.isStopped){var e=this._parentSubscriber;this._complete?e.syncErrorThrowable?(this.__tryOrSetError(e,this._complete),this.unsubscribe()):(this.__tryOrUnsub(this._complete),this.unsubscribe()):this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){throw this.unsubscribe(),e}},t.prototype.__tryOrSetError=function(e,t,r){try{t.call(this._context,r)}catch(t){return e.syncErrorValue=t,e.syncErrorThrown=!0,!0}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(c)},{"./Observer":118,"./Subscription":124,"./symbol/rxSubscriber":157,"./util/isFunction":164}],124:[function(e,t,r){"use strict";function n(e){return e.reduce(function(e,t){return e.concat(t instanceof l.UnsubscriptionError?t.errors:t)},[])}var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=e("./util/isArray"),s=e("./util/isObject"),a=e("./util/isFunction"),u=e("./util/tryCatch"),c=e("./util/errorObject"),l=e("./util/UnsubscriptionError"),h=function(){function e(e){this.closed=!1,this._parent=null,this._parents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}return e.prototype.unsubscribe=function(){var e,t=!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&&(t=!0,e=e||(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){t=!0,e=e||[];var y=c.errorObject.e;y instanceof l.UnsubscriptionError?e=e.concat(n(y.errors)):e.push(y)}}}if(t)throw new l.UnsubscriptionError(e)}},e.prototype.add=function(t){if(!t||t===e.EMPTY)return e.EMPTY;if(t===this)return this;var r=t;switch(void 0===t?"undefined":i(t)){case"function":r=new e(t);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 e,r._subscriptions=[n]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}return(this._subscriptions||(this._subscriptions=[])).push(r),r._addParent(this),r},e.prototype.remove=function(e){var t=this._subscriptions;if(t){var r=t.indexOf(e);-1!==r&&t.splice(r,1)}},e.prototype._addParent=function(e){var t=this,r=t._parent,n=t._parents;r&&r!==e?n?-1===n.indexOf(e)&&n.push(e):this._parents=[e]:this._parent=e},e.EMPTY=function(e){return e.closed=!0,e}(new e),e}();r.Subscription=h},{"./util/UnsubscriptionError":159,"./util/errorObject":160,"./util/isArray":161,"./util/isFunction":164,"./util/isObject":166,"./util/tryCatch":172}],125:[function(e,t,r){"use strict";var n=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},i=e("../Observable"),o=e("./ScalarObservable"),s=e("./EmptyObservable"),a=e("../util/isScheduler"),u=function(e){function t(t,r){e.call(this),this.array=t,this.scheduler=r,r||1!==t.length||(this._isScalar=!0,this.value=t[0])}return n(t,e),t.create=function(e,r){return new t(e,r)},t.of=function(){for(var e=[],r=0;r<arguments.length;r++)e[r-0]=arguments[r];var n=e[e.length-1];a.isScheduler(n)?e.pop():n=null;var i=e.length;return i>1?new t(e,n):1===i?new o.ScalarObservable(e[0],n):new s.EmptyObservable(n)},t.dispatch=function(e){var t=e.array,r=e.index,n=e.count,i=e.subscriber;if(r>=n)return void i.complete();i.next(t[r]),i.closed||(e.index=r+1,this.schedule(e))},t.prototype._subscribe=function(e){var r=this.array,n=r.length,i=this.scheduler;if(i)return i.schedule(t.dispatch,0,{array:r,index:0,count:n,subscriber:e});for(var o=0;o<n&&!e.closed;o++)e.next(r[o]);e.complete()},t}(i.Observable);r.ArrayObservable=u},{"../Observable":117,"../util/isScheduler":168,"./EmptyObservable":127,"./ScalarObservable":129}],126:[function(e,t,r){"use strict";var n=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},i=e("../Subject"),o=e("../Observable"),s=e("../Subscriber"),a=e("../Subscription"),u=function(e){function t(t,r){e.call(this),this.source=t,this.subjectFactory=r,this._refCount=0}return n(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype.connect=function(){var e=this._connection;return e||(e=this._connection=new a.Subscription,e.add(this.source.subscribe(new c(this.getSubject(),this))),e.closed?(this._connection=null,e=a.Subscription.EMPTY):this._connection=e),e},t.prototype.refCount=function(){return this.lift(new l(this))},t}(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(e){function t(t,r){e.call(this,t),this.connectable=r}return n(t,e),t.prototype._error=function(t){this._unsubscribe(),e.prototype._error.call(this,t)},t.prototype._complete=function(){this._unsubscribe(),e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}},t}(i.SubjectSubscriber),l=function(){function e(e){this.connectable=e}return e.prototype.call=function(e,t){var r=this.connectable;r._refCount++;var n=new h(e,r),i=t.subscribe(n);return n.closed||(n.connection=r.connect()),i},e}(),h=function(e){function t(t,r){e.call(this,t),this.connectable=r}return n(t,e),t.prototype._unsubscribe=function(){var e=this.connectable;if(!e)return void(this.connection=null);this.connectable=null;var t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);var r=this.connection,n=e._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()},t}(s.Subscriber)},{"../Observable":117,"../Subject":121,"../Subscriber":123,"../Subscription":124}],127:[function(e,t,r){"use strict";var n=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},i=e("../Observable"),o=function(e){function t(t){e.call(this),this.scheduler=t}return n(t,e),t.create=function(e){return new t(e)},t.dispatch=function(e){e.subscriber.complete()},t.prototype._subscribe=function(e){var r=this.scheduler;if(r)return r.schedule(t.dispatch,0,{subscriber:e});e.complete()},t}(i.Observable);r.EmptyObservable=o},{"../Observable":117}],128:[function(e,t,r){"use strict";function n(e){return!!e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}function i(e){return!!e&&"function"==typeof e.on&&"function"==typeof e.off}function o(e){return!!e&&"[object NodeList]"===d.call(e)}function s(e){return!!e&&"[object HTMLCollection]"===d.call(e)}function a(e){return!!e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}var u=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},c=e("../Observable"),l=e("../util/tryCatch"),h=e("../util/isFunction"),p=e("../util/errorObject"),f=e("../Subscription"),d=Object.prototype.toString,b=function(e){function t(t,r,n,i){e.call(this),this.sourceObj=t,this.eventName=r,this.selector=n,this.options=i}return u(t,e),t.create=function(e,r,n,i){return h.isFunction(n)&&(i=n,n=void 0),new t(e,r,i,n)},t.setupSubscription=function(e,r,u,c,l){var h;if(o(e)||s(e))for(var p=0,d=e.length;p<d;p++)t.setupSubscription(e[p],r,u,c,l);else if(a(e)){var b=e;e.addEventListener(r,u,l),h=function(){return b.removeEventListener(r,u)}}else if(i(e)){var m=e;e.on(r,u),h=function(){return m.off(r,u)}}else{if(!n(e))throw new TypeError("Invalid event target");var v=e;e.addListener(r,u),h=function(){return v.removeListener(r,u)}}c.add(new f.Subscription(h))},t.prototype._subscribe=function(e){var r=this.sourceObj,n=this.eventName,i=this.options,o=this.selector,s=o?function(){for(var t=[],r=0;r<arguments.length;r++)t[r-0]=arguments[r];var n=l.tryCatch(o).apply(void 0,t);n===p.errorObject?e.error(p.errorObject.e):e.next(n)}:function(t){return e.next(t)};t.setupSubscription(r,n,s,e,i)},t}(c.Observable);r.FromEventObservable=b},{"../Observable":117,"../Subscription":124,"../util/errorObject":160,"../util/isFunction":164,"../util/tryCatch":172}],129:[function(e,t,r){"use strict";var n=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},i=e("../Observable"),o=function(e){function t(t,r){e.call(this),this.value=t,this.scheduler=r,this._isScalar=!0,r&&(this._isScalar=!1)}return n(t,e),t.create=function(e,r){return new t(e,r)},t.dispatch=function(e){var t=e.done,r=e.value,n=e.subscriber;if(t)return void n.complete();n.next(r),n.closed||(e.done=!0,this.schedule(e))},t.prototype._subscribe=function(e){var r=this.value,n=this.scheduler;if(n)return n.schedule(t.dispatch,0,{done:!1,value:r,subscriber:e});e.next(r),e.closed||e.complete()},t}(i.Observable);r.ScalarObservable=o},{"../Observable":117}],130:[function(e,t,r){"use strict";var n=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},i=e("../util/isNumeric"),o=e("../Observable"),s=e("../scheduler/async"),a=e("../util/isScheduler"),u=e("../util/isDate"),c=function(e){function t(t,r,n){void 0===t&&(t=0),e.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(t)?+t-this.scheduler.now():t}return n(t,e),t.create=function(e,r,n){return void 0===e&&(e=0),new t(e,r,n)},t.dispatch=function(e){var t=e.index,r=e.period,n=e.subscriber,i=this;if(n.next(t),!n.closed){if(-1===r)return n.complete();e.index=t+1,i.schedule(e,r)}},t.prototype._subscribe=function(e){var r=this,n=r.period,i=r.dueTime;return r.scheduler.schedule(t.dispatch,i,{index:0,period:n,subscriber:e})},t}(o.Observable);r.TimerObservable=c},{"../Observable":117,"../scheduler/async":154,"../util/isDate":163,"../util/isNumeric":165,"../util/isScheduler":168}],131:[function(e,t,r){"use strict";var n=e("./EmptyObservable");r.empty=n.EmptyObservable.create},{"./EmptyObservable":127}],132:[function(e,t,r){"use strict";var n=e("./FromEventObservable");r.fromEvent=n.FromEventObservable.create},{"./FromEventObservable":128}],133:[function(e,t,r){"use strict";var n=e("./TimerObservable");r.timer=n.TimerObservable.create},{"./TimerObservable":130}],134:[function(e,t,r){"use strict";function n(e){var t=new a(e),r=this.lift(t);return t.caught=r}var i=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},o=e("../OuterSubscriber"),s=e("../util/subscribeToResult");r._catch=n;var a=function(){function e(e){this.selector=e}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.selector,this.caught))},e}(),u=function(e){function t(t,r,n){e.call(this,t),this.selector=r,this.caught=n}return i(t,e),t.prototype.error=function(t){if(!this.isStopped){var r=void 0;try{r=this.selector(t,this.caught)}catch(t){return void e.prototype.error.call(this,t)}this._unsubscribeAndRecycle(),this.add(s.subscribeToResult(this,r))}},t}(o.OuterSubscriber)},{"../OuterSubscriber":119,"../util/subscribeToResult":170}],135:[function(e,t,r){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return this.lift.call(i.apply(void 0,[this].concat(e)))}function i(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];var r=null,n=e;return s.isScheduler(n[e.length-1])&&(r=n.pop()),null===r&&1===e.length&&e[0]instanceof o.Observable?e[0]:new a.ArrayObservable(e,r).lift(new u.MergeAllOperator(1))}var o=e("../Observable"),s=e("../util/isScheduler"),a=e("../observable/ArrayObservable"),u=e("./mergeAll");r.concat=n,r.concatStatic=i},{"../Observable":117,"../observable/ArrayObservable":125,"../util/isScheduler":168,"./mergeAll":142}],136:[function(e,t,r){"use strict";function n(e,t){return void 0===t&&(t=a.async),this.lift(new u(e,t))}function i(e){e.debouncedNext()}var o=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},s=e("../Subscriber"),a=e("../scheduler/async");r.debounceTime=n;var u=function(){function e(e,t){this.dueTime=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.dueTime,this.scheduler))},e}(),c=function(e){function t(t,r,n){e.call(this,t),this.dueTime=r,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}return o(t,e),t.prototype._next=function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(i,this.dueTime,this))},t.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},t.prototype.debouncedNext=function(){this.clearDebounce(),this.hasValue&&(this.destination.next(this.lastValue),this.lastValue=null,this.hasValue=!1)},t.prototype.clearDebounce=function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)},t}(s.Subscriber)},{"../Subscriber":123,"../scheduler/async":154}],137:[function(e,t,r){"use strict";function n(e,t,r){return this.lift(new s(e,t,r))}var i=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},o=e("../Subscriber");r._do=n;var s=function(){function e(e,t,r){this.nextOrObserver=e,this.error=t,this.complete=r}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.nextOrObserver,this.error,this.complete))},e}(),a=function(e){function t(t,r,n,i){e.call(this,t);var s=new o.Subscriber(r,n,i);s.syncErrorThrowable=!0,this.add(s),this.safeSubscriber=s}return i(t,e),t.prototype._next=function(e){var t=this.safeSubscriber;t.next(e),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.next(e)},t.prototype._error=function(e){var t=this.safeSubscriber;t.error(e),t.syncErrorThrown?this.destination.error(t.syncErrorValue):this.destination.error(e)},t.prototype._complete=function(){var e=this.safeSubscriber;e.complete(),e.syncErrorThrown?this.destination.error(e.syncErrorValue):this.destination.complete()},t}(o.Subscriber)},{"../Subscriber":123}],138:[function(e,t,r){"use strict";function n(e,t){return this.lift(new a(e,t))}var i=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},o=e("../OuterSubscriber"),s=e("../util/subscribeToResult");r.exhaustMap=n;var a=function(){function e(e,t){this.project=e,this.resultSelector=t}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.project,this.resultSelector))},e}(),u=function(e){function t(t,r,n){e.call(this,t),this.project=r,this.resultSelector=n,this.hasSubscription=!1,this.hasCompleted=!1,this.index=0}return i(t,e),t.prototype._next=function(e){this.hasSubscription||this.tryNext(e)},t.prototype.tryNext=function(e){var t=this.index++,r=this.destination;try{var n=this.project(e,t);this.hasSubscription=!0,this.add(s.subscribeToResult(this,n,e,t))}catch(e){r.error(e)}},t.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete()},t.prototype.notifyNext=function(e,t,r,n,i){var o=this,s=o.resultSelector,a=o.destination;s?this.trySelectResult(e,t,r,n):a.next(t)},t.prototype.trySelectResult=function(e,t,r,n){var i=this,o=i.resultSelector,s=i.destination;try{var a=o(e,t,r,n);s.next(a)}catch(e){s.error(e)}},t.prototype.notifyError=function(e){this.destination.error(e)},t.prototype.notifyComplete=function(e){this.remove(e),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},t}(o.OuterSubscriber)},{"../OuterSubscriber":119,"../util/subscribeToResult":170}],139:[function(e,t,r){"use strict";function n(e,t){return this.lift(new s(e,t))}var i=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},o=e("../Subscriber");r.filter=n;var s=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.predicate,this.thisArg))},e}(),a=function(e){function t(t,r,n){e.call(this,t),this.predicate=r,this.thisArg=n,this.count=0,this.predicate=r}return i(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}t&&this.destination.next(e)},t}(o.Subscriber)},{"../Subscriber":123}],140:[function(e,t,r){"use strict";function n(e){return this.lift(new a(e))}var i=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},o=e("../Subscriber"),s=e("../Subscription");r._finally=n;var a=function(){function e(e){this.callback=e}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.callback))},e}(),u=function(e){function t(t,r){e.call(this,t),this.add(new s.Subscription(r))}return i(t,e),t}(o.Subscriber)},{"../Subscriber":123,"../Subscription":124}],141:[function(e,t,r){"use strict";function n(e,t){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return this.lift(new s(e,t))}var i=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},o=e("../Subscriber");r.map=n;var s=function(){function e(e,t){this.project=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new a(e,this.project,this.thisArg))},e}();r.MapOperator=s;var a=function(e){function t(t,r,n){e.call(this,t),this.project=r,this.count=0,this.thisArg=n||this}return i(t,e),t.prototype._next=function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(o.Subscriber)},{"../Subscriber":123}],142:[function(e,t,r){"use strict";function n(e){return void 0===e&&(e=Number.POSITIVE_INFINITY),this.lift(new a(e))}var i=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},o=e("../OuterSubscriber"),s=e("../util/subscribeToResult");r.mergeAll=n;var a=function(){function e(e){this.concurrent=e}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.concurrent))},e}();r.MergeAllOperator=a;var u=function(e){function t(t,r){e.call(this,t),this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0}return i(t,e),t.prototype._next=function(e){this.active<this.concurrent?(this.active++,this.add(s.subscribeToResult(this,e))):this.buffer.push(e)},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(o.OuterSubscriber);r.MergeAllSubscriber=u},{"../OuterSubscriber":119,"../util/subscribeToResult":170}],143:[function(e,t,r){"use strict";function n(e,t,r){return void 0===r&&(r=Number.POSITIVE_INFINITY),"number"==typeof t&&(r=t,t=null),this.lift(new a(e,t,r))}var i=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},o=e("../util/subscribeToResult"),s=e("../OuterSubscriber");r.mergeMap=n;var a=function(){function e(e,t,r){void 0===r&&(r=Number.POSITIVE_INFINITY),this.project=e,this.resultSelector=t,this.concurrent=r}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.project,this.resultSelector,this.concurrent))},e}();r.MergeMapOperator=a;var u=function(e){function t(t,r,n,i){void 0===i&&(i=Number.POSITIVE_INFINITY),e.call(this,t),this.project=r,this.resultSelector=n,this.concurrent=i,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}return i(t,e),t.prototype._next=function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)},t.prototype._tryNext=function(e){var t,r=this.index++;try{t=this.project(e,r)}catch(e){return void this.destination.error(e)}this.active++,this._innerSub(t,e,r)},t.prototype._innerSub=function(e,t,r){this.add(o.subscribeToResult(this,e,t,r))},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete()},t.prototype.notifyNext=function(e,t,r,n,i){this.resultSelector?this._notifyResultSelector(e,t,r,n):this.destination.next(t)},t.prototype._notifyResultSelector=function(e,t,r,n){var i;try{i=this.resultSelector(e,t,r,n)}catch(e){return void this.destination.error(e)}this.destination.next(i)},t.prototype.notifyComplete=function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(s.OuterSubscriber);r.MergeMapSubscriber=u},{"../OuterSubscriber":119,"../util/subscribeToResult":170}],144:[function(e,t,r){"use strict";function n(e,t){var r;if(r="function"==typeof e?e:function(){return e},"function"==typeof t)return this.lift(new o(r,t));var n=Object.create(this,i.connectableObservableDescriptor);return n.source=this,n.subjectFactory=r,n}var i=e("../observable/ConnectableObservable");r.multicast=n;var o=function(){function e(e,t){this.subjectFactory=e,this.selector=t}return e.prototype.call=function(e,t){var r=this.selector,n=this.subjectFactory(),i=r(n).subscribe(e);return i.add(t.subscribe(n)),i},e}();r.MulticastOperator=o},{"../observable/ConnectableObservable":126}],145:[function(e,t,r){"use strict";function n(){return this.lift(new s)}var i=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},o=e("../Subscriber");r.pairwise=n;var s=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new a(e))},e}(),a=function(e){function t(t){e.call(this,t),this.hasPrev=!1}return i(t,e),t.prototype._next=function(e){this.hasPrev?this.destination.next([this.prev,e]):this.hasPrev=!0,this.prev=e},t}(o.Subscriber)},{"../Subscriber":123}],146:[function(e,t,r){"use strict";function n(){return new s.Subject}function i(){return o.multicast.call(this,n).refCount()}var o=e("./multicast"),s=e("../Subject");r.share=i},{"../Subject":121,"./multicast":144}],147:[function(e,t,r){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];var r=e[e.length-1];u.isScheduler(r)?e.pop():r=null;var n=e.length;return 1===n?a.concatStatic(new o.ScalarObservable(e[0],r),this):n>1?a.concatStatic(new i.ArrayObservable(e,r),this):a.concatStatic(new s.EmptyObservable(r),this)}var i=e("../observable/ArrayObservable"),o=e("../observable/ScalarObservable"),s=e("../observable/EmptyObservable"),a=e("./concat"),u=e("../util/isScheduler");r.startWith=n},{"../observable/ArrayObservable":125,"../observable/EmptyObservable":127,"../observable/ScalarObservable":129,"../util/isScheduler":168,"./concat":135}],148:[function(e,t,r){"use strict";function n(e,t){return this.lift(new a(e,t))}var i=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},o=e("../OuterSubscriber"),s=e("../util/subscribeToResult");r.switchMap=n;var a=function(){function e(e,t){this.project=e,this.resultSelector=t}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.project,this.resultSelector))},e}(),u=function(e){function t(t,r,n){e.call(this,t),this.project=r,this.resultSelector=n,this.index=0}return i(t,e),t.prototype._next=function(e){var t,r=this.index++;try{t=this.project(e,r)}catch(e){return void this.destination.error(e)}this._innerSub(t,e,r)},t.prototype._innerSub=function(e,t,r){var n=this.innerSubscription;n&&n.unsubscribe(),this.add(this.innerSubscription=s.subscribeToResult(this,e,t,r))},t.prototype._complete=function(){var t=this.innerSubscription;t&&!t.closed||e.prototype._complete.call(this)},t.prototype._unsubscribe=function(){this.innerSubscription=null},t.prototype.notifyComplete=function(t){this.remove(t),this.innerSubscription=null,this.isStopped&&e.prototype._complete.call(this)},t.prototype.notifyNext=function(e,t,r,n,i){this.resultSelector?this._tryNotifyNext(e,t,r,n):this.destination.next(t)},t.prototype._tryNotifyNext=function(e,t,r,n){var i;try{i=this.resultSelector(e,t,r,n)}catch(e){return void this.destination.error(e)}this.destination.next(i)},t}(o.OuterSubscriber)},{"../OuterSubscriber":119,"../util/subscribeToResult":170}],149:[function(e,t,r){"use strict";function n(e){return this.lift(new a(e))}var i=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},o=e("../OuterSubscriber"),s=e("../util/subscribeToResult");r.takeUntil=n;var a=function(){function e(e){this.notifier=e}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.notifier))},e}(),u=function(e){function t(t,r){e.call(this,t),this.notifier=r,this.add(s.subscribeToResult(this,r))}return i(t,e),t.prototype.notifyNext=function(e,t,r,n,i){this.complete()},t.prototype.notifyComplete=function(){},t}(o.OuterSubscriber)},{"../OuterSubscriber":119,"../util/subscribeToResult":170}],150:[function(e,t,r){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return this.lift.call(i.apply(void 0,[this].concat(e)))}function i(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];var r=e[e.length-1];return"function"==typeof r&&e.pop(),new s.ArrayObservable(e).lift(new p(r))}var o=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},s=e("../observable/ArrayObservable"),a=e("../util/isArray"),u=e("../Subscriber"),c=e("../OuterSubscriber"),l=e("../util/subscribeToResult"),h=e("../symbol/iterator");r.zipProto=n,r.zipStatic=i;var p=function(){function e(e){this.project=e}return e.prototype.call=function(e,t){return t.subscribe(new f(e,this.project))},e}();r.ZipOperator=p;var f=function(e){function t(t,r,n){void 0===n&&(n=Object.create(null)),e.call(this,t),this.iterators=[],this.active=0,this.project="function"==typeof r?r:null,this.values=n}return o(t,e),t.prototype._next=function(e){var t=this.iterators;a.isArray(e)?t.push(new b(e)):"function"==typeof e[h.iterator]?t.push(new d(e[h.iterator]())):t.push(new m(this.destination,this,e))},t.prototype._complete=function(){var e=this.iterators,t=e.length;if(0===t)return void this.destination.complete();this.active=t;for(var r=0;r<t;r++){var n=e[r];n.stillUnsubscribed?this.add(n.subscribe(n,r)):this.active--}},t.prototype.notifyInactive=function(){0===--this.active&&this.destination.complete()},t.prototype.checkIterators=function(){for(var e=this.iterators,t=e.length,r=this.destination,n=0;n<t;n++){var i=e[n];if("function"==typeof i.hasValue&&!i.hasValue())return}for(var o=!1,s=[],n=0;n<t;n++){var i=e[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()},t.prototype._tryProject=function(e){var t;try{t=this.project.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(u.Subscriber);r.ZipSubscriber=f;var d=function(){function e(e){this.iterator=e,this.nextResult=e.next()}return e.prototype.hasValue=function(){return!0},e.prototype.next=function(){var e=this.nextResult;return this.nextResult=this.iterator.next(),e},e.prototype.hasCompleted=function(){var e=this.nextResult;return e&&e.done},e}(),b=function(){function e(e){this.array=e,this.index=0,this.length=0,this.length=e.length}return e.prototype[h.iterator]=function(){return this},e.prototype.next=function(e){var t=this.index++,r=this.array;return t<this.length?{value:r[t],done:!1}:{value:null,done:!0}},e.prototype.hasValue=function(){return this.array.length>this.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),m=function(e){function t(t,r,n){e.call(this,t),this.parent=r,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return o(t,e),t.prototype[h.iterator]=function(){return this},t.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},t.prototype.hasValue=function(){return this.buffer.length>0},t.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},t.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},t.prototype.notifyNext=function(e,t,r,n,i){this.buffer.push(t),this.parent.checkIterators()},t.prototype.subscribe=function(e,t){return l.subscribeToResult(this,this.observable,this,t)},t}(c.OuterSubscriber)},{"../OuterSubscriber":119,"../Subscriber":123,"../observable/ArrayObservable":125,"../symbol/iterator":155,"../util/isArray":161,"../util/subscribeToResult":170}],151:[function(e,t,r){"use strict";var n=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},i=e("../Subscription"),o=function(e){function t(t,r){e.call(this)}return n(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(i.Subscription);r.Action=o},{"../Subscription":124}],152:[function(e,t,r){"use strict";var n=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},i=e("../util/root"),o=e("./Action"),s=function(e){function t(t,r){e.call(this,t,r),this.scheduler=t,this.work=r,this.pending=!1}return n(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this
|
23
|
+
;this.state=e,this.pending=!0;var r=this.id,n=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(n,r,t)),this.delay=t,this.id=this.id||this.requestAsyncId(n,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),i.root.setInterval(e.flush.bind(e,this),r)},t.prototype.recycleAsyncId=function(e,t,r){return void 0===r&&(r=0),null!==r&&this.delay===r?t:i.root.clearInterval(t)&&void 0||void 0},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var r=!1,n=void 0;try{this.work(e)}catch(e){r=!0,n=!!e&&e||new Error(e)}if(r)return this.unsubscribe(),n},t.prototype._unsubscribe=function(){var e=this.id,t=this.scheduler,r=t.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!=e&&(this.id=this.recycleAsyncId(t,e,null))},t}(o.Action);r.AsyncAction=s},{"../util/root":169,"./Action":151}],153:[function(e,t,r){"use strict";var n=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},i=e("../Scheduler"),o=function(e){function t(){e.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return n(t,e),t.prototype.flush=function(e){var t=this.actions;if(this.active)return void t.push(e);var r;this.active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}},t}(i.Scheduler);r.AsyncScheduler=o},{"../Scheduler":120}],154:[function(e,t,r){"use strict";var n=e("./AsyncAction"),i=e("./AsyncScheduler");r.async=new i.AsyncScheduler(n.AsyncAction)},{"./AsyncAction":152,"./AsyncScheduler":153}],155:[function(e,t,r){"use strict";function n(e){var t=e.Symbol;if("function"==typeof t)return t.iterator||(t.iterator=t("iterator polyfill")),t.iterator;var r=e.Set;if(r&&"function"==typeof(new r)["@@iterator"])return"@@iterator";var n=e.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=e("../util/root");r.symbolIteratorPonyfill=n,r.iterator=n(i.root),r.$$iterator=r.iterator},{"../util/root":169}],156:[function(e,t,r){"use strict";function n(e){var t,r=e.Symbol;return"function"==typeof r?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",t}var i=e("../util/root");r.getSymbolObservable=n,r.observable=n(i.root),r.$$observable=r.observable},{"../util/root":169}],157:[function(e,t,r){"use strict";var n=e("../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(e,t,r){"use strict";var n=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},i=function(e){function t(){var t=e.call(this,"object unsubscribed");this.name=t.name="ObjectUnsubscribedError",this.stack=t.stack,this.message=t.message}return n(t,e),t}(Error);r.ObjectUnsubscribedError=i},{}],159:[function(e,t,r){"use strict";var n=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},i=function(e){function t(t){e.call(this),this.errors=t;var r=Error.call(this,t?t.length+" errors occurred during unsubscription:\n "+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n "):"");this.name=r.name="UnsubscriptionError",this.stack=r.stack,this.message=r.message}return n(t,e),t}(Error);r.UnsubscriptionError=i},{}],160:[function(e,t,r){"use strict";r.errorObject={e:{}}},{}],161:[function(e,t,r){"use strict";r.isArray=Array.isArray||function(e){return e&&"number"==typeof e.length}},{}],162:[function(e,t,r){"use strict";r.isArrayLike=function(e){return e&&"number"==typeof e.length}},{}],163:[function(e,t,r){"use strict";function n(e){return e instanceof Date&&!isNaN(+e)}r.isDate=n},{}],164:[function(e,t,r){"use strict";function n(e){return"function"==typeof e}r.isFunction=n},{}],165:[function(e,t,r){"use strict";function n(e){return!i.isArray(e)&&e-parseFloat(e)+1>=0}var i=e("../util/isArray");r.isNumeric=n},{"../util/isArray":161}],166:[function(e,t,r){"use strict";function n(e){return null!=e&&"object"===(void 0===e?"undefined":i(e))}var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};r.isObject=n},{}],167:[function(e,t,r){"use strict";function n(e){return e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}r.isPromise=n},{}],168:[function(e,t,r){"use strict";function n(e){return e&&"function"==typeof e.schedule}r.isScheduler=n},{}],169:[function(e,t,r){(function(e){"use strict";var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};if(r.root="object"==("undefined"==typeof window?"undefined":t(window))&&window.window===window&&window||"object"==("undefined"==typeof self?"undefined":t(self))&&self.self===self&&self||"object"==(void 0===e?"undefined":t(e))&&e.global===e&&e,!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(e,t,r){"use strict";function n(e,t,r,n){var p=new l.InnerSubscriber(e,r,n);if(p.closed)return null;if(t instanceof u.Observable)return t._isScalar?(p.next(t.value),p.complete(),null):t.subscribe(p);if(o.isArrayLike(t)){for(var f=0,d=t.length;f<d&&!p.closed;f++)p.next(t[f]);p.closed||p.complete()}else{if(s.isPromise(t))return t.then(function(e){p.closed||(p.next(e),p.complete())},function(e){return p.error(e)}).then(null,function(e){i.root.setTimeout(function(){throw e})}),p;if(t&&"function"==typeof t[c.iterator])for(var b=t[c.iterator]();;){var m=b.next();if(m.done){p.complete();break}if(p.next(m.value),p.closed)break}else if(t&&"function"==typeof t[h.observable]){var v=t[h.observable]();if("function"==typeof v.subscribe)return v.subscribe(new l.InnerSubscriber(e,r,n));p.error(new TypeError("Provided object does not correctly implement Symbol.observable"))}else{var y=a.isObject(t)?"an invalid object":"'"+t+"'",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=e("./root"),o=e("./isArrayLike"),s=e("./isPromise"),a=e("./isObject"),u=e("../Observable"),c=e("../symbol/iterator"),l=e("../InnerSubscriber"),h=e("../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(e,t,r){"use strict";function n(e,t,r){if(e){if(e instanceof i.Subscriber)return e;if(e[o.rxSubscriber])return e[o.rxSubscriber]()}return e||t||r?new i.Subscriber(e,t,r):new i.Subscriber(s.empty)}var i=e("../Subscriber"),o=e("../symbol/rxSubscriber"),s=e("../Observer");r.toSubscriber=n},{"../Observer":118,"../Subscriber":123,"../symbol/rxSubscriber":157}],172:[function(e,t,r){"use strict";function n(){try{return o.apply(this,arguments)}catch(e){return s.errorObject.e=e,s.errorObject}}function i(e){return o=e,n}var o,s=e("./errorObject");r.tryCatch=i},{"./errorObject":160}],173:[function(e,t,r){"use strict";var n=e("is-arrayish"),i=Array.prototype.concat,o=Array.prototype.slice,s=t.exports=function(e){for(var t=[],r=0,s=e.length;r<s;r++){var a=e[r];n(a)?t=i.call(t,o.call(a)):t.push(a)}return t};s.wrap=function(e){return function(){return e(s(arguments))}}},{"is-arrayish":90}],174:[function(require,module,exports){!function(a,b){var c={},d={},e={},f=null;!function(e,t){function r(e){if("number"==typeof e)return e;var t={};for(var r in e)t[r]=e[r];return t}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 e.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}function o(t,r,i){var o=new n;return r&&(o.fill="both",o.duration="auto"),"number"!=typeof t||isNaN(t)?void 0!==t&&Object.getOwnPropertyNames(t).forEach(function(r){if("auto"!=t[r]){if(("number"==typeof o[r]||"duration"==r)&&("number"!=typeof t[r]||isNaN(t[r])))return;if("fill"==r&&-1==x.indexOf(t[r]))return;if("direction"==r&&-1==_.indexOf(t[r]))return;if("playbackRate"==r&&1!==t[r]&&e.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;o[r]=t[r]}}):o.duration=t,o}function s(e){return"number"==typeof e&&(e=isNaN(e)?{duration:0}:{duration:e}),e}function a(t,r){return t=e.numericTimingToObject(t),o(t,r)}function u(e,t,r,n){return e<0||e>1||r<0||r>1?S:function(i){function o(e,t,r){return 3*e*(1-r)*(1-r)*r+3*t*(1-r)*r*r+r*r*r}if(i<=0){var s=0;return e>0?s=t/e:!t&&r>0&&(s=n/r),s*i}if(i>=1){var a=0;return r<1?a=(n-1)/(r-1):1==r&&e<1&&(a=(t-1)/(e-1)),1+a*(i-1)}for(var u=0,c=1;u<c;){var l=(u+c)/2,h=o(e,r,l);if(Math.abs(i-h)<1e-5)return o(t,n,l);h<i?u=l:c=l}return o(t,n,l)}}function c(e,t){return function(r){if(r>=1)return 1;var n=1/e;return(r+=t*n)-r%n}}function l(e){E||(E=document.createElement("div").style),E.animationTimingFunction="",E.animationTimingFunction=e;var t=E.animationTimingFunction;if(""==t&&i())throw new TypeError(e+" is not a valid value for easing");return t}function h(e){if("linear"==e)return S;var t=A.exec(e);if(t)return u.apply(this,t.slice(1).map(Number));var r=P.exec(e);return r?c(Number(r[1]),{start:O,middle:k,end:j}[r[2]]):T[e]||S}function p(e){return Math.abs(f(e)/e.playbackRate)}function f(e){return 0===e.duration||0===e.iterations?0:e.duration*e.iterations}function d(e,t,r){if(null==t)return C;var n=r.delay+e+r.endDelay;return t<Math.min(r.delay,n)?N:t>=Math.min(r.delay+e,n)?z:R}function b(e,t,r,n,i){switch(n){case N:return"backwards"==t||"both"==t?0:null;case R:return r-i;case z:return"forwards"==t||"both"==t?e:null;case C:return null}}function m(e,t,r,n,i){var o=i;return 0===e?t!==N&&(o+=r):o+=n/e,o}function v(e,t,r,n,i,o){var s=e===1/0?t%1:e%1;return 0!==s||r!==z||0===n||0===i&&0!==o||(s=1),s}function y(e,t,r,n){return e===z&&t===1/0?1/0:1===r?Math.floor(n)-1:Math.floor(n)}function g(e,t,r){var n=e;if("normal"!==e&&"reverse"!==e){var i=t;"alternate-reverse"===e&&(i+=1),n="normal",i!==1/0&&i%2!=0&&(n="reverse")}return"normal"===n?r:1-r}function w(e,t,r){var n=d(e,t,r),i=b(e,r.fill,t,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(e){return e};n.prototype={_setMember:function(t,r){this["_"+t]=r,this._effect&&(this._effect._timingInput[t]=r,this._effect._timing=e.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=e.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},get playbackRate(){return this._playbackRate},set delay(e){this._setMember("delay",e)},get delay(){return this._delay},set endDelay(e){this._setMember("endDelay",e)},get endDelay(){return this._endDelay},set fill(e){this._setMember("fill",e)},get fill(){return this._fill},set iterationStart(e){if((isNaN(e)||e<0)&&i())throw new TypeError("iterationStart must be a non-negative number, received: "+timing.iterationStart);this._setMember("iterationStart",e)},get iterationStart(){return this._iterationStart},set duration(e){if("auto"!=e&&(isNaN(e)||e<0)&&i())throw new TypeError("duration must be non-negative or auto, received: "+e);this._setMember("duration",e)},get duration(){return this._duration},set direction(e){this._setMember("direction",e)},get direction(){return this._direction},set easing(e){this._easingFunction=h(l(e)),this._setMember("easing",e)},get easing(){return this._easing},set iterations(e){if((isNaN(e)||e<0)&&i())throw new TypeError("iterations must be non-negative, received: "+e);this._setMember("iterations",e)},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,z=2,R=3;e.cloneTimingInput=r,e.makeTiming=o,e.numericTimingToObject=s,e.normalizeTimingInput=a,e.calculateActiveDuration=p,e.calculateIterationProgress=w,e.calculatePhase=d,e.normalizeEasing=l,e.parseEasingFunction=h}(c),function(e,t){function r(e,t){return e in l?l[e][t]||t:t}function n(e){return"display"===e||0===e.lastIndexOf("animation",0)||0===e.lastIndexOf("transition",0)}function i(e,t,i){if(!n(e)){var o=a[e];if(o){u.style[e]=t;for(var s in o){var c=o[s],l=u.style[c];i[c]=r(c,l)}}else i[e]=r(e,t)}}function o(e){var t=[];for(var r in e)if(!(r in["easing","offset","composite"])){var n=e[r];Array.isArray(n)||(n=[n]);for(var i,o=n.length,s=0;s<o;s++)i={},i.offset="offset"in e?e.offset:1==o?1:s/(o-1),"easing"in e&&(i.easing=e.easing),"composite"in e&&(i.composite=e.composite),i[r]=n[s],t.push(i)}return t.sort(function(e,t){return e.offset-t.offset}),t}function s(t){if(null==t)return[];window.Symbol&&Symbol.iterator&&Array.prototype.from&&t[Symbol.iterator]&&(t=Array.from(t)),Array.isArray(t)||(t=o(t));for(var r=t.map(function(t){var r={};for(var n in t){var o=t[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?e.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(e){return e.offset>=0&&e.offset<=1}),n||function(){var e=r.length;null==r[e-1].offset&&(r[e-1].offset=1),e>1&&null==r[0].offset&&(r[0].offset=0);for(var t=0,n=r[0].offset,i=1;i<e;i++){var o=r[i].offset;if(null!=o){for(var s=1;s<i-t;s++)r[t+s].offset=n+(o-n)*s/(i-t);t=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"}};e.convertToArrayForm=o,e.normalizeKeyframes=s}(c),function(e){var t={};e.isDeprecated=function(e,r,n,i){var o=i?"are":"is",s=new Date,a=new Date(r);return a.setMonth(a.getMonth()+3),!(s<a&&(e in t||console.warn("Web Animations: "+e+" "+o+" deprecated and will stop working on "+a.toDateString()+". "+n),t[e]=!0,1))},e.deprecated=function(t,r,n,i){var o=i?"are":"is";if(e.isDeprecated(t,r,n,i))throw new Error(t+" "+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(e){void 0===a[e]&&(b=!0)})),!b)return}!function(e,t,r){function n(e){for(var t={},r=0;r<e.length;r++)for(var n in e[r])if("offset"!=n&&"easing"!=n&&"composite"!=n){var i={offset:e[r].offset,easing:e[r].easing,value:e[r][n]};t[n]=t[n]||[],t[n].push(i)}for(var o in t){var s=t[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 t}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:e.parseEasingFunction(o[a].easing),property:i,interpolation:t.propertyInterpolation(i,o[a].value,o[u].value)})}return n.sort(function(e,t){return e.startOffset-t.startOffset}),n}t.convertEffectInput=function(r){var o=e.normalizeKeyframes(r),s=n(o),a=i(s);return function(e,r){if(null!=r)a.filter(function(e){return r>=e.applyFrom&&r<e.applyTo}).forEach(function(n){var i=r-n.startOffset,o=n.endOffset-n.startOffset,s=0==o?0:n.easingFunction(i/o);t.apply(e,n.property,n.interpolation(s))});else for(var n in s)"offset"!=n&&"easing"!=n&&"composite"!=n&&t.clear(e,n)}}}(c,d),function(e,t,r){function n(e){return e.replace(/-(.)/g,function(e,t){return t.toUpperCase()})}function i(e,t,r){a[r]=a[r]||[],a[r].push([e,t])}function o(e,t,r){for(var o=0;o<r.length;o++)i(e,t,n(r[o]))}function s(r,i,o){var s=r;/-/.test(r)&&!e.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=t.Interpolation.apply(null,f);return function(e){return 0==e?i:1==e?o:d(e)}}}}return t.Interpolation(!1,!0,function(e){return e?o:i})}var a={};t.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",strokeDasharray:"none",strokeDashoffset:"0px",textIndent:"0px",textShadow:"0px 0px 0px transparent",top:"auto",transform:"",verticalAlign:"0px",visibility:"visible",width:"auto",wordSpacing:"normal",zIndex:"auto"};t.propertyInterpolation=s}(c,d),function(e,t,r){function n(t){var r=e.calculateActiveDuration(t),n=function(n){return e.calculateIterationProgress(r,n,t)};return n._totalDuration=t.delay+r+t.endDelay,n}t.KeyframeEffect=function(r,i,o,s){var a,u=n(e.normalizeTimingInput(o)),c=t.convertEffectInput(i),l=function(){c(r,a)};return l._update=function(e){return null!==(a=u(e))},l._clear=function(){c(r,null)},l._hasSameTarget=function(e){return r===e},l._target=r,l._totalDuration=u._totalDuration,l._id=s,l}}(c,d),function(e,t){function r(e,t,r){r.enumerable=!0,r.configurable=!0,Object.defineProperty(e,t,r)}function n(e){this._surrogateStyle=document.createElementNS("http://www.w3.org/1999/xhtml","div").style,this._style=e.style,this._length=0,this._isAnimatedProperty={};for(var t=0;t<this._style.length;t++){var r=this._style[t];this._surrogateStyle[r]=this._style[r]}this._updateIndices()}function i(e){if(!e._webAnimationsPatchedStyle){var t=new n(e);try{r(e,"style",{get:function(){return t}})}catch(t){e.style._set=function(t,r){e.style[t]=r},e.style._clear=function(t){e.style[t]=""}}e._webAnimationsPatchedStyle=e.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(e){for(var t={},r=0;r<this._surrogateStyle.length;r++)t[this._surrogateStyle[r]]=!0;this._surrogateStyle.cssText=e,this._updateIndices();for(var r=0;r<this._surrogateStyle.length;r++)t[this._surrogateStyle[r]]=!0;for(var n in t)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(e){return function(){return this._surrogateStyle[e]}}(this._length)}),this._length++;for(;this._length>this._surrogateStyle.length;)this._length--,Object.defineProperty(this,this._length,{configurable:!0,enumerable:!1,value:void 0})},_set:function(e,t){this._style[e]=t,this._isAnimatedProperty[e]=!0},_clear:function(e){this._style[e]=this._surrogateStyle[e],delete this._isAnimatedProperty[e]}};for(var u in s)n.prototype[u]=function(e,t){return function(){var r=this._surrogateStyle[e].apply(this._surrogateStyle,arguments);return t&&(this._isAnimatedProperty[arguments[0]]||this._style[e].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(e){r(n.prototype,e,{get:function(){return this._surrogateStyle[e]},set:function(t){this._surrogateStyle[e]=t,this._updateIndices(),this._isAnimatedProperty[e]||(this._style[e]=t)}})}(c);e.apply=function(t,r,n){i(t),t.style._set(e.propertyName(r),n)},e.clear=function(t,r){t._webAnimationsPatchedStyle&&t.style._clear(e.propertyName(r))}}(d),function(e){window.Element.prototype.animate=function(t,r){var n="";return r&&r.id&&(n=r.id),e.timeline._play(e.KeyframeEffect(this,t,r,n))}}(d),function(e,t){function r(e,t,n){if("number"==typeof e&&"number"==typeof t)return e*(1-n)+t*n;if("boolean"==typeof e&&"boolean"==typeof t)return n<.5?e:t;if(e.length==t.length){for(var i=[],o=0;o<e.length;o++)i.push(r(e[o],t[o],n));return i}throw"Mismatched interpolation arguments "+e+":"+t}e.Interpolation=function(e,t,n){return function(i){return n(r(e,t,i))}}}(d),function(e,t){function r(e,t,r){return Math.max(Math.min(e,r),t)}function n(t,n,i){var o=e.dot(t,n);o=r(o,-1,1);var s=[];if(1===o)s=t;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(t[c]*(Math.cos(i*a)-o*u)+n[c]*u);return s}var i=function(){function e(e,t){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]+=t[n][o]*e[o][i];return r}function t(e){return 0==e[0][2]&&0==e[0][3]&&0==e[1][2]&&0==e[1][3]&&0==e[2][0]&&0==e[2][1]&&1==e[2][2]&&0==e[2][3]&&0==e[3][2]&&1==e[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=e(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=e(a,b)),i[1]&&(b[2][1]=0,b[2][0]=i[0],a=e(a,b)),i[0]&&(b[2][0]=0,b[1][0]=i[0],a=e(a,b));for(var u=0;u<3;u++)for(var c=0;c<3;c++)a[u][c]*=n[u];return t(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}();e.composeMatrix=i,e.quat=n}(d),function(e,t,r){e.sequenceNumber=0;var n=function(e,t,r){this.target=e,this.currentTime=t,this.timelineTime=r,this.type="finish",this.bubbles=!1,this.cancelable=!1,this.currentTarget=e,this.defaultPrevented=!1,this.eventPhase=Event.AT_TARGET,this.timeStamp=Date.now()};t.Animation=function(t){this.id="",t&&t._id&&(this.id=t._id),this._sequenceNumber=e.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=t,this._inEffect=this._effect._update(0),this._idle=!0,this._currentTimePending=!1},t.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,t.timeline._animations.push(this))},_tickCurrentTime:function(e,t){e!=this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this._ensureAlive())},get currentTime(){return this._idle||this._currentTimePending?null:this._currentTime},set currentTime(e){e=+e,isNaN(e)||(t.restart(),this._paused||null==this._startTime||(this._startTime=this._timeline.currentTime-e/this._playbackRate),this._currentTimePending=!1,this._currentTime!=e&&(this._idle&&(this._idle=!1,this._paused=!0),this._tickCurrentTime(e,!0),t.applyDirtiedAnimation(this)))},get startTime(){return this._startTime},set startTime(e){e=+e,isNaN(e)||this._paused||this._idle||(this._startTime=e,this._tickCurrentTime((this._timeline.currentTime-this._startTime)*this.playbackRate),t.applyDirtiedAnimation(this))},get playbackRate(){return this._playbackRate},set playbackRate(e){if(e!=this._playbackRate){var r=this.currentTime;this._playbackRate=e,this._startTime=null,"paused"!=this.playState&&"idle"!=this.playState&&(this._finishedFlag=!1,this._idle=!1,this._ensureAlive(),t.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(),t.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,t.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),t.applyDirtiedAnimation(this))},reverse:function(){this.playbackRate*=-1,this.play()},addEventListener:function(e,t){"function"==typeof t&&"finish"==e&&this._finishHandlers.push(t)},removeEventListener:function(e,t){if("finish"==e){var r=this._finishHandlers.indexOf(t);r>=0&&this._finishHandlers.splice(r,1)}},_fireEvents:function(e){if(this._isFinished){if(!this._finishedFlag){var t=new n(this,this._currentTime,e),r=this._finishHandlers.concat(this.onfinish?[this.onfinish]:[]);setTimeout(function(){r.forEach(function(e){e.call(t.target,t)})},0),this._finishedFlag=!0}}else this._finishedFlag=!1},_tick:function(e,t){this._idle||this._paused||(null==this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this._tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this._currentTimePending=!1,this._fireEvents(e))},get _needsTick(){return this.playState in{pending:1,running:1}||!this._finishedFlag},_targetAnimations:function(){var e=this._effect._target;return e._activeAnimations||(e._activeAnimations=[]),e._activeAnimations},_markTarget:function(){var e=this._targetAnimations();-1===e.indexOf(this)&&e.push(this)},_unmarkTarget:function(){var e=this._targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}}}(c,d),function(e,t,r){function n(e){var t=c;c=[],e<m.currentTime&&(e=m.currentTime),m._animations.sort(i),m._animations=a(e,!0,m._animations)[0],t.forEach(function(t){t[1](e)}),s(),h=void 0}function i(e,t){return e._sequenceNumber-t._sequenceNumber}function o(){this._animations=[],this.currentTime=window.performance&&performance.now?performance.now():0}function s(){d.forEach(function(e){e()}),d.length=0}function a(e,r,n){b=!0,f=!1,t.timeline.currentTime=e,p=!1;var i=[],o=[],s=[],a=[];return n.forEach(function(t){t._tick(e,r),t._inEffect?(o.push(t._effect),t._markTarget()):(i.push(t._effect),t._unmarkTarget()),t._needsTick&&(p=!0);var n=t._inEffect||t._needsTick;t._inTimeline=n,n?s.push(t):a.push(t)}),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(e){var t=l++;return 0==c.length&&u(n),c.push([t,e]),t},window.cancelAnimationFrame=function(e){c.forEach(function(t){t[0]==e&&(t[1]=function(){})})},o.prototype={_play:function(r){r._timing=e.normalizeTimingInput(r.timing);var n=new t.Animation(r);return n._idle=!1,n._timeline=this,this._animations.push(n),t.restart(),t.applyDirtiedAnimation(n),n}};var h=void 0,p=!1,f=!1;t.restart=function(){return p||(p=!0,requestAnimationFrame(function(){}),f=!0),f},t.applyDirtiedAnimation=function(e){if(!b){e._markTarget();var r=e._targetAnimations();r.sort(i),a(t.timeline.currentTime,!1,r.slice())[1].forEach(function(e){
|
24
|
+
var t=m._animations.indexOf(e);-1!==t&&m._animations.splice(t,1)}),s()}};var d=[],b=!1,m=new o;t.timeline=m}(c,d),function(e,t){function r(e,t){for(var r=0,n=0;n<e.length;n++)r+=e[n]*t[n];return r}function n(e,t){return[e[0]*t[0]+e[4]*t[1]+e[8]*t[2]+e[12]*t[3],e[1]*t[0]+e[5]*t[1]+e[9]*t[2]+e[13]*t[3],e[2]*t[0]+e[6]*t[1]+e[10]*t[2]+e[14]*t[3],e[3]*t[0]+e[7]*t[1]+e[11]*t[2]+e[15]*t[3],e[0]*t[4]+e[4]*t[5]+e[8]*t[6]+e[12]*t[7],e[1]*t[4]+e[5]*t[5]+e[9]*t[6]+e[13]*t[7],e[2]*t[4]+e[6]*t[5]+e[10]*t[6]+e[14]*t[7],e[3]*t[4]+e[7]*t[5]+e[11]*t[6]+e[15]*t[7],e[0]*t[8]+e[4]*t[9]+e[8]*t[10]+e[12]*t[11],e[1]*t[8]+e[5]*t[9]+e[9]*t[10]+e[13]*t[11],e[2]*t[8]+e[6]*t[9]+e[10]*t[10]+e[14]*t[11],e[3]*t[8]+e[7]*t[9]+e[11]*t[10]+e[15]*t[11],e[0]*t[12]+e[4]*t[13]+e[8]*t[14]+e[12]*t[15],e[1]*t[12]+e[5]*t[13]+e[9]*t[14]+e[13]*t[15],e[2]*t[12]+e[6]*t[13]+e[10]*t[14]+e[14]*t[15],e[3]*t[12]+e[7]*t[13]+e[11]*t[14]+e[15]*t[15]]}function i(e){var t=e.rad||0;return((e.deg||0)/360+(e.grad||0)/400+(e.turn||0))*(2*Math.PI)+t}function o(e){switch(e.t){case"rotatex":var t=i(e.d[0]);return[1,0,0,0,0,Math.cos(t),Math.sin(t),0,0,-Math.sin(t),Math.cos(t),0,0,0,0,1];case"rotatey":var t=i(e.d[0]);return[Math.cos(t),0,-Math.sin(t),0,0,1,0,0,Math.sin(t),0,Math.cos(t),0,0,0,0,1];case"rotate":case"rotatez":var t=i(e.d[0]);return[Math.cos(t),Math.sin(t),0,0,-Math.sin(t),Math.cos(t),0,0,0,0,1,0,0,0,0,1];case"rotate3d":var r=e.d[0],n=e.d[1],o=e.d[2],t=i(e.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(t/2),c=u*Math.cos(t/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[e.d[0],0,0,0,0,e.d[1],0,0,0,0,1,0,0,0,0,1];case"scalex":return[e.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,e.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,e.d[0],0,0,0,0,1];case"scale3d":return[e.d[0],0,0,0,0,e.d[1],0,0,0,0,e.d[2],0,0,0,0,1];case"skew":var h=i(e.d[0]),p=i(e.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 t=i(e.d[0]);return[1,0,0,0,Math.tan(t),1,0,0,0,0,1,0,0,0,0,1];case"skewy":var t=i(e.d[0]);return[1,Math.tan(t),0,0,0,1,0,0,0,0,1,0,0,0,0,1];case"translate":var r=e.d[0].px||0,n=e.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=e.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=e.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=e.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=e.d[0].px||0,n=e.d[1].px||0,o=e.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,e.d[0].px?-1/e.d[0].px:0,0,0,0,1];case"matrix":return[e.d[0],e.d[1],0,0,e.d[2],e.d[3],0,0,0,0,1,0,e.d[4],e.d[5],0,1];case"matrix3d":return e.d}}function s(e){return 0===e.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:e.map(o).reduce(n)}function a(e){return[u(s(e))]}var u=function(){function e(e){return e[0][0]*e[1][1]*e[2][2]+e[1][0]*e[2][1]*e[0][2]+e[2][0]*e[0][1]*e[1][2]-e[0][2]*e[1][1]*e[2][0]-e[1][2]*e[2][1]*e[0][0]-e[2][2]*e[0][1]*e[1][0]}function t(t){for(var r=1/e(t),n=t[0][0],i=t[0][1],o=t[0][2],s=t[1][0],a=t[1][1],u=t[1][2],c=t[2][0],l=t[2][1],h=t[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+=t[3][m]*p[m][d];f.push(b)}return f.push(1),p.push(f),p}function n(e){return[[e[0][0],e[1][0],e[2][0],e[3][0]],[e[0][1],e[1][1],e[2][1],e[3][1]],[e[0][2],e[1][2],e[2][2],e[3][2]],[e[0][3],e[1][3],e[2][3],e[3][3]]]}function i(e,t){for(var r=[],n=0;n<4;n++){for(var i=0,o=0;o<4;o++)i+=e[o]*t[o][n];r.push(i)}return r}function o(e){var t=s(e);return[e[0]/t,e[1]/t,e[2]/t]}function s(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2])}function a(e,t,r,n){return[r*e[0]+n*t[0],r*e[1]+n*t[1],r*e[2]+n*t[2]]}function u(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[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===e(h))return null;var f,d=[];l[0][3]||l[1][3]||l[2][3]?(d.push(l[0][3]),d.push(l[1][3]),d.push(l[2][3]),d.push(l[3][3]),f=i(d,n(t(h)))):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}();e.dot=r,e.makeMatrixDecomposition=a}(d),function(e){function t(e,t){var r=e.exec(t);if(r)return r=e.ignoreCase?r[0].toLowerCase():r[0],[r,t.substr(r.length)]}function r(e,t){t=t.replace(/^\s*/,"");var r=e(t);if(r)return[r[0],r[1].replace(/^\s*/,"")]}function n(e,n,i){e=r.bind(null,e);for(var o=[];;){var s=e(i);if(!s)return[o,i];if(o.push(s[0]),i=s[1],!(s=t(n,i))||""==s[1])return[o,i];i=s[1]}}function i(e,t){for(var r=0,n=0;n<t.length&&(!/\s|,/.test(t[n])||0!=r);n++)if("("==t[n])r++;else if(")"==t[n]&&(r--,0==r&&n++,r<=0))break;var i=e(t.substr(0,n));return void 0==i?void 0:[i,t.substr(n)]}function o(e,t){for(var r=e,n=t;r&&n;)r>n?r%=n:n%=r;return r=e*t/(r+n)}function s(e){return function(t){var r=e(t);return r&&(r[0]=void 0),r}}function a(e,t){return function(r){return e(r)||[t,r]}}function u(t,r){for(var n=[],i=0;i<t.length;i++){var o=e.consumeTrimmed(t[i],r);if(!o||""==o[0])return;void 0!==o[0]&&n.push(o[0]),r=o[1]}if(""==r)return n}function c(e,t,r,n,i){for(var s=[],a=[],u=[],c=o(n.length,i.length),l=0;l<c;l++){var h=t(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(t){var n=t.map(function(e,t){return u[t](e)}).join(r);return e?e(n):n}]}function l(e,t,r){for(var n=[],i=[],o=[],s=0,a=0;a<r.length;a++)if("function"==typeof r[a]){var u=r[a](e[s],t[s++]);n.push(u[0]),i.push(u[1]),o.push(u[2])}else!function(e){n.push(!1),i.push(!1),o.push(function(){return r[e]})}(a);return[n,i,function(e){for(var t="",r=0;r<e.length;r++)t+=o[r](e[r]);return t}]}e.consumeToken=t,e.consumeTrimmed=r,e.consumeRepeated=n,e.consumeParenthesised=i,e.ignore=s,e.optional=a,e.consumeList=u,e.mergeNestedRepeated=c.bind(null,null),e.mergeWrappedNestedRepeated=c,e.mergeList=l}(d),function(e){function t(t){function r(t){var r=e.consumeToken(/^inset/i,t);if(r)return n.inset=!0,r;var r=e.consumeLengthOrPercent(t);if(r)return n.lengths.push(r[0]),r;var r=e.consumeColor(t);return r?(n.color=r[0],r):void 0}var n={inset:!1,lengths:[],color:null},i=e.consumeRepeated(r,/^/,t);if(i&&i[0].length)return[n,i[1]]}function r(r){var n=e.consumeRepeated(t,/^,/,r);if(n&&""==n[1])return n[0]}function n(t,r){for(;t.lengths.length<Math.max(t.lengths.length,r.lengths.length);)t.lengths.push({px:0});for(;r.lengths.length<Math.max(t.lengths.length,r.lengths.length);)r.lengths.push({px:0});if(t.inset==r.inset&&!!t.color==!!r.color){for(var n,i=[],o=[[],0],s=[[],0],a=0;a<t.lengths.length;a++){var u=e.mergeDimensions(t.lengths[a],r.lengths[a],2==a);o[0].push(u[0]),s[0].push(u[1]),i.push(u[2])}if(t.color&&r.color){var c=e.mergeColors(t.color,r.color);o[1]=c[0],s[1]=c[1],n=c[2]}return[o,s,function(e){for(var r=t.inset?"inset ":" ",o=0;o<i.length;o++)r+=i[o](e[0][o])+" ";return n&&(r+=n(e[1])),r}]}}function i(t,r,n,i){function o(e){return{inset:e,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 e.mergeNestedRepeated(t,r,s,a)}var o=i.bind(null,n,", ");e.addPropertiesHandler(r,o,["box-shadow","text-shadow"])}(d),function(e,t){function r(e){return e.toFixed(3).replace(/0+$/,"").replace(/\.$/,"")}function n(e,t,r){return Math.min(t,Math.max(e,r))}function i(e){if(/^\s*[-+]?(\d*\.)?\d+\s*$/.test(e))return Number(e)}function o(e,t){return[e,t,r]}function s(e,t){if(0!=e)return u(0,1/0)(e,t)}function a(e,t){return[e,t,function(e){return Math.round(n(1,1/0,e))}]}function u(e,t){return function(i,o){return[i,o,function(i){return r(n(e,t,i))}]}}function c(e){var t=e.trim().split(/\s*[\s,]\s*/);if(0!==t.length){for(var r=[],n=0;n<t.length;n++){var o=i(t[n]);if(void 0===o)return;r.push(o)}return r}}function l(e,t){if(e.length==t.length)return[e,t,function(e){return e.map(r).join(" ")}]}function h(e,t){return[e,t,Math.round]}e.clamp=n,e.addPropertiesHandler(c,l,["stroke-dasharray"]),e.addPropertiesHandler(i,u(0,1/0),["border-image-width","line-height"]),e.addPropertiesHandler(i,u(0,1),["opacity","shape-image-threshold"]),e.addPropertiesHandler(i,s,["flex-grow","flex-shrink"]),e.addPropertiesHandler(i,a,["orphans","widows"]),e.addPropertiesHandler(i,h,["z-index"]),e.parseNumber=i,e.parseNumberList=c,e.mergeNumbers=o,e.numberToString=r}(d),function(e,t){function r(e,t){if("visible"==e||"visible"==t)return[0,1,function(r){return r<=0?e:r>=1?t:"visible"}]}e.addPropertiesHandler(String,r,["visibility"])}(d),function(e,t){function r(e){e=e.trim(),o.fillStyle="#000",o.fillStyle=e;var t=o.fillStyle;if(o.fillStyle="#fff",o.fillStyle=e,t==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(t,r){return[t,r,function(t){if(t[3])for(var r=0;r<3;r++)t[r]=Math.round(function(e){return Math.max(0,Math.min(255,e))}(t[r]/t[3]));return t[3]=e.numberToString(e.clamp(0,1,t[3])),"rgba("+t.join(",")+")"}]}var i=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");i.width=i.height=1;var o=i.getContext("2d");e.addPropertiesHandler(r,n,["background-color","border-bottom-color","border-left-color","border-right-color","border-top-color","color","fill","flood-color","lighting-color","outline-color","stop-color","stroke","text-decoration-color"]),e.consumeColor=e.consumeParenthesised.bind(null,r),e.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(e){return c[e]=null,"U"+e});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(e,t,r){var n,i=[];for(n in e)i.push(n);for(n in t)i.indexOf(n)<0&&i.push(n);return e=i.map(function(t){return e[t]||0}),t=i.map(function(e){return t[e]||0}),[e,t,function(e){var t=e.map(function(t,n){return 1==e.length&&r&&(t=Math.max(t,0)),a.numberToString(t)+i[n]}).join(" + ");return e.length>1?"calc("+t+")":t}]}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(e){var t=l(e);if(t&&""==t[1])return t[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","stroke-dashoffset","text-indent","top","vertical-align","word-spacing"])}(d,null),function(e,t){function r(t){return e.consumeLengthOrPercent(t)||e.consumeToken(/^auto/,t)}function n(t){var n=e.consumeList([e.ignore(e.consumeToken.bind(null,/^rect/)),e.ignore(e.consumeToken.bind(null,/^\(/)),e.consumeRepeated.bind(null,r,/^,/),e.ignore(e.consumeToken.bind(null,/^\)/))],t);if(n&&4==n[0].length)return n[0]}function i(t,r){return"auto"==t||"auto"==r?[!0,!1,function(n){var i=n?t:r;if("auto"==i)return"auto";var o=e.mergeDimensions(i,i);return o[2](o[0])}]:e.mergeDimensions(t,r)}function o(e){return"rect("+e+")"}var s=e.mergeWrappedNestedRepeated.bind(null,o,i,", ");e.parseBox=n,e.mergeBoxes=s,e.addPropertiesHandler(n,s,["clip"])}(d),function(e,t){function r(e){return function(t){var r=0;return e.map(function(e){return e===l?t[r++]:e})}}function n(e){return e}function i(t){if("none"==(t=t.toLowerCase().trim()))return[];for(var r,n=/\s*(\w+)\(([^)]*)\)/g,i=[],o=0;r=n.exec(t);){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(t){return"0"==t.trim()?p:e.parseAngle(t)},N:e.parseNumber,T:e.parseLengthOrPercent,L:e.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==t.length)return i}}function o(e){return e.toFixed(6).replace(".000000","")}function s(t,r){if(t.decompositionPair!==r){t.decompositionPair=r;var n=e.makeMatrixDecomposition(t)}if(r.decompositionPair!==t){r.decompositionPair=t;var i=e.makeMatrixDecomposition(r)}return null==n[0]||null==i[0]?[[!1],[!0],function(e){return e?r[0].d:t[0].d}]:(n[0].push(0),i[0].push(1),[n,i,function(t){var r=e.quat(n[0][3],i[0][3],t[5]);return e.composeMatrix(t[0],t[1],t[2],r,t[4]).map(o).join(",")}])}function a(e){return e.replace(/[xy]/,"")}function u(e){return e.replace(/(x|y|z|3d)?$/,"3d")}function c(t,r){var n=e.makeMatrixDecomposition&&!0,i=!1;if(!t.length||!r.length){t.length||(i=!0,t=r,r=[]);for(var o=0;o<t.length;o++){var c=t[o].t,l=t[o].d,h="scale"==c.substr(0,5)?1:0;r.push({t:c,d:l.map(function(e){if("number"==typeof e)return h;var t={};for(var r in e)t[r]=h;return t})})}}var p=[],d=[],b=[];if(t.length!=r.length){if(!n)return;var m=s(t,r);p=[m[0]],d=[m[1]],b=[["matrix",[m[2]]]]}else for(var o=0;o<t.length;o++){var c,v=t[o].t,y=r[o].t,g=t[o].d,w=r[o].d,x=f[v],_=f[y];if(function(e,t){return"perspective"==e&&"perspective"==t||("matrix"==e||"matrix3d"==e)&&("matrix"==t||"matrix3d"==t)}(v,y)){if(!n)return;var m=s([t[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(t,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]?e.mergeNumbers:e.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(e){return e.map(function(e,t){var r=e.map(function(e,r){return b[t][1][r](e)}).join(",");return"matrix"==b[t][0]&&16==r.split(",").length&&(b[t][0]="matrix3d"),b[t][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]};e.addPropertiesHandler(i,c,["transform"])}(d),function(e){function t(e){var t=Number(e);if(!(isNaN(t)||t<100||t>900||t%100!=0))return t}function r(t){return t=100*Math.round(t/100),t=e.clamp(100,900,t),400===t?"normal":700===t?"bold":String(t)}function n(e,t){return[e,t,r]}e.addPropertiesHandler(t,n,["font-weight"])}(d),function(e){function t(e){var t={};for(var r in e)t[r]=-e[r];return t}function r(t){return e.consumeToken(/^(left|center|right|top|bottom)\b/i,t)||e.consumeLengthOrPercent(t)}function n(t,n){var i=e.consumeRepeated(r,/^/,n);if(i&&""==i[1]){var o=i[0];if(o[0]=o[0]||"center",o[1]=o[1]||"center",3==t&&(o[2]=o[2]||{px:0}),o.length==t){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(e){return"object"==typeof e?e:s[e]})}}}function i(n){var i=e.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=t(h),h["%"]=(h["%"]||0)+100),a[u]=h,u++,c=!1)}return[a,i[1]]}}function o(t){var r=e.consumeRepeated(i,/^,/,t);if(r&&""==r[1])return r[0]}var s={left:{"%":0},center:{"%":50},right:{"%":100},top:{"%":0},bottom:{"%":100}},a=e.mergeNestedRepeated.bind(null,e.mergeDimensions," ");e.addPropertiesHandler(n.bind(null,3),a,["transform-origin"]),e.addPropertiesHandler(n.bind(null,2),a,["perspective-origin"]),e.consumePosition=i,e.mergeOffsetList=a;var u=e.mergeNestedRepeated.bind(null,a,", ");e.addPropertiesHandler(o,u,["background-position","object-position"])}(d),function(e){function t(t){var r=e.consumeToken(/^circle/,t);if(r&&r[0])return["circle"].concat(e.consumeList([e.ignore(e.consumeToken.bind(void 0,/^\(/)),n,e.ignore(e.consumeToken.bind(void 0,/^at/)),e.consumePosition,e.ignore(e.consumeToken.bind(void 0,/^\)/))],r[1]));var o=e.consumeToken(/^ellipse/,t);if(o&&o[0])return["ellipse"].concat(e.consumeList([e.ignore(e.consumeToken.bind(void 0,/^\(/)),i,e.ignore(e.consumeToken.bind(void 0,/^at/)),e.consumePosition,e.ignore(e.consumeToken.bind(void 0,/^\)/))],o[1]));var s=e.consumeToken(/^polygon/,t);return s&&s[0]?["polygon"].concat(e.consumeList([e.ignore(e.consumeToken.bind(void 0,/^\(/)),e.optional(e.consumeToken.bind(void 0,/^nonzero\s*,|^evenodd\s*,/),"nonzero,"),e.consumeSizePairList,e.ignore(e.consumeToken.bind(void 0,/^\)/))],s[1])):void 0}function r(t,r){if(t[0]===r[0])return"circle"==t[0]?e.mergeList(t.slice(1),r.slice(1),["circle(",e.mergeDimensions," at ",e.mergeOffsetList,")"]):"ellipse"==t[0]?e.mergeList(t.slice(1),r.slice(1),["ellipse(",e.mergeNonNegativeSizePair," at ",e.mergeOffsetList,")"]):"polygon"==t[0]&&t[1]==r[1]?e.mergeList(t.slice(2),r.slice(2),["polygon(",t[1],s,")"]):void 0}var n=e.consumeParenthesised.bind(null,e.parseLengthOrPercent),i=e.consumeRepeated.bind(void 0,n,/^/),o=e.mergeNestedRepeated.bind(void 0,e.mergeDimensions," "),s=e.mergeNestedRepeated.bind(void 0,o,",");e.addPropertiesHandler(t,r,["shape-outside"])}(d),function(e,t){function r(e,t){t.concat([e]).forEach(function(t){t in document.documentElement.style&&(n[e]=t)})}var n={};r("transform",["webkitTransform","msTransform"]),r("transformOrigin",["webkitTransformOrigin"]),r("perspective",["webkitPerspective"]),r("perspectiveOrigin",["webkitPerspectiveOrigin"]),e.propertyName=function(e){return n[e]||e}}(d)}(),function(){if(void 0===document.createElement("div").animate([]).oncancel){var e;if(window.performance&&performance.now)var e=function(){return performance.now()};else var e=function(){return Date.now()};var t=function(e,t,r){this.target=e,this.currentTime=t,this.timelineTime=r,this.type="cancel",this.bubbles=!1,this.cancelable=!1,this.currentTarget=e,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 t(this,null,e()),n=this._cancelHandlers.concat(this.oncancel?[this.oncancel]:[]);setTimeout(function(){n.forEach(function(e){e.call(r.target,r)})},0)};var a=o.addEventListener;o.addEventListener=function(e,t){"function"==typeof t&&"cancel"==e?this._cancelHandlers.push(t):a.call(this,e,t)};var u=o.removeEventListener;return o.removeEventListener=function(e,t){if("cancel"==e){var r=this._cancelHandlers.indexOf(t);r>=0&&this._cancelHandlers.splice(r,1)}else u.call(this,e,t)},o}}}(),function(e){var t=document.documentElement,r=null,n=!1;try{var i=getComputedStyle(t).getPropertyValue("opacity"),o="0"==i?"1":"0";r=t.animate({opacity:[o,o]},{duration:1}),r.currentTime=0,n=getComputedStyle(t).getPropertyValue("opacity")==o}catch(e){}finally{r&&r.cancel()}if(!n){var s=window.Element.prototype.animate;window.Element.prototype.animate=function(t,r){return window.Symbol&&Symbol.iterator&&Array.prototype.from&&t[Symbol.iterator]&&(t=Array.from(t)),Array.isArray(t)||null===t||(t=e.convertToArrayForm(t)),s.call(this,t,r)}}}(c),b.true=a}({},function(){return this}())},{}],175:[function(e,t,r){(function(e){"use strict";function t(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":u(t))&&"function"!=typeof t?e:t}function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":u(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{return new CustomEvent(e,t)}catch(n){var r=document.createEvent("CustomEvent");return r.initCustomEvent(e,!0,!0,t.detail),r}}function s(e,t){var r=this;f(this,e,{enumerable:!0,get:function(){return r[b][e]},set:function(n){null!=t?t(n):r.setState(e,n)}})}function a(){var e=this,t=this.sideEffects();Object.keys(this[b]).forEach(function(r){if(void 0===e[r]){var n=t[r];s.call(e,r,n)}})}var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(r,"__esModule",{value:!0});var c="function"==typeof Symbol&&"symbol"===u(Symbol.iterator)?function(e){return void 0===e?"undefined":u(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":u(e)},l=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),h=function e(){i(this,e)},p=e.Symbol||function(e){return"_"+e},f=Object.defineProperty.bind(Object),d=p("root"),b=p("state");r.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h;return function(e){function r(){return i(this,r),t(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}return n(r,e),l(r,[{key:"getComponentName",value:function(){throw Error("Component needs to have a name, e.g. `my-tag`. Override `getComponentName`")}},{key:"setupComponent",value:function(e,t){return f(this,b,{value:Object.assign({},this.defaults(),t)}),a.call(this),f(this,d,{value:this.setupDOM(e)}),this}},{key:"setupDOM",value:function(e){return e}},{key:"getRoot",value:function(){return this[d]}},{key:"getEl",value:function(){return this[d]}},{key:"fireEvent",value:function(e,t){var r=this.componentName+"-"+e;this.el.dispatchEvent(o(r,t))}},{key:"defaults",value:function(){return console.warn("defaults not provided"),{}}},{key:"sideEffects",value:function(){return console.warn("sideEffects not provided"),{}}},{key:"setState",value:function(e,t){if("string"==typeof e)this.setStateKV(e,t);else{if("object"!==(void 0===e?"undefined":c(e)))throw Error("setState needs argument");this.setStateMap(e)}}},{key:"setStateKV",value:function(e,t){this[b][e]=t}},{key:"setStateMap",value:function(e){var t=this;Object.keys(this[b]).forEach(function(r){t.setStateKV(r,e[r])})}},{key:"componentName",get:function(){return this.getComponentName()}},{key:"root",get:function(){return this.getRoot()}},{key:"el",get:function(){return this.getEl()}}]),r}(e)}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],176:[function(e,t,r){"use strict";function n(e,t,r,n){return r*e/n+t}function i(e,t){return Math.sqrt(Math.pow(e.pageX-t.pageX,2)+Math.pow(e.pageY-t.pageY,2))}function o(e,t){for(var r=e;null!=r;){if(r.classList&&r.classList.contains(t))return!0;r=r.parentNode}return!1}Object.defineProperty(r,"__esModule",{value:!0}),r.linearTween=n,r.pageDist=i,r.contains=o},{}],177:[function(e,t,r){(function(t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":s(t))&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":s(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),u=function e(t,r,n){null===t&&(t=Function.prototype);var i=Object.getOwnPropertyDescriptor(t,r);if(void 0===i){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,r,n)}if("value"in i)return i.value;var s=i.get;if(void 0!==s)return s.call(n)},c=e("y-component/src/component-core"),l=function(e){return e&&e.__esModule?e:{default:e}}(c),h=e("../common"),p=t.Symbol||function(e){return"_"+e},f=p("idle"),d=p("touching"),b=p("startAnimating"),m=p("animating"),v=Object.defineProperty.bind(Object);r.default=function(e){return function(e){function t(){return n(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),a(t,[{key:"getComponentName",value:function(){return"y-drawer"}},{key:"defaults",value:function(){return{opened:!1,transitionDuration:200,persistent:!1}}},{key:"sideEffects",value:function(){var e=this;return{opened:function(t){!0===t?e.open():e.close()},persistent:function(t){!0===t?e.persist():e.unpersist()}}}},{key:"setupComponent",value:function(e,r){return u(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"setupComponent",this).call(this,e,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(e){var t=this;return 1===e.length?e[0]:Array.prototype.reduce.call(e,function(e,r){var n=(0,h.pageDist)(t,r);return n<e.dist?{dist:n,touch:r}:e},{dist:Number.POSITIVE_INFINITY,touch:null}).touch}},{key:"touchStartCallback",value:function(e){if(1===e.touches.length){this.isScrolling=void 0;var t=e.touches[0];this.startX=t.pageX,this.startY=t.pageY,this.pageX=t.pageX,this.pageY=t.pageY,this.lastPageX=t.pageX,this.lastPageY=t.pageY,(this.opened||this.pageX<window.innerWidth/3)&&(this.prepInteraction(),this.touching=!0,this.loopState=d)}}},{key:"touchMoveCallback",value:function(e){if(this.touching){var t=this.getNearestTouch(e.touches);if(this.pageX=t.pageX,this.pageY=t.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;e.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(e){if(this.touching){if(this.isScrolling||e.touches.length>0)return;this.startedMoving&&this.updateMenuOpen(),
|
25
|
+
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(e){this.prepInteraction(),this.setState("opened",e),this.loopState=b,this.requestAnimationLoop()}},{key:"jumpTo",value:function(e){this.prepInteraction(),this.setState("opened",e),this.loopState=f,this.startTranslateX=e*this.sliderWidth,this.endAnimating(),this.updateDOM(this.startTranslateX,this.sliderWidth)}},{key:"updateTranslateX",value:function(){var e=this.pageX-this.startX;return this.translateX=this.startTranslateX+e,this.translateX=Math.max(0,Math.min(this.sliderWidth,this.translateX)),e}},{key:"animationFrameCallback",value:function(e){switch(this.loopState){case d:this.touchingFrame(e);break;case b:this.startAnimatingFrame(e),this.loopState=m,this.animationFrameCallback(e);break;case m:this.animatingFrame(e)}}},{key:"touchingFrame",value:function(e){var t=e-this.lastTime;if(t>0){var r=this.pageX-this.lastPageX;this.velocity=r/t*.8+(1-.8)*this.velocity}this.updateTranslateX(),this.updateDOM(this.translateX,this.sliderWidth),this.lastTime=e,this.lastPageX=this.pageX,this.lastPageY=this.pageY,requestAnimationFrame(this.animationFrameCallback)}},{key:"startAnimatingFrame",value:function(e){this.updateTranslateX();var t={};t.startX=this.translateX,t.endX=(this.opened?1:0)*this.sliderWidth,t.changeInValue=t.endX-t.startX,t.startTime=e,this.animation=t}},{key:"animatingFrame",value:function(e){var t=e-this.animation.startTime;t<this.transitionDuration?this.animatingCont(t):this.animatingEnd(),this.updateDOM(this.startTranslateX,this.sliderWidth)}},{key:"animatingCont",value:function(e){var t=this.animation.startX,r=this.animation.changeInValue;this.startTranslateX=(0,h.linearTween)(e,t,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(e,t){this.content.style.transform="translateX("+e+"px)",this.scrim.style.opacity=e/t}},{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)}}]),t}((0,l.default)(e))}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../common":176,"y-component/src/component-core":175}],178:[function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":a(t))&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":a(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return document.createRange().createContextualFragment(e)}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(r,"__esModule",{value:!0});var u=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),c=e("../core"),l=function(e){return e&&e.__esModule?e:{default:e}}(c),h=function(e){function t(e,r){n(this,t);var o=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return o.setupComponent(e,r),o}return o(t,e),u(t,[{key:"setupDOM",value:function(e){if(!e)throw Error("No element provided");var t=document.createElement("div");t.classList.add("y-drawer-scrim");var r=document.createElement("div");for(r.classList.add("y-drawer-content");e.children.length>0;)r.appendChild(e.children[0]);e.appendChild(t),e.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),e}}]),t}((0,l.default)());r.default=h},{"../core":177}],179:[function(e,t,r){arguments[4][116][0].apply(r,arguments)},{"./Subscriber":187,dup:116}],180:[function(e,t,r){"use strict";var n=e("./Observable"),i=function(){function e(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,t,r){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return r&&r()}},e.prototype.accept=function(e,t,r){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,r)},e.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")},e.createNext=function(t){return void 0!==t?new e("N",t):this.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return this.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}();r.Notification=i},{"./Observable":181}],181:[function(e,t,r){arguments[4][117][0].apply(r,arguments)},{"./symbol/observable":257,"./util/root":271,"./util/toSubscriber":273,dup:117}],182:[function(e,t,r){arguments[4][118][0].apply(r,arguments)},{dup:118}],183:[function(e,t,r){arguments[4][119][0].apply(r,arguments)},{"./Subscriber":187,dup:119}],184:[function(e,t,r){arguments[4][120][0].apply(r,arguments)},{dup:120}],185:[function(e,t,r){arguments[4][121][0].apply(r,arguments)},{"./Observable":181,"./SubjectSubscription":186,"./Subscriber":187,"./Subscription":188,"./symbol/rxSubscriber":258,"./util/ObjectUnsubscribedError":260,dup:121}],186:[function(e,t,r){arguments[4][122][0].apply(r,arguments)},{"./Subscription":188,dup:122}],187:[function(e,t,r){arguments[4][123][0].apply(r,arguments)},{"./Observer":182,"./Subscription":188,"./symbol/rxSubscriber":258,"./util/isFunction":266,dup:123}],188:[function(e,t,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(e,t,r){"use strict";var n=e("../../Observable"),i=e("../../observable/defer");n.Observable.defer=i.defer},{"../../Observable":181,"../../observable/defer":222}],190:[function(e,t,r){"use strict";var n=e("../../../Observable"),i=e("../../../observable/dom/ajax");n.Observable.ajax=i.ajax},{"../../../Observable":181,"../../../observable/dom/ajax":224}],191:[function(e,t,r){"use strict";var n=e("../../Observable"),i=e("../../observable/fromEvent");n.Observable.fromEvent=i.fromEvent},{"../../Observable":181,"../../observable/fromEvent":225}],192:[function(e,t,r){"use strict";var n=e("../../Observable"),i=e("../../observable/merge");n.Observable.merge=i.merge},{"../../Observable":181,"../../observable/merge":226}],193:[function(e,t,r){"use strict";var n=e("../../Observable"),i=e("../../observable/of");n.Observable.of=i.of},{"../../Observable":181,"../../observable/of":227}],194:[function(e,t,r){"use strict";var n=e("../../Observable"),i=e("../../observable/throw");n.Observable.throw=i._throw},{"../../Observable":181,"../../observable/throw":228}],195:[function(e,t,r){"use strict";var n=e("../../Observable"),i=e("../../observable/timer");n.Observable.timer=i.timer},{"../../Observable":181,"../../observable/timer":229}],196:[function(e,t,r){"use strict";var n=e("../../Observable"),i=e("../../operator/catch");n.Observable.prototype.catch=i._catch,n.Observable.prototype._catch=i._catch},{"../../Observable":181,"../../operator/catch":230}],197:[function(e,t,r){"use strict";var n=e("../../Observable"),i=e("../../operator/debounceTime");n.Observable.prototype.debounceTime=i.debounceTime},{"../../Observable":181,"../../operator/debounceTime":232}],198:[function(e,t,r){"use strict";var n=e("../../Observable"),i=e("../../operator/delay");n.Observable.prototype.delay=i.delay},{"../../Observable":181,"../../operator/delay":233}],199:[function(e,t,r){"use strict";var n=e("../../Observable"),i=e("../../operator/distinctUntilKeyChanged");n.Observable.prototype.distinctUntilKeyChanged=i.distinctUntilKeyChanged},{"../../Observable":181,"../../operator/distinctUntilKeyChanged":235}],200:[function(e,t,r){"use strict";var n=e("../../Observable"),i=e("../../operator/do");n.Observable.prototype.do=i._do,n.Observable.prototype._do=i._do},{"../../Observable":181,"../../operator/do":236}],201:[function(e,t,r){"use strict";var n=e("../../Observable"),i=e("../../operator/filter");n.Observable.prototype.filter=i.filter},{"../../Observable":181,"../../operator/filter":237}],202:[function(e,t,r){"use strict";var n=e("../../Observable"),i=e("../../operator/map");n.Observable.prototype.map=i.map},{"../../Observable":181,"../../operator/map":238}],203:[function(e,t,r){"use strict";var n=e("../../Observable"),i=e("../../operator/mergeAll");n.Observable.prototype.mergeAll=i.mergeAll},{"../../Observable":181,"../../operator/mergeAll":240}],204:[function(e,t,r){"use strict";var n=e("../../Observable"),i=e("../../operator/retryWhen");n.Observable.prototype.retryWhen=i.retryWhen},{"../../Observable":181,"../../operator/retryWhen":242}],205:[function(e,t,r){"use strict";var n=e("../../Observable"),i=e("../../operator/share");n.Observable.prototype.share=i.share},{"../../Observable":181,"../../operator/share":243}],206:[function(e,t,r){"use strict";var n=e("../../Observable"),i=e("../../operator/startWith");n.Observable.prototype.startWith=i.startWith},{"../../Observable":181,"../../operator/startWith":244}],207:[function(e,t,r){"use strict";var n=e("../../Observable"),i=e("../../operator/switch");n.Observable.prototype.switch=i._switch,n.Observable.prototype._switch=i._switch},{"../../Observable":181,"../../operator/switch":245}],208:[function(e,t,r){"use strict";var n=e("../../Observable"),i=e("../../operator/switchMap");n.Observable.prototype.switchMap=i.switchMap},{"../../Observable":181,"../../operator/switchMap":246}],209:[function(e,t,r){"use strict";var n=e("../../Observable"),i=e("../../operator/take");n.Observable.prototype.take=i.take},{"../../Observable":181,"../../operator/take":247}],210:[function(e,t,r){"use strict";var n=e("../../Observable"),i=e("../../operator/takeUntil");n.Observable.prototype.takeUntil=i.takeUntil},{"../../Observable":181,"../../operator/takeUntil":248}],211:[function(e,t,r){"use strict";var n=e("../../Observable"),i=e("../../operator/throttleTime");n.Observable.prototype.throttleTime=i.throttleTime},{"../../Observable":181,"../../operator/throttleTime":249}],212:[function(e,t,r){"use strict";var n=e("../../Observable"),i=e("../../operator/withLatestFrom");n.Observable.prototype.withLatestFrom=i.withLatestFrom},{"../../Observable":181,"../../operator/withLatestFrom":250}],213:[function(e,t,r){"use strict";var n=e("../../Observable"),i=e("../../operator/zip");n.Observable.prototype.zip=i.zipProto},{"../../Observable":181,"../../operator/zip":251}],214:[function(e,t,r){arguments[4][125][0].apply(r,arguments)},{"../Observable":181,"../util/isScheduler":270,"./EmptyObservable":217,"./ScalarObservable":220,dup:125}],215:[function(e,t,r){arguments[4][126][0].apply(r,arguments)},{"../Observable":181,"../Subject":185,"../Subscriber":187,"../Subscription":188,dup:126}],216:[function(e,t,r){"use strict";var n=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},i=e("../Observable"),o=e("../util/subscribeToResult"),s=e("../OuterSubscriber"),a=function(e){function t(t){e.call(this),this.observableFactory=t}return n(t,e),t.create=function(e){return new t(e)},t.prototype._subscribe=function(e){return new u(e,this.observableFactory)},t}(i.Observable);r.DeferObservable=a;var u=function(e){function t(t,r){e.call(this,t),this.factory=r,this.tryDefer()}return n(t,e),t.prototype.tryDefer=function(){try{this._callFactory()}catch(e){this._error(e)}},t.prototype._callFactory=function(){var e=this.factory();e&&this.add(o.subscribeToResult(this,e))},t}(s.OuterSubscriber)},{"../Observable":181,"../OuterSubscriber":183,"../util/subscribeToResult":272}],217:[function(e,t,r){arguments[4][127][0].apply(r,arguments)},{"../Observable":181,dup:127}],218:[function(e,t,r){"use strict";var n=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},i=e("../Observable"),o=function(e){function t(t,r){e.call(this),this.error=t,this.scheduler=r}return n(t,e),t.create=function(e,r){return new t(e,r)},t.dispatch=function(e){var t=e.error;e.subscriber.error(t)},t.prototype._subscribe=function(e){var r=this.error,n=this.scheduler;if(n)return n.schedule(t.dispatch,0,{error:r,subscriber:e});e.error(r)},t}(i.Observable);r.ErrorObservable=o},{"../Observable":181}],219:[function(e,t,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(e,t,r){arguments[4][129][0].apply(r,arguments)},{"../Observable":181,dup:129}],221:[function(e,t,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(e,t,r){"use strict";var n=e("./DeferObservable");r.defer=n.DeferObservable.create},{"./DeferObservable":216}],223:[function(e,t,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 e=void 0;try{for(var t=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],r=0;r<3;r++)try{if(e=t[r],new p.root.ActiveXObject(e))break}catch(e){}return new p.root.ActiveXObject(e)}catch(e){throw new Error("XMLHttpRequest is not supported by your browser")}}function o(e,t){return void 0===t&&(t=null),new y({method:"GET",url:e,headers:t})}function s(e,t,r){return new y({method:"POST",url:e,body:t,headers:r})}function a(e,t){return new y({method:"DELETE",url:e,headers:t})}function u(e,t,r){return new y({method:"PUT",url:e,body:t,headers:r})}function c(e,t,r){return new y({method:"PATCH",url:e,body:t,headers:r})}function l(e,t){return new y({method:"GET",url:e,responseType:"json",headers:t}).lift(new v.MapOperator(function(e,t){return e.response},null))}var h=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},p=e("../../util/root"),f=e("../../util/tryCatch"),d=e("../../util/errorObject"),b=e("../../Observable"),m=e("../../Subscriber"),v=e("../../operator/map");r.ajaxGet=o,r.ajaxPost=s,r.ajaxDelete=a,r.ajaxPut=u,r.ajaxPatch=c,r.ajaxGetJSON=l;var y=function(e){function t(t){e.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 t)r.url=t;else for(var o in t)t.hasOwnProperty(o)&&(r[o]=t[o]);this.request=r}return h(t,e),t.prototype._subscribe=function(e){return new g(e,this.request)},t.create=function(){var e=function(e){return new t(e)};return e.get=o,e.post=s,e.delete=a,e.put=u,e.patch=c,e.getJSON=l,e}(),t}(b.Observable);r.AjaxObservable=y;var g=function(e){function t(t,r){e.call(this,t),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(t,e),t.prototype.next=function(e){this.done=!0;var t=this,r=t.xhr,n=t.request,i=t.destination,o=new w(e,r,n);i.next(o)},t.prototype.send=function(){var e=this,t=e.request,r=e.request,n=r.user,i=r.method,o=r.url,s=r.async,a=r.password,u=r.headers,c=r.body,l=t.createXHR,h=f.tryCatch(l).call(t);if(h===d.errorObject)this.error(d.errorObject.e);else{this.xhr=h,this.setupEvents(h,t);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=t.timeout,h.responseType=t.responseType,"withCredentials"in h&&(h.withCredentials=!!t.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},t.prototype.serializeBody=function(e,t){if(!e||"string"==typeof e)return e;if(p.root.FormData&&e instanceof p.root.FormData)return e;if(t){var r=t.indexOf(";");-1!==r&&(t=t.substring(0,r))}switch(t){case"application/x-www-form-urlencoded":return Object.keys(e).map(function(t){return encodeURI(t)+"="+encodeURI(e[t])}).join("&");case"application/json":return JSON.stringify(e);default:return e}},t.prototype.setHeaders=function(e,t){for(var r in t)t.hasOwnProperty(r)&&e.setRequestHeader(r,t[r])},t.prototype.setupEvents=function(e,t){function r(e){var t=r,n=t.subscriber,i=t.progressSubscriber,o=t.request;i&&i.error(e),n.error(new _(this,o))}function n(e){var t=n,r=t.subscriber,i=t.progressSubscriber,o=t.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(e),r.complete()):(i&&i.error(e),r.error(new x("ajax error "+s,this,o)))}}var i=t.progressSubscriber;if(e.ontimeout=r,r.request=t,r.subscriber=this,r.progressSubscriber=i,e.upload&&"withCredentials"in e){if(i){var o;o=function(e){o.progressSubscriber.next(e)},p.root.XDomainRequest?e.onprogress=o:e.upload.onprogress=o,o.progressSubscriber=i}var s;s=function(e){var t=s,r=t.progressSubscriber,n=t.subscriber,i=t.request;r&&r.error(e),n.error(new x("ajax error",this,i))},e.onerror=s,s.request=t,s.subscriber=this,s.progressSubscriber=i}e.onreadystatechange=n,n.subscriber=this,n.progressSubscriber=i,n.request=t},t.prototype.unsubscribe=function(){var t=this,r=t.done,n=t.xhr;!r&&n&&4!==n.readyState&&"function"==typeof n.abort&&n.abort(),e.prototype.unsubscribe.call(this)},t}(m.Subscriber);r.AjaxSubscriber=g;var w=function(){function e(e,t,r){switch(this.originalEvent=e,this.xhr=t,this.request=r,this.status=t.status,this.responseType=t.responseType||r.responseType,this.responseType){case"json":this.response="response"in t?t.responseType?t.response:JSON.parse(t.response||t.responseText||"null"):JSON.parse(t.responseText||"null");break;case"xml":this.response=t.responseXML;break;case"text":default:this.response="response"in t?t.response:t.responseText}}return e}();r.AjaxResponse=w;var x=function(e){function t(t,r,n){e.call(this,t),this.message=t,this.xhr=r,this.request=n,this.status=r.status}return h(t,e),t}(Error);r.AjaxError=x;var _=function(e){function t(t,r){e.call(this,"ajax timeout",t,r)}return h(t,e),t}(x);r.AjaxTimeoutError=_},{"../../Observable":181,"../../Subscriber":187,"../../operator/map":238,"../../util/errorObject":262,"../../util/root":271,"../../util/tryCatch":274}],224:[function(e,t,r){"use strict";var n=e("./AjaxObservable");r.ajax=n.AjaxObservable.create},{"./AjaxObservable":223}],225:[function(e,t,r){arguments[4][132][0].apply(r,arguments)},{"./FromEventObservable":219,dup:132}],226:[function(e,t,r){"use strict";var n=e("../operator/merge");r.merge=n.mergeStatic},{"../operator/merge":239}],227:[function(e,t,r){"use strict";var n=e("./ArrayObservable");r.of=n.ArrayObservable.of},{"./ArrayObservable":214}],228:[function(e,t,r){"use strict";var n=e("./ErrorObservable");r._throw=n.ErrorObservable.create},{"./ErrorObservable":218}],229:[function(e,t,r){arguments[4][133][0].apply(r,arguments)},{"./TimerObservable":221,dup:133}],230:[function(e,t,r){arguments[4][134][0].apply(r,arguments)},{"../OuterSubscriber":183,"../util/subscribeToResult":272,dup:134}],231:[function(e,t,r){arguments[4][135][0].apply(r,arguments)},{"../Observable":181,"../observable/ArrayObservable":214,"../util/isScheduler":270,"./mergeAll":240,dup:135}],232:[function(e,t,r){arguments[4][136][0].apply(r,arguments)},{"../Subscriber":187,"../scheduler/async":255,dup:136}],233:[function(e,t,r){"use strict";function n(e,t){void 0===t&&(t=o.async);var r=s.isDate(e),n=r?+e-t.now():Math.abs(e);return this.lift(new c(n,t))}var i=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},o=e("../scheduler/async"),s=e("../util/isDate"),a=e("../Subscriber"),u=e("../Notification");r.delay=n;var c=function(){function e(e,t){this.delay=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new l(e,this.delay,this.scheduler))},e}(),l=function(e){function t(t,r,n){e.call(this,t),this.delay=r,this.scheduler=n,this.queue=[],this.active=!1,this.errored=!1}return i(t,e),t.dispatch=function(e){for(var t=e.source,r=t.queue,n=e.scheduler,i=e.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(e,o)}else t.active=!1},t.prototype._schedule=function(e){this.active=!0,this.add(e.schedule(t.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))},t.prototype.scheduleNotification=function(e){if(!0!==this.errored){var t=this.scheduler,r=new h(t.now()+this.delay,e);this.queue.push(r),!1===this.active&&this._schedule(t)}},t.prototype._next=function(e){this.scheduleNotification(u.Notification.createNext(e))},t.prototype._error=function(e){this.errored=!0,this.queue=[],this.destination.error(e)},t.prototype._complete=function(){this.scheduleNotification(u.Notification.createComplete())},t}(a.Subscriber),h=function(){function e(e,t){this.time=e,this.notification=t}return e}()},{"../Notification":180,"../Subscriber":187,"../scheduler/async":255,"../util/isDate":265}],234:[function(e,t,r){"use strict";function n(e,t){return this.lift(new u(e,t))}var i=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},o=e("../Subscriber"),s=e("../util/tryCatch"),a=e("../util/errorObject");r.distinctUntilChanged=n;var u=function(){function e(e,t){this.compare=e,this.keySelector=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.compare,this.keySelector))},e}(),c=function(e){function t(t,r,n){e.call(this,t),this.keySelector=n,this.hasKey=!1,"function"==typeof r&&(this.compare=r)}return i(t,e),t.prototype.compare=function(e,t){return e===t},t.prototype._next=function(e){var t=this.keySelector,r=e;if(t&&(r=s.tryCatch(this.keySelector)(e))===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(e))},t}(o.Subscriber)},{"../Subscriber":187,"../util/errorObject":262,"../util/tryCatch":274}],235:[function(e,t,r){"use strict";function n(e,t){return i.distinctUntilChanged.call(this,function(r,n){return t?t(r[e],n[e]):r[e]===n[e]})}var i=e("./distinctUntilChanged");r.distinctUntilKeyChanged=n},{"./distinctUntilChanged":234}],236:[function(e,t,r){arguments[4][137][0].apply(r,arguments)},{"../Subscriber":187,dup:137}],237:[function(e,t,r){arguments[4][139][0].apply(r,arguments)},{"../Subscriber":187,dup:139}],238:[function(e,t,r){arguments[4][141][0].apply(r,arguments)},{"../Subscriber":187,dup:141}],239:[function(e,t,r){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];return this.lift.call(i.apply(void 0,[this].concat(e)))}function i(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];var r=Number.POSITIVE_INFINITY,n=null,i=e[e.length-1];return u.isScheduler(i)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(r=e.pop())):"number"==typeof i&&(r=e.pop()),null===n&&1===e.length&&e[0]instanceof o.Observable?e[0]:new s.ArrayObservable(e,n).lift(new a.MergeAllOperator(r))}var o=e("../Observable"),s=e("../observable/ArrayObservable"),a=e("./mergeAll"),u=e("../util/isScheduler");r.merge=n,r.mergeStatic=i},{"../Observable":181,"../observable/ArrayObservable":214,"../util/isScheduler":270,"./mergeAll":240}],240:[function(e,t,r){arguments[4][142][0].apply(r,arguments)},{"../OuterSubscriber":183,"../util/subscribeToResult":272,dup:142}],241:[function(e,t,r){arguments[4][144][0].apply(r,arguments)},{"../observable/ConnectableObservable":215,dup:144}],242:[function(e,t,r){"use strict";function n(e){return this.lift(new l(e,this))}var i=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},o=e("../Subject"),s=e("../util/tryCatch"),a=e("../util/errorObject"),u=e("../OuterSubscriber"),c=e("../util/subscribeToResult");r.retryWhen=n;var l=function(){function e(e,t){this.notifier=e,this.source=t}return e.prototype.call=function(e,t){return t.subscribe(new h(e,this.notifier,this.source))},e}(),h=function(e){function t(t,r,n){e.call(this,t),this.notifier=r,this.source=n}return i(t,e),t.prototype.error=function(t){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 e.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(t)}},t.prototype._unsubscribe=function(){var e=this,t=e.errors,r=e.retriesSubscription;t&&(t.unsubscribe(),this.errors=null),r&&(r.unsubscribe(),this.retriesSubscription=null),this.retries=null},t.prototype.notifyNext=function(e,t,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)},t}(u.OuterSubscriber)},{"../OuterSubscriber":183,"../Subject":185,"../util/errorObject":262,"../util/subscribeToResult":272,"../util/tryCatch":274}],243:[function(e,t,r){arguments[4][146][0].apply(r,arguments)},{"../Subject":185,"./multicast":241,dup:146}],244:[function(e,t,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(e,t,r){"use strict";function n(){return this.lift(new a)}var i=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},o=e("../OuterSubscriber"),s=e("../util/subscribeToResult");r._switch=n;var a=function(){function e(){}return e.prototype.call=function(e,t){return t.subscribe(new u(e))},e}(),u=function(e){function t(t){e.call(this,t),this.active=0,this.hasCompleted=!1}return i(t,e),t.prototype._next=function(e){this.unsubscribeInner(),this.active++,this.add(this.innerSubscription=s.subscribeToResult(this,e))},t.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&this.destination.complete()},t.prototype.unsubscribeInner=function(){this.active=this.active>0?this.active-1:0;var e=this.innerSubscription;e&&(e.unsubscribe(),this.remove(e))},t.prototype.notifyNext=function(e,t,r,n,i){this.destination.next(t)},t.prototype.notifyError=function(e){this.destination.error(e)},t.prototype.notifyComplete=function(){this.unsubscribeInner(),this.hasCompleted&&0===this.active&&this.destination.complete()},t}(o.OuterSubscriber)},{"../OuterSubscriber":183,"../util/subscribeToResult":272}],246:[function(e,t,r){arguments[4][148][0].apply(r,arguments)},{"../OuterSubscriber":183,"../util/subscribeToResult":272,dup:148}],247:[function(e,t,r){"use strict";function n(e){return 0===e?new a.EmptyObservable:this.lift(new u(e))}var i=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},o=e("../Subscriber"),s=e("../util/ArgumentOutOfRangeError"),a=e("../observable/EmptyObservable");r.take=n;var u=function(){function e(e){if(this.total=e,this.total<0)throw new s.ArgumentOutOfRangeError}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.total))},e}(),c=function(e){function t(t,r){e.call(this,t),this.total=r,this.count=0}return i(t,e),t.prototype._next=function(e){var t=this.total,r=++this.count;r<=t&&(this.destination.next(e),r===t&&(this.destination.complete(),this.unsubscribe()))},t}(o.Subscriber)},{"../Subscriber":187,"../observable/EmptyObservable":217,"../util/ArgumentOutOfRangeError":259}],248:[function(e,t,r){arguments[4][149][0].apply(r,arguments)},{"../OuterSubscriber":183,"../util/subscribeToResult":272,dup:149}],249:[function(e,t,r){"use strict";function n(e,t){return void 0===t&&(t=a.async),this.lift(new u(e,t))}function i(e){e.subscriber.clearThrottle()}var o=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])
|
26
|
+
;e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},s=e("../Subscriber"),a=e("../scheduler/async");r.throttleTime=n;var u=function(){function e(e,t){this.duration=e,this.scheduler=t}return e.prototype.call=function(e,t){return t.subscribe(new c(e,this.duration,this.scheduler))},e}(),c=function(e){function t(t,r,n){e.call(this,t),this.duration=r,this.scheduler=n}return o(t,e),t.prototype._next=function(e){this.throttled||(this.add(this.throttled=this.scheduler.schedule(i,this.duration,{subscriber:this})),this.destination.next(e))},t.prototype.clearThrottle=function(){var e=this.throttled;e&&(e.unsubscribe(),this.remove(e),this.throttled=null)},t}(s.Subscriber)},{"../Subscriber":187,"../scheduler/async":255}],250:[function(e,t,r){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t-0]=arguments[t];var r;"function"==typeof e[e.length-1]&&(r=e.pop());var n=e;return this.lift(new a(n,r))}var i=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},o=e("../OuterSubscriber"),s=e("../util/subscribeToResult");r.withLatestFrom=n;var a=function(){function e(e,t){this.observables=e,this.project=t}return e.prototype.call=function(e,t){return t.subscribe(new u(e,this.observables,this.project))},e}(),u=function(e){function t(t,r,n){e.call(this,t),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(t,e),t.prototype.notifyNext=function(e,t,r,n,i){this.values[r]=t;var o=this.toRespond;if(o.length>0){var s=o.indexOf(r);-1!==s&&o.splice(s,1)}},t.prototype.notifyComplete=function(){},t.prototype._next=function(e){if(0===this.toRespond.length){var t=[e].concat(this.values);this.project?this._tryProject(t):this.destination.next(t)}},t.prototype._tryProject=function(e){var t;try{t=this.project.apply(this,e)}catch(e){return void this.destination.error(e)}this.destination.next(t)},t}(o.OuterSubscriber)},{"../OuterSubscriber":183,"../util/subscribeToResult":272}],251:[function(e,t,r){arguments[4][150][0].apply(r,arguments)},{"../OuterSubscriber":183,"../Subscriber":187,"../observable/ArrayObservable":214,"../symbol/iterator":256,"../util/isArray":263,"../util/subscribeToResult":272,dup:150}],252:[function(e,t,r){arguments[4][151][0].apply(r,arguments)},{"../Subscription":188,dup:151}],253:[function(e,t,r){arguments[4][152][0].apply(r,arguments)},{"../util/root":271,"./Action":252,dup:152}],254:[function(e,t,r){arguments[4][153][0].apply(r,arguments)},{"../Scheduler":184,dup:153}],255:[function(e,t,r){arguments[4][154][0].apply(r,arguments)},{"./AsyncAction":253,"./AsyncScheduler":254,dup:154}],256:[function(e,t,r){arguments[4][155][0].apply(r,arguments)},{"../util/root":271,dup:155}],257:[function(e,t,r){arguments[4][156][0].apply(r,arguments)},{"../util/root":271,dup:156}],258:[function(e,t,r){arguments[4][157][0].apply(r,arguments)},{"../util/root":271,dup:157}],259:[function(e,t,r){"use strict";var n=function(e,t){function r(){this.constructor=e}for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},i=function(e){function t(){var t=e.call(this,"argument out of range");this.name=t.name="ArgumentOutOfRangeError",this.stack=t.stack,this.message=t.message}return n(t,e),t}(Error);r.ArgumentOutOfRangeError=i},{}],260:[function(e,t,r){arguments[4][158][0].apply(r,arguments)},{dup:158}],261:[function(e,t,r){arguments[4][159][0].apply(r,arguments)},{dup:159}],262:[function(e,t,r){arguments[4][160][0].apply(r,arguments)},{dup:160}],263:[function(e,t,r){arguments[4][161][0].apply(r,arguments)},{dup:161}],264:[function(e,t,r){arguments[4][162][0].apply(r,arguments)},{dup:162}],265:[function(e,t,r){arguments[4][163][0].apply(r,arguments)},{dup:163}],266:[function(e,t,r){arguments[4][164][0].apply(r,arguments)},{dup:164}],267:[function(e,t,r){arguments[4][165][0].apply(r,arguments)},{"../util/isArray":263,dup:165}],268:[function(e,t,r){arguments[4][166][0].apply(r,arguments)},{dup:166}],269:[function(e,t,r){arguments[4][167][0].apply(r,arguments)},{dup:167}],270:[function(e,t,r){arguments[4][168][0].apply(r,arguments)},{dup:168}],271:[function(e,t,r){arguments[4][169][0].apply(r,arguments)},{dup:169}],272:[function(e,t,r){arguments[4][170][0].apply(r,arguments)},{"../InnerSubscriber":179,"../Observable":181,"../symbol/iterator":256,"../symbol/observable":257,"./isArrayLike":264,"./isObject":268,"./isPromise":269,"./root":271,dup:170}],273:[function(e,t,r){arguments[4][171][0].apply(r,arguments)},{"../Observer":182,"../Subscriber":187,"../symbol/rxSubscriber":258,dup:171}],274:[function(e,t,r){arguments[4][172][0].apply(r,arguments)},{"./errorObject":262,dup:172}],275:[function(e,t,r){arguments[4][175][0].apply(r,arguments)},{dup:175}],276:[function(e,t,r){"use strict";function n(e){var t=e.match(/^([^:\/?#]+:)?(?:\/\/([^\/?#]*))?([^?#]+)?(\?[^#]*)?(#.*)?/);if("string"==typeof t[1]&&t[1].length>0&&t[1].toLowerCase()!==window.location.protocol)return!0;var r={http:80,https:443}[window.location.protocol];return"string"==typeof t[2]&&t[2].length>0&&t[2].replace(new RegExp(":("+r+")?$"),"")!==window.location.host}function i(e){return e.replace(/#.*/,"")}function o(e,t){var r=t||window.location.href,n=e.indexOf("#")>-1,o=i(e)===i(r);return n&&o}function s(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector).call(e,t)}function a(e,t){for(var r=e;r!==document&&r!==document.documentElement;){if(s(r,t))return r;r=r.parentNode}return null}function u(e,t,r){var i=e.href;return!(n(i)||o(i)||s(e,t)||""!==e.target||null!==r&&-1===i.search(r))}function c(){var e=document.documentElement,t=document.body,r="scrollHeight";return e[r]||t[r]}function l(){return window.pageXOffset||document.body.scrollLeft}function h(){return window.pageYOffset||document.body.scrollTop}function p(e,t){return d.Observable.create(function(r){function n(){r.next(i),i*=t,o=setTimeout(n,i)}var i=e,o=void 0;return o=setTimeout(n,i),function(){clearTimeout(o)}})}function f(e){return document.createRange().createContextualFragment(e)}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=e("rxjs/Observable")},{"rxjs/Observable":181}],277:[function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":s(t))&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":s(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function e(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(n=(s=a.next()).done)&&(r.push(s.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{!n&&a.return&&a.return()}finally{if(i)throw o}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),u=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),c=e("rxjs/Observable"),l=e("rxjs/Subject");e("rxjs/add/observable/defer"),e("rxjs/add/observable/fromEvent"),e("rxjs/add/observable/merge"),e("rxjs/add/observable/of"),e("rxjs/add/observable/throw"),e("rxjs/add/observable/timer"),e("rxjs/add/observable/dom/ajax"),e("rxjs/add/operator/catch"),e("rxjs/add/operator/debounceTime"),e("rxjs/add/operator/delay"),e("rxjs/add/operator/distinctUntilKeyChanged"),e("rxjs/add/operator/do"),e("rxjs/add/operator/filter"),e("rxjs/add/operator/map"),e("rxjs/add/operator/mergeAll"),e("rxjs/add/operator/retryWhen"),e("rxjs/add/operator/share"),e("rxjs/add/operator/startWith"),e("rxjs/add/operator/switch"),e("rxjs/add/operator/switchMap"),e("rxjs/add/operator/take"),e("rxjs/add/operator/takeUntil"),e("rxjs/add/operator/throttleTime"),e("rxjs/add/operator/withLatestFrom"),e("rxjs/add/operator/zip");var h=e("y-component/src/component-core"),p=function(e){return e&&e.__esModule?e:{default:e}}(h),f=e("../common"),d=e("./kind");r.default=function(e){return function(e){function t(){return n(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),u(t,[{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 e=this.el.id;if(!e)throw Error("No replace ids provided nor does this component have and id");console.warn("No replace ids provided. Will replace entire content of #"+e)}}},{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(e){var t=this;return this.fromEvents(e,"click").map(function(e){return new d.Push(e)}).filter(function(e){return t.isPageChangeEvent(e)}).do(function(e){var r=e.event;t.updateHistoryState(),r.preventDefault()})}},{key:"bindHintEvents",value:function(e){var t=this;return c.Observable.merge(this.fromEvents(e,"mouseenter"),this.fromEvents(e,"touchstart"),this.fromEvents(e,"focus")).map(function(e){return new d.Hint(e)}).filter(function(e){return t.isPageChangeAnchor(e)})}},{key:"bindPopstateEvent",value:function(){return c.Observable.fromEvent(window,"popstate").map(function(e){return new d.Pop(e)}).filter(function(){return null!=window.history.state})}},{key:"linkObservable",value:function(){return c.Observable.of(this.el.querySelectorAll(this.linkSelector))}},{key:"fromEvents",value:function(e,t){return e.map(function(e){return c.Observable.fromEvent(e,t)}).mergeAll()}},{key:"fetchPage",value:function(e){var t=this;return c.Observable.ajax(this.hrefToAjax(e)).map(function(t){var r=t.response;return Object.assign(e,{response:r})}).catch(function(r){return t.recoverIfResponse(e,r)}).retryWhen(function(){return c.Observable.merge(c.Observable.fromEvent(window,"online"),(0,f.expInterval)(1e3,2)).do(t.onRetry.bind(t,e))})}},{key:"hrefToAjax",value:function(e){return{method:"GET",url:e.href,responseType:"text"}}},{key:"recoverIfResponse",value:function(e,t){var r=t.status,n=t.xhr;return n&&r&&r>400?c.Observable.of(Object.assign(e,{response:n.response})):(this.onError(Object.assign(e,t)),c.Observable.throw(t))}},{key:"setupObservables",value:function(){var e=this;this.push$$=new l.Subject,this.hint$$=new l.Subject;var t=this.push$$.switch().throttleTime(this.duration+100),r=this.bindPopstateEvent();this.page$=c.Observable.merge(t,r).share();var n=c.Observable.defer(function(){return c.Observable.merge(e.page$.map(function(){return!0}),e.render$.map(function(){return!1})).startWith(!1)});this.hint$=this.hint$$.switch().withLatestFrom(n).filter(function(e){return!1===a(e,2)[1]}).map(function(e){return a(e,1)[0]}),this.prefetch$=c.Observable.merge(this.hint$,this.page$).distinctUntilKeyChanged("href").switchMap(function(t){return e.fetchPage(t)}).catch(function(e,t){return t}).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(t,r){return e.onError(t),r}).share(),this.render$.debounceTime(this.duration).do(this.renewEventListeners.bind(this)).subscribe(),this.page$.switchMap(function(){return c.Observable.timer(e.duration+200).takeUntil(e.render$)}).subscribe(this.onProgress.bind(this)),this.render$.subscribe(),this.renewEventListeners()}},{key:"getResponse",value:function(e){var t=a(e,2),r=t[0],n=t[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(e){return Object.assign(r,{response:e.response})}),(r instanceof d.Push||!this.noPopDuration)&&(i=i.zip(c.Observable.timer(this.duration+100),function(e){return e}))),i}},{key:"onStart",value:function(e){var t=e.href;e instanceof d.Push&&window.history.pushState({id:this.componentName},"",t),this.fireEvent("start",{detail:e})}},{key:"onProgress",value:function(e){this.fireEvent("progress",{detail:e})}},{key:"responseToContent",value:function(e){var t=e.response,r=(0,f.fragmentFromString)(t),n=this.getTitleFromDocumentFragment(r),i=this.getContentFromDocumentFragment(r);return Object.assign(e,{title:n,content:i})}},{key:"onReady",value:function(e){this.fireEvent("ready",{detail:e})}},{key:"updateDOM",value:function(e){try{var t=e.href,r=e.title,n=e.content;e instanceof d.Push&&window.history.replaceState({id:this.componentName},r,t),this.titleElement.textContent=r,this.replaceContent(n)}catch(t){throw Object.assign(e,{error:t})}}},{key:"onAfter",value:function(e){this.fireEvent("after",{detail:e})}},{key:"renewEventListeners",value:function(){var e=this.linkObservable();this.push$$.next(this.bindPushEvents(e)),this.hint$$.next(this.bindHintEvents(e))}},{key:"onError",value:function(e){this.el.style.willChange="",this.fireEvent("error",{detail:e})}},{key:"onRetry",value:function(e){this.fireEvent("retry",{detail:e})}},{key:"isPageChangeEvent",value:function(e){var t=e.event;return!t.metaKey&&!t.ctrlKey&&this.isPageChangeAnchor(e)}},{key:"isPageChangeAnchor",value:function(e){var t=e.event.currentTarget;return null!=t&&(0,f.shouldLoadAnchor)(t,this.blacklist,this.hrefRegex)}},{key:"getTitleFromDocumentFragment",value:function(e){return(e.querySelector("title")||{}).textContent}},{key:"getContentFromDocumentFragment",value:function(e){return this.replaceIds.length>0?this.replaceIds.map(function(t){return e.querySelector("#"+t)}):e.querySelector("#"+this.el.id)}},{key:"replaceContent",value:function(e){this.replaceIds.length>0?this.replaceContentByIds(e):this.replaceContentWholesale(e)}},{key:"replaceContentByIds",value:function(e){var t=this.replaceIds.map(function(e){return document.getElementById(e)});Array.prototype.forEach.call(t,function(t){t.parentNode.replaceChild(e.shift(),t)})}},{key:"replaceContentWholesale",value:function(e){this.el.innerHTML=e.innerHTML}},{key:"saveScrollPosition",value:function(e){return Object.assign(e,{scrollTop:(0,f.getScrollTop)(),scrollHeight:(0,f.getScrollHeight)()})}},{key:"updateHistoryState",value:function(){var e=history.state||{id:this.componentName};e=this.scrollRestoration?this.saveScrollPosition(e):e,history.replaceState(e,document.title,window.location.href)}},{key:"setScrollPosition",value:function(){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=""}},{key:"resetScrollPostion",value:function(e){this.scrollRestoration&&e instanceof d.Pop&&this.setScrollPosition()}}]),t}((0,p.default)(e))}},{"../common":276,"./kind":278,"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":275}],278:[function(e,t,r){"use strict";function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":s(t))&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":s(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),u=r.Kind=function e(t){o(this,e),this.event=t};r.Push=function(e){function t(e){o(this,t);var r=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.href=e.currentTarget.href,r}return i(t,e),a(t,[{key:"type",get:function(){return"push"}}]),t}(u),r.Hint=function(e){function t(e){o(this,t);var r=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.href=e.currentTarget.href,r}return i(t,e),a(t,[{key:"type",get:function(){return"hint"}}]),t}(u),r.Pop=function(e){function t(e){o(this,t);var r=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.href=window.location.href,r}return i(t,e),a(t,[{key:"type",get:function(){return"pop"}}]),t}(u)},{}],279:[function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":s(t))&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":s(t)));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};Object.defineProperty(r,"__esModule",{value:!0});var a=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),u=e("../core"),c=function(e){return e&&e.__esModule?e:{default:e}}(u),l=function(e){function t(e,r){n(this,t);var o=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return o.setupComponent(e,r),o}return o(t,e),a(t,[{key:"setupDOM",value:function(e){if(!e)throw Error("No element provided");return e}}]),t}((0,c.default)());r.default=l},{"../core":277}]},{},[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
|
4
|
+
version: 6.0.0
|
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-
|
11
|
+
date: 2017-05-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -140,10 +140,10 @@ files:
|
|
140
140
|
- _sass/pooleparty/_code.scss
|
141
141
|
- _sass/pooleparty/_footer-inline.scss
|
142
142
|
- _sass/pooleparty/_footnotes.scss
|
143
|
-
- _sass/pooleparty/_layout-inline.scss
|
144
143
|
- _sass/pooleparty/_message-inline.scss
|
145
144
|
- _sass/pooleparty/_pagination.scss
|
146
145
|
- _sass/pooleparty/_posts-inline.scss
|
146
|
+
- _sass/pooleparty/_posts.scss
|
147
147
|
- _sass/pooleparty/_related-inline.scss
|
148
148
|
- _sass/pooleparty/_table.scss
|
149
149
|
- _sass/pooleparty/_type-inline.scss
|
@@ -163,7 +163,6 @@ files:
|
|
163
163
|
- assets/img/free-flat-devices.jpg
|
164
164
|
- assets/img/free-flat-devices@0,5x.jpg
|
165
165
|
- assets/img/google-fonts.png
|
166
|
-
- assets/img/gst.jpg
|
167
166
|
- assets/img/nap.jpg
|
168
167
|
- assets/js/hydejack.js
|
169
168
|
- assets/resume.json
|
@@ -183,9 +182,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
183
182
|
version: '0'
|
184
183
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
185
184
|
requirements:
|
186
|
-
- - "
|
185
|
+
- - ">="
|
187
186
|
- !ruby/object:Gem::Version
|
188
|
-
version:
|
187
|
+
version: '0'
|
189
188
|
requirements: []
|
190
189
|
rubyforge_project:
|
191
190
|
rubygems_version: 2.6.11
|
data/assets/img/gst.jpg
DELETED
Binary file
|