@carbon/charts 0.12.0 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +5 -0
- package/index.umd.js +1 -1
- package/index.umd.js.map +1 -1
- package/package.json +7 -9
package/index.umd.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Charts=e():t.Charts=e()}(window,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=342)}([function(t,e,n){var r=n(2),i=n(18),o=n(11),a=n(12),s=n(19),c=function(t,e,n){var u,l,f,h,p=t&c.F,d=t&c.G,v=t&c.S,y=t&c.P,g=t&c.B,_=d?r:v?r[e]||(r[e]={}):(r[e]||{}).prototype,b=d?i:i[e]||(i[e]={}),m=b.prototype||(b.prototype={});for(u in d&&(n=e),n)f=((l=!p&&_&&void 0!==_[u])?_:n)[u],h=g&&l?s(f,r):y&&"function"==typeof f?s(Function.call,f):f,_&&a(_,u,f,t&c.U),b[u]!=f&&o(b,u,h),y&&m[u]!=f&&(m[u]=f)};r.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(47)("wks"),i=n(33),o=n(2).Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},function(t,e,n){var r=n(21),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){t.exports=!n(3)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(1),i=n(94),o=n(23),a=Object.defineProperty;e.f=n(7)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(24);t.exports=function(t){return Object(r(t))}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(8),i=n(32);t.exports=n(7)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(2),i=n(11),o=n(14),a=n(33)("src"),s=n(135),c=(""+s).split("toString");n(18).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var u="function"==typeof n;u&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(u&&(o(n,a)||i(n,a,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(t,e,n){var r=n(0),i=n(3),o=n(24),a=/"/g,s=function(t,e,n,r){var i=String(o(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,""")+'"'),s+">"+i+"</"+e+">"};t.exports=function(t,e){var n={};n[t]=e(s),r(r.P+r.F*i(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(48),i=n(24);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(49),i=n(32),o=n(15),a=n(23),s=n(14),c=n(94),u=Object.getOwnPropertyDescriptor;e.f=n(7)?u:function(t,e){if(t=o(t),e=a(e,!0),c)try{return u(t,e)}catch(t){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(14),i=n(9),o=n(69)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e){var n=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(10);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){"use strict";var r=n(3);t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(0),i=n(18),o=n(3);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},function(t,e,n){var r=n(19),i=n(48),o=n(9),a=n(6),s=n(85);t.exports=function(t,e){var n=1==t,c=2==t,u=3==t,l=4==t,f=6==t,h=5==t||f,p=e||s;return function(e,s,d){for(var v,y,g=o(e),_=i(g),b=r(s,d,3),m=a(_.length),x=0,w=n?p(e,m):c?p(e,0):void 0;m>x;x++)if((h||x in _)&&(y=b(v=_[x],x,g),t))if(n)w[x]=y;else if(y)switch(t){case 3:return!0;case 5:return v;case 6:return x;case 2:w.push(v)}else if(l)return!1;return f?-1:u||l?l:w}}},function(t,e,n){"use strict";if(n(7)){var r=n(29),i=n(2),o=n(3),a=n(0),s=n(63),c=n(93),u=n(19),l=n(39),f=n(32),h=n(11),p=n(41),d=n(21),v=n(6),y=n(122),g=n(35),_=n(23),b=n(14),m=n(44),x=n(4),w=n(9),S=n(82),M=n(36),k=n(17),T=n(37).f,A=n(84),E=n(33),L=n(5),C=n(26),O=n(53),D=n(51),I=n(87),P=n(46),F=n(58),N=n(38),W=n(86),R=n(111),j=n(8),B=n(16),z=j.f,X=B.f,U=i.RangeError,V=i.TypeError,H=i.Uint8Array,G=Array.prototype,Y=c.ArrayBuffer,q=c.DataView,$=C(0),J=C(2),Z=C(3),K=C(4),Q=C(5),tt=C(6),et=O(!0),nt=O(!1),rt=I.values,it=I.keys,ot=I.entries,at=G.lastIndexOf,st=G.reduce,ct=G.reduceRight,ut=G.join,lt=G.sort,ft=G.slice,ht=G.toString,pt=G.toLocaleString,dt=L("iterator"),vt=L("toStringTag"),yt=E("typed_constructor"),gt=E("def_constructor"),_t=s.CONSTR,bt=s.TYPED,mt=s.VIEW,xt=C(1,function(t,e){return Tt(D(t,t[gt]),e)}),wt=o(function(){return 1===new H(new Uint16Array([1]).buffer)[0]}),St=!!H&&!!H.prototype.set&&o(function(){new H(1).set({})}),Mt=function(t,e){var n=d(t);if(n<0||n%e)throw U("Wrong offset!");return n},kt=function(t){if(x(t)&&bt in t)return t;throw V(t+" is not a typed array!")},Tt=function(t,e){if(!(x(t)&&yt in t))throw V("It is not a typed array constructor!");return new t(e)},At=function(t,e){return Et(D(t,t[gt]),e)},Et=function(t,e){for(var n=0,r=e.length,i=Tt(t,r);r>n;)i[n]=e[n++];return i},Lt=function(t,e,n){z(t,e,{get:function(){return this._d[n]}})},Ct=function(t){var e,n,r,i,o,a,s=w(t),c=arguments.length,l=c>1?arguments[1]:void 0,f=void 0!==l,h=A(s);if(void 0!=h&&!S(h)){for(a=h.call(s),r=[],e=0;!(o=a.next()).done;e++)r.push(o.value);s=r}for(f&&c>2&&(l=u(l,arguments[2],2)),e=0,n=v(s.length),i=Tt(this,n);n>e;e++)i[e]=f?l(s[e],e):s[e];return i},Ot=function(){for(var t=0,e=arguments.length,n=Tt(this,e);e>t;)n[t]=arguments[t++];return n},Dt=!!H&&o(function(){pt.call(new H(1))}),It=function(){return pt.apply(Dt?ft.call(kt(this)):kt(this),arguments)},Pt={copyWithin:function(t,e){return R.call(kt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return K(kt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return W.apply(kt(this),arguments)},filter:function(t){return At(this,J(kt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Q(kt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(kt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){$(kt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(kt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(kt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ut.apply(kt(this),arguments)},lastIndexOf:function(t){return at.apply(kt(this),arguments)},map:function(t){return xt(kt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return st.apply(kt(this),arguments)},reduceRight:function(t){return ct.apply(kt(this),arguments)},reverse:function(){for(var t,e=kt(this).length,n=Math.floor(e/2),r=0;r<n;)t=this[r],this[r++]=this[--e],this[e]=t;return this},some:function(t){return Z(kt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return lt.call(kt(this),t)},subarray:function(t,e){var n=kt(this),r=n.length,i=g(t,r);return new(D(n,n[gt]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,v((void 0===e?r:g(e,r))-i))}},Ft=function(t,e){return At(this,ft.call(kt(this),t,e))},Nt=function(t){kt(this);var e=Mt(arguments[1],1),n=this.length,r=w(t),i=v(r.length),o=0;if(i+e>n)throw U("Wrong length!");for(;o<i;)this[e+o]=r[o++]},Wt={entries:function(){return ot.call(kt(this))},keys:function(){return it.call(kt(this))},values:function(){return rt.call(kt(this))}},Rt=function(t,e){return x(t)&&t[bt]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},jt=function(t,e){return Rt(t,e=_(e,!0))?f(2,t[e]):X(t,e)},Bt=function(t,e,n){return!(Rt(t,e=_(e,!0))&&x(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?z(t,e,n):(t[e]=n.value,t)};_t||(B.f=jt,j.f=Bt),a(a.S+a.F*!_t,"Object",{getOwnPropertyDescriptor:jt,defineProperty:Bt}),o(function(){ht.call({})})&&(ht=pt=function(){return ut.call(this)});var zt=p({},Pt);p(zt,Wt),h(zt,dt,Wt.values),p(zt,{slice:Ft,set:Nt,constructor:function(){},toString:ht,toLocaleString:It}),Lt(zt,"buffer","b"),Lt(zt,"byteOffset","o"),Lt(zt,"byteLength","l"),Lt(zt,"length","e"),z(zt,vt,{get:function(){return this[bt]}}),t.exports=function(t,e,n,c){var u=t+((c=!!c)?"Clamped":"")+"Array",f="get"+t,p="set"+t,d=i[u],g=d||{},_=d&&k(d),b=!d||!s.ABV,w={},S=d&&d.prototype,A=function(t,n){z(t,n,{get:function(){return function(t,n){var r=t._d;return r.v[f](n*e+r.o,wt)}(this,n)},set:function(t){return function(t,n,r){var i=t._d;c&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[p](n*e+i.o,r,wt)}(this,n,t)},enumerable:!0})};b?(d=n(function(t,n,r,i){l(t,d,u,"_d");var o,a,s,c,f=0,p=0;if(x(n)){if(!(n instanceof Y||"ArrayBuffer"==(c=m(n))||"SharedArrayBuffer"==c))return bt in n?Et(d,n):Ct.call(d,n);o=n,p=Mt(r,e);var g=n.byteLength;if(void 0===i){if(g%e)throw U("Wrong length!");if((a=g-p)<0)throw U("Wrong length!")}else if((a=v(i)*e)+p>g)throw U("Wrong length!");s=a/e}else s=y(n),o=new Y(a=s*e);for(h(t,"_d",{b:o,o:p,l:a,e:s,v:new q(o)});f<s;)A(t,f++)}),S=d.prototype=M(zt),h(S,"constructor",d)):o(function(){d(1)})&&o(function(){new d(-1)})&&F(function(t){new d,new d(null),new d(1.5),new d(t)},!0)||(d=n(function(t,n,r,i){var o;return l(t,d,u),x(n)?n instanceof Y||"ArrayBuffer"==(o=m(n))||"SharedArrayBuffer"==o?void 0!==i?new g(n,Mt(r,e),i):void 0!==r?new g(n,Mt(r,e)):new g(n):bt in n?Et(d,n):Ct.call(d,n):new g(y(n))}),$(_!==Function.prototype?T(g).concat(T(_)):T(g),function(t){t in d||h(d,t,g[t])}),d.prototype=S,r||(S.constructor=d));var E=S[dt],L=!!E&&("values"==E.name||void 0==E.name),C=Wt.values;h(d,yt,!0),h(S,bt,u),h(S,mt,!0),h(S,gt,d),(c?new d(1)[vt]==u:vt in S)||z(S,vt,{get:function(){return u}}),w[u]=d,a(a.G+a.W+a.F*(d!=g),w),a(a.S,u,{BYTES_PER_ELEMENT:e}),a(a.S+a.F*o(function(){g.of.call(d,1)}),u,{from:Ct,of:Ot}),"BYTES_PER_ELEMENT"in S||h(S,"BYTES_PER_ELEMENT",e),a(a.P,u,Pt),N(u),a(a.P+a.F*St,u,{set:Nt}),a(a.P+a.F*!L,u,Wt),r||S.toString==ht||(S.toString=ht),a(a.P+a.F*o(function(){new d(1).slice()}),u,{slice:Ft}),a(a.P+a.F*(o(function(){return[1,2].toLocaleString()!=new d([1,2]).toLocaleString()})||!o(function(){S.toLocaleString.call([1,2])})),u,{toLocaleString:It}),P[u]=L?E:C,r||L||h(S,dt,C)}}else t.exports=function(){}},function(t,e,n){var r=n(117),i=n(0),o=n(47)("metadata"),a=o.store||(o.store=new(n(120))),s=function(t,e,n){var i=a.get(t);if(!i){if(!n)return;a.set(t,i=new r)}var o=i.get(e);if(!o){if(!n)return;i.set(e,o=new r)}return o};t.exports={store:a,map:s,has:function(t,e,n){var r=s(e,n,!1);return void 0!==r&&r.has(t)},get:function(t,e,n){var r=s(e,n,!1);return void 0===r?void 0:r.get(t)},set:function(t,e,n,r){s(n,r,!0).set(t,e)},keys:function(t,e){var n=s(t,e,!1),r=[];return n&&n.forEach(function(t,e){r.push(e)}),r},key:function(t){return void 0===t||"symbol"==typeof t?t:String(t)},exp:function(t){i(i.S,"Reflect",t)}}},function(t,e){t.exports=!1},function(t,e,n){var r=n(33)("meta"),i=n(4),o=n(14),a=n(8).f,s=0,c=Object.isExtensible||function(){return!0},u=!n(3)(function(){return c(Object.preventExtensions({}))}),l=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},f=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!c(t))return"F";if(!e)return"E";l(t)}return t[r].i},getWeak:function(t,e){if(!o(t,r)){if(!c(t))return!0;if(!e)return!1;l(t)}return t[r].w},onFreeze:function(t){return u&&f.NEED&&c(t)&&!o(t,r)&&l(t),t}}},function(t,e,n){var r=n(5)("unscopables"),i=Array.prototype;void 0==i[r]&&n(11)(i,r,{}),t.exports=function(t){i[r][t]=!0}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e,n){var r=n(96),i=n(70);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(21),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=r(t))<0?i(t+e,0):o(t,e)}},function(t,e,n){var r=n(1),i=n(97),o=n(70),a=n(69)("IE_PROTO"),s=function(){},c=function(){var t,e=n(67)("iframe"),r=o.length;for(e.style.display="none",n(71).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(s.prototype=r(t),n=new s,s.prototype=null,n[a]=t):n=c(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(96),i=n(70).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){"use strict";var r=n(2),i=n(8),o=n(7),a=n(5)("species");t.exports=function(t){var e=r[t];o&&e&&!e[a]&&i.f(e,a,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(19),i=n(109),o=n(82),a=n(1),s=n(6),c=n(84),u={},l={};(e=t.exports=function(t,e,n,f,h){var p,d,v,y,g=h?function(){return t}:c(t),_=r(n,f,e?2:1),b=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(o(g)){for(p=s(t.length);p>b;b++)if((y=e?_(a(d=t[b])[0],d[1]):_(t[b]))===u||y===l)return y}else for(v=g.call(t);!(d=v.next()).done;)if((y=i(v,_,d.value,e))===u||y===l)return y}).BREAK=u,e.RETURN=l},function(t,e,n){var r=n(12);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){var r=n(8).f,i=n(14),o=n(5)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(20),i=n(5)("toStringTag"),o="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){var r=n(0),i=n(24),o=n(3),a=n(73),s="["+a+"]",c=RegExp("^"+s+s+"*"),u=RegExp(s+s+"*$"),l=function(t,e,n){var i={},s=o(function(){return!!a[t]()||"
"!="
"[t]()}),c=i[t]=s?e(f):a[t];n&&(i[n]=c),r(r.P+r.F*s,"String",i)},f=l.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(u,"")),t};t.exports=l},function(t,e){t.exports={}},function(t,e,n){var r=n(18),i=n(2),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(29)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(20);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){"use strict";var r=n(1);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){var r=n(1),i=n(10),o=n(5)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||void 0==(n=r(a)[o])?e:i(n)}},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(15),i=n(6),o=n(35);t.exports=function(t){return function(e,n,a){var s,c=r(e),u=i(c.length),l=o(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(20);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(21),i=n(24);t.exports=function(t){return function(e,n){var o,a,s=String(i(e)),c=r(n),u=s.length;return c<0||c>=u?t?"":void 0:(o=s.charCodeAt(c))<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536}}},function(t,e,n){var r=n(4),i=n(20),o=n(5)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},function(t,e,n){var r=n(5)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},t(o)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(44),i=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var o=n.call(t,e);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},function(t,e,n){"use strict";n(113);var r=n(12),i=n(11),o=n(3),a=n(24),s=n(5),c=n(88),u=s("species"),l=!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),f=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var h=s(t),p=!o(function(){var e={};return e[h]=function(){return 7},7!=""[t](e)}),d=p?!o(function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[u]=function(){return n}),n[h](""),!e}):void 0;if(!p||!d||"replace"===t&&!l||"split"===t&&!f){var v=/./[h],y=n(a,h,""[t],function(t,e,n,r,i){return e.exec===c?p&&!i?{done:!0,value:v.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),g=y[0],_=y[1];r(String.prototype,t,g),i(RegExp.prototype,h,2==e?function(t,e){return _.call(t,this,e)}:function(t){return _.call(t,this)})}}},function(t,e,n){var r=n(2).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){"use strict";var r=n(2),i=n(0),o=n(12),a=n(41),s=n(30),c=n(40),u=n(39),l=n(4),f=n(3),h=n(58),p=n(43),d=n(74);t.exports=function(t,e,n,v,y,g){var _=r[t],b=_,m=y?"set":"add",x=b&&b.prototype,w={},S=function(t){var e=x[t];o(x,t,"delete"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(g||x.forEach&&!f(function(){(new b).entries().next()}))){var M=new b,k=M[m](g?{}:-0,1)!=M,T=f(function(){M.has(1)}),A=h(function(t){new b(t)}),E=!g&&f(function(){for(var t=new b,e=5;e--;)t[m](e,e);return!t.has(-0)});A||((b=e(function(e,n){u(e,b,t);var r=d(new _,e,b);return void 0!=n&&c(n,y,r[m],r),r})).prototype=x,x.constructor=b),(T||E)&&(S("delete"),S("has"),y&&S("get")),(E||k)&&S(m),g&&x.clear&&delete x.clear}else b=v.getConstructor(e,t,y,m),a(b.prototype,n),s.NEED=!0;return p(b,t),w[t]=b,i(i.G+i.W+i.F*(b!=_),w),g||v.setStrong(b,t,y),b}},function(t,e,n){for(var r,i=n(2),o=n(11),a=n(33),s=a("typed_array"),c=a("view"),u=!(!i.ArrayBuffer||!i.DataView),l=u,f=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");f<9;)(r=i[h[f++]])?(o(r.prototype,s,!0),o(r.prototype,c,!0)):l=!1;t.exports={ABV:u,CONSTR:l,TYPED:s,VIEW:c}},function(t,e,n){"use strict";t.exports=n(29)||!n(3)(function(){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete n(2)[t]})},function(t,e,n){"use strict";var r=n(0);t.exports=function(t){r(r.S,t,{of:function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}})}},function(t,e,n){"use strict";var r=n(0),i=n(10),o=n(19),a=n(40);t.exports=function(t){r(r.S,t,{from:function(t){var e,n,r,s,c=arguments[1];return i(this),(e=void 0!==c)&&i(c),void 0==t?new this:(n=[],e?(r=0,s=o(c,arguments[2],2),a(t,!1,function(t){n.push(s(t,r++))})):a(t,!1,n.push,n),new this(n))}})}},function(t,e,n){var r=n(4),i=n(2).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e,n){var r=n(2),i=n(18),o=n(29),a=n(95),s=n(8).f;t.exports=function(t){var e=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e,n){var r=n(47)("keys"),i=n(33);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){var r=n(2).document;t.exports=r&&r.documentElement},function(t,e,n){var r=n(4),i=n(1),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n(19)(Function.call,n(16).f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,e,n){var r=n(4),i=n(72).set;t.exports=function(t,e,n){var o,a=e.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},function(t,e,n){"use strict";var r=n(21),i=n(24);t.exports=function(t){var e=String(i(this)),n="",o=r(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e,n){"use strict";var r=n(29),i=n(0),o=n(12),a=n(11),s=n(46),c=n(79),u=n(43),l=n(17),f=n(5)("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,e,n,d,v,y,g){c(n,e,d);var _,b,m,x=function(t){if(!h&&t in k)return k[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},w=e+" Iterator",S="values"==v,M=!1,k=t.prototype,T=k[f]||k["@@iterator"]||v&&k[v],A=T||x(v),E=v?S?x("entries"):A:void 0,L="Array"==e&&k.entries||T;if(L&&(m=l(L.call(new t)))!==Object.prototype&&m.next&&(u(m,w,!0),r||"function"==typeof m[f]||a(m,f,p)),S&&T&&"values"!==T.name&&(M=!0,A=function(){return T.call(this)}),r&&!g||!h&&!M&&k[f]||a(k,f,A),s[e]=A,s[w]=p,v)if(_={values:S?A:x("values"),keys:y?A:x("keys"),entries:E},g)for(b in _)b in k||o(k,b,_[b]);else i(i.P+i.F*(h||M),e,_);return _}},function(t,e,n){"use strict";var r=n(36),i=n(32),o=n(43),a={};n(11)(a,n(5)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var r=n(57),i=n(24);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(t))}},function(t,e,n){var r=n(5)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){var r=n(46),i=n(5)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,e,n){"use strict";var r=n(8),i=n(32);t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},function(t,e,n){var r=n(44),i=n(5)("iterator"),o=n(46);t.exports=n(18).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){var r=n(224);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){"use strict";var r=n(9),i=n(35),o=n(6);t.exports=function(t){for(var e=r(this),n=o(e.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,u=void 0===c?n:i(c,n);u>s;)e[s++]=t;return e}},function(t,e,n){"use strict";var r=n(31),i=n(112),o=n(46),a=n(15);t.exports=n(78)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e,n){"use strict";var r=n(50),i=RegExp.prototype.exec,o=String.prototype.replace,a=i,s=function(){var t=/a/,e=/b*/g;return i.call(t,"a"),i.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),c=void 0!==/()??/.exec("")[1];(s||c)&&(a=function(t){var e,n,a,u,l=this;return c&&(n=new RegExp("^"+l.source+"$(?!\\s)",r.call(l))),s&&(e=l.lastIndex),a=i.call(l,t),s&&a&&(l.lastIndex=l.global?a.index+a[0].length:e),c&&a&&a.length>1&&o.call(a[0],n,function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(a[u]=void 0)}),a}),t.exports=a},function(t,e,n){"use strict";var r=n(56)(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e,n){var r,i,o,a=n(19),s=n(102),c=n(71),u=n(67),l=n(2),f=l.process,h=l.setImmediate,p=l.clearImmediate,d=l.MessageChannel,v=l.Dispatch,y=0,g={},_=function(){var t=+this;if(g.hasOwnProperty(t)){var e=g[t];delete g[t],e()}},b=function(t){_.call(t.data)};h&&p||(h=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return g[++y]=function(){s("function"==typeof t?t:Function(t),e)},r(y),y},p=function(t){delete g[t]},"process"==n(20)(f)?r=function(t){f.nextTick(a(_,t,1))}:v&&v.now?r=function(t){v.now(a(_,t,1))}:d?(o=(i=new d).port2,i.port1.onmessage=b,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",b,!1)):r="onreadystatechange"in u("script")?function(t){c.appendChild(u("script")).onreadystatechange=function(){c.removeChild(this),_.call(t)}}:function(t){setTimeout(a(_,t,1),0)}),t.exports={set:h,clear:p}},function(t,e,n){var r=n(2),i=n(90).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,c="process"==n(20)(a);t.exports=function(){var t,e,n,u=function(){var r,i;for(c&&(r=a.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){a.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);n=function(){l.then(u)}}else n=function(){i.call(r,u)};else{var f=!0,h=document.createTextNode("");new o(u).observe(h,{characterData:!0}),n=function(){h.data=f=!f}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},function(t,e,n){"use strict";var r=n(10);t.exports.f=function(t){return new function(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)}(t)}},function(t,e,n){"use strict";var r=n(2),i=n(7),o=n(29),a=n(63),s=n(11),c=n(41),u=n(3),l=n(39),f=n(21),h=n(6),p=n(122),d=n(37).f,v=n(8).f,y=n(86),g=n(43),_="prototype",b="Wrong index!",m=r.ArrayBuffer,x=r.DataView,w=r.Math,S=r.RangeError,M=r.Infinity,k=m,T=w.abs,A=w.pow,E=w.floor,L=w.log,C=w.LN2,O=i?"_b":"buffer",D=i?"_l":"byteLength",I=i?"_o":"byteOffset";function P(t,e,n){var r,i,o,a=new Array(n),s=8*n-e-1,c=(1<<s)-1,u=c>>1,l=23===e?A(2,-24)-A(2,-77):0,f=0,h=t<0||0===t&&1/t<0?1:0;for((t=T(t))!=t||t===M?(i=t!=t?1:0,r=c):(r=E(L(t)/C),t*(o=A(2,-r))<1&&(r--,o*=2),(t+=r+u>=1?l/o:l*A(2,1-u))*o>=2&&(r++,o/=2),r+u>=c?(i=0,r=c):r+u>=1?(i=(t*o-1)*A(2,e),r+=u):(i=t*A(2,u-1)*A(2,e),r=0));e>=8;a[f++]=255&i,i/=256,e-=8);for(r=r<<e|i,s+=e;s>0;a[f++]=255&r,r/=256,s-=8);return a[--f]|=128*h,a}function F(t,e,n){var r,i=8*n-e-1,o=(1<<i)-1,a=o>>1,s=i-7,c=n-1,u=t[c--],l=127&u;for(u>>=7;s>0;l=256*l+t[c],c--,s-=8);for(r=l&(1<<-s)-1,l>>=-s,s+=e;s>0;r=256*r+t[c],c--,s-=8);if(0===l)l=1-a;else{if(l===o)return r?NaN:u?-M:M;r+=A(2,e),l-=a}return(u?-1:1)*r*A(2,l-e)}function N(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function W(t){return[255&t]}function R(t){return[255&t,t>>8&255]}function j(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function B(t){return P(t,52,8)}function z(t){return P(t,23,4)}function X(t,e,n){v(t[_],e,{get:function(){return this[n]}})}function U(t,e,n,r){var i=p(+n);if(i+e>t[D])throw S(b);var o=t[O]._b,a=i+t[I],s=o.slice(a,a+e);return r?s:s.reverse()}function V(t,e,n,r,i,o){var a=p(+n);if(a+e>t[D])throw S(b);for(var s=t[O]._b,c=a+t[I],u=r(+i),l=0;l<e;l++)s[c+l]=u[o?l:e-l-1]}if(a.ABV){if(!u(function(){m(1)})||!u(function(){new m(-1)})||u(function(){return new m,new m(1.5),new m(NaN),"ArrayBuffer"!=m.name})){for(var H,G=(m=function(t){return l(this,m),new k(p(t))})[_]=k[_],Y=d(k),q=0;Y.length>q;)(H=Y[q++])in m||s(m,H,k[H]);o||(G.constructor=m)}var $=new x(new m(2)),J=x[_].setInt8;$.setInt8(0,2147483648),$.setInt8(1,2147483649),!$.getInt8(0)&&$.getInt8(1)||c(x[_],{setInt8:function(t,e){J.call(this,t,e<<24>>24)},setUint8:function(t,e){J.call(this,t,e<<24>>24)}},!0)}else m=function(t){l(this,m,"ArrayBuffer");var e=p(t);this._b=y.call(new Array(e),0),this[D]=e},x=function(t,e,n){l(this,x,"DataView"),l(t,m,"DataView");var r=t[D],i=f(e);if(i<0||i>r)throw S("Wrong offset!");if(i+(n=void 0===n?r-i:h(n))>r)throw S("Wrong length!");this[O]=t,this[I]=i,this[D]=n},i&&(X(m,"byteLength","_l"),X(x,"buffer","_b"),X(x,"byteLength","_l"),X(x,"byteOffset","_o")),c(x[_],{getInt8:function(t){return U(this,1,t)[0]<<24>>24},getUint8:function(t){return U(this,1,t)[0]},getInt16:function(t){var e=U(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=U(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return N(U(this,4,t,arguments[1]))},getUint32:function(t){return N(U(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return F(U(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return F(U(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){V(this,1,t,W,e)},setUint8:function(t,e){V(this,1,t,W,e)},setInt16:function(t,e){V(this,2,t,R,e,arguments[2])},setUint16:function(t,e){V(this,2,t,R,e,arguments[2])},setInt32:function(t,e){V(this,4,t,j,e,arguments[2])},setUint32:function(t,e){V(this,4,t,j,e,arguments[2])},setFloat32:function(t,e){V(this,4,t,z,e,arguments[2])},setFloat64:function(t,e){V(this,8,t,B,e,arguments[2])}});g(m,"ArrayBuffer"),g(x,"DataView"),s(x[_],a.VIEW,!0),e.ArrayBuffer=m,e.DataView=x},function(t,e,n){t.exports=!n(7)&&!n(3)(function(){return 7!=Object.defineProperty(n(67)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){e.f=n(5)},function(t,e,n){var r=n(14),i=n(15),o=n(53)(!1),a=n(69)("IE_PROTO");t.exports=function(t,e){var n,s=i(t),c=0,u=[];for(n in s)n!=a&&r(s,n)&&u.push(n);for(;e.length>c;)r(s,n=e[c++])&&(~o(u,n)||u.push(n));return u}},function(t,e,n){var r=n(8),i=n(1),o=n(34);t.exports=n(7)?Object.defineProperties:function(t,e){i(t);for(var n,a=o(e),s=a.length,c=0;s>c;)r.f(t,n=a[c++],e[n]);return t}},function(t,e,n){var r=n(15),i=n(37).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return a.slice()}}(t):i(r(t))}},function(t,e,n){"use strict";var r=n(34),i=n(54),o=n(49),a=n(9),s=n(48),c=Object.assign;t.exports=!c||n(3)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r})?function(t,e){for(var n=a(t),c=arguments.length,u=1,l=i.f,f=o.f;c>u;)for(var h,p=s(arguments[u++]),d=l?r(p).concat(l(p)):r(p),v=d.length,y=0;v>y;)f.call(p,h=d[y++])&&(n[h]=p[h]);return n}:c},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){"use strict";var r=n(10),i=n(4),o=n(102),a=[].slice,s={};t.exports=Function.bind||function(t){var e=r(this),n=a.call(arguments,1),c=function(){var r=n.concat(a.call(arguments));return this instanceof c?function(t,e,n){if(!(e in s)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";s[e]=Function("F,a","return new F("+r.join(",")+")")}return s[e](t,n)}(e,r.length,r):o(e,r,t)};return i(e.prototype)&&(c.prototype=e.prototype),c}},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(2).parseInt,i=n(45).trim,o=n(73),a=/^[-+]?0[xX]/;t.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(t,e){var n=i(String(t),3);return r(n,e>>>0||(a.test(n)?16:10))}:r},function(t,e,n){var r=n(2).parseFloat,i=n(45).trim;t.exports=1/r(n(73)+"-0")!=-1/0?function(t){var e=i(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},function(t,e,n){var r=n(20);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},function(t,e,n){var r=n(4),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(t)===t}},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){var r=n(76),i=Math.pow,o=i(2,-52),a=i(2,-23),s=i(2,127)*(2-a),c=i(2,-126);t.exports=Math.fround||function(t){var e,n,i=Math.abs(t),u=r(t);return i<c?u*function(t){return t+1/o-1/o}(i/c/a)*c*a:(n=(e=(1+a/o)*i)-(e-i))>s||n!=n?u*(1/0):u*n}},function(t,e,n){var r=n(1);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},function(t,e,n){var r=n(10),i=n(9),o=n(48),a=n(6);t.exports=function(t,e,n,s,c){r(e);var u=i(t),l=o(u),f=a(u.length),h=c?f-1:0,p=c?-1:1;if(n<2)for(;;){if(h in l){s=l[h],h+=p;break}if(h+=p,c?h<0:f<=h)throw TypeError("Reduce of empty array with no initial value")}for(;c?h>=0:f>h;h+=p)h in l&&(s=e(s,l[h],h,u));return s}},function(t,e,n){"use strict";var r=n(9),i=n(35),o=n(6);t.exports=[].copyWithin||function(t,e){var n=r(this),a=o(n.length),s=i(t,a),c=i(e,a),u=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===u?a:i(u,a))-c,a-s),f=1;for(c<s&&s<c+l&&(f=-1,c+=l-1,s+=l-1);l-- >0;)c in n?n[s]=n[c]:delete n[s],s+=f,c+=f;return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var r=n(88);n(0)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(t,e,n){n(7)&&"g"!=/./g.flags&&n(8).f(RegExp.prototype,"flags",{configurable:!0,get:n(50)})},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var r=n(1),i=n(4),o=n(92);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(118),i=n(42);t.exports=n(62)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var e=r.getEntry(i(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(i(this,"Map"),0===t?0:t,e)}},r,!0)},function(t,e,n){"use strict";var r=n(8).f,i=n(36),o=n(41),a=n(19),s=n(39),c=n(40),u=n(78),l=n(112),f=n(38),h=n(7),p=n(30).fastKey,d=n(42),v=h?"_s":"size",y=function(t,e){var n,r=p(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,u){var l=t(function(t,r){s(t,l,e,"_i"),t._t=e,t._i=i(null),t._f=void 0,t._l=void 0,t[v]=0,void 0!=r&&c(r,n,t[u],t)});return o(l.prototype,{clear:function(){for(var t=d(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[v]=0},delete:function(t){var n=d(this,e),r=y(n,t);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[v]--}return!!r},forEach:function(t){d(this,e);for(var n,r=a(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!y(d(this,e),t)}}),h&&r(l.prototype,"size",{get:function(){return d(this,e)[v]}}),l},def:function(t,e,n){var r,i,o=y(t,e);return o?o.v=n:(t._l=o={i:i=p(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[v]++,"F"!==i&&(t._i[i]=o)),t},getEntry:y,setStrong:function(t,e,n){u(t,e,function(t,n){this._t=d(t,e),this._k=n,this._l=void 0},function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?l(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,l(1))},n?"entries":"values",!n,!0),f(e)}}},function(t,e,n){"use strict";var r=n(118),i=n(42);t.exports=n(62)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(i(this,"Set"),t=0===t?0:t,t)}},r)},function(t,e,n){"use strict";var r,i=n(2),o=n(26)(0),a=n(12),s=n(30),c=n(99),u=n(121),l=n(4),f=n(42),h=n(42),p=!i.ActiveXObject&&"ActiveXObject"in i,d=s.getWeak,v=Object.isExtensible,y=u.ufstore,g=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},_={get:function(t){if(l(t)){var e=d(t);return!0===e?y(f(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(f(this,"WeakMap"),t,e)}},b=t.exports=n(62)("WeakMap",g,_,u,!0,!0);h&&p&&(c((r=u.getConstructor(g,"WeakMap")).prototype,_),s.NEED=!0,o(["delete","has","get","set"],function(t){var e=b.prototype,n=e[t];a(e,t,function(e,i){if(l(e)&&!v(e)){this._f||(this._f=new r);var o=this._f[t](e,i);return"set"==t?this:o}return n.call(this,e,i)})}))},function(t,e,n){"use strict";var r=n(41),i=n(30).getWeak,o=n(1),a=n(4),s=n(39),c=n(40),u=n(26),l=n(14),f=n(42),h=u(5),p=u(6),d=0,v=function(t){return t._l||(t._l=new y)},y=function(){this.a=[]},g=function(t,e){return h(t.a,function(t){return t[0]===e})};y.prototype={get:function(t){var e=g(this,t);if(e)return e[1]},has:function(t){return!!g(this,t)},set:function(t,e){var n=g(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=p(this.a,function(e){return e[0]===t});return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,o){var u=t(function(t,r){s(t,u,e,"_i"),t._t=e,t._i=d++,t._l=void 0,void 0!=r&&c(r,n,t[o],t)});return r(u.prototype,{delete:function(t){if(!a(t))return!1;var n=i(t);return!0===n?v(f(this,e)).delete(t):n&&l(n,this._i)&&delete n[this._i]},has:function(t){if(!a(t))return!1;var n=i(t);return!0===n?v(f(this,e)).has(t):n&&l(n,this._i)}}),u},def:function(t,e,n){var r=i(o(e),!0);return!0===r?v(t).set(e,n):r[t._i]=n,t},ufstore:v}},function(t,e,n){var r=n(21),i=n(6);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=i(e);if(e!==n)throw RangeError("Wrong length!");return n}},function(t,e,n){var r=n(37),i=n(54),o=n(1),a=n(2).Reflect;t.exports=a&&a.ownKeys||function(t){var e=r.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},function(t,e,n){"use strict";var r=n(55),i=n(4),o=n(6),a=n(19),s=n(5)("isConcatSpreadable");t.exports=function t(e,n,c,u,l,f,h,p){for(var d,v,y=l,g=0,_=!!h&&a(h,p,3);g<u;){if(g in c){if(d=_?_(c[g],g,n):c[g],v=!1,i(d)&&(v=void 0!==(v=d[s])?!!v:r(d)),v&&f>0)y=t(e,n,d,o(d.length),y,f-1)-1;else{if(y>=9007199254740991)throw TypeError();e[y]=d}y++}g++}return y}},function(t,e,n){var r=n(6),i=n(75),o=n(24);t.exports=function(t,e,n,a){var s=String(o(t)),c=s.length,u=void 0===n?" ":String(n),l=r(e);if(l<=c||""==u)return s;var f=l-c,h=i.call(u,Math.ceil(f/u.length));return h.length>f&&(h=h.slice(0,f)),a?h+s:s+h}},function(t,e,n){var r=n(34),i=n(15),o=n(49).f;t.exports=function(t){return function(e){for(var n,a=i(e),s=r(a),c=s.length,u=0,l=[];c>u;)o.call(a,n=s[u++])&&l.push(t?[n,a[n]]:a[n]);return l}}},function(t,e,n){var r=n(44),i=n(128);t.exports=function(t){return function(){if(r(this)!=t)throw TypeError(t+"#toJSON isn't generic");return i(this)}}},function(t,e,n){var r=n(40);t.exports=function(t,e){var n=[];return r(t,!1,n.push,n,e),n}},function(t,e){t.exports=Math.scale||function(t,e,n,r,i){return 0===arguments.length||t!=t||e!=e||n!=n||r!=r||i!=i?NaN:t===1/0||t===-1/0?t:(t-e)*(i-r)/(n-e)+r}},function(t,e,n){"use strict";(function(t){var n=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some(function(t,r){return t[0]===e&&(n=r,!0)}),n}return function(){function e(){this.__entries__=[]}var n={size:{configurable:!0}};return n.size.get=function(){return this.__entries__.length},e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n+=1){var i=r[n];t.call(e,i[1],i[0])}},Object.defineProperties(e.prototype,n),e}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==t&&t.Math===Math?t:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)},a=2,s=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,u=function(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,i=0;function s(){n&&(n=!1,t()),r&&u()}function c(){o(s)}function u(){var t=Date.now();if(n){if(t-i<a)return;r=!0}else n=!0,r=!1,setTimeout(c,e);i=t}return u}(this.refresh.bind(this),20)};u.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},u.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},u.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},u.prototype.updateObservers_=function(){var t=this.observers_.filter(function(t){return t.gatherActive(),t.hasActive()});return t.forEach(function(t){return t.broadcastActive()}),t.length>0},u.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},u.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},u.prototype.onTransitionEnd_=function(t){var e=t.propertyName;void 0===e&&(e=""),s.some(function(t){return!!~e.indexOf(t)})&&this.refresh()},u.getInstance=function(){return this.instance_||(this.instance_=new u),this.instance_},u.instance_=null;var l=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n+=1){var i=r[n];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},f=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||i},h=_(0,0,0,0);function p(t){return parseFloat(t)||0}function d(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return e.reduce(function(e,n){return e+p(t["border-"+n+"-width"])},0)}function v(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return h;var r=f(t).getComputedStyle(t),i=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n+=1){var i=r[n],o=t["padding-"+i];e[i]=p(o)}return e}(r),o=i.left+i.right,a=i.top+i.bottom,s=p(r.width),c=p(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==e&&(s-=d(r,"left","right")+o),Math.round(c+a)!==n&&(c-=d(r,"top","bottom")+a)),!function(t){return t===f(t).document.documentElement}(t)){var u=Math.round(s+o)-e,l=Math.round(c+a)-n;1!==Math.abs(u)&&(s-=u),1!==Math.abs(l)&&(c-=l)}return _(i.left,i.top,s,c)}var y="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof f(t).SVGGraphicsElement}:function(t){return t instanceof f(t).SVGElement&&"function"==typeof t.getBBox};function g(t){return r?y(t)?function(t){var e=t.getBBox();return _(0,0,e.width,e.height)}(t):v(t):h}function _(t,e,n,r){return{x:t,y:e,width:n,height:r}}var b=function(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=_(0,0,0,0),this.target=t};b.prototype.isActive=function(){var t=g(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},b.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t};var m=function(t,e){var n=function(t){var e=t.x,n=t.y,r=t.width,i=t.height,o="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(o.prototype);return l(a,{x:e,y:n,width:r,height:i,top:n,right:e+r,bottom:i+n,left:e}),a}(e);l(this,{target:t,contentRect:n})},x=function(t,e,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=r};x.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new b(t)),this.controller_.addObserver(this),this.controller_.refresh())}},x.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},x.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},x.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(e){e.isActive()&&t.activeObservations_.push(e)})},x.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map(function(t){return new m(t.target,t.broadcastRect())});this.callback_.call(t,e,t),this.clearActive()}},x.prototype.clearActive=function(){this.activeObservations_.splice(0)},x.prototype.hasActive=function(){return this.activeObservations_.length>0};var w="undefined"!=typeof WeakMap?new WeakMap:new n,S=function(t){if(!(this instanceof S))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var e=u.getInstance(),n=new x(t,e,this);w.set(this,n)};["observe","unobserve","disconnect"].forEach(function(t){S.prototype[t]=function(){return(e=w.get(this))[t].apply(e,arguments);var e}});var M=void 0!==i.ResizeObserver?i.ResizeObserver:S;e.a=M}).call(this,n(52))},function(t,e,n){(function(t){!function(){if("function"==typeof window.CustomEvent)return!1;function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}t.prototype=window.Event.prototype,window.CustomEvent=t}(),!(t._babelPolyfill||"undefined"!=typeof window&&window._babelPolyfill)&&n(132)}).call(this,n(52))},function(t,e,n){"use strict";(function(t){if(n(133),n(330),n(331),t._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");t._babelPolyfill=!0;var e="defineProperty";function r(t,n,r){t[n]||Object[e](t,n,{writable:!0,configurable:!0,value:r})}r(String.prototype,"padLeft","".padStart),r(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(t){[][t]&&r(Array,t,Function.call.bind([][t]))})}).call(this,n(52))},function(t,e,n){n(134),n(137),n(138),n(139),n(140),n(141),n(142),n(143),n(144),n(145),n(146),n(147),n(148),n(149),n(150),n(151),n(152),n(153),n(154),n(155),n(156),n(157),n(158),n(159),n(160),n(161),n(162),n(163),n(164),n(165),n(166),n(167),n(168),n(169),n(170),n(171),n(172),n(173),n(174),n(175),n(176),n(177),n(178),n(179),n(180),n(181),n(182),n(183),n(184),n(185),n(186),n(187),n(188),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(214),n(215),n(217),n(218),n(219),n(220),n(221),n(222),n(223),n(225),n(226),n(227),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(87),n(238),n(113),n(239),n(114),n(240),n(241),n(242),n(243),n(244),n(117),n(119),n(120),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(275),n(276),n(277),n(278),n(279),n(280),n(281),n(282),n(283),n(284),n(285),n(286),n(287),n(288),n(289),n(290),n(291),n(292),n(293),n(294),n(295),n(296),n(297),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(318),n(319),n(320),n(321),n(322),n(323),n(324),n(325),n(326),n(327),n(328),n(329),t.exports=n(18)},function(t,e,n){"use strict";var r=n(2),i=n(14),o=n(7),a=n(0),s=n(12),c=n(30).KEY,u=n(3),l=n(47),f=n(43),h=n(33),p=n(5),d=n(95),v=n(68),y=n(136),g=n(55),_=n(1),b=n(4),m=n(15),x=n(23),w=n(32),S=n(36),M=n(98),k=n(16),T=n(8),A=n(34),E=k.f,L=T.f,C=M.f,O=r.Symbol,D=r.JSON,I=D&&D.stringify,P=p("_hidden"),F=p("toPrimitive"),N={}.propertyIsEnumerable,W=l("symbol-registry"),R=l("symbols"),j=l("op-symbols"),B=Object.prototype,z="function"==typeof O,X=r.QObject,U=!X||!X.prototype||!X.prototype.findChild,V=o&&u(function(){return 7!=S(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=E(B,e);r&&delete B[e],L(t,e,n),r&&t!==B&&L(B,e,r)}:L,H=function(t){var e=R[t]=S(O.prototype);return e._k=t,e},G=z&&"symbol"==typeof O.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof O},Y=function(t,e,n){return t===B&&Y(j,e,n),_(t),e=x(e,!0),_(n),i(R,e)?(n.enumerable?(i(t,P)&&t[P][e]&&(t[P][e]=!1),n=S(n,{enumerable:w(0,!1)})):(i(t,P)||L(t,P,w(1,{})),t[P][e]=!0),V(t,e,n)):L(t,e,n)},q=function(t,e){_(t);for(var n,r=y(e=m(e)),i=0,o=r.length;o>i;)Y(t,n=r[i++],e[n]);return t},$=function(t){var e=N.call(this,t=x(t,!0));return!(this===B&&i(R,t)&&!i(j,t))&&(!(e||!i(this,t)||!i(R,t)||i(this,P)&&this[P][t])||e)},J=function(t,e){if(t=m(t),e=x(e,!0),t!==B||!i(R,e)||i(j,e)){var n=E(t,e);return!n||!i(R,e)||i(t,P)&&t[P][e]||(n.enumerable=!0),n}},Z=function(t){for(var e,n=C(m(t)),r=[],o=0;n.length>o;)i(R,e=n[o++])||e==P||e==c||r.push(e);return r},K=function(t){for(var e,n=t===B,r=C(n?j:m(t)),o=[],a=0;r.length>a;)!i(R,e=r[a++])||n&&!i(B,e)||o.push(R[e]);return o};z||(s((O=function(){if(this instanceof O)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),e=function(n){this===B&&e.call(j,n),i(this,P)&&i(this[P],t)&&(this[P][t]=!1),V(this,t,w(1,n))};return o&&U&&V(B,t,{configurable:!0,set:e}),H(t)}).prototype,"toString",function(){return this._k}),k.f=J,T.f=Y,n(37).f=M.f=Z,n(49).f=$,n(54).f=K,o&&!n(29)&&s(B,"propertyIsEnumerable",$,!0),d.f=function(t){return H(p(t))}),a(a.G+a.W+a.F*!z,{Symbol:O});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tt=0;Q.length>tt;)p(Q[tt++]);for(var et=A(p.store),nt=0;et.length>nt;)v(et[nt++]);a(a.S+a.F*!z,"Symbol",{for:function(t){return i(W,t+="")?W[t]:W[t]=O(t)},keyFor:function(t){if(!G(t))throw TypeError(t+" is not a symbol!");for(var e in W)if(W[e]===t)return e},useSetter:function(){U=!0},useSimple:function(){U=!1}}),a(a.S+a.F*!z,"Object",{create:function(t,e){return void 0===e?S(t):q(S(t),e)},defineProperty:Y,defineProperties:q,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:K}),D&&a(a.S+a.F*(!z||u(function(){var t=O();return"[null]"!=I([t])||"{}"!=I({a:t})||"{}"!=I(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(b(e)||void 0!==t)&&!G(t))return g(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!G(e))return e}),r[1]=e,I.apply(D,r)}}),O.prototype[F]||n(11)(O.prototype,F,O.prototype.valueOf),f(O,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(t,e,n){t.exports=n(47)("native-function-to-string",Function.toString)},function(t,e,n){var r=n(34),i=n(54),o=n(49);t.exports=function(t){var e=r(t),n=i.f;if(n)for(var a,s=n(t),c=o.f,u=0;s.length>u;)c.call(t,a=s[u++])&&e.push(a);return e}},function(t,e,n){var r=n(0);r(r.S,"Object",{create:n(36)})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(7),"Object",{defineProperty:n(8).f})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(7),"Object",{defineProperties:n(97)})},function(t,e,n){var r=n(15),i=n(16).f;n(25)("getOwnPropertyDescriptor",function(){return function(t,e){return i(r(t),e)}})},function(t,e,n){var r=n(9),i=n(17);n(25)("getPrototypeOf",function(){return function(t){return i(r(t))}})},function(t,e,n){var r=n(9),i=n(34);n(25)("keys",function(){return function(t){return i(r(t))}})},function(t,e,n){n(25)("getOwnPropertyNames",function(){return n(98).f})},function(t,e,n){var r=n(4),i=n(30).onFreeze;n(25)("freeze",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(4),i=n(30).onFreeze;n(25)("seal",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(4),i=n(30).onFreeze;n(25)("preventExtensions",function(t){return function(e){return t&&r(e)?t(i(e)):e}})},function(t,e,n){var r=n(4);n(25)("isFrozen",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(4);n(25)("isSealed",function(t){return function(e){return!r(e)||!!t&&t(e)}})},function(t,e,n){var r=n(4);n(25)("isExtensible",function(t){return function(e){return!!r(e)&&(!t||t(e))}})},function(t,e,n){var r=n(0);r(r.S+r.F,"Object",{assign:n(99)})},function(t,e,n){var r=n(0);r(r.S,"Object",{is:n(100)})},function(t,e,n){var r=n(0);r(r.S,"Object",{setPrototypeOf:n(72).set})},function(t,e,n){"use strict";var r=n(44),i={};i[n(5)("toStringTag")]="z",i+""!="[object z]"&&n(12)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,e,n){var r=n(0);r(r.P,"Function",{bind:n(101)})},function(t,e,n){var r=n(8).f,i=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in i||n(7)&&r(i,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(5)("hasInstance"),a=Function.prototype;o in a||n(8).f(a,o,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var r=n(0),i=n(103);r(r.G+r.F*(parseInt!=i),{parseInt:i})},function(t,e,n){var r=n(0),i=n(104);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},function(t,e,n){"use strict";var r=n(2),i=n(14),o=n(20),a=n(74),s=n(23),c=n(3),u=n(37).f,l=n(16).f,f=n(8).f,h=n(45).trim,p=r.Number,d=p,v=p.prototype,y="Number"==o(n(36)(v)),g="trim"in String.prototype,_=function(t){var e=s(t,!1);if("string"==typeof e&&e.length>2){var n,r,i,o=(e=g?e.trim():h(e,3)).charCodeAt(0);if(43===o||45===o){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var a,c=e.slice(2),u=0,l=c.length;u<l;u++)if((a=c.charCodeAt(u))<48||a>i)return NaN;return parseInt(c,r)}}return+e};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof p&&(y?c(function(){v.valueOf.call(n)}):"Number"!=o(n))?a(new d(_(e)),n,p):_(e)};for(var b,m=n(7)?u(d):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;m.length>x;x++)i(d,b=m[x])&&!i(p,b)&&f(p,b,l(d,b));p.prototype=v,v.constructor=p,n(12)(r,"Number",p)}},function(t,e,n){"use strict";var r=n(0),i=n(21),o=n(105),a=n(75),s=1..toFixed,c=Math.floor,u=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",f=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*u[n],u[n]=r%1e7,r=c(r/1e7)},h=function(t){for(var e=6,n=0;--e>=0;)n+=u[e],u[e]=c(n/t),n=n%t*1e7},p=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==u[t]){var n=String(u[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e},d=function(t,e,n){return 0===e?n:e%2==1?d(t,e-1,n*t):d(t*t,e/2,n)};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(3)(function(){s.call({})})),"Number",{toFixed:function(t){var e,n,r,s,c=o(this,l),u=i(t),v="",y="0";if(u<0||u>20)throw RangeError(l);if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(v="-",c=-c),c>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(c*d(2,69,1))-69)<0?c*d(2,-e,1):c/d(2,e,1),n*=4503599627370496,(e=52-e)>0){for(f(0,n),r=u;r>=7;)f(1e7,0),r-=7;for(f(d(10,r,1),0),r=e-1;r>=23;)h(1<<23),r-=23;h(1<<r),f(1,1),h(2),y=p()}else f(0,n),f(1<<-e,0),y=p()+a.call("0",u);return y=u>0?v+((s=y.length)<=u?"0."+a.call("0",u-s)+y:y.slice(0,s-u)+"."+y.slice(s-u)):v+y}})},function(t,e,n){"use strict";var r=n(0),i=n(3),o=n(105),a=1..toPrecision;r(r.P+r.F*(i(function(){return"1"!==a.call(1,void 0)})||!i(function(){a.call({})})),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?a.call(e):a.call(e,t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var r=n(0),i=n(2).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{isInteger:n(106)})},function(t,e,n){var r=n(0);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(0),i=n(106),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},function(t,e,n){var r=n(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var r=n(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(0),i=n(104);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(t,e,n){var r=n(0),i=n(103);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(t,e,n){var r=n(0),i=n(107),o=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},function(t,e,n){var r=n(0),i=Math.asinh;r(r.S+r.F*!(i&&1/i(0)>0),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},function(t,e,n){var r=n(0),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var r=n(0),i=n(76);r(r.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var r=n(0),i=Math.exp;r(r.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},function(t,e,n){var r=n(0),i=n(77);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},function(t,e,n){var r=n(0);r(r.S,"Math",{fround:n(108)})},function(t,e,n){var r=n(0),i=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(var n,r,o=0,a=0,s=arguments.length,c=0;a<s;)c<(n=i(arguments[a++]))?(o=o*(r=c/n)*r+1,c=n):o+=n>0?(r=n/c)*r:n;return c===1/0?1/0:c*Math.sqrt(o)}})},function(t,e,n){var r=n(0),i=Math.imul;r(r.S+r.F*n(3)(function(){return-5!=i(4294967295,5)||2!=i.length}),"Math",{imul:function(t,e){var n=+t,r=+e,i=65535&n,o=65535&r;return 0|i*o+((65535&n>>>16)*o+i*(65535&r>>>16)<<16>>>0)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log1p:n(107)})},function(t,e,n){var r=n(0);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var r=n(0);r(r.S,"Math",{sign:n(76)})},function(t,e,n){var r=n(0),i=n(77),o=Math.exp;r(r.S+r.F*n(3)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,e,n){var r=n(0),i=n(77),o=Math.exp;r(r.S,"Math",{tanh:function(t){var e=i(t=+t),n=i(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){var r=n(0),i=n(35),o=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],i(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){var r=n(0),i=n(15),o=n(6);r(r.S,"String",{raw:function(t){for(var e=i(t.raw),n=o(e.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(e[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},function(t,e,n){"use strict";n(45)("trim",function(t){return function(){return t(this,3)}})},function(t,e,n){"use strict";var r=n(56)(!0);n(78)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var r=n(0),i=n(56)(!1);r(r.P,"String",{codePointAt:function(t){return i(this,t)}})},function(t,e,n){"use strict";var r=n(0),i=n(6),o=n(80),a="".endsWith;r(r.P+r.F*n(81)("endsWith"),"String",{endsWith:function(t){var e=o(this,t,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=i(e.length),s=void 0===n?r:Math.min(i(n),r),c=String(t);return a?a.call(e,c,s):e.slice(s-c.length,s)===c}})},function(t,e,n){"use strict";var r=n(0),i=n(80);r(r.P+r.F*n(81)("includes"),"String",{includes:function(t){return!!~i(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(0);r(r.P,"String",{repeat:n(75)})},function(t,e,n){"use strict";var r=n(0),i=n(6),o=n(80),a="".startsWith;r(r.P+r.F*n(81)("startsWith"),"String",{startsWith:function(t){var e=o(this,t,"startsWith"),n=i(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return a?a.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){"use strict";n(13)("anchor",function(t){return function(e){return t(this,"a","name",e)}})},function(t,e,n){"use strict";n(13)("big",function(t){return function(){return t(this,"big","","")}})},function(t,e,n){"use strict";n(13)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,e,n){"use strict";n(13)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,e,n){"use strict";n(13)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,e,n){"use strict";n(13)("fontcolor",function(t){return function(e){return t(this,"font","color",e)}})},function(t,e,n){"use strict";n(13)("fontsize",function(t){return function(e){return t(this,"font","size",e)}})},function(t,e,n){"use strict";n(13)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,e,n){"use strict";n(13)("link",function(t){return function(e){return t(this,"a","href",e)}})},function(t,e,n){"use strict";n(13)("small",function(t){return function(){return t(this,"small","","")}})},function(t,e,n){"use strict";n(13)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,e,n){"use strict";n(13)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,n){"use strict";n(13)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,e,n){var r=n(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,n){"use strict";var r=n(0),i=n(9),o=n(23);r(r.P+r.F*n(3)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=i(this),n=o(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var r=n(0),i=n(213);r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},function(t,e,n){"use strict";var r=n(3),i=Date.prototype.getTime,o=Date.prototype.toISOString,a=function(t){return t>9?t:"0"+t};t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-5e13-1))})||!r(function(){o.call(new Date(NaN))})?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+a(t.getUTCMonth()+1)+"-"+a(t.getUTCDate())+"T"+a(t.getUTCHours())+":"+a(t.getUTCMinutes())+":"+a(t.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:o},function(t,e,n){var r=Date.prototype,i=r.toString,o=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(12)(r,"toString",function(){var t=o.call(this);return t==t?i.call(this):"Invalid Date"})},function(t,e,n){var r=n(5)("toPrimitive"),i=Date.prototype;r in i||n(11)(i,r,n(216))},function(t,e,n){"use strict";var r=n(1),i=n(23);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return i(r(this),"number"!=t)}},function(t,e,n){var r=n(0);r(r.S,"Array",{isArray:n(55)})},function(t,e,n){"use strict";var r=n(19),i=n(0),o=n(9),a=n(109),s=n(82),c=n(6),u=n(83),l=n(84);i(i.S+i.F*!n(58)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,i,f,h=o(t),p="function"==typeof this?this:Array,d=arguments.length,v=d>1?arguments[1]:void 0,y=void 0!==v,g=0,_=l(h);if(y&&(v=r(v,d>2?arguments[2]:void 0,2)),void 0==_||p==Array&&s(_))for(n=new p(e=c(h.length));e>g;g++)u(n,g,y?v(h[g],g):h[g]);else for(f=_.call(h),n=new p;!(i=f.next()).done;g++)u(n,g,y?a(f,v,[i.value,g],!0):i.value);return n.length=g,n}})},function(t,e,n){"use strict";var r=n(0),i=n(83);r(r.S+r.F*n(3)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var r=n(0),i=n(15),o=[].join;r(r.P+r.F*(n(48)!=Object||!n(22)(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},function(t,e,n){"use strict";var r=n(0),i=n(71),o=n(20),a=n(35),s=n(6),c=[].slice;r(r.P+r.F*n(3)(function(){i&&c.call(i)}),"Array",{slice:function(t,e){var n=s(this.length),r=o(this);if(e=void 0===e?n:e,"Array"==r)return c.call(this,t,e);for(var i=a(t,n),u=a(e,n),l=s(u-i),f=new Array(l),h=0;h<l;h++)f[h]="String"==r?this.charAt(i+h):this[i+h];return f}})},function(t,e,n){"use strict";var r=n(0),i=n(10),o=n(9),a=n(3),s=[].sort,c=[1,2,3];r(r.P+r.F*(a(function(){c.sort(void 0)})||!a(function(){c.sort(null)})||!n(22)(s)),"Array",{sort:function(t){return void 0===t?s.call(o(this)):s.call(o(this),i(t))}})},function(t,e,n){"use strict";var r=n(0),i=n(26)(0),o=n(22)([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(t){return i(this,t,arguments[1])}})},function(t,e,n){var r=n(4),i=n(55),o=n(5)("species");t.exports=function(t){var e;return i(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){"use strict";var r=n(0),i=n(26)(1);r(r.P+r.F*!n(22)([].map,!0),"Array",{map:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),i=n(26)(2);r(r.P+r.F*!n(22)([].filter,!0),"Array",{filter:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),i=n(26)(3);r(r.P+r.F*!n(22)([].some,!0),"Array",{some:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),i=n(26)(4);r(r.P+r.F*!n(22)([].every,!0),"Array",{every:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),i=n(110);r(r.P+r.F*!n(22)([].reduce,!0),"Array",{reduce:function(t){return i(this,t,arguments.length,arguments[1],!1)}})},function(t,e,n){"use strict";var r=n(0),i=n(110);r(r.P+r.F*!n(22)([].reduceRight,!0),"Array",{reduceRight:function(t){return i(this,t,arguments.length,arguments[1],!0)}})},function(t,e,n){"use strict";var r=n(0),i=n(53)(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(22)(o)),"Array",{indexOf:function(t){return a?o.apply(this,arguments)||0:i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),i=n(15),o=n(21),a=n(6),s=[].lastIndexOf,c=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(c||!n(22)(s)),"Array",{lastIndexOf:function(t){if(c)return s.apply(this,arguments)||0;var e=i(this),n=a(e.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,o(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},function(t,e,n){var r=n(0);r(r.P,"Array",{copyWithin:n(111)}),n(31)("copyWithin")},function(t,e,n){var r=n(0);r(r.P,"Array",{fill:n(86)}),n(31)("fill")},function(t,e,n){"use strict";var r=n(0),i=n(26)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),r(r.P+r.F*o,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(31)("find")},function(t,e,n){"use strict";var r=n(0),i=n(26)(6),o="findIndex",a=!0;o in[]&&Array(1)[o](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(31)(o)},function(t,e,n){n(38)("Array")},function(t,e,n){var r=n(2),i=n(74),o=n(8).f,a=n(37).f,s=n(57),c=n(50),u=r.RegExp,l=u,f=u.prototype,h=/a/g,p=/a/g,d=new u(h)!==h;if(n(7)&&(!d||n(3)(function(){return p[n(5)("match")]=!1,u(h)!=h||u(p)==p||"/a/i"!=u(h,"i")}))){u=function(t,e){var n=this instanceof u,r=s(t),o=void 0===e;return!n&&r&&t.constructor===u&&o?t:i(d?new l(r&&!o?t.source:t,e):l((r=t instanceof u)?t.source:t,r&&o?c.call(t):e),n?this:f,u)};for(var v=function(t){t in u||o(u,t,{configurable:!0,get:function(){return l[t]},set:function(e){l[t]=e}})},y=a(l),g=0;y.length>g;)v(y[g++]);f.constructor=u,u.prototype=f,n(12)(r,"RegExp",u)}n(38)("RegExp")},function(t,e,n){"use strict";n(114);var r=n(1),i=n(50),o=n(7),a=/./.toString,s=function(t){n(12)(RegExp.prototype,"toString",t,!0)};n(3)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?s(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)}):"toString"!=a.name&&s(function(){return a.call(this)})},function(t,e,n){"use strict";var r=n(1),i=n(6),o=n(89),a=n(59);n(60)("match",1,function(t,e,n,s){return[function(n){var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=s(n,t,this);if(e.done)return e.value;var c=r(t),u=String(this);if(!c.global)return a(c,u);var l=c.unicode;c.lastIndex=0;for(var f,h=[],p=0;null!==(f=a(c,u));){var d=String(f[0]);h[p]=d,""===d&&(c.lastIndex=o(u,i(c.lastIndex),l)),p++}return 0===p?null:h}]})},function(t,e,n){"use strict";var r=n(1),i=n(9),o=n(6),a=n(21),s=n(89),c=n(59),u=Math.max,l=Math.min,f=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g,d=function(t){return void 0===t?t:String(t)};n(60)("replace",2,function(t,e,n,v){return[function(r,i){var o=t(this),a=void 0==r?void 0:r[e];return void 0!==a?a.call(r,o,i):n.call(String(o),r,i)},function(t,e){var i=v(n,t,this,e);if(i.done)return i.value;var f=r(t),h=String(this),p="function"==typeof e;p||(e=String(e));var g=f.global;if(g){var _=f.unicode;f.lastIndex=0}for(var b=[];;){var m=c(f,h);if(null===m)break;if(b.push(m),!g)break;""===String(m[0])&&(f.lastIndex=s(h,o(f.lastIndex),_))}for(var x="",w=0,S=0;S<b.length;S++){m=b[S];for(var M=String(m[0]),k=u(l(a(m.index),h.length),0),T=[],A=1;A<m.length;A++)T.push(d(m[A]));var E=m.groups;if(p){var L=[M].concat(T,k,h);void 0!==E&&L.push(E);var C=String(e.apply(void 0,L))}else C=y(M,h,k,T,E,e);k>=w&&(x+=h.slice(w,k)+C,w=k+M.length)}return x+h.slice(w)}];function y(t,e,r,o,a,s){var c=r+t.length,u=o.length,l=p;return void 0!==a&&(a=i(a),l=h),n.call(s,l,function(n,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(c);case"<":s=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return n;if(l>u){var h=f(l/10);return 0===h?n:h<=u?void 0===o[h-1]?i.charAt(1):o[h-1]+i.charAt(1):n}s=o[l-1]}return void 0===s?"":s})}})},function(t,e,n){"use strict";var r=n(1),i=n(100),o=n(59);n(60)("search",1,function(t,e,n,a){return[function(n){var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=a(n,t,this);if(e.done)return e.value;var s=r(t),c=String(this),u=s.lastIndex;i(u,0)||(s.lastIndex=0);var l=o(s,c);return i(s.lastIndex,u)||(s.lastIndex=u),null===l?-1:l.index}]})},function(t,e,n){"use strict";var r=n(57),i=n(1),o=n(51),a=n(89),s=n(6),c=n(59),u=n(88),l=n(3),f=Math.min,h=[].push,p=!l(function(){RegExp(4294967295,"y")});n(60)("split",2,function(t,e,n,l){var d;return d="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,e){var i=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(i,t,e);for(var o,a,s,c=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),f=0,p=void 0===e?4294967295:e>>>0,d=new RegExp(t.source,l+"g");(o=u.call(d,i))&&!((a=d.lastIndex)>f&&(c.push(i.slice(f,o.index)),o.length>1&&o.index<i.length&&h.apply(c,o.slice(1)),s=o[0].length,f=a,c.length>=p));)d.lastIndex===o.index&&d.lastIndex++;return f===i.length?!s&&d.test("")||c.push(""):c.push(i.slice(f)),c.length>p?c.slice(0,p):c}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var i=t(this),o=void 0==n?void 0:n[e];return void 0!==o?o.call(n,i,r):d.call(String(i),n,r)},function(t,e){var r=l(d,t,this,e,d!==n);if(r.done)return r.value;var u=i(t),h=String(this),v=o(u,RegExp),y=u.unicode,g=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(p?"y":"g"),_=new v(p?u:"^(?:"+u.source+")",g),b=void 0===e?4294967295:e>>>0;if(0===b)return[];if(0===h.length)return null===c(_,h)?[h]:[];for(var m=0,x=0,w=[];x<h.length;){_.lastIndex=p?x:0;var S,M=c(_,p?h:h.slice(x));if(null===M||(S=f(s(_.lastIndex+(p?0:x)),h.length))===m)x=a(h,x,y);else{if(w.push(h.slice(m,x)),w.length===b)return w;for(var k=1;k<=M.length-1;k++)if(w.push(M[k]),w.length===b)return w;x=m=S}}return w.push(h.slice(m)),w}]})},function(t,e,n){"use strict";var r,i,o,a,s=n(29),c=n(2),u=n(19),l=n(44),f=n(0),h=n(4),p=n(10),d=n(39),v=n(40),y=n(51),g=n(90).set,_=n(91)(),b=n(92),m=n(115),x=n(61),w=n(116),S=c.TypeError,M=c.process,k=M&&M.versions,T=k&&k.v8||"",A=c.Promise,E="process"==l(M),L=function(){},C=i=b.f,O=!!function(){try{var t=A.resolve(1),e=(t.constructor={})[n(5)("species")]=function(t){t(L,L)};return(E||"function"==typeof PromiseRejectionEvent)&&t.then(L)instanceof e&&0!==T.indexOf("6.6")&&-1===x.indexOf("Chrome/66")}catch(t){}}(),D=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},I=function(t,e){if(!t._n){t._n=!0;var n=t._c;_(function(){for(var r=t._v,i=1==t._s,o=0,a=function(e){var n,o,a,s=i?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{s?(i||(2==t._h&&N(t),t._h=1),!0===s?n=r:(l&&l.enter(),n=s(r),l&&(l.exit(),a=!0)),n===e.promise?u(S("Promise-chain cycle")):(o=D(n))?o.call(n,c,u):c(n)):u(r)}catch(t){l&&!a&&l.exit(),u(t)}};n.length>o;)a(n[o++]);t._c=[],t._n=!1,e&&!t._h&&P(t)})}},P=function(t){g.call(c,function(){var e,n,r,i=t._v,o=F(t);if(o&&(e=m(function(){E?M.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=E||F(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},F=function(t){return 1!==t._h&&0===(t._a||t._c).length},N=function(t){g.call(c,function(){var e;E?M.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},W=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),I(e,!0))},R=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw S("Promise can't be resolved itself");(e=D(t))?_(function(){var r={_w:n,_d:!1};try{e.call(t,u(R,r,1),u(W,r,1))}catch(t){W.call(r,t)}}):(n._v=t,n._s=1,I(n,!1))}catch(t){W.call({_w:n,_d:!1},t)}}};O||(A=function(t){d(this,A,"Promise","_h"),p(t),r.call(this);try{t(u(R,this,1),u(W,this,1))}catch(t){W.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(41)(A.prototype,{then:function(t,e){var n=C(y(this,A));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=E?M.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&I(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=u(R,t,1),this.reject=u(W,t,1)},b.f=C=function(t){return t===A||t===a?new o(t):i(t)}),f(f.G+f.W+f.F*!O,{Promise:A}),n(43)(A,"Promise"),n(38)("Promise"),a=n(18).Promise,f(f.S+f.F*!O,"Promise",{reject:function(t){var e=C(this);return(0,e.reject)(t),e.promise}}),f(f.S+f.F*(s||!O),"Promise",{resolve:function(t){return w(s&&this===a?A:this,t)}}),f(f.S+f.F*!(O&&n(58)(function(t){A.all(t).catch(L)})),"Promise",{all:function(t){var e=this,n=C(e),r=n.resolve,i=n.reject,o=m(function(){var n=[],o=0,a=1;v(t,!1,function(t){var s=o++,c=!1;n.push(void 0),a++,e.resolve(t).then(function(t){c||(c=!0,n[s]=t,--a||r(n))},i)}),--a||r(n)});return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=C(e),r=n.reject,i=m(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(t,e,n){"use strict";var r=n(121),i=n(42);n(62)("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(i(this,"WeakSet"),t,!0)}},r,!1,!0)},function(t,e,n){"use strict";var r=n(0),i=n(63),o=n(93),a=n(1),s=n(35),c=n(6),u=n(4),l=n(2).ArrayBuffer,f=n(51),h=o.ArrayBuffer,p=o.DataView,d=i.ABV&&l.isView,v=h.prototype.slice,y=i.VIEW;r(r.G+r.W+r.F*(l!==h),{ArrayBuffer:h}),r(r.S+r.F*!i.CONSTR,"ArrayBuffer",{isView:function(t){return d&&d(t)||u(t)&&y in t}}),r(r.P+r.U+r.F*n(3)(function(){return!new h(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(t,e){if(void 0!==v&&void 0===e)return v.call(a(this),t);for(var n=a(this).byteLength,r=s(t,n),i=s(void 0===e?n:e,n),o=new(f(this,h))(c(i-r)),u=new p(this),l=new p(o),d=0;r<i;)l.setUint8(d++,u.getUint8(r++));return o}}),n(38)("ArrayBuffer")},function(t,e,n){var r=n(0);r(r.G+r.W+r.F*!n(63).ABV,{DataView:n(93).DataView})},function(t,e,n){n(27)("Int8",1,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(27)("Uint8",1,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(27)("Uint8",1,function(t){return function(e,n,r){return t(this,e,n,r)}},!0)},function(t,e,n){n(27)("Int16",2,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(27)("Uint16",2,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(27)("Int32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(27)("Uint32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(27)("Float32",4,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){n(27)("Float64",8,function(t){return function(e,n,r){return t(this,e,n,r)}})},function(t,e,n){var r=n(0),i=n(10),o=n(1),a=(n(2).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n(3)(function(){a(function(){})}),"Reflect",{apply:function(t,e,n){var r=i(t),c=o(n);return a?a(r,e,c):s.call(r,e,c)}})},function(t,e,n){var r=n(0),i=n(36),o=n(10),a=n(1),s=n(4),c=n(3),u=n(101),l=(n(2).Reflect||{}).construct,f=c(function(){function t(){}return!(l(function(){},[],t)instanceof t)}),h=!c(function(){l(function(){})});r(r.S+r.F*(f||h),"Reflect",{construct:function(t,e){o(t),a(e);var n=arguments.length<3?t:o(arguments[2]);if(h&&!f)return l(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(u.apply(t,r))}var c=n.prototype,p=i(s(c)?c:Object.prototype),d=Function.apply.call(t,p,e);return s(d)?d:p}})},function(t,e,n){var r=n(8),i=n(0),o=n(1),a=n(23);i(i.S+i.F*n(3)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,n){o(t),e=a(e,!0),o(n);try{return r.f(t,e,n),!0}catch(t){return!1}}})},function(t,e,n){var r=n(0),i=n(16).f,o=n(1);r(r.S,"Reflect",{deleteProperty:function(t,e){var n=i(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,n){"use strict";var r=n(0),i=n(1),o=function(t){this._t=i(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)};n(79)(o,"Object",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new o(t)}})},function(t,e,n){var r=n(16),i=n(17),o=n(14),a=n(0),s=n(4),c=n(1);a(a.S,"Reflect",{get:function t(e,n){var a,u,l=arguments.length<3?e:arguments[2];return c(e)===l?e[n]:(a=r.f(e,n))?o(a,"value")?a.value:void 0!==a.get?a.get.call(l):void 0:s(u=i(e))?t(u,n,l):void 0}})},function(t,e,n){var r=n(16),i=n(0),o=n(1);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(o(t),e)}})},function(t,e,n){var r=n(0),i=n(17),o=n(1);r(r.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var r=n(0),i=n(1),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{ownKeys:n(123)})},function(t,e,n){var r=n(0),i=n(1),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(t){return!1}}})},function(t,e,n){var r=n(8),i=n(16),o=n(17),a=n(14),s=n(0),c=n(32),u=n(1),l=n(4);s(s.S,"Reflect",{set:function t(e,n,s){var f,h,p=arguments.length<4?e:arguments[3],d=i.f(u(e),n);if(!d){if(l(h=o(e)))return t(h,n,s,p);d=c(0)}if(a(d,"value")){if(!1===d.writable||!l(p))return!1;if(f=i.f(p,n)){if(f.get||f.set||!1===f.writable)return!1;f.value=s,r.f(p,n,f)}else r.f(p,n,c(0,s));return!0}return void 0!==d.set&&(d.set.call(p,s),!0)}})},function(t,e,n){var r=n(0),i=n(72);i&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){i.check(t,e);try{return i.set(t,e),!0}catch(t){return!1}}})},function(t,e,n){"use strict";var r=n(0),i=n(53)(!0);r(r.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(31)("includes")},function(t,e,n){"use strict";var r=n(0),i=n(124),o=n(9),a=n(6),s=n(10),c=n(85);r(r.P,"Array",{flatMap:function(t){var e,n,r=o(this);return s(t),e=a(r.length),n=c(r,0),i(n,r,r,e,0,1,t,arguments[1]),n}}),n(31)("flatMap")},function(t,e,n){"use strict";var r=n(0),i=n(124),o=n(9),a=n(6),s=n(21),c=n(85);r(r.P,"Array",{flatten:function(){var t=arguments[0],e=o(this),n=a(e.length),r=c(e,0);return i(r,e,e,n,0,void 0===t?1:s(t)),r}}),n(31)("flatten")},function(t,e,n){"use strict";var r=n(0),i=n(56)(!0);r(r.P,"String",{at:function(t){return i(this,t)}})},function(t,e,n){"use strict";var r=n(0),i=n(125),o=n(61),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,e,n){"use strict";var r=n(0),i=n(125),o=n(61),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,e,n){"use strict";n(45)("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},function(t,e,n){"use strict";n(45)("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},function(t,e,n){"use strict";var r=n(0),i=n(24),o=n(6),a=n(57),s=n(50),c=RegExp.prototype,u=function(t,e){this._r=t,this._s=e};n(79)(u,"RegExp String",function(){var t=this._r.exec(this._s);return{value:t,done:null===t}}),r(r.P,"String",{matchAll:function(t){if(i(this),!a(t))throw TypeError(t+" is not a regexp!");var e=String(this),n="flags"in c?String(t.flags):s.call(t),r=new RegExp(t.source,~n.indexOf("g")?n:"g"+n);return r.lastIndex=o(t.lastIndex),new u(r,e)}})},function(t,e,n){n(68)("asyncIterator")},function(t,e,n){n(68)("observable")},function(t,e,n){var r=n(0),i=n(123),o=n(15),a=n(16),s=n(83);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=o(t),c=a.f,u=i(r),l={},f=0;u.length>f;)void 0!==(n=c(r,e=u[f++]))&&s(l,e,n);return l}})},function(t,e,n){var r=n(0),i=n(126)(!1);r(r.S,"Object",{values:function(t){return i(t)}})},function(t,e,n){var r=n(0),i=n(126)(!0);r(r.S,"Object",{entries:function(t){return i(t)}})},function(t,e,n){"use strict";var r=n(0),i=n(9),o=n(10),a=n(8);n(7)&&r(r.P+n(64),"Object",{__defineGetter__:function(t,e){a.f(i(this),t,{get:o(e),enumerable:!0,configurable:!0})}})},function(t,e,n){"use strict";var r=n(0),i=n(9),o=n(10),a=n(8);n(7)&&r(r.P+n(64),"Object",{__defineSetter__:function(t,e){a.f(i(this),t,{set:o(e),enumerable:!0,configurable:!0})}})},function(t,e,n){"use strict";var r=n(0),i=n(9),o=n(23),a=n(17),s=n(16).f;n(7)&&r(r.P+n(64),"Object",{__lookupGetter__:function(t){var e,n=i(this),r=o(t,!0);do{if(e=s(n,r))return e.get}while(n=a(n))}})},function(t,e,n){"use strict";var r=n(0),i=n(9),o=n(23),a=n(17),s=n(16).f;n(7)&&r(r.P+n(64),"Object",{__lookupSetter__:function(t){var e,n=i(this),r=o(t,!0);do{if(e=s(n,r))return e.set}while(n=a(n))}})},function(t,e,n){var r=n(0);r(r.P+r.R,"Map",{toJSON:n(127)("Map")})},function(t,e,n){var r=n(0);r(r.P+r.R,"Set",{toJSON:n(127)("Set")})},function(t,e,n){n(65)("Map")},function(t,e,n){n(65)("Set")},function(t,e,n){n(65)("WeakMap")},function(t,e,n){n(65)("WeakSet")},function(t,e,n){n(66)("Map")},function(t,e,n){n(66)("Set")},function(t,e,n){n(66)("WeakMap")},function(t,e,n){n(66)("WeakSet")},function(t,e,n){var r=n(0);r(r.G,{global:n(2)})},function(t,e,n){var r=n(0);r(r.S,"System",{global:n(2)})},function(t,e,n){var r=n(0),i=n(20);r(r.S,"Error",{isError:function(t){return"Error"===i(t)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{clamp:function(t,e,n){return Math.min(n,Math.max(e,t))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{DEG_PER_RAD:Math.PI/180})},function(t,e,n){var r=n(0),i=180/Math.PI;r(r.S,"Math",{degrees:function(t){return t*i}})},function(t,e,n){var r=n(0),i=n(129),o=n(108);r(r.S,"Math",{fscale:function(t,e,n,r,a){return o(i(t,e,n,r,a))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{iaddh:function(t,e,n,r){var i=t>>>0,o=n>>>0;return(e>>>0)+(r>>>0)+((i&o|(i|o)&~(i+o>>>0))>>>31)|0}})},function(t,e,n){var r=n(0);r(r.S,"Math",{isubh:function(t,e,n,r){var i=t>>>0,o=n>>>0;return(e>>>0)-(r>>>0)-((~i&o|~(i^o)&i-o>>>0)>>>31)|0}})},function(t,e,n){var r=n(0);r(r.S,"Math",{imulh:function(t,e){var n=+t,r=+e,i=65535&n,o=65535&r,a=n>>16,s=r>>16,c=(a*o>>>0)+(i*o>>>16);return a*s+(c>>16)+((i*s>>>0)+(65535&c)>>16)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{RAD_PER_DEG:180/Math.PI})},function(t,e,n){var r=n(0),i=Math.PI/180;r(r.S,"Math",{radians:function(t){return t*i}})},function(t,e,n){var r=n(0);r(r.S,"Math",{scale:n(129)})},function(t,e,n){var r=n(0);r(r.S,"Math",{umulh:function(t,e){var n=+t,r=+e,i=65535&n,o=65535&r,a=n>>>16,s=r>>>16,c=(a*o>>>0)+(i*o>>>16);return a*s+(c>>>16)+((i*s>>>0)+(65535&c)>>>16)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{signbit:function(t){return(t=+t)!=t?t:0==t?1/t==1/0:t>0}})},function(t,e,n){"use strict";var r=n(0),i=n(18),o=n(2),a=n(51),s=n(116);r(r.P+r.R,"Promise",{finally:function(t){var e=a(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then(function(){return n})}:t,n?function(n){return s(e,t()).then(function(){throw n})}:t)}})},function(t,e,n){"use strict";var r=n(0),i=n(92),o=n(115);r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},function(t,e,n){var r=n(28),i=n(1),o=r.key,a=r.set;r.exp({defineMetadata:function(t,e,n,r){a(t,e,i(n),o(r))}})},function(t,e,n){var r=n(28),i=n(1),o=r.key,a=r.map,s=r.store;r.exp({deleteMetadata:function(t,e){var n=arguments.length<3?void 0:o(arguments[2]),r=a(i(e),n,!1);if(void 0===r||!r.delete(t))return!1;if(r.size)return!0;var c=s.get(e);return c.delete(n),!!c.size||s.delete(e)}})},function(t,e,n){var r=n(28),i=n(1),o=n(17),a=r.has,s=r.get,c=r.key,u=function(t,e,n){if(a(t,e,n))return s(t,e,n);var r=o(e);return null!==r?u(t,r,n):void 0};r.exp({getMetadata:function(t,e){return u(t,i(e),arguments.length<3?void 0:c(arguments[2]))}})},function(t,e,n){var r=n(119),i=n(128),o=n(28),a=n(1),s=n(17),c=o.keys,u=o.key,l=function(t,e){var n=c(t,e),o=s(t);if(null===o)return n;var a=l(o,e);return a.length?n.length?i(new r(n.concat(a))):a:n};o.exp({getMetadataKeys:function(t){return l(a(t),arguments.length<2?void 0:u(arguments[1]))}})},function(t,e,n){var r=n(28),i=n(1),o=r.get,a=r.key;r.exp({getOwnMetadata:function(t,e){return o(t,i(e),arguments.length<3?void 0:a(arguments[2]))}})},function(t,e,n){var r=n(28),i=n(1),o=r.keys,a=r.key;r.exp({getOwnMetadataKeys:function(t){return o(i(t),arguments.length<2?void 0:a(arguments[1]))}})},function(t,e,n){var r=n(28),i=n(1),o=n(17),a=r.has,s=r.key,c=function(t,e,n){if(a(t,e,n))return!0;var r=o(e);return null!==r&&c(t,r,n)};r.exp({hasMetadata:function(t,e){return c(t,i(e),arguments.length<3?void 0:s(arguments[2]))}})},function(t,e,n){var r=n(28),i=n(1),o=r.has,a=r.key;r.exp({hasOwnMetadata:function(t,e){return o(t,i(e),arguments.length<3?void 0:a(arguments[2]))}})},function(t,e,n){var r=n(28),i=n(1),o=n(10),a=r.key,s=r.set;r.exp({metadata:function(t,e){return function(n,r){s(t,e,(void 0!==r?i:o)(n),a(r))}}})},function(t,e,n){var r=n(0),i=n(91)(),o=n(2).process,a="process"==n(20)(o);r(r.G,{asap:function(t){var e=a&&o.domain;i(e?e.bind(t):t)}})},function(t,e,n){"use strict";var r=n(0),i=n(2),o=n(18),a=n(91)(),s=n(5)("observable"),c=n(10),u=n(1),l=n(39),f=n(41),h=n(11),p=n(40),d=p.RETURN,v=function(t){return null==t?void 0:c(t)},y=function(t){var e=t._c;e&&(t._c=void 0,e())},g=function(t){return void 0===t._o},_=function(t){g(t)||(t._o=void 0,y(t))},b=function(t,e){u(t),this._c=void 0,this._o=t,t=new m(this);try{var n=e(t),r=n;null!=n&&("function"==typeof n.unsubscribe?n=function(){r.unsubscribe()}:c(n),this._c=n)}catch(e){return void t.error(e)}g(this)&&y(this)};b.prototype=f({},{unsubscribe:function(){_(this)}});var m=function(t){this._s=t};m.prototype=f({},{next:function(t){var e=this._s;if(!g(e)){var n=e._o;try{var r=v(n.next);if(r)return r.call(n,t)}catch(t){try{_(e)}finally{throw t}}}},error:function(t){var e=this._s;if(g(e))throw t;var n=e._o;e._o=void 0;try{var r=v(n.error);if(!r)throw t;t=r.call(n,t)}catch(t){try{y(e)}finally{throw t}}return y(e),t},complete:function(t){var e=this._s;if(!g(e)){var n=e._o;e._o=void 0;try{var r=v(n.complete);t=r?r.call(n,t):void 0}catch(t){try{y(e)}finally{throw t}}return y(e),t}}});var x=function(t){l(this,x,"Observable","_f")._f=c(t)};f(x.prototype,{subscribe:function(t){return new b(t,this._f)},forEach:function(t){var e=this;return new(o.Promise||i.Promise)(function(n,r){c(t);var i=e.subscribe({next:function(e){try{return t(e)}catch(t){r(t),i.unsubscribe()}},error:r,complete:n})})}}),f(x,{from:function(t){var e="function"==typeof this?this:x,n=v(u(t)[s]);if(n){var r=u(n.call(t));return r.constructor===e?r:new e(function(t){return r.subscribe(t)})}return new e(function(e){var n=!1;return a(function(){if(!n){try{if(p(t,!1,function(t){if(e.next(t),n)return d})===d)return}catch(t){if(n)throw t;return void e.error(t)}e.complete()}}),function(){n=!0}})},of:function(){for(var t=0,e=arguments.length,n=new Array(e);t<e;)n[t]=arguments[t++];return new("function"==typeof this?this:x)(function(t){var e=!1;return a(function(){if(!e){for(var r=0;r<n.length;++r)if(t.next(n[r]),e)return;t.complete()}}),function(){e=!0}})}}),h(x.prototype,s,function(){return this}),r(r.G,{Observable:x}),n(38)("Observable")},function(t,e,n){var r=n(2),i=n(0),o=n(61),a=[].slice,s=/MSIE .\./.test(o),c=function(t){return function(e,n){var r=arguments.length>2,i=!!r&&a.call(arguments,2);return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,i)}:e,n)}};i(i.G+i.B+i.F*s,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},function(t,e,n){var r=n(0),i=n(90);r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},function(t,e,n){for(var r=n(87),i=n(34),o=n(12),a=n(2),s=n(11),c=n(46),u=n(5),l=u("iterator"),f=u("toStringTag"),h=c.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=i(p),v=0;v<d.length;v++){var y,g=d[v],_=p[g],b=a[g],m=b&&b.prototype;if(m&&(m[l]||s(m,l,h),m[f]||s(m,f,g),c[g]=h,_))for(y in r)m[y]||o(m,y,r[y],!0)}},function(t,e,n){(function(e){!function(e){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag",u="object"==typeof t,l=e.regeneratorRuntime;if(l)u&&(t.exports=l);else{(l=e.regeneratorRuntime=u?t.exports:{}).wrap=m;var f="suspendedStart",h="suspendedYield",p="executing",d="completed",v={},y={};y[a]=function(){return this};var g=Object.getPrototypeOf,_=g&&g(g(O([])));_&&_!==r&&i.call(_,a)&&(y=_);var b=M.prototype=w.prototype=Object.create(y);S.prototype=b.constructor=M,M.constructor=S,M[c]=S.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===S||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,M):(t.__proto__=M,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(b),t},l.awrap=function(t){return{__await:t}},k(T.prototype),T.prototype[s]=function(){return this},l.AsyncIterator=T,l.async=function(t,e,n,r){var i=new T(m(t,e,n,r));return l.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},k(b),b[c]="Generator",b[a]=function(){return this},b.toString=function(){return"[object Generator]"},l.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},l.values=O,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(L),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,i){return s.type="throw",s.arg=t,e.next=r,i&&(e.method="next",e.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),u=i.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),L(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;L(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),v}}}function m(t,e,n,r){var i=e&&e.prototype instanceof w?e:w,o=Object.create(i.prototype),a=new C(r||[]);return o._invoke=function(t,e,n){var r=f;return function(i,o){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw o;return D()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=A(a,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var c=x(t,e,n);if("normal"===c.type){if(r=n.done?d:h,c.arg===v)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=d,n.method="throw",n.arg=c.arg)}}}(t,n,a),o}function x(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function w(){}function S(){}function M(){}function k(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function T(t){function n(e,r,o,a){var s=x(t[e],t,r);if("throw"!==s.type){var c=s.arg,u=c.value;return u&&"object"==typeof u&&i.call(u,"__await")?Promise.resolve(u.__await).then(function(t){n("next",t,o,a)},function(t){n("throw",t,o,a)}):Promise.resolve(u).then(function(t){c.value=t,o(c)},a)}a(s.arg)}var r;"object"==typeof e.process&&e.process.domain&&(n=e.process.domain.bind(n)),this._invoke=function(t,e){function i(){return new Promise(function(r,i){n(t,e,r,i)})}return r=r?r.then(i,i):i()}}function A(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,A(t,e),"throw"===e.method))return v;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=x(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,v;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,v):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function O(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){for(;++r<t.length;)if(i.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=n,e.done=!0,e};return o.next=o}}return{next:D}}function D(){return{value:n,done:!0}}}("object"==typeof e?e:"object"==typeof window?window:"object"==typeof self?self:this)}).call(this,n(52))},function(t,e,n){n(332),t.exports=n(18).RegExp.escape},function(t,e,n){var r=n(0),i=n(333)(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(t){return i(t)}})},function(t,e){t.exports=function(t,e){var n=e===Object(e)?function(t){return e[t]}:e;return function(e){return String(e).replace(t,n)}}},function(t,e,n){"use strict";n.r(e),e.default='<?xml version="1.0" encoding="utf-8"?>\n\x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n\t viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">\n<style type="text/css">\n\t.st0{fill:none;}\n\t.st1{fill:#231F20;}\n\t.st2{fill:url(#lines_-_right_to_left);}\n</style>\n<pattern width="50" height="50"\npatternUnits="userSpaceOnUse" id="lines_-_right_to_left" viewBox="97.78 -148.535 50 50" style="overflow:visible;">\n\t<g id="XMLID_16_">\n\t\t<polygon id="XMLID_26_" class="st0" points="97.78,-148.535 147.78,-148.535 147.78,-98.535 97.78,-98.535 \t\t"/>\n\t\t<polygon id="XMLID_25_" class="st1" points="110.606,0 100,-10.607 214.117,-124.724 224.723,-114.117 \t\t"/>\n\t\t<polygon id="XMLID_24_" class="st1" points="60.606,0 50,-10.607 164.117,-124.724 174.723,-114.117 \t\t"/>\n\t\t<polygon id="XMLID_23_" class="st1" points="10.606,0 0,-10.607 114.117,-124.724 124.723,-114.117 \t\t"/>\n\t\t<polygon id="XMLID_22_" class="st1" points="110.606,-50 100,-60.607 214.117,-174.724 224.723,-164.117 \t\t"/>\n\t\t<polygon id="XMLID_21_" class="st1" points="60.606,-50 50,-60.607 164.117,-174.724 174.723,-164.117 \t\t"/>\n\t\t<polygon id="XMLID_20_" class="st1" points="10.606,-50 0,-60.607 114.117,-174.724 124.723,-164.117 \t\t"/>\n\t\t<polygon id="XMLID_19_" class="st1" points="110.606,-100 100,-110.607 214.117,-224.724 224.723,-214.117 \t\t"/>\n\t\t<polygon id="XMLID_18_" class="st1" points="60.606,-100 50,-110.607 164.117,-224.724 174.723,-214.117 \t\t"/>\n\t\t<polygon id="XMLID_17_" class="st1" points="10.606,-100 0,-110.607 114.117,-224.724 124.723,-214.117 \t\t"/>\n\t</g>\n</pattern>\n<rect id="XMLID_1_" class="st2" width="100" height="100"/>\n</svg>'},function(t,e,n){"use strict";n.r(e),e.default='<?xml version="1.0" encoding="utf-8"?>\n\x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n\t viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">\n<style type="text/css">\n\t.st0{fill:none;}\n\t.st1{fill:#2d74da;}\n\t.st2{fill:url(#Circle_pattern);}\n</style>\n<pattern width="100" height="100" patternUnits="userSpaceOnUse" id="Circle_pattern" viewBox="15 -115 100 100" style="overflow:visible;">\n\t<g id="XMLID_11_">\n\t\t<polygon id="XMLID_39_" class="st0" points="15,-115 115,-115 115,-15 15,-15 \t\t"/>\n\t\t<path id="XMLID_34_" class="st1" d="M130-40c0,8.284-6.716,15-15,15s-15-6.716-15-15s6.716-15,15-15S130-48.284,130-40z"/>\n\t\t<path id="XMLID_33_" class="st1" d="M80-15c0,8.284-6.716,15-15,15S50-6.716,50-15s6.716-15,15-15S80-23.284,80-15z"/>\n\t\t<path id="XMLID_32_" class="st1" d="M30-40c0,8.284-6.716,15-15,15S0-31.716,0-40s6.716-15,15-15S30-48.284,30-40z"/>\n\t\t<path id="XMLID_24_" class="st1" d="M130-90c0,8.284-6.716,15-15,15s-15-6.716-15-15s6.716-15,15-15S130-98.284,130-90z"/>\n\t\t<path id="XMLID_22_" class="st1" d="M80-65c0,8.284-6.716,15-15,15s-15-6.716-15-15s6.716-15,15-15S80-73.284,80-65z"/>\n\t\t<path id="XMLID_18_" class="st1" d="M30-90c0,8.284-6.716,15-15,15S0-81.716,0-90s6.716-15,15-15S30-98.284,30-90z"/>\n\t\t<path id="XMLID_17_" class="st1" d="M80-115c0,8.284-6.716,15-15,15s-15-6.716-15-15s6.716-15,15-15S80-123.284,80-115z"/>\n\t</g>\n</pattern>\n<rect id="XMLID_1_" class="st2" width="100" height="100"/>\n</svg>'},function(t,e,n){"use strict";n.r(e),e.default='<?xml version="1.0" encoding="utf-8"?>\n\x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n\t viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">\n<style type="text/css">\n\t.st0{fill:none;}\n\t.st1{fill:#231F20;}\n\t.st2{fill:url(#Triangle);}\n</style>\n<pattern width="100" height="100" patternUnits="userSpaceOnUse" id="Triangle" viewBox="15 -112.99 100 100" style="overflow:visible;">\n\t<g id="XMLID_10_">\n\t\t<polygon id="XMLID_23_" class="st0" points="15,-112.99 115,-112.99 115,-12.99 15,-12.99 \t\t"/>\n\t\t<polygon id="XMLID_21_" class="st1" points="100,-25 115,-50.981 130,-25 \t\t"/>\n\t\t<polygon id="XMLID_20_" class="st1" points="50,0 65,-25.981 80,0 \t\t"/>\n\t\t<polygon id="XMLID_19_" class="st1" points="0,-25 15,-50.981 30,-25 \t\t"/>\n\t\t<polygon id="XMLID_15_" class="st1" points="100,-75 115,-100.981 130,-75 \t\t"/>\n\t\t<polygon id="XMLID_14_" class="st1" points="50,-50 65,-75.981 80,-50 \t\t"/>\n\t\t<polygon id="XMLID_13_" class="st1" points="0,-75 15,-100.981 30,-75 \t\t"/>\n\t\t<polygon id="XMLID_12_" class="st1" points="50,-100 65,-125.981 80,-100 \t\t"/>\n\t</g>\n</pattern>\n<rect id="XMLID_1_" class="st2" width="100" height="100"/>\n</svg>'},function(t,e,n){"use strict";n.r(e),e.default='<?xml version="1.0" encoding="utf-8"?>\n\x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n\t viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">\n<style type="text/css">\n\t.st0{fill:none;}\n\t.st1{fill:url(#diamond);}\n</style>\n<pattern width="100" height="100" patternUnits="userSpaceOnUse" id="diamond" viewBox="21.213 -121.213 100 100" style="overflow:visible;">\n\t<g id="XMLID_15_">\n\t\t<polygon id="XMLID_52_" class="st0" points="21.213,-121.213 121.213,-121.213 121.213,-21.213 21.213,-21.213 \t\t"/>\n\t\t<path id="XMLID_49_" d="M96.213-28.284l7.071,7.071l-7.071,7.071l-7.071-7.071L96.213-28.284 M96.213-42.427L75-21.213L96.213,0\n\t\t\tl21.213-21.213L96.213-42.427L96.213-42.427z"/>\n\t\t<path id="XMLID_40_" d="M46.213-28.284l7.071,7.071l-7.071,7.071l-7.071-7.071L46.213-28.284 M46.213-42.427L25-21.213L46.213,0\n\t\t\tl21.213-21.213L46.213-42.427L46.213-42.427z"/>\n\t\t<path id="XMLID_37_" d="M121.213-78.284l7.071,7.071l-7.071,7.071l-7.071-7.071L121.213-78.284 M121.213-92.427L100-71.213\n\t\t\tL121.213-50l21.213-21.213L121.213-92.427L121.213-92.427z"/>\n\t\t<path id="XMLID_28_" d="M71.213-78.284l7.071,7.071l-7.071,7.071l-7.071-7.071L71.213-78.284 M71.213-92.427L50-71.213L71.213-50\n\t\t\tl21.213-21.213L71.213-92.427L71.213-92.427z"/>\n\t\t<path id="XMLID_25_" d="M21.213-78.284l7.071,7.071l-7.071,7.071l-7.071-7.071L21.213-78.284 M21.213-92.427L0-71.213L21.213-50\n\t\t\tl21.213-21.213L21.213-92.427L21.213-92.427z"/>\n\t\t<path id="XMLID_22_" d="M96.213-128.284l7.071,7.071l-7.071,7.071l-7.071-7.071L96.213-128.284 M96.213-142.427L75-121.213\n\t\t\tL96.213-100l21.213-21.213L96.213-142.427L96.213-142.427z"/>\n\t\t<path id="XMLID_16_" d="M46.213-128.284l7.071,7.071l-7.071,7.071l-7.071-7.071L46.213-128.284 M46.213-142.427L25-121.213\n\t\t\tL46.213-100l21.213-21.213L46.213-142.427L46.213-142.427z"/>\n\t</g>\n</pattern>\n<rect id="XMLID_1_" class="st1" width="100" height="100"/>\n</svg>'},function(t,e,n){"use strict";n.r(e),e.default='<?xml version="1.0" encoding="utf-8"?>\n\x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n\t viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">\n<style type="text/css">\n\t.st0{fill:none;}\n\t.st1{fill:#231F20;}\n\t.st2{fill:url(#lines_-_left_to_right);}\n</style>\n<pattern width="50" height="50"\npatternUnits="userSpaceOnUse" id="lines_-_left_to_right" viewBox="101.277 -147.008 50 50" style="overflow:visible;">\n\t<g id="XMLID_8_">\n\t\t<polygon id="XMLID_32_" class="st0" points="101.277,-147.008 151.277,-147.008 151.277,-97.008 101.277,-97.008 \t\t"/>\n\t\t<polygon id="XMLID_31_" class="st1" points="264.058,0 150,-114.058 160.606,-124.665 274.665,-10.607 \t\t"/>\n\t\t<polygon id="XMLID_30_" class="st1" points="214.058,0 100,-114.058 110.606,-124.665 224.665,-10.607 \t\t"/>\n\t\t<polygon id="XMLID_29_" class="st1" points="164.058,0 50,-114.058 60.606,-124.665 174.665,-10.607 \t\t"/>\n\t\t<polygon id="XMLID_28_" class="st1" points="114.058,0 0,-114.058 10.606,-124.665 124.665,-10.607 \t\t"/>\n\t\t<polygon id="XMLID_27_" class="st1" points="264.058,-50 150,-164.058 160.606,-174.665 274.665,-60.607 \t\t"/>\n\t\t<polygon id="XMLID_26_" class="st1" points="214.058,-50 100,-164.058 110.606,-174.665 224.665,-60.607 \t\t"/>\n\t\t<polygon id="XMLID_25_" class="st1" points="164.058,-50 50,-164.058 60.606,-174.665 174.665,-60.607 \t\t"/>\n\t\t<polygon id="XMLID_24_" class="st1" points="114.058,-50 0,-164.058 10.606,-174.665 124.665,-60.607 \t\t"/>\n\t\t<polygon id="XMLID_23_" class="st1" points="264.058,-100 150,-214.058 160.606,-224.665 274.665,-110.607 \t\t"/>\n\t\t<polygon id="XMLID_22_" class="st1" points="214.058,-100 100,-214.058 110.606,-224.665 224.665,-110.607 \t\t"/>\n\t\t<polygon id="XMLID_16_" class="st1" points="164.058,-100 50,-214.058 60.606,-224.665 174.665,-110.607 \t\t"/>\n\t\t<polygon id="XMLID_15_" class="st1" points="114.058,-100 0,-214.058 10.606,-224.665 124.665,-110.607 \t\t"/>\n\t</g>\n</pattern>\n<rect id="XMLID_1_" class="st2" width="100" height="100"/>\n</svg>'},function(t,e,n){"use strict";n.r(e),e.default='<?xml version="1.0" encoding="utf-8"?>\n\x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n\t viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">\n<style type="text/css">\n\t.st0{fill:none;}\n\t.st1{fill:#231F20;}\n\t.st2{fill:url(#hex_pattern);}\n</style>\n<pattern width="100" height="100"\npatternUnits="userSpaceOnUse" id="hex_pattern" viewBox="20 -117.32 100 100" style="overflow:visible;">\n\t<g id="XMLID_10_">\n\t\t<polygon id="XMLID_23_" class="st0" points="20,-117.32 120,-117.32 120,-17.32 20,-17.32 \t\t"/>\n\t\t<polygon id="XMLID_21_" class="st1" points="110,-25 100,-42.32 110,-59.641 130,-59.641 140,-42.32 130,-25 \t\t"/>\n\t\t<polygon id="XMLID_20_" class="st1" points="60,0 50,-17.32 60,-34.641 80,-34.641 90,-17.32 80,0 \t\t"/>\n\t\t<polygon id="XMLID_19_" class="st1" points="10,-25 0,-42.32 10,-59.641 30,-59.641 40,-42.32 30,-25 \t\t"/>\n\t\t<polygon id="XMLID_15_" class="st1" points="110,-75 100,-92.32 110,-109.641 130,-109.641 140,-92.32 130,-75 \t\t"/>\n\t\t<polygon id="XMLID_14_" class="st1" points="60,-50 50,-67.32 60,-84.641 80,-84.641 90,-67.32 80,-50 \t\t"/>\n\t\t<polygon id="XMLID_13_" class="st1" points="10,-75 0,-92.32 10,-109.641 30,-109.641 40,-92.32 30,-75 \t\t"/>\n\t\t<polygon id="XMLID_12_" class="st1" points="60,-100 50,-117.32 60,-134.641 80,-134.641 90,-117.32 80,-100 \t\t"/>\n\t</g>\n</pattern>\n<rect id="XMLID_1_" class="st2" width="100" height="100"/>\n</svg>'},function(t,e,n){"use strict";n.r(e),e.default='<?xml version="1.0" encoding="utf-8"?>\n\x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n\t viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">\n<style type="text/css">\n\t.st0{fill:none;}\n\t.st1{fill:#231F20;}\n\t.st2{fill:url(#square_pattern);}\n</style>\n<pattern width="100" height="100" patternUnits="userSpaceOnUse" id="square_pattern" viewBox="15 -115 100 100" style="overflow:visible;">\n\t<g id="XMLID_18_">\n\t\t<polygon id="XMLID_52_" class="st0" points="15,-115 115,-115 115,-15 15,-15 \t\t"/>\n\t\t<path id="XMLID_49_" class="st1" d="M120-45v10h-10v-10H120 M130-55h-30v30h30V-55L130-55z"/>\n\t\t<path id="XMLID_46_" class="st1" d="M70-20v10H60v-10H70 M80-30H50V0h30V-30L80-30z"/>\n\t\t<path id="XMLID_34_" class="st1" d="M20-45v10H10v-10H20 M30-55H0v30h30V-55L30-55z"/>\n\t\t<path id="XMLID_31_" class="st1" d="M120-95v10h-10v-10H120 M130-105h-30v30h30V-105L130-105z"/>\n\t\t<path id="XMLID_28_" class="st1" d="M70-70v10H60v-10H70 M80-80H50v30h30V-80L80-80z"/>\n\t\t<path id="XMLID_25_" class="st1" d="M20-95v10H10v-10H20 M30-105H0v30h30V-105L30-105z"/>\n\t\t<path id="XMLID_19_" class="st1" d="M70-120v10H60v-10H70 M80-130H50v30h30V-130L80-130z"/>\n\t</g>\n</pattern>\n<rect id="XMLID_1_" class="st2" width="100" height="100"/>\n</svg>'},function(t,e,n){"use strict";n.r(e),e.default='<?xml version="1.0" encoding="utf-8"?>\n\x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n\t viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">\n<style type="text/css">\n\t.st0{fill:none;}\n\t.st1{fill:#231F20;}\n\t.st2{fill:url(#tight_diamond);}\n</style>\n<pattern width="70" height="45" patternUnits="userSpaceOnUse" id="tight_diamond" viewBox="21.213 -66.213 70 45" style="overflow:visible;">\n\t<g id="XMLID_9_">\n\t\t<polygon id="XMLID_16_" class="st0" points="21.213,-66.213 91.213,-66.213 91.213,-21.213 21.213,-21.213 \t\t"/>\n\t\t<polygon id="XMLID_15_" class="st1" points="91.213,0 70,-21.213 91.213,-42.427 112.427,-21.213 \t\t"/>\n\t\t<polygon id="XMLID_14_" class="st1" points="21.213,0 0,-21.213 21.213,-42.427 42.427,-21.213 \t\t"/>\n\t\t<polygon id="XMLID_13_" class="st1" points="91.213,-45 70,-66.213 91.213,-87.427 112.427,-66.213 \t\t"/>\n\t\t<polygon id="XMLID_12_" class="st1" points="56.213,-22.5 35,-43.713 56.213,-64.927 77.427,-43.713 \t\t"/>\n\t\t<polygon id="XMLID_11_" class="st1" points="21.213,-45 0,-66.213 21.213,-87.427 42.427,-66.213 \t\t"/>\n\t</g>\n</pattern>\n<rect id="XMLID_1_" class="st2" width="100" height="100"/>\n</svg>'},function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,"LIGHT_1",function(){return Bo}),n.d(r,"LIGHT_2",function(){return zo}),n.d(r,"DARK_1",function(){return Xo}),n.d(r,"DEFAULT",function(){return Uo});var i={};n.r(i),n.d(i,"defaultColors",function(){return Ac}),n.d(i,"colorPalettes",function(){return r}),n.d(i,"BaseChart",function(){return Ta}),n.d(i,"BaseAxisChart",function(){return za}),n.d(i,"PieChart",function(){return cc}),n.d(i,"DonutChart",function(){return hc}),n.d(i,"DonutCenter",function(){return fc}),n.d(i,"BarChart",function(){return bc}),n.d(i,"LineChart",function(){return Mc}),n.d(i,"ComboChart",function(){return Tc}),n.d(i,"ScatterChart",function(){return xc});var o="http://www.w3.org/1999/xhtml",a={svg:"http://www.w3.org/2000/svg",xhtml:o,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},s=function(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),a.hasOwnProperty(e)?{space:a[e],local:t}:t};var c=function(t){var e=s(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===o&&e.documentElement.namespaceURI===o?e.createElement(t):e.createElementNS(n,t)}})(e)};function u(){}var l=function(t){return null==t?u:function(){return this.querySelector(t)}};function f(){return[]}var h=function(t){return null==t?f:function(){return this.querySelectorAll(t)}},p=function(t){return function(){return this.matches(t)}};if("undefined"!=typeof document){var d=document.documentElement;if(!d.matches){var v=d.webkitMatchesSelector||d.msMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector;p=function(t){return function(){return v.call(this,t)}}}}var y=p,g=function(t){return new Array(t.length)};function _(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}_.prototype={constructor:_,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var b="$";function m(t,e,n,r,i,o){for(var a,s=0,c=e.length,u=o.length;s<u;++s)(a=e[s])?(a.__data__=o[s],r[s]=a):n[s]=new _(t,o[s]);for(;s<c;++s)(a=e[s])&&(i[s]=a)}function x(t,e,n,r,i,o,a){var s,c,u,l={},f=e.length,h=o.length,p=new Array(f);for(s=0;s<f;++s)(c=e[s])&&(p[s]=u=b+a.call(c,c.__data__,s,e),u in l?i[s]=c:l[u]=c);for(s=0;s<h;++s)(c=l[u=b+a.call(t,o[s],s,o)])?(r[s]=c,c.__data__=o[s],l[u]=null):n[s]=new _(t,o[s]);for(s=0;s<f;++s)(c=e[s])&&l[p[s]]===c&&(i[s]=c)}function w(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}var S=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function M(t,e){return t.style.getPropertyValue(e)||S(t).getComputedStyle(t,null).getPropertyValue(e)}function k(t){return t.trim().split(/^|\s+/)}function T(t){return t.classList||new A(t)}function A(t){this._node=t,this._names=k(t.getAttribute("class")||"")}function E(t,e){for(var n=T(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function L(t,e){for(var n=T(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}A.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function C(){this.textContent=""}function O(){this.innerHTML=""}function D(){this.nextSibling&&this.parentNode.appendChild(this)}function I(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function P(){return null}function F(){var t=this.parentNode;t&&t.removeChild(this)}function N(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function W(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}var R={},j=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(R={mouseenter:"mouseover",mouseleave:"mouseout"}));function B(t,e,n){return t=z(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function z(t,e,n){return function(r){var i=j;j=r;try{t.call(this,this.__data__,e,n)}finally{j=i}}}function X(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r<o;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.capture);++i?e.length=i:delete this.__on}}}function U(t,e,n){var r=R.hasOwnProperty(t.type)?B:z;return function(i,o,a){var s,c=this.__on,u=r(e,o,a);if(c)for(var l=0,f=c.length;l<f;++l)if((s=c[l]).type===t.type&&s.name===t.name)return this.removeEventListener(s.type,s.listener,s.capture),this.addEventListener(s.type,s.listener=u,s.capture=n),void(s.value=e);this.addEventListener(t.type,u,n),s={type:t.type,name:t.name,value:e,listener:u,capture:n},c?c.push(s):this.__on=[s]}}function V(t,e,n){var r=S(t),i=r.CustomEvent;"function"==typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dispatchEvent(i)}var H=[null];function G(t,e){this._groups=t,this._parents=e}function Y(){return new G([[document.documentElement]],H)}G.prototype=Y.prototype={constructor:G,select:function(t){"function"!=typeof t&&(t=l(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a,s=e[i],c=s.length,u=r[i]=new Array(c),f=0;f<c;++f)(o=s[f])&&(a=t.call(o,o.__data__,f,s))&&("__data__"in o&&(a.__data__=o.__data__),u[f]=a);return new G(r,this._parents)},selectAll:function(t){"function"!=typeof t&&(t=h(t));for(var e=this._groups,n=e.length,r=[],i=[],o=0;o<n;++o)for(var a,s=e[o],c=s.length,u=0;u<c;++u)(a=s[u])&&(r.push(t.call(a,a.__data__,u,s)),i.push(a));return new G(r,i)},filter:function(t){"function"!=typeof t&&(t=y(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],s=a.length,c=r[i]=[],u=0;u<s;++u)(o=a[u])&&t.call(o,o.__data__,u,a)&&c.push(o);return new G(r,this._parents)},data:function(t,e){if(!t)return p=new Array(this.size()),u=-1,this.each(function(t){p[++u]=t}),p;var n=e?x:m,r=this._parents,i=this._groups;"function"!=typeof t&&(t=function(t){return function(){return t}}(t));for(var o=i.length,a=new Array(o),s=new Array(o),c=new Array(o),u=0;u<o;++u){var l=r[u],f=i[u],h=f.length,p=t.call(l,l&&l.__data__,u,r),d=p.length,v=s[u]=new Array(d),y=a[u]=new Array(d);n(l,f,v,y,c[u]=new Array(h),p,e);for(var g,_,b=0,w=0;b<d;++b)if(g=v[b]){for(b>=w&&(w=b+1);!(_=y[w])&&++w<d;);g._next=_||null}}return(a=new G(a,r))._enter=s,a._exit=c,a},enter:function(){return new G(this._enter||this._groups.map(g),this._parents)},exit:function(){return new G(this._exit||this._groups.map(g),this._parents)},merge:function(t){for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),s=0;s<o;++s)for(var c,u=e[s],l=n[s],f=u.length,h=a[s]=new Array(f),p=0;p<f;++p)(c=u[p]||l[p])&&(h[p]=c);for(;s<r;++s)a[s]=e[s];return new G(a,this._parents)},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&a!==r.nextSibling&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=w);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var a,s=n[o],c=s.length,u=i[o]=new Array(c),l=0;l<c;++l)(a=s[l])&&(u[l]=a);u.sort(e)}return new G(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){var t=new Array(this.size()),e=-1;return this.each(function(){t[++e]=this}),t},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){var t=0;return this.each(function(){++t}),t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,o=e[n],a=0,s=o.length;a<s;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},attr:function(t,e){var n=s(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof e?n.local?function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}:function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}:n.local?function(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}:function(t,e){return function(){this.setAttribute(t,e)}})(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}:function(t,e,n){return function(){this.style.setProperty(t,e,n)}})(t,e,null==n?"":n)):M(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var n=k(t+"");if(arguments.length<2){for(var r=T(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?function(t,e){return function(){(e.apply(this,arguments)?E:L)(this,t)}}:e?function(t){return function(){E(this,t)}}:function(t){return function(){L(this,t)}})(n,e))},text:function(t){return arguments.length?this.each(null==t?C:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}:function(t){return function(){this.textContent=t}})(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?O:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}:function(t){return function(){this.innerHTML=t}})(t)):this.node().innerHTML},raise:function(){return this.each(D)},lower:function(){return this.each(I)},append:function(t){var e="function"==typeof t?t:c(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(t,e){var n="function"==typeof t?t:c(t),r=null==e?P:"function"==typeof e?e:l(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(F)},clone:function(t){return this.select(t?W:N)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,i,o=function(t){return t.trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}})}(t+""),a=o.length;if(!(arguments.length<2)){for(s=e?U:X,null==n&&(n=!1),r=0;r<a;++r)this.each(s(o[r],e,n));return this}var s=this.node().__on;if(s)for(var c,u=0,l=s.length;u<l;++u)for(r=0,c=s[u];r<a;++r)if((i=o[r]).type===c.type&&i.name===c.name)return c.value},dispatch:function(t,e){return this.each(("function"==typeof e?function(t,e){return function(){return V(this,t,e.apply(this,arguments))}}:function(t,e){return function(){return V(this,t,e)}})(t,e))}};var q=Y,$=function(t){return"string"==typeof t?new G([[document.querySelector(t)]],[document.documentElement]):new G([[t]],H)},J=0;function Z(){this._="@"+(++J).toString(36)}Z.prototype=function(){return new Z}.prototype={constructor:Z,get:function(t){for(var e=this._;!(e in t);)if(!(t=t.parentNode))return;return t[e]},set:function(t,e){return t[this._]=e},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var K=function(){for(var t,e=j;t=e.sourceEvent;)e=t;return e},Q=function(t,e){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]},tt=function(t){var e=K();return e.changedTouches&&(e=e.changedTouches[0]),Q(t,e)},et=function(t){return"string"==typeof t?new G([document.querySelectorAll(t)],[document.documentElement]):new G([null==t?[]:t],H)},nt=function(t,e){return t<e?-1:t>e?1:t>=e?0:NaN},rt=function(t){return 1===t.length&&(t=function(t){return function(e,n){return nt(t(e),n)}}(t)),{left:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){var o=r+i>>>1;t(e[o],n)<0?r=o+1:i=o}return r},right:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){var o=r+i>>>1;t(e[o],n)>0?i=o:r=o+1}return r}}};var it=rt(nt),ot=it.right,at=(it.left,ot);var st=Array.prototype,ct=(st.slice,st.map,function(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r<i;)o[r]=t+r*n;return o}),ut=Math.sqrt(50),lt=Math.sqrt(10),ft=Math.sqrt(2),ht=function(t,e,n){var r,i,o,a,s=-1;if(n=+n,(t=+t)===(e=+e)&&n>0)return[t];if((r=e<t)&&(i=t,t=e,e=i),0===(a=pt(t,e,n))||!isFinite(a))return[];if(a>0)for(t=Math.ceil(t/a),e=Math.floor(e/a),o=new Array(i=Math.ceil(e-t+1));++s<i;)o[s]=(t+s)*a;else for(t=Math.floor(t*a),e=Math.ceil(e*a),o=new Array(i=Math.ceil(t-e+1));++s<i;)o[s]=(t-s)/a;return r&&o.reverse(),o};function pt(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=ut?10:o>=lt?5:o>=ft?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=ut?10:o>=lt?5:o>=ft?2:1)}function dt(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=ut?i*=10:o>=lt?i*=5:o>=ft&&(i*=2),e<t?-i:i}var vt=function(t,e){var n,r,i=t.length,o=-1;if(null==e){for(;++o<i;)if(null!=(n=t[o])&&n>=n)for(r=n;++o<i;)null!=(n=t[o])&&n>r&&(r=n)}else for(;++o<i;)if(null!=(n=e(t[o],o,t))&&n>=n)for(r=n;++o<i;)null!=(n=e(t[o],o,t))&&n>r&&(r=n);return r},yt=function(t,e){var n,r,i=t.length,o=-1;if(null==e){for(;++o<i;)if(null!=(n=t[o])&&n>=n)for(r=n;++o<i;)null!=(n=t[o])&&r>n&&(r=n)}else for(;++o<i;)if(null!=(n=e(t[o],o,t))&&n>=n)for(r=n;++o<i;)null!=(n=e(t[o],o,t))&&r>n&&(r=n);return r};function gt(){}function _t(t,e){var n=new gt;if(t instanceof gt)t.each(function(t,e){n.set(e,t)});else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==e)for(;++i<o;)n.set(i,t[i]);else for(;++i<o;)n.set(e(r=t[i],i,t),r)}else if(t)for(var a in t)n.set(a,t[a]);return n}gt.prototype=_t.prototype={constructor:gt,has:function(t){return"$"+t in this},get:function(t){return this["$"+t]},set:function(t,e){return this["$"+t]=e,this},remove:function(t){var e="$"+t;return e in this&&delete this[e]},clear:function(){for(var t in this)"$"===t[0]&&delete this[t]},keys:function(){var t=[];for(var e in this)"$"===e[0]&&t.push(e.slice(1));return t},values:function(){var t=[];for(var e in this)"$"===e[0]&&t.push(this[e]);return t},entries:function(){var t=[];for(var e in this)"$"===e[0]&&t.push({key:e.slice(1),value:this[e]});return t},size:function(){var t=0;for(var e in this)"$"===e[0]&&++t;return t},empty:function(){for(var t in this)if("$"===t[0])return!1;return!0},each:function(t){for(var e in this)"$"===e[0]&&t(this[e],e.slice(1),this)}};var bt=_t;function mt(){}var xt=bt.prototype;function wt(t,e){var n=new mt;if(t instanceof mt)t.each(function(t){n.add(t)});else if(t){var r=-1,i=t.length;if(null==e)for(;++r<i;)n.add(t[r]);else for(;++r<i;)n.add(e(t[r],r,t))}return n}mt.prototype=wt.prototype={constructor:mt,has:xt.has,add:function(t){return this["$"+(t+="")]=t,this},remove:xt.remove,clear:xt.clear,values:xt.keys,size:xt.size,empty:xt.empty,each:xt.each};var St=Array.prototype,Mt=St.map,kt=St.slice,Tt={name:"implicit"};function At(t){var e=bt(),n=[],r=Tt;function i(i){var o=i+"",a=e.get(o);if(!a){if(r!==Tt)return r;e.set(o,a=n.push(i))}return t[(a-1)%t.length]}return t=null==t?[]:kt.call(t),i.domain=function(t){if(!arguments.length)return n.slice();n=[],e=bt();for(var r,o,a=-1,s=t.length;++a<s;)e.has(o=(r=t[a])+"")||e.set(o,n.push(r));return i},i.range=function(e){return arguments.length?(t=kt.call(e),i):t.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return At().domain(n).range(t).unknown(r)},i}function Et(){var t,e,n=At().unknown(void 0),r=n.domain,i=n.range,o=[0,1],a=!1,s=0,c=0,u=.5;function l(){var n=r().length,l=o[1]<o[0],f=o[l-0],h=o[1-l];t=(h-f)/Math.max(1,n-s+2*c),a&&(t=Math.floor(t)),f+=(h-f-t*(n-s))*u,e=t*(1-s),a&&(f=Math.round(f),e=Math.round(e));var p=ct(n).map(function(e){return f+t*e});return i(l?p.reverse():p)}return delete n.unknown,n.domain=function(t){return arguments.length?(r(t),l()):r()},n.range=function(t){return arguments.length?(o=[+t[0],+t[1]],l()):o.slice()},n.rangeRound=function(t){return o=[+t[0],+t[1]],a=!0,l()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(a=!!t,l()):a},n.padding=function(t){return arguments.length?(s=c=Math.max(0,Math.min(1,t)),l()):s},n.paddingInner=function(t){return arguments.length?(s=Math.max(0,Math.min(1,t)),l()):s},n.paddingOuter=function(t){return arguments.length?(c=Math.max(0,Math.min(1,t)),l()):c},n.align=function(t){return arguments.length?(u=Math.max(0,Math.min(1,t)),l()):u},n.copy=function(){return Et().domain(r()).range(o).round(a).paddingInner(s).paddingOuter(c).align(u)},l()}var Lt=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t};function Ct(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Ot(){}var Dt="\\s*([+-]?\\d+)\\s*",It="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Pt="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Ft=/^#([0-9a-f]{3})$/,Nt=/^#([0-9a-f]{6})$/,Wt=new RegExp("^rgb\\("+[Dt,Dt,Dt]+"\\)$"),Rt=new RegExp("^rgb\\("+[Pt,Pt,Pt]+"\\)$"),jt=new RegExp("^rgba\\("+[Dt,Dt,Dt,It]+"\\)$"),Bt=new RegExp("^rgba\\("+[Pt,Pt,Pt,It]+"\\)$"),zt=new RegExp("^hsl\\("+[It,Pt,Pt]+"\\)$"),Xt=new RegExp("^hsla\\("+[It,Pt,Pt,It]+"\\)$"),Ut={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Vt(t){var e;return t=(t+"").trim().toLowerCase(),(e=Ft.exec(t))?new $t((e=parseInt(e[1],16))>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):(e=Nt.exec(t))?Ht(parseInt(e[1],16)):(e=Wt.exec(t))?new $t(e[1],e[2],e[3],1):(e=Rt.exec(t))?new $t(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=jt.exec(t))?Gt(e[1],e[2],e[3],e[4]):(e=Bt.exec(t))?Gt(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=zt.exec(t))?Jt(e[1],e[2]/100,e[3]/100,1):(e=Xt.exec(t))?Jt(e[1],e[2]/100,e[3]/100,e[4]):Ut.hasOwnProperty(t)?Ht(Ut[t]):"transparent"===t?new $t(NaN,NaN,NaN,0):null}function Ht(t){return new $t(t>>16&255,t>>8&255,255&t,1)}function Gt(t,e,n,r){return r<=0&&(t=e=n=NaN),new $t(t,e,n,r)}function Yt(t){return t instanceof Ot||(t=Vt(t)),t?new $t((t=t.rgb()).r,t.g,t.b,t.opacity):new $t}function qt(t,e,n,r){return 1===arguments.length?Yt(t):new $t(t,e,n,null==r?1:r)}function $t(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function Jt(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Kt(t,e,n,r)}function Zt(t,e,n,r){return 1===arguments.length?function(t){if(t instanceof Kt)return new Kt(t.h,t.s,t.l,t.opacity);if(t instanceof Ot||(t=Vt(t)),!t)return new Kt;if(t instanceof Kt)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,c=(o+i)/2;return s?(a=e===o?(n-r)/s+6*(n<r):n===o?(r-e)/s+2:(e-n)/s+4,s/=c<.5?o+i:2-o-i,a*=60):s=c>0&&c<1?0:a,new Kt(a,s,c,t.opacity)}(t):new Kt(t,e,n,null==r?1:r)}function Kt(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Qt(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}Lt(Ot,Vt,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Lt($t,qt,Ct(Ot,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new $t(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new $t(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),Lt(Kt,Zt,Ct(Ot,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Kt(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Kt(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new $t(Qt(t>=240?t-240:t+120,i,r),Qt(t,i,r),Qt(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var te=Math.PI/180,ee=180/Math.PI,ne=.95047,re=1,ie=1.08883,oe=4/29,ae=6/29,se=3*ae*ae,ce=ae*ae*ae;function ue(t){if(t instanceof fe)return new fe(t.l,t.a,t.b,t.opacity);if(t instanceof ge){var e=t.h*te;return new fe(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}t instanceof $t||(t=Yt(t));var n=ve(t.r),r=ve(t.g),i=ve(t.b),o=he((.4124564*n+.3575761*r+.1804375*i)/ne),a=he((.2126729*n+.7151522*r+.072175*i)/re);return new fe(116*a-16,500*(o-a),200*(a-he((.0193339*n+.119192*r+.9503041*i)/ie)),t.opacity)}function le(t,e,n,r){return 1===arguments.length?ue(t):new fe(t,e,n,null==r?1:r)}function fe(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function he(t){return t>ce?Math.pow(t,1/3):t/se+oe}function pe(t){return t>ae?t*t*t:se*(t-oe)}function de(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function ve(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function ye(t,e,n,r){return 1===arguments.length?function(t){if(t instanceof ge)return new ge(t.h,t.c,t.l,t.opacity);t instanceof fe||(t=ue(t));var e=Math.atan2(t.b,t.a)*ee;return new ge(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new ge(t,e,n,null==r?1:r)}function ge(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}Lt(fe,le,Ct(Ot,{brighter:function(t){return new fe(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new fe(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return t=re*pe(t),new $t(de(3.2404542*(e=ne*pe(e))-1.5371385*t-.4985314*(n=ie*pe(n))),de(-.969266*e+1.8760108*t+.041556*n),de(.0556434*e-.2040259*t+1.0572252*n),this.opacity)}})),Lt(ge,ye,Ct(Ot,{brighter:function(t){return new ge(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new ge(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return ue(this).rgb()}}));var _e=-.14861,be=1.78277,me=-.29227,xe=-.90649,we=1.97294,Se=we*xe,Me=we*be,ke=be*me-xe*_e;function Te(t,e,n,r){return 1===arguments.length?function(t){if(t instanceof Ae)return new Ae(t.h,t.s,t.l,t.opacity);t instanceof $t||(t=Yt(t));var e=t.r/255,n=t.g/255,r=t.b/255,i=(ke*r+Se*e-Me*n)/(ke+Se-Me),o=r-i,a=(we*(n-i)-me*o)/xe,s=Math.sqrt(a*a+o*o)/(we*i*(1-i)),c=s?Math.atan2(a,o)*ee-120:NaN;return new Ae(c<0?c+360:c,s,i,t.opacity)}(t):new Ae(t,e,n,null==r?1:r)}function Ae(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Ee(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}Lt(Ae,Te,Ct(Ot,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Ae(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Ae(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*te,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t);return new $t(255*(e+n*(_e*r+be*i)),255*(e+n*(me*r+xe*i)),255*(e+n*(we*r)),this.opacity)}}));var Le=function(t){return function(){return t}};function Ce(t,e){return function(n){return t+n*e}}function Oe(t,e){var n=e-t;return n?Ce(t,n>180||n<-180?n-360*Math.round(n/360):n):Le(isNaN(t)?e:t)}function De(t){return 1==(t=+t)?Ie:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):Le(isNaN(e)?n:e)}}function Ie(t,e){var n=e-t;return n?Ce(t,n):Le(isNaN(t)?e:t)}var Pe=function t(e){var n=De(e);function r(t,e){var r=n((t=qt(t)).r,(e=qt(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=Ie(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function Fe(t){return function(e){var n,r,i=e.length,o=new Array(i),a=new Array(i),s=new Array(i);for(n=0;n<i;++n)r=qt(e[n]),o[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return o=t(o),a=t(a),s=t(s),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=s(t),r+""}}}Fe(function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,s=r<e-1?t[r+2]:2*o-i;return Ee((n-r/e)*e,a,i,o,s)}}),Fe(function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],o=t[r%e],a=t[(r+1)%e],s=t[(r+2)%e];return Ee((n-r/e)*e,i,o,a,s)}});var Ne=function(t,e){return e-=t=+t,function(n){return t+e*n}},We=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Re=new RegExp(We.source,"g");var je,Be,ze,Xe,Ue=function(t,e){var n,r,i,o=We.lastIndex=Re.lastIndex=0,a=-1,s=[],c=[];for(t+="",e+="";(n=We.exec(t))&&(r=Re.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,c.push({i:a,x:Ne(n,r)})),o=Re.lastIndex;return o<e.length&&(i=e.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?c[0]?function(t){return function(e){return t(e)+""}}(c[0].x):function(t){return function(){return t}}(e):(e=c.length,function(t){for(var n,r=0;r<e;++r)s[(n=c[r]).i]=n.x(t);return s.join("")})},Ve=function(t,e){var n,r=typeof e;return null==e||"boolean"===r?Le(e):("number"===r?Ne:"string"===r?(n=Vt(e))?(e=n,Pe):Ue:e instanceof Vt?Pe:e instanceof Date?function(t,e){var n=new Date;return e-=t=+t,function(r){return n.setTime(t+e*r),n}}:Array.isArray(e)?function(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=Ve(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<i;++n)a[n]=o[n](t);return a}}:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?function(t,e){var n,r={},i={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?r[n]=Ve(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}}:Ne)(t,e)},He=function(t,e){return e-=t=+t,function(n){return Math.round(t+e*n)}},Ge=180/Math.PI,Ye={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},qe=function(t,e,n,r,i,o){var a,s,c;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(c=t*n+e*r)&&(n-=t*c,r-=e*c),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,c/=s),t*r<e*n&&(t=-t,e=-e,c=-c,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(e,t)*Ge,skewX:Math.atan(c)*Ge,scaleX:a,scaleY:s}};function $e(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}return function(o,a){var s=[],c=[];return o=t(o),a=t(a),function(t,r,i,o,a,s){if(t!==i||r!==o){var c=a.push("translate(",null,e,null,n);s.push({i:c-4,x:Ne(t,i)},{i:c-2,x:Ne(r,o)})}else(i||o)&&a.push("translate("+i+e+o+n)}(o.translateX,o.translateY,a.translateX,a.translateY,s,c),function(t,e,n,o){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:Ne(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,a.rotate,s,c),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Ne(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,a.skewX,s,c),function(t,e,n,r,o,a){if(t!==n||e!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:Ne(t,n)},{i:s-2,x:Ne(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,c),o=a=null,function(t){for(var e,n=-1,r=c.length;++n<r;)s[(e=c[n]).i]=e.x(t);return s.join("")}}}var Je=$e(function(t){return"none"===t?Ye:(je||(je=document.createElement("DIV"),Be=document.documentElement,ze=document.defaultView),je.style.transform=t,t=ze.getComputedStyle(Be.appendChild(je),null).getPropertyValue("transform"),Be.removeChild(je),t=t.slice(7,-1).split(","),qe(+t[0],+t[1],+t[2],+t[3],+t[4],+t[5]))},"px, ","px)","deg)"),Ze=$e(function(t){return null==t?Ye:(Xe||(Xe=document.createElementNS("http://www.w3.org/2000/svg","g")),Xe.setAttribute("transform",t),(t=Xe.transform.baseVal.consolidate())?(t=t.matrix,qe(t.a,t.b,t.c,t.d,t.e,t.f)):Ye)},", ",")",")");Math.SQRT2;function Ke(t){return function(e,n){var r=t((e=Zt(e)).h,(n=Zt(n)).h),i=Ie(e.s,n.s),o=Ie(e.l,n.l),a=Ie(e.opacity,n.opacity);return function(t){return e.h=r(t),e.s=i(t),e.l=o(t),e.opacity=a(t),e+""}}}Ke(Oe),Ke(Ie);function Qe(t){return function(e,n){var r=t((e=ye(e)).h,(n=ye(n)).h),i=Ie(e.c,n.c),o=Ie(e.l,n.l),a=Ie(e.opacity,n.opacity);return function(t){return e.h=r(t),e.c=i(t),e.l=o(t),e.opacity=a(t),e+""}}}Qe(Oe),Qe(Ie);function tn(t){return function e(n){function r(e,r){var i=t((e=Te(e)).h,(r=Te(r)).h),o=Ie(e.s,r.s),a=Ie(e.l,r.l),s=Ie(e.opacity,r.opacity);return function(t){return e.h=i(t),e.s=o(t),e.l=a(Math.pow(t,n)),e.opacity=s(t),e+""}}return n=+n,r.gamma=e,r}(1)}tn(Oe);var en=tn(Ie),nn=function(t){return function(){return t}},rn=function(t){return+t},on=[0,1];function an(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:nn(e)}function sn(t,e,n,r){var i=t[0],o=t[1],a=e[0],s=e[1];return o<i?(i=n(o,i),a=r(s,a)):(i=n(i,o),a=r(a,s)),function(t){return a(i(t))}}function cn(t,e,n,r){var i=Math.min(t.length,e.length)-1,o=new Array(i),a=new Array(i),s=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++s<i;)o[s]=n(t[s],t[s+1]),a[s]=r(e[s],e[s+1]);return function(e){var n=at(t,e,1,i)-1;return a[n](o[n](e))}}function un(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp())}function ln(t,e){var n,r,i,o=on,a=on,s=Ve,c=!1;function u(){return n=Math.min(o.length,a.length)>2?cn:sn,r=i=null,l}function l(e){return(r||(r=n(o,a,c?function(t){return function(e,n){var r=t(e=+e,n=+n);return function(t){return t<=e?0:t>=n?1:r(t)}}}(t):t,s)))(+e)}return l.invert=function(t){return(i||(i=n(a,o,an,c?function(t){return function(e,n){var r=t(e=+e,n=+n);return function(t){return t<=0?e:t>=1?n:r(t)}}}(e):e)))(+t)},l.domain=function(t){return arguments.length?(o=Mt.call(t,rn),u()):o.slice()},l.range=function(t){return arguments.length?(a=kt.call(t),u()):a.slice()},l.rangeRound=function(t){return a=kt.call(t),s=He,u()},l.clamp=function(t){return arguments.length?(c=!!t,u()):c},l.interpolate=function(t){return arguments.length?(s=t,u()):s},u()}var fn,hn=function(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]},pn=function(t){return(t=hn(Math.abs(t)))?t[1]:NaN},dn=function(t,e){var n=hn(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},vn={"":function(t,e){t=t.toPrecision(e);t:for(var n,r=t.length,i=1,o=-1;i<r;++i)switch(t[i]){case".":o=n=i;break;case"0":0===o&&(o=i),n=i;break;case"e":break t;default:o>0&&(o=0)}return o>0?t.slice(0,o)+t.slice(n+1):t},"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return dn(100*t,e)},r:dn,s:function(t,e){var n=hn(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(fn=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+hn(t,Math.max(0,e+o-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},yn=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i;function gn(t){return new _n(t)}function _n(t){if(!(e=yn.exec(t)))throw new Error("invalid format: "+t);var e,n=e[1]||" ",r=e[2]||">",i=e[3]||"-",o=e[4]||"",a=!!e[5],s=e[6]&&+e[6],c=!!e[7],u=e[8]&&+e[8].slice(1),l=e[9]||"";"n"===l?(c=!0,l="g"):vn[l]||(l=""),(a||"0"===n&&"="===r)&&(a=!0,n="0",r="="),this.fill=n,this.align=r,this.sign=i,this.symbol=o,this.zero=a,this.width=s,this.comma=c,this.precision=u,this.type=l}gn.prototype=_n.prototype,_n.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type};var bn,mn,xn,wn=function(t){return t},Sn=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],Mn=function(t){var e=t.grouping&&t.thousands?function(t,e){return function(n,r){for(var i=n.length,o=[],a=0,s=t[0],c=0;i>0&&s>0&&(c+s+1>r&&(s=Math.max(1,r-c)),o.push(n.substring(i-=s,i+s)),!((c+=s+1)>r));)s=t[a=(a+1)%t.length];return o.reverse().join(e)}}(t.grouping,t.thousands):wn,n=t.currency,r=t.decimal,i=t.numerals?function(t){return function(e){return e.replace(/[0-9]/g,function(e){return t[+e]})}}(t.numerals):wn,o=t.percent||"%";function a(t){var a=(t=gn(t)).fill,s=t.align,c=t.sign,u=t.symbol,l=t.zero,f=t.width,h=t.comma,p=t.precision,d=t.type,v="$"===u?n[0]:"#"===u&&/[boxX]/.test(d)?"0"+d.toLowerCase():"",y="$"===u?n[1]:/[%p]/.test(d)?o:"",g=vn[d],_=!d||/[defgprs%]/.test(d);function b(t){var n,o,u,b=v,m=y;if("c"===d)m=g(t)+m,t="";else{var x=(t=+t)<0;if(t=g(Math.abs(t),p),x&&0==+t&&(x=!1),b=(x?"("===c?c:"-":"-"===c||"("===c?"":c)+b,m=("s"===d?Sn[8+fn/3]:"")+m+(x&&"("===c?")":""),_)for(n=-1,o=t.length;++n<o;)if(48>(u=t.charCodeAt(n))||u>57){m=(46===u?r+t.slice(n+1):t.slice(n))+m,t=t.slice(0,n);break}}h&&!l&&(t=e(t,1/0));var w=b.length+t.length+m.length,S=w<f?new Array(f-w+1).join(a):"";switch(h&&l&&(t=e(S+t,S.length?f-m.length:1/0),S=""),s){case"<":t=b+t+m+S;break;case"=":t=b+S+t+m;break;case"^":t=S.slice(0,w=S.length>>1)+b+t+m+S.slice(w);break;default:t=S+b+t+m}return i(t)}return p=null==p?d?6:12:/[gprs]/.test(d)?Math.max(1,Math.min(21,p)):Math.max(0,Math.min(20,p)),b.toString=function(){return t+""},b}return{format:a,formatPrefix:function(t,e){var n=a(((t=gn(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(pn(e)/3))),i=Math.pow(10,-r),o=Sn[8+r/3];return function(t){return n(i*t)+o}}}};!function(t){bn=Mn(t),mn=bn.format,xn=bn.formatPrefix}({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var kn=function(t,e,n){var r,i=t[0],o=t[t.length-1],a=dt(i,o,null==e?10:e);switch((n=gn(null==n?",f":n)).type){case"s":var s=Math.max(Math.abs(i),Math.abs(o));return null!=n.precision||isNaN(r=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(pn(e)/3)))-pn(Math.abs(t)))}(a,s))||(n.precision=r),xn(n,s);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(r=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,pn(e)-pn(t))+1}(a,Math.max(Math.abs(i),Math.abs(o))))||(n.precision=r-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(r=function(t){return Math.max(0,-pn(Math.abs(t)))}(a))||(n.precision=r-2*("%"===n.type))}return mn(n)};function Tn(t){var e=t.domain;return t.ticks=function(t){var n=e();return ht(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){return kn(e(),t,n)},t.nice=function(n){null==n&&(n=10);var r,i=e(),o=0,a=i.length-1,s=i[o],c=i[a];return c<s&&(r=s,s=c,c=r,r=o,o=a,a=r),(r=pt(s,c,n))>0?r=pt(s=Math.floor(s/r)*r,c=Math.ceil(c/r)*r,n):r<0&&(r=pt(s=Math.ceil(s*r)/r,c=Math.floor(c*r)/r,n)),r>0?(i[o]=Math.floor(s/r)*r,i[a]=Math.ceil(c/r)*r,e(i)):r<0&&(i[o]=Math.ceil(s*r)/r,i[a]=Math.floor(c*r)/r,e(i)),t},t}function An(){var t=ln(an,Ne);return t.copy=function(){return un(t,An())},Tn(t)}var En=new Date,Ln=new Date;function Cn(t,e,n,r){function i(e){return t(e=new Date(+e)),e}return i.floor=i,i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},i.range=function(n,r,o){var a,s=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return s;do{s.push(a=new Date(+n)),e(n,o),t(n)}while(a<n&&n<r);return s},i.filter=function(n){return Cn(function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)},function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););})},n&&(i.count=function(e,r){return En.setTime(+e),Ln.setTime(+r),t(En),t(Ln),Math.floor(n(En,Ln))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var On=Cn(function(){},function(t,e){t.setTime(+t+e)},function(t,e){return e-t});On.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Cn(function(e){e.setTime(Math.floor(e/t)*t)},function(e,n){e.setTime(+e+n*t)},function(e,n){return(n-e)/t}):On:null};On.range;var Dn=6e4,In=6048e5,Pn=Cn(function(t){t.setTime(1e3*Math.floor(t/1e3))},function(t,e){t.setTime(+t+1e3*e)},function(t,e){return(e-t)/1e3},function(t){return t.getUTCSeconds()}),Fn=(Pn.range,Cn(function(t){t.setTime(Math.floor(t/Dn)*Dn)},function(t,e){t.setTime(+t+e*Dn)},function(t,e){return(e-t)/Dn},function(t){return t.getMinutes()})),Nn=(Fn.range,Cn(function(t){var e=t.getTimezoneOffset()*Dn%36e5;e<0&&(e+=36e5),t.setTime(36e5*Math.floor((+t-e)/36e5)+e)},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getHours()})),Wn=(Nn.range,Cn(function(t){t.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Dn)/864e5},function(t){return t.getDate()-1})),Rn=Wn;Wn.range;function jn(t){return Cn(function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},function(t,e){t.setDate(t.getDate()+7*e)},function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Dn)/In})}var Bn=jn(0),zn=jn(1),Xn=jn(2),Un=jn(3),Vn=jn(4),Hn=jn(5),Gn=jn(6),Yn=(Bn.range,zn.range,Xn.range,Un.range,Vn.range,Hn.range,Gn.range,Cn(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,e){t.setMonth(t.getMonth()+e)},function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())},function(t){return t.getMonth()})),qn=(Yn.range,Cn(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,e){t.setFullYear(t.getFullYear()+e)},function(t,e){return e.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()}));qn.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Cn(function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,n){e.setFullYear(e.getFullYear()+n*t)}):null};var $n=qn,Jn=(qn.range,Cn(function(t){t.setUTCSeconds(0,0)},function(t,e){t.setTime(+t+e*Dn)},function(t,e){return(e-t)/Dn},function(t){return t.getUTCMinutes()})),Zn=(Jn.range,Cn(function(t){t.setUTCMinutes(0,0,0)},function(t,e){t.setTime(+t+36e5*e)},function(t,e){return(e-t)/36e5},function(t){return t.getUTCHours()})),Kn=(Zn.range,Cn(function(t){t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+e)},function(t,e){return(e-t)/864e5},function(t){return t.getUTCDate()-1})),Qn=Kn;Kn.range;function tr(t){return Cn(function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},function(t,e){t.setUTCDate(t.getUTCDate()+7*e)},function(t,e){return(e-t)/In})}var er=tr(0),nr=tr(1),rr=tr(2),ir=tr(3),or=tr(4),ar=tr(5),sr=tr(6),cr=(er.range,nr.range,rr.range,ir.range,or.range,ar.range,sr.range,Cn(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCMonth(t.getUTCMonth()+e)},function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()})),ur=(cr.range,Cn(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)},function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()}));ur.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Cn(function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)}):null};var lr=ur;ur.range;function fr(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function hr(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function pr(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}var dr,vr,yr,gr={"-":"",_:" ",0:"0"},_r=/^\s*\d+/,br=/^%/,mr=/[\\^$*+?|[\]().{}]/g;function xr(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(e)+i:i)}function wr(t){return t.replace(mr,"\\$&")}function Sr(t){return new RegExp("^(?:"+t.map(wr).join("|")+")","i")}function Mr(t){for(var e={},n=-1,r=t.length;++n<r;)e[t[n].toLowerCase()]=n;return e}function kr(t,e,n){var r=_r.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function Tr(t,e,n){var r=_r.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function Ar(t,e,n){var r=_r.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function Er(t,e,n){var r=_r.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Lr(t,e,n){var r=_r.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Cr(t,e,n){var r=_r.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Or(t,e,n){var r=_r.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Dr(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Ir(t,e,n){var r=_r.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Pr(t,e,n){var r=_r.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Fr(t,e,n){var r=_r.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Nr(t,e,n){var r=_r.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Wr(t,e,n){var r=_r.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Rr(t,e,n){var r=_r.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function jr(t,e,n){var r=_r.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Br(t,e,n){var r=_r.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function zr(t,e,n){var r=br.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Xr(t,e,n){var r=_r.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Ur(t,e,n){var r=_r.exec(e.slice(n));return r?(t.Q=1e3*+r[0],n+r[0].length):-1}function Vr(t,e){return xr(t.getDate(),e,2)}function Hr(t,e){return xr(t.getHours(),e,2)}function Gr(t,e){return xr(t.getHours()%12||12,e,2)}function Yr(t,e){return xr(1+Rn.count($n(t),t),e,3)}function qr(t,e){return xr(t.getMilliseconds(),e,3)}function $r(t,e){return qr(t,e)+"000"}function Jr(t,e){return xr(t.getMonth()+1,e,2)}function Zr(t,e){return xr(t.getMinutes(),e,2)}function Kr(t,e){return xr(t.getSeconds(),e,2)}function Qr(t){var e=t.getDay();return 0===e?7:e}function ti(t,e){return xr(Bn.count($n(t),t),e,2)}function ei(t,e){var n=t.getDay();return t=n>=4||0===n?Vn(t):Vn.ceil(t),xr(Vn.count($n(t),t)+(4===$n(t).getDay()),e,2)}function ni(t){return t.getDay()}function ri(t,e){return xr(zn.count($n(t),t),e,2)}function ii(t,e){return xr(t.getFullYear()%100,e,2)}function oi(t,e){return xr(t.getFullYear()%1e4,e,4)}function ai(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+xr(e/60|0,"0",2)+xr(e%60,"0",2)}function si(t,e){return xr(t.getUTCDate(),e,2)}function ci(t,e){return xr(t.getUTCHours(),e,2)}function ui(t,e){return xr(t.getUTCHours()%12||12,e,2)}function li(t,e){return xr(1+Qn.count(lr(t),t),e,3)}function fi(t,e){return xr(t.getUTCMilliseconds(),e,3)}function hi(t,e){return fi(t,e)+"000"}function pi(t,e){return xr(t.getUTCMonth()+1,e,2)}function di(t,e){return xr(t.getUTCMinutes(),e,2)}function vi(t,e){return xr(t.getUTCSeconds(),e,2)}function yi(t){var e=t.getUTCDay();return 0===e?7:e}function gi(t,e){return xr(er.count(lr(t),t),e,2)}function _i(t,e){var n=t.getUTCDay();return t=n>=4||0===n?or(t):or.ceil(t),xr(or.count(lr(t),t)+(4===lr(t).getUTCDay()),e,2)}function bi(t){return t.getUTCDay()}function mi(t,e){return xr(nr.count(lr(t),t),e,2)}function xi(t,e){return xr(t.getUTCFullYear()%100,e,2)}function wi(t,e){return xr(t.getUTCFullYear()%1e4,e,4)}function Si(){return"+0000"}function Mi(){return"%"}function ki(t){return+t}function Ti(t){return Math.floor(+t/1e3)}!function(t){dr=function(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,s=t.months,c=t.shortMonths,u=Sr(i),l=Mr(i),f=Sr(o),h=Mr(o),p=Sr(a),d=Mr(a),v=Sr(s),y=Mr(s),g=Sr(c),_=Mr(c),b={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:Vr,e:Vr,f:$r,H:Hr,I:Gr,j:Yr,L:qr,m:Jr,M:Zr,p:function(t){return i[+(t.getHours()>=12)]},Q:ki,s:Ti,S:Kr,u:Qr,U:ti,V:ei,w:ni,W:ri,x:null,X:null,y:ii,Y:oi,Z:ai,"%":Mi},m={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:si,e:si,f:hi,H:ci,I:ui,j:li,L:fi,m:pi,M:di,p:function(t){return i[+(t.getUTCHours()>=12)]},Q:ki,s:Ti,S:vi,u:yi,U:gi,V:_i,w:bi,W:mi,x:null,X:null,y:xi,Y:wi,Z:Si,"%":Mi},x={a:function(t,e,n){var r=p.exec(e.slice(n));return r?(t.w=d[r[0].toLowerCase()],n+r[0].length):-1},A:function(t,e,n){var r=f.exec(e.slice(n));return r?(t.w=h[r[0].toLowerCase()],n+r[0].length):-1},b:function(t,e,n){var r=g.exec(e.slice(n));return r?(t.m=_[r[0].toLowerCase()],n+r[0].length):-1},B:function(t,e,n){var r=v.exec(e.slice(n));return r?(t.m=y[r[0].toLowerCase()],n+r[0].length):-1},c:function(t,n,r){return M(t,e,n,r)},d:Pr,e:Pr,f:Br,H:Nr,I:Nr,j:Fr,L:jr,m:Ir,M:Wr,p:function(t,e,n){var r=u.exec(e.slice(n));return r?(t.p=l[r[0].toLowerCase()],n+r[0].length):-1},Q:Xr,s:Ur,S:Rr,u:Tr,U:Ar,V:Er,w:kr,W:Lr,x:function(t,e,r){return M(t,n,e,r)},X:function(t,e,n){return M(t,r,e,n)},y:Or,Y:Cr,Z:Dr,"%":zr};function w(t,e){return function(n){var r,i,o,a=[],s=-1,c=0,u=t.length;for(n instanceof Date||(n=new Date(+n));++s<u;)37===t.charCodeAt(s)&&(a.push(t.slice(c,s)),null!=(i=gr[r=t.charAt(++s)])?r=t.charAt(++s):i="e"===r?" ":"0",(o=e[r])&&(r=o(n,i)),a.push(r),c=s+1);return a.push(t.slice(c,s)),a.join("")}}function S(t,e){return function(n){var r,i,o=pr(1900);if(M(o,t,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("p"in o&&(o.H=o.H%12+12*o.p),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(r=(i=(r=hr(pr(o.y))).getUTCDay())>4||0===i?nr.ceil(r):nr(r),r=Qn.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(r=(i=(r=e(pr(o.y))).getDay())>4||0===i?zn.ceil(r):zn(r),r=Rn.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?hr(pr(o.y)).getUTCDay():e(pr(o.y)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,hr(o)):e(o)}}function M(t,e,n,r){for(var i,o,a=0,s=e.length,c=n.length;a<s;){if(r>=c)return-1;if(37===(i=e.charCodeAt(a++))){if(i=e.charAt(a++),!(o=x[i in gr?e.charAt(a++):i])||(r=o(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return b.x=w(n,b),b.X=w(r,b),b.c=w(e,b),m.x=w(n,m),m.X=w(r,m),m.c=w(e,m),{format:function(t){var e=w(t+="",b);return e.toString=function(){return t},e},parse:function(t){var e=S(t+="",fr);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",m);return e.toString=function(){return t},e},utcParse:function(t){var e=S(t,hr);return e.toString=function(){return t},e}}}(t),dr.format,dr.parse,vr=dr.utcFormat,yr=dr.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});Date.prototype.toISOString||vr("%Y-%m-%dT%H:%M:%S.%LZ");+new Date("2000-01-01T00:00:00.000Z")||yr("%Y-%m-%dT%H:%M:%S.%LZ");var Ai=function(t){return t.match(/.{6}/g).map(function(t){return"#"+t})};Ai("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),Ai("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),Ai("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),Ai("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),en(Te(300,.5,0),Te(-240,.5,1)),en(Te(-100,.75,.35),Te(80,1.5,.8)),en(Te(260,.75,.35),Te(80,1.5,.8)),Te();function Ei(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}Ei(Ai("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),Ei(Ai("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),Ei(Ai("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),Ei(Ai("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));var Li={value:function(){}};function Ci(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r)throw new Error("illegal type: "+t);r[t]=[]}return new Oi(r)}function Oi(t){this._=t}function Di(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}function Ii(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=Li,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}Oi.prototype=Ci.prototype={constructor:Oi,on:function(t,e){var n,r=this._,i=function(t,e){return t.trim().split(/^|\s+/).map(function(t){var n="",r=t.indexOf(".");if(r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})}(t+"",r),o=-1,a=i.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++o<a;)if(n=(t=i[o]).type)r[n]=Ii(r[n],t.name,e);else if(null==e)for(n in r)r[n]=Ii(r[n],t.name,null);return this}for(;++o<a;)if((n=(t=i[o]).type)&&(n=Di(r[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new Oi(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,n=(r=this._[t]).length;o<n;++o)r[o].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(e,n)}};var Pi,Fi,Ni=Ci,Wi=0,Ri=0,ji=0,Bi=1e3,zi=0,Xi=0,Ui=0,Vi="object"==typeof performance&&performance.now?performance:Date,Hi="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Gi(){return Xi||(Hi(Yi),Xi=Vi.now()+Ui)}function Yi(){Xi=0}function qi(){this._call=this._time=this._next=null}function $i(t,e,n){var r=new qi;return r.restart(t,e,n),r}function Ji(){Xi=(zi=Vi.now())+Ui,Wi=Ri=0;try{!function(){Gi(),++Wi;for(var t,e=Pi;e;)(t=Xi-e._time)>=0&&e._call.call(null,t),e=e._next;--Wi}()}finally{Wi=0,function(){var t,e,n=Pi,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:Pi=e);Fi=t,Ki(r)}(),Xi=0}}function Zi(){var t=Vi.now(),e=t-zi;e>Bi&&(Ui-=e,zi=t)}function Ki(t){Wi||(Ri&&(Ri=clearTimeout(Ri)),t-Xi>24?(t<1/0&&(Ri=setTimeout(Ji,t-Vi.now()-Ui)),ji&&(ji=clearInterval(ji))):(ji||(zi=Vi.now(),ji=setInterval(Zi,Bi)),Wi=1,Hi(Ji)))}qi.prototype=$i.prototype={constructor:qi,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Gi():+n)+(null==e?0:+e),this._next||Fi===this||(Fi?Fi._next=this:Pi=this,Fi=this),this._call=t,this._time=n,Ki()},stop:function(){this._call&&(this._call=null,this._time=1/0,Ki())}};var Qi=function(t,e,n){var r=new qi;return e=null==e?0:+e,r.restart(function(n){r.stop(),t(n+e)},e,n),r},to=Ni("start","end","interrupt"),eo=[],no=0,ro=1,io=2,oo=3,ao=4,so=5,co=6,uo=function(t,e,n,r,i,o){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function o(c){var u,l,f,h;if(n.state!==ro)return s();for(u in i)if((h=i[u]).name===n.name){if(h.state===oo)return Qi(o);h.state===ao?(h.state=co,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[u]):+u<e&&(h.state=co,h.timer.stop(),delete i[u])}if(Qi(function(){n.state===oo&&(n.state=ao,n.timer.restart(a,n.delay,n.time),a(c))}),n.state=io,n.on.call("start",t,t.__data__,n.index,n.group),n.state===io){for(n.state=oo,r=new Array(f=n.tween.length),u=0,l=-1;u<f;++u)(h=n.tween[u].value.call(t,t.__data__,n.index,n.group))&&(r[++l]=h);r.length=l+1}}function a(e){for(var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(s),n.state=so,1),o=-1,a=r.length;++o<a;)r[o].call(null,i);n.state===so&&(n.on.call("end",t,t.__data__,n.index,n.group),s())}function s(){for(var r in n.state=co,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=$i(function(t){n.state=ro,n.timer.restart(o,n.delay,n.time),n.delay<=t&&o(t-n.delay)},0,n.time)}(t,n,{name:e,index:r,group:i,on:to,tween:eo,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:no})};function lo(t,e){var n=ho(t,e);if(n.state>no)throw new Error("too late; already scheduled");return n}function fo(t,e){var n=ho(t,e);if(n.state>io)throw new Error("too late; already started");return n}function ho(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function po(t,e,n){var r=t._id;return t.each(function(){var t=fo(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)}),function(t){return ho(t,r).value[e]}}var vo=function(t,e){var n;return("number"==typeof e?Ne:e instanceof Vt?Pe:(n=Vt(e))?(e=n,Pe):Ue)(t,e)};var yo=q.prototype.constructor;var go=0;function _o(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function bo(t){return q().transition(t)}function mo(){return++go}var xo=q.prototype;_o.prototype=bo.prototype={constructor:_o,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=l(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var s,c,u=r[a],f=u.length,h=o[a]=new Array(f),p=0;p<f;++p)(s=u[p])&&(c=t.call(s,s.__data__,p,u))&&("__data__"in s&&(c.__data__=s.__data__),h[p]=c,uo(h[p],e,n,p,h,ho(s,n)));return new _o(o,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=h(t));for(var r=this._groups,i=r.length,o=[],a=[],s=0;s<i;++s)for(var c,u=r[s],l=u.length,f=0;f<l;++f)if(c=u[f]){for(var p,d=t.call(c,c.__data__,f,u),v=ho(c,n),y=0,g=d.length;y<g;++y)(p=d[y])&&uo(p,e,n,y,d,v);o.push(d),a.push(c)}return new _o(o,a,e,n)},filter:function(t){"function"!=typeof t&&(t=y(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],s=a.length,c=r[i]=[],u=0;u<s;++u)(o=a[u])&&t.call(o,o.__data__,u,a)&&c.push(o);return new _o(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),s=0;s<o;++s)for(var c,u=e[s],l=n[s],f=u.length,h=a[s]=new Array(f),p=0;p<f;++p)(c=u[p]||l[p])&&(h[p]=c);for(;s<r;++s)a[s]=e[s];return new _o(a,this._parents,this._name,this._id)},selection:function(){return new yo(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=mo(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],c=s.length,u=0;u<c;++u)if(a=s[u]){var l=ho(a,e);uo(a,t,n,u,s,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new _o(r,this._parents,t,n)},call:xo.call,nodes:xo.nodes,node:xo.node,size:xo.size,empty:xo.empty,each:xo.each,on:function(t,e){var n=this._id;return arguments.length<2?ho(this.node(),n).on.on(t):this.each(function(t,e,n){var r,i,o=function(t){return(t+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t})}(e)?lo:fo;return function(){var a=o(this,t),s=a.on;s!==r&&(i=(r=s).copy()).on(e,n),a.on=i}}(n,t,e))},attr:function(t,e){var n=s(t),r="transform"===n?Ze:vo;return this.attrTween(t,"function"==typeof e?(n.local?function(t,e,n){var r,i,o;return function(){var a,s=n(this);if(null!=s)return(a=this.getAttributeNS(t.space,t.local))===s?null:a===r&&s===i?o:o=e(r=a,i=s);this.removeAttributeNS(t.space,t.local)}}:function(t,e,n){var r,i,o;return function(){var a,s=n(this);if(null!=s)return(a=this.getAttribute(t))===s?null:a===r&&s===i?o:o=e(r=a,i=s);this.removeAttribute(t)}})(n,r,po(this,"attr."+t,e)):null==e?(n.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(n):(n.local?function(t,e,n){var r,i;return function(){var o=this.getAttributeNS(t.space,t.local);return o===n?null:o===r?i:i=e(r=o,n)}}:function(t,e,n){var r,i;return function(){var o=this.getAttribute(t);return o===n?null:o===r?i:i=e(r=o,n)}})(n,r,e+""))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;var r=s(t);return this.tween(n,(r.local?function(t,e){function n(){var n=this,r=e.apply(n,arguments);return r&&function(e){n.setAttributeNS(t.space,t.local,r(e))}}return n._value=e,n}:function(t,e){function n(){var n=this,r=e.apply(n,arguments);return r&&function(e){n.setAttribute(t,r(e))}}return n._value=e,n})(r,e))},style:function(t,e,n){var r="transform"==(t+="")?Je:vo;return null==e?this.styleTween(t,function(t,e){var n,r,i;return function(){var o=M(this,t),a=(this.style.removeProperty(t),M(this,t));return o===a?null:o===n&&a===r?i:i=e(n=o,r=a)}}(t,r)).on("end.style."+t,function(t){return function(){this.style.removeProperty(t)}}(t)):this.styleTween(t,"function"==typeof e?function(t,e,n){var r,i,o;return function(){var a=M(this,t),s=n(this);return null==s&&(this.style.removeProperty(t),s=M(this,t)),a===s?null:a===r&&s===i?o:o=e(r=a,i=s)}}(t,r,po(this,"style."+t,e)):function(t,e,n){var r,i;return function(){var o=M(this,t);return o===n?null:o===r?i:i=e(r=o,n)}}(t,r,e+""),n)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw new Error;return this.tween(r,function(t,e,n){function r(){var r=this,i=e.apply(r,arguments);return i&&function(e){r.style.setProperty(t,i(e),n)}}return r._value=e,r}(t,e,null==n?"":n))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(po(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},remove:function(){return this.on("end.remove",function(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}(this._id))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=ho(this.node(),n).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==e?function(t,e){var n,r;return function(){var i=fo(this,t),o=i.tween;if(o!==n)for(var a=0,s=(r=n=o).length;a<s;++a)if(r[a].name===e){(r=r.slice()).splice(a,1);break}i.tween=r}}:function(t,e,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var o=fo(this,t),a=o.tween;if(a!==r){i=(r=a).slice();for(var s={name:e,value:n},c=0,u=i.length;c<u;++c)if(i[c].name===e){i[c]=s;break}c===u&&i.push(s)}o.tween=i}})(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){lo(this,t).delay=+e.apply(this,arguments)}}:function(t,e){return e=+e,function(){lo(this,t).delay=e}})(e,t)):ho(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){fo(this,t).duration=+e.apply(this,arguments)}}:function(t,e){return e=+e,function(){fo(this,t).duration=e}})(e,t)):ho(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw new Error;return function(){fo(this,t).ease=e}}(e,t)):ho(this.node(),e).ease}};(function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n})(3),function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(3),function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(3),Math.PI;(function t(e){function n(t){return t*t*((e+1)*t-e)}return e=+e,n.overshoot=t,n})(1.70158),function t(e){function n(t){return--t*t*((e+1)*t+e)+1}return e=+e,n.overshoot=t,n}(1.70158),function t(e){function n(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,n.overshoot=t,n}(1.70158);var wo=2*Math.PI,So=(function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=wo);function i(t){return e*Math.pow(2,10*--t)*Math.sin((r-t)/n)}return i.amplitude=function(e){return t(e,n*wo)},i.period=function(n){return t(e,n)},i}(1,.3),function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=wo);function i(t){return 1-e*Math.pow(2,-10*(t=+t))*Math.sin((t+r)/n)}return i.amplitude=function(e){return t(e,n*wo)},i.period=function(n){return t(e,n)},i}(1,.3),function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=wo);function i(t){return((t=2*t-1)<0?e*Math.pow(2,10*t)*Math.sin((r-t)/n):2-e*Math.pow(2,-10*t)*Math.sin((r+t)/n))/2}return i.amplitude=function(e){return t(e,n*wo)},i.period=function(n){return t(e,n)},i}(1,.3),{time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}});function Mo(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))return So.time=Gi(),So;return n}q.prototype.interrupt=function(t){return this.each(function(){!function(t,e){var n,r,i,o=t.__transition,a=!0;if(o){for(i in e=null==e?null:e+"",o)(n=o[i]).name===e?(r=n.state>io&&n.state<so,n.state=co,n.timer.stop(),r&&n.on.call("interrupt",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}}(this,t)})},q.prototype.transition=function(t){var e,n;t instanceof _o?(e=t._id,t=t._name):(e=mo(),(n=So).time=Gi(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],c=s.length,u=0;u<c;++u)(a=s[u])&&uo(a,t,e,u,s,n||Mo(a,e));return new _o(r,this._parents,t,e)};var ko;!function(t){t.debounce=function(t,e,n){var r;return function(){var i=this,o=arguments,a=n&&!r;clearTimeout(r),r=setTimeout(function(){r=null,n||t.apply(i,o)},e),a&&t.apply(i,o)}},t.addCloseBtn=function(t,e,n){var r=t.append("button"),i="close--"+e;i=n?" close--"+n:i;var o=document.createElement("span");return o.innerHTML="Close",r.attr("class",i).attr("type","button").attr("aria-label","Close"),r.node().appendChild(o),r},t.clone=function(t){return JSON.parse(JSON.stringify(t))},t.merge=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i];for(var s in a)a.hasOwnProperty(s)&&(a[s]&&"object"==typeof a[s]?(e[s]||(e[s]={}),e[s]=t.merge(e[s],a[s])):e[s]=a[s])}return e},t.getDimensions=function(t){return{width:parseFloat(t.style.width.replace("px","")||t.offsetWidth),height:parseFloat(t.style.height.replace("px","")||t.offsetHeight)}},t.getTranformOffsets=function(t){var e=/\(([^)]+)\)/.exec(t)[1].split(",");return{x:parseFloat(e[0]),y:parseFloat(e[1])}},t.formatWidthHeightValues=function(t){var e=t.toString();return e.match(/[a-z]/i)?e:e+"px"},t.capitalizeFirstLetter=function(t){return t[0].toUpperCase()+t.slice(1)},t.convertValueToPercentage=function(t,e){return Math.floor(t/e.reduce(function(t,e){return t+e.value},0)*100)+"%"},t.arrayDifferences=function(t,e){var n={missing:[],added:[]};return t.forEach(function(t){-1===e.indexOf(t)&&n.missing.push(t)}),e.forEach(function(e){-1===t.indexOf(e)&&n.added.push(e)}),n},t.getDuplicateValues=function(t){var e=[],n=[];return t.forEach(function(t){-1!==e.indexOf(t)&&-1===n.indexOf(t)&&n.push(t),e.push(t)}),n},t.removeArrayDuplicates=function(t){return new Set(t).slice()},t.moveToFront=function(t){return t.each(function(){this.parentNode.appendChild(this)})},t.getXTransformsValue=function(t){return window.getComputedStyle(t).getPropertyValue("transform").split(",")[4]},t.getProperty=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];for(var r=t,i=0,o=e;i<o.length;i++){var a=o[i];if(!r[a])return null;r=r[a]}return r}}(ko||(ko={}));var To={10:"#fff0f6",20:"#ffcfe1",30:"#ffa0c2",40:"#fa75a6",50:"#ee538b",60:"#d12765",70:"#a11950",80:"#760a3a",90:"#57002b",100:"#2a0a16"},Ao={10:"#f7f1ff",20:"#e6d6ff",30:"#d0b0ff",40:"#bb8eff",50:"#a66efa",60:"#8a3ffc",70:"#6e32c9",80:"#4f2196",90:"#38146b",100:"#1e1033"},Eo={10:"#e3f6ff",20:"#b3e6ff",30:"#6ccaff",40:"#30b0ff",50:"#1191e6",60:"#0072c3",70:"#0058a1",80:"#003d73",90:"#002b50",100:"#07192b"},Lo={10:"#dbfbfb",20:"#92eeee",30:"#20d5d2",40:"#00bab6",50:"#009c98",60:"#007d79",70:"#006161",80:"#004548",90:"#003137",100:"#081a1c"},Co={10:"#dafbe4",20:"#9deeb2",30:"#56d679",40:"#3dbb61",50:"#24a148",60:"#198038",70:"#10642a",80:"#054719",90:"#01330f",100:"#081b09"};var Oo,Do,Io,Po=function(t,e){return t[e]},Fo=function(t){return Po(Eo,t)},No=function(t){return Po(Co,t)},Wo=function(t){return Po(To,t)},Ro=function(t){return Po(Ao,t)},jo=function(t){return Po(Lo,t)},Bo=[Ro(60),jo(30),Wo(50),Fo(40),Wo(80),Ro(30),Fo(80)],zo=[Ro(60),Wo(30),jo(70),Fo(40),Wo(70),jo(30),Fo(80)],Xo=[Ro(60),jo(30),Wo(50),No(40),Ro(20),jo(60),Wo(30)],Uo=Bo;!function(t){t.BAR="bar",t.LINE="line",t.SCATTER="scatter",t.PIE="pie",t.DONUT="donut",t.COMBO="combo"}(Oo||(Oo={})),function(t){t.COMPACT="compact",t.FULL=""}(Do||(Do={})),function(t){t.SUCCESS="success",t.ERROR="error",t.WARNING="warning"}(Io||(Io={}));var Vo,Ho,Go={legendClickable:!0,containerResizable:!0,colors:Uo,tooltip:{size:Do.FULL,formatter:null,targetsToSkip:["rect","circle","path"]},overlay:{types:{loading:"loading",noData:"noData"},innerHTML:{loading:'\n\t\t\t<div class="ccharts-overlay-content">\n\t\t\t\t<div data-loading class="bx--loading bx--loading--small">\n\t\t\t\t\t<svg class="bx--loading__svg" viewBox="-75 -75 150 150">\n\t\t\t\t\t\t<title>Loading</title>\n\t\t\t\t\t\t<circle cx="0" cy="0" r="37.5" />\n\t\t\t\t\t</svg>\n\t\t\t\t</div>\n\n\t\t\t\t<p>Loading</p>\n\t\t\t</div>\n\t\t\t',noData:'\n\t\t\t<div class="ccharts-overlay-content">\n\t\t\t\tNo data available\n\t\t\t</div>\n\t\t\t'}}},Yo=ko.merge({},Go),qo=ko.merge({},Go),$o=ko.merge({},Go,{scales:{x:{domain:null,ticks:5},y:{domain:null,ticks:5},ySecondary:{domain:null,ticks:10}}}),Jo=ko.merge({},$o,{points:{radius:3}}),Zo=ko.merge({},$o,{points:{radius:4,fillOpacity:.3}}),Ko=ko.merge({},$o),Qo={BASE:Go,AXIS:$o,LINE:Jo,SCATTER:Zo,BAR:Ko,STACKED_BAR:ko.merge({},Ko),COMBO:ko.merge({},$o,Ko,Jo,Zo),PIE:Yo,DONUT:qo},ta={margin:{top:20,bottom:60,left:60,right:20,bar:{top:0,right:-40,bottom:50,left:40},line:{top:0,right:-40,bottom:50,left:40}},resetOpacity:{opacity:1,circle:{fill:"white"},outline:"grey"},reduceOpacity:{opacity:.25,outline:"grey"},points:{radius:3},patternFills:{width:20,height:20},minWidth:150,widthBreak:600,marginForLegendTop:40,magicRatio:.7,magicMoreForY2Axis:70,axisCharts:{minWidth:100,minHeight:200}},ea={maxWidthOfAxisLabel:175,maxNumOfAxisLabelLetters:60,yAxisAngle:-90,xAxisAngle:-45,domain:{color:"#959595",strokeWidth:2},dx:"-1em",label:{dy:"1em"},tick:{dy:"0.5em",widthAdditionY:25,widthAdditionY2:15,heightAddition:16,lineHeight:1.1},magicDy1:"0.71em",magicY1:9,magicX1:-4,y:{numberOfTicks:5,thresholds:{colors:{danger:"rgba(255, 39, 41, 0.1)",success:"rgba(0, 212, 117, 0.1)",warning:"rgba(255, 214, 0, 0.1)"}}},x:{numberOfTicks:5,padding:.2},y2:{numberOfTicks:5}},na="#ECEEEF",ra={mouseover:{strokeWidth:4,strokeOpacity:.5},mouseout:{strokeWidth:0,strokeWidthAccessible:2,strokeOpacity:1},default:{strokeWidth:2},spacing:{bars:.2,datasets:.25},bars:{maxWidth:null}},ia={strokeWidth:4,minNonFilledRadius:3,mouseover:{strokeWidth:4,strokeOpacity:.5},mouseout:{strokeWidth:0,strokeWidthAccessible:2,strokeOpacity:1}},oa={maxWidth:516.6,mouseover:{strokeWidth:6,strokeOpacity:.5},mouseout:{strokeWidth:0,strokeOpacity:1},sliceLimit:6,label:{dy:".32em",margin:8,other:"Other"},default:{strokeWidth:2}},aa={title:{y:22},breakpoint:175,magicScaleRatio:2.5,numberFontSize:24,titleFontSize:15},sa={countBreak:4,fontSize:12,wrapperHeight:"40px",widthTolerance:15,hoverShadowSize:"3px",hoverShadowTransparency:.2,margin:{top:19},active:{borderColor:!1,borderStyle:!1,borderWidth:!1},inactive:{backgroundColor:"white",borderStyle:"solid",borderWidth:"2px"},items:{status:{ACTIVE:1,DISABLED:0}},basedOn:{SERIES:"series",LABELS:"labels"}},ca=200,ua=10,la=20,fa=21,ha=10,pa={duration:250},da={duration:250},va={COMPACT:"compact"},ya={duration:750},ga=[n(334),n(335),n(336),n(337),n(338),n(339),n(340),n(341)],_a="carbon-charts-patterns",ba=function(){function t(){this.patternAccum=0,this.idAccum=0,this.patternURLs={},this.setDiv()}return t.prototype.setDiv=function(){if(this.container=document.getElementById(_a),!this.container){var t=document.createElement("div");t.id=_a,this.container=document.body.appendChild(t)}},t.prototype.addPatternSVGs=function(t,e,n,r){var i=this;$(this.container).style("display","table").style("max-height",0),t.datasets.forEach(function(o){var a;o.data.forEach(function(s,c){var u=++i.idAccum;a&&r!==sa.basedOn.LABELS||(a=ga[i.patternAccum++].default);var l=document.createElement("div");l.id="carbon-"+n+"-pattern-container-"+u,l.innerHTML=function(t){return t=(t=t.substring(0,t.indexOf('<style type="text/css">'))+t.substring(t.indexOf("</style>")+"</style>".length)).replace(/<!--[\s\S]*?-->/g,"")}(a);var f=l.querySelector("svg");f.id="carbon-"+n+"-pattern-"+u+"-svg";var h=f.querySelector("pattern");h.id="carbon-"+n+"-pattern-"+u,f.querySelector("g").removeAttribute("id"),Array.prototype.slice.call(f.querySelectorAll("pattern g *")).forEach(function(n,r){r>0?(n.style.fill=e[o.label](t.labels[c]),n.style.stroke=e[o.label](t.labels[c])):n.style.fill="transparent",n.removeAttribute("id"),n.removeAttribute("class")}),Array.prototype.slice.call(f.querySelectorAll("rect")).forEach(function(t){t.removeAttribute("id")}),h.setAttribute("width",""+ta.patternFills.width),h.setAttribute("height",""+ta.patternFills.height),i.container.appendChild(l);var p="url(#carbon-"+n+"-pattern-"+u+")";i.patternURLs[o.label]?i.patternURLs[o.label].push(p):i.patternURLs[o.label]=[p]})})},t.prototype.getFillValues=function(){return this.patternURLs},t}(),ma=function(){function t(t,e){this.holder=t,this.overlayElement=this.holder.querySelector("div.chart-overlay"),this.overlayOptions=e||Qo.BASE.overlay}return t.prototype.show=function(t){this.overlayElement&&this.overlayElement.parentNode.removeChild(this.overlayElement);var e=document.createElement("div");e.classList.add("chart-overlay"),e.innerHTML=this.overlayOptions.innerHTML[t||"loading"],this.overlayElement=this.holder.appendChild(e)},t.prototype.hide=function(){this.overlayElement.style.display="none"},t}();!function(t){t.LEFT="left",t.RIGHT="right",t.TOP="top",t.BOTTOM="bottom"}(Ho||(Ho={}));var xa=((Vo={})[Ho.LEFT]=function(t,e,n){return{top:t.top-Math.round(e.offsetHeight/2)+Math.round(n.height/2),left:Math.round(t.left-e.offsetWidth)}},Vo[Ho.RIGHT]=function(t,e,n){return{top:t.top-Math.round(e.offsetHeight/2)+Math.round(n.height/2),left:Math.round(t.left+n.width)}},Vo[Ho.TOP]=function(t,e,n){return{top:Math.round(t.top-e.offsetHeight),left:t.left-Math.round(e.offsetWidth/2)+Math.round(n.width/2)}},Vo[Ho.BOTTOM]=function(t,e,n){return{top:Math.round(t.top+n.height),left:t.left-Math.round(e.offsetWidth/2)+Math.round(n.width/2)}},Vo),wa=function(){function t(t){void 0===t&&(t={}),this.positions=xa,this.positions=Object.assign({},xa,t)}return t.prototype.getRelativeOffset=function(t){for(var e={left:t.offsetLeft,top:t.offsetTop};t.offsetParent&&"static"===getComputedStyle(t.offsetParent).position;)e.left+=t.offsetLeft,e.top+=t.offsetTop,t=t.offsetParent;return e},t.prototype.getAbsoluteOffset=function(t){for(var e=t,n={top:0,left:0};e.offsetParent;){var r=getComputedStyle(e.offsetParent);"static"===r.position&&r.marginLeft&&r.marginTop&&(parseInt(r.marginTop,10)&&(n.top+=parseInt(r.marginTop,10)),parseInt(r.marginLeft,10)&&(n.left+=parseInt(r.marginLeft,10))),e=e.offsetParent}var i=t.getBoundingClientRect(),o=document.body.getBoundingClientRect();return{top:i.top-o.top+n.top,left:i.left-o.left+n.left}},t.prototype.findRelative=function(t,e,n){var r=this.getRelativeOffset(t),i=t.getBoundingClientRect();return this.calculatePosition(r,i,e,n)},t.prototype.findAbsolute=function(t,e,n){var r=this.getAbsoluteOffset(t),i=t.getBoundingClientRect();return this.calculatePosition(r,i,e,n)},t.prototype.findPosition=function(t,e,n,r){void 0===r&&(r=this.getAbsoluteOffset);var i=r(t),o=t.getBoundingClientRect();return this.calculatePosition(i,o,e,n)},t.prototype.findPositionAt=function(t,e,n){return this.calculatePosition(t,{height:0,width:0},e,n)},t.prototype.getPlacementBox=function(t,e){var n=t.offsetHeight+e.top,r=t.offsetWidth+e.left;return{top:e.top,bottom:n,left:e.left,right:r}},t.prototype.addOffset=function(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=0),Object.assign({},t,{top:t.top+e,left:t.left+n})},t.prototype.setElement=function(t,e){t.style.top=e.top+"px",t.style.left=e.left+"px"},t.prototype.findBestPlacement=function(t,e,n,r,i){var o=this;void 0===r&&(r=this.defaultContainerFunction),void 0===i&&(i=this.findPosition);var a=n.map(function(n){var a=i(t,e,n),s=o.getPlacementBox(e,a),c=s.bottom-r().height,u=s.right-r().width;c=c<0?e.offsetHeight:c,u=u<0?e.offsetWidth:u;var l=e.offsetHeight*e.offsetWidth,f=l-c*u;return{placement:n,weight:(f=0===f?l:f)/l}});return a.sort(function(t,e){return e.weight-t.weight}),a[0].placement},t.prototype.findBestPlacementAt=function(t,e,n,r){var i=this;void 0===r&&(r=this.defaultContainerFunction);return this.findBestPlacement(null,e,n,r,function(e,n,r){return i.findPositionAt(t,n,r)})},t.prototype.defaultContainerFunction=function(){return{width:window.innerHeight-window.scrollY,height:window.innerWidth-window.scrollX}},t.prototype.calculatePosition=function(t,e,n,r){return this.positions[r]?this.positions[r](t,n,e):(console.error("No function found for placement, defaulting to 0,0"),{left:0,top:0})},t}(),Sa=wa,Ma=(new wa,function(){function t(t){var e=this;this.positionService=new Sa,this.getRef=function(){return $(e.container).select("div.chart-tooltip").node()},this.container=t}return t.prototype.positionTooltip=function(){var t=this,e=this.getRef(),n=tt(this.container),r=this.positionService.findBestPlacementAt({left:n[0],top:n[1]},e,[Ho.RIGHT,Ho.LEFT],function(){return{width:t.container.offsetWidth,height:t.container.offsetHeight}}),i=ha;r===Ho.LEFT&&(i*=-1);var o=this.positionService.findPositionAt({left:n[0]+i,top:n[1]},e,r);this.positionService.setElement(e,o)},t.prototype.show=function(t){et(".chart-tooltip").remove();var e=$(this.container).append("div").attr("class","tooltip chart-tooltip");e.append("div").attr("class","text-box").html(t),this.positionTooltip(),e.style("opacity",0).transition().duration(pa.duration).style("opacity",1)},t.prototype.hide=function(){$(this.container).select("div.chart-tooltip").style("opacity",1).transition().duration(da.duration).style("opacity",0).remove(),this.removeEventLinteners()},t.prototype.handleTooltipEvents=function(t){if(t.key)"Escape"!==t.key&&"Esc"!==t.key||this.hide();else{var e=t.target.tagName;-1===Qo.BASE.tooltip.targetsToSkip.indexOf(e)&&this.hide()}},t.prototype.addEventListeners=function(){var t=this,e=$(this.container).select("div.chart-tooltip");setTimeout(function(){window.addEventListener("keydown",t.handleTooltipEvents),t.container.addEventListener("click",t.handleTooltipEvents),e.on("click",function(){event.stopPropagation()})},0)},t.prototype.removeEventLinteners=function(){window.removeEventListener("keydown",this.handleTooltipEvents),this.container.removeEventListener("click",this.handleTooltipEvents)},t}()),ka=n(130),Ta=function(){function t(e,n){var r=this;this.id="",this.chartContainerID="",this.options=ko.merge({},Qo.BASE),this.patternScale={},this.colorScale={},this.eventHandlers={tooltips:null},this.getTooltipHTML=function(t){var e=r.options.tooltip.formatter?r.options.tooltip.formatter(t.value):t.value.toLocaleString("en");return r.getLegendType()===sa.basedOn.LABELS?r.generateTooltipHTML(t.label,e):r.generateTooltipHTML(t.datasetLabel,e)},this.id="chart-"+t.chartCount++,n.options&&(this.options=ko.merge({},this.options,n.options)),this.holder=e,this.styleHolderElement();var i=this.setChartIDContainer(),o=i.chartId,a=i.container;this.container=a,this.chartContainerID=o,this.options.containerResizable&&this.resizeWhenContainerChange(),this.events=document.createDocumentFragment(),this.chartOverlay=new ma(this.holder,this.options.overlay),this.tooltip=new Ma(this.container.node()),n.data&&this.setData(n.data)}return t.prototype.styleHolderElement=function(){var t=this.holder,e=this.options,n=e.width,r=e.height;$(this.holder).classed("chart-holder",!0),n&&(t.style.width=ko.formatWidthHeightValues(n)),r&&(t.style.height=ko.formatWidthHeightValues(r))},t.prototype.dispatchEvent=function(t,e){var n;e?n=new CustomEvent(t,{detail:e}):(n=document.createEvent("Event")).initEvent(t,!1,!0),this.events.dispatchEvent(n)},t.prototype.setData=function(t){var e=this,n=!this.innerWrap,r=Promise.resolve(t)===t;this.dispatchEvent("data-change"),(n||r)&&this.chartOverlay.show(),n||this.hideTooltip(),Promise.resolve(t).then(function(t){if(e.dispatchEvent("data-load"),e.data=ko.clone(t),e.data.datasets&&e.data.datasets.length>0){e.displayData=e.dataProcessor(ko.clone(t));var r=e.getKeysFromData(),i=e.getActiveLegendItems(),o=Object.keys(r),a=ko.arrayDifferences(i,o),s=a.missing,c=a.added;e.options.keys=r,e.setColorScale(),e.options.accessibility&&e.setPatterns(),n?e.initialDraw():((s.length>0||c.length>0)&&e.addOrUpdateLegend(),e.update())}else e.chartOverlay.show(Qo.BASE.overlay.types.noData)})},t.prototype.getKeysFromData=function(){var t=this,e={};this.getLegendType()===sa.basedOn.LABELS?this.displayData.labels.forEach(function(t){e[t]=sa.items.status.ACTIVE}):this.displayData.datasets.forEach(function(t){e[t.label]=sa.items.status.ACTIVE});var n=this.getDisabledLegendItems();return Object.keys(e).forEach(function(t){-1!==n.indexOf(t)&&(e[t]=sa.items.status.DISABLED)}),this.fixedDataLabels?this.displayData.labels.forEach(function(e){-1===t.fixedDataLabels.indexOf(e)&&t.fixedDataLabels.push(e)}):this.fixedDataLabels=this.displayData.labels,e},t.prototype.getLegendType=function(){var t=this.displayData.datasets;return 1===t.length&&t[0].backgroundColors&&t[0].backgroundColors.length>1?sa.basedOn.LABELS:sa.basedOn.SERIES},t.prototype.setPatterns=function(){var t=this;this.patternsService=new ba,this.patternsService.addPatternSVGs(this.displayData,this.colorScale,this.chartContainerID,this.getLegendType());var e=this.patternsService.getFillValues();Object.keys(e).forEach(function(n){t.patternScale[n]=At().range(e[n]).domain(t.getLegendItemKeys())})},t.prototype.setColorScale=function(){var t=this;if(this.displayData.datasets[0].backgroundColors)this.displayData.datasets.forEach(function(e){t.colorScale[e.label]=At().range(e.backgroundColors).domain(t.fixedDataLabels)});else{var e=Qo.BASE.colors;this.displayData.datasets.forEach(function(n,r){t.colorScale[n.label]=At().range([e[r]]).domain(t.fixedDataLabels)})}},t.prototype.getFillColor=function(t,e,n){return this.options.getFillColor&&!this.options.accessibility&&this.options.getFillColor(t,e,n)||this.getFillScale()[t](e)},t.prototype.getStrokeColor=function(t,e,n){return this.options.getStrokeColor&&this.options.getStrokeColor(t,e,n)||this.colorScale[t](e)},t.prototype.getChartSize=function(t){var e,n;void 0===t&&(t=this.container),t.node().clientWidth>ta.widthBreak?(e=ta.magicRatio,n=0):(n=ta.marginForLegendTop,e=1);var r={height:t.node().clientHeight-n,width:(t.node().clientWidth-0)*e},i=Math.min(r.height,r.width);return{height:i=Math.max(i,ta.minWidth),width:i}},t.prototype.removeChart=function(){this.holder.querySelector("div.chart-wrapper").parentNode.removeChild(this.holder.querySelector("div.chart-wrapper"))},t.prototype.setSVG=function(){this.getChartSize();return this.svg=this.container.append("svg").classed("chart-svg "+this.options.type,!0),this.innerWrap=this.svg.append("g").classed("inner-wrap",!0),this.svg},t.prototype.dataProcessor=function(t){return t},t.prototype.initialDraw=function(){console.warn("You should implement your own `initialDraw()` function.")},t.prototype.updateChart=function(){console.warn("You should implement your own `updateChart()` function.")},t.prototype.resizeChart=function(){console.warn("You should implement your own `resizeChart()` function.")},t.prototype.update=function(t){console.warn("You should implement your own `update()` function.")},t.prototype.resizeWhenContainerChange=function(){var t=this,e=this.holder.clientWidth,n=this.holder.clientHeight;new ka.a(function(r,i){for(var o=0,a=r;o<a.length;o++){a[o];(Math.abs(e-t.holder.clientWidth)>1||Math.abs(n-t.holder.clientHeight)>1)&&(e=t.holder.clientWidth,n=t.holder.clientHeight,et(".legend-tooltip").style("display","none"),t.hideTooltip(),t.resizeChart())}}).observe(this.holder)},t.prototype.setClickableLegend=function(){var t=this,e=$(this.holder);1===this.getActiveLegendItems().length&&e.selectAll(".legend-btn.active").classed("not-allowed",!0),t.addLegendCircleHoverEffect(),e.selectAll(".legend-btn").each(function(){$(this).classed("clickable",!0),$(this).on("click",function(){e.selectAll(".chart-tooltip").remove(),e.selectAll(".label-tooltip").remove();var n=t.getActiveLegendItems(),r=$(this),i=!r.classed("active");(n.length>1||i)&&(t.updateLegend(this),t.applyLegendFilter(r.select("text").text())),2!==n.length||i||e.selectAll(".legend-btn.active").classed("not-allowed",!0),1===n.length&&i&&e.selectAll(".legend-btn.not-allowed").classed("not-allowed",!1)})})},t.prototype.setChartIDContainer=function(){var t,e,n=$(this.holder);n.select(".chart-wrapper").nodes().length>0?(t=(e=n.select(".chart-wrapper")).attr("chart-id"),e.selectAll(".chart-svg").remove()):(t=this.id,(e=n.append("div")).attr("chart-id",t).classed("chart-wrapper",!0),0===e.select(".legend-wrapper").nodes().length&&e.append("div").attr("class","legend-wrapper").attr("role","region").attr("aria-label","Chart "+t+" Legend").append("ul").attr("class","legend"));return{chartId:t,container:e}},t.prototype.resetOpacity=function(){et("svg.chart-svg").selectAll("rect").attr("fill-opacity",ta.resetOpacity.opacity).attr("stroke-opacity",ta.resetOpacity.opacity)},t.prototype.reduceOpacity=function(t){var e=this,n=$(t).datum();$(t).attr("fill-opacity",!1),$(t).attr("stroke-opacity",ta.reduceOpacity.opacity),$(t).attr("fill",function(t){return e.getFillColor(t.datasetLabel,n.label,n.value)})},t.prototype.getLegendItems=function(){var t={};return this.options.keys&&(t=this.options.keys),t},t.prototype.getLegendItemArray=function(){var t=this.getLegendItems();return Object.keys(t).map(function(e){return{key:e,value:t[e]}})},t.prototype.getLegendItemKeys=function(){return Object.keys(this.getLegendItems())},t.prototype.getDisabledLegendItems=function(){var t=this.getLegendItems();return Object.keys(t).filter(function(e){return t[e]===sa.items.status.DISABLED})},t.prototype.getActiveLegendItems=function(){var t=this.getLegendItems();return Object.keys(t).filter(function(e){return t[e]===sa.items.status.ACTIVE})},t.prototype.updateLegend=function(t){var e=$(t),n=$(t).select(".legend-circle");e.classed("active",!e.classed("active")),e.classed("active")?n.style("background-color",n.style("border-color")).style("border-color",sa.active.borderColor).style("border-style",sa.active.borderStyle).style("border-width",sa.active.borderWidth):n.style("border-color",n.style("background-color")).style("background-color",sa.inactive.backgroundColor).style("border-style",sa.inactive.borderStyle).style("border-width",sa.inactive.borderWidth)},t.prototype.addLegend=function(){var t=this;if(!(this.container.select(".legend-tooltip").nodes().length>0)){var e=this.getLegendItemArray(),n=this.container.select(".legend").attr("font-size",sa.fontSize).selectAll("li.legend-btn").data(e,function(t){return t.key});n.exit().remove();var r=n.enter().append("li").attr("class","legend-btn active");r.append("div").attr("class","legend-circle"),r.append("text"),r.selectAll("text").merge(n.selectAll("text")).text(function(t){return t.key}),r.select("div").merge(n.selectAll("div")).style("background-color",function(e,n){return t.getLegendType()===sa.basedOn.LABELS&&e.value===sa.items.status.ACTIVE?t.getStrokeColor(t.displayData.datasets[0].label,e.key,e.value):e.value===sa.items.status.ACTIVE?t.getStrokeColor(e.key):"white"})}},t.prototype.positionLegend=function(){if(!(this.container.select(".legend-tooltip").nodes().length>0&&"block"===this.container.select(".legend-tooltip").node().style.display)){this.container.selectAll(".legend-btn").style("display","inline-block");var t=this.container.select("g.inner-wrap").node().getBBox().width;if(this.isLegendOnRight()){this.container.selectAll(".expand-btn").remove(),this.container.select(".legend-wrapper").style("height",0);var e=this.container.node().clientWidth-t;this.container.select(".legend").classed("right-legend",!0).style("width",e+"px")}else this.container.select(".legend-wrapper").style("height",sa.wrapperHeight);if(this.hasLegendExpandBtn()){this.container.select(".legend").classed("right-legend",!1).style("width",null);var n=0;this.container.selectAll(".legend-btn").nodes().forEach(function(e){n+e.clientWidth+sa.widthTolerance>t?$(e).style("display","none"):n+=e.clientWidth}),0===this.container.select(".expand-btn").nodes().length&&this.addTooltipOpenButtonToLegend()}}},t.prototype.addOrUpdateLegend=function(){this.addLegend(),this.options.legendClickable&&this.setClickableLegend(),this.positionLegend()},t.prototype.addLegendCircleHoverEffect=function(){this.container.selectAll("li.legend-btn").on("mouseover",function(){var t=$(this).select("div.legend-circle"),e=t.node().style.backgroundColor.substring(4,t.node().style.backgroundColor.length-1);t.style("box-shadow","0 0 0 "+sa.hoverShadowSize+" rgba("+e+", "+sa.hoverShadowTransparency+")")}).on("mouseout",function(){$(this).select("div.legend-circle").style("box-shadow","none")})},t.prototype.hasLegendExpandBtn=function(){return this.container.node().clientWidth<ta.widthBreak||this.container.node().clientHeight<this.container.select("ul.legend").node().clientHeight},t.prototype.isLegendOnRight=function(){return this.container.node().clientWidth>ta.widthBreak&&this.container.node().clientHeight>this.container.select("ul.legend").node().clientHeight},t.prototype.applyLegendFilter=function(t){var e=sa.items.status,n=e.ACTIVE,r=e.DISABLED,i=this.options.keys[t];this.options.keys[t]=i===n?r:n,this.update()},t.prototype.setClickableLegendInTooltip=function(){var t=this;$(this.container).select(".legend-tooltip-content").selectAll(".legend-btn").each(function(){$(this).on("click",function(){t.updateLegend(this)})})},t.prototype.addTooltipOpenButtonToLegend=function(){var t=this;this.container.select(".legend").append("div").attr("class","expand-btn").style("cursor","pointer").on("click",function(){t.openLegendTooltip(this)})},t.prototype.openLegendTooltip=function(t){var e=this;et(".legend-tooltip").remove();var n,r=tt(this.container.node())[0];j.x;if(this.container.select(".legend-tooltip").nodes().length>0)(n=et(".legend-tooltip").style("display","block")).select("arrow").remove();else{(n=this.container.append("div").attr("class","tooltip chart-tooltip legend-tooltip").style("display","block").style("top",tt(this.container.node())[1]-sa.margin.top+"px")).append("p").text("Legend").attr("class","legend-tooltip-header"),n.append("ul").attr("class","legend-tooltip-content").attr("font-size",sa.fontSize),ko.addCloseBtn(n,"md","white").on("click",function(){et(".legend-tooltip").style("display","none")});var i=this.getActiveLegendItems(),o=$(".legend-tooltip-content").attr("font-size",sa.fontSize).selectAll("div").data(this.getLegendItemArray(),function(t){return t.key}).enter().append("li").classed("legend-btn",!0).classed("clickable",this.options.legendClickable).classed("active",function(t){return t.value===sa.items.status.ACTIVE}).classed("not-allowed",function(t){return 1===i.length&&t.value===sa.items.status.ACTIVE}).on("click",function(t,n){if(e.options.legendClickable){var r=!$(j.currentTarget).classed("active");(i.length>1||r)&&(e.updateLegend(j.currentTarget),e.applyLegendFilter(t.key),e.container.selectAll("ul.legend li.legend-btn").data(e.getLegendItemArray(),function(t){return t.key}).classed("active",function(t){return t.value===sa.items.status.ACTIVE}).select("div.legend-circle").style("background-color",function(t,n){return e.getLegendType()===sa.basedOn.LABELS&&t.value===sa.items.status.ACTIVE?e.getStrokeColor(e.displayData.datasets[0].label,t.key,t.value):t.value===sa.items.status.ACTIVE?e.getStrokeColor(t.key):"white"}).style("border-color",function(t){return e.getLegendType()===sa.basedOn.LABELS?e.getStrokeColor(e.displayData.datasets[0].label,t.key,t.value):e.getStrokeColor(t.key)}).style("border-style",sa.inactive.borderStyle).style("border-width",sa.inactive.borderWidth)),2!==i.length||r||e.container.selectAll(".legend-btn.active").classed("not-allowed",!0),1===i.length&&r&&e.container.selectAll(".legend-btn.not-allowed").classed("not-allowed",!1)}});o.append("div").attr("class","legend-circle").style("background-color",function(t,n){return e.getLegendType()===sa.basedOn.LABELS&&t.value===sa.items.status.ACTIVE?e.getStrokeColor(e.displayData.datasets[0].label,t.key,t.value):t.value===sa.items.status.ACTIVE?e.getStrokeColor(t.key):"white"}).style("border-color",function(t){return e.getLegendType()===sa.basedOn.LABELS?e.getStrokeColor(e.displayData.datasets[0].label,t.key,t.value):e.getStrokeColor(t.key)}).style("border-style",sa.inactive.borderStyle).style("border-width",sa.inactive.borderWidth),o.append("text").text(function(t){return t.key})}n.classed("arrow-right",!0),n.append("div").attr("class","arrow"),n.style("left",r-ca-ua+"px"),this.options.legendClickable&&this.addLegendCircleHoverEffect()},t.prototype.showLabelTooltip=function(t,e){var n=this;et(".label-tooltip").remove();var r=tt(this.holder)[0]+ua,i=this.container.append("div").attr("class","tooltip label-tooltip").style("top",tt(this.holder)[1]-fa+"px");if(ko.addCloseBtn(i,"xs").on("click",function(){n.resetOpacity(),et(".tooltip").remove()}),i.append("p").text(t),e)i.classed("arrow-left",!0).style("left",r+"px").append("div").attr("class","arrow");else{i.classed("arrow-right",!0);var o=r-i.node().clientWidth-la;i.style("left",o+"px").append("div").attr("class","arrow")}},t.prototype.hideTooltip=function(){this.resetOpacity(),this.tooltip.hide()},t.prototype.generateTooltipHTML=function(t,e){return this.options.tooltip.size===va.COMPACT?"<b>"+t+":</b> "+e+"<br/>":"\n\t\t\t\t<p class='bignum'>"+t+"</p>\n\t\t\t\t<p>"+e+"</p>\n\t\t\t"},t.prototype.showTooltip=function(t,e){this.resetOpacity();var n,r=this.options.tooltip.customHTML;n=r||this.getTooltipHTML(t),this.tooltip.show(n)},t.prototype.getFillScale=function(){return this.options.accessibility?this.patternScale:this.colorScale},t.prototype.getDefaultTransition=function(){return!1===this.options.animations?this.getInstantTransition():bo().duration(ya.duration)},t.prototype.getInstantTransition=function(){return bo().duration(0)},t.prototype.getFillTransition=function(t){return!1===this.options.animations?this.getInstantTransition():bo().duration(!1===t?0:ya.duration)},t.prototype.getBBox=function(t){return this.innerWrap.select(t).node().getBBox()},t.chartCount=1,t}(),Aa=Array.prototype.slice,Ea=function(t){return t},La=1,Ca=2,Oa=3,Da=4,Ia=1e-6;function Pa(t){return"translate("+(t+.5)+",0)"}function Fa(t){return"translate(0,"+(t+.5)+")"}function Na(){return!this.__axis}function Wa(t,e){var n=[],r=null,i=null,o=6,a=6,s=3,c=t===La||t===Da?-1:1,u=t===Da||t===Ca?"x":"y",l=t===La||t===Oa?Pa:Fa;function f(f){var h=null==r?e.ticks?e.ticks.apply(e,n):e.domain():r,p=null==i?e.tickFormat?e.tickFormat.apply(e,n):Ea:i,d=Math.max(o,0)+s,v=e.range(),y=+v[0]+.5,g=+v[v.length-1]+.5,_=(e.bandwidth?function(t){var e=Math.max(0,t.bandwidth()-1)/2;return t.round()&&(e=Math.round(e)),function(n){return+t(n)+e}}:function(t){return function(e){return+t(e)}})(e.copy()),b=f.selection?f.selection():f,m=b.selectAll(".domain").data([null]),x=b.selectAll(".tick").data(h,e).order(),w=x.exit(),S=x.enter().append("g").attr("class","tick"),M=x.select("line"),k=x.select("text");m=m.merge(m.enter().insert("path",".tick").attr("class","domain").attr("stroke","#000")),x=x.merge(S),M=M.merge(S.append("line").attr("stroke","#000").attr(u+"2",c*o)),k=k.merge(S.append("text").attr("fill","#000").attr(u,c*d).attr("dy",t===La?"0em":t===Oa?"0.71em":"0.32em")),f!==b&&(m=m.transition(f),x=x.transition(f),M=M.transition(f),k=k.transition(f),w=w.transition(f).attr("opacity",Ia).attr("transform",function(t){return isFinite(t=_(t))?l(t):this.getAttribute("transform")}),S.attr("opacity",Ia).attr("transform",function(t){var e=this.parentNode.__axis;return l(e&&isFinite(e=e(t))?e:_(t))})),w.remove(),m.attr("d",t===Da||t==Ca?"M"+c*a+","+y+"H0.5V"+g+"H"+c*a:"M"+y+","+c*a+"V0.5H"+g+"V"+c*a),x.attr("opacity",1).attr("transform",function(t){return l(_(t))}),M.attr(u+"2",c*o),k.attr(u,c*d).text(p),b.filter(Na).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===Ca?"start":t===Da?"end":"middle"),b.each(function(){this.__axis=_})}return f.scale=function(t){return arguments.length?(e=t,f):e},f.ticks=function(){return n=Aa.call(arguments),f},f.tickArguments=function(t){return arguments.length?(n=null==t?[]:Aa.call(t),f):n.slice()},f.tickValues=function(t){return arguments.length?(r=null==t?null:Aa.call(t),f):r&&r.slice()},f.tickFormat=function(t){return arguments.length?(i=t,f):i},f.tickSize=function(t){return arguments.length?(o=a=+t,f):o},f.tickSizeInner=function(t){return arguments.length?(o=+t,f):o},f.tickSizeOuter=function(t){return arguments.length?(a=+t,f):a},f.tickPadding=function(t){return arguments.length?(s=+t,f):s},f}function Ra(t){return Wa(Oa,t)}function ja(t){return Wa(Da,t)}var Ba=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),za=function(t){function e(e,n){var r=t.call(this,e,n)||this;if(r.options=ko.merge({},Qo.AXIS),n.options){r.options=ko.merge({},r.options,n.options);var i=n.options.axis;i&&(r.x=i.x,r.y=i.y,r.y2=i.y2)}return r}return Ba(e,t),e.prototype.setSVG=function(){return t.prototype.setSVG.call(this),this.container.classed("chart-axis",!0),this.innerWrap.append("g").attr("class","x grid"),this.innerWrap.append("g").attr("class","y grid"),this.svg},e.prototype.initialDraw=function(t){if(t&&(this.displayData=t),$(this.holder).select(".axis.x").node()){var e=$(this.holder);this.innerWrap=e.select("g.inner-wrap"),this.svg=e.select("svg.chart-svg")}else this.setSVG(),this.setXScale(),this.setXAxis(),this.setYScale(),this.setYAxis(),this.drawXGrid(),this.drawYGrid(),this.addOrUpdateLegend();this.draw(),this.addDataPointEventListener()},e.prototype.update=function(){this.displayData=this.updateDisplayData(),this.updateXandYGrid(),this.setXScale(),this.setXAxis(),this.setYScale(),this.setYAxis(),this.interpolateValues(this.displayData)},e.prototype.updateDisplayData=function(){var t=ko.clone(this.data),e=this.getActiveLegendItems(),n=Object.assign({},t);if(this.getLegendType()===sa.basedOn.SERIES)n.datasets=t.datasets.filter(function(t){return-1!==e.indexOf(t.label)});else{var r=[];n.labels=t.labels.filter(function(t,n){var i=e.indexOf(t);return-1===i&&r.push(n),-1!==i}),r.length>0&&(n.datasets=t.datasets.map(function(t){return t.data=t.data.filter(function(t,e){return-1===r.indexOf(e)}),t}))}return n},e.prototype.addLabelsToDataPoints=function(t,e){return this.displayData.datasets.map(function(n){return{label:t,datasetLabel:n.label,value:n.data[e]}})},e.prototype.draw=function(){console.warn("You should implement your own `draw()` function.")},e.prototype.interpolateValues=function(t){console.warn("You should implement your own `interpolateValues()` function.")},e.prototype.getChartSize=function(t){var e,n;void 0===t&&(t=this.container),t.node().clientWidth>ta.widthBreak?(e=ta.magicRatio,n=0):(n=ta.marginForLegendTop,e=1);var r=ta.margin.left+ta.margin.right,i={height:t.node().clientHeight-n,width:(t.node().clientWidth-r)*e};return{height:Math.max(i.height,ta.axisCharts.minHeight),width:Math.max(i.width,ta.axisCharts.minWidth)}},e.prototype.resizeChart=function(){this.positionLegend(),(this.innerWrap.select(".axis-label.x").nodes().length>0||this.options.scales.x.title)&&this.repositionXAxisTitle(),(this.innerWrap.select(".axis-label.y").nodes().length>0||this.options.scales.y.title)&&this.repositionYAxisTitle(),this.dispatchEvent("resize")},e.prototype.setXScale=function(t){if(t)this.x=t;else{var e=ta.margin.bar,n=(this.options.scales,this.getChartSize().width-e.left-e.right);this.x=Et().rangeRound([0,n]).padding(ea.x.padding),this.x.domain(this.displayData.labels)}},e.prototype.setXAxis=function(t){var e=this,n=ta.margin.bar,r=this.getChartSize().height-n.top-n.bottom,i=t?this.getInstantTransition():this.getDefaultTransition(),o=Ra(this.x).tickSize(0).tickSizeOuter(0),a=this.svg.select("g.x.axis");a.nodes().length>0?a=this.svg.select("g.x.axis").transition(i).attr("transform","translate(0, "+r+")").call(o):(a=this.innerWrap.append("g").attr("class","x axis")).call(o),a.selectAll("g.tick text").attr("y",ea.magicY1).attr("x",ea.magicX1).attr("dy",".35em").attr("transform","rotate("+ea.xAxisAngle+")").style("text-anchor","end").call(function(t){return e.wrapTick(t)});var s=this.getLargestTickHeight(a.selectAll(".tick"))+ea.tick.heightAddition;0===this.innerWrap.select(".axis-label.x").nodes().length&&this.options.scales.x.title&&a.append("text").attr("class","x axis-label").attr("text-anchor","middle").attr("transform","translate("+a.node().getBBox().width/2+", "+s+")").text(this.options.scales.x.title);var c=this.getChartSize().height-this.svg.select(".x.axis").node().getBBox().height;a.attr("transform","translate(0, "+c+")")},e.prototype.repositionXAxisTitle=function(){var t=this.svg.select("g.x.axis"),e=this.getLargestTickHeight(t.selectAll(".tick"))+ea.tick.heightAddition;this.svg.select("g.x.axis text.x.axis-label").attr("class","x axis-label").attr("text-anchor","middle").attr("transform","translate("+t.node().getBBox().width/2+", "+e+")").text(this.options.scales.x.title)},e.prototype.repositionYAxisTitle=function(){var t=this.svg.select("g.y.axis"),e=this.getLargestTickHeight(t.selectAll(".tick")),n=this.svg.select("g.y.axis text.y.axis-label"),r=t.node().getBBox().height/2,i=this.innerWrap.select(".axis-label.y").node().getBBox().width/2-r,o=-(e+ea.tick.heightAddition);n.attr("class","y axis-label").attr("text-align","center").attr("transform","rotate(-90) translate("+i+", "+o+")").text(this.options.scales.y.title)},e.prototype.getYMax=function(){var t,e=this.displayData.datasets,n=this.options.scales;return t=1===e.length?vt(e[0].data):vt(e,function(t){return vt(t.data)}),n.y.yMaxAdjuster&&(t=n.y.yMaxAdjuster(t)),t},e.prototype.getYMin=function(){var t,e=this.displayData.datasets,n=this.options.scales;return t=1===e.length?yt(e[0].data):yt(e,function(t){return yt(t.data)}),n.y.yMinAdjuster&&(t=n.y.yMinAdjuster(t)),t},e.prototype.setYScale=function(t){var e=this.getChartSize().height-this.innerWrap.select(".x.axis").node().getBBox().height,n=this.options.scales,r=this.getYMin(),i=this.getYMax();t?this.y=t:(this.y=An().range([e,0]),this.y.domain([Math.min(r,0),i])),n.y2&&n.y2.ticks.max&&(this.y2=An().rangeRound([e,0]),this.y2.domain([n.y2.ticks.min,n.y2.ticks.max]))},e.prototype.setYAxis=function(t){var e=this.getChartSize(),n=this.options.scales,r=t?this.getInstantTransition():this.getDefaultTransition(),i=ja(this.y).ticks(n.y.numberOfTicks||ea.y.numberOfTicks).tickSize(0).tickFormat(n.y.formatter),o=this.svg.select("g.y.axis"),a=this.svg.select("line.domain");this.svg.select("g.x.axis path.domain").remove(),o.nodes().length>0?(o.transition(r).call(i),a.transition(r).attr("y1",this.y(0)).attr("y2",this.y(0)).attr("x1",0).attr("x2",e.width)):((o=this.innerWrap.append("g").attr("class","y axis yAxes")).call(i),o.append("line").classed("domain",!0).attr("y1",this.y(0)).attr("y2",this.y(0)).attr("x1",0).attr("x2",e.width).attr("stroke",ea.domain.color).attr("fill",ea.domain.color).attr("stroke-width",ea.domain.strokeWidth));var s=this.getLargestTickHeight(o.selectAll(".tick"));if(0===this.innerWrap.select(".axis-label.y").nodes().length&&this.options.scales.y.title){o.append("text").attr("class","y axis-label").text(this.options.scales.y.title);var c=o.node().getBBox().height/2,u={x:this.innerWrap.select(".axis-label.y").node().getBBox().width/2-c,y:-(s+ea.tick.heightAddition)};this.innerWrap.select(".axis-label.y").attr("transform","rotate(-90) translate("+u.x+", "+u.y+")")}if(ko.moveToFront(a),n.y2&&n.y2.ticks.max){var l=function(t){return Wa(Ca,t)}(this.y2).ticks(n.y2.numberOfTicks||ea.y2.numberOfTicks).tickSize(0).tickFormat(n.y2.formatter),f=this.svg.select("g.y2.axis");f.nodes().length>0?f.transition(r).attr("transform","translate("+this.getChartSize().width+", 0)").call(l):this.innerWrap.append("g").attr("class","y2 axis yAxes").attr("transform","translate("+this.getChartSize().width+", 0)").call(l)}},e.prototype.drawXGrid=function(){var t=this.getChartSize().height-this.getBBox(".x.axis").height,e=Ra(this.x).tickSizeInner(-t).tickSizeOuter(0),n=this.innerWrap.select(".x.grid").attr("transform","translate(0, "+t+")").call(e);this.cleanGrid(n)},e.prototype.drawYGrid=function(){var t=this.options.scales,e=this.options.scales.y.thresholds,n=(this.getChartSize().height,this.getBBox(".x.axis").height,ja(this.y).tickSizeInner(-this.getChartSize().width).tickSizeOuter(0));n.ticks(t.y.numberOfTicks||ea.y.numberOfTicks);var r=this.innerWrap.select(".y.grid").attr("transform","translate(0, 0)").call(n);this.cleanGrid(r),e&&e.length>0&&this.addOrUpdateThresholds(r,!1)},e.prototype.addOrUpdateThresholds=function(t,e){var n=this,r=!1===e?this.getInstantTransition():this.getDefaultTransition(),i=this.getChartSize().width,o=this.options.scales.y.thresholds,a=this.innerWrap.select("g.thresholds").nodes().length>0?this.innerWrap.selectAll("g.thresholds rect"):this.innerWrap.append("g").classed("thresholds",!0).selectAll("rect").data(o),s=function(t){return Math.max(0,n.y(t.range[1]))},c=function(t){var e=Math.abs(n.y(t.range[1])-n.y(t.range[0])),r=n.y(n.y.domain()[0]);return n.y(t.range[1])<0?Math.max(0,e+n.y(t.range[1])):n.y(t.range[1])+e>r?Math.max(0,r-s(t)):Math.max(0,e)},u=function(t){var e=Math.abs(n.y(t.range[1])-n.y(t.range[0]));return n.y(t.range[1])+e<=0?0:1};a.enter().append("rect").classed("threshold-bar",!0).attr("x",0).attr("y",function(t){return s(t)}).attr("width",i).attr("height",function(t){return c(t)}).attr("fill",function(t){return ea.y.thresholds.colors[t.theme]}).style("opacity",0).transition(r).style("opacity",function(t){return u(t)}),a.transition(r).attr("x",0).attr("y",function(t){return s(t)}).attr("width",i).attr("height",function(t){return c(t)}).style("opacity",function(t){return u(t)}).attr("fill",function(t){return ea.y.thresholds.colors[t.theme]}),a.exit().transition(r).style("opacity",0).remove()},e.prototype.updateXandYGrid=function(t){var e=this,n=this.options.scales.y.thresholds;setTimeout(function(){var r=t?e.getInstantTransition():e.getDefaultTransition(),i=e.getChartSize(),o=i.height-e.getBBox(".x.axis").height,a=Ra(e.x).tickSizeInner(-o).tickSizeOuter(0),s=e.innerWrap.select(".x.grid").transition(r).attr("transform","translate(0, "+o+")").call(a);e.cleanGrid(s);var c=ja(e.y).tickSizeInner(-i.width).tickSizeOuter(0).tickFormat(""),u=e.innerWrap.select(".y.grid").transition(r).attr("transform","translate(0, 0)").call(c);u.transition(r),e.cleanGrid(u),n&&n.length>0&&e.addOrUpdateThresholds(u,!t)},0)},e.prototype.cleanGrid=function(t){t.selectAll("line").attr("stroke",na),t.selectAll("text").style("display","none").remove(),t.select(".domain").style("stroke","none")},e.prototype.wrapTick=function(t){var e=this,n=ea.tick.lineHeight;t.each(function(t){var r=$(this),i=r.text();r.selectAll("tspan").nodes().length>1&&(i=r.selectAll("tspan").nodes().map(function(t){return $(t).text()}).join(" "));for(var o,a=i.split(/\s+/).reverse(),s=r.attr("y"),c=parseFloat(r.attr("dy")),u=[],l=0,f=r.text(null).append("tspan").attr("x",0),h=e.x.bandwidth();o=a.pop();){u.push(o),f.text(u.join(" ")),f.node().getComputedTextLength()>h&&(u.pop(),f.text(u.join(" ")),u=[o],f=r.append("tspan").attr("x",0).attr("y",s).attr("dy",++l*n+c+"em").text(o))}})},e.prototype.getLargestTickHeight=function(t){var e=0;return t.each(function(){var t=0;try{t=this.getBBox().height}catch(t){console.log(t)}t>e&&(e=t)}),e},e.prototype.addDataPointEventListener=function(){console.warn("You should implement your own `addDataPointEventListener()` function.")},e}(Ta),Xa=Math.PI,Ua=2*Xa,Va=Ua-1e-6;function Ha(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Ga(){return new Ha}Ha.prototype=Ga.prototype={constructor:Ha,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,i,o){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,e,n,r,i){t=+t,e=+e,n=+n,r=+r,i=+i;var o=this._x1,a=this._y1,s=n-t,c=r-e,u=o-t,l=a-e,f=u*u+l*l;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(f>1e-6)if(Math.abs(l*s-c*u)>1e-6&&i){var h=n-o,p=r-a,d=s*s+c*c,v=h*h+p*p,y=Math.sqrt(d),g=Math.sqrt(f),_=i*Math.tan((Xa-Math.acos((d+f-v)/(2*y*g)))/2),b=_/g,m=_/y;Math.abs(b-1)>1e-6&&(this._+="L"+(t+b*u)+","+(e+b*l)),this._+="A"+i+","+i+",0,0,"+ +(l*h>u*p)+","+(this._x1=t+m*s)+","+(this._y1=e+m*c)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,r,i,o){t=+t,e=+e;var a=(n=+n)*Math.cos(r),s=n*Math.sin(r),c=t+a,u=e+s,l=1^o,f=o?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+c+","+u:(Math.abs(this._x1-c)>1e-6||Math.abs(this._y1-u)>1e-6)&&(this._+="L"+c+","+u),n&&(f<0&&(f=f%Ua+Ua),f>Va?this._+="A"+n+","+n+",0,1,"+l+","+(t-a)+","+(e-s)+"A"+n+","+n+",0,1,"+l+","+(this._x1=c)+","+(this._y1=u):f>1e-6&&(this._+="A"+n+","+n+",0,"+ +(f>=Xa)+","+l+","+(this._x1=t+n*Math.cos(i))+","+(this._y1=e+n*Math.sin(i))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var Ya=Ga,qa=function(t){return function(){return t}},$a=Math.abs,Ja=Math.atan2,Za=Math.cos,Ka=Math.max,Qa=Math.min,ts=Math.sin,es=Math.sqrt,ns=1e-12,rs=Math.PI,is=rs/2,os=2*rs;function as(t){return t>=1?is:t<=-1?-is:Math.asin(t)}function ss(t){return t.innerRadius}function cs(t){return t.outerRadius}function us(t){return t.startAngle}function ls(t){return t.endAngle}function fs(t){return t&&t.padAngle}function hs(t,e,n,r,i,o,a){var s=t-n,c=e-r,u=(a?o:-o)/es(s*s+c*c),l=u*c,f=-u*s,h=t+l,p=e+f,d=n+l,v=r+f,y=(h+d)/2,g=(p+v)/2,_=d-h,b=v-p,m=_*_+b*b,x=i-o,w=h*v-d*p,S=(b<0?-1:1)*es(Ka(0,x*x*m-w*w)),M=(w*b-_*S)/m,k=(-w*_-b*S)/m,T=(w*b+_*S)/m,A=(-w*_+b*S)/m,E=M-y,L=k-g,C=T-y,O=A-g;return E*E+L*L>C*C+O*O&&(M=T,k=A),{cx:M,cy:k,x01:-l,y01:-f,x11:M*(i/x-1),y11:k*(i/x-1)}}var ps=function(){var t=ss,e=cs,n=qa(0),r=null,i=us,o=ls,a=fs,s=null;function c(){var c,u,l=+t.apply(this,arguments),f=+e.apply(this,arguments),h=i.apply(this,arguments)-is,p=o.apply(this,arguments)-is,d=$a(p-h),v=p>h;if(s||(s=c=Ya()),f<l&&(u=f,f=l,l=u),f>ns)if(d>os-ns)s.moveTo(f*Za(h),f*ts(h)),s.arc(0,0,f,h,p,!v),l>ns&&(s.moveTo(l*Za(p),l*ts(p)),s.arc(0,0,l,p,h,v));else{var y,g,_=h,b=p,m=h,x=p,w=d,S=d,M=a.apply(this,arguments)/2,k=M>ns&&(r?+r.apply(this,arguments):es(l*l+f*f)),T=Qa($a(f-l)/2,+n.apply(this,arguments)),A=T,E=T;if(k>ns){var L=as(k/l*ts(M)),C=as(k/f*ts(M));(w-=2*L)>ns?(m+=L*=v?1:-1,x-=L):(w=0,m=x=(h+p)/2),(S-=2*C)>ns?(_+=C*=v?1:-1,b-=C):(S=0,_=b=(h+p)/2)}var O=f*Za(_),D=f*ts(_),I=l*Za(x),P=l*ts(x);if(T>ns){var F=f*Za(b),N=f*ts(b),W=l*Za(m),R=l*ts(m);if(d<rs){var j=w>ns?function(t,e,n,r,i,o,a,s){var c=n-t,u=r-e,l=a-i,f=s-o,h=(l*(e-o)-f*(t-i))/(f*c-l*u);return[t+h*c,e+h*u]}(O,D,W,R,F,N,I,P):[I,P],B=O-j[0],z=D-j[1],X=F-j[0],U=N-j[1],V=1/ts(function(t){return t>1?0:t<-1?rs:Math.acos(t)}((B*X+z*U)/(es(B*B+z*z)*es(X*X+U*U)))/2),H=es(j[0]*j[0]+j[1]*j[1]);A=Qa(T,(l-H)/(V-1)),E=Qa(T,(f-H)/(V+1))}}S>ns?E>ns?(y=hs(W,R,O,D,f,E,v),g=hs(F,N,I,P,f,E,v),s.moveTo(y.cx+y.x01,y.cy+y.y01),E<T?s.arc(y.cx,y.cy,E,Ja(y.y01,y.x01),Ja(g.y01,g.x01),!v):(s.arc(y.cx,y.cy,E,Ja(y.y01,y.x01),Ja(y.y11,y.x11),!v),s.arc(0,0,f,Ja(y.cy+y.y11,y.cx+y.x11),Ja(g.cy+g.y11,g.cx+g.x11),!v),s.arc(g.cx,g.cy,E,Ja(g.y11,g.x11),Ja(g.y01,g.x01),!v))):(s.moveTo(O,D),s.arc(0,0,f,_,b,!v)):s.moveTo(O,D),l>ns&&w>ns?A>ns?(y=hs(I,P,F,N,l,-A,v),g=hs(O,D,W,R,l,-A,v),s.lineTo(y.cx+y.x01,y.cy+y.y01),A<T?s.arc(y.cx,y.cy,A,Ja(y.y01,y.x01),Ja(g.y01,g.x01),!v):(s.arc(y.cx,y.cy,A,Ja(y.y01,y.x01),Ja(y.y11,y.x11),!v),s.arc(0,0,l,Ja(y.cy+y.y11,y.cx+y.x11),Ja(g.cy+g.y11,g.cx+g.x11),v),s.arc(g.cx,g.cy,A,Ja(g.y11,g.x11),Ja(g.y01,g.x01),!v))):s.arc(0,0,l,x,m,v):s.lineTo(I,P)}else s.moveTo(0,0);if(s.closePath(),c)return s=null,c+""||null}return c.centroid=function(){var n=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-rs/2;return[Za(r)*n,ts(r)*n]},c.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:qa(+e),c):t},c.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:qa(+t),c):e},c.cornerRadius=function(t){return arguments.length?(n="function"==typeof t?t:qa(+t),c):n},c.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:qa(+t),c):r},c.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:qa(+t),c):i},c.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:qa(+t),c):o},c.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:qa(+t),c):a},c.context=function(t){return arguments.length?(s=null==t?null:t,c):s},c};function ds(t){this._context=t}ds.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}};var vs=function(t){return new ds(t)};function ys(t){return t[0]}function gs(t){return t[1]}var _s=function(){var t=ys,e=gs,n=qa(!0),r=null,i=vs,o=null;function a(a){var s,c,u,l=a.length,f=!1;for(null==r&&(o=i(u=Ya())),s=0;s<=l;++s)!(s<l&&n(c=a[s],s,a))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+t(c,s,a),+e(c,s,a));if(u)return o=null,u+""||null}return a.x=function(e){return arguments.length?(t="function"==typeof e?e:qa(+e),a):t},a.y=function(t){return arguments.length?(e="function"==typeof t?t:qa(+t),a):e},a.defined=function(t){return arguments.length?(n="function"==typeof t?t:qa(!!t),a):n},a.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),a):i},a.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),a):r},a},bs=function(t,e){return e<t?-1:e>t?1:e>=t?0:NaN},ms=function(t){return t};ws(vs);function xs(t){this._curve=t}function ws(t){function e(e){return new xs(t(e))}return e._curve=t,e}xs.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};var Ss=Array.prototype.slice;Math.sqrt(1/3);var Ms=Math.sin(rs/10)/Math.sin(7*rs/10),ks=(Math.sin(os/10),Math.cos(os/10),Math.sqrt(3),Math.sqrt(3),Math.sqrt(12),function(){});function Ts(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function As(t){this._context=t}As.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Ts(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Ts(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Es(t){this._context=t}Es.prototype={areaStart:ks,areaEnd:ks,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:Ts(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Ls(t){this._context=t}Ls.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:Ts(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};function Cs(t,e){this._basis=new As(t),this._beta=e}Cs.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,i=t[0],o=e[0],a=t[n]-i,s=e[n]-o,c=-1;++c<=n;)r=c/n,this._basis.point(this._beta*t[c]+(1-this._beta)*(i+r*a),this._beta*e[c]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var Os=function t(e){function n(t){return 1===e?new As(t):new Cs(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function Ds(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function Is(t,e){this._context=t,this._k=(1-e)/6}Is.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Ds(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:Ds(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Ps=function t(e){function n(t){return new Is(t,e)}return n.tension=function(e){return t(+e)},n}(0);function Fs(t,e){this._context=t,this._k=(1-e)/6}Fs.prototype={areaStart:ks,areaEnd:ks,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Ds(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Ns=function t(e){function n(t){return new Fs(t,e)}return n.tension=function(e){return t(+e)},n}(0);function Ws(t,e){this._context=t,this._k=(1-e)/6}Ws.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Ds(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Rs=function t(e){function n(t){return new Ws(t,e)}return n.tension=function(e){return t(+e)},n}(0);function js(t,e,n){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>ns){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>ns){var u=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*u+t._x1*t._l23_2a-e*t._l12_2a)/l,a=(a*u+t._y1*t._l23_2a-n*t._l12_2a)/l}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function Bs(t,e){this._context=t,this._alpha=e}Bs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:js(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var zs=function t(e){function n(t){return e?new Bs(t,e):new Is(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Xs(t,e){this._context=t,this._alpha=e}Xs.prototype={areaStart:ks,areaEnd:ks,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:js(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Us=function t(e){function n(t){return e?new Xs(t,e):new Fs(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Vs(t,e){this._context=t,this._alpha=e}Vs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:js(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Hs=function t(e){function n(t){return e?new Vs(t,e):new Ws(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Gs(t){this._context=t}Gs.prototype={areaStart:ks,areaEnd:ks,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};function Ys(t){return t<0?-1:1}function qs(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(n-t._y1)/(i||r<0&&-0),s=(o*i+a*r)/(r+i);return(Ys(o)+Ys(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function $s(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function Js(t,e,n){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,s=(o-r)/3;t._context.bezierCurveTo(r+s,i+s*e,o-s,a-s*n,o,a)}function Zs(t){this._context=t}function Ks(t){this._context=new Qs(t)}function Qs(t){this._context=t}function tc(t){this._context=t}function ec(t){var e,n,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/o[e-1],o[e]-=n,a[e]-=n*a[e-1];for(i[r-1]=a[r-1]/o[r-1],e=r-2;e>=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(o[r-1]=(t[r]+i[r-1])/2,e=0;e<r-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}Zs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Js(this,this._t0,$s(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,Js(this,$s(this,n=qs(this,t,e)),n);break;default:Js(this,this._t0,n=qs(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(Ks.prototype=Object.create(Zs.prototype)).point=function(t,e){Zs.prototype.point.call(this,e,t)},Qs.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,o){this._context.bezierCurveTo(e,t,r,n,o,i)}},tc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=ec(t),i=ec(e),o=0,a=1;a<n;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[a],e[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}};function nc(t,e){this._context=t,this._t=e}nc.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};var rc=function(t,e){if((i=t.length)>1)for(var n,r,i,o=1,a=t[e[0]],s=a.length;o<i;++o)for(r=a,a=t[e[o]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]},ic=function(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e;return n};function oc(t,e){return t[e]}var ac=function(){var t=qa([]),e=ic,n=rc,r=oc;function i(i){var o,a,s=t.apply(this,arguments),c=i.length,u=s.length,l=new Array(u);for(o=0;o<u;++o){for(var f,h=s[o],p=l[o]=new Array(c),d=0;d<c;++d)p[d]=f=[0,+r(i[d],h,d,i)],f.data=i[d];p.key=h}for(o=0,a=e(l);o<u;++o)l[a[o]].index=o;return n(l,a),l}return i.keys=function(e){return arguments.length?(t="function"==typeof e?e:qa(Ss.call(e)),i):t},i.value=function(t){return arguments.length?(r="function"==typeof t?t:qa(+t),i):r},i.order=function(t){return arguments.length?(e=null==t?ic:"function"==typeof t?t:qa(Ss.call(t)),i):e},i.offset=function(t){return arguments.length?(n=null==t?rc:t,i):n},i};var sc=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),cc=function(t){function e(e,n,r){void 0===r&&(r=Oo.PIE);var i=t.call(this,e,n)||this;return i.getTooltipHTML=function(t){return i.generateTooltipHTML(t.data.label,t.value.toLocaleString())},i.options.type=r,i.colorScale=At(i.options.colors),i}return sc(e,t),e.prototype.dataProcessor=function(t){t.datasets.length>1&&console.warn("Currently the Pie & Donut charts support a single dataset,\n\t\t\t\tyou appear to have more than that. Will only use your first provided dataset.");var e=ko.getDuplicateValues(t.labels);e.length>0&&console.error(ko.capitalizeFirstLetter(this.options.type)+" Chart - You have duplicate keys",e);var n=t.datasets[0].data.map(function(e,n){return{label:t.labels[n],value:e}}).sort(function(t,e){return e.value-t.value}),r=oa.sliceLimit,i=n.slice(r),o=i.reduce(function(t,e){return t+e.value},0),a=n.findIndex(function(t){return"Other"===t.label});return-1!==a?n.push(n.splice(a,1)[0]):i.length>0&&(n=n.slice(0,r).concat([{label:oa.label.other,value:o,items:i}])),{labels:n.map(function(t,e){return t.label}),datasets:[{backgroundColors:t.datasets[0].backgroundColors,chartType:t.datasets[0].chartType,label:t.datasets[0].label,data:n}]}},e.prototype.initialDraw=function(){this.setSVG(),this.addOrUpdateLegend(),this.draw(),this.addDataPointEventListener()},e.prototype.draw=function(){var t=this,e=this.displayData.datasets[0].data,n=this.getChartSize(this.container),r=Math.min(n.width,n.height),i=r/2;$(this.holder).select("svg").attr("width",r+"px").attr("height",r+"px"),this.innerWrap.style("transform","translate("+i+"px,"+i+"px)").attr("width",r+"px").attr("height",r+"px").attr("preserveAspectRatio","xMinYMin");var o=this.computeRadius();this.arc=ps().innerRadius("donut"===this.options.type?.75*o:2).outerRadius(o),this.pie=function(){var t=ms,e=bs,n=null,r=qa(0),i=qa(os),o=qa(0);function a(a){var s,c,u,l,f,h=a.length,p=0,d=new Array(h),v=new Array(h),y=+r.apply(this,arguments),g=Math.min(os,Math.max(-os,i.apply(this,arguments)-y)),_=Math.min(Math.abs(g)/h,o.apply(this,arguments)),b=_*(g<0?-1:1);for(s=0;s<h;++s)(f=v[d[s]=s]=+t(a[s],s,a))>0&&(p+=f);for(null!=e?d.sort(function(t,n){return e(v[t],v[n])}):null!=n&&d.sort(function(t,e){return n(a[t],a[e])}),s=0,u=p?(g-h*b)/p:0;s<h;++s,y=l)c=d[s],l=y+((f=v[c])>0?f*u:0)+b,v[c]={data:a[c],index:s,value:f,startAngle:y,endAngle:l,padAngle:_};return v}return a.value=function(e){return arguments.length?(t="function"==typeof e?e:qa(+e),a):t},a.sortValues=function(t){return arguments.length?(e=t,n=null,a):e},a.sort=function(t){return arguments.length?(n=t,e=null,a):n},a.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:qa(+t),a):r},a.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:qa(+t),a):i},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:qa(+t),a):o},a}().value(function(t){return t.value}).sort(null).padAngle(.007),this.path=this.innerWrap.selectAll("path").data(this.pie(e)).enter().append("path").attr("d",this.arc).attr("fill",function(e){return t.getFillColor(t.displayData.datasets[0].label,e.data.label,e.data.value)}).attr("stroke",function(e){return t.getStrokeColor(t.displayData.datasets[0].label,e.data.label,e.data.value)}).attr("stroke-width",oa.default.strokeWidth).attr("stroke-opacity",function(e){return t.options.accessibility?1:0}).each(function(t){this._current=t});var a=this;this.innerWrap.selectAll("text.chart-label").data(this.pie(e),function(t){return t.data.label}).enter().append("text").classed("chart-label",!0).attr("dy",oa.label.dy).style("text-anchor","middle").text(function(t){return ko.convertValueToPercentage(t.data.value,e)}).attr("transform",function(t){return a.deriveTransformString(this,t,i)}),this.chartOverlay.hide()},e.prototype.interpolateValues=function(t){var e=this,n=t.datasets[0].data,r=this,i=this.innerWrap.selectAll("path").data(this.pie(n));i.transition().duration(0).attr("stroke",function(t){return e.getStrokeColor(e.displayData.datasets[0].label,t.data.label,t.data.value)}).attr("stroke-width",oa.default.strokeWidth).attr("stroke-opacity",function(t){return e.options.accessibility?1:0}).transition().style("opacity",1).duration(ya.duration).attr("fill",function(t){return e.getFillColor(e.displayData.datasets[0].label,t.data.label,t.data.value)}).attrTween("d",function(t){return uc.bind(this)(t,r.arc)}),i.enter().append("path").attr("d",this.arc).transition().duration(0).style("opacity",0).attr("stroke",function(t){return e.getStrokeColor(e.displayData.datasets[0].label,t.data.label,t.data.value)}).attr("stroke-width",oa.default.strokeWidth).attr("stroke-opacity",function(t){return e.options.accessibility?1:0}).transition().duration(ya.duration).attr("fill",function(t){return e.getFillColor(e.displayData.datasets[0].label,t.data.label,t.data.value)}).style("opacity",1).attrTween("d",function(t){return uc.bind(this)(t,r.arc)}),i.exit().attr("d",this.arc).transition().duration(ya.duration).style("opacity",0).remove(),this.innerWrap.selectAll("text.chart-label").transition().duration(ya.duration/2).style("opacity",0).on("end",function(t){$(this).transition().duration(ya.duration/2).style("opacity",1)});var o=this.computeRadius();setTimeout(function(){var t=e.innerWrap.selectAll("text.chart-label").data(e.pie(n),function(t){return t.label});t.enter().append("text").classed("chart-label",!0).attr("dy",oa.label.dy).style("text-anchor","middle").text(function(t){return ko.convertValueToPercentage(t.data.value,n)}).attr("transform",function(t){return r.deriveTransformString(this,t,o)}).style("opacity",0).transition().duration(ya.duration/2).style("opacity",1),t.style("text-anchor","middle").text(function(t){return ko.convertValueToPercentage(t.data.value,n)}).attr("transform",function(t){return r.deriveTransformString(this,t,o)}).transition().duration(ya.duration/2).style("opacity",1),t.exit().remove()},ya.duration/2),this.addDataPointEventListener(),this.reduceOpacity(),this.chartOverlay.hide()},e.prototype.reduceOpacity=function(t){var e=this;t&&($(t).attr("fill-opacity",!1),$(t).attr("stroke-opacity",ta.reduceOpacity.opacity),$(t).attr("fill",function(t){return e.getFillColor(e.displayData.datasets[0].label,t.data.label,t.data.value)}))},e.prototype.addDataPointEventListener=function(){var t=this,e=this.options.accessibility;this.innerWrap.selectAll("path").on("click",function(e){return t.dispatchEvent("pie-slice-onClick",e)}).on("mouseover",function(e){var n=$(this);ko.moveToFront(n),n.attr("stroke-width",oa.mouseover.strokeWidth).attr("stroke-opacity",oa.mouseover.strokeOpacity).attr("stroke",t.getStrokeColor(t.displayData.datasets[0].label,e.data.label,e.data.value)),t.showTooltip(e),t.reduceOpacity(this)}).on("mousemove",function(e){return t.tooltip.positionTooltip()}).on("mouseout",function(n){$(this).attr("stroke-width",e?oa.default.strokeWidth:oa.mouseout.strokeWidth).attr("stroke",e?t.getStrokeColor(t.displayData.datasets[0].label,n.data.label,n.data.value):"none").attr("stroke-opacity",oa.mouseout.strokeOpacity),t.hideTooltip()})},e.prototype.update=function(t){var e=ko.clone(this.displayData),n=this.getActiveLegendItems(),r=Object.assign({},e);r.datasets[0].data=e.datasets[0].data.filter(function(t){return-1!==n.indexOf(t.label)}),r.labels=r.datasets[0].data.map(function(t){return t.label}),this.interpolateValues(r)},e.prototype.resizeChart=function(){var t=this.getChartSize(this.container),e=Math.min(t.width,t.height),n=this.computeRadius();$(this.holder).select("svg").attr("width",e+"px").attr("height",e+"px"),this.innerWrap.style("transform","translate("+n+"px,"+n+"px)"),this.arc=ps().innerRadius("donut"===this.options.type?.75*n:2).outerRadius(n),this.innerWrap.selectAll("path").attr("d",this.arc);var r=this;this.innerWrap.selectAll("text.chart-label").attr("transform",function(t){return r.deriveTransformString(this,t,n)}),this.positionLegend()},e.prototype.computeRadius=function(){var t=this.getChartSize(this.container);return Math.min(t.width,t.height)/2},e.prototype.deriveTransformString=function(t,e,n){var r=t.getComputedTextLength()/2,i=parseFloat(getComputedStyle(t).fontSize)/2,o=n+oa.label.margin,a=(e.endAngle-e.startAngle)/2+e.startAngle;return"translate("+(r+o)*Math.sin(a)+", "+(i+o)*-Math.cos(a)+")"},e}(Ta);function uc(t,e){var n=this,r=Ve(this._current,t);return function(t){return n._current=r(t),e(n._current)}}var lc=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),fc=function(){function t(t){t?(this.configs=t,this.oldConfigs=ko.merge({},t)):console.error("Configuration object is missing for DonutCenter")}return t.prototype.draw=function(t){t.append("text").attr("class","donut-figure").attr("text-anchor","middle").text(this.configs.number.toLocaleString()),t.append("text").attr("class","donut-title").attr("text-anchor","middle").attr("y",aa.title.y).text(this.configs.label),this.donutSVG=t},t.prototype.update=function(){var t=this.configs;if(this.oldConfigs!==t){var e=this.configs.number;this.donutSVG.select("text.donut-figure").transition().duration(ya.duration).tween("text",function(){return function(t,e){var n=parseInt(t.text().replace(/[, ]+/g,""),10),r=Ne(n,e);return function(e){t.text(function(t){return Math.floor(t).toLocaleString()}(r(e)))}}($(this),e)}),this.donutSVG.select("text.donut-title").text(this.configs.label),this.oldConfigs=ko.merge({},this.configs)}},t.prototype.resize=function(t,e){var n=Math.min(e.width,e.height),r=n/oa.maxWidth;n<aa.breakpoint&&(t.select("text.donut-figure").style("font-size",aa.numberFontSize*r*aa.magicScaleRatio+"px"),t.select("text.donut-title").style("font-size",aa.titleFontSize*r*aa.magicScaleRatio+"px").attr("y",aa.title.y*r*aa.magicScaleRatio))},t}(),hc=function(t){function e(e,n){var r=t.call(this,e,n,Oo.DONUT)||this,i=n.options,o=i.center,a=i.centerLabel,s=i.centerNumber;if(o||a||s){var c=r.getSuppliedCenterConfigs();r.center=new fc(c)}return r}return lc(e,t),e.prototype.draw=function(){t.prototype.draw.call(this),this.center&&(this.setCenterConfigs(),this.center.draw(this.innerWrap))},e.prototype.resizeChart=function(){this.innerWrap&&(t.prototype.resizeChart.call(this),this.center&&this.center.resize(this.innerWrap,this.getChartSize(this.container)))},e.prototype.update=function(){t.prototype.update.call(this),this.center&&(this.setCenterConfigs(),this.center.update())},e.prototype.getSuppliedCenterConfigs=function(){var t=this.options,e=t.center,n=t.centerLabel,r=t.centerNumber,i=e?e.label:n,o=e?e.number:r;((n||r)&&console.warn("`centerLabel` & `centerNumber` are deprecated and will be removed in v1.0, you should switch to",{center:{label:"test",number:10}}),!o&&this.displayData)&&(o=this.displayData.datasets[0].data.reduce(function(t,e){return t+e.value},0));return{label:i,number:o}},e.prototype.setCenterConfigs=function(){this.center.configs=this.getSuppliedCenterConfigs()},e}(cc);var pc=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),dc=function(t){return Object.keys(t).map(function(e){"object"==typeof t[e]&&(t[e].datasetLabel=t.key,t[e].label=t[e].data.label,t[e].value=t[e].data[t.key])}),t},vc=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.options.type=Oo.BAR,r}return pc(e,t),e.prototype.getYMax=function(){var t,e=this.displayData,n=e.datasets,r=e.labels,i=this.options.scales;return t=1===n.length?vt(n[0].data):vt(r.map(function(t,e){return n.map(function(t){return t.data[e]}).reduce(function(t,e){return t+e},0)})),i.y.yMaxAdjuster&&(t=i.y.yMaxAdjuster(t)),t},e.prototype.getStackData=function(){var t=this;return this.displayData.labels.map(function(e,n){var r={};return t.displayData.datasets.forEach(function(t){r[t.label]=t.data[n]}),r.label=e,r})},e.prototype.getBarX=function(t){return 0},e.prototype.draw=function(){var t=this;this.innerWrap.style("width","100%").style("height","100%");var e=ta.margin.bar;this.innerWrap.attr("transform","translate("+e.left+", "+e.top+")");var n=this.getStackData(),r=this.displayData.datasets.map(function(t){return t.label});this.innerWrap.append("g").classed("bars-wrapper",!0).selectAll("g").data(ac().keys(r)(n)).enter().append("g").classed("bars",!0).selectAll("rect").data(function(t){return dc(t)}).enter().append("rect").classed("bar",!0).attr("x",function(e){return t.x(e.data.label)}).attr("y",function(e){return t.y(e[1])}).attr("height",function(e){return t.y(e[0])-t.y(e[1])}).attr("width",function(e){return t.x.bandwidth()}).attr("fill",function(e){return t.getFillColor(e.datasetLabel,e.data.label,e.data.value)}).attr("stroke",function(e){return t.options.accessibility?t.getStrokeColor(e.datasetLabel,e.label,e.value):null}).attr("stroke-width",ra.default.strokeWidth).attr("stroke-opacity",function(e){return t.options.accessibility?1:0}),this.chartOverlay.hide(),this.dispatchEvent("load")},e.prototype.interpolateValues=function(t){var e=this,n=this.getStackData(),r=this.displayData.datasets.map(function(t){return t.label});this.innerWrap.selectAll(".removed").remove();var i=this.innerWrap.selectAll("g.bars-wrapper").selectAll("g").data(ac().keys(r)(n)),o=i.selectAll("rect.bar").data(function(t){return dc(t)});this.updateElements(!0,i.selectAll("rect.bar"),i);var a=function(t){t.enter().append("rect").classed("bar",!0).attr("x",function(t){return e.x(t.data.label)}).attr("y",function(t){return e.y(t[1])}).attr("height",function(t){return e.y(t[0])-e.y(t[1])}).attr("width",function(t){return e.x.bandwidth()}).attr("fill",function(t){return e.getFillColor(t.datasetLabel,t.data.label,t.data.value)}).style("opacity",0).transition(e.getFillTransition()).style("opacity",1).attr("stroke",function(t){return e.options.accessibility?e.getStrokeColor(t.datasetLabel,t.label,t.value):null}).attr("stroke-width",ra.default.strokeWidth).attr("stroke-opacity",function(t){return e.options.accessibility?1:0})};a(i.enter().append("g").classed("bars",!0).selectAll("rect").data(function(t){return dc(t)})),a(o),i.exit().classed("removed",!0).transition(this.getDefaultTransition()).style("opacity",0).remove(),o.exit().classed("removed",!0).transition(this.getDefaultTransition()).style("opacity",0).remove(),this.addDataPointEventListener(),this.chartOverlay.hide(),this.dispatchEvent("update")},e.prototype.resizeChart=function(){var e=this.getChartSize(this.container),n=Math.min(e.width,e.height);$(this.holder).select("svg").attr("width",n+"px").attr("height",n+"px"),this.updateXandYGrid(!0),this.setXScale(),this.setYScale(),this.setXAxis(!0),this.setYAxis(!0);var r=this.innerWrap.selectAll("g.bars g");this.updateElements(!1,null,r),t.prototype.resizeChart.call(this)},e.prototype.updateElements=function(t,e,n){var r=this;e||(e=this.innerWrap.selectAll("rect.bar")),e.transition(t?this.getFillTransition():this.getInstantTransition()).style("opacity",1).attr("x",function(t){return r.x(t.data.label)}).attr("y",function(t){return r.y(t[1])}).attr("height",function(t){return r.y(t[0])-r.y(t[1])}).attr("width",function(t){return r.x.bandwidth()}).attr("fill",function(t){return r.getFillColor(t.datasetLabel,t.data.label,t.data.value)}).attr("stroke",function(t){return r.options.accessibility?r.getStrokeColor(t.datasetLabel,t.label,t.value):null}).attr("stroke-width",ra.default.strokeWidth).attr("stroke-opacity",function(t){return r.options.accessibility?1:0})},e.prototype.addDataPointEventListener=function(){var t=this,e=this.options.accessibility;this.svg.selectAll("rect").on("click",function(e){return t.dispatchEvent("bar-onClick",e)}).on("mouseover",function(e){$(this).attr("stroke-width",ra.mouseover.strokeWidth).attr("stroke",t.getStrokeColor(e.datasetLabel,e.label,e.value)).attr("stroke-opacity",ra.mouseover.strokeOpacity),t.showTooltip(e,this),t.reduceOpacity(this)}).on("mousemove",function(e){return t.tooltip.positionTooltip()}).on("mouseout",function(n){var r=ra.mouseout,i=r.strokeWidth,o=r.strokeWidthAccessible;$(this).attr("stroke-width",e?o:i).attr("stroke",e?t.getStrokeColor(n.datasetLabel,n.label,n.value):"none").attr("stroke-opacity",ra.mouseout.strokeOpacity),t.hideTooltip()})},e}(za),yc=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),gc=function(t){var e,n=t.data.datasets,r=t.options.scales;return e=1===n.length?yt(n[0].data):yt(n,function(t){return yt(t.data)}),r.y.yMinAdjuster&&(e=r.y.yMinAdjuster(e)),e},_c=function(t,e){return t?e<=t?e:t:e},bc=function(t){function e(e,n){var r=this;if(n.options.scales.y.stacked){if(gc(n)>=0)return new vc(e,n);console.error("Negative values are not supported in StackedBarChart, using GroupedBarChart instead to render!")}if(r=t.call(this,e,n)||this,n.options?r.options=ko.merge({},Qo.BAR,n.options):r.options=ko.merge({},Qo.BAR),n.options.axis){var i=ta.margin.bar,o=r.getChartSize().width-i.left-i.right;r.x1=Et().rangeRound([0,o]).padding(ra.spacing.bars),r.x1.domain(r.data.datasets.map(function(t){return t.label})).rangeRound([0,_c(ko.getProperty(r.options,"bars","maxWidth"),r.x.bandwidth())])}return r.options.type=Oo.BAR,r}return yc(e,t),e.prototype.setXScale=function(t){var e=ta.margin.bar,n=this.getChartSize().width-e.left-e.right;t?this.x=t:(this.x=Et().rangeRound([0,n]).padding(ra.spacing.datasets),this.x.domain(this.displayData.labels)),this.displayData.datasets.length>1?this.x1=Et().rangeRound([0,n]).padding(ra.spacing.bars):this.x1=Et().rangeRound([0,n]),this.x1.domain(this.displayData.datasets.map(function(t){return t.label})).rangeRound([0,_c(ko.getProperty(this.options,"bars","maxWidth"),this.x.bandwidth())])},e.prototype.getBarX=function(t){return function(t,e){return!(!t||e<=t)}(ko.getProperty(this.options,"bars","maxWidth"),this.x.bandwidth())?this.x.bandwidth()/2-ko.getProperty(this.options,"bars","maxWidth")/2:this.x1(t.datasetLabel)},e.prototype.draw=function(){var t=this;this.innerWrap.style("width","100%").style("height","100%");var e=ta.margin.bar,n=this.getChartSize(),r=n.width-e.left-e.right;n.height,this.getBBox(".x.axis").height;this.innerWrap.attr("transform","translate("+e.left+", "+e.top+")").append("g").classed("bars",!0).attr("width",r).selectAll("g").data(this.displayData.labels).enter().append("g").attr("transform",function(e){return"translate("+t.x(e)+", 0)"}).selectAll("rect.bar").data(function(e,n){return t.addLabelsToDataPoints(e,n)}).enter().append("rect").classed("bar",!0).attr("x",this.getBarX.bind(this)).attr("y",function(e){return t.y(Math.max(0,e.value))}).attr("width",this.x1.bandwidth()).attr("height",function(e){return Math.abs(t.y(e.value)-t.y(0))}).attr("fill",function(e){return t.getFillColor(e.datasetLabel,e.label,e.value)}).attr("stroke",function(e){return t.options.accessibility?t.getStrokeColor(e.datasetLabel,e.label,e.value):null}).attr("stroke-width",ra.default.strokeWidth).attr("stroke-opacity",function(e){return t.options.accessibility?1:0}),this.chartOverlay.hide(),this.dispatchEvent("load")},e.prototype.interpolateValues=function(t){var e=this,n=ta.margin.bar,r=this.getChartSize(),i=r.width-n.left-n.right,o=(r.height,this.getBBox(".x.axis").height,this.innerWrap.select("g.bars").attr("width",i).selectAll("g").data(this.displayData.labels)),a=o.selectAll("rect.bar").data(function(t,n){return e.addLabelsToDataPoints(t,n)});this.updateElements(!0,a,o);var s=o.enter().append("g").classed("bars",!0).attr("transform",function(t){return"translate("+e.x(t)+", 0)"});o.selectAll("rect.bar").data(function(t,n){return e.addLabelsToDataPoints(t,n)}).enter().append("rect").attr("class","bar").attr("x",this.getBarX.bind(this)).attr("y",function(t){return e.y(Math.max(0,t.value))}).attr("width",this.x1.bandwidth()).attr("height",function(t){return Math.abs(e.y(t.value)-e.y(0))}).style("opacity",0).transition(this.getFillTransition()).attr("fill",function(t){return e.getFillColor(t.datasetLabel,t.label,t.value)}).style("opacity",1).attr("stroke",function(t){return e.getStrokeColor(t.datasetLabel,t.label,t.value)}).attr("stroke-width",ra.default.strokeWidth),s.selectAll("rect.bar").data(function(t,n){return e.addLabelsToDataPoints(t,n)}).enter().append("rect").attr("class","bar").attr("x",this.getBarX.bind(this)).attr("y",function(t){return e.y(Math.max(0,t.value))}).attr("width",this.x1.bandwidth()).attr("height",function(t){return Math.abs(e.y(t.value)-e.y(0))}).style("opacity",0).transition(this.getFillTransition()).attr("fill",function(t){return e.getFillColor(t.datasetLabel,t.label,t.value)}).style("opacity",1).attr("stroke",function(t){return e.getStrokeColor(t.datasetLabel,t.label,t.value)}).attr("stroke-width",ra.default.strokeWidth),o.exit().transition(this.getDefaultTransition()).style("opacity",0).remove(),a.exit().transition(this.getDefaultTransition()).style("opacity",0).remove(),this.addDataPointEventListener(),this.chartOverlay.hide(),this.dispatchEvent("update")},e.prototype.updateElements=function(t,e,n){var r=this;e||(e=this.innerWrap.selectAll("rect.bar")),n&&n.transition(t?this.getDefaultTransition():this.getInstantTransition()).attr("transform",function(t){return"translate("+r.x(t)+", 0)"}).style("opacity",1),e.transition(t?this.getFillTransition():this.getInstantTransition()).style("opacity",1).attr("x",this.getBarX.bind(this)).attr("y",function(t){return r.y(Math.max(0,t.value))}).attr("width",this.x1.bandwidth()).attr("height",function(t){return Math.abs(r.y(t.value)-r.y(0))}).attr("fill",function(t){return r.getFillColor(t.datasetLabel,t.label,t.value)}).attr("stroke",function(t){return r.options.accessibility?r.getStrokeColor(t.datasetLabel,t.label,t.value):null})},e.prototype.resizeChart=function(){var e=this.getChartSize(this.container),n=Math.min(e.width,e.height);$(this.holder).select("svg").attr("width",n+"px").attr("height",n+"px"),this.updateXandYGrid(!0),this.setXScale(),this.setYScale(),this.setXAxis(!0),this.setYAxis(!0);var r=this.innerWrap.selectAll("g.bars g");this.updateElements(!1,null,r),t.prototype.resizeChart.call(this)},e.prototype.addDataPointEventListener=function(){var t=this,e=this,n=this.options.accessibility;this.svg.selectAll("rect.bar").on("click",function(t){return e.dispatchEvent("bar-onClick",t)}).on("mouseover",function(t){$(this).attr("stroke-width",ra.mouseover.strokeWidth).attr("stroke",e.getStrokeColor(t.datasetLabel,t.label,t.value)).attr("stroke-opacity",ra.mouseover.strokeOpacity),e.showTooltip(t,this),e.reduceOpacity(this)}).on("mousemove",function(e){return t.tooltip.positionTooltip()}).on("mouseout",function(t){var r=ra.mouseout,i=r.strokeWidth,o=r.strokeWidthAccessible;$(this).attr("stroke-width",n?o:i).attr("stroke",n?e.getStrokeColor(t.datasetLabel,t.label,t.value):"none").attr("stroke-opacity",ra.mouseout.strokeOpacity),e.hideTooltip()})},e}(za),mc=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),xc=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.options=ko.merge({},Qo.SCATTER),r.options.type=Oo.SCATTER,r}return mc(e,t),e.prototype.draw=function(){var t=this;this.innerWrap.style("width","100%").style("height","100%");var e=ta.margin.line;this.innerWrap.style("width","100%").style("height","100%"),this.innerWrap.attr("transform","translate("+e.left+", "+e.top+")");var n=this.innerWrap.selectAll("g.dots").data(this.displayData.datasets).enter().append("g").classed("dots",!0),r=this.getCircleRadius();n.selectAll("circle.dot").data(function(e,n){return t.addLabelsToDataPoints(e,n)}).enter().append("circle").attr("class","dot").attr("cx",function(e){return t.x(e.label)+t.x.step()/2}).attr("cy",function(e){return t.y(e.value)}).attr("r",r).attr("fill",function(e){return t.getCircleFill(r,e)}).attr("fill-opacity",function(e){return t.getCircleFillOpacity()}).attr("stroke",function(e){return t.getStrokeColor(e.datasetLabel,e.label,e.value)}),this.chartOverlay.hide(),this.dispatchEvent("load")},e.prototype.getLegendType=function(){return sa.basedOn.SERIES},e.prototype.addLabelsToDataPoints=function(t,e){var n=this.displayData.labels;return t.data.map(function(e,r){return{label:n[r],datasetLabel:t.label,value:e}})},e.prototype.getCircleRadius=function(){return this.options.points.radius||ta.points.radius},e.prototype.getCircleFill=function(t,n){return t<ia.minNonFilledRadius||this.constructor===e?this.getStrokeColor(n.datasetLabel,n.label,n.value):"white"},e.prototype.getCircleFillOpacity=function(){return this.constructor===e?Qo.SCATTER.points.fillOpacity:null},e.prototype.interpolateValues=function(t){var e=this,n=ta.margin.line,r=this.getChartSize(),i=(r.width,n.left,n.right,r.height,this.getBBox(".x.axis").height,this.innerWrap.selectAll("g.dots").data(t.datasets));this.updateElements(!0,i);var o=i.enter().append("g").classed("dots",!0),a=this.getCircleRadius();o.selectAll("circle.dot").data(function(t,n){return e.addLabelsToDataPoints(t,n)}).enter().append("circle").attr("class","dot").attr("cx",function(t,n){return e.x(t.label)+e.x.step()/2}).attr("cy",function(t){return e.y(t.value)}).attr("r",a).style("opacity",0).transition(this.getDefaultTransition()).style("opacity",1).attr("fill",function(t){return e.getCircleFill(a,t)}).attr("fill-opacity",function(t){return e.getCircleFillOpacity()}).attr("stroke",function(t){return e.getStrokeColor(t.datasetLabel,t.label,t.value)}),i.exit().classed("removed",!0).transition(this.getDefaultTransition()).style("opacity",0).remove(),this.addDataPointEventListener(),this.chartOverlay.hide(),this.dispatchEvent("update")},e.prototype.updateElements=function(t,e){var n=this;e||(e=this.innerWrap.selectAll("g.dots"));var r=t?this.getFillTransition():this.getInstantTransition(),i=this,o=this.getCircleRadius();e.selectAll("circle.dot").data(function(t,e){var n=$(this).datum();return i.addLabelsToDataPoints(n,e)}).transition(r).attr("cx",function(t){return n.x(t.label)+n.x.step()/2}).attr("cy",function(t){return n.y(t.value)}).attr("r",o).attr("fill",function(t){return n.getCircleFill(o,t)}).attr("stroke",function(t){return n.getStrokeColor(t.datasetLabel,t.label,t.value)})},e.prototype.resizeChart=function(){var e=this.getChartSize(this.container),n=Math.min(e.width,e.height);$(this.holder).select("svg").attr("width",n+"px").attr("height",n+"px"),this.updateXandYGrid(!0),this.setXScale(),this.setYScale(),this.setXAxis(!0),this.setYAxis(!0),this.updateElements(!1,null),t.prototype.resizeChart.call(this)},e.prototype.setXScale=function(){t.prototype.setXScale.call(this),this.x.padding(0)},e.prototype.resetOpacity=function(){var t=this,e=this.getCircleRadius();this.innerWrap.selectAll("circle").attr("stroke-opacity",ta.resetOpacity.opacity).attr("fill",function(n){return t.getCircleFill(e,n)})},e.prototype.reduceOpacity=function(t){var e=this,n=this.getCircleRadius();$(t).attr("fill-opacity",this.getCircleFillOpacity()),$(t).attr("stroke-opacity",ta.reduceOpacity.opacity),$(t).attr("fill",function(t){return e.getCircleFill(n,t)})},e.prototype.addDataPointEventListener=function(){var t=this,e=this.options.accessibility;this.svg.selectAll("circle.dot").on("click",function(e){return t.dispatchEvent("line-onClick",e)}).on("mouseover",function(e){$(this).attr("stroke-width",ia.mouseover.strokeWidth).attr("stroke",t.colorScale[e.datasetLabel](e.label)).attr("stroke-opacity",ia.mouseover.strokeOpacity),t.showTooltip(e,this),t.reduceOpacity(this)}).on("mousemove",function(e){return t.tooltip.positionTooltip()}).on("mouseout",function(n){var r=ia.mouseout,i=r.strokeWidth,o=r.strokeWidthAccessible;$(this).attr("stroke-width",e?o:i).attr("stroke",t.colorScale[n.datasetLabel](n.label)).attr("stroke-opacity",ia.mouseout.strokeOpacity),t.hideTooltip()})},e}(za),wc={curveLinear:vs,curveLinearClosed:function(t){return new Gs(t)},curveBasis:function(t){return new As(t)},curveBasisClosed:function(t){return new Es(t)},curveBasisOpen:function(t){return new Ls(t)},curveBundle:Os,curveCardinal:Ps,curveCardinalClosed:Ns,curveCardinalOpen:Rs,curveCatmullRom:zs,curveCatmullRomClosed:Us,curveCatmullRomOpen:Hs,curveMonotoneX:function(t){return new Zs(t)},curveMonotoneY:function(t){return new Ks(t)},curveNatural:function(t){return new tc(t)},curveStep:function(t){return new nc(t,.5)},curveStepAfter:function(t){return new nc(t,1)},curveStepBefore:function(t){return new nc(t,0)}},Sc=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Mc=function(t){function e(e,n){var r=t.call(this,e,n)||this;return n.options?r.options=ko.merge({},Qo.LINE,n.options):r.options=ko.merge({},Qo.LINE),r.options.type=Oo.LINE,r}return Sc(e,t),e.prototype.draw=function(){var e=this;this.innerWrap.style("width","100%").style("height","100%");var n,r,i=ta.margin.line;this.innerWrap.style("width","100%").style("height","100%"),this.innerWrap.attr("transform","translate("+i.left+", "+i.top+")"),this.options.curve=this.options.curve||"curveLinear","string"==typeof this.options.curve?(n=this.options.curve,r={}):(n=this.options.curve.name||"curveLinear",delete(r=this.options.curve).name),this.lineGenerator=_s().x(function(t,n){return e.x(e.displayData.labels[n])+e.x.step()/2}).y(function(t){return e.y(t)}).curve(function(t,e){if(void 0===t&&(t="curveLinear"),void 0===e&&(e={}),wc[t]){var n=wc[t];return Object.keys(e).forEach(function(t){n[t]&&(n=n[t](e[t]))}),n}return null}(n,r)),this.innerWrap.selectAll("g.lines").data(this.displayData.datasets).enter().append("g").classed("lines",!0).append("path").attr("stroke",function(t){return e.getStrokeColor(t.label)}).datum(function(t){return t.data}).attr("class","line").attr("d",this.lineGenerator),t.prototype.draw.call(this)},e.prototype.interpolateValues=function(e){var n=this,r=ta.margin.line,i=this.getChartSize();i.width,r.left,r.right,i.height,this.getBBox(".x.axis").height;this.innerWrap.selectAll(".removed").remove();var o=this.innerWrap.selectAll("g.lines").data(e.datasets);this.updateElements(!0,o),o.enter().append("g").classed("lines",!0).append("path").attr("stroke",function(t){return n.getStrokeColor(t.label)}).datum(function(t){return t.data}).style("opacity",0).transition(this.getDefaultTransition()).style("opacity",1).attr("class","line").attr("d",this.lineGenerator),o.exit().classed("removed",!0).transition(this.getDefaultTransition()).style("opacity",0).remove(),t.prototype.interpolateValues.call(this,e)},e.prototype.updateElements=function(e,n){n||(n=this.innerWrap.selectAll("g.lines"));var r=e?this.getFillTransition():this.getInstantTransition(),i=this;n.selectAll("path.line").datum(function(t){return $(this.parentNode).datum().data}).transition(r).style("opacity",1).attr("stroke",function(t){var e=$(this.parentNode).datum();return i.getStrokeColor(e.label)}).attr("class","line").attr("d",this.lineGenerator),t.prototype.updateElements.call(this,e)},e}(xc),kc=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Tc=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.charts=[],r.options.type=Oo.COMBO,r}return kc(e,t),e.prototype.extractDataForChart=function(t){return ko.merge({},this.displayData,{datasets:this.displayData.datasets.filter(function(e){return e.chartType===t})})},e.prototype.update=function(){t.prototype.update.call(this),this.charts&&this.charts.length>0&&(this.updateChildrenScales(),this.setChildrenData())},e.prototype.interpolateValues=function(t){},e.prototype.addDataPointEventListener=function(){},e.prototype.draw=function(){var t=this;this.charts.length||this.displayData.datasets.forEach(function(e){if(i[e.chartType]){if(-1===t.charts.findIndex(function(t){return t.type===e.chartType}))if(i[e.chartType].prototype instanceof za){var n={data:t.extractDataForChart(e.chartType),options:ko.merge({},t.options,{axis:{x:t.x,y:t.y,y2:t.y2}})},r=new i[e.chartType](t.holder,n);r.update=function(){this.displayData=this.updateDisplayData(),this.interpolateValues(this.displayData)},t.charts.push({type:e.chartType,instance:r})}else console.error("Chart type "+e.chartType+" not supported in Combo - your chart should extend BaseAxisChart")}else console.error('Invalid chart type: "'+e.chartType+'"')})},e.prototype.updateChildrenScales=function(){var t=this;this.charts.forEach(function(e){e.instance.setXScale(t.x),e.instance.setYScale(t.y)})},e.prototype.setChildrenData=function(){var t=this;this.charts.forEach(function(e){var n=t.extractDataForChart(e.type);e.instance.setData(n),console.log("SET "+e.type+" data to",n)})},e}(za);n.d(e,"defaultColors",function(){return Ac}),n.d(e,"colorPalettes",function(){return r}),n.d(e,"BaseChart",function(){return Ta}),n.d(e,"BaseAxisChart",function(){return za}),n.d(e,"PieChart",function(){return cc}),n.d(e,"DonutChart",function(){return hc}),n.d(e,"DonutCenter",function(){return fc}),n.d(e,"BarChart",function(){return bc}),n.d(e,"LineChart",function(){return Mc}),n.d(e,"ComboChart",function(){return Tc}),n.d(e,"ScatterChart",function(){return xc}),n(131);var Ac=Uo}])});
|
|
1
|
+
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.Charts=n():t.Charts=n()}(window,function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)e.d(r,i,function(n){return t[n]}.bind(null,i));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=342)}([function(t,n,e){var r=e(2),i=e(18),o=e(11),a=e(12),s=e(19),u=function(t,n,e){var c,l,h,f,p=t&u.F,d=t&u.G,v=t&u.S,y=t&u.P,g=t&u.B,_=d?r:v?r[n]||(r[n]={}):(r[n]||{}).prototype,m=d?i:i[n]||(i[n]={}),x=m.prototype||(m.prototype={});for(c in d&&(e=n),e)h=((l=!p&&_&&void 0!==_[c])?_:e)[c],f=g&&l?s(h,r):y&&"function"==typeof h?s(Function.call,h):h,_&&a(_,c,h,t&u.U),m[c]!=h&&o(m,c,f),y&&x[c]!=h&&(x[c]=h)};r.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,n,e){var r=e(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){var r=e(47)("wks"),i=e(33),o=e(2).Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},function(t,n,e){var r=e(21),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,n,e){t.exports=!e(3)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(1),i=e(94),o=e(23),a=Object.defineProperty;n.f=e(7)?Object.defineProperty:function(t,n,e){if(r(t),n=o(n,!0),r(e),i)try{return a(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(24);t.exports=function(t){return Object(r(t))}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,e){var r=e(8),i=e(32);t.exports=e(7)?function(t,n,e){return r.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){var r=e(2),i=e(11),o=e(14),a=e(33)("src"),s=e(135),u=(""+s).split("toString");e(18).inspectSource=function(t){return s.call(t)},(t.exports=function(t,n,e,s){var c="function"==typeof e;c&&(o(e,"name")||i(e,"name",n)),t[n]!==e&&(c&&(o(e,a)||i(e,a,t[n]?""+t[n]:u.join(String(n)))),t===r?t[n]=e:s?t[n]?t[n]=e:i(t,n,e):(delete t[n],i(t,n,e)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(t,n,e){var r=e(0),i=e(3),o=e(24),a=/"/g,s=function(t,n,e,r){var i=String(o(t)),s="<"+n;return""!==e&&(s+=" "+e+'="'+String(r).replace(a,""")+'"'),s+">"+i+"</"+n+">"};t.exports=function(t,n){var e={};e[t]=n(s),r(r.P+r.F*i(function(){var n=""[t]('"');return n!==n.toLowerCase()||n.split('"').length>3}),"String",e)}},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(48),i=e(24);t.exports=function(t){return r(i(t))}},function(t,n,e){var r=e(49),i=e(32),o=e(15),a=e(23),s=e(14),u=e(94),c=Object.getOwnPropertyDescriptor;n.f=e(7)?c:function(t,n){if(t=o(t),n=a(n,!0),u)try{return c(t,n)}catch(t){}if(s(t,n))return i(!r.f.call(t,n),t[n])}},function(t,n,e){var r=e(14),i=e(9),o=e(69)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,n){var e=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=e)},function(t,n,e){var r=e(10);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,i){return t.call(n,e,r,i)}}return function(){return t.apply(n,arguments)}}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){"use strict";var r=e(3);t.exports=function(t,n){return!!t&&r(function(){n?t.call(null,function(){},1):t.call(null)})}},function(t,n,e){var r=e(4);t.exports=function(t,n){if(!r(t))return t;var e,i;if(n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;if("function"==typeof(e=t.valueOf)&&!r(i=e.call(t)))return i;if(!n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(0),i=e(18),o=e(3);t.exports=function(t,n){var e=(i.Object||{})[t]||Object[t],a={};a[t]=n(e),r(r.S+r.F*o(function(){e(1)}),"Object",a)}},function(t,n,e){var r=e(19),i=e(48),o=e(9),a=e(6),s=e(85);t.exports=function(t,n){var e=1==t,u=2==t,c=3==t,l=4==t,h=6==t,f=5==t||h,p=n||s;return function(n,s,d){for(var v,y,g=o(n),_=i(g),m=r(s,d,3),x=a(_.length),b=0,w=e?p(n,x):u?p(n,0):void 0;x>b;b++)if((f||b in _)&&(y=m(v=_[b],b,g),t))if(e)w[b]=y;else if(y)switch(t){case 3:return!0;case 5:return v;case 6:return b;case 2:w.push(v)}else if(l)return!1;return h?-1:c||l?l:w}}},function(t,n,e){"use strict";if(e(7)){var r=e(29),i=e(2),o=e(3),a=e(0),s=e(63),u=e(93),c=e(19),l=e(39),h=e(32),f=e(11),p=e(41),d=e(21),v=e(6),y=e(122),g=e(35),_=e(23),m=e(14),x=e(44),b=e(4),w=e(9),S=e(82),M=e(36),k=e(17),T=e(37).f,A=e(84),E=e(33),L=e(5),C=e(26),O=e(53),D=e(51),I=e(87),P=e(46),F=e(58),N=e(38),W=e(86),R=e(111),j=e(8),B=e(16),z=j.f,X=B.f,U=i.RangeError,V=i.TypeError,H=i.Uint8Array,G=Array.prototype,Y=u.ArrayBuffer,q=u.DataView,$=C(0),J=C(2),Z=C(3),K=C(4),Q=C(5),tt=C(6),nt=O(!0),et=O(!1),rt=I.values,it=I.keys,ot=I.entries,at=G.lastIndexOf,st=G.reduce,ut=G.reduceRight,ct=G.join,lt=G.sort,ht=G.slice,ft=G.toString,pt=G.toLocaleString,dt=L("iterator"),vt=L("toStringTag"),yt=E("typed_constructor"),gt=E("def_constructor"),_t=s.CONSTR,mt=s.TYPED,xt=s.VIEW,bt=C(1,function(t,n){return Tt(D(t,t[gt]),n)}),wt=o(function(){return 1===new H(new Uint16Array([1]).buffer)[0]}),St=!!H&&!!H.prototype.set&&o(function(){new H(1).set({})}),Mt=function(t,n){var e=d(t);if(e<0||e%n)throw U("Wrong offset!");return e},kt=function(t){if(b(t)&&mt in t)return t;throw V(t+" is not a typed array!")},Tt=function(t,n){if(!(b(t)&&yt in t))throw V("It is not a typed array constructor!");return new t(n)},At=function(t,n){return Et(D(t,t[gt]),n)},Et=function(t,n){for(var e=0,r=n.length,i=Tt(t,r);r>e;)i[e]=n[e++];return i},Lt=function(t,n,e){z(t,n,{get:function(){return this._d[e]}})},Ct=function(t){var n,e,r,i,o,a,s=w(t),u=arguments.length,l=u>1?arguments[1]:void 0,h=void 0!==l,f=A(s);if(null!=f&&!S(f)){for(a=f.call(s),r=[],n=0;!(o=a.next()).done;n++)r.push(o.value);s=r}for(h&&u>2&&(l=c(l,arguments[2],2)),n=0,e=v(s.length),i=Tt(this,e);e>n;n++)i[n]=h?l(s[n],n):s[n];return i},Ot=function(){for(var t=0,n=arguments.length,e=Tt(this,n);n>t;)e[t]=arguments[t++];return e},Dt=!!H&&o(function(){pt.call(new H(1))}),It=function(){return pt.apply(Dt?ht.call(kt(this)):kt(this),arguments)},Pt={copyWithin:function(t,n){return R.call(kt(this),t,n,arguments.length>2?arguments[2]:void 0)},every:function(t){return K(kt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return W.apply(kt(this),arguments)},filter:function(t){return At(this,J(kt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Q(kt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(kt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){$(kt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return et(kt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return nt(kt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return ct.apply(kt(this),arguments)},lastIndexOf:function(t){return at.apply(kt(this),arguments)},map:function(t){return bt(kt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return st.apply(kt(this),arguments)},reduceRight:function(t){return ut.apply(kt(this),arguments)},reverse:function(){for(var t,n=kt(this).length,e=Math.floor(n/2),r=0;r<e;)t=this[r],this[r++]=this[--n],this[n]=t;return this},some:function(t){return Z(kt(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return lt.call(kt(this),t)},subarray:function(t,n){var e=kt(this),r=e.length,i=g(t,r);return new(D(e,e[gt]))(e.buffer,e.byteOffset+i*e.BYTES_PER_ELEMENT,v((void 0===n?r:g(n,r))-i))}},Ft=function(t,n){return At(this,ht.call(kt(this),t,n))},Nt=function(t){kt(this);var n=Mt(arguments[1],1),e=this.length,r=w(t),i=v(r.length),o=0;if(i+n>e)throw U("Wrong length!");for(;o<i;)this[n+o]=r[o++]},Wt={entries:function(){return ot.call(kt(this))},keys:function(){return it.call(kt(this))},values:function(){return rt.call(kt(this))}},Rt=function(t,n){return b(t)&&t[mt]&&"symbol"!=typeof n&&n in t&&String(+n)==String(n)},jt=function(t,n){return Rt(t,n=_(n,!0))?h(2,t[n]):X(t,n)},Bt=function(t,n,e){return!(Rt(t,n=_(n,!0))&&b(e)&&m(e,"value"))||m(e,"get")||m(e,"set")||e.configurable||m(e,"writable")&&!e.writable||m(e,"enumerable")&&!e.enumerable?z(t,n,e):(t[n]=e.value,t)};_t||(B.f=jt,j.f=Bt),a(a.S+a.F*!_t,"Object",{getOwnPropertyDescriptor:jt,defineProperty:Bt}),o(function(){ft.call({})})&&(ft=pt=function(){return ct.call(this)});var zt=p({},Pt);p(zt,Wt),f(zt,dt,Wt.values),p(zt,{slice:Ft,set:Nt,constructor:function(){},toString:ft,toLocaleString:It}),Lt(zt,"buffer","b"),Lt(zt,"byteOffset","o"),Lt(zt,"byteLength","l"),Lt(zt,"length","e"),z(zt,vt,{get:function(){return this[mt]}}),t.exports=function(t,n,e,u){var c=t+((u=!!u)?"Clamped":"")+"Array",h="get"+t,p="set"+t,d=i[c],g=d||{},_=d&&k(d),m=!d||!s.ABV,w={},S=d&&d.prototype,A=function(t,e){z(t,e,{get:function(){return function(t,e){var r=t._d;return r.v[h](e*n+r.o,wt)}(this,e)},set:function(t){return function(t,e,r){var i=t._d;u&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[p](e*n+i.o,r,wt)}(this,e,t)},enumerable:!0})};m?(d=e(function(t,e,r,i){l(t,d,c,"_d");var o,a,s,u,h=0,p=0;if(b(e)){if(!(e instanceof Y||"ArrayBuffer"==(u=x(e))||"SharedArrayBuffer"==u))return mt in e?Et(d,e):Ct.call(d,e);o=e,p=Mt(r,n);var g=e.byteLength;if(void 0===i){if(g%n)throw U("Wrong length!");if((a=g-p)<0)throw U("Wrong length!")}else if((a=v(i)*n)+p>g)throw U("Wrong length!");s=a/n}else s=y(e),o=new Y(a=s*n);for(f(t,"_d",{b:o,o:p,l:a,e:s,v:new q(o)});h<s;)A(t,h++)}),S=d.prototype=M(zt),f(S,"constructor",d)):o(function(){d(1)})&&o(function(){new d(-1)})&&F(function(t){new d,new d(null),new d(1.5),new d(t)},!0)||(d=e(function(t,e,r,i){var o;return l(t,d,c),b(e)?e instanceof Y||"ArrayBuffer"==(o=x(e))||"SharedArrayBuffer"==o?void 0!==i?new g(e,Mt(r,n),i):void 0!==r?new g(e,Mt(r,n)):new g(e):mt in e?Et(d,e):Ct.call(d,e):new g(y(e))}),$(_!==Function.prototype?T(g).concat(T(_)):T(g),function(t){t in d||f(d,t,g[t])}),d.prototype=S,r||(S.constructor=d));var E=S[dt],L=!!E&&("values"==E.name||null==E.name),C=Wt.values;f(d,yt,!0),f(S,mt,c),f(S,xt,!0),f(S,gt,d),(u?new d(1)[vt]==c:vt in S)||z(S,vt,{get:function(){return c}}),w[c]=d,a(a.G+a.W+a.F*(d!=g),w),a(a.S,c,{BYTES_PER_ELEMENT:n}),a(a.S+a.F*o(function(){g.of.call(d,1)}),c,{from:Ct,of:Ot}),"BYTES_PER_ELEMENT"in S||f(S,"BYTES_PER_ELEMENT",n),a(a.P,c,Pt),N(c),a(a.P+a.F*St,c,{set:Nt}),a(a.P+a.F*!L,c,Wt),r||S.toString==ft||(S.toString=ft),a(a.P+a.F*o(function(){new d(1).slice()}),c,{slice:Ft}),a(a.P+a.F*(o(function(){return[1,2].toLocaleString()!=new d([1,2]).toLocaleString()})||!o(function(){S.toLocaleString.call([1,2])})),c,{toLocaleString:It}),P[c]=L?E:C,r||L||f(S,dt,C)}}else t.exports=function(){}},function(t,n,e){var r=e(117),i=e(0),o=e(47)("metadata"),a=o.store||(o.store=new(e(120))),s=function(t,n,e){var i=a.get(t);if(!i){if(!e)return;a.set(t,i=new r)}var o=i.get(n);if(!o){if(!e)return;i.set(n,o=new r)}return o};t.exports={store:a,map:s,has:function(t,n,e){var r=s(n,e,!1);return void 0!==r&&r.has(t)},get:function(t,n,e){var r=s(n,e,!1);return void 0===r?void 0:r.get(t)},set:function(t,n,e,r){s(e,r,!0).set(t,n)},keys:function(t,n){var e=s(t,n,!1),r=[];return e&&e.forEach(function(t,n){r.push(n)}),r},key:function(t){return void 0===t||"symbol"==typeof t?t:String(t)},exp:function(t){i(i.S,"Reflect",t)}}},function(t,n){t.exports=!1},function(t,n,e){var r=e(33)("meta"),i=e(4),o=e(14),a=e(8).f,s=0,u=Object.isExtensible||function(){return!0},c=!e(3)(function(){return u(Object.preventExtensions({}))}),l=function(t){a(t,r,{value:{i:"O"+ ++s,w:{}}})},h=t.exports={KEY:r,NEED:!1,fastKey:function(t,n){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,r)){if(!u(t))return"F";if(!n)return"E";l(t)}return t[r].i},getWeak:function(t,n){if(!o(t,r)){if(!u(t))return!0;if(!n)return!1;l(t)}return t[r].w},onFreeze:function(t){return c&&h.NEED&&u(t)&&!o(t,r)&&l(t),t}}},function(t,n,e){var r=e(5)("unscopables"),i=Array.prototype;null==i[r]&&e(11)(i,r,{}),t.exports=function(t){i[r][t]=!0}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n,e){var r=e(96),i=e(70);t.exports=Object.keys||function(t){return r(t,i)}},function(t,n,e){var r=e(21),i=Math.max,o=Math.min;t.exports=function(t,n){return(t=r(t))<0?i(t+n,0):o(t,n)}},function(t,n,e){var r=e(1),i=e(97),o=e(70),a=e(69)("IE_PROTO"),s=function(){},u=function(){var t,n=e(67)("iframe"),r=o.length;for(n.style.display="none",e(71).appendChild(n),n.src="javascript:",(t=n.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[o[r]];return u()};t.exports=Object.create||function(t,n){var e;return null!==t?(s.prototype=r(t),e=new s,s.prototype=null,e[a]=t):e=u(),void 0===n?e:i(e,n)}},function(t,n,e){var r=e(96),i=e(70).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,n,e){"use strict";var r=e(2),i=e(8),o=e(7),a=e(5)("species");t.exports=function(t){var n=r[t];o&&n&&!n[a]&&i.f(n,a,{configurable:!0,get:function(){return this}})}},function(t,n){t.exports=function(t,n,e,r){if(!(t instanceof n)||void 0!==r&&r in t)throw TypeError(e+": incorrect invocation!");return t}},function(t,n,e){var r=e(19),i=e(109),o=e(82),a=e(1),s=e(6),u=e(84),c={},l={};(n=t.exports=function(t,n,e,h,f){var p,d,v,y,g=f?function(){return t}:u(t),_=r(e,h,n?2:1),m=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(o(g)){for(p=s(t.length);p>m;m++)if((y=n?_(a(d=t[m])[0],d[1]):_(t[m]))===c||y===l)return y}else for(v=g.call(t);!(d=v.next()).done;)if((y=i(v,_,d.value,n))===c||y===l)return y}).BREAK=c,n.RETURN=l},function(t,n,e){var r=e(12);t.exports=function(t,n,e){for(var i in n)r(t,i,n[i],e);return t}},function(t,n,e){var r=e(4);t.exports=function(t,n){if(!r(t)||t._t!==n)throw TypeError("Incompatible receiver, "+n+" required!");return t}},function(t,n,e){var r=e(8).f,i=e(14),o=e(5)("toStringTag");t.exports=function(t,n,e){t&&!i(t=e?t:t.prototype,o)&&r(t,o,{configurable:!0,value:n})}},function(t,n,e){var r=e(20),i=e(5)("toStringTag"),o="Arguments"==r(function(){return arguments}());t.exports=function(t){var n,e,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),i))?e:o?r(n):"Object"==(a=r(n))&&"function"==typeof n.callee?"Arguments":a}},function(t,n,e){var r=e(0),i=e(24),o=e(3),a=e(73),s="["+a+"]",u=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),l=function(t,n,e){var i={},s=o(function(){return!!a[t]()||"
"!="
"[t]()}),u=i[t]=s?n(h):a[t];e&&(i[e]=u),r(r.P+r.F*s,"String",i)},h=l.trim=function(t,n){return t=String(i(t)),1&n&&(t=t.replace(u,"")),2&n&&(t=t.replace(c,"")),t};t.exports=l},function(t,n){t.exports={}},function(t,n,e){var r=e(18),i=e(2),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e(29)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,n,e){var r=e(20);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,e){"use strict";var r=e(1);t.exports=function(){var t=r(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,e){var r=e(1),i=e(10),o=e(5)("species");t.exports=function(t,n){var e,a=r(t).constructor;return void 0===a||null==(e=r(a)[o])?n:i(e)}},function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){var r=e(15),i=e(6),o=e(35);t.exports=function(t){return function(n,e,a){var s,u=r(n),c=i(u.length),l=o(a,c);if(t&&e!=e){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===e)return t||l||0;return!t&&-1}}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(20);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,n,e){var r=e(21),i=e(24);t.exports=function(t){return function(n,e){var o,a,s=String(i(n)),u=r(e),c=s.length;return u<0||u>=c?t?"":void 0:(o=s.charCodeAt(u))<55296||o>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):o:t?s.slice(u,u+2):a-56320+(o-55296<<10)+65536}}},function(t,n,e){var r=e(4),i=e(20),o=e(5)("match");t.exports=function(t){var n;return r(t)&&(void 0!==(n=t[o])?!!n:"RegExp"==i(t))}},function(t,n,e){var r=e(5)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,n){if(!n&&!i)return!1;var e=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:e=!0}},o[r]=function(){return a},t(o)}catch(t){}return e}},function(t,n,e){"use strict";var r=e(44),i=RegExp.prototype.exec;t.exports=function(t,n){var e=t.exec;if("function"==typeof e){var o=e.call(t,n);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,n)}},function(t,n,e){"use strict";e(113);var r=e(12),i=e(11),o=e(3),a=e(24),s=e(5),u=e(88),c=s("species"),l=!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),h=function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var e="ab".split(t);return 2===e.length&&"a"===e[0]&&"b"===e[1]}();t.exports=function(t,n,e){var f=s(t),p=!o(function(){var n={};return n[f]=function(){return 7},7!=""[t](n)}),d=p?!o(function(){var n=!1,e=/a/;return e.exec=function(){return n=!0,null},"split"===t&&(e.constructor={},e.constructor[c]=function(){return e}),e[f](""),!n}):void 0;if(!p||!d||"replace"===t&&!l||"split"===t&&!h){var v=/./[f],y=e(a,f,""[t],function(t,n,e,r,i){return n.exec===u?p&&!i?{done:!0,value:v.call(n,e,r)}:{done:!0,value:t.call(e,n,r)}:{done:!1}}),g=y[0],_=y[1];r(String.prototype,t,g),i(RegExp.prototype,f,2==n?function(t,n){return _.call(t,this,n)}:function(t){return _.call(t,this)})}}},function(t,n,e){var r=e(2).navigator;t.exports=r&&r.userAgent||""},function(t,n,e){"use strict";var r=e(2),i=e(0),o=e(12),a=e(41),s=e(30),u=e(40),c=e(39),l=e(4),h=e(3),f=e(58),p=e(43),d=e(74);t.exports=function(t,n,e,v,y,g){var _=r[t],m=_,x=y?"set":"add",b=m&&m.prototype,w={},S=function(t){var n=b[t];o(b,t,"delete"==t?function(t){return!(g&&!l(t))&&n.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!l(t))&&n.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!l(t)?void 0:n.call(this,0===t?0:t)}:"add"==t?function(t){return n.call(this,0===t?0:t),this}:function(t,e){return n.call(this,0===t?0:t,e),this})};if("function"==typeof m&&(g||b.forEach&&!h(function(){(new m).entries().next()}))){var M=new m,k=M[x](g?{}:-0,1)!=M,T=h(function(){M.has(1)}),A=f(function(t){new m(t)}),E=!g&&h(function(){for(var t=new m,n=5;n--;)t[x](n,n);return!t.has(-0)});A||((m=n(function(n,e){c(n,m,t);var r=d(new _,n,m);return null!=e&&u(e,y,r[x],r),r})).prototype=b,b.constructor=m),(T||E)&&(S("delete"),S("has"),y&&S("get")),(E||k)&&S(x),g&&b.clear&&delete b.clear}else m=v.getConstructor(n,t,y,x),a(m.prototype,e),s.NEED=!0;return p(m,t),w[t]=m,i(i.G+i.W+i.F*(m!=_),w),g||v.setStrong(m,t,y),m}},function(t,n,e){for(var r,i=e(2),o=e(11),a=e(33),s=a("typed_array"),u=a("view"),c=!(!i.ArrayBuffer||!i.DataView),l=c,h=0,f="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");h<9;)(r=i[f[h++]])?(o(r.prototype,s,!0),o(r.prototype,u,!0)):l=!1;t.exports={ABV:c,CONSTR:l,TYPED:s,VIEW:u}},function(t,n,e){"use strict";t.exports=e(29)||!e(3)(function(){var t=Math.random();__defineSetter__.call(null,t,function(){}),delete e(2)[t]})},function(t,n,e){"use strict";var r=e(0);t.exports=function(t){r(r.S,t,{of:function(){for(var t=arguments.length,n=new Array(t);t--;)n[t]=arguments[t];return new this(n)}})}},function(t,n,e){"use strict";var r=e(0),i=e(10),o=e(19),a=e(40);t.exports=function(t){r(r.S,t,{from:function(t){var n,e,r,s,u=arguments[1];return i(this),(n=void 0!==u)&&i(u),null==t?new this:(e=[],n?(r=0,s=o(u,arguments[2],2),a(t,!1,function(t){e.push(s(t,r++))})):a(t,!1,e.push,e),new this(e))}})}},function(t,n,e){var r=e(4),i=e(2).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,n,e){var r=e(2),i=e(18),o=e(29),a=e(95),s=e(8).f;t.exports=function(t){var n=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||s(n,t,{value:a.f(t)})}},function(t,n,e){var r=e(47)("keys"),i=e(33);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){var r=e(2).document;t.exports=r&&r.documentElement},function(t,n,e){var r=e(4),i=e(1),o=function(t,n){if(i(t),!r(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{(r=e(19)(Function.call,e(16).f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return o(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:o}},function(t,n){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(t,n,e){var r=e(4),i=e(72).set;t.exports=function(t,n,e){var o,a=n.constructor;return a!==e&&"function"==typeof a&&(o=a.prototype)!==e.prototype&&r(o)&&i&&i(t,o),t}},function(t,n,e){"use strict";var r=e(21),i=e(24);t.exports=function(t){var n=String(i(this)),e="",o=r(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(n+=n))1&o&&(e+=n);return e}},function(t,n){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,n){var e=Math.expm1;t.exports=!e||e(10)>22025.465794806718||e(10)<22025.465794806718||-2e-17!=e(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:e},function(t,n,e){"use strict";var r=e(29),i=e(0),o=e(12),a=e(11),s=e(46),u=e(79),c=e(43),l=e(17),h=e(5)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,n,e,d,v,y,g){u(e,n,d);var _,m,x,b=function(t){if(!f&&t in k)return k[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},w=n+" Iterator",S="values"==v,M=!1,k=t.prototype,T=k[h]||k["@@iterator"]||v&&k[v],A=T||b(v),E=v?S?b("entries"):A:void 0,L="Array"==n&&k.entries||T;if(L&&(x=l(L.call(new t)))!==Object.prototype&&x.next&&(c(x,w,!0),r||"function"==typeof x[h]||a(x,h,p)),S&&T&&"values"!==T.name&&(M=!0,A=function(){return T.call(this)}),r&&!g||!f&&!M&&k[h]||a(k,h,A),s[n]=A,s[w]=p,v)if(_={values:S?A:b("values"),keys:y?A:b("keys"),entries:E},g)for(m in _)m in k||o(k,m,_[m]);else i(i.P+i.F*(f||M),n,_);return _}},function(t,n,e){"use strict";var r=e(36),i=e(32),o=e(43),a={};e(11)(a,e(5)("iterator"),function(){return this}),t.exports=function(t,n,e){t.prototype=r(a,{next:i(1,e)}),o(t,n+" Iterator")}},function(t,n,e){var r=e(57),i=e(24);t.exports=function(t,n,e){if(r(n))throw TypeError("String#"+e+" doesn't accept regex!");return String(i(t))}},function(t,n,e){var r=e(5)("match");t.exports=function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[r]=!1,!"/./"[t](n)}catch(t){}}return!0}},function(t,n,e){var r=e(46),i=e(5)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,n,e){"use strict";var r=e(8),i=e(32);t.exports=function(t,n,e){n in t?r.f(t,n,i(0,e)):t[n]=e}},function(t,n,e){var r=e(44),i=e(5)("iterator"),o=e(46);t.exports=e(18).getIteratorMethod=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,n,e){var r=e(224);t.exports=function(t,n){return new(r(t))(n)}},function(t,n,e){"use strict";var r=e(9),i=e(35),o=e(6);t.exports=function(t){for(var n=r(this),e=o(n.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,e),u=a>2?arguments[2]:void 0,c=void 0===u?e:i(u,e);c>s;)n[s++]=t;return n}},function(t,n,e){"use strict";var r=e(31),i=e(112),o=e(46),a=e(15);t.exports=e(78)(Array,"Array",function(t,n){this._t=a(t),this._i=0,this._k=n},function(){var t=this._t,n=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,i(1)):i(0,"keys"==n?e:"values"==n?t[e]:[e,t[e]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,n,e){"use strict";var r,i,o=e(50),a=RegExp.prototype.exec,s=String.prototype.replace,u=a,c=(r=/a/,i=/b*/g,a.call(r,"a"),a.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),l=void 0!==/()??/.exec("")[1];(c||l)&&(u=function(t){var n,e,r,i,u=this;return l&&(e=new RegExp("^"+u.source+"$(?!\\s)",o.call(u))),c&&(n=u.lastIndex),r=a.call(u,t),c&&r&&(u.lastIndex=u.global?r.index+r[0].length:n),l&&r&&r.length>1&&s.call(r[0],e,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)}),r}),t.exports=u},function(t,n,e){"use strict";var r=e(56)(!0);t.exports=function(t,n,e){return n+(e?r(t,n).length:1)}},function(t,n,e){var r,i,o,a=e(19),s=e(102),u=e(71),c=e(67),l=e(2),h=l.process,f=l.setImmediate,p=l.clearImmediate,d=l.MessageChannel,v=l.Dispatch,y=0,g={},_=function(){var t=+this;if(g.hasOwnProperty(t)){var n=g[t];delete g[t],n()}},m=function(t){_.call(t.data)};f&&p||(f=function(t){for(var n=[],e=1;arguments.length>e;)n.push(arguments[e++]);return g[++y]=function(){s("function"==typeof t?t:Function(t),n)},r(y),y},p=function(t){delete g[t]},"process"==e(20)(h)?r=function(t){h.nextTick(a(_,t,1))}:v&&v.now?r=function(t){v.now(a(_,t,1))}:d?(o=(i=new d).port2,i.port1.onmessage=m,r=a(o.postMessage,o,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(r=function(t){l.postMessage(t+"","*")},l.addEventListener("message",m,!1)):r="onreadystatechange"in c("script")?function(t){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),_.call(t)}}:function(t){setTimeout(a(_,t,1),0)}),t.exports={set:f,clear:p}},function(t,n,e){var r=e(2),i=e(90).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,u="process"==e(20)(a);t.exports=function(){var t,n,e,c=function(){var r,i;for(u&&(r=a.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?e():n=void 0,r}}n=void 0,r&&r.enter()};if(u)e=function(){a.nextTick(c)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var l=s.resolve(void 0);e=function(){l.then(c)}}else e=function(){i.call(r,c)};else{var h=!0,f=document.createTextNode("");new o(c).observe(f,{characterData:!0}),e=function(){f.data=h=!h}}return function(r){var i={fn:r,next:void 0};n&&(n.next=i),t||(t=i,e()),n=i}}},function(t,n,e){"use strict";var r=e(10);function i(t){var n,e;this.promise=new t(function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r}),this.resolve=r(n),this.reject=r(e)}t.exports.f=function(t){return new i(t)}},function(t,n,e){"use strict";var r=e(2),i=e(7),o=e(29),a=e(63),s=e(11),u=e(41),c=e(3),l=e(39),h=e(21),f=e(6),p=e(122),d=e(37).f,v=e(8).f,y=e(86),g=e(43),_="prototype",m="Wrong index!",x=r.ArrayBuffer,b=r.DataView,w=r.Math,S=r.RangeError,M=r.Infinity,k=x,T=w.abs,A=w.pow,E=w.floor,L=w.log,C=w.LN2,O=i?"_b":"buffer",D=i?"_l":"byteLength",I=i?"_o":"byteOffset";function P(t,n,e){var r,i,o,a=new Array(e),s=8*e-n-1,u=(1<<s)-1,c=u>>1,l=23===n?A(2,-24)-A(2,-77):0,h=0,f=t<0||0===t&&1/t<0?1:0;for((t=T(t))!=t||t===M?(i=t!=t?1:0,r=u):(r=E(L(t)/C),t*(o=A(2,-r))<1&&(r--,o*=2),(t+=r+c>=1?l/o:l*A(2,1-c))*o>=2&&(r++,o/=2),r+c>=u?(i=0,r=u):r+c>=1?(i=(t*o-1)*A(2,n),r+=c):(i=t*A(2,c-1)*A(2,n),r=0));n>=8;a[h++]=255&i,i/=256,n-=8);for(r=r<<n|i,s+=n;s>0;a[h++]=255&r,r/=256,s-=8);return a[--h]|=128*f,a}function F(t,n,e){var r,i=8*e-n-1,o=(1<<i)-1,a=o>>1,s=i-7,u=e-1,c=t[u--],l=127&c;for(c>>=7;s>0;l=256*l+t[u],u--,s-=8);for(r=l&(1<<-s)-1,l>>=-s,s+=n;s>0;r=256*r+t[u],u--,s-=8);if(0===l)l=1-a;else{if(l===o)return r?NaN:c?-M:M;r+=A(2,n),l-=a}return(c?-1:1)*r*A(2,l-n)}function N(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function W(t){return[255&t]}function R(t){return[255&t,t>>8&255]}function j(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function B(t){return P(t,52,8)}function z(t){return P(t,23,4)}function X(t,n,e){v(t[_],n,{get:function(){return this[e]}})}function U(t,n,e,r){var i=p(+e);if(i+n>t[D])throw S(m);var o=t[O]._b,a=i+t[I],s=o.slice(a,a+n);return r?s:s.reverse()}function V(t,n,e,r,i,o){var a=p(+e);if(a+n>t[D])throw S(m);for(var s=t[O]._b,u=a+t[I],c=r(+i),l=0;l<n;l++)s[u+l]=c[o?l:n-l-1]}if(a.ABV){if(!c(function(){x(1)})||!c(function(){new x(-1)})||c(function(){return new x,new x(1.5),new x(NaN),"ArrayBuffer"!=x.name})){for(var H,G=(x=function(t){return l(this,x),new k(p(t))})[_]=k[_],Y=d(k),q=0;Y.length>q;)(H=Y[q++])in x||s(x,H,k[H]);o||(G.constructor=x)}var $=new b(new x(2)),J=b[_].setInt8;$.setInt8(0,2147483648),$.setInt8(1,2147483649),!$.getInt8(0)&&$.getInt8(1)||u(b[_],{setInt8:function(t,n){J.call(this,t,n<<24>>24)},setUint8:function(t,n){J.call(this,t,n<<24>>24)}},!0)}else x=function(t){l(this,x,"ArrayBuffer");var n=p(t);this._b=y.call(new Array(n),0),this[D]=n},b=function(t,n,e){l(this,b,"DataView"),l(t,x,"DataView");var r=t[D],i=h(n);if(i<0||i>r)throw S("Wrong offset!");if(i+(e=void 0===e?r-i:f(e))>r)throw S("Wrong length!");this[O]=t,this[I]=i,this[D]=e},i&&(X(x,"byteLength","_l"),X(b,"buffer","_b"),X(b,"byteLength","_l"),X(b,"byteOffset","_o")),u(b[_],{getInt8:function(t){return U(this,1,t)[0]<<24>>24},getUint8:function(t){return U(this,1,t)[0]},getInt16:function(t){var n=U(this,2,t,arguments[1]);return(n[1]<<8|n[0])<<16>>16},getUint16:function(t){var n=U(this,2,t,arguments[1]);return n[1]<<8|n[0]},getInt32:function(t){return N(U(this,4,t,arguments[1]))},getUint32:function(t){return N(U(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return F(U(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return F(U(this,8,t,arguments[1]),52,8)},setInt8:function(t,n){V(this,1,t,W,n)},setUint8:function(t,n){V(this,1,t,W,n)},setInt16:function(t,n){V(this,2,t,R,n,arguments[2])},setUint16:function(t,n){V(this,2,t,R,n,arguments[2])},setInt32:function(t,n){V(this,4,t,j,n,arguments[2])},setUint32:function(t,n){V(this,4,t,j,n,arguments[2])},setFloat32:function(t,n){V(this,4,t,z,n,arguments[2])},setFloat64:function(t,n){V(this,8,t,B,n,arguments[2])}});g(x,"ArrayBuffer"),g(b,"DataView"),s(b[_],a.VIEW,!0),n.ArrayBuffer=x,n.DataView=b},function(t,n,e){t.exports=!e(7)&&!e(3)(function(){return 7!=Object.defineProperty(e(67)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){n.f=e(5)},function(t,n,e){var r=e(14),i=e(15),o=e(53)(!1),a=e(69)("IE_PROTO");t.exports=function(t,n){var e,s=i(t),u=0,c=[];for(e in s)e!=a&&r(s,e)&&c.push(e);for(;n.length>u;)r(s,e=n[u++])&&(~o(c,e)||c.push(e));return c}},function(t,n,e){var r=e(8),i=e(1),o=e(34);t.exports=e(7)?Object.defineProperties:function(t,n){i(t);for(var e,a=o(n),s=a.length,u=0;s>u;)r.f(t,e=a[u++],n[e]);return t}},function(t,n,e){var r=e(15),i=e(37).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return a.slice()}}(t):i(r(t))}},function(t,n,e){"use strict";var r=e(7),i=e(34),o=e(54),a=e(49),s=e(9),u=e(48),c=Object.assign;t.exports=!c||e(3)(function(){var t={},n={},e=Symbol(),r="abcdefghijklmnopqrst";return t[e]=7,r.split("").forEach(function(t){n[t]=t}),7!=c({},t)[e]||Object.keys(c({},n)).join("")!=r})?function(t,n){for(var e=s(t),c=arguments.length,l=1,h=o.f,f=a.f;c>l;)for(var p,d=u(arguments[l++]),v=h?i(d).concat(h(d)):i(d),y=v.length,g=0;y>g;)p=v[g++],r&&!f.call(d,p)||(e[p]=d[p]);return e}:c},function(t,n){t.exports=Object.is||function(t,n){return t===n?0!==t||1/t==1/n:t!=t&&n!=n}},function(t,n,e){"use strict";var r=e(10),i=e(4),o=e(102),a=[].slice,s={};t.exports=Function.bind||function(t){var n=r(this),e=a.call(arguments,1),u=function(){var r=e.concat(a.call(arguments));return this instanceof u?function(t,n,e){if(!(n in s)){for(var r=[],i=0;i<n;i++)r[i]="a["+i+"]";s[n]=Function("F,a","return new F("+r.join(",")+")")}return s[n](t,e)}(n,r.length,r):o(n,r,t)};return i(n.prototype)&&(u.prototype=n.prototype),u}},function(t,n){t.exports=function(t,n,e){var r=void 0===e;switch(n.length){case 0:return r?t():t.call(e);case 1:return r?t(n[0]):t.call(e,n[0]);case 2:return r?t(n[0],n[1]):t.call(e,n[0],n[1]);case 3:return r?t(n[0],n[1],n[2]):t.call(e,n[0],n[1],n[2]);case 4:return r?t(n[0],n[1],n[2],n[3]):t.call(e,n[0],n[1],n[2],n[3])}return t.apply(e,n)}},function(t,n,e){var r=e(2).parseInt,i=e(45).trim,o=e(73),a=/^[-+]?0[xX]/;t.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(t,n){var e=i(String(t),3);return r(e,n>>>0||(a.test(e)?16:10))}:r},function(t,n,e){var r=e(2).parseFloat,i=e(45).trim;t.exports=1/r(e(73)+"-0")!=-1/0?function(t){var n=i(String(t),3),e=r(n);return 0===e&&"-"==n.charAt(0)?-0:e}:r},function(t,n,e){var r=e(20);t.exports=function(t,n){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(n);return+t}},function(t,n,e){var r=e(4),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(t)===t}},function(t,n){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,n,e){var r=e(76),i=Math.pow,o=i(2,-52),a=i(2,-23),s=i(2,127)*(2-a),u=i(2,-126);t.exports=Math.fround||function(t){var n,e,i=Math.abs(t),c=r(t);return i<u?c*(i/u/a+1/o-1/o)*u*a:(e=(n=(1+a/o)*i)-(n-i))>s||e!=e?c*(1/0):c*e}},function(t,n,e){var r=e(1);t.exports=function(t,n,e,i){try{return i?n(r(e)[0],e[1]):n(e)}catch(n){var o=t.return;throw void 0!==o&&r(o.call(t)),n}}},function(t,n,e){var r=e(10),i=e(9),o=e(48),a=e(6);t.exports=function(t,n,e,s,u){r(n);var c=i(t),l=o(c),h=a(c.length),f=u?h-1:0,p=u?-1:1;if(e<2)for(;;){if(f in l){s=l[f],f+=p;break}if(f+=p,u?f<0:h<=f)throw TypeError("Reduce of empty array with no initial value")}for(;u?f>=0:h>f;f+=p)f in l&&(s=n(s,l[f],f,c));return s}},function(t,n,e){"use strict";var r=e(9),i=e(35),o=e(6);t.exports=[].copyWithin||function(t,n){var e=r(this),a=o(e.length),s=i(t,a),u=i(n,a),c=arguments.length>2?arguments[2]:void 0,l=Math.min((void 0===c?a:i(c,a))-u,a-s),h=1;for(u<s&&s<u+l&&(h=-1,u+=l-1,s+=l-1);l-- >0;)u in e?e[s]=e[u]:delete e[s],s+=h,u+=h;return e}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,e){"use strict";var r=e(88);e(0)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(t,n,e){e(7)&&"g"!=/./g.flags&&e(8).f(RegExp.prototype,"flags",{configurable:!0,get:e(50)})},function(t,n){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,n,e){var r=e(1),i=e(4),o=e(92);t.exports=function(t,n){if(r(t),i(n)&&n.constructor===t)return n;var e=o.f(t);return(0,e.resolve)(n),e.promise}},function(t,n,e){"use strict";var r=e(118),i=e(42);t.exports=e(62)("Map",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{get:function(t){var n=r.getEntry(i(this,"Map"),t);return n&&n.v},set:function(t,n){return r.def(i(this,"Map"),0===t?0:t,n)}},r,!0)},function(t,n,e){"use strict";var r=e(8).f,i=e(36),o=e(41),a=e(19),s=e(39),u=e(40),c=e(78),l=e(112),h=e(38),f=e(7),p=e(30).fastKey,d=e(42),v=f?"_s":"size",y=function(t,n){var e,r=p(n);if("F"!==r)return t._i[r];for(e=t._f;e;e=e.n)if(e.k==n)return e};t.exports={getConstructor:function(t,n,e,c){var l=t(function(t,r){s(t,l,n,"_i"),t._t=n,t._i=i(null),t._f=void 0,t._l=void 0,t[v]=0,null!=r&&u(r,e,t[c],t)});return o(l.prototype,{clear:function(){for(var t=d(this,n),e=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete e[r.i];t._f=t._l=void 0,t[v]=0},delete:function(t){var e=d(this,n),r=y(e,t);if(r){var i=r.n,o=r.p;delete e._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),e._f==r&&(e._f=i),e._l==r&&(e._l=o),e[v]--}return!!r},forEach:function(t){d(this,n);for(var e,r=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.n:this._f;)for(r(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!y(d(this,n),t)}}),f&&r(l.prototype,"size",{get:function(){return d(this,n)[v]}}),l},def:function(t,n,e){var r,i,o=y(t,n);return o?o.v=e:(t._l=o={i:i=p(n,!0),k:n,v:e,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[v]++,"F"!==i&&(t._i[i]=o)),t},getEntry:y,setStrong:function(t,n,e){c(t,n,function(t,e){this._t=d(t,n),this._k=e,this._l=void 0},function(){for(var t=this._k,n=this._l;n&&n.r;)n=n.p;return this._t&&(this._l=n=n?n.n:this._t._f)?l(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(this._t=void 0,l(1))},e?"entries":"values",!e,!0),h(n)}}},function(t,n,e){"use strict";var r=e(118),i=e(42);t.exports=e(62)("Set",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(i(this,"Set"),t=0===t?0:t,t)}},r)},function(t,n,e){"use strict";var r,i=e(2),o=e(26)(0),a=e(12),s=e(30),u=e(99),c=e(121),l=e(4),h=e(42),f=e(42),p=!i.ActiveXObject&&"ActiveXObject"in i,d=s.getWeak,v=Object.isExtensible,y=c.ufstore,g=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},_={get:function(t){if(l(t)){var n=d(t);return!0===n?y(h(this,"WeakMap")).get(t):n?n[this._i]:void 0}},set:function(t,n){return c.def(h(this,"WeakMap"),t,n)}},m=t.exports=e(62)("WeakMap",g,_,c,!0,!0);f&&p&&(u((r=c.getConstructor(g,"WeakMap")).prototype,_),s.NEED=!0,o(["delete","has","get","set"],function(t){var n=m.prototype,e=n[t];a(n,t,function(n,i){if(l(n)&&!v(n)){this._f||(this._f=new r);var o=this._f[t](n,i);return"set"==t?this:o}return e.call(this,n,i)})}))},function(t,n,e){"use strict";var r=e(41),i=e(30).getWeak,o=e(1),a=e(4),s=e(39),u=e(40),c=e(26),l=e(14),h=e(42),f=c(5),p=c(6),d=0,v=function(t){return t._l||(t._l=new y)},y=function(){this.a=[]},g=function(t,n){return f(t.a,function(t){return t[0]===n})};y.prototype={get:function(t){var n=g(this,t);if(n)return n[1]},has:function(t){return!!g(this,t)},set:function(t,n){var e=g(this,t);e?e[1]=n:this.a.push([t,n])},delete:function(t){var n=p(this.a,function(n){return n[0]===t});return~n&&this.a.splice(n,1),!!~n}},t.exports={getConstructor:function(t,n,e,o){var c=t(function(t,r){s(t,c,n,"_i"),t._t=n,t._i=d++,t._l=void 0,null!=r&&u(r,e,t[o],t)});return r(c.prototype,{delete:function(t){if(!a(t))return!1;var e=i(t);return!0===e?v(h(this,n)).delete(t):e&&l(e,this._i)&&delete e[this._i]},has:function(t){if(!a(t))return!1;var e=i(t);return!0===e?v(h(this,n)).has(t):e&&l(e,this._i)}}),c},def:function(t,n,e){var r=i(o(n),!0);return!0===r?v(t).set(n,e):r[t._i]=e,t},ufstore:v}},function(t,n,e){var r=e(21),i=e(6);t.exports=function(t){if(void 0===t)return 0;var n=r(t),e=i(n);if(n!==e)throw RangeError("Wrong length!");return e}},function(t,n,e){var r=e(37),i=e(54),o=e(1),a=e(2).Reflect;t.exports=a&&a.ownKeys||function(t){var n=r.f(o(t)),e=i.f;return e?n.concat(e(t)):n}},function(t,n,e){"use strict";var r=e(55),i=e(4),o=e(6),a=e(19),s=e(5)("isConcatSpreadable");t.exports=function t(n,e,u,c,l,h,f,p){for(var d,v,y=l,g=0,_=!!f&&a(f,p,3);g<c;){if(g in u){if(d=_?_(u[g],g,e):u[g],v=!1,i(d)&&(v=void 0!==(v=d[s])?!!v:r(d)),v&&h>0)y=t(n,e,d,o(d.length),y,h-1)-1;else{if(y>=9007199254740991)throw TypeError();n[y]=d}y++}g++}return y}},function(t,n,e){var r=e(6),i=e(75),o=e(24);t.exports=function(t,n,e,a){var s=String(o(t)),u=s.length,c=void 0===e?" ":String(e),l=r(n);if(l<=u||""==c)return s;var h=l-u,f=i.call(c,Math.ceil(h/c.length));return f.length>h&&(f=f.slice(0,h)),a?f+s:s+f}},function(t,n,e){var r=e(7),i=e(34),o=e(15),a=e(49).f;t.exports=function(t){return function(n){for(var e,s=o(n),u=i(s),c=u.length,l=0,h=[];c>l;)e=u[l++],r&&!a.call(s,e)||h.push(t?[e,s[e]]:s[e]);return h}}},function(t,n,e){var r=e(44),i=e(128);t.exports=function(t){return function(){if(r(this)!=t)throw TypeError(t+"#toJSON isn't generic");return i(this)}}},function(t,n,e){var r=e(40);t.exports=function(t,n){var e=[];return r(t,!1,e.push,e,n),e}},function(t,n){t.exports=Math.scale||function(t,n,e,r,i){return 0===arguments.length||t!=t||n!=n||e!=e||r!=r||i!=i?NaN:t===1/0||t===-1/0?t:(t-n)*(i-r)/(e-n)+r}},function(t,n,e){"use strict";(function(t){var e=function(){if("undefined"!=typeof Map)return Map;function t(t,n){var e=-1;return t.some(function(t,r){return t[0]===n&&(e=r,!0)}),e}return function(){function n(){this.__entries__=[]}var e={size:{configurable:!0}};return e.size.get=function(){return this.__entries__.length},n.prototype.get=function(n){var e=t(this.__entries__,n),r=this.__entries__[e];return r&&r[1]},n.prototype.set=function(n,e){var r=t(this.__entries__,n);~r?this.__entries__[r][1]=e:this.__entries__.push([n,e])},n.prototype.delete=function(n){var e=this.__entries__,r=t(e,n);~r&&e.splice(r,1)},n.prototype.has=function(n){return!!~t(this.__entries__,n)},n.prototype.clear=function(){this.__entries__.splice(0)},n.prototype.forEach=function(t,n){void 0===n&&(n=null);for(var e=0,r=this.__entries__;e<r.length;e+=1){var i=r[e];t.call(n,i[1],i[0])}},Object.defineProperties(n.prototype,e),n}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==t&&t.Math===Math?t:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)},a=2,s=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,c=function(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,n){var e=!1,r=!1,i=0;function s(){e&&(e=!1,t()),r&&c()}function u(){o(s)}function c(){var t=Date.now();if(e){if(t-i<a)return;r=!0}else e=!0,r=!1,setTimeout(u,n);i=t}return c}(this.refresh.bind(this),20)};c.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},c.prototype.removeObserver=function(t){var n=this.observers_,e=n.indexOf(t);~e&&n.splice(e,1),!n.length&&this.connected_&&this.disconnect_()},c.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},c.prototype.updateObservers_=function(){var t=this.observers_.filter(function(t){return t.gatherActive(),t.hasActive()});return t.forEach(function(t){return t.broadcastActive()}),t.length>0},c.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},c.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},c.prototype.onTransitionEnd_=function(t){var n=t.propertyName;void 0===n&&(n=""),s.some(function(t){return!!~n.indexOf(t)})&&this.refresh()},c.getInstance=function(){return this.instance_||(this.instance_=new c),this.instance_},c.instance_=null;var l=function(t,n){for(var e=0,r=Object.keys(n);e<r.length;e+=1){var i=r[e];Object.defineProperty(t,i,{value:n[i],enumerable:!1,writable:!1,configurable:!0})}return t},h=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||i},f=_(0,0,0,0);function p(t){return parseFloat(t)||0}function d(t){for(var n=[],e=arguments.length-1;e-- >0;)n[e]=arguments[e+1];return n.reduce(function(n,e){return n+p(t["border-"+e+"-width"])},0)}function v(t){var n=t.clientWidth,e=t.clientHeight;if(!n&&!e)return f;var r=h(t).getComputedStyle(t),i=function(t){for(var n={},e=0,r=["top","right","bottom","left"];e<r.length;e+=1){var i=r[e],o=t["padding-"+i];n[i]=p(o)}return n}(r),o=i.left+i.right,a=i.top+i.bottom,s=p(r.width),u=p(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==n&&(s-=d(r,"left","right")+o),Math.round(u+a)!==e&&(u-=d(r,"top","bottom")+a)),!function(t){return t===h(t).document.documentElement}(t)){var c=Math.round(s+o)-n,l=Math.round(u+a)-e;1!==Math.abs(c)&&(s-=c),1!==Math.abs(l)&&(u-=l)}return _(i.left,i.top,s,u)}var y="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof h(t).SVGGraphicsElement}:function(t){return t instanceof h(t).SVGElement&&"function"==typeof t.getBBox};function g(t){return r?y(t)?function(t){var n=t.getBBox();return _(0,0,n.width,n.height)}(t):v(t):f}function _(t,n,e,r){return{x:t,y:n,width:e,height:r}}var m=function(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=_(0,0,0,0),this.target=t};m.prototype.isActive=function(){var t=g(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},m.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t};var x=function(t,n){var e,r,i,o,a,s,u,c=(r=(e=n).x,i=e.y,o=e.width,a=e.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(s.prototype),l(u,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),u);l(this,{target:t,contentRect:c})},b=function(t,n,r){if(this.activeObservations_=[],this.observations_=new e,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=n,this.callbackCtx_=r};b.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new m(t)),this.controller_.addObserver(this),this.controller_.refresh())}},b.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},b.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},b.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},b.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(t){return new x(t.target,t.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},b.prototype.clearActive=function(){this.activeObservations_.splice(0)},b.prototype.hasActive=function(){return this.activeObservations_.length>0};var w="undefined"!=typeof WeakMap?new WeakMap:new e,S=function(t){if(!(this instanceof S))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),e=new b(t,n,this);w.set(this,e)};["observe","unobserve","disconnect"].forEach(function(t){S.prototype[t]=function(){return(n=w.get(this))[t].apply(n,arguments);var n}});var M=void 0!==i.ResizeObserver?i.ResizeObserver:S;n.a=M}).call(this,e(52))},function(t,n,e){(function(t){!function(){if("function"==typeof window.CustomEvent)return!1;function t(t,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var e=document.createEvent("CustomEvent");return e.initCustomEvent(t,n.bubbles,n.cancelable,n.detail),e}t.prototype=window.Event.prototype,window.CustomEvent=t}(),!(t._babelPolyfill||"undefined"!=typeof window&&window._babelPolyfill)&&e(132)}).call(this,e(52))},function(t,n,e){"use strict";(function(t){if(e(133),e(330),e(331),t._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");t._babelPolyfill=!0;var n="defineProperty";function r(t,e,r){t[e]||Object[n](t,e,{writable:!0,configurable:!0,value:r})}r(String.prototype,"padLeft","".padStart),r(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(t){[][t]&&r(Array,t,Function.call.bind([][t]))})}).call(this,e(52))},function(t,n,e){e(134),e(137),e(138),e(139),e(140),e(141),e(142),e(143),e(144),e(145),e(146),e(147),e(148),e(149),e(150),e(151),e(152),e(153),e(154),e(155),e(156),e(157),e(158),e(159),e(160),e(161),e(162),e(163),e(164),e(165),e(166),e(167),e(168),e(169),e(170),e(171),e(172),e(173),e(174),e(175),e(176),e(177),e(178),e(179),e(180),e(181),e(182),e(183),e(184),e(185),e(186),e(187),e(188),e(189),e(190),e(191),e(192),e(193),e(194),e(195),e(196),e(197),e(198),e(199),e(200),e(201),e(202),e(203),e(204),e(205),e(206),e(207),e(208),e(209),e(210),e(211),e(212),e(214),e(215),e(217),e(218),e(219),e(220),e(221),e(222),e(223),e(225),e(226),e(227),e(228),e(229),e(230),e(231),e(232),e(233),e(234),e(235),e(236),e(237),e(87),e(238),e(113),e(239),e(114),e(240),e(241),e(242),e(243),e(244),e(117),e(119),e(120),e(245),e(246),e(247),e(248),e(249),e(250),e(251),e(252),e(253),e(254),e(255),e(256),e(257),e(258),e(259),e(260),e(261),e(262),e(263),e(264),e(265),e(266),e(267),e(268),e(269),e(270),e(271),e(272),e(273),e(274),e(275),e(276),e(277),e(278),e(279),e(280),e(281),e(282),e(283),e(284),e(285),e(286),e(287),e(288),e(289),e(290),e(291),e(292),e(293),e(294),e(295),e(296),e(297),e(298),e(299),e(300),e(301),e(302),e(303),e(304),e(305),e(306),e(307),e(308),e(309),e(310),e(311),e(312),e(313),e(314),e(315),e(316),e(317),e(318),e(319),e(320),e(321),e(322),e(323),e(324),e(325),e(326),e(327),e(328),e(329),t.exports=e(18)},function(t,n,e){"use strict";var r=e(2),i=e(14),o=e(7),a=e(0),s=e(12),u=e(30).KEY,c=e(3),l=e(47),h=e(43),f=e(33),p=e(5),d=e(95),v=e(68),y=e(136),g=e(55),_=e(1),m=e(4),x=e(9),b=e(15),w=e(23),S=e(32),M=e(36),k=e(98),T=e(16),A=e(54),E=e(8),L=e(34),C=T.f,O=E.f,D=k.f,I=r.Symbol,P=r.JSON,F=P&&P.stringify,N=p("_hidden"),W=p("toPrimitive"),R={}.propertyIsEnumerable,j=l("symbol-registry"),B=l("symbols"),z=l("op-symbols"),X=Object.prototype,U="function"==typeof I&&!!A.f,V=r.QObject,H=!V||!V.prototype||!V.prototype.findChild,G=o&&c(function(){return 7!=M(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a})?function(t,n,e){var r=C(X,n);r&&delete X[n],O(t,n,e),r&&t!==X&&O(X,n,r)}:O,Y=function(t){var n=B[t]=M(I.prototype);return n._k=t,n},q=U&&"symbol"==typeof I.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof I},$=function(t,n,e){return t===X&&$(z,n,e),_(t),n=w(n,!0),_(e),i(B,n)?(e.enumerable?(i(t,N)&&t[N][n]&&(t[N][n]=!1),e=M(e,{enumerable:S(0,!1)})):(i(t,N)||O(t,N,S(1,{})),t[N][n]=!0),G(t,n,e)):O(t,n,e)},J=function(t,n){_(t);for(var e,r=y(n=b(n)),i=0,o=r.length;o>i;)$(t,e=r[i++],n[e]);return t},Z=function(t){var n=R.call(this,t=w(t,!0));return!(this===X&&i(B,t)&&!i(z,t))&&(!(n||!i(this,t)||!i(B,t)||i(this,N)&&this[N][t])||n)},K=function(t,n){if(t=b(t),n=w(n,!0),t!==X||!i(B,n)||i(z,n)){var e=C(t,n);return!e||!i(B,n)||i(t,N)&&t[N][n]||(e.enumerable=!0),e}},Q=function(t){for(var n,e=D(b(t)),r=[],o=0;e.length>o;)i(B,n=e[o++])||n==N||n==u||r.push(n);return r},tt=function(t){for(var n,e=t===X,r=D(e?z:b(t)),o=[],a=0;r.length>a;)!i(B,n=r[a++])||e&&!i(X,n)||o.push(B[n]);return o};U||(s((I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var t=f(arguments.length>0?arguments[0]:void 0),n=function(e){this===X&&n.call(z,e),i(this,N)&&i(this[N],t)&&(this[N][t]=!1),G(this,t,S(1,e))};return o&&H&&G(X,t,{configurable:!0,set:n}),Y(t)}).prototype,"toString",function(){return this._k}),T.f=K,E.f=$,e(37).f=k.f=Q,e(49).f=Z,A.f=tt,o&&!e(29)&&s(X,"propertyIsEnumerable",Z,!0),d.f=function(t){return Y(p(t))}),a(a.G+a.W+a.F*!U,{Symbol:I});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;nt.length>et;)p(nt[et++]);for(var rt=L(p.store),it=0;rt.length>it;)v(rt[it++]);a(a.S+a.F*!U,"Symbol",{for:function(t){return i(j,t+="")?j[t]:j[t]=I(t)},keyFor:function(t){if(!q(t))throw TypeError(t+" is not a symbol!");for(var n in j)if(j[n]===t)return n},useSetter:function(){H=!0},useSimple:function(){H=!1}}),a(a.S+a.F*!U,"Object",{create:function(t,n){return void 0===n?M(t):J(M(t),n)},defineProperty:$,defineProperties:J,getOwnPropertyDescriptor:K,getOwnPropertyNames:Q,getOwnPropertySymbols:tt});var ot=c(function(){A.f(1)});a(a.S+a.F*ot,"Object",{getOwnPropertySymbols:function(t){return A.f(x(t))}}),P&&a(a.S+a.F*(!U||c(function(){var t=I();return"[null]"!=F([t])||"{}"!=F({a:t})||"{}"!=F(Object(t))})),"JSON",{stringify:function(t){for(var n,e,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(e=n=r[1],(m(n)||void 0!==t)&&!q(t))return g(n)||(n=function(t,n){if("function"==typeof e&&(n=e.call(this,t,n)),!q(n))return n}),r[1]=n,F.apply(P,r)}}),I.prototype[W]||e(11)(I.prototype,W,I.prototype.valueOf),h(I,"Symbol"),h(Math,"Math",!0),h(r.JSON,"JSON",!0)},function(t,n,e){t.exports=e(47)("native-function-to-string",Function.toString)},function(t,n,e){var r=e(34),i=e(54),o=e(49);t.exports=function(t){var n=r(t),e=i.f;if(e)for(var a,s=e(t),u=o.f,c=0;s.length>c;)u.call(t,a=s[c++])&&n.push(a);return n}},function(t,n,e){var r=e(0);r(r.S,"Object",{create:e(36)})},function(t,n,e){var r=e(0);r(r.S+r.F*!e(7),"Object",{defineProperty:e(8).f})},function(t,n,e){var r=e(0);r(r.S+r.F*!e(7),"Object",{defineProperties:e(97)})},function(t,n,e){var r=e(15),i=e(16).f;e(25)("getOwnPropertyDescriptor",function(){return function(t,n){return i(r(t),n)}})},function(t,n,e){var r=e(9),i=e(17);e(25)("getPrototypeOf",function(){return function(t){return i(r(t))}})},function(t,n,e){var r=e(9),i=e(34);e(25)("keys",function(){return function(t){return i(r(t))}})},function(t,n,e){e(25)("getOwnPropertyNames",function(){return e(98).f})},function(t,n,e){var r=e(4),i=e(30).onFreeze;e(25)("freeze",function(t){return function(n){return t&&r(n)?t(i(n)):n}})},function(t,n,e){var r=e(4),i=e(30).onFreeze;e(25)("seal",function(t){return function(n){return t&&r(n)?t(i(n)):n}})},function(t,n,e){var r=e(4),i=e(30).onFreeze;e(25)("preventExtensions",function(t){return function(n){return t&&r(n)?t(i(n)):n}})},function(t,n,e){var r=e(4);e(25)("isFrozen",function(t){return function(n){return!r(n)||!!t&&t(n)}})},function(t,n,e){var r=e(4);e(25)("isSealed",function(t){return function(n){return!r(n)||!!t&&t(n)}})},function(t,n,e){var r=e(4);e(25)("isExtensible",function(t){return function(n){return!!r(n)&&(!t||t(n))}})},function(t,n,e){var r=e(0);r(r.S+r.F,"Object",{assign:e(99)})},function(t,n,e){var r=e(0);r(r.S,"Object",{is:e(100)})},function(t,n,e){var r=e(0);r(r.S,"Object",{setPrototypeOf:e(72).set})},function(t,n,e){"use strict";var r=e(44),i={};i[e(5)("toStringTag")]="z",i+""!="[object z]"&&e(12)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,n,e){var r=e(0);r(r.P,"Function",{bind:e(101)})},function(t,n,e){var r=e(8).f,i=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in i||e(7)&&r(i,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},function(t,n,e){"use strict";var r=e(4),i=e(17),o=e(5)("hasInstance"),a=Function.prototype;o in a||e(8).f(a,o,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},function(t,n,e){var r=e(0),i=e(103);r(r.G+r.F*(parseInt!=i),{parseInt:i})},function(t,n,e){var r=e(0),i=e(104);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},function(t,n,e){"use strict";var r=e(2),i=e(14),o=e(20),a=e(74),s=e(23),u=e(3),c=e(37).f,l=e(16).f,h=e(8).f,f=e(45).trim,p=r.Number,d=p,v=p.prototype,y="Number"==o(e(36)(v)),g="trim"in String.prototype,_=function(t){var n=s(t,!1);if("string"==typeof n&&n.length>2){var e,r,i,o=(n=g?n.trim():f(n,3)).charCodeAt(0);if(43===o||45===o){if(88===(e=n.charCodeAt(2))||120===e)return NaN}else if(48===o){switch(n.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+n}for(var a,u=n.slice(2),c=0,l=u.length;c<l;c++)if((a=u.charCodeAt(c))<48||a>i)return NaN;return parseInt(u,r)}}return+n};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var n=arguments.length<1?0:t,e=this;return e instanceof p&&(y?u(function(){v.valueOf.call(e)}):"Number"!=o(e))?a(new d(_(n)),e,p):_(n)};for(var m,x=e(7)?c(d):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),b=0;x.length>b;b++)i(d,m=x[b])&&!i(p,m)&&h(p,m,l(d,m));p.prototype=v,v.constructor=p,e(12)(r,"Number",p)}},function(t,n,e){"use strict";var r=e(0),i=e(21),o=e(105),a=e(75),s=1..toFixed,u=Math.floor,c=[0,0,0,0,0,0],l="Number.toFixed: incorrect invocation!",h=function(t,n){for(var e=-1,r=n;++e<6;)r+=t*c[e],c[e]=r%1e7,r=u(r/1e7)},f=function(t){for(var n=6,e=0;--n>=0;)e+=c[n],c[n]=u(e/t),e=e%t*1e7},p=function(){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==c[t]){var e=String(c[t]);n=""===n?e:n+a.call("0",7-e.length)+e}return n},d=function(t,n,e){return 0===n?e:n%2==1?d(t,n-1,e*t):d(t*t,n/2,e)};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!e(3)(function(){s.call({})})),"Number",{toFixed:function(t){var n,e,r,s,u=o(this,l),c=i(t),v="",y="0";if(c<0||c>20)throw RangeError(l);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(v="-",u=-u),u>1e-21)if(e=(n=function(t){for(var n=0,e=t;e>=4096;)n+=12,e/=4096;for(;e>=2;)n+=1,e/=2;return n}(u*d(2,69,1))-69)<0?u*d(2,-n,1):u/d(2,n,1),e*=4503599627370496,(n=52-n)>0){for(h(0,e),r=c;r>=7;)h(1e7,0),r-=7;for(h(d(10,r,1),0),r=n-1;r>=23;)f(1<<23),r-=23;f(1<<r),h(1,1),f(2),y=p()}else h(0,e),h(1<<-n,0),y=p()+a.call("0",c);return y=c>0?v+((s=y.length)<=c?"0."+a.call("0",c-s)+y:y.slice(0,s-c)+"."+y.slice(s-c)):v+y}})},function(t,n,e){"use strict";var r=e(0),i=e(3),o=e(105),a=1..toPrecision;r(r.P+r.F*(i(function(){return"1"!==a.call(1,void 0)})||!i(function(){a.call({})})),"Number",{toPrecision:function(t){var n=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?a.call(n):a.call(n,t)}})},function(t,n,e){var r=e(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,n,e){var r=e(0),i=e(2).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},function(t,n,e){var r=e(0);r(r.S,"Number",{isInteger:e(106)})},function(t,n,e){var r=e(0);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,n,e){var r=e(0),i=e(106),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},function(t,n,e){var r=e(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,n,e){var r=e(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,n,e){var r=e(0),i=e(104);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(t,n,e){var r=e(0),i=e(103);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(t,n,e){var r=e(0),i=e(107),o=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},function(t,n,e){var r=e(0),i=Math.asinh;r(r.S+r.F*!(i&&1/i(0)>0),"Math",{asinh:function t(n){return isFinite(n=+n)&&0!=n?n<0?-t(-n):Math.log(n+Math.sqrt(n*n+1)):n}})},function(t,n,e){var r=e(0),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,n,e){var r=e(0),i=e(76);r(r.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,n,e){var r=e(0);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,n,e){var r=e(0),i=Math.exp;r(r.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},function(t,n,e){var r=e(0),i=e(77);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},function(t,n,e){var r=e(0);r(r.S,"Math",{fround:e(108)})},function(t,n,e){var r=e(0),i=Math.abs;r(r.S,"Math",{hypot:function(t,n){for(var e,r,o=0,a=0,s=arguments.length,u=0;a<s;)u<(e=i(arguments[a++]))?(o=o*(r=u/e)*r+1,u=e):o+=e>0?(r=e/u)*r:e;return u===1/0?1/0:u*Math.sqrt(o)}})},function(t,n,e){var r=e(0),i=Math.imul;r(r.S+r.F*e(3)(function(){return-5!=i(4294967295,5)||2!=i.length}),"Math",{imul:function(t,n){var e=+t,r=+n,i=65535&e,o=65535&r;return 0|i*o+((65535&e>>>16)*o+i*(65535&r>>>16)<<16>>>0)}})},function(t,n,e){var r=e(0);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,n,e){var r=e(0);r(r.S,"Math",{log1p:e(107)})},function(t,n,e){var r=e(0);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,n,e){var r=e(0);r(r.S,"Math",{sign:e(76)})},function(t,n,e){var r=e(0),i=e(77),o=Math.exp;r(r.S+r.F*e(3)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,n,e){var r=e(0),i=e(77),o=Math.exp;r(r.S,"Math",{tanh:function(t){var n=i(t=+t),e=i(-t);return n==1/0?1:e==1/0?-1:(n-e)/(o(t)+o(-t))}})},function(t,n,e){var r=e(0);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,n,e){var r=e(0),i=e(35),o=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(t){for(var n,e=[],r=arguments.length,a=0;r>a;){if(n=+arguments[a++],i(n,1114111)!==n)throw RangeError(n+" is not a valid code point");e.push(n<65536?o(n):o(55296+((n-=65536)>>10),n%1024+56320))}return e.join("")}})},function(t,n,e){var r=e(0),i=e(15),o=e(6);r(r.S,"String",{raw:function(t){for(var n=i(t.raw),e=o(n.length),r=arguments.length,a=[],s=0;e>s;)a.push(String(n[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},function(t,n,e){"use strict";e(45)("trim",function(t){return function(){return t(this,3)}})},function(t,n,e){"use strict";var r=e(56)(!0);e(78)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){"use strict";var r=e(0),i=e(56)(!1);r(r.P,"String",{codePointAt:function(t){return i(this,t)}})},function(t,n,e){"use strict";var r=e(0),i=e(6),o=e(80),a="".endsWith;r(r.P+r.F*e(81)("endsWith"),"String",{endsWith:function(t){var n=o(this,t,"endsWith"),e=arguments.length>1?arguments[1]:void 0,r=i(n.length),s=void 0===e?r:Math.min(i(e),r),u=String(t);return a?a.call(n,u,s):n.slice(s-u.length,s)===u}})},function(t,n,e){"use strict";var r=e(0),i=e(80);r(r.P+r.F*e(81)("includes"),"String",{includes:function(t){return!!~i(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,n,e){var r=e(0);r(r.P,"String",{repeat:e(75)})},function(t,n,e){"use strict";var r=e(0),i=e(6),o=e(80),a="".startsWith;r(r.P+r.F*e(81)("startsWith"),"String",{startsWith:function(t){var n=o(this,t,"startsWith"),e=i(Math.min(arguments.length>1?arguments[1]:void 0,n.length)),r=String(t);return a?a.call(n,r,e):n.slice(e,e+r.length)===r}})},function(t,n,e){"use strict";e(13)("anchor",function(t){return function(n){return t(this,"a","name",n)}})},function(t,n,e){"use strict";e(13)("big",function(t){return function(){return t(this,"big","","")}})},function(t,n,e){"use strict";e(13)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,n,e){"use strict";e(13)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,n,e){"use strict";e(13)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,n,e){"use strict";e(13)("fontcolor",function(t){return function(n){return t(this,"font","color",n)}})},function(t,n,e){"use strict";e(13)("fontsize",function(t){return function(n){return t(this,"font","size",n)}})},function(t,n,e){"use strict";e(13)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,n,e){"use strict";e(13)("link",function(t){return function(n){return t(this,"a","href",n)}})},function(t,n,e){"use strict";e(13)("small",function(t){return function(){return t(this,"small","","")}})},function(t,n,e){"use strict";e(13)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,n,e){"use strict";e(13)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,n,e){"use strict";e(13)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,n,e){var r=e(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,n,e){"use strict";var r=e(0),i=e(9),o=e(23);r(r.P+r.F*e(3)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var n=i(this),e=o(n);return"number"!=typeof e||isFinite(e)?n.toISOString():null}})},function(t,n,e){var r=e(0),i=e(213);r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},function(t,n,e){"use strict";var r=e(3),i=Date.prototype.getTime,o=Date.prototype.toISOString,a=function(t){return t>9?t:"0"+t};t.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-5e13-1))})||!r(function(){o.call(new Date(NaN))})?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var t=this,n=t.getUTCFullYear(),e=t.getUTCMilliseconds(),r=n<0?"-":n>9999?"+":"";return r+("00000"+Math.abs(n)).slice(r?-6:-4)+"-"+a(t.getUTCMonth()+1)+"-"+a(t.getUTCDate())+"T"+a(t.getUTCHours())+":"+a(t.getUTCMinutes())+":"+a(t.getUTCSeconds())+"."+(e>99?e:"0"+a(e))+"Z"}:o},function(t,n,e){var r=Date.prototype,i=r.toString,o=r.getTime;new Date(NaN)+""!="Invalid Date"&&e(12)(r,"toString",function(){var t=o.call(this);return t==t?i.call(this):"Invalid Date"})},function(t,n,e){var r=e(5)("toPrimitive"),i=Date.prototype;r in i||e(11)(i,r,e(216))},function(t,n,e){"use strict";var r=e(1),i=e(23);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return i(r(this),"number"!=t)}},function(t,n,e){var r=e(0);r(r.S,"Array",{isArray:e(55)})},function(t,n,e){"use strict";var r=e(19),i=e(0),o=e(9),a=e(109),s=e(82),u=e(6),c=e(83),l=e(84);i(i.S+i.F*!e(58)(function(t){Array.from(t)}),"Array",{from:function(t){var n,e,i,h,f=o(t),p="function"==typeof this?this:Array,d=arguments.length,v=d>1?arguments[1]:void 0,y=void 0!==v,g=0,_=l(f);if(y&&(v=r(v,d>2?arguments[2]:void 0,2)),null==_||p==Array&&s(_))for(e=new p(n=u(f.length));n>g;g++)c(e,g,y?v(f[g],g):f[g]);else for(h=_.call(f),e=new p;!(i=h.next()).done;g++)c(e,g,y?a(h,v,[i.value,g],!0):i.value);return e.length=g,e}})},function(t,n,e){"use strict";var r=e(0),i=e(83);r(r.S+r.F*e(3)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,n=arguments.length,e=new("function"==typeof this?this:Array)(n);n>t;)i(e,t,arguments[t++]);return e.length=n,e}})},function(t,n,e){"use strict";var r=e(0),i=e(15),o=[].join;r(r.P+r.F*(e(48)!=Object||!e(22)(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},function(t,n,e){"use strict";var r=e(0),i=e(71),o=e(20),a=e(35),s=e(6),u=[].slice;r(r.P+r.F*e(3)(function(){i&&u.call(i)}),"Array",{slice:function(t,n){var e=s(this.length),r=o(this);if(n=void 0===n?e:n,"Array"==r)return u.call(this,t,n);for(var i=a(t,e),c=a(n,e),l=s(c-i),h=new Array(l),f=0;f<l;f++)h[f]="String"==r?this.charAt(i+f):this[i+f];return h}})},function(t,n,e){"use strict";var r=e(0),i=e(10),o=e(9),a=e(3),s=[].sort,u=[1,2,3];r(r.P+r.F*(a(function(){u.sort(void 0)})||!a(function(){u.sort(null)})||!e(22)(s)),"Array",{sort:function(t){return void 0===t?s.call(o(this)):s.call(o(this),i(t))}})},function(t,n,e){"use strict";var r=e(0),i=e(26)(0),o=e(22)([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(t){return i(this,t,arguments[1])}})},function(t,n,e){var r=e(4),i=e(55),o=e(5)("species");t.exports=function(t){var n;return i(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!i(n.prototype)||(n=void 0),r(n)&&null===(n=n[o])&&(n=void 0)),void 0===n?Array:n}},function(t,n,e){"use strict";var r=e(0),i=e(26)(1);r(r.P+r.F*!e(22)([].map,!0),"Array",{map:function(t){return i(this,t,arguments[1])}})},function(t,n,e){"use strict";var r=e(0),i=e(26)(2);r(r.P+r.F*!e(22)([].filter,!0),"Array",{filter:function(t){return i(this,t,arguments[1])}})},function(t,n,e){"use strict";var r=e(0),i=e(26)(3);r(r.P+r.F*!e(22)([].some,!0),"Array",{some:function(t){return i(this,t,arguments[1])}})},function(t,n,e){"use strict";var r=e(0),i=e(26)(4);r(r.P+r.F*!e(22)([].every,!0),"Array",{every:function(t){return i(this,t,arguments[1])}})},function(t,n,e){"use strict";var r=e(0),i=e(110);r(r.P+r.F*!e(22)([].reduce,!0),"Array",{reduce:function(t){return i(this,t,arguments.length,arguments[1],!1)}})},function(t,n,e){"use strict";var r=e(0),i=e(110);r(r.P+r.F*!e(22)([].reduceRight,!0),"Array",{reduceRight:function(t){return i(this,t,arguments.length,arguments[1],!0)}})},function(t,n,e){"use strict";var r=e(0),i=e(53)(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!e(22)(o)),"Array",{indexOf:function(t){return a?o.apply(this,arguments)||0:i(this,t,arguments[1])}})},function(t,n,e){"use strict";var r=e(0),i=e(15),o=e(21),a=e(6),s=[].lastIndexOf,u=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(u||!e(22)(s)),"Array",{lastIndexOf:function(t){if(u)return s.apply(this,arguments)||0;var n=i(this),e=a(n.length),r=e-1;for(arguments.length>1&&(r=Math.min(r,o(arguments[1]))),r<0&&(r=e+r);r>=0;r--)if(r in n&&n[r]===t)return r||0;return-1}})},function(t,n,e){var r=e(0);r(r.P,"Array",{copyWithin:e(111)}),e(31)("copyWithin")},function(t,n,e){var r=e(0);r(r.P,"Array",{fill:e(86)}),e(31)("fill")},function(t,n,e){"use strict";var r=e(0),i=e(26)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),r(r.P+r.F*o,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),e(31)("find")},function(t,n,e){"use strict";var r=e(0),i=e(26)(6),o="findIndex",a=!0;o in[]&&Array(1)[o](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),e(31)(o)},function(t,n,e){e(38)("Array")},function(t,n,e){var r=e(2),i=e(74),o=e(8).f,a=e(37).f,s=e(57),u=e(50),c=r.RegExp,l=c,h=c.prototype,f=/a/g,p=/a/g,d=new c(f)!==f;if(e(7)&&(!d||e(3)(function(){return p[e(5)("match")]=!1,c(f)!=f||c(p)==p||"/a/i"!=c(f,"i")}))){c=function(t,n){var e=this instanceof c,r=s(t),o=void 0===n;return!e&&r&&t.constructor===c&&o?t:i(d?new l(r&&!o?t.source:t,n):l((r=t instanceof c)?t.source:t,r&&o?u.call(t):n),e?this:h,c)};for(var v=function(t){t in c||o(c,t,{configurable:!0,get:function(){return l[t]},set:function(n){l[t]=n}})},y=a(l),g=0;y.length>g;)v(y[g++]);h.constructor=c,c.prototype=h,e(12)(r,"RegExp",c)}e(38)("RegExp")},function(t,n,e){"use strict";e(114);var r=e(1),i=e(50),o=e(7),a=/./.toString,s=function(t){e(12)(RegExp.prototype,"toString",t,!0)};e(3)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?s(function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)}):"toString"!=a.name&&s(function(){return a.call(this)})},function(t,n,e){"use strict";var r=e(1),i=e(6),o=e(89),a=e(59);e(60)("match",1,function(t,n,e,s){return[function(e){var r=t(this),i=null==e?void 0:e[n];return void 0!==i?i.call(e,r):new RegExp(e)[n](String(r))},function(t){var n=s(e,t,this);if(n.done)return n.value;var u=r(t),c=String(this);if(!u.global)return a(u,c);var l=u.unicode;u.lastIndex=0;for(var h,f=[],p=0;null!==(h=a(u,c));){var d=String(h[0]);f[p]=d,""===d&&(u.lastIndex=o(c,i(u.lastIndex),l)),p++}return 0===p?null:f}]})},function(t,n,e){"use strict";var r=e(1),i=e(9),o=e(6),a=e(21),s=e(89),u=e(59),c=Math.max,l=Math.min,h=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;e(60)("replace",2,function(t,n,e,d){return[function(r,i){var o=t(this),a=null==r?void 0:r[n];return void 0!==a?a.call(r,o,i):e.call(String(o),r,i)},function(t,n){var i=d(e,t,this,n);if(i.done)return i.value;var h=r(t),f=String(this),p="function"==typeof n;p||(n=String(n));var y=h.global;if(y){var g=h.unicode;h.lastIndex=0}for(var _=[];;){var m=u(h,f);if(null===m)break;if(_.push(m),!y)break;""===String(m[0])&&(h.lastIndex=s(f,o(h.lastIndex),g))}for(var x,b="",w=0,S=0;S<_.length;S++){m=_[S];for(var M=String(m[0]),k=c(l(a(m.index),f.length),0),T=[],A=1;A<m.length;A++)T.push(void 0===(x=m[A])?x:String(x));var E=m.groups;if(p){var L=[M].concat(T,k,f);void 0!==E&&L.push(E);var C=String(n.apply(void 0,L))}else C=v(M,f,k,T,E,n);k>=w&&(b+=f.slice(w,k)+C,w=k+M.length)}return b+f.slice(w)}];function v(t,n,r,o,a,s){var u=r+t.length,c=o.length,l=p;return void 0!==a&&(a=i(a),l=f),e.call(s,l,function(e,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":s=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return e;if(l>c){var f=h(l/10);return 0===f?e:f<=c?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):e}s=o[l-1]}return void 0===s?"":s})}})},function(t,n,e){"use strict";var r=e(1),i=e(100),o=e(59);e(60)("search",1,function(t,n,e,a){return[function(e){var r=t(this),i=null==e?void 0:e[n];return void 0!==i?i.call(e,r):new RegExp(e)[n](String(r))},function(t){var n=a(e,t,this);if(n.done)return n.value;var s=r(t),u=String(this),c=s.lastIndex;i(c,0)||(s.lastIndex=0);var l=o(s,u);return i(s.lastIndex,c)||(s.lastIndex=c),null===l?-1:l.index}]})},function(t,n,e){"use strict";var r=e(57),i=e(1),o=e(51),a=e(89),s=e(6),u=e(59),c=e(88),l=e(3),h=Math.min,f=[].push,p=!l(function(){RegExp(4294967295,"y")});e(60)("split",2,function(t,n,e,l){var d;return d="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var i=String(this);if(void 0===t&&0===n)return[];if(!r(t))return e.call(i,t,n);for(var o,a,s,u=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,p=void 0===n?4294967295:n>>>0,d=new RegExp(t.source,l+"g");(o=c.call(d,i))&&!((a=d.lastIndex)>h&&(u.push(i.slice(h,o.index)),o.length>1&&o.index<i.length&&f.apply(u,o.slice(1)),s=o[0].length,h=a,u.length>=p));)d.lastIndex===o.index&&d.lastIndex++;return h===i.length?!s&&d.test("")||u.push(""):u.push(i.slice(h)),u.length>p?u.slice(0,p):u}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,r){var i=t(this),o=null==e?void 0:e[n];return void 0!==o?o.call(e,i,r):d.call(String(i),e,r)},function(t,n){var r=l(d,t,this,n,d!==e);if(r.done)return r.value;var c=i(t),f=String(this),v=o(c,RegExp),y=c.unicode,g=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(p?"y":"g"),_=new v(p?c:"^(?:"+c.source+")",g),m=void 0===n?4294967295:n>>>0;if(0===m)return[];if(0===f.length)return null===u(_,f)?[f]:[];for(var x=0,b=0,w=[];b<f.length;){_.lastIndex=p?b:0;var S,M=u(_,p?f:f.slice(b));if(null===M||(S=h(s(_.lastIndex+(p?0:b)),f.length))===x)b=a(f,b,y);else{if(w.push(f.slice(x,b)),w.length===m)return w;for(var k=1;k<=M.length-1;k++)if(w.push(M[k]),w.length===m)return w;b=x=S}}return w.push(f.slice(x)),w}]})},function(t,n,e){"use strict";var r,i,o,a,s=e(29),u=e(2),c=e(19),l=e(44),h=e(0),f=e(4),p=e(10),d=e(39),v=e(40),y=e(51),g=e(90).set,_=e(91)(),m=e(92),x=e(115),b=e(61),w=e(116),S=u.TypeError,M=u.process,k=M&&M.versions,T=k&&k.v8||"",A=u.Promise,E="process"==l(M),L=function(){},C=i=m.f,O=!!function(){try{var t=A.resolve(1),n=(t.constructor={})[e(5)("species")]=function(t){t(L,L)};return(E||"function"==typeof PromiseRejectionEvent)&&t.then(L)instanceof n&&0!==T.indexOf("6.6")&&-1===b.indexOf("Chrome/66")}catch(t){}}(),D=function(t){var n;return!(!f(t)||"function"!=typeof(n=t.then))&&n},I=function(t,n){if(!t._n){t._n=!0;var e=t._c;_(function(){for(var r=t._v,i=1==t._s,o=0,a=function(n){var e,o,a,s=i?n.ok:n.fail,u=n.resolve,c=n.reject,l=n.domain;try{s?(i||(2==t._h&&N(t),t._h=1),!0===s?e=r:(l&&l.enter(),e=s(r),l&&(l.exit(),a=!0)),e===n.promise?c(S("Promise-chain cycle")):(o=D(e))?o.call(e,u,c):u(e)):c(r)}catch(t){l&&!a&&l.exit(),c(t)}};e.length>o;)a(e[o++]);t._c=[],t._n=!1,n&&!t._h&&P(t)})}},P=function(t){g.call(u,function(){var n,e,r,i=t._v,o=F(t);if(o&&(n=x(function(){E?M.emit("unhandledRejection",i,t):(e=u.onunhandledrejection)?e({promise:t,reason:i}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=E||F(t)?2:1),t._a=void 0,o&&n.e)throw n.v})},F=function(t){return 1!==t._h&&0===(t._a||t._c).length},N=function(t){g.call(u,function(){var n;E?M.emit("rejectionHandled",t):(n=u.onrejectionhandled)&&n({promise:t,reason:t._v})})},W=function(t){var n=this;n._d||(n._d=!0,(n=n._w||n)._v=t,n._s=2,n._a||(n._a=n._c.slice()),I(n,!0))},R=function(t){var n,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw S("Promise can't be resolved itself");(n=D(t))?_(function(){var r={_w:e,_d:!1};try{n.call(t,c(R,r,1),c(W,r,1))}catch(t){W.call(r,t)}}):(e._v=t,e._s=1,I(e,!1))}catch(t){W.call({_w:e,_d:!1},t)}}};O||(A=function(t){d(this,A,"Promise","_h"),p(t),r.call(this);try{t(c(R,this,1),c(W,this,1))}catch(t){W.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=e(41)(A.prototype,{then:function(t,n){var e=C(y(this,A));return e.ok="function"!=typeof t||t,e.fail="function"==typeof n&&n,e.domain=E?M.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&I(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=c(R,t,1),this.reject=c(W,t,1)},m.f=C=function(t){return t===A||t===a?new o(t):i(t)}),h(h.G+h.W+h.F*!O,{Promise:A}),e(43)(A,"Promise"),e(38)("Promise"),a=e(18).Promise,h(h.S+h.F*!O,"Promise",{reject:function(t){var n=C(this);return(0,n.reject)(t),n.promise}}),h(h.S+h.F*(s||!O),"Promise",{resolve:function(t){return w(s&&this===a?A:this,t)}}),h(h.S+h.F*!(O&&e(58)(function(t){A.all(t).catch(L)})),"Promise",{all:function(t){var n=this,e=C(n),r=e.resolve,i=e.reject,o=x(function(){var e=[],o=0,a=1;v(t,!1,function(t){var s=o++,u=!1;e.push(void 0),a++,n.resolve(t).then(function(t){u||(u=!0,e[s]=t,--a||r(e))},i)}),--a||r(e)});return o.e&&i(o.v),e.promise},race:function(t){var n=this,e=C(n),r=e.reject,i=x(function(){v(t,!1,function(t){n.resolve(t).then(e.resolve,r)})});return i.e&&r(i.v),e.promise}})},function(t,n,e){"use strict";var r=e(121),i=e(42);e(62)("WeakSet",function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},{add:function(t){return r.def(i(this,"WeakSet"),t,!0)}},r,!1,!0)},function(t,n,e){"use strict";var r=e(0),i=e(63),o=e(93),a=e(1),s=e(35),u=e(6),c=e(4),l=e(2).ArrayBuffer,h=e(51),f=o.ArrayBuffer,p=o.DataView,d=i.ABV&&l.isView,v=f.prototype.slice,y=i.VIEW;r(r.G+r.W+r.F*(l!==f),{ArrayBuffer:f}),r(r.S+r.F*!i.CONSTR,"ArrayBuffer",{isView:function(t){return d&&d(t)||c(t)&&y in t}}),r(r.P+r.U+r.F*e(3)(function(){return!new f(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(t,n){if(void 0!==v&&void 0===n)return v.call(a(this),t);for(var e=a(this).byteLength,r=s(t,e),i=s(void 0===n?e:n,e),o=new(h(this,f))(u(i-r)),c=new p(this),l=new p(o),d=0;r<i;)l.setUint8(d++,c.getUint8(r++));return o}}),e(38)("ArrayBuffer")},function(t,n,e){var r=e(0);r(r.G+r.W+r.F*!e(63).ABV,{DataView:e(93).DataView})},function(t,n,e){e(27)("Int8",1,function(t){return function(n,e,r){return t(this,n,e,r)}})},function(t,n,e){e(27)("Uint8",1,function(t){return function(n,e,r){return t(this,n,e,r)}})},function(t,n,e){e(27)("Uint8",1,function(t){return function(n,e,r){return t(this,n,e,r)}},!0)},function(t,n,e){e(27)("Int16",2,function(t){return function(n,e,r){return t(this,n,e,r)}})},function(t,n,e){e(27)("Uint16",2,function(t){return function(n,e,r){return t(this,n,e,r)}})},function(t,n,e){e(27)("Int32",4,function(t){return function(n,e,r){return t(this,n,e,r)}})},function(t,n,e){e(27)("Uint32",4,function(t){return function(n,e,r){return t(this,n,e,r)}})},function(t,n,e){e(27)("Float32",4,function(t){return function(n,e,r){return t(this,n,e,r)}})},function(t,n,e){e(27)("Float64",8,function(t){return function(n,e,r){return t(this,n,e,r)}})},function(t,n,e){var r=e(0),i=e(10),o=e(1),a=(e(2).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!e(3)(function(){a(function(){})}),"Reflect",{apply:function(t,n,e){var r=i(t),u=o(e);return a?a(r,n,u):s.call(r,n,u)}})},function(t,n,e){var r=e(0),i=e(36),o=e(10),a=e(1),s=e(4),u=e(3),c=e(101),l=(e(2).Reflect||{}).construct,h=u(function(){function t(){}return!(l(function(){},[],t)instanceof t)}),f=!u(function(){l(function(){})});r(r.S+r.F*(h||f),"Reflect",{construct:function(t,n){o(t),a(n);var e=arguments.length<3?t:o(arguments[2]);if(f&&!h)return l(t,n,e);if(t==e){switch(n.length){case 0:return new t;case 1:return new t(n[0]);case 2:return new t(n[0],n[1]);case 3:return new t(n[0],n[1],n[2]);case 4:return new t(n[0],n[1],n[2],n[3])}var r=[null];return r.push.apply(r,n),new(c.apply(t,r))}var u=e.prototype,p=i(s(u)?u:Object.prototype),d=Function.apply.call(t,p,n);return s(d)?d:p}})},function(t,n,e){var r=e(8),i=e(0),o=e(1),a=e(23);i(i.S+i.F*e(3)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,n,e){o(t),n=a(n,!0),o(e);try{return r.f(t,n,e),!0}catch(t){return!1}}})},function(t,n,e){var r=e(0),i=e(16).f,o=e(1);r(r.S,"Reflect",{deleteProperty:function(t,n){var e=i(o(t),n);return!(e&&!e.configurable)&&delete t[n]}})},function(t,n,e){"use strict";var r=e(0),i=e(1),o=function(t){this._t=i(t),this._i=0;var n,e=this._k=[];for(n in t)e.push(n)};e(79)(o,"Object",function(){var t,n=this._k;do{if(this._i>=n.length)return{value:void 0,done:!0}}while(!((t=n[this._i++])in this._t));return{value:t,done:!1}}),r(r.S,"Reflect",{enumerate:function(t){return new o(t)}})},function(t,n,e){var r=e(16),i=e(17),o=e(14),a=e(0),s=e(4),u=e(1);a(a.S,"Reflect",{get:function t(n,e){var a,c,l=arguments.length<3?n:arguments[2];return u(n)===l?n[e]:(a=r.f(n,e))?o(a,"value")?a.value:void 0!==a.get?a.get.call(l):void 0:s(c=i(n))?t(c,e,l):void 0}})},function(t,n,e){var r=e(16),i=e(0),o=e(1);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,n){return r.f(o(t),n)}})},function(t,n,e){var r=e(0),i=e(17),o=e(1);r(r.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},function(t,n,e){var r=e(0);r(r.S,"Reflect",{has:function(t,n){return n in t}})},function(t,n,e){var r=e(0),i=e(1),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},function(t,n,e){var r=e(0);r(r.S,"Reflect",{ownKeys:e(123)})},function(t,n,e){var r=e(0),i=e(1),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(t){return!1}}})},function(t,n,e){var r=e(8),i=e(16),o=e(17),a=e(14),s=e(0),u=e(32),c=e(1),l=e(4);s(s.S,"Reflect",{set:function t(n,e,s){var h,f,p=arguments.length<4?n:arguments[3],d=i.f(c(n),e);if(!d){if(l(f=o(n)))return t(f,e,s,p);d=u(0)}if(a(d,"value")){if(!1===d.writable||!l(p))return!1;if(h=i.f(p,e)){if(h.get||h.set||!1===h.writable)return!1;h.value=s,r.f(p,e,h)}else r.f(p,e,u(0,s));return!0}return void 0!==d.set&&(d.set.call(p,s),!0)}})},function(t,n,e){var r=e(0),i=e(72);i&&r(r.S,"Reflect",{setPrototypeOf:function(t,n){i.check(t,n);try{return i.set(t,n),!0}catch(t){return!1}}})},function(t,n,e){"use strict";var r=e(0),i=e(53)(!0);r(r.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),e(31)("includes")},function(t,n,e){"use strict";var r=e(0),i=e(124),o=e(9),a=e(6),s=e(10),u=e(85);r(r.P,"Array",{flatMap:function(t){var n,e,r=o(this);return s(t),n=a(r.length),e=u(r,0),i(e,r,r,n,0,1,t,arguments[1]),e}}),e(31)("flatMap")},function(t,n,e){"use strict";var r=e(0),i=e(124),o=e(9),a=e(6),s=e(21),u=e(85);r(r.P,"Array",{flatten:function(){var t=arguments[0],n=o(this),e=a(n.length),r=u(n,0);return i(r,n,n,e,0,void 0===t?1:s(t)),r}}),e(31)("flatten")},function(t,n,e){"use strict";var r=e(0),i=e(56)(!0);r(r.P,"String",{at:function(t){return i(this,t)}})},function(t,n,e){"use strict";var r=e(0),i=e(125),o=e(61),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,n,e){"use strict";var r=e(0),i=e(125),o=e(61),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,n,e){"use strict";e(45)("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},function(t,n,e){"use strict";e(45)("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},function(t,n,e){"use strict";var r=e(0),i=e(24),o=e(6),a=e(57),s=e(50),u=RegExp.prototype,c=function(t,n){this._r=t,this._s=n};e(79)(c,"RegExp String",function(){var t=this._r.exec(this._s);return{value:t,done:null===t}}),r(r.P,"String",{matchAll:function(t){if(i(this),!a(t))throw TypeError(t+" is not a regexp!");var n=String(this),e="flags"in u?String(t.flags):s.call(t),r=new RegExp(t.source,~e.indexOf("g")?e:"g"+e);return r.lastIndex=o(t.lastIndex),new c(r,n)}})},function(t,n,e){e(68)("asyncIterator")},function(t,n,e){e(68)("observable")},function(t,n,e){var r=e(0),i=e(123),o=e(15),a=e(16),s=e(83);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var n,e,r=o(t),u=a.f,c=i(r),l={},h=0;c.length>h;)void 0!==(e=u(r,n=c[h++]))&&s(l,n,e);return l}})},function(t,n,e){var r=e(0),i=e(126)(!1);r(r.S,"Object",{values:function(t){return i(t)}})},function(t,n,e){var r=e(0),i=e(126)(!0);r(r.S,"Object",{entries:function(t){return i(t)}})},function(t,n,e){"use strict";var r=e(0),i=e(9),o=e(10),a=e(8);e(7)&&r(r.P+e(64),"Object",{__defineGetter__:function(t,n){a.f(i(this),t,{get:o(n),enumerable:!0,configurable:!0})}})},function(t,n,e){"use strict";var r=e(0),i=e(9),o=e(10),a=e(8);e(7)&&r(r.P+e(64),"Object",{__defineSetter__:function(t,n){a.f(i(this),t,{set:o(n),enumerable:!0,configurable:!0})}})},function(t,n,e){"use strict";var r=e(0),i=e(9),o=e(23),a=e(17),s=e(16).f;e(7)&&r(r.P+e(64),"Object",{__lookupGetter__:function(t){var n,e=i(this),r=o(t,!0);do{if(n=s(e,r))return n.get}while(e=a(e))}})},function(t,n,e){"use strict";var r=e(0),i=e(9),o=e(23),a=e(17),s=e(16).f;e(7)&&r(r.P+e(64),"Object",{__lookupSetter__:function(t){var n,e=i(this),r=o(t,!0);do{if(n=s(e,r))return n.set}while(e=a(e))}})},function(t,n,e){var r=e(0);r(r.P+r.R,"Map",{toJSON:e(127)("Map")})},function(t,n,e){var r=e(0);r(r.P+r.R,"Set",{toJSON:e(127)("Set")})},function(t,n,e){e(65)("Map")},function(t,n,e){e(65)("Set")},function(t,n,e){e(65)("WeakMap")},function(t,n,e){e(65)("WeakSet")},function(t,n,e){e(66)("Map")},function(t,n,e){e(66)("Set")},function(t,n,e){e(66)("WeakMap")},function(t,n,e){e(66)("WeakSet")},function(t,n,e){var r=e(0);r(r.G,{global:e(2)})},function(t,n,e){var r=e(0);r(r.S,"System",{global:e(2)})},function(t,n,e){var r=e(0),i=e(20);r(r.S,"Error",{isError:function(t){return"Error"===i(t)}})},function(t,n,e){var r=e(0);r(r.S,"Math",{clamp:function(t,n,e){return Math.min(e,Math.max(n,t))}})},function(t,n,e){var r=e(0);r(r.S,"Math",{DEG_PER_RAD:Math.PI/180})},function(t,n,e){var r=e(0),i=180/Math.PI;r(r.S,"Math",{degrees:function(t){return t*i}})},function(t,n,e){var r=e(0),i=e(129),o=e(108);r(r.S,"Math",{fscale:function(t,n,e,r,a){return o(i(t,n,e,r,a))}})},function(t,n,e){var r=e(0);r(r.S,"Math",{iaddh:function(t,n,e,r){var i=t>>>0,o=e>>>0;return(n>>>0)+(r>>>0)+((i&o|(i|o)&~(i+o>>>0))>>>31)|0}})},function(t,n,e){var r=e(0);r(r.S,"Math",{isubh:function(t,n,e,r){var i=t>>>0,o=e>>>0;return(n>>>0)-(r>>>0)-((~i&o|~(i^o)&i-o>>>0)>>>31)|0}})},function(t,n,e){var r=e(0);r(r.S,"Math",{imulh:function(t,n){var e=+t,r=+n,i=65535&e,o=65535&r,a=e>>16,s=r>>16,u=(a*o>>>0)+(i*o>>>16);return a*s+(u>>16)+((i*s>>>0)+(65535&u)>>16)}})},function(t,n,e){var r=e(0);r(r.S,"Math",{RAD_PER_DEG:180/Math.PI})},function(t,n,e){var r=e(0),i=Math.PI/180;r(r.S,"Math",{radians:function(t){return t*i}})},function(t,n,e){var r=e(0);r(r.S,"Math",{scale:e(129)})},function(t,n,e){var r=e(0);r(r.S,"Math",{umulh:function(t,n){var e=+t,r=+n,i=65535&e,o=65535&r,a=e>>>16,s=r>>>16,u=(a*o>>>0)+(i*o>>>16);return a*s+(u>>>16)+((i*s>>>0)+(65535&u)>>>16)}})},function(t,n,e){var r=e(0);r(r.S,"Math",{signbit:function(t){return(t=+t)!=t?t:0==t?1/t==1/0:t>0}})},function(t,n,e){"use strict";var r=e(0),i=e(18),o=e(2),a=e(51),s=e(116);r(r.P+r.R,"Promise",{finally:function(t){var n=a(this,i.Promise||o.Promise),e="function"==typeof t;return this.then(e?function(e){return s(n,t()).then(function(){return e})}:t,e?function(e){return s(n,t()).then(function(){throw e})}:t)}})},function(t,n,e){"use strict";var r=e(0),i=e(92),o=e(115);r(r.S,"Promise",{try:function(t){var n=i.f(this),e=o(t);return(e.e?n.reject:n.resolve)(e.v),n.promise}})},function(t,n,e){var r=e(28),i=e(1),o=r.key,a=r.set;r.exp({defineMetadata:function(t,n,e,r){a(t,n,i(e),o(r))}})},function(t,n,e){var r=e(28),i=e(1),o=r.key,a=r.map,s=r.store;r.exp({deleteMetadata:function(t,n){var e=arguments.length<3?void 0:o(arguments[2]),r=a(i(n),e,!1);if(void 0===r||!r.delete(t))return!1;if(r.size)return!0;var u=s.get(n);return u.delete(e),!!u.size||s.delete(n)}})},function(t,n,e){var r=e(28),i=e(1),o=e(17),a=r.has,s=r.get,u=r.key,c=function(t,n,e){if(a(t,n,e))return s(t,n,e);var r=o(n);return null!==r?c(t,r,e):void 0};r.exp({getMetadata:function(t,n){return c(t,i(n),arguments.length<3?void 0:u(arguments[2]))}})},function(t,n,e){var r=e(119),i=e(128),o=e(28),a=e(1),s=e(17),u=o.keys,c=o.key,l=function(t,n){var e=u(t,n),o=s(t);if(null===o)return e;var a=l(o,n);return a.length?e.length?i(new r(e.concat(a))):a:e};o.exp({getMetadataKeys:function(t){return l(a(t),arguments.length<2?void 0:c(arguments[1]))}})},function(t,n,e){var r=e(28),i=e(1),o=r.get,a=r.key;r.exp({getOwnMetadata:function(t,n){return o(t,i(n),arguments.length<3?void 0:a(arguments[2]))}})},function(t,n,e){var r=e(28),i=e(1),o=r.keys,a=r.key;r.exp({getOwnMetadataKeys:function(t){return o(i(t),arguments.length<2?void 0:a(arguments[1]))}})},function(t,n,e){var r=e(28),i=e(1),o=e(17),a=r.has,s=r.key,u=function(t,n,e){if(a(t,n,e))return!0;var r=o(n);return null!==r&&u(t,r,e)};r.exp({hasMetadata:function(t,n){return u(t,i(n),arguments.length<3?void 0:s(arguments[2]))}})},function(t,n,e){var r=e(28),i=e(1),o=r.has,a=r.key;r.exp({hasOwnMetadata:function(t,n){return o(t,i(n),arguments.length<3?void 0:a(arguments[2]))}})},function(t,n,e){var r=e(28),i=e(1),o=e(10),a=r.key,s=r.set;r.exp({metadata:function(t,n){return function(e,r){s(t,n,(void 0!==r?i:o)(e),a(r))}}})},function(t,n,e){var r=e(0),i=e(91)(),o=e(2).process,a="process"==e(20)(o);r(r.G,{asap:function(t){var n=a&&o.domain;i(n?n.bind(t):t)}})},function(t,n,e){"use strict";var r=e(0),i=e(2),o=e(18),a=e(91)(),s=e(5)("observable"),u=e(10),c=e(1),l=e(39),h=e(41),f=e(11),p=e(40),d=p.RETURN,v=function(t){return null==t?void 0:u(t)},y=function(t){var n=t._c;n&&(t._c=void 0,n())},g=function(t){return void 0===t._o},_=function(t){g(t)||(t._o=void 0,y(t))},m=function(t,n){c(t),this._c=void 0,this._o=t,t=new x(this);try{var e=n(t),r=e;null!=e&&("function"==typeof e.unsubscribe?e=function(){r.unsubscribe()}:u(e),this._c=e)}catch(n){return void t.error(n)}g(this)&&y(this)};m.prototype=h({},{unsubscribe:function(){_(this)}});var x=function(t){this._s=t};x.prototype=h({},{next:function(t){var n=this._s;if(!g(n)){var e=n._o;try{var r=v(e.next);if(r)return r.call(e,t)}catch(t){try{_(n)}finally{throw t}}}},error:function(t){var n=this._s;if(g(n))throw t;var e=n._o;n._o=void 0;try{var r=v(e.error);if(!r)throw t;t=r.call(e,t)}catch(t){try{y(n)}finally{throw t}}return y(n),t},complete:function(t){var n=this._s;if(!g(n)){var e=n._o;n._o=void 0;try{var r=v(e.complete);t=r?r.call(e,t):void 0}catch(t){try{y(n)}finally{throw t}}return y(n),t}}});var b=function(t){l(this,b,"Observable","_f")._f=u(t)};h(b.prototype,{subscribe:function(t){return new m(t,this._f)},forEach:function(t){var n=this;return new(o.Promise||i.Promise)(function(e,r){u(t);var i=n.subscribe({next:function(n){try{return t(n)}catch(t){r(t),i.unsubscribe()}},error:r,complete:e})})}}),h(b,{from:function(t){var n="function"==typeof this?this:b,e=v(c(t)[s]);if(e){var r=c(e.call(t));return r.constructor===n?r:new n(function(t){return r.subscribe(t)})}return new n(function(n){var e=!1;return a(function(){if(!e){try{if(p(t,!1,function(t){if(n.next(t),e)return d})===d)return}catch(t){if(e)throw t;return void n.error(t)}n.complete()}}),function(){e=!0}})},of:function(){for(var t=0,n=arguments.length,e=new Array(n);t<n;)e[t]=arguments[t++];return new("function"==typeof this?this:b)(function(t){var n=!1;return a(function(){if(!n){for(var r=0;r<e.length;++r)if(t.next(e[r]),n)return;t.complete()}}),function(){n=!0}})}}),f(b.prototype,s,function(){return this}),r(r.G,{Observable:b}),e(38)("Observable")},function(t,n,e){var r=e(2),i=e(0),o=e(61),a=[].slice,s=/MSIE .\./.test(o),u=function(t){return function(n,e){var r=arguments.length>2,i=!!r&&a.call(arguments,2);return t(r?function(){("function"==typeof n?n:Function(n)).apply(this,i)}:n,e)}};i(i.G+i.B+i.F*s,{setTimeout:u(r.setTimeout),setInterval:u(r.setInterval)})},function(t,n,e){var r=e(0),i=e(90);r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},function(t,n,e){for(var r=e(87),i=e(34),o=e(12),a=e(2),s=e(11),u=e(46),c=e(5),l=c("iterator"),h=c("toStringTag"),f=u.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},d=i(p),v=0;v<d.length;v++){var y,g=d[v],_=p[g],m=a[g],x=m&&m.prototype;if(x&&(x[l]||s(x,l,f),x[h]||s(x,h,g),u[g]=f,_))for(y in r)x[y]||o(x,y,r[y],!0)}},function(t,n,e){(function(n){!function(n){"use strict";var e,r=Object.prototype,i=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag",c="object"==typeof t,l=n.regeneratorRuntime;if(l)c&&(t.exports=l);else{(l=n.regeneratorRuntime=c?t.exports:{}).wrap=x;var h="suspendedStart",f="suspendedYield",p="executing",d="completed",v={},y={};y[a]=function(){return this};var g=Object.getPrototypeOf,_=g&&g(g(O([])));_&&_!==r&&i.call(_,a)&&(y=_);var m=M.prototype=w.prototype=Object.create(y);S.prototype=m.constructor=M,M.constructor=S,M[u]=S.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var n="function"==typeof t&&t.constructor;return!!n&&(n===S||"GeneratorFunction"===(n.displayName||n.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,M):(t.__proto__=M,u in t||(t[u]="GeneratorFunction")),t.prototype=Object.create(m),t},l.awrap=function(t){return{__await:t}},k(T.prototype),T.prototype[s]=function(){return this},l.AsyncIterator=T,l.async=function(t,n,e,r){var i=new T(x(t,n,e,r));return l.isGeneratorFunction(n)?i:i.next().then(function(t){return t.done?t.value:i.next()})},k(m),m[u]="Generator",m[a]=function(){return this},m.toString=function(){return"[object Generator]"},l.keys=function(t){var n=[];for(var e in t)n.push(e);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},l.values=O,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(L),!t)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(r,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,n){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=n&&n<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=n,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(a)},complete:function(t,n){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&n&&(this.next=n),v},finish:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),L(e),v}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var e=this.tryEntries[n];if(e.tryLoc===t){var r=e.completion;if("throw"===r.type){var i=r.arg;L(e)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:O(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),v}}}function x(t,n,e,r){var i=n&&n.prototype instanceof w?n:w,o=Object.create(i.prototype),a=new C(r||[]);return o._invoke=function(t,n,e){var r=h;return function(i,o){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===i)throw o;return D()}for(e.method=i,e.arg=o;;){var a=e.delegate;if(a){var s=A(a,e);if(s){if(s===v)continue;return s}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(r===h)throw r=d,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);r=p;var u=b(t,n,e);if("normal"===u.type){if(r=e.done?d:f,u.arg===v)continue;return{value:u.arg,done:e.done}}"throw"===u.type&&(r=d,e.method="throw",e.arg=u.arg)}}}(t,e,a),o}function b(t,n,e){try{return{type:"normal",arg:t.call(n,e)}}catch(t){return{type:"throw",arg:t}}}function w(){}function S(){}function M(){}function k(t){["next","throw","return"].forEach(function(n){t[n]=function(t){return this._invoke(n,t)}})}function T(t){function e(n,r,o,a){var s=b(t[n],t,r);if("throw"!==s.type){var u=s.arg,c=u.value;return c&&"object"==typeof c&&i.call(c,"__await")?Promise.resolve(c.__await).then(function(t){e("next",t,o,a)},function(t){e("throw",t,o,a)}):Promise.resolve(c).then(function(t){u.value=t,o(u)},a)}a(s.arg)}var r;"object"==typeof n.process&&n.process.domain&&(e=n.process.domain.bind(e)),this._invoke=function(t,n){function i(){return new Promise(function(r,i){e(t,n,r,i)})}return r=r?r.then(i,i):i()}}function A(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,A(t,n),"throw"===n.method))return v;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=b(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,v;var o=i.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,v):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function E(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function L(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function O(t){if(t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function n(){for(;++r<t.length;)if(i.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}return{next:D}}function D(){return{value:e,done:!0}}}("object"==typeof n?n:"object"==typeof window?window:"object"==typeof self?self:this)}).call(this,e(52))},function(t,n,e){e(332),t.exports=e(18).RegExp.escape},function(t,n,e){var r=e(0),i=e(333)(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(t){return i(t)}})},function(t,n){t.exports=function(t,n){var e=n===Object(n)?function(t){return n[t]}:n;return function(n){return String(n).replace(t,e)}}},function(t,n,e){"use strict";e.r(n),n.default='<?xml version="1.0" encoding="utf-8"?>\n\x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n\t viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">\n<style type="text/css">\n\t.st0{fill:none;}\n\t.st1{fill:#231F20;}\n\t.st2{fill:url(#lines_-_right_to_left);}\n</style>\n<pattern width="50" height="50"\npatternUnits="userSpaceOnUse" id="lines_-_right_to_left" viewBox="97.78 -148.535 50 50" style="overflow:visible;">\n\t<g id="XMLID_16_">\n\t\t<polygon id="XMLID_26_" class="st0" points="97.78,-148.535 147.78,-148.535 147.78,-98.535 97.78,-98.535 \t\t"/>\n\t\t<polygon id="XMLID_25_" class="st1" points="110.606,0 100,-10.607 214.117,-124.724 224.723,-114.117 \t\t"/>\n\t\t<polygon id="XMLID_24_" class="st1" points="60.606,0 50,-10.607 164.117,-124.724 174.723,-114.117 \t\t"/>\n\t\t<polygon id="XMLID_23_" class="st1" points="10.606,0 0,-10.607 114.117,-124.724 124.723,-114.117 \t\t"/>\n\t\t<polygon id="XMLID_22_" class="st1" points="110.606,-50 100,-60.607 214.117,-174.724 224.723,-164.117 \t\t"/>\n\t\t<polygon id="XMLID_21_" class="st1" points="60.606,-50 50,-60.607 164.117,-174.724 174.723,-164.117 \t\t"/>\n\t\t<polygon id="XMLID_20_" class="st1" points="10.606,-50 0,-60.607 114.117,-174.724 124.723,-164.117 \t\t"/>\n\t\t<polygon id="XMLID_19_" class="st1" points="110.606,-100 100,-110.607 214.117,-224.724 224.723,-214.117 \t\t"/>\n\t\t<polygon id="XMLID_18_" class="st1" points="60.606,-100 50,-110.607 164.117,-224.724 174.723,-214.117 \t\t"/>\n\t\t<polygon id="XMLID_17_" class="st1" points="10.606,-100 0,-110.607 114.117,-224.724 124.723,-214.117 \t\t"/>\n\t</g>\n</pattern>\n<rect id="XMLID_1_" class="st2" width="100" height="100"/>\n</svg>'},function(t,n,e){"use strict";e.r(n),n.default='<?xml version="1.0" encoding="utf-8"?>\n\x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n\t viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">\n<style type="text/css">\n\t.st0{fill:none;}\n\t.st1{fill:#2d74da;}\n\t.st2{fill:url(#Circle_pattern);}\n</style>\n<pattern width="100" height="100" patternUnits="userSpaceOnUse" id="Circle_pattern" viewBox="15 -115 100 100" style="overflow:visible;">\n\t<g id="XMLID_11_">\n\t\t<polygon id="XMLID_39_" class="st0" points="15,-115 115,-115 115,-15 15,-15 \t\t"/>\n\t\t<path id="XMLID_34_" class="st1" d="M130-40c0,8.284-6.716,15-15,15s-15-6.716-15-15s6.716-15,15-15S130-48.284,130-40z"/>\n\t\t<path id="XMLID_33_" class="st1" d="M80-15c0,8.284-6.716,15-15,15S50-6.716,50-15s6.716-15,15-15S80-23.284,80-15z"/>\n\t\t<path id="XMLID_32_" class="st1" d="M30-40c0,8.284-6.716,15-15,15S0-31.716,0-40s6.716-15,15-15S30-48.284,30-40z"/>\n\t\t<path id="XMLID_24_" class="st1" d="M130-90c0,8.284-6.716,15-15,15s-15-6.716-15-15s6.716-15,15-15S130-98.284,130-90z"/>\n\t\t<path id="XMLID_22_" class="st1" d="M80-65c0,8.284-6.716,15-15,15s-15-6.716-15-15s6.716-15,15-15S80-73.284,80-65z"/>\n\t\t<path id="XMLID_18_" class="st1" d="M30-90c0,8.284-6.716,15-15,15S0-81.716,0-90s6.716-15,15-15S30-98.284,30-90z"/>\n\t\t<path id="XMLID_17_" class="st1" d="M80-115c0,8.284-6.716,15-15,15s-15-6.716-15-15s6.716-15,15-15S80-123.284,80-115z"/>\n\t</g>\n</pattern>\n<rect id="XMLID_1_" class="st2" width="100" height="100"/>\n</svg>'},function(t,n,e){"use strict";e.r(n),n.default='<?xml version="1.0" encoding="utf-8"?>\n\x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n\t viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">\n<style type="text/css">\n\t.st0{fill:none;}\n\t.st1{fill:#231F20;}\n\t.st2{fill:url(#Triangle);}\n</style>\n<pattern width="100" height="100" patternUnits="userSpaceOnUse" id="Triangle" viewBox="15 -112.99 100 100" style="overflow:visible;">\n\t<g id="XMLID_10_">\n\t\t<polygon id="XMLID_23_" class="st0" points="15,-112.99 115,-112.99 115,-12.99 15,-12.99 \t\t"/>\n\t\t<polygon id="XMLID_21_" class="st1" points="100,-25 115,-50.981 130,-25 \t\t"/>\n\t\t<polygon id="XMLID_20_" class="st1" points="50,0 65,-25.981 80,0 \t\t"/>\n\t\t<polygon id="XMLID_19_" class="st1" points="0,-25 15,-50.981 30,-25 \t\t"/>\n\t\t<polygon id="XMLID_15_" class="st1" points="100,-75 115,-100.981 130,-75 \t\t"/>\n\t\t<polygon id="XMLID_14_" class="st1" points="50,-50 65,-75.981 80,-50 \t\t"/>\n\t\t<polygon id="XMLID_13_" class="st1" points="0,-75 15,-100.981 30,-75 \t\t"/>\n\t\t<polygon id="XMLID_12_" class="st1" points="50,-100 65,-125.981 80,-100 \t\t"/>\n\t</g>\n</pattern>\n<rect id="XMLID_1_" class="st2" width="100" height="100"/>\n</svg>'},function(t,n,e){"use strict";e.r(n),n.default='<?xml version="1.0" encoding="utf-8"?>\n\x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n\t viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">\n<style type="text/css">\n\t.st0{fill:none;}\n\t.st1{fill:url(#diamond);}\n</style>\n<pattern width="100" height="100" patternUnits="userSpaceOnUse" id="diamond" viewBox="21.213 -121.213 100 100" style="overflow:visible;">\n\t<g id="XMLID_15_">\n\t\t<polygon id="XMLID_52_" class="st0" points="21.213,-121.213 121.213,-121.213 121.213,-21.213 21.213,-21.213 \t\t"/>\n\t\t<path id="XMLID_49_" d="M96.213-28.284l7.071,7.071l-7.071,7.071l-7.071-7.071L96.213-28.284 M96.213-42.427L75-21.213L96.213,0\n\t\t\tl21.213-21.213L96.213-42.427L96.213-42.427z"/>\n\t\t<path id="XMLID_40_" d="M46.213-28.284l7.071,7.071l-7.071,7.071l-7.071-7.071L46.213-28.284 M46.213-42.427L25-21.213L46.213,0\n\t\t\tl21.213-21.213L46.213-42.427L46.213-42.427z"/>\n\t\t<path id="XMLID_37_" d="M121.213-78.284l7.071,7.071l-7.071,7.071l-7.071-7.071L121.213-78.284 M121.213-92.427L100-71.213\n\t\t\tL121.213-50l21.213-21.213L121.213-92.427L121.213-92.427z"/>\n\t\t<path id="XMLID_28_" d="M71.213-78.284l7.071,7.071l-7.071,7.071l-7.071-7.071L71.213-78.284 M71.213-92.427L50-71.213L71.213-50\n\t\t\tl21.213-21.213L71.213-92.427L71.213-92.427z"/>\n\t\t<path id="XMLID_25_" d="M21.213-78.284l7.071,7.071l-7.071,7.071l-7.071-7.071L21.213-78.284 M21.213-92.427L0-71.213L21.213-50\n\t\t\tl21.213-21.213L21.213-92.427L21.213-92.427z"/>\n\t\t<path id="XMLID_22_" d="M96.213-128.284l7.071,7.071l-7.071,7.071l-7.071-7.071L96.213-128.284 M96.213-142.427L75-121.213\n\t\t\tL96.213-100l21.213-21.213L96.213-142.427L96.213-142.427z"/>\n\t\t<path id="XMLID_16_" d="M46.213-128.284l7.071,7.071l-7.071,7.071l-7.071-7.071L46.213-128.284 M46.213-142.427L25-121.213\n\t\t\tL46.213-100l21.213-21.213L46.213-142.427L46.213-142.427z"/>\n\t</g>\n</pattern>\n<rect id="XMLID_1_" class="st1" width="100" height="100"/>\n</svg>'},function(t,n,e){"use strict";e.r(n),n.default='<?xml version="1.0" encoding="utf-8"?>\n\x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n\t viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">\n<style type="text/css">\n\t.st0{fill:none;}\n\t.st1{fill:#231F20;}\n\t.st2{fill:url(#lines_-_left_to_right);}\n</style>\n<pattern width="50" height="50"\npatternUnits="userSpaceOnUse" id="lines_-_left_to_right" viewBox="101.277 -147.008 50 50" style="overflow:visible;">\n\t<g id="XMLID_8_">\n\t\t<polygon id="XMLID_32_" class="st0" points="101.277,-147.008 151.277,-147.008 151.277,-97.008 101.277,-97.008 \t\t"/>\n\t\t<polygon id="XMLID_31_" class="st1" points="264.058,0 150,-114.058 160.606,-124.665 274.665,-10.607 \t\t"/>\n\t\t<polygon id="XMLID_30_" class="st1" points="214.058,0 100,-114.058 110.606,-124.665 224.665,-10.607 \t\t"/>\n\t\t<polygon id="XMLID_29_" class="st1" points="164.058,0 50,-114.058 60.606,-124.665 174.665,-10.607 \t\t"/>\n\t\t<polygon id="XMLID_28_" class="st1" points="114.058,0 0,-114.058 10.606,-124.665 124.665,-10.607 \t\t"/>\n\t\t<polygon id="XMLID_27_" class="st1" points="264.058,-50 150,-164.058 160.606,-174.665 274.665,-60.607 \t\t"/>\n\t\t<polygon id="XMLID_26_" class="st1" points="214.058,-50 100,-164.058 110.606,-174.665 224.665,-60.607 \t\t"/>\n\t\t<polygon id="XMLID_25_" class="st1" points="164.058,-50 50,-164.058 60.606,-174.665 174.665,-60.607 \t\t"/>\n\t\t<polygon id="XMLID_24_" class="st1" points="114.058,-50 0,-164.058 10.606,-174.665 124.665,-60.607 \t\t"/>\n\t\t<polygon id="XMLID_23_" class="st1" points="264.058,-100 150,-214.058 160.606,-224.665 274.665,-110.607 \t\t"/>\n\t\t<polygon id="XMLID_22_" class="st1" points="214.058,-100 100,-214.058 110.606,-224.665 224.665,-110.607 \t\t"/>\n\t\t<polygon id="XMLID_16_" class="st1" points="164.058,-100 50,-214.058 60.606,-224.665 174.665,-110.607 \t\t"/>\n\t\t<polygon id="XMLID_15_" class="st1" points="114.058,-100 0,-214.058 10.606,-224.665 124.665,-110.607 \t\t"/>\n\t</g>\n</pattern>\n<rect id="XMLID_1_" class="st2" width="100" height="100"/>\n</svg>'},function(t,n,e){"use strict";e.r(n),n.default='<?xml version="1.0" encoding="utf-8"?>\n\x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n\t viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">\n<style type="text/css">\n\t.st0{fill:none;}\n\t.st1{fill:#231F20;}\n\t.st2{fill:url(#hex_pattern);}\n</style>\n<pattern width="100" height="100"\npatternUnits="userSpaceOnUse" id="hex_pattern" viewBox="20 -117.32 100 100" style="overflow:visible;">\n\t<g id="XMLID_10_">\n\t\t<polygon id="XMLID_23_" class="st0" points="20,-117.32 120,-117.32 120,-17.32 20,-17.32 \t\t"/>\n\t\t<polygon id="XMLID_21_" class="st1" points="110,-25 100,-42.32 110,-59.641 130,-59.641 140,-42.32 130,-25 \t\t"/>\n\t\t<polygon id="XMLID_20_" class="st1" points="60,0 50,-17.32 60,-34.641 80,-34.641 90,-17.32 80,0 \t\t"/>\n\t\t<polygon id="XMLID_19_" class="st1" points="10,-25 0,-42.32 10,-59.641 30,-59.641 40,-42.32 30,-25 \t\t"/>\n\t\t<polygon id="XMLID_15_" class="st1" points="110,-75 100,-92.32 110,-109.641 130,-109.641 140,-92.32 130,-75 \t\t"/>\n\t\t<polygon id="XMLID_14_" class="st1" points="60,-50 50,-67.32 60,-84.641 80,-84.641 90,-67.32 80,-50 \t\t"/>\n\t\t<polygon id="XMLID_13_" class="st1" points="10,-75 0,-92.32 10,-109.641 30,-109.641 40,-92.32 30,-75 \t\t"/>\n\t\t<polygon id="XMLID_12_" class="st1" points="60,-100 50,-117.32 60,-134.641 80,-134.641 90,-117.32 80,-100 \t\t"/>\n\t</g>\n</pattern>\n<rect id="XMLID_1_" class="st2" width="100" height="100"/>\n</svg>'},function(t,n,e){"use strict";e.r(n),n.default='<?xml version="1.0" encoding="utf-8"?>\n\x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n\t viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">\n<style type="text/css">\n\t.st0{fill:none;}\n\t.st1{fill:#231F20;}\n\t.st2{fill:url(#square_pattern);}\n</style>\n<pattern width="100" height="100" patternUnits="userSpaceOnUse" id="square_pattern" viewBox="15 -115 100 100" style="overflow:visible;">\n\t<g id="XMLID_18_">\n\t\t<polygon id="XMLID_52_" class="st0" points="15,-115 115,-115 115,-15 15,-15 \t\t"/>\n\t\t<path id="XMLID_49_" class="st1" d="M120-45v10h-10v-10H120 M130-55h-30v30h30V-55L130-55z"/>\n\t\t<path id="XMLID_46_" class="st1" d="M70-20v10H60v-10H70 M80-30H50V0h30V-30L80-30z"/>\n\t\t<path id="XMLID_34_" class="st1" d="M20-45v10H10v-10H20 M30-55H0v30h30V-55L30-55z"/>\n\t\t<path id="XMLID_31_" class="st1" d="M120-95v10h-10v-10H120 M130-105h-30v30h30V-105L130-105z"/>\n\t\t<path id="XMLID_28_" class="st1" d="M70-70v10H60v-10H70 M80-80H50v30h30V-80L80-80z"/>\n\t\t<path id="XMLID_25_" class="st1" d="M20-95v10H10v-10H20 M30-105H0v30h30V-105L30-105z"/>\n\t\t<path id="XMLID_19_" class="st1" d="M70-120v10H60v-10H70 M80-130H50v30h30V-130L80-130z"/>\n\t</g>\n</pattern>\n<rect id="XMLID_1_" class="st2" width="100" height="100"/>\n</svg>'},function(t,n,e){"use strict";e.r(n),n.default='<?xml version="1.0" encoding="utf-8"?>\n\x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\n<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n\t viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve">\n<style type="text/css">\n\t.st0{fill:none;}\n\t.st1{fill:#231F20;}\n\t.st2{fill:url(#tight_diamond);}\n</style>\n<pattern width="70" height="45" patternUnits="userSpaceOnUse" id="tight_diamond" viewBox="21.213 -66.213 70 45" style="overflow:visible;">\n\t<g id="XMLID_9_">\n\t\t<polygon id="XMLID_16_" class="st0" points="21.213,-66.213 91.213,-66.213 91.213,-21.213 21.213,-21.213 \t\t"/>\n\t\t<polygon id="XMLID_15_" class="st1" points="91.213,0 70,-21.213 91.213,-42.427 112.427,-21.213 \t\t"/>\n\t\t<polygon id="XMLID_14_" class="st1" points="21.213,0 0,-21.213 21.213,-42.427 42.427,-21.213 \t\t"/>\n\t\t<polygon id="XMLID_13_" class="st1" points="91.213,-45 70,-66.213 91.213,-87.427 112.427,-66.213 \t\t"/>\n\t\t<polygon id="XMLID_12_" class="st1" points="56.213,-22.5 35,-43.713 56.213,-64.927 77.427,-43.713 \t\t"/>\n\t\t<polygon id="XMLID_11_" class="st1" points="21.213,-45 0,-66.213 21.213,-87.427 42.427,-66.213 \t\t"/>\n\t</g>\n</pattern>\n<rect id="XMLID_1_" class="st2" width="100" height="100"/>\n</svg>'},function(t,n,e){"use strict";e.r(n);var r={};e.r(r),e.d(r,"LIGHT_1",function(){return zo}),e.d(r,"LIGHT_2",function(){return Xo}),e.d(r,"DARK_1",function(){return Uo}),e.d(r,"DEFAULT",function(){return Vo});var i={};e.r(i),e.d(i,"defaultColors",function(){return Lu}),e.d(i,"colorPalettes",function(){return r}),e.d(i,"BaseChart",function(){return Aa}),e.d(i,"BaseAxisChart",function(){return Ua}),e.d(i,"PieChart",function(){return lu}),e.d(i,"DonutChart",function(){return du}),e.d(i,"DonutCenter",function(){return pu}),e.d(i,"BarChart",function(){return bu}),e.d(i,"LineChart",function(){return Tu}),e.d(i,"ComboChart",function(){return Eu}),e.d(i,"ScatterChart",function(){return Su});var o="http://www.w3.org/1999/xhtml",a={svg:"http://www.w3.org/2000/svg",xhtml:o,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},s=function(t){var n=t+="",e=n.indexOf(":");return e>=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),a.hasOwnProperty(n)?{space:a[n],local:t}:t};var u=function(t){var n=s(t);return(n.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var n=this.ownerDocument,e=this.namespaceURI;return e===o&&n.documentElement.namespaceURI===o?n.createElement(t):n.createElementNS(e,t)}})(n)};function c(){}var l=function(t){return null==t?c:function(){return this.querySelector(t)}};function h(){return[]}var f=function(t){return null==t?h:function(){return this.querySelectorAll(t)}},p=function(t){return function(){return this.matches(t)}},d=function(t){return new Array(t.length)};function v(t,n){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=n}v.prototype={constructor:v,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,n){return this._parent.insertBefore(t,n)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var y="$";function g(t,n,e,r,i,o){for(var a,s=0,u=n.length,c=o.length;s<c;++s)(a=n[s])?(a.__data__=o[s],r[s]=a):e[s]=new v(t,o[s]);for(;s<u;++s)(a=n[s])&&(i[s]=a)}function _(t,n,e,r,i,o,a){var s,u,c,l={},h=n.length,f=o.length,p=new Array(h);for(s=0;s<h;++s)(u=n[s])&&(p[s]=c=y+a.call(u,u.__data__,s,n),c in l?i[s]=u:l[c]=u);for(s=0;s<f;++s)(u=l[c=y+a.call(t,o[s],s,o)])?(r[s]=u,u.__data__=o[s],l[c]=null):e[s]=new v(t,o[s]);for(s=0;s<h;++s)(u=n[s])&&l[p[s]]===u&&(i[s]=u)}function m(t,n){return t<n?-1:t>n?1:t>=n?0:NaN}var x=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function b(t,n){return t.style.getPropertyValue(n)||x(t).getComputedStyle(t,null).getPropertyValue(n)}function w(t){return t.trim().split(/^|\s+/)}function S(t){return t.classList||new M(t)}function M(t){this._node=t,this._names=w(t.getAttribute("class")||"")}function k(t,n){for(var e=S(t),r=-1,i=n.length;++r<i;)e.add(n[r])}function T(t,n){for(var e=S(t),r=-1,i=n.length;++r<i;)e.remove(n[r])}M.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var n=this._names.indexOf(t);n>=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function A(){this.textContent=""}function E(){this.innerHTML=""}function L(){this.nextSibling&&this.parentNode.appendChild(this)}function C(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function O(){return null}function D(){var t=this.parentNode;t&&t.removeChild(this)}function I(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function P(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}var F={},N=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(F={mouseenter:"mouseover",mouseleave:"mouseout"}));function W(t,n,e){return t=R(t,n,e),function(n){var e=n.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||t.call(this,n)}}function R(t,n,e){return function(r){var i=N;N=r;try{t.call(this,this.__data__,n,e)}finally{N=i}}}function j(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r<o;++r)e=n[r],t.type&&e.type!==t.type||e.name!==t.name?n[++i]=e:this.removeEventListener(e.type,e.listener,e.capture);++i?n.length=i:delete this.__on}}}function B(t,n,e){var r=F.hasOwnProperty(t.type)?W:R;return function(i,o,a){var s,u=this.__on,c=r(n,o,a);if(u)for(var l=0,h=u.length;l<h;++l)if((s=u[l]).type===t.type&&s.name===t.name)return this.removeEventListener(s.type,s.listener,s.capture),this.addEventListener(s.type,s.listener=c,s.capture=e),void(s.value=n);this.addEventListener(t.type,c,e),s={type:t.type,name:t.name,value:n,listener:c,capture:e},u?u.push(s):this.__on=[s]}}function z(t,n,e){var r=x(t),i=r.CustomEvent;"function"==typeof i?i=new i(n,e):(i=r.document.createEvent("Event"),e?(i.initEvent(n,e.bubbles,e.cancelable),i.detail=e.detail):i.initEvent(n,!1,!1)),t.dispatchEvent(i)}var X=[null];function U(t,n){this._groups=t,this._parents=n}function V(){return new U([[document.documentElement]],X)}U.prototype=V.prototype={constructor:U,select:function(t){"function"!=typeof t&&(t=l(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,a,s=n[i],u=s.length,c=r[i]=new Array(u),h=0;h<u;++h)(o=s[h])&&(a=t.call(o,o.__data__,h,s))&&("__data__"in o&&(a.__data__=o.__data__),c[h]=a);return new U(r,this._parents)},selectAll:function(t){"function"!=typeof t&&(t=f(t));for(var n=this._groups,e=n.length,r=[],i=[],o=0;o<e;++o)for(var a,s=n[o],u=s.length,c=0;c<u;++c)(a=s[c])&&(r.push(t.call(a,a.__data__,c,s)),i.push(a));return new U(r,i)},filter:function(t){"function"!=typeof t&&(t=p(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,a=n[i],s=a.length,u=r[i]=[],c=0;c<s;++c)(o=a[c])&&t.call(o,o.__data__,c,a)&&u.push(o);return new U(r,this._parents)},data:function(t,n){if(!t)return d=new Array(this.size()),l=-1,this.each(function(t){d[++l]=t}),d;var e,r=n?_:g,i=this._parents,o=this._groups;"function"!=typeof t&&(e=t,t=function(){return e});for(var a=o.length,s=new Array(a),u=new Array(a),c=new Array(a),l=0;l<a;++l){var h=i[l],f=o[l],p=f.length,d=t.call(h,h&&h.__data__,l,i),v=d.length,y=u[l]=new Array(v),m=s[l]=new Array(v);r(h,f,y,m,c[l]=new Array(p),d,n);for(var x,b,w=0,S=0;w<v;++w)if(x=y[w]){for(w>=S&&(S=w+1);!(b=m[S])&&++S<v;);x._next=b||null}}return(s=new U(s,i))._enter=u,s._exit=c,s},enter:function(){return new U(this._enter||this._groups.map(d),this._parents)},exit:function(){return new U(this._exit||this._groups.map(d),this._parents)},join:function(t,n,e){var r=this.enter(),i=this,o=this.exit();return r="function"==typeof t?t(r):r.append(t+""),null!=n&&(i=n(i)),null==e?o.remove():e(o),r&&i?r.merge(i).order():i},merge:function(t){for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),a=new Array(r),s=0;s<o;++s)for(var u,c=n[s],l=e[s],h=c.length,f=a[s]=new Array(h),p=0;p<h;++p)(u=c[p]||l[p])&&(f[p]=u);for(;s<r;++s)a[s]=n[s];return new U(a,this._parents)},order:function(){for(var t=this._groups,n=-1,e=t.length;++n<e;)for(var r,i=t[n],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=m);for(var e=this._groups,r=e.length,i=new Array(r),o=0;o<r;++o){for(var a,s=e[o],u=s.length,c=i[o]=new Array(u),l=0;l<u;++l)(a=s[l])&&(c[l]=a);c.sort(n)}return new U(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){var t=new Array(this.size()),n=-1;return this.each(function(){t[++n]=this}),t},node:function(){for(var t=this._groups,n=0,e=t.length;n<e;++n)for(var r=t[n],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){var t=0;return this.each(function(){++t}),t},empty:function(){return!this.node()},each:function(t){for(var n=this._groups,e=0,r=n.length;e<r;++e)for(var i,o=n[e],a=0,s=o.length;a<s;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},attr:function(t,n){var e=s(t);if(arguments.length<2){var r=this.node();return e.local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}return this.each((null==n?e.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof n?e.local?function(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}:function(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}:e.local?function(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}:function(t,n){return function(){this.setAttribute(t,n)}})(e,n))},style:function(t,n,e){return arguments.length>1?this.each((null==n?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof n?function(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}:function(t,n,e){return function(){this.style.setProperty(t,n,e)}})(t,n,null==e?"":e)):b(this.node(),t)},property:function(t,n){return arguments.length>1?this.each((null==n?function(t){return function(){delete this[t]}}:"function"==typeof n?function(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}:function(t,n){return function(){this[t]=n}})(t,n)):this.node()[t]},classed:function(t,n){var e=w(t+"");if(arguments.length<2){for(var r=S(this.node()),i=-1,o=e.length;++i<o;)if(!r.contains(e[i]))return!1;return!0}return this.each(("function"==typeof n?function(t,n){return function(){(n.apply(this,arguments)?k:T)(this,t)}}:n?function(t){return function(){k(this,t)}}:function(t){return function(){T(this,t)}})(e,n))},text:function(t){return arguments.length?this.each(null==t?A:("function"==typeof t?function(t){return function(){var n=t.apply(this,arguments);this.textContent=null==n?"":n}}:function(t){return function(){this.textContent=t}})(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?E:("function"==typeof t?function(t){return function(){var n=t.apply(this,arguments);this.innerHTML=null==n?"":n}}:function(t){return function(){this.innerHTML=t}})(t)):this.node().innerHTML},raise:function(){return this.each(L)},lower:function(){return this.each(C)},append:function(t){var n="function"==typeof t?t:u(t);return this.select(function(){return this.appendChild(n.apply(this,arguments))})},insert:function(t,n){var e="function"==typeof t?t:u(t),r=null==n?O:"function"==typeof n?n:l(n);return this.select(function(){return this.insertBefore(e.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(D)},clone:function(t){return this.select(t?P:I)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,n,e){var r,i,o=function(t){return t.trim().split(/^|\s+/).map(function(t){var n="",e=t.indexOf(".");return e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}})}(t+""),a=o.length;if(!(arguments.length<2)){for(s=n?B:j,null==e&&(e=!1),r=0;r<a;++r)this.each(s(o[r],n,e));return this}var s=this.node().__on;if(s)for(var u,c=0,l=s.length;c<l;++c)for(r=0,u=s[c];r<a;++r)if((i=o[r]).type===u.type&&i.name===u.name)return u.value},dispatch:function(t,n){return this.each(("function"==typeof n?function(t,n){return function(){return z(this,t,n.apply(this,arguments))}}:function(t,n){return function(){return z(this,t,n)}})(t,n))}};var H=V,G=function(t){return"string"==typeof t?new U([[document.querySelector(t)]],[document.documentElement]):new U([[t]],X)},Y=0;function q(){this._="@"+(++Y).toString(36)}q.prototype=function(){return new q}.prototype={constructor:q,get:function(t){for(var n=this._;!(n in t);)if(!(t=t.parentNode))return;return t[n]},set:function(t,n){return t[this._]=n},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var $=function(){for(var t,n=N;t=n.sourceEvent;)n=t;return n},J=function(t,n){var e=t.ownerSVGElement||t;if(e.createSVGPoint){var r=e.createSVGPoint();return r.x=n.clientX,r.y=n.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}var i=t.getBoundingClientRect();return[n.clientX-i.left-t.clientLeft,n.clientY-i.top-t.clientTop]},Z=function(t){var n=$();return n.changedTouches&&(n=n.changedTouches[0]),J(t,n)},K=function(t){return"string"==typeof t?new U([document.querySelectorAll(t)],[document.documentElement]):new U([null==t?[]:t],X)},Q=function(t,n){return t<n?-1:t>n?1:t>=n?0:NaN},tt=function(t){var n;return 1===t.length&&(n=t,t=function(t,e){return Q(n(t),e)}),{left:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r<i;){var o=r+i>>>1;t(n[o],e)<0?r=o+1:i=o}return r},right:function(n,e,r,i){for(null==r&&(r=0),null==i&&(i=n.length);r<i;){var o=r+i>>>1;t(n[o],e)>0?i=o:r=o+1}return r}}};var nt=tt(Q),et=nt.right,rt=(nt.left,et);var it=Array.prototype,ot=(it.slice,it.map,function(t,n,e){t=+t,n=+n,e=(i=arguments.length)<2?(n=t,t=0,1):i<3?1:+e;for(var r=-1,i=0|Math.max(0,Math.ceil((n-t)/e)),o=new Array(i);++r<i;)o[r]=t+r*e;return o}),at=Math.sqrt(50),st=Math.sqrt(10),ut=Math.sqrt(2),ct=function(t,n,e){var r,i,o,a,s=-1;if(e=+e,(t=+t)===(n=+n)&&e>0)return[t];if((r=n<t)&&(i=t,t=n,n=i),0===(a=lt(t,n,e))||!isFinite(a))return[];if(a>0)for(t=Math.ceil(t/a),n=Math.floor(n/a),o=new Array(i=Math.ceil(n-t+1));++s<i;)o[s]=(t+s)*a;else for(t=Math.floor(t*a),n=Math.ceil(n*a),o=new Array(i=Math.ceil(t-n+1));++s<i;)o[s]=(t-s)/a;return r&&o.reverse(),o};function lt(t,n,e){var r=(n-t)/Math.max(0,e),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=at?10:o>=st?5:o>=ut?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=at?10:o>=st?5:o>=ut?2:1)}function ht(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=at?i*=10:o>=st?i*=5:o>=ut&&(i*=2),n<t?-i:i}var ft=function(t,n){var e,r,i=t.length,o=-1;if(null==n){for(;++o<i;)if(null!=(e=t[o])&&e>=e)for(r=e;++o<i;)null!=(e=t[o])&&e>r&&(r=e)}else for(;++o<i;)if(null!=(e=n(t[o],o,t))&&e>=e)for(r=e;++o<i;)null!=(e=n(t[o],o,t))&&e>r&&(r=e);return r},pt=function(t,n){var e,r,i=t.length,o=-1;if(null==n){for(;++o<i;)if(null!=(e=t[o])&&e>=e)for(r=e;++o<i;)null!=(e=t[o])&&r>e&&(r=e)}else for(;++o<i;)if(null!=(e=n(t[o],o,t))&&e>=e)for(r=e;++o<i;)null!=(e=n(t[o],o,t))&&r>e&&(r=e);return r};function dt(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t)}return this}function vt(){}function yt(t,n){var e=new vt;if(t instanceof vt)t.each(function(t,n){e.set(n,t)});else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==n)for(;++i<o;)e.set(i,t[i]);else for(;++i<o;)e.set(n(r=t[i],i,t),r)}else if(t)for(var a in t)e.set(a,t[a]);return e}vt.prototype=yt.prototype={constructor:vt,has:function(t){return"$"+t in this},get:function(t){return this["$"+t]},set:function(t,n){return this["$"+t]=n,this},remove:function(t){var n="$"+t;return n in this&&delete this[n]},clear:function(){for(var t in this)"$"===t[0]&&delete this[t]},keys:function(){var t=[];for(var n in this)"$"===n[0]&&t.push(n.slice(1));return t},values:function(){var t=[];for(var n in this)"$"===n[0]&&t.push(this[n]);return t},entries:function(){var t=[];for(var n in this)"$"===n[0]&&t.push({key:n.slice(1),value:this[n]});return t},size:function(){var t=0;for(var n in this)"$"===n[0]&&++t;return t},empty:function(){for(var t in this)if("$"===t[0])return!1;return!0},each:function(t){for(var n in this)"$"===n[0]&&t(this[n],n.slice(1),this)}};var gt=yt;function _t(){}var mt=gt.prototype;function xt(t,n){var e=new _t;if(t instanceof _t)t.each(function(t){e.add(t)});else if(t){var r=-1,i=t.length;if(null==n)for(;++r<i;)e.add(t[r]);else for(;++r<i;)e.add(n(t[r],r,t))}return e}_t.prototype=xt.prototype={constructor:_t,has:mt.has,add:function(t){return this["$"+(t+="")]=t,this},remove:mt.remove,clear:mt.clear,values:mt.keys,size:mt.size,empty:mt.empty,each:mt.each};var bt=Array.prototype,wt=bt.map,St=bt.slice,Mt={name:"implicit"};function kt(){var t=gt(),n=[],e=[],r=Mt;function i(i){var o=i+"",a=t.get(o);if(!a){if(r!==Mt)return r;t.set(o,a=n.push(i))}return e[(a-1)%e.length]}return i.domain=function(e){if(!arguments.length)return n.slice();n=[],t=gt();for(var r,o,a=-1,s=e.length;++a<s;)t.has(o=(r=e[a])+"")||t.set(o,n.push(r));return i},i.range=function(t){return arguments.length?(e=St.call(t),i):e.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return kt(n,e).unknown(r)},dt.apply(i,arguments),i}function Tt(){var t,n,e=kt().unknown(void 0),r=e.domain,i=e.range,o=[0,1],a=!1,s=0,u=0,c=.5;function l(){var e=r().length,l=o[1]<o[0],h=o[l-0],f=o[1-l];t=(f-h)/Math.max(1,e-s+2*u),a&&(t=Math.floor(t)),h+=(f-h-t*(e-s))*c,n=t*(1-s),a&&(h=Math.round(h),n=Math.round(n));var p=ot(e).map(function(n){return h+t*n});return i(l?p.reverse():p)}return delete e.unknown,e.domain=function(t){return arguments.length?(r(t),l()):r()},e.range=function(t){return arguments.length?(o=[+t[0],+t[1]],l()):o.slice()},e.rangeRound=function(t){return o=[+t[0],+t[1]],a=!0,l()},e.bandwidth=function(){return n},e.step=function(){return t},e.round=function(t){return arguments.length?(a=!!t,l()):a},e.padding=function(t){return arguments.length?(s=Math.min(1,u=+t),l()):s},e.paddingInner=function(t){return arguments.length?(s=Math.min(1,t),l()):s},e.paddingOuter=function(t){return arguments.length?(u=+t,l()):u},e.align=function(t){return arguments.length?(c=Math.max(0,Math.min(1,t)),l()):c},e.copy=function(){return Tt(r(),o).round(a).paddingInner(s).paddingOuter(u).align(c)},dt.apply(l(),arguments)}var At=function(t,n,e){t.prototype=n.prototype=e,e.constructor=t};function Et(t,n){var e=Object.create(t.prototype);for(var r in n)e[r]=n[r];return e}function Lt(){}var Ct="\\s*([+-]?\\d+)\\s*",Ot="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Dt="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",It=/^#([0-9a-f]{3})$/,Pt=/^#([0-9a-f]{6})$/,Ft=new RegExp("^rgb\\("+[Ct,Ct,Ct]+"\\)$"),Nt=new RegExp("^rgb\\("+[Dt,Dt,Dt]+"\\)$"),Wt=new RegExp("^rgba\\("+[Ct,Ct,Ct,Ot]+"\\)$"),Rt=new RegExp("^rgba\\("+[Dt,Dt,Dt,Ot]+"\\)$"),jt=new RegExp("^hsl\\("+[Ot,Dt,Dt]+"\\)$"),Bt=new RegExp("^hsla\\("+[Ot,Dt,Dt,Ot]+"\\)$"),zt={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Xt(t){var n;return t=(t+"").trim().toLowerCase(),(n=It.exec(t))?new Yt((n=parseInt(n[1],16))>>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):(n=Pt.exec(t))?Ut(parseInt(n[1],16)):(n=Ft.exec(t))?new Yt(n[1],n[2],n[3],1):(n=Nt.exec(t))?new Yt(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Wt.exec(t))?Vt(n[1],n[2],n[3],n[4]):(n=Rt.exec(t))?Vt(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=jt.exec(t))?$t(n[1],n[2]/100,n[3]/100,1):(n=Bt.exec(t))?$t(n[1],n[2]/100,n[3]/100,n[4]):zt.hasOwnProperty(t)?Ut(zt[t]):"transparent"===t?new Yt(NaN,NaN,NaN,0):null}function Ut(t){return new Yt(t>>16&255,t>>8&255,255&t,1)}function Vt(t,n,e,r){return r<=0&&(t=n=e=NaN),new Yt(t,n,e,r)}function Ht(t){return t instanceof Lt||(t=Xt(t)),t?new Yt((t=t.rgb()).r,t.g,t.b,t.opacity):new Yt}function Gt(t,n,e,r){return 1===arguments.length?Ht(t):new Yt(t,n,e,null==r?1:r)}function Yt(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function qt(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function $t(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new Zt(t,n,e,r)}function Jt(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof Zt)return new Zt(t.h,t.s,t.l,t.opacity);if(t instanceof Lt||(t=Xt(t)),!t)return new Zt;if(t instanceof Zt)return t;var n=(t=t.rgb()).r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),a=NaN,s=o-i,u=(o+i)/2;return s?(a=n===o?(e-r)/s+6*(e<r):e===o?(r-n)/s+2:(n-e)/s+4,s/=u<.5?o+i:2-o-i,a*=60):s=u>0&&u<1?0:a,new Zt(a,s,u,t.opacity)}(t):new Zt(t,n,e,null==r?1:r)}function Zt(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Kt(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}At(Lt,Xt,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),At(Yt,Gt,Et(Lt,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Yt(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Yt(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},hex:function(){return"#"+qt(this.r)+qt(this.g)+qt(this.b)},toString:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),At(Zt,Jt,Et(Lt,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Zt(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Zt(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new Yt(Kt(t>=240?t-240:t+120,i,r),Kt(t,i,r),Kt(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var Qt=Math.PI/180,tn=180/Math.PI,nn=.96422,en=1,rn=.82521,on=4/29,an=6/29,sn=3*an*an,un=an*an*an;function cn(t){if(t instanceof hn)return new hn(t.l,t.a,t.b,t.opacity);if(t instanceof _n){if(isNaN(t.h))return new hn(t.l,0,0,t.opacity);var n=t.h*Qt;return new hn(t.l,Math.cos(n)*t.c,Math.sin(n)*t.c,t.opacity)}t instanceof Yt||(t=Ht(t));var e,r,i=vn(t.r),o=vn(t.g),a=vn(t.b),s=fn((.2225045*i+.7168786*o+.0606169*a)/en);return i===o&&o===a?e=r=s:(e=fn((.4360747*i+.3850649*o+.1430804*a)/nn),r=fn((.0139322*i+.0971045*o+.7141733*a)/rn)),new hn(116*s-16,500*(e-s),200*(s-r),t.opacity)}function ln(t,n,e,r){return 1===arguments.length?cn(t):new hn(t,n,e,null==r?1:r)}function hn(t,n,e,r){this.l=+t,this.a=+n,this.b=+e,this.opacity=+r}function fn(t){return t>un?Math.pow(t,1/3):t/sn+on}function pn(t){return t>an?t*t*t:sn*(t-on)}function dn(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function vn(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function yn(t){if(t instanceof _n)return new _n(t.h,t.c,t.l,t.opacity);if(t instanceof hn||(t=cn(t)),0===t.a&&0===t.b)return new _n(NaN,0,t.l,t.opacity);var n=Math.atan2(t.b,t.a)*tn;return new _n(n<0?n+360:n,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function gn(t,n,e,r){return 1===arguments.length?yn(t):new _n(t,n,e,null==r?1:r)}function _n(t,n,e,r){this.h=+t,this.c=+n,this.l=+e,this.opacity=+r}At(hn,ln,Et(Lt,{brighter:function(t){return new hn(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new hn(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,n=isNaN(this.a)?t:t+this.a/500,e=isNaN(this.b)?t:t-this.b/200;return new Yt(dn(3.1338561*(n=nn*pn(n))-1.6168667*(t=en*pn(t))-.4906146*(e=rn*pn(e))),dn(-.9787684*n+1.9161415*t+.033454*e),dn(.0719453*n-.2289914*t+1.4052427*e),this.opacity)}})),At(_n,gn,Et(Lt,{brighter:function(t){return new _n(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new _n(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return cn(this).rgb()}}));var mn=-.14861,xn=1.78277,bn=-.29227,wn=-.90649,Sn=1.97294,Mn=Sn*wn,kn=Sn*xn,Tn=xn*bn-wn*mn;function An(t,n,e,r){return 1===arguments.length?function(t){if(t instanceof En)return new En(t.h,t.s,t.l,t.opacity);t instanceof Yt||(t=Ht(t));var n=t.r/255,e=t.g/255,r=t.b/255,i=(Tn*r+Mn*n-kn*e)/(Tn+Mn-kn),o=r-i,a=(Sn*(e-i)-bn*o)/wn,s=Math.sqrt(a*a+o*o)/(Sn*i*(1-i)),u=s?Math.atan2(a,o)*tn-120:NaN;return new En(u<0?u+360:u,s,i,t.opacity)}(t):new En(t,n,e,null==r?1:r)}function En(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function Ln(t,n,e,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*n+(4-6*o+3*a)*e+(1+3*t+3*o-3*a)*r+a*i)/6}At(En,An,Et(Lt,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new En(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new En(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*Qt,n=+this.l,e=isNaN(this.s)?0:this.s*n*(1-n),r=Math.cos(t),i=Math.sin(t);return new Yt(255*(n+e*(mn*r+xn*i)),255*(n+e*(bn*r+wn*i)),255*(n+e*(Sn*r)),this.opacity)}}));var Cn=function(t){return function(){return t}};function On(t,n){return function(e){return t+e*n}}function Dn(t,n){var e=n-t;return e?On(t,e>180||e<-180?e-360*Math.round(e/360):e):Cn(isNaN(t)?n:t)}function In(t){return 1==(t=+t)?Pn:function(n,e){return e-n?function(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}(n,e,t):Cn(isNaN(n)?e:n)}}function Pn(t,n){var e=n-t;return e?On(t,e):Cn(isNaN(t)?n:t)}var Fn=function t(n){var e=In(n);function r(t,n){var r=e((t=Gt(t)).r,(n=Gt(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),a=Pn(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=i(n),t.b=o(n),t.opacity=a(n),t+""}}return r.gamma=t,r}(1);function Nn(t){return function(n){var e,r,i=n.length,o=new Array(i),a=new Array(i),s=new Array(i);for(e=0;e<i;++e)r=Gt(n[e]),o[e]=r.r||0,a[e]=r.g||0,s[e]=r.b||0;return o=t(o),a=t(a),s=t(s),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=s(t),r+""}}}Nn(function(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,s=r<n-1?t[r+2]:2*o-i;return Ln((e-r/n)*n,a,i,o,s)}}),Nn(function(t){var n=t.length;return function(e){var r=Math.floor(((e%=1)<0?++e:e)*n),i=t[(r+n-1)%n],o=t[r%n],a=t[(r+1)%n],s=t[(r+2)%n];return Ln((e-r/n)*n,i,o,a,s)}});var Wn=function(t,n){return n-=t=+t,function(e){return t+n*e}},Rn=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,jn=new RegExp(Rn.source,"g");var Bn,zn,Xn,Un,Vn=function(t,n){var e,r,i,o=Rn.lastIndex=jn.lastIndex=0,a=-1,s=[],u=[];for(t+="",n+="";(e=Rn.exec(t))&&(r=jn.exec(n));)(i=r.index)>o&&(i=n.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(e=e[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,u.push({i:a,x:Wn(e,r)})),o=jn.lastIndex;return o<n.length&&(i=n.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?u[0]?function(t){return function(n){return t(n)+""}}(u[0].x):function(t){return function(){return t}}(n):(n=u.length,function(t){for(var e,r=0;r<n;++r)s[(e=u[r]).i]=e.x(t);return s.join("")})},Hn=function(t,n){var e,r=typeof n;return null==n||"boolean"===r?Cn(n):("number"===r?Wn:"string"===r?(e=Xt(n))?(n=e,Fn):Vn:n instanceof Xt?Fn:n instanceof Date?function(t,n){var e=new Date;return n-=t=+t,function(r){return e.setTime(t+n*r),e}}:Array.isArray(n)?function(t,n){var e,r=n?n.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),a=new Array(r);for(e=0;e<i;++e)o[e]=Hn(t[e],n[e]);for(;e<r;++e)a[e]=n[e];return function(t){for(e=0;e<i;++e)a[e]=o[e](t);return a}}:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?function(t,n){var e,r={},i={};for(e in null!==t&&"object"==typeof t||(t={}),null!==n&&"object"==typeof n||(n={}),n)e in t?r[e]=Hn(t[e],n[e]):i[e]=n[e];return function(t){for(e in r)i[e]=r[e](t);return i}}:Wn)(t,n)},Gn=function(t,n){return n-=t=+t,function(e){return Math.round(t+n*e)}},Yn=180/Math.PI,qn={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},$n=function(t,n,e,r,i,o){var a,s,u;return(a=Math.sqrt(t*t+n*n))&&(t/=a,n/=a),(u=t*e+n*r)&&(e-=t*u,r-=n*u),(s=Math.sqrt(e*e+r*r))&&(e/=s,r/=s,u/=s),t*r<n*e&&(t=-t,n=-n,u=-u,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(n,t)*Yn,skewX:Math.atan(u)*Yn,scaleX:a,scaleY:s}};function Jn(t,n,e,r){function i(t){return t.length?t.pop()+" ":""}return function(o,a){var s=[],u=[];return o=t(o),a=t(a),function(t,r,i,o,a,s){if(t!==i||r!==o){var u=a.push("translate(",null,n,null,e);s.push({i:u-4,x:Wn(t,i)},{i:u-2,x:Wn(r,o)})}else(i||o)&&a.push("translate("+i+n+o+e)}(o.translateX,o.translateY,a.translateX,a.translateY,s,u),function(t,n,e,o){t!==n?(t-n>180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:Wn(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}(o.rotate,a.rotate,s,u),function(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",null,r)-2,x:Wn(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}(o.skewX,a.skewX,s,u),function(t,n,e,r,o,a){if(t!==e||n!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:Wn(t,e)},{i:s-2,x:Wn(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,u),o=a=null,function(t){for(var n,e=-1,r=u.length;++e<r;)s[(n=u[e]).i]=n.x(t);return s.join("")}}}var Zn=Jn(function(t){return"none"===t?qn:(Bn||(Bn=document.createElement("DIV"),zn=document.documentElement,Xn=document.defaultView),Bn.style.transform=t,t=Xn.getComputedStyle(zn.appendChild(Bn),null).getPropertyValue("transform"),zn.removeChild(Bn),t=t.slice(7,-1).split(","),$n(+t[0],+t[1],+t[2],+t[3],+t[4],+t[5]))},"px, ","px)","deg)"),Kn=Jn(function(t){return null==t?qn:(Un||(Un=document.createElementNS("http://www.w3.org/2000/svg","g")),Un.setAttribute("transform",t),(t=Un.transform.baseVal.consolidate())?(t=t.matrix,$n(t.a,t.b,t.c,t.d,t.e,t.f)):qn)},", ",")",")");Math.SQRT2;function Qn(t){return function(n,e){var r=t((n=Jt(n)).h,(e=Jt(e)).h),i=Pn(n.s,e.s),o=Pn(n.l,e.l),a=Pn(n.opacity,e.opacity);return function(t){return n.h=r(t),n.s=i(t),n.l=o(t),n.opacity=a(t),n+""}}}Qn(Dn),Qn(Pn);function te(t){return function(n,e){var r=t((n=gn(n)).h,(e=gn(e)).h),i=Pn(n.c,e.c),o=Pn(n.l,e.l),a=Pn(n.opacity,e.opacity);return function(t){return n.h=r(t),n.c=i(t),n.l=o(t),n.opacity=a(t),n+""}}}te(Dn),te(Pn);function ne(t){return function n(e){function r(n,r){var i=t((n=An(n)).h,(r=An(r)).h),o=Pn(n.s,r.s),a=Pn(n.l,r.l),s=Pn(n.opacity,r.opacity);return function(t){return n.h=i(t),n.s=o(t),n.l=a(Math.pow(t,e)),n.opacity=s(t),n+""}}return e=+e,r.gamma=n,r}(1)}ne(Dn),ne(Pn);var ee=function(t){return function(){return t}},re=function(t){return+t},ie=[0,1];function oe(t){return t}function ae(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:ee(isNaN(n)?NaN:.5)}function se(t){var n,e=t[0],r=t[t.length-1];return e>r&&(n=e,e=r,r=n),function(t){return Math.max(e,Math.min(r,t))}}function ue(t,n,e){var r=t[0],i=t[1],o=n[0],a=n[1];return i<r?(r=ae(i,r),o=e(a,o)):(r=ae(r,i),o=e(o,a)),function(t){return o(r(t))}}function ce(t,n,e){var r=Math.min(t.length,n.length)-1,i=new Array(r),o=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),n=n.slice().reverse());++a<r;)i[a]=ae(t[a],t[a+1]),o[a]=e(n[a],n[a+1]);return function(n){var e=rt(t,n,1,r)-1;return o[e](i[e](n))}}function le(t,n){return n.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function he(){var t,n,e,r,i,o,a=ie,s=ie,u=Hn,c=oe;function l(){return r=Math.min(a.length,s.length)>2?ce:ue,i=o=null,h}function h(n){return isNaN(n=+n)?e:(i||(i=r(a.map(t),s,u)))(t(c(n)))}return h.invert=function(e){return c(n((o||(o=r(s,a.map(t),Wn)))(e)))},h.domain=function(t){return arguments.length?(a=wt.call(t,re),c===oe||(c=se(a)),l()):a.slice()},h.range=function(t){return arguments.length?(s=St.call(t),l()):s.slice()},h.rangeRound=function(t){return s=St.call(t),u=Gn,l()},h.clamp=function(t){return arguments.length?(c=t?se(a):oe,h):c!==oe},h.interpolate=function(t){return arguments.length?(u=t,l()):u},h.unknown=function(t){return arguments.length?(e=t,h):e},function(e,r){return t=e,n=r,l()}}function fe(t,n){return he()(t,n)}var pe=function(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]},de=function(t){return(t=pe(Math.abs(t)))?t[1]:NaN},ve=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ye(t){return new ge(t)}function ge(t){if(!(n=ve.exec(t)))throw new Error("invalid format: "+t);var n;this.fill=n[1]||" ",this.align=n[2]||">",this.sign=n[3]||"-",this.symbol=n[4]||"",this.zero=!!n[5],this.width=n[6]&&+n[6],this.comma=!!n[7],this.precision=n[8]&&+n[8].slice(1),this.trim=!!n[9],this.type=n[10]||""}ye.prototype=ge.prototype,ge.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var _e,me,xe,be,we=function(t){t:for(var n,e=t.length,r=1,i=-1;r<e;++r)switch(t[r]){case".":i=n=r;break;case"0":0===i&&(i=r),n=r;break;default:if(i>0){if(!+t[r])break t;i=0}}return i>0?t.slice(0,i)+t.slice(n+1):t},Se=function(t,n){var e=pe(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},Me={"%":function(t,n){return(100*t).toFixed(n)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,n){return t.toExponential(n)},f:function(t,n){return t.toFixed(n)},g:function(t,n){return t.toPrecision(n)},o:function(t){return Math.round(t).toString(8)},p:function(t,n){return Se(100*t,n)},r:Se,s:function(t,n){var e=pe(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(_e=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+pe(t,Math.max(0,n+o-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},ke=function(t){return t},Te=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];me=function(t){var n,e,r=t.grouping&&t.thousands?(n=t.grouping,e=t.thousands,function(t,r){for(var i=t.length,o=[],a=0,s=n[0],u=0;i>0&&s>0&&(u+s+1>r&&(s=Math.max(1,r-u)),o.push(t.substring(i-=s,i+s)),!((u+=s+1)>r));)s=n[a=(a+1)%n.length];return o.reverse().join(e)}):ke,i=t.currency,o=t.decimal,a=t.numerals?function(t){return function(n){return n.replace(/[0-9]/g,function(n){return t[+n]})}}(t.numerals):ke,s=t.percent||"%";function u(t){var n=(t=ye(t)).fill,e=t.align,u=t.sign,c=t.symbol,l=t.zero,h=t.width,f=t.comma,p=t.precision,d=t.trim,v=t.type;"n"===v?(f=!0,v="g"):Me[v]||(null==p&&(p=12),d=!0,v="g"),(l||"0"===n&&"="===e)&&(l=!0,n="0",e="=");var y="$"===c?i[0]:"#"===c&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",g="$"===c?i[1]:/[%p]/.test(v)?s:"",_=Me[v],m=/[defgprs%]/.test(v);function x(t){var i,s,c,x=y,b=g;if("c"===v)b=_(t)+b,t="";else{var w=(t=+t)<0;if(t=_(Math.abs(t),p),d&&(t=we(t)),w&&0==+t&&(w=!1),x=(w?"("===u?u:"-":"-"===u||"("===u?"":u)+x,b=("s"===v?Te[8+_e/3]:"")+b+(w&&"("===u?")":""),m)for(i=-1,s=t.length;++i<s;)if(48>(c=t.charCodeAt(i))||c>57){b=(46===c?o+t.slice(i+1):t.slice(i))+b,t=t.slice(0,i);break}}f&&!l&&(t=r(t,1/0));var S=x.length+t.length+b.length,M=S<h?new Array(h-S+1).join(n):"";switch(f&&l&&(t=r(M+t,M.length?h-b.length:1/0),M=""),e){case"<":t=x+t+b+M;break;case"=":t=x+M+t+b;break;case"^":t=M.slice(0,S=M.length>>1)+x+t+b+M.slice(S);break;default:t=M+x+t+b}return a(t)}return p=null==p?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,p)):Math.max(0,Math.min(20,p)),x.toString=function(){return t+""},x}return{format:u,formatPrefix:function(t,n){var e=u(((t=ye(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(de(n)/3))),i=Math.pow(10,-r),o=Te[8+r/3];return function(t){return e(i*t)+o}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""]}),xe=me.format,be=me.formatPrefix;var Ae=function(t,n,e,r){var i,o=ht(t,n,e);switch((r=ye(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(i=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(de(n)/3)))-de(Math.abs(t)))}(o,a))||(r.precision=i),be(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,de(n)-de(t))+1}(o,Math.max(Math.abs(t),Math.abs(n))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=function(t){return Math.max(0,-de(Math.abs(t)))}(o))||(r.precision=i-2*("%"===r.type))}return xe(r)};function Ee(t){var n=t.domain;return t.ticks=function(t){var e=n();return ct(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return Ae(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,i=n(),o=0,a=i.length-1,s=i[o],u=i[a];return u<s&&(r=s,s=u,u=r,r=o,o=a,a=r),(r=lt(s,u,e))>0?r=lt(s=Math.floor(s/r)*r,u=Math.ceil(u/r)*r,e):r<0&&(r=lt(s=Math.ceil(s*r)/r,u=Math.floor(u*r)/r,e)),r>0?(i[o]=Math.floor(s/r)*r,i[a]=Math.ceil(u/r)*r,n(i)):r<0&&(i[o]=Math.ceil(s*r)/r,i[a]=Math.floor(u*r)/r,n(i)),t},t}function Le(){var t=fe(oe,oe);return t.copy=function(){return le(t,Le())},dt.apply(t,arguments),Ee(t)}var Ce=new Date,Oe=new Date;function De(t,n,e,r){function i(n){return t(n=new Date(+n)),n}return i.floor=i,i.ceil=function(e){return t(e=new Date(e-1)),n(e,1),t(e),e},i.round=function(t){var n=i(t),e=i.ceil(t);return t-n<e-t?n:e},i.offset=function(t,e){return n(t=new Date(+t),null==e?1:Math.floor(e)),t},i.range=function(e,r,o){var a,s=[];if(e=i.ceil(e),o=null==o?1:Math.floor(o),!(e<r&&o>0))return s;do{s.push(a=new Date(+e)),n(e,o),t(e)}while(a<e&&e<r);return s},i.filter=function(e){return De(function(n){if(n>=n)for(;t(n),!e(n);)n.setTime(n-1)},function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;n(t,-1),!e(t););else for(;--r>=0;)for(;n(t,1),!e(t););})},e&&(i.count=function(n,r){return Ce.setTime(+n),Oe.setTime(+r),t(Ce),t(Oe),Math.floor(e(Ce,Oe))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(n){return r(n)%t==0}:function(n){return i.count(0,n)%t==0}):i:null}),i}var Ie=De(function(){},function(t,n){t.setTime(+t+n)},function(t,n){return n-t});Ie.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?De(function(n){n.setTime(Math.floor(n/t)*t)},function(n,e){n.setTime(+n+e*t)},function(n,e){return(e-n)/t}):Ie:null};Ie.range;var Pe=6e4,Fe=6048e5,Ne=De(function(t){t.setTime(t-t.getMilliseconds())},function(t,n){t.setTime(+t+1e3*n)},function(t,n){return(n-t)/1e3},function(t){return t.getUTCSeconds()}),We=(Ne.range,De(function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},function(t,n){t.setTime(+t+n*Pe)},function(t,n){return(n-t)/Pe},function(t){return t.getMinutes()})),Re=(We.range,De(function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-t.getMinutes()*Pe)},function(t,n){t.setTime(+t+36e5*n)},function(t,n){return(n-t)/36e5},function(t){return t.getHours()})),je=(Re.range,De(function(t){t.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Pe)/864e5},function(t){return t.getDate()-1})),Be=je;je.range;function ze(t){return De(function(n){n.setDate(n.getDate()-(n.getDay()+7-t)%7),n.setHours(0,0,0,0)},function(t,n){t.setDate(t.getDate()+7*n)},function(t,n){return(n-t-(n.getTimezoneOffset()-t.getTimezoneOffset())*Pe)/Fe})}var Xe=ze(0),Ue=ze(1),Ve=ze(2),He=ze(3),Ge=ze(4),Ye=ze(5),qe=ze(6),$e=(Xe.range,Ue.range,Ve.range,He.range,Ge.range,Ye.range,qe.range,De(function(t){t.setDate(1),t.setHours(0,0,0,0)},function(t,n){t.setMonth(t.getMonth()+n)},function(t,n){return n.getMonth()-t.getMonth()+12*(n.getFullYear()-t.getFullYear())},function(t){return t.getMonth()})),Je=($e.range,De(function(t){t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n)},function(t,n){return n.getFullYear()-t.getFullYear()},function(t){return t.getFullYear()}));Je.every=function(t){return isFinite(t=Math.floor(t))&&t>0?De(function(n){n.setFullYear(Math.floor(n.getFullYear()/t)*t),n.setMonth(0,1),n.setHours(0,0,0,0)},function(n,e){n.setFullYear(n.getFullYear()+e*t)}):null};var Ze=Je,Ke=(Je.range,De(function(t){t.setUTCSeconds(0,0)},function(t,n){t.setTime(+t+n*Pe)},function(t,n){return(n-t)/Pe},function(t){return t.getUTCMinutes()})),Qe=(Ke.range,De(function(t){t.setUTCMinutes(0,0,0)},function(t,n){t.setTime(+t+36e5*n)},function(t,n){return(n-t)/36e5},function(t){return t.getUTCHours()})),tr=(Qe.range,De(function(t){t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+n)},function(t,n){return(n-t)/864e5},function(t){return t.getUTCDate()-1})),nr=tr;tr.range;function er(t){return De(function(n){n.setUTCDate(n.getUTCDate()-(n.getUTCDay()+7-t)%7),n.setUTCHours(0,0,0,0)},function(t,n){t.setUTCDate(t.getUTCDate()+7*n)},function(t,n){return(n-t)/Fe})}var rr=er(0),ir=er(1),or=er(2),ar=er(3),sr=er(4),ur=er(5),cr=er(6),lr=(rr.range,ir.range,or.range,ar.range,sr.range,ur.range,cr.range,De(function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCMonth(t.getUTCMonth()+n)},function(t,n){return n.getUTCMonth()-t.getUTCMonth()+12*(n.getUTCFullYear()-t.getUTCFullYear())},function(t){return t.getUTCMonth()})),hr=(lr.range,De(function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n)},function(t,n){return n.getUTCFullYear()-t.getUTCFullYear()},function(t){return t.getUTCFullYear()}));hr.every=function(t){return isFinite(t=Math.floor(t))&&t>0?De(function(n){n.setUTCFullYear(Math.floor(n.getUTCFullYear()/t)*t),n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)},function(n,e){n.setUTCFullYear(n.getUTCFullYear()+e*t)}):null};var fr=hr;hr.range;function pr(t){if(0<=t.y&&t.y<100){var n=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return n.setFullYear(t.y),n}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function dr(t){if(0<=t.y&&t.y<100){var n=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return n.setUTCFullYear(t.y),n}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function vr(t){return{y:t,m:0,d:1,H:0,M:0,S:0,L:0}}var yr,gr,_r,mr={"-":"",_:" ",0:"0"},xr=/^\s*\d+/,br=/^%/,wr=/[\\^$*+?|[\]().{}]/g;function Sr(t,n,e){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<e?new Array(e-o+1).join(n)+i:i)}function Mr(t){return t.replace(wr,"\\$&")}function kr(t){return new RegExp("^(?:"+t.map(Mr).join("|")+")","i")}function Tr(t){for(var n={},e=-1,r=t.length;++e<r;)n[t[e].toLowerCase()]=e;return n}function Ar(t,n,e){var r=xr.exec(n.slice(e,e+1));return r?(t.w=+r[0],e+r[0].length):-1}function Er(t,n,e){var r=xr.exec(n.slice(e,e+1));return r?(t.u=+r[0],e+r[0].length):-1}function Lr(t,n,e){var r=xr.exec(n.slice(e,e+2));return r?(t.U=+r[0],e+r[0].length):-1}function Cr(t,n,e){var r=xr.exec(n.slice(e,e+2));return r?(t.V=+r[0],e+r[0].length):-1}function Or(t,n,e){var r=xr.exec(n.slice(e,e+2));return r?(t.W=+r[0],e+r[0].length):-1}function Dr(t,n,e){var r=xr.exec(n.slice(e,e+4));return r?(t.y=+r[0],e+r[0].length):-1}function Ir(t,n,e){var r=xr.exec(n.slice(e,e+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),e+r[0].length):-1}function Pr(t,n,e){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(n.slice(e,e+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),e+r[0].length):-1}function Fr(t,n,e){var r=xr.exec(n.slice(e,e+2));return r?(t.m=r[0]-1,e+r[0].length):-1}function Nr(t,n,e){var r=xr.exec(n.slice(e,e+2));return r?(t.d=+r[0],e+r[0].length):-1}function Wr(t,n,e){var r=xr.exec(n.slice(e,e+3));return r?(t.m=0,t.d=+r[0],e+r[0].length):-1}function Rr(t,n,e){var r=xr.exec(n.slice(e,e+2));return r?(t.H=+r[0],e+r[0].length):-1}function jr(t,n,e){var r=xr.exec(n.slice(e,e+2));return r?(t.M=+r[0],e+r[0].length):-1}function Br(t,n,e){var r=xr.exec(n.slice(e,e+2));return r?(t.S=+r[0],e+r[0].length):-1}function zr(t,n,e){var r=xr.exec(n.slice(e,e+3));return r?(t.L=+r[0],e+r[0].length):-1}function Xr(t,n,e){var r=xr.exec(n.slice(e,e+6));return r?(t.L=Math.floor(r[0]/1e3),e+r[0].length):-1}function Ur(t,n,e){var r=br.exec(n.slice(e,e+1));return r?e+r[0].length:-1}function Vr(t,n,e){var r=xr.exec(n.slice(e));return r?(t.Q=+r[0],e+r[0].length):-1}function Hr(t,n,e){var r=xr.exec(n.slice(e));return r?(t.Q=1e3*+r[0],e+r[0].length):-1}function Gr(t,n){return Sr(t.getDate(),n,2)}function Yr(t,n){return Sr(t.getHours(),n,2)}function qr(t,n){return Sr(t.getHours()%12||12,n,2)}function $r(t,n){return Sr(1+Be.count(Ze(t),t),n,3)}function Jr(t,n){return Sr(t.getMilliseconds(),n,3)}function Zr(t,n){return Jr(t,n)+"000"}function Kr(t,n){return Sr(t.getMonth()+1,n,2)}function Qr(t,n){return Sr(t.getMinutes(),n,2)}function ti(t,n){return Sr(t.getSeconds(),n,2)}function ni(t){var n=t.getDay();return 0===n?7:n}function ei(t,n){return Sr(Xe.count(Ze(t),t),n,2)}function ri(t,n){var e=t.getDay();return t=e>=4||0===e?Ge(t):Ge.ceil(t),Sr(Ge.count(Ze(t),t)+(4===Ze(t).getDay()),n,2)}function ii(t){return t.getDay()}function oi(t,n){return Sr(Ue.count(Ze(t),t),n,2)}function ai(t,n){return Sr(t.getFullYear()%100,n,2)}function si(t,n){return Sr(t.getFullYear()%1e4,n,4)}function ui(t){var n=t.getTimezoneOffset();return(n>0?"-":(n*=-1,"+"))+Sr(n/60|0,"0",2)+Sr(n%60,"0",2)}function ci(t,n){return Sr(t.getUTCDate(),n,2)}function li(t,n){return Sr(t.getUTCHours(),n,2)}function hi(t,n){return Sr(t.getUTCHours()%12||12,n,2)}function fi(t,n){return Sr(1+nr.count(fr(t),t),n,3)}function pi(t,n){return Sr(t.getUTCMilliseconds(),n,3)}function di(t,n){return pi(t,n)+"000"}function vi(t,n){return Sr(t.getUTCMonth()+1,n,2)}function yi(t,n){return Sr(t.getUTCMinutes(),n,2)}function gi(t,n){return Sr(t.getUTCSeconds(),n,2)}function _i(t){var n=t.getUTCDay();return 0===n?7:n}function mi(t,n){return Sr(rr.count(fr(t),t),n,2)}function xi(t,n){var e=t.getUTCDay();return t=e>=4||0===e?sr(t):sr.ceil(t),Sr(sr.count(fr(t),t)+(4===fr(t).getUTCDay()),n,2)}function bi(t){return t.getUTCDay()}function wi(t,n){return Sr(ir.count(fr(t),t),n,2)}function Si(t,n){return Sr(t.getUTCFullYear()%100,n,2)}function Mi(t,n){return Sr(t.getUTCFullYear()%1e4,n,4)}function ki(){return"+0000"}function Ti(){return"%"}function Ai(t){return+t}function Ei(t){return Math.floor(+t/1e3)}!function(t){yr=function(t){var n=t.dateTime,e=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,s=t.months,u=t.shortMonths,c=kr(i),l=Tr(i),h=kr(o),f=Tr(o),p=kr(a),d=Tr(a),v=kr(s),y=Tr(s),g=kr(u),_=Tr(u),m={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:Gr,e:Gr,f:Zr,H:Yr,I:qr,j:$r,L:Jr,m:Kr,M:Qr,p:function(t){return i[+(t.getHours()>=12)]},Q:Ai,s:Ei,S:ti,u:ni,U:ei,V:ri,w:ii,W:oi,x:null,X:null,y:ai,Y:si,Z:ui,"%":Ti},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:ci,e:ci,f:di,H:li,I:hi,j:fi,L:pi,m:vi,M:yi,p:function(t){return i[+(t.getUTCHours()>=12)]},Q:Ai,s:Ei,S:gi,u:_i,U:mi,V:xi,w:bi,W:wi,x:null,X:null,y:Si,Y:Mi,Z:ki,"%":Ti},b={a:function(t,n,e){var r=p.exec(n.slice(e));return r?(t.w=d[r[0].toLowerCase()],e+r[0].length):-1},A:function(t,n,e){var r=h.exec(n.slice(e));return r?(t.w=f[r[0].toLowerCase()],e+r[0].length):-1},b:function(t,n,e){var r=g.exec(n.slice(e));return r?(t.m=_[r[0].toLowerCase()],e+r[0].length):-1},B:function(t,n,e){var r=v.exec(n.slice(e));return r?(t.m=y[r[0].toLowerCase()],e+r[0].length):-1},c:function(t,e,r){return M(t,n,e,r)},d:Nr,e:Nr,f:Xr,H:Rr,I:Rr,j:Wr,L:zr,m:Fr,M:jr,p:function(t,n,e){var r=c.exec(n.slice(e));return r?(t.p=l[r[0].toLowerCase()],e+r[0].length):-1},Q:Vr,s:Hr,S:Br,u:Er,U:Lr,V:Cr,w:Ar,W:Or,x:function(t,n,r){return M(t,e,n,r)},X:function(t,n,e){return M(t,r,n,e)},y:Ir,Y:Dr,Z:Pr,"%":Ur};function w(t,n){return function(e){var r,i,o,a=[],s=-1,u=0,c=t.length;for(e instanceof Date||(e=new Date(+e));++s<c;)37===t.charCodeAt(s)&&(a.push(t.slice(u,s)),null!=(i=mr[r=t.charAt(++s)])?r=t.charAt(++s):i="e"===r?" ":"0",(o=n[r])&&(r=o(e,i)),a.push(r),u=s+1);return a.push(t.slice(u,s)),a.join("")}}function S(t,n){return function(e){var r,i,o=vr(1900);if(M(o,t,e+="",0)!=e.length)return null;if("Q"in o)return new Date(o.Q);if("p"in o&&(o.H=o.H%12+12*o.p),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=dr(vr(o.y))).getUTCDay(),r=i>4||0===i?ir.ceil(r):ir(r),r=nr.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=n(vr(o.y))).getDay(),r=i>4||0===i?Ue.ceil(r):Ue(r),r=Be.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?dr(vr(o.y)).getUTCDay():n(vr(o.y)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,dr(o)):n(o)}}function M(t,n,e,r){for(var i,o,a=0,s=n.length,u=e.length;a<s;){if(r>=u)return-1;if(37===(i=n.charCodeAt(a++))){if(i=n.charAt(a++),!(o=b[i in mr?n.charAt(a++):i])||(r=o(t,e,r))<0)return-1}else if(i!=e.charCodeAt(r++))return-1}return r}return m.x=w(e,m),m.X=w(r,m),m.c=w(n,m),x.x=w(e,x),x.X=w(r,x),x.c=w(n,x),{format:function(t){var n=w(t+="",m);return n.toString=function(){return t},n},parse:function(t){var n=S(t+="",pr);return n.toString=function(){return t},n},utcFormat:function(t){var n=w(t+="",x);return n.toString=function(){return t},n},utcParse:function(t){var n=S(t,dr);return n.toString=function(){return t},n}}}(t),yr.format,yr.parse,gr=yr.utcFormat,_r=yr.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});Date.prototype.toISOString||gr("%Y-%m-%dT%H:%M:%S.%LZ");+new Date("2000-01-01T00:00:00.000Z")||_r("%Y-%m-%dT%H:%M:%S.%LZ");var Li={value:function(){}};function Ci(){for(var t,n=0,e=arguments.length,r={};n<e;++n){if(!(t=arguments[n]+"")||t in r)throw new Error("illegal type: "+t);r[t]=[]}return new Oi(r)}function Oi(t){this._=t}function Di(t,n){for(var e,r=0,i=t.length;r<i;++r)if((e=t[r]).name===n)return e.value}function Ii(t,n,e){for(var r=0,i=t.length;r<i;++r)if(t[r].name===n){t[r]=Li,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=e&&t.push({name:n,value:e}),t}Oi.prototype=Ci.prototype={constructor:Oi,on:function(t,n){var e,r,i=this._,o=(r=i,(t+"").trim().split(/^|\s+/).map(function(t){var n="",e=t.indexOf(".");if(e>=0&&(n=t.slice(e+1),t=t.slice(0,e)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}})),a=-1,s=o.length;if(!(arguments.length<2)){if(null!=n&&"function"!=typeof n)throw new Error("invalid callback: "+n);for(;++a<s;)if(e=(t=o[a]).type)i[e]=Ii(i[e],t.name,n);else if(null==n)for(e in i)i[e]=Ii(i[e],t.name,null);return this}for(;++a<s;)if((e=(t=o[a]).type)&&(e=Di(i[e],t.name)))return e},copy:function(){var t={},n=this._;for(var e in n)t[e]=n[e].slice();return new Oi(t)},call:function(t,n){if((e=arguments.length-2)>0)for(var e,r,i=new Array(e),o=0;o<e;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,e=(r=this._[t]).length;o<e;++o)r[o].value.apply(n,i)},apply:function(t,n,e){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(n,e)}};var Pi,Fi,Ni=Ci,Wi=0,Ri=0,ji=0,Bi=1e3,zi=0,Xi=0,Ui=0,Vi="object"==typeof performance&&performance.now?performance:Date,Hi="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Gi(){return Xi||(Hi(Yi),Xi=Vi.now()+Ui)}function Yi(){Xi=0}function qi(){this._call=this._time=this._next=null}function $i(t,n,e){var r=new qi;return r.restart(t,n,e),r}function Ji(){Xi=(zi=Vi.now())+Ui,Wi=Ri=0;try{!function(){Gi(),++Wi;for(var t,n=Pi;n;)(t=Xi-n._time)>=0&&n._call.call(null,t),n=n._next;--Wi}()}finally{Wi=0,function(){var t,n,e=Pi,r=1/0;for(;e;)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:Pi=n);Fi=t,Ki(r)}(),Xi=0}}function Zi(){var t=Vi.now(),n=t-zi;n>Bi&&(Ui-=n,zi=t)}function Ki(t){Wi||(Ri&&(Ri=clearTimeout(Ri)),t-Xi>24?(t<1/0&&(Ri=setTimeout(Ji,t-Vi.now()-Ui)),ji&&(ji=clearInterval(ji))):(ji||(zi=Vi.now(),ji=setInterval(Zi,Bi)),Wi=1,Hi(Ji)))}qi.prototype=$i.prototype={constructor:qi,restart:function(t,n,e){if("function"!=typeof t)throw new TypeError("callback is not a function");e=(null==e?Gi():+e)+(null==n?0:+n),this._next||Fi===this||(Fi?Fi._next=this:Pi=this,Fi=this),this._call=t,this._time=e,Ki()},stop:function(){this._call&&(this._call=null,this._time=1/0,Ki())}};var Qi=function(t,n,e){var r=new qi;return n=null==n?0:+n,r.restart(function(e){r.stop(),t(e+n)},n,e),r},to=Ni("start","end","cancel","interrupt"),no=[],eo=0,ro=1,io=2,oo=3,ao=4,so=5,uo=6,co=function(t,n,e,r,i,o){var a=t.__transition;if(a){if(e in a)return}else t.__transition={};!function(t,n,e){var r,i=t.__transition;function o(u){var c,l,h,f;if(e.state!==ro)return s();for(c in i)if((f=i[c]).name===e.name){if(f.state===oo)return Qi(o);f.state===ao?(f.state=uo,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[c]):+c<n&&(f.state=uo,f.timer.stop(),f.on.call("cancel",t,t.__data__,f.index,f.group),delete i[c])}if(Qi(function(){e.state===oo&&(e.state=ao,e.timer.restart(a,e.delay,e.time),a(u))}),e.state=io,e.on.call("start",t,t.__data__,e.index,e.group),e.state===io){for(e.state=oo,r=new Array(h=e.tween.length),c=0,l=-1;c<h;++c)(f=e.tween[c].value.call(t,t.__data__,e.index,e.group))&&(r[++l]=f);r.length=l+1}}function a(n){for(var i=n<e.duration?e.ease.call(null,n/e.duration):(e.timer.restart(s),e.state=so,1),o=-1,a=r.length;++o<a;)r[o].call(t,i);e.state===so&&(e.on.call("end",t,t.__data__,e.index,e.group),s())}function s(){for(var r in e.state=uo,e.timer.stop(),delete i[n],i)return;delete t.__transition}i[n]=e,e.timer=$i(function(t){e.state=ro,e.timer.restart(o,e.delay,e.time),e.delay<=t&&o(t-e.delay)},0,e.time)}(t,e,{name:n,index:r,group:i,on:to,tween:no,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:eo})};function lo(t,n){var e=fo(t,n);if(e.state>eo)throw new Error("too late; already scheduled");return e}function ho(t,n){var e=fo(t,n);if(e.state>oo)throw new Error("too late; already running");return e}function fo(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}function po(t,n,e){var r=t._id;return t.each(function(){var t=ho(this,r);(t.value||(t.value={}))[n]=e.apply(this,arguments)}),function(t){return fo(t,r).value[n]}}var vo=function(t,n){var e;return("number"==typeof n?Wn:n instanceof Xt?Fn:(e=Xt(n))?(n=e,Fn):Vn)(t,n)};var yo=H.prototype.constructor;function go(t){return function(){this.style.removeProperty(t)}}var _o=0;function mo(t,n,e,r){this._groups=t,this._parents=n,this._name=e,this._id=r}function xo(t){return H().transition(t)}function bo(){return++_o}var wo=H.prototype;mo.prototype=xo.prototype={constructor:mo,select:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=l(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a<i;++a)for(var s,u,c=r[a],h=c.length,f=o[a]=new Array(h),p=0;p<h;++p)(s=c[p])&&(u=t.call(s,s.__data__,p,c))&&("__data__"in s&&(u.__data__=s.__data__),f[p]=u,co(f[p],n,e,p,f,fo(s,e)));return new mo(o,this._parents,n,e)},selectAll:function(t){var n=this._name,e=this._id;"function"!=typeof t&&(t=f(t));for(var r=this._groups,i=r.length,o=[],a=[],s=0;s<i;++s)for(var u,c=r[s],l=c.length,h=0;h<l;++h)if(u=c[h]){for(var p,d=t.call(u,u.__data__,h,c),v=fo(u,e),y=0,g=d.length;y<g;++y)(p=d[y])&&co(p,n,e,y,d,v);o.push(d),a.push(u)}return new mo(o,a,n,e)},filter:function(t){"function"!=typeof t&&(t=p(t));for(var n=this._groups,e=n.length,r=new Array(e),i=0;i<e;++i)for(var o,a=n[i],s=a.length,u=r[i]=[],c=0;c<s;++c)(o=a[c])&&t.call(o,o.__data__,c,a)&&u.push(o);return new mo(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var n=this._groups,e=t._groups,r=n.length,i=e.length,o=Math.min(r,i),a=new Array(r),s=0;s<o;++s)for(var u,c=n[s],l=e[s],h=c.length,f=a[s]=new Array(h),p=0;p<h;++p)(u=c[p]||l[p])&&(f[p]=u);for(;s<r;++s)a[s]=n[s];return new mo(a,this._parents,this._name,this._id)},selection:function(){return new yo(this._groups,this._parents)},transition:function(){for(var t=this._name,n=this._id,e=bo(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],u=s.length,c=0;c<u;++c)if(a=s[c]){var l=fo(a,n);co(a,t,e,c,s,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new mo(r,this._parents,t,e)},call:wo.call,nodes:wo.nodes,node:wo.node,size:wo.size,empty:wo.empty,each:wo.each,on:function(t,n){var e=this._id;return arguments.length<2?fo(this.node(),e).on.on(t):this.each(function(t,n,e){var r,i,o=function(t){return(t+"").trim().split(/^|\s+/).every(function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||"start"===t})}(n)?lo:ho;return function(){var a=o(this,t),s=a.on;s!==r&&(i=(r=s).copy()).on(n,e),a.on=i}}(e,t,n))},attr:function(t,n){var e=s(t),r="transform"===e?Kn:vo;return this.attrTween(t,"function"==typeof n?(e.local?function(t,n,e){var r,i,o;return function(){var a,s,u=e(this);if(null!=u)return(a=this.getAttributeNS(t.space,t.local))===(s=u+"")?null:a===r&&s===i?o:(i=s,o=n(r=a,u));this.removeAttributeNS(t.space,t.local)}}:function(t,n,e){var r,i,o;return function(){var a,s,u=e(this);if(null!=u)return(a=this.getAttribute(t))===(s=u+"")?null:a===r&&s===i?o:(i=s,o=n(r=a,u));this.removeAttribute(t)}})(e,r,po(this,"attr."+t,n)):null==n?(e.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(e):(e.local?function(t,n,e){var r,i,o=e+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===r?i:i=n(r=a,e)}}:function(t,n,e){var r,i,o=e+"";return function(){var a=this.getAttribute(t);return a===o?null:a===r?i:i=n(r=a,e)}})(e,r,n))},attrTween:function(t,n){var e="attr."+t;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==n)return this.tween(e,null);if("function"!=typeof n)throw new Error;var r=s(t);return this.tween(e,(r.local?function(t,n){var e,r;function i(){var i=n.apply(this,arguments);return i!==r&&(e=(r=i)&&function(t,n){return function(e){this.setAttributeNS(t.space,t.local,n(e))}}(t,i)),e}return i._value=n,i}:function(t,n){var e,r;function i(){var i=n.apply(this,arguments);return i!==r&&(e=(r=i)&&function(t,n){return function(e){this.setAttribute(t,n(e))}}(t,i)),e}return i._value=n,i})(r,n))},style:function(t,n,e){var r="transform"==(t+="")?Zn:vo;return null==n?this.styleTween(t,function(t,n){var e,r,i;return function(){var o=b(this,t),a=(this.style.removeProperty(t),b(this,t));return o===a?null:o===e&&a===r?i:i=n(e=o,r=a)}}(t,r)).on("end.style."+t,go(t)):"function"==typeof n?this.styleTween(t,function(t,n,e){var r,i,o;return function(){var a=b(this,t),s=e(this),u=s+"";return null==s&&(this.style.removeProperty(t),u=s=b(this,t)),a===u?null:a===r&&u===i?o:(i=u,o=n(r=a,s))}}(t,r,po(this,"style."+t,n))).each(function(t,n){var e,r,i,o,a="style."+n,s="end."+a;return function(){var u=ho(this,t),c=u.on,l=null==u.value[a]?o||(o=go(n)):void 0;c===e&&i===l||(r=(e=c).copy()).on(s,i=l),u.on=r}}(this._id,t)):this.styleTween(t,function(t,n,e){var r,i,o=e+"";return function(){var a=b(this,t);return a===o?null:a===r?i:i=n(r=a,e)}}(t,r,n),e).on("end.style."+t,null)},styleTween:function(t,n,e){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==n)return this.tween(r,null);if("function"!=typeof n)throw new Error;return this.tween(r,function(t,n,e){var r,i;function o(){var o=n.apply(this,arguments);return o!==i&&(r=(i=o)&&function(t,n,e){return function(r){this.style.setProperty(t,n(r),e)}}(t,o,e)),r}return o._value=n,o}(t,n,null==e?"":e))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var n=t(this);this.textContent=null==n?"":n}}(po(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},remove:function(){return this.on("end.remove",(t=this._id,function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}));var t},tween:function(t,n){var e=this._id;if(t+="",arguments.length<2){for(var r,i=fo(this.node(),e).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==n?function(t,n){var e,r;return function(){var i=ho(this,t),o=i.tween;if(o!==e)for(var a=0,s=(r=e=o).length;a<s;++a)if(r[a].name===n){(r=r.slice()).splice(a,1);break}i.tween=r}}:function(t,n,e){var r,i;if("function"!=typeof e)throw new Error;return function(){var o=ho(this,t),a=o.tween;if(a!==r){i=(r=a).slice();for(var s={name:n,value:e},u=0,c=i.length;u<c;++u)if(i[u].name===n){i[u]=s;break}u===c&&i.push(s)}o.tween=i}})(e,t,n))},delay:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?function(t,n){return function(){lo(this,t).delay=+n.apply(this,arguments)}}:function(t,n){return n=+n,function(){lo(this,t).delay=n}})(n,t)):fo(this.node(),n).delay},duration:function(t){var n=this._id;return arguments.length?this.each(("function"==typeof t?function(t,n){return function(){ho(this,t).duration=+n.apply(this,arguments)}}:function(t,n){return n=+n,function(){ho(this,t).duration=n}})(n,t)):fo(this.node(),n).duration},ease:function(t){var n=this._id;return arguments.length?this.each(function(t,n){if("function"!=typeof n)throw new Error;return function(){ho(this,t).ease=n}}(n,t)):fo(this.node(),n).ease},end:function(){var t,n,e=this,r=e._id,i=e.size();return new Promise(function(o,a){var s={value:a},u={value:function(){0==--i&&o()}};e.each(function(){var e=ho(this,r),i=e.on;i!==t&&((n=(t=i).copy())._.cancel.push(s),n._.interrupt.push(s),n._.end.push(u)),e.on=n})})}};(function t(n){function e(t){return Math.pow(t,n)}return n=+n,e.exponent=t,e})(3),function t(n){function e(t){return 1-Math.pow(1-t,n)}return n=+n,e.exponent=t,e}(3),function t(n){function e(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}return n=+n,e.exponent=t,e}(3),Math.PI;(function t(n){function e(t){return t*t*((n+1)*t-n)}return n=+n,e.overshoot=t,e})(1.70158),function t(n){function e(t){return--t*t*((n+1)*t+n)+1}return n=+n,e.overshoot=t,e}(1.70158),function t(n){function e(t){return((t*=2)<1?t*t*((n+1)*t-n):(t-=2)*t*((n+1)*t+n)+2)/2}return n=+n,e.overshoot=t,e}(1.70158);var So=2*Math.PI,Mo=(function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=So);function i(t){return n*Math.pow(2,10*--t)*Math.sin((r-t)/e)}return i.amplitude=function(n){return t(n,e*So)},i.period=function(e){return t(n,e)},i}(1,.3),function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=So);function i(t){return 1-n*Math.pow(2,-10*(t=+t))*Math.sin((t+r)/e)}return i.amplitude=function(n){return t(n,e*So)},i.period=function(e){return t(n,e)},i}(1,.3),function t(n,e){var r=Math.asin(1/(n=Math.max(1,n)))*(e/=So);function i(t){return((t=2*t-1)<0?n*Math.pow(2,10*t)*Math.sin((r-t)/e):2-n*Math.pow(2,-10*t)*Math.sin((r+t)/e))/2}return i.amplitude=function(n){return t(n,e*So)},i.period=function(e){return t(n,e)},i}(1,.3),{time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}});function ko(t,n){for(var e;!(e=t.__transition)||!(e=e[n]);)if(!(t=t.parentNode))return Mo.time=Gi(),Mo;return e}H.prototype.interrupt=function(t){return this.each(function(){!function(t,n){var e,r,i,o=t.__transition,a=!0;if(o){for(i in n=null==n?null:n+"",o)(e=o[i]).name===n?(r=e.state>io&&e.state<so,e.state=uo,e.timer.stop(),e.on.call(r?"interrupt":"cancel",t,t.__data__,e.index,e.group),delete o[i]):a=!1;a&&delete t.__transition}}(this,t)})},H.prototype.transition=function(t){var n,e;t instanceof mo?(n=t._id,t=t._name):(n=bo(),(e=Mo).time=Gi(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],u=s.length,c=0;c<u;++c)(a=s[c])&&co(a,t,n,c,s,e||ko(a,n));return new mo(r,this._parents,t,n)};var To;!function(t){t.debounce=function(t,n,e){var r;return function(){var i=this,o=arguments,a=e&&!r;clearTimeout(r),r=setTimeout(function(){r=null,e||t.apply(i,o)},n),a&&t.apply(i,o)}},t.addCloseBtn=function(t,n,e){var r=t.append("button"),i="close--"+n;i=e?" close--"+e:i;var o=document.createElement("span");return o.innerHTML="Close",r.attr("class",i).attr("type","button").attr("aria-label","Close"),r.node().appendChild(o),r},t.clone=function(t){return JSON.parse(JSON.stringify(t))},t.merge=function(n){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];for(var i=0,o=e;i<o.length;i++){var a=o[i];for(var s in a)a.hasOwnProperty(s)&&(a[s]&&"object"==typeof a[s]?(n[s]||(n[s]={}),n[s]=t.merge(n[s],a[s])):n[s]=a[s])}return n},t.getDimensions=function(t){return{width:parseFloat(t.style.width.replace("px","")||t.offsetWidth),height:parseFloat(t.style.height.replace("px","")||t.offsetHeight)}},t.getTranformOffsets=function(t){var n=/\(([^)]+)\)/.exec(t)[1].split(",");return{x:parseFloat(n[0]),y:parseFloat(n[1])}},t.formatWidthHeightValues=function(t){var n=t.toString();return n.match(/[a-z]/i)?n:n+"px"},t.capitalizeFirstLetter=function(t){return t[0].toUpperCase()+t.slice(1)},t.convertValueToPercentage=function(t,n){return Math.floor(t/n.reduce(function(t,n){return t+n.value},0)*100)+"%"},t.arrayDifferences=function(t,n){var e={missing:[],added:[]};return t.forEach(function(t){-1===n.indexOf(t)&&e.missing.push(t)}),n.forEach(function(n){-1===t.indexOf(n)&&e.added.push(n)}),e},t.getDuplicateValues=function(t){var n=[],e=[];return t.forEach(function(t){-1!==n.indexOf(t)&&-1===e.indexOf(t)&&e.push(t),n.push(t)}),e},t.removeArrayDuplicates=function(t){return new Set(t).slice()},t.moveToFront=function(t){return t.each(function(){this.parentNode.appendChild(this)})},t.getXTransformsValue=function(t){return window.getComputedStyle(t).getPropertyValue("transform").split(",")[4]},t.getProperty=function(t){for(var n=[],e=1;e<arguments.length;e++)n[e-1]=arguments[e];for(var r=t,i=0,o=n;i<o.length;i++){var a=o[i];if(!r[a])return null;r=r[a]}return r}}(To||(To={}));var Ao={10:"#fff0f6",20:"#ffcfe1",30:"#ffa0c2",40:"#fa75a6",50:"#ee538b",60:"#d12765",70:"#a11950",80:"#760a3a",90:"#57002b",100:"#2a0a16"},Eo={10:"#f7f1ff",20:"#e6d6ff",30:"#d0b0ff",40:"#bb8eff",50:"#a66efa",60:"#8a3ffc",70:"#6e32c9",80:"#4f2196",90:"#38146b",100:"#1e1033"},Lo={10:"#e3f6ff",20:"#b3e6ff",30:"#6ccaff",40:"#30b0ff",50:"#1191e6",60:"#0072c3",70:"#0058a1",80:"#003d73",90:"#002b50",100:"#07192b"},Co={10:"#dbfbfb",20:"#92eeee",30:"#20d5d2",40:"#00bab6",50:"#009c98",60:"#007d79",70:"#006161",80:"#004548",90:"#003137",100:"#081a1c"},Oo={10:"#dafbe4",20:"#9deeb2",30:"#56d679",40:"#3dbb61",50:"#24a148",60:"#198038",70:"#10642a",80:"#054719",90:"#01330f",100:"#081b09"};var Do,Io,Po,Fo=function(t,n){return t[n]},No=function(t){return Fo(Lo,t)},Wo=function(t){return Fo(Oo,t)},Ro=function(t){return Fo(Ao,t)},jo=function(t){return Fo(Eo,t)},Bo=function(t){return Fo(Co,t)},zo=[jo(60),Bo(30),Ro(50),No(40),Ro(80),jo(30),No(80)],Xo=[jo(60),Ro(30),Bo(70),No(40),Ro(70),Bo(30),No(80)],Uo=[jo(60),Bo(30),Ro(50),Wo(40),jo(20),Bo(60),Ro(30)],Vo=zo;!function(t){t.BAR="bar",t.LINE="line",t.SCATTER="scatter",t.PIE="pie",t.DONUT="donut",t.COMBO="combo"}(Do||(Do={})),function(t){t.COMPACT="compact",t.FULL=""}(Io||(Io={})),function(t){t.SUCCESS="success",t.ERROR="error",t.WARNING="warning"}(Po||(Po={}));var Ho,Go,Yo={legendClickable:!0,containerResizable:!0,colors:Vo,tooltip:{size:Io.FULL,formatter:null,targetsToSkip:["rect","circle","path"]},overlay:{types:{loading:"loading",noData:"noData"},innerHTML:{loading:'\n\t\t\t<div class="ccharts-overlay-content">\n\t\t\t\t<div data-loading class="bx--loading bx--loading--small">\n\t\t\t\t\t<svg class="bx--loading__svg" viewBox="-75 -75 150 150">\n\t\t\t\t\t\t<title>Loading</title>\n\t\t\t\t\t\t<circle cx="0" cy="0" r="37.5" />\n\t\t\t\t\t</svg>\n\t\t\t\t</div>\n\n\t\t\t\t<p>Loading</p>\n\t\t\t</div>\n\t\t\t',noData:'\n\t\t\t<div class="ccharts-overlay-content">\n\t\t\t\tNo data available\n\t\t\t</div>\n\t\t\t'}}},qo=To.merge({},Yo),$o=To.merge({},Yo),Jo=To.merge({},Yo,{scales:{x:{domain:null,ticks:5},y:{domain:null,ticks:5},ySecondary:{domain:null,ticks:10}}}),Zo=To.merge({},Jo,{points:{radius:3}}),Ko=To.merge({},Jo,{points:{radius:4,fillOpacity:.3}}),Qo=To.merge({},Jo),ta={BASE:Yo,AXIS:Jo,LINE:Zo,SCATTER:Ko,BAR:Qo,STACKED_BAR:To.merge({},Qo),COMBO:To.merge({},Jo,Qo,Zo,Ko),PIE:qo,DONUT:$o},na={margin:{top:20,bottom:60,left:60,right:20,bar:{top:0,right:-40,bottom:50,left:40},line:{top:0,right:-40,bottom:50,left:40}},resetOpacity:{opacity:1,circle:{fill:"white"},outline:"grey"},reduceOpacity:{opacity:.25,outline:"grey"},points:{radius:3},patternFills:{width:20,height:20},minWidth:150,widthBreak:600,marginForLegendTop:40,magicRatio:.7,magicMoreForY2Axis:70,axisCharts:{minWidth:100,minHeight:200}},ea={maxWidthOfAxisLabel:175,maxNumOfAxisLabelLetters:60,yAxisAngle:-90,xAxisAngle:-45,domain:{color:"#959595",strokeWidth:2},dx:"-1em",label:{dy:"1em"},tick:{dy:"0.5em",widthAdditionY:25,widthAdditionY2:15,heightAddition:16,lineHeight:1.1},magicDy1:"0.71em",magicY1:9,magicX1:-4,y:{numberOfTicks:5,thresholds:{colors:{danger:"rgba(255, 39, 41, 0.1)",success:"rgba(0, 212, 117, 0.1)",warning:"rgba(255, 214, 0, 0.1)"}}},x:{numberOfTicks:5,padding:.2},y2:{numberOfTicks:5}},ra="#ECEEEF",ia={mouseover:{strokeWidth:4,strokeOpacity:.5},mouseout:{strokeWidth:0,strokeWidthAccessible:2,strokeOpacity:1},default:{strokeWidth:2},spacing:{bars:.2,datasets:.25},bars:{maxWidth:null}},oa={strokeWidth:4,minNonFilledRadius:3,mouseover:{strokeWidth:4,strokeOpacity:.5},mouseout:{strokeWidth:0,strokeWidthAccessible:2,strokeOpacity:1}},aa={maxWidth:516.6,mouseover:{strokeWidth:6,strokeOpacity:.5},mouseout:{strokeWidth:0,strokeOpacity:1},sliceLimit:6,label:{dy:".32em",margin:8,other:"Other"},default:{strokeWidth:2}},sa={title:{y:22},breakpoint:175,magicScaleRatio:2.5,numberFontSize:24,titleFontSize:15},ua={countBreak:4,fontSize:12,wrapperHeight:"40px",widthTolerance:15,hoverShadowSize:"3px",hoverShadowTransparency:.2,margin:{top:19},active:{borderColor:!1,borderStyle:!1,borderWidth:!1},inactive:{backgroundColor:"white",borderStyle:"solid",borderWidth:"2px"},items:{status:{ACTIVE:1,DISABLED:0}},basedOn:{SERIES:"series",LABELS:"labels"}},ca=200,la=10,ha=20,fa=21,pa=10,da={duration:250},va={duration:250},ya={COMPACT:"compact"},ga={duration:750},_a=[e(334),e(335),e(336),e(337),e(338),e(339),e(340),e(341)],ma="carbon-charts-patterns",xa=function(){function t(){this.patternAccum=0,this.idAccum=0,this.patternURLs={},this.setDiv()}return t.prototype.setDiv=function(){if(this.container=document.getElementById(ma),!this.container){var t=document.createElement("div");t.id=ma,this.container=document.body.appendChild(t)}},t.prototype.addPatternSVGs=function(t,n,e,r){var i=this;G(this.container).style("display","table").style("max-height",0),t.datasets.forEach(function(o){var a;o.data.forEach(function(s,u){var c=++i.idAccum;a&&r!==ua.basedOn.LABELS||(a=_a[i.patternAccum++].default);var l,h,f,p=document.createElement("div");p.id="carbon-"+e+"-pattern-container-"+c,p.innerHTML=(h=(l=a).substring(0,l.indexOf('<style type="text/css">')),f=l.substring(l.indexOf("</style>")+"</style>".length),l=(l=h+f).replace(/<!--[\s\S]*?-->/g,""));var d=p.querySelector("svg");d.id="carbon-"+e+"-pattern-"+c+"-svg";var v=d.querySelector("pattern");v.id="carbon-"+e+"-pattern-"+c,d.querySelector("g").removeAttribute("id"),Array.prototype.slice.call(d.querySelectorAll("pattern g *")).forEach(function(e,r){r>0?(e.style.fill=n[o.label](t.labels[u]),e.style.stroke=n[o.label](t.labels[u])):e.style.fill="transparent",e.removeAttribute("id"),e.removeAttribute("class")}),Array.prototype.slice.call(d.querySelectorAll("rect")).forEach(function(t){t.removeAttribute("id")}),v.setAttribute("width",""+na.patternFills.width),v.setAttribute("height",""+na.patternFills.height),i.container.appendChild(p);var y="url(#carbon-"+e+"-pattern-"+c+")";i.patternURLs[o.label]?i.patternURLs[o.label].push(y):i.patternURLs[o.label]=[y]})})},t.prototype.getFillValues=function(){return this.patternURLs},t}(),ba=function(){function t(t,n){this.holder=t,this.overlayElement=this.holder.querySelector("div.chart-overlay"),this.overlayOptions=n||ta.BASE.overlay}return t.prototype.show=function(t){this.overlayElement&&this.overlayElement.parentNode.removeChild(this.overlayElement);var n=document.createElement("div");n.classList.add("chart-overlay"),n.innerHTML=this.overlayOptions.innerHTML[t||"loading"],this.overlayElement=this.holder.appendChild(n)},t.prototype.hide=function(){this.overlayElement.style.display="none"},t}();!function(t){t.LEFT="left",t.RIGHT="right",t.TOP="top",t.BOTTOM="bottom"}(Go||(Go={}));var wa=((Ho={})[Go.LEFT]=function(t,n,e){return{top:t.top-Math.round(n.offsetHeight/2)+Math.round(e.height/2),left:Math.round(t.left-n.offsetWidth)}},Ho[Go.RIGHT]=function(t,n,e){return{top:t.top-Math.round(n.offsetHeight/2)+Math.round(e.height/2),left:Math.round(t.left+e.width)}},Ho[Go.TOP]=function(t,n,e){return{top:Math.round(t.top-n.offsetHeight),left:t.left-Math.round(n.offsetWidth/2)+Math.round(e.width/2)}},Ho[Go.BOTTOM]=function(t,n,e){return{top:Math.round(t.top+e.height),left:t.left-Math.round(n.offsetWidth/2)+Math.round(e.width/2)}},Ho),Sa=function(){function t(t){void 0===t&&(t={}),this.positions=wa,this.positions=Object.assign({},wa,t)}return t.prototype.getRelativeOffset=function(t){for(var n={left:t.offsetLeft,top:t.offsetTop};t.offsetParent&&"static"===getComputedStyle(t.offsetParent).position;)n.left+=t.offsetLeft,n.top+=t.offsetTop,t=t.offsetParent;return n},t.prototype.getAbsoluteOffset=function(t){for(var n=t,e={top:0,left:0};n.offsetParent;){var r=getComputedStyle(n.offsetParent);"static"===r.position&&r.marginLeft&&r.marginTop&&(parseInt(r.marginTop,10)&&(e.top+=parseInt(r.marginTop,10)),parseInt(r.marginLeft,10)&&(e.left+=parseInt(r.marginLeft,10))),n=n.offsetParent}var i=t.getBoundingClientRect(),o=document.body.getBoundingClientRect();return{top:i.top-o.top+e.top,left:i.left-o.left+e.left}},t.prototype.findRelative=function(t,n,e){var r=this.getRelativeOffset(t),i=t.getBoundingClientRect();return this.calculatePosition(r,i,n,e)},t.prototype.findAbsolute=function(t,n,e){var r=this.getAbsoluteOffset(t),i=t.getBoundingClientRect();return this.calculatePosition(r,i,n,e)},t.prototype.findPosition=function(t,n,e,r){void 0===r&&(r=this.getAbsoluteOffset);var i=r(t),o=t.getBoundingClientRect();return this.calculatePosition(i,o,n,e)},t.prototype.findPositionAt=function(t,n,e){return this.calculatePosition(t,{height:0,width:0},n,e)},t.prototype.getPlacementBox=function(t,n){var e=t.offsetHeight+n.top,r=t.offsetWidth+n.left;return{top:n.top,bottom:e,left:n.left,right:r}},t.prototype.addOffset=function(t,n,e){return void 0===n&&(n=0),void 0===e&&(e=0),Object.assign({},t,{top:t.top+n,left:t.left+e})},t.prototype.setElement=function(t,n){t.style.top=n.top+"px",t.style.left=n.left+"px"},t.prototype.findBestPlacement=function(t,n,e,r,i){var o=this;void 0===r&&(r=this.defaultContainerFunction),void 0===i&&(i=this.findPosition);var a=e.map(function(e){var a=i(t,n,e),s=o.getPlacementBox(n,a),u=s.bottom-r().height,c=s.right-r().width;u=u<0?n.offsetHeight:u,c=c<0?n.offsetWidth:c;var l=n.offsetHeight*n.offsetWidth,h=l-u*c;return{placement:e,weight:(h=0===h?l:h)/l}});return a.sort(function(t,n){return n.weight-t.weight}),a[0].placement},t.prototype.findBestPlacementAt=function(t,n,e,r){var i=this;void 0===r&&(r=this.defaultContainerFunction);return this.findBestPlacement(null,n,e,r,function(n,e,r){return i.findPositionAt(t,e,r)})},t.prototype.defaultContainerFunction=function(){return{width:window.innerHeight-window.scrollY,height:window.innerWidth-window.scrollX}},t.prototype.calculatePosition=function(t,n,e,r){return this.positions[r]?this.positions[r](t,e,n):(console.error("No function found for placement, defaulting to 0,0"),{left:0,top:0})},t}(),Ma=Sa,ka=(new Sa,function(){function t(t){var n=this;this.positionService=new Ma,this.getRef=function(){return G(n.container).select("div.chart-tooltip").node()},this.container=t}return t.prototype.positionTooltip=function(){var t=this,n=this.getRef(),e=Z(this.container),r=this.positionService.findBestPlacementAt({left:e[0],top:e[1]},n,[Go.RIGHT,Go.LEFT],function(){return{width:t.container.offsetWidth,height:t.container.offsetHeight}}),i=pa;r===Go.LEFT&&(i*=-1);var o=this.positionService.findPositionAt({left:e[0]+i,top:e[1]},n,r);this.positionService.setElement(n,o)},t.prototype.show=function(t){K(".chart-tooltip").remove();var n=G(this.container).append("div").attr("class","tooltip chart-tooltip");n.append("div").attr("class","text-box").html(t),this.positionTooltip(),n.style("opacity",0).transition().duration(da.duration).style("opacity",1)},t.prototype.hide=function(){G(this.container).select("div.chart-tooltip").style("opacity",1).transition().duration(va.duration).style("opacity",0).remove(),this.removeEventLinteners()},t.prototype.handleTooltipEvents=function(t){if(t.key)"Escape"!==t.key&&"Esc"!==t.key||this.hide();else{var n=t.target.tagName;-1===ta.BASE.tooltip.targetsToSkip.indexOf(n)&&this.hide()}},t.prototype.addEventListeners=function(){var t=this,n=G(this.container).select("div.chart-tooltip");setTimeout(function(){window.addEventListener("keydown",t.handleTooltipEvents),t.container.addEventListener("click",t.handleTooltipEvents),n.on("click",function(){event.stopPropagation()})},0)},t.prototype.removeEventLinteners=function(){window.removeEventListener("keydown",this.handleTooltipEvents),this.container.removeEventListener("click",this.handleTooltipEvents)},t}()),Ta=e(130),Aa=function(){function t(n,e){var r=this;this.id="",this.chartContainerID="",this.options=To.merge({},ta.BASE),this.patternScale={},this.colorScale={},this.eventHandlers={tooltips:null},this.getTooltipHTML=function(t){var n=r.options.tooltip.formatter?r.options.tooltip.formatter(t.value):t.value.toLocaleString("en");return r.getLegendType()===ua.basedOn.LABELS?r.generateTooltipHTML(t.label,n):r.generateTooltipHTML(t.datasetLabel,n)},this.id="chart-"+t.chartCount++,e.options&&(this.options=To.merge({},this.options,e.options)),this.holder=n,this.styleHolderElement();var i=this.setChartIDContainer(),o=i.chartId,a=i.container;this.container=a,this.chartContainerID=o,this.options.containerResizable&&this.resizeWhenContainerChange(),this.events=document.createDocumentFragment(),this.chartOverlay=new ba(this.holder,this.options.overlay),this.tooltip=new ka(this.container.node()),e.data&&this.setData(e.data)}return t.prototype.styleHolderElement=function(){var t=this.holder,n=this.options,e=n.width,r=n.height;G(this.holder).classed("chart-holder",!0),e&&(t.style.width=To.formatWidthHeightValues(e)),r&&(t.style.height=To.formatWidthHeightValues(r))},t.prototype.dispatchEvent=function(t,n){var e;n?e=new CustomEvent(t,{detail:n}):(e=document.createEvent("Event")).initEvent(t,!1,!0),this.events.dispatchEvent(e)},t.prototype.setData=function(t){var n=this,e=!this.innerWrap,r=Promise.resolve(t)===t;this.dispatchEvent("data-change"),(e||r)&&this.chartOverlay.show(),e||this.hideTooltip(),Promise.resolve(t).then(function(t){if(n.dispatchEvent("data-load"),n.data=To.clone(t),n.data.datasets&&n.data.datasets.length>0){n.displayData=n.dataProcessor(To.clone(t));var r=n.getKeysFromData(),i=n.getActiveLegendItems(),o=Object.keys(r),a=To.arrayDifferences(i,o),s=a.missing,u=a.added;n.options.keys=r,n.setColorScale(),n.options.accessibility&&n.setPatterns(),e?n.initialDraw():((s.length>0||u.length>0)&&n.addOrUpdateLegend(),n.update())}else n.chartOverlay.show(ta.BASE.overlay.types.noData)})},t.prototype.getKeysFromData=function(){var t=this,n={};this.getLegendType()===ua.basedOn.LABELS?this.displayData.labels.forEach(function(t){n[t]=ua.items.status.ACTIVE}):this.displayData.datasets.forEach(function(t){n[t.label]=ua.items.status.ACTIVE});var e=this.getDisabledLegendItems();return Object.keys(n).forEach(function(t){-1!==e.indexOf(t)&&(n[t]=ua.items.status.DISABLED)}),this.fixedDataLabels?this.displayData.labels.forEach(function(n){-1===t.fixedDataLabels.indexOf(n)&&t.fixedDataLabels.push(n)}):this.fixedDataLabels=this.displayData.labels,n},t.prototype.getLegendType=function(){var t=this.displayData.datasets;return 1===t.length&&t[0].backgroundColors&&t[0].backgroundColors.length>1?ua.basedOn.LABELS:ua.basedOn.SERIES},t.prototype.setPatterns=function(){var t=this;this.patternsService=new xa,this.patternsService.addPatternSVGs(this.displayData,this.colorScale,this.chartContainerID,this.getLegendType());var n=this.patternsService.getFillValues();Object.keys(n).forEach(function(e){t.patternScale[e]=kt().range(n[e]).domain(t.getLegendItemKeys())})},t.prototype.setColorScale=function(){var t=this;if(this.displayData.datasets[0].backgroundColors)this.displayData.datasets.forEach(function(n){t.colorScale[n.label]=kt().range(n.backgroundColors).domain(t.fixedDataLabels)});else{var n=ta.BASE.colors;this.displayData.datasets.forEach(function(e,r){t.colorScale[e.label]=kt().range([n[r]]).domain(t.fixedDataLabels)})}},t.prototype.getFillColor=function(t,n,e){return this.options.getFillColor&&!this.options.accessibility&&this.options.getFillColor(t,n,e)||this.getFillScale()[t](n)},t.prototype.getStrokeColor=function(t,n,e){return this.options.getStrokeColor&&this.options.getStrokeColor(t,n,e)||this.colorScale[t](n)},t.prototype.getChartSize=function(t){var n,e;void 0===t&&(t=this.container),t.node().clientWidth>na.widthBreak?(n=na.magicRatio,e=0):(e=na.marginForLegendTop,n=1);var r={height:t.node().clientHeight-e,width:(t.node().clientWidth-0)*n},i=Math.min(r.height,r.width);return{height:i=Math.max(i,na.minWidth),width:i}},t.prototype.removeChart=function(){this.holder.querySelector("div.chart-wrapper").parentNode.removeChild(this.holder.querySelector("div.chart-wrapper"))},t.prototype.setSVG=function(){this.getChartSize();return this.svg=this.container.append("svg").classed("chart-svg "+this.options.type,!0),this.innerWrap=this.svg.append("g").classed("inner-wrap",!0),this.svg},t.prototype.dataProcessor=function(t){return t},t.prototype.initialDraw=function(){console.warn("You should implement your own `initialDraw()` function.")},t.prototype.updateChart=function(){console.warn("You should implement your own `updateChart()` function.")},t.prototype.resizeChart=function(){console.warn("You should implement your own `resizeChart()` function.")},t.prototype.update=function(t){console.warn("You should implement your own `update()` function.")},t.prototype.resizeWhenContainerChange=function(){var t=this,n=this.holder.clientWidth,e=this.holder.clientHeight;new Ta.a(function(r,i){for(var o=0,a=r;o<a.length;o++){a[o];(Math.abs(n-t.holder.clientWidth)>1||Math.abs(e-t.holder.clientHeight)>1)&&(n=t.holder.clientWidth,e=t.holder.clientHeight,K(".legend-tooltip").style("display","none"),t.hideTooltip(),t.resizeChart())}}).observe(this.holder)},t.prototype.setClickableLegend=function(){var t=this,n=G(this.holder);1===this.getActiveLegendItems().length&&n.selectAll(".legend-btn.active").classed("not-allowed",!0),t.addLegendCircleHoverEffect(),n.selectAll(".legend-btn").each(function(){G(this).classed("clickable",!0),G(this).on("click",function(){n.selectAll(".chart-tooltip").remove(),n.selectAll(".label-tooltip").remove();var e=t.getActiveLegendItems(),r=G(this),i=!r.classed("active");(e.length>1||i)&&(t.updateLegend(this),t.applyLegendFilter(r.select("text").text())),2!==e.length||i||n.selectAll(".legend-btn.active").classed("not-allowed",!0),1===e.length&&i&&n.selectAll(".legend-btn.not-allowed").classed("not-allowed",!1)})})},t.prototype.setChartIDContainer=function(){var t,n,e=G(this.holder);e.select(".chart-wrapper").nodes().length>0?(t=(n=e.select(".chart-wrapper")).attr("chart-id"),n.selectAll(".chart-svg").remove()):(t=this.id,(n=e.append("div")).attr("chart-id",t).classed("chart-wrapper",!0),0===n.select(".legend-wrapper").nodes().length&&n.append("div").attr("class","legend-wrapper").attr("role","region").attr("aria-label","Chart "+t+" Legend").append("ul").attr("class","legend"));return{chartId:t,container:n}},t.prototype.resetOpacity=function(){K("svg.chart-svg").selectAll("rect").attr("fill-opacity",na.resetOpacity.opacity).attr("stroke-opacity",na.resetOpacity.opacity)},t.prototype.reduceOpacity=function(t){var n=this,e=G(t).datum();G(t).attr("fill-opacity",!1),G(t).attr("stroke-opacity",na.reduceOpacity.opacity),G(t).attr("fill",function(t){return n.getFillColor(t.datasetLabel,e.label,e.value)})},t.prototype.getLegendItems=function(){var t={};return this.options.keys&&(t=this.options.keys),t},t.prototype.getLegendItemArray=function(){var t=this.getLegendItems();return Object.keys(t).map(function(n){return{key:n,value:t[n]}})},t.prototype.getLegendItemKeys=function(){return Object.keys(this.getLegendItems())},t.prototype.getDisabledLegendItems=function(){var t=this.getLegendItems();return Object.keys(t).filter(function(n){return t[n]===ua.items.status.DISABLED})},t.prototype.getActiveLegendItems=function(){var t=this.getLegendItems();return Object.keys(t).filter(function(n){return t[n]===ua.items.status.ACTIVE})},t.prototype.updateLegend=function(t){var n=G(t),e=G(t).select(".legend-circle");n.classed("active",!n.classed("active")),n.classed("active")?e.style("background-color",e.style("border-color")).style("border-color",ua.active.borderColor).style("border-style",ua.active.borderStyle).style("border-width",ua.active.borderWidth):e.style("border-color",e.style("background-color")).style("background-color",ua.inactive.backgroundColor).style("border-style",ua.inactive.borderStyle).style("border-width",ua.inactive.borderWidth)},t.prototype.addLegend=function(){var t=this;if(!(this.container.select(".legend-tooltip").nodes().length>0)){var n=this.getLegendItemArray(),e=this.container.select(".legend").attr("font-size",ua.fontSize).selectAll("li.legend-btn").data(n,function(t){return t.key});e.exit().remove();var r=e.enter().append("li").attr("class","legend-btn active");r.append("div").attr("class","legend-circle"),r.append("text"),r.selectAll("text").merge(e.selectAll("text")).text(function(t){return t.key}),r.select("div").merge(e.selectAll("div")).style("background-color",function(n,e){return t.getLegendType()===ua.basedOn.LABELS&&n.value===ua.items.status.ACTIVE?t.getStrokeColor(t.displayData.datasets[0].label,n.key,n.value):n.value===ua.items.status.ACTIVE?t.getStrokeColor(n.key):"white"})}},t.prototype.positionLegend=function(){if(!(this.container.select(".legend-tooltip").nodes().length>0&&"block"===this.container.select(".legend-tooltip").node().style.display)){this.container.selectAll(".legend-btn").style("display","inline-block");var t=this.container.select("g.inner-wrap").node().getBBox().width;if(this.isLegendOnRight()){this.container.selectAll(".expand-btn").remove(),this.container.select(".legend-wrapper").style("height",0);var n=this.container.node().clientWidth-t;this.container.select(".legend").classed("right-legend",!0).style("width",n+"px")}else this.container.select(".legend-wrapper").style("height",ua.wrapperHeight);if(this.hasLegendExpandBtn()){this.container.select(".legend").classed("right-legend",!1).style("width",null);var e=this.container.selectAll(".legend-btn").nodes(),r=0;e.forEach(function(n){r+n.clientWidth+ua.widthTolerance>t?G(n).style("display","none"):r+=n.clientWidth}),0===this.container.select(".expand-btn").nodes().length&&this.addTooltipOpenButtonToLegend()}}},t.prototype.addOrUpdateLegend=function(){this.addLegend(),this.options.legendClickable&&this.setClickableLegend(),this.positionLegend()},t.prototype.addLegendCircleHoverEffect=function(){this.container.selectAll("li.legend-btn").on("mouseover",function(){var t=G(this).select("div.legend-circle"),n=t.node().style.backgroundColor.substring(4,t.node().style.backgroundColor.length-1);t.style("box-shadow","0 0 0 "+ua.hoverShadowSize+" rgba("+n+", "+ua.hoverShadowTransparency+")")}).on("mouseout",function(){G(this).select("div.legend-circle").style("box-shadow","none")})},t.prototype.hasLegendExpandBtn=function(){return this.container.node().clientWidth<na.widthBreak||this.container.node().clientHeight<this.container.select("ul.legend").node().clientHeight},t.prototype.isLegendOnRight=function(){return this.container.node().clientWidth>na.widthBreak&&this.container.node().clientHeight>this.container.select("ul.legend").node().clientHeight},t.prototype.applyLegendFilter=function(t){var n=ua.items.status,e=n.ACTIVE,r=n.DISABLED,i=this.options.keys[t];this.options.keys[t]=i===e?r:e,this.update()},t.prototype.setClickableLegendInTooltip=function(){var t=this;G(this.container).select(".legend-tooltip-content").selectAll(".legend-btn").each(function(){G(this).on("click",function(){t.updateLegend(this)})})},t.prototype.addTooltipOpenButtonToLegend=function(){var t=this;this.container.select(".legend").append("div").attr("class","expand-btn").style("cursor","pointer").on("click",function(){t.openLegendTooltip(this)})},t.prototype.openLegendTooltip=function(t){var n=this;K(".legend-tooltip").remove();var e,r=Z(this.container.node())[0];N.x;if(this.container.select(".legend-tooltip").nodes().length>0)(e=K(".legend-tooltip").style("display","block")).select("arrow").remove();else{(e=this.container.append("div").attr("class","tooltip chart-tooltip legend-tooltip").style("display","block").style("top",Z(this.container.node())[1]-ua.margin.top+"px")).append("p").text("Legend").attr("class","legend-tooltip-header"),e.append("ul").attr("class","legend-tooltip-content").attr("font-size",ua.fontSize),To.addCloseBtn(e,"md","white").on("click",function(){K(".legend-tooltip").style("display","none")});var i=this.getActiveLegendItems(),o=G(".legend-tooltip-content").attr("font-size",ua.fontSize).selectAll("div").data(this.getLegendItemArray(),function(t){return t.key}).enter().append("li").classed("legend-btn",!0).classed("clickable",this.options.legendClickable).classed("active",function(t){return t.value===ua.items.status.ACTIVE}).classed("not-allowed",function(t){return 1===i.length&&t.value===ua.items.status.ACTIVE}).on("click",function(t,e){if(n.options.legendClickable){var r=!G(N.currentTarget).classed("active");(i.length>1||r)&&(n.updateLegend(N.currentTarget),n.applyLegendFilter(t.key),n.container.selectAll("ul.legend li.legend-btn").data(n.getLegendItemArray(),function(t){return t.key}).classed("active",function(t){return t.value===ua.items.status.ACTIVE}).select("div.legend-circle").style("background-color",function(t,e){return n.getLegendType()===ua.basedOn.LABELS&&t.value===ua.items.status.ACTIVE?n.getStrokeColor(n.displayData.datasets[0].label,t.key,t.value):t.value===ua.items.status.ACTIVE?n.getStrokeColor(t.key):"white"}).style("border-color",function(t){return n.getLegendType()===ua.basedOn.LABELS?n.getStrokeColor(n.displayData.datasets[0].label,t.key,t.value):n.getStrokeColor(t.key)}).style("border-style",ua.inactive.borderStyle).style("border-width",ua.inactive.borderWidth)),2!==i.length||r||n.container.selectAll(".legend-btn.active").classed("not-allowed",!0),1===i.length&&r&&n.container.selectAll(".legend-btn.not-allowed").classed("not-allowed",!1)}});o.append("div").attr("class","legend-circle").style("background-color",function(t,e){return n.getLegendType()===ua.basedOn.LABELS&&t.value===ua.items.status.ACTIVE?n.getStrokeColor(n.displayData.datasets[0].label,t.key,t.value):t.value===ua.items.status.ACTIVE?n.getStrokeColor(t.key):"white"}).style("border-color",function(t){return n.getLegendType()===ua.basedOn.LABELS?n.getStrokeColor(n.displayData.datasets[0].label,t.key,t.value):n.getStrokeColor(t.key)}).style("border-style",ua.inactive.borderStyle).style("border-width",ua.inactive.borderWidth),o.append("text").text(function(t){return t.key})}e.classed("arrow-right",!0),e.append("div").attr("class","arrow"),e.style("left",r-ca-la+"px"),this.options.legendClickable&&this.addLegendCircleHoverEffect()},t.prototype.showLabelTooltip=function(t,n){var e=this;K(".label-tooltip").remove();var r=Z(this.holder)[0]+la,i=this.container.append("div").attr("class","tooltip label-tooltip").style("top",Z(this.holder)[1]-fa+"px");if(To.addCloseBtn(i,"xs").on("click",function(){e.resetOpacity(),K(".tooltip").remove()}),i.append("p").text(t),n)i.classed("arrow-left",!0).style("left",r+"px").append("div").attr("class","arrow");else{i.classed("arrow-right",!0);var o=r-i.node().clientWidth-ha;i.style("left",o+"px").append("div").attr("class","arrow")}},t.prototype.hideTooltip=function(){this.resetOpacity(),this.tooltip.hide()},t.prototype.generateTooltipHTML=function(t,n){return this.options.tooltip.size===ya.COMPACT?"<b>"+t+":</b> "+n+"<br/>":"\n\t\t\t\t<p class='bignum'>"+t+"</p>\n\t\t\t\t<p>"+n+"</p>\n\t\t\t"},t.prototype.showTooltip=function(t,n){this.resetOpacity();var e,r=this.options.tooltip.customHTML;e=r||this.getTooltipHTML(t),this.tooltip.show(e)},t.prototype.getFillScale=function(){return this.options.accessibility?this.patternScale:this.colorScale},t.prototype.getDefaultTransition=function(){return!1===this.options.animations?this.getInstantTransition():xo().duration(ga.duration)},t.prototype.getInstantTransition=function(){return xo().duration(0)},t.prototype.getFillTransition=function(t){return!1===this.options.animations?this.getInstantTransition():xo().duration(!1===t?0:ga.duration)},t.prototype.getBBox=function(t){return this.innerWrap.select(t).node().getBBox()},t.chartCount=1,t}(),Ea=Array.prototype.slice,La=function(t){return t},Ca=1,Oa=2,Da=3,Ia=4,Pa=1e-6;function Fa(t){return"translate("+(t+.5)+",0)"}function Na(t){return"translate(0,"+(t+.5)+")"}function Wa(){return!this.__axis}function Ra(t,n){var e=[],r=null,i=null,o=6,a=6,s=3,u=t===Ca||t===Ia?-1:1,c=t===Ia||t===Oa?"x":"y",l=t===Ca||t===Da?Fa:Na;function h(h){var f=null==r?n.ticks?n.ticks.apply(n,e):n.domain():r,p=null==i?n.tickFormat?n.tickFormat.apply(n,e):La:i,d=Math.max(o,0)+s,v=n.range(),y=+v[0]+.5,g=+v[v.length-1]+.5,_=(n.bandwidth?function(t){var n=Math.max(0,t.bandwidth()-1)/2;return t.round()&&(n=Math.round(n)),function(e){return+t(e)+n}}:function(t){return function(n){return+t(n)}})(n.copy()),m=h.selection?h.selection():h,x=m.selectAll(".domain").data([null]),b=m.selectAll(".tick").data(f,n).order(),w=b.exit(),S=b.enter().append("g").attr("class","tick"),M=b.select("line"),k=b.select("text");x=x.merge(x.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),b=b.merge(S),M=M.merge(S.append("line").attr("stroke","currentColor").attr(c+"2",u*o)),k=k.merge(S.append("text").attr("fill","currentColor").attr(c,u*d).attr("dy",t===Ca?"0em":t===Da?"0.71em":"0.32em")),h!==m&&(x=x.transition(h),b=b.transition(h),M=M.transition(h),k=k.transition(h),w=w.transition(h).attr("opacity",Pa).attr("transform",function(t){return isFinite(t=_(t))?l(t):this.getAttribute("transform")}),S.attr("opacity",Pa).attr("transform",function(t){var n=this.parentNode.__axis;return l(n&&isFinite(n=n(t))?n:_(t))})),w.remove(),x.attr("d",t===Ia||t==Oa?a?"M"+u*a+","+y+"H0.5V"+g+"H"+u*a:"M0.5,"+y+"V"+g:a?"M"+y+","+u*a+"V0.5H"+g+"V"+u*a:"M"+y+",0.5H"+g),b.attr("opacity",1).attr("transform",function(t){return l(_(t))}),M.attr(c+"2",u*o),k.attr(c,u*d).text(p),m.filter(Wa).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===Oa?"start":t===Ia?"end":"middle"),m.each(function(){this.__axis=_})}return h.scale=function(t){return arguments.length?(n=t,h):n},h.ticks=function(){return e=Ea.call(arguments),h},h.tickArguments=function(t){return arguments.length?(e=null==t?[]:Ea.call(t),h):e.slice()},h.tickValues=function(t){return arguments.length?(r=null==t?null:Ea.call(t),h):r&&r.slice()},h.tickFormat=function(t){return arguments.length?(i=t,h):i},h.tickSize=function(t){return arguments.length?(o=a=+t,h):o},h.tickSizeInner=function(t){return arguments.length?(o=+t,h):o},h.tickSizeOuter=function(t){return arguments.length?(a=+t,h):a},h.tickPadding=function(t){return arguments.length?(s=+t,h):s},h}function ja(t){return Ra(Da,t)}function Ba(t){return Ra(Ia,t)}var za,Xa=(za=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])},function(t,n){function e(){this.constructor=t}za(t,n),t.prototype=null===n?Object.create(n):(e.prototype=n.prototype,new e)}),Ua=function(t){function n(n,e){var r=t.call(this,n,e)||this;if(r.options=To.merge({},ta.AXIS),e.options){r.options=To.merge({},r.options,e.options);var i=e.options.axis;i&&(r.x=i.x,r.y=i.y,r.y2=i.y2)}return r}return Xa(n,t),n.prototype.setSVG=function(){return t.prototype.setSVG.call(this),this.container.classed("chart-axis",!0),this.innerWrap.append("g").attr("class","x grid"),this.innerWrap.append("g").attr("class","y grid"),this.svg},n.prototype.initialDraw=function(t){if(t&&(this.displayData=t),G(this.holder).select(".axis.x").node()){var n=G(this.holder);this.innerWrap=n.select("g.inner-wrap"),this.svg=n.select("svg.chart-svg")}else this.setSVG(),this.setXScale(),this.setXAxis(),this.setYScale(),this.setYAxis(),this.drawXGrid(),this.drawYGrid(),this.addOrUpdateLegend();this.draw(),this.addDataPointEventListener()},n.prototype.update=function(){this.displayData=this.updateDisplayData(),this.updateXandYGrid(),this.setXScale(),this.setXAxis(),this.setYScale(),this.setYAxis(),this.interpolateValues(this.displayData)},n.prototype.updateDisplayData=function(){var t=To.clone(this.data),n=this.getActiveLegendItems(),e=Object.assign({},t);if(this.getLegendType()===ua.basedOn.SERIES)e.datasets=t.datasets.filter(function(t){return-1!==n.indexOf(t.label)});else{var r=[];e.labels=t.labels.filter(function(t,e){var i=n.indexOf(t);return-1===i&&r.push(e),-1!==i}),r.length>0&&(e.datasets=t.datasets.map(function(t){return t.data=t.data.filter(function(t,n){return-1===r.indexOf(n)}),t}))}return e},n.prototype.addLabelsToDataPoints=function(t,n){return this.displayData.datasets.map(function(e){return{label:t,datasetLabel:e.label,value:e.data[n]}})},n.prototype.draw=function(){console.warn("You should implement your own `draw()` function.")},n.prototype.interpolateValues=function(t){console.warn("You should implement your own `interpolateValues()` function.")},n.prototype.getChartSize=function(t){var n,e;void 0===t&&(t=this.container),t.node().clientWidth>na.widthBreak?(n=na.magicRatio,e=0):(e=na.marginForLegendTop,n=1);var r=na.margin.left+na.margin.right,i={height:t.node().clientHeight-e,width:(t.node().clientWidth-r)*n};return{height:Math.max(i.height,na.axisCharts.minHeight),width:Math.max(i.width,na.axisCharts.minWidth)}},n.prototype.resizeChart=function(){this.positionLegend(),(this.innerWrap.select(".axis-label.x").nodes().length>0||this.options.scales.x.title)&&this.repositionXAxisTitle(),(this.innerWrap.select(".axis-label.y").nodes().length>0||this.options.scales.y.title)&&this.repositionYAxisTitle(),this.dispatchEvent("resize")},n.prototype.setXScale=function(t){if(t)this.x=t;else{var n=na.margin.bar,e=(this.options.scales,this.getChartSize().width-n.left-n.right);this.x=Tt().rangeRound([0,e]).padding(ea.x.padding),this.x.domain(this.displayData.labels)}},n.prototype.setXAxis=function(t){var n=this,e=na.margin.bar,r=this.getChartSize().height-e.top-e.bottom,i=t?this.getInstantTransition():this.getDefaultTransition(),o=ja(this.x).tickSize(0).tickSizeOuter(0),a=this.svg.select("g.x.axis");a.nodes().length>0?a=this.svg.select("g.x.axis").transition(i).attr("transform","translate(0, "+r+")").call(o):(a=this.innerWrap.append("g").attr("class","x axis")).call(o),a.selectAll("g.tick text").attr("y",ea.magicY1).attr("x",ea.magicX1).attr("dy",".35em").attr("transform","rotate("+ea.xAxisAngle+")").style("text-anchor","end").call(function(t){return n.wrapTick(t)});var s=this.getLargestTickHeight(a.selectAll(".tick"))+ea.tick.heightAddition;0===this.innerWrap.select(".axis-label.x").nodes().length&&this.options.scales.x.title&&a.append("text").attr("class","x axis-label").attr("text-anchor","middle").attr("transform","translate("+a.node().getBBox().width/2+", "+s+")").text(this.options.scales.x.title);var u=this.getChartSize().height-this.svg.select(".x.axis").node().getBBox().height;a.attr("transform","translate(0, "+u+")")},n.prototype.repositionXAxisTitle=function(){var t=this.svg.select("g.x.axis"),n=this.getLargestTickHeight(t.selectAll(".tick"))+ea.tick.heightAddition;this.svg.select("g.x.axis text.x.axis-label").attr("class","x axis-label").attr("text-anchor","middle").attr("transform","translate("+t.node().getBBox().width/2+", "+n+")").text(this.options.scales.x.title)},n.prototype.repositionYAxisTitle=function(){var t=this.svg.select("g.y.axis"),n=this.getLargestTickHeight(t.selectAll(".tick")),e=this.svg.select("g.y.axis text.y.axis-label"),r=t.node().getBBox().height/2,i=this.innerWrap.select(".axis-label.y").node().getBBox().width/2-r,o=-(n+ea.tick.heightAddition);e.attr("class","y axis-label").attr("text-align","center").attr("transform","rotate(-90) translate("+i+", "+o+")").text(this.options.scales.y.title)},n.prototype.getYMax=function(){var t,n=this.displayData.datasets,e=this.options.scales;return t=1===n.length?ft(n[0].data):ft(n,function(t){return ft(t.data)}),e.y.yMaxAdjuster&&(t=e.y.yMaxAdjuster(t)),t},n.prototype.getYMin=function(){var t,n=this.displayData.datasets,e=this.options.scales;return t=1===n.length?pt(n[0].data):pt(n,function(t){return pt(t.data)}),e.y.yMinAdjuster&&(t=e.y.yMinAdjuster(t)),t},n.prototype.setYScale=function(t){var n=this.getChartSize().height-this.innerWrap.select(".x.axis").node().getBBox().height,e=this.options.scales,r=this.getYMin(),i=this.getYMax();t?this.y=t:(this.y=Le().range([n,0]),this.y.domain([Math.min(r,0),i])),e.y2&&e.y2.ticks.max&&(this.y2=Le().rangeRound([n,0]),this.y2.domain([e.y2.ticks.min,e.y2.ticks.max]))},n.prototype.setYAxis=function(t){var n=this.getChartSize(),e=this.options.scales,r=t?this.getInstantTransition():this.getDefaultTransition(),i=Ba(this.y).ticks(e.y.numberOfTicks||ea.y.numberOfTicks).tickSize(0).tickFormat(e.y.formatter),o=this.svg.select("g.y.axis"),a=this.svg.select("line.domain");this.svg.select("g.x.axis path.domain").remove(),o.nodes().length>0?(o.transition(r).call(i),a.transition(r).attr("y1",this.y(0)).attr("y2",this.y(0)).attr("x1",0).attr("x2",n.width)):((o=this.innerWrap.append("g").attr("class","y axis yAxes")).call(i),o.append("line").classed("domain",!0).attr("y1",this.y(0)).attr("y2",this.y(0)).attr("x1",0).attr("x2",n.width).attr("stroke",ea.domain.color).attr("fill",ea.domain.color).attr("stroke-width",ea.domain.strokeWidth));var s,u=this.getLargestTickHeight(o.selectAll(".tick"));if(0===this.innerWrap.select(".axis-label.y").nodes().length&&this.options.scales.y.title){o.append("text").attr("class","y axis-label").text(this.options.scales.y.title);var c=o.node().getBBox().height/2,l={x:this.innerWrap.select(".axis-label.y").node().getBBox().width/2-c,y:-(u+ea.tick.heightAddition)};this.innerWrap.select(".axis-label.y").attr("transform","rotate(-90) translate("+l.x+", "+l.y+")")}if(To.moveToFront(a),e.y2&&e.y2.ticks.max){var h=(s=this.y2,Ra(Oa,s)).ticks(e.y2.numberOfTicks||ea.y2.numberOfTicks).tickSize(0).tickFormat(e.y2.formatter),f=this.svg.select("g.y2.axis");f.nodes().length>0?f.transition(r).attr("transform","translate("+this.getChartSize().width+", 0)").call(h):this.innerWrap.append("g").attr("class","y2 axis yAxes").attr("transform","translate("+this.getChartSize().width+", 0)").call(h)}},n.prototype.drawXGrid=function(){var t=this.getChartSize().height-this.getBBox(".x.axis").height,n=ja(this.x).tickSizeInner(-t).tickSizeOuter(0),e=this.innerWrap.select(".x.grid").attr("transform","translate(0, "+t+")").call(n);this.cleanGrid(e)},n.prototype.drawYGrid=function(){var t=this.options.scales,n=this.options.scales.y.thresholds,e=(this.getChartSize().height,this.getBBox(".x.axis").height,Ba(this.y).tickSizeInner(-this.getChartSize().width).tickSizeOuter(0));e.ticks(t.y.numberOfTicks||ea.y.numberOfTicks);var r=this.innerWrap.select(".y.grid").attr("transform","translate(0, 0)").call(e);this.cleanGrid(r),n&&n.length>0&&this.addOrUpdateThresholds(r,!1)},n.prototype.addOrUpdateThresholds=function(t,n){var e=this,r=!1===n?this.getInstantTransition():this.getDefaultTransition(),i=this.getChartSize().width,o=this.options.scales.y.thresholds,a=this.innerWrap.select("g.thresholds").nodes().length>0?this.innerWrap.selectAll("g.thresholds rect"):this.innerWrap.append("g").classed("thresholds",!0).selectAll("rect").data(o),s=function(t){return Math.max(0,e.y(t.range[1]))},u=function(t){var n=Math.abs(e.y(t.range[1])-e.y(t.range[0])),r=e.y(e.y.domain()[0]);return e.y(t.range[1])<0?Math.max(0,n+e.y(t.range[1])):e.y(t.range[1])+n>r?Math.max(0,r-s(t)):Math.max(0,n)},c=function(t){var n=Math.abs(e.y(t.range[1])-e.y(t.range[0]));return e.y(t.range[1])+n<=0?0:1};a.enter().append("rect").classed("threshold-bar",!0).attr("x",0).attr("y",function(t){return s(t)}).attr("width",i).attr("height",function(t){return u(t)}).attr("fill",function(t){return ea.y.thresholds.colors[t.theme]}).style("opacity",0).transition(r).style("opacity",function(t){return c(t)}),a.transition(r).attr("x",0).attr("y",function(t){return s(t)}).attr("width",i).attr("height",function(t){return u(t)}).style("opacity",function(t){return c(t)}).attr("fill",function(t){return ea.y.thresholds.colors[t.theme]}),a.exit().transition(r).style("opacity",0).remove()},n.prototype.updateXandYGrid=function(t){var n=this,e=this.options.scales.y.thresholds;setTimeout(function(){var r=t?n.getInstantTransition():n.getDefaultTransition(),i=n.getChartSize(),o=i.height-n.getBBox(".x.axis").height,a=ja(n.x).tickSizeInner(-o).tickSizeOuter(0),s=n.innerWrap.select(".x.grid").transition(r).attr("transform","translate(0, "+o+")").call(a);n.cleanGrid(s);var u=Ba(n.y).tickSizeInner(-i.width).tickSizeOuter(0).tickFormat(""),c=n.innerWrap.select(".y.grid").transition(r).attr("transform","translate(0, 0)").call(u);c.transition(r),n.cleanGrid(c),e&&e.length>0&&n.addOrUpdateThresholds(c,!t)},0)},n.prototype.cleanGrid=function(t){t.selectAll("line").attr("stroke",ra),t.selectAll("text").style("display","none").remove(),t.select(".domain").style("stroke","none")},n.prototype.wrapTick=function(t){var n=this,e=ea.tick.lineHeight;t.each(function(t){var r=G(this),i=r.text();r.selectAll("tspan").nodes().length>1&&(i=r.selectAll("tspan").nodes().map(function(t){return G(t).text()}).join(" "));for(var o,a=i.split(/\s+/).reverse(),s=r.attr("y"),u=parseFloat(r.attr("dy")),c=[],l=0,h=r.text(null).append("tspan").attr("x",0),f=n.x.bandwidth();o=a.pop();){c.push(o),h.text(c.join(" ")),h.node().getComputedTextLength()>f&&(c.pop(),h.text(c.join(" ")),c=[o],h=r.append("tspan").attr("x",0).attr("y",s).attr("dy",++l*e+u+"em").text(o))}})},n.prototype.getLargestTickHeight=function(t){var n=0;return t.each(function(){var t=0;try{t=this.getBBox().height}catch(t){console.log(t)}t>n&&(n=t)}),n},n.prototype.addDataPointEventListener=function(){console.warn("You should implement your own `addDataPointEventListener()` function.")},n}(Aa),Va=Math.PI,Ha=2*Va,Ga=Ha-1e-6;function Ya(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function qa(){return new Ya}Ya.prototype=qa.prototype={constructor:Ya,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,r){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+r)},bezierCurveTo:function(t,n,e,r,i,o){this._+="C"+ +t+","+ +n+","+ +e+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,n,e,r,i){t=+t,n=+n,e=+e,r=+r,i=+i;var o=this._x1,a=this._y1,s=e-t,u=r-n,c=o-t,l=a-n,h=c*c+l*l;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(h>1e-6)if(Math.abs(l*s-u*c)>1e-6&&i){var f=e-o,p=r-a,d=s*s+u*u,v=f*f+p*p,y=Math.sqrt(d),g=Math.sqrt(h),_=i*Math.tan((Va-Math.acos((d+h-v)/(2*y*g)))/2),m=_/g,x=_/y;Math.abs(m-1)>1e-6&&(this._+="L"+(t+m*c)+","+(n+m*l)),this._+="A"+i+","+i+",0,0,"+ +(l*f>c*p)+","+(this._x1=t+x*s)+","+(this._y1=n+x*u)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,r,i,o){t=+t,n=+n;var a=(e=+e)*Math.cos(r),s=e*Math.sin(r),u=t+a,c=n+s,l=1^o,h=o?r-i:i-r;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+u+","+c:(Math.abs(this._x1-u)>1e-6||Math.abs(this._y1-c)>1e-6)&&(this._+="L"+u+","+c),e&&(h<0&&(h=h%Ha+Ha),h>Ga?this._+="A"+e+","+e+",0,1,"+l+","+(t-a)+","+(n-s)+"A"+e+","+e+",0,1,"+l+","+(this._x1=u)+","+(this._y1=c):h>1e-6&&(this._+="A"+e+","+e+",0,"+ +(h>=Va)+","+l+","+(this._x1=t+e*Math.cos(i))+","+(this._y1=n+e*Math.sin(i))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}};var $a=qa,Ja=function(t){return function(){return t}},Za=Math.abs,Ka=Math.atan2,Qa=Math.cos,ts=Math.max,ns=Math.min,es=Math.sin,rs=Math.sqrt,is=1e-12,os=Math.PI,as=os/2,ss=2*os;function us(t){return t>=1?as:t<=-1?-as:Math.asin(t)}function cs(t){return t.innerRadius}function ls(t){return t.outerRadius}function hs(t){return t.startAngle}function fs(t){return t.endAngle}function ps(t){return t&&t.padAngle}function ds(t,n,e,r,i,o,a){var s=t-e,u=n-r,c=(a?o:-o)/rs(s*s+u*u),l=c*u,h=-c*s,f=t+l,p=n+h,d=e+l,v=r+h,y=(f+d)/2,g=(p+v)/2,_=d-f,m=v-p,x=_*_+m*m,b=i-o,w=f*v-d*p,S=(m<0?-1:1)*rs(ts(0,b*b*x-w*w)),M=(w*m-_*S)/x,k=(-w*_-m*S)/x,T=(w*m+_*S)/x,A=(-w*_+m*S)/x,E=M-y,L=k-g,C=T-y,O=A-g;return E*E+L*L>C*C+O*O&&(M=T,k=A),{cx:M,cy:k,x01:-l,y01:-h,x11:M*(i/b-1),y11:k*(i/b-1)}}var vs=function(){var t=cs,n=ls,e=Ja(0),r=null,i=hs,o=fs,a=ps,s=null;function u(){var u,c,l,h=+t.apply(this,arguments),f=+n.apply(this,arguments),p=i.apply(this,arguments)-as,d=o.apply(this,arguments)-as,v=Za(d-p),y=d>p;if(s||(s=u=$a()),f<h&&(c=f,f=h,h=c),f>is)if(v>ss-is)s.moveTo(f*Qa(p),f*es(p)),s.arc(0,0,f,p,d,!y),h>is&&(s.moveTo(h*Qa(d),h*es(d)),s.arc(0,0,h,d,p,y));else{var g,_,m=p,x=d,b=p,w=d,S=v,M=v,k=a.apply(this,arguments)/2,T=k>is&&(r?+r.apply(this,arguments):rs(h*h+f*f)),A=ns(Za(f-h)/2,+e.apply(this,arguments)),E=A,L=A;if(T>is){var C=us(T/h*es(k)),O=us(T/f*es(k));(S-=2*C)>is?(b+=C*=y?1:-1,w-=C):(S=0,b=w=(p+d)/2),(M-=2*O)>is?(m+=O*=y?1:-1,x-=O):(M=0,m=x=(p+d)/2)}var D=f*Qa(m),I=f*es(m),P=h*Qa(w),F=h*es(w);if(A>is){var N,W=f*Qa(x),R=f*es(x),j=h*Qa(b),B=h*es(b);if(v<os&&(N=function(t,n,e,r,i,o,a,s){var u=e-t,c=r-n,l=a-i,h=s-o,f=h*u-l*c;if(!(f*f<is))return[t+(f=(l*(n-o)-h*(t-i))/f)*u,n+f*c]}(D,I,j,B,W,R,P,F))){var z=D-N[0],X=I-N[1],U=W-N[0],V=R-N[1],H=1/es(((l=(z*U+X*V)/(rs(z*z+X*X)*rs(U*U+V*V)))>1?0:l<-1?os:Math.acos(l))/2),G=rs(N[0]*N[0]+N[1]*N[1]);E=ns(A,(h-G)/(H-1)),L=ns(A,(f-G)/(H+1))}}M>is?L>is?(g=ds(j,B,D,I,f,L,y),_=ds(W,R,P,F,f,L,y),s.moveTo(g.cx+g.x01,g.cy+g.y01),L<A?s.arc(g.cx,g.cy,L,Ka(g.y01,g.x01),Ka(_.y01,_.x01),!y):(s.arc(g.cx,g.cy,L,Ka(g.y01,g.x01),Ka(g.y11,g.x11),!y),s.arc(0,0,f,Ka(g.cy+g.y11,g.cx+g.x11),Ka(_.cy+_.y11,_.cx+_.x11),!y),s.arc(_.cx,_.cy,L,Ka(_.y11,_.x11),Ka(_.y01,_.x01),!y))):(s.moveTo(D,I),s.arc(0,0,f,m,x,!y)):s.moveTo(D,I),h>is&&S>is?E>is?(g=ds(P,F,W,R,h,-E,y),_=ds(D,I,j,B,h,-E,y),s.lineTo(g.cx+g.x01,g.cy+g.y01),E<A?s.arc(g.cx,g.cy,E,Ka(g.y01,g.x01),Ka(_.y01,_.x01),!y):(s.arc(g.cx,g.cy,E,Ka(g.y01,g.x01),Ka(g.y11,g.x11),!y),s.arc(0,0,h,Ka(g.cy+g.y11,g.cx+g.x11),Ka(_.cy+_.y11,_.cx+_.x11),y),s.arc(_.cx,_.cy,E,Ka(_.y11,_.x11),Ka(_.y01,_.x01),!y))):s.arc(0,0,h,w,b,y):s.lineTo(P,F)}else s.moveTo(0,0);if(s.closePath(),u)return s=null,u+""||null}return u.centroid=function(){var e=(+t.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +o.apply(this,arguments))/2-os/2;return[Qa(r)*e,es(r)*e]},u.innerRadius=function(n){return arguments.length?(t="function"==typeof n?n:Ja(+n),u):t},u.outerRadius=function(t){return arguments.length?(n="function"==typeof t?t:Ja(+t),u):n},u.cornerRadius=function(t){return arguments.length?(e="function"==typeof t?t:Ja(+t),u):e},u.padRadius=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:Ja(+t),u):r},u.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:Ja(+t),u):i},u.endAngle=function(t){return arguments.length?(o="function"==typeof t?t:Ja(+t),u):o},u.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:Ja(+t),u):a},u.context=function(t){return arguments.length?(s=null==t?null:t,u):s},u};function ys(t){this._context=t}ys.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:this._context.lineTo(t,n)}}};var gs=function(t){return new ys(t)};function _s(t){return t[0]}function ms(t){return t[1]}var xs=function(){var t=_s,n=ms,e=Ja(!0),r=null,i=gs,o=null;function a(a){var s,u,c,l=a.length,h=!1;for(null==r&&(o=i(c=$a())),s=0;s<=l;++s)!(s<l&&e(u=a[s],s,a))===h&&((h=!h)?o.lineStart():o.lineEnd()),h&&o.point(+t(u,s,a),+n(u,s,a));if(c)return o=null,c+""||null}return a.x=function(n){return arguments.length?(t="function"==typeof n?n:Ja(+n),a):t},a.y=function(t){return arguments.length?(n="function"==typeof t?t:Ja(+t),a):n},a.defined=function(t){return arguments.length?(e="function"==typeof t?t:Ja(!!t),a):e},a.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),a):i},a.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),a):r},a},bs=function(t,n){return n<t?-1:n>t?1:n>=t?0:NaN},ws=function(t){return t};Ms(gs);function Ss(t){this._curve=t}function Ms(t){function n(n){return new Ss(t(n))}return n._curve=t,n}Ss.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}};var ks=Array.prototype.slice;Math.sqrt(1/3);var Ts=Math.sin(os/10)/Math.sin(7*os/10),As=(Math.sin(ss/10),Math.cos(ss/10),Math.sqrt(3),Math.sqrt(3),Math.sqrt(12),function(){});function Es(t,n,e){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+n)/6,(t._y0+4*t._y1+e)/6)}function Ls(t){this._context=t}Ls.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Es(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Es(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};function Cs(t){this._context=t}Cs.prototype={areaStart:As,areaEnd:As,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:Es(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};function Os(t){this._context=t}Os.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:Es(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}};function Ds(t,n){this._basis=new Ls(t),this._beta=n}Ds.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,i=t[0],o=n[0],a=t[e]-i,s=n[e]-o,u=-1;++u<=e;)r=u/e,this._basis.point(this._beta*t[u]+(1-this._beta)*(i+r*a),this._beta*n[u]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};var Is=function t(n){function e(t){return 1===n?new Ls(t):new Ds(t,n)}return e.beta=function(n){return t(+n)},e}(.85);function Ps(t,n,e){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-n),t._y2+t._k*(t._y1-e),t._x2,t._y2)}function Fs(t,n){this._context=t,this._k=(1-n)/6}Fs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Ps(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2,this._x1=t,this._y1=n;break;case 2:this._point=3;default:Ps(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Ns=function t(n){function e(t){return new Fs(t,n)}return e.tension=function(n){return t(+n)},e}(0);function Ws(t,n){this._context=t,this._k=(1-n)/6}Ws.prototype={areaStart:As,areaEnd:As,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Ps(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Rs=function t(n){function e(t){return new Ws(t,n)}return e.tension=function(n){return t(+n)},e}(0);function js(t,n){this._context=t,this._k=(1-n)/6}js.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Ps(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Bs=function t(n){function e(t){return new js(t,n)}return e.tension=function(n){return t(+n)},e}(0);function zs(t,n,e){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>is){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,u=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/u,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/u}if(t._l23_a>is){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*c+t._x1*t._l23_2a-n*t._l12_2a)/l,a=(a*c+t._y1*t._l23_2a-e*t._l12_2a)/l}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function Xs(t,n){this._context=t,this._alpha=n}Xs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:zs(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Us=function t(n){function e(t){return n?new Xs(t,n):new Fs(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Vs(t,n){this._context=t,this._alpha=n}Vs.prototype={areaStart:As,areaEnd:As,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:zs(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Hs=function t(n){function e(t){return n?new Vs(t,n):new Ws(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function Gs(t,n){this._context=t,this._alpha=n}Gs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:zs(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};var Ys=function t(n){function e(t){return n?new Gs(t,n):new js(t,0)}return e.alpha=function(n){return t(+n)},e}(.5);function qs(t){this._context=t}qs.prototype={areaStart:As,areaEnd:As,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,n){t=+t,n=+n,this._point?this._context.lineTo(t,n):(this._point=1,this._context.moveTo(t,n))}};function $s(t){return t<0?-1:1}function Js(t,n,e){var r=t._x1-t._x0,i=n-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(e-t._y1)/(i||r<0&&-0),s=(o*i+a*r)/(r+i);return($s(o)+$s(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function Zs(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function Ks(t,n,e){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,s=(o-r)/3;t._context.bezierCurveTo(r+s,i+s*n,o-s,a-s*e,o,a)}function Qs(t){this._context=t}function tu(t){this._context=new nu(t)}function nu(t){this._context=t}function eu(t){this._context=t}function ru(t){var n,e,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],n=1;n<r-1;++n)i[n]=1,o[n]=4,a[n]=4*t[n]+2*t[n+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],n=1;n<r;++n)e=i[n]/o[n-1],o[n]-=e,a[n]-=e*a[n-1];for(i[r-1]=a[r-1]/o[r-1],n=r-2;n>=0;--n)i[n]=(a[n]-i[n+1])/o[n];for(o[r-1]=(t[r]+i[r-1])/2,n=0;n<r-1;++n)o[n]=2*t[n+1]-i[n+1];return[i,o]}Qs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Ks(this,this._t0,Zs(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){var e=NaN;if(n=+n,(t=+t)!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,Ks(this,Zs(this,e=Js(this,t,n)),e);break;default:Ks(this,this._t0,e=Js(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(tu.prototype=Object.create(Qs.prototype)).point=function(t,n){Qs.prototype.point.call(this,n,t)},nu.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,e,r,i,o){this._context.bezierCurveTo(n,t,r,e,o,i)}},eu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,n=this._y,e=t.length;if(e)if(this._line?this._context.lineTo(t[0],n[0]):this._context.moveTo(t[0],n[0]),2===e)this._context.lineTo(t[1],n[1]);else for(var r=ru(t),i=ru(n),o=0,a=1;a<e;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[a],n[a]);(this._line||0!==this._line&&1===e)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,n){this._x.push(+t),this._y.push(+n)}};function iu(t,n){this._context=t,this._t=n}iu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}};var ou=function(t,n){if((i=t.length)>1)for(var e,r,i,o=1,a=t[n[0]],s=a.length;o<i;++o)for(r=a,a=t[n[o]],e=0;e<s;++e)a[e][1]+=a[e][0]=isNaN(r[e][1])?r[e][0]:r[e][1]},au=function(t){for(var n=t.length,e=new Array(n);--n>=0;)e[n]=n;return e};function su(t,n){return t[n]}var uu=function(){var t=Ja([]),n=au,e=ou,r=su;function i(i){var o,a,s=t.apply(this,arguments),u=i.length,c=s.length,l=new Array(c);for(o=0;o<c;++o){for(var h,f=s[o],p=l[o]=new Array(u),d=0;d<u;++d)p[d]=h=[0,+r(i[d],f,d,i)],h.data=i[d];p.key=f}for(o=0,a=n(l);o<c;++o)l[a[o]].index=o;return e(l,a),l}return i.keys=function(n){return arguments.length?(t="function"==typeof n?n:Ja(ks.call(n)),i):t},i.value=function(t){return arguments.length?(r="function"==typeof t?t:Ja(+t),i):r},i.order=function(t){return arguments.length?(n=null==t?au:"function"==typeof t?t:Ja(ks.call(t)),i):n},i.offset=function(t){return arguments.length?(e=null==t?ou:t,i):e},i};var cu=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),lu=function(t){function n(n,e,r){void 0===r&&(r=Do.PIE);var i=t.call(this,n,e)||this;return i.getTooltipHTML=function(t){return i.generateTooltipHTML(t.data.label,t.value.toLocaleString())},i.options.type=r,i.colorScale=kt(i.options.colors),i}return cu(n,t),n.prototype.dataProcessor=function(t){t.datasets.length>1&&console.warn("Currently the Pie & Donut charts support a single dataset,\n\t\t\t\tyou appear to have more than that. Will only use your first provided dataset.");var n=To.getDuplicateValues(t.labels);n.length>0&&console.error(To.capitalizeFirstLetter(this.options.type)+" Chart - You have duplicate keys",n);var e=t.datasets[0].data.map(function(n,e){return{label:t.labels[e],value:n}}).sort(function(t,n){return n.value-t.value}),r=aa.sliceLimit,i=e.slice(r),o=i.reduce(function(t,n){return t+n.value},0),a=e.findIndex(function(t){return"Other"===t.label});return-1!==a?e.push(e.splice(a,1)[0]):i.length>0&&(e=e.slice(0,r).concat([{label:aa.label.other,value:o,items:i}])),{labels:e.map(function(t,n){return t.label}),datasets:[{backgroundColors:t.datasets[0].backgroundColors,chartType:t.datasets[0].chartType,label:t.datasets[0].label,data:e}]}},n.prototype.initialDraw=function(){this.setSVG(),this.addOrUpdateLegend(),this.draw(),this.addDataPointEventListener()},n.prototype.draw=function(){var t=this,n=this.displayData.datasets[0].data,e=this.getChartSize(this.container),r=Math.min(e.width,e.height),i=r/2;G(this.holder).select("svg").attr("width",r+"px").attr("height",r+"px"),this.innerWrap.style("transform","translate("+i+"px,"+i+"px)").attr("width",r+"px").attr("height",r+"px").attr("preserveAspectRatio","xMinYMin");var o=this.computeRadius();this.arc=vs().innerRadius("donut"===this.options.type?.75*o:2).outerRadius(o),this.pie=function(){var t=ws,n=bs,e=null,r=Ja(0),i=Ja(ss),o=Ja(0);function a(a){var s,u,c,l,h,f=a.length,p=0,d=new Array(f),v=new Array(f),y=+r.apply(this,arguments),g=Math.min(ss,Math.max(-ss,i.apply(this,arguments)-y)),_=Math.min(Math.abs(g)/f,o.apply(this,arguments)),m=_*(g<0?-1:1);for(s=0;s<f;++s)(h=v[d[s]=s]=+t(a[s],s,a))>0&&(p+=h);for(null!=n?d.sort(function(t,e){return n(v[t],v[e])}):null!=e&&d.sort(function(t,n){return e(a[t],a[n])}),s=0,c=p?(g-f*m)/p:0;s<f;++s,y=l)u=d[s],l=y+((h=v[u])>0?h*c:0)+m,v[u]={data:a[u],index:s,value:h,startAngle:y,endAngle:l,padAngle:_};return v}return a.value=function(n){return arguments.length?(t="function"==typeof n?n:Ja(+n),a):t},a.sortValues=function(t){return arguments.length?(n=t,e=null,a):n},a.sort=function(t){return arguments.length?(e=t,n=null,a):e},a.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:Ja(+t),a):r},a.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:Ja(+t),a):i},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:Ja(+t),a):o},a}().value(function(t){return t.value}).sort(null).padAngle(.007),this.path=this.innerWrap.selectAll("path").data(this.pie(n)).enter().append("path").attr("d",this.arc).attr("fill",function(n){return t.getFillColor(t.displayData.datasets[0].label,n.data.label,n.data.value)}).attr("stroke",function(n){return t.getStrokeColor(t.displayData.datasets[0].label,n.data.label,n.data.value)}).attr("stroke-width",aa.default.strokeWidth).attr("stroke-opacity",function(n){return t.options.accessibility?1:0}).each(function(t){this._current=t});var a=this;this.innerWrap.selectAll("text.chart-label").data(this.pie(n),function(t){return t.data.label}).enter().append("text").classed("chart-label",!0).attr("dy",aa.label.dy).style("text-anchor","middle").text(function(t){return To.convertValueToPercentage(t.data.value,n)}).attr("transform",function(t){return a.deriveTransformString(this,t,i)}),this.chartOverlay.hide()},n.prototype.interpolateValues=function(t){var n=this,e=t.datasets[0].data,r=this,i=this.innerWrap.selectAll("path").data(this.pie(e));i.transition().duration(0).attr("stroke",function(t){return n.getStrokeColor(n.displayData.datasets[0].label,t.data.label,t.data.value)}).attr("stroke-width",aa.default.strokeWidth).attr("stroke-opacity",function(t){return n.options.accessibility?1:0}).transition().style("opacity",1).duration(ga.duration).attr("fill",function(t){return n.getFillColor(n.displayData.datasets[0].label,t.data.label,t.data.value)}).attrTween("d",function(t){return hu.bind(this)(t,r.arc)}),i.enter().append("path").attr("d",this.arc).transition().duration(0).style("opacity",0).attr("stroke",function(t){return n.getStrokeColor(n.displayData.datasets[0].label,t.data.label,t.data.value)}).attr("stroke-width",aa.default.strokeWidth).attr("stroke-opacity",function(t){return n.options.accessibility?1:0}).transition().duration(ga.duration).attr("fill",function(t){return n.getFillColor(n.displayData.datasets[0].label,t.data.label,t.data.value)}).style("opacity",1).attrTween("d",function(t){return hu.bind(this)(t,r.arc)}),i.exit().attr("d",this.arc).transition().duration(ga.duration).style("opacity",0).remove(),this.innerWrap.selectAll("text.chart-label").transition().duration(ga.duration/2).style("opacity",0).on("end",function(t){G(this).transition().duration(ga.duration/2).style("opacity",1)});var o=this.computeRadius();setTimeout(function(){var t=n.innerWrap.selectAll("text.chart-label").data(n.pie(e),function(t){return t.label});t.enter().append("text").classed("chart-label",!0).attr("dy",aa.label.dy).style("text-anchor","middle").text(function(t){return To.convertValueToPercentage(t.data.value,e)}).attr("transform",function(t){return r.deriveTransformString(this,t,o)}).style("opacity",0).transition().duration(ga.duration/2).style("opacity",1),t.style("text-anchor","middle").text(function(t){return To.convertValueToPercentage(t.data.value,e)}).attr("transform",function(t){return r.deriveTransformString(this,t,o)}).transition().duration(ga.duration/2).style("opacity",1),t.exit().remove()},ga.duration/2),this.addDataPointEventListener(),this.reduceOpacity(),this.chartOverlay.hide()},n.prototype.reduceOpacity=function(t){var n=this;t&&(G(t).attr("fill-opacity",!1),G(t).attr("stroke-opacity",na.reduceOpacity.opacity),G(t).attr("fill",function(t){return n.getFillColor(n.displayData.datasets[0].label,t.data.label,t.data.value)}))},n.prototype.addDataPointEventListener=function(){var t=this,n=this.options.accessibility;this.innerWrap.selectAll("path").on("click",function(n){return t.dispatchEvent("pie-slice-onClick",n)}).on("mouseover",function(n){var e=G(this);To.moveToFront(e),e.attr("stroke-width",aa.mouseover.strokeWidth).attr("stroke-opacity",aa.mouseover.strokeOpacity).attr("stroke",t.getStrokeColor(t.displayData.datasets[0].label,n.data.label,n.data.value)),t.showTooltip(n),t.reduceOpacity(this)}).on("mousemove",function(n){return t.tooltip.positionTooltip()}).on("mouseout",function(e){G(this).attr("stroke-width",n?aa.default.strokeWidth:aa.mouseout.strokeWidth).attr("stroke",n?t.getStrokeColor(t.displayData.datasets[0].label,e.data.label,e.data.value):"none").attr("stroke-opacity",aa.mouseout.strokeOpacity),t.hideTooltip()})},n.prototype.update=function(t){var n=To.clone(this.displayData),e=this.getActiveLegendItems(),r=Object.assign({},n);r.datasets[0].data=n.datasets[0].data.filter(function(t){return-1!==e.indexOf(t.label)}),r.labels=r.datasets[0].data.map(function(t){return t.label}),this.interpolateValues(r)},n.prototype.resizeChart=function(){var t=this.getChartSize(this.container),n=Math.min(t.width,t.height),e=this.computeRadius();G(this.holder).select("svg").attr("width",n+"px").attr("height",n+"px"),this.innerWrap.style("transform","translate("+e+"px,"+e+"px)"),this.arc=vs().innerRadius("donut"===this.options.type?.75*e:2).outerRadius(e),this.innerWrap.selectAll("path").attr("d",this.arc);var r=this;this.innerWrap.selectAll("text.chart-label").attr("transform",function(t){return r.deriveTransformString(this,t,e)}),this.positionLegend()},n.prototype.computeRadius=function(){var t=this.getChartSize(this.container);return Math.min(t.width,t.height)/2},n.prototype.deriveTransformString=function(t,n,e){var r=t.getComputedTextLength()/2,i=parseFloat(getComputedStyle(t).fontSize)/2,o=e+aa.label.margin,a=(n.endAngle-n.startAngle)/2+n.startAngle;return"translate("+(r+o)*Math.sin(a)+", "+(i+o)*-Math.cos(a)+")"},n}(Aa);function hu(t,n){var e=this,r=Hn(this._current,t);return function(t){return e._current=r(t),n(e._current)}}var fu=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),pu=function(){function t(t){t?(this.configs=t,this.oldConfigs=To.merge({},t)):console.error("Configuration object is missing for DonutCenter")}return t.prototype.draw=function(t){t.append("text").attr("class","donut-figure").attr("text-anchor","middle").text(this.configs.number.toLocaleString()),t.append("text").attr("class","donut-title").attr("text-anchor","middle").attr("y",sa.title.y).text(this.configs.label),this.donutSVG=t},t.prototype.update=function(){var t=this.configs;if(this.oldConfigs!==t){var n=this.configs.number;this.donutSVG.select("text.donut-figure").transition().duration(ga.duration).tween("text",function(){return t=G(this),e=n,r=parseInt(t.text().replace(/[, ]+/g,""),10),i=Wn(r,e),function(n){t.text(function(t){return Math.floor(t).toLocaleString()}(i(n)))};var t,e,r,i}),this.donutSVG.select("text.donut-title").text(this.configs.label),this.oldConfigs=To.merge({},this.configs)}},t.prototype.resize=function(t,n){var e=Math.min(n.width,n.height),r=e/aa.maxWidth;e<sa.breakpoint&&(t.select("text.donut-figure").style("font-size",sa.numberFontSize*r*sa.magicScaleRatio+"px"),t.select("text.donut-title").style("font-size",sa.titleFontSize*r*sa.magicScaleRatio+"px").attr("y",sa.title.y*r*sa.magicScaleRatio))},t}(),du=function(t){function n(n,e){var r=t.call(this,n,e,Do.DONUT)||this,i=e.options,o=i.center,a=i.centerLabel,s=i.centerNumber;if(o||a||s){var u=r.getSuppliedCenterConfigs();r.center=new pu(u)}return r}return fu(n,t),n.prototype.draw=function(){t.prototype.draw.call(this),this.center&&(this.setCenterConfigs(),this.center.draw(this.innerWrap))},n.prototype.resizeChart=function(){this.innerWrap&&(t.prototype.resizeChart.call(this),this.center&&this.center.resize(this.innerWrap,this.getChartSize(this.container)))},n.prototype.update=function(){t.prototype.update.call(this),this.center&&(this.setCenterConfigs(),this.center.update())},n.prototype.getSuppliedCenterConfigs=function(){var t=this.options,n=t.center,e=t.centerLabel,r=t.centerNumber,i=n?n.label:e,o=n?n.number:r;((e||r)&&console.warn("`centerLabel` & `centerNumber` are deprecated and will be removed in v1.0, you should switch to",{center:{label:"test",number:10}}),!o&&this.displayData)&&(o=this.displayData.datasets[0].data.reduce(function(t,n){return t+n.value},0));return{label:i,number:o}},n.prototype.setCenterConfigs=function(){this.center.configs=this.getSuppliedCenterConfigs()},n}(lu);var vu=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),yu=function(t){return Object.keys(t).map(function(n){"object"==typeof t[n]&&(t[n].datasetLabel=t.key,t[n].label=t[n].data.label,t[n].value=t[n].data[t.key])}),t},gu=function(t){function n(n,e){var r=t.call(this,n,e)||this;return r.options.type=Do.BAR,r}return vu(n,t),n.prototype.getYMax=function(){var t,n=this.displayData,e=n.datasets,r=n.labels,i=this.options.scales;return t=1===e.length?ft(e[0].data):ft(r.map(function(t,n){return e.map(function(t){return t.data[n]}).reduce(function(t,n){return t+n},0)})),i.y.yMaxAdjuster&&(t=i.y.yMaxAdjuster(t)),t},n.prototype.getStackData=function(){var t=this;return this.displayData.labels.map(function(n,e){var r={};return t.displayData.datasets.forEach(function(t){r[t.label]=t.data[e]}),r.label=n,r})},n.prototype.getBarX=function(t){return 0},n.prototype.draw=function(){var t=this;this.innerWrap.style("width","100%").style("height","100%");var n=na.margin.bar;this.innerWrap.attr("transform","translate("+n.left+", "+n.top+")");var e=this.getStackData(),r=this.displayData.datasets.map(function(t){return t.label});this.innerWrap.append("g").classed("bars-wrapper",!0).selectAll("g").data(uu().keys(r)(e)).enter().append("g").classed("bars",!0).selectAll("rect").data(function(t){return yu(t)}).enter().append("rect").classed("bar",!0).attr("x",function(n){return t.x(n.data.label)}).attr("y",function(n){return t.y(n[1])}).attr("height",function(n){return t.y(n[0])-t.y(n[1])}).attr("width",function(n){return t.x.bandwidth()}).attr("fill",function(n){return t.getFillColor(n.datasetLabel,n.data.label,n.data.value)}).attr("stroke",function(n){return t.options.accessibility?t.getStrokeColor(n.datasetLabel,n.label,n.value):null}).attr("stroke-width",ia.default.strokeWidth).attr("stroke-opacity",function(n){return t.options.accessibility?1:0}),this.chartOverlay.hide(),this.dispatchEvent("load")},n.prototype.interpolateValues=function(t){var n=this,e=this.getStackData(),r=this.displayData.datasets.map(function(t){return t.label});this.innerWrap.selectAll(".removed").remove();var i=this.innerWrap.selectAll("g.bars-wrapper").selectAll("g").data(uu().keys(r)(e)),o=i.selectAll("rect.bar").data(function(t){return yu(t)});this.updateElements(!0,i.selectAll("rect.bar"),i);var a=function(t){t.enter().append("rect").classed("bar",!0).attr("x",function(t){return n.x(t.data.label)}).attr("y",function(t){return n.y(t[1])}).attr("height",function(t){return n.y(t[0])-n.y(t[1])}).attr("width",function(t){return n.x.bandwidth()}).attr("fill",function(t){return n.getFillColor(t.datasetLabel,t.data.label,t.data.value)}).style("opacity",0).transition(n.getFillTransition()).style("opacity",1).attr("stroke",function(t){return n.options.accessibility?n.getStrokeColor(t.datasetLabel,t.label,t.value):null}).attr("stroke-width",ia.default.strokeWidth).attr("stroke-opacity",function(t){return n.options.accessibility?1:0})};a(i.enter().append("g").classed("bars",!0).selectAll("rect").data(function(t){return yu(t)})),a(o),i.exit().classed("removed",!0).transition(this.getDefaultTransition()).style("opacity",0).remove(),o.exit().classed("removed",!0).transition(this.getDefaultTransition()).style("opacity",0).remove(),this.addDataPointEventListener(),this.chartOverlay.hide(),this.dispatchEvent("update")},n.prototype.resizeChart=function(){var n=this.getChartSize(this.container),e=Math.min(n.width,n.height);G(this.holder).select("svg").attr("width",e+"px").attr("height",e+"px"),this.updateXandYGrid(!0),this.setXScale(),this.setYScale(),this.setXAxis(!0),this.setYAxis(!0);var r=this.innerWrap.selectAll("g.bars g");this.updateElements(!1,null,r),t.prototype.resizeChart.call(this)},n.prototype.updateElements=function(t,n,e){var r=this;n||(n=this.innerWrap.selectAll("rect.bar")),n.transition(t?this.getFillTransition():this.getInstantTransition()).style("opacity",1).attr("x",function(t){return r.x(t.data.label)}).attr("y",function(t){return r.y(t[1])}).attr("height",function(t){return r.y(t[0])-r.y(t[1])}).attr("width",function(t){return r.x.bandwidth()}).attr("fill",function(t){return r.getFillColor(t.datasetLabel,t.data.label,t.data.value)}).attr("stroke",function(t){return r.options.accessibility?r.getStrokeColor(t.datasetLabel,t.label,t.value):null}).attr("stroke-width",ia.default.strokeWidth).attr("stroke-opacity",function(t){return r.options.accessibility?1:0})},n.prototype.addDataPointEventListener=function(){var t=this,n=this.options.accessibility;this.svg.selectAll("rect").on("click",function(n){return t.dispatchEvent("bar-onClick",n)}).on("mouseover",function(n){G(this).attr("stroke-width",ia.mouseover.strokeWidth).attr("stroke",t.getStrokeColor(n.datasetLabel,n.label,n.value)).attr("stroke-opacity",ia.mouseover.strokeOpacity),t.showTooltip(n,this),t.reduceOpacity(this)}).on("mousemove",function(n){return t.tooltip.positionTooltip()}).on("mouseout",function(e){var r=ia.mouseout,i=r.strokeWidth,o=r.strokeWidthAccessible;G(this).attr("stroke-width",n?o:i).attr("stroke",n?t.getStrokeColor(e.datasetLabel,e.label,e.value):"none").attr("stroke-opacity",ia.mouseout.strokeOpacity),t.hideTooltip()})},n}(Ua),_u=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),mu=function(t){var n,e=t.data.datasets,r=t.options.scales;return n=1===e.length?pt(e[0].data):pt(e,function(t){return pt(t.data)}),r.y.yMinAdjuster&&(n=r.y.yMinAdjuster(n)),n},xu=function(t,n){return t?n<=t?n:t:n},bu=function(t){function n(n,e){var r=this;if(e.options.scales.y.stacked){if(mu(e)>=0)return new gu(n,e);console.error("Negative values are not supported in StackedBarChart, using GroupedBarChart instead to render!")}if(r=t.call(this,n,e)||this,e.options?r.options=To.merge({},ta.BAR,e.options):r.options=To.merge({},ta.BAR),e.options.axis){var i=na.margin.bar,o=r.getChartSize().width-i.left-i.right;r.x1=Tt().rangeRound([0,o]).padding(ia.spacing.bars),r.x1.domain(r.data.datasets.map(function(t){return t.label})).rangeRound([0,xu(To.getProperty(r.options,"bars","maxWidth"),r.x.bandwidth())])}return r.options.type=Do.BAR,r}return _u(n,t),n.prototype.setXScale=function(t){var n=na.margin.bar,e=this.getChartSize().width-n.left-n.right;t?this.x=t:(this.x=Tt().rangeRound([0,e]).padding(ia.spacing.datasets),this.x.domain(this.displayData.labels)),this.displayData.datasets.length>1?this.x1=Tt().rangeRound([0,e]).padding(ia.spacing.bars):this.x1=Tt().rangeRound([0,e]),this.x1.domain(this.displayData.datasets.map(function(t){return t.label})).rangeRound([0,xu(To.getProperty(this.options,"bars","maxWidth"),this.x.bandwidth())])},n.prototype.getBarX=function(t){return n=To.getProperty(this.options,"bars","maxWidth"),e=this.x.bandwidth(),!n||e<=n?this.x1(t.datasetLabel):this.x.bandwidth()/2-To.getProperty(this.options,"bars","maxWidth")/2;var n,e},n.prototype.draw=function(){var t=this;this.innerWrap.style("width","100%").style("height","100%");var n=na.margin.bar,e=this.getChartSize(),r=e.width-n.left-n.right;e.height,this.getBBox(".x.axis").height;this.innerWrap.attr("transform","translate("+n.left+", "+n.top+")").append("g").classed("bars",!0).attr("width",r).selectAll("g").data(this.displayData.labels).enter().append("g").attr("transform",function(n){return"translate("+t.x(n)+", 0)"}).selectAll("rect.bar").data(function(n,e){return t.addLabelsToDataPoints(n,e)}).enter().append("rect").classed("bar",!0).attr("x",this.getBarX.bind(this)).attr("y",function(n){return t.y(Math.max(0,n.value))}).attr("width",this.x1.bandwidth()).attr("height",function(n){return Math.abs(t.y(n.value)-t.y(0))}).attr("fill",function(n){return t.getFillColor(n.datasetLabel,n.label,n.value)}).attr("stroke",function(n){return t.options.accessibility?t.getStrokeColor(n.datasetLabel,n.label,n.value):null}).attr("stroke-width",ia.default.strokeWidth).attr("stroke-opacity",function(n){return t.options.accessibility?1:0}),this.chartOverlay.hide(),this.dispatchEvent("load")},n.prototype.interpolateValues=function(t){var n=this,e=na.margin.bar,r=this.getChartSize(),i=r.width-e.left-e.right,o=(r.height,this.getBBox(".x.axis").height,this.innerWrap.select("g.bars").attr("width",i).selectAll("g").data(this.displayData.labels)),a=o.selectAll("rect.bar").data(function(t,e){return n.addLabelsToDataPoints(t,e)});this.updateElements(!0,a,o);var s=o.enter().append("g").classed("bars",!0).attr("transform",function(t){return"translate("+n.x(t)+", 0)"});o.selectAll("rect.bar").data(function(t,e){return n.addLabelsToDataPoints(t,e)}).enter().append("rect").attr("class","bar").attr("x",this.getBarX.bind(this)).attr("y",function(t){return n.y(Math.max(0,t.value))}).attr("width",this.x1.bandwidth()).attr("height",function(t){return Math.abs(n.y(t.value)-n.y(0))}).style("opacity",0).transition(this.getFillTransition()).attr("fill",function(t){return n.getFillColor(t.datasetLabel,t.label,t.value)}).style("opacity",1).attr("stroke",function(t){return n.getStrokeColor(t.datasetLabel,t.label,t.value)}).attr("stroke-width",ia.default.strokeWidth),s.selectAll("rect.bar").data(function(t,e){return n.addLabelsToDataPoints(t,e)}).enter().append("rect").attr("class","bar").attr("x",this.getBarX.bind(this)).attr("y",function(t){return n.y(Math.max(0,t.value))}).attr("width",this.x1.bandwidth()).attr("height",function(t){return Math.abs(n.y(t.value)-n.y(0))}).style("opacity",0).transition(this.getFillTransition()).attr("fill",function(t){return n.getFillColor(t.datasetLabel,t.label,t.value)}).style("opacity",1).attr("stroke",function(t){return n.getStrokeColor(t.datasetLabel,t.label,t.value)}).attr("stroke-width",ia.default.strokeWidth),o.exit().transition(this.getDefaultTransition()).style("opacity",0).remove(),a.exit().transition(this.getDefaultTransition()).style("opacity",0).remove(),this.addDataPointEventListener(),this.chartOverlay.hide(),this.dispatchEvent("update")},n.prototype.updateElements=function(t,n,e){var r=this;n||(n=this.innerWrap.selectAll("rect.bar")),e&&e.transition(t?this.getDefaultTransition():this.getInstantTransition()).attr("transform",function(t){return"translate("+r.x(t)+", 0)"}).style("opacity",1),n.transition(t?this.getFillTransition():this.getInstantTransition()).style("opacity",1).attr("x",this.getBarX.bind(this)).attr("y",function(t){return r.y(Math.max(0,t.value))}).attr("width",this.x1.bandwidth()).attr("height",function(t){return Math.abs(r.y(t.value)-r.y(0))}).attr("fill",function(t){return r.getFillColor(t.datasetLabel,t.label,t.value)}).attr("stroke",function(t){return r.options.accessibility?r.getStrokeColor(t.datasetLabel,t.label,t.value):null})},n.prototype.resizeChart=function(){var n=this.getChartSize(this.container),e=Math.min(n.width,n.height);G(this.holder).select("svg").attr("width",e+"px").attr("height",e+"px"),this.updateXandYGrid(!0),this.setXScale(),this.setYScale(),this.setXAxis(!0),this.setYAxis(!0);var r=this.innerWrap.selectAll("g.bars g");this.updateElements(!1,null,r),t.prototype.resizeChart.call(this)},n.prototype.addDataPointEventListener=function(){var t=this,n=this,e=this.options.accessibility;this.svg.selectAll("rect.bar").on("click",function(t){return n.dispatchEvent("bar-onClick",t)}).on("mouseover",function(t){G(this).attr("stroke-width",ia.mouseover.strokeWidth).attr("stroke",n.getStrokeColor(t.datasetLabel,t.label,t.value)).attr("stroke-opacity",ia.mouseover.strokeOpacity),n.showTooltip(t,this),n.reduceOpacity(this)}).on("mousemove",function(n){return t.tooltip.positionTooltip()}).on("mouseout",function(t){var r=ia.mouseout,i=r.strokeWidth,o=r.strokeWidthAccessible;G(this).attr("stroke-width",e?o:i).attr("stroke",e?n.getStrokeColor(t.datasetLabel,t.label,t.value):"none").attr("stroke-opacity",ia.mouseout.strokeOpacity),n.hideTooltip()})},n}(Ua),wu=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),Su=function(t){function n(n,e){var r=t.call(this,n,e)||this;return r.options=To.merge({},ta.SCATTER),r.options.type=Do.SCATTER,r}return wu(n,t),n.prototype.draw=function(){var t=this;this.innerWrap.style("width","100%").style("height","100%");var n=na.margin.line;this.innerWrap.style("width","100%").style("height","100%"),this.innerWrap.attr("transform","translate("+n.left+", "+n.top+")");var e=this.innerWrap.selectAll("g.dots").data(this.displayData.datasets).enter().append("g").classed("dots",!0),r=this.getCircleRadius();e.selectAll("circle.dot").data(function(n,e){return t.addLabelsToDataPoints(n,e)}).enter().append("circle").attr("class","dot").attr("cx",function(n){return t.x(n.label)+t.x.step()/2}).attr("cy",function(n){return t.y(n.value)}).attr("r",r).attr("fill",function(n){return t.getCircleFill(r,n)}).attr("fill-opacity",function(n){return t.getCircleFillOpacity()}).attr("stroke",function(n){return t.getStrokeColor(n.datasetLabel,n.label,n.value)}),this.chartOverlay.hide(),this.dispatchEvent("load")},n.prototype.getLegendType=function(){return ua.basedOn.SERIES},n.prototype.addLabelsToDataPoints=function(t,n){var e=this.displayData.labels;return t.data.map(function(n,r){return{label:e[r],datasetLabel:t.label,value:n}})},n.prototype.getCircleRadius=function(){return this.options.points.radius||na.points.radius},n.prototype.getCircleFill=function(t,e){return t<oa.minNonFilledRadius||this.constructor===n?this.getStrokeColor(e.datasetLabel,e.label,e.value):"white"},n.prototype.getCircleFillOpacity=function(){return this.constructor===n?ta.SCATTER.points.fillOpacity:null},n.prototype.interpolateValues=function(t){var n=this,e=na.margin.line,r=this.getChartSize(),i=(r.width,e.left,e.right,r.height,this.getBBox(".x.axis").height,this.innerWrap.selectAll("g.dots").data(t.datasets));this.updateElements(!0,i);var o=i.enter().append("g").classed("dots",!0),a=this.getCircleRadius();o.selectAll("circle.dot").data(function(t,e){return n.addLabelsToDataPoints(t,e)}).enter().append("circle").attr("class","dot").attr("cx",function(t,e){return n.x(t.label)+n.x.step()/2}).attr("cy",function(t){return n.y(t.value)}).attr("r",a).style("opacity",0).transition(this.getDefaultTransition()).style("opacity",1).attr("fill",function(t){return n.getCircleFill(a,t)}).attr("fill-opacity",function(t){return n.getCircleFillOpacity()}).attr("stroke",function(t){return n.getStrokeColor(t.datasetLabel,t.label,t.value)}),i.exit().classed("removed",!0).transition(this.getDefaultTransition()).style("opacity",0).remove(),this.addDataPointEventListener(),this.chartOverlay.hide(),this.dispatchEvent("update")},n.prototype.updateElements=function(t,n){var e=this;n||(n=this.innerWrap.selectAll("g.dots"));var r=t?this.getFillTransition():this.getInstantTransition(),i=this,o=this.getCircleRadius();n.selectAll("circle.dot").data(function(t,n){var e=G(this).datum();return i.addLabelsToDataPoints(e,n)}).transition(r).attr("cx",function(t){return e.x(t.label)+e.x.step()/2}).attr("cy",function(t){return e.y(t.value)}).attr("r",o).attr("fill",function(t){return e.getCircleFill(o,t)}).attr("stroke",function(t){return e.getStrokeColor(t.datasetLabel,t.label,t.value)})},n.prototype.resizeChart=function(){var n=this.getChartSize(this.container),e=Math.min(n.width,n.height);G(this.holder).select("svg").attr("width",e+"px").attr("height",e+"px"),this.updateXandYGrid(!0),this.setXScale(),this.setYScale(),this.setXAxis(!0),this.setYAxis(!0),this.updateElements(!1,null),t.prototype.resizeChart.call(this)},n.prototype.setXScale=function(){t.prototype.setXScale.call(this),this.x.padding(0)},n.prototype.resetOpacity=function(){var t=this,n=this.getCircleRadius();this.innerWrap.selectAll("circle").attr("stroke-opacity",na.resetOpacity.opacity).attr("fill",function(e){return t.getCircleFill(n,e)})},n.prototype.reduceOpacity=function(t){var n=this,e=this.getCircleRadius();G(t).attr("fill-opacity",this.getCircleFillOpacity()),G(t).attr("stroke-opacity",na.reduceOpacity.opacity),G(t).attr("fill",function(t){return n.getCircleFill(e,t)})},n.prototype.addDataPointEventListener=function(){var t=this,n=this.options.accessibility;this.svg.selectAll("circle.dot").on("click",function(n){return t.dispatchEvent("line-onClick",n)}).on("mouseover",function(n){G(this).attr("stroke-width",oa.mouseover.strokeWidth).attr("stroke",t.colorScale[n.datasetLabel](n.label)).attr("stroke-opacity",oa.mouseover.strokeOpacity),t.showTooltip(n,this),t.reduceOpacity(this)}).on("mousemove",function(n){return t.tooltip.positionTooltip()}).on("mouseout",function(e){var r=oa.mouseout,i=r.strokeWidth,o=r.strokeWidthAccessible;G(this).attr("stroke-width",n?o:i).attr("stroke",t.colorScale[e.datasetLabel](e.label)).attr("stroke-opacity",oa.mouseout.strokeOpacity),t.hideTooltip()})},n}(Ua),Mu={curveLinear:gs,curveLinearClosed:function(t){return new qs(t)},curveBasis:function(t){return new Ls(t)},curveBasisClosed:function(t){return new Cs(t)},curveBasisOpen:function(t){return new Os(t)},curveBundle:Is,curveCardinal:Ns,curveCardinalClosed:Rs,curveCardinalOpen:Bs,curveCatmullRom:Us,curveCatmullRomClosed:Hs,curveCatmullRomOpen:Ys,curveMonotoneX:function(t){return new Qs(t)},curveMonotoneY:function(t){return new tu(t)},curveNatural:function(t){return new eu(t)},curveStep:function(t){return new iu(t,.5)},curveStepAfter:function(t){return new iu(t,1)},curveStepBefore:function(t){return new iu(t,0)}},ku=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),Tu=function(t){function n(n,e){var r=t.call(this,n,e)||this;return e.options?r.options=To.merge({},ta.LINE,e.options):r.options=To.merge({},ta.LINE),r.options.type=Do.LINE,r}return ku(n,t),n.prototype.draw=function(){var n=this;this.innerWrap.style("width","100%").style("height","100%");var e,r,i=na.margin.line;this.innerWrap.style("width","100%").style("height","100%"),this.innerWrap.attr("transform","translate("+i.left+", "+i.top+")"),this.options.curve=this.options.curve||"curveLinear","string"==typeof this.options.curve?(e=this.options.curve,r={}):(e=this.options.curve.name||"curveLinear",delete(r=this.options.curve).name),this.lineGenerator=xs().x(function(t,e){return n.x(n.displayData.labels[e])+n.x.step()/2}).y(function(t){return n.y(t)}).curve(function(t,n){if(void 0===t&&(t="curveLinear"),void 0===n&&(n={}),Mu[t]){var e=Mu[t];return Object.keys(n).forEach(function(t){e[t]&&(e=e[t](n[t]))}),e}return null}(e,r)),this.innerWrap.selectAll("g.lines").data(this.displayData.datasets).enter().append("g").classed("lines",!0).append("path").attr("stroke",function(t){return n.getStrokeColor(t.label)}).datum(function(t){return t.data}).attr("class","line").attr("d",this.lineGenerator),t.prototype.draw.call(this)},n.prototype.interpolateValues=function(n){var e=this,r=na.margin.line,i=this.getChartSize();i.width,r.left,r.right,i.height,this.getBBox(".x.axis").height;this.innerWrap.selectAll(".removed").remove();var o=this.innerWrap.selectAll("g.lines").data(n.datasets);this.updateElements(!0,o),o.enter().append("g").classed("lines",!0).append("path").attr("stroke",function(t){return e.getStrokeColor(t.label)}).datum(function(t){return t.data}).style("opacity",0).transition(this.getDefaultTransition()).style("opacity",1).attr("class","line").attr("d",this.lineGenerator),o.exit().classed("removed",!0).transition(this.getDefaultTransition()).style("opacity",0).remove(),t.prototype.interpolateValues.call(this,n)},n.prototype.updateElements=function(n,e){e||(e=this.innerWrap.selectAll("g.lines"));var r=n?this.getFillTransition():this.getInstantTransition(),i=this;e.selectAll("path.line").datum(function(t){return G(this.parentNode).datum().data}).transition(r).style("opacity",1).attr("stroke",function(t){var n=G(this.parentNode).datum();return i.getStrokeColor(n.label)}).attr("class","line").attr("d",this.lineGenerator),t.prototype.updateElements.call(this,n)},n}(Su),Au=function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),Eu=function(t){function n(n,e){var r=t.call(this,n,e)||this;return r.charts=[],r.options.type=Do.COMBO,r}return Au(n,t),n.prototype.extractDataForChart=function(t){return To.merge({},this.displayData,{datasets:this.displayData.datasets.filter(function(n){return n.chartType===t})})},n.prototype.update=function(){t.prototype.update.call(this),this.charts&&this.charts.length>0&&(this.updateChildrenScales(),this.setChildrenData())},n.prototype.interpolateValues=function(t){},n.prototype.addDataPointEventListener=function(){},n.prototype.draw=function(){var t=this;this.charts.length||this.displayData.datasets.forEach(function(n){if(i[n.chartType]){if(-1===t.charts.findIndex(function(t){return t.type===n.chartType}))if(i[n.chartType].prototype instanceof Ua){var e={data:t.extractDataForChart(n.chartType),options:To.merge({},t.options,{axis:{x:t.x,y:t.y,y2:t.y2}})},r=new i[n.chartType](t.holder,e);r.update=function(){this.displayData=this.updateDisplayData(),this.interpolateValues(this.displayData)},t.charts.push({type:n.chartType,instance:r})}else console.error("Chart type "+n.chartType+" not supported in Combo - your chart should extend BaseAxisChart")}else console.error('Invalid chart type: "'+n.chartType+'"')})},n.prototype.updateChildrenScales=function(){var t=this;this.charts.forEach(function(n){n.instance.setXScale(t.x),n.instance.setYScale(t.y)})},n.prototype.setChildrenData=function(){var t=this;this.charts.forEach(function(n){var e=t.extractDataForChart(n.type);n.instance.setData(e),console.log("SET "+n.type+" data to",e)})},n}(Ua);e.d(n,"defaultColors",function(){return Lu}),e.d(n,"colorPalettes",function(){return r}),e.d(n,"BaseChart",function(){return Aa}),e.d(n,"BaseAxisChart",function(){return Ua}),e.d(n,"PieChart",function(){return lu}),e.d(n,"DonutChart",function(){return du}),e.d(n,"DonutCenter",function(){return pu}),e.d(n,"BarChart",function(){return bu}),e.d(n,"LineChart",function(){return Tu}),e.d(n,"ComboChart",function(){return Eu}),e.d(n,"ScatterChart",function(){return Su}),e(131);var Lu=Vo}])});
|
|
2
2
|
//# sourceMappingURL=index.umd.js.map
|