c?c:u+s));return 1===o?(t=e[n-1],r+=l[t>>2],r+=l[t<<4&63],r+="=="):2===o&&(t=(e[n-2]<<8)+e[n-1],r+=l[t>>10],r+=l[t>>4&63],r+=l[t<<2&63],r+="="),i.push(r),i.join("")}t.byteLength=o,t.toByteArray=r,t.fromByteArray=s;for(var l=[],u=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=0,p=d.length;f
+ * @license MIT
+ */
+"use strict";function o(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}function r(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(e,t){if(r()=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|e}function v(e){return+e!=e&&(e=0),a.alloc(+e)}function y(e,t){if(a.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Y(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return X(e).length;default:if(o)return Y(e).length;t=(""+t).toLowerCase(),o=!0}}function g(e,t,n){var o=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return D(this,t,n);case"utf8":case"utf-8":return P(this,t,n);case"ascii":return M(this,t,n);case"latin1":case"binary":return A(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,t,n);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}function b(e,t,n){var o=e[t];e[t]=e[n],e[n]=o}function E(e,t,n,o,r){if(0===e.length)return-1;if("string"==typeof n?(o=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof t&&(t=a.from(t,o)),a.isBuffer(t))return 0===t.length?-1:_(e,t,n,o,r);if("number"==typeof t)return t&=255,a.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):_(e,[t],n,o,r);throw new TypeError("val must be string, number or Buffer")}function _(e,t,n,o,r){function i(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var a=1,s=e.length,l=t.length;if(void 0!==o&&(o=String(o).toLowerCase(),"ucs2"===o||"ucs-2"===o||"utf16le"===o||"utf-16le"===o)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}var u;if(r){var c=-1;for(u=n;us&&(n=s-l),u=n;u>=0;u--){for(var d=!0,f=0;fr&&(o=r)):o=r;var i=t.length;if(i%2!==0)throw new TypeError("Invalid hex string");o>i/2&&(o=i/2);for(var a=0;a239?4:i>223?3:i>191?2:1;if(r+s<=n){var l,u,c,d;switch(s){case 1:i<128&&(a=i);break;case 2:l=e[r+1],128===(192&l)&&(d=(31&i)<<6|63&l,d>127&&(a=d));break;case 3:l=e[r+1],u=e[r+2],128===(192&l)&&128===(192&u)&&(d=(15&i)<<12|(63&l)<<6|63&u,d>2047&&(d<55296||d>57343)&&(a=d));break;case 4:l=e[r+1],u=e[r+2],c=e[r+3],128===(192&l)&&128===(192&u)&&128===(192&c)&&(d=(15&i)<<18|(63&l)<<12|(63&u)<<6|63&c,d>65535&&d<1114112&&(a=d))}}null===a?(a=65533,s=1):a>65535&&(a-=65536,o.push(a>>>10&1023|55296),a=56320|1023&a),o.push(a),r+=s}return S(o)}function S(e){var t=e.length;if(t<=ee)return String.fromCharCode.apply(String,e);for(var n="",o=0;oo)&&(n=o);for(var r="",i=t;in)throw new RangeError("Trying to access beyond buffer length")}function j(e,t,n,o,r,i){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw new RangeError("Index out of range")}function L(e,t,n,o){t<0&&(t=65535+t+1);for(var r=0,i=Math.min(e.length-n,2);r>>8*(o?r:1-r)}function B(e,t,n,o){t<0&&(t=4294967295+t+1);for(var r=0,i=Math.min(e.length-n,4);r>>8*(o?r:3-r)&255}function V(e,t,n,o,r,i){if(n+o>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function F(e,t,n,o,r){return r||V(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),Z.write(e,t,n,o,23,4),n+4}function U(e,t,n,o,r){return r||V(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),Z.write(e,t,n,o,52,8),n+8}function H(e){if(e=W(e).replace(te,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function W(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function z(e){return e<16?"0"+e.toString(16):e.toString(16)}function Y(e,t){t=t||1/0;for(var n,o=e.length,r=null,i=[],a=0;a55295&&n<57344){if(!r){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===o){(t-=3)>-1&&i.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),r=n;continue}n=(r-55296<<10|n-56320)+65536}else r&&(t-=3)>-1&&i.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function G(e){for(var t=[],n=0;n>8,r=n%256,i.push(r),i.push(o);return i}function X(e){return J.toByteArray(H(e))}function K(e,t,n,o){for(var r=0;r=t.length||r>=e.length);++r)t[r+n]=e[r];return r}function $(e){return e!==e}var J=n(396),Z=n(514),Q=n(399);t.Buffer=a,t.SlowBuffer=v,t.INSPECT_MAX_BYTES=50,a.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:o(),t.kMaxLength=r(),a.poolSize=8192,a._augment=function(e){return e.__proto__=a.prototype,e},a.from=function(e,t,n){return s(null,e,t,n)},a.TYPED_ARRAY_SUPPORT&&(a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0})),a.alloc=function(e,t,n){return u(null,e,t,n)},a.allocUnsafe=function(e){return c(null,e)},a.allocUnsafeSlow=function(e){return c(null,e)},a.isBuffer=function(e){return!(null==e||!e._isBuffer)},a.compare=function(e,t){if(!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,o=t.length,r=0,i=Math.min(n,o);r0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},a.prototype.compare=function(e,t,n,o,r){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===o&&(o=0),void 0===r&&(r=this.length),t<0||n>e.length||o<0||r>this.length)throw new RangeError("out of range index");if(o>=r&&t>=n)return 0;if(o>=r)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,o>>>=0,r>>>=0,this===e)return 0;for(var i=r-o,s=n-t,l=Math.min(i,s),u=this.slice(o,r),c=e.slice(t,n),d=0;dr)&&(n=r),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var i=!1;;)switch(o){case"hex":return x(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":return C(this,e,t,n);case"latin1":case"binary":return O(this,e,t,n);case"base64":return N(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),i=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var ee=4096;a.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t0&&(r*=256);)o+=this[e+--t]*r;return o},a.prototype.readUInt8=function(e,t){return t||I(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return t||I(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return t||I(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return t||I(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUInt32BE=function(e,t){return t||I(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||I(e,t,this.length);for(var o=this[e],r=1,i=0;++i=r&&(o-=Math.pow(2,8*t)),o},a.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||I(e,t,this.length);for(var o=t,r=1,i=this[e+--o];o>0&&(r*=256);)i+=this[e+--o]*r;return r*=128,i>=r&&(i-=Math.pow(2,8*t)),i},a.prototype.readInt8=function(e,t){return t||I(e,1,this.length),128&this[e]?(255-this[e]+1)*-1:this[e]},a.prototype.readInt16LE=function(e,t){t||I(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(e,t){t||I(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(e,t){return t||I(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return t||I(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return t||I(e,4,this.length),Z.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return t||I(e,4,this.length),Z.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return t||I(e,8,this.length),Z.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return t||I(e,8,this.length),Z.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,n,o){if(e=+e,t|=0,n|=0,!o){var r=Math.pow(2,8*n)-1;j(this,e,t,n,r,0)}var i=1,a=0;for(this[t]=255&e;++a=0&&(a*=256);)this[t+i]=e/a&255;return t+n},a.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||j(this,e,t,1,255,0),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||j(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},a.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||j(this,e,t,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},a.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||j(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):B(this,e,t,!0),t+4},a.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||j(this,e,t,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},a.prototype.writeIntLE=function(e,t,n,o){if(e=+e,t|=0,!o){var r=Math.pow(2,8*n-1);j(this,e,t,n,r-1,-r)}var i=0,a=1,s=0;for(this[t]=255&e;++i>0)-s&255;return t+n},a.prototype.writeIntBE=function(e,t,n,o){if(e=+e,t|=0,!o){var r=Math.pow(2,8*n-1);j(this,e,t,n,r-1,-r)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},a.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||j(this,e,t,1,127,-128),a.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||j(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):L(this,e,t,!0),t+2},a.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||j(this,e,t,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):L(this,e,t,!1),t+2},a.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||j(this,e,t,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):B(this,e,t,!0),t+4},a.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||j(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),a.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):B(this,e,t,!1),t+4},a.prototype.writeFloatLE=function(e,t,n){return F(this,e,t,!0,n)},a.prototype.writeFloatBE=function(e,t,n){return F(this,e,t,!1,n)},a.prototype.writeDoubleLE=function(e,t,n){return U(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return U(this,e,t,!1,n)},a.prototype.copy=function(e,t,n,o){if(n||(n=0),o||0===o||(o=this.length),t>=e.length&&(t=e.length),t||(t=0),o>0&&o=this.length)throw new RangeError("sourceStart out of bounds");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-t=0;--r)e[r+t]=this[r+n];else if(i<1e3||!a.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var i;if("number"==typeof e)for(i=t;ic;)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var o=n(122),r=n(37)("toStringTag"),i="Arguments"==o(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),r))?n:i?o(t):"Object"==(s=o(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){"use strict";var o=n(45),r=n(80);e.exports=function(e,t,n){t in e?o.f(e,t,r(0,n)):e[t]=n}},function(e,t,n){var o=n(62),r=n(129),i=n(79);e.exports=function(e){var t=o(e),n=r.f;if(n)for(var a,s=n(e),l=i.f,u=0;s.length>u;)l.call(e,a=s[u++])&&t.push(a);return t}},function(e,t,n){e.exports=n(44).document&&document.documentElement},function(e,t,n){var o=n(78),r=n(37)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||i[r]===e)}},function(e,t,n){var o=n(122);e.exports=Array.isArray||function(e){return"Array"==o(e)}},function(e,t,n){var o=n(59);e.exports=function(e,t,n,r){try{return r?t(o(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&o(i.call(e)),t}}},function(e,t,n){"use strict";var o=n(127),r=n(80),i=n(130),a={};n(61)(a,n(37)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=o(a,{next:r(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var o=n(37)("iterator"),r=!1;try{var i=[7][o]();i.return=function(){r=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var i=[7],a=i[o]();a.next=function(){return{done:n=!0}},i[o]=function(){return a},e(i)}catch(e){}return n}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var o=n(62),r=n(41);e.exports=function(e,t){for(var n,i=r(e),a=o(i),s=a.length,l=0;s>l;)if(i[n=a[l++]]===t)return n}},function(e,t,n){var o=n(96)("meta"),r=n(77),i=n(51),a=n(45).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(60)(function(){return l(Object.preventExtensions({}))}),c=function(e){a(e,o,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,o)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[o].i},f=function(e,t){if(!i(e,o)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[o].w},p=function(e){return u&&h.NEED&&l(e)&&!i(e,o)&&c(e),e},h=e.exports={KEY:o,NEED:!1,fastKey:d,getWeak:f,onFreeze:p}},function(e,t,n){"use strict";var o=n(62),r=n(129),i=n(79),a=n(95),s=n(210),l=Object.assign;e.exports=!l||n(60)(function(){var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=o})?function(e,t){for(var n=a(e),l=arguments.length,u=1,c=r.f,d=i.f;l>u;)for(var f,p=s(arguments[u++]),h=c?o(p).concat(c(p)):o(p),m=h.length,v=0;m>v;)d.call(p,f=h[v++])&&(n[f]=p[f]);return n}:l},function(e,t,n){var o=n(45),r=n(59),i=n(62);e.exports=n(50)?Object.defineProperties:function(e,t){r(e);for(var n,a=i(t),s=a.length,l=0;s>l;)o.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var o=n(41),r=n(212).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return r(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?s(e):r(o(e))}},function(e,t,n){var o=n(77),r=n(59),i=function(e,t){if(r(e),!o(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,o){try{o=n(123)(Function.call,n(128).f(Object.prototype,"__proto__").set,2),o(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:o(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){var o=n(133),r=n(124);e.exports=function(e){return function(t,n){var i,a,s=String(r(t)),l=o(n),u=s.length;return l<0||l>=u?e?"":void 0:(i=s.charCodeAt(l),i<55296||i>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):(i-55296<<10)+(a-56320)+65536)}}},function(e,t,n){var o=n(133),r=Math.max,i=Math.min;e.exports=function(e,t){return e=o(e),e<0?r(e+t,0):i(e,t)}},function(e,t,n){var o=n(415),r=n(37)("iterator"),i=n(78);e.exports=n(26).getIteratorMethod=function(e){if(void 0!=e)return e[r]||e["@@iterator"]||i[o(e)]}},function(e,t,n){"use strict";var o=n(123),r=n(36),i=n(95),a=n(421),s=n(419),l=n(218),u=n(416),c=n(433);r(r.S+r.F*!n(423)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,r,d,f=i(e),p="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,v=void 0!==m,y=0,g=c(f);if(v&&(m=o(m,h>2?arguments[2]:void 0,2)),void 0==g||p==Array&&s(g))for(t=l(f.length),n=new p(t);t>y;y++)u(n,y,v?m(f[y],y):f[y]);else for(d=g.call(f),n=new p;!(r=d.next()).done;y++)u(n,y,v?a(d,m,[r.value,y],!0):r.value);return n.length=y,n}})},function(e,t,n){"use strict";var o=n(413),r=n(424),i=n(78),a=n(41);e.exports=n(211)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):"keys"==t?r(0,n):"values"==t?r(0,e[n]):r(0,[n,e[n]])},"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,t,n){var o=n(36);o(o.S+o.F,"Object",{assign:n(427)})},function(e,t,n){var o=n(36);o(o.S,"Object",{create:n(127)})},function(e,t,n){var o=n(36);o(o.S+o.F*!n(50),"Object",{defineProperty:n(45).f})},function(e,t,n){var o=n(41),r=n(128).f;n(215)("getOwnPropertyDescriptor",function(){return function(e,t){return r(o(e),t)}})},function(e,t,n){var o=n(95),r=n(213);n(215)("getPrototypeOf",function(){return function(e){return r(o(e))}})},function(e,t,n){var o=n(36);o(o.S,"Object",{setPrototypeOf:n(430).set})},function(e,t){},function(e,t,n){"use strict";var o=n(44),r=n(51),i=n(50),a=n(36),s=n(217),l=n(426).KEY,u=n(60),c=n(132),d=n(130),f=n(96),p=n(37),h=n(136),m=n(135),v=n(425),y=n(417),g=n(420),b=n(59),E=n(41),_=n(134),x=n(80),w=n(127),C=n(429),O=n(128),N=n(45),T=n(62),k=O.f,P=N.f,S=C.f,M=o.Symbol,A=o.JSON,D=A&&A.stringify,R="prototype",I=p("_hidden"),j=p("toPrimitive"),L={}.propertyIsEnumerable,B=c("symbol-registry"),V=c("symbols"),F=c("op-symbols"),U=Object[R],H="function"==typeof M,W=o.QObject,z=!W||!W[R]||!W[R].findChild,Y=i&&u(function(){return 7!=w(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a})?function(e,t,n){var o=k(U,t);o&&delete U[t],P(e,t,n),o&&e!==U&&P(U,t,o)}:P,G=function(e){var t=V[e]=w(M[R]);return t._k=e,t},q=H&&"symbol"==typeof M.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof M},X=function(e,t,n){return e===U&&X(F,t,n),b(e),t=_(t,!0),b(n),r(V,t)?(n.enumerable?(r(e,I)&&e[I][t]&&(e[I][t]=!1),n=w(n,{enumerable:x(0,!1)})):(r(e,I)||P(e,I,x(1,{})),e[I][t]=!0),Y(e,t,n)):P(e,t,n)},K=function(e,t){b(e);for(var n,o=y(t=E(t)),r=0,i=o.length;i>r;)X(e,n=o[r++],t[n]);return e},$=function(e,t){return void 0===t?w(e):K(w(e),t)},J=function(e){var t=L.call(this,e=_(e,!0));return!(this===U&&r(V,e)&&!r(F,e))&&(!(t||!r(this,e)||!r(V,e)||r(this,I)&&this[I][e])||t)},Z=function(e,t){if(e=E(e),t=_(t,!0),e!==U||!r(V,t)||r(F,t)){var n=k(e,t);return!n||!r(V,t)||r(e,I)&&e[I][t]||(n.enumerable=!0),n}},Q=function(e){for(var t,n=S(E(e)),o=[],i=0;n.length>i;)r(V,t=n[i++])||t==I||t==l||o.push(t);return o},ee=function(e){for(var t,n=e===U,o=S(n?F:E(e)),i=[],a=0;o.length>a;)!r(V,t=o[a++])||n&&!r(U,t)||i.push(V[t]);return i};H||(M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===U&&t.call(F,n),r(this,I)&&r(this[I],e)&&(this[I][e]=!1),Y(this,e,x(1,n))};return i&&z&&Y(U,e,{configurable:!0,set:t}),G(e)},s(M[R],"toString",function(){return this._k}),O.f=Z,N.f=X,n(212).f=C.f=Q,n(79).f=J,n(129).f=ee,i&&!n(126)&&s(U,"propertyIsEnumerable",J,!0),h.f=function(e){return G(p(e))}),a(a.G+a.W+a.F*!H,{Symbol:M});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)p(te[ne++]);for(var te=T(p.store),ne=0;te.length>ne;)m(te[ne++]);a(a.S+a.F*!H,"Symbol",{for:function(e){return r(B,e+="")?B[e]:B[e]=M(e)},keyFor:function(e){if(q(e))return v(B,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){z=!0},useSimple:function(){z=!1}}),a(a.S+a.F*!H,"Object",{create:$,defineProperty:X,defineProperties:K,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Q,getOwnPropertySymbols:ee}),A&&a(a.S+a.F*(!H||u(function(){var e=M();return"[null]"!=D([e])||"{}"!=D({a:e})||"{}"!=D(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!q(e)){for(var t,n,o=[e],r=1;arguments.length>r;)o.push(arguments[r++]);return t=o[1],"function"==typeof t&&(n=t),!n&&g(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!q(t))return t}),o[1]=t,D.apply(A,o)}}}),M[R][j]||n(61)(M[R],j,M[R].valueOf),d(M,"Symbol"),d(Math,"Math",!0),d(o.JSON,"JSON",!0)},function(e,t,n){var o=n(36),r=n(216)(!0);o(o.S,"Object",{entries:function(e){return r(e)}})},function(e,t,n){var o=n(36),r=n(216)(!1);o(o.S,"Object",{values:function(e){return r(e)}})},function(e,t,n){n(135)("asyncIterator")},function(e,t,n){n(135)("observable")},function(e,t,n){n(435);for(var o=n(44),r=n(61),i=n(78),a=n(37)("toStringTag"),s=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],l=0;l<5;l++){var u=s[l],c=o[u],d=c&&c.prototype;d&&!d[a]&&r(d,a,u),i[u]=i.Array}},function(e,t,n){(function(t){"use strict";function o(e){return e}function r(e,n,r){function d(e,n,o){for(var r in n)n.hasOwnProperty(r)&&("production"!==t.env.NODE_ENV?l("function"==typeof n[r],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",e.displayName||"ReactClass",u[o],r):void 0);
+}function f(e,t){var n=x.hasOwnProperty(t)?x[t]:null;O.hasOwnProperty(t)&&s("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&s("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function p(e,o){if(o){s("function"!=typeof o,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),s(!n(o),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=e.prototype,i=r.__reactAutoBindPairs;o.hasOwnProperty(c)&&w.mixins(e,o.mixins);for(var a in o)if(o.hasOwnProperty(a)&&a!==c){var u=o[a],d=r.hasOwnProperty(a);if(f(d,a),w.hasOwnProperty(a))w[a](e,u);else{var p=x.hasOwnProperty(a),h="function"==typeof u,m=h&&!p&&!d&&o.autobind!==!1;if(m)i.push(a,u),r[a]=u;else if(d){var g=x[a];s(p&&("DEFINE_MANY_MERGED"===g||"DEFINE_MANY"===g),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",g,a),"DEFINE_MANY_MERGED"===g?r[a]=v(r[a],u):"DEFINE_MANY"===g&&(r[a]=y(r[a],u))}else r[a]=u,"production"!==t.env.NODE_ENV&&"function"==typeof u&&o.displayName&&(r[a].displayName=o.displayName+"_"+a)}}}else if("production"!==t.env.NODE_ENV){var b=typeof o,E="object"===b&&null!==o;"production"!==t.env.NODE_ENV?l(E,"%s: You're attempting to include a mixin that is either null or not an object. Check the mixins included by the component, as well as any mixins they include themselves. Expected object but got %s.",e.displayName||"ReactClass",null===o?null:b):void 0}}function h(e,t){if(t)for(var n in t){var o=t[n];if(t.hasOwnProperty(n)){var r=n in w;s(!r,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n);var i=n in e;s(!i,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),e[n]=o}}}function m(e,t){s(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var n in t)t.hasOwnProperty(n)&&(s(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function v(e,t){return function(){var n=e.apply(this,arguments),o=t.apply(this,arguments);if(null==n)return o;if(null==o)return n;var r={};return m(r,n),m(r,o),r}}function y(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function g(e,n){var o=n.bind(e);if("production"!==t.env.NODE_ENV){o.__reactBoundContext=e,o.__reactBoundMethod=n,o.__reactBoundArguments=null;var r=e.constructor.displayName,i=o.bind;o.bind=function(a){for(var s=arguments.length,u=Array(s>1?s-1:0),c=1;c=n.length?o(new s(m,b,new a(e,t[b]))):c(t[b],n[b],o,d,m,b,h);for(;b=0?(c(t[r],n[r],o,d,m,r,h),_=l(_,a)):c(t[r],e,o,d,m,r,h)}),_.forEach(function(t){c(e,n[t],o,d,m,t,h)})}h.length=h.length-1}}else t!==n&&("number"===y&&isNaN(t)&&isNaN(n)||o(new r(m,t,n)))}function d(t,n,o,r){return r=r||[],c(t,n,function(e){e&&r.push(e)},o),r.length?r:e}function f(e,t,n){if(n.path&&n.path.length){var o,r=e[t],i=n.path.length-1;for(o=0;o=n.left&&r.left+i.width>n.right&&(i.width-=r.left+i.width-n.right),o.adjustX&&r.left+i.width>n.right&&(r.left=Math.max(n.right-i.width,n.left)),o.adjustY&&r.top=n.top&&r.top+i.height>n.bottom&&(i.height-=r.top+i.height-n.bottom),o.adjustY&&r.top+i.height>n.bottom&&(r.top=Math.max(n.bottom-i.height,n.top)),a.default.mix(r,i)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(81),a=o(i);t.default=r,e.exports=t.default},function(e,t){"use strict";function n(e,t){var n=t.charAt(0),o=t.charAt(1),r=e.width,i=e.height,a=void 0,s=void 0;return a=e.left,s=e.top,"c"===n?s+=i/2:"b"===n&&(s+=i),"c"===o?a+=r/2:"r"===o&&(a+=r),{left:a,top:s}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,e.exports=t.default},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t,n,o,r){var i=void 0,s=void 0,l=void 0,u=void 0;return i={left:e.left,top:e.top},l=(0,a.default)(t,n[1]),u=(0,a.default)(e,n[0]),s=[u.left-l.left,u.top-l.top],{left:i.left-s[0]+o[0]-r[0],top:i.top-s[1]+o[1]-r[1]}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(461),a=o(i);t.default=r,e.exports=t.default},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e){var t=void 0,n=void 0,o=void 0;if(a.default.isWindow(e)||9===e.nodeType){var r=a.default.getWindow(e);t={left:a.default.getWindowScrollLeft(r),top:a.default.getWindowScrollTop(r)},n=a.default.viewportWidth(r),o=a.default.viewportHeight(r)}else t=a.default.offset(e),n=a.default.outerWidth(e),o=a.default.outerHeight(e);return t.width=n,t.height=o,t}Object.defineProperty(t,"__esModule",{value:!0});var i=n(81),a=o(i);t.default=r,e.exports=t.default},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e){for(var t={left:0,right:1/0,top:0,bottom:1/0},n=(0,l.default)(e),o=void 0,r=void 0,i=void 0,s=e.ownerDocument,u=s.defaultView||s.parentWindow,c=s.body,d=s.documentElement;n;){if(navigator.userAgent.indexOf("MSIE")!==-1&&0===n.clientWidth||n===c||n===d||"visible"===a.default.css(n,"overflow")){if(n===c||n===d)break}else{var f=a.default.offset(n);f.left+=n.clientLeft,f.top+=n.clientTop,t.top=Math.max(t.top,f.top),t.right=Math.min(t.right,f.left+n.clientWidth),t.bottom=Math.min(t.bottom,f.top+n.clientHeight),t.left=Math.max(t.left,f.left)}n=(0,l.default)(n)}return o=a.default.getWindowScrollLeft(u),r=a.default.getWindowScrollTop(u),t.left=Math.max(t.left,o),t.top=Math.max(t.top,r),i={width:a.default.viewportWidth(u),height:a.default.viewportHeight(u)},t.right=Math.min(t.right,o+i.width),t.bottom=Math.min(t.bottom,r+i.height),t.top>=0&&t.left>=0&&t.bottom>t.top&&t.right>t.left?t:null}Object.defineProperty(t,"__esModule",{value:!0});var i=n(81),a=o(i),s=n(221),l=o(s);t.default=r,e.exports=t.default},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t,n){return e.leftn.right}function i(e,t,n){return e.topn.bottom}function a(e,t,n){return e.left>n.right||e.left+t.widthn.bottom||e.top+t.height0&&(this.extraHeaders=n.extraHeaders),n.localAddress&&(this.localAddress=n.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}function r(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var i=n(229),a=n(76),s=n(100)("engine.io-client:socket"),l=n(236),u=n(65),c=n(241),d=n(554),f=n(152);e.exports=o,o.priorWebsocketSuccess=!1,a(o.prototype),o.protocol=u.protocol,o.Socket=o,o.Transport=n(139),o.transports=n(229),o.parser=n(65),o.prototype.createTransport=function(e){s('creating transport "%s"',e);var t=r(this.query);t.EIO=u.protocol,t.transport=e,this.id&&(t.sid=this.id);var n=new i[e]({agent:this.agent,hostname:this.hostname,port:this.port,secure:this.secure,path:this.path,query:t,forceJSONP:this.forceJSONP,jsonp:this.jsonp,forceBase64:this.forceBase64,enablesXDR:this.enablesXDR,timestampRequests:this.timestampRequests,timestampParam:this.timestampParam,policyPort:this.policyPort,socket:this,pfx:this.pfx,key:this.key,passphrase:this.passphrase,cert:this.cert,ca:this.ca,ciphers:this.ciphers,rejectUnauthorized:this.rejectUnauthorized,perMessageDeflate:this.perMessageDeflate,extraHeaders:this.extraHeaders,forceNode:this.forceNode,localAddress:this.localAddress});return n},o.prototype.open=function(){var e;if(this.rememberUpgrade&&o.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)e="websocket";else{if(0===this.transports.length){var t=this;return void setTimeout(function(){t.emit("error","No transports available")},0)}e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(e){return this.transports.shift(),void this.open()}e.open(),this.setTransport(e)},o.prototype.setTransport=function(e){s("setting transport %s",e.name);var t=this;this.transport&&(s("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=e,e.on("drain",function(){t.onDrain()}).on("packet",function(e){t.onPacket(e)}).on("error",function(e){t.onError(e)}).on("close",function(){t.onClose("transport close")})},o.prototype.probe=function(e){function t(){if(f.onlyBinaryUpgrades){var t=!this.supportsBinary&&f.transport.supportsBinary;d=d||t}d||(s('probe transport "%s" opened',e),c.send([{type:"ping",data:"probe"}]),c.once("packet",function(t){if(!d)if("pong"===t.type&&"probe"===t.data){if(s('probe transport "%s" pong',e),f.upgrading=!0,f.emit("upgrading",c),!c)return;o.priorWebsocketSuccess="websocket"===c.name,s('pausing current transport "%s"',f.transport.name),f.transport.pause(function(){d||"closed"!==f.readyState&&(s("changing transport and sending upgrade packet"),u(),f.setTransport(c),c.send([{type:"upgrade"}]),f.emit("upgrade",c),c=null,f.upgrading=!1,f.flush())})}else{s('probe transport "%s" failed',e);var n=new Error("probe error");n.transport=c.name,f.emit("upgradeError",n)}}))}function n(){d||(d=!0,u(),c.close(),c=null)}function r(t){var o=new Error("probe error: "+t);o.transport=c.name,n(),s('probe transport "%s" failed because of error: %s',e,t),f.emit("upgradeError",o)}function i(){r("transport closed")}function a(){r("socket closed")}function l(e){c&&e.name!==c.name&&(s('"%s" works - aborting "%s"',e.name,c.name),n())}function u(){c.removeListener("open",t),c.removeListener("error",r),c.removeListener("close",i),f.removeListener("close",a),f.removeListener("upgrading",l)}s('probing transport "%s"',e);var c=this.createTransport(e,{probe:1}),d=!1,f=this;o.priorWebsocketSuccess=!1,c.once("open",t),c.once("error",r),c.once("close",i),this.once("close",a),this.once("upgrading",l),c.open()},o.prototype.onOpen=function(){if(s("socket open"),this.readyState="open",o.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.upgrade&&this.transport.pause){s("starting upgrade probes");for(var e=0,t=this.upgrades.length;e';i=document.createElement(e)}catch(e){i=document.createElement("iframe"),i.name=r.iframeId,i.src="javascript:0"}i.id=r.iframeId,r.form.appendChild(i),r.iframe=i}var r=this;if(!this.form){var i,a=document.createElement("form"),s=document.createElement("textarea"),c=this.iframeId="eio_iframe_"+this.index;a.className="socketio",a.style.position="absolute",a.style.top="-1000px",a.style.left="-1000px",a.target=c,a.method="POST",a.setAttribute("accept-charset","utf-8"),s.name="d",a.appendChild(s),document.body.appendChild(a),this.form=a,this.area=s}this.form.action=this.uri(),o(),e=e.replace(u,"\\\n"),this.area.value=e.replace(l,"\\n");try{this.form.submit()}catch(e){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===r.iframe.readyState&&n()}:this.iframe.onload=n}}).call(t,function(){return this}())},function(e,t,n){(function(t){function o(){}function r(e){if(l.call(this,e),this.requestTimeout=e.requestTimeout,t.location){var n="https:"===location.protocol,o=location.port;o||(o=n?443:80),this.xd=e.hostname!==t.location.hostname||o!==e.port,this.xs=e.secure!==n}else this.extraHeaders=e.extraHeaders}function i(e){this.method=e.method||"GET",this.uri=e.uri,this.xd=!!e.xd,this.xs=!!e.xs,this.async=!1!==e.async,this.data=void 0!==e.data?e.data:null,this.agent=e.agent,this.isBinary=e.isBinary,this.supportsBinary=e.supportsBinary,this.enablesXDR=e.enablesXDR,this.requestTimeout=e.requestTimeout,this.pfx=e.pfx,this.key=e.key,this.passphrase=e.passphrase,this.cert=e.cert,this.ca=e.ca,this.ciphers=e.ciphers,this.rejectUnauthorized=e.rejectUnauthorized,this.extraHeaders=e.extraHeaders,this.create()}function a(){for(var e in i.requests)i.requests.hasOwnProperty(e)&&i.requests[e].abort()}var s=n(140),l=n(230),u=n(76),c=n(94),d=n(100)("engine.io-client:polling-xhr");e.exports=r,e.exports.Request=i,c(r,l),r.prototype.supportsBinary=!0,r.prototype.request=function(e){return e=e||{},e.uri=this.uri(),e.xd=this.xd,e.xs=this.xs,e.agent=this.agent||!1,e.supportsBinary=this.supportsBinary,e.enablesXDR=this.enablesXDR,e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized,e.requestTimeout=this.requestTimeout,e.extraHeaders=this.extraHeaders,new i(e)},r.prototype.doWrite=function(e,t){var n="string"!=typeof e&&void 0!==e,o=this.request({method:"POST",data:e,isBinary:n}),r=this;o.on("success",t),o.on("error",function(e){r.onError("xhr post error",e)}),this.sendXhr=o},r.prototype.doPoll=function(){d("xhr poll");var e=this.request(),t=this;e.on("data",function(e){t.onData(e)}),e.on("error",function(e){t.onError("xhr poll error",e)}),this.pollXhr=e},u(i.prototype),
+i.prototype.create=function(){var e={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized;var n=this.xhr=new s(e),o=this;try{d("xhr open %s: %s",this.method,this.uri),n.open(this.method,this.uri,this.async);try{if(this.extraHeaders){n.setDisableHeaderCheck(!0);for(var r in this.extraHeaders)this.extraHeaders.hasOwnProperty(r)&&n.setRequestHeader(r,this.extraHeaders[r])}}catch(e){}if(this.supportsBinary&&(n.responseType="arraybuffer"),"POST"===this.method)try{this.isBinary?n.setRequestHeader("Content-type","application/octet-stream"):n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{n.setRequestHeader("Accept","*/*")}catch(e){}"withCredentials"in n&&(n.withCredentials=!0),this.requestTimeout&&(n.timeout=this.requestTimeout),this.hasXDR()?(n.onload=function(){o.onLoad()},n.onerror=function(){o.onError(n.responseText)}):n.onreadystatechange=function(){4===n.readyState&&(200===n.status||1223===n.status?o.onLoad():setTimeout(function(){o.onError(n.status)},0))},d("xhr data %s",this.data),n.send(this.data)}catch(e){return void setTimeout(function(){o.onError(e)},0)}t.document&&(this.index=i.requestsCount++,i.requests[this.index]=this)},i.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},i.prototype.onData=function(e){this.emit("data",e),this.onSuccess()},i.prototype.onError=function(e){this.emit("error",e),this.cleanup(!0)},i.prototype.cleanup=function(e){if("undefined"!=typeof this.xhr&&null!==this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=o:this.xhr.onreadystatechange=o,e)try{this.xhr.abort()}catch(e){}t.document&&delete i.requests[this.index],this.xhr=null}},i.prototype.onLoad=function(){var e;try{var t;try{t=this.xhr.getResponseHeader("Content-Type").split(";")[0]}catch(e){}if("application/octet-stream"===t)e=this.xhr.response||this.xhr.responseText;else if(this.supportsBinary)try{e=String.fromCharCode.apply(null,new Uint8Array(this.xhr.response))}catch(t){for(var n=new Uint8Array(this.xhr.response),o=[],r=0,i=n.length;r1e4)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]),o=(t[2]||"ms").toLowerCase();switch(o){case"years":case"year":case"yrs":case"yr":case"y":return n*c;case"days":case"day":case"d":return n*u;case"hours":case"hour":case"hrs":case"hr":case"h":return n*l;case"minutes":case"minute":case"mins":case"min":case"m":return n*s;case"seconds":case"second":case"secs":case"sec":case"s":return n*a;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function o(e){return e>=u?Math.round(e/u)+"d":e>=l?Math.round(e/l)+"h":e>=s?Math.round(e/s)+"m":e>=a?Math.round(e/a)+"s":e+"ms"}function r(e){return i(e,u,"day")||i(e,l,"hour")||i(e,s,"minute")||i(e,a,"second")||e+" ms"}function i(e,t,n){if(!(e0)return n(e);if("number"===i&&isNaN(e)===!1)return t.long?r(e):o(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t){e.exports=Object.keys||function(e){var t=[],n=Object.prototype.hasOwnProperty;for(var o in e)n.call(e,o)&&t.push(o);return t}},function(e,t,n){(function(t){"use strict";function o(e,t){for(var n=e;n.parentNode;)n=n.parentNode;var o=n.querySelectorAll(t);return Array.prototype.indexOf.call(o,e)!==-1}var r=n(11),i={addClass:function(e,n){return/\s/.test(n)?"production"!==t.env.NODE_ENV?r(!1,'CSSCore.addClass takes only a single class name. "%s" contains multiple classes.',n):r(!1):void 0,n&&(e.classList?e.classList.add(n):i.hasClass(e,n)||(e.className=e.className+" "+n)),e},removeClass:function(e,n){return/\s/.test(n)?"production"!==t.env.NODE_ENV?r(!1,'CSSCore.removeClass takes only a single class name. "%s" contains multiple classes.',n):r(!1):void 0,n&&(e.classList?e.classList.remove(n):i.hasClass(e,n)&&(e.className=e.className.replace(new RegExp("(^|\\s)"+n+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,""))),e},conditionClass:function(e,t,n){return(n?i.addClass:i.removeClass)(e,t)},hasClass:function(e,n){return/\s/.test(n)?"production"!==t.env.NODE_ENV?r(!1,"CSS.hasClass takes only a single class name."):r(!1):void 0,e.classList?!!n&&e.classList.contains(n):(" "+e.className+" ").indexOf(" "+n+" ")>-1},matchesSelector:function(e,t){var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector||function(t){return o(e,t)};return n.call(e,t)}};e.exports=i}).call(t,n(2))},function(e,t){"use strict";function n(e){return e.replace(o,function(e,t){return t.toUpperCase()})}var o=/-(.)/g;e.exports=n},function(e,t,n){"use strict";function o(e){return r(e.replace(i,"ms-"))}var r=n(493),i=/^-ms-/;e.exports=o},function(e,t,n){"use strict";function o(e,t){return!(!e||!t)&&(e===t||!r(e)&&(r(t)?o(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var r=n(503);e.exports=o},function(e,t,n){(function(t){"use strict";function o(e){var n=e.length;if(Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e?"production"!==t.env.NODE_ENV?a(!1,"toArray: Array-like object expected"):a(!1):void 0,"number"!=typeof n?"production"!==t.env.NODE_ENV?a(!1,"toArray: Object needs a length property"):a(!1):void 0,0===n||n-1 in e?void 0:"production"!==t.env.NODE_ENV?a(!1,"toArray: Object should have keys for indices"):a(!1),"function"==typeof e.callee?"production"!==t.env.NODE_ENV?a(!1,"toArray: Object can't be `arguments`. Use rest params (function(...args) {}) or Array.from() instead."):a(!1):void 0,e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var o=Array(n),r=0;r element rendered."):l(!1),a(f).forEach(n));for(var p=Array.from(r.childNodes);r.lastChild;)r.removeChild(r.lastChild);return p}var i=n(21),a=n(496),s=n(498),l=n(11),u=i.canUseDOM?document.createElement("div"):null,c=/^\s*<(\w+)/;e.exports=r}).call(t,n(2))},function(e,t,n){(function(t){"use strict";function o(e){return a?void 0:"production"!==t.env.NODE_ENV?i(!1,"Markup wrapping node not initialized"):i(!1),f.hasOwnProperty(e)||(e="*"),s.hasOwnProperty(e)||("*"===e?a.innerHTML="":a.innerHTML="<"+e+">"+e+">",s[e]=!a.firstChild),s[e]?f[e]:null}var r=n(21),i=n(11),a=r.canUseDOM?document.createElement("div"):null,s={},l=[1,'"],u=[1,""],c=[3,""],d=[1,'"],f={"*":[1,"?","
"],area:[1,""],col:[2,""],legend:[1,""],param:[1,""],tr:[2,""],optgroup:l,option:l,caption:u,colgroup:u,tbody:u,tfoot:u,thead:u,td:c,th:c},p=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];p.forEach(function(e){f[e]=d,s[e]=!0}),e.exports=o}).call(t,n(2))},function(e,t){"use strict";function n(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}e.exports=n},function(e,t){"use strict";function n(e){return e.replace(o,"-$1").toLowerCase()}var o=/([A-Z])/g;e.exports=n},function(e,t,n){"use strict";function o(e){return r(e).replace(i,"-ms-")}var r=n(500),i=/^ms-/;e.exports=o},function(e,t){"use strict";function n(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"==typeof n.Node?e instanceof n.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=n},function(e,t,n){"use strict";function o(e){return r(e)&&3==e.nodeType}var r=n(502);e.exports=o},function(e,t){"use strict";function n(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}e.exports=n},function(e,t,n){"use strict";var o,r=n(21);r.canUseDOM&&(o=window.performance||window.msPerformance||window.webkitPerformance),e.exports=o||{}},function(e,t,n){"use strict";var o,r=n(505);o=r.now?function(){return r.now()}:function(){return Date.now()},e.exports=o},function(e,t){try{e.exports="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(t){e.exports=!1}},function(e,t){!function(t){"object"==typeof e&&e.exports?e.exports=t:t(Highcharts)}(function(e){var t,n=e.win,o=n.document,r=e.Chart,i=e.addEvent,a=e.removeEvent,s=e.fireEvent,l=e.createElement,u=e.discardElement,c=e.css,d=e.merge,f=e.each,p=e.extend,h=e.splat,m=Math.max,v=e.isTouchDevice,y=e.Renderer.prototype.symbols,g=e.getOptions();p(g.lang,{printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"}),g.navigation={menuStyle:{border:"1px solid #A0A0A0",background:"#FFFFFF",padding:"5px 0"},menuItemStyle:{padding:"0 10px",background:"none",color:"#303030",fontSize:v?"14px":"11px"},menuItemHoverStyle:{background:"#4572A5",color:"#FFFFFF"},buttonOptions:{symbolFill:"#E0E0E0",symbolSize:14,symbolStroke:"#666",symbolStrokeWidth:3,symbolX:12.5,symbolY:10.5,align:"right",buttonSpacing:3,height:22,theme:{fill:"white",stroke:"none"},verticalAlign:"top",width:24}},g.exporting={type:"image/png",url:"http://export.highcharts.com/",buttons:{contextButton:{menuClassName:"highcharts-contextmenu",symbol:"menu",_titleKey:"contextButtonTitle",menuItems:[{textKey:"printChart",onclick:function(){this.print()}},{separator:!0},{textKey:"downloadPNG",onclick:function(){this.exportChart()}},{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}},{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}]}}},e.post=function(e,t,n){var r,e=l("form",d({method:"post",action:e,enctype:"multipart/form-data"},n),{display:"none"},o.body);for(r in t)l("input",{type:"hidden",name:r,value:t[r]},null,e);e.submit(),u(e)},p(r.prototype,{sanitizeSVG:function(e){return e.replace(/zIndex="[^"]+"/g,"").replace(/isShadow="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery[0-9]+="[^"]+"/g,"").replace(/url\([^#]+#/g,"url(#").replace(/").replace(/(fill|stroke)="rgba\(([ 0-9]+,[ 0-9]+,[ 0-9]+),([ 0-9\.]+)\)"/g,'$1="rgb($2)" $1-opacity="$3"').replace(/ /g," ").replace(//g,"").replace(/
/g,"<$1title>").replace(/height=([^" ]+)/g,'height="$1"').replace(/width=([^" ]+)/g,'width="$1"').replace(/hc-svg-href="([^"]+)">/g,'xlink:href="$1"/>').replace(/ id=([^" >]+)/g,' id="$1"').replace(/class=([^" >]+)/g,'class="$1"').replace(/ transform /g," ").replace(/:(path|rect)/g,"$1").replace(/style="([^"]+)"/g,function(e){return e.toLowerCase()})},getChartHTML:function(){return this.container.innerHTML},getSVG:function(t){var n,r,i,a,s,c=this,m=d(c.options,t),v=m.exporting.allowHTML;return o.createElementNS||(o.createElementNS=function(e,t){return o.createElement(t)}),r=l("div",null,{position:"absolute",top:"-9999em",width:c.chartWidth+"px",height:c.chartHeight+"px"},o.body),i=c.renderTo.style.width,s=c.renderTo.style.height,i=m.exporting.sourceWidth||m.chart.width||/px$/.test(i)&&parseInt(i,10)||600,s=m.exporting.sourceHeight||m.chart.height||/px$/.test(s)&&parseInt(s,10)||400,p(m.chart,{animation:!1,renderTo:r,forExport:!0,renderer:"SVGRenderer",width:i,height:s}),m.exporting.enabled=!1,delete m.data,m.series=[],f(c.series,function(e){a=d(e.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:e.visible}),a.isInternal||m.series.push(a)}),t&&f(["xAxis","yAxis"],function(e){f(h(t[e]),function(t,n){m[e][n]=d(m[e][n],t)})}),n=new e.Chart(m,c.callback),f(["xAxis","yAxis"],function(e){f(c[e],function(t,o){var r=n[e][o],i=t.getExtremes(),a=i.userMin,i=i.userMax;r&&(void 0!==a||void 0!==i)&&r.setExtremes(a,i,!0,!1)})}),i=n.getChartHTML(),m=null,n.destroy(),u(r),v&&(r=i.match(/<\/svg>(.*?$)/))&&(r=''+r[1]+"",i=i.replace("",r+"")),i=this.sanitizeSVG(i),i=i.replace(/(url\(#highcharts-[0-9]+)"/g,"$1").replace(/"/g,"'")},getSVGForExport:function(e,t){var n=this.options.exporting;return this.getSVG(d({chart:{borderRadius:0}},n.chartOptions,t,{exporting:{sourceWidth:e&&e.sourceWidth||n.sourceWidth,sourceHeight:e&&e.sourceHeight||n.sourceHeight}}))},exportChart:function(t,n){var o=this.getSVGForExport(t,n),t=d(this.options.exporting,t);e.post(t.url,{filename:t.filename||"chart",type:t.type,width:t.width||0,scale:t.scale||2,svg:o},t.formAttributes)},print:function(){var e=this,t=e.container,r=[],i=t.parentNode,a=o.body,l=a.childNodes;e.isPrinting||(e.isPrinting=!0,e.pointer.reset(null,0),s(e,"beforePrint"),f(l,function(e,t){1===e.nodeType&&(r[t]=e.style.display,e.style.display="none")}),a.appendChild(t),n.focus(),n.print(),setTimeout(function(){i.appendChild(t),f(l,function(e,t){1===e.nodeType&&(e.style.display=r[t])}),e.isPrinting=!1,s(e,"afterPrint")},1e3))},contextMenu:function(e,t,n,r,s,u,d){var h,v,y,g=this,b=g.options.navigation,E=b.menuItemStyle,_=g.chartWidth,x=g.chartHeight,w="cache-"+e,C=g[w],O=m(s,u),N=function(t){g.pointer.inClass(t.target,e)||v()};C||(g[w]=C=l("div",{className:e},{position:"absolute",zIndex:1e3,padding:O+"px"},g.container),h=l("div",null,p({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},b.menuStyle),C),v=function(){c(C,{display:"none"}),d&&d.setState(0),g.openMenu=!1},i(C,"mouseleave",function(){y=setTimeout(v,500)}),i(C,"mouseenter",function(){clearTimeout(y)}),i(o,"mouseup",N),i(g,"destroy",function(){a(o,"mouseup",N)}),f(t,function(e){if(e){var t=e.separator?l("hr",null,null,h):l("div",{onmouseover:function(){c(this,b.menuItemHoverStyle)},onmouseout:function(){c(this,E)},onclick:function(t){t&&t.stopPropagation(),v(),e.onclick&&e.onclick.apply(g,arguments)},innerHTML:e.text||g.options.lang[e.textKey]},p({cursor:"pointer"},E),h);g.exportDivElements.push(t)}}),g.exportDivElements.push(h,C),g.exportMenuWidth=C.offsetWidth,g.exportMenuHeight=C.offsetHeight),t={display:"block"},n+g.exportMenuWidth>_?t.right=_-n-s-O+"px":t.left=n-O+"px",r+u+g.exportMenuHeight>x&&"top"!==d.alignOptions.verticalAlign?t.bottom=x-r-O+"px":t.top=r+u-O+"px",c(C,t),g.openMenu=!0},addButton:function(n){var o,r,i=this,a=i.renderer,s=d(i.options.navigation.buttonOptions,n),l=s.onclick,u=s.menuItems,c={stroke:s.symbolStroke,fill:s.symbolFill},f=s.symbolSize||12;if(i.btnCount||(i.btnCount=0),i.exportDivElements||(i.exportDivElements=[],i.exportSVGElements=[]),s.enabled!==!1){var h,m=s.theme,v=m.states,y=v&&v.hover,v=v&&v.select;delete m.states,l?h=function(e){e.stopPropagation(),l.call(i,e)}:u&&(h=function(){i.contextMenu(r.menuClassName,u,r.translateX,r.translateY,r.width,r.height,r),r.setState(2)}),s.text&&s.symbol?m.paddingLeft=e.pick(m.paddingLeft,25):s.text||p(m,{width:s.width,height:s.height,padding:0}),r=a.button(s.text,0,0,h,m,y,v).attr({title:i.options.lang[s._titleKey],"stroke-linecap":"round",zIndex:3}),r.menuClassName=n.menuClassName||"highcharts-menu-"+i.btnCount++,s.symbol&&(o=a.symbol(s.symbol,s.symbolX-f/2,s.symbolY-f/2,f,f).attr(p(c,{"stroke-width":s.symbolStrokeWidth||1,zIndex:1})).add(r)),r.add().align(p(s,{width:r.width,x:e.pick(s.x,t)}),!0,"spacingBox"),t+=(r.width+s.buttonSpacing)*("right"===s.align?-1:1),i.exportSVGElements.push(r,o)}},destroyExport:function(e){var t,n,e=e.target;for(t=0;tc.len*c.tickInterval/(c.max-c.min)&&(f=0),p=h>f&&h<180-f?"left":h>180+f&&h<360-f?"right":"center"):p="center",o.attr({align:p})),e.x+=i.x,e.y+=d):e=e.call(this,t,n,o,r,i,a,s,u),e}),h(v,"getMarkPath",function(e,t,n,o,r,i,a){var s=this.axis;return s.isRadial?(e=s.getPosition(this.pos,s.center[2]/2+o),t=["M",t,n,"L",e.x,e.y]):t=e.call(this,t,n,o,r,i,a),t}),c.arearange=a(c.area,{lineWidth:1,marker:null,threshold:null,tooltip:{pointFormat:'● {series.name}: {point.low} - {point.high}
'},trackByArea:!0,dataLabels:{align:null,verticalAlign:null,xLow:0,xHigh:0,yLow:0,yHigh:0},states:{hover:{halo:!1}}}),d.arearange=f(d.area,{type:"arearange",pointArrayMap:["low","high"],dataLabelCollections:["dataLabel","dataLabelUpper"],toYData:function(e){return[e.low,e.high]},pointValKey:"low",deferTranslatePolar:!0,highToXY:function(e){var t=this.chart,n=this.xAxis.postTranslate(e.rectPlotX,this.yAxis.len-e.plotHigh);e.plotHighX=n.x-t.plotLeft,e.plotHigh=n.y-t.plotTop},translate:function(){var e=this,t=e.yAxis;d.area.prototype.translate.apply(e),r(e.points,function(e){var n=e.low,o=e.high,r=e.plotY;null===o||null===n?e.isNull=!0:(e.plotLow=r,e.plotHigh=t.translate(o,0,1,0,1))}),this.chart.polar&&r(this.points,function(t){e.highToXY(t)})},getGraphPath:function(){var e,t,n,o=this.points,r=[],i=[],a=o.length,s=_.prototype.getGraphPath;n=this.options;for(var l=n.step,a=o.length;a--;)e=o[a],!e.isNull&&(!o[a+1]||o[a+1].isNull)&&i.push({plotX:e.plotX,plotY:e.plotLow}),t={plotX:e.plotX,plotY:e.plotHigh,isNull:e.isNull},i.push(t),r.push(t),!e.isNull&&(!o[a-1]||o[a-1].isNull)&&i.push({plotX:e.plotX,plotY:e.plotLow});return o=s.call(this,o),l&&(l===!0&&(l="left"),n.step={left:"right",center:"center",right:"left"}[l]),r=s.call(this,r),i=s.call(this,i),n.step=l,n=[].concat(o,r),!this.chart.polar&&"M"===i[0]&&(i[0]="L"),this.areaPath=this.areaPath.concat(o,i),n},drawDataLabels:function(){var e,t,n,o=this.data,r=o.length,i=[],a=_.prototype,s=this.options.dataLabels,l=s.align,u=s.verticalAlign,c=s.inside,d=this.chart.inverted;if(s.enabled||this._hasPointLabels){for(e=r;e--;)(t=o[e])&&(n=c?t.plotHight.plotLow,t.y=t.high,t._plotY=t.plotY,t.plotY=t.plotHigh,i[e]=t.dataLabel,t.dataLabel=t.dataLabelUpper,t.below=n,d?l||(s.align=n?"right":"left"):u||(s.verticalAlign=n?"top":"bottom"),s.x=s.xHigh,s.y=s.yHigh);for(a.drawDataLabels&&a.drawDataLabels.apply(this,arguments),e=r;e--;)(t=o[e])&&(n=c?t.plotHight.plotLow,t.dataLabelUpper=t.dataLabel,t.dataLabel=i[e],t.y=t.low,t.plotY=t._plotY,t.below=!n,d?l||(s.align=n?"left":"right"):u||(s.verticalAlign=n?"bottom":"top"),s.x=s.xLow,s.y=s.yLow);a.drawDataLabels&&a.drawDataLabels.apply(this,arguments)}s.align=l,s.verticalAlign=u},alignDataLabel:function(){d.column.prototype.alignDataLabel.apply(this,arguments)},setStackedPoints:T,getSymbol:T,drawPoints:T}),c.areasplinerange=a(c.arearange),d.areasplinerange=f(d.arearange,{type:"areasplinerange",getPointSpline:d.spline.prototype.getPointSpline}),function(){var e=d.column.prototype;c.columnrange=a(c.column,c.arearange,{lineWidth:1,pointRange:null}),d.columnrange=f(d.arearange,{type:"columnrange",translate:function(){var t,n=this,o=n.yAxis,i=n.xAxis,a=n.chart;e.translate.apply(n),r(n.points,function(e){var r,s,l=e.shapeArgs,u=n.options.minPointLength;e.plotHigh=t=o.translate(e.high,0,1,0,1),e.plotLow=e.plotY,s=t,r=e.plotY-t,Math.abs(r)● {series.name}
Maximum: {point.high}
Upper quartile: {point.q3}
Median: {point.median}
Lower quartile: {point.q1}
Minimum: {point.low}
'},whiskerLength:"50%",whiskerWidth:2}),d.boxplot=f(d.column,{type:"boxplot",pointArrayMap:["low","q1","median","q3","high"],toYData:function(e){return[e.low,e.q1,e.median,e.q3,e.high]},pointValKey:"high",pointAttrToOptions:{fill:"fillColor",stroke:"color","stroke-width":"lineWidth"},drawDataLabels:T,translate:function(){var e=this.yAxis,t=this.pointArrayMap;d.column.prototype.translate.apply(this),r(this.points,function(n){r(t,function(t){null!==n[t]&&(n[t+"Plot"]=e.translate(n[t],0,1,0,1))})})},drawPoints:function(){var e,t,n,o,i,a,s,u,c,d,f,p,h,m,v,y,g,b,E,_,x,O,N,T=this,k=T.options,P=T.chart.renderer,S=T.doQuartiles!==!1,M=T.options.whiskerLength;r(T.points,function(r){c=r.graphic,x=r.shapeArgs,f={},m={},y={},O=r.color||T.color,void 0!==r.plotY&&(e=r.pointAttr[r.selected?"selected":""],g=x.width,b=C(x.x),E=b+g,_=w(g/2),t=C(S?r.q1Plot:r.lowPlot),n=C(S?r.q3Plot:r.lowPlot),o=C(r.highPlot),i=C(r.lowPlot),f.stroke=r.stemColor||k.stemColor||O,f["stroke-width"]=l(r.stemWidth,k.stemWidth,k.lineWidth),f.dashstyle=r.stemDashStyle||k.stemDashStyle,m.stroke=r.whiskerColor||k.whiskerColor||O,m["stroke-width"]=l(r.whiskerWidth,k.whiskerWidth,k.lineWidth),y.stroke=r.medianColor||k.medianColor||O,y["stroke-width"]=l(r.medianWidth,k.medianWidth,k.lineWidth),s=f["stroke-width"]%2/2,u=b+_+s,d=["M",u,n,"L",u,o,"M",u,t,"L",u,i],S&&(s=e["stroke-width"]%2/2,u=C(u)+s,t=C(t)+s,n=C(n)+s,b+=s,E+=s,p=["M",b,n,"L",b,t,"L",E,t,"L",E,n,"L",b,n,"z"]),M&&(s=m["stroke-width"]%2/2,o+=s,i+=s,N=/%$/.test(M)?_*parseFloat(M)/100:M/2,h=["M",u-N,o,"L",u+N,o,"M",u-N,i,"L",u+N,i]),s=y["stroke-width"]%2/2,a=w(r.medianPlot)+s,v=["M",b,a,"L",E,a],c?(r.stem.animate({d:d}),M&&r.whiskers.animate({d:h}),S&&r.box.animate({d:p}),r.medianShape.animate({d:v})):(r.graphic=c=P.g().add(T.group),r.stem=P.path(d).attr(f).add(c),M&&(r.whiskers=P.path(h).attr(m).add(c)),S&&(r.box=P.path(p).attr(e).add(c)),r.medianShape=P.path(v).attr(y).add(c)))})},setStackedPoints:T}),c.errorbar=a(c.boxplot,{color:"#000000",grouping:!1,linkedTo:":previous",tooltip:{pointFormat:'● {series.name}: {point.low} - {point.high}
'},whiskerWidth:null}),d.errorbar=f(d.boxplot,{type:"errorbar",pointArrayMap:["low","high"],toYData:function(e){return[e.low,e.high]},pointValKey:"high",doQuartiles:!1,drawDataLabels:d.arearange?d.arearange.prototype.drawDataLabels:T,getColumnMetrics:function(){return this.linkedParent&&this.linkedParent.columnMetrics||d.column.prototype.getColumnMetrics.call(this)}}),c.waterfall=a(c.column,{lineWidth:1,lineColor:"#333",dashStyle:"dot",borderColor:"#333",dataLabels:{inside:!0},states:{hover:{lineWidthPlus:0}}}),d.waterfall=f(d.column,{type:"waterfall",upColorProp:"fill",pointValKey:"y",translate:function(){var e,t,n,o,r,i,a,s,u,c=this.options,f=this.yAxis,p=l(c.minPointLength,5),h=c.threshold,m=c.stacking;for(d.column.prototype.translate.apply(this),this.minPointLengthOffset=0,a=s=h,t=this.points,e=0,c=t.length;e0?f.translate(a,0,1)-o.y:f.translate(a,0,1)-f.translate(a-i,0,1)),a+=i),o.height<0&&(o.y+=o.height,o.height*=-1),n.plotY=o.y=w(o.y)-this.borderWidth%2/2,o.height=O(w(o.height),.001),n.yBottom=o.y+o.height,o.height<=p&&(o.height=p,this.minPointLengthOffset+=p),o.y-=this.minPointLengthOffset,o=n.plotY+(n.negative?o.height:0)-this.minPointLengthOffset,this.chart.inverted?n.tooltipPos[0]=f.len-o:n.tooltipPos[1]=o},processData:function(e){var t,n,o,r,i,a,s,l=this.yData,u=this.options.data,c=l.length;for(o=n=r=i=this.options.threshold||0,s=0;s0?(e.pointAttr=s,e.color=i):e.pointAttr=t.pointAttr)})},getGraphPath:function(){var e,t,n,o=this.data,r=o.length,i=w(this.options.lineWidth+this.borderWidth)%2/2,a=[];for(n=1;n0?(a-e)/f:.5,c&&a>=0&&(a=Math.sqrt(a)),a=x.ceil(n+a*(o-n))/2),l.push(a);this.radii=l},animate:function(e){var t=this.options.animation;e||(r(this.points,function(e){var n=e.graphic,e=e.shapeArgs;n&&e&&(n.attr("r",1),n.animate({r:e.r},t))}),this.animate=null)},translate:function(){var e,t,n,o=this.data,r=this.radii;for(d.scatter.prototype.translate.call(this),e=o.length;e--;)t=o[e],n=r?r[e]:0,"number"==typeof n&&n>=this.minPxSize/2?(t.shapeType="circle",t.shapeArgs={x:t.plotX,y:t.plotY,r:n},t.dlBox={x:t.plotX-n,y:t.plotY-n,width:2*n,height:2*n}):t.shapeArgs=t.plotY=t.dlBox=void 0},drawLegendSymbol:function(e,t){var n=this.chart.renderer,o=n.fontMetrics(e.itemStyle.fontSize).f/2;t.legendSymbol=n.circle(o,e.baseline-o,o).attr({zIndex:3}).add(t.legendGroup),t.legendSymbol.isMarker=!0},drawPoints:d.column.prototype.drawPoints,alignDataLabel:d.column.prototype.alignDataLabel,buildKDTree:T,applyZones:T}),m.prototype.beforePadding=function(){var e=this,t=this.len,i=this.chart,a=0,s=t,c=this.isXAxis,d=c?"xData":"yData",f=this.min,p={},h=x.min(i.plotWidth,i.plotHeight),m=Number.MAX_VALUE,v=-Number.MAX_VALUE,y=this.max-f,g=t/y,b=[];r(this.series,function(t){var a=t.options;!t.bubblePadding||!t.visible&&i.options.chart.ignoreHiddenSeries||(e.allowZoomOutside=!0,b.push(t),c&&(r(["minSize","maxSize"],function(e){var t=a[e],n=/%$/.test(t),t=u(t);p[e]=n?h*t/100:t}),t.minPxSize=p.minSize,t.maxPxSize=p.maxSize,t=t.zData,t.length&&(m=l(a.zMin,x.min(m,x.max(n(t),a.displayNegative===!1?a.zThreshold:-Number.MAX_VALUE))),v=l(a.zMax,x.max(v,o(t))))))}),r(b,function(e){var t,n=e[d],o=n.length;if(c&&e.getRadii(m,v,e.minPxSize,e.maxPxSize),y>0)for(;o--;)"number"==typeof n[o]&&(t=e.radii[o],a=Math.min((n[o]-f)*g-t,a),s=Math.max((n[o]-f)*g+t,s))}),b.length&&y>0&&!this.isLog&&(s-=t,g*=(t+a-s)/t,r([["min","userMin",a],["max","userMax",s]],function(t){void 0===l(e.options[t[0]],e[t[1]])&&(e[t[0]]+=t[2]/g)}))},function(){function e(e,t){var n=this.chart,o=this.options.animation,r=this.group,i=this.markerGroup,a=this.xAxis.center,s=n.plotLeft,l=n.plotTop;n.polar?n.renderer.isSVG&&(o===!0&&(o={}),t?(n={translateX:a[0]+s,translateY:a[1]+l,scaleX:.001,scaleY:.001},r.attr(n),i&&i.attr(n)):(n={translateX:s,translateY:l,scaleX:1,scaleY:1},r.animate(n,o),i&&i.animate(n,o),this.animate=null)):e.call(this,t)}var t,n=_.prototype,o=g.prototype;n.searchPointByAngle=function(e){var t=this.chart,n=this.xAxis.pane.center;return this.searchKDTree({clientX:180+Math.atan2(e.chartX-n[0]-t.plotLeft,e.chartY-n[1]-t.plotTop)*(-180/Math.PI)})},h(n,"buildKDTree",function(e){this.chart.polar&&(this.kdByAngle?this.searchPoint=this.searchPointByAngle:this.kdDimensions=2),e.apply(this)}),n.toXY=function(e){var t,n=this.chart,o=e.plotX;t=e.plotY,e.rectPlotX=o,e.rectPlotY=t,t=this.xAxis.postTranslate(e.plotX,this.yAxis.len-t),e.plotX=e.polarPlotX=t.x-n.plotLeft,e.plotY=e.polarPlotY=t.y-n.plotTop,this.kdByAngle?(n=(o/Math.PI*180+this.xAxis.pane.options.startAngle)%360,n<0&&(n+=360),e.clientX=n):e.clientX=e.plotX},d.spline&&h(d.spline.prototype,"getPointSpline",function(e,t,n,o){var r,i,a,s,l,u,c;return this.chart.polar?(r=n.plotX,i=n.plotY,e=t[o-1],a=t[o+1],this.connectEnds&&(e||(e=t[t.length-2]),a||(a=t[1])),e&&a&&(s=e.plotX,l=e.plotY,t=a.plotX,u=a.plotY,s=(1.5*r+s)/2.5,l=(1.5*i+l)/2.5,a=(1.5*r+t)/2.5,c=(1.5*i+u)/2.5,t=Math.sqrt(Math.pow(s-r,2)+Math.pow(l-i,2)),u=Math.sqrt(Math.pow(a-r,2)+Math.pow(c-i,2)),s=Math.atan2(l-i,s-r),l=Math.atan2(c-i,a-r),c=Math.PI/2+(s+l)/2,Math.abs(s-c)>Math.PI/2&&(c-=Math.PI),s=r+Math.cos(c)*t,l=i+Math.sin(c)*t,a=r+Math.cos(Math.PI+c)*u,c=i+Math.sin(Math.PI+c)*u,n.rightContX=a,n.rightContY=c),o?(n=["C",e.rightContX||e.plotX,e.rightContY||e.plotY,s||r,l||i,r,i],e.rightContX=e.rightContY=null):n=["M",r,i]):n=e.call(this,t,n,o),n}),h(n,"translate",function(e){var t=this.chart;if(e.call(this),t.polar&&(this.kdByAngle=t.tooltip&&t.tooltip.shared,!this.preventPostTranslate))for(e=this.points,t=e.length;t--;)this.toXY(e[t])}),h(n,"getGraphPath",function(e,t){var n=this;return this.chart.polar&&(t=t||this.points,this.options.connectEnds!==!1&&null!==t[0].y&&(this.connectEnds=!0,t.splice(t.length,0,t[0])),r(t,function(e){void 0===e.polarPlotY&&n.toXY(e)})),e.apply(this,[].slice.call(arguments,1))}),h(n,"animate",e),d.column&&(t=d.column.prototype,h(t,"animate",e),h(t,"translate",function(e){var t,n,o=this.xAxis,r=this.yAxis.len,i=o.center,a=o.startAngleRad,s=this.chart.renderer;if(this.preventPostTranslate=!0,e.call(this),o.isRadial)for(o=this.points,n=o.length;n--;)t=o[n],e=t.barX+a,t.shapeType="path",t.shapeArgs={d:s.symbols.arc(i[0],i[1],r-t.plotY,null,{start:e,end:e+t.pointWidth,innerR:r-l(t.yBottom,r)})},this.toXY(t),t.tooltipPos=[t.plotX,t.plotY],t.ttBelow=t.plotY>i[1]}),h(t,"alignDataLabel",function(e,t,o,r,i,a){this.chart.polar?(e=t.rectPlotX/Math.PI*180,null===r.align&&(r.align=e>20&&e<160?"left":e>200&&e<340?"right":"center"),null===r.verticalAlign&&(r.verticalAlign=e<45||e>315?"bottom":e>135&&e<225?"top":"middle"),n.alignDataLabel.call(this,t,o,r,i,a)):e.call(this,t,o,r,i,a)})),h(o,"getCoordinates",function(e,t){var n=this.chart,o={xAxis:[],yAxis:[]};return n.polar?r(n.axes,function(e){var r=e.isXAxis,i=e.center,a=t.chartX-i[0]-n.plotLeft,i=t.chartY-i[1]-n.plotTop;o[r?"xAxis":"yAxis"].push({axis:e,value:e.translate(r?Math.PI-Math.atan2(a,i):Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),!0)})}):o=e.call(this,t),o})}()})},function(e,t){!function(t,n){"object"==typeof e&&e.exports?e.exports=t.document?n(t):n:t.Highcharts=n(t)}("undefined"!=typeof window?window:this,function(e){e=function(){var e=window,t=e.document,n=e.navigator&&e.navigator.userAgent||"",o=t&&t.createElementNS&&!!t.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,r=/(edge|msie|trident)/i.test(n)&&!window.opera,i=!o,a=/Firefox/.test(n),s=a&&4>parseInt(n.split("Firefox/")[1],10);return e.Highcharts?e.Highcharts.error(16,!0):{product:"Highcharts",version:"5.0.12",deg2rad:2*Math.PI/360,doc:t,hasBidiBug:s,hasTouch:t&&void 0!==t.documentElement.ontouchstart,isMS:r,isWebKit:/AppleWebKit/.test(n),isFirefox:a,isTouchDevice:/(Mobile|Android|Windows Phone)/.test(n),SVG_NS:"http://www.w3.org/2000/svg",chartCount:0,seriesTypes:{},symbolSizes:{},svg:o,vml:i,win:e,marginNames:["plotTop","marginRight","marginBottom","plotLeft"],noop:function(){},charts:[]}}(),function(e){var t=[],n=e.charts,o=e.doc,r=e.win;e.error=function(t,n){if(t=e.isNumber(t)?"Highcharts error #"+t+": www.highcharts.com/errors/"+t:t,n)throw Error(t);r.console&&console.log(t)},e.Fx=function(e,t,n){this.options=t,this.elem=e,this.prop=n},e.Fx.prototype={dSetter:function(){var e,t=this.paths[0],n=this.paths[1],o=[],r=this.now,i=t.length;if(1===r)o=this.toD;else if(i===n.length&&1>r)for(;i--;)e=parseFloat(t[i]),o[i]=isNaN(e)?t[i]:r*parseFloat(n[i]-e)+e;else o=n;this.elem.attr("d",o,null,!0)},update:function(){var e=this.elem,t=this.prop,n=this.now,o=this.options.step;this[t+"Setter"]?this[t+"Setter"]():e.attr?e.element&&e.attr(t,n,null,!0):e.style[t]=n+this.unit,o&&o.call(e,n,this)},run:function(e,n,o){var r,i=this,a=function(e){return!a.stopped&&i.step(e)};this.startTime=+new Date,this.start=e,this.end=n,this.unit=o,this.now=this.start,this.pos=0,a.elem=this.elem,a.prop=this.prop,a()&&1===t.push(a)&&(a.timerId=setInterval(function(){for(r=0;r=s+this.startTime?(this.now=this.end,this.pos=1,this.update(),n=l[this.prop]=!0,e.objectEach(l,function(e){!0!==e&&(n=!1)}),n&&a&&a.call(i),t=!1):(this.pos=r.easing((o-this.startTime)/s),this.now=this.start+(this.end-this.start)*this.pos,this.update(),t=!0),t},initPath:function(t,n,o){function r(e){var t,n;for(c=e.length;c--;)t="M"===e[c]||"L"===e[c],n=/[a-zA-Z]/.test(e[c+3]),t&&n&&e.splice(c+1,0,e[c+1],e[c+2],e[c+1],e[c+2])}function i(e,t){for(;e.lengtha?"AM":"PM",P:12>a?"am":"pm",S:h(i.getSeconds()),L:h(Math.round(n%1e3),3)},e.dateFormats);return e.objectEach(r,function(e,o){for(;-1!==t.indexOf("%"+o);)t=t.replace("%"+o,"function"==typeof e?e(n):e)}),o?t.substr(0,1).toUpperCase()+t.substr(1):t},e.formatSingle=function(t,n){var o=/\.([0-9])/,r=e.defaultOptions.lang;return/f$/.test(t)?(o=(o=t.match(o))?o[1]:-1,null!==n&&(n=e.numberFormat(n,o,r.decimalPoint,-1=o&&(n=[1/o]))),r=0;r=t||!i&&a<=(n[r]+(n[r+1]||n[r]))/2));r++);return s=e.correctFloat(s*o,-Math.round(Math.log(.001)/Math.LN10))},e.stableSort=function(e,t){var n,o,r=e.length;for(o=0;on&&(n=e[t]);return n},e.destroyObjectProperties=function(t,n){e.objectEach(t,function(e,o){e&&e!==n&&e.destroy&&e.destroy(),delete t[o]})},e.discardElement=function(t){var n=e.garbageBin;n||(n=e.createElement("div")),t&&n.appendChild(t),n.innerHTML=""},e.correctFloat=function(e,t){return parseFloat(e.toPrecision(t||14))},e.setAnimation=function(t,n){n.renderer.globalAnimation=e.pick(t,n.options.chart.animation,!0)},e.animObject=function(t){return e.isObject(t)?e.merge(t):{duration:t?500:0}},e.timeUnits={millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},e.numberFormat=function(t,n,o,r){t=+t||0,n=+n;var i,a,s=e.defaultOptions.lang,l=(t.toString().split(".")[1]||"").length;return-1===n?n=Math.min(l,20):e.isNumber(n)||(n=2),a=(Math.abs(t)+Math.pow(10,-Math.max(n,l)-1)).toFixed(n),l=String(e.pInt(a)),i=3t?"-":"")+(i?l.substr(0,i)+r:""),t+=l.substr(i).replace(/(\d{3})(?=\d)/g,"$1"+r),n&&(t+=o+a.slice(-n)),t},Math.easeInOutSine=function(e){return-.5*(Math.cos(Math.PI*e)-1)},e.getStyle=function(t,n,o){return"width"===n?Math.min(t.offsetWidth,t.scrollWidth)-e.getStyle(t,"padding-left")-e.getStyle(t,"padding-right"):"height"===n?Math.min(t.offsetHeight,t.scrollHeight)-e.getStyle(t,"padding-top")-e.getStyle(t,"padding-bottom"):((t=r.getComputedStyle(t,void 0))&&(t=t.getPropertyValue(n),e.pick(o,!0)&&(t=e.pInt(t))),t)},e.inArray=function(e,t){return t.indexOf?t.indexOf(e):[].indexOf.call(t,e)},e.grep=function(e,t){return[].filter.call(e,t)},e.find=function(e,t){return[].find.call(e,t)},e.map=function(e,t){for(var n=[],o=0,r=e.length;o>16,(65280&t)>>8,255&t,1]:4===n&&(r=[(3840&t)>>4|(3840&t)>>8,(240&t)>>4|240&t,(15&t)<<4|15&t,1])),!r)for(i=this.parsers.length;i--&&!r;)a=this.parsers[i],(n=a.regex.exec(t))&&(r=a.parse(n));this.rgba=r||[]},get:function(e){var o,i=this.input,a=this.rgba;return this.stops?(o=r(i),o.stops=[].concat(o.stops),t(this.stops,function(t,n){o.stops[n]=[o.stops[n][0],t.get(e)]})):o=a&&n(a[0])?"rgb"===e||!e&&1===a[3]?"rgb("+a[0]+","+a[1]+","+a[2]+")":"a"===e?a[3]:"rgba("+a.join(",")+")":i,o},brighten:function(e){var o,r=this.rgba;if(this.stops)t(this.stops,function(t){t.brighten(e)});else if(n(e)&&0!==e)for(o=0;3>o;o++)r[o]+=i(255*e),0>r[o]&&(r[o]=0),255n.width)&&(n={width:0,height:0})}else n=this.htmlGetBBox();if(s.isSVG&&(e=n.width,s=n.height,u&&"11px"===u.fontSize&&17===Math.round(s)&&(n.height=s=14),t&&(n.width=Math.abs(s*Math.sin(o))+Math.abs(e*Math.cos(o)),n.height=Math.abs(s*Math.cos(o))+Math.abs(e*Math.sin(o)))),a&&0]*>/g,"")))},textSetter:function(e){e!==this.textStr&&(delete this.bBox,this.textStr=e,this.added&&this.renderer.buildText(this))},fillSetter:function(e,t,n){"string"==typeof e?n.setAttribute(t,e):e&&this.colorGradient(e,t,n)},visibilitySetter:function(e,t,n){"inherit"===e?n.removeAttribute(t):n.setAttribute(t,e)},zIndexSetter:function(e,t){var n,o,r=this.renderer,i=this.parentGroup,a=(i||r).element||r.box,s=this.element;n=this.added;var l;if(c(e)&&(s.zIndex=e,e=+e,this[t]===e&&(n=!1),this[t]=e),n){for((e=this.zIndex)&&i&&(i.handleZ=!0),t=a.childNodes,l=0;le||!c(e)&&c(n)||0>e&&!c(n)&&a!==r.box)&&(a.insertBefore(s,i),o=!0);o||a.appendChild(s)}return o},_defaultSetter:function(e,t,n){n.setAttribute(t,e)}}),t.prototype.yGetter=t.prototype.xGetter,t.prototype.translateXSetter=t.prototype.translateYSetter=t.prototype.rotationSetter=t.prototype.verticalAlignSetter=t.prototype.scaleXSetter=t.prototype.scaleYSetter=function(e,t){this[t]=e,this.doTransform=!0},t.prototype["stroke-widthSetter"]=t.prototype.strokeSetter=function(e,n,o){this[n]=e,this.stroke&&this["stroke-width"]?(t.prototype.fillSetter.call(this,this.stroke,"stroke",o),o.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===n&&0===e&&this.hasStroke&&(o.removeAttribute("stroke"),this.hasStroke=!1)},n=e.SVGRenderer=function(){this.init.apply(this,arguments)},m(n.prototype,{Element:t,SVG_NS:R,init:function(e,t,n,r,a,s){var u;r=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}).css(this.getStyle(r)),u=r.element,e.appendChild(u),-1===e.innerHTML.indexOf("xmlns")&&i(u,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=u,this.boxWrapper=r,this.alignedObjects=[],this.url=(_||O)&&p.getElementsByTagName("base").length?j.location.href.replace(/#.*?$/,"").replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20"):"",this.createElement("desc").add().element.appendChild(p.createTextNode("Created with Highcharts 5.0.12")),this.defs=this.createElement("defs").add(),this.allowHTML=s,this.forExport=a,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(t,n,!1);var c;_&&e.getBoundingClientRect&&(t=function(){l(e,{left:0,top:0}),c=e.getBoundingClientRect(),l(e,{left:Math.ceil(c.left)-c.left+"px",top:Math.ceil(c.top)-c.top+"px"})},t(),this.unSubPixelFix=o(j,"resize",t))},getStyle:function(e){return this.style=m({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},e)},setStyle:function(e){this.boxWrapper.css(this.getStyle(e))},isHidden:function(){return!this.boxWrapper.getBBox().width},destroy:function(){var e=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),f(this.gradients||{}),this.gradients=null,e&&(this.defs=e.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},createElement:function(e){var t=new this.Element;return t.init(this,e),t},draw:T,getRadialAttr:function(e,t){return{cx:e[0]-e[2]/2+t.cx*e[2],cy:e[1]-e[2]/2+t.cy*e[2],r:t.r*e[2]}},getSpanWidth:function(e,t){var n=e.getBBox(!0).width;return!D&&this.forExport&&(n=this.measureSpanWidth(t.firstChild.data,e.styles)),n},applyEllipsis:function(e,t,n,o){var r,i=this.getSpanWidth(e,t),a=i>o,i=n,s=0,l=n.length,u=function(e){t.removeChild(t.firstChild),e&&t.appendChild(p.createTextNode(e))};if(a){for(;s<=l;)r=Math.ceil((s+l)/2),i=n.substring(0,r)+"…",u(i),i=this.getSpanWidth(e,t),s===l?s=l+1:i>o?l=r-1:s=r;0===l&&u("")}return a},buildText:function(e){var t,n,o,r,a,s,u=e.element,c=this,d=c.forExport,f=P(e.textStr,"").toString(),m=-1!==f.indexOf("<"),v=u.childNodes,g=i(u,"x"),b=e.styles,E=e.textWidth,_=b&&b.lineHeight,x=b&&b.textOutline,w=b&&"ellipsis"===b.textOverflow,C=b&&"nowrap"===b.whiteSpace,O=b&&b.fontSize,N=v.length,b=E&&!e.added&&this.box,T=function(e){var t;return t=/(px|em)$/.test(e&&e.style.fontSize)?e.style.fontSize:O||c.style.fontSize||12,_?S(_):c.fontMetrics(t,e.getAttribute("style")?e:u).h};if(a=[f,w,C,_,x,O,E].join(),a!==e.textCache){for(e.textCache=a;N--;)u.removeChild(v[N]);m||x||w||E||-1!==f.indexOf(" ")?(t=/<.*class="([^"]+)".*>/,n=/<.*style="([^"]+)".*>/,o=/<.*href="([^"]+)".*>/,b&&b.appendChild(u),f=m?f.replace(/<(b|strong)>/g,'').replace(/<(i|em)>/g,'').replace(//g,"").split(//g):[f],f=y(f,function(e){return""!==e}),h(f,function(a,f){var m,v=0;a=a.replace(/^\s+|\s+$/g,"").replace(//g,"|||"),m=a.split("|||"),h(m,function(a){if(""!==a||1===m.length){var h,y,b={},_=p.createElementNS(c.SVG_NS,"tspan");if(t.test(a)&&(h=a.match(t)[1],i(_,"class",h)),n.test(a)&&(y=a.match(n)[1].replace(/(;| |^)color([ :])/,"$1fill$2"),i(_,"style",y)),o.test(a)&&!d&&(i(_,"onclick",'location.href="'+a.match(o)[1]+'"'),l(_,{cursor:"pointer"})),a=(a.replace(/<(.|\n)*?>/g,"")||" ").replace(/</g,"<").replace(/>/g,">")," "!==a){if(_.appendChild(p.createTextNode(a)),v?b.dx=0:f&&null!==g&&(b.x=g),i(_,b),u.appendChild(_),!v&&s&&(!D&&d&&l(_,{display:"block"}),i(_,"dy",T(_))),E){b=a.replace(/([^\^])-/g,"$1- ").split(" "),h=1E,void 0===r&&(r=a),a&&1!==b.length?(_.removeChild(_.firstChild),O.unshift(b.pop())):(b=O,O=[],b.length&&!C&&(_=p.createElementNS(R,"tspan"),i(_,{dy:N,x:g}),y&&i(_,"style",y),u.appendChild(_)),x>E&&(E=x)),b.length&&_.appendChild(p.createTextNode(b.join(" ").replace(/- /g,"-")));e.rotation=k}v++}}}),s=s||u.childNodes.length}),r&&e.attr("title",e.textStr),b&&b.removeChild(u),x&&e.applyTextOutline&&e.applyTextOutline(x)):u.appendChild(p.createTextNode(f.replace(/</g,"<").replace(/>/g,">")))}},getContrast:function(e){return e=s(e).rgba,510n?r>t+a&&rs?r>t+a&&ro&&s>e+a&&sr&&s>e+a&&se?e+3:Math.round(1.2*e),{h:t,b:Math.round(.8*t),f:e}},rotCorr:function(e,t,n){var o=e;return t&&n&&(o=Math.max(o*Math.cos(t*d),4)),{x:-e/3*Math.sin(t*d),y:o}},label:function(n,o,r,i,a,s,l,u,d){var f,p,v,y,g,b,E,_,x,w,C,O,T,k=this,P=k.g("button"!==d&&"label"),S=P.text=k.text("",0,0,l).attr({zIndex:1}),A=0,D=3,R=0,I={},j=/^url\((.*?)\)$/.test(i),L=j;d&&P.addClass("highcharts-"+d),L=j,w=function(){return(_||0)%2/2},C=function(){var e=S.element.style,t={};p=(void 0===v||void 0===y||E)&&c(S.textStr)&&S.getBBox(),P.width=(v||p.width||0)+2*D+R,P.height=(y||p.height||0)+2*D,x=D+k.fontMetrics(e&&e.fontSize,S).b,L&&(f||(P.box=f=k.symbols[i]||j?k.symbol(i):k.rect(),f.addClass(("button"===d?"":"highcharts-label-box")+(d?" highcharts-"+d+"-box":"")),f.add(P),e=w(),t.x=e,t.y=(u?-x:0)+e),t.width=Math.round(P.width),t.height=Math.round(P.height),f.attr(m(t,I)),I={})},O=function(){var e,t=R+D;e=u?0:x,c(v)&&p&&("center"===E||"right"===E)&&(t+={center:.5,right:1}[E]*(v-p.width)),t===S.x&&e===S.y||(S.attr("x",t),void 0!==e&&S.attr("y",e)),S.x=t,S.y=e},T=function(e,t){f?f.attr(e,t):I[e]=t},P.onAdd=function(){S.add(P),P.attr({text:n||0===n?n:"",x:o,y:r}),f&&c(a)&&P.attr({anchorX:a,anchorY:s})},P.widthSetter=function(t){v=e.isNumber(t)?t:null},P.heightSetter=function(e){y=e},P["text-alignSetter"]=function(e){E=e},P.paddingSetter=function(e){c(e)&&e!==D&&(D=P.padding=e,O())},P.paddingLeftSetter=function(e){c(e)&&e!==R&&(R=e,O())},P.alignSetter=function(e){e={left:0,center:.5,right:1}[e],e!==A&&(A=e,p&&P.attr({x:g}))},P.textSetter=function(e){void 0!==e&&S.textSetter(e),C(),O()},P["stroke-widthSetter"]=function(e,t){e&&(L=!0),_=this["stroke-width"]=e,T(t,e)},P.strokeSetter=P.fillSetter=P.rSetter=function(e,t){"fill"===t&&e&&(L=!0),T(t,e)},P.anchorXSetter=function(e,t){a=P.anchorX=e,T(t,Math.round(e)-w()-g)},P.anchorYSetter=function(e,t){s=P.anchorY=e,T(t,e-b)},P.xSetter=function(e){P.x=e,A&&(e-=A*((v||p.width)+2*D)),g=Math.round(e),P.attr("translateX",g)},P.ySetter=function(e){b=P.y=Math.round(e),P.attr("translateY",b)};var B=P.css;return m(P,{css:function(e){if(e){var t={};e=N(e),h(P.textProps,function(n){void 0!==e[n]&&(t[n]=e[n],delete e[n])}),S.css(t)}return B.call(P,e)},getBBox:function(){return{width:p.width+2*D,height:p.height+2*D,x:p.x-D,y:p.y-D}},shadow:function(e){return e&&(C(),f&&f.shadow(e)),P},destroy:function(){M(P.element,"mouseenter"),M(P.element,"mouseleave"),S&&(S=S.destroy()),f&&(f=f.destroy()),t.prototype.destroy.call(P),P=k=C=O=T=null}})}}),e.Renderer=n}(e),function(e){var t=e.attr,n=e.createElement,o=e.css,r=e.defined,i=e.each,a=e.extend,s=e.isFirefox,l=e.isMS,u=e.isWebKit,c=e.pInt,d=e.SVGRenderer,f=e.win,p=e.wrap;a(e.SVGElement.prototype,{htmlCss:function(e){var t=this.element;return(t=e&&"SPAN"===t.tagName&&e.width)&&(delete e.width,this.textWidth=t,this.updateTransform()),e&&"ellipsis"===e.textOverflow&&(e.whiteSpace="nowrap",e.overflow="hidden"),this.styles=a(this.styles,e),o(this.element,e),this},htmlGetBBox:function(){var e=this.element;return"text"===e.nodeName&&(e.style.position="absolute"),{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}},htmlUpdateTransform:function(){if(this.added){var e=this.renderer,t=this.element,n=this.translateX||0,a=this.translateY||0,s=this.x||0,l=this.y||0,d=this.textAlign||"left",f={left:0,center:.5,right:1}[d],p=this.styles;if(o(t,{marginLeft:n,marginTop:a}),this.shadows&&i(this.shadows,function(e){o(e,{marginLeft:n+1,marginTop:a+1})}),this.inverted&&i(t.childNodes,function(n){e.invertChild(n,t)}),"SPAN"===t.tagName){var h=this.rotation,m=c(this.textWidth),v=p&&p.whiteSpace,y=[h,d,t.innerHTML,this.textWidth,this.textAlign].join();y!==this.cTT&&(p=e.fontMetrics(t.style.fontSize).b,r(h)&&this.setSpanRotation(h,f,p),o(t,{width:"",whiteSpace:v||"nowrap"}),t.offsetWidth>m&&/[ \-]/.test(t.textContent||t.innerText)&&o(t,{width:m+"px",display:"block",whiteSpace:v||"normal"}),this.getSpanCorrection(t.offsetWidth,p,f,h,d)),o(t,{left:s+(this.xCorr||0)+"px",top:l+(this.yCorr||0)+"px"}),u&&(p=t.offsetHeight),this.cTT=y}}else this.alignOnAdd=!0},setSpanRotation:function(e,t,n){var r={},i=l?"-ms-transform":u?"-webkit-transform":s?"MozTransform":f.opera?"-o-transform":"";r[i]=r.transform="rotate("+e+"deg)",r[i+(s?"Origin":"-origin")]=r.transformOrigin=100*t+"% "+n+"px",o(this.element,r)},getSpanCorrection:function(e,t,n){this.xCorr=-e*n,this.yCorr=-t}}),a(d.prototype,{html:function(e,o,r){var s=this.createElement("span"),l=s.element,u=s.renderer,c=u.isSVG,d=function(e,t){i(["opacity","visibility"],function(n){p(e,n+"Setter",function(e,n,o,r){e.call(this,n,o,r),t[o]=n})})};return s.textSetter=function(e){e!==l.innerHTML&&delete this.bBox,l.innerHTML=this.textStr=e,s.htmlUpdateTransform()},c&&d(s,s.element.style),s.xSetter=s.ySetter=s.alignSetter=s.rotationSetter=function(e,t){"align"===t&&(t="textAlign"),s[t]=e,s.htmlUpdateTransform()},s.attr({text:e,x:Math.round(o),y:Math.round(r)}).css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize,position:"absolute"}),l.style.whiteSpace="nowrap",s.css=s.htmlCss,c&&(s.add=function(e){var o,r=u.box.parentNode,c=[];if(this.parentGroup=e){if(o=e.div,!o){for(;e;)c.push(e),e=e.parentGroup;i(c.reverse(),function(e){var i,l=t(e.element,"class");l&&(l={className:l}),o=e.div=e.div||n("div",l,{position:"absolute",left:(e.translateX||0)+"px",top:(e.translateY||0)+"px",display:e.display,opacity:e.opacity,pointerEvents:e.styles&&e.styles.pointerEvents},o||r),i=o.style,a(e,{on:function(){return s.on.apply({element:c[0].div},arguments),e},translateXSetter:function(t,n){i.left=t+"px",e[n]=t,e.doTransform=!0},translateYSetter:function(t,n){i.top=t+"px",e[n]=t,e.doTransform=!0}}),d(e,i)})}}else o=r;return o.appendChild(l),s.added=!0,s.alignOnAdd&&s.htmlUpdateTransform(),s}),s}})}(e),function(e){var t,n,o=e.createElement,r=e.css,i=e.defined,a=e.deg2rad,s=e.discardElement,l=e.doc,u=e.each,c=e.erase,d=e.extend;t=e.extendClass;var f=e.isArray,p=e.isNumber,h=e.isObject,m=e.merge;n=e.noop;var v=e.pick,y=e.pInt,g=e.SVGElement,b=e.SVGRenderer,E=e.win;e.svg||(n={docMode8:l&&8===l.documentMode,init:function(e,t){var n=["<",t,' filled="f" stroked="f"'],r=["position: ","absolute",";"],i="div"===t;("shape"===t||i)&&r.push("left:0;top:0;width:1px;height:1px;"),r.push("visibility: ",i?"hidden":"visible"),n.push(' style="',r.join(""),'"/>'),t&&(n=i||"span"===t||"img"===t?n.join(""):e.prepVML(n),this.element=o(n)),this.renderer=e},add:function(e){var t=this.renderer,n=this.element,o=t.box,r=e&&e.inverted,o=e?e.element||e:o;return e&&(this.parentGroup=e),r&&t.invertChild(n,o),o.appendChild(n),this.added=!0,this.alignOnAdd&&!this.deferUpdateTransform&&this.updateTransform(),this.onAdd&&this.onAdd(),this.className&&this.attr("class",this.className),this},updateTransform:g.prototype.htmlUpdateTransform,setSpanRotation:function(){var e=this.rotation,t=Math.cos(e*a),n=Math.sin(e*a);r(this.element,{filter:e?["progid:DXImageTransform.Microsoft.Matrix(M11=",t,", M12=",-n,", M21=",n,", M22=",t,", sizingMethod='auto expand')"].join(""):"none"})},getSpanCorrection:function(e,t,n,o,i){var s,l=o?Math.cos(o*a):1,u=o?Math.sin(o*a):0,c=v(this.elemHeight,this.element.offsetHeight);this.xCorr=0>l&&-e,this.yCorr=0>u&&-c,s=0>l*u,this.xCorr+=u*t*(s?1-n:n),this.yCorr-=l*t*(o?s?n:1-n:1),i&&"left"!==i&&(this.xCorr-=e*n*(0>l?-1:1),o&&(this.yCorr-=c*n*(0>u?-1:1)),r(this.element,{textAlign:i}))},pathToVML:function(e){for(var t=e.length,n=[];t--;)p(e[t])?n[t]=Math.round(10*e[t])-5:"Z"===e[t]?n[t]="x":(n[t]=e[t],!e.isArc||"wa"!==e[t]&&"at"!==e[t]||(n[t+5]===n[t+7]&&(n[t+7]+=e[t+7]>e[t+5]?1:-1),n[t+6]===n[t+8]&&(n[t+8]+=e[t+8]>e[t+6]?1:-1)));return n.join(" ")||"x"},clip:function(e){var t,n=this;return e?(t=e.members,c(t,n),t.push(n),n.destroyClip=function(){c(t,n)},e=e.getCSS(n)):(n.destroyClip&&n.destroyClip(),e={clip:n.docMode8?"inherit":"rect(auto)"}),n.css(e)},css:g.prototype.htmlCss,safeRemoveChild:function(e){e.parentNode&&s(e)},destroy:function(){return this.destroyClip&&this.destroyClip(),g.prototype.destroy.apply(this)},on:function(e,t){return this.element["on"+e]=function(){var e=E.event;e.target=e.srcElement,t(e)},this},cutOffPath:function(e,t){var n;return e=e.split(/[ ,]/),n=e.length,9!==n&&11!==n||(e[n-4]=e[n-2]=y(e[n-2])-10*t),e.join(" ")},shadow:function(e,t,n){var r,i,a,s,l,u,c,d=[],f=this.element,p=this.renderer,h=f.style,m=f.path;if(m&&"string"!=typeof m.value&&(m="x"),l=m,e){for(u=v(e.width,3),c=(e.opacity||.15)/u,r=1;3>=r;r++)s=2*u+1-2*r,n&&(l=this.cutOffPath(m.value,s+.5)),a=[''],i=o(p.prepVML(a),null,{left:y(h.left)+v(e.offsetX,1),top:y(h.top)+v(e.offsetY,1)}),n&&(i.cutOff=s+1),a=[''],o(p.prepVML(a),null,null,i),t?t.element.appendChild(i):f.parentNode.insertBefore(i,f),d.push(i);this.shadows=d}return this},updateShadows:n,setAttr:function(e,t){this.docMode8?this.element[e]=t:this.element.setAttribute(e,t)},classSetter:function(e){(this.added?this.element:this).className=e},dashstyleSetter:function(e,t,n){(n.getElementsByTagName("stroke")[0]||o(this.renderer.prepVML([""]),null,null,n))[t]=e||"solid",this[t]=e},dSetter:function(e,t,n){var o=this.shadows;if(e=e||[],this.d=e.join&&e.join(" "),n.path=e=this.pathToVML(e),o)for(n=o.length;n--;)o[n].path=o[n].cutOff?this.cutOffPath(e,o[n].cutOff):e;this.setAttr(t,e)},fillSetter:function(e,t,n){var o=n.nodeName;"SPAN"===o?n.style.color=e:"IMG"!==o&&(n.filled="none"!==e,this.setAttr("fillcolor",this.renderer.color(e,n,t,this)))},"fill-opacitySetter":function(e,t,n){o(this.renderer.prepVML(["<",t.split("-")[0],' opacity="',e,'"/>']),null,null,n)},opacitySetter:n,rotationSetter:function(e,t,n){n=n.style,this[t]=n[t]=e,n.left=-Math.round(Math.sin(e*a)+1)+"px",n.top=Math.round(Math.cos(e*a))+"px"},strokeSetter:function(e,t,n){this.setAttr("strokecolor",this.renderer.color(e,n,t,this))},"stroke-widthSetter":function(e,t,n){n.stroked=!!e,this[t]=e,p(e)&&(e+="px"),this.setAttr("strokeweight",e)},titleSetter:function(e,t){this.setAttr(t,e)},visibilitySetter:function(e,t,n){"inherit"===e&&(e="visible"),this.shadows&&u(this.shadows,function(n){n.style[t]=e}),"DIV"===n.nodeName&&(e="hidden"===e?"-999em":0,this.docMode8||(n.style[t]=e?"visible":"hidden"),t="top"),n.style[t]=e},xSetter:function(e,t,n){this[t]=e,"x"===t?t="left":"y"===t&&(t="top"),this.updateClipping?(this[t]=e,this.updateClipping()):n.style[t]=e},zIndexSetter:function(e,t,n){n.style[t]=e}},n["stroke-opacitySetter"]=n["fill-opacitySetter"],e.VMLElement=n=t(g,n),n.prototype.ySetter=n.prototype.widthSetter=n.prototype.heightSetter=n.prototype.xSetter,n={Element:n,isIE8:-1'],o(c.prepVML(s),null,null,n)};if(m=t[0],x=t[t.length-1],0x[0]&&t.push([1,x[1]]),u(t,function(t,n){d.test(t[1])?(a=e.color(t[1]),p=a.get("rgb"),h=a.get("a")):(p=t[1],h=1),w.push(100*t[0]+"% "+p),n?(y=h,g=p):(v=h,b=p)}),"fill"===r)if("gradient"===l)r=E.x1||E[0]||0,t=E.y1||E[1]||0,m=E.x2||E[2]||0,E=E.y2||E[3]||0,_='angle="'+(90-180*Math.atan((E-t)/(m-r))/Math.PI)+'"',C();else{var O,f=E.r,N=2*f,T=2*f,k=E.cx,P=E.cy,S=n.radialReference,f=function(){S&&(O=i.getBBox(),k+=(S[0]-O.x)/O.width-.5,P+=(S[1]-O.y)/O.height-.5,N*=S[2]/O.width,T*=S[2]/O.height),_='src="'+e.getOptions().global.VMLRadialGradientURL+'" size="'+N+","+T+'" origin="0.5,0.5" position="'+k+","+P+'" color2="'+b+'" ',C()};i.added?f():i.onAdd=f,f=g}else f=p}else d.test(t)&&"IMG"!==n.tagName?(a=e.color(t),i[r+"-opacitySetter"](a.get("a"),r,n),f=a.get("rgb")):(f=n.getElementsByTagName(r),f.length&&(f[0].opacity=1,f[0].type="solid"),f=t);return f},prepVML:function(e){var t=this.isIE8;return e=e.join(""),t?(e=e.replace("/>",' xmlns="urn:schemas-microsoft-com:vml" />'),e=-1===e.indexOf('style="')?e.replace("/>",' style="display:inline-block;behavior:url(#default#VML);" />'):e.replace('style="','style="display:inline-block;behavior:url(#default#VML);')):e=e.replace("<","{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"}},e.setOptions=function(t){return e.defaultOptions=a(!0,e.defaultOptions,t),n(),e.defaultOptions},e.getOptions=function(){return e.defaultOptions},e.defaultPlotOptions=e.defaultOptions.plotOptions,n()}(e),function(e){var t=e.correctFloat,n=e.defined,o=e.destroyObjectProperties,r=e.isNumber,i=e.merge,a=e.pick,s=e.deg2rad;e.Tick=function(e,t,n,o){this.axis=e,this.pos=t,this.type=n||"",this.isNewLabel=this.isNew=!0,n||o||this.addLabel()},e.Tick.prototype={addLabel:function(){var e,o=this.axis,r=o.options,s=o.chart,l=o.categories,u=o.names,c=this.pos,d=r.labels,f=o.tickPositions,p=c===f[0],h=c===f[f.length-1],u=l?a(l[c],u[c],c):c,l=this.label,f=f.info;o.isDatetimeAxis&&f&&(e=r.dateTimeLabelFormats[f.higherRanks[c]||f.unitName]),this.isFirst=p,this.isLast=h,r=o.labelFormatter.call({axis:o,chart:s,isFirst:p,isLast:h,dateTimeLabelFormat:e,value:o.isLog?t(o.lin2log(u)):u}),n(l)?l&&l.attr({text:r}):(this.labelLength=(this.label=l=n(r)&&d.enabled?s.renderer.text(r,0,0,d.useHTML).css(i(d.style)).add(o.labelGroup):null)&&l.getBBox().width,this.rotation=0)},getLabelSize:function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},handleOverflow:function(e){var t,n=this.axis,o=e.x,r=n.chart.chartWidth,i=n.chart.spacing,l=a(n.labelLeft,Math.min(n.pos,i[3])),i=a(n.labelRight,Math.max(n.pos+n.len,r-i[1])),u=this.label,c=this.rotation,d={left:0,center:.5,right:1}[n.labelAlign],f=u.getBBox().width,p=n.getSlotWidth(),h=p,m=1,v={};c?0>c&&o-d*fi&&(t=Math.round((r-o)/Math.cos(c*s))):(r=o+(1-d)*f,o-d*fi&&(h=i-e.x+h*d,m=-1),h=Math.min(p,h),hh||n.autoRotation&&(u.styles||{}).width)&&(t=h)),t&&(v.width=t,(n.options.labels.style||{}).textOverflow||(v.textOverflow="ellipsis"),u.css(v))},getPosition:function(e,t,n,o){var r=this.axis,i=r.chart,a=o&&i.oldChartHeight||i.chartHeight;return{x:e?r.translate(t+n,null,null,o)+r.transB:r.left+r.offset+(r.opposite?(o&&i.oldChartWidth||i.chartWidth)-r.right-r.left:0),y:e?a-r.bottom+r.offset-(r.opposite?r.height:0):a-r.translate(t+n,null,null,o)-r.transB}},getLabelPosition:function(e,t,o,r,i,a,l,u){var c=this.axis,d=c.transA,f=c.reversed,p=c.staggerLines,h=c.tickRotCorr||{x:0,y:0},m=i.y;return n(m)||(m=0===c.side?o.rotation?-8:-o.getBBox().height:2===c.side?h.y+8:Math.cos(o.rotation*s)*(h.y-o.getBBox(!1,0).height/2)),e=e+i.x+h.x-(a&&r?a*d*(f?-1:1):0),t=t+m-(a&&!r?a*d*(f?1:-1):0),p&&(o=l/(u||1)%p,c.opposite&&(o=p-o-1),t+=c.labelOffset/p*o),{x:e,y:Math.round(t)}},getMarkPath:function(e,t,n,o,r,i){return i.crispLine(["M",e,t,"L",e+(r?0:-n),t+(r?n:0)],o)},renderGridLine:function(e,t,n){var o=this.axis,r=o.options,i=this.gridLine,a={},s=this.pos,l=this.type,u=o.tickmarkOffset,c=o.chart.renderer,d=l?l+"Grid":"grid",f=r[d+"LineWidth"],p=r[d+"LineColor"],r=r[d+"LineDashStyle"];i||(a.stroke=p,a["stroke-width"]=f,r&&(a.dashstyle=r),l||(a.zIndex=1),e&&(a.opacity=0),this.gridLine=i=c.path().attr(a).addClass("highcharts-"+(l?l+"-":"")+"grid-line").add(o.gridGroup)),!e&&i&&(e=o.getPlotLinePath(s+u,i.strokeWidth()*n,e,!0))&&i[this.isNew?"attr":"animate"]({d:e,opacity:t})},renderMark:function(e,t,n){var o=this.axis,r=o.options,i=o.chart.renderer,s=this.type,l=s?s+"Tick":"tick",u=o.tickSize(l),c=this.mark,d=!c,f=e.x;e=e.y;var p=a(r[l+"Width"],!s&&o.isXAxis?1:0),r=r[l+"Color"];u&&(o.opposite&&(u[0]=-u[0]),d&&(this.mark=c=i.path().addClass("highcharts-"+(s?s+"-":"")+"tick").add(o.axisGroup),c.attr({stroke:r,"stroke-width":p})),c[d?"attr":"animate"]({d:this.getMarkPath(f,e,u[0],c.strokeWidth()*n,o.horiz,i),opacity:t}))},renderLabel:function(e,t,n,o){var i=this.axis,s=i.horiz,l=i.options,u=this.label,c=l.labels,d=c.step,f=i.tickmarkOffset,p=!0,h=e.x;e=e.y,u&&r(h)&&(u.xy=e=this.getLabelPosition(h,e,u,s,c,f,o,d),this.isFirst&&!this.isLast&&!a(l.showFirstLabel,1)||this.isLast&&!this.isFirst&&!a(l.showLastLabel,1)?p=!1:!s||i.isRadial||c.step||c.rotation||t||0===n||this.handleOverflow(e),d&&o%d&&(p=!1),p&&r(e.y)?(e.opacity=n,u[this.isNewLabel?"attr":"animate"](e),this.isNewLabel=!1):(u.attr("y",-9999),this.isNewLabel=!0),this.isNew=!1)},render:function(e,t,n){var o=this.axis,r=o.horiz,i=this.getPosition(r,this.pos,o.tickmarkOffset,t),s=i.x,l=i.y,o=r&&s===o.pos+o.len||!r&&l===o.pos?-1:1;n=a(n,1),this.isActive=!0,this.renderGridLine(t,n,o),this.renderMark(i,n,o),this.renderLabel(i,t,n,e)},destroy:function(){o(this,this.axis)}}}(e);var t=function(e){var t=e.addEvent,n=e.animObject,o=e.arrayMax,r=e.arrayMin,i=e.color,a=e.correctFloat,s=e.defaultOptions,l=e.defined,u=e.deg2rad,c=e.destroyObjectProperties,d=e.each,f=e.extend,p=e.fireEvent,h=e.format,m=e.getMagnitude,v=e.grep,y=e.inArray,g=e.isArray,b=e.isNumber,E=e.isString,_=e.merge,x=e.normalizeTickInterval,w=e.objectEach,C=e.pick,O=e.removeEvent,N=e.splat,T=e.syncTimeout,k=e.Tick,P=function(){this.init.apply(this,arguments)};return e.extend(P.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:{enabled:!1,formatter:function(){return e.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(e,n){var o=n.isX,r=this;r.chart=e,r.horiz=e.inverted&&!r.isZAxis?!o:o,r.isXAxis=o,r.coll=r.coll||(o?"xAxis":"yAxis"),r.opposite=n.opposite,r.side=n.side||(r.horiz?r.opposite?0:2:r.opposite?1:3),r.setOptions(n);var i=this.options,a=i.type;r.labelFormatter=i.labels.formatter||r.defaultLabelFormatter,r.userOptions=n,r.minPixelPadding=0,r.reversed=i.reversed,r.visible=!1!==i.visible,r.zoomEnabled=!1!==i.zoomEnabled,r.hasNames="category"===a||!0===i.categories,r.categories=i.categories||r.hasNames,r.names=r.names||[],r.plotLinesAndBandsGroups={},r.isLog="logarithmic"===a,r.isDatetimeAxis="datetime"===a,r.positiveValuesOnly=r.isLog&&!r.allowNegativeLog,r.isLinked=l(i.linkedTo),r.ticks={},r.labelEdge=[],r.minorTicks={},r.plotLinesAndBands=[],r.alternateBands={},r.len=0,r.minRange=r.userMinRange=i.minRange||i.maxZoom,r.range=i.range,r.offset=i.offset||0,r.stacks={},r.oldStacks={},r.stacksTouched=0,r.max=null,r.min=null,r.crosshair=C(i.crosshair,N(e.options.tooltip.crosshairs)[o?0:1],!1),n=r.options.events,-1===y(r,e.axes)&&(o?e.axes.splice(e.xAxis.length,0,r):e.axes.push(r),e[r.coll].push(r)),r.series=r.series||[],e.inverted&&!r.isZAxis&&o&&void 0===r.reversed&&(r.reversed=!0),w(n,function(e,n){t(r,n,e)}),r.lin2log=i.linearToLogConverter||r.lin2log,r.isLog&&(r.val2lin=r.log2lin,r.lin2val=r.lin2log)},setOptions:function(e){this.options=_(this.defaultOptions,"yAxis"===this.coll&&this.defaultYAxisOptions,[this.defaultTopAxisOptions,this.defaultRightAxisOptions,this.defaultBottomAxisOptions,this.defaultLeftAxisOptions][this.side],_(s[this.coll],e))},defaultLabelFormatter:function(){var t,n=this.axis,o=this.value,r=n.categories,i=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(o):n.tickInterval;if(c)t=h(c,this);else if(r)t=o;else if(i)t=e.dateFormat(i,o);else if(u&&1e3<=n)for(;u--&&void 0===t;)r=Math.pow(a,u+1),n>=r&&0===10*o%r&&null!==l[u]&&0!==o&&(t=e.numberFormat(o/r,-1)+l[u]);return void 0===t&&(t=1e4<=Math.abs(o)?e.numberFormat(o,-1):e.numberFormat(o,-1,void 0,"")),t},getSeriesExtremes:function(){var e=this,t=e.chart;e.hasVisibleSeries=!1,e.dataMin=e.dataMax=e.threshold=null,e.softThreshold=!e.isXAxis,e.buildStacks&&e.buildStacks(),d(e.series,function(n){if(n.visible||!t.options.chart.ignoreHiddenSeries){var i,a=n.options,s=a.threshold;e.hasVisibleSeries=!0,e.positiveValuesOnly&&0>=s&&(s=null),e.isXAxis?(a=n.xData,a.length&&(n=r(a),b(n)||n instanceof Date||(a=v(a,function(e){return b(e)}),n=r(a)),e.dataMin=Math.min(C(e.dataMin,a[0]),n),e.dataMax=Math.max(C(e.dataMax,a[0]),o(a)))):(n.getExtremes(),i=n.dataMax,n=n.dataMin,l(n)&&l(i)&&(e.dataMin=Math.min(C(e.dataMin,n),n),e.dataMax=Math.max(C(e.dataMax,i),i)),l(s)&&(e.threshold=s),(!a.softThreshold||e.positiveValuesOnly)&&(e.softThreshold=!1))}})},translate:function(e,t,n,o,r,i){var a=this.linkedParent||this,s=1,l=0,u=o?a.oldTransA:a.transA;o=o?a.oldMin:a.min;var c=a.minPixelPadding;return r=(a.isOrdinal||a.isBroken||a.isLog&&r)&&a.lin2val,u||(u=a.transA),n&&(s*=-1,l=a.len),a.reversed&&(s*=-1,l-=s*(a.sector||a.len)),t?(e=(e*s+l-c)/u+o,r&&(e=a.lin2val(e))):(r&&(e=a.val2lin(e)),e=s*(e-o)*u+l+s*c+(b(i)?u*i:0)),e},toPixels:function(e,t){return this.translate(e,!1,!this.horiz,null,!0)+(t?0:this.pos)},toValue:function(e,t){return this.translate(e-(t?0:this.pos),!0,!this.horiz,null,!0)},getPlotLinePath:function(e,t,n,o,r){var i,a,s,l=this.chart,u=this.left,c=this.top,d=n&&l.oldChartHeight||l.chartHeight,f=n&&l.oldChartWidth||l.chartWidth;i=this.transB;var p=function(e,t,n){return(en)&&(o?e=Math.min(Math.max(t,e),n):s=!0),e};return r=C(r,this.translate(e,null,null,n)),e=n=Math.round(r+i),i=a=Math.round(d-r-i),b(r)?this.horiz?(i=c,a=d-this.bottom,e=n=p(e,u,u+this.width)):(e=u,n=f-this.right,i=a=p(i,c,c+this.height)):s=!0,s&&!o?null:l.renderer.crispLine(["M",e,i,"L",n,a],t||1)},getLinearTickPositions:function(e,t,n){var o,r=a(Math.floor(t/e)*e);n=a(Math.ceil(n/e)*e);var i=[];if(this.single)return[t];for(t=r;t<=n&&(i.push(t),t=a(t+e),t!==o);)o=t;return i},getMinorTickPositions:function(){var e=this,t=e.options,n=e.tickPositions,o=e.minorTickInterval,r=[],i=e.pointRangePadding||0,a=e.min-i,i=e.max+i,s=i-a;if(s&&s/o=this.minRange,c=this.minRange,e=(c-h+p)/2,e=[p-e,C(f.min,p-e)],t&&(e[2]=this.isLog?this.log2lin(this.dataMin):this.dataMin),p=o(e),h=[p+c,C(f.max,p+c)],t&&(h[2]=this.isLog?this.log2lin(this.dataMax):this.dataMax),h=r(h),h-p=T?(n=T,_=0):s.dataMax<=T&&(o=T,E=0)),s.min=C(r,n,s.dataMin),s.max=C(i,o,s.dataMax)),f&&(s.positiveValuesOnly&&!t&&0>=Math.min(s.min,C(s.dataMin,s.min))&&e.error(10,1),s.min=a(h(s.min),15),s.max=a(h(s.max),15)),s.range&&l(s.max)&&(s.userMin=s.min=r=Math.max(s.min,s.minFromRange()),s.userMax=i=s.max,s.range=null),p(s,"foundExtremes"),s.beforePadding&&s.beforePadding(),s.adjustForMinRange(),!(N||s.axisPointRange||s.usePercentage||g)&&l(s.min)&&l(s.max)&&(h=s.max-s.min)&&(!l(r)&&_&&(s.min-=h*_),!l(i)&&E&&(s.max+=h*E)),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)),k&&l(s.dataMin)&&(T=T||0,!l(r)&&s.min=T?s.min=T:!l(i)&&s.max>T&&s.dataMax<=T&&(s.max=T)),s.tickInterval=s.min===s.max||void 0===s.min||void 0===s.max?1:g&&!w&&O===s.linkedParent.options.tickPixelInterval?w=s.linkedParent.tickInterval:C(w,this.tickAmount?(s.max-s.min)/Math.max(this.tickAmount-1,1):void 0,N?1:(s.max-s.min)*O/Math.max(s.len,O)),y&&!t&&d(s.series,function(e){e.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&&!w&&(s.tickInterval=Math.max(s.pointRange,s.tickInterval)),t=C(c.minTickInterval,s.isDatetimeAxis&&s.closestPointRange),!w&&s.tickIntervals.tickInterval&&1e3s.max)),!!this.tickAmount)),this.tickAmount||(s.tickInterval=s.unsquish()),this.setTickPositions()},setTickPositions:function(){var e,t=this.options,n=t.tickPositions,o=t.tickPositioner,r=t.startOnTick,i=t.endOnTick;this.tickmarkOffset=this.categories&&"between"===t.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===t.minorTickInterval&&this.tickInterval?this.tickInterval/5:t.minorTickInterval,this.single=this.min===this.max&&l(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==t.allowDecimals),this.tickPositions=e=n&&n.slice(),!e&&(e=this.isDatetimeAxis?this.getTimeTicks(this.normalizeTimeTickInterval(this.tickInterval,t.units),this.min,this.max,t.startOfWeek,this.ordinalPositions,this.closestPointRange,!0):this.isLog?this.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max),e.length>this.len&&(e=[e[0],e.pop()]),this.tickPositions=e,o&&(o=o.apply(this,[this.min,this.max])))&&(this.tickPositions=e=o),this.paddedTicks=e.slice(0),this.trimTicks(e,r,i),this.isLinked||(this.single&&(this.min-=.5,this.max+=.5),n||o||this.adjustTickAmount())},trimTicks:function(e,t,n){var o=e[0],r=e[e.length-1],i=this.minPointOffset||0;if(!this.isLinked){if(t&&-(1/0)!==o)this.min=o;else for(;this.min-i>e[0];)e.shift();if(n)this.max=r;else for(;this.max+it&&(this.finalTickAmt=t,t=5),this.tickAmount=t},adjustTickAmount:function(){var e=this.tickInterval,t=this.tickPositions,n=this.tickAmount,o=this.finalTickAmt,r=t&&t.length;if(rn&&(this.tickInterval*=2,this.setTickPositions());if(l(o)){for(e=n=t.length;e--;)(3===o&&1===e%2||2>=o&&0r&&(e=r)),l(o)&&(tr&&(t=r))),this.displayBtn=void 0!==e||void 0!==t,this.setExtremes(e,t,!1,void 0,{trigger:"zoom"})),!0},setAxisSize:function(){var e=this.chart,t=this.options,n=t.offsets||[0,0,0,0],o=this.horiz,r=C(t.width,e.plotWidth-n[3]+n[1]),i=C(t.height,e.plotHeight-n[0]+n[2]),a=C(t.top,e.plotTop+n[0]),t=C(t.left,e.plotLeft+n[3]),n=/%$/;n.test(i)&&(i=Math.round(parseFloat(i)/100*e.plotHeight)),n.test(a)&&(a=Math.round(parseFloat(a)/100*e.plotHeight+e.plotTop)),this.left=t,this.top=a,this.width=r,this.height=i,this.bottom=e.chartHeight-i-a,this.right=e.chartWidth-r-t,this.len=Math.max(o?r:i,0),this.pos=o?t:a},getExtremes:function(){var e=this.isLog,t=this.lin2log;return{min:e?a(t(this.min)):this.min,max:e?a(t(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},getThreshold:function(e){var t=this.isLog,n=this.lin2log,o=t?n(this.min):this.min,t=t?n(this.max):this.max;return null===e?e=o:o>e?e=o:te?"right":195e?"left":"center"},tickSize:function(e){var t=this.options,n=t[e+"Length"],o=C(t[e+"Width"],"tick"===e&&this.isXAxis?1:0);if(o&&n)return"inside"===t[e+"Position"]&&(n=-n),[n,o]},labelMetrics:function(){var e=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style&&this.options.labels.style.fontSize,this.ticks[e]&&this.ticks[e].label)},unsquish:function(){var e,t,n,o=this.options.labels,r=this.horiz,i=this.tickInterval,a=i,s=this.len/(((this.categories?1:0)+this.max-this.min)/i),c=o.rotation,f=this.labelMetrics(),p=Number.MAX_VALUE,h=function(e){return e/=s||1,e=1=n)&&(t=h(Math.abs(f.h/Math.sin(u*n))),o=t+Math.abs(n/360),o(n.step||0)&&!n.rotation&&(this.staggerLines||1)*this.len/o||!t&&(r&&r-e.spacing[3]||.33*e.chartWidth)},renderUnsquish:function(){var e,t,n,o=this.chart,r=o.renderer,i=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={},p=this.labelMetrics(),h=s.style&&s.style.textOverflow,m=0;if(E(s.rotation)||(f.rotation=s.rotation||0),d(i,function(e){(e=a[e])&&e.labelLength>m&&(m=e.labelLength)}),this.maxLabelLength=m,this.autoRotation)m>c&&m>p.h?f.rotation=this.labelRotation:this.labelRotation=0;else if(u&&(e={width:c+"px"},!h))for(e.textOverflow="clip",t=i.length;!l&&t--;)n=i[t],(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/i.length-(p.h-p.f)&&(c.specCss={textOverflow:"ellipsis"}));f.rotation&&(e={width:(m>.5*o.chartHeight?.33*o.chartHeight:o.chartHeight)+"px"},h||(e.textOverflow="ellipsis")),(this.labelAlign=s.align||this.autoLabelAlign(this.labelRotation))&&(f.align=this.labelAlign),d(i,function(t){var n=(t=a[t])&&t.label;n&&(n.attr(f),e&&n.css(_(e,n.specCss)),delete n.specCss,t.rotation=f.rotation)}),this.tickRotCorr=r.rotCorr(p.b,this.labelRotation||0,0!==this.side)},hasData:function(){return this.hasVisibleSeries||l(this.min)&&l(this.max)&&!!this.tickPositions},addTitle:function(e){var t,n=this.chart.renderer,o=this.horiz,r=this.opposite,i=this.options.title;this.axisTitle||((t=i.textAlign)||(t=(o?{low:"left",middle:"center",high:"right"}:{low:r?"right":"left",middle:"center",high:r?"left":"right"})[i.align]),this.axisTitle=n.text(i.text,0,0,i.useHTML).attr({zIndex:7,rotation:i.rotation||0,align:t}).addClass("highcharts-axis-title").css(i.style).add(this.axisGroup),this.axisTitle.isNew=!0),this.axisTitle[e?"show":"hide"](!0)},generateTick:function(e){var t=this.ticks;t[e]?t[e].addLabel():t[e]=new k(this,e)},getOffset:function(){var e,t,n,o=this,r=o.chart,i=r.renderer,a=o.options,s=o.tickPositions,u=o.ticks,c=o.horiz,f=o.side,p=r.inverted&&!o.isZAxis?[1,0,3,2][f]:f,h=0,m=0,v=a.title,y=a.labels,g=0,b=r.axisOffset,r=r.clipOffset,E=[-1,1,1,-1][f],_=a.className,x=o.axisParent,O=this.tickSize("tick");e=o.hasData(),o.showAxis=t=e||C(a.showEmpty,!0),o.staggerLines=o.horiz&&y.staggerLines,o.axisGroup||(o.gridGroup=i.g("grid").attr({zIndex:a.gridZIndex||1}).addClass("highcharts-"+this.coll.toLowerCase()+"-grid "+(_||"")).add(x),o.axisGroup=i.g("axis").attr({zIndex:a.zIndex||2}).addClass("highcharts-"+this.coll.toLowerCase()+" "+(_||"")).add(x),o.labelGroup=i.g("axis-labels").attr({zIndex:y.zIndex||7}).addClass("highcharts-"+o.coll.toLowerCase()+"-labels "+(_||"")).add(x)),e||o.isLinked?(d(s,function(e,t){o.generateTick(e,t)}),o.renderUnsquish(),!1===y.reserveSpace||0!==f&&2!==f&&{1:"left",3:"right"}[f]!==o.labelAlign&&"center"!==o.labelAlign||d(s,function(e){g=Math.max(u[e].getLabelSize(),g)}),o.staggerLines&&(g*=o.staggerLines,o.labelOffset=g*(o.opposite?-1:1))):w(u,function(e,t){e.destroy(),delete u[t]}),v&&v.text&&!1!==v.enabled&&(o.addTitle(t),t&&!1!==v.reserveSpace&&(o.titleOffset=h=o.axisTitle.getBBox()[c?"height":"width"],n=v.offset,m=l(n)?0:C(v.margin,c?5:10))),o.renderLine(),o.offset=E*C(a.offset,b[f]),o.tickRotCorr=o.tickRotCorr||{x:0,y:0},i=0===f?-o.labelMetrics().h:2===f?o.tickRotCorr.y:0,m=Math.abs(g)+m,g&&(m=m-i+E*(c?C(y.y,o.tickRotCorr.y+8*E):y.x)),o.axisTitleMargin=C(n,m),b[f]=Math.max(b[f],o.axisTitleMargin+h+E*o.offset,m,e&&s.length&&O?O[0]+E*o.offset:0),s=2*Math.floor(o.axisLine.strokeWidth()/2),0=this.min&&e<=this.max)&&(o[e]||(o[e]=new k(this,e)),r&&o[e].isNew&&o[e].render(t,!0,.1),o[e].render(t))},render:function(){var t,o,r=this,i=r.chart,a=r.options,s=r.isLog,l=r.lin2log,u=r.isLinked,c=r.tickPositions,f=r.axisTitle,p=r.ticks,h=r.minorTicks,m=r.alternateBands,v=a.stackLabels,y=a.alternateGridColor,g=r.tickmarkOffset,E=r.axisLine,_=r.showAxis,x=n(i.renderer.globalAnimation);r.labelEdge.length=0,r.overlap=!1,d([p,h,m],function(e){w(e,function(e){e.isActive=!1})}),(r.hasData()||u)&&(r.minorTickInterval&&!r.categories&&d(r.getMinorTickPositions(),function(e){r.renderMinorTick(e)}),c.length&&(d(c,function(e,t){r.renderTick(e,t)}),g&&(0===r.min||r.single)&&(p[-1]||(p[-1]=new k(r,-1,null,!0)),p[-1].render(-1))),y&&d(c,function(n,a){o=void 0!==c[a+1]?c[a+1]+g:r.max-g,0===a%2&&n=f.second?0:_*Math.floor(g.getMilliseconds()/_)),E>=f.second&&g[n.hcSetSeconds](E>=f.minute?0:_*Math.floor(g.getSeconds()/_)),E>=f.minute&&g[n.hcSetMinutes](E>=f.hour?0:_*Math.floor(g[n.hcGetMinutes]()/_)),E>=f.hour&&g[n.hcSetHours](E>=f.day?0:_*Math.floor(g[n.hcGetHours]()/_)),E>=f.day&&g[n.hcSetDate](E>=f.month?1:_*Math.floor(g[n.hcGetDate]()/_)),E>=f.month&&(g[n.hcSetMonth](E>=f.year?0:_*Math.floor(g[n.hcGetMonth]()/_)),p=g[n.hcGetFullYear]()),E>=f.year&&g[n.hcSetFullYear](p-p%_),E===f.week&&g[n.hcSetDate](g[n.hcGetDate]()-g[n.hcGetDay]()+d(c,1)),p=g[n.hcGetFullYear](),c=g[n.hcGetMonth]();var x=g[n.hcGetDate](),w=g[n.hcGetHours]();for((n.hcTimezoneOffset||n.hcGetTimezoneOffset)&&(h=(!y||!!n.hcGetTimezoneOffset)&&(l-t>4*f.month||u(t)!==u(l)),g=g.getTime(),g=new n(g+u(g))),y=g.getTime(),t=1;ym.length&&a(m,function(e){0===e%18e5&&"000000000"===o("%H%M%S%L",e)&&(v[e]="day")})}return m.info=s(e,{higherRanks:v,totalRange:E*_}),m},t.prototype.normalizeTimeTickInterval=function(e,t){var n=t||[["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]];t=n[n.length-1];var o,r=f[t[0]],i=t[1];for(o=0;ot&&(!s||v<=a)&&void 0!==v&&f.push(v),v>a&&(y=!0),v=m;else t=c(t),a=c(a),e=l[s?"minorTickInterval":"tickInterval"],e=i("auto"===e?null:e,this._minorAutoInterval,l.tickPixelInterval/(s?5:1)*(a-t)/((s?u/this.tickPositions.length:u)||1)),e=r(e,null,n(e)),f=o(this.getLinearTickPositions(e,t,a),d),s||(this._minorAutoInterval=e/5);return s||(this.tickInterval=e),f},t.prototype.log2lin=function(e){return Math.log(e)/Math.LN10},t.prototype.lin2log=function(e){return Math.pow(10,e)}}(e),function(e,t){var n=e.arrayMax,o=e.arrayMin,r=e.defined,i=e.destroyObjectProperties,a=e.each,s=e.erase,l=e.merge,u=e.pick;e.PlotLineOrBand=function(e,t){this.axis=e,t&&(this.options=t,this.id=t.id)},e.PlotLineOrBand.prototype={render:function(){var t=this,n=t.axis,o=n.horiz,i=t.options,a=i.label,s=t.label,c=i.to,d=i.from,f=i.value,p=r(d)&&r(c),h=r(f),m=t.svgElem,v=!m,y=[],g=i.color,b=u(i.zIndex,0),E=i.events,y={class:"highcharts-plot-"+(p?"band ":"line ")+(i.className||"")},_={},x=n.chart.renderer,w=p?"bands":"lines",C=n.log2lin;if(n.isLog&&(d=C(d),c=C(c),f=C(f)),h?(y={stroke:g,"stroke-width":i.width},i.dashStyle&&(y.dashstyle=i.dashStyle)):p&&(g&&(y.fill=g),i.borderWidth&&(y.stroke=i.borderColor,y["stroke-width"]=i.borderWidth)),_.zIndex=b,w+="-"+b,(g=n.plotLinesAndBandsGroups[w])||(n.plotLinesAndBandsGroups[w]=g=x.g("plot-"+w).attr(_).add()),v&&(t.svgElem=m=x.path().attr(y).add(g)),h)y=n.getPlotLinePath(f,m.strokeWidth());else{if(!p)return;y=n.getPlotBandPath(d,c,i)}return v&&y&&y.length?(m.attr({d:y}),E&&e.objectEach(E,function(e,n){m.on(n,function(e){E[n].apply(t,[e])})})):m&&(y?(m.show(),m.animate({d:y})):(m.hide(),s&&(t.label=s=s.destroy()))),a&&r(a.text)&&y&&y.length&&0this.max&&t>this.max,o&&n?(e&&(o.flat=o.toString()===n.toString(),i=0),o.push(r&&n[4]===o[4]?n[4]+i:n[4],r||n[5]!==o[5]?n[5]:n[5]+i,r&&n[1]===o[1]?n[1]+i:n[1],r||n[2]!==o[2]?n[2]:n[2]+i)):o=null,o},addPlotBand:function(e){return this.addPlotBandOrLine(e,"plotBands")},addPlotLine:function(e){return this.addPlotBandOrLine(e,"plotLines")},addPlotBandOrLine:function(t,n){var o=new e.PlotLineOrBand(this,t).render(),r=this.userOptions;return o&&(n&&(r[n]=r[n]||[],r[n].push(t)),this.plotLinesAndBands.push(o)),o},removePlotBandOrLine:function(e){for(var t=this.plotLinesAndBands,n=this.options,o=this.userOptions,r=t.length;r--;)t[r].id===e&&t[r].destroy();a([n.plotLines||[],o.plotLines||[],n.plotBands||[],o.plotBands||[]],function(t){for(r=t.length;r--;)t[r].id===e&&s(t,t[r])})},removePlotBand:function(e){this.removePlotBandOrLine(e)},removePlotLine:function(e){this.removePlotBandOrLine(e)}})}(e,t),function(e){var t=e.dateFormat,n=e.each,o=e.extend,r=e.format,i=e.isNumber,a=e.map,s=e.merge,l=e.pick,u=e.splat,c=e.syncTimeout,d=e.timeUnits;e.Tooltip=function(){this.init.apply(this,arguments)},e.Tooltip.prototype={init:function(e,t){this.chart=e,this.options=t,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=t.split&&!e.inverted,this.shared=t.shared||this.split},cleanSplit:function(e){n(this.chart.series,function(t){var n=t&&t.tt;n&&(!n.isActive||e?t.tt=n.destroy():n.isActive=!1)})},getLabel:function(){var e=this.chart.renderer,t=this.options;return this.label||(this.split?this.label=e.g("tooltip"):(this.label=e.label("",0,0,t.shape||"callout",null,null,t.useHTML,null,"tooltip").attr({padding:t.padding,r:t.borderRadius}),this.label.attr({fill:t.backgroundColor,"stroke-width":t.borderWidth}).css(t.style).shadow(t.shadow)),this.label.attr({zIndex:8}).add()),this.label},update:function(e){this.destroy(),s(!0,this.chart.options.tooltip.userOptions,e),this.init(this.chart,s(!0,this.options,e))},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(e,t,n,r){var i=this,a=i.now,s=!1!==i.options.animation&&!i.isHidden&&(1f-s?f:f-s);else{if(!c)return!1;a[e]=Math.max(r,o+s+n>t?o:o+s)}},p=function(e,t,n,o){var r;return ot-i?r=!1:a[e]=ot-n/2?t-n-2:o-n/2,r},h=function(e){var t=u;u=c,c=t,o=e},m=function(){!1!==f.apply(0,u)?!1!==p.apply(0,c)||o||(h(!0),m()):o?a.x=a.y=0:(h(!0),m())};return(r.inverted||1h&&(c=!1),e=(t.series&&t.series.yAxis&&t.series.yAxis.pos)+(t.plotY||0),e-=s.plotTop,a.push({target:t.isHeader?s.plotHeight+r:e,rank:t.isHeader?1:0,size:n.tt.getBBox().height+1,point:t,x:h,tt:p})}),this.cleanSplit(),e.distribute(a,s.plotHeight+r),n(a,function(e){var t=e.point,n=t.series;e.tt.attr({visibility:void 0===e.pos?"hidden":"inherit",x:c||t.isHeader?e.x:t.plotX+s.plotLeft+l(d.distance,16),y:e.pos+s.plotTop,anchorX:t.isHeader?t.plotX+s.plotLeft:t.plotX+n.xAxis.pos,anchorY:t.isHeader?e.pos+s.plotTop-15:t.plotY+n.yAxis.pos})})},updatePosition:function(e){var t=this.chart,n=this.getLabel(),n=(this.options.positioner||this.getPosition).call(this,n.width,n.height,e);this.move(Math.round(n.x),Math.round(n.y||0),e.plotX+t.plotLeft,e.plotY+t.plotTop)},getDateFormat:function(e,n,o,r){var i,a,s=t("%m-%d %H:%M:%S.%L",n),l={millisecond:15,second:12,minute:9,hour:6,day:3},u="millisecond";for(a in d){if(e===d.week&&+t("%w",n)===o&&"00:00:00.000"===s.substr(6)){a="week";break}if(d[a]>e){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&&(i=r[a]),i},getXDateFormat:function(e,t,n){t=t.dateTimeLabelFormats;var o=n&&n.closestPointRange;return(o?this.getDateFormat(o,e.x,n.options.startOfWeek,t):t.day)||t.year},tooltipFooterHeaderFormatter:function(e,t){var n=t?"footer":"header";t=e.series;var o=t.tooltipOptions,a=o.xDateFormat,s=t.xAxis,l=s&&"datetime"===s.options.type&&i(e.key),n=o[n+"Format"];return l&&!a&&(a=this.getXDateFormat(e,o,s)),l&&a&&(n=n.replace("{point.key}","{point.key:"+a+"}")),r(n,{point:e,series:t})},bodyFormatter:function(e){return a(e,function(e){var t=e.series.tooltipOptions;return(t.pointFormatter||e.point.tooltipFormatter).call(e.point,t.pointFormat)})}}}(e),function(e){var t=e.addEvent,n=e.attr,o=e.charts,r=e.color,i=e.css,a=e.defined,s=e.doc,l=e.each,u=e.extend,c=e.fireEvent,d=e.offset,f=e.pick,p=e.removeEvent,h=e.splat,m=e.Tooltip,v=e.win;e.Pointer=function(e,t){this.init(e,t)},e.Pointer.prototype={init:function(e,t){this.options=t,this.chart=e,this.runChartClick=t.chart.events&&!!t.chart.events.click,this.pinchDown=[],this.lastValidTouch={},m&&t.tooltip.enabled&&(e.tooltip=new m(e,t.tooltip),this.followTouchMove=f(t.tooltip.followTouchMove,!0)),this.setDOMEvents()},zoomOption:function(e){var t=this.chart,n=t.options.chart,o=n.zoomType||"",t=t.inverted;/touch/.test(e.type)&&(o=f(n.pinchType,o)),this.zoomX=e=/x/.test(o),this.zoomY=o=/y/.test(o),this.zoomHor=e&&!t||o&&t,this.zoomVert=o&&!t||e&&t,this.hasZoom=e||o},normalize:function(e,t){var n,o;return e=e||v.event,e.target||(e.target=e.srcElement),o=e.touches?e.touches.length?e.touches.item(0):e.changedTouches[0]:e,t||(this.chartPosition=t=d(this.chart.container)),void 0===o.pageX?(n=Math.max(e.x,e.clientX-t.left),t=e.y):(n=o.pageX-t.left,t=o.pageY-t.top),u(e,{chartX:Math.round(n),chartY:Math.round(t)})},getCoordinates:function(e){var t={xAxis:[],yAxis:[]};return l(this.chart.axes,function(n){t[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(e[n.horiz?"chartX":"chartY"])})}),t},getKDPoints:function(e,t,n){var o,r,i,a=[];if(l(e,function(e){o=e.noSharedTooltip&&t,r=!t&&e.directTouch,e.visible&&!r&&f(e.options.enableMouseTracking,!0)&&(i=e.searchPoint(n,!o&&0>e.options.findNearestPointBy.indexOf("y")))&&i.series&&a.push(i)}),a.sort(function(e,n){var o=e.distX-n.distX,r=e.dist-n.dist,i=(n.series.group&&n.series.group.zIndex)-(e.series.group&&e.series.group.zIndex);return 0!==o&&t?o:0!==r?r:0!==i?i:e.series.index>n.series.index?-1:1}),t&&a[0]&&!a[0].series.noSharedTooltip)for(e=a.length;e--;)(a[e].x!==a[0].x||a[e].series.noSharedTooltip)&&a.splice(e,1);return a},getPointFromEvent:function(e){e=e.target;for(var t;e&&!t;)t=e.point,e=e.parentNode;return t},getChartCoordinatesFromPoint:function(e,t){var n=e.series,o=n.xAxis,n=n.yAxis;if(o&&n)return t?{chartX:o.len+o.pos-e.clientX,chartY:n.len+n.pos-e.plotY}:{chartX:e.clientX+o.pos,chartY:e.plotY+n.pos}},getHoverData:function(t,n,o,r,i,a){var s=t,l=n,s=i?o:[l];r=!(!r||!t),n=l&&!l.stickyTracking;var u,c=function(e,t){return 0===t};return r?c=function(e){return e===t}:n?c=function(e){return e.series===l}:s=e.grep(o,function(e){return e.stickyTracking}),u=r&&!i?[t]:this.getKDPoints(s,i,a),l=(s=e.find(u,c))&&s.series,r||n||!i||(u=this.getKDPoints(o,i,a)),u.sort(function(e,t){return e.series.index-t.series.index}),{hoverPoint:s,hoverSeries:l,hoverPoints:u}},runPointActions:function(n,r){var i=this.chart,a=i.tooltip,u=!!a&&a.shared,c=r||i.hoverPoint,d=c&&c.series||i.hoverSeries;r=this.getHoverData(c,d,i.series,!!r||d&&d.directTouch&&this.isDirectTouch,u,n);var p,h,c=r.hoverPoint;p=(d=r.hoverSeries)&&d.tooltipOptions.followPointer,h=(u=u&&c&&!c.series.noSharedTooltip)?r.hoverPoints:c?[c]:[],c&&(c!==i.hoverPoint||a&&a.isHidden)?(l(i.hoverPoints||[],function(t){-1===e.inArray(t,h)&&t.setState()}),l(h||[],function(e){e.setState("hover")}),i.hoverSeries!==d&&d.onMouseOver(),i.hoverPoint&&i.hoverPoint.firePointEvent("mouseOut"),c.firePointEvent("mouseOver"),i.hoverPoints=h,i.hoverPoint=c,a&&a.refresh(u?h:c,n)):p&&a&&!a.isHidden&&(d=a.getAnchor([{}],n),a.updatePosition({plotX:d[0],plotY:d[1]})),this.unDocMouseMove||(this.unDocMouseMove=t(s,"mousemove",function(t){var n=o[e.hoverChartIndex];n&&n.pointer.onDocumentMouseMove(t)})),l(i.axes,function(t){f(t.crosshair.snap,!0)?e.find(h,function(e){return e.series[t.coll]===t})?t.drawCrosshair(n,c):t.hideCrosshair():t.drawCrosshair(n)})},reset:function(e,t){var n=this.chart,o=n.hoverSeries,r=n.hoverPoint,i=n.hoverPoints,a=n.tooltip,s=a&&a.shared?i:r;e&&s&&l(h(s),function(t){t.series.isCartesian&&void 0===t.plotX&&(e=!1)}),e?a&&s&&(a.refresh(s),r&&(r.setState(r.state,!0),l(n.axes,function(e){e.crosshair&&e.drawCrosshair(null,r)}))):(r&&r.onMouseOut(),i&&l(i,function(e){e.setState()}),o&&o.onMouseOut(),a&&a.hide(t),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),l(n.axes,function(e){e.hideCrosshair()}),this.hoverX=n.hoverPoints=n.hoverPoint=null)},scaleGroups:function(e,t){var n,o=this.chart;l(o.series,function(r){n=e||r.getPlotBox(),r.xAxis&&r.xAxis.zoomEnabled&&r.group&&(r.group.attr(n),r.markerGroup&&(r.markerGroup.attr(n),r.markerGroup.clip(t?o.clipRect:null)),r.dataLabelsGroup&&r.dataLabelsGroup.attr(n))}),o.clipRect.attr(t||o.clipBox)},dragStart:function(e){var t=this.chart;t.mouseIsDown=e.type,t.cancelClick=!1,t.mouseDownX=this.mouseDownX=e.chartX,t.mouseDownY=this.mouseDownY=e.chartY},drag:function(e){var t,n=this.chart,o=n.options.chart,i=e.chartX,a=e.chartY,s=this.zoomHor,l=this.zoomVert,u=n.plotLeft,c=n.plotTop,d=n.plotWidth,f=n.plotHeight,p=this.selectionMarker,h=this.mouseDownX,m=this.mouseDownY,v=o.panKey&&e[o.panKey+"Key"];p&&p.touch||(iu+d&&(i=u+d),ac+f&&(a=c+f),this.hasDragged=Math.sqrt(Math.pow(h-i,2)+Math.pow(m-a,2)),10b.max&&(t=b.max-l,c=!0),c?(x-=.8*(x-a[f][0]),E||(C-=.8*(C-a[f][1])),n()):a[f]=[x,C],g||(i[f]=u-v,i[m]=l),i=g?1/y:y,r[m]=l,r[f]=t,o[g?e?"scaleY":"scaleX":"scale"+p]=y,o["translate"+p]=i*v+(x-i*_)},pinch:function(e){var t=this,s=t.chart,l=t.pinchDown,u=e.touches,c=u.length,d=t.lastValidTouch,f=t.hasZoom,p=t.selectionMarker,h={},m=1===c&&(t.inClass(e.target,"highcharts-tracker")&&s.runTrackerClick||t.runChartClick),v={};1t-6&&s(h||t.spacingBox.width-2*d-o.x)&&(this.itemX=d,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),e._legendItemPos=[this.itemX,this.itemY],r?this.itemX+=s:(this.itemY+=v+n+m,this.lastLineHeight=n),this.offsetWidth=h||Math.max((r?this.itemX-d-f:s)+d,this.offsetWidth)},getAllItems:function(){var e=[];return i(this.chart.series,function(t){var n=t&&t.options;t&&u(n.showInLegend,!r(n.linkedTo)&&void 0,!0)&&(e=e.concat(t.legendItems||("point"===n.legendType?t.data:t)))}),e},adjustMargins:function(e,t){var n=this.chart,o=this.options,a=o.align.charAt(0)+o.verticalAlign.charAt(0)+o.layout.charAt(0);o.floating||i([/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/],function(i,l){i.test(a)&&!r(e[l])&&(n[s[l]]=Math.max(n[s[l]],n.legend[(l+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][l]*o[l%2?"x":"y"]+u(o.margin,12)+t[l]))})},render:function(){var e,t,n,o,r=this,a=r.chart,s=a.renderer,u=r.group,c=r.box,f=r.options,p=r.padding;r.itemX=p,r.itemY=r.initialItemY,r.offsetWidth=0,r.lastItemY=0,u||(r.group=u=s.g("legend").attr({zIndex:7}).add(),r.contentGroup=s.g().attr({zIndex:1}).add(u),r.scrollGroup=s.g().add(r.contentGroup)),r.renderTitle(),e=r.getAllItems(),d(e,function(e,t){return(e.options&&e.options.legendIndex||0)-(t.options&&t.options.legendIndex||0)}),f.reversed&&e.reverse(),r.allItems=e,r.display=t=!!e.length,r.lastLineHeight=0,i(e,function(e){r.renderItem(e)}),n=(f.width||r.offsetWidth)+p,o=r.lastItemY+r.lastLineHeight+r.titleHeight,o=r.handleOverflow(o),o+=p,c||(r.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),0r&&!1!==f.enabled?(this.clipHeight=t=Math.max(r-20-this.titleHeight-c,0),this.currentPage=u(this.currentPage,1),this.fullHeight=e,i(y,function(e,o){var r=e._legendItemPos[1];e=Math.round(e.legendItem.getBBox().height);var i=v.length;(!i||r-v[i-1]>t&&(n||r)!==v[i-1])&&(v.push(n||r),i++),o===y.length-1&&r+e-v[i-1]>t&&v.push(r),r!==n&&(n=r)}),d||(d=o.clipRect=a.clipRect(0,c,9999,0),o.contentGroup.clip(d)),g(t),m||(this.nav=m=a.g().attr({zIndex:1}).add(this.group),this.up=a.symbol("triangle",0,0,h,h).on("click",function(){o.scroll(-1,p)}).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,h,h).on("click",function(){o.scroll(1,p)}).add(m)),o.scroll(0),e=r):m&&(g(),this.nav=m.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),e},scroll:function(e,t){var n=this.pages,o=n.length;e=this.currentPage+e;var r=this.clipHeight,i=this.options.navigation,a=this.pager,s=this.padding;e>o&&(e=o),0i&&(n=typeof e[0],"string"===n?t.name=e[0]:"number"===n&&(t.x=e[0]),a++);u=e.value;)e=n[++o];return e&&e.color&&!this.options.color&&(this.color=e.color),e},destroy:function(){var e,t=this.series.chart,n=t.hoverPoints;t.pointCount--,n&&(this.setState(),r(n,this),n.length||(t.hoverPoints=null)),this===t.hoverPoint&&this.onMouseOut(),(this.graphic||this.dataLabel)&&(c(this),this.destroyElements()),this.legendItem&&t.legend.destroyItem(this);for(e in this)this[e]=null},destroyElements:function(){for(var e,t=["graphic","dataLabel","dataLabelUpper","connector","shadowGroup"],n=6;n--;)e=t[n],this[e]&&(this[e]=this[e].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(e){var t=this.series,o=t.tooltipOptions,r=u(o.valueDecimals,""),i=o.valuePrefix||"",s=o.valueSuffix||"";return n(t.pointArrayMap||["y"],function(t){t="{point."+t,(i||s)&&(e=e.replace(t+"}",i+t+"}"+s)),e=e.replace(t+"}",t+":,."+r+"f}")}),a(e,{point:this,series:this.series})},firePointEvent:function(e,t,n){var o=this,r=this.series.options;(r.point.events[e]||o.options&&o.options.events&&o.options.events[e])&&this.importEvents(),"click"===e&&r.allowPointSelect&&(n=function(e){o.select&&o.select(null,e.ctrlKey||e.metaKey||e.shiftKey)}),i(this,e,t,n)},visible:!0}}(e),function(e){var t=e.addEvent,n=e.animObject,o=e.arrayMax,r=e.arrayMin,i=e.correctFloat,a=e.Date,s=e.defaultOptions,l=e.defaultPlotOptions,u=e.defined,c=e.each,d=e.erase,f=e.extend,p=e.fireEvent,h=e.grep,m=e.isArray,v=e.isNumber,y=e.isString,g=e.merge,b=e.objectEach,E=e.pick,_=e.removeEvent,x=e.splat,w=e.SVGElement,C=e.syncTimeout,O=e.win;e.Series=e.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?"":e.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:e.Point,sorted:!0,requireSorting:!0,directTouch:!1,axisTypes:["xAxis","yAxis"],colorCounter:0,parallelArrays:["x","y"],coll:"series",init:function(e,n){var o,r,i=this,a=e.series;i.chart=e,i.options=n=i.setOptions(n),i.linkedSeries=[],i.bindAxes(),f(i,{name:n.name,state:"",visible:!1!==n.visible,selected:!0===n.selected}),o=n.events,b(o,function(e,n){t(i,n,e)}),(o&&o.click||n.point&&n.point.events&&n.point.events.click||n.allowPointSelect)&&(e.runTrackerClick=!0),i.getColor(),i.getSymbol(),c(i.parallelArrays,function(e){i[e+"Data"]=[]}),i.setData(n.data,!1),i.isCartesian&&(e.hasCartesianSeries=!0),a.length&&(r=a[a.length-1]),i._i=E(r&&r._i,-1)+1,e.orderSeries(this.insert(a))},insert:function(e){var t,n=this.options.index;if(v(n)){for(t=e.length;t--;)if(n>=E(e[t].options.index,e[t]._i)){e.splice(t+1,0,this);break}-1===t&&e.unshift(this),t+=1}else e.push(this);return E(t,e.length-1)},bindAxes:function(){var t,n=this,o=n.options,r=n.chart;c(n.axisTypes||[],function(i){c(r[i],function(e){t=e.options,(o[i]===t.index||void 0!==o[i]&&o[i]===t.id||void 0===o[i]&&0===t.index)&&(n.insert(e.series),n[i]=e,e.isDirty=!0)}),n[i]||n.optionalAxis===i||e.error(18,!0)})},updateParallelArrays:function(e,t){var n=e.series,o=arguments,r=v(t)?function(o){var r="y"===o&&n.toYData?n.toYData(e):e[o];n[o+"Data"][t]=r}:function(e){Array.prototype[t].apply(n[e+"Data"],Array.prototype.slice.call(o,2))};c(n.parallelArrays,r)},autoIncrement:function(){var e,t=this.options,n=this.xIncrement,o=t.pointIntervalUnit,n=E(n,t.pointStart,0);return this.pointInterval=e=E(this.pointInterval,t.pointInterval,1),o&&(t=new a(n),"day"===o?t=+t[a.hcSetDate](t[a.hcGetDate]()+e):"month"===o?t=+t[a.hcSetMonth](t[a.hcGetMonth]()+e):"year"===o&&(t=+t[a.hcSetFullYear](t[a.hcGetFullYear]()+e)),e=t-n),this.xIncrement=n+e,n},setOptions:function(e){var t=this.chart,n=t.options,o=n.plotOptions,r=(t.userOptions||{}).plotOptions||{},i=o[this.type];return this.userOptions=e,t=g(i,o.series,e),this.tooltipOptions=g(s.tooltip,s.plotOptions.series&&s.plotOptions.series.tooltip,s.plotOptions[this.type].tooltip,n.tooltip.userOptions,o.series&&o.series.tooltip,o[this.type].tooltip,e.tooltip),this.stickyTracking=E(e.stickyTracking,r[this.type]&&r[this.type].stickyTracking,r.series&&r.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||t.stickyTracking),null===i.marker&&delete t.marker,this.zoneAxis=t.zoneAxis,e=this.zones=(t.zones||[]).slice(),!t.negativeColor&&!t.negativeFillColor||t.zones||e.push({value:t[this.zoneAxis+"Threshold"]||t.threshold||0,className:"highcharts-negative",color:t.negativeColor,fillColor:t.negativeFillColor}),e.length&&u(e[e.length-1].value)&&e.push({color:this.color,fillColor:this.fillColor}),t},getCyclic:function(e,t,n){var o,r=this.chart,i=this.userOptions,a=e+"Index",s=e+"Counter",l=n?n.length:E(r.options.chart[e+"Count"],r[e+"Count"]);t||(o=E(i[a],i["_"+a]),u(o)||(r.series.length||(r[s]=0),i["_"+a]=o=r[s]%l,r[s]+=1),n&&(t=n[o])),void 0!==o&&(this[a]=o),this[e]=t},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:e.LegendSymbolMixin.drawLineMarker,setData:function(t,n,o,r){var i,a=this,s=a.points,l=s&&s.length||0,u=a.options,d=a.chart,f=null,p=a.xAxis,h=u.turboThreshold,g=this.xData,b=this.yData,_=(i=a.pointArrayMap)&&i.length;if(t=t||[],i=t.length,n=E(n,!0),!1!==r&&i&&l===i&&!a.cropped&&!a.hasGroupedData&&a.visible)c(t,function(e,t){s[t].update&&e!==u.data[t]&&s[t].update(e,!1,null,!1)});else{if(a.xIncrement=null,a.colorCounter=0,c(this.parallelArrays,function(e){a[e+"Data"].length=0}),h&&i>h){for(o=0;null===f&&ol||this.forceCrop)&&(o[i-1]f?(o=[],r=[]):(o[0]f)&&(n=this.cropData(this.xData,this.yData,d,f),o=n.xData,r=n.yData,n=n.start,a=!0)),l=o.length||1;--l;)i=m?c(o[l])-c(o[l-1]):o[l]-o[l-1],0i&&this.requireSorting&&e.error(15);this.cropped=a,this.cropStart=n,this.processedXData=o,this.processedYData=r,this.closestPointRange=s},cropData:function(e,t,n,o){var r,i=e.length,a=0,s=i,l=E(this.cropShoulder,1);for(r=0;r=n){a=Math.max(0,r-l);break}for(n=r;no){s=n+l;break}return{xData:e.slice(a,s),yData:t.slice(a,s),start:a,end:s}},generatePoints:function(){var e,t,n,o,r=this.options,i=r.data,a=this.data,s=this.processedXData,l=this.processedYData,u=this.pointClass,c=s.length,d=this.cropStart||0,f=this.hasGroupedData,r=r.keys,p=[];for(a||f||(a=[],a.length=i.length,a=this.data=a),r&&f&&(this.options.keys=!1),o=0;o=f&&(i[d]||u)<=p,l&&u)if(l=c.length)for(;l--;)null!==c[l]&&(a[s++]=c[l]);else a[s++]=c;this.dataMin=r(a),this.dataMax=o(a)},translate:function(){this.processedXData||this.processData(),
+this.generatePoints();var e,t,n,o,r=this.options,a=r.stacking,s=this.xAxis,l=s.categories,c=this.yAxis,d=this.points,f=d.length,p=!!this.modifyValue,h=r.pointPlacement,m="between"===h||v(h),y=r.threshold,g=r.startFromThreshold?y:0,b=Number.MAX_VALUE;for("between"===h&&(h=.5),v(h)&&(h*=E(r.pointRange||s.pointRange)),r=0;r=w&&(_.isNull=!0),_.plotX=e=i(Math.min(Math.max(-1e5,s.translate(x,0,0,0,1,h,"flags"===this.type)),1e5)),a&&this.visible&&!_.isNull&&O&&O[x]&&(o=this.getStackIndicator(o,x,this.index),C=O[x],w=C.points[o.key],t=w[0],w=w[1],t===g&&o.key===O[x].base&&(t=E(y,c.min)),c.positiveValuesOnly&&0>=t&&(t=null),_.total=_.stackTotal=C.total,_.percentage=C.total&&_.y/C.total*100,_.stackY=w,C.setOffset(this.pointXOffset||0,this.barW||0)),_.yBottom=u(t)?c.translate(t,0,1,0,1):null,p&&(w=this.modifyValue(w,_)),_.plotY=t="number"==typeof w&&1/0!==w?Math.min(Math.max(-1e5,c.translate(w,0,1,0,1)),1e5):void 0,_.isInside=void 0!==t&&0<=t&&t<=c.len&&0<=e&&e<=s.len,_.clientX=m?i(s.translate(x,0,0,0,1,h)):e,_.negative=_.y<(y||0),_.category=l&&void 0!==l[_.x]?l[_.x]:_.x,_.isNull||(void 0!==n&&(b=Math.min(b,Math.abs(e-n))),n=e),_.zone=this.zones.length&&_.getZone()}this.closestPointRangePx=b},getValidPoints:function(e,t){var n=this.chart;return h(e||this.points||[],function(e){return!(t&&!n.isInsidePlot(e.plotX,e.plotY,n.inverted))&&!e.isNull})},setClip:function(e){var t=this.chart,n=this.options,o=t.renderer,r=t.inverted,i=this.clipBox,a=i||t.clipBox,s=this.sharedClipKey||["_sharedClip",e&&e.duration,e&&e.easing,a.height,n.xAxis,n.yAxis].join(),l=t[s],u=t[s+"m"];l||(e&&(a.width=0,t[s+"m"]=u=o.clipRect(-99,r?-t.plotLeft:-t.plotTop,99,r?t.chartWidth:t.chartHeight)),t[s]=l=o.clipRect(a),l.count={length:0}),e&&!l.count[this.index]&&(l.count[this.index]=!0,l.count.length+=1),!1!==n.clip&&(this.group.clip(e||i?l:t.clipRect),this.markerGroup.clip(u),this.sharedClipKey=s),e||(l.count[this.index]&&(delete l.count[this.index],--l.count.length),0===l.count.length&&s&&t[s]&&(i||(t[s]=t[s].destroy()),t[s+"m"]&&(t[s+"m"]=t[s+"m"].destroy())))},animate:function(e){var t,o=this.chart,r=n(this.options.animation);e?this.setClip(r):(t=this.sharedClipKey,(e=o[t])&&e.animate({width:o.plotSizeX},r),o[t+"m"]&&o[t+"m"].animate({width:o.plotSizeX+99},r),this.animate=null)},afterAnimate:function(){this.setClip(),p(this,"afterAnimate")},drawPoints:function(){var e,t,n,o,r,i,a,s,l=this.points,u=this.chart,c=this.options.marker,d=this[this.specialGroup]||this.markerGroup,f=E(c.enabled,!!this.xAxis.isRadial||null,this.closestPointRangePx>=2*c.radius);if(!1!==c.enabled||this._hasPointMarkers)for(t=0;tr&&t.shadow)),a&&(a.startX=n.xMap,a.isArea=n.isArea)})},applyZones:function(){var e,t,n,o,r,i,a,s,l,u=this,d=this.chart,f=d.renderer,p=this.zones,h=this.clips||[],m=this.graph,v=this.area,y=Math.max(d.chartWidth,d.chartHeight),g=this[(this.zoneAxis||"y")+"Axis"],b=d.inverted,_=!1;p.length&&(m||v)&&g&&void 0!==g.min&&(r=g.reversed,i=g.horiz,m&&m.hide(),v&&v.hide(),o=g.getExtremes(),c(p,function(c,p){e=r?i?d.plotWidth:0:i?0:g.toPixels(o.min),e=Math.min(Math.max(E(t,e),0),y),t=Math.min(Math.max(Math.round(g.toPixels(E(c.value,o.max),!0)),0),y),_&&(e=t=g.toPixels(o.max)),a=Math.abs(e-t),s=Math.min(e,t),l=Math.max(e,t),g.isXAxis?(n={x:b?l:s,y:0,width:a,height:y},i||(n.x=d.plotHeight-n.x)):(n={x:0,y:b?l:s,width:y,height:a},i&&(n.y=d.plotWidth-n.y)),b&&f.isVML&&(n=g.isXAxis?{x:0,y:r?s:l,height:n.width,width:d.chartWidth}:{x:n.y-d.plotLeft-d.spacingBox.x,y:0,width:n.height,height:d.chartHeight}),h[p]?h[p].animate(n):(h[p]=f.clipRect(n),m&&u["zone-graph-"+p].clip(h[p]),v&&u["zone-area-"+p].clip(h[p])),_=c.value>o.max}),this.clips=h)},invertGroups:function(e){function n(){c(["group","markerGroup"],function(t){r[t]&&(i.renderer.isVML&&r[t].attr({width:r.yAxis.len,height:r.xAxis.len}),r[t].width=r.yAxis.len,r[t].height=r.xAxis.len,r[t].invert(e))})}var o,r=this,i=r.chart;r.xAxis&&(o=t(i,"resize",n),t(r,"destroy",o),n(e),r.invertGroups=n)},plotGroup:function(e,t,n,o,r){var i=this[e],a=!i;return a&&(this[e]=i=this.chart.renderer.g().attr({zIndex:o||.1}).add(r)),i.addClass("highcharts-"+t+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series highcharts-color-"+this.colorIndex+" "+(this.options.className||""),!0),i.attr({visibility:n})[a?"attr":"animate"](this.getPlotBox()),i},getPlotBox:function(){var e=this.chart,t=this.xAxis,n=this.yAxis;return e.inverted&&(t=n,n=this.xAxis),{translateX:t?t.left:e.plotLeft,translateY:n?n.top:e.plotTop,scaleX:1,scaleY:1}},render:function(){var e,t=this,o=t.chart,r=t.options,i=!!t.animate&&o.renderer.isSVG&&n(r.animation).duration,a=t.visible?"inherit":"hidden",s=r.zIndex,l=t.hasRendered,u=o.seriesGroup,c=o.inverted;e=t.plotGroup("group","series",a,s,u),t.markerGroup=t.plotGroup("markerGroup","markers",a,s,u),i&&t.animate(!0),e.inverted=!!t.isCartesian&&c,t.drawGraph&&(t.drawGraph(),t.applyZones()),t.drawDataLabels&&t.drawDataLabels(),t.visible&&t.drawPoints(),t.drawTracker&&!1!==t.options.enableMouseTracking&&t.drawTracker(),t.invertGroups(c),!1===r.clip||t.sharedClipKey||l||e.clip(o.clipRect),i&&t.animate(),l||(t.animationTimeout=C(function(){t.afterAnimate()},i)),t.isDirty=!1,t.hasRendered=!0},redraw:function(){var e=this.chart,t=this.isDirty||this.isDirtyData,n=this.group,o=this.xAxis,r=this.yAxis;n&&(e.inverted&&n.attr({width:e.plotWidth,height:e.plotHeight}),n.animate({translateX:E(o&&o.left,e.plotLeft),translateY:E(r&&r.top,e.plotTop)})),this.translate(),this.render(),t&&delete this.kdTree},kdAxisArray:["clientX","plotY"],searchPoint:function(e,t){var n=this.xAxis,o=this.yAxis,r=this.chart.inverted;return this.searchKDTree({clientX:r?n.len-e.chartY+n.pos:e.chartX-n.pos,plotY:r?o.len-e.chartX+o.pos:e.chartY-o.pos},t)},buildKDTree:function(){function e(n,o,r){var i,a;if(a=n&&n.length)return i=t.kdAxisArray[o%r],n.sort(function(e,t){return e[i]-t[i]}),a=Math.floor(a/2),{point:n[a],left:e(n.slice(0,a),o+1,r),right:e(n.slice(a+1),o+1,r)}}this.buildingKdTree=!0;var t=this,n=-1p?"left":"right",d=0>p?"right":"left",t[c]&&(c=n(e,t[c],s+1,l),h=c[a]s;)a--;this.updateParallelArrays(r,"splice",a,0,0),this.updateParallelArrays(r,a),d&&r.name&&(d[s]=r.name),f.splice(a,0,e),i&&(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(r,"shift"),f.shift())),this.isDirtyData=this.isDirty=!0,t&&c.redraw(o)},removePoint:function(e,t,n){var o=this,r=o.data,i=r[e],a=o.points,s=o.chart,l=function(){a&&a.length===r.length&&a.splice(e,1),r.splice(e,1),o.options.data.splice(e,1),o.updateParallelArrays(i||{series:o},"splice",e,1),i&&i.destroy(),o.isDirty=!0,o.isDirtyData=!0,t&&s.redraw()};_(n,s),t=y(t,!0),i?i.firePointEvent("remove",null,l):l()},remove:function(e,t,n){function o(){r.destroy(),i.isDirtyLegend=i.isDirtyBox=!0,i.linkSeries(),y(e,!0)&&i.redraw(t)}var r=this,i=r.chart;!1!==n?c(r,"remove",null,o):o()},update:function(e,t){var n,o=this,r=o.chart,i=o.userOptions,a=o.oldType||o.type,l=e.type||i.type||r.options.chart.type,c=E[a].prototype,d=["group","markerGroup","dataLabelsGroup"];if(Object.keys&&"data"===Object.keys(e).toString())return this.setData(e.data,t);(l&&l!==a||void 0!==e.zIndex)&&(d.length=0),s(d,function(e){d[e]=o[e],delete o[e]}),e=m(i,{animation:!1,index:o.index,pointStart:o.xData[0]},{data:o.options.data},e),o.remove(!1,null,!1);for(n in c)o[n]=void 0;u(o,E[l||a].prototype),s(d,function(e){o[e]=d[e]}),o.init(r,e),o.oldType=a,r.linkSeries(),y(t,!0)&&r.redraw(!1)}}),u(o.prototype,{update:function(e,t){var n=this.chart;e=n.options[this.coll][this.options.index]=m(this.userOptions,e),this.destroy(!0),this.init(n,u(e,{events:void 0})),n.isDirtyBox=!0,y(t,!0)&&n.redraw()},remove:function(e){for(var t=this.chart,n=this.coll,o=this.series,r=o.length;r--;)o[r]&&o[r].remove(!1);l(t.axes,this),l(t[n],this),h(t.options[n])?t.options[n].splice(this.options.index,1):delete t.options[n],s(t[n],function(e,t){e.options.index=t}),this.destroy(),t.isDirtyBox=!0,y(e,!0)&&t.redraw()},setTitle:function(e,t){this.update({title:e},t)},setCategories:function(e,t){this.update({categories:e},t)}})}(e),function(e){var t=e.color,n=e.each,o=e.map,r=e.pick,i=e.Series,a=e.seriesType;a("area","line",{softThreshold:!1,threshold:0},{singleStacks:!1,getStackPoints:function(){var t,i,a=[],s=[],l=this.xAxis,u=this.yAxis,c=u.stacks[this.stackKey],d={},f=this.points,p=this.index,h=u.series,m=h.length,v=r(u.options.reversedStacks,!0)?1:-1;if(this.options.stacking){for(i=0;ie&&l>i?(l=Math.max(e,i),c=2*i-l):lo&&c>i?(c=Math.max(o,i),l=2*i-c):c=Math.abs(t)&&.5e.closestPointRange*e.xAxis.transA,r=e.borderWidth=s(n.borderWidth,r?0:1),i=e.yAxis,a=e.translatedThreshold=i.getThreshold(n.threshold),u=s(n.minPointLength,5),c=e.getColumnMetrics(),d=c.width,f=e.barW=Math.max(d,1+2*r),p=e.pointXOffset=c.offset;t.inverted&&(a-=.5),n.pointPadding&&(f=Math.ceil(f)),l.prototype.translate.apply(e),o(e.points,function(n){var o,r=s(n.yBottom,a),l=999+Math.abs(r),l=Math.min(Math.max(-l,n.plotY),i.len+l),c=n.plotX+p,h=f,m=Math.min(l,r),v=Math.max(l,r)-m;Math.abs(v)u?r-u:a-(o?u:0)),n.barX=c,n.pointWidth=d,n.tooltipPos=t.inverted?[i.len+i.pos-t.plotLeft-l,e.xAxis.len-c-h/2,v]:[c+h/2,l+i.pos-t.plotTop,v],n.shapeType="rect",n.shapeArgs=e.crispCol.apply(e,n.isNull?[c,a,h,0]:[c,m,h,v])})},getSymbol:e.noop,drawLegendSymbol:e.LegendSymbolMixin.drawRectangle,drawGraph:function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},pointAttribs:function(e,t){var o,r=this.options,i=this.pointAttrToOptions||{};o=i.stroke||"borderColor";var s=i["stroke-width"]||"borderWidth",l=e&&e.color||this.color,u=e[o]||r[o]||this.color||l,c=e[s]||r[s]||this[s]||0,i=r.dashStyle;return e&&this.zones.length&&(l=e.getZone(),l=e.options.color||l&&l.color||this.color),t&&(e=a(r.states[t],e.options.states&&e.options.states[t]||{}),t=e.brightness,l=e.color||void 0!==t&&n(l).brighten(e.brightness).get()||l,u=e[o]||u,c=e[s]||c,i=e.dashStyle||i),o={fill:l,stroke:u,"stroke-width":c},r.borderRadius&&(o.r=r.borderRadius),i&&(o.dashstyle=i),o},drawPoints:function(){var e,t=this,n=this.chart,r=t.options,s=n.renderer,l=r.animationLimit||250;o(t.points,function(o){var u=o.graphic;i(o.plotY)&&null!==o.y?(e=o.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&&t.prototype.drawGraph.call(this)}})}(e),function(e){var t=e.pick,n=e.relativeLength;e.CenteredSeriesMixin={getCenter:function(){var e,o,r=this.options,i=this.chart,a=2*(r.slicedOffset||0),s=i.plotWidth-2*a,i=i.plotHeight-2*a,l=r.center,l=[t(l[0],"50%"),t(l[1],"50%"),r.size||"100%",r.innerSize||0],u=Math.min(s,i);for(e=0;4>e;++e)o=l[e],r=2>e||2===e&&/%$/.test(o),l[e]=n(o,[s,i,u,l[2]][e])+(r?a:0);return l[3]>l[2]&&(l[3]=l[2]),l}}}(e),function(e){var t=e.addEvent,n=e.defined,o=e.each,r=e.extend,i=e.inArray,a=e.noop,s=e.pick,l=e.Point,u=e.Series,c=e.seriesType,d=e.setAnimation;c("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:e.seriesTypes.column.prototype.pointAttribs,animate:function(e){var t=this,n=t.points,r=t.startAngleRad;e||(o(n,function(e){var n=e.graphic,o=e.shapeArgs;n&&(n.attr({r:e.startR||t.center[3]/2,start:r,end:r}),n.animate({r:o.r,start:o.start,end:o.end},t.options.animation))}),t.animate=null)},updateTotals:function(){var e,t,n=0,o=this.points,r=o.length,i=this.options.ignoreHiddenPoint;for(e=0;e1.5*Math.PI?o-=2*Math.PI:o<-Math.PI/2&&(o+=2*Math.PI),a.slicedTranslation={translateX:Math.round(Math.cos(o)*c),translateY:Math.round(Math.sin(o)*c)},n=Math.cos(o)*e[2]/2,r=Math.sin(o)*e[2]/2,a.tooltipPos=[e[0]+.7*n,e[1]+.7*r],a.half=o<-Math.PI/2||o>Math.PI/2?1:0,a.angle=o,t=Math.min(d,a.labelDistance/5),a.labelPos=[e[0]+n+Math.cos(o)*a.labelDistance,e[1]+r+Math.sin(o)*a.labelDistance,e[0]+n+Math.cos(o)*t,e[1]+r+Math.sin(o)*t,e[0]+n,e[1]+r,0>a.labelDistance?"center":a.half?"right":"left",o]},drawGraph:null,
+drawPoints:function(){var e,t,n,i,a=this,s=a.chart.renderer,l=a.options.shadow;l&&!a.shadowGroup&&(a.shadowGroup=s.g("shadow").add(a.group)),o(a.points,function(o){if(!o.isNull){t=o.graphic,i=o.shapeArgs,e=o.getTranslate();var u=o.shadowGroup;l&&!u&&(u=o.shadowGroup=s.g("shadow").add(a.shadowGroup)),u&&u.attr(e),n=a.pointAttribs(o,o.selected&&"select"),t?t.setRadialReference(a.center).attr(n).animate(r(i,e)):(o.graphic=t=s[o.shapeType](i).setRadialReference(a.center).attr(e).add(a.group),o.visible||t.attr({visibility:"hidden"}),t.attr(n).attr({"stroke-linejoin":"round"}).shadow(l,u)),t.addClass(o.getClassName())}})},searchPoint:a,sortByAngle:function(e,t){e.sort(function(e,n){return void 0!==e.angle&&(n.angle-e.angle)*t})},drawLegendSymbol:e.LegendSymbolMixin.drawRectangle,getCenter:e.CenteredSeriesMixin.getCenter,getSymbol:a},{init:function(){l.prototype.init.apply(this,arguments);var e,n=this;return n.name=s(n.name,"Slice"),e=function(e){n.slice("select"===e.type)},t(n,"select",e),t(n,"unselect",e),n},isValid:function(){return e.isNumber(this.y,!0)&&0<=this.y},setVisible:function(e,t){var n=this,r=n.series,a=r.chart,l=r.options.ignoreHiddenPoint;t=s(t,l),e!==n.visible&&(n.visible=n.options.visible=e=void 0===e?!n.visible:e,r.options.data[i(n,r.data)]=n.options,o(["graphic","dataLabel","connector","shadowGroup"],function(t){n[t]&&n[t][e?"show":"hide"](!0)}),n.legendItem&&a.legend.colorizeItem(n,e),e||"hover"!==n.state||n.setState(""),l&&(r.isDirty=!0),t&&a.redraw())},slice:function(e,t,o){var r=this.series;d(o,r.chart),s(t,!0),this.sliced=this.options.sliced=n(e)?e:!this.sliced,r.options.data[i(this,r.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(e){var t=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(t.x,t.y,t.r+e,t.r+e,{innerR:this.shapeArgs.r,start:t.start,end:t.end})}})}(e),function(e){var t=e.addEvent,n=e.arrayMax,o=e.defined,r=e.each,i=e.extend,a=e.format,s=e.map,l=e.merge,u=e.noop,c=e.pick,d=e.relativeLength,f=e.Series,p=e.seriesTypes,h=e.stableSort;e.distribute=function(e,t){function n(e,t){return e.target-t.target}var o,i,a=!0,l=e,u=[];for(i=0,o=e.length;o--;)i+=e[o].size;if(i>t){for(h(e,function(e,t){return(t.rank||0)-(e.rank||0)}),i=o=0;i<=t;)i+=e[o].size,o++;u=e.splice(o-1,e.length)}for(h(e,n),e=s(e,function(e){return{size:e.size,targets:[e.target]}});a;){for(o=e.length;o--;)a=e[o],i=(Math.min.apply(0,a.targets)+Math.max.apply(0,a.targets))/2,a.pos=Math.min(Math.max(0,i-a.size/2),t-a.size);for(o=e.length,a=!1;o--;)0e[o].pos&&(e[o-1].size+=e[o].size,e[o-1].targets=e[o-1].targets.concat(e[o].targets),e[o-1].pos+e[o-1].size>t&&(e[o-1].pos=t-e[o-1].size),e.splice(o,1),a=!0)}o=0,r(e,function(e){var t=0;r(e.targets,function(){l[o].pos=e.pos+t,t+=l[o].size,o++})}),l.push.apply(l,u),h(l,n)},f.prototype.drawDataLabels=function(){var n,i,s,u,d=this,f=d.options,p=f.dataLabels,h=d.points,m=d.hasRendered||0,v=c(p.defer,!!f.animation),y=d.chart.renderer;(p.enabled||d._hasPointLabels)&&(d.dlProcessOptions&&d.dlProcessOptions(p),u=d.plotGroup("dataLabelsGroup","data-labels",v&&!m?"hidden":"visible",p.zIndex||6),v&&(u.attr({opacity:+m}),m||t(d,"afterAnimate",function(){d.visible&&u.show(!0),u[f.animation?"animate":"attr"]({opacity:1},{duration:200})})),i=p,r(h,function(t){var r,h,m,v,g=t.dataLabel,b=t.connector,E=!g;n=t.dlOptions||t.options&&t.options.dataLabels,(r=c(n&&n.enabled,i.enabled)&&null!==t.y)&&(p=l(i,n),h=t.getLabelConfig(),s=p.format?a(p.format,h):p.formatter.call(h,p),v=p.style,h=p.rotation,v.color=c(p.color,v.color,d.color,"#000000"),"contrast"===v.color&&(t.contrastColor=y.getContrast(t.color||d.color),v.color=p.inside||0>c(t.labelDistance,p.distance)||f.stacking?t.contrastColor:"#000000"),f.cursor&&(v.cursor=f.cursor),m={fill:p.backgroundColor,stroke:p.borderColor,"stroke-width":p.borderWidth,r:p.borderRadius||0,rotation:h,padding:p.padding,zIndex:1},e.objectEach(m,function(e,t){void 0===e&&delete m[t]})),!g||r&&o(s)?r&&o(s)&&(g?m.text=s:(g=t.dataLabel=y[h?"text":"label"](s,0,-9999,p.shape,null,null,p.useHTML,null,"data-label"),g.addClass("highcharts-data-label-color-"+t.colorIndex+" "+(p.className||"")+(p.useHTML?"highcharts-tracker":""))),g.attr(m),g.css(v).shadow(p.shadow),g.added||g.add(u),d.alignDataLabel(t,g,p,null,E)):(t.dataLabel=g=g.destroy(),b&&(t.connector=b.destroy()))}))},f.prototype.alignDataLabel=function(e,t,n,o,r){var a,s=this.chart,l=s.inverted,u=c(e.plotX,-9999),d=c(e.plotY,-9999),f=t.getBBox(),p=n.rotation,h=n.align,m=this.visible&&(e.series.forceDL||s.isInsidePlot(u,Math.round(d),l)||o&&s.isInsidePlot(u,l?o.x+1:o.y+o.height-1,l)),v="justify"===c(n.overflow,"justify");m&&(a=n.style.fontSize,a=s.renderer.fontMetrics(a,t).b,o=i({x:l?s.plotWidth-d:u,y:Math.round(l?s.plotHeight-u:d),width:0,height:0},o),i(n,{width:f.width,height:f.height}),p?(v=!1,u=s.renderer.rotCorr(a,p),u={x:o.x+n.x+o.width/2+u.x,y:o.y+n.y+{top:0,middle:.5,bottom:1}[n.verticalAlign]*o.height},t[r?"attr":"animate"](u).attr({align:h}),d=(p+720)%360,d=180d,"left"===h?u.y-=d?f.height:0:"center"===h?(u.x-=f.width/2,u.y-=f.height/2):"right"===h&&(u.x-=f.width,u.y-=d?0:f.height)):(t.align(n,null,o),u=t.alignAttr),v?e.isLabelJustified=this.justifyDataLabel(t,n,u,f,o,r):c(n.crop,!0)&&(m=s.isInsidePlot(u.x,u.y)&&s.isInsidePlot(u.x+f.width,u.y+f.height)),n.shape&&!p)&&t[r?"attr":"animate"]({anchorX:l?s.plotWidth-e.plotY:e.plotX,anchorY:l?s.plotHeight-e.plotX:e.plotY}),m||(t.attr({y:-9999}),t.placed=!1)},f.prototype.justifyDataLabel=function(e,t,n,o,r,i){var a,s,l=this.chart,u=t.align,c=t.verticalAlign,d=e.box?0:e.padding||0;return a=n.x+d,0>a&&("right"===u?t.align="left":t.x=-a,s=!0),a=n.x+o.width-d,a>l.plotWidth&&("left"===u?t.align="right":t.x=l.plotWidth-a,s=!0),a=n.y+d,0>a&&("bottom"===c?t.verticalAlign="top":t.y=-a,s=!0),a=n.y+o.height-d,a>l.plotHeight&&("top"===c?t.verticalAlign="bottom":t.y=l.plotHeight-a,s=!0),s&&(e.placed=!i,e.align(t,null,r)),s},p.pie&&(p.pie.prototype.drawDataLabels=function(){var t,i,a,s,l,u,d,p,h,m,v=this,y=v.data,g=v.chart,b=v.options.dataLabels,E=c(b.connectorPadding,10),_=c(b.connectorWidth,1),x=g.plotWidth,w=g.plotHeight,C=v.center,O=C[2]/2,N=C[1],T=[[],[]],k=[0,0,0,0];v.visible&&(b.enabled||v._hasPointLabels)&&(r(y,function(e){e.dataLabel&&e.visible&&e.dataLabel.shortened&&(e.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),e.dataLabel.shortened=!1)}),f.prototype.drawDataLabels.apply(v),r(y,function(e){e.dataLabel&&e.visible&&(T[e.half].push(e),e.dataLabel._pos=null)}),r(T,function(n,i){var c,f,y,_=n.length,T=[];if(_)for(v.sortByAngle(n,i-.5),0t.bottom-2?c:p,i,t),a._attr={visibility:h,align:l[6]},a._pos={x:d+b.x+({left:E,right:-E}[l[6]]||0),y:p+b.y-10},l.x=d,l.y=p,s=a.getBBox().width,c=null,d-sx-E&&(c=Math.round(d+s-x+E),k[1]=Math.max(c,k[1])),0>p-u/2?k[0]=Math.max(Math.round(-p+u/2),k[0]):p+u/2>w&&(k[2]=Math.max(Math.round(p+u/2-w),k[2])),a.sideOverflow=c}),0===n(k)||this.verifyDataLabelOverflow(k))&&(this.placeDataLabels(),_&&r(this.points,function(e){var t;i=e.connector,(a=e.dataLabel)&&a._pos&&e.visible&&0c(this.translatedThreshold,a.yAxis.len)),d=c(n.inside,!!this.options.stacking);s&&(o=l(s),0>o.y&&(o.height+=o.y,o.y=0),s=o.y+o.height-a.yAxis.len,0e+n||r+at+o||i+sthis.pointCount))},pan:function(e,t){var n,o=this,r=o.hoverPoints;r&&l(r,function(e){e.setState()}),l("xy"===t?[1,0]:[1],function(t){t=o[t?"xAxis":"yAxis"][0];var r,i=t.horiz,a=e[i?"chartX":"chartY"],i=i?"mouseDownX":"mouseDownY",s=o[i],l=(t.pointRange||0)/2,u=t.getExtremes(),c=t.toValue(s-a,!0)+l,l=t.toValue(s+t.len-a,!0)-l,d=l=a(n.minWidth,0)&&this.chartHeight>=a(n.minHeight,0)}).call(this)&&t.push(e._id)},t.prototype.currentOptions=function(t){function n(t,a,l,u){var c;e.objectEach(t,function(e,d){if(!u&&-10&&void 0!==arguments[0]?arguments[0]:{};(0,u.default)(h.canUseDOM,"Browser history needs a DOM");var t=window.history,n=(0,h.supportsHistory)(),o=!(0,h.supportsPopStateOnHashChange)(),a=e.forceRefresh,l=void 0!==a&&a,f=e.getUserConfirmation,g=void 0===f?h.getConfirmation:f,b=e.keyLength,E=void 0===b?6:b,_=e.basename?(0,d.stripTrailingSlash)((0,d.addLeadingSlash)(e.basename)):"",x=function(e){var t=e||{},n=t.key,o=t.state,r=window.location,a=r.pathname,s=r.search,l=r.hash,u=a+s+l;return _&&(u=(0,d.stripPrefix)(u,_)),i({},(0,d.parsePath)(u),{state:o,key:n})},w=function(){return Math.random().toString(36).substr(2,E)},C=(0,p.default)(),O=function(e){i(z,e),z.length=t.length,C.notifyListeners(z.location,z.action)},N=function(e){(0,h.isExtraneousPopstateEvent)(e)||P(x(e.state))},T=function(){P(x(y()))},k=!1,P=function(e){if(k)k=!1,O();else{var t="POP";C.confirmTransitionTo(e,t,g,function(n){n?O({action:t,location:e}):S(e)})}},S=function(e){var t=z.location,n=A.indexOf(t.key);n===-1&&(n=0);var o=A.indexOf(e.key);o===-1&&(o=0);var r=n-o;r&&(k=!0,j(r))},M=x(y()),A=[M.key],D=function(e){return _+(0,d.createPath)(e)},R=function(e,o){(0,s.default)(!("object"===("undefined"==typeof e?"undefined":r(e))&&void 0!==e.state&&void 0!==o),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i="PUSH",a=(0,c.createLocation)(e,o,w(),z.location);C.confirmTransitionTo(a,i,g,function(e){if(e){var o=D(a),r=a.key,u=a.state;if(n)if(t.pushState({key:r,state:u},null,o),l)window.location.href=o;else{var c=A.indexOf(z.location.key),d=A.slice(0,c===-1?0:c+1);d.push(a.key),A=d,O({action:i,location:a})}else(0,s.default)(void 0===u,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=o}})},I=function(e,o){(0,s.default)(!("object"===("undefined"==typeof e?"undefined":r(e))&&void 0!==e.state&&void 0!==o),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i="REPLACE",a=(0,c.createLocation)(e,o,w(),z.location);C.confirmTransitionTo(a,i,g,function(e){if(e){var o=D(a),r=a.key,u=a.state;if(n)if(t.replaceState({key:r,state:u},null,o),l)window.location.replace(o);else{var c=A.indexOf(z.location.key);c!==-1&&(A[c]=a.key),O({action:i,location:a})}else(0,s.default)(void 0===u,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(o)}})},j=function(e){t.go(e)},L=function(){return j(-1)},B=function(){return j(1)},V=0,F=function(e){V+=e,1===V?((0,h.addEventListener)(window,m,N),o&&(0,h.addEventListener)(window,v,T)):0===V&&((0,h.removeEventListener)(window,m,N),o&&(0,h.removeEventListener)(window,v,T))},U=!1,H=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=C.setPrompt(e);return U||(F(1),U=!0),function(){return U&&(U=!1,F(-1)),t()}},W=function(e){var t=C.appendListener(e);return F(1),function(){F(-1),t()}},z={length:t.length,action:"POP",location:M,createHref:D,push:R,replace:I,go:j,goBack:L,goForward:B,block:H,listen:W};return z};t.default=g},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t=0?t:0)+"#"+e)},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,l.default)(p.canUseDOM,"Hash history needs a DOM");var t=window.history,n=(0,p.supportsGoWithoutReloadUsingHash)(),o=e.getUserConfirmation,i=void 0===o?p.getConfirmation:o,s=e.hashType,d=void 0===s?"slash":s,b=e.basename?(0,c.stripTrailingSlash)((0,c.addLeadingSlash)(e.basename)):"",E=m[d],_=E.encodePath,x=E.decodePath,w=function(){var e=x(v());return b&&(e=(0,c.stripPrefix)(e,b)),(0,c.parsePath)(e)},C=(0,f.default)(),O=function(e){r(G,e),G.length=t.length,C.notifyListeners(G.location,G.action)},N=!1,T=null,k=function(){var e=v(),t=_(e);if(e!==t)g(t);else{var n=w(),o=G.location;if(!N&&(0,u.locationsAreEqual)(o,n))return;if(T===(0,c.createPath)(n))return;T=null,P(n)}},P=function(e){if(N)N=!1,O();else{var t="POP";C.confirmTransitionTo(e,t,i,function(n){n?O({action:t,location:e}):S(e)})}},S=function(e){var t=G.location,n=R.lastIndexOf((0,c.createPath)(t));n===-1&&(n=0);var o=R.lastIndexOf((0,c.createPath)(e));o===-1&&(o=0);var r=n-o;r&&(N=!0,B(r))},M=v(),A=_(M);M!==A&&g(A);var D=w(),R=[(0,c.createPath)(D)],I=function(e){return"#"+_(b+(0,c.createPath)(e))},j=function(e,t){(0,a.default)(void 0===t,"Hash history cannot push state; it is ignored");var n="PUSH",o=(0,u.createLocation)(e,void 0,void 0,G.location);C.confirmTransitionTo(o,n,i,function(e){if(e){var t=(0,c.createPath)(o),r=_(b+t),i=v()!==r;if(i){T=t,y(r);var s=R.lastIndexOf((0,c.createPath)(G.location)),l=R.slice(0,s===-1?0:s+1);l.push(t),R=l,O({action:n,location:o})}else(0,a.default)(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),O()}})},L=function(e,t){(0,a.default)(void 0===t,"Hash history cannot replace state; it is ignored");var n="REPLACE",o=(0,u.createLocation)(e,void 0,void 0,G.location);C.confirmTransitionTo(o,n,i,function(e){if(e){var t=(0,c.createPath)(o),r=_(b+t),i=v()!==r;i&&(T=t,g(r));var a=R.indexOf((0,c.createPath)(G.location));a!==-1&&(R[a]=t),O({action:n,location:o})}})},B=function(e){(0,a.default)(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},V=function(){return B(-1)},F=function(){return B(1)},U=0,H=function(e){U+=e,1===U?(0,p.addEventListener)(window,h,k):0===U&&(0,p.removeEventListener)(window,h,k)},W=!1,z=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=C.setPrompt(e);return W||(H(1),W=!0),function(){return W&&(W=!1,H(-1)),t()}},Y=function(e){var t=C.appendListener(e);return H(1),function(){H(-1),t()}},G={length:t.length,action:"POP",location:D,createHref:I,push:j,replace:L,go:B,goBack:V,goForward:F,block:z,listen:Y};return G};t.default=b},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.getUserConfirmation,n=e.initialEntries,o=void 0===n?["/"]:n,a=e.initialIndex,c=void 0===a?0:a,p=e.keyLength,h=void 0===p?6:p,m=(0,d.default)(),v=function(e){i(P,e),P.length=P.entries.length,m.notifyListeners(P.location,P.action)},y=function(){return Math.random().toString(36).substr(2,h)},g=f(c,0,o.length-1),b=o.map(function(e){return"string"==typeof e?(0,u.createLocation)(e,void 0,y()):(0,u.createLocation)(e,void 0,e.key||y())}),E=l.createPath,_=function(e,n){(0,s.default)(!("object"===("undefined"==typeof e?"undefined":r(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var o="PUSH",i=(0,u.createLocation)(e,n,y(),P.location);m.confirmTransitionTo(i,o,t,function(e){if(e){var t=P.index,n=t+1,r=P.entries.slice(0);r.length>n?r.splice(n,r.length-n,i):r.push(i),v({action:o,location:i,index:n,entries:r})}})},x=function(e,n){(0,s.default)(!("object"===("undefined"==typeof e?"undefined":r(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var o="REPLACE",i=(0,u.createLocation)(e,n,y(),P.location);m.confirmTransitionTo(i,o,t,function(e){e&&(P.entries[P.index]=i,v({action:o,location:i}))})},w=function(e){var n=f(P.index+e,0,P.entries.length-1),o="POP",r=P.entries[n];m.confirmTransitionTo(r,o,t,function(e){e?v({action:o,location:r,index:n}):v()})},C=function(){return w(-1)},O=function(){return w(1)},N=function(e){var t=P.index+e;return t>=0&&t0&&void 0!==arguments[0]&&arguments[0];return m.setPrompt(e)},k=function(e){return m.appendListener(e)},P={length:b.length,action:"POP",location:b[g],index:g,entries:b,createHref:E,push:_,replace:x,go:w,goBack:C,goForward:O,canGo:N,block:T,listen:k};return P};t.default=p},function(e,t){t.read=function(e,t,n,o,r){var i,a,s=8*r-o-1,l=(1<>1,c=-7,d=n?r-1:0,f=n?-1:1,p=e[t+d];for(d+=f,i=p&(1<<-c)-1,p>>=-c,c+=s;c>0;i=256*i+e[t+d],d+=f,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=o;c>0;a=256*a+e[t+d],d+=f,c-=8);if(0===i)i=1-u;else{if(i===l)return a?NaN:(p?-1:1)*(1/0);a+=Math.pow(2,o),i-=u}return(p?-1:1)*a*Math.pow(2,i-o)},t.write=function(e,t,n,o,r,i){var a,s,l,u=8*i-r-1,c=(1<>1,f=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,p=o?0:i-1,h=o?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),t+=a+d>=1?f/l:f*Math.pow(2,1-d),t*l>=2&&(a++,l/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*l-1)*Math.pow(2,r),
+a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,r),a=0));r>=8;e[n+p]=255&s,p+=h,s/=256,r-=8);for(a=a<0;e[n+p]=255&a,p+=h,a/=256,u-=8);e[n+p-h]|=128*m}},function(e,t){e.exports={grayBase:"#000000",grayDarker:"#222222",grayDark:"#333333",gray:"#555555",grayLight:"#777777",grayLighter:"#eeeeee",brandPrimary:"#337ab7",brandSuccess:"#5cb85c",brandInfo:"#5bc0de",brandWarning:"#f0ad4e",brandDanger:"#d9534f",bodyBg:"#ffffff",textColor:"#333333",linkColor:"#337ab7",linkHoverColor:"#23527c",linkHoverDecoration:"underline",fontFamilySansSerif:'"Helvetica Neue"',fontFamilySerif:"Georgia",fontFamilyMonospace:"Menlo",fontFamilyBase:'"Helvetica Neue"',fontSizeBase:"14px",fontSizeLarge:"18px",fontSizeSmall:"12px",fontSizeH1:"36px",fontSizeH2:"30px",fontSizeH3:"24px",fontSizeH4:"18px",fontSizeH5:"14px",fontSizeH6:"12px",lineHeightBase:"1.428571429",lineHeightComputed:"20px",headingsFontFamily:"inherit",headingsFontWeight:"500",headingsLineHeight:"1.1",headingsColor:"inherit",iconFontPath:'"../fonts/"',iconFontName:'"glyphicons-halflings-regular"',iconFontSvgId:'"glyphicons_halflingsregular"',paddingBaseVertical:"6px",paddingBaseHorizontal:"12px",paddingLargeVertical:"10px",paddingLargeHorizontal:"16px",paddingSmallVertical:"5px",paddingSmallHorizontal:"10px",paddingXsVertical:"1px",paddingXsHorizontal:"5px",lineHeightLarge:"1.3333333",lineHeightSmall:"1.5",borderRadiusBase:"4px",borderRadiusLarge:"6px",borderRadiusSmall:"3px",componentActiveColor:"#ffffff",componentActiveBg:"#337ab7",caretWidthBase:"4px",caretWidthLarge:"5px",tableCellPadding:"8px",tableCondensedCellPadding:"5px",tableBg:"transparent",tableBgAccent:"#f9f9f9",tableBgHover:"#f5f5f5",tableBgActive:"#f5f5f5",tableBorderColor:"#dddddd",btnFontWeight:"normal",btnDefaultColor:"#333333",btnDefaultBg:"#ffffff",btnDefaultBorder:"#cccccc",btnPrimaryColor:"#ffffff",btnPrimaryBg:"#337ab7",btnPrimaryBorder:"#2e6da4",btnSuccessColor:"#ffffff",btnSuccessBg:"#5cb85c",btnSuccessBorder:"#4cae4c",btnInfoColor:"#ffffff",btnInfoBg:"#5bc0de",btnInfoBorder:"#46b8da",btnWarningColor:"#ffffff",btnWarningBg:"#f0ad4e",btnWarningBorder:"#eea236",btnDangerColor:"#ffffff",btnDangerBg:"#d9534f",btnDangerBorder:"#d43f3a",btnLinkDisabledColor:"#777777",btnBorderRadiusBase:"4px",btnBorderRadiusLarge:"6px",btnBorderRadiusSmall:"3px",inputBg:"#ffffff",inputBgDisabled:"#eeeeee",inputColor:"#555555",inputBorder:"#cccccc",inputBorderRadius:"4px",inputBorderRadiusLarge:"6px",inputBorderRadiusSmall:"3px",inputBorderFocus:"#66afe9",inputColorPlaceholder:"#999999",inputHeightBase:"34px",inputHeightLarge:"46px",inputHeightSmall:"30px",formGroupMarginBottom:"15px",legendColor:"#333333",legendBorderColor:"#e5e5e5",inputGroupAddonBg:"#eeeeee",inputGroupAddonBorderColor:"#cccccc",cursorDisabled:"not-allowed",dropdownBg:"#ffffff",dropdownBorder:"rgba(0, 0, 0, 0.15)",dropdownFallbackBorder:"#cccccc",dropdownDividerBg:"#e5e5e5",dropdownLinkColor:"#333333",dropdownLinkHoverColor:"#262626",dropdownLinkHoverBg:"#f5f5f5",dropdownLinkActiveColor:"#ffffff",dropdownLinkActiveBg:"#337ab7",dropdownLinkDisabledColor:"#777777",dropdownHeaderColor:"#777777",dropdownCaretColor:"#000000",zindexNavbar:"1000",zindexDropdown:"1000",zindexPopover:"1060",zindexTooltip:"1070",zindexNavbarFixed:"1030",zindexModalBackground:"1040",zindexModal:"1050",screenXs:"480px",screenXsMin:"480px",screenPhone:"480px",screenSm:"768px",screenSmMin:"768px",screenTablet:"768px",screenMd:"992px",screenMdMin:"992px",screenDesktop:"992px",screenLg:"1200px",screenLgMin:"1200px",screenLgDesktop:"1200px",screenXsMax:"767px",screenSmMax:"991px",screenMdMax:"1199px",gridColumns:"12",gridGutterWidth:"30px",gridFloatBreakpoint:"768px",gridFloatBreakpointMax:"767px",containerTablet:"750px",containerSm:"750px",containerDesktop:"970px",containerMd:"970px",containerLargeDesktop:"1170px",containerLg:"1170px",navbarHeight:"50px",navbarMarginBottom:"20px",navbarBorderRadius:"4px",navbarPaddingHorizontal:"15px",navbarPaddingVertical:"15px",navbarCollapseMaxHeight:"340px",navbarDefaultColor:"#777777",navbarDefaultBg:"#f8f8f8",navbarDefaultBorder:"#e7e7e7",navbarDefaultLinkColor:"#777777",navbarDefaultLinkHoverColor:"#333333",navbarDefaultLinkHoverBg:"transparent",navbarDefaultLinkActiveColor:"#555555",navbarDefaultLinkActiveBg:"#e7e7e7",navbarDefaultLinkDisabledColor:"#cccccc",navbarDefaultLinkDisabledBg:"transparent",navbarDefaultBrandColor:"#777777",navbarDefaultBrandHoverColor:"#5e5e5e",navbarDefaultBrandHoverBg:"transparent",navbarDefaultToggleHoverBg:"#dddddd",navbarDefaultToggleIconBarBg:"#888888",navbarDefaultToggleBorderColor:"#dddddd",navbarInverseColor:"#9d9d9d",navbarInverseBg:"#222222",navbarInverseBorder:"#080808",navbarInverseLinkColor:"#9d9d9d",navbarInverseLinkHoverColor:"#ffffff",navbarInverseLinkHoverBg:"transparent",navbarInverseLinkActiveColor:"#ffffff",navbarInverseLinkActiveBg:"#080808",navbarInverseLinkDisabledColor:"#444444",navbarInverseLinkDisabledBg:"transparent",navbarInverseBrandColor:"#9d9d9d",navbarInverseBrandHoverColor:"#ffffff",navbarInverseBrandHoverBg:"transparent",navbarInverseToggleHoverBg:"#333333",navbarInverseToggleIconBarBg:"#ffffff",navbarInverseToggleBorderColor:"#333333",navLinkPadding:"10px 15px",navLinkHoverBg:"#eeeeee",navDisabledLinkColor:"#777777",navDisabledLinkHoverColor:"#777777",navTabsBorderColor:"#dddddd",navTabsLinkHoverBorderColor:"#eeeeee",navTabsActiveLinkHoverBg:"#ffffff",navTabsActiveLinkHoverColor:"#555555",navTabsActiveLinkHoverBorderColor:"#dddddd",navTabsJustifiedLinkBorderColor:"#dddddd",navTabsJustifiedActiveLinkBorderColor:"#ffffff",navPillsBorderRadius:"4px",navPillsActiveLinkHoverBg:"#337ab7",navPillsActiveLinkHoverColor:"#ffffff",paginationColor:"#337ab7",paginationBg:"#ffffff",paginationBorder:"#dddddd",paginationHoverColor:"#23527c",paginationHoverBg:"#eeeeee",paginationHoverBorder:"#dddddd",paginationActiveColor:"#ffffff",paginationActiveBg:"#337ab7",paginationActiveBorder:"#337ab7",paginationDisabledColor:"#777777",paginationDisabledBg:"#ffffff",paginationDisabledBorder:"#dddddd",pagerBg:"#ffffff",pagerBorder:"#dddddd",pagerBorderRadius:"15px",pagerHoverBg:"#eeeeee",pagerActiveBg:"#337ab7",pagerActiveColor:"#ffffff",pagerDisabledColor:"#777777",jumbotronPadding:"30px",jumbotronColor:"inherit",jumbotronBg:"#eeeeee",jumbotronHeadingColor:"inherit",jumbotronFontSize:"21px",jumbotronHeadingFontSize:"63px",stateSuccessText:"#3c763d",stateSuccessBg:"#dff0d8",stateSuccessBorder:"#d6e9c6",stateInfoText:"#31708f",stateInfoBg:"#d9edf7",stateInfoBorder:"#bce8f1",stateWarningText:"#8a6d3b",stateWarningBg:"#fcf8e3",stateWarningBorder:"#faebcc",stateDangerText:"#a94442",stateDangerBg:"#f2dede",stateDangerBorder:"#ebccd1",tooltipMaxWidth:"200px",tooltipColor:"#ffffff",tooltipBg:"#000000",tooltipOpacity:"0.9",tooltipArrowWidth:"5px",tooltipArrowColor:"#000000",popoverBg:"#ffffff",popoverMaxWidth:"276px",popoverBorderColor:"rgba(0, 0, 0, 0.2)",popoverFallbackBorderColor:"#cccccc",popoverTitleBg:"#f7f7f7",popoverArrowWidth:"10px",popoverArrowColor:"#ffffff",popoverArrowOuterWidth:"11px",popoverArrowOuterColor:"rgba(0, 0, 0, 0.25)",popoverArrowOuterFallbackColor:"#999999",labelDefaultBg:"#777777",labelPrimaryBg:"#337ab7",labelSuccessBg:"#5cb85c",labelInfoBg:"#5bc0de",labelWarningBg:"#f0ad4e",labelDangerBg:"#d9534f",labelColor:"#ffffff",labelLinkHoverColor:"#ffffff",modalInnerPadding:"15px",modalTitlePadding:"15px",modalTitleLineHeight:"1.428571429",modalContentBg:"#ffffff",modalContentBorderColor:"rgba(0, 0, 0, 0.2)",modalContentFallbackBorderColor:"#999999",modalBackdropBg:"#000000",modalBackdropOpacity:"0.5",modalHeaderBorderColor:"#e5e5e5",modalFooterBorderColor:"#e5e5e5",modalLg:"900px",modalMd:"600px",modalSm:"300px",alertPadding:"15px",alertBorderRadius:"4px",alertLinkFontWeight:"bold",alertSuccessBg:"#dff0d8",alertSuccessText:"#3c763d",alertSuccessBorder:"#d6e9c6",alertInfoBg:"#d9edf7",alertInfoText:"#31708f",alertInfoBorder:"#bce8f1",alertWarningBg:"#fcf8e3",alertWarningText:"#8a6d3b",alertWarningBorder:"#faebcc",alertDangerBg:"#f2dede",alertDangerText:"#a94442",alertDangerBorder:"#ebccd1",progressBg:"#f5f5f5",progressBarColor:"#ffffff",progressBorderRadius:"4px",progressBarBg:"#337ab7",progressBarSuccessBg:"#5cb85c",progressBarWarningBg:"#f0ad4e",progressBarDangerBg:"#d9534f",progressBarInfoBg:"#5bc0de",listGroupBg:"#ffffff",listGroupBorder:"#dddddd",listGroupBorderRadius:"4px",listGroupHoverBg:"#f5f5f5",listGroupActiveColor:"#ffffff",listGroupActiveBg:"#337ab7",listGroupActiveBorder:"#337ab7",listGroupActiveTextColor:"#c7ddef",listGroupDisabledColor:"#777777",listGroupDisabledBg:"#eeeeee",listGroupDisabledTextColor:"#777777",listGroupLinkColor:"#555555",listGroupLinkHoverColor:"#555555",listGroupLinkHeadingColor:"#333333",panelBg:"#ffffff",panelBodyPadding:"15px",panelHeadingPadding:"10px 15px",panelFooterPadding:"10px 15px",panelBorderRadius:"4px",panelInnerBorder:"#dddddd",panelFooterBg:"#f5f5f5",panelDefaultText:"#333333",panelDefaultBorder:"#dddddd",panelDefaultHeadingBg:"#f5f5f5",panelPrimaryText:"#ffffff",panelPrimaryBorder:"#337ab7",panelPrimaryHeadingBg:"#337ab7",panelSuccessText:"#3c763d",panelSuccessBorder:"#d6e9c6",panelSuccessHeadingBg:"#dff0d8",panelInfoText:"#31708f",panelInfoBorder:"#bce8f1",panelInfoHeadingBg:"#d9edf7",panelWarningText:"#8a6d3b",panelWarningBorder:"#faebcc",panelWarningHeadingBg:"#fcf8e3",panelDangerText:"#a94442",panelDangerBorder:"#ebccd1",panelDangerHeadingBg:"#f2dede",thumbnailPadding:"4px",thumbnailBg:"#ffffff",thumbnailBorder:"#dddddd",thumbnailBorderRadius:"4px",thumbnailCaptionColor:"#333333",thumbnailCaptionPadding:"9px",wellBg:"#f5f5f5",wellBorder:"#e3e3e3",badgeColor:"#ffffff",badgeLinkHoverColor:"#ffffff",badgeBg:"#777777",badgeActiveColor:"#337ab7",badgeActiveBg:"#ffffff",badgeFontWeight:"bold",badgeLineHeight:"1",badgeBorderRadius:"10px",breadcrumbPaddingVertical:"8px",breadcrumbPaddingHorizontal:"15px",breadcrumbBg:"#f5f5f5",breadcrumbColor:"#cccccc",breadcrumbActiveColor:"#777777",breadcrumbSeparator:'"/"',carouselTextShadow:"0 1px 2px rgba(0, 0, 0, 0.6)",carouselControlColor:"#ffffff",carouselControlWidth:"15%",carouselControlOpacity:"0.5",carouselControlFontSize:"20px",carouselIndicatorActiveBg:"#ffffff",carouselIndicatorBorderColor:"#ffffff",carouselCaptionColor:"#ffffff",closeFontWeight:"bold",closeColor:"#000000",closeTextShadow:"0 1px 0 #ffffff",codeColor:"#c7254e",codeBg:"#f9f2f4",kbdColor:"#ffffff",kbdBg:"#333333",preBg:"#f5f5f5",preColor:"#333333",preBorderColor:"#cccccc",preScrollableMaxHeight:"340px",componentOffsetHorizontal:"180px",textMuted:"#777777",abbrBorderColor:"#777777",headingsSmallColor:"#777777",blockquoteSmallColor:"#777777",blockquoteFontSize:"17.5px",blockquoteBorderColor:"#eeeeee",pageHeaderBorderColor:"#eeeeee",dlHorizontalOffset:"180px",dlHorizontalBreakpoint:"768px",hrBorder:"#eeeeee"}},function(e,t,n){var o;(function(e,r){(function(){function i(e,t){function n(e){if(n[e]!==v)return n[e];var i;if("bug-string-char-index"==e)i="a"!="a"[0];else if("json"==e)i=n("json-stringify")&&n("json-parse");else{var a,s='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if("json-stringify"==e){var u=t.stringify,c="function"==typeof u&&b;if(c){(a=function(){return 1}).toJSON=a;try{c="0"===u(0)&&"0"===u(new o)&&'""'==u(new r)&&u(g)===v&&u(v)===v&&u()===v&&"1"===u(a)&&"[1]"==u([a])&&"[null]"==u([v])&&"null"==u(null)&&"[null,null,null]"==u([v,g,null])&&u({a:[a,!0,!1,null,"\0\b\n\f\r\t"]})==s&&"1"===u(null,a)&&"[\n 1,\n 2\n]"==u([1,2],null,1)&&'"-271821-04-20T00:00:00.000Z"'==u(new l(-864e13))&&'"+275760-09-13T00:00:00.000Z"'==u(new l(864e13))&&'"-000001-01-01T00:00:00.000Z"'==u(new l(-621987552e5))&&'"1969-12-31T23:59:59.999Z"'==u(new l(-1))}catch(e){c=!1}}i=c}if("json-parse"==e){var d=t.parse;if("function"==typeof d)try{if(0===d("0")&&!d(!1)){a=d(s);var f=5==a.a.length&&1===a.a[0];if(f){try{f=!d('"\t"')}catch(e){}if(f)try{f=1!==d("01")}catch(e){}if(f)try{f=1!==d("1.")}catch(e){}}}}catch(e){f=!1}i=f}}return n[e]=!!i}e||(e=u.Object()),t||(t=u.Object());var o=e.Number||u.Number,r=e.String||u.String,a=e.Object||u.Object,l=e.Date||u.Date,c=e.SyntaxError||u.SyntaxError,d=e.TypeError||u.TypeError,f=e.Math||u.Math,p=e.JSON||u.JSON;"object"==typeof p&&p&&(t.stringify=p.stringify,t.parse=p.parse);var h,m,v,y=a.prototype,g=y.toString,b=new l(-0xc782b5b800cec);try{b=b.getUTCFullYear()==-109252&&0===b.getUTCMonth()&&1===b.getUTCDate()&&10==b.getUTCHours()&&37==b.getUTCMinutes()&&6==b.getUTCSeconds()&&708==b.getUTCMilliseconds()}catch(e){}if(!n("json")){var E="[object Function]",_="[object Date]",x="[object Number]",w="[object String]",C="[object Array]",O="[object Boolean]",N=n("bug-string-char-index");if(!b)var T=f.floor,k=[0,31,59,90,120,151,181,212,243,273,304,334],P=function(e,t){return k[t]+365*(e-1970)+T((e-1969+(t=+(t>1)))/4)-T((e-1901+t)/100)+T((e-1601+t)/400)};if((h=y.hasOwnProperty)||(h=function(e){var t,n={};return(n.__proto__=null,n.__proto__={toString:1},n).toString!=g?h=function(e){var t=this.__proto__,n=e in(this.__proto__=null,this);return this.__proto__=t,n}:(t=n.constructor,h=function(e){var n=(this.constructor||t).prototype;return e in this&&!(e in n&&this[e]===n[e])}),n=null,h.call(this,e)}),m=function(e,t){var n,o,r,i=0;(n=function(){this.valueOf=0}).prototype.valueOf=0,o=new n;for(r in o)h.call(o,r)&&i++;return n=o=null,i?m=2==i?function(e,t){var n,o={},r=g.call(e)==E;for(n in e)r&&"prototype"==n||h.call(o,n)||!(o[n]=1)||!h.call(e,n)||t(n)}:function(e,t){var n,o,r=g.call(e)==E;for(n in e)r&&"prototype"==n||!h.call(e,n)||(o="constructor"===n)||t(n);(o||h.call(e,n="constructor"))&&t(n)}:(o=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],m=function(e,t){var n,r,i=g.call(e)==E,a=!i&&"function"!=typeof e.constructor&&s[typeof e.hasOwnProperty]&&e.hasOwnProperty||h;for(n in e)i&&"prototype"==n||!a.call(e,n)||t(n);for(r=o.length;n=o[--r];a.call(e,n)&&t(n));}),m(e,t)},!n("json-stringify")){var S={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},M="000000",A=function(e,t){return(M+(t||0)).slice(-e)},D="\\u00",R=function(e){for(var t='"',n=0,o=e.length,r=!N||o>10,i=r&&(N?e.split(""):e);n-1/0&&s<1/0){if(P){for(f=T(s/864e5),u=T(f/365.2425)+1970-1;P(u+1,0)<=f;u++);for(c=T((f-P(u,0))/30.42);P(u,c+1)<=f;c++);f=1+f-P(u,c),p=(s%864e5+864e5)%864e5,y=T(p/36e5)%24,b=T(p/6e4)%60,E=T(p/1e3)%60,N=p%1e3}else u=s.getUTCFullYear(),c=s.getUTCMonth(),f=s.getUTCDate(),y=s.getUTCHours(),b=s.getUTCMinutes(),E=s.getUTCSeconds(),N=s.getUTCMilliseconds();s=(u<=0||u>=1e4?(u<0?"-":"+")+A(6,u<0?-u:u):A(4,u))+"-"+A(2,c+1)+"-"+A(2,f)+"T"+A(2,y)+":"+A(2,b)+":"+A(2,E)+"."+A(3,N)+"Z"}else s=null;if(n&&(s=n.call(t,e,s)),null===s)return"null";if(l=g.call(s),l==O)return""+s;if(l==x)return s>-1/0&&s<1/0?""+s:"null";if(l==w)return R(""+s);if("object"==typeof s){for(D=a.length;D--;)if(a[D]===s)throw d();if(a.push(s),k=[],j=i,i+=r,l==C){for(M=0,D=s.length;M0)for(o="",n>10&&(n=10);o.length=48&&r<=57||r>=97&&r<=102||r>=65&&r<=70||F();e+=B("0x"+i.slice(t,j));break;default:F()}else{if(34==r)break;for(r=i.charCodeAt(j),t=j;r>=32&&92!=r&&34!=r;)r=i.charCodeAt(++j);e+=i.slice(t,j)}if(34==i.charCodeAt(j))return j++,e;F();default:if(t=j,45==r&&(o=!0,r=i.charCodeAt(++j)),r>=48&&r<=57){for(48==r&&(r=i.charCodeAt(j+1),r>=48&&r<=57)&&F(),o=!1;j=48&&r<=57);j++);if(46==i.charCodeAt(j)){for(n=++j;n=48&&r<=57);n++);n==j&&F(),j=n}if(r=i.charCodeAt(j),101==r||69==r){for(r=i.charCodeAt(++j),43!=r&&45!=r||j++,n=j;n=48&&r<=57);n++);n==j&&F(),j=n}return+i.slice(t,j)}if(o&&F(),"true"==i.slice(j,j+4))return j+=4,!0;if("false"==i.slice(j,j+5))return j+=5,!1;if("null"==i.slice(j,j+4))return j+=4,null;F()}return"$"},H=function(e){var t,n;if("$"==e&&F(),"string"==typeof e){if("@"==(N?e.charAt(0):e[0]))return e.slice(1);if("["==e){for(t=[];e=U(),"]"!=e;n||(n=!0))n&&(","==e?(e=U(),"]"==e&&F()):F()),","==e&&F(),t.push(H(e));return t}if("{"==e){for(t={};e=U(),"}"!=e;n||(n=!0))n&&(","==e?(e=U(),"}"==e&&F()):F()),","!=e&&"string"==typeof e&&"@"==(N?e.charAt(0):e[0])&&":"==U()||F(),t[e.slice(1)]=H(U());return t}F()}return e},W=function(e,t,n){var o=z(e,t,n);o===v?delete e[t]:e[t]=o},z=function(e,t,n){var o,r=e[t];if("object"==typeof r&&r)if(g.call(r)==C)for(o=r.length;o--;)W(r,o,n);else m(r,function(e){W(r,e,n)});return n.call(e,t,r)};t.parse=function(e,t){var n,o;return j=0,L=""+e,n=H(U()),"$"!=U()&&F(),j=L=null,t&&g.call(t)==E?z((o={},o[""]=n,o),"",t):n}}}return t.runInContext=i,t}var a=n(802),s={function:!0,object:!0},l=s[typeof t]&&t&&!t.nodeType&&t,u=s[typeof window]&&window||this,c=l&&s[typeof e]&&e&&!e.nodeType&&"object"==typeof r&&r;if(!c||c.global!==c&&c.window!==c&&c.self!==c||(u=c),l&&!a)i(u,l);else{var d=u.JSON,f=u.JSON3,p=!1,h=i(u,u.JSON3={noConflict:function(){return p||(p=!0,u.JSON=d,u.JSON3=f,d=f=null),h}});u.JSON={parse:h.parse,stringify:h.stringify}}a&&(o=function(){return h}.call(t,n,t,e),!(void 0!==o&&(e.exports=o)))}).call(this)}).call(t,n(187)(e),function(){return this}())},function(e,t){"use strict";function n(e){return"-"+e.toLowerCase()}function o(e){var t=Object.create(null);for(var r in e)t[r.replace(i,n)]=e[r];return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(o):t.fallbacks=o(e.fallbacks)),t}function r(){function e(e){if(Array.isArray(e)){for(var t=0;t-1)return r(e,t.split(" "));if("$"===t[0]){var i=e.options.sheet.getRule(t.substr(1));return i?i===e?((0,s.default)(!1,"[JSS] Cyclic composition detected. \r\n%s",e),!1):(r(e,i.className),!0):((0,s.default)(!1,"[JSS] Referenced rule is not defined. \r\n%s",e),!1)}var a=e.options.parent;return e.className+=" "+t,a.classes[e.name]=e.className,!0}function i(){function e(e,t){return e.composes?(r(t,e.composes),delete e.composes,e):e}return{onProcessStyle:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var a=n(18),s=o(a)},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={"animation-delay":"ms","animation-duration":"ms","background-position":"px","background-position-x":"px","background-position-y":"px","background-size":"px",border:"px","border-bottom":"px","border-bottom-left-radius":"px","border-bottom-right-radius":"px","border-bottom-width":"px","border-left":"px","border-left-width":"px","border-radius":"px","border-right":"px","border-right-width":"px","border-spacing":"px","border-top":"px","border-top-left-radius":"px","border-top-right-radius":"px","border-top-width":"px","border-width":"px","border-after-width":"px","border-before-width":"px","border-end-width":"px","border-horizontal-spacing":"px","border-start-width":"px","border-vertical-spacing":"px",bottom:"px","box-shadow":"px","column-gap":"px","column-rule":"px","column-rule-width":"px","column-width":"px","flex-basis":"px","font-size":"px","font-size-delta":"px",height:"px",left:"px","letter-spacing":"px","logical-height":"px","logical-width":"px",margin:"px","margin-after":"px","margin-before":"px","margin-bottom":"px","margin-left":"px","margin-right":"px","margin-top":"px","max-height":"px","max-width":"px","margin-end":"px","margin-start":"px","mask-position-x":"px","mask-position-y":"px","mask-size":"px","max-logical-height":"px","max-logical-width":"px","min-height":"px","min-width":"px","min-logical-height":"px","min-logical-width":"px",motion:"px","motion-offset":"px",outline:"px","outline-offset":"px","outline-width":"px",padding:"px","padding-bottom":"px","padding-left":"px","padding-right":"px","padding-top":"px","padding-after":"px","padding-before":"px","padding-end":"px","padding-start":"px","perspective-origin-x":"%","perspective-origin-y":"%",perspective:"px",right:"px","shape-margin":"px",size:"px","text-indent":"px","text-stroke":"px","text-stroke-width":"px",top:"px","transform-origin":"%","transform-origin-x":"%","transform-origin-y":"%","transform-origin-z":"%","transition-delay":"ms","transition-duration":"ms","vertical-align":"px",width:"px","word-spacing":"px","box-shadow-x":"px","box-shadow-y":"px","box-shadow-blur":"px","box-shadow-spread":"px","font-line-height":"px","text-shadow-x":"px","text-shadow-y":"px","text-shadow-blur":"px"}},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},o={};for(var r in e)o[r]=e[r],o[r.replace(t,n)]=e[r];return o}function i(e,t,n){if(!t)return t;var o=t;switch(t.constructor){case Object:if("fallbacks"===e){for(var r in t)t[r]=i(r,t[r],n);break}for(var s in t)t[s]=i(e+"-"+s,t[s],n);break;case Array:for(var l=0;l