!function(t,e){for(var n in e)t[n]=e[n]}(this,function(t){function e(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n=window.webpackJsonp;window.webpackJsonp=function(r,o,a){for(var s,l,u,c=0,h=[];c>>0;if(""+n!==e||4294967295===n)return NaN;e=n}return e<0?p(t)+e:e}function v(){return!0}function g(t,e,n){return(0===t||void 0!==n&&t<=-n)&&(void 0===e||void 0!==n&&e>=n)}function y(t,e){return x(t,e,0)}function b(t,e){return x(t,e,e)}function x(t,e,n){return void 0===t?n:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}function _(t){this.next=t}function w(t,e,n,r){var i=0===t?e:1===t?n:[e,n];return r?r.value=i:r={value:i,done:!1},r}function k(){return{value:void 0,done:!0}}function S(t){return!!C(t)}function M(t){return t&&"function"==typeof t.next}function T(t){var e=C(t);return e&&e.call(t)}function C(t){var e=t&&(wn&&t[wn]||t[kn]);if("function"==typeof e)return e}function O(t){return t&&"number"==typeof t.length}function E(t){return null===t||void 0===t?R():o(t)?t.toSeq():U(t)}function A(t){return null===t||void 0===t?R().toKeyedSeq():o(t)?a(t)?t.toSeq():t.fromEntrySeq():F(t)}function P(t){return null===t||void 0===t?R():o(t)?a(t)?t.entrySeq():t.toIndexedSeq():B(t)}function D(t){return(null===t||void 0===t?R():o(t)?a(t)?t.entrySeq():t:B(t)).toSetSeq()}function I(t){this._array=t,this.size=t.length}function L(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function z(t){this._iterable=t,this.size=t.length||t.size}function j(t){this._iterator=t,this._iteratorCache=[]}function N(t){return!(!t||!t[Mn])}function R(){return Tn||(Tn=new I([]))}function F(t){var e=Array.isArray(t)?new I(t).fromEntrySeq():M(t)?new j(t).fromEntrySeq():S(t)?new z(t).fromEntrySeq():"object"==typeof t?new L(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function B(t){var e=Y(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function U(t){var e=Y(t)||"object"==typeof t&&new L(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}function Y(t){return O(t)?new I(t):M(t)?new j(t):S(t)?new z(t):void 0}function W(t,e,n,r){var i=t._cache;if(i){for(var o=i.length-1,a=0;a<=o;a++){var s=i[n?o-a:a];if(!1===e(s[1],r?s[0]:a,t))return a+1}return a}return t.__iterateUncached(e,n)}function H(t,e,n,r){var i=t._cache;if(i){var o=i.length-1,a=0;return new _(function(){var t=i[n?o-a:a];return a++>o?k():w(e,r?t[0]:a-1,t[1])})}return t.__iteratorUncached(e,n)}function G(t,e){return e?q(e,t,"",{"":t}):V(t)}function q(t,e,n,r){return Array.isArray(e)?t.call(r,n,P(e).map(function(n,r){return q(t,n,r,e)})):X(e)?t.call(r,n,A(e).map(function(n,r){return q(t,n,r,e)})):e}function V(t){return Array.isArray(t)?P(t).map(V).toList():X(t)?A(t).map(V).toMap():t}function X(t){return t&&(t.constructor===Object||void 0===t.constructor)}function K(t,e){if(t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if(t=t.valueOf(),e=e.valueOf(),t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function $(t,e){if(t===e)return!0;if(!o(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||a(t)!==a(e)||s(t)!==s(e)||u(t)!==u(e))return!1;if(0===t.size&&0===e.size)return!0;var n=!l(t);if(u(t)){var r=t.entries();return e.every(function(t,e){var i=r.next().value;return i&&K(i[1],t)&&(n||K(i[0],e))})&&r.next().done}var i=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{i=!0;var c=t;t=e,e=c}var h=!0,f=e.__iterate(function(e,r){if(n?!t.has(e):i?!K(e,t.get(r,vn)):!K(t.get(r,vn),e))return h=!1,!1});return h&&t.size===f}function Z(t,e){if(!(this instanceof Z))return new Z(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(Cn)return Cn;Cn=this}}function Q(t,e){if(!t)throw new Error(e)}function J(t,e,n){if(!(this instanceof J))return new J(t,e,n);if(Q(0!==n,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),n=void 0===n?1:Math.abs(n),e>>1&1073741824|3221225471&t}function ot(t){if(!1===t||null===t||void 0===t)return 0;if("function"==typeof t.valueOf&&(!1===(t=t.valueOf())||null===t||void 0===t))return 0;if(!0===t)return 1;var e=typeof t;if("number"===e){if(t!==t||t===1/0)return 0;var n=0|t;for(n!==t&&(n^=4294967295*t);t>4294967295;)t/=4294967295,n^=t;return it(n)}if("string"===e)return t.length>jn?at(t):st(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return lt(t);if("function"==typeof t.toString)return st(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function at(t){var e=Fn[t];return void 0===e&&(e=st(t),Rn===Nn&&(Rn=0,Fn={}),Rn++,Fn[t]=e),e}function st(t){for(var e=0,n=0;n0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}function ct(t){Q(t!==1/0,"Cannot perform this action with an infinite size.")}function ht(t){return null===t||void 0===t?wt():ft(t)&&!u(t)?t:wt().withMutations(function(e){var r=n(t);ct(r.size),r.forEach(function(t,n){return e.set(n,t)})})}function ft(t){return!(!t||!t[Bn])}function dt(t,e){this.ownerID=t,this.entries=e}function pt(t,e,n){this.ownerID=t,this.bitmap=e,this.nodes=n}function mt(t,e,n){this.ownerID=t,this.count=e,this.nodes=n}function vt(t,e,n){this.ownerID=t,this.keyHash=e,this.entries=n}function gt(t,e,n){this.ownerID=t,this.keyHash=e,this.entry=n}function yt(t,e,n){this._type=e,this._reverse=n,this._stack=t._root&&xt(t._root)}function bt(t,e){return w(t,e[0],e[1])}function xt(t,e){return{node:t,index:0,__prev:e}}function _t(t,e,n,r){var i=Object.create(Un);return i.size=t,i._root=e,i.__ownerID=n,i.__hash=r,i.__altered=!1,i}function wt(){return Yn||(Yn=_t(0))}function kt(t,e,n){var r,i;if(t._root){var o=c(gn),a=c(yn);if(r=St(t._root,t.__ownerID,0,void 0,e,n,o,a),!a.value)return t;i=t.size+(o.value?n===vn?-1:1:0)}else{if(n===vn)return t;i=1,r=new dt(t.__ownerID,[[e,n]])}return t.__ownerID?(t.size=i,t._root=r,t.__hash=void 0,t.__altered=!0,t):r?_t(i,r):wt()}function St(t,e,n,r,i,o,a,s){return t?t.update(e,n,r,i,o,a,s):o===vn?t:(h(s),h(a),new gt(e,r,[i,o]))}function Mt(t){return t.constructor===gt||t.constructor===vt}function Tt(t,e,n,r,i){if(t.keyHash===r)return new vt(e,r,[t.entry,i]);var o,a=(0===n?t.keyHash:t.keyHash>>>n)&mn,s=(0===n?r:r>>>n)&mn;return new pt(e,1<>>=1)a[s]=1&n?e[o++]:void 0;return a[r]=i,new mt(t,o+1,a)}function At(t,e,r){for(var i=[],a=0;a>1&1431655765,t=(858993459&t)+(t>>2&858993459),t=t+(t>>4)&252645135,t+=t>>8,127&(t+=t>>16)}function jt(t,e,n,r){var i=r?t:d(t);return i[e]=n,i}function Nt(t,e,n,r){var i=t.length+1;if(r&&e+1===i)return t[e]=n,t;for(var o=new Array(i),a=0,s=0;s0&&io?0:o-n,u=a-n;return u>pn&&(u=pn),function(){if(i===u)return Kn;var t=e?--u:i++;return r&&r[t]}}function i(t,r,i){var s,l=t&&t.array,u=i>o?0:o-i>>r,c=1+(a-i>>r);return c>pn&&(c=pn),function(){for(;;){if(s){var t=s();if(t!==Kn)return t;s=null}if(u===c)return Kn;var o=e?--c:u++;s=n(l&&l[o],r-dn,i+(o<=t.size||e<0)return t.withMutations(function(t){e<0?Kt(t,e).set(0,n):Kt(t,0,e+1).set(e,n)});e+=t._origin;var r=t._tail,i=t._root,o=c(yn);return e>=Zt(t._capacity)?r=qt(r,t.__ownerID,0,e,n,o):i=qt(i,t.__ownerID,t._level,e,n,o),o.value?t.__ownerID?(t._root=i,t._tail=r,t.__hash=void 0,t.__altered=!0,t):Wt(t._origin,t._capacity,t._level,i,r):t}function qt(t,e,n,r,i,o){var a=r>>>n&mn,s=t&&a0){var u=t&&t.array[a],c=qt(u,e,n-dn,r,i,o);return c===u?t:(l=Vt(t,e),l.array[a]=c,l)}return s&&t.array[a]===i?t:(h(o),l=Vt(t,e),void 0===i&&a===l.array.length-1?l.array.pop():l.array[a]=i,l)}function Vt(t,e){return e&&t&&e===t.ownerID?t:new Ut(t?t.array.slice():[],e)}function Xt(t,e){if(e>=Zt(t._capacity))return t._tail;if(e<1<0;)n=n.array[e>>>r&mn],r-=dn;return n}}function Kt(t,e,n){void 0!==e&&(e|=0),void 0!==n&&(n|=0);var r=t.__ownerID||new f,i=t._origin,o=t._capacity,a=i+e,s=void 0===n?o:n<0?o+n:i+n;if(a===i&&s===o)return t;if(a>=s)return t.clear();for(var l=t._level,u=t._root,c=0;a+c<0;)u=new Ut(u&&u.array.length?[void 0,u]:[],r),l+=dn,c+=1<=1<h?new Ut([],r):p;if(p&&d>h&&adn;g-=dn){var y=h>>>g&mn;v=v.array[y]=Vt(v.array[y],r)}v.array[h>>>dn&mn]=p}if(s=d)a-=d,s-=d,l=dn,u=null,m=m&&m.removeBefore(r,0,a);else if(a>i||d>>l&mn;if(b!==d>>>l&mn)break;b&&(c+=(1<i&&(u=u.removeBefore(r,l,a-c)),u&&da&&(a=u.size),o(l)||(u=u.map(function(t){return G(t)})),i.push(u)}return a>t.size&&(t=t.setSize(a)),It(t,e,i)}function Zt(t){return t>>dn<=pn&&a.size>=2*o.size?(i=a.filter(function(t,e){return void 0!==t&&s!==e}),r=i.toKeyedSeq().map(function(t){return t[0]}).flip().toMap(),t.__ownerID&&(r.__ownerID=i.__ownerID=t.__ownerID)):(r=o.remove(e),i=s===a.size-1?a.pop():a.set(s,void 0))}else if(l){if(n===a.get(s)[1])return t;r=o,i=a.set(s,[e,n])}else r=o.set(e,a.size),i=a.set(a.size,[e,n]);return t.__ownerID?(t.size=r.size,t._map=r,t._list=i,t.__hash=void 0,t):te(r,i)}function re(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function ie(t){this._iter=t,this.size=t.size}function oe(t){this._iter=t,this.size=t.size}function ae(t){this._iter=t,this.size=t.size}function se(t){var e=Oe(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=Ee,e.__iterateUncached=function(e,n){var r=this;return t.__iterate(function(t,n){return!1!==e(n,t,r)},n)},e.__iteratorUncached=function(e,n){if(e===_n){var r=t.__iterator(e,n);return new _(function(){var t=r.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t})}return t.__iterator(e===xn?bn:xn,n)},e}function le(t,e,n){var r=Oe(t);return r.size=t.size,r.has=function(e){return t.has(e)},r.get=function(r,i){var o=t.get(r,vn);return o===vn?i:e.call(n,o,r,t)},r.__iterateUncached=function(r,i){var o=this;return t.__iterate(function(t,i,a){return!1!==r(e.call(n,t,i,a),i,o)},i)},r.__iteratorUncached=function(r,i){var o=t.__iterator(_n,i);return new _(function(){var i=o.next();if(i.done)return i;var a=i.value,s=a[0];return w(r,s,e.call(n,a[1],s,t),i)})},r}function ue(t,e){var n=Oe(t);return n._iter=t,n.size=t.size,n.reverse=function(){return t},t.flip&&(n.flip=function(){var e=se(t);return e.reverse=function(){return t.flip()},e}),n.get=function(n,r){return t.get(e?n:-1-n,r)},n.has=function(n){return t.has(e?n:-1-n)},n.includes=function(e){return t.includes(e)},n.cacheResult=Ee,n.__iterate=function(e,n){var r=this;return t.__iterate(function(t,n){return e(t,n,r)},!n)},n.__iterator=function(e,n){return t.__iterator(e,!n)},n}function ce(t,e,n,r){var i=Oe(t);return r&&(i.has=function(r){var i=t.get(r,vn);return i!==vn&&!!e.call(n,i,r,t)},i.get=function(r,i){var o=t.get(r,vn);return o!==vn&&e.call(n,o,r,t)?o:i}),i.__iterateUncached=function(i,o){var a=this,s=0;return t.__iterate(function(t,o,l){if(e.call(n,t,o,l))return s++,i(t,r?o:s-1,a)},o),s},i.__iteratorUncached=function(i,o){var a=t.__iterator(_n,o),s=0;return new _(function(){for(;;){var o=a.next();if(o.done)return o;var l=o.value,u=l[0],c=l[1];if(e.call(n,c,u,t))return w(i,r?u:s++,c,o)}})},i}function he(t,e,n){var r=ht().asMutable();return t.__iterate(function(i,o){r.update(e.call(n,i,o,t),0,function(t){return t+1})}),r.asImmutable()}function fe(t,e,n){var r=a(t),i=(u(t)?Qt():ht()).asMutable();t.__iterate(function(o,a){i.update(e.call(n,o,a,t),function(t){return t=t||[],t.push(r?[a,o]:o),t})});var o=Ce(t);return i.map(function(e){return Se(t,o(e))})}function de(t,e,n,r){var i=t.size;if(void 0!==e&&(e|=0),void 0!==n&&(n===1/0?n=i:n|=0),g(e,n,i))return t;var o=y(e,i),a=b(n,i);if(o!==o||a!==a)return de(t.toSeq().cacheResult(),e,n,r);var s,l=a-o;l===l&&(s=l<0?0:l);var u=Oe(t);return u.size=0===s?s:t.size&&s||void 0,!r&&N(t)&&s>=0&&(u.get=function(e,n){return e=m(this,e),e>=0&&es)return k();var t=i.next();return r||e===xn?t:e===bn?w(e,l-1,void 0,t):w(e,l-1,t.value[1],t)})},u}function pe(t,e,n){var r=Oe(t);return r.__iterateUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterate(r,i);var a=0;return t.__iterate(function(t,i,s){return e.call(n,t,i,s)&&++a&&r(t,i,o)}),a},r.__iteratorUncached=function(r,i){var o=this;if(i)return this.cacheResult().__iterator(r,i);var a=t.__iterator(_n,i),s=!0;return new _(function(){if(!s)return k();var t=a.next();if(t.done)return t;var i=t.value,l=i[0],u=i[1];return e.call(n,u,l,o)?r===_n?t:w(r,l,u,t):(s=!1,k())})},r}function me(t,e,n,r){var i=Oe(t);return i.__iterateUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterate(i,o);var s=!0,l=0;return t.__iterate(function(t,o,u){if(!s||!(s=e.call(n,t,o,u)))return l++,i(t,r?o:l-1,a)}),l},i.__iteratorUncached=function(i,o){var a=this;if(o)return this.cacheResult().__iterator(i,o);var s=t.__iterator(_n,o),l=!0,u=0;return new _(function(){var t,o,c;do{if(t=s.next(),t.done)return r||i===xn?t:i===bn?w(i,u++,void 0,t):w(i,u++,t.value[1],t);var h=t.value;o=h[0],c=h[1],l&&(l=e.call(n,c,o,a))}while(l);return i===_n?t:w(i,o,c,t)})},i}function ve(t,e){var r=a(t),i=[t].concat(e).map(function(t){return o(t)?r&&(t=n(t)):t=r?F(t):B(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===i.length)return t;if(1===i.length){var l=i[0];if(l===t||r&&a(l)||s(t)&&s(l))return l}var u=new I(i);return r?u=u.toKeyedSeq():s(t)||(u=u.toSetSeq()),u=u.flatten(!0),u.size=i.reduce(function(t,e){if(void 0!==t){var n=e.size;if(void 0!==n)return t+n}},0),u}function ge(t,e,n){var r=Oe(t);return r.__iterateUncached=function(r,i){function a(t,u){var c=this;t.__iterate(function(t,i){return(!e||u0}function ke(t,n,r){var i=Oe(t);return i.size=new I(r).map(function(t){return t.size}).min(),i.__iterate=function(t,e){for(var n,r=this.__iterator(xn,e),i=0;!(n=r.next()).done&&!1!==t(n.value,i++,this););return i},i.__iteratorUncached=function(t,i){var o=r.map(function(t){return t=e(t),T(i?t.reverse():t)}),a=0,s=!1;return new _(function(){var e;return s||(e=o.map(function(t){return t.next()}),s=e.some(function(t){return t.done})),s?k():w(t,a++,n.apply(null,e.map(function(t){return t.value})))})},i}function Se(t,e){return N(t)?e:t.constructor(e)}function Me(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Te(t){return ct(t.size),p(t)}function Ce(t){return a(t)?n:s(t)?r:i}function Oe(t){return Object.create((a(t)?A:s(t)?P:D).prototype)}function Ee(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):E.prototype.cacheResult.call(this)}function Ae(t,e){return t>e?1:te?-1:0}function on(t){if(t.size===1/0)return 0;var e=u(t),n=a(t),r=e?1:0;return an(t.__iterate(n?e?function(t,e){r=31*r+sn(ot(t),ot(e))|0}:function(t,e){r=r+sn(ot(t),ot(e))|0}:e?function(t){r=31*r+ot(t)|0}:function(t){r=r+ot(t)|0}),r)}function an(t,e){return e=An(e,3432918353),e=An(e<<15|e>>>-15,461845907),e=An(e<<13|e>>>-13,5),e=(e+3864292196|0)^t,e=An(e^e>>>16,2246822507),e=An(e^e>>>13,3266489909),e=it(e^e>>>16)}function sn(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}var ln=Array.prototype.slice;t(n,e),t(r,e),t(i,e),e.isIterable=o,e.isKeyed=a,e.isIndexed=s,e.isAssociative=l,e.isOrdered=u,e.Keyed=n,e.Indexed=r,e.Set=i;var un="@@__IMMUTABLE_ITERABLE__@@",cn="@@__IMMUTABLE_KEYED__@@",hn="@@__IMMUTABLE_INDEXED__@@",fn="@@__IMMUTABLE_ORDERED__@@",dn=5,pn=1<r?k():w(t,i,n[e?r-i++:i++])})},t(L,A),L.prototype.get=function(t,e){return void 0===e||this.has(t)?this._object[t]:e},L.prototype.has=function(t){return this._object.hasOwnProperty(t)},L.prototype.__iterate=function(t,e){for(var n=this._object,r=this._keys,i=r.length-1,o=0;o<=i;o++){var a=r[e?i-o:o];if(!1===t(n[a],a,this))return o+1}return o},L.prototype.__iterator=function(t,e){var n=this._object,r=this._keys,i=r.length-1,o=0;return new _(function(){var a=r[e?i-o:o];return o++>i?k():w(t,a,n[a])})},L.prototype[fn]=!0,t(z,P),z.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);var n=this._iterable,r=T(n),i=0;if(M(r))for(var o;!(o=r.next()).done&&!1!==t(o.value,i++,this););return i},z.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterable,r=T(n);if(!M(r))return new _(k);var i=0;return new _(function(){var e=r.next();return e.done?e:w(t,i++,e.value)})},t(j,P),j.prototype.__iterateUncached=function(t,e){if(e)return this.cacheResult().__iterate(t,e);for(var n=this._iterator,r=this._iteratorCache,i=0;i=r.length){var e=n.next();if(e.done)return e;r[i]=e.value}return w(t,i,r[i++])})};var Tn;t(Z,P),Z.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Z.prototype.get=function(t,e){return this.has(t)?this._value:e},Z.prototype.includes=function(t){return K(this._value,t)},Z.prototype.slice=function(t,e){var n=this.size;return g(t,e,n)?this:new Z(this._value,b(e,n)-y(t,n))},Z.prototype.reverse=function(){return this},Z.prototype.indexOf=function(t){return K(this._value,t)?0:-1},Z.prototype.lastIndexOf=function(t){return K(this._value,t)?this.size:-1},Z.prototype.__iterate=function(t,e){for(var n=0;n=0&&e=0&&nn?k():w(t,o++,a)})},J.prototype.equals=function(t){return t instanceof J?this._start===t._start&&this._end===t._end&&this._step===t._step:$(this,t)};var On;t(tt,e),t(et,tt),t(nt,tt),t(rt,tt),tt.Keyed=et,tt.Indexed=nt,tt.Set=rt;var En,An="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(t,e){t|=0,e|=0;var n=65535&t,r=65535&e;return n*r+((t>>>16)*r+n*(e>>>16)<<16>>>0)|0},Pn=Object.isExtensible,Dn=function(){try{return Object.defineProperty({},"@",{}),!0}catch(t){return!1}}(),In="function"==typeof WeakMap;In&&(En=new WeakMap);var Ln=0,zn="__immutablehash__";"function"==typeof Symbol&&(zn=Symbol(zn));var jn=16,Nn=255,Rn=0,Fn={};t(ht,et),ht.of=function(){var t=ln.call(arguments,0);return wt().withMutations(function(e){for(var n=0;n=t.length)throw new Error("Missing value for key: "+t[n]);e.set(t[n],t[n+1])}})},ht.prototype.toString=function(){return this.__toString("Map {","}")},ht.prototype.get=function(t,e){return this._root?this._root.get(0,void 0,t,e):e},ht.prototype.set=function(t,e){return kt(this,t,e)},ht.prototype.setIn=function(t,e){return this.updateIn(t,vn,function(){return e})},ht.prototype.remove=function(t){return kt(this,t,vn)},ht.prototype.deleteIn=function(t){return this.updateIn(t,function(){return vn})},ht.prototype.update=function(t,e,n){return 1===arguments.length?t(this):this.updateIn([t],e,n)},ht.prototype.updateIn=function(t,e,n){n||(n=e,e=void 0);var r=Lt(this,Pe(t),e,n);return r===vn?void 0:r},ht.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):wt()},ht.prototype.merge=function(){return At(this,void 0,arguments)},ht.prototype.mergeWith=function(t){return At(this,t,ln.call(arguments,1))},ht.prototype.mergeIn=function(t){var e=ln.call(arguments,1);return this.updateIn(t,wt(),function(t){return"function"==typeof t.merge?t.merge.apply(t,e):e[e.length-1]})},ht.prototype.mergeDeep=function(){return At(this,Pt,arguments)},ht.prototype.mergeDeepWith=function(t){var e=ln.call(arguments,1);return At(this,Dt(t),e)},ht.prototype.mergeDeepIn=function(t){var e=ln.call(arguments,1);return this.updateIn(t,wt(),function(t){return"function"==typeof t.mergeDeep?t.mergeDeep.apply(t,e):e[e.length-1]})},ht.prototype.sort=function(t){return Qt(xe(this,t))},ht.prototype.sortBy=function(t,e){return Qt(xe(this,e,t))},ht.prototype.withMutations=function(t){var e=this.asMutable();return t(e),e.wasAltered()?e.__ensureOwner(this.__ownerID):this},ht.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new f)},ht.prototype.asImmutable=function(){return this.__ensureOwner()},ht.prototype.wasAltered=function(){return this.__altered},ht.prototype.__iterator=function(t,e){return new yt(this,t,e)},ht.prototype.__iterate=function(t,e){var n=this,r=0;return this._root&&this._root.iterate(function(e){return r++,t(e[1],e[0],n)},e),r},ht.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?_t(this.size,this._root,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},ht.isMap=ft;var Bn="@@__IMMUTABLE_MAP__@@",Un=ht.prototype;Un[Bn]=!0,Un.delete=Un.remove,Un.removeIn=Un.deleteIn,dt.prototype.get=function(t,e,n,r){for(var i=this.entries,o=0,a=i.length;o=Wn)return Ct(t,l,r,i);var p=t&&t===this.ownerID,m=p?l:d(l);return f?s?u===c-1?m.pop():m[u]=m.pop():m[u]=[r,i]:m.push([r,i]),p?(this.entries=m,this):new dt(t,m)}},pt.prototype.get=function(t,e,n,r){void 0===e&&(e=ot(n));var i=1<<((0===t?e:e>>>t)&mn),o=this.bitmap;return 0==(o&i)?r:this.nodes[zt(o&i-1)].get(t+dn,e,n,r)},pt.prototype.update=function(t,e,n,r,i,o,a){void 0===n&&(n=ot(r));var s=(0===e?n:n>>>e)&mn,l=1<=Hn)return Et(t,f,u,s,p);if(c&&!p&&2===f.length&&Mt(f[1^h]))return f[1^h];if(c&&p&&1===f.length&&Mt(p))return p;var m=t&&t===this.ownerID,v=c?p?u:u^l:u|l,g=c?p?jt(f,h,p,m):Rt(f,h,m):Nt(f,h,p,m);return m?(this.bitmap=v,this.nodes=g,this):new pt(t,v,g)},mt.prototype.get=function(t,e,n,r){void 0===e&&(e=ot(n));var i=(0===t?e:e>>>t)&mn,o=this.nodes[i];return o?o.get(t+dn,e,n,r):r},mt.prototype.update=function(t,e,n,r,i,o,a){void 0===n&&(n=ot(r));var s=(0===e?n:n>>>e)&mn,l=i===vn,u=this.nodes,c=u[s];if(l&&!c)return this;var h=St(c,t,e+dn,n,r,i,o,a);if(h===c)return this;var f=this.count;if(c){if(!h&&--f=0&&t>>e&mn;if(r>=this.array.length)return new Ut([],t);var i,o=0===r;if(e>0){var a=this.array[r];if((i=a&&a.removeBefore(t,e-dn,n))===a&&o)return this}if(o&&!i)return this;var s=Vt(this,t);if(!o)for(var l=0;l>>e&mn;if(r>=this.array.length)return this;var i;if(e>0){var o=this.array[r];if((i=o&&o.removeAfter(t,e-dn,n))===o&&r===this.array.length-1)return this}var a=Vt(this,t);return a.array.splice(r+1),i&&(a.array[r]=i),a};var Xn,Kn={};t(Qt,ht),Qt.of=function(){return this(arguments)},Qt.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Qt.prototype.get=function(t,e){var n=this._map.get(t);return void 0!==n?this._list.get(n)[1]:e},Qt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):ee()},Qt.prototype.set=function(t,e){return ne(this,t,e)},Qt.prototype.remove=function(t){return ne(this,t,vn)},Qt.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Qt.prototype.__iterate=function(t,e){var n=this;return this._list.__iterate(function(e){return e&&t(e[1],e[0],n)},e)},Qt.prototype.__iterator=function(t,e){return this._list.fromEntrySeq().__iterator(t,e)},Qt.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map.__ensureOwner(t),n=this._list.__ensureOwner(t);return t?te(e,n,t,this.__hash):(this.__ownerID=t,this._map=e,this._list=n,this)},Qt.isOrderedMap=Jt,Qt.prototype[fn]=!0,Qt.prototype.delete=Qt.prototype.remove;var $n;t(re,A),re.prototype.get=function(t,e){return this._iter.get(t,e)},re.prototype.has=function(t){return this._iter.has(t)},re.prototype.valueSeq=function(){return this._iter.valueSeq()},re.prototype.reverse=function(){var t=this,e=ue(this,!0);return this._useKeys||(e.valueSeq=function(){return t._iter.toSeq().reverse()}),e},re.prototype.map=function(t,e){var n=this,r=le(this,t,e);return this._useKeys||(r.valueSeq=function(){return n._iter.toSeq().map(t,e)}),r},re.prototype.__iterate=function(t,e){var n,r=this;return this._iter.__iterate(this._useKeys?function(e,n){return t(e,n,r)}:(n=e?Te(this):0,function(i){return t(i,e?--n:n++,r)}),e)},re.prototype.__iterator=function(t,e){if(this._useKeys)return this._iter.__iterator(t,e);var n=this._iter.__iterator(xn,e),r=e?Te(this):0;return new _(function(){var i=n.next();return i.done?i:w(t,e?--r:r++,i.value,i)})},re.prototype[fn]=!0,t(ie,P),ie.prototype.includes=function(t){return this._iter.includes(t)},ie.prototype.__iterate=function(t,e){var n=this,r=0;return this._iter.__iterate(function(e){return t(e,r++,n)},e)},ie.prototype.__iterator=function(t,e){var n=this._iter.__iterator(xn,e),r=0;return new _(function(){var e=n.next();return e.done?e:w(t,r++,e.value,e)})},t(oe,D),oe.prototype.has=function(t){return this._iter.includes(t)},oe.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){return t(e,e,n)},e)},oe.prototype.__iterator=function(t,e){var n=this._iter.__iterator(xn,e);return new _(function(){var e=n.next();return e.done?e:w(t,e.value,e.value,e)})},t(ae,A),ae.prototype.entrySeq=function(){return this._iter.toSeq()},ae.prototype.__iterate=function(t,e){var n=this;return this._iter.__iterate(function(e){if(e){Me(e);var r=o(e);return t(r?e.get(1):e[1],r?e.get(0):e[0],n)}},e)},ae.prototype.__iterator=function(t,e){var n=this._iter.__iterator(xn,e);return new _(function(){for(;;){var e=n.next();if(e.done)return e;var r=e.value;if(r){Me(r);var i=o(r);return w(t,i?r.get(0):r[0],i?r.get(1):r[1],e)}}})},ie.prototype.cacheResult=re.prototype.cacheResult=oe.prototype.cacheResult=ae.prototype.cacheResult=Ee,t(De,et),De.prototype.toString=function(){return this.__toString(Le(this)+" {","}")},De.prototype.has=function(t){return this._defaultValues.hasOwnProperty(t)},De.prototype.get=function(t,e){if(!this.has(t))return e;var n=this._defaultValues[t];return this._map?this._map.get(t,n):n},De.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var t=this.constructor;return t._empty||(t._empty=Ie(this,wt()))},De.prototype.set=function(t,e){if(!this.has(t))throw new Error('Cannot set unknown key "'+t+'" on '+Le(this));if(this._map&&!this._map.has(t)){if(e===this._defaultValues[t])return this}var n=this._map&&this._map.set(t,e);return this.__ownerID||n===this._map?this:Ie(this,n)},De.prototype.remove=function(t){if(!this.has(t))return this;var e=this._map&&this._map.remove(t);return this.__ownerID||e===this._map?this:Ie(this,e)},De.prototype.wasAltered=function(){return this._map.wasAltered()},De.prototype.__iterator=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterator(t,e)},De.prototype.__iterate=function(t,e){var r=this;return n(this._defaultValues).map(function(t,e){return r.get(e)}).__iterate(t,e)},De.prototype.__ensureOwner=function(t){if(t===this.__ownerID)return this;var e=this._map&&this._map.__ensureOwner(t);return t?Ie(this,e,t):(this.__ownerID=t,this._map=e,this)};var Zn=De.prototype;Zn.delete=Zn.remove,Zn.deleteIn=Zn.removeIn=Un.removeIn,Zn.merge=Un.merge,Zn.mergeWith=Un.mergeWith,Zn.mergeIn=Un.mergeIn,Zn.mergeDeep=Un.mergeDeep,Zn.mergeDeepWith=Un.mergeDeepWith,Zn.mergeDeepIn=Un.mergeDeepIn,Zn.setIn=Un.setIn,Zn.update=Un.update,Zn.updateIn=Un.updateIn,Zn.withMutations=Un.withMutations,Zn.asMutable=Un.asMutable,Zn.asImmutable=Un.asImmutable,t(Ne,rt),Ne.of=function(){return this(arguments)},Ne.fromKeys=function(t){return this(n(t).keySeq())},Ne.prototype.toString=function(){return this.__toString("Set {","}")},Ne.prototype.has=function(t){return this._map.has(t)},Ne.prototype.add=function(t){return Fe(this,this._map.set(t,!0))},Ne.prototype.remove=function(t){return Fe(this,this._map.remove(t))},Ne.prototype.clear=function(){return Fe(this,this._map.clear())},Ne.prototype.union=function(){var t=ln.call(arguments,0);return t=t.filter(function(t){return 0!==t.size}),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations(function(e){for(var n=0;n=0;n--)e={value:arguments[n],next:e};return this.__ownerID?(this.size=t,this._head=e,this.__hash=void 0,this.__altered=!0,this):Xe(t,e)},qe.prototype.pushAll=function(t){if(t=r(t),0===t.size)return this;ct(t.size);var e=this.size,n=this._head;return t.reverse().forEach(function(t){e++,n={value:t,next:n}}),this.__ownerID?(this.size=e,this._head=n,this.__hash=void 0,this.__altered=!0,this):Xe(e,n)},qe.prototype.pop=function(){return this.slice(1)},qe.prototype.unshift=function(){return this.push.apply(this,arguments)},qe.prototype.unshiftAll=function(t){return this.pushAll(t)},qe.prototype.shift=function(){return this.pop.apply(this,arguments)},qe.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):Ke()},qe.prototype.slice=function(t,e){if(g(t,e,this.size))return this;var n=y(t,this.size);if(b(e,this.size)!==this.size)return nt.prototype.slice.call(this,t,e);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):Xe(r,i)},qe.prototype.__ensureOwner=function(t){return t===this.__ownerID?this:t?Xe(this.size,this._head,t,this.__hash):(this.__ownerID=t,this.__altered=!1,this)},qe.prototype.__iterate=function(t,e){if(e)return this.reverse().__iterate(t);for(var n=0,r=this._head;r&&!1!==t(r.value,n++,this);)r=r.next;return n},qe.prototype.__iterator=function(t,e){if(e)return this.reverse().__iterator(t);var n=0,r=this._head;return new _(function(){if(r){var e=r.value;return r=r.next,w(t,n++,e)}return k()})},qe.isStack=Ve;var rr="@@__IMMUTABLE_STACK__@@",ir=qe.prototype;ir[rr]=!0,ir.withMutations=Un.withMutations,ir.asMutable=Un.asMutable,ir.asImmutable=Un.asImmutable,ir.wasAltered=Un.wasAltered;var or;e.Iterator=_,$e(e,{toArray:function(){ct(this.size);var t=new Array(this.size||0);return this.valueSeq().__iterate(function(e,n){t[n]=e}),t},toIndexedSeq:function(){return new ie(this)},toJS:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJS?t.toJS():t}).__toJS()},toJSON:function(){return this.toSeq().map(function(t){return t&&"function"==typeof t.toJSON?t.toJSON():t}).__toJS()},toKeyedSeq:function(){return new re(this,!0)},toMap:function(){return ht(this.toKeyedSeq())},toObject:function(){ct(this.size);var t={};return this.__iterate(function(e,n){t[n]=e}),t},toOrderedMap:function(){return Qt(this.toKeyedSeq())},toOrderedSet:function(){return Ye(a(this)?this.valueSeq():this)},toSet:function(){return Ne(a(this)?this.valueSeq():this)},toSetSeq:function(){return new oe(this)},toSeq:function(){return s(this)?this.toIndexedSeq():a(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return qe(a(this)?this.valueSeq():this)},toList:function(){return Ft(a(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(t,e){return 0===this.size?t+e:t+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+e},concat:function(){return Se(this,ve(this,ln.call(arguments,0)))},includes:function(t){return this.some(function(e){return K(e,t)})},entries:function(){return this.__iterator(_n)},every:function(t,e){ct(this.size);var n=!0;return this.__iterate(function(r,i,o){if(!t.call(e,r,i,o))return n=!1,!1}),n},filter:function(t,e){return Se(this,ce(this,t,e,!0))},find:function(t,e,n){var r=this.findEntry(t,e);return r?r[1]:n},forEach:function(t,e){return ct(this.size),this.__iterate(e?t.bind(e):t)},join:function(t){ct(this.size),t=void 0!==t?""+t:",";var e="",n=!0;return this.__iterate(function(r){n?n=!1:e+=t,e+=null!==r&&void 0!==r?r.toString():""}),e},keys:function(){return this.__iterator(bn)},map:function(t,e){return Se(this,le(this,t,e))},reduce:function(t,e,n){ct(this.size);var r,i;return arguments.length<2?i=!0:r=e,this.__iterate(function(e,o,a){i?(i=!1,r=e):r=t.call(n,r,e,o,a)}),r},reduceRight:function(t,e,n){var r=this.toKeyedSeq().reverse();return r.reduce.apply(r,arguments)},reverse:function(){return Se(this,ue(this,!0))},slice:function(t,e){return Se(this,de(this,t,e,!0))},some:function(t,e){return!this.every(Je(t),e)},sort:function(t){return Se(this,xe(this,t))},values:function(){return this.__iterator(xn)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(t,e){return p(t?this.toSeq().filter(t,e):this)},countBy:function(t,e){return he(this,t,e)},equals:function(t){return $(this,t)},entrySeq:function(){var t=this;if(t._cache)return new I(t._cache);var e=t.toSeq().map(Qe).toIndexedSeq();return e.fromEntrySeq=function(){return t.toSeq()},e},filterNot:function(t,e){return this.filter(Je(t),e)},findEntry:function(t,e,n){var r=n;return this.__iterate(function(n,i,o){if(t.call(e,n,i,o))return r=[i,n],!1}),r},findKey:function(t,e){var n=this.findEntry(t,e);return n&&n[0]},findLast:function(t,e,n){return this.toKeyedSeq().reverse().find(t,e,n)},findLastEntry:function(t,e,n){return this.toKeyedSeq().reverse().findEntry(t,e,n)},findLastKey:function(t,e){return this.toKeyedSeq().reverse().findKey(t,e)},first:function(){return this.find(v)},flatMap:function(t,e){return Se(this,ye(this,t,e))},flatten:function(t){return Se(this,ge(this,t,!0))},fromEntrySeq:function(){return new ae(this)},get:function(t,e){return this.find(function(e,n){return K(n,t)},void 0,e)},getIn:function(t,e){for(var n,r=this,i=Pe(t);!(n=i.next()).done;){var o=n.value;if((r=r&&r.get?r.get(o,vn):vn)===vn)return e}return r},groupBy:function(t,e){return fe(this,t,e)},has:function(t){return this.get(t,vn)!==vn},hasIn:function(t){return this.getIn(t,vn)!==vn},isSubset:function(t){return t="function"==typeof t.includes?t:e(t),this.every(function(e){return t.includes(e)})},isSuperset:function(t){return t="function"==typeof t.isSubset?t:e(t),t.isSubset(this)},keyOf:function(t){return this.findKey(function(e){return K(e,t)})},keySeq:function(){return this.toSeq().map(Ze).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(t){return this.toKeyedSeq().reverse().keyOf(t)},max:function(t){return _e(this,t)},maxBy:function(t,e){return _e(this,e,t)},min:function(t){return _e(this,t?tn(t):rn)},minBy:function(t,e){return _e(this,e?tn(e):rn,t)},rest:function(){return this.slice(1)},skip:function(t){return this.slice(Math.max(0,t))},skipLast:function(t){return Se(this,this.toSeq().reverse().skip(t).reverse())},skipWhile:function(t,e){return Se(this,me(this,t,e,!0))},skipUntil:function(t,e){return this.skipWhile(Je(t),e)},sortBy:function(t,e){return Se(this,xe(this,e,t))},take:function(t){return this.slice(0,Math.max(0,t))},takeLast:function(t){return Se(this,this.toSeq().reverse().take(t).reverse())},takeWhile:function(t,e){return Se(this,pe(this,t,e))},takeUntil:function(t,e){return this.takeWhile(Je(t),e)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=on(this))}});var ar=e.prototype;ar[un]=!0,ar[Sn]=ar.values,ar.__toJS=ar.toArray,ar.__toStringMapper=en,ar.inspect=ar.toSource=function(){return this.toString()},ar.chain=ar.flatMap,ar.contains=ar.includes,$e(n,{flip:function(){return Se(this,se(this))},mapEntries:function(t,e){var n=this,r=0;return Se(this,this.toSeq().map(function(i,o){return t.call(e,[o,i],r++,n)}).fromEntrySeq())},mapKeys:function(t,e){var n=this;return Se(this,this.toSeq().flip().map(function(r,i){return t.call(e,r,i,n)}).flip())}});var sr=n.prototype;return sr[cn]=!0,sr[Sn]=ar.entries,sr.__toJS=ar.toObject,sr.__toStringMapper=function(t,e){return JSON.stringify(e)+": "+en(t)},$e(r,{toKeyedSeq:function(){return new re(this,!1)},filter:function(t,e){return Se(this,ce(this,t,e,!1))},findIndex:function(t,e){var n=this.findEntry(t,e);return n?n[0]:-1},indexOf:function(t){var e=this.keyOf(t);return void 0===e?-1:e},lastIndexOf:function(t){var e=this.lastKeyOf(t);return void 0===e?-1:e},reverse:function(){return Se(this,ue(this,!1))},slice:function(t,e){return Se(this,de(this,t,e,!1))},splice:function(t,e){var n=arguments.length;if(e=Math.max(0|e,0),0===n||2===n&&!e)return this;t=y(t,t<0?this.count():this.size);var r=this.slice(0,t);return Se(this,1===n?r:r.concat(d(arguments,2),this.slice(t+e)))},findLastIndex:function(t,e){var n=this.findLastEntry(t,e);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(t){return Se(this,ge(this,t,!1))},get:function(t,e){return t=m(this,t),t<0||this.size===1/0||void 0!==this.size&&t>this.size?e:this.find(function(e,n){return n===t},void 0,e)},has:function(t){return(t=m(this,t))>=0&&(void 0!==this.size?this.size===1/0||t0)for(n in yr)r=yr[n],i=e[r],m(i)||(t[r]=i);return t}function g(t){v(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===br&&(br=!0,e.updateOffset(this),br=!1)}function y(t){return t instanceof g||null!=t&&null!=t._isAMomentObject}function b(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function x(t){var e=+t,n=0;return 0!==e&&isFinite(e)&&(n=b(e)),n}function _(t,e,n){var r,i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(r=0;r0?"future":"past"];return M(n)?n(e):n.replace(/%s/i,e)}function z(t,e){var n=t.toLowerCase();Or[n]=Or[n+"s"]=Or[e]=t}function j(t){return"string"==typeof t?Or[t]||Or[t.toLowerCase()]:void 0}function N(t){var e,n,r={};for(n in t)l(t,n)&&(e=j(n))&&(r[e]=t[n]);return r}function R(t,e){Er[t]=e}function F(t){var e=[];for(var n in t)e.push({unit:n,priority:Er[n]});return e.sort(function(t,e){return t.priority-e.priority}),e}function B(t,n){return function(r){return null!=r?(Y(this,t,r),e.updateOffset(this,n),this):U(this,t)}}function U(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Y(t,e,n){t.isValid()&&t._d["set"+(t._isUTC?"UTC":"")+e](n)}function W(t){return t=j(t),M(this[t])?this[t]():this}function H(t,e){if("object"==typeof t){t=N(t);for(var n=F(t),r=0;r=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function q(t,e,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),t&&(Ir[t]=i),e&&(Ir[e[0]]=function(){return G(i.apply(this,arguments),e[1],e[2])}),n&&(Ir[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),t)})}function V(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function X(t){var e,n,r=t.match(Ar);for(e=0,n=r.length;e=0&&Pr.test(t);)t=t.replace(Pr,n),Pr.lastIndex=0,r-=1;return t}function Z(t,e,n){Zr[t]=M(e)?e:function(t,r){return t&&n?n:e}}function Q(t,e){return l(Zr,t)?Zr[t](e._strict,e._locale):new RegExp(J(t))}function J(t){return tt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,r,i){return e||n||r||i}))}function tt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function et(t,e){var n,r=e;for("string"==typeof t&&(t=[t]),o(e)&&(r=function(t,n){n[e]=x(t)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(t),s}function bt(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function xt(t,e,n){var r=7+e-n;return-(7+bt(t,0,r).getUTCDay()-e)%7+r-1}function _t(t,e,n,r,i){var o,a,s=(7+n-r)%7,l=xt(t,r,i),u=1+7*(e-1)+s+l;return u<=0?(o=t-1,a=mt(o)+u):u>mt(t)?(o=t+1,a=u-mt(t)):(o=t,a=u),{year:o,dayOfYear:a}}function wt(t,e,n){var r,i,o=xt(t.year(),e,n),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?(i=t.year()-1,r=a+kt(i,e,n)):a>kt(t.year(),e,n)?(r=a-kt(t.year(),e,n),i=t.year()+1):(i=t.year(),r=a),{week:r,year:i}}function kt(t,e,n){var r=xt(t,e,n),i=xt(t+1,e,n);return(mt(t)-r+i)/7}function St(t){return wt(t,this._week.dow,this._week.doy).week}function Mt(){return this._week.dow}function Tt(){return this._week.doy}function Ct(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")}function Ot(t){var e=wt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")}function Et(t,e){return"string"!=typeof t?t:isNaN(t)?(t=e.weekdaysParse(t),"number"==typeof t?t:null):parseInt(t,10)}function At(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Pt(t,e){return t?n(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]:this._weekdays}function Dt(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort}function It(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Lt(t,e,n){var r,i,o,a=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=c([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===e?(i=li.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===e?(i=li.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=li.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===e?(i=li.call(this._weekdaysParse,a),-1!==i?i:(i=li.call(this._shortWeekdaysParse,a),-1!==i?i:(i=li.call(this._minWeekdaysParse,a),-1!==i?i:null))):"ddd"===e?(i=li.call(this._shortWeekdaysParse,a),-1!==i?i:(i=li.call(this._weekdaysParse,a),-1!==i?i:(i=li.call(this._minWeekdaysParse,a),-1!==i?i:null))):(i=li.call(this._minWeekdaysParse,a),-1!==i?i:(i=li.call(this._weekdaysParse,a),-1!==i?i:(i=li.call(this._shortWeekdaysParse,a),-1!==i?i:null)))}function zt(t,e,n){var r,i,o;if(this._weekdaysParseExact)return Lt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=c([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[r].test(t))return r;if(n&&"ddd"===e&&this._shortWeekdaysParse[r].test(t))return r;if(n&&"dd"===e&&this._minWeekdaysParse[r].test(t))return r;if(!n&&this._weekdaysParse[r].test(t))return r}}function jt(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=Et(t,this.localeData()),this.add(t-e,"d")):e}function Nt(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")}function Rt(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=At(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7}function Ft(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Yt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=bi),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Bt(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Yt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=xi),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ut(t){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Yt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=_i),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Yt(){function t(t,e){return e.length-t.length}var e,n,r,i,o,a=[],s=[],l=[],u=[];for(e=0;e<7;e++)n=c([2e3,1]).day(e),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),l.push(o),u.push(r),u.push(i),u.push(o);for(a.sort(t),s.sort(t),l.sort(t),u.sort(t),e=0;e<7;e++)s[e]=tt(s[e]),l[e]=tt(l[e]),u[e]=tt(u[e]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Wt(){return this.hours()%12||12}function Ht(){return this.hours()||24}function Gt(t,e){q(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function qt(t,e){return e._meridiemParse}function Vt(t){return"p"===(t+"").toLowerCase().charAt(0)}function Xt(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"}function Kt(t){return t?t.toLowerCase().replace("_","-"):t}function $t(t){for(var e,n,r,i,o=0;o0;){if(r=Zt(i.slice(0,e).join("-")))return r;if(n&&n.length>=e&&_(i,n,!0)>=e-1)break;e--}o++}return null}function Zt(e){var n=null;if(!Ti[e]&&void 0!==t&&t&&t.exports)try{n=wi._abbr,function(){var t=new Error('Cannot find module "./locale"');throw t.code="MODULE_NOT_FOUND",t}(),Qt(n)}catch(e){}return Ti[e]}function Qt(t,e){var n;return t&&(n=m(e)?ee(t):Jt(t,e))&&(wi=n),wi._abbr}function Jt(t,e){if(null!==e){var n=Mi;if(e.abbr=t,null!=Ti[t])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Ti[t]._config;else if(null!=e.parentLocale){if(null==Ti[e.parentLocale])return Ci[e.parentLocale]||(Ci[e.parentLocale]=[]),Ci[e.parentLocale].push({name:t,config:e}),null;n=Ti[e.parentLocale]._config}return Ti[t]=new O(C(n,e)),Ci[t]&&Ci[t].forEach(function(t){Jt(t.name,t.config)}),Qt(t),Ti[t]}return delete Ti[t],null}function te(t,e){if(null!=e){var n,r=Mi;null!=Ti[t]&&(r=Ti[t]._config),e=C(r,e),n=new O(e),n.parentLocale=Ti[t],Ti[t]=n,Qt(t)}else null!=Ti[t]&&(null!=Ti[t].parentLocale?Ti[t]=Ti[t].parentLocale:null!=Ti[t]&&delete Ti[t]);return Ti[t]}function ee(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return wi;if(!n(t)){if(e=Zt(t))return e;t=[t]}return $t(t)}function ne(){return kr(Ti)}function re(t){var e,n=t._a;return n&&-2===f(t).overflow&&(e=n[ti]<0||n[ti]>11?ti:n[ei]<1||n[ei]>it(n[Jr],n[ti])?ei:n[ni]<0||n[ni]>24||24===n[ni]&&(0!==n[ri]||0!==n[ii]||0!==n[oi])?ni:n[ri]<0||n[ri]>59?ri:n[ii]<0||n[ii]>59?ii:n[oi]<0||n[oi]>999?oi:-1,f(t)._overflowDayOfYear&&(eei)&&(e=ei),f(t)._overflowWeeks&&-1===e&&(e=ai),f(t)._overflowWeekday&&-1===e&&(e=si),f(t).overflow=e),t}function ie(t){var e,n,r,i,o,a,s=t._i,l=Oi.exec(s)||Ei.exec(s);if(l){for(f(t).iso=!0,e=0,n=Pi.length;emt(i)&&(f(t)._overflowDayOfYear=!0),n=bt(i,0,t._dayOfYear),t._a[ti]=n.getUTCMonth(),t._a[ei]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=o[e]=r[e];for(;e<7;e++)t._a[e]=o[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[ni]&&0===t._a[ri]&&0===t._a[ii]&&0===t._a[oi]&&(t._nextDay=!0,t._a[ni]=0),t._d=(t._useUTC?bt:yt).apply(null,o),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[ni]=24)}}function ue(t){var e,n,r,i,o,a,s,l;if(e=t._w,null!=e.GG||null!=e.W||null!=e.E)o=1,a=4,n=ae(e.GG,t._a[Jr],wt(ye(),1,4).year),r=ae(e.W,1),((i=ae(e.E,1))<1||i>7)&&(l=!0);else{o=t._locale._week.dow,a=t._locale._week.doy;var u=wt(ye(),o,a);n=ae(e.gg,t._a[Jr],u.year),r=ae(e.w,u.week),null!=e.d?((i=e.d)<0||i>6)&&(l=!0):null!=e.e?(i=e.e+o,(e.e<0||e.e>6)&&(l=!0)):i=o}r<1||r>kt(n,o,a)?f(t)._overflowWeeks=!0:null!=l?f(t)._overflowWeekday=!0:(s=_t(n,r,i,o,a),t._a[Jr]=s.year,t._dayOfYear=s.dayOfYear)}function ce(t){if(t._f===e.ISO_8601)return void ie(t);t._a=[],f(t).empty=!0;var n,r,i,o,a,s=""+t._i,l=s.length,u=0;for(i=$(t._f,t._locale).match(Ar)||[],n=0;n0&&f(t).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),u+=r.length),Ir[o]?(r?f(t).empty=!1:f(t).unusedTokens.push(o),rt(o,r,t)):t._strict&&!r&&f(t).unusedTokens.push(o);f(t).charsLeftOver=l-u,s.length>0&&f(t).unusedInput.push(s),t._a[ni]<=12&&!0===f(t).bigHour&&t._a[ni]>0&&(f(t).bigHour=void 0),f(t).parsedDateParts=t._a.slice(0),f(t).meridiem=t._meridiem,t._a[ni]=he(t._locale,t._a[ni],t._meridiem),le(t),re(t)}function he(t,e,n){var r;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?(r=t.isPM(n),r&&e<12&&(e+=12),r||12!==e||(e=0),e):e}function fe(t){var e,n,r,i,o;if(0===t._f.length)return f(t).invalidFormat=!0,void(t._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function je(){if(!m(this._isDSTShifted))return this._isDSTShifted;var t={};if(v(t,this),t=me(t),t._a){var e=t._isUTC?c(t._a):ye(t._a);this._isDSTShifted=this.isValid()&&_(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Ne(){return!!this.isValid()&&!this._isUTC}function Re(){return!!this.isValid()&&this._isUTC}function Fe(){return!!this.isValid()&&this._isUTC&&0===this._offset}function Be(t,e){var n,r,i,a=t,s=null;return ke(t)?a={ms:t._milliseconds,d:t._days,M:t._months}:o(t)?(a={},e?a[e]=t:a.milliseconds=t):(s=Ri.exec(t))?(n="-"===s[1]?-1:1,a={y:0,d:x(s[ei])*n,h:x(s[ni])*n,m:x(s[ri])*n,s:x(s[ii])*n,ms:x(Se(1e3*s[oi]))*n}):(s=Fi.exec(t))?(n="-"===s[1]?-1:1,a={y:Ue(s[2],n),M:Ue(s[3],n),w:Ue(s[4],n),d:Ue(s[5],n),h:Ue(s[6],n),m:Ue(s[7],n),s:Ue(s[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=We(ye(a.from),ye(a.to)),a={},a.ms=i.milliseconds,a.M=i.months),r=new we(a),ke(t)&&l(t,"_locale")&&(r._locale=t._locale),r}function Ue(t,e){var n=t&&parseFloat(t.replace(",","."));return(isNaN(n)?0:n)*e}function Ye(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function We(t,e){var n;return t.isValid()&&e.isValid()?(e=Ce(e,t),t.isBefore(e)?n=Ye(t,e):(n=Ye(e,t),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function He(t,e){return function(n,r){var i,o;return null===r||isNaN(+r)||(S(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Be(n,r),Ge(this,i,t),this}}function Ge(t,n,r,i){var o=n._milliseconds,a=Se(n._days),s=Se(n._months);t.isValid()&&(i=null==i||i,o&&t._d.setTime(t._d.valueOf()+o*r),a&&Y(t,"Date",U(t,"Date")+a*r),s&&ut(t,U(t,"Month")+s*r),i&&e.updateOffset(t,a||s))}function qe(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Ve(t,n){var r=t||ye(),i=Ce(r,this).startOf("day"),o=e.calendarFormat(this,i)||"sameElse",a=n&&(M(n[o])?n[o].call(this,r):n[o]);return this.format(a||this.localeData().calendar(o,this,ye(r)))}function Xe(){return new g(this)}function Ke(t,e){var n=y(t)?t:ye(t);return!(!this.isValid()||!n.isValid())&&(e=j(m(e)?"millisecond":e),"millisecond"===e?this.valueOf()>n.valueOf():n.valueOf()o&&(e=o),Dn.call(this,t,e,n,r,i))}function Dn(t,e,n,r,i){var o=_t(t,e,n,r,i),a=bt(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function In(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)}function Ln(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")}function zn(t,e){e[oi]=x(1e3*("0."+t))}function jn(){return this._isUTC?"UTC":""}function Nn(){return this._isUTC?"Coordinated Universal Time":""}function Rn(t){return ye(1e3*t)}function Fn(){return ye.apply(null,arguments).parseZone()}function Bn(t){return t}function Un(t,e,n,r){var i=ee(),o=c().set(r,e);return i[n](o,t)}function Yn(t,e,n){if(o(t)&&(e=t,t=void 0),t=t||"",null!=e)return Un(t,e,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Un(t,r,n,"month");return i}function Wn(t,e,n,r){"boolean"==typeof t?(o(e)&&(n=e,e=void 0),e=e||""):(e=t,n=e,t=!1,o(e)&&(n=e,e=void 0),e=e||"");var i=ee(),a=t?i._week.dow:0;if(null!=n)return Un(e,(n+a)%7,r,"day");var s,l=[];for(s=0;s<7;s++)l[s]=Un(e,(s+a)%7,r,"day");return l}function Hn(t,e){return Yn(t,e,"months")}function Gn(t,e){return Yn(t,e,"monthsShort")}function qn(t,e,n){return Wn(t,e,n,"weekdays")}function Vn(t,e,n){return Wn(t,e,n,"weekdaysShort")}function Xn(t,e,n){return Wn(t,e,n,"weekdaysMin")}function Kn(){var t=this._data;return this._milliseconds=$i(this._milliseconds),this._days=$i(this._days),this._months=$i(this._months),t.milliseconds=$i(t.milliseconds),t.seconds=$i(t.seconds),t.minutes=$i(t.minutes),t.hours=$i(t.hours),t.months=$i(t.months),t.years=$i(t.years),this}function $n(t,e,n,r){var i=Be(e,n);return t._milliseconds+=r*i._milliseconds,t._days+=r*i._days,t._months+=r*i._months,t._bubble()}function Zn(t,e){return $n(this,t,e,1)}function Qn(t,e){return $n(this,t,e,-1)}function Jn(t){return t<0?Math.floor(t):Math.ceil(t)}function tr(){var t,e,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*Jn(nr(s)+a),a=0,s=0),l.milliseconds=o%1e3,t=b(o/1e3),l.seconds=t%60,e=b(t/60),l.minutes=e%60,n=b(e/60),l.hours=n%24,a+=b(n/24),i=b(er(a)),s+=i,a-=Jn(nr(i)),r=b(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function er(t){return 4800*t/146097}function nr(t){return 146097*t/4800}function rr(t){var e,n,r=this._milliseconds;if("month"===(t=j(t))||"year"===t)return e=this._days+r/864e5,n=this._months+er(e),"month"===t?n:n/12;switch(e=this._days+Math.round(nr(this._months)),t){case"week":return e/7+r/6048e5;case"day":return e+r/864e5;case"hour":return 24*e+r/36e5;case"minute":return 1440*e+r/6e4;case"second":return 86400*e+r/1e3;case"millisecond":return Math.floor(864e5*e)+r;default:throw new Error("Unknown unit "+t)}}function ir(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12)}function or(t){return function(){return this.as(t)}}function ar(t){return t=j(t),this[t+"s"]()}function sr(t){return function(){return this._data[t]}}function lr(){return b(this.days()/7)}function ur(t,e,n,r,i){return i.relativeTime(e||1,!!n,t,r)}function cr(t,e,n){var r=Be(t).abs(),i=fo(r.as("s")),o=fo(r.as("m")),a=fo(r.as("h")),s=fo(r.as("d")),l=fo(r.as("M")),u=fo(r.as("y")),c=i0,c[4]=n,ur.apply(null,c)}function hr(t){return void 0===t?fo:"function"==typeof t&&(fo=t,!0)}function fr(t,e){return void 0!==po[t]&&(void 0===e?po[t]:(po[t]=e,!0))}function dr(t){var e=this.localeData(),n=cr(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)}function pr(){var t,e,n,r=mo(this._milliseconds)/1e3,i=mo(this._days),o=mo(this._months);t=b(r/60),e=b(t/60),r%=60,t%=60,n=b(o/12),o%=12;var a=n,s=o,l=i,u=e,c=t,h=r,f=this.asSeconds();return f?(f<0?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(l?l+"D":"")+(u||c||h?"T":"")+(u?u+"H":"")+(c?c+"M":"")+(h?h+"S":""):"P0D"}var mr,vr;vr=Array.prototype.some?Array.prototype.some:function(t){for(var e=Object(this),n=e.length>>>0,r=0;r68?1900:2e3)};var pi=B("FullYear",!0);q("w",["ww",2],"wo","week"),q("W",["WW",2],"Wo","isoWeek"),z("week","w"),z("isoWeek","W"),R("week",5),R("isoWeek",5),Z("w",Fr),Z("ww",Fr,zr),Z("W",Fr),Z("WW",Fr,zr),nt(["w","ww","W","WW"],function(t,e,n,r){e[r.substr(0,1)]=x(t)});var mi={dow:0,doy:6};q("d",0,"do","day"),q("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),q("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),q("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),q("e",0,0,"weekday"),q("E",0,0,"isoWeekday"),z("day","d"),z("weekday","e"),z("isoWeekday","E"),R("day",11),R("weekday",11),R("isoWeekday",11),Z("d",Fr),Z("e",Fr),Z("E",Fr),Z("dd",function(t,e){return e.weekdaysMinRegex(t)}),Z("ddd",function(t,e){return e.weekdaysShortRegex(t)}),Z("dddd",function(t,e){return e.weekdaysRegex(t)}),nt(["dd","ddd","dddd"],function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:f(n).invalidWeekday=t}),nt(["d","e","E"],function(t,e,n,r){e[r]=x(t)});var vi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),gi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),yi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),bi=$r,xi=$r,_i=$r;q("H",["HH",2],0,"hour"),q("h",["hh",2],0,Wt),q("k",["kk",2],0,Ht),q("hmm",0,0,function(){return""+Wt.apply(this)+G(this.minutes(),2)}),q("hmmss",0,0,function(){return""+Wt.apply(this)+G(this.minutes(),2)+G(this.seconds(),2)}),q("Hmm",0,0,function(){return""+this.hours()+G(this.minutes(),2)}),q("Hmmss",0,0,function(){return""+this.hours()+G(this.minutes(),2)+G(this.seconds(),2)}),Gt("a",!0),Gt("A",!1),z("hour","h"),R("hour",13),Z("a",qt),Z("A",qt),Z("H",Fr),Z("h",Fr),Z("HH",Fr,zr),Z("hh",Fr,zr),Z("hmm",Br),Z("hmmss",Ur),Z("Hmm",Br),Z("Hmmss",Ur),et(["H","HH"],ni),et(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),et(["h","hh"],function(t,e,n){e[ni]=x(t),f(n).bigHour=!0}),et("hmm",function(t,e,n){var r=t.length-2;e[ni]=x(t.substr(0,r)),e[ri]=x(t.substr(r)),f(n).bigHour=!0}),et("hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[ni]=x(t.substr(0,r)),e[ri]=x(t.substr(r,2)),e[ii]=x(t.substr(i)),f(n).bigHour=!0}),et("Hmm",function(t,e,n){var r=t.length-2;e[ni]=x(t.substr(0,r)),e[ri]=x(t.substr(r))}),et("Hmmss",function(t,e,n){var r=t.length-4,i=t.length-2;e[ni]=x(t.substr(0,r)),e[ri]=x(t.substr(r,2)),e[ii]=x(t.substr(i))});var wi,ki=/[ap]\.?m?\.?/i,Si=B("Hours",!0),Mi={calendar:Sr,longDateFormat:Mr,invalidDate:"Invalid date",ordinal:"%d",ordinalParse:Tr,relativeTime:Cr,months:ci,monthsShort:hi,week:mi,weekdays:vi,weekdaysMin:yi,weekdaysShort:gi,meridiemParse:ki},Ti={},Ci={},Oi=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ei=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ai=/Z|[+-]\d\d(?::?\d\d)?/,Pi=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Di=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Ii=/^\/?Date\((\-?\d+)/i;e.createFromInputFallback=k("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),e.ISO_8601=function(){};var Li=k("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=ye.apply(null,arguments);return this.isValid()&&t.isValid()?tthis?this:t:p()}),ji=function(){return Date.now?Date.now():+new Date};Me("Z",":"),Me("ZZ",""),Z("Z",Xr),Z("ZZ",Xr),et(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Te(Xr,t)});var Ni=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Ri=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Fi=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Be.fn=we.prototype;var Bi=He(1,"add"),Ui=He(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Yi=k("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});q(0,["gg",2],0,function(){return this.weekYear()%100}),q(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Tn("gggg","weekYear"),Tn("ggggg","weekYear"),Tn("GGGG","isoWeekYear"),Tn("GGGGG","isoWeekYear"),z("weekYear","gg"),z("isoWeekYear","GG"),R("weekYear",1),R("isoWeekYear",1),Z("G",qr),Z("g",qr),Z("GG",Fr,zr),Z("gg",Fr,zr),Z("GGGG",Wr,Nr),Z("gggg",Wr,Nr),Z("GGGGG",Hr,Rr),Z("ggggg",Hr,Rr),nt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,r){e[r.substr(0,2)]=x(t)}),nt(["gg","GG"],function(t,n,r,i){n[i]=e.parseTwoDigitYear(t)}),q("Q",0,"Qo","quarter"),z("quarter","Q"),R("quarter",7),Z("Q",Lr),et("Q",function(t,e){e[ti]=3*(x(t)-1)}),q("D",["DD",2],"Do","date"),z("date","D"),R("date",9),Z("D",Fr),Z("DD",Fr,zr),Z("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),et(["D","DD"],ei),et("Do",function(t,e){e[ei]=x(t.match(Fr)[0],10)});var Wi=B("Date",!0);q("DDD",["DDDD",3],"DDDo","dayOfYear"),z("dayOfYear","DDD"),R("dayOfYear",4),Z("DDD",Yr),Z("DDDD",jr),et(["DDD","DDDD"],function(t,e,n){n._dayOfYear=x(t)}),q("m",["mm",2],0,"minute"),z("minute","m"),R("minute",14),Z("m",Fr),Z("mm",Fr,zr),et(["m","mm"],ri);var Hi=B("Minutes",!1);q("s",["ss",2],0,"second"),z("second","s"),R("second",15),Z("s",Fr),Z("ss",Fr,zr),et(["s","ss"],ii);var Gi=B("Seconds",!1);q("S",0,0,function(){return~~(this.millisecond()/100)}),q(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),q(0,["SSS",3],0,"millisecond"),q(0,["SSSS",4],0,function(){return 10*this.millisecond()}),q(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),q(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),q(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),q(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),q(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),z("millisecond","ms"),R("millisecond",16),Z("S",Yr,Lr),Z("SS",Yr,zr),Z("SSS",Yr,jr);var qi;for(qi="SSSS";qi.length<=9;qi+="S")Z(qi,Gr);for(qi="S";qi.length<=9;qi+="S")et(qi,zn);var Vi=B("Milliseconds",!1);q("z",0,0,"zoneAbbr"),q("zz",0,0,"zoneName");var Xi=g.prototype;Xi.add=Bi,Xi.calendar=Ve,Xi.clone=Xe,Xi.diff=en,Xi.endOf=mn,Xi.format=sn,Xi.from=ln,Xi.fromNow=un,Xi.to=cn,Xi.toNow=hn,Xi.get=W,Xi.invalidAt=Sn,Xi.isAfter=Ke,Xi.isBefore=$e,Xi.isBetween=Ze,Xi.isSame=Qe,Xi.isSameOrAfter=Je,Xi.isSameOrBefore=tn,Xi.isValid=wn,Xi.lang=Yi,Xi.locale=fn,Xi.localeData=dn,Xi.max=zi,Xi.min=Li,Xi.parsingFlags=kn,Xi.set=H,Xi.startOf=pn,Xi.subtract=Ui,Xi.toArray=bn,Xi.toObject=xn,Xi.toDate=yn,Xi.toISOString=on,Xi.inspect=an,Xi.toJSON=_n,Xi.toString=rn,Xi.unix=gn,Xi.valueOf=vn,Xi.creationData=Mn,Xi.year=pi,Xi.isLeapYear=gt,Xi.weekYear=Cn,Xi.isoWeekYear=On,Xi.quarter=Xi.quarters=In,Xi.month=ct,Xi.daysInMonth=ht,Xi.week=Xi.weeks=Ct,Xi.isoWeek=Xi.isoWeeks=Ot,Xi.weeksInYear=An,Xi.isoWeeksInYear=En,Xi.date=Wi,Xi.day=Xi.days=jt,Xi.weekday=Nt,Xi.isoWeekday=Rt,Xi.dayOfYear=Ln,Xi.hour=Xi.hours=Si,Xi.minute=Xi.minutes=Hi,Xi.second=Xi.seconds=Gi,Xi.millisecond=Xi.milliseconds=Vi,Xi.utcOffset=Ee,Xi.utc=Pe,Xi.local=De,Xi.parseZone=Ie,Xi.hasAlignedHourOffset=Le,Xi.isDST=ze,Xi.isLocal=Ne,Xi.isUtcOffset=Re,Xi.isUtc=Fe,Xi.isUTC=Fe,Xi.zoneAbbr=jn,Xi.zoneName=Nn,Xi.dates=k("dates accessor is deprecated. Use date instead.",Wi),Xi.months=k("months accessor is deprecated. Use month instead",ct),Xi.years=k("years accessor is deprecated. Use year instead",pi),Xi.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ae),Xi.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",je);var Ki=O.prototype;Ki.calendar=E,Ki.longDateFormat=A,Ki.invalidDate=P,Ki.ordinal=D,Ki.preparse=Bn,Ki.postformat=Bn,Ki.relativeTime=I,Ki.pastFuture=L,Ki.set=T,Ki.months=ot,Ki.monthsShort=at,Ki.monthsParse=lt,Ki.monthsRegex=dt,Ki.monthsShortRegex=ft,Ki.week=St,Ki.firstDayOfYear=Tt,Ki.firstDayOfWeek=Mt,Ki.weekdays=Pt,Ki.weekdaysMin=It,Ki.weekdaysShort=Dt,Ki.weekdaysParse=zt,Ki.weekdaysRegex=Ft,Ki.weekdaysShortRegex=Bt,Ki.weekdaysMinRegex=Ut,Ki.isPM=Vt,Ki.meridiem=Xt,Qt("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===x(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),e.lang=k("moment.lang is deprecated. Use moment.locale instead.",Qt),e.langData=k("moment.langData is deprecated. Use moment.localeData instead.",ee);var $i=Math.abs,Zi=or("ms"),Qi=or("s"),Ji=or("m"),to=or("h"),eo=or("d"),no=or("w"),ro=or("M"),io=or("y"),oo=sr("milliseconds"),ao=sr("seconds"),so=sr("minutes"),lo=sr("hours"),uo=sr("days"),co=sr("months"),ho=sr("years"),fo=Math.round,po={s:45,m:45,h:22,d:26,M:11},mo=Math.abs,vo=we.prototype;return vo.abs=Kn,vo.add=Zn,vo.subtract=Qn,vo.as=rr,vo.asMilliseconds=Zi,vo.asSeconds=Qi,vo.asMinutes=Ji,vo.asHours=to,vo.asDays=eo,vo.asWeeks=no,vo.asMonths=ro,vo.asYears=io,vo.valueOf=ir,vo._bubble=tr,vo.get=ar,vo.milliseconds=oo,vo.seconds=ao,vo.minutes=so,vo.hours=lo,vo.days=uo,vo.weeks=lr,vo.months=co,vo.years=ho,vo.humanize=dr,vo.toISOString=pr,vo.toString=pr,vo.toJSON=pr,vo.locale=fn,vo.localeData=dn,vo.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",pr),vo.lang=Yi,q("X",0,0,"unix"),q("x",0,0,"valueOf"),Z("x",qr),Z("X",Kr),et("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),et("x",function(t,e,n){n._d=new Date(x(t))}),e.version="2.17.1",function(t){mr=t}(ye),e.fn=Xi,e.min=xe,e.max=_e,e.now=ji,e.utc=c,e.unix=Rn,e.months=Hn,e.isDate=a,e.locale=Qt,e.invalid=p,e.duration=Be,e.isMoment=y,e.weekdays=qn,e.parseZone=Fn,e.localeData=ee,e.isDuration=ke,e.monthsShort=Gn,e.weekdaysMin=Xn,e.defineLocale=Jt,e.updateLocale=te,e.locales=ne,e.weekdaysShort=Vn,e.normalizeUnits=j,e.relativeTimeRounding=hr,e.relativeTimeThreshold=fr,e.calendarFormat=qe,e.prototype=Xi,e})}).call(e,n(222)(t))},,,,,function(t,e,n){var r=n(404),i=n(303),o=n(305),a=o(function(t,e,n){return n?r(t,e,n):i(t,e)});t.exports=a},,,,,function(t,e,n){"use strict";function r(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(t){console.error(t)}}r(),t.exports=n(390)},,,,,,,,,,,,,function(t,e,n){var r=n(110),i=n(92),o=n(50),a=Object.prototype,s=a.toString,l=r(Array,"isArray"),u=l||function(t){return o(t)&&i(t.length)&&"[object Array]"==s.call(t)};t.exports=u},,function(t,e){function n(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}t.exports=n},,,function(t,e,n){function r(t,e,n,r){return e&&"boolean"!=typeof e&&a(t,e,n)?e=!1:"function"==typeof e&&(r=n,n=e,e=!1),"function"==typeof n?i(t,e,o(n,r,3)):i(t,e)}var i=n(438),o=n(94),a=n(111);t.exports=r},function(t,e){!function(e,n){"object"==typeof t&&t.exports?t.exports=e.document?n(e):n:e.Highcharts=n(e)}("undefined"!=typeof window?window:this,function(t){var e=function(){var e=t.document,n=t.navigator&&t.navigator.userAgent||"",r=e&&e.createElementNS&&!!e.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,i=/(edge|msie|trident)/i.test(n)&&!t.opera,o=/Firefox/.test(n),a=o&&4>parseInt(n.split("Firefox/")[1],10);return t.Highcharts?t.Highcharts.error(16,!0):{product:"Highcharts",version:"6.0.0",deg2rad:2*Math.PI/360,doc:e,hasBidiBug:a,hasTouch:e&&void 0!==e.documentElement.ontouchstart,isMS:i,isWebKit:/AppleWebKit/.test(n),isFirefox:o,isTouchDevice:/(Mobile|Android|Windows Phone)/.test(n),SVG_NS:"http://www.w3.org/2000/svg",chartCount:0,seriesTypes:{},symbolSizes:{},svg:r,win:t,marginNames:["plotTop","marginRight","marginBottom","plotLeft"],noop:function(){},charts:[]}}();!function(t){var e=[],n=t.charts,r=t.doc,i=t.win;t.error=function(e,n){if(e=t.isNumber(e)?"Highcharts error #"+e+": www.highcharts.com/errors/"+e:e,n)throw Error(e);i.console&&console.log(e)},t.Fx=function(t,e,n){this.options=e,this.elem=t,this.prop=n},t.Fx.prototype={dSetter:function(){var t,e=this.paths[0],n=this.paths[1],r=[],i=this.now,o=e.length;if(1===i)r=this.toD;else if(o===n.length&&1>i)for(;o--;)t=parseFloat(e[o]),r[o]=isNaN(t)?e[o]:i*parseFloat(n[o]-t)+t;else r=n;this.elem.attr("d",r,null,!0)},update:function(){var t=this.elem,e=this.prop,n=this.now,r=this.options.step;this[e+"Setter"]?this[e+"Setter"]():t.attr?t.element&&t.attr(e,n,null,!0):t.style[e]=n+this.unit,r&&r.call(t,n,this)},run:function(t,n,r){var o=this,a=function(t){return!a.stopped&&o.step(t)},s=i.requestAnimationFrame||function(t){setTimeout(t,13)},l=function(){var t;for(t=0;t=s+this.startTime?(this.now=this.end,this.pos=1,this.update(),n=l[this.prop]=!0,t.objectEach(l,function(t){!0!==t&&(n=!1)}),n&&a&&a.call(o),e=!1):(this.pos=i.easing((r-this.startTime)/s),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e=!0),e},initPath:function(e,n,r){function i(t){var e,n;for(c=t.length;c--;)e="M"===t[c]||"L"===t[c],n=/[a-zA-Z]/.test(t[c+3]),e&&n&&t.splice(c+1,0,t[c+1],t[c+2],t[c+1],t[c+2])}function o(t,e){for(;t.lengtha?"AM":"PM",P:12>a?"am":"pm",S:p(o.getSeconds()),L:p(Math.round(n%1e3),3)},t.dateFormats);return t.objectEach(i,function(t,r){for(;-1!==e.indexOf("%"+r);)e=e.replace("%"+r,"function"==typeof t?t(n):t)}),r?e.substr(0,1).toUpperCase()+e.substr(1):e},t.formatSingle=function(e,n){var r=/\.([0-9])/,i=t.defaultOptions.lang;return/f$/.test(e)?(r=(r=e.match(r))?r[1]:-1,null!==n&&(n=t.numberFormat(n,r,i.decimalPoint,-1=r&&(n=[1/r]))),i=0;i=e||!o&&a<=(n[i]+(n[i+1]||n[i]))/2));i++);return s=t.correctFloat(s*r,-Math.round(Math.log(.001)/Math.LN10))},t.stableSort=function(t,e){var n,r,i=t.length;for(r=0;rn&&(n=t[e]);return n},t.destroyObjectProperties=function(e,n){t.objectEach(e,function(t,r){t&&t!==n&&t.destroy&&t.destroy(),delete e[r]})},t.discardElement=function(e){var n=t.garbageBin;n||(n=t.createElement("div")),e&&n.appendChild(e),n.innerHTML=""},t.correctFloat=function(t,e){return parseFloat(t.toPrecision(e||14))},t.setAnimation=function(e,n){n.renderer.globalAnimation=t.pick(e,n.options.chart.animation,!0)},t.animObject=function(e){return t.isObject(e)?t.merge(e):{duration:e?500:0}},t.timeUnits={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},t.numberFormat=function(e,n,r,i){e=+e||0,n=+n;var o,a,s=t.defaultOptions.lang,l=(e.toString().split(".")[1]||"").split("e")[0].length,u=e.toString().split("e");return-1===n?n=Math.min(l,20):t.isNumber(n)||(n=2),a=(Math.abs(u[1]?u[0]:e)+Math.pow(10,-Math.max(n,l)-1)).toFixed(n),l=String(t.pInt(a)),o=3e?"-":"")+(o?l.substr(0,o)+i:""),e+=l.substr(o).replace(/(\d{3})(?=\d)/g,"$1"+i),n&&(e+=r+a.slice(-n)),u[1]&&(e+="e"+u[1]),e},Math.easeInOutSine=function(t){return-.5*(Math.cos(Math.PI*t)-1)},t.getStyle=function(e,n,r){return"width"===n?Math.min(e.offsetWidth,e.scrollWidth)-t.getStyle(e,"padding-left")-t.getStyle(e,"padding-right"):"height"===n?Math.min(e.offsetHeight,e.scrollHeight)-t.getStyle(e,"padding-top")-t.getStyle(e,"padding-bottom"):(i.getComputedStyle||t.error(27,!0),(e=i.getComputedStyle(e,void 0))&&(e=e.getPropertyValue(n),t.pick(r,"opacity"!==n)&&(e=t.pInt(e))),e)},t.inArray=function(e,n){return(t.indexOfPolyfill||Array.prototype.indexOf).call(n,e)},t.grep=function(e,n){return(t.filterPolyfill||Array.prototype.filter).call(e,n)},t.find=function(e,n){return(t.findPolyfill||Array.prototype.find).call(e,n)},t.map=function(t,e){for(var n=[],r=0,i=t.length;r>16,(65280&e)>>8,255&e,1]:4===n&&(i=[(3840&e)>>4|(3840&e)>>8,(240&e)>>4|240&e,(15&e)<<4|15&e,1])),!i)for(o=this.parsers.length;o--&&!i;)a=this.parsers[o],(n=a.regex.exec(e))&&(i=a.parse(n));this.rgba=i||[]},get:function(t){var r,o=this.input,a=this.rgba;return this.stops?(r=i(o),r.stops=[].concat(r.stops),e(this.stops,function(e,n){r.stops[n]=[r.stops[n][0],e.get(t)]})):r=a&&n(a[0])?"rgb"===t||!t&&1===a[3]?"rgb("+a[0]+","+a[1]+","+a[2]+")":"a"===t?a[3]:"rgba("+a.join(",")+")":o,r},brighten:function(t){var r,i=this.rgba;if(this.stops)e(this.stops,function(e){e.brighten(t)});else if(n(t)&&0!==t)for(r=0;3>r;r++)i[r]+=o(255*t),0>i[r]&&(i[r]=0),255n.width)&&(n={width:0,height:0})}else n=this.htmlGetBBox();if(s.isSVG&&(t=n.width,s=n.height,u&&"11px"===u.fontSize&&17===Math.round(s)&&(n.height=s=14),e&&(n.width=Math.abs(s*Math.sin(r))+Math.abs(t*Math.cos(r)),n.height=Math.abs(s*Math.cos(r))+Math.abs(t*Math.sin(r)))),a&&0]*>/g,"")))},textSetter:function(t){t!==this.textStr&&(delete this.bBox,this.textStr=t,this.added&&this.renderer.buildText(this))},fillSetter:function(t,e,n){"string"==typeof t?n.setAttribute(e,t):t&&this.colorGradient(t,e,n)},visibilitySetter:function(t,e,n){"inherit"===t?n.removeAttribute(e):this[e]!==t&&n.setAttribute(e,t),this[e]=t},zIndexSetter:function(t,e){var n,r,i,o=this.renderer,a=this.parentGroup,s=(a||o).element||o.box,l=this.element,o=s===o.box;n=this.added;var u;if(c(t)&&(l.zIndex=t,t=+t,this[e]===t&&(n=!1),this[e]=t),n){for((t=this.zIndex)&&a&&(a.handleZ=!0),e=s.childNodes,u=e.length-1;0<=u&&!r;u--)a=e[u],n=a.zIndex,i=!c(n),a!==l&&(0>t&&i&&!o&&!u?(s.insertBefore(l,e[u]),r=!0):(A(n)<=t||i&&(!c(t)||0<=t))&&(s.insertBefore(l,e[u+1]||null),r=!0));r||(s.insertBefore(l,e[o?3:0]||null),r=!0)}return r},_defaultSetter:function(t,e,n){n.setAttribute(e,t)}}),e.prototype.yGetter=e.prototype.xGetter,e.prototype.translateXSetter=e.prototype.translateYSetter=e.prototype.rotationSetter=e.prototype.verticalAlignSetter=e.prototype.rotationOriginXSetter=e.prototype.rotationOriginYSetter=e.prototype.scaleXSetter=e.prototype.scaleYSetter=e.prototype.matrixSetter=function(t,e){this[e]=t,this.doTransform=!0},e.prototype["stroke-widthSetter"]=e.prototype.strokeSetter=function(t,n,r){this[n]=t,this.stroke&&this["stroke-width"]?(e.prototype.fillSetter.call(this,this.stroke,"stroke",r),r.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===n&&0===t&&this.hasStroke&&(r.removeAttribute("stroke"),this.hasStroke=!1)},n=t.SVGRenderer=function(){this.init.apply(this,arguments)},m(n.prototype,{Element:e,SVG_NS:L,init:function(t,e,n,i,a,s){var u;i=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}).css(this.getStyle(i)),u=i.element,t.appendChild(u),-1===t.innerHTML.indexOf("xmlns")&&o(u,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=u,this.boxWrapper=i,this.alignedObjects=[],this.url=(_||M)&&d.getElementsByTagName("base").length?j.location.href.replace(/#.*?$/,"").replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20"):"",this.createElement("desc").add().element.appendChild(d.createTextNode("Created with Highcharts 6.0.0")),this.defs=this.createElement("defs").add(),this.allowHTML=s,this.forExport=a,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(e,n,!1);var c;_&&t.getBoundingClientRect&&(e=function(){l(t,{left:0,top:0}),c=t.getBoundingClientRect(),l(t,{left:Math.ceil(c.left)-c.left+"px",top:Math.ceil(c.top)-c.top+"px"})},e(),this.unSubPixelFix=r(j,"resize",e))},getStyle:function(t){return this.style=m({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},t)},setStyle:function(t){this.boxWrapper.css(this.getStyle(t))},isHidden:function(){return!this.boxWrapper.getBBox().width},destroy:function(){var t=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),f(this.gradients||{}),this.gradients=null,t&&(this.defs=t.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},createElement:function(t){var e=new this.Element;return e.init(this,t),e},draw:C,getRadialAttr:function(t,e){return{cx:t[0]-t[2]/2+e.cx*t[2],cy:t[1]-t[2]/2+e.cy*t[2],r:e.r*t[2]}},getSpanWidth:function(t,e){var n=t.getBBox(!0).width;return!I&&this.forExport&&(n=this.measureSpanWidth(e.firstChild.data,t.styles)),n},applyEllipsis:function(t,e,n,r){var i,o,a=t.rotation,s=n,l=0,u=n.length,c=function(t){e.removeChild(e.firstChild),t&&e.appendChild(d.createTextNode(t))};if(t.rotation=0,s=this.getSpanWidth(t,e),o=s>r){for(;l<=u;)i=Math.ceil((l+u)/2),s=n.substring(0,i)+"…",c(s),s=this.getSpanWidth(t,e),l===u?l=u+1:s>r?u=i-1:l=i;0===u&&c("")}return t.rotation=a,o},escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},buildText:function(t){var e,n,r,i,a,s,u=t.element,c=this,h=c.forExport,f=E(t.textStr,"").toString(),m=-1!==f.indexOf("<"),v=u.childNodes,y=o(u,"x"),b=t.styles,x=t.textWidth,_=b&&b.lineHeight,w=b&&b.textOutline,k=b&&"ellipsis"===b.textOverflow,S=b&&"nowrap"===b.whiteSpace,M=b&&b.fontSize,T=v.length,b=x&&!t.added&&this.box,C=function(t){var e;return e=/(px|em)$/.test(t&&t.style.fontSize)?t.style.fontSize:M||c.style.fontSize||12,_?A(_):c.fontMetrics(e,t.getAttribute("style")?t:u).h},P=function(t){return O(c.escapes,function(e,n){t=t.replace(new RegExp(e,"g"),n)}),t};if((a=[f,k,S,_,w,M,x].join())!==t.textCache){for(t.textCache=a;T--;)u.removeChild(v[T]);m||w||k||x||-1!==f.indexOf(" ")?(e=/<.*class="([^"]+)".*>/,n=/<.*style="([^"]+)".*>/,r=/<.*href="([^"]+)".*>/,b&&b.appendChild(u),f=m?f.replace(/<(b|strong)>/g,'').replace(/<(i|em)>/g,'').replace(//g,"").split(//g):[f],f=g(f,function(t){return""!==t}),p(f,function(a,f){var m,v=0;a=a.replace(/^\s+|\s+$/g,"").replace(//g,"|||"),m=a.split("|||"),p(m,function(a){if(""!==a||1===m.length){var p,g,b={},_=d.createElementNS(c.SVG_NS,"tspan");if(e.test(a)&&(p=a.match(e)[1],o(_,"class",p)),n.test(a)&&(g=a.match(n)[1].replace(/(;| |^)color([ :])/,"$1fill$2"),o(_,"style",g)),r.test(a)&&!h&&(o(_,"onclick",'location.href="'+a.match(r)[1]+'"'),o(_,"class","highcharts-anchor"),l(_,{cursor:"pointer"}))," "!==(a=P(a.replace(/<[a-zA-Z\/](.|\n)*?>/g,"")||" "))){if(_.appendChild(d.createTextNode(a)),v?b.dx=0:f&&null!==y&&(b.x=y),o(_,b),u.appendChild(_),!v&&s&&(!I&&h&&l(_,{display:"block"}),o(_,"dy",C(_))),x){b=a.replace(/([^\^])-/g,"$1- ").split(" "),p=1x,void 0===i&&(i=a),a&&1!==b.length?(_.removeChild(_.firstChild),M.unshift(b.pop())):(b=M,M=[],b.length&&!S&&(_=d.createElementNS(L,"tspan"),o(_,{dy:T,x:y}),g&&o(_,"style",g),u.appendChild(_)),w>x&&(x=w)),b.length&&_.appendChild(d.createTextNode(b.join(" ").replace(/- /g,"-")));t.rotation=O}v++}}}),s=s||u.childNodes.length}),i&&t.attr("title",t.textStr),b&&b.removeChild(u),w&&t.applyTextOutline&&t.applyTextOutline(w)):u.appendChild(d.createTextNode(P(f)))}},getContrast:function(t){return t=s(t).rgba,510Math.abs(i.end-i.start-2*Math.PI));var u=Math.cos(o),h=Math.sin(o),f=Math.cos(l),l=Math.sin(l);return i=.001>i.end-o-Math.PI?0:1,a=["M",t+a*u,e+s*h,"A",a,s,0,i,1,t+a*f,e+s*l],c(n)&&a.push(r?"M":"L",t+n*f,e+n*l,"A",n,n,0,i,0,t+n*u,e+n*h),a.push(r?"":"Z"),a},callout:function(t,e,n,r,i){var o=Math.min(i&&i.r||0,n,r),a=o+6,s=i&&i.anchorX;i=i&&i.anchorY;var l;return l=["M",t+o,e,"L",t+n-o,e,"C",t+n,e,t+n,e,t+n,e+o,"L",t+n,e+r-o,"C",t+n,e+r,t+n,e+r,t+n-o,e+r,"L",t+o,e+r,"C",t,e+r,t,e+r,t,e+r-o,"L",t,e+o,"C",t,e,t,e,t+o,e],s&&s>n?i>e+a&&is?i>e+a&&ir&&s>t+a&&si&&s>t+a&&st?t+3:Math.round(1.2*t),{h:e,b:Math.round(.8*e),f:t}},rotCorr:function(t,e,n){var r=t;return e&&n&&(r=Math.max(r*Math.cos(e*h),4)),{x:-t/3*Math.sin(e*h),y:r}},label:function(n,r,i,o,a,s,l,u,h){var f,d,v,g,y,b,x,_,w,k,S,M,C,O=this,E=O.g("button"!==h&&"label"),A=E.text=O.text("",0,0,l).attr({zIndex:1}),D=0,I=3,L=0,z={},j=/^url\((.*?)\)$/.test(o),N=j;h&&E.addClass("highcharts-"+h),N=j,k=function(){return(_||0)%2/2},S=function(){var t=A.element.style,e={};d=(void 0===v||void 0===g||x)&&c(A.textStr)&&A.getBBox(),E.width=(v||d.width||0)+2*I+L,E.height=(g||d.height||0)+2*I,w=I+O.fontMetrics(t&&t.fontSize,A).b,N&&(f||(E.box=f=O.symbols[o]||j?O.symbol(o):O.rect(),f.addClass(("button"===h?"":"highcharts-label-box")+(h?" highcharts-"+h+"-box":"")),f.add(E),t=k(),e.x=t,e.y=(u?-w:0)+t),e.width=Math.round(E.width),e.height=Math.round(E.height),f.attr(m(e,z)),z={})},M=function(){var t,e=L+I;t=u?0:w,c(v)&&d&&("center"===x||"right"===x)&&(e+={center:.5,right:1}[x]*(v-d.width)),e===A.x&&t===A.y||(A.attr("x",e),void 0!==t&&A.attr("y",t)),A.x=e,A.y=t},C=function(t,e){f?f.attr(t,e):z[t]=e},E.onAdd=function(){A.add(E),E.attr({text:n||0===n?n:"",x:r,y:i}),f&&c(a)&&E.attr({anchorX:a,anchorY:s})},E.widthSetter=function(e){v=t.isNumber(e)?e:null},E.heightSetter=function(t){g=t},E["text-alignSetter"]=function(t){x=t},E.paddingSetter=function(t){c(t)&&t!==I&&(I=E.padding=t,M())},E.paddingLeftSetter=function(t){c(t)&&t!==L&&(L=t,M())},E.alignSetter=function(t){(t={left:0,center:.5,right:1}[t])!==D&&(D=t,d&&E.attr({x:y}))},E.textSetter=function(t){void 0!==t&&A.textSetter(t),S(),M()},E["stroke-widthSetter"]=function(t,e){t&&(N=!0),_=this["stroke-width"]=t,C(e,t)},E.strokeSetter=E.fillSetter=E.rSetter=function(t,e){"r"!==e&&("fill"===e&&t&&(N=!0),E[e]=t),C(e,t)},E.anchorXSetter=function(t,e){a=E.anchorX=t,C(e,Math.round(t)-k()-y)},E.anchorYSetter=function(t,e){s=E.anchorY=t,C(e,t-b)},E.xSetter=function(t){E.x=t,D&&(t-=D*((v||d.width)+2*I)),y=Math.round(t),E.attr("translateX",y)},E.ySetter=function(t){b=E.y=Math.round(t),E.attr("translateY",b)};var R=E.css;return m(E,{css:function(t){if(t){var e={};t=T(t),p(E.textProps,function(n){void 0!==t[n]&&(e[n]=t[n],delete t[n])}),A.css(e)}return R.call(E,t)},getBBox:function(){return{width:d.width+2*I,height:d.height+2*I,x:d.x-I,y:d.y-I}},shadow:function(t){return t&&(S(),f&&f.shadow(t)),E},destroy:function(){P(E.element,"mouseenter"),P(E.element,"mouseleave"),A&&(A=A.destroy()),f&&(f=f.destroy()),e.prototype.destroy.call(E),E=O=S=M=C=null}})}}),t.Renderer=n}(e),function(t){var e=t.attr,n=t.createElement,r=t.css,i=t.defined,o=t.each,a=t.extend,s=t.isFirefox,l=t.isMS,u=t.isWebKit,c=t.pInt,h=t.SVGRenderer,f=t.win,d=t.wrap;a(t.SVGElement.prototype,{htmlCss:function(t){var e=this.element;return(e=t&&"SPAN"===e.tagName&&t.width)&&(delete t.width,this.textWidth=e,this.updateTransform()),t&&"ellipsis"===t.textOverflow&&(t.whiteSpace="nowrap",t.overflow="hidden"),this.styles=a(this.styles,t),r(this.element,t),this},htmlGetBBox:function(){var t=this.element;return{x:t.offsetLeft,y:t.offsetTop,width:t.offsetWidth,height:t.offsetHeight}},htmlUpdateTransform:function(){if(this.added){var t=this.renderer,e=this.element,n=this.translateX||0,a=this.translateY||0,s=this.x||0,l=this.y||0,h=this.textAlign||"left",f={left:0,center:.5,right:1}[h],d=this.styles;if(r(e,{marginLeft:n,marginTop:a}),this.shadows&&o(this.shadows,function(t){r(t,{marginLeft:n+1,marginTop:a+1})}),this.inverted&&o(e.childNodes,function(n){t.invertChild(n,e)}),"SPAN"===e.tagName){var p=this.rotation,m=c(this.textWidth),v=d&&d.whiteSpace,g=[p,h,e.innerHTML,this.textWidth,this.textAlign].join();g!==this.cTT&&(d=t.fontMetrics(e.style.fontSize).b,i(p)&&this.setSpanRotation(p,f,d),r(e,{width:"",whiteSpace:v||"nowrap"}),e.offsetWidth>m&&/[ \-]/.test(e.textContent||e.innerText)&&r(e,{width:m+"px",display:"block",whiteSpace:v||"normal"}),this.getSpanCorrection(e.offsetWidth,d,f,p,h)),r(e,{left:s+(this.xCorr||0)+"px",top:l+(this.yCorr||0)+"px"}),u&&(d=e.offsetHeight),this.cTT=g}}else this.alignOnAdd=!0},setSpanRotation:function(t,e,n){var i={},o=this.renderer.getTransformKey();i[o]=i.transform="rotate("+t+"deg)",i[o+(s?"Origin":"-origin")]=i.transformOrigin=100*e+"% "+n+"px",r(this.element,i)},getSpanCorrection:function(t,e,n){this.xCorr=-t*n,this.yCorr=-e}}),a(h.prototype,{getTransformKey:function(){return l&&!/Edge/.test(f.navigator.userAgent)?"-ms-transform":u?"-webkit-transform":s?"MozTransform":f.opera?"-o-transform":""},html:function(t,r,i){var s=this.createElement("span"),l=s.element,u=s.renderer,c=u.isSVG,h=function(t,e){o(["opacity","visibility"],function(n){d(t,n+"Setter",function(t,n,r,i){t.call(this,n,r,i),e[r]=n})})};return s.textSetter=function(t){t!==l.innerHTML&&delete this.bBox,l.innerHTML=this.textStr=t,s.htmlUpdateTransform()},c&&h(s,s.element.style),s.xSetter=s.ySetter=s.alignSetter=s.rotationSetter=function(t,e){"align"===e&&(e="textAlign"),s[e]=t,s.htmlUpdateTransform()},s.attr({text:t,x:Math.round(r),y:Math.round(i)}).css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize,position:"absolute"}),l.style.whiteSpace="nowrap",s.css=s.htmlCss,c&&(s.add=function(t){var r,i=u.box.parentNode,c=[];if(this.parentGroup=t){if(!(r=t.div)){for(;t;)c.push(t),t=t.parentGroup;o(c.reverse(),function(t){function o(e,n){t[n]=e,l[u.getTransformKey()]="translate("+t.x+"px,"+t.y+"px)",t.doTransform=!0}var l,f=e(t.element,"class");f&&(f={className:f}),r=t.div=t.div||n("div",f,{position:"absolute",left:(t.translateX||0)+"px",top:(t.translateY||0)+"px",display:t.display,opacity:t.opacity,pointerEvents:t.styles&&t.styles.pointerEvents},r||i),l=r.style,a(t,{classSetter:function(t){this.element.setAttribute("class",t),r.className=t},on:function(){return c[0].div&&s.on.apply({element:c[0].div},arguments),t},translateXSetter:o,translateYSetter:o}),h(t,l)})}}else r=i;return r.appendChild(l),s.added=!0,s.alignOnAdd&&s.htmlUpdateTransform(),s}),s}})}(e),function(t){function e(){var e=t.defaultOptions.global,n=s.moment;if(e.timezone){if(n)return function(t){return-n.tz(t,e.timezone).utcOffset()};t.error(25)}return e.useUTC&&e.getTimezoneOffset}function n(){var n,r=t.defaultOptions.global,o=r.useUTC,l=o?"getUTC":"get",u=o?"setUTC":"set",c="Minutes Hours Day Date Month FullYear".split(" "),h=c.concat(["Milliseconds","Seconds"]);for(t.Date=n=r.Date||s.Date,n.hcTimezoneOffset=o&&r.timezoneOffset,n.hcGetTimezoneOffset=e(),n.hcMakeTime=function(t,e,r,s,l,u){var c;return o?(c=n.UTC.apply(0,arguments),c+=i(c)):c=new n(t,e,a(r,1),a(s,0),a(l,0),a(u,0)).getTime(),c},r=0;r{point.key}
',pointFormat:' {series.name}: {point.y}
',shadow:!0,style:{color:"#333333",cursor:"default",fontSize:"12px",pointerEvents:"none",whiteSpace:"nowrap"}},credits:{enabled:!0,href:"http://www.highcharts.com",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}},t.setOptions=function(e){return t.defaultOptions=o(!0,t.defaultOptions,e),n(),t.defaultOptions},t.getOptions=function(){return t.defaultOptions},t.defaultPlotOptions=t.defaultOptions.plotOptions,n()}(e),function(t){var e=t.correctFloat,n=t.defined,r=t.destroyObjectProperties,i=t.isNumber,o=t.merge,a=t.pick,s=t.deg2rad;t.Tick=function(t,e,n,r){this.axis=t,this.pos=e,this.type=n||"",this.isNewLabel=this.isNew=!0,n||r||this.addLabel()},t.Tick.prototype={addLabel:function(){var t,r=this.axis,i=r.options,s=r.chart,l=r.categories,u=r.names,c=this.pos,h=i.labels,f=r.tickPositions,d=c===f[0],p=c===f[f.length-1],u=l?a(l[c],u[c],c):c,l=this.label,f=f.info;r.isDatetimeAxis&&f&&(t=i.dateTimeLabelFormats[f.higherRanks[c]||f.unitName]),this.isFirst=d,this.isLast=p,i=r.labelFormatter.call({axis:r,chart:s,isFirst:d,isLast:p,dateTimeLabelFormat:t,value:r.isLog?e(r.lin2log(u)):u,pos:c}),n(l)?l&&l.attr({text:i}):(this.labelLength=(this.label=l=n(i)&&h.enabled?s.renderer.text(i,0,0,h.useHTML).css(o(h.style)).add(r.labelGroup):null)&&l.getBBox().width,this.rotation=0)},getLabelSize:function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},handleOverflow:function(t){var e,n=this.axis,r=t.x,i=n.chart.chartWidth,o=n.chart.spacing,l=a(n.labelLeft,Math.min(n.pos,o[3])),o=a(n.labelRight,Math.max(n.pos+n.len,i-o[1])),u=this.label,c=this.rotation,h={left:0,center:.5,right:1}[n.labelAlign],f=u.getBBox().width,d=n.getSlotWidth(),p=d,m=1,v={};c?0>c&&r-h*fo&&(e=Math.round((i-r)/Math.cos(c*s))):(i=r+(1-h)*f,r-h*fo&&(p=o-t.x+p*h,m=-1),p=Math.min(d,p),pp||n.autoRotation&&(u.styles||{}).width)&&(e=p)),e&&(v.width=e,(n.options.labels.style||{}).textOverflow||(v.textOverflow="ellipsis"),u.css(v))},getPosition:function(t,e,n,r){var i=this.axis,o=i.chart,a=r&&o.oldChartHeight||o.chartHeight;return{x:t?i.translate(e+n,null,null,r)+i.transB:i.left+i.offset+(i.opposite?(r&&o.oldChartWidth||o.chartWidth)-i.right-i.left:0),y:t?a-i.bottom+i.offset-(i.opposite?i.height:0):a-i.translate(e+n,null,null,r)-i.transB}},getLabelPosition:function(t,e,r,i,o,a,l,u){var c=this.axis,h=c.transA,f=c.reversed,d=c.staggerLines,p=c.tickRotCorr||{x:0,y:0},m=o.y;return n(m)||(m=0===c.side?r.rotation?-8:-r.getBBox().height:2===c.side?p.y+8:Math.cos(r.rotation*s)*(p.y-r.getBBox(!1,0).height/2)),t=t+o.x+p.x-(a&&i?a*h*(f?-1:1):0),e=e+m-(a&&!i?a*h*(f?1:-1):0),d&&(r=l/(u||1)%d,c.opposite&&(r=d-r-1),e+=c.labelOffset/d*r),{x:t,y:Math.round(e)}},getMarkPath:function(t,e,n,r,i,o){return o.crispLine(["M",t,e,"L",t+(i?0:-n),e+(i?n:0)],r)},renderGridLine:function(t,e,n){var r=this.axis,i=r.options,o=this.gridLine,a={},s=this.pos,l=this.type,u=r.tickmarkOffset,c=r.chart.renderer,h=l?l+"Grid":"grid",f=i[h+"LineWidth"],d=i[h+"LineColor"],i=i[h+"LineDashStyle"];o||(a.stroke=d,a["stroke-width"]=f,i&&(a.dashstyle=i),l||(a.zIndex=1),t&&(a.opacity=0),this.gridLine=o=c.path().attr(a).addClass("highcharts-"+(l?l+"-":"")+"grid-line").add(r.gridGroup)),!t&&o&&(t=r.getPlotLinePath(s+u,o.strokeWidth()*n,t,!0))&&o[this.isNew?"attr":"animate"]({d:t,opacity:e})},renderMark:function(t,e,n){var r=this.axis,i=r.options,o=r.chart.renderer,s=this.type,l=s?s+"Tick":"tick",u=r.tickSize(l),c=this.mark,h=!c,f=t.x;t=t.y;var d=a(i[l+"Width"],!s&&r.isXAxis?1:0),i=i[l+"Color"];u&&(r.opposite&&(u[0]=-u[0]),h&&(this.mark=c=o.path().addClass("highcharts-"+(s?s+"-":"")+"tick").add(r.axisGroup),c.attr({stroke:i,"stroke-width":d})),c[h?"attr":"animate"]({d:this.getMarkPath(f,t,u[0],c.strokeWidth()*n,r.horiz,o),opacity:e}))},renderLabel:function(t,e,n,r){var o=this.axis,s=o.horiz,l=o.options,u=this.label,c=l.labels,h=c.step,f=o.tickmarkOffset,d=!0,p=t.x;t=t.y,u&&i(p)&&(u.xy=t=this.getLabelPosition(p,t,u,s,c,f,r,h),this.isFirst&&!this.isLast&&!a(l.showFirstLabel,1)||this.isLast&&!this.isFirst&&!a(l.showLastLabel,1)?d=!1:!s||o.isRadial||c.step||c.rotation||e||0===n||this.handleOverflow(t),h&&r%h&&(d=!1),d&&i(t.y)?(t.opacity=n,u[this.isNewLabel?"attr":"animate"](t),this.isNewLabel=!1):(u.attr("y",-9999),this.isNewLabel=!0))},render:function(t,e,n){var r=this.axis,i=r.horiz,o=this.getPosition(i,this.pos,r.tickmarkOffset,e),s=o.x,l=o.y,r=i&&s===r.pos+r.len||!i&&l===r.pos?-1:1;n=a(n,1),this.isActive=!0,this.renderGridLine(e,n,r),this.renderMark(o,n,r),this.renderLabel(o,e,n,t),this.isNew=!1},destroy:function(){r(this,this.axis)}}}(e);var n=function(t){var e=t.addEvent,n=t.animObject,r=t.arrayMax,i=t.arrayMin,o=t.color,a=t.correctFloat,s=t.defaultOptions,l=t.defined,u=t.deg2rad,c=t.destroyObjectProperties,h=t.each,f=t.extend,d=t.fireEvent,p=t.format,m=t.getMagnitude,v=t.grep,g=t.inArray,y=t.isArray,b=t.isNumber,x=t.isString,_=t.merge,w=t.normalizeTickInterval,k=t.objectEach,S=t.pick,M=t.removeEvent,T=t.splat,C=t.syncTimeout,O=t.Tick,E=function(){this.init.apply(this,arguments)};return t.extend(E.prototype,{defaultOptions:{dateTimeLabelFormats:{millisecond:"%H:%M:%S.%L",second:"%H:%M:%S",minute:"%H:%M",hour:"%H:%M",day:"%e. %b",week:"%e. %b",month:"%b '%y",year:"%Y"},endOnTick:!1,labels:{enabled:!0,style:{color:"#666666",cursor:"default",fontSize:"11px"},x:0},minPadding:.01,maxPadding:.01,minorTickLength:2,minorTickPosition:"outside",startOfWeek:1,startOnTick:!1,tickLength:10,tickmarkPlacement:"between",tickPixelInterval:100,tickPosition:"outside",title:{align:"middle",style:{color:"#666666"}},type:"linear",minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",tickColor:"#ccd6eb"},defaultYAxisOptions:{endOnTick:!0,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},maxPadding:.05,minPadding:.05,startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{allowOverlap:!1,enabled:!1,formatter:function(){return t.numberFormat(this.total,-1)},style:{fontSize:"11px",fontWeight:"bold",color:"#000000",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},defaultLeftAxisOptions:{labels:{x:-15},title:{rotation:270}},defaultRightAxisOptions:{labels:{x:15},title:{rotation:90}},defaultBottomAxisOptions:{labels:{autoRotation:[-45],x:0},title:{rotation:0}},defaultTopAxisOptions:{labels:{autoRotation:[-45],x:0},title:{rotation:0}},init:function(t,n){var r=n.isX,i=this;i.chart=t,i.horiz=t.inverted&&!i.isZAxis?!r:r,i.isXAxis=r,i.coll=i.coll||(r?"xAxis":"yAxis"),i.opposite=n.opposite,i.side=n.side||(i.horiz?i.opposite?0:2:i.opposite?1:3),i.setOptions(n);var o=this.options,a=o.type;i.labelFormatter=o.labels.formatter||i.defaultLabelFormatter,i.userOptions=n,i.minPixelPadding=0,i.reversed=o.reversed,i.visible=!1!==o.visible,i.zoomEnabled=!1!==o.zoomEnabled,i.hasNames="category"===a||!0===o.categories,i.categories=o.categories||i.hasNames,i.names=i.names||[],i.plotLinesAndBandsGroups={},i.isLog="logarithmic"===a,i.isDatetimeAxis="datetime"===a,i.positiveValuesOnly=i.isLog&&!i.allowNegativeLog,i.isLinked=l(o.linkedTo),i.ticks={},i.labelEdge=[],i.minorTicks={},i.plotLinesAndBands=[],i.alternateBands={},i.len=0,i.minRange=i.userMinRange=o.minRange||o.maxZoom,i.range=o.range,i.offset=o.offset||0,i.stacks={},i.oldStacks={},i.stacksTouched=0,i.max=null,i.min=null,i.crosshair=S(o.crosshair,T(t.options.tooltip.crosshairs)[r?0:1],!1),n=i.options.events,-1===g(i,t.axes)&&(r?t.axes.splice(t.xAxis.length,0,i):t.axes.push(i),t[i.coll].push(i)),i.series=i.series||[],t.inverted&&!i.isZAxis&&r&&void 0===i.reversed&&(i.reversed=!0),k(n,function(t,n){e(i,n,t)}),i.lin2log=o.linearToLogConverter||i.lin2log,i.isLog&&(i.val2lin=i.log2lin,i.lin2val=i.lin2log)},setOptions:function(t){this.options=_(this.defaultOptions,"yAxis"===this.coll&&this.defaultYAxisOptions,[this.defaultTopAxisOptions,this.defaultRightAxisOptions,this.defaultBottomAxisOptions,this.defaultLeftAxisOptions][this.side],_(s[this.coll],t))},defaultLabelFormatter:function(){var e,n=this.axis,r=this.value,i=n.categories,o=this.dateTimeLabelFormat,a=s.lang,l=a.numericSymbols,a=a.numericSymbolMagnitude||1e3,u=l&&l.length,c=n.options.labels.format,n=n.isLog?Math.abs(r):n.tickInterval;if(c)e=p(c,this);else if(i)e=r;else if(o)e=t.dateFormat(o,r);else if(u&&1e3<=n)for(;u--&&void 0===e;)i=Math.pow(a,u+1),n>=i&&0==10*r%i&&null!==l[u]&&0!==r&&(e=t.numberFormat(r/i,-1)+l[u]);return void 0===e&&(e=1e4<=Math.abs(r)?t.numberFormat(r,-1):t.numberFormat(r,-1,void 0,"")),e},getSeriesExtremes:function(){var t=this,e=t.chart;t.hasVisibleSeries=!1,t.dataMin=t.dataMax=t.threshold=null,t.softThreshold=!t.isXAxis,t.buildStacks&&t.buildStacks(),h(t.series,function(n){if(n.visible||!e.options.chart.ignoreHiddenSeries){var o,a=n.options,s=a.threshold;t.hasVisibleSeries=!0,t.positiveValuesOnly&&0>=s&&(s=null),t.isXAxis?(a=n.xData,a.length&&(n=i(a),b(n)||n instanceof Date||(a=v(a,function(t){return b(t)}),n=i(a)),t.dataMin=Math.min(S(t.dataMin,a[0]),n),t.dataMax=Math.max(S(t.dataMax,a[0]),r(a)))):(n.getExtremes(),o=n.dataMax,n=n.dataMin,l(n)&&l(o)&&(t.dataMin=Math.min(S(t.dataMin,n),n),t.dataMax=Math.max(S(t.dataMax,o),o)),l(s)&&(t.threshold=s),(!a.softThreshold||t.positiveValuesOnly)&&(t.softThreshold=!1))}})},translate:function(t,e,n,r,i,o){var a=this.linkedParent||this,s=1,l=0,u=r?a.oldTransA:a.transA;r=r?a.oldMin:a.min;var c=a.minPixelPadding;return i=(a.isOrdinal||a.isBroken||a.isLog&&i)&&a.lin2val,u||(u=a.transA),n&&(s*=-1,l=a.len),a.reversed&&(s*=-1,l-=s*(a.sector||a.len)),e?(t=(t*s+l-c)/u+r,i&&(t=a.lin2val(t))):(i&&(t=a.val2lin(t)),t=b(r)?s*(t-r)*u+l+s*c+(b(o)?u*o:0):void 0),t},toPixels:function(t,e){return this.translate(t,!1,!this.horiz,null,!0)+(e?0:this.pos)},toValue:function(t,e){return this.translate(t-(e?0:this.pos),!0,!this.horiz,null,!0)},getPlotLinePath:function(t,e,n,r,i){var o,a,s,l=this.chart,u=this.left,c=this.top,h=n&&l.oldChartHeight||l.chartHeight,f=n&&l.oldChartWidth||l.chartWidth;o=this.transB;var d=function(t,e,n){return(tn)&&(r?t=Math.min(Math.max(e,t),n):s=!0),t};return i=S(i,this.translate(t,null,null,n)),t=n=Math.round(i+o),o=a=Math.round(h-i-o),b(i)?this.horiz?(o=c,a=h-this.bottom,t=n=d(t,u,u+this.width)):(t=u,n=f-this.right,o=a=d(o,c,c+this.height)):(s=!0,r=!1),s&&!r?null:l.renderer.crispLine(["M",t,o,"L",n,a],e||1)},getLinearTickPositions:function(t,e,n){var r,i=a(Math.floor(e/t)*t);n=a(Math.ceil(n/t)*t);var o=[];if(this.single)return[e];for(e=i;e<=n&&(o.push(e),(e=a(e+t))!==r);)r=e;return o},getMinorTickInterval:function(){var t=this.options;return!0===t.minorTicks?S(t.minorTickInterval,"auto"):!1===t.minorTicks?null:t.minorTickInterval},getMinorTickPositions:function(){var t=this,e=t.options,n=t.tickPositions,r=t.minorTickInterval,i=[],o=t.pointRangePadding||0,a=t.min-o,o=t.max+o,s=o-a;if(s&&s/r=this.minRange,c=this.minRange,t=(c-p+d)/2,t=[d-t,S(f.min,d-t)],e&&(t[2]=this.isLog?this.log2lin(this.dataMin):this.dataMin),d=r(t),p=[d+c,S(f.max,d+c)],e&&(p[2]=this.isLog?this.log2lin(this.dataMax):this.dataMax),(p=i(p))-d=C?(n=C,_=0):s.dataMax<=C&&(r=C,x=0)),s.min=S(i,n,s.dataMin),s.max=S(o,r,s.dataMax)),f&&(s.positiveValuesOnly&&!e&&0>=Math.min(s.min,S(s.dataMin,s.min))&&t.error(10,1),s.min=a(p(s.min),15),s.max=a(p(s.max),15)),s.range&&l(s.max)&&(s.userMin=s.min=i=Math.max(s.dataMin,s.minFromRange()),s.userMax=o=s.max,s.range=null),d(s,"foundExtremes"),s.beforePadding&&s.beforePadding(),s.adjustForMinRange(),!(T||s.axisPointRange||s.usePercentage||y)&&l(s.min)&&l(s.max)&&(p=s.max-s.min)&&(!l(i)&&_&&(s.min-=p*_),!l(o)&&x&&(s.max+=p*x)),b(c.softMin)&&(s.min=Math.min(s.min,c.softMin)),b(c.softMax)&&(s.max=Math.max(s.max,c.softMax)),b(c.floor)&&(s.min=Math.max(s.min,c.floor)),b(c.ceiling)&&(s.max=Math.min(s.max,c.ceiling)),O&&l(s.dataMin)&&(C=C||0,!l(i)&&s.min=C?s.min=C:!l(o)&&s.max>C&&s.dataMax<=C&&(s.max=C)),s.tickInterval=s.min===s.max||void 0===s.min||void 0===s.max?1:y&&!k&&M===s.linkedParent.options.tickPixelInterval?k=s.linkedParent.tickInterval:S(k,this.tickAmount?(s.max-s.min)/Math.max(this.tickAmount-1,1):void 0,T?1:(s.max-s.min)*M/Math.max(s.len,M)),g&&!e&&h(s.series,function(t){t.processData(s.min!==s.oldMin||s.max!==s.oldMax)}),s.setAxisTranslation(!0),s.beforeSetTickPositions&&s.beforeSetTickPositions(),s.postProcessTickInterval&&(s.tickInterval=s.postProcessTickInterval(s.tickInterval)),s.pointRange&&!k&&(s.tickInterval=Math.max(s.pointRange,s.tickInterval)),e=S(c.minTickInterval,s.isDatetimeAxis&&s.closestPointRange),!k&&s.tickIntervals.tickInterval&&1e3s.max)),!!this.tickAmount)),this.tickAmount||(s.tickInterval=s.unsquish()),this.setTickPositions()},setTickPositions:function(){var t,e=this.options,n=e.tickPositions;t=this.getMinorTickInterval();var r=e.tickPositioner,i=e.startOnTick,o=e.endOnTick;this.tickmarkOffset=this.categories&&"between"===e.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===t&&this.tickInterval?this.tickInterval/5:t,this.single=this.min===this.max&&l(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==e.allowDecimals),this.tickPositions=t=n&&n.slice(),!t&&(t=this.isDatetimeAxis?this.getTimeTicks(this.normalizeTimeTickInterval(this.tickInterval,e.units),this.min,this.max,e.startOfWeek,this.ordinalPositions,this.closestPointRange,!0):this.isLog?this.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max),t.length>this.len&&(t=[t[0],t.pop()]),this.tickPositions=t,r&&(r=r.apply(this,[this.min,this.max])))&&(this.tickPositions=t=r),this.paddedTicks=t.slice(0),this.trimTicks(t,i,o),this.isLinked||(this.single&&2>t.length&&(this.min-=.5,this.max+=.5),n||r||this.adjustTickAmount())},trimTicks:function(t,e,n){var r=t[0],i=t[t.length-1],o=this.minPointOffset||0;if(!this.isLinked){if(e&&-1/0!==r)this.min=r;else for(;this.min-o>t[0];)t.shift();if(n)this.max=i;else for(;this.max+oe&&(this.finalTickAmt=e,e=5),this.tickAmount=e},adjustTickAmount:function(){var t=this.tickInterval,e=this.tickPositions,n=this.tickAmount,r=this.finalTickAmt,i=e&&e.length;if(in&&(this.tickInterval*=2,this.setTickPositions());if(l(r)){for(t=n=e.length;t--;)(3===r&&1==t%2||2>=r&&0i&&(t=i)),l(r)&&(ei&&(e=i))),this.displayBtn=void 0!==t||void 0!==e,this.setExtremes(t,e,!1,void 0,{trigger:"zoom"})),!0},setAxisSize:function(){var e=this.chart,n=this.options,r=n.offsets||[0,0,0,0],i=this.horiz,o=this.width=Math.round(t.relativeLength(S(n.width,e.plotWidth-r[3]+r[1]),e.plotWidth)),a=this.height=Math.round(t.relativeLength(S(n.height,e.plotHeight-r[0]+r[2]),e.plotHeight)),s=this.top=Math.round(t.relativeLength(S(n.top,e.plotTop+r[0]),e.plotHeight,e.plotTop)),n=this.left=Math.round(t.relativeLength(S(n.left,e.plotLeft+r[3]),e.plotWidth,e.plotLeft));this.bottom=e.chartHeight-a-s,this.right=e.chartWidth-o-n,this.len=Math.max(i?o:a,0),this.pos=i?n:s},getExtremes:function(){var t=this.isLog,e=this.lin2log;return{min:t?a(e(this.min)):this.min,max:t?a(e(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},getThreshold:function(t){var e=this.isLog,n=this.lin2log,r=e?n(this.min):this.min,e=e?n(this.max):this.max;return null===t?t=r:r>t?t=r:et?"right":195t?"left":"center"},tickSize:function(t){var e=this.options,n=e[t+"Length"],r=S(e[t+"Width"],"tick"===t&&this.isXAxis?1:0);if(r&&n)return"inside"===e[t+"Position"]&&(n=-n),[n,r]},labelMetrics:function(){var t=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style&&this.options.labels.style.fontSize,this.ticks[t]&&this.ticks[t].label)},unsquish:function(){var t,e,n,r=this.options.labels,i=this.horiz,o=this.tickInterval,a=o,s=this.len/(((this.categories?1:0)+this.max-this.min)/o),c=r.rotation,f=this.labelMetrics(),d=Number.MAX_VALUE,p=function(t){return t/=s||1,(t=1=n)&&(e=p(Math.abs(f.h/Math.sin(u*n))),(r=e+Math.abs(n/360))(n.step||0)&&!n.rotation&&(this.staggerLines||1)*this.len/r||!e&&(n.style&&parseInt(n.style.width,10)||i&&i-t.spacing[3]||.33*t.chartWidth)},renderUnsquish:function(){var t,e,n,r=this.chart,i=r.renderer,o=this.tickPositions,a=this.ticks,s=this.options.labels,l=this.horiz,u=this.getSlotWidth(),c=Math.max(1,Math.round(u-2*(s.padding||5))),f={},d=this.labelMetrics(),p=s.style&&s.style.textOverflow,m=0;if(x(s.rotation)||(f.rotation=s.rotation||0),h(o,function(t){(t=a[t])&&t.labelLength>m&&(m=t.labelLength)}),this.maxLabelLength=m,this.autoRotation)m>c&&m>d.h?f.rotation=this.labelRotation:this.labelRotation=0;else if(u&&(t={width:c+"px"},!p))for(t.textOverflow="clip",e=o.length;!l&&e--;)n=o[e],(c=a[n].label)&&(c.styles&&"ellipsis"===c.styles.textOverflow?c.css({textOverflow:"clip"}):a[n].labelLength>u&&c.css({width:u+"px"}),c.getBBox().height>this.len/o.length-(d.h-d.f)&&(c.specCss={textOverflow:"ellipsis"}));f.rotation&&(t={width:(m>.5*r.chartHeight?.33*r.chartHeight:r.chartHeight)+"px"},p||(t.textOverflow="ellipsis")),(this.labelAlign=s.align||this.autoLabelAlign(this.labelRotation))&&(f.align=this.labelAlign),h(o,function(e){var n=(e=a[e])&&e.label;n&&(n.attr(f),t&&n.css(_(t,n.specCss)),delete n.specCss,e.rotation=f.rotation)}),this.tickRotCorr=i.rotCorr(d.b,this.labelRotation||0,0!==this.side)},hasData:function(){return this.hasVisibleSeries||l(this.min)&&l(this.max)&&!!this.tickPositions},addTitle:function(t){var e,n=this.chart.renderer,r=this.horiz,i=this.opposite,o=this.options.title;this.axisTitle||((e=o.textAlign)||(e=(r?{low:"left",middle:"center",high:"right"}:{low:i?"right":"left",middle:"center",high:i?"left":"right"})[o.align]),this.axisTitle=n.text(o.text,0,0,o.useHTML).attr({zIndex:7,rotation:o.rotation||0,align:e}).addClass("highcharts-axis-title").css(o.style).add(this.axisGroup),this.axisTitle.isNew=!0),o.style.width||this.isRadial||this.axisTitle.css({width:this.len}),this.axisTitle[t?"show":"hide"](!0)},generateTick:function(t){var e=this.ticks;e[t]?e[t].addLabel():e[t]=new O(this,t)},getOffset:function(){var t,e,n,r=this,i=r.chart,o=i.renderer,a=r.options,s=r.tickPositions,u=r.ticks,c=r.horiz,f=r.side,d=i.inverted&&!r.isZAxis?[1,0,3,2][f]:f,p=0,m=0,v=a.title,g=a.labels,y=0,b=i.axisOffset,i=i.clipOffset,x=[-1,1,1,-1][f],_=a.className,w=r.axisParent,M=this.tickSize("tick");t=r.hasData(),r.showAxis=e=t||S(a.showEmpty,!0),r.staggerLines=r.horiz&&g.staggerLines,r.axisGroup||(r.gridGroup=o.g("grid").attr({zIndex:a.gridZIndex||1}).addClass("highcharts-"+this.coll.toLowerCase()+"-grid "+(_||"")).add(w),r.axisGroup=o.g("axis").attr({zIndex:a.zIndex||2}).addClass("highcharts-"+this.coll.toLowerCase()+" "+(_||"")).add(w),r.labelGroup=o.g("axis-labels").attr({zIndex:g.zIndex||7}).addClass("highcharts-"+r.coll.toLowerCase()+"-labels "+(_||"")).add(w)),t||r.isLinked?(h(s,function(t,e){r.generateTick(t,e)}),r.renderUnsquish(),!1===g.reserveSpace||0!==f&&2!==f&&{1:"left",3:"right"}[f]!==r.labelAlign&&"center"!==r.labelAlign||h(s,function(t){y=Math.max(u[t].getLabelSize(),y)}),r.staggerLines&&(y*=r.staggerLines,r.labelOffset=y*(r.opposite?-1:1))):k(u,function(t,e){t.destroy(),delete u[e]}),v&&v.text&&!1!==v.enabled&&(r.addTitle(e),e&&!1!==v.reserveSpace&&(r.titleOffset=p=r.axisTitle.getBBox()[c?"height":"width"],n=v.offset,m=l(n)?0:S(v.margin,c?5:10))),r.renderLine(),r.offset=x*S(a.offset,b[f]),r.tickRotCorr=r.tickRotCorr||{x:0,y:0},o=0===f?-r.labelMetrics().h:2===f?r.tickRotCorr.y:0,m=Math.abs(y)+m,y&&(m=m-o+x*(c?S(g.y,r.tickRotCorr.y+8*x):g.x)),r.axisTitleMargin=S(n,m),b[f]=Math.max(b[f],r.axisTitleMargin+p+x*r.offset,m,t&&s.length&&M?M[0]+x*r.offset:0),a=a.offset?0:2*Math.floor(r.axisLine.strokeWidth()/2),i[d]=Math.max(i[d],a)},getLinePath:function(t){var e=this.chart,n=this.opposite,r=this.offset,i=this.horiz,o=this.left+(n?this.width:0)+r,r=e.chartHeight-this.bottom-(n?this.height:0)+r;return n&&(t*=-1),e.renderer.crispLine(["M",i?this.left:o,i?r:this.top,"L",i?e.chartWidth-this.right:o,i?r:e.chartHeight-this.bottom],t)},renderLine:function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},getTitlePosition:function(){var t=this.horiz,e=this.left,n=this.top,r=this.len,i=this.options.title,o=t?e:n,a=this.opposite,s=this.offset,l=i.x||0,u=i.y||0,c=this.axisTitle,h=this.chart.renderer.fontMetrics(i.style&&i.style.fontSize,c),c=Math.max(c.getBBox(null,0).height-h.h-1,0),r={low:o+(t?0:r),middle:o+r/2,high:o+(t?r:0)}[i.align],e=(t?n+this.height:e)+(t?1:-1)*(a?-1:1)*this.axisTitleMargin+[-c,c,h.f,-c][this.side];return{x:t?r+l:e+(a?this.width:0)+s+l,y:t?e+u-(a?this.height:0)+s:r+u}},renderMinorTick:function(t){var e=this.chart.hasRendered&&b(this.oldMin),n=this.minorTicks;n[t]||(n[t]=new O(this,t,"minor")),e&&n[t].isNew&&n[t].render(null,!0),n[t].render(null,!1,1)},renderTick:function(t,e){var n=this.isLinked,r=this.ticks,i=this.chart.hasRendered&&b(this.oldMin);(!n||t>=this.min&&t<=this.max)&&(r[t]||(r[t]=new O(this,t)),i&&r[t].isNew&&r[t].render(e,!0,.1),r[t].render(e))},render:function(){var e,r,i=this,o=i.chart,a=i.options,s=i.isLog,l=i.lin2log,u=i.isLinked,c=i.tickPositions,f=i.axisTitle,d=i.ticks,p=i.minorTicks,m=i.alternateBands,v=a.stackLabels,g=a.alternateGridColor,y=i.tickmarkOffset,x=i.axisLine,_=i.showAxis,w=n(o.renderer.globalAnimation);i.labelEdge.length=0,i.overlap=!1,h([d,p,m],function(t){k(t,function(t){t.isActive=!1})}),(i.hasData()||u)&&(i.minorTickInterval&&!i.categories&&h(i.getMinorTickPositions(),function(t){i.renderMinorTick(t)}),c.length&&(h(c,function(t,e){i.renderTick(t,e)}),y&&(0===i.min||i.single)&&(d[-1]||(d[-1]=new O(i,-1,null,!0)),d[-1].render(-1))),g&&h(c,function(n,a){r=void 0!==c[a+1]?c[a+1]+y:i.max-y,0==a%2&&n=f.second?0:w*Math.floor(b.getMilliseconds()/w)),_>=f.second&&b[n.hcSetSeconds](_>=f.minute?0:w*Math.floor(b.getSeconds()/w)),_>=f.minute&&b[n.hcSetMinutes](_>=f.hour?0:w*Math.floor(b[n.hcGetMinutes]()/w)),_>=f.hour&&b[n.hcSetHours](_>=f.day?0:w*Math.floor(b[n.hcGetHours]()/w)),_>=f.day&&b[n.hcSetDate](_>=f.month?1:w*Math.floor(b[n.hcGetDate]()/w)),_>=f.month&&(b[n.hcSetMonth](_>=f.year?0:w*Math.floor(b[n.hcGetMonth]()/w)),d=b[n.hcGetFullYear]()),_>=f.year&&b[n.hcSetFullYear](d-d%w),_===f.week&&b[n.hcSetDate](b[n.hcGetDate]()-b[n.hcGetDay]()+h(c,1)),d=b[n.hcGetFullYear](),c=b[n.hcGetMonth]();var k=b[n.hcGetDate](),S=b[n.hcGetHours]();for((n.hcTimezoneOffset||n.hcGetTimezoneOffset)&&(m=(!y||!!n.hcGetTimezoneOffset)&&(l-e>4*f.month||u(e)!==u(l)),b=b.getTime(),p=u(b),b=new n(b+p)),y=b.getTime(),e=1;yv.length&&a(v,function(t){0==t%18e5&&"000000000"===r("%H%M%S%L",t)&&(g[t]="day")})}return v.info=s(t,{higherRanks:g,totalRange:_*w}),v},e.prototype.normalizeTimeTickInterval=function(t,e){var n=e||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]];e=n[n.length-1];var r,i=f[e[0]],o=e[1];for(r=0;re&&(!s||v<=a)&&void 0!==v&&f.push(v),v>a&&(g=!0),v=m;else e=c(e),a=c(a),t=s?this.getMinorTickInterval():l.tickInterval,t=o("auto"===t?null:t,this._minorAutoInterval,l.tickPixelInterval/(s?5:1)*(a-e)/((s?u/this.tickPositions.length:u)||1)),t=i(t,null,n(t)),f=r(this.getLinearTickPositions(t,e,a),h),s||(this._minorAutoInterval=t/5);return s||(this.tickInterval=t),f},e.prototype.log2lin=function(t){return Math.log(t)/Math.LN10},e.prototype.lin2log=function(t){return Math.pow(10,t)}}(e),function(t,e){var n=t.arrayMax,r=t.arrayMin,i=t.defined,o=t.destroyObjectProperties,a=t.each,s=t.erase,l=t.merge,u=t.pick;t.PlotLineOrBand=function(t,e){this.axis=t,e&&(this.options=e,this.id=e.id)},t.PlotLineOrBand.prototype={render:function(){var e=this,n=e.axis,r=n.horiz,o=e.options,a=o.label,s=e.label,c=o.to,h=o.from,f=o.value,d=i(h)&&i(c),p=i(f),m=e.svgElem,v=!m,g=[],y=o.color,b=u(o.zIndex,0),x=o.events,g={class:"highcharts-plot-"+(d?"band ":"line ")+(o.className||"")},_={},w=n.chart.renderer,k=d?"bands":"lines",S=n.log2lin;if(n.isLog&&(h=S(h),c=S(c),f=S(f)),p?(g={stroke:y,"stroke-width":o.width},o.dashStyle&&(g.dashstyle=o.dashStyle)):d&&(y&&(g.fill=y),o.borderWidth&&(g.stroke=o.borderColor,g["stroke-width"]=o.borderWidth)),_.zIndex=b,k+="-"+b,(y=n.plotLinesAndBandsGroups[k])||(n.plotLinesAndBandsGroups[k]=y=w.g("plot-"+k).attr(_).add()),v&&(e.svgElem=m=w.path().attr(g).add(y)),p)g=n.getPlotLinePath(f,m.strokeWidth());else{if(!d)return;g=n.getPlotBandPath(h,c,o)}return v&&g&&g.length?(m.attr({d:g}),x&&t.objectEach(x,function(t,n){m.on(n,function(t){x[n].apply(e,[t])})})):m&&(g?(m.show(),m.animate({d:g})):(m.hide(),s&&(e.label=s=s.destroy()))),a&&i(a.text)&&g&&g.length&&0this.max&&e>this.max,r&&n?(t&&(r.flat=r.toString()===n.toString(),o=0),r.push(i&&n[4]===r[4]?n[4]+o:n[4],i||n[5]!==r[5]?n[5]:n[5]+o,i&&n[1]===r[1]?n[1]+o:n[1],i||n[2]!==r[2]?n[2]:n[2]+o,"z")):r=null,r},addPlotBand:function(t){return this.addPlotBandOrLine(t,"plotBands")},addPlotLine:function(t){return this.addPlotBandOrLine(t,"plotLines")},addPlotBandOrLine:function(e,n){var r=new t.PlotLineOrBand(this,e).render(),i=this.userOptions;return r&&(n&&(i[n]=i[n]||[],i[n].push(e)),this.plotLinesAndBands.push(r)),r},removePlotBandOrLine:function(t){for(var e=this.plotLinesAndBands,n=this.options,r=this.userOptions,i=e.length;i--;)e[i].id===t&&e[i].destroy();a([n.plotLines||[],r.plotLines||[],n.plotBands||[],r.plotBands||[]],function(e){for(i=e.length;i--;)e[i].id===t&&s(e,e[i])})},removePlotBand:function(t){this.removePlotBandOrLine(t)},removePlotLine:function(t){this.removePlotBandOrLine(t)}})}(e,n),function(t){var e=t.dateFormat,n=t.each,r=t.extend,i=t.format,o=t.isNumber,a=t.map,s=t.merge,l=t.pick,u=t.splat,c=t.syncTimeout,h=t.timeUnits;t.Tooltip=function(){this.init.apply(this,arguments)},t.Tooltip.prototype={init:function(t,e){this.chart=t,this.options=e,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=e.split&&!t.inverted,this.shared=e.shared||this.split},cleanSplit:function(t){n(this.chart.series,function(e){var n=e&&e.tt;n&&(!n.isActive||t?e.tt=n.destroy():n.isActive=!1)})},getLabel:function(){var t=this.chart.renderer,e=this.options;return this.label||(this.split?this.label=t.g("tooltip"):(this.label=t.label("",0,0,e.shape||"callout",null,null,e.useHTML,null,"tooltip").attr({padding:e.padding,r:e.borderRadius}),this.label.attr({fill:e.backgroundColor,"stroke-width":e.borderWidth}).css(e.style).shadow(e.shadow)),this.label.attr({zIndex:8}).add()),this.label},update:function(t){this.destroy(),s(!0,this.chart.options.tooltip.userOptions,t),this.init(this.chart,s(!0,this.options,t))},destroy:function(){this.label&&(this.label=this.label.destroy()),this.split&&this.tt&&(this.cleanSplit(this.chart,!0),this.tt=this.tt.destroy()),clearTimeout(this.hideTimer),clearTimeout(this.tooltipTimeout)},move:function(t,e,n,i){var o=this,a=o.now,s=!1!==o.options.animation&&!o.isHidden&&(1f-s?f:f-s);else{if(!c)return!1;a[t]=Math.max(i,r+s+n>e?r:r+s)}},d=function(t,e,n,r){var i;return re-o?i=!1:a[t]=re-n/2?e-n-2:r-n/2,i},p=function(t){var e=u;u=c,c=e,r=t},m=function(){!1!==f.apply(0,u)?!1!==d.apply(0,c)||r||(p(!0),m()):r?a.x=a.y=0:(p(!0),m())};return(i.inverted||1p&&(u=!1),t=(e.series&&e.series.yAxis&&e.series.yAxis.pos)+(e.plotY||0),t-=a.plotTop,o.push({target:e.isHeader?a.plotHeight+h:t,rank:e.isHeader?1:0,size:n.tt.getBBox().height+1,point:e,x:p,tt:d})}}),this.cleanSplit(),t.distribute(o,a.plotHeight+h),n(o,function(t){var e=t.point,n=e.series;t.tt.attr({visibility:void 0===t.pos?"hidden":"inherit",x:u||e.isHeader?t.x:e.plotX+a.plotLeft+l(c.distance,16),y:t.pos+a.plotTop,anchorX:e.isHeader?e.plotX+a.plotLeft:e.plotX+n.xAxis.pos,anchorY:e.isHeader?t.pos+a.plotTop-15:e.plotY+n.yAxis.pos})})},updatePosition:function(t){var e=this.chart,n=this.getLabel(),n=(this.options.positioner||this.getPosition).call(this,n.width,n.height,t);this.move(Math.round(n.x),Math.round(n.y||0),t.plotX+e.plotLeft,t.plotY+e.plotTop)},getDateFormat:function(t,n,r,i){var o,a,s=e("%m-%d %H:%M:%S.%L",n),l={millisecond:15,second:12,minute:9,hour:6,day:3},u="millisecond";for(a in h){if(t===h.week&&+e("%w",n)===r&&"00:00:00.000"===s.substr(6)){a="week";break}if(h[a]>t){a=u;break}if(l[a]&&s.substr(l[a])!=="01-01 00:00:00.000".substr(l[a]))break;"week"!==a&&(u=a)}return a&&(o=i[a]),o},getXDateFormat:function(t,e,n){e=e.dateTimeLabelFormats;var r=n&&n.closestPointRange;return(r?this.getDateFormat(r,t.x,n.options.startOfWeek,e):e.day)||e.year},tooltipFooterHeaderFormatter:function(t,e){e=e?"footer":"header";var r=t.series,a=r.tooltipOptions,s=a.xDateFormat,l=r.xAxis,u=l&&"datetime"===l.options.type&&o(t.key),c=a[e+"Format"];return u&&!s&&(s=this.getXDateFormat(t,a,l)),u&&s&&n(t.point&&t.point.tooltipDateKeys||["key"],function(t){c=c.replace("{point."+t+"}","{point."+t+":"+s+"}")}),i(c,{point:t,series:r})},bodyFormatter:function(t){return a(t,function(t){var e=t.series.tooltipOptions;return(e.pointFormatter||t.point.tooltipFormatter).call(t.point,e[(t.point.formatPrefix||"point")+"Format"])})}}}(e),function(t){var e=t.addEvent,n=t.attr,r=t.charts,i=t.color,o=t.css,a=t.defined,s=t.each,l=t.extend,u=t.find,c=t.fireEvent,h=t.isObject,f=t.offset,d=t.pick,p=t.removeEvent,m=t.splat,v=t.Tooltip;t.Pointer=function(t,e){this.init(t,e)},t.Pointer.prototype={init:function(t,e){this.options=e,this.chart=t,this.runChartClick=e.chart.events&&!!e.chart.events.click,this.pinchDown=[],this.lastValidTouch={},v&&(t.tooltip=new v(t,e.tooltip),this.followTouchMove=d(e.tooltip.followTouchMove,!0)),this.setDOMEvents()},zoomOption:function(t){var e=this.chart,n=e.options.chart,r=n.zoomType||"",e=e.inverted;/touch/.test(t.type)&&(r=d(n.pinchType,r)),this.zoomX=t=/x/.test(r),this.zoomY=r=/y/.test(r),this.zoomHor=t&&!e||r&&e,this.zoomVert=r&&!e||t&&e,this.hasZoom=t||r},normalize:function(t,e){var n;return n=t.touches?t.touches.length?t.touches.item(0):t.changedTouches[0]:t,e||(this.chartPosition=e=f(this.chart.container)),l(t,{chartX:Math.round(n.pageX-e.left),chartY:Math.round(n.pageY-e.top)})},getCoordinates:function(t){var e={xAxis:[],yAxis:[]};return s(this.chart.axes,function(n){e[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(t[n.horiz?"chartX":"chartY"])})}),e},findNearestKDPoint:function(t,e,n){var r;return s(t,function(t){var i=!(t.noSharedTooltip&&e)&&0>t.options.findNearestPointBy.indexOf("y");if(t=t.searchPoint(n,i),(i=h(t,!0))&&!(i=!h(r,!0)))var i=r.distX-t.distX,o=r.dist-t.dist,a=(t.series.group&&t.series.group.zIndex)-(r.series.group&&r.series.group.zIndex),i=0<(0!==i&&e?i:0!==o?o:0!==a?a:r.series.index>t.series.index?-1:1);i&&(r=t)}),r},getPointFromEvent:function(t){t=t.target;for(var e;t&&!e;)e=t.point,t=t.parentNode;return e},getChartCoordinatesFromPoint:function(t,e){var n=t.series,r=n.xAxis,n=n.yAxis;if(r&&n)return e?{chartX:r.len+r.pos-t.clientX,chartY:n.len+n.pos-t.plotY}:{chartX:t.clientX+r.pos,chartY:t.plotY+n.pos}},getHoverData:function(e,n,r,i,o,a,l){var c,f=[],p=l&&l.isBoosting;return i=!(!i||!e),l=n&&!n.stickyTracking?[n]:t.grep(r,function(t){return t.visible&&!(!o&&t.directTouch)&&d(t.options.enableMouseTracking,!0)&&t.stickyTracking}),n=(c=i?e:this.findNearestKDPoint(l,o,a))&&c.series,c&&(o&&!n.noSharedTooltip?(l=t.grep(r,function(t){return t.visible&&!(!o&&t.directTouch)&&d(t.options.enableMouseTracking,!0)&&!t.noSharedTooltip}),s(l,function(t){var e=u(t.points,function(t){return t.x===c.x&&!t.isNull});h(e)&&(p&&(e=t.getPoint(e)),f.push(e))})):f.push(c)),{hoverPoint:c,hoverSeries:n,hoverPoints:f}},runPointActions:function(n,i){var o,a=this.chart,l=a.tooltip&&a.tooltip.options.enabled?a.tooltip:void 0,u=!!l&&l.shared,c=i||a.hoverPoint,h=c&&c.series||a.hoverSeries,h=this.getHoverData(c,h,a.series,!!i||h&&h.directTouch&&this.isDirectTouch,u,n,{isBoosting:a.isBoosting}),c=h.hoverPoint;if(o=h.hoverPoints,i=(h=h.hoverSeries)&&h.tooltipOptions.followPointer,u=u&&h&&!h.noSharedTooltip,c&&(c!==a.hoverPoint||l&&l.isHidden)){if(s(a.hoverPoints||[],function(e){-1===t.inArray(e,o)&&e.setState()}),s(o||[],function(t){t.setState("hover")}),a.hoverSeries!==h&&h.onMouseOver(),a.hoverPoint&&a.hoverPoint.firePointEvent("mouseOut"),!c.series)return;c.firePointEvent("mouseOver"),a.hoverPoints=o,a.hoverPoint=c,l&&l.refresh(u?o:c,n)}else i&&l&&!l.isHidden&&(c=l.getAnchor([{}],n),l.updatePosition({plotX:c[0],plotY:c[1]}));this.unDocMouseMove||(this.unDocMouseMove=e(a.container.ownerDocument,"mousemove",function(e){var n=r[t.hoverChartIndex];n&&n.pointer.onDocumentMouseMove(e)})),s(a.axes,function(e){var r=d(e.crosshair.snap,!0),i=r?t.find(o,function(t){return t.series[e.coll]===e}):void 0;i||!r?e.drawCrosshair(n,i):e.hideCrosshair()})},reset:function(t,e){var n=this.chart,r=n.hoverSeries,i=n.hoverPoint,o=n.hoverPoints,a=n.tooltip,l=a&&a.shared?o:i;t&&l&&s(m(l),function(e){e.series.isCartesian&&void 0===e.plotX&&(t=!1)}),t?a&&l&&(a.refresh(l),i&&(i.setState(i.state,!0),s(n.axes,function(t){t.crosshair&&t.drawCrosshair(null,i)}))):(i&&i.onMouseOut(),o&&s(o,function(t){t.setState()}),r&&r.onMouseOut(),a&&a.hide(e),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),s(n.axes,function(t){t.hideCrosshair()}),this.hoverX=n.hoverPoints=n.hoverPoint=null)},scaleGroups:function(t,e){var n,r=this.chart;s(r.series,function(i){n=t||i.getPlotBox(),i.xAxis&&i.xAxis.zoomEnabled&&i.group&&(i.group.attr(n),i.markerGroup&&(i.markerGroup.attr(n),i.markerGroup.clip(e?r.clipRect:null)),i.dataLabelsGroup&&i.dataLabelsGroup.attr(n))}),r.clipRect.attr(e||r.clipBox)},dragStart:function(t){var e=this.chart;e.mouseIsDown=t.type,e.cancelClick=!1,e.mouseDownX=this.mouseDownX=t.chartX,e.mouseDownY=this.mouseDownY=t.chartY},drag:function(t){var e,n=this.chart,r=n.options.chart,o=t.chartX,a=t.chartY,s=this.zoomHor,l=this.zoomVert,u=n.plotLeft,c=n.plotTop,h=n.plotWidth,f=n.plotHeight,d=this.selectionMarker,p=this.mouseDownX,m=this.mouseDownY,v=r.panKey&&t[r.panKey+"Key"];d&&d.touch||(ou+h&&(o=u+h),ac+f&&(a=c+f),this.hasDragged=Math.sqrt(Math.pow(p-o,2)+Math.pow(m-a,2)),10b.max&&(e=b.max-l,c=!0),c?(w-=.8*(w-a[f][0]),x||(S-=.8*(S-a[f][1])),n()):a[f]=[w,S],y||(o[f]=u-v,o[m]=l),o=y?1/g:g,i[m]=l,i[f]=e,r[y?t?"scaleY":"scaleX":"scale"+d]=g,r["translate"+d]=o*v+(w-o*_)},pinch:function(t){var e=this,s=e.chart,l=e.pinchDown,u=t.touches,c=u.length,h=e.lastValidTouch,f=e.hasZoom,d=e.selectionMarker,p={},m=1===c&&(e.inClass(t.target,"highcharts-tracker")&&s.runTrackerClick||e.runChartClick),v={};1e-6&&s(p||e.spacingBox.width-2*h-r.x)&&(this.itemX=h,this.itemY+=v+this.lastLineHeight+m,this.lastLineHeight=0),this.maxItemWidth=Math.max(this.maxItemWidth,s),this.lastItemY=v+this.itemY+m,this.lastLineHeight=Math.max(n,this.lastLineHeight),t._legendItemPos=[this.itemX,this.itemY],i?this.itemX+=s:(this.itemY+=v+n+m,this.lastLineHeight=n),this.offsetWidth=p||Math.max((i?this.itemX-h-(t.checkbox?0:f):s)+h,this.offsetWidth)},getAllItems:function(){var t=[];return o(this.chart.series,function(e){var n=e&&e.options;e&&u(n.showInLegend,!i(n.linkedTo)&&void 0,!0)&&(t=t.concat(e.legendItems||("point"===n.legendType?e.data:e)))}),t},adjustMargins:function(t,e){var n=this.chart,r=this.options,a=r.align.charAt(0)+r.verticalAlign.charAt(0)+r.layout.charAt(0);r.floating||o([/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/],function(o,l){o.test(a)&&!i(t[l])&&(n[s[l]]=Math.max(n[s[l]],n.legend[(l+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][l]*r[l%2?"x":"y"]+u(r.margin,12)+e[l]))})},render:function(){var t,e,n,r,i=this,a=i.chart,s=a.renderer,u=i.group,c=i.box,f=i.options,d=i.padding;i.itemX=d,i.itemY=i.initialItemY,i.offsetWidth=0,i.lastItemY=0,u||(i.group=u=s.g("legend").attr({zIndex:7}).add(),i.contentGroup=s.g().attr({zIndex:1}).add(u),i.scrollGroup=s.g().add(i.contentGroup)),i.renderTitle(),t=i.getAllItems(),h(t,function(t,e){return(t.options&&t.options.legendIndex||0)-(e.options&&e.options.legendIndex||0)}),f.reversed&&t.reverse(),i.allItems=t,i.display=e=!!t.length,i.lastLineHeight=0,o(t,function(t){i.renderItem(t)}),n=(f.width||i.offsetWidth)+d,r=i.lastItemY+i.lastLineHeight+i.titleHeight,r=i.handleOverflow(r),r+=d,c||(i.box=c=s.rect().addClass("highcharts-legend-box").attr({r:f.borderRadius}).add(u),c.isNew=!0),c.attr({stroke:f.borderColor,"stroke-width":f.borderWidth||0,fill:f.backgroundColor||"none"}).shadow(f.shadow),0i&&!1!==f.enabled?(this.clipHeight=e=Math.max(i-20-this.titleHeight-c,0),this.currentPage=u(this.currentPage,1),this.fullHeight=t,o(g,function(t,r){var i=t._legendItemPos[1];t=Math.round(t.legendItem.getBBox().height);var o=v.length;(!o||i-v[o-1]>e&&(n||i)!==v[o-1])&&(v.push(n||i),o++),r===g.length-1&&i+t-v[o-1]>e&&v.push(i),i!==n&&(n=i)}),h||(h=r.clipRect=a.clipRect(0,c,9999,0),r.contentGroup.clip(h)),y(e),m||(this.nav=m=a.g().attr({zIndex:1}).add(this.group),this.up=a.symbol("triangle",0,0,p,p).on("click",function(){r.scroll(-1,d)}).add(m),this.pager=a.text("",15,10).addClass("highcharts-legend-navigation").css(f.style).add(m),this.down=a.symbol("triangle-down",0,0,p,p).on("click",function(){r.scroll(1,d)}).add(m)),r.scroll(0),t=i):m&&(y(),this.nav=m.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),t},scroll:function(t,e){var n=this.pages,r=n.length;t=this.currentPage+t;var i=this.clipHeight,o=this.options.navigation,a=this.pager,s=this.padding;t>r&&(t=r),0o&&(n=typeof t[0],"string"===n?e.name=t[0]:"number"===n&&(e.x=t[0]),a++);u=t.value;)t=n[++r];return t&&t.color&&!this.options.color&&(this.color=t.color),t},destroy:function(){var t,e=this.series.chart,n=e.hoverPoints;e.pointCount--,n&&(this.setState(),i(n,this),n.length||(e.hoverPoints=null)),this===e.hoverPoint&&this.onMouseOut(),(this.graphic||this.dataLabel)&&(c(this),this.destroyElements()),this.legendItem&&e.legend.destroyItem(this);for(t in this)this[t]=null},destroyElements:function(){for(var t,e=["graphic","dataLabel","dataLabelUpper","connector","shadowGroup"],n=6;n--;)t=e[n],this[t]&&(this[t]=this[t].destroy())},getLabelConfig:function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},tooltipFormatter:function(t){var e=this.series,r=e.tooltipOptions,i=u(r.valueDecimals,""),o=r.valuePrefix||"",s=r.valueSuffix||"";return n(e.pointArrayMap||["y"],function(e){e="{point."+e,(o||s)&&(t=t.replace(e+"}",o+e+"}"+s)),t=t.replace(e+"}",e+":,."+i+"f}")}),a(t,{point:this,series:this.series})},firePointEvent:function(t,e,n){var r=this,i=this.series.options;(i.point.events[t]||r.options&&r.options.events&&r.options.events[t])&&this.importEvents(),"click"===t&&i.allowPointSelect&&(n=function(t){r.select&&r.select(null,t.ctrlKey||t.metaKey||t.shiftKey)}),o(this,t,e,n)},visible:!0}}(e),function(t){var e=t.addEvent,n=t.animObject,r=t.arrayMax,i=t.arrayMin,o=t.correctFloat,a=t.Date,s=t.defaultOptions,l=t.defaultPlotOptions,u=t.defined,c=t.each,h=t.erase,f=t.extend,d=t.fireEvent,p=t.grep,m=t.isArray,v=t.isNumber,g=t.isString,y=t.merge,b=t.objectEach,x=t.pick,_=t.removeEvent,w=t.splat,k=t.SVGElement,S=t.syncTimeout,M=t.win;t.Series=t.seriesType("line",null,{lineWidth:2,allowPointSelect:!1,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{lineWidth:0,lineColor:"#ffffff",radius:4,states:{hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{align:"center",formatter:function(){return null===this.y?"":t.numberFormat(this.y,-1)},style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0,padding:5},cropThreshold:300,pointRange:0,softThreshold:!0,states:{hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{marker:{}}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"},{isCartesian:!0,pointClass:t.Point,sorted:!0,requireSorting:!0,directTouch:!1,axisTypes:["xAxis","yAxis"],colorCounter:0,parallelArrays:["x","y"],coll:"series",init:function(t,n){var r,i,o=this,a=t.series;o.chart=t,o.options=n=o.setOptions(n),o.linkedSeries=[],o.bindAxes(),f(o,{name:n.name,state:"",visible:!1!==n.visible,selected:!0===n.selected}),r=n.events,b(r,function(t,n){e(o,n,t)}),(r&&r.click||n.point&&n.point.events&&n.point.events.click||n.allowPointSelect)&&(t.runTrackerClick=!0),o.getColor(),o.getSymbol(),c(o.parallelArrays,function(t){o[t+"Data"]=[]}),o.setData(n.data,!1),o.isCartesian&&(t.hasCartesianSeries=!0),a.length&&(i=a[a.length-1]),o._i=x(i&&i._i,-1)+1,t.orderSeries(this.insert(a))},insert:function(t){var e,n=this.options.index;if(v(n)){for(e=t.length;e--;)if(n>=x(t[e].options.index,t[e]._i)){t.splice(e+1,0,this);break}-1===e&&t.unshift(this),e+=1}else t.push(this);return x(e,t.length-1)},bindAxes:function(){var e,n=this,r=n.options,i=n.chart;c(n.axisTypes||[],function(o){c(i[o],function(t){e=t.options,(r[o]===e.index||void 0!==r[o]&&r[o]===e.id||void 0===r[o]&&0===e.index)&&(n.insert(t.series),n[o]=t,t.isDirty=!0)}),n[o]||n.optionalAxis===o||t.error(18,!0)})},updateParallelArrays:function(t,e){var n=t.series,r=arguments,i=v(e)?function(r){var i="y"===r&&n.toYData?n.toYData(t):t[r];n[r+"Data"][e]=i}:function(t){Array.prototype[e].apply(n[t+"Data"],Array.prototype.slice.call(r,2))};c(n.parallelArrays,i)},autoIncrement:function(){var t,e=this.options,n=this.xIncrement,r=e.pointIntervalUnit,n=x(n,e.pointStart,0);return this.pointInterval=t=x(this.pointInterval,e.pointInterval,1),r&&(e=new a(n),"day"===r?e=+e[a.hcSetDate](e[a.hcGetDate]()+t):"month"===r?e=+e[a.hcSetMonth](e[a.hcGetMonth]()+t):"year"===r&&(e=+e[a.hcSetFullYear](e[a.hcGetFullYear]()+t)),t=e-n),this.xIncrement=n+t,n},setOptions:function(t){var e=this.chart,n=e.options,r=n.plotOptions,i=(e.userOptions||{}).plotOptions||{},o=r[this.type];return this.userOptions=t,e=y(o,r.series,t),this.tooltipOptions=y(s.tooltip,s.plotOptions.series&&s.plotOptions.series.tooltip,s.plotOptions[this.type].tooltip,n.tooltip.userOptions,r.series&&r.series.tooltip,r[this.type].tooltip,t.tooltip),this.stickyTracking=x(t.stickyTracking,i[this.type]&&i[this.type].stickyTracking,i.series&&i.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||e.stickyTracking),null===o.marker&&delete e.marker,this.zoneAxis=e.zoneAxis,t=this.zones=(e.zones||[]).slice(),!e.negativeColor&&!e.negativeFillColor||e.zones||t.push({value:e[this.zoneAxis+"Threshold"]||e.threshold||0,className:"highcharts-negative",color:e.negativeColor,fillColor:e.negativeFillColor}),t.length&&u(t[t.length-1].value)&&t.push({color:this.color,fillColor:this.fillColor}),e},getCyclic:function(t,e,n){var r,i=this.chart,o=this.userOptions,a=t+"Index",s=t+"Counter",l=n?n.length:x(i.options.chart[t+"Count"],i[t+"Count"]);e||(r=x(o[a],o["_"+a]),u(r)||(i.series.length||(i[s]=0),o["_"+a]=r=i[s]%l,i[s]+=1),n&&(e=n[r])),void 0!==r&&(this[a]=r),this[t]=e},getColor:function(){this.options.colorByPoint?this.options.color=null:this.getCyclic("color",this.options.color||l[this.type].color,this.chart.options.colors)},getSymbol:function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},drawLegendSymbol:t.LegendSymbolMixin.drawLineMarker,setData:function(e,n,r,i){var o,a=this,s=a.points,l=s&&s.length||0,u=a.options,h=a.chart,f=null,d=a.xAxis,p=u.turboThreshold,y=this.xData,b=this.yData,_=(o=a.pointArrayMap)&&o.length;if(e=e||[],o=e.length,n=x(n,!0),!1!==i&&o&&l===o&&!a.cropped&&!a.hasGroupedData&&a.visible)c(e,function(t,e){s[e].update&&t!==u.data[e]&&s[e].update(t,!1,null,!1)});else{if(a.xIncrement=null,a.colorCounter=0,c(this.parallelArrays,function(t){a[t+"Data"].length=0}),p&&o>p){for(r=0;null===f&&rl||this.forceCrop)&&(r[o-1]f?(r=[],i=[]):(r[0]f)&&(n=this.cropData(this.xData,this.yData,h,f),r=n.xData,i=n.yData,n=n.start,a=!0)),l=r.length||1;--l;)o=m?c(r[l])-c(r[l-1]):r[l]-r[l-1],0o&&this.requireSorting&&t.error(15);this.cropped=a,this.cropStart=n,this.processedXData=r,this.processedYData=i,this.closestPointRange=s},cropData:function(t,e,n,r){var i,o=t.length,a=0,s=o,l=x(this.cropShoulder,1);for(i=0;i=n){a=Math.max(0,i-l);break}for(n=i;nr){s=n+l;break}return{xData:t.slice(a,s),yData:e.slice(a,s),start:a,end:s}},generatePoints:function(){var t,e,n,r,i=this.options,o=i.data,a=this.data,s=this.processedXData,l=this.processedYData,u=this.pointClass,c=s.length,h=this.cropStart||0,f=this.hasGroupedData,i=i.keys,d=[];for(a||f||(a=[],a.length=o.length,a=this.data=a),i&&f&&(this.options.keys=!1),r=0;r=f&&(o[h-1]||u)<=d,l&&u)if(l=c.length)for(;l--;)null!==c[l]&&(a[s++]=c[l]);else a[s++]=c;this.dataMin=i(a),this.dataMax=r(a)},translate:function(){this.processedXData||this.processData(),this.generatePoints();var t,e,n,r,i=this.options,a=i.stacking,s=this.xAxis,l=s.categories,c=this.yAxis,h=this.points,f=h.length,d=!!this.modifyValue,p=i.pointPlacement,m="between"===p||v(p),g=i.threshold,y=i.startFromThreshold?g:0,b=Number.MAX_VALUE;for("between"===p&&(p=.5),v(p)&&(p*=x(i.pointRange||s.pointRange)),i=0;i=k&&(_.isNull=!0),_.plotX=t=o(Math.min(Math.max(-1e5,s.translate(w,0,0,0,1,p,"flags"===this.type)),1e5)),a&&this.visible&&!_.isNull&&M&&M[w]&&(r=this.getStackIndicator(r,w,this.index),S=M[w],k=S.points[r.key],e=k[0],k=k[1],e===y&&r.key===M[w].base&&(e=x(g,c.min)),c.positiveValuesOnly&&0>=e&&(e=null),_.total=_.stackTotal=S.total,_.percentage=S.total&&_.y/S.total*100,_.stackY=k,S.setOffset(this.pointXOffset||0,this.barW||0)),_.yBottom=u(e)?c.translate(e,0,1,0,1):null,d&&(k=this.modifyValue(k,_)),_.plotY=e="number"==typeof k&&1/0!==k?Math.min(Math.max(-1e5,c.translate(k,0,1,0,1)),1e5):void 0,_.isInside=void 0!==e&&0<=e&&e<=c.len&&0<=t&&t<=s.len,_.clientX=m?o(s.translate(w,0,0,0,1,p)):t,_.negative=_.y<(g||0),_.category=l&&void 0!==l[_.x]?l[_.x]:_.x,_.isNull||(void 0!==n&&(b=Math.min(b,Math.abs(t-n))),n=t),_.zone=this.zones.length&&_.getZone()}this.closestPointRangePx=b},getValidPoints:function(t,e){var n=this.chart;return p(t||this.points||[],function(t){return!(e&&!n.isInsidePlot(t.plotX,t.plotY,n.inverted))&&!t.isNull})},setClip:function(t){var e=this.chart,n=this.options,r=e.renderer,i=e.inverted,o=this.clipBox,a=o||e.clipBox,s=this.sharedClipKey||["_sharedClip",t&&t.duration,t&&t.easing,a.height,n.xAxis,n.yAxis].join(),l=e[s],u=e[s+"m"];l||(t&&(a.width=0,i&&(a.x=e.plotSizeX),e[s+"m"]=u=r.clipRect(i?e.plotSizeX+99:-99,i?-e.plotLeft:-e.plotTop,99,i?e.chartWidth:e.chartHeight)),e[s]=l=r.clipRect(a),l.count={length:0}),t&&!l.count[this.index]&&(l.count[this.index]=!0,l.count.length+=1),!1!==n.clip&&(this.group.clip(t||o?l:e.clipRect),this.markerGroup.clip(u),this.sharedClipKey=s),t||(l.count[this.index]&&(delete l.count[this.index],--l.count.length),0===l.count.length&&s&&e[s]&&(o||(e[s]=e[s].destroy()),e[s+"m"]&&(e[s+"m"]=e[s+"m"].destroy())))},animate:function(t){var e,r=this.chart,i=n(this.options.animation);t?this.setClip(i):(e=this.sharedClipKey,(t=r[e])&&t.animate({width:r.plotSizeX,x:0},i),r[e+"m"]&&r[e+"m"].animate({width:r.plotSizeX+99,x:0},i),this.animate=null)},afterAnimate:function(){this.setClip(),d(this,"afterAnimate"),this.finishedAnimating=!0},drawPoints:function(){var t,e,n,r,i,o,a,s,l=this.points,u=this.chart,c=this.options.marker,h=this[this.specialGroup]||this.markerGroup,f=x(c.enabled,!!this.xAxis.isRadial||null,this.closestPointRangePx>=2*c.radius);if(!1!==c.enabled||this._hasPointMarkers)for(e=0;ei&&e.shadow)),a&&(a.startX=n.xMap,a.isArea=n.isArea)})},applyZones:function(){var t,e,n,r,i,o,a,s,l,u=this,h=this.chart,f=h.renderer,d=this.zones,p=this.clips||[],m=this.graph,v=this.area,g=Math.max(h.chartWidth,h.chartHeight),y=this[(this.zoneAxis||"y")+"Axis"],b=h.inverted,_=!1;d.length&&(m||v)&&y&&void 0!==y.min&&(i=y.reversed,o=y.horiz,m&&m.hide(),v&&v.hide(),r=y.getExtremes(),c(d,function(c,d){t=i?o?h.plotWidth:0:o?0:y.toPixels(r.min),t=Math.min(Math.max(x(e,t),0),g),e=Math.min(Math.max(Math.round(y.toPixels(x(c.value,r.max),!0)),0),g),_&&(t=e=y.toPixels(r.max)),a=Math.abs(t-e),s=Math.min(t,e),l=Math.max(t,e),y.isXAxis?(n={x:b?l:s,y:0,width:a,height:g},o||(n.x=h.plotHeight-n.x)):(n={x:0,y:b?l:s,width:g,height:a},o&&(n.y=h.plotWidth-n.y)),b&&f.isVML&&(n=y.isXAxis?{x:0,y:i?s:l,height:n.width,width:h.chartWidth}:{x:n.y-h.plotLeft-h.spacingBox.x,y:0,width:n.height,height:h.chartHeight}),p[d]?p[d].animate(n):(p[d]=f.clipRect(n),m&&u["zone-graph-"+d].clip(p[d]),v&&u["zone-area-"+d].clip(p[d])),_=c.value>r.max}),this.clips=p)},invertGroups:function(t){function n(){c(["group","markerGroup"],function(e){i[e]&&(o.renderer.isVML&&i[e].attr({width:i.yAxis.len,height:i.xAxis.len}),i[e].width=i.yAxis.len,i[e].height=i.xAxis.len,i[e].invert(t))})}var r,i=this,o=i.chart;i.xAxis&&(r=e(o,"resize",n),e(i,"destroy",r),n(),i.invertGroups=n)},plotGroup:function(t,e,n,r,i){var o=this[t],a=!o;return a&&(this[t]=o=this.chart.renderer.g().attr({zIndex:r||.1}).add(i)),o.addClass("highcharts-"+e+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(u(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr({visibility:n})[a?"attr":"animate"](this.getPlotBox()),o},getPlotBox:function(){var t=this.chart,e=this.xAxis,n=this.yAxis;return t.inverted&&(e=n,n=this.xAxis),{translateX:e?e.left:t.plotLeft,translateY:n?n.top:t.plotTop,scaleX:1,scaleY:1}},render:function(){var t,e=this,r=e.chart,i=e.options,o=!!e.animate&&r.renderer.isSVG&&n(i.animation).duration,a=e.visible?"inherit":"hidden",s=i.zIndex,l=e.hasRendered,u=r.seriesGroup,c=r.inverted;t=e.plotGroup("group","series",a,s,u),e.markerGroup=e.plotGroup("markerGroup","markers",a,s,u),o&&e.animate(!0),t.inverted=!!e.isCartesian&&c,e.drawGraph&&(e.drawGraph(),e.applyZones()),e.drawDataLabels&&e.drawDataLabels(),e.visible&&e.drawPoints(),e.drawTracker&&!1!==e.options.enableMouseTracking&&e.drawTracker(),e.invertGroups(c),!1===i.clip||e.sharedClipKey||l||t.clip(r.clipRect),o&&e.animate(),l||(e.animationTimeout=S(function(){e.afterAnimate()},o)),e.isDirty=!1,e.hasRendered=!0},redraw:function(){var t=this.chart,e=this.isDirty||this.isDirtyData,n=this.group,r=this.xAxis,i=this.yAxis;n&&(t.inverted&&n.attr({width:t.plotWidth,height:t.plotHeight}),n.animate({translateX:x(r&&r.left,t.plotLeft),translateY:x(i&&i.top,t.plotTop)})),this.translate(),this.render(),e&&delete this.kdTree},kdAxisArray:["clientX","plotY"],searchPoint:function(t,e){var n=this.xAxis,r=this.yAxis,i=this.chart.inverted;return this.searchKDTree({clientX:i?n.len-t.chartY+n.pos:t.chartX-n.pos,plotY:i?r.len-t.chartX+r.pos:t.chartY-r.pos},e)},buildKDTree:function(){function t(n,r,i){var o,a;if(a=n&&n.length)return o=e.kdAxisArray[r%i],n.sort(function(t,e){return t[o]-e[o]}),a=Math.floor(a/2),{point:n[a],left:t(n.slice(0,a),r+1,i),right:t(n.slice(a+1),r+1,i)}}this.buildingKdTree=!0;var e=this,n=-1d?"left":"right",h=0>d?"right":"left",e[c]&&(c=n(t,e[c],s+1,l),p=c[a]s;)a--;this.updateParallelArrays(i,"splice",a,0,0),this.updateParallelArrays(i,a),h&&i.name&&(h[s]=i.name),f.splice(a,0,t),o&&(this.data.splice(a,0,null),this.processData()),"point"===l.legendType&&this.generatePoints(),n&&(u[0]&&u[0].remove?u[0].remove(!1):(u.shift(),this.updateParallelArrays(i,"shift"),f.shift())),this.isDirtyData=this.isDirty=!0,e&&c.redraw(r)},removePoint:function(t,e,n){var r=this,i=r.data,o=i[t],a=r.points,s=r.chart,l=function(){a&&a.length===i.length&&a.splice(t,1),i.splice(t,1),r.options.data.splice(t,1),r.updateParallelArrays(o||{series:r},"splice",t,1),o&&o.destroy(),r.isDirty=!0,r.isDirtyData=!0,e&&s.redraw()};_(n,s),e=g(e,!0),o?o.firePointEvent("remove",null,l):l()},remove:function(t,e,n){function r(){i.destroy(),o.isDirtyLegend=o.isDirtyBox=!0,o.linkSeries(),g(t,!0)&&o.redraw(e)}var i=this,o=i.chart;!1!==n?c(i,"remove",null,r):r()},update:function(t,e){var n,r=this,i=r.chart,o=r.userOptions,a=r.oldType||r.type,l=t.type||o.type||i.options.chart.type,c=x[a].prototype,h=["group","markerGroup","dataLabelsGroup"],f=["navigatorSeries","baseSeries"],d=r.finishedAnimating&&{animation:!1};if(Object.keys&&"data"===Object.keys(t).toString())return this.setData(t.data,e);(l&&l!==a||void 0!==t.zIndex)&&(h.length=0),r.options.isInternal&&(f.length=0),f=h.concat(f),s(f,function(t){f[t]=r[t],delete r[t]}),t=m(o,d,{index:r.index,pointStart:r.xData[0]},{data:r.options.data},t),r.remove(!1,null,!1);for(n in c)r[n]=void 0;u(r,x[l||a].prototype),s(f,function(t){r[t]=f[t]}),r.init(i,t),r.oldType=a,i.linkSeries(),g(e,!0)&&i.redraw(!1)}}),u(r.prototype,{update:function(t,e){var n=this.chart;t=n.options[this.coll][this.options.index]=m(this.userOptions,t),this.destroy(!0),this.init(n,u(t,{events:void 0})),n.isDirtyBox=!0,g(e,!0)&&n.redraw()},remove:function(t){for(var e=this.chart,n=this.coll,r=this.series,i=r.length;i--;)r[i]&&r[i].remove(!1);l(e.axes,this),l(e[n],this),p(e.options[n])?e.options[n].splice(this.options.index,1):delete e.options[n],s(e[n],function(t,e){t.options.index=e}),this.destroy(),e.isDirtyBox=!0,g(t,!0)&&e.redraw()},setTitle:function(t,e){this.update({title:t},e)},setCategories:function(t,e){this.update({categories:t},e)}})}(e),function(t){var e=t.color,n=t.each,r=t.map,i=t.pick,o=t.Series;(0,t.seriesType)("area","line",{softThreshold:!1,threshold:0},{singleStacks:!1,getStackPoints:function(e){var o,a,s=[],l=[],u=this.xAxis,c=this.yAxis,h=c.stacks[this.stackKey],f={},d=this.index,p=c.series,m=p.length,v=i(c.options.reversedStacks,!0)?1:-1;if(e=e||this.points,this.options.stacking){for(a=0;at&&l>o?(l=Math.max(t,o),c=2*o-l):lr&&c>o?(c=Math.max(r,o),l=2*o-c):c=Math.abs(e)&&.5t.closestPointRange*t.xAxis.transA,i=t.borderWidth=s(n.borderWidth,i?0:1),o=t.yAxis,a=t.translatedThreshold=o.getThreshold(n.threshold),u=s(n.minPointLength,5),c=t.getColumnMetrics(),h=c.width,f=t.barW=Math.max(h,1+2*i),d=t.pointXOffset=c.offset;e.inverted&&(a-=.5),n.pointPadding&&(f=Math.ceil(f)),l.prototype.translate.apply(t),r(t.points,function(n){var r,i=s(n.yBottom,a),l=999+Math.abs(i),l=Math.min(Math.max(-l,n.plotY),o.len+l),c=n.plotX+d,p=f,m=Math.min(l,i),v=Math.max(l,i)-m;u&&Math.abs(v)=t.dataMax&&(r=!r),m=Math.abs(m-a)>u?i-u:a-(r?u:0)),n.barX=c,n.pointWidth=h,n.tooltipPos=e.inverted?[o.len+o.pos-e.plotLeft-l,t.xAxis.len-c-p/2,v]:[c+p/2,l+o.pos-e.plotTop,v],n.shapeType="rect",n.shapeArgs=t.crispCol.apply(t,n.isNull?[c,a,p,0]:[c,m,p,v])})},getSymbol:t.noop,drawLegendSymbol:t.LegendSymbolMixin.drawRectangle,drawGraph:function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},pointAttribs:function(t,e){var r,i=this.options,o=this.pointAttrToOptions||{};r=o.stroke||"borderColor";var s=o["stroke-width"]||"borderWidth",l=t&&t.color||this.color,u=t&&t[r]||i[r]||this.color||l,c=t&&t[s]||i[s]||this[s]||0,o=i.dashStyle;return t&&this.zones.length&&(l=t.getZone(),l=t.options.color||l&&l.color||this.color),e&&(t=a(i.states[e],t.options.states&&t.options.states[e]||{}),e=t.brightness,l=t.color||void 0!==e&&n(l).brighten(t.brightness).get()||l,u=t[r]||u,c=t[s]||c,o=t.dashStyle||o),r={fill:l,stroke:u,"stroke-width":c},o&&(r.dashstyle=o),r},drawPoints:function(){var t,e=this,n=this.chart,i=e.options,s=n.renderer,l=i.animationLimit||250;r(e.points,function(r){var u=r.graphic;o(r.plotY)&&null!==r.y?(t=r.shapeArgs,u?u[n.pointCount {series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}},{sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1,drawGraph:function(){this.options.lineWidth&&e.prototype.drawGraph.call(this)}})}(e),function(t){var e=t.deg2rad,n=t.isNumber,r=t.pick,i=t.relativeLength;t.CenteredSeriesMixin={getCenter:function(){var t,e,n=this.options,o=this.chart,a=2*(n.slicedOffset||0),s=o.plotWidth-2*a,o=o.plotHeight-2*a,l=n.center,l=[r(l[0],"50%"),r(l[1],"50%"),n.size||"100%",n.innerSize||0],u=Math.min(s,o);for(t=0;4>t;++t)e=l[t],n=2>t||2===t&&/%$/.test(e),l[t]=i(e,[s,o,u,l[2]][t])+(n?a:0);return l[3]>l[2]&&(l[3]=l[2]),l},getStartAndEndRadians:function(t,r){return t=n(t)?t:0,r=n(r)&&r>t&&360>r-t?r:t+360,{start:e*(t+-90),end:e*(r+-90)}}}}(e),function(t){var e=t.addEvent,n=t.CenteredSeriesMixin,r=t.defined,i=t.each,o=t.extend,a=n.getStartAndEndRadians,s=t.inArray,l=t.noop,u=t.pick,c=t.Point,h=t.Series,f=t.seriesType,d=t.setAnimation;f("pie","line",{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},x:0},ignoreHiddenPoint:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,states:{hover:{brightness:.1,shadow:!1}}},{isCartesian:!1,requireSorting:!1,directTouch:!0,noSharedTooltip:!0,trackerGroups:["group","dataLabelsGroup"],axisTypes:[],pointAttribs:t.seriesTypes.column.prototype.pointAttribs,animate:function(t){var e=this,n=e.points,r=e.startAngleRad;t||(i(n,function(t){var n=t.graphic,i=t.shapeArgs;n&&(n.attr({r:t.startR||e.center[3]/2,start:r,end:r}),n.animate({r:i.r,start:i.start,end:i.end},e.options.animation))}),e.animate=null)},updateTotals:function(){var t,e,n=0,r=this.points,i=r.length,o=this.options.ignoreHiddenPoint;for(t=0;t1.5*Math.PI?r-=2*Math.PI:r<-Math.PI/2&&(r+=2*Math.PI),s.slicedTranslation={translateX:Math.round(Math.cos(r)*h),translateY:Math.round(Math.sin(r)*h)},n=Math.cos(r)*t[2]/2,i=Math.sin(r)*t[2]/2,s.tooltipPos=[t[0]+.7*n,t[1]+.7*i],s.half=r<-Math.PI/2||r>Math.PI/2?1:0,s.angle=r,e=Math.min(f,s.labelDistance/5),s.labelPos=[t[0]+n+Math.cos(r)*s.labelDistance,t[1]+i+Math.sin(r)*s.labelDistance,t[0]+n+Math.cos(r)*e,t[1]+i+Math.sin(r)*e,t[0]+n,t[1]+i,0>s.labelDistance?"center":s.half?"right":"left",r]},drawGraph:null,drawPoints:function(){var t,e,n,r,a=this,s=a.chart.renderer,l=a.options.shadow;l&&!a.shadowGroup&&(a.shadowGroup=s.g("shadow").add(a.group)),i(a.points,function(i){if(e=i.graphic,i.isNull)e&&(i.graphic=e.destroy());else{r=i.shapeArgs,t=i.getTranslate();var u=i.shadowGroup;l&&!u&&(u=i.shadowGroup=s.g("shadow").add(a.shadowGroup)),u&&u.attr(t),n=a.pointAttribs(i,i.selected&&"select"),e?e.setRadialReference(a.center).attr(n).animate(o(r,t)):(i.graphic=e=s[i.shapeType](r).setRadialReference(a.center).attr(t).add(a.group),i.visible||e.attr({visibility:"hidden"}),e.attr(n).attr({"stroke-linejoin":"round"}).shadow(l,u)),e.addClass(i.getClassName())}})},searchPoint:l,sortByAngle:function(t,e){t.sort(function(t,n){return void 0!==t.angle&&(n.angle-t.angle)*e})},drawLegendSymbol:t.LegendSymbolMixin.drawRectangle,getCenter:n.getCenter,getSymbol:l},{init:function(){c.prototype.init.apply(this,arguments);var t,n=this;return n.name=u(n.name,"Slice"),t=function(t){n.slice("select"===t.type)},e(n,"select",t),e(n,"unselect",t),n},isValid:function(){return t.isNumber(this.y,!0)&&0<=this.y},setVisible:function(t,e){var n=this,r=n.series,o=r.chart,a=r.options.ignoreHiddenPoint;e=u(e,a),t!==n.visible&&(n.visible=n.options.visible=t=void 0===t?!n.visible:t,r.options.data[s(n,r.data)]=n.options,i(["graphic","dataLabel","connector","shadowGroup"],function(e){n[e]&&n[e][t?"show":"hide"](!0)}),n.legendItem&&o.legend.colorizeItem(n,t),t||"hover"!==n.state||n.setState(""),a&&(r.isDirty=!0),e&&o.redraw())},slice:function(t,e,n){var i=this.series;d(n,i.chart),u(e,!0),this.sliced=this.options.sliced=r(t)?t:!this.sliced,i.options.data[s(this,i.data)]=this.options,this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},getTranslate:function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},haloPath:function(t){var e=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(e.x,e.y,e.r+t,e.r+t,{innerR:this.shapeArgs.r,start:e.start,end:e.end})}})}(e),function(t){var e=t.addEvent,n=t.arrayMax,r=t.defined,i=t.each,o=t.extend,a=t.format,s=t.map,l=t.merge,u=t.noop,c=t.pick,h=t.relativeLength,f=t.Series,d=t.seriesTypes,p=t.stableSort;t.distribute=function(t,e){function n(t,e){return t.target-e.target}var r,o,a=!0,l=t,u=[];for(o=0,r=t.length;r--;)o+=t[r].size;if(o>e){for(p(t,function(t,e){return(e.rank||0)-(t.rank||0)}),o=r=0;o<=e;)o+=t[r].size,r++;u=t.splice(r-1,t.length)}for(p(t,n),t=s(t,function(t){return{size:t.size,targets:[t.target]}});a;){for(r=t.length;r--;)a=t[r],o=(Math.min.apply(0,a.targets)+Math.max.apply(0,a.targets))/2,a.pos=Math.min(Math.max(0,o-a.size/2),e-a.size);for(r=t.length,a=!1;r--;)0t[r].pos&&(t[r-1].size+=t[r].size,t[r-1].targets=t[r-1].targets.concat(t[r].targets),t[r-1].pos+t[r-1].size>e&&(t[r-1].pos=e-t[r-1].size),t.splice(r,1),a=!0)}r=0,i(t,function(t){var e=0;i(t.targets,function(){l[r].pos=t.pos+e,e+=l[r].size,r++})}),l.push.apply(l,u),p(l,n)},f.prototype.drawDataLabels=function(){var n,o,s,u,h=this,f=h.options,d=f.dataLabels,p=h.points,m=h.hasRendered||0,v=c(d.defer,!!f.animation),g=h.chart.renderer;(d.enabled||h._hasPointLabels)&&(h.dlProcessOptions&&h.dlProcessOptions(d),u=h.plotGroup("dataLabelsGroup","data-labels",v&&!m?"hidden":"visible",d.zIndex||6),v&&(u.attr({opacity:+m}),m||e(h,"afterAnimate",function(){h.visible&&u.show(!0),u[f.animation?"animate":"attr"]({opacity:1},{duration:200})})),o=d,i(p,function(e){var i,p,m,v,y=e.dataLabel,b=e.connector,x=!y;n=e.dlOptions||e.options&&e.options.dataLabels,(i=c(n&&n.enabled,o.enabled)&&!e.isNull)&&(d=l(o,n),p=e.getLabelConfig(),v=d[e.formatPrefix+"Format"]||d.format,s=r(v)?a(v,p):d.formatter.call(p,d),v=d.style,p=d.rotation,v.color=c(d.color,v.color,h.color,"#000000"),"contrast"===v.color&&(e.contrastColor=g.getContrast(e.color||h.color),v.color=d.inside||0>c(e.labelDistance,d.distance)||f.stacking?e.contrastColor:"#000000"),f.cursor&&(v.cursor=f.cursor),m={fill:d.backgroundColor,stroke:d.borderColor,"stroke-width":d.borderWidth,r:d.borderRadius||0,rotation:p,padding:d.padding,zIndex:1},t.objectEach(m,function(t,e){void 0===t&&delete m[e]})),!y||i&&r(s)?i&&r(s)&&(y?m.text=s:(y=e.dataLabel=g[p?"text":"label"](s,0,-9999,d.shape,null,null,d.useHTML,null,"data-label"),y.addClass("highcharts-data-label-color-"+e.colorIndex+" "+(d.className||"")+(d.useHTML?"highcharts-tracker":""))),y.attr(m),y.css(v).shadow(d.shadow),y.added||y.add(u),h.alignDataLabel(e,y,d,null,x)):(e.dataLabel=y=y.destroy(),b&&(e.connector=b.destroy()))}))},f.prototype.alignDataLabel=function(t,e,n,r,i){var a,s=this.chart,l=s.inverted,u=c(t.plotX,-9999),h=c(t.plotY,-9999),f=e.getBBox(),d=n.rotation,p=n.align,m=this.visible&&(t.series.forceDL||s.isInsidePlot(u,Math.round(h),l)||r&&s.isInsidePlot(u,l?r.x+1:r.y+r.height-1,l)),v="justify"===c(n.overflow,"justify");m&&(a=n.style.fontSize,a=s.renderer.fontMetrics(a,e).b,r=o({x:l?this.yAxis.len-h:u,y:Math.round(l?this.xAxis.len-u:h),width:0,height:0},r),o(n,{width:f.width,height:f.height}),d?(v=!1,u=s.renderer.rotCorr(a,d),u={x:r.x+n.x+r.width/2+u.x,y:r.y+n.y+{top:0,middle:.5,bottom:1}[n.verticalAlign]*r.height},e[i?"attr":"animate"](u).attr({align:p}),h=(d+720)%360,h=180h,"left"===p?u.y-=h?f.height:0:"center"===p?(u.x-=f.width/2,u.y-=f.height/2):"right"===p&&(u.x-=f.width,u.y-=h?0:f.height)):(e.align(n,null,r),u=e.alignAttr),v?t.isLabelJustified=this.justifyDataLabel(e,n,u,f,r,i):c(n.crop,!0)&&(m=s.isInsidePlot(u.x,u.y)&&s.isInsidePlot(u.x+f.width,u.y+f.height)),n.shape&&!d)&&e[i?"attr":"animate"]({anchorX:l?s.plotWidth-t.plotY:t.plotX,anchorY:l?s.plotHeight-t.plotX:t.plotY}),m||(e.attr({y:-9999}),e.placed=!1)},f.prototype.justifyDataLabel=function(t,e,n,r,i,o){var a,s,l=this.chart,u=e.align,c=e.verticalAlign,h=t.box?0:t.padding||0;return a=n.x+h,0>a&&("right"===u?e.align="left":e.x=-a,s=!0),a=n.x+r.width-h,a>l.plotWidth&&("left"===u?e.align="right":e.x=l.plotWidth-a,s=!0),a=n.y+h,0>a&&("bottom"===c?e.verticalAlign="top":e.y=-a,s=!0),a=n.y+r.height-h,a>l.plotHeight&&("top"===c?e.verticalAlign="bottom":e.y=l.plotHeight-a,s=!0),s&&(t.placed=!o,t.align(e,null,i)),s},d.pie&&(d.pie.prototype.drawDataLabels=function(){var e,o,a,s,l,u,h,d,p,m,v=this,g=v.data,y=v.chart,b=v.options.dataLabels,x=c(b.connectorPadding,10),_=c(b.connectorWidth,1),w=y.plotWidth,k=y.plotHeight,S=v.center,M=S[2]/2,T=S[1],C=[[],[]],O=[0,0,0,0];v.visible&&(b.enabled||v._hasPointLabels)&&(i(g,function(t){t.dataLabel&&t.visible&&t.dataLabel.shortened&&(t.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),t.dataLabel.shortened=!1)}),f.prototype.drawDataLabels.apply(v),i(g,function(t){t.dataLabel&&t.visible&&(C[t.half].push(t),t.dataLabel._pos=null)}),i(C,function(n,o){var f,g,_,C=n.length,E=[];if(C)for(v.sortByAngle(n,o-.5),0e.bottom-2?f:d,o,e),a._attr={visibility:p,align:l[6]},a._pos={x:h+b.x+({left:x,right:-x}[l[6]]||0),y:d+b.y-10},l.x=h,l.y=d,c(b.crop,!0)&&(s=a.getBBox().width,f=null,h-sw-x&&(f=Math.round(h+s-w+x),O[1]=Math.max(f,O[1])),0>d-u/2?O[0]=Math.max(Math.round(u/2-d),O[0]):d+u/2>k&&(O[2]=Math.max(Math.round(d+u/2-k),O[2])),a.sideOverflow=f)}),0===n(O)||this.verifyDataLabelOverflow(O))&&(this.placeDataLabels(),_&&i(this.points,function(t){var e;o=t.connector,(a=t.dataLabel)&&a._pos&&t.visible&&0c(this.translatedThreshold,a.yAxis.len)),h=c(n.inside,!!this.options.stacking);s&&(r=l(s),0>r.y&&(r.height+=r.y,r.y=0),s=r.y+r.height-a.yAxis.len,0t+n||i+ae+r||o+sthis.pointCount))},pan:function(t,e){var n,r=this,i=r.hoverPoints;i&&l(i,function(t){t.setState()}),l("xy"===e?[1,0]:[1],function(e){e=r[e?"xAxis":"yAxis"][0];var i,o=e.horiz,a=t[o?"chartX":"chartY"],o=o?"mouseDownX":"mouseDownY",s=r[o],l=(e.pointRange||0)/2,u=e.getExtremes(),c=e.toValue(s-a,!0)+l,l=e.toValue(s+e.len-a,!0)-l,h=l=a(n.minWidth,0)&&this.chartHeight>=a(n.minHeight,0)}).call(this)&&e.push(t._id)},e.prototype.currentOptions=function(e){function n(e,a,l,u){var c;t.objectEach(e,function(t,h){if(!u&&-1",'"',"`"," ","\r","\n","\t"],p=["{","}","|","\\","^","`"].concat(d),m=["'"].concat(p),v=["%","/","?",";","#"].concat(m),g=["/","?","#"],y=/^[+a-z0-9A-Z_-]{0,63}$/,b=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,x={javascript:!0,"javascript:":!0},_={javascript:!0,"javascript:":!0},w={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},k=n(321);r.prototype.parse=function(t,e,n){if(!u.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var r=t.indexOf("?"),i=-1!==r&&r127?L+="x":L+=I[z];if(!L.match(y)){var N=P.slice(0,T),R=P.slice(T+1),F=I.match(b);F&&(N.push(F[1]),R.unshift(F[2])),R.length&&(s="/"+R.join(".")+s),this.hostname=N.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),A||(this.hostname=l.toASCII(this.hostname));var B=this.port?":"+this.port:"",U=this.hostname||"";this.host=U+B,this.href+=this.host,A&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==s[0]&&(s="/"+s))}if(!x[p])for(var T=0,D=m.length;T0)&&n.host.split("@");M&&(n.auth=M.shift(),n.host=n.hostname=M.shift())}return n.search=t.search,n.query=t.query,u.isNull(n.pathname)&&u.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!k.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var T=k.slice(-1)[0],C=(n.host||t.host||k.length>1)&&("."===T||".."===T)||""===T,O=0,E=k.length;E>=0;E--)T=k[E],"."===T?k.splice(E,1):".."===T?(k.splice(E,1),O++):O&&(k.splice(E,1),O--);if(!b&&!x)for(;O--;O)k.unshift("..");!b||""===k[0]||k[0]&&"/"===k[0].charAt(0)||k.unshift(""),C&&"/"!==k.join("/").substr(-1)&&k.push("");var A=""===k[0]||k[0]&&"/"===k[0].charAt(0);if(S){n.hostname=n.host=A?"":k.length?k.shift():"";var M=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");M&&(n.auth=M.shift(),n.host=n.hostname=M.shift())}return b=b||n.host&&k.length,b&&!A&&k.unshift(""),k.length?n.pathname=k.join("/"):(n.pathname=null,n.path=null),u.isNull(n.pathname)&&u.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=t.auth||n.auth,n.slashes=n.slashes||t.slashes,n.href=n.format(),n},r.prototype.parseHost=function(){var t=this.host,e=h.exec(t);e&&(e=e[0],":"!==e&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}},,,,,,,,,function(t,e,n){function r(t){return i(t)?t:Object(t)}var i=n(31);t.exports=r},,,,function(t,e,n){var r=n(591),i=n(359),o=n(596),a=r(i,o);t.exports=a},,,,,,,,,,,,,,function(t,e,n){"use strict";var r=n(402),i=n(403),o=n(299);t.exports={formats:o,parse:i,stringify:r}},function(t,e,n){var r=n(110),i=n(81),o=n(31),a=n(406),s=r(Object,"keys"),l=s?function(t){var e=null==t?void 0:t.constructor;return"function"==typeof e&&e.prototype===t||"function"!=typeof t&&i(t)?a(t):o(t)?s(t):[]}:a;t.exports=l},function(t,e,n){function r(t){return null!=t&&o(i(t))}var i=n(301),o=n(92);t.exports=r},,,,,,,,,function(t,e,n){var r=n(141);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},,function(t,e){function n(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=r}var r=9007199254740991;t.exports=n},function(t,e,n){function r(t){return o(t)&&i(t)&&s.call(t,"callee")&&!l.call(t,"callee")}var i=n(81),o=n(50),a=Object.prototype,s=a.hasOwnProperty,l=a.propertyIsEnumerable;t.exports=r},function(t,e,n){function r(t,e,n){if("function"!=typeof t)return i;if(void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 3:return function(n,r,i){return t.call(e,n,r,i)};case 4:return function(n,r,i,o){return t.call(e,n,r,i,o)};case 5:return function(n,r,i,o,a){return t.call(e,n,r,i,o,a)}}return function(){return t.apply(e,arguments)}}var i=n(306);t.exports=r},,function(t,e,n){function r(t,e,n,r){return(t?t.length:0)?(null!=e&&"boolean"!=typeof e&&(r=n,n=a(t,e,r)?void 0:e,e=!1),n=null==n?n:i(n,r,3),e?s(t,n):o(t,n)):[]}var i=n(156),o=n(432),a=n(111),s=n(436);t.exports=r},function(t,e,n){var r=n(443),i=n(444),o=n(308),a=n(94),s=n(147),l=n(309),u=n(310),c=n(112),h=c(function(t,e){if(null==t)return{};if("function"!=typeof e[0]){var e=r(o(e),String);return l(t,i(s(t),e))}var n=a(e[0],e[1],3);return u(t,function(t,e,r){return!n(t,e,r)})});t.exports=h},,,,,,,function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(168),i=n(376);t.exports=n(142)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},,,,function(t,e,n){"use strict";function r(){if(!(this instanceof r))return new r;this._instances={}}function i(t,e){if("object"==typeof e.key?(e.data=e.key,e.key=void 0):"number"==typeof e.key?(e.data=e.historyLimit,e.historyLimit=e.key,e.key=void 0):"object"==typeof e.historyLimit&&(e.data=e.historyLimit,e.historyLimit=void 0),e.key&&t._instances[e.key])return t._instances[e.key];var n=new o(e);return t._instances[n.key]=n,n}var o=n(397);r.prototype.get=function(t,e){return i(this,{key:t,data:e})},r.prototype.instance=function(t){return t?this._instances[t]:this._instances},r.prototype.clear=function(){this._instances={}},r.prototype.remove=function(t){return delete this._instances[t]},r.prototype.withHistory=function(t,e,n){return i(this,{key:t,data:n,history:!0,historyLimit:e})};var a=new r;t.exports=function(t,e){return i(a,{key:t,data:e})},t.exports.withHistory=function(t,e,n){return i(a,{key:t,data:n,history:!0,historyLimit:e})},t.exports.Structure=o,t.exports.Immstruct=r,t.exports.clear=a.clear.bind(a),t.exports.remove=a.remove.bind(a),t.exports.get=a.get.bind(a),t.exports.instance=function(t){return t?a._instances[t]:a._instances}},function(t,e,n){function r(t,e){var n=null==t?void 0:t[e];return i(n)?n:void 0}var i=n(405);t.exports=r},function(t,e,n){function r(t,e,n){if(!a(n))return!1;var r=typeof e;if("number"==r?i(n)&&o(e,n.length):"string"==r&&e in n){var s=n[e];return t===t?t===s:s!==s}return!1}var i=n(81),o=n(146),a=n(31);t.exports=r},function(t,e){function n(t,e){if("function"!=typeof t)throw new TypeError(r);return e=i(void 0===e?t.length-1:+e||0,0),function(){for(var n=arguments,r=-1,o=i(n.length-e,0),a=Array(o);++r-1&&t%1==0&&t0;++r-1?e:t}function d(t,e){e=e||{};var n=e.body;if(t instanceof d){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new i(t.headers)),this.method=t.method,this.mode=t.mode,n||null==t._bodyInit||(n=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new i(e.headers)),this.method=f(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function p(t){var e=new FormData;return t.trim().split("&").forEach(function(t){if(t){var n=t.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(r),decodeURIComponent(i))}}),e}function m(t){var e=new i;return t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(t){var n=t.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();e.append(r,i)}}),e}function v(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new i(e.headers),this.url=e.url||"",this._initBody(t)}if(!t.fetch){var g={searchParams:"URLSearchParams"in t,iterable:"Symbol"in t&&"iterator"in Symbol,blob:"FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in t,arrayBuffer:"ArrayBuffer"in t};if(g.arrayBuffer)var y=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],b=function(t){return t&&DataView.prototype.isPrototypeOf(t)},x=ArrayBuffer.isView||function(t){return t&&y.indexOf(Object.prototype.toString.call(t))>-1};i.prototype.append=function(t,r){t=e(t),r=n(r);var i=this.map[t];this.map[t]=i?i+","+r:r},i.prototype.delete=function(t){delete this.map[e(t)]},i.prototype.get=function(t){return t=e(t),this.has(t)?this.map[t]:null},i.prototype.has=function(t){return this.map.hasOwnProperty(e(t))},i.prototype.set=function(t,r){this.map[e(t)]=n(r)},i.prototype.forEach=function(t,e){for(var n in this.map)this.map.hasOwnProperty(n)&&t.call(e,this.map[n],n,this)},i.prototype.keys=function(){var t=[];return this.forEach(function(e,n){t.push(n)}),r(t)},i.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),r(t)},i.prototype.entries=function(){var t=[];return this.forEach(function(e,n){t.push([n,e])}),r(t)},g.iterable&&(i.prototype[Symbol.iterator]=i.prototype.entries);var _=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];d.prototype.clone=function(){return new d(this,{body:this._bodyInit})},h.call(d.prototype),h.call(v.prototype),v.prototype.clone=function(){return new v(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new i(this.headers),url:this.url})},v.error=function(){var t=new v(null,{status:0,statusText:""});return t.type="error",t};var w=[301,302,303,307,308];v.redirect=function(t,e){if(-1===w.indexOf(e))throw new RangeError("Invalid status code");return new v(null,{status:e,headers:{location:t}})},t.Headers=i,t.Request=d,t.Response=v,t.fetch=function(t,e){return new Promise(function(n,r){var i=new d(t,e),o=new XMLHttpRequest;o.onload=function(){var t={status:o.status,statusText:o.statusText,headers:m(o.getAllResponseHeaders()||"")};t.url="responseURL"in o?o.responseURL:t.headers.get("X-Request-URL");var e="response"in o?o.response:o.responseText;n(new v(e,t))},o.onerror=function(){r(new TypeError("Network request failed"))},o.ontimeout=function(){r(new TypeError("Network request failed"))},o.open(i.method,i.url,!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&g.blob&&(o.responseType="blob"),i.headers.forEach(function(t,e){o.setRequestHeader(e,t)}),o.send(void 0===i._bodyInit?null:i._bodyInit)})},t.fetch.polyfill=!0}}("undefined"!=typeof self?self:this)},,function(t,e,n){function r(t,e,n){var r=null==t?void 0:i(t,o(e),e+"");return void 0===r?n:r}var i=n(226),o=n(153);t.exports=r},function(t,e,n){function r(t,e,n){if(null!=t){void 0!==n&&n in i(t)&&(e=[n]);for(var r=0,o=e.length;null!=t&&r0?r:n)(t)}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(976),i=n(291);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(374)("keys"),i=n(288);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e,n){var r=n(168).f,i=n(169),o=n(37)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},,function(t,e,n){function r(t,e,n,r){var a=t?t.length:0;return a?(n&&"number"!=typeof n&&o(t,e,n)&&(n=0,r=a),i(t,e,n,r)):[]}var i=n(598),o=n(111);t.exports=r},function(t,e,n){"use strict";function r(t){return function(){return t}}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(t){return t},t.exports=i},function(t,e,n){"use strict";var r=Object.prototype.hasOwnProperty,i=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),o=function(t){for(var e;t.length;){var n=t.pop();if(e=n.obj[n.prop],Array.isArray(e)){for(var r=[],i=0;i=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122?n+=e.charAt(r):o<128?n+=i[o]:o<2048?n+=i[192|o>>6]+i[128|63&o]:o<55296||o>=57344?n+=i[224|o>>12]+i[128|o>>6&63]+i[128|63&o]:(r+=1,o=65536+((1023&o)<<10|1023&e.charCodeAt(r)),n+=i[240|o>>18]+i[128|o>>12&63]+i[128|o>>6&63]+i[128|63&o])}return n},h=function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r2?n[a-2]:void 0,l=a>2?n[2]:void 0,u=a>1?n[a-1]:void 0;for("function"==typeof s?(s=i(s,u,5),a-=2):(s="function"==typeof u?u:void 0,a-=s?1:0),l&&o(n[0],n[1],l)&&(s=a<3?void 0:s,a=1);++ri?0:i+e),n=void 0===n||n>i?i:+n||0,n<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var o=Array(i);++r false (equal input)"),!1;if(!_(this.state,e))return g&&g.call(this,"shouldComponentUpdate => true (state has changed)"),!0;var n=c(t,T),r=c(this.props,T);return w(r,n)?(g&&g.call(this,"shouldComponentUpdate => false"),!1):(g&&g.call(this,"shouldComponentUpdate => true (props have changed)"),!0)}function n(t,e){return p(t,e,function(t,e){return t===e||i(t,e,k,x)})}function r(t,e){if(t===e)return!0;var n=i(t,e,y,b);if(void 0!==n)return n;var r=i(t,e,k,x);return void 0!==r?r:p(t,e,function(t,e){if(t===e)return!0;var n=i(t,e,y,b);return void 0!==n?n:i(t,e,k,x)})}function m(t,e){return M(t)===M(e)}function v(t,e){"function"==typeof t&&(e=t,t=void 0);var n=e;!n&&console.debug&&(n=console.debug.bind(console)),!n&&console.info&&(n=console.info.bind(console));var r=new RegExp(t||".*");return g=function(t){var e=this._reactInternalFiber?this._reactInternalFiber:this._reactInternalInstance?this._reactInternalInstance._currentElement:this._currentElement,i=e&&e.key?" key="+e.key:"",o=this.constructor.displayName;i||o||(o="Unknown");var a=o+i;r.test(a)&&n("<"+a+">: "+t)}}var g;t=t||{};var y=t.isCursor||l,b=t.isEqualCursor||m,x=t.isEqualImmutable||o,_=t.isEqualState||n,w=t.isEqualProps||r,k=t.isImmutable||a,S=t.isIgnorable||h,M=t.unCursor||s,T=u(d(S,f));return e.isCursor=y,e.isEqualState=_,e.isEqualProps=w,e.isEqualCursor=b,e.isEqualImmutable=x,e.isImmutable=k,e.debug=v,e}function i(t,e,n,r){var i=n(t),o=n(e);return i&&o?r(t,e):!i&&!o&&void 0}function o(t,e){return t===e}function a(t){return!(!t||!t[m])}function s(t){return l(t)?t.deref():t}function l(t){return!(!t||"function"!=typeof t.deref)}function u(t){return function(){return!t.apply(t,arguments)}}function c(t,e){return Object.keys(t).reduce(function(n,r){return e(t[r],r)&&(n[r]=t[r]),n},{})}function h(t,e){return!1}function f(t,e){return"children"===e}function d(t,e){return function(){return t.apply(null,arguments)||e.apply(null,arguments)}}var p=n(452);t.exports=r(),t.exports.withDefaults=r;var m="@@__IMMUTABLE_ITERABLE__@@"},function(t,e){function n(t){return!!t&&"object"==typeof t}function r(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=m}function i(t){return o(t)&&f.call(t)==s}function o(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function a(t){return null!=t&&(i(t)?d.test(c.call(t)):n(t)&&l.test(t))}var s="[object Function]",l=/^\[object .+?Constructor\]$/,u=Object.prototype,c=Function.prototype.toString,h=u.hasOwnProperty,f=u.toString,d=RegExp("^"+c.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),p=function(t,e){var n=null==t?void 0:t[e];return a(n)?n:void 0}(Array,"isArray"),m=9007199254740991,v=p||function(t){return n(t)&&r(t.length)&&"[object Array]"==f.call(t)};t.exports=v},,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e){var n="z_hppm_iframe",r=!1;String.prototype.trim||function(){var t=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;String.prototype.trim=function(){return this.replace(t,"")}}(),Object.keys||(Object.keys=function(){var t=Object.prototype.hasOwnProperty,e=!{toString:null}.propertyIsEnumerable("toString"),n=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],r=n.length;return function(i){if("object"!=typeof i&&("function"!=typeof i||null===i))throw new TypeError("Object.keys called on non-object");var o,a,s=[];for(o in i)t.call(i,o)&&s.push(o);if(e)for(a=0;a0)return!0;if(n>0){t.indexOf("rv:");return!0}return!1},validatePCIParams:function(t){var e=m.length;for(index=0;index=0&&p.hasOwnProperty("customizeErrorRequired")&&"true"==p.customizeErrorRequired){var i=(JSON.stringify(t,function(t,e){if(""!=t){var r="setField("+t+":"+e+")";o.post(n,r)}return e}),"setField(key:"+h+")");o.post(n,i),o.post(n,"setField(style:"+p.style+")"),p.hasOwnProperty("customizeErrorRequired")&&"true"==p.customizeErrorRequired&&(o.post(n,"customizeErrorRequired"),p.customizeErrorRequired="false"),o.post(n,"resize"),l&&l()}l&&(l=null)}},contains:function(t,e){for(var n=0;n0?a.width=Number(i):a.width=Number(r)}catch(t){a.width=Number(r)}else a.width=Number(r);if(null!=o&&void 0!=o)try{!isNaN(o)&&o.length>0?a.height=Number(o):a.height=Number(n)}catch(t){a.height=Number(n)}else a.height=Number(n)}}}}();t.exports.default=o},,,,,,,,,function(t,e,n){var r=n(592),i=n(305),o=i(r);t.exports=o},,,,,,,,,,,,,,,function(t,e,n){var r=n(104),i=n(41),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(287)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){"use strict";var r=n(287),i=n(378),o=n(140),a=n(105),s=n(143),l=n(972),u=n(294),c=n(979),h=n(37)("iterator"),f=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,e,n,p,m,v,g){l(n,e,p);var y,b,x,_=function(t){if(!f&&t in M)return M[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},w=e+" Iterator",k="values"==m,S=!1,M=t.prototype,T=M[h]||M["@@iterator"]||m&&M[m],C=T||_(m),O=m?k?_("entries"):C:void 0,E="Array"==e?M.entries||T:T;if(E&&(x=c(E.call(new t)))!==Object.prototype&&x.next&&(u(x,w,!0),r||"function"==typeof x[h]||a(x,h,d)),k&&T&&"values"!==T.name&&(S=!0,C=function(){return T.call(this)}),r&&!g||!f&&!S&&M[h]||a(M,h,C),s[e]=C,s[w]=d,m)if(y={values:k?C:_("values"),keys:v?C:_("keys"),entries:O},g)for(b in y)b in M||o(M,b,y[b]);else i(i.P+i.F*(f||S),e,y);return y}},function(t,e,n){var r=n(41),i=n(104),o=n(105),a=n(140),s=n(170),l=function(t,e,n){var u,c,h,f,d=t&l.F,p=t&l.G,m=t&l.S,v=t&l.P,g=t&l.B,y=p?r:m?r[e]||(r[e]={}):(r[e]||{}).prototype,b=p?i:i[e]||(i[e]={}),x=b.prototype||(b.prototype={});p&&(n=e);for(u in n)c=!d&&y&&void 0!==y[u],h=(c?y:n)[u],f=g&&c?s(h,r):v&&"function"==typeof h?s(Function.call,h):h,y&&a(y,u,h,t&l.U),b[u]!=h&&o(b,u,f),v&&x[u]!=h&&(x[u]=h)};r.core=i,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e,n){var r=n(975),i=n(381);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(290),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(41).document;t.exports=r&&r.documentElement},function(t,e,n){var r,i,o,a=n(170),s=n(992),l=n(382),u=n(289),c=n(41),h=c.process,f=c.setImmediate,d=c.clearImmediate,p=c.MessageChannel,m=c.Dispatch,v=0,g={},y=function(){var t=+this;if(g.hasOwnProperty(t)){var e=g[t];delete g[t],e()}},b=function(t){y.call(t.data)};f&&d||(f=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return g[++v]=function(){s("function"==typeof t?t:Function(t),e)},r(v),v},d=function(t){delete g[t]},"process"==n(167)(h)?r=function(t){h.nextTick(a(y,t,1))}:m&&m.now?r=function(t){m.now(a(y,t,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=b,r=a(o.postMessage,o,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(t){c.postMessage(t+"","*")},c.addEventListener("message",b,!1)):r="onreadystatechange"in u("script")?function(t){l.appendChild(u("script")).onreadystatechange=function(){l.removeChild(this),y.call(t)}}:function(t){setTimeout(a(y,t,1),0)}),t.exports={set:f,clear:d}},function(t,e,n){"use strict";function r(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=i(e),this.reject=i(n)}var i=n(171);t.exports.f=function(t){return new r(t)}},,,,,function(t,e,n){"use strict";function r(t){for(var e=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=0;rR.length&&R.push(t)}function f(t,e,n,i){var o=typeof t;"undefined"!==o&&"boolean"!==o||(t=null);var a=!1;if(null===t)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(t.$$typeof){case w:case k:a=!0}}if(a)return n(i,t,""===e?"."+d(t,0):e),1;if(a=0,e=""===e?".":e+":",Array.isArray(t))for(var s=0;sthis.eventPool.length&&this.eventPool.push(t)}function F(t){t.eventPool=[],t.getPooled=N,t.release=R}function B(t,e){switch(t){case"keyup":return-1!==wi.indexOf(e.keyCode);case"keydown":return 229!==e.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function U(t){return t=t.detail,"object"==typeof t&&"data"in t?t.data:null}function Y(t,e){switch(t){case"compositionend":return U(e);case"keypress":return 32!==e.which?null:(Ei=!0,Ci);case"textInput":return t=e.data,t===Ci&&Ei?null:t;default:return null}}function W(t,e){if(Ai)return"compositionend"===t||!ki&&B(t,e)?(t=L(),gi._root=null,gi._startText=null,gi._fallbackText=null,Ai=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1e}return!1}function ht(t,e,n,r,i){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=t,this.type=e}function ft(t){return t[1].toUpperCase()}function dt(t,e,n,r){var i=no.hasOwnProperty(e)?no[e]:null;(null!==i?0===i.type:!r&&(2Po.length&&Po.push(t)}}}function qt(t){return Object.prototype.hasOwnProperty.call(t,jo)||(t[jo]=zo++,Lo[t[jo]]={}),Lo[t[jo]]}function Vt(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Xt(t,e){var n=Vt(t);t=0;for(var r;n;){if(3===n.nodeType){if(r=t+n.textContent.length,t<=e&&r>=e)return{node:n,offset:e-t};t=r}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=Vt(n)}}function Kt(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&("text"===t.type||"search"===t.type||"tel"===t.type||"url"===t.type||"password"===t.type)||"textarea"===e||"true"===t.contentEditable)}function $t(t,e){if(Yo||null==Fo||Fo!==Fr())return null;var n=Fo;return"selectionStart"in n&&Kt(n)?n={start:n.selectionStart,end:n.selectionEnd}:window.getSelection?(n=window.getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}):n=void 0,Uo&&Br(Uo,n)?null:(Uo=n,t=j.getPooled(Ro.select,Bo,t,e),t.type="select",t.target=Fo,E(t),t)}function Zt(t){var e="";return zr.Children.forEach(t,function(t){null==t||"string"!=typeof t&&"number"!=typeof t||(e+=t)}),e}function Qt(t,e){return t=Nr({children:void 0},e),(e=Zt(e.children))&&(t.children=e),t}function Jt(t,e,n,r){if(t=t.options,e){e={};for(var i=0;i=e.length||r("93"),e=e[0]),n=""+e),null==n&&(n="")),t._wrapperState={initialValue:""+n}}function re(t,e){var n=e.value;null!=n&&(n=""+n,n!==t.value&&(t.value=n),null==e.defaultValue&&(t.defaultValue=n)),null!=e.defaultValue&&(t.defaultValue=e.defaultValue)}function ie(t){var e=t.textContent;e===t._wrapperState.initialValue&&(t.value=e)}function oe(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ae(t,e){return null==t||"http://www.w3.org/1999/xhtml"===t?oe(e):"http://www.w3.org/2000/svg"===t&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":t}function se(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e}function le(t,e){t=t.style;for(var n in e)if(e.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=n,o=e[n];i=null==o||"boolean"==typeof o||""===o?"":r||"number"!=typeof o||0===o||ma.hasOwnProperty(i)&&ma[i]?(""+o).trim():o+"px","float"===n&&(n="cssFloat"),r?t.setProperty(n,i):t[n]=i}}function ue(t,e,n){e&&(ga[t]&&(null!=e.children||null!=e.dangerouslySetInnerHTML)&&r("137",t,n()),null!=e.dangerouslySetInnerHTML&&(null!=e.children&&r("60"),"object"==typeof e.dangerouslySetInnerHTML&&"__html"in e.dangerouslySetInnerHTML||r("61")),null!=e.style&&"object"!=typeof e.style&&r("62",n()))}function ce(t,e){if(-1===t.indexOf("-"))return"string"==typeof e.is;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function he(t,e){t=9===t.nodeType||11===t.nodeType?t:t.ownerDocument;var n=qt(t);e=Kr[e];for(var r=0;r<\/script>",t=t.removeChild(t.firstChild)):t="string"==typeof e.is?n.createElement(t,{is:e.is}):n.createElement(t):t=n.createElementNS(r,t),t}function de(t,e){return(9===e.nodeType?e:e.ownerDocument).createTextNode(t)}function pe(t,e,n,r){var i=ce(e,n);switch(e){case"iframe":case"object":Yt("load",t);var o=n;break;case"video":case"audio":for(o=0;oTa||(t.current=Ma[Ta],Ma[Ta]=null,Ta--)}function Me(t,e){Ta++,Ma[Ta]=t.current,t.current=e}function Te(t){return Oe(t)?Ea:Ca.current}function Ce(t,e){var n=t.type.contextTypes;if(!n)return Yr;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=e[i];return r&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=o),o}function Oe(t){return 2===t.tag&&null!=t.type.childContextTypes}function Ee(t){Oe(t)&&(Se(Oa,t),Se(Ca,t))}function Ae(t){Se(Oa,t),Se(Ca,t)}function Pe(t,e,n){Ca.current!==Yr&&r("168"),Me(Ca,e,t),Me(Oa,n,t)}function De(t,e){var n=t.stateNode,i=t.type.childContextTypes;if("function"!=typeof n.getChildContext)return e;n=n.getChildContext();for(var o in n)o in i||r("108",at(t)||"Unknown",o);return Nr({},e,n)}function Ie(t){if(!Oe(t))return!1;var e=t.stateNode;return e=e&&e.__reactInternalMemoizedMergedChildContext||Yr,Ea=Ca.current,Me(Ca,e,t),Me(Oa,Oa.current,t),!0}function Le(t,e){var n=t.stateNode;if(n||r("169"),e){var i=De(t,Ea);n.__reactInternalMemoizedMergedChildContext=i,Se(Oa,t),Se(Ca,t),Me(Ca,i,t)}else Se(Oa,t);Me(Oa,e,t)}function ze(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=null,this.index=0,this.ref=null,this.pendingProps=e,this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.expirationTime=0,this.alternate=null}function je(t,e,n){var r=t.alternate;return null===r?(r=new ze(t.tag,e,t.key,t.mode),r.type=t.type,r.stateNode=t.stateNode,r.alternate=t,t.alternate=r):(r.pendingProps=e,r.effectTag=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.expirationTime=n,r.child=t.child,r.memoizedProps=t.memoizedProps,r.memoizedState=t.memoizedState,r.updateQueue=t.updateQueue,r.sibling=t.sibling,r.index=t.index,r.ref=t.ref,r}function Ne(t,e,n){var i=t.type,o=t.key;if(t=t.props,"function"==typeof i)var a=i.prototype&&i.prototype.isReactComponent?2:0;else if("string"==typeof i)a=5;else switch(i){case Wi:return Re(t.children,e,n,o);case Xi:a=11,e|=3;break;case Hi:a=11,e|=2;break;case Gi:return i=new ze(15,t,o,4|e),i.type=Gi,i.expirationTime=n,i;case $i:a=16,e|=2;break;default:t:{switch("object"==typeof i&&null!==i?i.$$typeof:null){case qi:a=13;break t;case Vi:a=12;break t;case Ki:a=14;break t;default:r("130",null==i?i:typeof i,"")}a=void 0}}return e=new ze(a,t,o,e),e.type=i,e.expirationTime=n,e}function Re(t,e,n,r){return t=new ze(10,t,r,e),t.expirationTime=n,t}function Fe(t,e,n){return t=new ze(6,t,null,e),t.expirationTime=n,t}function Be(t,e,n){return e=new ze(4,null!==t.children?t.children:[],t.key,e),e.expirationTime=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function Ue(t,e,n){return e=new ze(3,null,null,e?3:0),t={current:e,containerInfo:t,pendingChildren:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,pendingCommitExpirationTime:0,finishedWork:null,context:null,pendingContext:null,hydrate:n,remainingExpirationTime:0,firstBatch:null,nextScheduledRoot:null},e.stateNode=t}function Ye(t){return function(e){try{return t(e)}catch(t){}}}function We(t){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var e=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(e.isDisabled||!e.supportsFiber)return!0;try{var n=e.inject(t);Aa=Ye(function(t){return e.onCommitFiberRoot(n,t)}),Pa=Ye(function(t){return e.onCommitFiberUnmount(n,t)})}catch(t){}return!0}function He(t){"function"==typeof Aa&&Aa(t)}function Ge(t){"function"==typeof Pa&&Pa(t)}function qe(t){return{expirationTime:0,baseState:t,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Ve(t){return{expirationTime:t.expirationTime,baseState:t.baseState,firstUpdate:t.firstUpdate,lastUpdate:t.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Xe(t){return{expirationTime:t,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Ke(t,e,n){null===t.lastUpdate?t.firstUpdate=t.lastUpdate=e:(t.lastUpdate.next=e,t.lastUpdate=e),(0===t.expirationTime||t.expirationTime>n)&&(t.expirationTime=n)}function $e(t,e,n){var r=t.alternate;if(null===r){var i=t.updateQueue,o=null;null===i&&(i=t.updateQueue=qe(t.memoizedState))}else i=t.updateQueue,o=r.updateQueue,null===i?null===o?(i=t.updateQueue=qe(t.memoizedState),o=r.updateQueue=qe(r.memoizedState)):i=t.updateQueue=Ve(o):null===o&&(o=r.updateQueue=Ve(i));null===o||i===o?Ke(i,e,n):null===i.lastUpdate||null===o.lastUpdate?(Ke(i,e,n),Ke(o,e,n)):(Ke(i,e,n),o.lastUpdate=e)}function Ze(t,e,n){var r=t.updateQueue;r=null===r?t.updateQueue=qe(t.memoizedState):Qe(t,r),null===r.lastCapturedUpdate?r.firstCapturedUpdate=r.lastCapturedUpdate=e:(r.lastCapturedUpdate.next=e,r.lastCapturedUpdate=e),(0===r.expirationTime||r.expirationTime>n)&&(r.expirationTime=n)}function Qe(t,e){var n=t.alternate;return null!==n&&e===n.updateQueue&&(e=t.updateQueue=Ve(e)),e}function Je(t,e,n,r,i,o){switch(n.tag){case 1:return t=n.payload,"function"==typeof t?t.call(o,r,i):t;case 3:t.effectTag=-1025&t.effectTag|64;case 0:if(t=n.payload,null===(i="function"==typeof t?t.call(o,r,i):t)||void 0===i)break;return Nr({},r,i);case 2:Da=!0}return r}function tn(t,e,n,r,i){if(Da=!1,!(0===e.expirationTime||e.expirationTime>i)){e=Qe(t,e);for(var o=e.baseState,a=null,s=0,l=e.firstUpdate,u=o;null!==l;){var c=l.expirationTime;c>i?(null===a&&(a=l,o=u),(0===s||s>c)&&(s=c)):(u=Je(t,e,l,u,n,r),null!==l.callback&&(t.effectTag|=32,l.nextEffect=null,null===e.lastEffect?e.firstEffect=e.lastEffect=l:(e.lastEffect.nextEffect=l,e.lastEffect=l))),l=l.next}for(c=null,l=e.firstCapturedUpdate;null!==l;){var h=l.expirationTime;h>i?(null===c&&(c=l,null===a&&(o=u)),(0===s||s>h)&&(s=h)):(u=Je(t,e,l,u,n,r),null!==l.callback&&(t.effectTag|=32,l.nextEffect=null,null===e.lastCapturedEffect?e.firstCapturedEffect=e.lastCapturedEffect=l:(e.lastCapturedEffect.nextEffect=l,e.lastCapturedEffect=l))),l=l.next}null===a&&(e.lastUpdate=null),null===c?e.lastCapturedUpdate=null:t.effectTag|=32,null===a&&null===c&&(o=u),e.baseState=o,e.firstUpdate=a,e.firstCapturedUpdate=c,e.expirationTime=s,t.memoizedState=u}}function en(t,e){"function"!=typeof t&&r("191",t),t.call(e)}function nn(t,e,n){for(null!==e.firstCapturedUpdate&&(null!==e.lastUpdate&&(e.lastUpdate.next=e.firstCapturedUpdate,e.lastUpdate=e.lastCapturedUpdate),e.firstCapturedUpdate=e.lastCapturedUpdate=null),t=e.firstEffect,e.firstEffect=e.lastEffect=null;null!==t;){var r=t.callback;null!==r&&(t.callback=null,en(r,n)),t=t.nextEffect}for(t=e.firstCapturedEffect,e.firstCapturedEffect=e.lastCapturedEffect=null;null!==t;)e=t.callback,null!==e&&(t.callback=null,en(e,n)),t=t.nextEffect}function rn(t,e){return{value:t,source:e,stack:st(e)}}function on(t){var e=t.type._context;Me(za,e._changedBits,t),Me(La,e._currentValue,t),Me(Ia,t,t),e._currentValue=t.pendingProps.value,e._changedBits=t.stateNode}function an(t){var e=za.current,n=La.current;Se(Ia,t),Se(La,t),Se(za,t),t=t.type._context,t._currentValue=n,t._changedBits=e}function sn(t){return t===ja&&r("174"),t}function ln(t,e){Me(Fa,e,t),Me(Ra,t,t),Me(Na,ja,t);var n=e.nodeType;switch(n){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:ae(null,"");break;default:n=8===n?e.parentNode:e,e=n.namespaceURI||null,n=n.tagName,e=ae(e,n)}Se(Na,t),Me(Na,e,t)}function un(t){Se(Na,t),Se(Ra,t),Se(Fa,t)}function cn(t){Ra.current===t&&(Se(Na,t),Se(Ra,t))}function hn(t,e,n){var r=t.memoizedState;e=e(n,r),r=null===e||void 0===e?r:Nr({},r,e),t.memoizedState=r,null!==(t=t.updateQueue)&&0===t.expirationTime&&(t.baseState=r)}function fn(t,e,n,r,i,o){var a=t.stateNode;return t=t.type,"function"==typeof a.shouldComponentUpdate?a.shouldComponentUpdate(n,i,o):!t.prototype||!t.prototype.isPureReactComponent||(!Br(e,n)||!Br(r,i))}function dn(t,e,n,r){t=e.state,"function"==typeof e.componentWillReceiveProps&&e.componentWillReceiveProps(n,r),"function"==typeof e.UNSAFE_componentWillReceiveProps&&e.UNSAFE_componentWillReceiveProps(n,r),e.state!==t&&Ba.enqueueReplaceState(e,e.state,null)}function pn(t,e){var n=t.type,r=t.stateNode,i=t.pendingProps,o=Te(t);r.props=i,r.state=t.memoizedState,r.refs=Yr,r.context=Ce(t,o),o=t.updateQueue,null!==o&&(tn(t,o,i,r,e),r.state=t.memoizedState),o=t.type.getDerivedStateFromProps,"function"==typeof o&&(hn(t,o,i),r.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof r.getSnapshotBeforeUpdate||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||(n=r.state,"function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),n!==r.state&&Ba.enqueueReplaceState(r,r.state,null),null!==(o=t.updateQueue)&&(tn(t,o,i,r,e),r.state=t.memoizedState)),"function"==typeof r.componentDidMount&&(t.effectTag|=4)}function mn(t,e,n){if(null!==(t=n.ref)&&"function"!=typeof t&&"object"!=typeof t){if(n._owner){n=n._owner;var i=void 0;n&&(2!==n.tag&&r("110"),i=n.stateNode),i||r("147",t);var o=""+t;return null!==e&&null!==e.ref&&"function"==typeof e.ref&&e.ref._stringRef===o?e.ref:(e=function(t){var e=i.refs===Yr?i.refs={}:i.refs;null===t?delete e[o]:e[o]=t},e._stringRef=o,e)}"string"!=typeof t&&r("148"),n._owner||r("254",t)}return t}function vn(t,e){"textarea"!==t.type&&r("31","[object Object]"===Object.prototype.toString.call(e)?"object with keys {"+Object.keys(e).join(", ")+"}":e,"")}function gn(t){function e(e,n){if(t){var r=e.lastEffect;null!==r?(r.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!t)return null;for(;null!==r;)e(n,r),r=r.sibling;return null}function i(t,e){for(t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function o(t,e,n){return t=je(t,e,n),t.index=0,t.sibling=null,t}function a(e,n,r){return e.index=r,t?null!==(r=e.alternate)?(r=r.index,rm?(v=h,h=null):v=h.sibling;var g=d(r,h,s[m],l);if(null===g){null===h&&(h=v);break}t&&h&&null===g.alternate&&e(r,h),o=a(g,o,m),null===c?u=g:c.sibling=g,c=g,h=v}if(m===s.length)return n(r,h),u;if(null===h){for(;mv?(g=m,m=null):g=m.sibling;var b=d(o,m,y.value,u);if(null===b){m||(m=g);break}t&&m&&null===b.alternate&&e(o,m),s=a(b,s,v),null===h?c=b:h.sibling=b,h=b,m=g}if(y.done)return n(o,m),c;if(null===m){for(;!y.done;v++,y=l.next())null!==(y=f(o,y.value,u))&&(s=a(y,s,v),null===h?c=y:h.sibling=y,h=y);return c}for(m=i(o,m);!y.done;v++,y=l.next())null!==(y=p(m,o,v,y.value,u))&&(t&&null!==y.alternate&&m.delete(null===y.key?v:y.key),s=a(y,s,v),null===h?c=y:h.sibling=y,h=y);return t&&m.forEach(function(t){return e(o,t)}),c}return function(t,i,a,l){var u="object"==typeof a&&null!==a&&a.type===Wi&&null===a.key;u&&(a=a.props.children);var c="object"==typeof a&&null!==a;if(c)switch(a.$$typeof){case Ui:t:{for(c=a.key,u=i;null!==u;){if(u.key===c){if(10===u.tag?a.type===Wi:u.type===a.type){n(t,u.sibling),i=o(u,a.type===Wi?a.props.children:a.props,l),i.ref=mn(t,u,a),i.return=t,t=i;break t}n(t,u);break}e(t,u),u=u.sibling}a.type===Wi?(i=Re(a.props.children,t.mode,l,a.key),i.return=t,t=i):(l=Ne(a,t.mode,l),l.ref=mn(t,i,a),l.return=t,t=l)}return s(t);case Yi:t:{for(u=a.key;null!==i;){if(i.key===u){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(t,i.sibling),i=o(i,a.children||[],l),i.return=t,t=i;break t}n(t,i);break}e(t,i),i=i.sibling}i=Be(a,t.mode,l),i.return=t,t=i}return s(t)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==i&&6===i.tag?(n(t,i.sibling),i=o(i,a,l),i.return=t,t=i):(n(t,i),i=Fe(a,t.mode,l),i.return=t,t=i),s(t);if(Ua(a))return m(t,i,a,l);if(ot(a))return v(t,i,a,l);if(c&&vn(t,a),void 0===a&&!u)switch(t.tag){case 2:case 1:l=t.type,r("152",l.displayName||l.name||"Component")}return n(t,i)}}function yn(t,e){var n=new ze(5,null,null,0);n.type="DELETED",n.stateNode=e,n.return=t,n.effectTag=8,null!==t.lastEffect?(t.lastEffect.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n}function bn(t,e){switch(t.tag){case 5:var n=t.type;return null!==(e=1!==e.nodeType||n.toLowerCase()!==e.nodeName.toLowerCase()?null:e)&&(t.stateNode=e,!0);case 6:return null!==(e=""===t.pendingProps||3!==e.nodeType?null:e)&&(t.stateNode=e,!0);default:return!1}}function xn(t){if(qa){var e=Ga;if(e){var n=e;if(!bn(t,e)){if(!(e=_e(n))||!bn(t,e))return t.effectTag|=2,qa=!1,void(Ha=t);yn(Ha,n)}Ha=t,Ga=we(e)}else t.effectTag|=2,qa=!1,Ha=t}}function _n(t){for(t=t.return;null!==t&&5!==t.tag&&3!==t.tag;)t=t.return;Ha=t}function wn(t){if(t!==Ha)return!1;if(!qa)return _n(t),qa=!0,!1;var e=t.type;if(5!==t.tag||"head"!==e&&"body"!==e&&!xe(e,t.memoizedProps))for(e=Ga;e;)yn(t,e),e=_e(e);return _n(t),Ga=Ha?_e(t.stateNode):null,!0}function kn(){Ga=Ha=null,qa=!1}function Sn(t,e,n){Mn(t,e,n,e.expirationTime)}function Mn(t,e,n,r){e.child=null===t?Wa(e,null,n,r):Ya(e,t.child,n,r)}function Tn(t,e){var n=e.ref;(null===t&&null!==n||null!==t&&t.ref!==n)&&(e.effectTag|=128)}function Cn(t,e,n,r,i){Tn(t,e);var o=0!=(64&e.effectTag);if(!n&&!o)return r&&Le(e,!1),Pn(t,e);n=e.stateNode,Fi.current=e;var a=o?null:n.render();return e.effectTag|=1,o&&(Mn(t,e,null,i),e.child=null),Mn(t,e,a,i),e.memoizedState=n.state,e.memoizedProps=n.props,r&&Le(e,!0),e.child}function On(t){var e=t.stateNode;e.pendingContext?Pe(t,e.pendingContext,e.pendingContext!==e.context):e.context&&Pe(t,e.context,!1),ln(t,e.containerInfo)}function En(t,e,n,r){var i=t.child;for(null!==i&&(i.return=t);null!==i;){switch(i.tag){case 12:var o=0|i.stateNode;if(i.type===e&&0!=(o&n)){for(o=i;null!==o;){var a=o.alternate;if(0===o.expirationTime||o.expirationTime>r)o.expirationTime=r,null!==a&&(0===a.expirationTime||a.expirationTime>r)&&(a.expirationTime=r);else{if(null===a||!(0===a.expirationTime||a.expirationTime>r))break;a.expirationTime=r}o=o.return}o=null}else o=i.child;break;case 13:o=i.type===t.type?null:i.child;break;default:o=i.child}if(null!==o)o.return=i;else for(o=i;null!==o;){if(o===t){o=null;break}if(null!==(i=o.sibling)){i.return=o.return,o=i;break}o=o.return}i=o}}function An(t,e,n){var r=e.type._context,i=e.pendingProps,o=e.memoizedProps,a=!0;if(Oa.current)a=!1;else if(o===i)return e.stateNode=0,on(e),Pn(t,e);var s=i.value;if(e.memoizedProps=i,null===o)s=1073741823;else if(o.value===i.value){if(o.children===i.children&&a)return e.stateNode=0,on(e),Pn(t,e);s=0}else{var l=o.value;if(l===s&&(0!==l||1/l==1/s)||l!==l&&s!==s){if(o.children===i.children&&a)return e.stateNode=0,on(e),Pn(t,e);s=0}else if(s="function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,s):1073741823,0===(s|=0)){if(o.children===i.children&&a)return e.stateNode=0,on(e),Pn(t,e)}else En(e,r,s,n)}return e.stateNode=s,on(e),Sn(t,e,i.children),e.child}function Pn(t,e){if(null!==t&&e.child!==t.child&&r("153"),null!==e.child){t=e.child;var n=je(t,t.pendingProps,t.expirationTime);for(e.child=n,n.return=e;null!==t.sibling;)t=t.sibling,n=n.sibling=je(t,t.pendingProps,t.expirationTime),n.return=e;n.sibling=null}return e.child}function Dn(t,e,n){if(0===e.expirationTime||e.expirationTime>n){switch(e.tag){case 3:On(e);break;case 2:Ie(e);break;case 4:ln(e,e.stateNode.containerInfo);break;case 13:on(e)}return null}switch(e.tag){case 0:null!==t&&r("155");var i=e.type,o=e.pendingProps,a=Te(e);return a=Ce(e,a),i=i(o,a),e.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(a=e.type,e.tag=2,e.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,a=a.getDerivedStateFromProps,"function"==typeof a&&hn(e,a,o),o=Ie(e),i.updater=Ba,e.stateNode=i,i._reactInternalFiber=e,pn(e,n),t=Cn(t,e,!0,o,n)):(e.tag=1,Sn(t,e,i),e.memoizedProps=o,t=e.child),t;case 1:return o=e.type,n=e.pendingProps,Oa.current||e.memoizedProps!==n?(i=Te(e),i=Ce(e,i),o=o(n,i),e.effectTag|=1,Sn(t,e,o),e.memoizedProps=n,t=e.child):t=Pn(t,e),t;case 2:if(o=Ie(e),null===t)if(null===e.stateNode){var s=e.pendingProps,l=e.type;i=Te(e);var u=2===e.tag&&null!=e.type.contextTypes;a=u?Ce(e,i):Yr,s=new l(s,a),e.memoizedState=null!==s.state&&void 0!==s.state?s.state:null,s.updater=Ba,e.stateNode=s,s._reactInternalFiber=e,u&&(u=e.stateNode,u.__reactInternalMemoizedUnmaskedChildContext=i,u.__reactInternalMemoizedMaskedChildContext=a),pn(e,n),i=!0}else{l=e.type,i=e.stateNode,u=e.memoizedProps,a=e.pendingProps,i.props=u;var c=i.context;s=Te(e),s=Ce(e,s);var h=l.getDerivedStateFromProps;(l="function"==typeof h||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(u!==a||c!==s)&&dn(e,i,a,s),Da=!1;var f=e.memoizedState;c=i.state=f;var d=e.updateQueue;null!==d&&(tn(e,d,a,i,n),c=e.memoizedState),u!==a||f!==c||Oa.current||Da?("function"==typeof h&&(hn(e,h,a),c=e.memoizedState),(u=Da||fn(e,u,a,f,c,s))?(l||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(e.effectTag|=4)):("function"==typeof i.componentDidMount&&(e.effectTag|=4),e.memoizedProps=a,e.memoizedState=c),i.props=a,i.state=c,i.context=s,i=u):("function"==typeof i.componentDidMount&&(e.effectTag|=4),i=!1)}else l=e.type,i=e.stateNode,a=e.memoizedProps,u=e.pendingProps,i.props=a,c=i.context,s=Te(e),s=Ce(e,s),h=l.getDerivedStateFromProps,(l="function"==typeof h||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(a!==u||c!==s)&&dn(e,i,u,s),Da=!1,c=e.memoizedState,f=i.state=c,d=e.updateQueue,null!==d&&(tn(e,d,u,i,n),f=e.memoizedState),a!==u||c!==f||Oa.current||Da?("function"==typeof h&&(hn(e,h,u),f=e.memoizedState),(h=Da||fn(e,a,u,c,f,s))?(l||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(u,f,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(u,f,s)),"function"==typeof i.componentDidUpdate&&(e.effectTag|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(e.effectTag|=256)):("function"!=typeof i.componentDidUpdate||a===t.memoizedProps&&c===t.memoizedState||(e.effectTag|=4),"function"!=typeof i.getSnapshotBeforeUpdate||a===t.memoizedProps&&c===t.memoizedState||(e.effectTag|=256),e.memoizedProps=u,e.memoizedState=f),i.props=u,i.state=f,i.context=s,i=h):("function"!=typeof i.componentDidUpdate||a===t.memoizedProps&&c===t.memoizedState||(e.effectTag|=4),"function"!=typeof i.getSnapshotBeforeUpdate||a===t.memoizedProps&&c===t.memoizedState||(e.effectTag|=256),i=!1);return Cn(t,e,i,o,n);case 3:return On(e),o=e.updateQueue,null!==o?(i=e.memoizedState,i=null!==i?i.element:null,tn(e,o,e.pendingProps,null,n),(o=e.memoizedState.element)===i?(kn(),t=Pn(t,e)):(i=e.stateNode,(i=(null===t||null===t.child)&&i.hydrate)&&(Ga=we(e.stateNode.containerInfo),Ha=e,i=qa=!0),i?(e.effectTag|=2,e.child=Wa(e,null,o,n)):(kn(),Sn(t,e,o)),t=e.child)):(kn(),t=Pn(t,e)),t;case 5:return sn(Fa.current),o=sn(Na.current),i=ae(o,e.type),o!==i&&(Me(Ra,e,e),Me(Na,i,e)),null===t&&xn(e),o=e.type,u=e.memoizedProps,i=e.pendingProps,a=null!==t?t.memoizedProps:null,Oa.current||u!==i||((u=1&e.mode&&!!i.hidden)&&(e.expirationTime=1073741823),u&&1073741823===n)?(u=i.children,xe(o,i)?u=null:a&&xe(o,a)&&(e.effectTag|=16),Tn(t,e),1073741823!==n&&1&e.mode&&i.hidden?(e.expirationTime=1073741823,e.memoizedProps=i,t=null):(Sn(t,e,u),e.memoizedProps=i,t=e.child)):t=Pn(t,e),t;case 6:return null===t&&xn(e),e.memoizedProps=e.pendingProps,null;case 16:return null;case 4:return ln(e,e.stateNode.containerInfo),o=e.pendingProps,Oa.current||e.memoizedProps!==o?(null===t?e.child=Ya(e,null,o,n):Sn(t,e,o),e.memoizedProps=o,t=e.child):t=Pn(t,e),t;case 14:return o=e.type.render,n=e.pendingProps,i=e.ref,Oa.current||e.memoizedProps!==n||i!==(null!==t?t.ref:null)?(o=o(n,i),Sn(t,e,o),e.memoizedProps=n,t=e.child):t=Pn(t,e),t;case 10:return n=e.pendingProps,Oa.current||e.memoizedProps!==n?(Sn(t,e,n),e.memoizedProps=n,t=e.child):t=Pn(t,e),t;case 11:return n=e.pendingProps.children,Oa.current||null!==n&&e.memoizedProps!==n?(Sn(t,e,n),e.memoizedProps=n,t=e.child):t=Pn(t,e),t;case 15:return n=e.pendingProps,e.memoizedProps===n?t=Pn(t,e):(Sn(t,e,n.children),e.memoizedProps=n,t=e.child),t;case 13:return An(t,e,n);case 12:t:if(i=e.type,a=e.pendingProps,u=e.memoizedProps,o=i._currentValue,s=i._changedBits,Oa.current||0!==s||u!==a){if(e.memoizedProps=a,l=a.unstable_observedBits,void 0!==l&&null!==l||(l=1073741823),e.stateNode=l,0!=(s&l))En(e,i,s,n);else if(u===a){t=Pn(t,e);break t}n=a.children,n=n(o),e.effectTag|=1,Sn(t,e,n),t=e.child}else t=Pn(t,e);return t;default:r("156")}}function In(t){t.effectTag|=4}function Ln(t,e){var n=e.pendingProps;switch(e.tag){case 1:return null;case 2:return Ee(e),null;case 3:un(e),Ae(e);var i=e.stateNode;return i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),null!==t&&null!==t.child||(wn(e),e.effectTag&=-3),Va(e),null;case 5:cn(e),i=sn(Fa.current);var o=e.type;if(null!==t&&null!=e.stateNode){var a=t.memoizedProps,s=e.stateNode,l=sn(Na.current);s=me(s,o,a,n,i),Xa(t,e,s,o,a,n,i,l),t.ref!==e.ref&&(e.effectTag|=128)}else{if(!n)return null===e.stateNode&&r("166"),null;if(t=sn(Na.current),wn(e))n=e.stateNode,o=e.type,a=e.memoizedProps,n[ii]=e,n[oi]=a,i=ge(n,o,a,t,i),e.updateQueue=i,null!==i&&In(e);else{t=fe(o,n,i,t),t[ii]=e,t[oi]=n;t:for(a=e.child;null!==a;){if(5===a.tag||6===a.tag)t.appendChild(a.stateNode);else if(4!==a.tag&&null!==a.child){a.child.return=a,a=a.child;continue}if(a===e)break;for(;null===a.sibling;){if(null===a.return||a.return===e)break t;a=a.return}a.sibling.return=a.return,a=a.sibling}pe(t,o,n,i),be(o,n)&&In(e),e.stateNode=t}null!==e.ref&&(e.effectTag|=128)}return null;case 6:if(t&&null!=e.stateNode)Ka(t,e,t.memoizedProps,n);else{if("string"!=typeof n)return null===e.stateNode&&r("166"),null;i=sn(Fa.current),sn(Na.current),wn(e)?(i=e.stateNode,n=e.memoizedProps,i[ii]=e,ye(i,n)&&In(e)):(i=de(n,i),i[ii]=e,e.stateNode=i)}return null;case 14:case 16:case 10:case 11:case 15:return null;case 4:return un(e),Va(e),null;case 13:return an(e),null;case 12:return null;case 0:r("167");default:r("156")}}function zn(t,e){var n=e.source;null===e.stack&&null!==n&&st(n),null!==n&&at(n),e=e.value,null!==t&&2===t.tag&&at(t);try{e&&e.suppressReactErrorLogging||console.error(e)}catch(t){t&&t.suppressReactErrorLogging||console.error(t)}}function jn(t){var e=t.ref;if(null!==e)if("function"==typeof e)try{e(null)}catch(e){$n(t,e)}else e.current=null}function Nn(t){switch("function"==typeof Ge&&Ge(t),t.tag){case 2:jn(t);var e=t.stateNode;if("function"==typeof e.componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){$n(t,e)}break;case 5:jn(t);break;case 4:Bn(t)}}function Rn(t){return 5===t.tag||3===t.tag||4===t.tag}function Fn(t){t:{for(var e=t.return;null!==e;){if(Rn(e)){var n=e;break t}e=e.return}r("160"),n=void 0}var i=e=void 0;switch(n.tag){case 5:e=n.stateNode,i=!1;break;case 3:case 4:e=n.stateNode.containerInfo,i=!0;break;default:r("161")}16&n.effectTag&&(se(e,""),n.effectTag&=-17);t:e:for(n=t;;){for(;null===n.sibling;){if(null===n.return||Rn(n.return)){n=null;break t}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag;){if(2&n.effectTag)continue e;if(null===n.child||4===n.tag)continue e;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break t}}for(var o=t;;){if(5===o.tag||6===o.tag)if(n)if(i){var a=e,s=o.stateNode,l=n;8===a.nodeType?a.parentNode.insertBefore(s,l):a.insertBefore(s,l)}else e.insertBefore(o.stateNode,n);else i?(a=e,s=o.stateNode,8===a.nodeType?a.parentNode.insertBefore(s,a):a.appendChild(s)):e.appendChild(o.stateNode);else if(4!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;o=o.return}o.sibling.return=o.return,o=o.sibling}}function Bn(t){for(var e=t,n=!1,i=void 0,o=void 0;;){if(!n){n=e.return;t:for(;;){switch(null===n&&r("160"),n.tag){case 5:i=n.stateNode,o=!1;break t;case 3:case 4:i=n.stateNode.containerInfo,o=!0;break t}n=n.return}n=!0}if(5===e.tag||6===e.tag){t:for(var a=e,s=a;;)if(Nn(s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===a)break;for(;null===s.sibling;){if(null===s.return||s.return===a)break t;s=s.return}s.sibling.return=s.return,s=s.sibling}o?(a=i,s=e.stateNode,8===a.nodeType?a.parentNode.removeChild(s):a.removeChild(s)):i.removeChild(e.stateNode)}else if(4===e.tag?i=e.stateNode.containerInfo:Nn(e),null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return;e=e.return,4===e.tag&&(n=!1)}e.sibling.return=e.return,e=e.sibling}}function Un(t,e){switch(e.tag){case 2:break;case 5:var n=e.stateNode;if(null!=n){var i=e.memoizedProps;t=null!==t?t.memoizedProps:i;var o=e.type,a=e.updateQueue;e.updateQueue=null,null!==a&&(n[oi]=i,ve(n,a,o,t,i))}break;case 6:null===e.stateNode&&r("162"),e.stateNode.nodeValue=e.memoizedProps;break;case 3:case 15:case 16:break;default:r("163")}}function Yn(t,e,n){n=Xe(n),n.tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){pr(r),zn(t,e)},n}function Wn(t,e,n){n=Xe(n),n.tag=3;var r=t.stateNode;return null!==r&&"function"==typeof r.componentDidCatch&&(n.callback=function(){null===cs?cs=new Set([this]):cs.add(this);var n=e.value,r=e.stack;zn(t,e),this.componentDidCatch(n,{componentStack:null!==r?r:""})}),n}function Hn(t,e,n,r,i,o){n.effectTag|=512,n.firstEffect=n.lastEffect=null,r=rn(r,n),t=e;do{switch(t.tag){case 3:return t.effectTag|=1024,r=Yn(t,r,o),void Ze(t,r,o);case 2:if(e=r,n=t.stateNode,0==(64&t.effectTag)&&null!==n&&"function"==typeof n.componentDidCatch&&(null===cs||!cs.has(n)))return t.effectTag|=1024,r=Wn(t,e,o),void Ze(t,r,o)}t=t.return}while(null!==t)}function Gn(t){switch(t.tag){case 2:Ee(t);var e=t.effectTag;return 1024&e?(t.effectTag=-1025&e|64,t):null;case 3:return un(t),Ae(t),e=t.effectTag,1024&e?(t.effectTag=-1025&e|64,t):null;case 5:return cn(t),null;case 16:return e=t.effectTag,1024&e?(t.effectTag=-1025&e|64,t):null;case 4:return un(t),null;case 13:return an(t),null;default:return null}}function qn(){if(null!==ns)for(var t=ns.return;null!==t;){var e=t;switch(e.tag){case 2:Ee(e);break;case 3:un(e),Ae(e);break;case 5:cn(e);break;case 4:un(e);break;case 13:an(e)}t=t.return}rs=null,is=0,os=-1,as=!1,ns=null,us=!1}function Vn(t){for(;;){var e=t.alternate,n=t.return,r=t.sibling;if(0==(512&t.effectTag)){e=Ln(e,t,is);var i=t;if(1073741823===is||1073741823!==i.expirationTime){var o=0;switch(i.tag){case 3:case 2:var a=i.updateQueue;null!==a&&(o=a.expirationTime)}for(a=i.child;null!==a;)0!==a.expirationTime&&(0===o||o>a.expirationTime)&&(o=a.expirationTime),a=a.sibling;i.expirationTime=o}if(null!==e)return e;if(null!==n&&0==(512&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=t.firstEffect),n.lastEffect=t.lastEffect),1ys)&&(ys=t),t}function Jn(t,e){for(;null!==t;){if((0===t.expirationTime||t.expirationTime>e)&&(t.expirationTime=e),null!==t.alternate&&(0===t.alternate.expirationTime||t.alternate.expirationTime>e)&&(t.alternate.expirationTime=e),null===t.return){if(3!==t.tag)break;var n=t.stateNode;!es&&0!==is&&eCs&&r("185")}t=t.return}}function tr(){return Qa=wa()-$a,Za=2+(Qa/10|0)}function er(t){var e=ts;ts=2+25*(1+((tr()-2+500)/25|0));try{return t()}finally{ts=e}}function nr(t,e,n,r,i){var o=ts;ts=1;try{return t(e,n,r,i)}finally{ts=o}}function rr(t){if(0!==ds){if(t>ds)return;null!==ps&&Sa(ps)}var e=wa()-$a;ds=t,ps=ka(ar,{timeout:10*(t-2)-e})}function ir(t,e){if(null===t.nextScheduledRoot)t.remainingExpirationTime=e,null===fs?(hs=fs=t,t.nextScheduledRoot=t):(fs=fs.nextScheduledRoot=t,fs.nextScheduledRoot=hs);else{var n=t.remainingExpirationTime;(0===n||e=gs)&&(!bs||tr()>=gs);)tr(),hr(vs,gs,!bs),or();else for(;null!==vs&&0!==gs&&(0===t||t>=gs);)hr(vs,gs,!1),or();null!==ws&&(ds=0,ps=null),0!==gs&&rr(gs),ws=null,bs=!1,cr()}function ur(t,e){ms&&r("253"),vs=t,gs=e,hr(t,e,!1),sr(),cr()}function cr(){if(Os=0,null!==Ts){var t=Ts;Ts=null;for(var e=0;eb&&(x=b,b=T,T=x),x=Xt(S,T),_=Xt(S,b),x&&_&&(1!==M.rangeCount||M.anchorNode!==x.node||M.anchorOffset!==x.offset||M.focusNode!==_.node||M.focusOffset!==_.offset)&&(w=document.createRange(),w.setStart(x.node,x.offset),M.removeAllRanges(),T>b?(M.addRange(w),M.extend(_.node,_.offset)):(w.setEnd(_.node,_.offset),M.addRange(w))))),M=[];for(T=S;T=T.parentNode;)1===T.nodeType&&M.push({element:T,left:T.scrollLeft,top:T.scrollTop});for("function"==typeof S.focus&&S.focus(),S=0;SEs)&&(bs=!0)}function pr(t){null===vs&&r("246"),vs.remainingExpirationTime=0,xs||(xs=!0,_s=t)}function mr(t){null===vs&&r("246"),vs.remainingExpirationTime=t}function vr(t,e){var n=ks;ks=!0;try{return t(e)}finally{(ks=n)||ms||sr()}}function gr(t,e){if(ks&&!Ss){Ss=!0;try{return t(e)}finally{Ss=!1}}return t(e)}function yr(t,e){ms&&r("187");var n=ks;ks=!0;try{return nr(t,e)}finally{ks=n,sr()}}function br(t,e,n){if(Ms)return t(e,n);ks||ms||0===ys||(lr(ys,!1,null),ys=0);var r=Ms,i=ks;ks=Ms=!0;try{return t(e,n)}finally{Ms=r,(ks=i)||ms||sr()}}function xr(t){var e=ks;ks=!0;try{nr(t)}finally{(ks=e)||ms||lr(1,!1,null)}}function _r(t,e,n,i,o){var a=e.current;if(n){n=n._reactInternalFiber;var s;t:{for(2===It(n)&&2===n.tag||r("170"),s=n;3!==s.tag;){if(Oe(s)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}(s=s.return)||r("171")}s=s.stateNode.context}n=Oe(n)?De(n,s):s}else n=Yr;return null===e.context?e.context=n:e.pendingContext=n,e=o,o=Xe(i),o.payload={element:t},e=void 0===e?null:e,null!==e&&(o.callback=e),$e(a,o,i),Jn(a,i),i}function wr(t){var e=t._reactInternalFiber;return void 0===e&&("function"==typeof t.render?r("188"):r("268",Object.keys(t))),t=jt(e),null===t?null:t.stateNode}function kr(t,e,n,r){var i=e.current;return i=Qn(tr(),i),_r(t,e,n,i,r)}function Sr(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:default:return t.child.stateNode}}function Mr(t){var e=t.findFiberByHostInstance;return We(Nr({},t,{findHostInstanceByFiber:function(t){return t=jt(t),null===t?null:t.stateNode},findFiberByHostInstance:function(t){return e?e(t):null}}))}function Tr(t,e,n){var r=3=Si),Ci=String.fromCharCode(32),Oi={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},Ei=!1,Ai=!1,Pi={eventTypes:Oi,extractEvents:function(t,e,n,r){var i=void 0,o=void 0;if(ki)t:{switch(t){case"compositionstart":i=Oi.compositionStart;break t;case"compositionend":i=Oi.compositionEnd;break t;case"compositionupdate":i=Oi.compositionUpdate;break t}i=void 0}else Ai?B(t,n)&&(i=Oi.compositionEnd):"keydown"===t&&229===n.keyCode&&(i=Oi.compositionStart);return i?(Ti&&(Ai||i!==Oi.compositionStart?i===Oi.compositionEnd&&Ai&&(o=L()):(gi._root=r,gi._startText=z(),Ai=!0)),i=xi.getPooled(i,e,n,r),o?i.data=o:null!==(o=U(n))&&(i.data=o),E(i),o=i):o=null,(t=Mi?Y(t,n):W(t,n))?(e=_i.getPooled(Oi.beforeInput,e,n,r),e.data=t,E(e)):e=null,null===o?e:null===e?o:[o,e]}},Di=null,Ii={injectFiberControlledHostComponent:function(t){Di=t}},Li=null,zi=null,ji={injection:Ii,enqueueStateRestore:G,needsStateRestore:q,restoreStateIfNeeded:V},Ni=!1,Ri={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},Fi=zr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Bi="function"==typeof Symbol&&Symbol.for,Ui=Bi?Symbol.for("react.element"):60103,Yi=Bi?Symbol.for("react.portal"):60106,Wi=Bi?Symbol.for("react.fragment"):60107,Hi=Bi?Symbol.for("react.strict_mode"):60108,Gi=Bi?Symbol.for("react.profiler"):60114,qi=Bi?Symbol.for("react.provider"):60109,Vi=Bi?Symbol.for("react.context"):60110,Xi=Bi?Symbol.for("react.async_mode"):60111,Ki=Bi?Symbol.for("react.forward_ref"):60112,$i=Bi?Symbol.for("react.timeout"):60113,Zi="function"==typeof Symbol&&Symbol.iterator,Qi=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Ji=Object.prototype.hasOwnProperty,to={},eo={},no={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){no[t]=new ht(t,0,!1,t,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];no[e]=new ht(e,1,!1,t[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){no[t]=new ht(t,2,!1,t.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","preserveAlpha"].forEach(function(t){no[t]=new ht(t,2,!1,t,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){no[t]=new ht(t,3,!1,t.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(t){no[t]=new ht(t,3,!0,t.toLowerCase(),null)}),["capture","download"].forEach(function(t){no[t]=new ht(t,4,!1,t.toLowerCase(),null)}),["cols","rows","size","span"].forEach(function(t){no[t]=new ht(t,6,!1,t.toLowerCase(),null)}),["rowSpan","start"].forEach(function(t){no[t]=new ht(t,5,!1,t.toLowerCase(),null)});var ro=/[\-:]([a-z])/g;"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var e=t.replace(ro,ft);no[e]=new ht(e,1,!1,t,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(ro,ft);no[e]=new ht(e,1,!1,t,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(ro,ft);no[e]=new ht(e,1,!1,t,"http://www.w3.org/XML/1998/namespace")}),no.tabIndex=new ht("tabIndex",1,!1,"tabindex",null);var io={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}},oo=null,ao=null,so=!1;jr.canUseDOM&&(so=tt("input")&&(!document.documentMode||9=document.documentMode,Ro={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Fo=null,Bo=null,Uo=null,Yo=!1,Wo={eventTypes:Ro,extractEvents:function(t,e,n,r){var i,o=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(i=!o)){t:{o=qt(o),i=Kr.onSelect;for(var a=0;ae)){t=-1;for(var n=[],r=Jo;null!==r;){var i=r.timeoutTime;-1!==i&&i<=e?n.push(r):-1!==i&&(-1===t||ie&&(e=8),aa=e"+e+"",e=da.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}}),ma={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},va=["Webkit","ms","Moz","O"];Object.keys(ma).forEach(function(t){va.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),ma[e]=ma[t]})});var ga=Nr({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),ya=Rr.thatReturns(""),ba={createElement:fe,createTextNode:de,setInitialProperties:pe,diffProperties:me,updateProperties:ve,diffHydratedProperties:ge,diffHydratedText:ye,warnForUnmatchedText:function(){},warnForDeletedHydratableElement:function(){},warnForDeletedHydratableText:function(){},warnForInsertedHydratedElement:function(){},warnForInsertedHydratedText:function(){},restoreControlledState:function(t,e,n){switch(e){case"input":if(gt(t,n),e=n.name,"radio"===n.type&&null!=e){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e0){var a=r[0],s=e&&e.get?e.get(a):void 0,l=n&&n.get?n.get(a):void 0;return i(t.get(a),s,l,r.slice(1),o)}t.forEach(function(t,r){if(r!==k){i(t,e&&e.get?e.get(r):void 0,n&&n.get?n.get(r):void 0,[],o)}})}}function o(t,e,n){return t.updateIn(e.concat(k),b.OrderedSet(),function(t){return t.add(n)})}function a(t,e,n){return t.updateIn(e.concat(k),b.OrderedSet(),function(t){return t.remove(n)})}function s(t,e){return function(n,r,i){var o=e.apply(e,arguments);return t.history&&n!==r?(t.history=t.history.take(++t._currentRevision).push(t.current),t.history.size>t._historyLimit&&(t.history=t.history.takeLast(t._historyLimit),t._currentRevision-=t.history.size-t._historyLimit),o):o}}function l(t,e,n,r){t._queuedChange||(t._queuedChange=!0,S(function(){t._queuedChange=!1,t.emit("next-animation-frame",e,n,r)}))}function u(t,e){return function(n,r,i){var o=t.current,a=e.apply(e,arguments);return n===o?a:(t.emit("swap",a,o,i),l(t,a,o,i),a)}}function c(t,e){return function(n,r,i){var o=t.current,a=e.apply(e,arguments);if(n===o)return a;var s=h(n,o,i);return s.eventName&&(t.emit.apply(t,[s.eventName].concat(s.args)),t.emit("any",s.newObject,s.oldObject,i)),a}}function h(t,e,n){var r,i,o=e&&e.getIn(n),a=t&&t.getIn(n),s=e&&f(e,n),l=t&&f(t,n);return s&&!l?(i="delete",r=[o,n]):s&&l?(i="change",r=[a,o,n]):!s&&l&&(i="add",r=[a,n]),{eventName:i,args:r,newObject:a,oldObject:o}}function f(t,e){return t.hasIn?t.hasIn(e):t.getIn(e,M)!==M}function d(t,e){return function(n,r,i){var o=h(n,r,i);if(o.eventName===t||"any"===t)return"any"===t?e.call(e,o.newObject,o.oldObject,i):e.apply(e,o.args)}}function p(t,e){return function(n,r,i){return e.call(this,n.getIn(t),r.getIn(t),i.slice(t.length))}}function m(t){return t&&"function"==typeof t.deref}function v(t){return T.some(function(e){return g(e.name,e.method,t)})}function g(t,e,n){return b[t]&&b[t][e]&&b[t][e](n)}function y(t){return void 0===t?t:Array.isArray(t)?t:g("Iterable","isIterable",t)?t.toArray():[t]}var b=n(2),x=n(398),_=n(399),w=n(400),k={};!function(t,e){var n={};Object.getOwnPropertyNames(t.prototype).forEach(function(e){n[e]=Object.getOwnPropertyDescriptor(t.prototype,e)}),t.prototype=Object.create(e.prototype,n),t.super=e}(r,_),t.exports=r,r.prototype.cursor=function(t){var e=this;if(t=y(t)||[],!this.current)throw new Error("No structure loaded.");var n=function(t,n,r){return e.current===n?e.current=t:f(t,r)?e.current=e.current.setIn(r,t.getIn(r)):e.current=e.current.removeIn(r),e.current};return n=s(this,n),n=u(this,n),n=c(this,n),x.from(e.current,t,n)},r.prototype.reference=function(t){function e(){s=i.cursor(t)}function n(t,e){i._referencelisteners=o(i._referencelisteners,t,e)}function r(t,e){i._referencelisteners=a(i._referencelisteners,t,e)}m(t)&&t._keyPath&&(t=t._keyPath),t=y(t)||[];var i=this,s=this.cursor(t),l=b.Set();return n(t,e),{observe:function(e,i){if("function"==typeof e&&(i=e,e=void 0),!this._dead&&"function"==typeof i)return i=e&&"swap"!==e?d(e,i):p(t,i),n(t,i),l=l.add(i),function(){r(t,i)}},cursor:function(t){if(!this._dead)return t=y(t),t?s.cursor(t):s},reference:function(t){return t=y(t),i.reference((s._keyPath||[]).concat(t))},unobserveAll:function(n){this._dead||(l.forEach(function(e){r(t,e)}),n&&r(t,e))},destroy:function(){s=void 0,this.unobserveAll(!0),this._dead=!0,this.observe=void 0,this.unobserveAll=void 0,this.cursor=void 0,this.destroy=void 0,e=void 0,r=void 0,n=void 0}}},r.prototype.forceHasSwapped=function(t,e,n){this.emit("swap",t||this.current,e,n),l(this,t||this.current,e,n)},r.prototype.undo=function(t){return this._currentRevision-=t||1,this._currentRevision<0&&(this._currentRevision=0),this.current=this.history.get(this._currentRevision),this.current},r.prototype.redo=function(t){return this._currentRevision+=t||1,this._currentRevision>this.history.count()-1&&(this._currentRevision=this.history.count()-1),this.current=this.history.get(this._currentRevision),this.current},r.prototype.undoUntil=function(t){return this._currentRevision=this.history.indexOf(t),this.current=t,t};var S="undefined"!=typeof window&&window.requestAnimationFrame||w.raf,M={},T=[{name:"Iterable",method:"isIterable"},{name:"Seq",method:"isSeq"},{name:"Map",method:"isMap"},{name:"OrderedMap",method:"isOrderedMap"},{name:"List",method:"isList"},{name:"Stack",method:"isStack"},{name:"Set",method:"isSet"}]},function(t,e,n){function r(t,e,n){return 1===arguments.length?e=[]:"function"==typeof e?(n=e,e=[]):e=p(e),a(t,e,n)}function i(t,e,n,r){this.size=r,this._rootData=t,this._keyPath=e,this._onChange=n}function o(t,e,n,r){this.size=r,this._rootData=t,this._keyPath=e,this._onChange=n}function a(t,e,n,r){arguments.length<4&&(r=t.getIn(e));var a=r&&r.size,l=v.isIndexed(r)?o:i,u=new l(t,e,n,a);return r instanceof x&&s(u,r),u}function s(t,e){try{e._keys.forEach(l.bind(void 0,t))}catch(t){}}function l(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){if(!this.__ownerID)throw new Error("Cannot set on an immutable record.")}})}function u(t,e,n){return v.isIterable(n)?c(t,e,n):n}function c(t,e,n){return arguments.length<3?a(t._rootData,f(t._keyPath,e),t._onChange):a(t._rootData,f(t._keyPath,e),t._onChange,n)}function h(t,e,n){var r=arguments.length>2,i=t._rootData.updateIn(t._keyPath,r?b():void 0,e),o=t._keyPath||[],s=t._onChange&&t._onChange.call(void 0,i,t._rootData,r?f(o,n):o);return void 0!==s&&(i=s),a(i,t._keyPath,t._onChange)}function f(t,e){return t.concat(d(e))}function d(t){return Array.isArray(t)?t:m.Iterable(t).toArray()}function p(t){return Array.isArray(t)?t:v.isIterable(t)?t.toArray():[t]}var m=n(2),v=m.Iterable,g=v.Iterator,y=m.Seq,b=m.Map,x=m.Record,_=Object.create(y.Keyed.prototype),w=Object.create(y.Indexed.prototype);_.constructor=i,w.constructor=o,_.toString=function(){return this.__toString("Cursor {","}")},w.toString=function(){return this.__toString("Cursor [","]")},_.deref=_.valueOf=w.deref=w.valueOf=function(t){return this._rootData.getIn(this._keyPath,t)},_.get=w.get=function(t,e){return this.getIn([t],e)},_.getIn=w.getIn=function(t,e){if(t=d(t),0===t.length)return this;var n=this._rootData.getIn(f(this._keyPath,t),k);return n===k?e:u(this,t,n)},w.set=_.set=function(t,e){return 1===arguments.length?h(this,function(){return t},[]):h(this,function(n){return n.set(t,e)},[t])},w.push=function(){var t=arguments;return h(this,function(e){return e.push.apply(e,t)})},w.pop=function(){return h(this,function(t){return t.pop()})},w.unshift=function(){var t=arguments;return h(this,function(e){return e.unshift.apply(e,t)})},w.shift=function(){return h(this,function(t){return t.shift()})},w.setIn=_.setIn=b.prototype.setIn,_.remove=_.delete=w.remove=w.delete=function(t){return h(this,function(e){return e.remove(t)},[t])},w.removeIn=w.deleteIn=_.removeIn=_.deleteIn=b.prototype.deleteIn,_.clear=w.clear=function(){return h(this,function(t){return t.clear()})},w.update=_.update=function(t,e,n){return 1===arguments.length?h(this,t):this.updateIn([t],e,n)},w.updateIn=_.updateIn=function(t,e,n){return h(this,function(r){return r.updateIn(t,e,n)},t)},w.merge=_.merge=function(){var t=arguments;return h(this,function(e){return e.merge.apply(e,t)})},w.mergeWith=_.mergeWith=function(t){var e=arguments;return h(this,function(t){return t.mergeWith.apply(t,e)})},w.mergeIn=_.mergeIn=b.prototype.mergeIn,w.mergeDeep=_.mergeDeep=function(){var t=arguments;return h(this,function(e){return e.mergeDeep.apply(e,t)})},w.mergeDeepWith=_.mergeDeepWith=function(t){var e=arguments;return h(this,function(t){return t.mergeDeepWith.apply(t,e)})},w.mergeDeepIn=_.mergeDeepIn=b.prototype.mergeDeepIn,_.withMutations=w.withMutations=function(t){return h(this,function(e){return(e||b()).withMutations(t)})},_.cursor=w.cursor=function(t){return t=p(t),0===t.length?this:c(this,t)},_.__iterate=w.__iterate=function(t,e){var n=this,r=n.deref();return r&&r.__iterate?r.__iterate(function(e,r){return t(u(n,[r],e),r,n)},e):0},_.__iterator=w.__iterator=function(t,e){var n=this.deref(),r=this,i=n&&n.__iterator&&n.__iterator(g.ENTRIES,e);return new g(function(){if(!i)return{value:void 0,done:!0};var e=i.next();if(e.done)return e;var n=e.value,o=n[0],a=u(r,[o],n[1]);return{value:t===g.KEYS?o:t===g.VALUES?a:[o,a],done:!1}})},i.prototype=_,o.prototype=w;var k={};e.from=r},function(t,e,n){"use strict";function r(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function i(){}var o=Object.prototype.hasOwnProperty,a="function"!=typeof Object.create&&"~";i.prototype._events=void 0,i.prototype.eventNames=function(){var t,e=this._events,n=[];if(!e)return n;for(t in e)o.call(e,t)&&n.push(a?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},i.prototype.listeners=function(t,e){var n=a?a+t:t,r=this._events&&this._events[n];if(e)return!!r;if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,s=new Array(o);i0?C+T:""}},function(t,e,n){"use strict";var r=n(298),i=Object.prototype.hasOwnProperty,o={allowDots:!1,allowPrototypes:!1,arrayLimit:20,decoder:r.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:!1,strictNullHandling:!1},a=function(t,e){for(var n={},r=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,a=e.parameterLimit===1/0?void 0:e.parameterLimit,s=r.split(e.delimiter,a),l=0;l=0;--i){var o,a=t[i];if("[]"===a)o=[],o=o.concat(r);else{o=n.plainObjects?Object.create(null):{};var s="["===a.charAt(0)&&"]"===a.charAt(a.length-1)?a.slice(1,-1):a,l=parseInt(s,10);!isNaN(l)&&a!==s&&String(l)===s&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(o=[],o[l]=r):o[s]=r}r=o}return r},l=function(t,e,n){if(t){var r=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,l=o.exec(r),u=l?r.slice(0,l.index):r,c=[];if(u){if(!n.plainObjects&&i.call(Object.prototype,u)&&!n.allowPrototypes)return;c.push(u)}for(var h=0;null!==(l=a.exec(r))&&he?l(y,d):g=setTimeout(u,t)}function c(){l(_,g)}function h(){if(f=arguments,m=o(),v=this,y=_&&(g||!w),!1===x)var n=w&&!g;else{d||w||(b=m);var r=x-(m-b),i=r<=0||r>x;i?(d&&(d=clearTimeout(d)),b=m,p=t.apply(v,f)):d||(d=setTimeout(c,r))}return i&&g?g=clearTimeout(g):g||e===x||(g=setTimeout(u,e)),n&&(i=!0,p=t.apply(v,f)),!i||g||d||(f=v=void 0),p}var f,d,p,m,v,g,y,b=0,x=!1,_=!0;if("function"!=typeof t)throw new TypeError(a);if(e=e<0?0:+e||0,!0===n){var w=!0;_=!1}else i(n)&&(w=!!n.leading,x="maxWait"in n&&s(+n.maxWait||0,e),_="trailing"in n?!!n.trailing:_);return h.cancel=r,h}var i=n(31),o=n(408),a="Expected a function",s=Math.max;t.exports=r},function(t,e,n){var r=n(110),i=r(Date,"now"),o=i||function(){return(new Date).getTime()};t.exports=o},function(t,e,n){function r(t){return"string"==typeof t||i(t)&&s.call(t)==o}var i=n(50),o="[object String]",a=Object.prototype,s=a.toString;t.exports=r},function(t,e){function n(t){return null==t?"":t+""}t.exports=n},,,function(t,e){function n(t,e){for(var n=-1,r=e.length,i=t.length;++nu))return!1;for(;++l=s,h=c?a():null,f=[];h?(r=o,u=!1):(c=!1,h=e?[]:f);t:for(;++n=s?a(e):null,f=e.length;h&&(u=o,c=!1,e=h);t:for(;++l1&&(r=n[0]+"@",t=n[1]),t=t.replace(P,"."),r+s(t.split("."),e).join(".")}function u(t){for(var e,n,r=[],i=0,o=t.length;i=55296&&e<=56319&&i65535&&(t-=65536,e+=z(t>>>10&1023|55296),t=56320|1023&t),e+=z(t)}).join("")}function h(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:_}function f(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function d(t,e,n){var r=0;for(t=n?L(t/M):t>>1,t+=L(t/e);t>I*k>>1;r+=_)t=L(t/I);return L(r+(I+1)*t/(t+S))}function p(t){var e,n,r,i,o,s,l,u,f,p,m=[],v=t.length,g=0,y=C,b=T;for(n=t.lastIndexOf(O),n<0&&(n=0),r=0;r=128&&a("not-basic"),m.push(t.charCodeAt(r));for(i=n>0?n+1:0;i=v&&a("invalid-input"),u=h(t.charCodeAt(i++)),(u>=_||u>L((x-g)/s))&&a("overflow"),g+=u*s,f=l<=b?w:l>=b+k?k:l-b,!(uL(x/p)&&a("overflow"),s*=p;e=m.length+1,b=d(g-o,e,0==o),L(g/e)>x-y&&a("overflow"),y+=L(g/e),g%=e,m.splice(g++,0,y)}return c(m)}function m(t){var e,n,r,i,o,s,l,c,h,p,m,v,g,y,b,S=[];for(t=u(t),v=t.length,e=C,n=0,o=T,s=0;s=e&&mL((x-n)/g)&&a("overflow"),n+=(l-e)*g,e=l,s=0;sx&&a("overflow"),m==e){for(c=n,h=_;p=h<=o?w:h>=o+k?k:h-o,!(c= 0x80 (not a basic code point)","invalid-input":"Invalid input"},I=_-w,L=Math.floor,z=String.fromCharCode;b={version:"1.4.1",ucs2:{decode:u,encode:c},decode:p,encode:m,toASCII:g,toUnicode:v},void 0!==(i=function(){return b}.call(e,n,e,t))&&(t.exports=i)}()}).call(e,n(222)(t),n(157))},function(t,e,n){"use strict";t.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}},function(t,e,n){"use strict";function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,n,o){e=e||"&",n=n||"=";var a={};if("string"!=typeof t||0===t.length)return a;var s=/\+/g;t=t.split(e);var l=1e3;o&&"number"==typeof o.maxKeys&&(l=o.maxKeys);var u=t.length;l>0&&u>l&&(u=l);for(var c=0;c=0?(h=m.substr(0,v),f=m.substr(v+1)):(h=m,f=""),d=decodeURIComponent(h),p=decodeURIComponent(f),r(a,d)?i(a[d])?a[d].push(p):a[d]=[a[d],p]:a[d]=p}return a};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},function(t,e,n){"use strict";function r(t,e){if(t.map)return t.map(e);for(var n=[],r=0;ru))return!1;for(;++l-1&&t%1==0&&t<=o}function r(t){return!!t&&"object"==typeof t}function i(t){return r(t)&&n(t.length)&&!!a[l.call(t)]}var o=9007199254740991,a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var s=Object.prototype,l=s.toString;t.exports=i},function(t,e,n){function r(t){return null!=t&&o(g(t))}function i(t,e){return t="number"==typeof t||f.test(t)?+t:-1,e=null==e?v:e,t>-1&&t%1==0&&t-1&&t%1==0&&t<=v}function a(t){for(var e=l(t),n=e.length,r=n&&t.length,a=!!r&&o(r)&&(h(t)||c(t)),s=-1,u=[];++s0;++r-1&&t%1==0&&t<=u}function s(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function l(t){return!!t&&"object"==typeof t}var u=9007199254740991,c="[object Arguments]",h="[object Function]",f="[object GeneratorFunction]",d=Object.prototype,p=d.hasOwnProperty,m=d.toString,v=d.propertyIsEnumerable;t.exports=n},function(t,e){function n(t,e,n){if("function"!=typeof t)return r;if(void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 3:return function(n,r,i){return t.call(e,n,r,i)};case 4:return function(n,r,i,o){return t.call(e,n,r,i,o)};case 5:return function(n,r,i,o,a){return t.call(e,n,r,i,o,a)}}return function(){return t.apply(e,arguments)}}function r(t){return t}t.exports=n},function(t,e,n){"use strict";function r(t){var e=t&&t.isEqualProps||i.isEqualProps;return function(t){var n,r;return function(){return e(arguments,n)||(r=t.apply(this,arguments)),n=arguments,r}}}var i=n(322);t.exports=r(),t.exports.withDefaults=r},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){function r(t,e){return i(function(n){var r=n[0];return null==r?r:(n.push(e),t.apply(void 0,n))})}var i=n(112);t.exports=r},function(t,e,n){function r(t,e,n,f,d){if(!l(t))return t;var p=s(e)&&(a(e)||c(e)),m=p?void 0:h(e);return i(m||e,function(i,a){if(m&&(a=i,i=e[a]),u(i))f||(f=[]),d||(d=[]),o(t,e,a,r,n,f,d);else{var s=t[a],l=n?n(s,i,a,t,e):void 0,c=void 0===l;c&&(l=i),void 0===l&&(!p||a in t)||!c&&(l===l?l===s:s!==s)||(t[a]=l)}}),t}var i=n(232),o=n(593),a=n(29),s=n(81),l=n(31),u=n(50),c=n(230),h=n(80);t.exports=r},function(t,e,n){function r(t,e,n,r,h,f,d){for(var p=f.length,m=e[n];p--;)if(f[p]==m)return void(t[n]=d[p]);var v=t[n],g=h?h(v,m,n,t,e):void 0,y=void 0===g;y&&(g=m,s(m)&&(a(m)||u(m))?g=a(v)?v:s(v)?i(v):[]:l(m)||o(m)?g=o(v)?c(v):l(v)?v:{}:y=!1),f.push(m),d.push(g),y?t[n]=r(g,m,h,f,d):(g===g?g!==v:v===v)&&(t[n]=g)}var i=n(320),o=n(93),a=n(29),s=n(81),l=n(594),u=n(230),c=n(595);t.exports=r},function(t,e,n){function r(t){var e;if(!a(t)||c.call(t)!=s||o(t)||!u.call(t,"constructor")&&"function"==typeof(e=t.constructor)&&!(e instanceof e))return!1;var n;return i(t,function(t,e){n=e}),void 0===n||u.call(t,n)}var i=n(311),o=n(93),a=n(50),s="[object Object]",l=Object.prototype,u=l.hasOwnProperty,c=l.toString;t.exports=r},function(t,e,n){function r(t){return i(t,o(t))}var i=n(304),o=n(147);t.exports=r},function(t,e,n){function r(t,e){return void 0===t?e:i(t,e,r)}var i=n(359);t.exports=r},function(t,e,n){function r(t,e){return function(n,r,a){return"function"==typeof r&&void 0===a&&o(n)?t(n,r):e(n,i(r,a,3))}}var i=n(94),o=n(29);t.exports=r},function(t,e){function n(t,e,n,r){var i=t.length;for(n=null==n?0:+n||0,n<0&&(n=-n>i?0:i+n),r=void 0===r||r>i?i:+r||0,r<0&&(r+=i),i=n>r?0:r>>>0,n>>>=0;n=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){var r=n(290),i=n(291);t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),l=r(n),u=s.length;return l<0||l>=u?t?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?t?s.charAt(l):o:t?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},function(t,e,n){"use strict";var r=n(973),i=n(376),o=n(294),a={};n(105)(a,n(37)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var r=n(90),i=n(974),o=n(381),a=n(293)("IE_PROTO"),s=function(){},l=function(){var t,e=n(289)("iframe"),r=o.length;for(e.style.display="none",n(382).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write("