diff --git a/bundle.js b/bundle.js index b0b2d053..ac5077a5 100644 --- a/bundle.js +++ b/bundle.js @@ -3,13 +3,13 @@ object-assign (c) Sindre Sorhus @license MIT */ -var i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=r(e),u=1;u2?n-2:0),i=2;i0))return a;do{a.push(o=new Date(+n)),t(n,i),e(n)}while(o=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(s.count=function(t,r){return i.setTime(+t),o.setTime(+r),e(i),e(o),Math.floor(n(i,o))},s.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?s.filter(a?function(t){return a(t)%e==0}:function(t){return s.count(0,t)%e==0}):s:null}),s}t.a=r;var i=new Date,o=new Date},function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.experimental=t.FlyToInterpolator=t.LinearInterpolator=t.TransitionInterpolator=t.TRANSITION_EVENTS=t.SVGOverlay=t.HTMLOverlay=t.CanvasOverlay=t.NavigationControl=t.Popup=t.Marker=t.BaseControl=t.StaticMap=t.InteractiveMap=t.default=void 0;var i=n(431);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r(i).default}}),Object.defineProperty(t,"InteractiveMap",{enumerable:!0,get:function(){return r(i).default}});var o=n(198);Object.defineProperty(t,"StaticMap",{enumerable:!0,get:function(){return r(o).default}});var a=n(30);Object.defineProperty(t,"BaseControl",{enumerable:!0,get:function(){return r(a).default}});var s=n(432);Object.defineProperty(t,"Marker",{enumerable:!0,get:function(){return r(s).default}});var l=n(434);Object.defineProperty(t,"Popup",{enumerable:!0,get:function(){return r(l).default}});var u=n(433);Object.defineProperty(t,"NavigationControl",{enumerable:!0,get:function(){return r(u).default}});var c=n(437);Object.defineProperty(t,"CanvasOverlay",{enumerable:!0,get:function(){return r(c).default}});var p=n(438);Object.defineProperty(t,"HTMLOverlay",{enumerable:!0,get:function(){return r(p).default}});var d=n(439);Object.defineProperty(t,"SVGOverlay",{enumerable:!0,get:function(){return r(d).default}});var f=n(85);Object.defineProperty(t,"TRANSITION_EVENTS",{enumerable:!0,get:function(){return f.TRANSITION_EVENTS}});var h=n(202);Object.defineProperty(t,"TransitionInterpolator",{enumerable:!0,get:function(){return h.TransitionInterpolator}}),Object.defineProperty(t,"LinearInterpolator",{enumerable:!0,get:function(){return h.LinearInterpolator}}),Object.defineProperty(t,"FlyToInterpolator",{enumerable:!0,get:function(){return h.ViewportFlyToInterpolator}});var m=n(201),g=r(m),y=n(42),v=r(y);t.experimental={MapControls:g.default,autobind:v.default}},function(e,t,n){"use strict";function r(e){return function(){return e}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},e.exports=i},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(218);n.d(t,"bisect",function(){return r.a}),n.d(t,"bisectRight",function(){return r.b}),n.d(t,"bisectLeft",function(){return r.c});var i=n(48);n.d(t,"ascending",function(){return i.a});var o=n(219);n.d(t,"bisector",function(){return o.a});var a=n(506);n.d(t,"cross",function(){return a.a});var s=n(507);n.d(t,"descending",function(){return s.a});var l=n(220);n.d(t,"deviation",function(){return l.a});var u=n(221);n.d(t,"extent",function(){return u.a});var c=n(508);n.d(t,"histogram",function(){return c.a});var p=n(518);n.d(t,"thresholdFreedmanDiaconis",function(){return p.a});var d=n(519);n.d(t,"thresholdScott",function(){return d.a});var f=n(225);n.d(t,"thresholdSturges",function(){return f.a});var h=n(510);n.d(t,"max",function(){return h.a});var m=n(511);n.d(t,"mean",function(){return m.a});var g=n(512);n.d(t,"median",function(){return g.a});var y=n(513);n.d(t,"merge",function(){return y.a});var v=n(222);n.d(t,"min",function(){return v.a});var _=n(223);n.d(t,"pairs",function(){return _.a});var b=n(514);n.d(t,"permute",function(){return b.a});var x=n(126);n.d(t,"quantile",function(){return x.a});var w=n(224);n.d(t,"range",function(){return w.a});var E=n(515);n.d(t,"scan",function(){return E.a});var A=n(516);n.d(t,"shuffle",function(){return A.a});var M=n(517);n.d(t,"sum",function(){return M.a});var S=n(226);n.d(t,"ticks",function(){return S.a}),n.d(t,"tickIncrement",function(){return S.b}),n.d(t,"tickStep",function(){return S.c});var C=n(227);n.d(t,"transpose",function(){return C.a});var T=n(228);n.d(t,"variance",function(){return T.a});var N=n(520);n.d(t,"zip",function(){return N.a})},function(e,t,n){"use strict";var r=null;e.exports={debugTool:r}},function(e,t,n){"use strict";function r(e){"epsilon"in e&&(b.EPSILON=e.epsilon),"debug"in e&&(b.debug=e.debug)}function i(e){if(!Number.isFinite(e))throw new Error("Invalid number "+e);return e}function o(e){return Math.round(e/b.EPSILON)*b.EPSILON}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.precision,r=void 0===n?b.precision||4:n;return e=o(e),parseFloat(e.toPrecision(r))}function s(e){return Array.isArray(e)||ArrayBuffer.isView(e)&&void 0!==e.length}function l(e){return e.clone?e.clone():new Array(e)}function u(e,t){if(s(e)){for(var n=l(e),r=0;r>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?h(e)+t:t}function g(){return!0}function y(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function v(e,t){return b(e,t,0)}function _(e,t){return b(e,t,t)}function b(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}function x(e){this.next=e}function w(e,t,n,r){var i=0===e?t:1===e?n:[t,n];return r?r.value=i:r={value:i,done:!1},r}function E(){return{value:void 0,done:!0}}function A(e){return!!C(e)}function M(e){return e&&"function"==typeof e.next}function S(e){var t=C(e);return t&&t.call(e)}function C(e){var t=e&&(wn&&e[wn]||e[En]);if("function"==typeof t)return t}function T(e){return e&&"number"==typeof e.length}function N(e){return null===e||void 0===e?z():o(e)?e.toSeq():U(e)}function O(e){return null===e||void 0===e?z().toKeyedSeq():o(e)?a(e)?e.toSeq():e.fromEntrySeq():B(e)}function k(e){return null===e||void 0===e?z():o(e)?a(e)?e.entrySeq():e.toIndexedSeq():F(e)}function I(e){return(null===e||void 0===e?z():o(e)?a(e)?e.entrySeq():e:F(e)).toSetSeq()}function D(e){this._array=e,this.size=e.length}function L(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function P(e){this._iterable=e,this.size=e.length||e.size}function R(e){this._iterator=e,this._iteratorCache=[]}function j(e){return!(!e||!e[Mn])}function z(){return Sn||(Sn=new D([]))}function B(e){var t=Array.isArray(e)?new D(e).fromEntrySeq():M(e)?new R(e).fromEntrySeq():A(e)?new P(e).fromEntrySeq():"object"==typeof e?new L(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function F(e){var t=G(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function U(e){var t=G(e)||"object"==typeof e&&new L(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function G(e){return T(e)?new D(e):M(e)?new R(e):A(e)?new P(e):void 0}function q(e,t,n,r){var i=e._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[n?o-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function V(e,t,n,r){var i=e._cache;if(i){var o=i.length-1,a=0;return new x(function(){var e=i[n?o-a:a];return a++>o?E():w(t,r?e[0]:a-1,e[1])})}return e.__iteratorUncached(t,n)}function H(e,t){return t?W(t,e,"",{"":e}):Z(e)}function W(e,t,n,r){return Array.isArray(t)?e.call(r,n,k(t).map(function(n,r){return W(e,n,r,t)})):Y(t)?e.call(r,n,O(t).map(function(n,r){return W(e,n,r,t)})):t}function Z(e){return Array.isArray(e)?k(e).map(Z).toList():Y(e)?O(e).map(Z).toMap():e}function Y(e){return e&&(e.constructor===Object||void 0===e.constructor)}function Q(e,t){if(e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if(e=e.valueOf(),t=t.valueOf(),e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function $(e,t){if(e===t)return!0;if(!o(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||a(e)!==a(t)||s(e)!==s(t)||u(e)!==u(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!l(e);if(u(e)){var r=e.entries();return t.every(function(e,t){var i=r.next().value;return i&&Q(i[1],e)&&(n||Q(i[0],t))})&&r.next().done}var i=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{i=!0;var c=e;e=t,t=c}var p=!0,d=t.__iterate(function(t,r){if(n?!e.has(t):i?!Q(t,e.get(r,gn)):!Q(e.get(r,gn),t))return p=!1,!1});return p&&e.size===d}function K(e,t){if(!(this instanceof K))return new K(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(Cn)return Cn;Cn=this}}function X(e,t){if(!e)throw new Error(t)}function J(e,t,n){if(!(this instanceof J))return new J(e,t,n);if(X(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t>>1&1073741824|3221225471&e}function oe(e){if(!1===e||null===e||void 0===e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null===e||void 0===e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){if(e!==e||e===1/0)return 0;var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)e/=4294967295,n^=e;return ie(n)}if("string"===t)return e.length>Rn?ae(e):se(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return le(e);if("function"==typeof e.toString)return se(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function ae(e){var t=Bn[e];return void 0===t&&(t=se(e),zn===jn&&(zn=0,Bn={}),zn++,Bn[e]=t),t}function se(e){for(var t=0,n=0;n0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}function ce(e){X(e!==1/0,"Cannot perform this action with an infinite size.")}function pe(e){return null===e||void 0===e?we():de(e)&&!u(e)?e:we().withMutations(function(t){var r=n(e);ce(r.size),r.forEach(function(e,n){return t.set(n,e)})})}function de(e){return!(!e||!e[Fn])}function fe(e,t){this.ownerID=e,this.entries=t}function he(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function me(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function ge(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function ye(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function ve(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&be(e._root)}function _e(e,t){return w(e,t[0],t[1])}function be(e,t){return{node:e,index:0,__prev:t}}function xe(e,t,n,r){var i=Object.create(Un);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function we(){return Gn||(Gn=xe(0))}function Ee(e,t,n){var r,i;if(e._root){var o=c(yn),a=c(vn);if(r=Ae(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===gn?-1:1:0)}else{if(n===gn)return e;i=1,r=new fe(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?xe(i,r):we()}function Ae(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===gn?e:(p(s),p(a),new ye(t,r,[i,o]))}function Me(e){return e.constructor===ye||e.constructor===ge}function Se(e,t,n,r,i){if(e.keyHash===r)return new ge(t,r,[e.entry,i]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&mn,s=(0===n?r:r>>>n)&mn;return new he(t,1<>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new me(e,o+1,a)}function Oe(e,t,r){for(var i=[],a=0;a>1&1431655765,e=(858993459&e)+(e>>2&858993459),e=e+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function Re(e,t,n,r){var i=r?e:f(e);return i[t]=n,i}function je(e,t,n,r){var i=e.length+1;if(r&&t+1===i)return e[t]=n,e;for(var o=new Array(i),a=0,s=0;s0&&io?0:o-n,u=a-n;return u>hn&&(u=hn),function(){if(i===u)return Qn;var e=t?--u:i++;return r&&r[e]}}function i(e,r,i){var s,l=e&&e.array,u=i>o?0:o-i>>r,c=1+(a-i>>r);return c>hn&&(c=hn),function(){for(;;){if(s){var e=s();if(e!==Qn)return e;s=null}if(u===c)return Qn;var o=t?--c:u++;s=n(l&&l[o],r-fn,i+(o<=e.size||t<0)return e.withMutations(function(e){t<0?Qe(e,t).set(0,n):Qe(e,0,t+1).set(t,n)});t+=e._origin;var r=e._tail,i=e._root,o=c(vn);return t>=Ke(e._capacity)?r=We(r,e.__ownerID,0,t,n,o):i=We(i,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=i,e._tail=r,e.__hash=void 0,e.__altered=!0,e):qe(e._origin,e._capacity,e._level,i,r):e}function We(e,t,n,r,i,o){var a=r>>>n&mn,s=e&&a0){var u=e&&e.array[a],c=We(u,t,n-fn,r,i,o);return c===u?e:(l=Ze(e,t),l.array[a]=c,l)}return s&&e.array[a]===i?e:(p(o),l=Ze(e,t),void 0===i&&a===l.array.length-1?l.array.pop():l.array[a]=i,l)}function Ze(e,t){return t&&e&&t===e.ownerID?e:new Ue(e?e.array.slice():[],t)}function Ye(e,t){if(t>=Ke(e._capacity))return e._tail;if(t<1<0;)n=n.array[t>>>r&mn],r-=fn;return n}}function Qe(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new d,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,u=e._root,c=0;a+c<0;)u=new Ue(u&&u.array.length?[void 0,u]:[],r),l+=fn,c+=1<=1<p?new Ue([],r):h;if(h&&f>p&&afn;y-=fn){var v=p>>>y&mn;g=g.array[v]=Ze(g.array[v],r)}g.array[p>>>fn&mn]=h}if(s=f)a-=f,s-=f,l=fn,u=null,m=m&&m.removeBefore(r,0,a);else if(a>i||f>>l&mn;if(_!==f>>>l&mn)break;_&&(c+=(1<i&&(u=u.removeBefore(r,l,a-c)),u&&fa&&(a=u.size),o(l)||(u=u.map(function(e){return H(e)})),i.push(u)}return a>e.size&&(e=e.setSize(a)),De(e,t,i)}function Ke(e){return e>>fn<=hn&&a.size>=2*o.size?(i=a.filter(function(e,t){return void 0!==e&&s!==t}),r=i.toKeyedSeq().map(function(e){return e[0]}).flip().toMap(),e.__ownerID&&(r.__ownerID=i.__ownerID=e.__ownerID)):(r=o.remove(t),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;r=o,i=a.set(s,[t,n])}else r=o.set(t,a.size),i=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=i,e.__hash=void 0,e):et(r,i)}function rt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function it(e){this._iter=e,this.size=e.size}function ot(e){this._iter=e,this.size=e.size}function at(e){this._iter=e,this.size=e.size}function st(e){var t=Tt(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=Nt,t.__iterateUncached=function(t,n){var r=this;return e.__iterate(function(e,n){return!1!==t(n,e,r)},n)},t.__iteratorUncached=function(t,n){if(t===xn){var r=e.__iterator(t,n);return new x(function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e})}return e.__iterator(t===bn?_n:bn,n)},t}function lt(e,t,n){var r=Tt(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,gn);return o===gn?i:t.call(n,o,r,e)},r.__iterateUncached=function(r,i){var o=this;return e.__iterate(function(e,i,a){return!1!==r(t.call(n,e,i,a),i,o)},i)},r.__iteratorUncached=function(r,i){var o=e.__iterator(xn,i);return new x(function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return w(r,s,t.call(n,a[1],s,e),i)})},r}function ut(e,t){var n=Tt(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=st(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=Nt,n.__iterate=function(t,n){var r=this;return e.__iterate(function(e,n){return t(e,n,r)},!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function ct(e,t,n,r){var i=Tt(e);return r&&(i.has=function(r){var i=e.get(r,gn);return i!==gn&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,gn);return o!==gn&&t.call(n,o,r,e)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return e.__iterate(function(e,o,l){if(t.call(n,e,o,l))return s++,i(e,r?o:s-1,a)},o),s},i.__iteratorUncached=function(i,o){var a=e.__iterator(xn,o),s=0;return new x(function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return w(i,r?u:s++,c,o)}})},i}function pt(e,t,n){var r=pe().asMutable();return e.__iterate(function(i,o){r.update(t.call(n,i,o,e),0,function(e){return e+1})}),r.asImmutable()}function dt(e,t,n){var r=a(e),i=(u(e)?Xe():pe()).asMutable();e.__iterate(function(o,a){i.update(t.call(n,o,a,e),function(e){return e=e||[],e.push(r?[a,o]:o),e})});var o=Ct(e);return i.map(function(t){return At(e,o(t))})}function ft(e,t,n,r){var i=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n===1/0?n=i:n|=0),y(t,n,i))return e;var o=v(t,i),a=_(n,i);if(o!==o||a!==a)return ft(e.toSeq().cacheResult(),t,n,r);var s,l=a-o;l===l&&(s=l<0?0:l);var u=Tt(e);return u.size=0===s?s:e.size&&s||void 0,!r&&j(e)&&s>=0&&(u.get=function(t,n){return t=m(this,t),t>=0&&ts)return E();var e=i.next();return r||t===bn?e:t===_n?w(t,l-1,void 0,e):w(t,l-1,e.value[1],e)})},u}function ht(e,t,n){var r=Tt(e);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return e.__iterate(function(e,i,s){return t.call(n,e,i,s)&&++a&&r(e,i,o)}),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=e.__iterator(xn,i),s=!0;return new x(function(){if(!s)return E();var e=a.next();if(e.done)return e;var i=e.value,l=i[0],u=i[1];return t.call(n,u,l,o)?r===xn?e:w(r,l,u,e):(s=!1,E())})},r}function mt(e,t,n,r){var i=Tt(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,l=0;return e.__iterate(function(e,o,u){if(!s||!(s=t.call(n,e,o,u)))return l++,i(e,r?o:l-1,a)}),l},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(xn,o),l=!0,u=0;return new x(function(){var e,o,c;do{if(e=s.next(),e.done)return r||i===bn?e:i===_n?w(i,u++,void 0,e):w(i,u++,e.value[1],e);var p=e.value;o=p[0],c=p[1],l&&(l=t.call(n,c,o,a))}while(l);return i===xn?e:w(i,o,c,e)})},i}function gt(e,t){var r=a(e),i=[e].concat(t).map(function(e){return o(e)?r&&(e=n(e)):e=r?B(e):F(Array.isArray(e)?e:[e]),e}).filter(function(e){return 0!==e.size});if(0===i.length)return e;if(1===i.length){var l=i[0];if(l===e||r&&a(l)||s(e)&&s(l))return l}var u=new D(i);return r?u=u.toKeyedSeq():s(e)||(u=u.toSetSeq()),u=u.flatten(!0),u.size=i.reduce(function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}},0),u}function yt(e,t,n){var r=Tt(e);return r.__iterateUncached=function(r,i){function a(e,u){var c=this;e.__iterate(function(e,i){return(!t||u0}function Et(e,n,r){var i=Tt(e);return i.size=new D(r).map(function(e){return e.size}).min(),i.__iterate=function(e,t){for(var n,r=this.__iterator(bn,t),i=0;!(n=r.next()).done&&!1!==e(n.value,i++,this););return i},i.__iteratorUncached=function(e,i){var o=r.map(function(e){return e=t(e),S(i?e.reverse():e)}),a=0,s=!1;return new x(function(){var t;return s||(t=o.map(function(e){return e.next()}),s=t.some(function(e){return e.done})),s?E():w(e,a++,n.apply(null,t.map(function(e){return e.value})))})},i}function At(e,t){return j(e)?t:e.constructor(t)}function Mt(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function St(e){return ce(e.size),h(e)}function Ct(e){return a(e)?n:s(e)?r:i}function Tt(e){return Object.create((a(e)?O:s(e)?k:I).prototype)}function Nt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):N.prototype.cacheResult.call(this)}function Ot(e,t){return e>t?1:et?-1:0}function on(e){if(e.size===1/0)return 0;var t=u(e),n=a(e),r=t?1:0;return an(e.__iterate(n?t?function(e,t){r=31*r+sn(oe(e),oe(t))|0}:function(e,t){r=r+sn(oe(e),oe(t))|0}:t?function(e){r=31*r+oe(e)|0}:function(e){r=r+oe(e)|0}),r)}function an(e,t){return t=On(t,3432918353),t=On(t<<15|t>>>-15,461845907),t=On(t<<13|t>>>-13,5),t=(t+3864292196|0)^e,t=On(t^t>>>16,2246822507),t=On(t^t>>>13,3266489909),t=ie(t^t>>>16)}function sn(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}var ln=Array.prototype.slice;e(n,t),e(r,t),e(i,t),t.isIterable=o,t.isKeyed=a,t.isIndexed=s,t.isAssociative=l,t.isOrdered=u,t.Keyed=n,t.Indexed=r,t.Set=i;var un="@@__IMMUTABLE_ITERABLE__@@",cn="@@__IMMUTABLE_KEYED__@@",pn="@@__IMMUTABLE_INDEXED__@@",dn="@@__IMMUTABLE_ORDERED__@@",fn=5,hn=1<r?E():w(e,i,n[t?r-i++:i++])})},e(L,O),L.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},L.prototype.has=function(e){return this._object.hasOwnProperty(e)},L.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,i=r.length-1,o=0;o<=i;o++){var a=r[t?i-o:o];if(!1===e(n[a],a,this))return o+1}return o},L.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,i=r.length-1,o=0;return new x(function(){var a=r[t?i-o:o];return o++>i?E():w(e,a,n[a])})},L.prototype[dn]=!0,e(P,k),P.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=this._iterable,r=S(n),i=0;if(M(r))for(var o;!(o=r.next()).done&&!1!==e(o.value,i++,this););return i},P.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterable,r=S(n);if(!M(r))return new x(E);var i=0;return new x(function(){var t=r.next();return t.done?t:w(e,i++,t.value)})},e(R,k),R.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n=this._iterator,r=this._iteratorCache,i=0;i=r.length){var t=n.next();if(t.done)return t;r[i]=t.value}return w(e,i,r[i++])})};var Sn;e(K,k),K.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},K.prototype.get=function(e,t){return this.has(e)?this._value:t},K.prototype.includes=function(e){return Q(this._value,e)},K.prototype.slice=function(e,t){var n=this.size;return y(e,t,n)?this:new K(this._value,_(t,n)-v(e,n))},K.prototype.reverse=function(){return this},K.prototype.indexOf=function(e){return Q(this._value,e)?0:-1},K.prototype.lastIndexOf=function(e){return Q(this._value,e)?this.size:-1},K.prototype.__iterate=function(e,t){for(var n=0;n=0&&t=0&&nn?E():w(e,o++,a)})},J.prototype.equals=function(e){return e instanceof J?this._start===e._start&&this._end===e._end&&this._step===e._step:$(this,e)};var Tn;e(ee,t),e(te,ee),e(ne,ee),e(re,ee),ee.Keyed=te,ee.Indexed=ne,ee.Set=re;var Nn,On="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){e|=0,t|=0;var n=65535&e,r=65535&t;return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0},kn=Object.isExtensible,In=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}(),Dn="function"==typeof WeakMap;Dn&&(Nn=new WeakMap);var Ln=0,Pn="__immutablehash__";"function"==typeof Symbol&&(Pn=Symbol(Pn));var Rn=16,jn=255,zn=0,Bn={};e(pe,te),pe.of=function(){var e=ln.call(arguments,0);return we().withMutations(function(t){for(var n=0;n=e.length)throw new Error("Missing value for key: "+e[n]);t.set(e[n],e[n+1])}})},pe.prototype.toString=function(){return this.__toString("Map {","}")},pe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},pe.prototype.set=function(e,t){return Ee(this,e,t)},pe.prototype.setIn=function(e,t){return this.updateIn(e,gn,function(){return t})},pe.prototype.remove=function(e){return Ee(this,e,gn)},pe.prototype.deleteIn=function(e){return this.updateIn(e,function(){return gn})},pe.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},pe.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=Le(this,kt(e),t,n);return r===gn?void 0:r},pe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):we()},pe.prototype.merge=function(){return Oe(this,void 0,arguments)},pe.prototype.mergeWith=function(e){return Oe(this,e,ln.call(arguments,1))},pe.prototype.mergeIn=function(e){var t=ln.call(arguments,1);return this.updateIn(e,we(),function(e){return"function"==typeof e.merge?e.merge.apply(e,t):t[t.length-1]})},pe.prototype.mergeDeep=function(){return Oe(this,ke,arguments)},pe.prototype.mergeDeepWith=function(e){var t=ln.call(arguments,1);return Oe(this,Ie(e),t)},pe.prototype.mergeDeepIn=function(e){var t=ln.call(arguments,1);return this.updateIn(e,we(),function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,t):t[t.length-1]})},pe.prototype.sort=function(e){return Xe(bt(this,e))},pe.prototype.sortBy=function(e,t){return Xe(bt(this,t,e))},pe.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},pe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new d)},pe.prototype.asImmutable=function(){return this.__ensureOwner()},pe.prototype.wasAltered=function(){return this.__altered},pe.prototype.__iterator=function(e,t){return new ve(this,e,t)},pe.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate(function(t){return r++,e(t[1],t[0],n)},t),r},pe.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?xe(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},pe.isMap=de;var Fn="@@__IMMUTABLE_MAP__@@",Un=pe.prototype;Un[Fn]=!0,Un.delete=Un.remove,Un.removeIn=Un.deleteIn,fe.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o=qn)return Ce(e,l,r,i);var h=e&&e===this.ownerID,m=h?l:f(l);return d?s?u===c-1?m.pop():m[u]=m.pop():m[u]=[r,i]:m.push([r,i]),h?(this.entries=m,this):new fe(e,m)}},he.prototype.get=function(e,t,n,r){void 0===t&&(t=oe(n));var i=1<<((0===e?t:t>>>e)&mn),o=this.bitmap;return 0==(o&i)?r:this.nodes[Pe(o&i-1)].get(e+fn,t,n,r)},he.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=oe(r));var s=(0===t?n:n>>>t)&mn,l=1<=Vn)return Ne(e,d,u,s,h);if(c&&!h&&2===d.length&&Me(d[1^p]))return d[1^p];if(c&&h&&1===d.length&&Me(h))return h;var m=e&&e===this.ownerID,g=c?h?u:u^l:u|l,y=c?h?Re(d,p,h,m):ze(d,p,m):je(d,p,h,m);return m?(this.bitmap=g,this.nodes=y,this):new he(e,g,y)},me.prototype.get=function(e,t,n,r){void 0===t&&(t=oe(n));var i=(0===e?t:t>>>e)&mn,o=this.nodes[i];return o?o.get(e+fn,t,n,r):r},me.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=oe(r));var s=(0===t?n:n>>>t)&mn,l=i===gn,u=this.nodes,c=u[s];if(l&&!c)return this;var p=Ae(c,e,t+fn,n,r,i,o,a);if(p===c)return this;var d=this.count;if(c){if(!p&&--d=0&&e>>t&mn;if(r>=this.array.length)return new Ue([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-fn,n))===a&&o)return this}if(o&&!i)return this;var s=Ze(this,e);if(!o)for(var l=0;l>>t&mn;if(r>=this.array.length)return this;var i;if(t>0){var o=this.array[r];if((i=o&&o.removeAfter(e,t-fn,n))===o&&r===this.array.length-1)return this}var a=Ze(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Yn,Qn={};e(Xe,pe),Xe.of=function(){return this(arguments)},Xe.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Xe.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Xe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):tt()},Xe.prototype.set=function(e,t){return nt(this,e,t)},Xe.prototype.remove=function(e){return nt(this,e,gn)},Xe.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Xe.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate(function(t){return t&&e(t[1],t[0],n)},t)},Xe.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Xe.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?et(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Xe.isOrderedMap=Je,Xe.prototype[dn]=!0,Xe.prototype.delete=Xe.prototype.remove;var $n;e(rt,O),rt.prototype.get=function(e,t){return this._iter.get(e,t)},rt.prototype.has=function(e){return this._iter.has(e)},rt.prototype.valueSeq=function(){return this._iter.valueSeq()},rt.prototype.reverse=function(){var e=this,t=ut(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},rt.prototype.map=function(e,t){var n=this,r=lt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},rt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?St(this):0,function(i){return e(i,t?--n:n++,r)}),t)},rt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(bn,t),r=t?St(this):0;return new x(function(){var i=n.next();return i.done?i:w(e,t?--r:r++,i.value,i)})},rt.prototype[dn]=!0,e(it,k),it.prototype.includes=function(e){return this._iter.includes(e)},it.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate(function(t){return e(t,r++,n)},t)},it.prototype.__iterator=function(e,t){var n=this._iter.__iterator(bn,t),r=0;return new x(function(){var t=n.next();return t.done?t:w(e,r++,t.value,t)})},e(ot,I),ot.prototype.has=function(e){return this._iter.includes(e)},ot.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){return e(t,t,n)},t)},ot.prototype.__iterator=function(e,t){var n=this._iter.__iterator(bn,t);return new x(function(){var t=n.next();return t.done?t:w(e,t.value,t.value,t)})},e(at,O),at.prototype.entrySeq=function(){return this._iter.toSeq()},at.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){if(t){Mt(t);var r=o(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}},t)},at.prototype.__iterator=function(e,t){var n=this._iter.__iterator(bn,t);return new x(function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){Mt(r);var i=o(r);return w(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}})},it.prototype.cacheResult=rt.prototype.cacheResult=ot.prototype.cacheResult=at.prototype.cacheResult=Nt,e(It,te),It.prototype.toString=function(){return this.__toString(Lt(this)+" {","}")},It.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},It.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},It.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Dt(this,we()))},It.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Lt(this));if(this._map&&!this._map.has(e)){if(t===this._defaultValues[e])return this}var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Dt(this,n)},It.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Dt(this,t)},It.prototype.wasAltered=function(){return this._map.wasAltered()},It.prototype.__iterator=function(e,t){var r=this;return n(this._defaultValues).map(function(e,t){return r.get(t)}).__iterator(e,t)},It.prototype.__iterate=function(e,t){var r=this;return n(this._defaultValues).map(function(e,t){return r.get(t)}).__iterate(e,t)},It.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Dt(this,t,e):(this.__ownerID=e,this._map=t,this)};var Kn=It.prototype;Kn.delete=Kn.remove,Kn.deleteIn=Kn.removeIn=Un.removeIn,Kn.merge=Un.merge,Kn.mergeWith=Un.mergeWith,Kn.mergeIn=Un.mergeIn,Kn.mergeDeep=Un.mergeDeep,Kn.mergeDeepWith=Un.mergeDeepWith,Kn.mergeDeepIn=Un.mergeDeepIn,Kn.setIn=Un.setIn,Kn.update=Un.update,Kn.updateIn=Un.updateIn,Kn.withMutations=Un.withMutations,Kn.asMutable=Un.asMutable,Kn.asImmutable=Un.asImmutable,e(jt,re),jt.of=function(){return this(arguments)},jt.fromKeys=function(e){return this(n(e).keySeq())},jt.prototype.toString=function(){return this.__toString("Set {","}")},jt.prototype.has=function(e){return this._map.has(e)},jt.prototype.add=function(e){return Bt(this,this._map.set(e,!0))},jt.prototype.remove=function(e){return Bt(this,this._map.remove(e))},jt.prototype.clear=function(){return Bt(this,this._map.clear())},jt.prototype.union=function(){var e=ln.call(arguments,0);return e=e.filter(function(e){return 0!==e.size}),0===e.length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations(function(t){for(var n=0;n=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Yt(e,t)},Wt.prototype.pushAll=function(e){if(e=r(e),0===e.size)return this;ce(e.size);var t=this.size,n=this._head;return e.reverse().forEach(function(e){t++,n={value:e,next:n}}),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Yt(t,n)},Wt.prototype.pop=function(){return this.slice(1)},Wt.prototype.unshift=function(){return this.push.apply(this,arguments)},Wt.prototype.unshiftAll=function(e){return this.pushAll(e)},Wt.prototype.shift=function(){return this.pop.apply(this,arguments)},Wt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Qt()},Wt.prototype.slice=function(e,t){if(y(e,t,this.size))return this;var n=v(e,this.size);if(_(t,this.size)!==this.size)return ne.prototype.slice.call(this,e,t);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Yt(r,i)},Wt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Yt(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Wt.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Wt.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new x(function(){if(r){var t=r.value;return r=r.next,w(e,n++,t)}return E()})},Wt.isStack=Zt;var rr="@@__IMMUTABLE_STACK__@@",ir=Wt.prototype;ir[rr]=!0,ir.withMutations=Un.withMutations,ir.asMutable=Un.asMutable,ir.asImmutable=Un.asImmutable,ir.wasAltered=Un.wasAltered;var or;t.Iterator=x,$t(t,{toArray:function(){ce(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate(function(t,n){e[n]=t}),e},toIndexedSeq:function(){return new it(this)},toJS:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJS?e.toJS():e}).__toJS()},toJSON:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e}).__toJS()},toKeyedSeq:function(){return new rt(this,!0)},toMap:function(){return pe(this.toKeyedSeq())},toObject:function(){ce(this.size);var e={};return this.__iterate(function(t,n){e[n]=t}),e},toOrderedMap:function(){return Xe(this.toKeyedSeq())},toOrderedSet:function(){return Gt(a(this)?this.valueSeq():this)},toSet:function(){return jt(a(this)?this.valueSeq():this)},toSetSeq:function(){return new ot(this)},toSeq:function(){return s(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Wt(a(this)?this.valueSeq():this)},toList:function(){return Be(a(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return At(this,gt(this,ln.call(arguments,0)))},includes:function(e){return this.some(function(t){return Q(t,e)})},entries:function(){return this.__iterator(xn)},every:function(e,t){ce(this.size);var n=!0;return this.__iterate(function(r,i,o){if(!e.call(t,r,i,o))return n=!1,!1}),n},filter:function(e,t){return At(this,ct(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return ce(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){ce(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate(function(r){n?n=!1:t+=e,t+=null!==r&&void 0!==r?r.toString():""}),t},keys:function(){return this.__iterator(_n)},map:function(e,t){return At(this,lt(this,e,t))},reduce:function(e,t,n){ce(this.size);var r,i;return arguments.length<2?i=!0:r=t,this.__iterate(function(t,o,a){i?(i=!1,r=t):r=e.call(n,r,t,o,a)}),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return At(this,ut(this,!0))},slice:function(e,t){return At(this,ft(this,e,t,!0))},some:function(e,t){return!this.every(Jt(e),t)},sort:function(e){return At(this,bt(this,e))},values:function(){return this.__iterator(bn)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(e,t){return h(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return pt(this,e,t)},equals:function(e){return $(this,e)},entrySeq:function(){var e=this;if(e._cache)return new D(e._cache);var t=e.toSeq().map(Xt).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(Jt(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate(function(n,i,o){if(e.call(t,n,i,o))return r=[i,n],!1}),r},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(){return this.find(g)},flatMap:function(e,t){return At(this,vt(this,e,t))},flatten:function(e){return At(this,yt(this,e,!0))},fromEntrySeq:function(){return new at(this)},get:function(e,t){return this.find(function(t,n){return Q(n,e)},void 0,t)},getIn:function(e,t){for(var n,r=this,i=kt(e);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,gn):gn)===gn)return t}return r},groupBy:function(e,t){return dt(this,e,t)},has:function(e){return this.get(e,gn)!==gn},hasIn:function(e){return this.getIn(e,gn)!==gn},isSubset:function(e){return e="function"==typeof e.includes?e:t(e),this.every(function(t){return e.includes(t)})},isSuperset:function(e){return e="function"==typeof e.isSubset?e:t(e),e.isSubset(this)},keyOf:function(e){return this.findKey(function(t){return Q(t,e)})},keySeq:function(){return this.toSeq().map(Kt).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return xt(this,e)},maxBy:function(e,t){return xt(this,t,e)},min:function(e){return xt(this,e?en(e):rn)},minBy:function(e,t){return xt(this,t?en(t):rn,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return At(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return At(this,mt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(Jt(e),t)},sortBy:function(e,t){return At(this,bt(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return At(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return At(this,ht(this,e,t))},takeUntil:function(e,t){return this.takeWhile(Jt(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=on(this))}});var ar=t.prototype;ar[un]=!0,ar[An]=ar.values,ar.__toJS=ar.toArray,ar.__toStringMapper=tn,ar.inspect=ar.toSource=function(){return this.toString()},ar.chain=ar.flatMap,ar.contains=ar.includes,$t(n,{flip:function(){return At(this,st(this))},mapEntries:function(e,t){var n=this,r=0;return At(this,this.toSeq().map(function(i,o){return e.call(t,[o,i],r++,n)}).fromEntrySeq())},mapKeys:function(e,t){var n=this;return At(this,this.toSeq().flip().map(function(r,i){return e.call(t,r,i,n)}).flip())}});var sr=n.prototype;return sr[cn]=!0,sr[An]=ar.entries,sr.__toJS=ar.toObject,sr.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+tn(e)},$t(r,{toKeyedSeq:function(){return new rt(this,!1)},filter:function(e,t){return At(this,ct(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return At(this,ut(this,!1))},slice:function(e,t){return At(this,ft(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=v(e,e<0?this.count():this.size);var r=this.slice(0,e);return At(this,1===n?r:r.concat(f(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(e){return At(this,yt(this,e,!1))},get:function(e,t){return e=m(this,e),e<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find(function(t,n){return n===e},void 0,t)},has:function(e){return(e=m(this,e))>=0&&(void 0!==this.size?this.size===1/0||e2?n-2:0),i=2;i0))return a;do{a.push(o=new Date(+n)),t(n,i),e(n)}while(o=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(s.count=function(t,r){return i.setTime(+t),o.setTime(+r),e(i),e(o),Math.floor(n(i,o))},s.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?s.filter(a?function(t){return a(t)%e==0}:function(t){return s.count(0,t)%e==0}):s:null}),s}t.a=r;var i=new Date,o=new Date},function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};e.exports=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.experimental=t.FlyToInterpolator=t.LinearInterpolator=t.TransitionInterpolator=t.TRANSITION_EVENTS=t.SVGOverlay=t.HTMLOverlay=t.CanvasOverlay=t.NavigationControl=t.Popup=t.Marker=t.BaseControl=t.StaticMap=t.InteractiveMap=t.default=void 0;var i=n(431);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r(i).default}}),Object.defineProperty(t,"InteractiveMap",{enumerable:!0,get:function(){return r(i).default}});var o=n(199);Object.defineProperty(t,"StaticMap",{enumerable:!0,get:function(){return r(o).default}});var a=n(30);Object.defineProperty(t,"BaseControl",{enumerable:!0,get:function(){return r(a).default}});var s=n(432);Object.defineProperty(t,"Marker",{enumerable:!0,get:function(){return r(s).default}});var l=n(434);Object.defineProperty(t,"Popup",{enumerable:!0,get:function(){return r(l).default}});var u=n(433);Object.defineProperty(t,"NavigationControl",{enumerable:!0,get:function(){return r(u).default}});var c=n(437);Object.defineProperty(t,"CanvasOverlay",{enumerable:!0,get:function(){return r(c).default}});var p=n(438);Object.defineProperty(t,"HTMLOverlay",{enumerable:!0,get:function(){return r(p).default}});var d=n(439);Object.defineProperty(t,"SVGOverlay",{enumerable:!0,get:function(){return r(d).default}});var f=n(85);Object.defineProperty(t,"TRANSITION_EVENTS",{enumerable:!0,get:function(){return f.TRANSITION_EVENTS}});var h=n(111);Object.defineProperty(t,"TransitionInterpolator",{enumerable:!0,get:function(){return h.TransitionInterpolator}}),Object.defineProperty(t,"LinearInterpolator",{enumerable:!0,get:function(){return h.LinearInterpolator}}),Object.defineProperty(t,"FlyToInterpolator",{enumerable:!0,get:function(){return h.ViewportFlyToInterpolator}});var m=n(202),g=r(m),y=n(42),v=r(y);t.experimental={MapControls:g.default,autobind:v.default}},function(e,t,n){"use strict";function r(e){return function(){return e}}var i=function(){};i.thatReturns=r,i.thatReturnsFalse=r(!1),i.thatReturnsTrue=r(!0),i.thatReturnsNull=r(null),i.thatReturnsThis=function(){return this},i.thatReturnsArgument=function(e){return e},e.exports=i},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(218);n.d(t,"bisect",function(){return r.a}),n.d(t,"bisectRight",function(){return r.b}),n.d(t,"bisectLeft",function(){return r.c});var i=n(48);n.d(t,"ascending",function(){return i.a});var o=n(219);n.d(t,"bisector",function(){return o.a});var a=n(506);n.d(t,"cross",function(){return a.a});var s=n(507);n.d(t,"descending",function(){return s.a});var l=n(220);n.d(t,"deviation",function(){return l.a});var u=n(221);n.d(t,"extent",function(){return u.a});var c=n(508);n.d(t,"histogram",function(){return c.a});var p=n(518);n.d(t,"thresholdFreedmanDiaconis",function(){return p.a});var d=n(519);n.d(t,"thresholdScott",function(){return d.a});var f=n(225);n.d(t,"thresholdSturges",function(){return f.a});var h=n(510);n.d(t,"max",function(){return h.a});var m=n(511);n.d(t,"mean",function(){return m.a});var g=n(512);n.d(t,"median",function(){return g.a});var y=n(513);n.d(t,"merge",function(){return y.a});var v=n(222);n.d(t,"min",function(){return v.a});var _=n(223);n.d(t,"pairs",function(){return _.a});var b=n(514);n.d(t,"permute",function(){return b.a});var x=n(127);n.d(t,"quantile",function(){return x.a});var w=n(224);n.d(t,"range",function(){return w.a});var E=n(515);n.d(t,"scan",function(){return E.a});var A=n(516);n.d(t,"shuffle",function(){return A.a});var M=n(517);n.d(t,"sum",function(){return M.a});var S=n(226);n.d(t,"ticks",function(){return S.a}),n.d(t,"tickIncrement",function(){return S.b}),n.d(t,"tickStep",function(){return S.c});var C=n(227);n.d(t,"transpose",function(){return C.a});var T=n(228);n.d(t,"variance",function(){return T.a});var N=n(520);n.d(t,"zip",function(){return N.a})},function(e,t,n){"use strict";var r=null;e.exports={debugTool:r}},function(e,t,n){"use strict";function r(e){"epsilon"in e&&(b.EPSILON=e.epsilon),"debug"in e&&(b.debug=e.debug)}function i(e){if(!Number.isFinite(e))throw new Error("Invalid number "+e);return e}function o(e){return Math.round(e/b.EPSILON)*b.EPSILON}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.precision,r=void 0===n?b.precision||4:n;return e=o(e),parseFloat(e.toPrecision(r))}function s(e){return Array.isArray(e)||ArrayBuffer.isView(e)&&void 0!==e.length}function l(e){return e.clone?e.clone():new Array(e)}function u(e,t){if(s(e)){for(var n=l(e),r=0;r>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?h(e)+t:t}function g(){return!0}function y(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function v(e,t){return b(e,t,0)}function _(e,t){return b(e,t,t)}function b(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}function x(e){this.next=e}function w(e,t,n,r){var i=0===e?t:1===e?n:[t,n];return r?r.value=i:r={value:i,done:!1},r}function E(){return{value:void 0,done:!0}}function A(e){return!!C(e)}function M(e){return e&&"function"==typeof e.next}function S(e){var t=C(e);return t&&t.call(e)}function C(e){var t=e&&(wn&&e[wn]||e[En]);if("function"==typeof t)return t}function T(e){return e&&"number"==typeof e.length}function N(e){return null===e||void 0===e?z():o(e)?e.toSeq():U(e)}function O(e){return null===e||void 0===e?z().toKeyedSeq():o(e)?a(e)?e.toSeq():e.fromEntrySeq():B(e)}function k(e){return null===e||void 0===e?z():o(e)?a(e)?e.entrySeq():e.toIndexedSeq():F(e)}function I(e){return(null===e||void 0===e?z():o(e)?a(e)?e.entrySeq():e:F(e)).toSetSeq()}function D(e){this._array=e,this.size=e.length}function L(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function P(e){this._iterable=e,this.size=e.length||e.size}function R(e){this._iterator=e,this._iteratorCache=[]}function j(e){return!(!e||!e[Mn])}function z(){return Sn||(Sn=new D([]))}function B(e){var t=Array.isArray(e)?new D(e).fromEntrySeq():M(e)?new R(e).fromEntrySeq():A(e)?new P(e).fromEntrySeq():"object"==typeof e?new L(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function F(e){var t=G(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function U(e){var t=G(e)||"object"==typeof e&&new L(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function G(e){return T(e)?new D(e):M(e)?new R(e):A(e)?new P(e):void 0}function q(e,t,n,r){var i=e._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[n?o-a:a];if(!1===t(s[1],r?s[0]:a,e))return a+1}return a}return e.__iterateUncached(t,n)}function V(e,t,n,r){var i=e._cache;if(i){var o=i.length-1,a=0;return new x(function(){var e=i[n?o-a:a];return a++>o?E():w(t,r?e[0]:a-1,e[1])})}return e.__iteratorUncached(t,n)}function H(e,t){return t?W(t,e,"",{"":e}):Z(e)}function W(e,t,n,r){return Array.isArray(t)?e.call(r,n,k(t).map(function(n,r){return W(e,n,r,t)})):Y(t)?e.call(r,n,O(t).map(function(n,r){return W(e,n,r,t)})):t}function Z(e){return Array.isArray(e)?k(e).map(Z).toList():Y(e)?O(e).map(Z).toMap():e}function Y(e){return e&&(e.constructor===Object||void 0===e.constructor)}function Q(e,t){if(e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if(e=e.valueOf(),t=t.valueOf(),e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function $(e,t){if(e===t)return!0;if(!o(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||a(e)!==a(t)||s(e)!==s(t)||u(e)!==u(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!l(e);if(u(e)){var r=e.entries();return t.every(function(e,t){var i=r.next().value;return i&&Q(i[1],e)&&(n||Q(i[0],t))})&&r.next().done}var i=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{i=!0;var c=e;e=t,t=c}var p=!0,d=t.__iterate(function(t,r){if(n?!e.has(t):i?!Q(t,e.get(r,gn)):!Q(e.get(r,gn),t))return p=!1,!1});return p&&e.size===d}function K(e,t){if(!(this instanceof K))return new K(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(Cn)return Cn;Cn=this}}function X(e,t){if(!e)throw new Error(t)}function J(e,t,n){if(!(this instanceof J))return new J(e,t,n);if(X(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t>>1&1073741824|3221225471&e}function oe(e){if(!1===e||null===e||void 0===e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null===e||void 0===e))return 0;if(!0===e)return 1;var t=typeof e;if("number"===t){if(e!==e||e===1/0)return 0;var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)e/=4294967295,n^=e;return ie(n)}if("string"===t)return e.length>Rn?ae(e):se(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return le(e);if("function"==typeof e.toString)return se(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function ae(e){var t=Bn[e];return void 0===t&&(t=se(e),zn===jn&&(zn=0,Bn={}),zn++,Bn[e]=t),t}function se(e){for(var t=0,n=0;n0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}function ce(e){X(e!==1/0,"Cannot perform this action with an infinite size.")}function pe(e){return null===e||void 0===e?we():de(e)&&!u(e)?e:we().withMutations(function(t){var r=n(e);ce(r.size),r.forEach(function(e,n){return t.set(n,e)})})}function de(e){return!(!e||!e[Fn])}function fe(e,t){this.ownerID=e,this.entries=t}function he(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function me(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function ge(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function ye(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function ve(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&be(e._root)}function _e(e,t){return w(e,t[0],t[1])}function be(e,t){return{node:e,index:0,__prev:t}}function xe(e,t,n,r){var i=Object.create(Un);return i.size=e,i._root=t,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function we(){return Gn||(Gn=xe(0))}function Ee(e,t,n){var r,i;if(e._root){var o=c(yn),a=c(vn);if(r=Ae(e._root,e.__ownerID,0,void 0,t,n,o,a),!a.value)return e;i=e.size+(o.value?n===gn?-1:1:0)}else{if(n===gn)return e;i=1,r=new fe(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=i,e._root=r,e.__hash=void 0,e.__altered=!0,e):r?xe(i,r):we()}function Ae(e,t,n,r,i,o,a,s){return e?e.update(t,n,r,i,o,a,s):o===gn?e:(p(s),p(a),new ye(t,r,[i,o]))}function Me(e){return e.constructor===ye||e.constructor===ge}function Se(e,t,n,r,i){if(e.keyHash===r)return new ge(t,r,[e.entry,i]);var o,a=(0===n?e.keyHash:e.keyHash>>>n)&mn,s=(0===n?r:r>>>n)&mn;return new he(t,1<>>=1)a[s]=1&n?t[o++]:void 0;return a[r]=i,new me(e,o+1,a)}function Oe(e,t,r){for(var i=[],a=0;a>1&1431655765,e=(858993459&e)+(e>>2&858993459),e=e+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function Re(e,t,n,r){var i=r?e:f(e);return i[t]=n,i}function je(e,t,n,r){var i=e.length+1;if(r&&t+1===i)return e[t]=n,e;for(var o=new Array(i),a=0,s=0;s0&&io?0:o-n,u=a-n;return u>hn&&(u=hn),function(){if(i===u)return Qn;var e=t?--u:i++;return r&&r[e]}}function i(e,r,i){var s,l=e&&e.array,u=i>o?0:o-i>>r,c=1+(a-i>>r);return c>hn&&(c=hn),function(){for(;;){if(s){var e=s();if(e!==Qn)return e;s=null}if(u===c)return Qn;var o=t?--c:u++;s=n(l&&l[o],r-fn,i+(o<=e.size||t<0)return e.withMutations(function(e){t<0?Qe(e,t).set(0,n):Qe(e,0,t+1).set(t,n)});t+=e._origin;var r=e._tail,i=e._root,o=c(vn);return t>=Ke(e._capacity)?r=We(r,e.__ownerID,0,t,n,o):i=We(i,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=i,e._tail=r,e.__hash=void 0,e.__altered=!0,e):qe(e._origin,e._capacity,e._level,i,r):e}function We(e,t,n,r,i,o){var a=r>>>n&mn,s=e&&a0){var u=e&&e.array[a],c=We(u,t,n-fn,r,i,o);return c===u?e:(l=Ze(e,t),l.array[a]=c,l)}return s&&e.array[a]===i?e:(p(o),l=Ze(e,t),void 0===i&&a===l.array.length-1?l.array.pop():l.array[a]=i,l)}function Ze(e,t){return t&&e&&t===e.ownerID?e:new Ue(e?e.array.slice():[],t)}function Ye(e,t){if(t>=Ke(e._capacity))return e._tail;if(t<1<0;)n=n.array[t>>>r&mn],r-=fn;return n}}function Qe(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var r=e.__ownerID||new d,i=e._origin,o=e._capacity,a=i+t,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return e;if(a>=s)return e.clear();for(var l=e._level,u=e._root,c=0;a+c<0;)u=new Ue(u&&u.array.length?[void 0,u]:[],r),l+=fn,c+=1<=1<p?new Ue([],r):h;if(h&&f>p&&afn;y-=fn){var v=p>>>y&mn;g=g.array[v]=Ze(g.array[v],r)}g.array[p>>>fn&mn]=h}if(s=f)a-=f,s-=f,l=fn,u=null,m=m&&m.removeBefore(r,0,a);else if(a>i||f>>l&mn;if(_!==f>>>l&mn)break;_&&(c+=(1<i&&(u=u.removeBefore(r,l,a-c)),u&&fa&&(a=u.size),o(l)||(u=u.map(function(e){return H(e)})),i.push(u)}return a>e.size&&(e=e.setSize(a)),De(e,t,i)}function Ke(e){return e>>fn<=hn&&a.size>=2*o.size?(i=a.filter(function(e,t){return void 0!==e&&s!==t}),r=i.toKeyedSeq().map(function(e){return e[0]}).flip().toMap(),e.__ownerID&&(r.__ownerID=i.__ownerID=e.__ownerID)):(r=o.remove(t),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return e;r=o,i=a.set(s,[t,n])}else r=o.set(t,a.size),i=a.set(a.size,[t,n]);return e.__ownerID?(e.size=r.size,e._map=r,e._list=i,e.__hash=void 0,e):et(r,i)}function rt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function it(e){this._iter=e,this.size=e.size}function ot(e){this._iter=e,this.size=e.size}function at(e){this._iter=e,this.size=e.size}function st(e){var t=Tt(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=Nt,t.__iterateUncached=function(t,n){var r=this;return e.__iterate(function(e,n){return!1!==t(n,e,r)},n)},t.__iteratorUncached=function(t,n){if(t===xn){var r=e.__iterator(t,n);return new x(function(){var e=r.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e})}return e.__iterator(t===bn?_n:bn,n)},t}function lt(e,t,n){var r=Tt(e);return r.size=e.size,r.has=function(t){return e.has(t)},r.get=function(r,i){var o=e.get(r,gn);return o===gn?i:t.call(n,o,r,e)},r.__iterateUncached=function(r,i){var o=this;return e.__iterate(function(e,i,a){return!1!==r(t.call(n,e,i,a),i,o)},i)},r.__iteratorUncached=function(r,i){var o=e.__iterator(xn,i);return new x(function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return w(r,s,t.call(n,a[1],s,e),i)})},r}function ut(e,t){var n=Tt(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=st(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,r){return e.get(t?n:-1-n,r)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=Nt,n.__iterate=function(t,n){var r=this;return e.__iterate(function(e,n){return t(e,n,r)},!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function ct(e,t,n,r){var i=Tt(e);return r&&(i.has=function(r){var i=e.get(r,gn);return i!==gn&&!!t.call(n,i,r,e)},i.get=function(r,i){var o=e.get(r,gn);return o!==gn&&t.call(n,o,r,e)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return e.__iterate(function(e,o,l){if(t.call(n,e,o,l))return s++,i(e,r?o:s-1,a)},o),s},i.__iteratorUncached=function(i,o){var a=e.__iterator(xn,o),s=0;return new x(function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(t.call(n,c,u,e))return w(i,r?u:s++,c,o)}})},i}function pt(e,t,n){var r=pe().asMutable();return e.__iterate(function(i,o){r.update(t.call(n,i,o,e),0,function(e){return e+1})}),r.asImmutable()}function dt(e,t,n){var r=a(e),i=(u(e)?Xe():pe()).asMutable();e.__iterate(function(o,a){i.update(t.call(n,o,a,e),function(e){return e=e||[],e.push(r?[a,o]:o),e})});var o=Ct(e);return i.map(function(t){return At(e,o(t))})}function ft(e,t,n,r){var i=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n===1/0?n=i:n|=0),y(t,n,i))return e;var o=v(t,i),a=_(n,i);if(o!==o||a!==a)return ft(e.toSeq().cacheResult(),t,n,r);var s,l=a-o;l===l&&(s=l<0?0:l);var u=Tt(e);return u.size=0===s?s:e.size&&s||void 0,!r&&j(e)&&s>=0&&(u.get=function(t,n){return t=m(this,t),t>=0&&ts)return E();var e=i.next();return r||t===bn?e:t===_n?w(t,l-1,void 0,e):w(t,l-1,e.value[1],e)})},u}function ht(e,t,n){var r=Tt(e);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return e.__iterate(function(e,i,s){return t.call(n,e,i,s)&&++a&&r(e,i,o)}),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=e.__iterator(xn,i),s=!0;return new x(function(){if(!s)return E();var e=a.next();if(e.done)return e;var i=e.value,l=i[0],u=i[1];return t.call(n,u,l,o)?r===xn?e:w(r,l,u,e):(s=!1,E())})},r}function mt(e,t,n,r){var i=Tt(e);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,l=0;return e.__iterate(function(e,o,u){if(!s||!(s=t.call(n,e,o,u)))return l++,i(e,r?o:l-1,a)}),l},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=e.__iterator(xn,o),l=!0,u=0;return new x(function(){var e,o,c;do{if(e=s.next(),e.done)return r||i===bn?e:i===_n?w(i,u++,void 0,e):w(i,u++,e.value[1],e);var p=e.value;o=p[0],c=p[1],l&&(l=t.call(n,c,o,a))}while(l);return i===xn?e:w(i,o,c,e)})},i}function gt(e,t){var r=a(e),i=[e].concat(t).map(function(e){return o(e)?r&&(e=n(e)):e=r?B(e):F(Array.isArray(e)?e:[e]),e}).filter(function(e){return 0!==e.size});if(0===i.length)return e;if(1===i.length){var l=i[0];if(l===e||r&&a(l)||s(e)&&s(l))return l}var u=new D(i);return r?u=u.toKeyedSeq():s(e)||(u=u.toSetSeq()),u=u.flatten(!0),u.size=i.reduce(function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}},0),u}function yt(e,t,n){var r=Tt(e);return r.__iterateUncached=function(r,i){function a(e,u){var c=this;e.__iterate(function(e,i){return(!t||u0}function Et(e,n,r){var i=Tt(e);return i.size=new D(r).map(function(e){return e.size}).min(),i.__iterate=function(e,t){for(var n,r=this.__iterator(bn,t),i=0;!(n=r.next()).done&&!1!==e(n.value,i++,this););return i},i.__iteratorUncached=function(e,i){var o=r.map(function(e){return e=t(e),S(i?e.reverse():e)}),a=0,s=!1;return new x(function(){var t;return s||(t=o.map(function(e){return e.next()}),s=t.some(function(e){return e.done})),s?E():w(e,a++,n.apply(null,t.map(function(e){return e.value})))})},i}function At(e,t){return j(e)?t:e.constructor(t)}function Mt(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function St(e){return ce(e.size),h(e)}function Ct(e){return a(e)?n:s(e)?r:i}function Tt(e){return Object.create((a(e)?O:s(e)?k:I).prototype)}function Nt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):N.prototype.cacheResult.call(this)}function Ot(e,t){return e>t?1:et?-1:0}function on(e){if(e.size===1/0)return 0;var t=u(e),n=a(e),r=t?1:0;return an(e.__iterate(n?t?function(e,t){r=31*r+sn(oe(e),oe(t))|0}:function(e,t){r=r+sn(oe(e),oe(t))|0}:t?function(e){r=31*r+oe(e)|0}:function(e){r=r+oe(e)|0}),r)}function an(e,t){return t=On(t,3432918353),t=On(t<<15|t>>>-15,461845907),t=On(t<<13|t>>>-13,5),t=(t+3864292196|0)^e,t=On(t^t>>>16,2246822507),t=On(t^t>>>13,3266489909),t=ie(t^t>>>16)}function sn(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}var ln=Array.prototype.slice;e(n,t),e(r,t),e(i,t),t.isIterable=o,t.isKeyed=a,t.isIndexed=s,t.isAssociative=l,t.isOrdered=u,t.Keyed=n,t.Indexed=r,t.Set=i;var un="@@__IMMUTABLE_ITERABLE__@@",cn="@@__IMMUTABLE_KEYED__@@",pn="@@__IMMUTABLE_INDEXED__@@",dn="@@__IMMUTABLE_ORDERED__@@",fn=5,hn=1<r?E():w(e,i,n[t?r-i++:i++])})},e(L,O),L.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},L.prototype.has=function(e){return this._object.hasOwnProperty(e)},L.prototype.__iterate=function(e,t){for(var n=this._object,r=this._keys,i=r.length-1,o=0;o<=i;o++){var a=r[t?i-o:o];if(!1===e(n[a],a,this))return o+1}return o},L.prototype.__iterator=function(e,t){var n=this._object,r=this._keys,i=r.length-1,o=0;return new x(function(){var a=r[t?i-o:o];return o++>i?E():w(e,a,n[a])})},L.prototype[dn]=!0,e(P,k),P.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=this._iterable,r=S(n),i=0;if(M(r))for(var o;!(o=r.next()).done&&!1!==e(o.value,i++,this););return i},P.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterable,r=S(n);if(!M(r))return new x(E);var i=0;return new x(function(){var t=r.next();return t.done?t:w(e,i++,t.value)})},e(R,k),R.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n=this._iterator,r=this._iteratorCache,i=0;i=r.length){var t=n.next();if(t.done)return t;r[i]=t.value}return w(e,i,r[i++])})};var Sn;e(K,k),K.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},K.prototype.get=function(e,t){return this.has(e)?this._value:t},K.prototype.includes=function(e){return Q(this._value,e)},K.prototype.slice=function(e,t){var n=this.size;return y(e,t,n)?this:new K(this._value,_(t,n)-v(e,n))},K.prototype.reverse=function(){return this},K.prototype.indexOf=function(e){return Q(this._value,e)?0:-1},K.prototype.lastIndexOf=function(e){return Q(this._value,e)?this.size:-1},K.prototype.__iterate=function(e,t){for(var n=0;n=0&&t=0&&nn?E():w(e,o++,a)})},J.prototype.equals=function(e){return e instanceof J?this._start===e._start&&this._end===e._end&&this._step===e._step:$(this,e)};var Tn;e(ee,t),e(te,ee),e(ne,ee),e(re,ee),ee.Keyed=te,ee.Indexed=ne,ee.Set=re;var Nn,On="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){e|=0,t|=0;var n=65535&e,r=65535&t;return n*r+((e>>>16)*r+n*(t>>>16)<<16>>>0)|0},kn=Object.isExtensible,In=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}(),Dn="function"==typeof WeakMap;Dn&&(Nn=new WeakMap);var Ln=0,Pn="__immutablehash__";"function"==typeof Symbol&&(Pn=Symbol(Pn));var Rn=16,jn=255,zn=0,Bn={};e(pe,te),pe.of=function(){var e=ln.call(arguments,0);return we().withMutations(function(t){for(var n=0;n=e.length)throw new Error("Missing value for key: "+e[n]);t.set(e[n],e[n+1])}})},pe.prototype.toString=function(){return this.__toString("Map {","}")},pe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},pe.prototype.set=function(e,t){return Ee(this,e,t)},pe.prototype.setIn=function(e,t){return this.updateIn(e,gn,function(){return t})},pe.prototype.remove=function(e){return Ee(this,e,gn)},pe.prototype.deleteIn=function(e){return this.updateIn(e,function(){return gn})},pe.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},pe.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var r=Le(this,kt(e),t,n);return r===gn?void 0:r},pe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):we()},pe.prototype.merge=function(){return Oe(this,void 0,arguments)},pe.prototype.mergeWith=function(e){return Oe(this,e,ln.call(arguments,1))},pe.prototype.mergeIn=function(e){var t=ln.call(arguments,1);return this.updateIn(e,we(),function(e){return"function"==typeof e.merge?e.merge.apply(e,t):t[t.length-1]})},pe.prototype.mergeDeep=function(){return Oe(this,ke,arguments)},pe.prototype.mergeDeepWith=function(e){var t=ln.call(arguments,1);return Oe(this,Ie(e),t)},pe.prototype.mergeDeepIn=function(e){var t=ln.call(arguments,1);return this.updateIn(e,we(),function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,t):t[t.length-1]})},pe.prototype.sort=function(e){return Xe(bt(this,e))},pe.prototype.sortBy=function(e,t){return Xe(bt(this,t,e))},pe.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},pe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new d)},pe.prototype.asImmutable=function(){return this.__ensureOwner()},pe.prototype.wasAltered=function(){return this.__altered},pe.prototype.__iterator=function(e,t){return new ve(this,e,t)},pe.prototype.__iterate=function(e,t){var n=this,r=0;return this._root&&this._root.iterate(function(t){return r++,e(t[1],t[0],n)},t),r},pe.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?xe(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},pe.isMap=de;var Fn="@@__IMMUTABLE_MAP__@@",Un=pe.prototype;Un[Fn]=!0,Un.delete=Un.remove,Un.removeIn=Un.deleteIn,fe.prototype.get=function(e,t,n,r){for(var i=this.entries,o=0,a=i.length;o=qn)return Ce(e,l,r,i);var h=e&&e===this.ownerID,m=h?l:f(l);return d?s?u===c-1?m.pop():m[u]=m.pop():m[u]=[r,i]:m.push([r,i]),h?(this.entries=m,this):new fe(e,m)}},he.prototype.get=function(e,t,n,r){void 0===t&&(t=oe(n));var i=1<<((0===e?t:t>>>e)&mn),o=this.bitmap;return 0==(o&i)?r:this.nodes[Pe(o&i-1)].get(e+fn,t,n,r)},he.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=oe(r));var s=(0===t?n:n>>>t)&mn,l=1<=Vn)return Ne(e,d,u,s,h);if(c&&!h&&2===d.length&&Me(d[1^p]))return d[1^p];if(c&&h&&1===d.length&&Me(h))return h;var m=e&&e===this.ownerID,g=c?h?u:u^l:u|l,y=c?h?Re(d,p,h,m):ze(d,p,m):je(d,p,h,m);return m?(this.bitmap=g,this.nodes=y,this):new he(e,g,y)},me.prototype.get=function(e,t,n,r){void 0===t&&(t=oe(n));var i=(0===e?t:t>>>e)&mn,o=this.nodes[i];return o?o.get(e+fn,t,n,r):r},me.prototype.update=function(e,t,n,r,i,o,a){void 0===n&&(n=oe(r));var s=(0===t?n:n>>>t)&mn,l=i===gn,u=this.nodes,c=u[s];if(l&&!c)return this;var p=Ae(c,e,t+fn,n,r,i,o,a);if(p===c)return this;var d=this.count;if(c){if(!p&&--d=0&&e>>t&mn;if(r>=this.array.length)return new Ue([],e);var i,o=0===r;if(t>0){var a=this.array[r];if((i=a&&a.removeBefore(e,t-fn,n))===a&&o)return this}if(o&&!i)return this;var s=Ze(this,e);if(!o)for(var l=0;l>>t&mn;if(r>=this.array.length)return this;var i;if(t>0){var o=this.array[r];if((i=o&&o.removeAfter(e,t-fn,n))===o&&r===this.array.length-1)return this}var a=Ze(this,e);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Yn,Qn={};e(Xe,pe),Xe.of=function(){return this(arguments)},Xe.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Xe.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Xe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):tt()},Xe.prototype.set=function(e,t){return nt(this,e,t)},Xe.prototype.remove=function(e){return nt(this,e,gn)},Xe.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Xe.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate(function(t){return t&&e(t[1],t[0],n)},t)},Xe.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Xe.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?et(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Xe.isOrderedMap=Je,Xe.prototype[dn]=!0,Xe.prototype.delete=Xe.prototype.remove;var $n;e(rt,O),rt.prototype.get=function(e,t){return this._iter.get(e,t)},rt.prototype.has=function(e){return this._iter.has(e)},rt.prototype.valueSeq=function(){return this._iter.valueSeq()},rt.prototype.reverse=function(){var e=this,t=ut(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},rt.prototype.map=function(e,t){var n=this,r=lt(this,e,t);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(e,t)}),r},rt.prototype.__iterate=function(e,t){var n,r=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,r)}:(n=t?St(this):0,function(i){return e(i,t?--n:n++,r)}),t)},rt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(bn,t),r=t?St(this):0;return new x(function(){var i=n.next();return i.done?i:w(e,t?--r:r++,i.value,i)})},rt.prototype[dn]=!0,e(it,k),it.prototype.includes=function(e){return this._iter.includes(e)},it.prototype.__iterate=function(e,t){var n=this,r=0;return this._iter.__iterate(function(t){return e(t,r++,n)},t)},it.prototype.__iterator=function(e,t){var n=this._iter.__iterator(bn,t),r=0;return new x(function(){var t=n.next();return t.done?t:w(e,r++,t.value,t)})},e(ot,I),ot.prototype.has=function(e){return this._iter.includes(e)},ot.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){return e(t,t,n)},t)},ot.prototype.__iterator=function(e,t){var n=this._iter.__iterator(bn,t);return new x(function(){var t=n.next();return t.done?t:w(e,t.value,t.value,t)})},e(at,O),at.prototype.entrySeq=function(){return this._iter.toSeq()},at.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){if(t){Mt(t);var r=o(t);return e(r?t.get(1):t[1],r?t.get(0):t[0],n)}},t)},at.prototype.__iterator=function(e,t){var n=this._iter.__iterator(bn,t);return new x(function(){for(;;){var t=n.next();if(t.done)return t;var r=t.value;if(r){Mt(r);var i=o(r);return w(e,i?r.get(0):r[0],i?r.get(1):r[1],t)}}})},it.prototype.cacheResult=rt.prototype.cacheResult=ot.prototype.cacheResult=at.prototype.cacheResult=Nt,e(It,te),It.prototype.toString=function(){return this.__toString(Lt(this)+" {","}")},It.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},It.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},It.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Dt(this,we()))},It.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Lt(this));if(this._map&&!this._map.has(e)){if(t===this._defaultValues[e])return this}var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Dt(this,n)},It.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Dt(this,t)},It.prototype.wasAltered=function(){return this._map.wasAltered()},It.prototype.__iterator=function(e,t){var r=this;return n(this._defaultValues).map(function(e,t){return r.get(t)}).__iterator(e,t)},It.prototype.__iterate=function(e,t){var r=this;return n(this._defaultValues).map(function(e,t){return r.get(t)}).__iterate(e,t)},It.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Dt(this,t,e):(this.__ownerID=e,this._map=t,this)};var Kn=It.prototype;Kn.delete=Kn.remove,Kn.deleteIn=Kn.removeIn=Un.removeIn,Kn.merge=Un.merge,Kn.mergeWith=Un.mergeWith,Kn.mergeIn=Un.mergeIn,Kn.mergeDeep=Un.mergeDeep,Kn.mergeDeepWith=Un.mergeDeepWith,Kn.mergeDeepIn=Un.mergeDeepIn,Kn.setIn=Un.setIn,Kn.update=Un.update,Kn.updateIn=Un.updateIn,Kn.withMutations=Un.withMutations,Kn.asMutable=Un.asMutable,Kn.asImmutable=Un.asImmutable,e(jt,re),jt.of=function(){return this(arguments)},jt.fromKeys=function(e){return this(n(e).keySeq())},jt.prototype.toString=function(){return this.__toString("Set {","}")},jt.prototype.has=function(e){return this._map.has(e)},jt.prototype.add=function(e){return Bt(this,this._map.set(e,!0))},jt.prototype.remove=function(e){return Bt(this,this._map.remove(e))},jt.prototype.clear=function(){return Bt(this,this._map.clear())},jt.prototype.union=function(){var e=ln.call(arguments,0);return e=e.filter(function(e){return 0!==e.size}),0===e.length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations(function(t){for(var n=0;n=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):Yt(e,t)},Wt.prototype.pushAll=function(e){if(e=r(e),0===e.size)return this;ce(e.size);var t=this.size,n=this._head;return e.reverse().forEach(function(e){t++,n={value:e,next:n}}),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):Yt(t,n)},Wt.prototype.pop=function(){return this.slice(1)},Wt.prototype.unshift=function(){return this.push.apply(this,arguments)},Wt.prototype.unshiftAll=function(e){return this.pushAll(e)},Wt.prototype.shift=function(){return this.pop.apply(this,arguments)},Wt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Qt()},Wt.prototype.slice=function(e,t){if(y(e,t,this.size))return this;var n=v(e,this.size);if(_(t,this.size)!==this.size)return ne.prototype.slice.call(this,e,t);for(var r=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=r,this._head=i,this.__hash=void 0,this.__altered=!0,this):Yt(r,i)},Wt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Yt(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Wt.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,r=this._head;r&&!1!==e(r.value,n++,this);)r=r.next;return n},Wt.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,r=this._head;return new x(function(){if(r){var t=r.value;return r=r.next,w(e,n++,t)}return E()})},Wt.isStack=Zt;var rr="@@__IMMUTABLE_STACK__@@",ir=Wt.prototype;ir[rr]=!0,ir.withMutations=Un.withMutations,ir.asMutable=Un.asMutable,ir.asImmutable=Un.asImmutable,ir.wasAltered=Un.wasAltered;var or;t.Iterator=x,$t(t,{toArray:function(){ce(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate(function(t,n){e[n]=t}),e},toIndexedSeq:function(){return new it(this)},toJS:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJS?e.toJS():e}).__toJS()},toJSON:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e}).__toJS()},toKeyedSeq:function(){return new rt(this,!0)},toMap:function(){return pe(this.toKeyedSeq())},toObject:function(){ce(this.size);var e={};return this.__iterate(function(t,n){e[n]=t}),e},toOrderedMap:function(){return Xe(this.toKeyedSeq())},toOrderedSet:function(){return Gt(a(this)?this.valueSeq():this)},toSet:function(){return jt(a(this)?this.valueSeq():this)},toSetSeq:function(){return new ot(this)},toSeq:function(){return s(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Wt(a(this)?this.valueSeq():this)},toList:function(){return Be(a(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return At(this,gt(this,ln.call(arguments,0)))},includes:function(e){return this.some(function(t){return Q(t,e)})},entries:function(){return this.__iterator(xn)},every:function(e,t){ce(this.size);var n=!0;return this.__iterate(function(r,i,o){if(!e.call(t,r,i,o))return n=!1,!1}),n},filter:function(e,t){return At(this,ct(this,e,t,!0))},find:function(e,t,n){var r=this.findEntry(e,t);return r?r[1]:n},forEach:function(e,t){return ce(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){ce(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate(function(r){n?n=!1:t+=e,t+=null!==r&&void 0!==r?r.toString():""}),t},keys:function(){return this.__iterator(_n)},map:function(e,t){return At(this,lt(this,e,t))},reduce:function(e,t,n){ce(this.size);var r,i;return arguments.length<2?i=!0:r=t,this.__iterate(function(t,o,a){i?(i=!1,r=t):r=e.call(n,r,t,o,a)}),r},reduceRight:function(e,t,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return At(this,ut(this,!0))},slice:function(e,t){return At(this,ft(this,e,t,!0))},some:function(e,t){return!this.every(Jt(e),t)},sort:function(e){return At(this,bt(this,e))},values:function(){return this.__iterator(bn)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(e,t){return h(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return pt(this,e,t)},equals:function(e){return $(this,e)},entrySeq:function(){var e=this;if(e._cache)return new D(e._cache);var t=e.toSeq().map(Xt).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(Jt(e),t)},findEntry:function(e,t,n){var r=n;return this.__iterate(function(n,i,o){if(e.call(t,n,i,o))return r=[i,n],!1}),r},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(){return this.find(g)},flatMap:function(e,t){return At(this,vt(this,e,t))},flatten:function(e){return At(this,yt(this,e,!0))},fromEntrySeq:function(){return new at(this)},get:function(e,t){return this.find(function(t,n){return Q(n,e)},void 0,t)},getIn:function(e,t){for(var n,r=this,i=kt(e);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,gn):gn)===gn)return t}return r},groupBy:function(e,t){return dt(this,e,t)},has:function(e){return this.get(e,gn)!==gn},hasIn:function(e){return this.getIn(e,gn)!==gn},isSubset:function(e){return e="function"==typeof e.includes?e:t(e),this.every(function(t){return e.includes(t)})},isSuperset:function(e){return e="function"==typeof e.isSubset?e:t(e),e.isSubset(this)},keyOf:function(e){return this.findKey(function(t){return Q(t,e)})},keySeq:function(){return this.toSeq().map(Kt).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return xt(this,e)},maxBy:function(e,t){return xt(this,t,e)},min:function(e){return xt(this,e?en(e):rn)},minBy:function(e,t){return xt(this,t?en(t):rn,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return At(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return At(this,mt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(Jt(e),t)},sortBy:function(e,t){return At(this,bt(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return At(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return At(this,ht(this,e,t))},takeUntil:function(e,t){return this.takeWhile(Jt(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=on(this))}});var ar=t.prototype;ar[un]=!0,ar[An]=ar.values,ar.__toJS=ar.toArray,ar.__toStringMapper=tn,ar.inspect=ar.toSource=function(){return this.toString()},ar.chain=ar.flatMap,ar.contains=ar.includes,$t(n,{flip:function(){return At(this,st(this))},mapEntries:function(e,t){var n=this,r=0;return At(this,this.toSeq().map(function(i,o){return e.call(t,[o,i],r++,n)}).fromEntrySeq())},mapKeys:function(e,t){var n=this;return At(this,this.toSeq().flip().map(function(r,i){return e.call(t,r,i,n)}).flip())}});var sr=n.prototype;return sr[cn]=!0,sr[An]=ar.entries,sr.__toJS=ar.toObject,sr.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+tn(e)},$t(r,{toKeyedSeq:function(){return new rt(this,!1)},filter:function(e,t){return At(this,ct(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return At(this,ut(this,!1))},slice:function(e,t){return At(this,ft(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=v(e,e<0?this.count():this.size);var r=this.slice(0,e);return At(this,1===n?r:r.concat(f(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(e){return At(this,yt(this,e,!1))},get:function(e,t){return e=m(this,e),e<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find(function(t,n){return n===e},void 0,t)},has:function(e){return(e=m(this,e))>=0&&(void 0!==this.size?this.size===1/0||e * @license MIT */ -function r(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i=0;s--)if(l[s]!==u[s])return!1;for(s=l.length-1;s>=0;s--)if(a=l[s],!f(e[a],t[a],n,r))return!1;return!0}function g(e,t,n){f(e,t,!0)&&p(e,t,n,"notDeepStrictEqual",g)}function y(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function v(e){var t;try{e()}catch(e){t=e}return t}function _(e,t,n,r){var i;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(r=n,n=null),i=v(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!i&&p(i,n,"Missing expected exception"+r);var o="string"==typeof r,a=!e&&b.isError(i),s=!e&&i&&!n;if((a&&o&&y(i,n)||s)&&p(i,n,"Got unwanted exception"+r),e&&i&&n&&!y(i,n)||!e&&i)throw i}var b=n(965),x=Object.prototype.hasOwnProperty,w=Array.prototype.slice,E=function(){return"foo"===function(){}.name}(),A=e.exports=d,M=/\s*function\s+([^\(\s]*)\s*/;A.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=c(this),this.generatedMessage=!0);var t=e.stackStartFunction||p;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,i=s(t),o=r.indexOf("\n"+i);if(o>=0){var a=r.indexOf("\n",o+1);r=r.substring(a+1)}this.stack=r}}},b.inherits(A.AssertionError,Error),A.fail=p,A.ok=d,A.equal=function(e,t,n){e!=t&&p(e,t,n,"==",A.equal)},A.notEqual=function(e,t,n){e==t&&p(e,t,n,"!=",A.notEqual)},A.deepEqual=function(e,t,n){f(e,t,!1)||p(e,t,n,"deepEqual",A.deepEqual)},A.deepStrictEqual=function(e,t,n){f(e,t,!0)||p(e,t,n,"deepStrictEqual",A.deepStrictEqual)},A.notDeepEqual=function(e,t,n){f(e,t,!1)&&p(e,t,n,"notDeepEqual",A.notDeepEqual)},A.notDeepStrictEqual=g,A.strictEqual=function(e,t,n){e!==t&&p(e,t,n,"===",A.strictEqual)},A.notStrictEqual=function(e,t,n){e===t&&p(e,t,n,"!==",A.notStrictEqual)},A.throws=function(e,t,n){_(!0,e,t,n)},A.doesNotThrow=function(e,t,n){_(!1,e,t,n)},A.ifError=function(e){if(e)throw e};var S=Object.keys||function(e){var t=[];for(var n in e)x.call(e,n)&&t.push(n);return t}}).call(t,n(29))},function(e,t){var n=e.exports={version:"2.5.1"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(271),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},function(e,t,n){"use strict";e.exports=n(858)},function(e,t,n){"use strict";function r(e){return null==e||p.default.isValidElement(e)}function i(e){return r(e)||Array.isArray(e)&&e.every(r)}function o(e,t){return u({},e,t)}function a(e){var t=e.type,n=o(t.defaultProps,e.props);if(n.children){var r=s(n.children,n);r.length&&(n.childRoutes=r),delete n.children}return n}function s(e,t){var n=[];return p.default.Children.forEach(e,function(e){if(p.default.isValidElement(e))if(e.type.createRouteFromReactElement){var r=e.type.createRouteFromReactElement(e,t);r&&n.push(r)}else n.push(a(e))}),n}function l(e){return i(e)?e=s(e):e&&!Array.isArray(e)&&(e=[e]),e}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t should not have a "'+t+'" prop')}t.__esModule=!0,t.routes=t.route=t.components=t.component=t.history=void 0,t.falsy=r;var i=n(0),o=i.PropTypes.func,a=i.PropTypes.object,s=i.PropTypes.arrayOf,l=i.PropTypes.oneOfType,u=i.PropTypes.element,c=i.PropTypes.shape,p=i.PropTypes.string,d=(t.history=c({listen:o.isRequired,push:o.isRequired,replace:o.isRequired,go:o.isRequired,goBack:o.isRequired,goForward:o.isRequired}),t.component=l([o,p])),f=(t.components=l([d,a]),t.route=l([a,u]));t.routes=l([f,s(f)])},function(e,t,n){"use strict";function r(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 a=n(16),s=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:0,n=0;n0?", ":"")+n.i(a.b)(this[r],e);return(e.printTypes?this.constructor.name:"")+"["+t+"]"}},{key:"toArray",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=0;n0&&void 0!==arguments[0]?arguments[0]:this,t=e&&e.length===this.ELEMENTS,n=0;n0&&void 0!==arguments[0]?arguments[0]:this;if(a.a.debug&&!this.validate(e))throw new Error("Invalid "+this.constructor.name);return this}}]),t}(function(e){function t(){var t=Reflect.construct(e,Array.from(arguments));return Object.setPrototypeOf(t,Object.getPrototypeOf(this)),t}return t.prototype=Object.create(e.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e,t}(Array));t.a=l},function(e,t,n){"use strict";function r(e){var t=Object.getPrototypeOf(e),n=Object.getOwnPropertyNames(t),r=!0,o=!1,a=void 0;try{for(var s,l=n[Symbol.iterator]();!(r=(s=l.next()).done);r=!0)!function(){var t=s.value;"function"==typeof e[t]&&(i.find(function(e){return t===e})||(e[t]=e[t].bind(e)))}()}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=["constructor","render","componentWillMount","componentDidMount","componentWillReceiveProps","shouldComponentUpdate","componentWillUpdate","componentDidUpdate","componentWillUnmount"]},function(e,t,n){var r=n(19),i=n(25),o=n(475),a=n(45),s=function(e,t,n){var l,u,c,p=e&s.F,d=e&s.G,f=e&s.S,h=e&s.P,m=e&s.B,g=e&s.W,y=d?i:i[t]||(i[t]={}),v=y.prototype,_=d?r:f?r[t]:(r[t]||{}).prototype;d&&(n=t);for(l in n)(u=!p&&_&&void 0!==_[l])&&l in y||(c=u?_[l]:n[l],y[l]=d&&"function"!=typeof _[l]?n[l]:m&&u?o(c,r):g&&_[l]==c?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(c):h&&"function"==typeof c?o(Function.call,c):c,h&&((y.virtual||(y.virtual={}))[l]=c,e&s.R&&v&&!v[l]&&a(v,l,c)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(33),i=n(92);e.exports=n(31)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(210),i=n(113);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(120)("wks"),i=n(93),o=n(19).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},function(e,t,n){"use strict";t.a=function(e,t){return et?1:e>=t?0:NaN}},function(e,t,n){"use strict";t.a=function(){return Math.random()}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return l.stringify(e).replace(/%20/g,"+")}function o(e){return function(){function t(e){if(null==e.query){var t=e.search;e.query=w(t.substring(1)),e[h]={search:t,searchBase:""}}return e}function n(e,t){var n,r=e[h],i=t?x(t):"";if(!r&&!i)return e;"string"==typeof e&&(e=p.parsePath(e));var o=void 0;o=r&&e.search===r.search?r.searchBase:e.search||"";var s=o;return i&&(s+=(s?"&":"?")+i),a({},e,(n={search:s},n[h]={search:s,searchBase:o},n))}function r(e){return b.listenBefore(function(n,r){c.default(e,t(n),r)})}function o(e){return b.listen(function(n){e(t(n))})}function s(e){b.push(n(e,e.query))}function l(e){b.replace(n(e,e.query))}function u(e,t){return b.createPath(n(e,t||e.query))}function d(e,t){return b.createHref(n(e,t||e.query))}function g(e){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o0||(0,p.default)(!1),null!=c&&(a+=encodeURI(c))):"("===l?i+=1:")"===l?i-=1:":"===l.charAt(0)?(u=l.substring(1),c=t[u],null!=c||i>0||(0,p.default)(!1),null!=c&&(a+=encodeURIComponent(c))):a+=l;return a.replace(/\/+/g,"/")}t.__esModule=!0,t.compilePattern=o,t.matchPattern=a,t.getParamNames=s,t.getParams=l,t.formatPattern=u;var c=n(7),p=function(e){return e&&e.__esModule?e:{default:e}}(c),d=Object.create(null)},function(e,t,n){"use strict";var r=n(4),i=n(313),o=n(935),a=n(936),s=n(58),l=n(937),u=n(938),c=n(939),p=n(943),d=s.createElement,f=s.createFactory,h=s.cloneElement,m=r,g=function(e){return e},y={Children:{map:o.map,forEach:o.forEach,count:o.count,toArray:o.toArray,only:p},Component:i.Component,PureComponent:i.PureComponent,createElement:d,cloneElement:h,isValidElement:s.isValidElement,PropTypes:l,createClass:c,createFactory:f,createMixin:g,DOM:a,version:u,__spread:m};e.exports=y},function(e,t,n){"use strict";function r(e){return void 0!==e.ref}function i(e){return void 0!==e.key}var o=n(4),a=n(23),s=(n(2),n(317),Object.prototype.hasOwnProperty),l=n(315),u={key:!0,ref:!0,__self:!0,__source:!0},c=function(e,t,n,r,i,o,a){var s={$$typeof:l,type:e,key:t,ref:n,props:a,_owner:o};return s};c.createElement=function(e,t,n){var o,l={},p=null,d=null;if(null!=t){r(t)&&(d=t.ref),i(t)&&(p=""+t.key),void 0===t.__self?null:t.__self,void 0===t.__source?null:t.__source;for(o in t)s.call(t,o)&&!u.hasOwnProperty(o)&&(l[o]=t[o])}var f=arguments.length-2;if(1===f)l.children=n;else if(f>1){for(var h=Array(f),m=0;m1){for(var y=Array(g),v=0;v2&&void 0!==arguments[2]?arguments[2]:0,i=I(e,3),o=i[0],a=i[1],s=i[2];if(k()(isFinite(o)&&isFinite(a)),Number.isFinite(s)){return n.i(y.b)(t,[o,a,s,1])}var l=n.i(y.b)(t,[o,a,0,1]),u=n.i(y.b)(t,[o,a,1,1]),c=l[2],p=u[2],d=c===p?0:((r||0)-c)/(p-c);return N()([],l,u,d)}t.j=r,t.k=i,t.a=o,t.b=a,t.e=s,t.f=l,t.g=u,t.h=d,t.i=f,t.c=h,t.d=m;var g=n(80),y=n(83),v=n(173),_=n.n(v),b=n(108),x=n.n(b),w=n(109),E=n.n(w),A=n(174),M=n.n(A),S=n(107),C=n.n(S),T=n(178),N=n.n(T),O=n(24),k=n.n(O),I=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),D=Math.PI,L=D/4,P=D/180,R=180/D,j=512,z=4003e4},function(e,t,n){"use strict";function r(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 a=n(401),s=n(61),l=n(196),u=n(177),c=n.n(u),p=n(179),d=n.n(p),f=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},o=e.width,a=e.height,l=e.latitude,u=void 0===l?0:l,c=e.longitude,p=void 0===c?0:c,d=e.zoom,f=void 0===d?0:d,h=e.pitch,m=void 0===h?0:h,g=e.bearing,y=void 0===g?0:g,v=e.altitude,_=void 0===v?1.5:v,b=e.farZMultiplier,x=void 0===b?10:b;r(this,t),o=o||1,a=a||1;var w=n.i(s.j)(f);_=Math.max(.75,_);var E=n.i(s.g)({longitude:p,latitude:u,scale:w}),A=n.i(s.i)({width:o,height:a,pitch:m,bearing:y,altitude:_,farZMultiplier:x}),M=n.i(s.h)({height:a,center:E,pitch:m,bearing:y,altitude:_,flipY:!0}),S=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,{width:o,height:a,viewMatrix:M,projectionMatrix:A}));return S.latitude=u,S.longitude=p,S.zoom=f,S.pitch=m,S.bearing=y,S.altitude=_,S.scale=w,S.center=E,Object.freeze(S),S}return o(t,e),f(t,[{key:"projectFlat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.scale;return n.i(s.a)(e,t)}},{key:"unprojectFlat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.scale;return n.i(s.b)(e,t)}},{key:"getMapCenterByLngLatPosition",value:function(e){var t=e.lngLat,r=e.pos,i=n.i(s.d)(r,this.pixelUnprojectionMatrix),o=n.i(s.a)(t,this.scale),a=c()([],o,d()([],i)),l=c()([],this.center,a);return n.i(s.b)(l,this.scale)}},{key:"getLocationAtPoint",value:function(e){var t=e.lngLat,n=e.pos;return this.getMapCenterByLngLatPosition({lngLat:t,pos:n})}},{key:"fitBounds",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.width,o=this.height,a=n.i(l.a)(Object.assign({width:i,height:o,bounds:e},r));return new t({width:i,height:o,longitude:a.longitude,latitude:a.latitude,zoom:a.zoom})}}]),t}(a.a);t.a=h},function(e,t,n){var r=n(214),i=n(114);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){"use strict";t.a=function(e){return null===e?NaN:+e}},function(e,t,n){"use strict";var r=n(133);n.d(t,"b",function(){return r.a});var i=(n(237),n(132),n(238),n(240),n(95));n.d(t,"a",function(){return i.a});var o=(n(241),n(546));n.d(t,"c",function(){return o.a});var a=(n(243),n(548),n(550),n(242),n(543),n(544),n(542),n(541));n.d(t,"d",function(){return a.a});n(545)},function(e,t,n){"use strict";function r(e,t){return function(n){return e+n*t}}function i(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function o(e,t){var i=t-e;return i?r(e,i>180||i<-180?i-360*Math.round(i/360):i):n.i(l.a)(isNaN(e)?t:e)}function a(e){return 1==(e=+e)?s:function(t,r){return r-t?i(t,r,e):n.i(l.a)(isNaN(t)?r:t)}}function s(e,t){var i=t-e;return i?r(e,i):n.i(l.a)(isNaN(e)?t:e)}t.b=o,t.c=a,t.a=s;var l=n(239)},function(e,t,n){"use strict";t.a=function(e){return e.match(/.{6}/g).map(function(e){return"#"+e})}},function(e,t,n){"use strict";function r(e){var t=e.domain;return e.ticks=function(e){var r=t();return n.i(o.ticks)(r[0],r[r.length-1],null==e?10:e)},e.tickFormat=function(e,r){return n.i(l.a)(t(),e,r)},e.nice=function(r){null==r&&(r=10);var i,a=t(),s=0,l=a.length-1,u=a[s],c=a[l];return c0?(u=Math.floor(u/i)*i,c=Math.ceil(c/i)*i,i=n.i(o.tickIncrement)(u,c,r)):i<0&&(u=Math.ceil(u*i)/i,c=Math.floor(c*i)/i,i=n.i(o.tickIncrement)(u,c,r)),i>0?(a[s]=Math.floor(u/i)*i,a[l]=Math.ceil(c/i)*i,t(a)):i<0&&(a[s]=Math.ceil(u*i)/i,a[l]=Math.floor(c*i)/i,t(a)),e},e}function i(){var e=n.i(s.a)(s.b,a.a);return e.copy=function(){return n.i(s.c)(e,i())},r(e)}t.b=r,t.a=i;var o=n(14),a=n(65),s=n(97),l=n(576)},function(e,t,n){"use strict";t.__esModule=!0;var r=!("undefined"==typeof window||!window.document||!window.document.createElement);t.canUseDOM=r},function(e,t,n){function r(e,t){var n=o(e,t);return i(n)?n:void 0}var i=n(810),o=n(820);e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function o(e){if(p===clearTimeout)return clearTimeout(e);if((p===r||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function a(){m&&f&&(m=!1,f.length?h=f.concat(h):g=-1,h.length&&s())}function s(){if(!m){var e=i(a);m=!0;for(var t=h.length;t;){for(f=h,h=[];++g1)for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;r(this,t);var a=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return Array.isArray(e)&&1===arguments.length?a.copy(e):a.set(e,n,o),a}return o(t,e),D(t,[{key:"set",value:function(e,t,n){return c()(this,e,t,n),this.check()}},{key:"angle",value:function(e){return d()(this,e)}},{key:"add",value:function(){for(var e=arguments.length,t=Array(e),n=0;n1?t-1:0),r=1;rn?n:e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MAPBOX_LIMITS=void 0;var a=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},n=t.width,r=t.height,o=t.latitude,a=t.longitude,s=t.zoom,l=t.bearing,u=void 0===l?f.bearing:l,c=t.pitch,h=void 0===c?f.pitch:c,m=t.altitude,g=void 0===m?f.altitude:m,y=t.maxZoom,v=void 0===y?d.maxZoom:y,_=t.minZoom,b=void 0===_?d.minZoom:_,x=t.maxPitch,w=void 0===x?d.maxPitch:x,E=t.minPitch,A=void 0===E?d.minPitch:E,M=t.startPanLngLat,S=t.startZoomLngLat,C=t.startBearing,T=t.startPitch,N=t.startZoom;i(this,e),(0,p.default)(Number.isFinite(n),"`width` must be supplied"),(0,p.default)(Number.isFinite(r),"`height` must be supplied"),(0,p.default)(Number.isFinite(a),"`longitude` must be supplied"),(0,p.default)(Number.isFinite(o),"`latitude` must be supplied"),(0,p.default)(Number.isFinite(s),"`zoom` must be supplied"),this._viewportProps=this._applyConstraints({width:n,height:r,latitude:o,longitude:a,zoom:s,bearing:u,pitch:h,altitude:g,maxZoom:v,minZoom:b,maxPitch:w,minPitch:A}),this._interactiveState={startPanLngLat:M,startZoomLngLat:S,startBearing:C,startPitch:T,startZoom:N}}return s(e,[{key:"getViewportProps",value:function(){return this._viewportProps}},{key:"getInteractiveState",value:function(){return this._interactiveState}},{key:"panStart",value:function(e){var t=e.pos;return this._getUpdatedMapState({startPanLngLat:this._unproject(t)})}},{key:"pan",value:function(e){var t=e.pos,n=e.startPos,r=this._interactiveState.startPanLngLat||this._unproject(n);if(!r)return this;var i=this._calculateNewLngLat({startPanLngLat:r,pos:t}),o=a(i,2),s=o[0],l=o[1];return this._getUpdatedMapState({longitude:s,latitude:l})}},{key:"panEnd",value:function(){return this._getUpdatedMapState({startPanLngLat:null})}},{key:"rotateStart",value:function(e){e.pos;return this._getUpdatedMapState({startBearing:this._viewportProps.bearing,startPitch:this._viewportProps.pitch})}},{key:"rotate",value:function(e){var t=e.deltaScaleX,n=void 0===t?0:t,r=e.deltaScaleY,i=void 0===r?0:r,o=this._interactiveState,a=o.startBearing,s=o.startPitch;if(!Number.isFinite(a)||!Number.isFinite(s))return this;var l=this._calculateNewPitchAndBearing({deltaScaleX:n,deltaScaleY:i,startBearing:a,startPitch:s}),u=l.pitch,c=l.bearing;return this._getUpdatedMapState({bearing:c,pitch:u})}},{key:"rotateEnd",value:function(){return this._getUpdatedMapState({startBearing:null,startPitch:null})}},{key:"zoomStart",value:function(e){var t=e.pos;return this._getUpdatedMapState({startZoomLngLat:this._unproject(t),startZoom:this._viewportProps.zoom})}},{key:"zoom",value:function(e){var t=e.pos,n=e.startPos,r=e.scale;(0,p.default)(r>0,"`scale` must be a positive number");var i=this._interactiveState,o=i.startZoom,s=i.startZoomLngLat;Number.isFinite(o)||(o=this._viewportProps.zoom,s=this._unproject(n)||this._unproject(t)),(0,p.default)(s,"`startZoomLngLat` prop is required for zoom behavior to calculate where to position the map.");var l=this._calculateNewZoom({scale:r,startZoom:o}),c=new u.default(Object.assign({},this._viewportProps,{zoom:l})),d=c.getLocationAtPoint({lngLat:s,pos:t}),f=a(d,2),h=f[0],m=f[1];return this._getUpdatedMapState({zoom:l,longitude:h,latitude:m})}},{key:"zoomEnd",value:function(){return this._getUpdatedMapState({startZoomLngLat:null,startZoom:null})}},{key:"_getUpdatedMapState",value:function(t){return new e(Object.assign({},this._viewportProps,this._interactiveState,t))}},{key:"_applyConstraints",value:function(e){var t=e.maxZoom,n=e.minZoom,r=e.zoom;e.zoom=o(r,n,t);var i=e.maxPitch,a=e.minPitch,s=e.pitch;return e.pitch=o(s,a,i),Object.assign(e,(0,l.normalizeViewportProps)(e)),e}},{key:"_unproject",value:function(e){var t=new u.default(this._viewportProps);return e&&t.unproject(e)}},{key:"_calculateNewLngLat",value:function(e){var t=e.startPanLngLat,n=e.pos;return new u.default(this._viewportProps).getMapCenterByLngLatPosition({lngLat:t,pos:n})}},{key:"_calculateNewZoom",value:function(e){var t=e.scale,n=e.startZoom,r=this._viewportProps,i=r.maxZoom,a=r.minZoom;return o(n+Math.log2(t),a,i)}},{key:"_calculateNewPitchAndBearing",value:function(e){var t=e.deltaScaleX,n=e.deltaScaleY,r=e.startBearing,i=e.startPitch;n=o(n,-1,1);var a=this._viewportProps,s=a.minPitch,l=a.maxPitch,u=r+180*t,c=i;return n>0?c=i+n*(l-i):n<0&&(c=i-n*(s-i)),{pitch:c,bearing:u}}}]),e}();t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TRANSITION_EVENTS=void 0;var o=function(){function e(e,t){for(var n=0;n0&&Boolean(e.transitionInterpolator)}},{key:"_isUpdateDueToCurrentTransition",value:function(e){return!!this.state.propsInTransition&&this.state.interpolator.arePropsEqual(e,this.state.propsInTransition)}},{key:"_shouldIgnoreViewportChange",value:function(e,t){return this._isTransitionInProgress()?this.state.interruption===d.IGNORE||this._isUpdateDueToCurrentTransition(t):!this._isTransitionEnabled(t)||t.transitionInterpolator.arePropsEqual(e,t)}},{key:"_triggerTransition",value:function(e,t){(0,s.default)(this._isTransitionEnabled(t),"Transition is not enabled"),cancelAnimationFrame(this.state.animation);var n=t.transitionInterpolator.initializeProps(e,t);this.state={duration:t.transitionDuration,easing:t.transitionEasing,interpolator:t.transitionInterpolator,interruption:t.transitionInterruption,startTime:Date.now(),startProps:n.start,endProps:n.end,animation:null,propsInTransition:{}},this._onTransitionFrame()}},{key:"_onTransitionFrame",value:function(){this.state.animation=requestAnimationFrame(this._onTransitionFrame),this._updateViewport()}},{key:"_endTransition",value:function(){cancelAnimationFrame(this.state.animation),this.state=h}},{key:"_updateViewport",value:function(){var e=Date.now(),t=this.state,n=t.startTime,r=t.duration,i=t.easing,o=t.interpolator,a=t.startProps,s=t.endProps,l=!1,u=(e-n)/r;u>=1&&(u=1,l=!0),u=i(u);var p=o.interpolateProps(a,s,u),d=new c.default(Object.assign({},this.props,p));this.state.propsInTransition=d.getViewportProps(),this.props.onViewportChange&&this.props.onViewportChange(this.state.propsInTransition),l&&(this._endTransition(),this.props.onTransitionEnd())}}]),e}();t.default=m,m.defaultProps=f},function(e,t,n){e.exports={default:n(467),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(461),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(){function e(e,t){for(var n=0;n=n?1:r(e)}}}function o(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:r(e)}}}function a(e,t,n,r){var i=e[0],o=e[1],a=t[0],s=t[1];return o2?s:a,c=f=null,l}function l(t){return(c||(c=u(g,y,_?i(e):e,v)))(+t)}var u,c,f,g=m,y=m,v=p.b,_=!1;return l.invert=function(e){return(f||(f=u(y,g,r,_?o(t):t)))(+e)},l.domain=function(e){return arguments.length?(g=d.a.call(e,h.a),n()):g.slice()},l.range=function(e){return arguments.length?(y=d.b.call(e),n()):y.slice()},l.rangeRound=function(e){return y=d.b.call(e),v=p.c,n()},l.clamp=function(e){return arguments.length?(_=!!e,n()):_},l.interpolate=function(e){return arguments.length?(v=e,n()):v},n()}t.b=r,t.c=l,t.a=u;var c=n(14),p=n(65),d=n(34),f=n(135),h=n(250),m=[0,1]},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";function r(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function i(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)}function o(){return window.location.href.split("#")[1]||""}function a(e){window.location.replace(window.location.pathname+window.location.search+"#"+e)}function s(){return window.location.pathname+window.location.search+window.location.hash}function l(e){e&&window.history.go(e)}function u(e,t){t(window.confirm(e))}function c(){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"))&&(window.history&&"pushState"in window.history)}function p(){return-1===navigator.userAgent.indexOf("Firefox")}t.__esModule=!0,t.addEventListener=r,t.removeEventListener=i,t.getHashPath=o,t.replaceHashPath=a,t.getWindowPath=s,t.go=l,t.getUserConfirmation=u,t.supportsHistory=c,t.supportsGoWithoutReloadUsingHash=p},function(e,t,n){"use strict";function r(e){return Object.prototype.hasOwnProperty.call(e,m)||(e[m]=f++,p[e[m]]={}),p[e[m]]}var i,o=n(4),a=n(151),s=n(873),l=n(294),u=n(905),c=n(162),p={},d=!1,f=0,h={topAbort:"abort",topAnimationEnd:u("animationend")||"animationend",topAnimationIteration:u("animationiteration")||"animationiteration",topAnimationStart:u("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:u("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},m="_reactListenersID"+String(Math.random()).slice(2),g=o({},s,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(g.handleTopLevel),g.ReactEventListener=e}},setEnabled:function(e){g.ReactEventListener&&g.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!g.ReactEventListener||!g.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,i=r(n),o=a.registrationNameDependencies[e],s=0;s]/;e.exports=i},function(e,t,n){"use strict";var r,i=n(10),o=n(150),a=/^[ \r\n\t\f]/,s=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,l=n(158),u=l(function(e,t){if(e.namespaceURI!==o.svg||"innerHTML"in e)e.innerHTML=t;else{r=r||document.createElement("div"),r.innerHTML=""+t+"";for(var n=r.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(i.canUseDOM){var c=document.createElement("div");c.innerHTML=" ",""===c.innerHTML&&(u=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),a.test(t)||"<"===t[0]&&s.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),c=null}e.exports=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},o=Object.assign||function(e){for(var t=1;t0?r:n)(e)}},function(e,t,n){var r=n(113);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(90);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(19),i=n(25),o=n(116),a=n(125),s=n(33).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){t.f=n(47)},function(e,t,n){"use strict";var r=n(64);t.a=function(e,t,n){if(null==n&&(n=r.a),i=e.length){if((t=+t)<=0||i<2)return+n(e[0],0,e);if(t>=1)return+n(e[i-1],i-1,e);var i,o=(i-1)*t,a=Math.floor(o),s=+n(e[a],a,e);return s+(+n(e[a+1],a+1,e)-s)*(o-a)}}},function(e,t,n){"use strict";function r(){}function i(e,t){var n=new r;if(e instanceof r)e.each(function(e,t){n.set(t,e)});else if(Array.isArray(e)){var i,o=-1,a=e.length;if(null==t)for(;++o>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1)):(t=w.exec(e))?o(parseInt(t[1],16)):(t=E.exec(e))?new u(t[1],t[2],t[3],1):(t=A.exec(e))?new u(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=M.exec(e))?a(t[1],t[2],t[3],t[4]):(t=S.exec(e))?a(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=C.exec(e))?c(t[1],t[2]/100,t[3]/100,1):(t=T.exec(e))?c(t[1],t[2]/100,t[3]/100,t[4]):N.hasOwnProperty(e)?o(N[e]):"transparent"===e?new u(NaN,NaN,NaN,0):null}function o(e){return new u(e>>16&255,e>>8&255,255&e,1)}function a(e,t,n,r){return r<=0&&(e=t=n=NaN),new u(e,t,n,r)}function s(e){return e instanceof r||(e=i(e)),e?(e=e.rgb(),new u(e.r,e.g,e.b,e.opacity)):new u}function l(e,t,n,r){return 1===arguments.length?s(e):new u(e,t,n,null==r?1:r)}function u(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function c(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new f(e,t,n,r)}function p(e){if(e instanceof f)return new f(e.h,e.s,e.l,e.opacity);if(e instanceof r||(e=i(e)),!e)return new f;if(e instanceof f)return e;e=e.rgb();var t=e.r/255,n=e.g/255,o=e.b/255,a=Math.min(t,n,o),s=Math.max(t,n,o),l=NaN,u=s-a,c=(s+a)/2;return u?(l=t===s?(n-o)/u+6*(n0&&c<1?0:l,new f(l,u,c,e.opacity)}function d(e,t,n,r){return 1===arguments.length?p(e):new f(e,t,n,null==r?1:r)}function f(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function h(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}t.c=r,n.d(t,"e",function(){return g}),n.d(t,"d",function(){return y}),t.h=i,t.b=s,t.g=l,t.a=u,t.f=d;var m=n(129),g=.7,y=1/g,v="\\s*([+-]?\\d+)\\s*",_="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",b="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",x=/^#([0-9a-f]{3})$/,w=/^#([0-9a-f]{6})$/,E=new RegExp("^rgb\\("+[v,v,v]+"\\)$"),A=new RegExp("^rgb\\("+[b,b,b]+"\\)$"),M=new RegExp("^rgba\\("+[v,v,v,_]+"\\)$"),S=new RegExp("^rgba\\("+[b,b,b,_]+"\\)$"),C=new RegExp("^hsl\\("+[_,b,b]+"\\)$"),T=new RegExp("^hsla\\("+[_,b,b,_]+"\\)$"),N={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};n.i(m.a)(r,i,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),n.i(m.a)(u,l,n.i(m.b)(r,{brighter:function(e){return e=null==e?y:Math.pow(y,e),new u(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?g:Math.pow(g,e),new u(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(1===e?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}})),n.i(m.a)(f,d,n.i(m.b)(r,{brighter:function(e){return e=null==e?y:Math.pow(y,e),new f(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?g:Math.pow(g,e),new f(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new u(h(e>=240?e-240:e+120,i,r),h(e,i,r),h(e<120?e+240:e-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}))},function(e,t,n){"use strict";function r(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}t.b=r,t.a=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e}},function(e,t,n){"use strict";function r(e){return new Function("d","return {"+e.map(function(e,t){return JSON.stringify(e)+": d["+t+"]"}).join(",")+"}")}function i(e,t){var n=r(e);return function(r,i){return t(n(r),i,e)}}function o(e){var t=Object.create(null),n=[];return e.forEach(function(e){for(var r in e)r in t||n.push(t[r]=r)}),n}var a={},s={},l=34,u=10,c=13;t.a=function(e){function t(e,t){var o,a,s=n(e,function(e,n){if(o)return o(e,n-1);a=e,o=t?i(e,t):r(e)});return s.columns=a||[],s}function n(e,t){function n(){if(f)return s;if(h)return h=!1,a;var t,n,r=p;if(e.charCodeAt(r)===l){for(;p++=o?f=!0:(n=e.charCodeAt(p++))===u?h=!0:n===c&&(h=!0,e.charCodeAt(p)===u&&++p),e.slice(r+1,t-1).replace(/""/g,'"')}for(;p1?r[0]+r.slice(2):r,+e.slice(n+1)]}},function(e,t,n){"use strict";function r(e,t,n,r,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*n+(1+3*e+3*o-3*a)*r+a*i)/6}t.b=r,t.a=function(e){var t=e.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[i],a=e[i+1],s=i>0?e[i-1]:2*o-a,l=i=200&&n<300||304===n){if(c)try{t=c.call(l,h)}catch(e){return void d.call("error",l,e)}else t=h;d.call("load",l,t)}else d.call("error",l,e)}var l,u,c,p,d=n.i(a.a)("beforesend","progress","load","error"),f=n.i(o.a)(),h=new XMLHttpRequest,m=null,g=null,y=0;if("undefined"==typeof XDomainRequest||"withCredentials"in h||!/^(http(s)?:)?\/\//.test(e)||(h=new XDomainRequest),"onload"in h?h.onload=h.onerror=h.ontimeout=s:h.onreadystatechange=function(e){h.readyState>3&&s(e)},h.onprogress=function(e){d.call("progress",l,e)},l={header:function(e,t){return e=(e+"").toLowerCase(),arguments.length<2?f.get(e):(null==t?f.remove(e):f.set(e,t+""),l)},mimeType:function(e){return arguments.length?(u=null==e?null:e+"",l):u},responseType:function(e){return arguments.length?(p=e,l):p},timeout:function(e){return arguments.length?(y=+e,l):y},user:function(e){return arguments.length<1?m:(m=null==e?null:e+"",l)},password:function(e){return arguments.length<1?g:(g=null==e?null:e+"",l)},response:function(e){return c=e,l},get:function(e,t){return l.send("GET",e,t)},post:function(e,t){return l.send("POST",e,t)},send:function(t,n,i){return h.open(t,e,!0,m,g),null==u||f.has("accept")||f.set("accept",u+",*/*"),h.setRequestHeader&&f.each(function(e,t){h.setRequestHeader(t,e)}),null!=u&&h.overrideMimeType&&h.overrideMimeType(u),null!=p&&(h.responseType=p),y>0&&(h.timeout=y),null==i&&"function"==typeof n&&(i=n,n=null),null!=i&&1===i.length&&(i=r(i)),null!=i&&l.on("error",i).on("load",function(e){i(null,e)}),d.call("beforesend",l,h),h.send(null==n?null:n),l},abort:function(){return h.abort(),l},on:function(){var e=d.on.apply(d,arguments);return e===d?l:e}},null!=t){if("function"!=typeof t)throw new Error("invalid callback: "+t);return l.get(t)}return l}},function(e,t,n){"use strict";t.a=function(e){return function(){return e}}},function(e,t,n){"use strict";n.d(t,"c",function(){return i}),n.d(t,"a",function(){return a}),n.d(t,"b",function(){return s});var r,i,o,a,s,l=n(255);!function(e){r=n.i(l.a)(e),i=r.format,o=r.parse,a=r.utcFormat,s=r.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},function(e,t,n){"use strict";var r=(n(9),n(582));n.d(t,"v",function(){return r.a}),n.d(t,"h",function(){return r.a});var i=n(585);n.d(t,"u",function(){return i.a}),n.d(t,"g",function(){return i.a});var o=n(583);n.d(t,"t",function(){return o.a});var a=n(581);n.d(t,"s",function(){return a.a});var s=n(580);n.d(t,"k",function(){return s.a});var l=n(592);n.d(t,"r",function(){return l.a}),n.d(t,"m",function(){return l.a}),n.d(t,"j",function(){return l.b}),n.d(t,"n",function(){return l.c});var u=n(584);n.d(t,"q",function(){return u.a});var c=n(593);n.d(t,"l",function(){return c.a});var p=n(588);n.d(t,"f",function(){return p.a});var d=n(587);n.d(t,"e",function(){return d.a});var f=n(586);n.d(t,"d",function(){return f.a});var h=n(590);n.d(t,"c",function(){return h.a}),n.d(t,"o",function(){return h.a}),n.d(t,"i",function(){return h.b}),n.d(t,"p",function(){return h.c});var m=n(589);n.d(t,"b",function(){return m.a});var g=n(591);n.d(t,"a",function(){return g.a})},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!==e&&t!==t}function i(e,t){if(r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var a=0;a1?t-1:0),o=1;o-1||a("96",e),!u.plugins[n]){t.extractEvents||a("97",e),u.plugins[n]=t;var r=t.eventTypes;for(var o in r)i(r[o],t,o)||a("98",o,e)}}}function i(e,t,n){u.eventNameDispatchConfigs.hasOwnProperty(n)&&a("99",n),u.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var i in r)if(r.hasOwnProperty(i)){var s=r[i];o(s,t,n)}return!0}return!!e.registrationName&&(o(e.registrationName,t,n),!0)}function o(e,t,n){u.registrationNameModules[e]&&a("100",e),u.registrationNameModules[e]=t,u.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var a=n(3),s=(n(1),null),l={},u={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(e){s&&a("101"),s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];l.hasOwnProperty(n)&&l[n]===i||(l[n]&&a("102",n),l[n]=i,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return u.registrationNameModules[t.registrationName]||null;if(void 0!==t.phasedRegistrationNames){var n=t.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var i=u.registrationNameModules[n[r]];if(i)return i}}return null},_resetEventPlugins:function(){s=null;for(var e in l)l.hasOwnProperty(e)&&delete l[e];u.plugins.length=0;var t=u.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=u.registrationNameModules;for(var i in r)r.hasOwnProperty(i)&&delete r[i]}};e.exports=u},function(e,t,n){"use strict";function r(e){return"topMouseUp"===e||"topTouchEnd"===e||"topTouchCancel"===e}function i(e){return"topMouseMove"===e||"topTouchMove"===e}function o(e){return"topMouseDown"===e||"topTouchStart"===e}function a(e,t,n,r){var i=e.type||"unknown-event";e.currentTarget=y.getNodeFromInstance(r),t?m.invokeGuardedCallbackWithCatch(i,n,e):m.invokeGuardedCallback(i,n,e),e.currentTarget=null}function s(e,t){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var i=0;i0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function o(e,t){var n=s.get(e);if(!n){return null}return n}var a=n(3),s=(n(23),n(75)),l=(n(15),n(18)),u=(n(1),n(2),{isMounted:function(e){var t=s.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){u.validateCallback(t,n);var i=o(e);if(!i)return null;i._pendingCallbacks?i._pendingCallbacks.push(t):i._pendingCallbacks=[t],r(i)},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=o(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t,n){var i=o(e,"replaceState");i&&(i._pendingStateQueue=[t],i._pendingReplaceState=!0,void 0!==n&&null!==n&&(u.validateCallback(n,"replaceState"),i._pendingCallbacks?i._pendingCallbacks.push(n):i._pendingCallbacks=[n]),r(i))},enqueueSetState:function(e,t){var n=o(e,"setState");if(n){(n._pendingStateQueue||(n._pendingStateQueue=[])).push(t),r(n)}},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,r(e)},validateCallback:function(e,t){e&&"function"!=typeof e&&a("122",t,i(e))}});e.exports=u},function(e,t,n){"use strict";var r=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e};e.exports=r},function(e,t,n){"use strict";function r(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,t>=32||13===t?t:0}e.exports=r},function(e,t,n){"use strict";function r(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=o[e];return!!r&&!!n[r]}function i(e){return r}var o={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};e.exports=i},function(e,t,n){"use strict";function r(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}e.exports=r},function(e,t,n){"use strict";/** +function r(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i=0;s--)if(l[s]!==u[s])return!1;for(s=l.length-1;s>=0;s--)if(a=l[s],!f(e[a],t[a],n,r))return!1;return!0}function g(e,t,n){f(e,t,!0)&&p(e,t,n,"notDeepStrictEqual",g)}function y(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function v(e){var t;try{e()}catch(e){t=e}return t}function _(e,t,n,r){var i;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof n&&(r=n,n=null),i=v(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!i&&p(i,n,"Missing expected exception"+r);var o="string"==typeof r,a=!e&&b.isError(i),s=!e&&i&&!n;if((a&&o&&y(i,n)||s)&&p(i,n,"Got unwanted exception"+r),e&&i&&n&&!y(i,n)||!e&&i)throw i}var b=n(965),x=Object.prototype.hasOwnProperty,w=Array.prototype.slice,E=function(){return"foo"===function(){}.name}(),A=e.exports=d,M=/\s*function\s+([^\(\s]*)\s*/;A.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=c(this),this.generatedMessage=!0);var t=e.stackStartFunction||p;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,i=s(t),o=r.indexOf("\n"+i);if(o>=0){var a=r.indexOf("\n",o+1);r=r.substring(a+1)}this.stack=r}}},b.inherits(A.AssertionError,Error),A.fail=p,A.ok=d,A.equal=function(e,t,n){e!=t&&p(e,t,n,"==",A.equal)},A.notEqual=function(e,t,n){e==t&&p(e,t,n,"!=",A.notEqual)},A.deepEqual=function(e,t,n){f(e,t,!1)||p(e,t,n,"deepEqual",A.deepEqual)},A.deepStrictEqual=function(e,t,n){f(e,t,!0)||p(e,t,n,"deepStrictEqual",A.deepStrictEqual)},A.notDeepEqual=function(e,t,n){f(e,t,!1)&&p(e,t,n,"notDeepEqual",A.notDeepEqual)},A.notDeepStrictEqual=g,A.strictEqual=function(e,t,n){e!==t&&p(e,t,n,"===",A.strictEqual)},A.notStrictEqual=function(e,t,n){e===t&&p(e,t,n,"!==",A.notStrictEqual)},A.throws=function(e,t,n){_(!0,e,t,n)},A.doesNotThrow=function(e,t,n){_(!1,e,t,n)},A.ifError=function(e){if(e)throw e};var S=Object.keys||function(e){var t=[];for(var n in e)x.call(e,n)&&t.push(n);return t}}).call(t,n(29))},function(e,t){var n=e.exports={version:"2.5.1"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(271),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},function(e,t,n){"use strict";e.exports=n(858)},function(e,t,n){"use strict";function r(e){return null==e||p.default.isValidElement(e)}function i(e){return r(e)||Array.isArray(e)&&e.every(r)}function o(e,t){return u({},e,t)}function a(e){var t=e.type,n=o(t.defaultProps,e.props);if(n.children){var r=s(n.children,n);r.length&&(n.childRoutes=r),delete n.children}return n}function s(e,t){var n=[];return p.default.Children.forEach(e,function(e){if(p.default.isValidElement(e))if(e.type.createRouteFromReactElement){var r=e.type.createRouteFromReactElement(e,t);r&&n.push(r)}else n.push(a(e))}),n}function l(e){return i(e)?e=s(e):e&&!Array.isArray(e)&&(e=[e]),e}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t should not have a "'+t+'" prop')}t.__esModule=!0,t.routes=t.route=t.components=t.component=t.history=void 0,t.falsy=r;var i=n(0),o=i.PropTypes.func,a=i.PropTypes.object,s=i.PropTypes.arrayOf,l=i.PropTypes.oneOfType,u=i.PropTypes.element,c=i.PropTypes.shape,p=i.PropTypes.string,d=(t.history=c({listen:o.isRequired,push:o.isRequired,replace:o.isRequired,go:o.isRequired,goBack:o.isRequired,goForward:o.isRequired}),t.component=l([o,p])),f=(t.components=l([d,a]),t.route=l([a,u]));t.routes=l([f,s(f)])},function(e,t,n){"use strict";function r(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 a=n(16),s=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:0,n=0;n0?", ":"")+n.i(a.b)(this[r],e);return(e.printTypes?this.constructor.name:"")+"["+t+"]"}},{key:"toArray",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=0;n0&&void 0!==arguments[0]?arguments[0]:this,t=e&&e.length===this.ELEMENTS,n=0;n0&&void 0!==arguments[0]?arguments[0]:this;if(a.a.debug&&!this.validate(e))throw new Error("Invalid "+this.constructor.name);return this}}]),t}(function(e){function t(){var t=Reflect.construct(e,Array.from(arguments));return Object.setPrototypeOf(t,Object.getPrototypeOf(this)),t}return t.prototype=Object.create(e.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e,t}(Array));t.a=l},function(e,t,n){"use strict";function r(e){var t=Object.getPrototypeOf(e),n=Object.getOwnPropertyNames(t),r=!0,o=!1,a=void 0;try{for(var s,l=n[Symbol.iterator]();!(r=(s=l.next()).done);r=!0)!function(){var t=s.value;"function"==typeof e[t]&&(i.find(function(e){return t===e})||(e[t]=e[t].bind(e)))}()}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=["constructor","render","componentWillMount","componentDidMount","componentWillReceiveProps","shouldComponentUpdate","componentWillUpdate","componentDidUpdate","componentWillUnmount"]},function(e,t,n){var r=n(19),i=n(25),o=n(475),a=n(45),s=function(e,t,n){var l,u,c,p=e&s.F,d=e&s.G,f=e&s.S,h=e&s.P,m=e&s.B,g=e&s.W,y=d?i:i[t]||(i[t]={}),v=y.prototype,_=d?r:f?r[t]:(r[t]||{}).prototype;d&&(n=t);for(l in n)(u=!p&&_&&void 0!==_[l])&&l in y||(c=u?_[l]:n[l],y[l]=d&&"function"!=typeof _[l]?n[l]:m&&u?o(c,r):g&&_[l]==c?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(c):h&&"function"==typeof c?o(Function.call,c):c,h&&((y.virtual||(y.virtual={}))[l]=c,e&s.R&&v&&!v[l]&&a(v,l,c)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(33),i=n(92);e.exports=n(31)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(210),i=n(114);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(121)("wks"),i=n(93),o=n(19).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},function(e,t,n){"use strict";t.a=function(e,t){return et?1:e>=t?0:NaN}},function(e,t,n){"use strict";t.a=function(){return Math.random()}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return l.stringify(e).replace(/%20/g,"+")}function o(e){return function(){function t(e){if(null==e.query){var t=e.search;e.query=w(t.substring(1)),e[h]={search:t,searchBase:""}}return e}function n(e,t){var n,r=e[h],i=t?x(t):"";if(!r&&!i)return e;"string"==typeof e&&(e=p.parsePath(e));var o=void 0;o=r&&e.search===r.search?r.searchBase:e.search||"";var s=o;return i&&(s+=(s?"&":"?")+i),a({},e,(n={search:s},n[h]={search:s,searchBase:o},n))}function r(e){return b.listenBefore(function(n,r){c.default(e,t(n),r)})}function o(e){return b.listen(function(n){e(t(n))})}function s(e){b.push(n(e,e.query))}function l(e){b.replace(n(e,e.query))}function u(e,t){return b.createPath(n(e,t||e.query))}function d(e,t){return b.createHref(n(e,t||e.query))}function g(e){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o0||(0,p.default)(!1),null!=c&&(a+=encodeURI(c))):"("===l?i+=1:")"===l?i-=1:":"===l.charAt(0)?(u=l.substring(1),c=t[u],null!=c||i>0||(0,p.default)(!1),null!=c&&(a+=encodeURIComponent(c))):a+=l;return a.replace(/\/+/g,"/")}t.__esModule=!0,t.compilePattern=o,t.matchPattern=a,t.getParamNames=s,t.getParams=l,t.formatPattern=u;var c=n(7),p=function(e){return e&&e.__esModule?e:{default:e}}(c),d=Object.create(null)},function(e,t,n){"use strict";var r=n(4),i=n(313),o=n(935),a=n(936),s=n(58),l=n(937),u=n(938),c=n(939),p=n(943),d=s.createElement,f=s.createFactory,h=s.cloneElement,m=r,g=function(e){return e},y={Children:{map:o.map,forEach:o.forEach,count:o.count,toArray:o.toArray,only:p},Component:i.Component,PureComponent:i.PureComponent,createElement:d,cloneElement:h,isValidElement:s.isValidElement,PropTypes:l,createClass:c,createFactory:f,createMixin:g,DOM:a,version:u,__spread:m};e.exports=y},function(e,t,n){"use strict";function r(e){return void 0!==e.ref}function i(e){return void 0!==e.key}var o=n(4),a=n(23),s=(n(2),n(317),Object.prototype.hasOwnProperty),l=n(315),u={key:!0,ref:!0,__self:!0,__source:!0},c=function(e,t,n,r,i,o,a){var s={$$typeof:l,type:e,key:t,ref:n,props:a,_owner:o};return s};c.createElement=function(e,t,n){var o,l={},p=null,d=null;if(null!=t){r(t)&&(d=t.ref),i(t)&&(p=""+t.key),void 0===t.__self?null:t.__self,void 0===t.__source?null:t.__source;for(o in t)s.call(t,o)&&!u.hasOwnProperty(o)&&(l[o]=t[o])}var f=arguments.length-2;if(1===f)l.children=n;else if(f>1){for(var h=Array(f),m=0;m1){for(var y=Array(g),v=0;v2&&void 0!==arguments[2]?arguments[2]:0,i=I(e,3),o=i[0],a=i[1],s=i[2];if(k()(isFinite(o)&&isFinite(a)),Number.isFinite(s)){return n.i(y.b)(t,[o,a,s,1])}var l=n.i(y.b)(t,[o,a,0,1]),u=n.i(y.b)(t,[o,a,1,1]),c=l[2],p=u[2],d=c===p?0:((r||0)-c)/(p-c);return N()([],l,u,d)}t.j=r,t.k=i,t.a=o,t.b=a,t.e=s,t.f=l,t.g=u,t.h=d,t.i=f,t.c=h,t.d=m;var g=n(80),y=n(83),v=n(174),_=n.n(v),b=n(108),x=n.n(b),w=n(109),E=n.n(w),A=n(175),M=n.n(A),S=n(107),C=n.n(S),T=n(179),N=n.n(T),O=n(24),k=n.n(O),I=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),D=Math.PI,L=D/4,P=D/180,R=180/D,j=512,z=4003e4},function(e,t,n){"use strict";function r(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 a=n(401),s=n(61),l=n(197),u=n(178),c=n.n(u),p=n(180),d=n.n(p),f=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},o=e.width,a=e.height,l=e.latitude,u=void 0===l?0:l,c=e.longitude,p=void 0===c?0:c,d=e.zoom,f=void 0===d?0:d,h=e.pitch,m=void 0===h?0:h,g=e.bearing,y=void 0===g?0:g,v=e.altitude,_=void 0===v?1.5:v,b=e.farZMultiplier,x=void 0===b?10:b;r(this,t),o=o||1,a=a||1;var w=n.i(s.j)(f);_=Math.max(.75,_);var E=n.i(s.g)({longitude:p,latitude:u,scale:w}),A=n.i(s.i)({width:o,height:a,pitch:m,bearing:y,altitude:_,farZMultiplier:x}),M=n.i(s.h)({height:a,center:E,pitch:m,bearing:y,altitude:_,flipY:!0}),S=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,{width:o,height:a,viewMatrix:M,projectionMatrix:A}));return S.latitude=u,S.longitude=p,S.zoom=f,S.pitch=m,S.bearing=y,S.altitude=_,S.scale=w,S.center=E,Object.freeze(S),S}return o(t,e),f(t,[{key:"projectFlat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.scale;return n.i(s.a)(e,t)}},{key:"unprojectFlat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.scale;return n.i(s.b)(e,t)}},{key:"getMapCenterByLngLatPosition",value:function(e){var t=e.lngLat,r=e.pos,i=n.i(s.d)(r,this.pixelUnprojectionMatrix),o=n.i(s.a)(t,this.scale),a=c()([],o,d()([],i)),l=c()([],this.center,a);return n.i(s.b)(l,this.scale)}},{key:"getLocationAtPoint",value:function(e){var t=e.lngLat,n=e.pos;return this.getMapCenterByLngLatPosition({lngLat:t,pos:n})}},{key:"fitBounds",value:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.width,o=this.height,a=n.i(l.a)(Object.assign({width:i,height:o,bounds:e},r));return new t({width:i,height:o,longitude:a.longitude,latitude:a.latitude,zoom:a.zoom})}}]),t}(a.a);t.a=h},function(e,t,n){var r=n(214),i=n(115);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){"use strict";t.a=function(e){return null===e?NaN:+e}},function(e,t,n){"use strict";var r=n(134);n.d(t,"b",function(){return r.a});var i=(n(237),n(133),n(238),n(240),n(95));n.d(t,"a",function(){return i.a});var o=(n(241),n(546));n.d(t,"c",function(){return o.a});var a=(n(243),n(548),n(550),n(242),n(543),n(544),n(542),n(541));n.d(t,"d",function(){return a.a});n(545)},function(e,t,n){"use strict";function r(e,t){return function(n){return e+n*t}}function i(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function o(e,t){var i=t-e;return i?r(e,i>180||i<-180?i-360*Math.round(i/360):i):n.i(l.a)(isNaN(e)?t:e)}function a(e){return 1==(e=+e)?s:function(t,r){return r-t?i(t,r,e):n.i(l.a)(isNaN(t)?r:t)}}function s(e,t){var i=t-e;return i?r(e,i):n.i(l.a)(isNaN(e)?t:e)}t.b=o,t.c=a,t.a=s;var l=n(239)},function(e,t,n){"use strict";t.a=function(e){return e.match(/.{6}/g).map(function(e){return"#"+e})}},function(e,t,n){"use strict";function r(e){var t=e.domain;return e.ticks=function(e){var r=t();return n.i(o.ticks)(r[0],r[r.length-1],null==e?10:e)},e.tickFormat=function(e,r){return n.i(l.a)(t(),e,r)},e.nice=function(r){null==r&&(r=10);var i,a=t(),s=0,l=a.length-1,u=a[s],c=a[l];return c0?(u=Math.floor(u/i)*i,c=Math.ceil(c/i)*i,i=n.i(o.tickIncrement)(u,c,r)):i<0&&(u=Math.ceil(u*i)/i,c=Math.floor(c*i)/i,i=n.i(o.tickIncrement)(u,c,r)),i>0?(a[s]=Math.floor(u/i)*i,a[l]=Math.ceil(c/i)*i,t(a)):i<0&&(a[s]=Math.ceil(u*i)/i,a[l]=Math.floor(c*i)/i,t(a)),e},e}function i(){var e=n.i(s.a)(s.b,a.a);return e.copy=function(){return n.i(s.c)(e,i())},r(e)}t.b=r,t.a=i;var o=n(14),a=n(65),s=n(97),l=n(576)},function(e,t,n){"use strict";t.__esModule=!0;var r=!("undefined"==typeof window||!window.document||!window.document.createElement);t.canUseDOM=r},function(e,t,n){function r(e,t){var n=o(e,t);return i(n)?n:void 0}var i=n(810),o=n(820);e.exports=r},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function i(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function o(e){if(p===clearTimeout)return clearTimeout(e);if((p===r||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function a(){m&&f&&(m=!1,f.length?h=f.concat(h):g=-1,h.length&&s())}function s(){if(!m){var e=i(a);m=!0;for(var t=h.length;t;){for(f=h,h=[];++g1)for(var n=1;n0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;r(this,t);var a=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return Array.isArray(e)&&1===arguments.length?a.copy(e):a.set(e,n,o),a}return o(t,e),D(t,[{key:"set",value:function(e,t,n){return c()(this,e,t,n),this.check()}},{key:"angle",value:function(e){return d()(this,e)}},{key:"add",value:function(){for(var e=arguments.length,t=Array(e),n=0;n1?t-1:0),r=1;rn?n:e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.MAPBOX_LIMITS=void 0;var a=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},n=t.width,r=t.height,o=t.latitude,a=t.longitude,s=t.zoom,l=t.bearing,u=void 0===l?f.bearing:l,c=t.pitch,h=void 0===c?f.pitch:c,m=t.altitude,g=void 0===m?f.altitude:m,y=t.maxZoom,v=void 0===y?d.maxZoom:y,_=t.minZoom,b=void 0===_?d.minZoom:_,x=t.maxPitch,w=void 0===x?d.maxPitch:x,E=t.minPitch,A=void 0===E?d.minPitch:E,M=t.startPanLngLat,S=t.startZoomLngLat,C=t.startBearing,T=t.startPitch,N=t.startZoom;i(this,e),(0,p.default)(Number.isFinite(n),"`width` must be supplied"),(0,p.default)(Number.isFinite(r),"`height` must be supplied"),(0,p.default)(Number.isFinite(a),"`longitude` must be supplied"),(0,p.default)(Number.isFinite(o),"`latitude` must be supplied"),(0,p.default)(Number.isFinite(s),"`zoom` must be supplied"),this._viewportProps=this._applyConstraints({width:n,height:r,latitude:o,longitude:a,zoom:s,bearing:u,pitch:h,altitude:g,maxZoom:v,minZoom:b,maxPitch:w,minPitch:A}),this._interactiveState={startPanLngLat:M,startZoomLngLat:S,startBearing:C,startPitch:T,startZoom:N}}return s(e,[{key:"getViewportProps",value:function(){return this._viewportProps}},{key:"getInteractiveState",value:function(){return this._interactiveState}},{key:"panStart",value:function(e){var t=e.pos;return this._getUpdatedMapState({startPanLngLat:this._unproject(t)})}},{key:"pan",value:function(e){var t=e.pos,n=e.startPos,r=this._interactiveState.startPanLngLat||this._unproject(n);if(!r)return this;var i=this._calculateNewLngLat({startPanLngLat:r,pos:t}),o=a(i,2),s=o[0],l=o[1];return this._getUpdatedMapState({longitude:s,latitude:l})}},{key:"panEnd",value:function(){return this._getUpdatedMapState({startPanLngLat:null})}},{key:"rotateStart",value:function(e){e.pos;return this._getUpdatedMapState({startBearing:this._viewportProps.bearing,startPitch:this._viewportProps.pitch})}},{key:"rotate",value:function(e){var t=e.deltaScaleX,n=void 0===t?0:t,r=e.deltaScaleY,i=void 0===r?0:r,o=this._interactiveState,a=o.startBearing,s=o.startPitch;if(!Number.isFinite(a)||!Number.isFinite(s))return this;var l=this._calculateNewPitchAndBearing({deltaScaleX:n,deltaScaleY:i,startBearing:a,startPitch:s}),u=l.pitch,c=l.bearing;return this._getUpdatedMapState({bearing:c,pitch:u})}},{key:"rotateEnd",value:function(){return this._getUpdatedMapState({startBearing:null,startPitch:null})}},{key:"zoomStart",value:function(e){var t=e.pos;return this._getUpdatedMapState({startZoomLngLat:this._unproject(t),startZoom:this._viewportProps.zoom})}},{key:"zoom",value:function(e){var t=e.pos,n=e.startPos,r=e.scale;(0,p.default)(r>0,"`scale` must be a positive number");var i=this._interactiveState,o=i.startZoom,s=i.startZoomLngLat;Number.isFinite(o)||(o=this._viewportProps.zoom,s=this._unproject(n)||this._unproject(t)),(0,p.default)(s,"`startZoomLngLat` prop is required for zoom behavior to calculate where to position the map.");var l=this._calculateNewZoom({scale:r,startZoom:o}),c=new u.default(Object.assign({},this._viewportProps,{zoom:l})),d=c.getLocationAtPoint({lngLat:s,pos:t}),f=a(d,2),h=f[0],m=f[1];return this._getUpdatedMapState({zoom:l,longitude:h,latitude:m})}},{key:"zoomEnd",value:function(){return this._getUpdatedMapState({startZoomLngLat:null,startZoom:null})}},{key:"_getUpdatedMapState",value:function(t){return new e(Object.assign({},this._viewportProps,this._interactiveState,t))}},{key:"_applyConstraints",value:function(e){var t=e.maxZoom,n=e.minZoom,r=e.zoom;e.zoom=o(r,n,t);var i=e.maxPitch,a=e.minPitch,s=e.pitch;return e.pitch=o(s,a,i),Object.assign(e,(0,l.normalizeViewportProps)(e)),e}},{key:"_unproject",value:function(e){var t=new u.default(this._viewportProps);return e&&t.unproject(e)}},{key:"_calculateNewLngLat",value:function(e){var t=e.startPanLngLat,n=e.pos;return new u.default(this._viewportProps).getMapCenterByLngLatPosition({lngLat:t,pos:n})}},{key:"_calculateNewZoom",value:function(e){var t=e.scale,n=e.startZoom,r=this._viewportProps,i=r.maxZoom,a=r.minZoom;return o(n+Math.log2(t),a,i)}},{key:"_calculateNewPitchAndBearing",value:function(e){var t=e.deltaScaleX,n=e.deltaScaleY,r=e.startBearing,i=e.startPitch;n=o(n,-1,1);var a=this._viewportProps,s=a.minPitch,l=a.maxPitch,u=r+180*t,c=i;return n>0?c=i+n*(l-i):n<0&&(c=i-n*(s-i)),{pitch:c,bearing:u}}}]),e}();t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.TRANSITION_EVENTS=void 0;var o=function(){function e(e,t){for(var n=0;n0&&Boolean(e.transitionInterpolator)}},{key:"_isUpdateDueToCurrentTransition",value:function(e){return!!this.state.propsInTransition&&this.state.interpolator.arePropsEqual(e,this.state.propsInTransition)}},{key:"_shouldIgnoreViewportChange",value:function(e,t){return this._isTransitionInProgress()?this.state.interruption===d.IGNORE||this._isUpdateDueToCurrentTransition(t):!this._isTransitionEnabled(t)||t.transitionInterpolator.arePropsEqual(e,t)}},{key:"_triggerTransition",value:function(e,t){(0,s.default)(this._isTransitionEnabled(t),"Transition is not enabled"),cancelAnimationFrame(this.state.animation);var n=t.transitionInterpolator.initializeProps(e,t);this.state={duration:t.transitionDuration,easing:t.transitionEasing,interpolator:t.transitionInterpolator,interruption:t.transitionInterruption,startTime:Date.now(),startProps:n.start,endProps:n.end,animation:null,propsInTransition:{}},this._onTransitionFrame()}},{key:"_onTransitionFrame",value:function(){this.state.animation=requestAnimationFrame(this._onTransitionFrame),this._updateViewport()}},{key:"_endTransition",value:function(){cancelAnimationFrame(this.state.animation),this.state=h}},{key:"_updateViewport",value:function(){var e=Date.now(),t=this.state,n=t.startTime,r=t.duration,i=t.easing,o=t.interpolator,a=t.startProps,s=t.endProps,l=!1,u=(e-n)/r;u>=1&&(u=1,l=!0),u=i(u);var p=o.interpolateProps(a,s,u),d=new c.default(Object.assign({},this.props,p));this.state.propsInTransition=d.getViewportProps(),this.props.onViewportChange&&this.props.onViewportChange(this.state.propsInTransition),l&&(this._endTransition(),this.props.onTransitionEnd())}}]),e}();t.default=m,m.defaultProps=f},function(e,t,n){e.exports={default:n(467),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(461),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(){function e(e,t){for(var n=0;n=n?1:r(e)}}}function o(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:r(e)}}}function a(e,t,n,r){var i=e[0],o=e[1],a=t[0],s=t[1];return o2?s:a,c=f=null,l}function l(t){return(c||(c=u(g,y,_?i(e):e,v)))(+t)}var u,c,f,g=m,y=m,v=p.b,_=!1;return l.invert=function(e){return(f||(f=u(y,g,r,_?o(t):t)))(+e)},l.domain=function(e){return arguments.length?(g=d.a.call(e,h.a),n()):g.slice()},l.range=function(e){return arguments.length?(y=d.b.call(e),n()):y.slice()},l.rangeRound=function(e){return y=d.b.call(e),v=p.c,n()},l.clamp=function(e){return arguments.length?(_=!!e,n()):_},l.interpolate=function(e){return arguments.length?(v=e,n()):v},n()}t.b=r,t.c=l,t.a=u;var c=n(14),p=n(65),d=n(34),f=n(136),h=n(250),m=[0,1]},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";function r(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function i(e,t,n){e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)}function o(){return window.location.href.split("#")[1]||""}function a(e){window.location.replace(window.location.pathname+window.location.search+"#"+e)}function s(){return window.location.pathname+window.location.search+window.location.hash}function l(e){e&&window.history.go(e)}function u(e,t){t(window.confirm(e))}function c(){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"))&&(window.history&&"pushState"in window.history)}function p(){return-1===navigator.userAgent.indexOf("Firefox")}t.__esModule=!0,t.addEventListener=r,t.removeEventListener=i,t.getHashPath=o,t.replaceHashPath=a,t.getWindowPath=s,t.go=l,t.getUserConfirmation=u,t.supportsHistory=c,t.supportsGoWithoutReloadUsingHash=p},function(e,t,n){"use strict";function r(e){return Object.prototype.hasOwnProperty.call(e,m)||(e[m]=f++,p[e[m]]={}),p[e[m]]}var i,o=n(4),a=n(152),s=n(873),l=n(294),u=n(905),c=n(163),p={},d=!1,f=0,h={topAbort:"abort",topAnimationEnd:u("animationend")||"animationend",topAnimationIteration:u("animationiteration")||"animationiteration",topAnimationStart:u("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:u("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},m="_reactListenersID"+String(Math.random()).slice(2),g=o({},s,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(g.handleTopLevel),g.ReactEventListener=e}},setEnabled:function(e){g.ReactEventListener&&g.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!g.ReactEventListener||!g.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,i=r(n),o=a.registrationNameDependencies[e],s=0;s]/;e.exports=i},function(e,t,n){"use strict";var r,i=n(10),o=n(151),a=/^[ \r\n\t\f]/,s=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,l=n(159),u=l(function(e,t){if(e.namespaceURI!==o.svg||"innerHTML"in e)e.innerHTML=t;else{r=r||document.createElement("div"),r.innerHTML=""+t+"";for(var n=r.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(i.canUseDOM){var c=document.createElement("div");c.innerHTML=" ",""===c.innerHTML&&(u=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),a.test(t)||"<"===t[0]&&s.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),c=null}e.exports=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},o=Object.assign||function(e){for(var t=1;t0?r:n)(e)}},function(e,t,n){var r=n(114);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(90);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(19),i=n(25),o=n(117),a=n(126),s=n(33).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){t.f=n(47)},function(e,t,n){"use strict";var r=n(64);t.a=function(e,t,n){if(null==n&&(n=r.a),i=e.length){if((t=+t)<=0||i<2)return+n(e[0],0,e);if(t>=1)return+n(e[i-1],i-1,e);var i,o=(i-1)*t,a=Math.floor(o),s=+n(e[a],a,e);return s+(+n(e[a+1],a+1,e)-s)*(o-a)}}},function(e,t,n){"use strict";function r(){}function i(e,t){var n=new r;if(e instanceof r)e.each(function(e,t){n.set(t,e)});else if(Array.isArray(e)){var i,o=-1,a=e.length;if(null==t)for(;++o>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1)):(t=w.exec(e))?o(parseInt(t[1],16)):(t=E.exec(e))?new u(t[1],t[2],t[3],1):(t=A.exec(e))?new u(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=M.exec(e))?a(t[1],t[2],t[3],t[4]):(t=S.exec(e))?a(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=C.exec(e))?c(t[1],t[2]/100,t[3]/100,1):(t=T.exec(e))?c(t[1],t[2]/100,t[3]/100,t[4]):N.hasOwnProperty(e)?o(N[e]):"transparent"===e?new u(NaN,NaN,NaN,0):null}function o(e){return new u(e>>16&255,e>>8&255,255&e,1)}function a(e,t,n,r){return r<=0&&(e=t=n=NaN),new u(e,t,n,r)}function s(e){return e instanceof r||(e=i(e)),e?(e=e.rgb(),new u(e.r,e.g,e.b,e.opacity)):new u}function l(e,t,n,r){return 1===arguments.length?s(e):new u(e,t,n,null==r?1:r)}function u(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function c(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new f(e,t,n,r)}function p(e){if(e instanceof f)return new f(e.h,e.s,e.l,e.opacity);if(e instanceof r||(e=i(e)),!e)return new f;if(e instanceof f)return e;e=e.rgb();var t=e.r/255,n=e.g/255,o=e.b/255,a=Math.min(t,n,o),s=Math.max(t,n,o),l=NaN,u=s-a,c=(s+a)/2;return u?(l=t===s?(n-o)/u+6*(n0&&c<1?0:l,new f(l,u,c,e.opacity)}function d(e,t,n,r){return 1===arguments.length?p(e):new f(e,t,n,null==r?1:r)}function f(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function h(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}t.c=r,n.d(t,"e",function(){return g}),n.d(t,"d",function(){return y}),t.h=i,t.b=s,t.g=l,t.a=u,t.f=d;var m=n(130),g=.7,y=1/g,v="\\s*([+-]?\\d+)\\s*",_="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",b="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",x=/^#([0-9a-f]{3})$/,w=/^#([0-9a-f]{6})$/,E=new RegExp("^rgb\\("+[v,v,v]+"\\)$"),A=new RegExp("^rgb\\("+[b,b,b]+"\\)$"),M=new RegExp("^rgba\\("+[v,v,v,_]+"\\)$"),S=new RegExp("^rgba\\("+[b,b,b,_]+"\\)$"),C=new RegExp("^hsl\\("+[_,b,b]+"\\)$"),T=new RegExp("^hsla\\("+[_,b,b,_]+"\\)$"),N={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};n.i(m.a)(r,i,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),n.i(m.a)(u,l,n.i(m.b)(r,{brighter:function(e){return e=null==e?y:Math.pow(y,e),new u(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?g:Math.pow(g,e),new u(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(1===e?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}})),n.i(m.a)(f,d,n.i(m.b)(r,{brighter:function(e){return e=null==e?y:Math.pow(y,e),new f(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?g:Math.pow(g,e),new f(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new u(h(e>=240?e-240:e+120,i,r),h(e,i,r),h(e<120?e+240:e-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}))},function(e,t,n){"use strict";function r(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}t.b=r,t.a=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e}},function(e,t,n){"use strict";function r(e){return new Function("d","return {"+e.map(function(e,t){return JSON.stringify(e)+": d["+t+"]"}).join(",")+"}")}function i(e,t){var n=r(e);return function(r,i){return t(n(r),i,e)}}function o(e){var t=Object.create(null),n=[];return e.forEach(function(e){for(var r in e)r in t||n.push(t[r]=r)}),n}var a={},s={},l=34,u=10,c=13;t.a=function(e){function t(e,t){var o,a,s=n(e,function(e,n){if(o)return o(e,n-1);a=e,o=t?i(e,t):r(e)});return s.columns=a||[],s}function n(e,t){function n(){if(f)return s;if(h)return h=!1,a;var t,n,r=p;if(e.charCodeAt(r)===l){for(;p++=o?f=!0:(n=e.charCodeAt(p++))===u?h=!0:n===c&&(h=!0,e.charCodeAt(p)===u&&++p),e.slice(r+1,t-1).replace(/""/g,'"')}for(;p1?r[0]+r.slice(2):r,+e.slice(n+1)]}},function(e,t,n){"use strict";function r(e,t,n,r,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*n+(1+3*e+3*o-3*a)*r+a*i)/6}t.b=r,t.a=function(e){var t=e.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[i],a=e[i+1],s=i>0?e[i-1]:2*o-a,l=i=200&&n<300||304===n){if(c)try{t=c.call(l,h)}catch(e){return void d.call("error",l,e)}else t=h;d.call("load",l,t)}else d.call("error",l,e)}var l,u,c,p,d=n.i(a.a)("beforesend","progress","load","error"),f=n.i(o.a)(),h=new XMLHttpRequest,m=null,g=null,y=0;if("undefined"==typeof XDomainRequest||"withCredentials"in h||!/^(http(s)?:)?\/\//.test(e)||(h=new XDomainRequest),"onload"in h?h.onload=h.onerror=h.ontimeout=s:h.onreadystatechange=function(e){h.readyState>3&&s(e)},h.onprogress=function(e){d.call("progress",l,e)},l={header:function(e,t){return e=(e+"").toLowerCase(),arguments.length<2?f.get(e):(null==t?f.remove(e):f.set(e,t+""),l)},mimeType:function(e){return arguments.length?(u=null==e?null:e+"",l):u},responseType:function(e){return arguments.length?(p=e,l):p},timeout:function(e){return arguments.length?(y=+e,l):y},user:function(e){return arguments.length<1?m:(m=null==e?null:e+"",l)},password:function(e){return arguments.length<1?g:(g=null==e?null:e+"",l)},response:function(e){return c=e,l},get:function(e,t){return l.send("GET",e,t)},post:function(e,t){return l.send("POST",e,t)},send:function(t,n,i){return h.open(t,e,!0,m,g),null==u||f.has("accept")||f.set("accept",u+",*/*"),h.setRequestHeader&&f.each(function(e,t){h.setRequestHeader(t,e)}),null!=u&&h.overrideMimeType&&h.overrideMimeType(u),null!=p&&(h.responseType=p),y>0&&(h.timeout=y),null==i&&"function"==typeof n&&(i=n,n=null),null!=i&&1===i.length&&(i=r(i)),null!=i&&l.on("error",i).on("load",function(e){i(null,e)}),d.call("beforesend",l,h),h.send(null==n?null:n),l},abort:function(){return h.abort(),l},on:function(){var e=d.on.apply(d,arguments);return e===d?l:e}},null!=t){if("function"!=typeof t)throw new Error("invalid callback: "+t);return l.get(t)}return l}},function(e,t,n){"use strict";t.a=function(e){return function(){return e}}},function(e,t,n){"use strict";n.d(t,"c",function(){return i}),n.d(t,"a",function(){return a}),n.d(t,"b",function(){return s});var r,i,o,a,s,l=n(255);!function(e){r=n.i(l.a)(e),i=r.format,o=r.parse,a=r.utcFormat,s=r.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})},function(e,t,n){"use strict";var r=(n(9),n(582));n.d(t,"v",function(){return r.a}),n.d(t,"h",function(){return r.a});var i=n(585);n.d(t,"u",function(){return i.a}),n.d(t,"g",function(){return i.a});var o=n(583);n.d(t,"t",function(){return o.a});var a=n(581);n.d(t,"s",function(){return a.a});var s=n(580);n.d(t,"k",function(){return s.a});var l=n(592);n.d(t,"r",function(){return l.a}),n.d(t,"m",function(){return l.a}),n.d(t,"j",function(){return l.b}),n.d(t,"n",function(){return l.c});var u=n(584);n.d(t,"q",function(){return u.a});var c=n(593);n.d(t,"l",function(){return c.a});var p=n(588);n.d(t,"f",function(){return p.a});var d=n(587);n.d(t,"e",function(){return d.a});var f=n(586);n.d(t,"d",function(){return f.a});var h=n(590);n.d(t,"c",function(){return h.a}),n.d(t,"o",function(){return h.a}),n.d(t,"i",function(){return h.b}),n.d(t,"p",function(){return h.c});var m=n(589);n.d(t,"b",function(){return m.a});var g=n(591);n.d(t,"a",function(){return g.a})},function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!==e&&t!==t}function i(e,t){if(r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var a=0;a1?t-1:0),o=1;o-1||a("96",e),!u.plugins[n]){t.extractEvents||a("97",e),u.plugins[n]=t;var r=t.eventTypes;for(var o in r)i(r[o],t,o)||a("98",o,e)}}}function i(e,t,n){u.eventNameDispatchConfigs.hasOwnProperty(n)&&a("99",n),u.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var i in r)if(r.hasOwnProperty(i)){var s=r[i];o(s,t,n)}return!0}return!!e.registrationName&&(o(e.registrationName,t,n),!0)}function o(e,t,n){u.registrationNameModules[e]&&a("100",e),u.registrationNameModules[e]=t,u.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var a=n(3),s=(n(1),null),l={},u={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(e){s&&a("101"),s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];l.hasOwnProperty(n)&&l[n]===i||(l[n]&&a("102",n),l[n]=i,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return u.registrationNameModules[t.registrationName]||null;if(void 0!==t.phasedRegistrationNames){var n=t.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var i=u.registrationNameModules[n[r]];if(i)return i}}return null},_resetEventPlugins:function(){s=null;for(var e in l)l.hasOwnProperty(e)&&delete l[e];u.plugins.length=0;var t=u.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=u.registrationNameModules;for(var i in r)r.hasOwnProperty(i)&&delete r[i]}};e.exports=u},function(e,t,n){"use strict";function r(e){return"topMouseUp"===e||"topTouchEnd"===e||"topTouchCancel"===e}function i(e){return"topMouseMove"===e||"topTouchMove"===e}function o(e){return"topMouseDown"===e||"topTouchStart"===e}function a(e,t,n,r){var i=e.type||"unknown-event";e.currentTarget=y.getNodeFromInstance(r),t?m.invokeGuardedCallbackWithCatch(i,n,e):m.invokeGuardedCallback(i,n,e),e.currentTarget=null}function s(e,t){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var i=0;i0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function o(e,t){var n=s.get(e);if(!n){return null}return n}var a=n(3),s=(n(23),n(75)),l=(n(15),n(18)),u=(n(1),n(2),{isMounted:function(e){var t=s.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){u.validateCallback(t,n);var i=o(e);if(!i)return null;i._pendingCallbacks?i._pendingCallbacks.push(t):i._pendingCallbacks=[t],r(i)},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=o(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t,n){var i=o(e,"replaceState");i&&(i._pendingStateQueue=[t],i._pendingReplaceState=!0,void 0!==n&&null!==n&&(u.validateCallback(n,"replaceState"),i._pendingCallbacks?i._pendingCallbacks.push(n):i._pendingCallbacks=[n]),r(i))},enqueueSetState:function(e,t){var n=o(e,"setState");if(n){(n._pendingStateQueue||(n._pendingStateQueue=[])).push(t),r(n)}},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,r(e)},validateCallback:function(e,t){e&&"function"!=typeof e&&a("122",t,i(e))}});e.exports=u},function(e,t,n){"use strict";var r=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e};e.exports=r},function(e,t,n){"use strict";function r(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,t>=32||13===t?t:0}e.exports=r},function(e,t,n){"use strict";function r(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=o[e];return!!r&&!!n[r]}function i(e){return r}var o={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};e.exports=i},function(e,t,n){"use strict";function r(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}e.exports=r},function(e,t,n){"use strict";/** * Checks if an event is supported in the current execution environment. * * NOTE: This will not work correctly for non-generic events such as `change`, @@ -23,14 +23,14 @@ function r(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n * @internal * @license Modernizr 3.0.0pre (Custom Build) | MIT */ -function r(e,t){if(!o.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var a=document.createElement("div");a.setAttribute(n,"return;"),r="function"==typeof a[n]}return!r&&i&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var i,o=n(10);o.canUseDOM&&(i=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=null===e||!1===e,r=null===t||!1===t;if(n||r)return n===r;var i=typeof e,o=typeof t;return"string"===i||"number"===i?"string"===o||"number"===o:"object"===o&&e.type===t.type&&e.key===t.key}e.exports=r},function(e,t,n){"use strict";var r=(n(4),n(12)),i=(n(2),r);e.exports=i},function(e,t,n){"use strict";function r(e,t,n){function r(){if(a=!0,s)return void(u=[].concat(Array.prototype.slice.call(arguments)));n.apply(this,arguments)}function i(){if(!a&&(l=!0,!s)){for(s=!0;!a&&o=e&&l&&(a=!0,n())}}var o=0,a=!1,s=!1,l=!1,u=void 0;i()}function i(e,t,n){function r(e,t,r){a||(t?(a=!0,n(t)):(o[e]=r,(a=++s===i)&&n(null,o)))}var i=e.length,o=[];if(0===i)return n(null,o);var a=!1,s=0;e.forEach(function(e,n){t(e,n,function(e,t){r(n,e,t)})})}t.__esModule=!0,t.loopAsync=r,t.mapAsync=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.router=t.routes=t.route=t.components=t.component=t.location=t.history=t.falsy=t.locationShape=t.routerShape=void 0;var i=n(0),o=n(106),a=(r(o),n(40)),s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(a),l=n(8),u=(r(l),i.PropTypes.func),c=i.PropTypes.object,p=i.PropTypes.shape,d=i.PropTypes.string,f=t.routerShape=p({push:u.isRequired,replace:u.isRequired,go:u.isRequired,goBack:u.isRequired,goForward:u.isRequired,setRouteLeaveHook:u.isRequired,isActive:u.isRequired}),h=t.locationShape=p({pathname:d.isRequired,search:d.isRequired,state:c,action:d.isRequired,key:d}),m=t.falsy=s.falsy,g=t.history=s.history,y=t.location=h,v=t.component=s.component,_=t.components=s.components,b=t.route=s.route,x=(t.routes=s.routes,t.router=f),w={falsy:m,history:g,location:y,component:v,components:_,route:b,router:x};t.default=w},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!0;return!1}function o(e,t){function n(t){var n=!(arguments.length<=1||void 0===arguments[1])&&arguments[1],r=arguments.length<=2||void 0===arguments[2]?null:arguments[2],i=void 0;return n&&!0!==n||null!==r?(t={pathname:t,query:n},i=r||!1):(t=e.createLocation(t),i=n),(0,d.default)(t,i,_.location,_.routes,_.params)}function r(e,n){b&&b.location===e?o(b,n):(0,g.default)(t,e,function(t,r){t?n(t):r?o(a({},r,{location:e}),n):n()})}function o(e,t){function n(n,i){if(n||i)return r(n,i);(0,h.default)(e,function(n,r){n?t(n):t(null,null,_=a({},e,{components:r}))})}function r(e,n){e?t(e):t(null,n)}var i=(0,u.default)(_,e),o=i.leaveRoutes,s=i.changeRoutes,l=i.enterRoutes;(0,c.runLeaveHooks)(o,_),o.filter(function(e){return-1===l.indexOf(e)}).forEach(m),(0,c.runChangeHooks)(s,_,e,function(t,i){if(t||i)return r(t,i);(0,c.runEnterHooks)(l,e,n)})}function s(e){var t=arguments.length<=1||void 0===arguments[1]||arguments[1];return e.__id__||t&&(e.__id__=x++)}function l(e){return e.reduce(function(e,t){return e.push.apply(e,w[s(t)]),e},[])}function p(e,n){(0,g.default)(t,e,function(t,r){if(null==r)return void n();b=a({},r,{location:e});for(var i=l((0,u.default)(_,b).leaveRoutes),o=void 0,s=0,c=i.length;null==o&&s0&&(o=1/Math.sqrt(o),e[0]=t[0]*o,e[1]=t[1]*o,e[2]=t[2]*o),e}e.exports=n},function(e,t){function n(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e[3]=t[3]+n[3],e}e.exports=n},function(e,t){function n(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]+e[3]*t[3]}e.exports=n},function(e,t){function n(e,t,n,r){var i=t[0],o=t[1],a=t[2],s=t[3];return e[0]=i+r*(n[0]-i),e[1]=o+r*(n[1]-o),e[2]=a+r*(n[2]-a),e[3]=s+r*(n[3]-s),e}e.exports=n},function(e,t){function n(e,t){var n=t[0],r=t[1],i=t[2],o=t[3],a=n*n+r*r+i*i+o*o;return a>0&&(a=1/Math.sqrt(a),e[0]=n*a,e[1]=r*a,e[2]=i*a,e[3]=o*a),e}e.exports=n},function(e,t){function n(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=r,e[3]=i,e}e.exports=n},function(e,t){function n(e,t,n){var r=t[0],i=t[1],o=t[2],a=t[3];return e[0]=n[0]*r+n[4]*i+n[8]*o+n[12]*a,e[1]=n[1]*r+n[5]*i+n[9]*o+n[13]*a,e[2]=n[2]*r+n[6]*i+n[10]*o+n[14]*a,e[3]=n[3]*r+n[7]*i+n[11]*o+n[15]*a,e}e.exports=n},function(e,t,n){"use strict";function r(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 a=n(41),s=n(16),l=n(192),u=n(81),c=n(193),p=n(24),d=n.n(p),f=n(331),h=n.n(f),m=n(332),g=n.n(m),y=n(333),v=n.n(y),_=n(335),b=n.n(_),x=n(336),w=n.n(x),E=n(173),A=n.n(E),M=n(338),S=n.n(M),C=n(171),T=n.n(C),N=n(172),O=n.n(N),k=n(174),I=n.n(k),D=n(337),L=n.n(D),P=n(107),R=n.n(P),j=n(108),z=n.n(j),B=n(109),F=n.n(B),U=n(366),G=n.n(U),q=n(379),V=n.n(q),H=n(189),W=n.n(H),Z=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),Y=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:0,l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:0,u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:0,c=arguments.length>10&&void 0!==arguments[10]?arguments[10]:1,p=arguments.length>11&&void 0!==arguments[11]?arguments[11]:0,d=arguments.length>12&&void 0!==arguments[12]?arguments[12]:0,f=arguments.length>13&&void 0!==arguments[13]?arguments[13]:0,h=arguments.length>14&&void 0!==arguments[14]?arguments[14]:0,m=arguments.length>15&&void 0!==arguments[15]?arguments[15]:1;return this.set(e,i,l,d,t,o,u,f,n,a,c,h,r,s,p,m)}},{key:"setColumnMajor",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:0,l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:0,u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:0,c=arguments.length>10&&void 0!==arguments[10]?arguments[10]:1,p=arguments.length>11&&void 0!==arguments[11]?arguments[11]:0,d=arguments.length>12&&void 0!==arguments[12]?arguments[12]:0,f=arguments.length>13&&void 0!==arguments[13]?arguments[13]:0,h=arguments.length>14&&void 0!==arguments[14]?arguments[14]:0,m=arguments.length>15&&void 0!==arguments[15]?arguments[15]:1;return this.set(e,t,n,r,i,o,a,s,l,u,c,p,d,f,h,m)}},{key:"set",value:function(e,t,n,r,i,o,a,s,l,u,c,p,d,f,h,m){return this[0]=e,this[1]=t,this[2]=n,this[3]=r,this[4]=i,this[5]=o,this[6]=a,this[7]=s,this[8]=l,this[9]=u,this[10]=c,this[11]=p,this[12]=d,this[13]=f,this[14]=h,this[15]=m,this.check(),this}},{key:"determinant",value:function(){return h()(this)}},{key:"identity",value:function(){for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:{},t=e.eye,n=e.center,r=void 0===n?[0,0,0]:n,i=e.up,o=void 0===i?[0,1,0]:i;return b()(this,t,r,o),this.check(),this}},{key:"ortho",value:function(e){var t=e.left,n=e.right,r=e.bottom,i=e.top,o=e.near,a=void 0===o?.1:o,s=e.far,l=void 0===s?500:s;return w()(this,t,n,r,i,a,l),this.check(),this}},{key:"perspective",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.fov,n=void 0===t?45*Math.PI/180:t,r=e.aspect,i=void 0===r?1:r,o=e.near,a=void 0===o?.1:o,s=e.far,l=void 0===s?500:s;if(n>2*Math.PI)throw Error("radians");return A()(this,n,i,a,l),this.check(),this}},{key:"transpose",value:function(){return S()(this,this),this.check(),this}},{key:"invert",value:function(){return T()(this,this),this.check(),this}},{key:"multiplyLeft",value:function(e){return O()(this,e,this),this.check(),this}},{key:"multiplyRight",value:function(e){return O()(this,this,e),this.check(),this}},{key:"rotateX",value:function(e){return I()(this,this,e),this.check(),this}},{key:"rotateY",value:function(e){return L()(this,this,e),this.check(),this}},{key:"rotateZ",value:function(e){return R()(this,this,e),this.check(),this}},{key:"rotateXYZ",value:function(e){var t=Z(e,3),n=t[0],r=t[1],i=t[2];return this.rotateX(n).rotateY(r).rotateZ(i)}},{key:"rotateAxis",value:function(e,t){return R()(this,this,e,t),this.check(),this}},{key:"scale",value:function(e){return z()(this,this,e),this.check(),this}},{key:"translate",value:function(e){return F()(this,this,e),this.check(),this}},{key:"transformVector2",value:function(e,t){return t=t||new l.a,G()(t,e,this),d()(n.i(l.b)(t)),t}},{key:"transformVector3",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new u.a;return t=t||new u.a,V()(t,e,this),d()(n.i(u.b)(t)),t}},{key:"transformVector4",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new c.a;return t=t||new c.a,W()(t,e,this),d()(n.i(c.b)(t)),t}},{key:"transformVector",value:function(e,t){switch(e.length){case 2:return this.transformVector2(e,t);case 3:return this.transformVector3(e,t);case 4:return this.transformVector4(e,t);default:throw new Error("Illegal vector")}}},{key:"transformDirection",value:function(e,t){switch(e.length){case 2:W()($,[e[0],e[1],0,0],this),t=t||new l.a,t[0]=$[0],t[1]=$[1];break;case 3:W()($,[e[0],e[1],e[2],0],this),t=t||new u.a,t[0]=$[0],t[1]=$[1],t[2]=$[2];break;case 4:d()(0===e[3]),t=t||new c.a,W()(t,e,this);break;default:throw new Error("Illegal vector")}return t}},{key:"transformPoint",value:function(e,t){switch(e.length){case 2:t=t||new l.a,W()(t,[e[0],e[1],0,1],this),t.length=2,d()(n.i(l.b)(t));break;case 3:t=t||new u.a,W()(t,[e[0],e[1],e[2],1],this),t.length=3,d()(n.i(u.b)(t));break;case 4:d()(0!==e[3]),t=t||new c.a,W()(t,e,this),d()(n.i(c.b)(t));break;default:throw new Error("Illegal vector")}return t}},{key:"ELEMENTS",get:function(){return 16}},{key:"m00",get:function(){return this[0]},set:function(e){return this[0]=n.i(s.g)(e)}},{key:"m01",get:function(){return this[4]},set:function(e){return this[4]=n.i(s.g)(e)}},{key:"m02",get:function(){return this[8]},set:function(e){return this[8]=n.i(s.g)(e)}},{key:"m03",get:function(){return this[12]},set:function(e){return this[12]=n.i(s.g)(e)}},{key:"m10",get:function(){return this[1]},set:function(e){return this[1]=n.i(s.g)(e)}},{key:"m11",get:function(){return this[5]},set:function(e){return this[5]=n.i(s.g)(e)}},{key:"m12",get:function(){return this[9]},set:function(e){return this[9]=n.i(s.g)(e)}},{key:"m13",get:function(){return this[13]},set:function(e){return this[13]=n.i(s.g)(e)}},{key:"m20",get:function(){return this[2]},set:function(e){return this[2]=n.i(s.g)(e)}},{key:"m21",get:function(){return this[6]},set:function(e){return this[6]=n.i(s.g)(e)}},{key:"m22",get:function(){return this[10]},set:function(e){return this[10]=n.i(s.g)(e)}},{key:"m23",get:function(){return this[14]},set:function(e){return this[14]=n.i(s.g)(e)}},{key:"m30",get:function(){return this[3]},set:function(e){return this[3]=n.i(s.g)(e)}},{key:"m31",get:function(){return this[7]},set:function(e){return this[7]=n.i(s.g)(e)}},{key:"m32",get:function(){return this[11]},set:function(e){return this[11]=n.i(s.g)(e)}},{key:"m33",get:function(){return this[15]},set:function(e){return this[15]=n.i(s.g)(e)}}]),t}(a.a);t.a=K},function(e,t,n){"use strict";function r(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 a=n(41),s=n(16),l=n(343),u=n.n(l),c=n(344),p=n.n(c),d=n(346),f=n.n(d),h=n(356),m=n.n(h),g=n(342),y=n.n(g),v=n(352),_=n.n(v),b=n(339),x=n.n(b),w=n(340),E=n.n(w),A=n(341),M=n.n(A),S=n(345),C=n.n(S),T=n(347),N=n.n(T),O=n(348),k=n.n(O),I=n(175),D=n.n(I),L=n(349),P=n.n(L),R=n(350),j=n.n(R),z=n(351),B=n.n(z),F=n(353),U=n.n(F),G=n(354),q=n.n(G),V=n(176),H=n.n(V),W=n(355),Z=n.n(W),Y=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;r(this,t);var s=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return Array.isArray(e)&&1===arguments.length?s.copy(e):s.set(e,n,o,a),s}return o(t,e),Y(t,[{key:"fromMatrix3",value:function(e){return u()(this,e),this.check(),this}},{key:"fromValues",value:function(e,t,n,r){return this.set(e,t,n,r)}},{key:"identity",value:function(){return p()(this),this.check(),this}},{key:"length",value:function(){return f()(this)}},{key:"squaredLength",value:function(e){return m()(this)}},{key:"dot",value:function(e,t){if(void 0!==t)throw new Error("Quaternion.dot only takes one argument");return y()(this,e)}},{key:"rotationTo",value:function(e,t){return _()(this,e,t),this.check(),this}},{key:"add",value:function(e,t){if(void 0!==t)throw new Error("Quaternion.add only takes one argument");return x()(this,e),this.check(),this}},{key:"calculateW",value:function(){return E()(this,this),this.check(),this}},{key:"conjugate",value:function(){return M()(this,this),this.check(),this}},{key:"invert",value:function(){return C()(this,this),this.check(),this}},{key:"lerp",value:function(e,t,n){return N()(this,e,t,n),this.check(),this}},{key:"multiply",value:function(e,t){if(void 0!==t)throw new Error("Quaternion.multiply only takes one argument");return k()(this,this,t),this.check(),this}},{key:"normalize",value:function(){return D()(this,this),this.check(),this}},{key:"rotateX",value:function(e){return P()(this,this,e),this.check(),this}},{key:"rotateY",value:function(e){return j()(this,this,e),this.check(),this}},{key:"rotateZ",value:function(e){return B()(this,this,e),this.check(),this}},{key:"scale",value:function(e){return U()(this,this,e),this.check(),this}},{key:"set",value:function(e,t,n,r){return q()(this,e,t,n,r),this.check(),this}},{key:"setAxisAngle",value:function(e,t){return H()(this,e,t),this.check(),this}},{key:"slerp",value:function(e){var t=e.start,n=void 0===t?Q:t,r=e.target,i=e.ratio;return Z()(this,n,r,i),this.check(),this}},{key:"ELEMENTS",get:function(){return 4}},{key:"x",get:function(){return this[0]},set:function(e){return this[0]=n.i(s.g)(e)}},{key:"y",get:function(){return this[1]},set:function(e){return this[1]=n.i(s.g)(e)}},{key:"z",get:function(){return this[2]},set:function(e){return this[2]=n.i(s.g)(e)}},{key:"w",get:function(){return this[3]},set:function(e){return this[3]=n.i(s.g)(e)}}]),t}(a.a);t.a=$},function(e,t,n){"use strict";function r(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)}function a(e){return 2===e.length&&Number.isFinite(e[0])&&Number.isFinite(e[1])}t.b=a;var s=n(41),l=n(16),u=n(364),c=n.n(u),p=n(177),d=n.n(p),f=n(365),h=n.n(f),m=n(360),g=n.n(m),y=n(358),v=n.n(y),_=n(362),b=n.n(_),x=n(363),w=n.n(x),E=n(179),A=n.n(E),M=n(361),S=n.n(M),C=n(359),T=n.n(C),N=n(357),O=n.n(N),k=n(178),I=n.n(k),D=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;r(this,t);var o=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return Array.isArray(e)&&1===arguments.length?o.copy(e):o.set(e,n),o}return o(t,e),D(t,[{key:"set",value:function(e,t){return c()(this,e,t),this.check(),this}},{key:"add",value:function(){for(var e=arguments.length,t=Array(e),n=0;n1?t-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;r(this,t);var s=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return Array.isArray(e)&&1===arguments.length?s.copy(e):s.set(e,n,o,a),s}return o(t,e),P(t,[{key:"set",value:function(e,t,n,r){return c()(this,e,t,n,r),this.check(),this}},{key:"distance",value:function(e){return d()(e)}},{key:"add",value:function(){for(var e=arguments.length,t=Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{};a.forEach(function(t){if(e.hasOwnProperty(t.old)){var n=r(t.old);t.new&&(n=n+" "+i(t.new)),console.warn(n)}})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=[{old:"onChangeViewport",new:"onViewportChange"},{old:"perspectiveEnabled",new:"dragRotate"},{old:"onHoverFeatures",new:"onHover"},{old:"onClickFeatures",new:"onClick"},{old:"touchZoomRotate",new:"touchZoom, touchRotate"}]},function(e,t,n){"use strict";function r(e){return Boolean(e&&e[i])}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i="@@__IMMUTABLE_MAP__@@"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(){function e(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw o}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.mapState.getViewportProps(),i=Object.assign({},e.getViewportProps(),t);this.onViewportChange&&Object.keys(i).some(function(e){return r[e]!==i[e]})&&this.onViewportChange(i),this.setState(Object.assign({},e.getInteractiveState(),n))}},{key:"getMapState",value:function(e){return new l.default(Object.assign({},this.mapStateProps,this._state,e))}},{key:"setOptions",value:function(e){var t=e.onChangeViewport,n=e.touchZoomRotate,r=void 0===n||n,i=e.onViewportChange,o=e.onStateChange,a=void 0===o?this.onStateChange:o,s=e.eventManager,l=void 0===s?this.eventManager:s,u=e.scrollZoom,c=void 0===u||u,p=e.dragPan,d=void 0===p||p,h=e.dragRotate,m=void 0===h||h,g=e.doubleClickZoom,y=void 0===g||g,v=e.touchZoom,_=void 0===v||v,b=e.touchRotate,x=void 0!==b&&b,w=e.keyboard,E=void 0===w||w;this.onViewportChange=i||t,this.onStateChange=a,this.mapStateProps=e,this.eventManager!==l&&(this.eventManager=l,this._events={},this.toggleEvents(this.events,!0));var A=Boolean(this.onViewportChange);this.toggleEvents(f.WHEEL,A&&c),this.toggleEvents(f.PAN,A&&(d||m)),this.toggleEvents(f.PINCH,A&&r),this.toggleEvents(f.DOUBLE_TAP,A&&y),this.toggleEvents(f.KEYBOARD,A&&E),this.scrollZoom=c,this.dragPan=d,this.dragRotate=m,this.doubleClickZoom=y,this.touchZoom=r&&_,this.touchRotate=r&&x,this.keyboard=E}},{key:"toggleEvents",value:function(e,t){var n=this;this.eventManager&&e.forEach(function(e){n._events[e]!==t&&(n._events[e]=t,t?n.eventManager.on(e,n.handleEvent):n.eventManager.off(e,n.handleEvent))})}},{key:"_onPanStart",value:function(e){var t=this.getCenter(e),n=this.mapState.panStart({pos:t}).rotateStart({pos:t});return this.updateViewport(n,p,{isDragging:!0})}},{key:"_onPan",value:function(e){return this.isFunctionKeyPressed(e)||e.rightButton?this._onPanRotate(e):this._onPanMove(e)}},{key:"_onPanEnd",value:function(e){var t=this.mapState.panEnd().rotateEnd();return this.updateViewport(t,null,{isDragging:!1})}},{key:"_onPanMove",value:function(e){if(!this.dragPan)return!1;var t=this.getCenter(e),n=this.mapState.pan({pos:t});return this.updateViewport(n,p,{isDragging:!0})}},{key:"_onPanRotate",value:function(e){if(!this.dragRotate)return!1;var t=e.deltaX,n=e.deltaY,r=this.getCenter(e),i=o(r,2),a=i[1],s=a-n,l=this.mapState.getViewportProps(),u=l.width,c=l.height,d=t/u,f=0;n>0?Math.abs(c-s)>5&&(f=n/(s-c)*1.2):n<0&&s>5&&(f=1-a/s),f=Math.min(1,Math.max(-1,f));var h=this.mapState.rotate({deltaScaleX:d,deltaScaleY:f});return this.updateViewport(h,p,{isDragging:!0})}},{key:"_onWheel",value:function(e){if(!this.scrollZoom)return!1;var t=this.getCenter(e),n=e.delta,r=2/(1+Math.exp(-Math.abs(.01*n)));n<0&&0!==r&&(r=1/r);var i=this.mapState.zoom({pos:t,scale:r});return this.updateViewport(i,p)}},{key:"_onPinchStart",value:function(e){var t=this.getCenter(e),n=this.mapState.zoomStart({pos:t}).rotateStart({pos:t});return this._state.startPinchRotation=e.rotation,this.updateViewport(n,p,{isDragging:!0})}},{key:"_onPinch",value:function(e){if(!this.touchZoom&&!this.touchRotate)return!1;var t=this.mapState;if(this.touchZoom){var n=e.scale,r=this.getCenter(e);t=t.zoom({pos:r,scale:n})}if(this.touchRotate){var i=e.rotation,o=this._state.startPinchRotation;t=t.rotate({deltaScaleX:-(i-o)/180})}return this.updateViewport(t,p,{isDragging:!0})}},{key:"_onPinchEnd",value:function(e){var t=this.mapState.zoomEnd().rotateEnd();return this._state.startPinchRotation=0,this.updateViewport(t,null,{isDragging:!1})}},{key:"_onDoubleTap",value:function(e){if(!this.doubleClickZoom)return!1;var t=this.getCenter(e),n=this.isFunctionKeyPressed(e),r=this.mapState.zoom({pos:t,scale:n?.5:2});return this.updateViewport(r,d)}},{key:"_onKeyDown",value:function(e){if(!this.keyboard)return!1;var t=this.isFunctionKeyPressed(e),n=this.mapStateProps,r=void 0;switch(e.srcEvent.keyCode){case 189:r=t?this.getMapState({zoom:n.zoom-2}):this.getMapState({zoom:n.zoom-1});break;case 187:r=t?this.getMapState({zoom:n.zoom+2}):this.getMapState({zoom:n.zoom+1});break;case 37:r=t?this.getMapState({bearing:n.bearing-15}):this.mapState.pan({pos:[100,0],startPos:[0,0]});break;case 39:r=t?this.getMapState({bearing:n.bearing+15}):this.mapState.pan({pos:[-100,0],startPos:[0,0]});break;case 38:r=t?this.getMapState({pitch:n.pitch+10}):this.mapState.pan({pos:[0,100],startPos:[0,0]});break;case 40:r=t?this.getMapState({pitch:n.pitch-10}):this.mapState.pan({pos:[0,-100],startPos:[0,0]});break;default:return!1}return this.updateViewport(r,d)}}]),e}();t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(111);Object.defineProperty(t,"TransitionInterpolator",{enumerable:!0,get:function(){return r(i).default}});var o=n(445);Object.defineProperty(t,"ViewportFlyToInterpolator",{enumerable:!0,get:function(){return r(o).default}});var a=n(444);Object.defineProperty(t,"LinearInterpolator",{enumerable:!0,get:function(){return r(a).default}})},function(e,t,n){"use strict";function r(e,t){var n=e%t;return n<0?t+n:n}function i(e,t,n){return Array.isArray(e)?e.map(function(e,r){return i(e,t[r],n)}):n*t+(1-n)*e}function o(e){return Number.isFinite(e)||Array.isArray(e)}function a(e){return l[e]}function s(e,t,n){return a(e)&&Math.abs(n-t)>180&&(n=n<0?n+360:n-360),n}Object.defineProperty(t,"__esModule",{value:!0}),t.mod=r,t.lerp=i,t.isValid=o,t.getEndValueByShortestPath=s;var l={longitude:1,bearing:1}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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 a(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)}function s(e){return{contents:e.contents}}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:"";return Array.isArray(e)&&e.forEach(function(e){return o(e,t)}),e.name&&(e.path=e.name.match(/(GeoJSON|3D|API|([A-Z]|^)[a-z'0-9]+|\d+)/g).join("-").toLowerCase().replace(/[^\w-]/g,"")),e.children&&o(e.children,t+"/"+e.path),"string"==typeof e.content&&(p[e.content]=t+"/"+e.path),e}Object.defineProperty(t,"__esModule",{value:!0}),t.Pages=t.markdownFiles=void 0;var a=n(422),s=n(447),l=r(s),u=n(204),c=r(u),p=t.markdownFiles={},d={title:"Examples",pageComponent:l.default,paths:o(a.standaloneExamples)},f={title:"Documentation",pageComponent:c.default,paths:o([{name:"Introduction",children:[{name:"Introduction",content:i("README.md")},{name:"What's New",content:i("whats-new.md")},{name:"Upgrade Guide",content:i("upgrade-guide.md")}]},{name:"Getting Started",children:[{name:"Get Started",content:i("get-started/get-started.md")},{name:"About Mapbox Tokens",content:i("get-started/mapbox-tokens.md")},{name:"State Management",content:i("get-started/state-management.md")},{name:"Adding Custom Data",content:i("get-started/adding-custom-data.md")}]},{name:"Advanced",children:[{name:"Custom Map Controls",content:i("advanced/custom-map-controls.md")},{name:"Custom Overlays",content:i("overlays/custom-overlays.md")},{name:"Viewport Transition",content:i("advanced/viewport-transition.md")}]},{name:"API Reference",children:[{name:"CanvasOverlay",content:i("overlays/canvas-overlay.md")},{name:"FlyToInterpolator",content:i("components/fly-to-interpolator.md")},{name:"HTMLOverlay",content:i("overlays/html-overlay.md")},{name:"Interactive Map",content:i("components/interactive-map.md")},{name:"LinearInterpolator",content:i("components/linear-interpolator.md")},{name:"Marker",content:i("components/marker.md")},{name:"MapControls",content:i("components/map-controls.md")},{name:"Navigation Control",content:i("components/navigation-control.md")},{name:"Popup",content:i("components/popup.md")},{name:"Static Map",content:i("components/static-map.md")},{name:"SVGOverlay",content:i("overlays/svg-overlay.md")}]}])};t.Pages=[d,f]},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(90),i=n(19).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){e.exports=!n(31)&&!n(44)(function(){return 7!=Object.defineProperty(n(208)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(207);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){"use strict";var r=n(116),i=n(43),o=n(215),a=n(45),s=n(32),l=n(115),u=n(479),c=n(118),p=n(486),d=n(47)("iterator"),f=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,n,m,g,y,v){u(n,t,m);var _,b,x,w=function(e){if(!f&&e in S)return S[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},E=t+" Iterator",A="values"==g,M=!1,S=e.prototype,C=S[d]||S["@@iterator"]||g&&S[g],T=C||w(g),N=g?A?w("entries"):T:void 0,O="Array"==t?S.entries||C:C;if(O&&(x=p(O.call(new e)))!==Object.prototype&&x.next&&(c(x,E,!0),r||s(x,d)||a(x,d,h)),A&&C&&"values"!==C.name&&(M=!0,T=function(){return C.call(this)}),r&&!v||!f&&!M&&S[d]||a(S,d,T),l[t]=T,l[E]=h,g)if(_={values:A?T:w("values"),keys:y?T:w("keys"),entries:N},v)for(b in _)b in S||o(S,b,_[b]);else i(i.P+i.F*(f||M),t,_);return _}},function(e,t,n){var r=n(89),i=n(483),o=n(114),a=n(119)("IE_PROTO"),s=function(){},l=function(){var e,t=n(208)("iframe"),r=o.length;for(t.style.display="none",n(477).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("