northdata-viz 1.213.10 → 1.214.10

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/viz.min.js CHANGED
@@ -1,3 +1,3 @@
1
- /*! northdata-viz V1.213.10 */
2
- !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(self,(function(){return function(){var t={6152:function(t,e,n){var r,i;r=function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function r(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}function a(t){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},a(t)}function o(t,e){return o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},o(t,e)}function u(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?c(t):e}function l(t){var e=u();return function(){var n,r=a(t);if(e){var i=a(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}function f(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=a(t)););return t}function h(t,e,n){return h="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=f(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}},h(t,e,n||t)}var d=function(){function e(){t(this,e),Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}return r(e,[{key:"addEventListener",value:function(t,e,n){t in this.listeners||(this.listeners[t]=[]),this.listeners[t].push({callback:e,options:n})}},{key:"removeEventListener",value:function(t,e){if(t in this.listeners)for(var n=this.listeners[t],r=0,i=n.length;r<i;r++)if(n[r].callback===e)return void n.splice(r,1)}},{key:"dispatchEvent",value:function(t){if(t.type in this.listeners){for(var e=this.listeners[t.type].slice(),n=0,r=e.length;n<r;n++){var i=e[n];try{i.callback.call(this,t)}catch(t){Promise.resolve().then((function(){throw t}))}i.options&&i.options.once&&this.removeEventListener(t.type,i.callback)}return!t.defaultPrevented}}}]),e}(),p=function(e){i(o,e);var n=l(o);function o(){var e;return t(this,o),(e=n.call(this)).listeners||d.call(c(e)),Object.defineProperty(c(e),"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(c(e),"onabort",{value:null,writable:!0,configurable:!0}),e}return r(o,[{key:"toString",value:function(){return"[object AbortSignal]"}},{key:"dispatchEvent",value:function(t){"abort"===t.type&&(this.aborted=!0,"function"==typeof this.onabort&&this.onabort.call(this,t)),h(a(o.prototype),"dispatchEvent",this).call(this,t)}}]),o}(d),v=function(){function e(){t(this,e),Object.defineProperty(this,"signal",{value:new p,writable:!0,configurable:!0})}return r(e,[{key:"abort",value:function(){var t;try{t=new Event("abort")}catch(e){"undefined"!=typeof document?document.createEvent?(t=document.createEvent("Event")).initEvent("abort",!1,!1):(t=document.createEventObject()).type="abort":t={type:"abort",bubbles:!1,cancelable:!1}}this.signal.dispatchEvent(t)}},{key:"toString",value:function(){return"[object AbortController]"}}]),e}();function g(t){return t.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):"function"==typeof t.Request&&!t.Request.prototype.hasOwnProperty("signal")||!t.AbortController}function y(t){"function"==typeof t&&(t={fetch:t});var e=t,n=e.fetch,r=e.Request,i=void 0===r?n.Request:r,a=e.AbortController,o=e.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL,u=void 0!==o&&o;if(!g({fetch:n,Request:i,AbortController:a,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:u}))return{fetch:n,Request:c};var c=i;(c&&!c.prototype.hasOwnProperty("signal")||u)&&((c=function(t,e){var n;e&&e.signal&&(n=e.signal,delete e.signal);var r=new i(t,e);return n&&Object.defineProperty(r,"signal",{writable:!1,enumerable:!1,configurable:!0,value:n}),r}).prototype=i.prototype);var s=n;return{fetch:function(t,e){var n=c&&c.prototype.isPrototypeOf(t)?t.signal:e?e.signal:void 0;if(n){var r;try{r=new DOMException("Aborted","AbortError")}catch(t){(r=new Error("Aborted")).name="AbortError"}if(n.aborted)return Promise.reject(r);var i=new Promise((function(t,e){n.addEventListener("abort",(function(){return e(r)}),{once:!0})}));return e&&e.signal&&delete e.signal,Promise.race([i,s(t,e)])}return s(t,e)},Request:c}}"undefined"!=typeof Symbol&&Symbol.toStringTag&&(v.prototype[Symbol.toStringTag]="AbortController",p.prototype[Symbol.toStringTag]="AbortSignal"),function(t){if(g(t))if(t.fetch){var e=y(t),n=e.fetch,r=e.Request;t.fetch=n,t.Request=r,Object.defineProperty(t,"AbortController",{writable:!0,enumerable:!1,configurable:!0,value:v}),Object.defineProperty(t,"AbortSignal",{writable:!0,enumerable:!1,configurable:!0,value:p})}else console.warn("fetch() is not available, cannot install abortcontroller-polyfill")}("undefined"!=typeof self?self:n.g)},void 0===(i="function"==typeof r?r.call(e,n,e,t):r)||(t.exports=i)},6914:function(t,e,n){"use strict";function r(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function i(t){var e;return 1===t.length&&(e=t,t=function(t,n){return r(e(t),n)}),{left:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){var a=r+i>>>1;t(e[a],n)<0?r=a+1:i=a}return r},right:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){var a=r+i>>>1;t(e[a],n)>0?i=a:r=a+1}return r}}}n.r(e),n.d(e,{ascending:function(){return r},bisect:function(){return c},bisectLeft:function(){return u},bisectRight:function(){return o},bisector:function(){return i},cross:function(){return f},descending:function(){return h},deviation:function(){return v},extent:function(){return g},histogram:function(){return C},max:function(){return j},mean:function(){return L},median:function(){return R},merge:function(){return F},min:function(){return I},pairs:function(){return s},permute:function(){return U},quantile:function(){return D},range:function(){return A},scan:function(){return H},shuffle:function(){return q},sum:function(){return B},thresholdFreedmanDiaconis:function(){return E},thresholdScott:function(){return N},thresholdSturges:function(){return P},tickIncrement:function(){return O},tickStep:function(){return S},ticks:function(){return T},transpose:function(){return V},variance:function(){return p},zip:function(){return W}});var a=i(r),o=a.right,u=a.left,c=o;function s(t,e){null==e&&(e=l);for(var n=0,r=t.length-1,i=t[0],a=new Array(r<0?0:r);n<r;)a[n]=e(i,i=t[++n]);return a}function l(t,e){return[t,e]}function f(t,e,n){var r,i,a,o,u=t.length,c=e.length,s=new Array(u*c);for(null==n&&(n=l),r=a=0;r<u;++r)for(o=t[r],i=0;i<c;++i,++a)s[a]=n(o,e[i]);return s}function h(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function d(t){return null===t?NaN:+t}function p(t,e){var n,r,i=t.length,a=0,o=-1,u=0,c=0;if(null==e)for(;++o<i;)isNaN(n=d(t[o]))||(c+=(r=n-u)*(n-(u+=r/++a)));else for(;++o<i;)isNaN(n=d(e(t[o],o,t)))||(c+=(r=n-u)*(n-(u+=r/++a)));if(a>1)return c/(a-1)}function v(t,e){var n=p(t,e);return n?Math.sqrt(n):n}function g(t,e){var n,r,i,a=t.length,o=-1;if(null==e){for(;++o<a;)if(null!=(n=t[o])&&n>=n)for(r=i=n;++o<a;)null!=(n=t[o])&&(r>n&&(r=n),i<n&&(i=n))}else for(;++o<a;)if(null!=(n=e(t[o],o,t))&&n>=n)for(r=i=n;++o<a;)null!=(n=e(t[o],o,t))&&(r>n&&(r=n),i<n&&(i=n));return[r,i]}var y=Array.prototype,m=y.slice,b=y.map;function w(t){return function(){return t}}function x(t){return t}function A(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)),a=new Array(i);++r<i;)a[r]=t+r*n;return a}var _=Math.sqrt(50),M=Math.sqrt(10),k=Math.sqrt(2);function T(t,e,n){var r,i,a,o,u=-1;if(n=+n,(t=+t)===(e=+e)&&n>0)return[t];if((r=e<t)&&(i=t,t=e,e=i),0===(o=O(t,e,n))||!isFinite(o))return[];if(o>0)for(t=Math.ceil(t/o),e=Math.floor(e/o),a=new Array(i=Math.ceil(e-t+1));++u<i;)a[u]=(t+u)*o;else for(t=Math.floor(t*o),e=Math.ceil(e*o),a=new Array(i=Math.ceil(t-e+1));++u<i;)a[u]=(t-u)/o;return r&&a.reverse(),a}function O(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),a=r/Math.pow(10,i);return i>=0?(a>=_?10:a>=M?5:a>=k?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(a>=_?10:a>=M?5:a>=k?2:1)}function S(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),a=r/i;return a>=_?i*=10:a>=M?i*=5:a>=k&&(i*=2),e<t?-i:i}function P(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1}function C(){var t=x,e=g,n=P;function r(r){var i,a,o=r.length,u=new Array(o);for(i=0;i<o;++i)u[i]=t(r[i],i,r);var s=e(u),l=s[0],f=s[1],h=n(u,l,f);Array.isArray(h)||(h=S(l,f,h),h=A(Math.ceil(l/h)*h,f,h));for(var d=h.length;h[0]<=l;)h.shift(),--d;for(;h[d-1]>f;)h.pop(),--d;var p,v=new Array(d+1);for(i=0;i<=d;++i)(p=v[i]=[]).x0=i>0?h[i-1]:l,p.x1=i<d?h[i]:f;for(i=0;i<o;++i)l<=(a=u[i])&&a<=f&&v[c(h,a,0,d)].push(r[i]);return v}return r.value=function(e){return arguments.length?(t="function"==typeof e?e:w(e),r):t},r.domain=function(t){return arguments.length?(e="function"==typeof t?t:w([t[0],t[1]]),r):e},r.thresholds=function(t){return arguments.length?(n="function"==typeof t?t:Array.isArray(t)?w(m.call(t)):w(t),r):n},r}function D(t,e,n){if(null==n&&(n=d),r=t.length){if((e=+e)<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,a=Math.floor(i),o=+n(t[a],a,t);return o+(+n(t[a+1],a+1,t)-o)*(i-a)}}function E(t,e,n){return t=b.call(t,d).sort(r),Math.ceil((n-e)/(2*(D(t,.75)-D(t,.25))*Math.pow(t.length,-1/3)))}function N(t,e,n){return Math.ceil((n-e)/(3.5*v(t)*Math.pow(t.length,-1/3)))}function j(t,e){var n,r,i=t.length,a=-1;if(null==e){for(;++a<i;)if(null!=(n=t[a])&&n>=n)for(r=n;++a<i;)null!=(n=t[a])&&n>r&&(r=n)}else for(;++a<i;)if(null!=(n=e(t[a],a,t))&&n>=n)for(r=n;++a<i;)null!=(n=e(t[a],a,t))&&n>r&&(r=n);return r}function L(t,e){var n,r=t.length,i=r,a=-1,o=0;if(null==e)for(;++a<r;)isNaN(n=d(t[a]))?--i:o+=n;else for(;++a<r;)isNaN(n=d(e(t[a],a,t)))?--i:o+=n;if(i)return o/i}function R(t,e){var n,i=t.length,a=-1,o=[];if(null==e)for(;++a<i;)isNaN(n=d(t[a]))||o.push(n);else for(;++a<i;)isNaN(n=d(e(t[a],a,t)))||o.push(n);return D(o.sort(r),.5)}function F(t){for(var e,n,r,i=t.length,a=-1,o=0;++a<i;)o+=t[a].length;for(n=new Array(o);--i>=0;)for(e=(r=t[i]).length;--e>=0;)n[--o]=r[e];return n}function I(t,e){var n,r,i=t.length,a=-1;if(null==e){for(;++a<i;)if(null!=(n=t[a])&&n>=n)for(r=n;++a<i;)null!=(n=t[a])&&r>n&&(r=n)}else for(;++a<i;)if(null!=(n=e(t[a],a,t))&&n>=n)for(r=n;++a<i;)null!=(n=e(t[a],a,t))&&r>n&&(r=n);return r}function U(t,e){for(var n=e.length,r=new Array(n);n--;)r[n]=t[e[n]];return r}function H(t,e){if(n=t.length){var n,i,a=0,o=0,u=t[o];for(null==e&&(e=r);++a<n;)(e(i=t[a],u)<0||0!==e(u,u))&&(u=i,o=a);return 0===e(u,u)?o:void 0}}function q(t,e,n){for(var r,i,a=(null==n?t.length:n)-(e=null==e?0:+e);a;)i=Math.random()*a--|0,r=t[a+e],t[a+e]=t[i+e],t[i+e]=r;return t}function B(t,e){var n,r=t.length,i=-1,a=0;if(null==e)for(;++i<r;)(n=+t[i])&&(a+=n);else for(;++i<r;)(n=+e(t[i],i,t))&&(a+=n);return a}function V(t){if(!(i=t.length))return[];for(var e=-1,n=I(t,z),r=new Array(n);++e<n;)for(var i,a=-1,o=r[e]=new Array(i);++a<i;)o[a]=t[a][e];return r}function z(t){return t.length}function W(){return V(arguments)}},7865:function(t,e,n){"use strict";n.r(e),n.d(e,{axisBottom:function(){return m},axisLeft:function(){return b},axisRight:function(){return y},axisTop:function(){return g}});var r=Array.prototype.slice;function i(t){return t}var a=1,o=2,u=3,c=4,s=1e-6;function l(t){return"translate("+(t+.5)+",0)"}function f(t){return"translate(0,"+(t+.5)+")"}function h(t){return function(e){return+t(e)}}function d(t){var e=Math.max(0,t.bandwidth()-1)/2;return t.round()&&(e=Math.round(e)),function(n){return+t(n)+e}}function p(){return!this.__axis}function v(t,e){var n=[],v=null,g=null,y=6,m=6,b=3,w=t===a||t===c?-1:1,x=t===c||t===o?"x":"y",A=t===a||t===u?l:f;function _(r){var l=null==v?e.ticks?e.ticks.apply(e,n):e.domain():v,f=null==g?e.tickFormat?e.tickFormat.apply(e,n):i:g,_=Math.max(y,0)+b,M=e.range(),k=+M[0]+.5,T=+M[M.length-1]+.5,O=(e.bandwidth?d:h)(e.copy()),S=r.selection?r.selection():r,P=S.selectAll(".domain").data([null]),C=S.selectAll(".tick").data(l,e).order(),D=C.exit(),E=C.enter().append("g").attr("class","tick"),N=C.select("line"),j=C.select("text");P=P.merge(P.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),C=C.merge(E),N=N.merge(E.append("line").attr("stroke","currentColor").attr(x+"2",w*y)),j=j.merge(E.append("text").attr("fill","currentColor").attr(x,w*_).attr("dy",t===a?"0em":t===u?"0.71em":"0.32em")),r!==S&&(P=P.transition(r),C=C.transition(r),N=N.transition(r),j=j.transition(r),D=D.transition(r).attr("opacity",s).attr("transform",(function(t){return isFinite(t=O(t))?A(t):this.getAttribute("transform")})),E.attr("opacity",s).attr("transform",(function(t){var e=this.parentNode.__axis;return A(e&&isFinite(e=e(t))?e:O(t))}))),D.remove(),P.attr("d",t===c||t==o?m?"M"+w*m+","+k+"H0.5V"+T+"H"+w*m:"M0.5,"+k+"V"+T:m?"M"+k+","+w*m+"V0.5H"+T+"V"+w*m:"M"+k+",0.5H"+T),C.attr("opacity",1).attr("transform",(function(t){return A(O(t))})),N.attr(x+"2",w*y),j.attr(x,w*_).text(f),S.filter(p).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===o?"start":t===c?"end":"middle"),S.each((function(){this.__axis=O}))}return _.scale=function(t){return arguments.length?(e=t,_):e},_.ticks=function(){return n=r.call(arguments),_},_.tickArguments=function(t){return arguments.length?(n=null==t?[]:r.call(t),_):n.slice()},_.tickValues=function(t){return arguments.length?(v=null==t?null:r.call(t),_):v&&v.slice()},_.tickFormat=function(t){return arguments.length?(g=t,_):g},_.tickSize=function(t){return arguments.length?(y=m=+t,_):y},_.tickSizeInner=function(t){return arguments.length?(y=+t,_):y},_.tickSizeOuter=function(t){return arguments.length?(m=+t,_):m},_.tickPadding=function(t){return arguments.length?(b=+t,_):b},_}function g(t){return v(a,t)}function y(t){return v(o,t)}function m(t){return v(u,t)}function b(t){return v(c,t)}},1918:function(t,e,n){"use strict";n.d(e,{Tj:function(){return o}});var r="$";function i(){}function a(t,e){var n=new i;if(t instanceof i)t.each((function(t,e){n.set(e,t)}));else if(Array.isArray(t)){var r,a=-1,o=t.length;if(null==e)for(;++a<o;)n.set(a,t[a]);else for(;++a<o;)n.set(e(r=t[a],a,t),r)}else if(t)for(var u in t)n.set(u,t[u]);return n}i.prototype=a.prototype={constructor:i,has:function(t){return r+t in this},get:function(t){return this[r+t]},set:function(t,e){return this[r+t]=e,this},remove:function(t){var e=r+t;return e in this&&delete this[e]},clear:function(){for(var t in this)t[0]===r&&delete this[t]},keys:function(){var t=[];for(var e in this)e[0]===r&&t.push(e.slice(1));return t},values:function(){var t=[];for(var e in this)e[0]===r&&t.push(this[e]);return t},entries:function(){var t=[];for(var e in this)e[0]===r&&t.push({key:e.slice(1),value:this[e]});return t},size:function(){var t=0;for(var e in this)e[0]===r&&++t;return t},empty:function(){for(var t in this)if(t[0]===r)return!1;return!0},each:function(t){for(var e in this)e[0]===r&&t(this[e],e.slice(1),this)}};var o=a;function u(){}var c=o.prototype;function s(t,e){var n=new u;if(t instanceof u)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}u.prototype=s.prototype={constructor:u,has:c.has,add:function(t){return this[r+(t+="")]=t,this},remove:c.remove,clear:c.clear,values:c.keys,size:c.size,empty:c.empty,each:c.each}},3844:function(t,e,n){"use strict";n.d(e,{Ay:function(){return w},Gw:function(){return k},KI:function(){return D},Q1:function(){return i},Qh:function(){return M},Uw:function(){return o},b:function(){return _},ef:function(){return a}});var r=n(7592);function i(){}var a=.7,o=1/a,u="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",s="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,f=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),h=new RegExp("^rgb\\("+[s,s,s]+"\\)$"),d=new RegExp("^rgba\\("+[u,u,u,c]+"\\)$"),p=new RegExp("^rgba\\("+[s,s,s,c]+"\\)$"),v=new RegExp("^hsl\\("+[c,s,s]+"\\)$"),g=new RegExp("^hsla\\("+[c,s,s,c]+"\\)$"),y={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 m(){return this.rgb().formatHex()}function b(){return this.rgb().formatRgb()}function w(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=l.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?x(e):3===n?new k(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?A(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?A(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=f.exec(t))?new k(e[1],e[2],e[3],1):(e=h.exec(t))?new k(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=d.exec(t))?A(e[1],e[2],e[3],e[4]):(e=p.exec(t))?A(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=v.exec(t))?P(e[1],e[2]/100,e[3]/100,1):(e=g.exec(t))?P(e[1],e[2]/100,e[3]/100,e[4]):y.hasOwnProperty(t)?x(y[t]):"transparent"===t?new k(NaN,NaN,NaN,0):null}function x(t){return new k(t>>16&255,t>>8&255,255&t,1)}function A(t,e,n,r){return r<=0&&(t=e=n=NaN),new k(t,e,n,r)}function _(t){return t instanceof i||(t=w(t)),t?new k((t=t.rgb()).r,t.g,t.b,t.opacity):new k}function M(t,e,n,r){return 1===arguments.length?_(t):new k(t,e,n,null==r?1:r)}function k(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function T(){return"#"+S(this.r)+S(this.g)+S(this.b)}function O(){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+")")}function S(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function P(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new E(t,e,n,r)}function C(t){if(t instanceof E)return new E(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=w(t)),!t)return new E;if(t instanceof E)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,a=Math.min(e,n,r),o=Math.max(e,n,r),u=NaN,c=o-a,s=(o+a)/2;return c?(u=e===o?(n-r)/c+6*(n<r):n===o?(r-e)/c+2:(e-n)/c+4,c/=s<.5?o+a:2-o-a,u*=60):c=s>0&&s<1?0:u,new E(u,c,s,t.opacity)}function D(t,e,n,r){return 1===arguments.length?C(t):new E(t,e,n,null==r?1:r)}function E(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function N(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}(0,r.A)(i,w,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:m,formatHex:m,formatHsl:function(){return C(this).formatHsl()},formatRgb:b,toString:b}),(0,r.A)(k,M,(0,r.X)(i,{brighter:function(t){return t=null==t?o:Math.pow(o,t),new k(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?a:Math.pow(a,t),new k(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:T,formatHex:T,formatRgb:O,toString:O})),(0,r.A)(E,D,(0,r.X)(i,{brighter:function(t){return t=null==t?o:Math.pow(o,t),new E(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?a:Math.pow(a,t),new E(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 k(N(t>=240?t-240:t+120,i,r),N(t,i,r),N(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},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}))},7592:function(t,e,n){"use strict";function r(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function i(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}n.d(e,{A:function(){return r},X:function(){return i}})},2996:function(t,e){"use strict";var n={value:function(){}};function r(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r||/[\s.]/.test(t))throw new Error("illegal type: "+t);r[t]=[]}return new i(r)}function i(t){this._=t}function a(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}function o(t,e,r){for(var i=0,a=t.length;i<a;++i)if(t[i].name===e){t[i]=n,t=t.slice(0,i).concat(t.slice(i+1));break}return null!=r&&t.push({name:e,value:r}),t}i.prototype=r.prototype={constructor:i,on:function(t,e){var n,r,i=this._,u=(r=i,(t+"").trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");if(n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}}))),c=-1,s=u.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++c<s;)if(n=(t=u[c]).type)i[n]=o(i[n],t.name,e);else if(null==e)for(n in i)i[n]=o(i[n],t.name,null);return this}for(;++c<s;)if((n=(t=u[c]).type)&&(n=a(i[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new i(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),a=0;a<n;++a)i[a]=arguments[a+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(a=0,n=(r=this._[t]).length;a<n;++a)r[a].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,a=r.length;i<a;++i)r[i].value.apply(e,n)}},e.A=r},2260:function(t,e,n){"use strict";n.r(e),n.d(e,{dispatch:function(){return r.A}});var r=n(2996)},4626:function(t,e,n){"use strict";n.d(e,{GP:function(){return i},s:function(){return a}});var r,i,a,o,u=n(6746);o={decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"},r=(0,u.A)(o),i=r.format,a=r.formatPrefix},886:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(3735);function i(t){return(t=(0,r.A)(Math.abs(t)))?t[1]:NaN}},3735:function(t,e,n){"use strict";function r(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)]}n.d(e,{A:function(){return r}})},1688:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(t){if(!(e=r.exec(t)))throw new Error("invalid format: "+t);var e;return new a({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function a(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}i.prototype=a.prototype,a.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},6746:function(t,e,n){"use strict";n.d(e,{A:function(){return h}});var r=n(886);var i=n(1688);var a,o=n(3735);function u(t,e){var n=(0,o.A)(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")}var c={"%":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 u(100*t,e)},r:u,s:function(t,e){var n=(0,o.A)(t,e);if(!n)return t+"";var r=n[0],i=n[1],u=i-(a=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,c=r.length;return u===c?r:u>c?r+new Array(u-c+1).join("0"):u>0?r.slice(0,u)+"."+r.slice(u):"0."+new Array(1-u).join("0")+(0,o.A)(t,Math.max(0,e+u-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function s(t){return t}var l=Array.prototype.map,f=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function h(t){var e,n,o=void 0===t.grouping||void 0===t.thousands?s:(e=l.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,a=[],o=0,u=e[0],c=0;i>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),a.push(t.substring(i-=u,i+u)),!((c+=u+1)>r));)u=e[o=(o+1)%e.length];return a.reverse().join(n)}),u=void 0===t.currency?"":t.currency[0]+"",h=void 0===t.currency?"":t.currency[1]+"",d=void 0===t.decimal?".":t.decimal+"",p=void 0===t.numerals?s:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(l.call(t.numerals,String)),v=void 0===t.percent?"%":t.percent+"",g=void 0===t.minus?"-":t.minus+"",y=void 0===t.nan?"NaN":t.nan+"";function m(t){var e=(t=(0,i.A)(t)).fill,n=t.align,r=t.sign,s=t.symbol,l=t.zero,m=t.width,b=t.comma,w=t.precision,x=t.trim,A=t.type;"n"===A?(b=!0,A="g"):c[A]||(void 0===w&&(w=12),x=!0,A="g"),(l||"0"===e&&"="===n)&&(l=!0,e="0",n="=");var _="$"===s?u:"#"===s&&/[boxX]/.test(A)?"0"+A.toLowerCase():"",M="$"===s?h:/[%p]/.test(A)?v:"",k=c[A],T=/[defgprs%]/.test(A);function O(t){var i,u,c,s=_,h=M;if("c"===A)h=k(t)+h,t="";else{var v=(t=+t)<0||1/t<0;if(t=isNaN(t)?y:k(Math.abs(t),w),x&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),v&&0==+t&&"+"!==r&&(v=!1),s=(v?"("===r?r:g:"-"===r||"("===r?"":r)+s,h=("s"===A?f[8+a/3]:"")+h+(v&&"("===r?")":""),T)for(i=-1,u=t.length;++i<u;)if(48>(c=t.charCodeAt(i))||c>57){h=(46===c?d+t.slice(i+1):t.slice(i))+h,t=t.slice(0,i);break}}b&&!l&&(t=o(t,1/0));var O=s.length+t.length+h.length,S=O<m?new Array(m-O+1).join(e):"";switch(b&&l&&(t=o(S+t,S.length?m-h.length:1/0),S=""),n){case"<":t=s+t+h+S;break;case"=":t=s+S+t+h;break;case"^":t=S.slice(0,O=S.length>>1)+s+t+h+S.slice(O);break;default:t=S+s+t+h}return p(t)}return w=void 0===w?6:/[gprs]/.test(A)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w)),O.toString=function(){return t+""},O}return{format:m,formatPrefix:function(t,e){var n=m(((t=(0,i.A)(t)).type="f",t)),a=3*Math.max(-8,Math.min(8,Math.floor((0,r.A)(e)/3))),o=Math.pow(10,-a),u=f[8+a/3];return function(t){return n(o*t)+u}}}}},3391:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(886);function i(t){return Math.max(0,-(0,r.A)(Math.abs(t)))}},6093:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(886);function i(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,r.A)(e)/3)))-(0,r.A)(Math.abs(t)))}},8209:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(886);function i(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,(0,r.A)(e)-(0,r.A)(t))+1}},6504:function(t,e,n){"use strict";n.d(e,{Ay:function(){return u},lG:function(){return a},uN:function(){return o}});var r=n(319);function i(t,e){return function(n){return t+n*e}}function a(t,e){var n=e-t;return n?i(t,n>180||n<-180?n-360*Math.round(n/360):n):(0,r.A)(isNaN(t)?e:t)}function o(t){return 1==(t=+t)?u: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):(0,r.A)(isNaN(e)?n:e)}}function u(t,e){var n=e-t;return n?i(t,n):(0,r.A)(isNaN(t)?e:t)}},319:function(t,e,n){"use strict";function r(t){return function(){return t}}n.d(e,{A:function(){return r}})},5566:function(t,e,n){"use strict";function r(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}n.d(e,{A:function(){return r}})},5587:function(t,e,n){"use strict";n.d(e,{Ay:function(){return o}});var r=n(3844);function i(t,e,n,r,i){var a=t*t,o=a*t;return((1-3*t+3*a-o)*e+(4-6*a+3*o)*n+(1+3*t+3*a-3*o)*r+o*i)/6}var a=n(6504),o=function t(e){var n=(0,a.uN)(e);function i(t,e){var i=n((t=(0,r.Qh)(t)).r,(e=(0,r.Qh)(e)).r),o=n(t.g,e.g),u=n(t.b,e.b),c=(0,a.Ay)(t.opacity,e.opacity);return function(e){return t.r=i(e),t.g=o(e),t.b=u(e),t.opacity=c(e),t+""}}return i.gamma=t,i}(1);function u(t){return function(e){var n,i,a=e.length,o=new Array(a),u=new Array(a),c=new Array(a);for(n=0;n<a;++n)i=(0,r.Qh)(e[n]),o[n]=i.r||0,u[n]=i.g||0,c[n]=i.b||0;return o=t(o),u=t(u),c=t(c),i.opacity=1,function(t){return i.r=o(t),i.g=u(t),i.b=c(t),i+""}}}u((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),a=t[r],o=t[r+1],u=r>0?t[r-1]:2*a-o,c=r<e-1?t[r+2]:2*o-a;return i((n-r/e)*e,u,a,o,c)}})),u((function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),a=t[(r+e-1)%e],o=t[r%e],u=t[(r+1)%e],c=t[(r+2)%e];return i((n-r/e)*e,a,o,u,c)}}))},5307:function(t,e,n){"use strict";function r(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}n.d(e,{A:function(){return r}})},3318:function(t,e,n){"use strict";n.d(e,{A:function(){return o}});var r=n(5566),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,a=new RegExp(i.source,"g");function o(t,e){var n,o,u,c=i.lastIndex=a.lastIndex=0,s=-1,l=[],f=[];for(t+="",e+="";(n=i.exec(t))&&(o=a.exec(e));)(u=o.index)>c&&(u=e.slice(c,u),l[s]?l[s]+=u:l[++s]=u),(n=n[0])===(o=o[0])?l[s]?l[s]+=o:l[++s]=o:(l[++s]=null,f.push({i:s,x:(0,r.A)(n,o)})),c=a.lastIndex;return c<e.length&&(u=e.slice(c),l[s]?l[s]+=u:l[++s]=u),l.length<2?f[0]?function(t){return function(e){return t(e)+""}}(f[0].x):function(t){return function(){return t}}(e):(e=f.length,function(t){for(var n,r=0;r<e;++r)l[(n=f[r]).i]=n.x(t);return l.join("")})}},7331:function(t,e,n){"use strict";n.d(e,{A:function(){return h}});var r=n(3844),i=n(5587);function a(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,a=new Array(i),o=new Array(r);for(n=0;n<i;++n)a[n]=h(t[n],e[n]);for(;n<r;++n)o[n]=e[n];return function(t){for(n=0;n<i;++n)o[n]=a[n](t);return o}}function o(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}var u=n(5566);function c(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]=h(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}}var s=n(3318),l=n(319);function f(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(a){for(n=0;n<r;++n)i[n]=t[n]*(1-a)+e[n]*a;return i}}function h(t,e){var n,h,d=typeof e;return null==e||"boolean"===d?(0,l.A)(e):("number"===d?u.A:"string"===d?(n=(0,r.Ay)(e))?(e=n,i.Ay):s.A:e instanceof r.Ay?i.Ay:e instanceof Date?o:(h=e,!ArrayBuffer.isView(h)||h instanceof DataView?Array.isArray(e)?a:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?c:u.A:f))(t,e)}},916:function(t,e,n){"use strict";n.d(e,{A:function(){return a}});var r=n(9134),i=n(7204);function a(t){return(0,i.A)((0,r.A)(t).call(document.documentElement))}},9134:function(t,e,n){"use strict";n.d(e,{A:function(){return u}});var r=n(6357),i=n(8176);function a(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===i.g&&e.documentElement.namespaceURI===i.g?e.createElement(t):e.createElementNS(n,t)}}function o(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function u(t){var e=(0,r.A)(t);return(e.local?o:a)(e)}},2539:function(t,e,n){"use strict";n.r(e),n.d(e,{clientPoint:function(){return f},create:function(){return r.A},creator:function(){return i.A},customEvent:function(){return s.ex},event:function(){return s.f0},local:function(){return o},matcher:function(){return c.A},mouse:function(){return h},namespace:function(){return d.A},namespaces:function(){return p.A},select:function(){return v.A},selectAll:function(){return g.A},selection:function(){return y.Ay},selector:function(){return m.A},selectorAll:function(){return b.A},style:function(){return w.j},touch:function(){return x},touches:function(){return A},window:function(){return _.A}});var r=n(916),i=n(9134),a=0;function o(){return new u}function u(){this._="@"+(++a).toString(36)}u.prototype=o.prototype={constructor:u,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 c=n(4692),s=n(2454);function l(){for(var t,e=s.f0;t=e.sourceEvent;)e=t;return e}function f(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]}function h(t){var e=l();return e.changedTouches&&(e=e.changedTouches[0]),f(t,e)}var d=n(6357),p=n(8176),v=n(7204),g=n(9181),y=n(2906),m=n(9729),b=n(1118),w=n(7626);function x(t,e,n){arguments.length<3&&(n=e,e=l().changedTouches);for(var r,i=0,a=e?e.length:0;i<a;++i)if((r=e[i]).identifier===n)return f(t,r);return null}function A(t,e){null==e&&(e=l().touches);for(var n=0,r=e?e.length:0,i=new Array(r);n<r;++n)i[n]=f(t,e[n]);return i}var _=n(2684)},4692:function(t,e,n){"use strict";function r(t){return function(){return this.matches(t)}}n.d(e,{A:function(){return r}})},6357:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(8176);function i(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),r.A.hasOwnProperty(e)?{space:r.A[e],local:t}:t}},8176:function(t,e,n){"use strict";n.d(e,{g:function(){return r}});var r="http://www.w3.org/1999/xhtml";e.A={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},7204:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(2906);function i(t){return"string"==typeof t?new r.LN([[document.querySelector(t)]],[document.documentElement]):new r.LN([[t]],r.zr)}},9181:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(2906);function i(t){return"string"==typeof t?new r.LN([document.querySelectorAll(t)],[document.documentElement]):new r.LN([null==t?[]:t],r.zr)}},2906:function(t,e,n){"use strict";n.d(e,{LN:function(){return $},Ay:function(){return Q},zr:function(){return X}});var r=n(9729);var i=n(1118);var a=n(4692);function o(t){return new Array(t.length)}function u(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}u.prototype={constructor:u,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 c="$";function s(t,e,n,r,i,a){for(var o,c=0,s=e.length,l=a.length;c<l;++c)(o=e[c])?(o.__data__=a[c],r[c]=o):n[c]=new u(t,a[c]);for(;c<s;++c)(o=e[c])&&(i[c]=o)}function l(t,e,n,r,i,a,o){var s,l,f,h={},d=e.length,p=a.length,v=new Array(d);for(s=0;s<d;++s)(l=e[s])&&(v[s]=f=c+o.call(l,l.__data__,s,e),f in h?i[s]=l:h[f]=l);for(s=0;s<p;++s)(l=h[f=c+o.call(t,a[s],s,a)])?(r[s]=l,l.__data__=a[s],h[f]=null):n[s]=new u(t,a[s]);for(s=0;s<d;++s)(l=e[s])&&h[v[s]]===l&&(i[s]=l)}function f(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}var h=n(6357);function d(t){return function(){this.removeAttribute(t)}}function p(t){return function(){this.removeAttributeNS(t.space,t.local)}}function v(t,e){return function(){this.setAttribute(t,e)}}function g(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function y(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function m(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)}}var b=n(7626);function w(t){return function(){delete this[t]}}function x(t,e){return function(){this[t]=e}}function A(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function _(t){return t.trim().split(/^|\s+/)}function M(t){return t.classList||new k(t)}function k(t){this._node=t,this._names=_(t.getAttribute("class")||"")}function T(t,e){for(var n=M(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function O(t,e){for(var n=M(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function S(t){return function(){T(this,t)}}function P(t){return function(){O(this,t)}}function C(t,e){return function(){(e.apply(this,arguments)?T:O)(this,t)}}function D(){this.textContent=""}function E(t){return function(){this.textContent=t}}function N(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function j(){this.innerHTML=""}function L(t){return function(){this.innerHTML=t}}function R(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function F(){this.nextSibling&&this.parentNode.appendChild(this)}function I(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}k.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}};var U=n(9134);function H(){return null}function q(){var t=this.parentNode;t&&t.removeChild(this)}function B(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function V(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}var z=n(2454),W=n(2684);function Y(t,e,n){var r=(0,W.A)(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)}function G(t,e){return function(){return Y(this,t,e)}}function J(t,e){return function(){return Y(this,t,e.apply(this,arguments))}}var X=[null];function $(t,e){this._groups=t,this._parents=e}function Z(){return new $([[document.documentElement]],X)}$.prototype=Z.prototype={constructor:$,select:function(t){"function"!=typeof t&&(t=(0,r.A)(t));for(var e=this._groups,n=e.length,i=new Array(n),a=0;a<n;++a)for(var o,u,c=e[a],s=c.length,l=i[a]=new Array(s),f=0;f<s;++f)(o=c[f])&&(u=t.call(o,o.__data__,f,c))&&("__data__"in o&&(u.__data__=o.__data__),l[f]=u);return new $(i,this._parents)},selectAll:function(t){"function"!=typeof t&&(t=(0,i.A)(t));for(var e=this._groups,n=e.length,r=[],a=[],o=0;o<n;++o)for(var u,c=e[o],s=c.length,l=0;l<s;++l)(u=c[l])&&(r.push(t.call(u,u.__data__,l,c)),a.push(u));return new $(r,a)},filter:function(t){"function"!=typeof t&&(t=(0,a.A)(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,u=e[i],c=u.length,s=r[i]=[],l=0;l<c;++l)(o=u[l])&&t.call(o,o.__data__,l,u)&&s.push(o);return new $(r,this._parents)},data:function(t,e){if(!t)return g=new Array(this.size()),h=-1,this.each((function(t){g[++h]=t})),g;var n,r=e?l:s,i=this._parents,a=this._groups;"function"!=typeof t&&(n=t,t=function(){return n});for(var o=a.length,u=new Array(o),c=new Array(o),f=new Array(o),h=0;h<o;++h){var d=i[h],p=a[h],v=p.length,g=t.call(d,d&&d.__data__,h,i),y=g.length,m=c[h]=new Array(y),b=u[h]=new Array(y);r(d,p,m,b,f[h]=new Array(v),g,e);for(var w,x,A=0,_=0;A<y;++A)if(w=m[A]){for(A>=_&&(_=A+1);!(x=b[_])&&++_<y;);w._next=x||null}}return(u=new $(u,i))._enter=c,u._exit=f,u},enter:function(){return new $(this._enter||this._groups.map(o),this._parents)},exit:function(){return new $(this._exit||this._groups.map(o),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,a=this.exit();return r="function"==typeof t?t(r):r.append(t+""),null!=e&&(i=e(i)),null==n?a.remove():n(a),r&&i?r.merge(i).order():i},merge:function(t){for(var e=this._groups,n=t._groups,r=e.length,i=n.length,a=Math.min(r,i),o=new Array(r),u=0;u<a;++u)for(var c,s=e[u],l=n[u],f=s.length,h=o[u]=new Array(f),d=0;d<f;++d)(c=s[d]||l[d])&&(h[d]=c);for(;u<r;++u)o[u]=e[u];return new $(o,this._parents)},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],a=i.length-1,o=i[a];--a>=0;)(r=i[a])&&(o&&4^r.compareDocumentPosition(o)&&o.parentNode.insertBefore(r,o),o=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=f);for(var n=this._groups,r=n.length,i=new Array(r),a=0;a<r;++a){for(var o,u=n[a],c=u.length,s=i[a]=new Array(c),l=0;l<c;++l)(o=u[l])&&(s[l]=o);s.sort(e)}return new $(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,a=r.length;i<a;++i){var o=r[i];if(o)return o}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,a=e[n],o=0,u=a.length;o<u;++o)(i=a[o])&&t.call(i,i.__data__,o,a);return this},attr:function(t,e){var n=(0,h.A)(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?p:d:"function"==typeof e?n.local?m:y:n.local?g:v)(n,e))},style:b.A,property:function(t,e){return arguments.length>1?this.each((null==e?w:"function"==typeof e?A:x)(t,e)):this.node()[t]},classed:function(t,e){var n=_(t+"");if(arguments.length<2){for(var r=M(this.node()),i=-1,a=n.length;++i<a;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?C:e?S:P)(n,e))},text:function(t){return arguments.length?this.each(null==t?D:("function"==typeof t?N:E)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?j:("function"==typeof t?R:L)(t)):this.node().innerHTML},raise:function(){return this.each(F)},lower:function(){return this.each(I)},append:function(t){var e="function"==typeof t?t:(0,U.A)(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var n="function"==typeof t?t:(0,U.A)(t),i=null==e?H:"function"==typeof e?e:(0,r.A)(e);return this.select((function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)}))},remove:function(){return this.each(q)},clone:function(t){return this.select(t?V:B)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:z.Ay,dispatch:function(t,e){return this.each(("function"==typeof e?J:G)(t,e))}};var Q=Z},2454:function(t,e,n){"use strict";n.d(e,{Ay:function(){return s},ex:function(){return l},f0:function(){return i}});var r={},i=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(r={mouseenter:"mouseover",mouseleave:"mouseout"}));function a(t,e,n){return t=o(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function o(t,e,n){return function(r){var a=i;i=r;try{t.call(this,this.__data__,e,n)}finally{i=a}}}function u(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,a=e.length;r<a;++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 c(t,e,n){var i=r.hasOwnProperty(t.type)?a:o;return function(r,a,o){var u,c=this.__on,s=i(e,a,o);if(c)for(var l=0,f=c.length;l<f;++l)if((u=c[l]).type===t.type&&u.name===t.name)return this.removeEventListener(u.type,u.listener,u.capture),this.addEventListener(u.type,u.listener=s,u.capture=n),void(u.value=e);this.addEventListener(t.type,s,n),u={type:t.type,name:t.name,value:e,listener:s,capture:n},c?c.push(u):this.__on=[u]}}function s(t,e,n){var r,i,a=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+""),o=a.length;if(!(arguments.length<2)){for(s=e?c:u,null==n&&(n=!1),r=0;r<o;++r)this.each(s(a[r],e,n));return this}var s=this.node().__on;if(s)for(var l,f=0,h=s.length;f<h;++f)for(r=0,l=s[f];r<o;++r)if((i=a[r]).type===l.type&&i.name===l.name)return l.value}function l(t,e,n,r){var a=i;t.sourceEvent=i,i=t;try{return e.apply(n,r)}finally{i=a}}},7626:function(t,e,n){"use strict";n.d(e,{A:function(){return u},j:function(){return c}});var r=n(2684);function i(t){return function(){this.style.removeProperty(t)}}function a(t,e,n){return function(){this.style.setProperty(t,e,n)}}function o(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function u(t,e,n){return arguments.length>1?this.each((null==e?i:"function"==typeof e?o:a)(t,e,null==n?"":n)):c(this.node(),t)}function c(t,e){return t.style.getPropertyValue(e)||(0,r.A)(t).getComputedStyle(t,null).getPropertyValue(e)}},9729:function(t,e,n){"use strict";function r(){}function i(t){return null==t?r:function(){return this.querySelector(t)}}n.d(e,{A:function(){return i}})},1118:function(t,e,n){"use strict";function r(){return[]}function i(t){return null==t?r:function(){return this.querySelectorAll(t)}}n.d(e,{A:function(){return i}})},2684:function(t,e,n){"use strict";function r(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}n.d(e,{A:function(){return r}})},2692:function(t,e,n){"use strict";n.d(e,{DC:function(){return i},aL:function(){return a}});var r,i,a,o,u=n(7613);o={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"]},r=(0,u.A)(o),i=r.format,r.parse,a=r.utcFormat,r.utcParse},7613:function(t,e,n){"use strict";n.d(e,{A:function(){return h}});var r=n(6453),i=n(3675),a=n(1779),o=n(293),u=n(2706),c=n(5768);function s(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 l(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 f(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function h(t){var e=t.dateTime,n=t.date,u=t.time,c=t.periods,h=t.days,p=t.shortDays,v=t.months,g=t.shortMonths,y=b(c),m=w(c),Mt=b(h),kt=w(h),Tt=b(p),Ot=w(p),St=b(v),Pt=w(v),Ct=b(g),Dt=w(g),Et={a:function(t){return p[t.getDay()]},A:function(t){return h[t.getDay()]},b:function(t){return g[t.getMonth()]},B:function(t){return v[t.getMonth()]},c:null,d:q,e:q,f:Y,H:B,I:V,j:z,L:W,m:G,M:J,p:function(t){return c[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:At,s:_t,S:X,u:$,U:Z,V:Q,w:K,W:tt,x:null,X:null,y:et,Y:nt,Z:rt,"%":xt},Nt={a:function(t){return p[t.getUTCDay()]},A:function(t){return h[t.getUTCDay()]},b:function(t){return g[t.getUTCMonth()]},B:function(t){return v[t.getUTCMonth()]},c:null,d:it,e:it,f:st,H:at,I:ot,j:ut,L:ct,m:lt,M:ft,p:function(t){return c[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:At,s:_t,S:ht,u:dt,U:pt,V:vt,w:gt,W:yt,x:null,X:null,y:mt,Y:bt,Z:wt,"%":xt},jt={a:function(t,e,n){var r=Tt.exec(e.slice(n));return r?(t.w=Ot[r[0].toLowerCase()],n+r[0].length):-1},A:function(t,e,n){var r=Mt.exec(e.slice(n));return r?(t.w=kt[r[0].toLowerCase()],n+r[0].length):-1},b:function(t,e,n){var r=Ct.exec(e.slice(n));return r?(t.m=Dt[r[0].toLowerCase()],n+r[0].length):-1},B:function(t,e,n){var r=St.exec(e.slice(n));return r?(t.m=Pt[r[0].toLowerCase()],n+r[0].length):-1},c:function(t,n,r){return Ft(t,e,n,r)},d:D,e:D,f:F,H:N,I:N,j:E,L:R,m:C,M:j,p:function(t,e,n){var r=y.exec(e.slice(n));return r?(t.p=m[r[0].toLowerCase()],n+r[0].length):-1},q:P,Q:U,s:H,S:L,u:A,U:_,V:M,w:x,W:k,x:function(t,e,r){return Ft(t,n,e,r)},X:function(t,e,n){return Ft(t,u,e,n)},y:O,Y:T,Z:S,"%":I};function Lt(t,e){return function(n){var r,i,a,o=[],u=-1,c=0,s=t.length;for(n instanceof Date||(n=new Date(+n));++u<s;)37===t.charCodeAt(u)&&(o.push(t.slice(c,u)),null!=(i=d[r=t.charAt(++u)])?r=t.charAt(++u):i="e"===r?" ":"0",(a=e[r])&&(r=a(n,i)),o.push(r),c=u+1);return o.push(t.slice(c,u)),o.join("")}}function Rt(t,e){return function(n){var u,c,h=f(1900,void 0,1);if(Ft(h,t,n+="",0)!=n.length)return null;if("Q"in h)return new Date(h.Q);if("s"in h)return new Date(1e3*h.s+("L"in h?h.L:0));if(e&&!("Z"in h)&&(h.Z=0),"p"in h&&(h.H=h.H%12+12*h.p),void 0===h.m&&(h.m="q"in h?h.q:0),"V"in h){if(h.V<1||h.V>53)return null;"w"in h||(h.w=1),"Z"in h?(c=(u=l(f(h.y,0,1))).getUTCDay(),u=c>4||0===c?r.rt.ceil(u):(0,r.rt)(u),u=i.A.offset(u,7*(h.V-1)),h.y=u.getUTCFullYear(),h.m=u.getUTCMonth(),h.d=u.getUTCDate()+(h.w+6)%7):(c=(u=s(f(h.y,0,1))).getDay(),u=c>4||0===c?a.By.ceil(u):(0,a.By)(u),u=o.A.offset(u,7*(h.V-1)),h.y=u.getFullYear(),h.m=u.getMonth(),h.d=u.getDate()+(h.w+6)%7)}else("W"in h||"U"in h)&&("w"in h||(h.w="u"in h?h.u%7:"W"in h?1:0),c="Z"in h?l(f(h.y,0,1)).getUTCDay():s(f(h.y,0,1)).getDay(),h.m=0,h.d="W"in h?(h.w+6)%7+7*h.W-(c+5)%7:h.w+7*h.U-(c+6)%7);return"Z"in h?(h.H+=h.Z/100|0,h.M+=h.Z%100,l(h)):s(h)}}function Ft(t,e,n,r){for(var i,a,o=0,u=e.length,c=n.length;o<u;){if(r>=c)return-1;if(37===(i=e.charCodeAt(o++))){if(i=e.charAt(o++),!(a=jt[i in d?e.charAt(o++):i])||(r=a(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return Et.x=Lt(n,Et),Et.X=Lt(u,Et),Et.c=Lt(e,Et),Nt.x=Lt(n,Nt),Nt.X=Lt(u,Nt),Nt.c=Lt(e,Nt),{format:function(t){var e=Lt(t+="",Et);return e.toString=function(){return t},e},parse:function(t){var e=Rt(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=Lt(t+="",Nt);return e.toString=function(){return t},e},utcParse:function(t){var e=Rt(t+="",!0);return e.toString=function(){return t},e}}}var d={"-":"",_:" ",0:"0"},p=/^\s*\d+/,v=/^%/,g=/[\\^$*+?|[\]().{}]/g;function y(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",a=i.length;return r+(a<n?new Array(n-a+1).join(e)+i:i)}function m(t){return t.replace(g,"\\$&")}function b(t){return new RegExp("^(?:"+t.map(m).join("|")+")","i")}function w(t){for(var e={},n=-1,r=t.length;++n<r;)e[t[n].toLowerCase()]=n;return e}function x(t,e,n){var r=p.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function A(t,e,n){var r=p.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function _(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function M(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function k(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function T(t,e,n){var r=p.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function O(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function S(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 P(t,e,n){var r=p.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function C(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function D(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function E(t,e,n){var r=p.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function N(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function j(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function L(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function R(t,e,n){var r=p.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function F(t,e,n){var r=p.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function I(t,e,n){var r=v.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function U(t,e,n){var r=p.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function H(t,e,n){var r=p.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function q(t,e){return y(t.getDate(),e,2)}function B(t,e){return y(t.getHours(),e,2)}function V(t,e){return y(t.getHours()%12||12,e,2)}function z(t,e){return y(1+o.A.count((0,u.A)(t),t),e,3)}function W(t,e){return y(t.getMilliseconds(),e,3)}function Y(t,e){return W(t,e)+"000"}function G(t,e){return y(t.getMonth()+1,e,2)}function J(t,e){return y(t.getMinutes(),e,2)}function X(t,e){return y(t.getSeconds(),e,2)}function $(t){var e=t.getDay();return 0===e?7:e}function Z(t,e){return y(a.fz.count((0,u.A)(t)-1,t),e,2)}function Q(t,e){var n=t.getDay();return t=n>=4||0===n?(0,a.dt)(t):a.dt.ceil(t),y(a.dt.count((0,u.A)(t),t)+(4===(0,u.A)(t).getDay()),e,2)}function K(t){return t.getDay()}function tt(t,e){return y(a.By.count((0,u.A)(t)-1,t),e,2)}function et(t,e){return y(t.getFullYear()%100,e,2)}function nt(t,e){return y(t.getFullYear()%1e4,e,4)}function rt(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+y(e/60|0,"0",2)+y(e%60,"0",2)}function it(t,e){return y(t.getUTCDate(),e,2)}function at(t,e){return y(t.getUTCHours(),e,2)}function ot(t,e){return y(t.getUTCHours()%12||12,e,2)}function ut(t,e){return y(1+i.A.count((0,c.A)(t),t),e,3)}function ct(t,e){return y(t.getUTCMilliseconds(),e,3)}function st(t,e){return ct(t,e)+"000"}function lt(t,e){return y(t.getUTCMonth()+1,e,2)}function ft(t,e){return y(t.getUTCMinutes(),e,2)}function ht(t,e){return y(t.getUTCSeconds(),e,2)}function dt(t){var e=t.getUTCDay();return 0===e?7:e}function pt(t,e){return y(r.Hl.count((0,c.A)(t)-1,t),e,2)}function vt(t,e){var n=t.getUTCDay();return t=n>=4||0===n?(0,r.pT)(t):r.pT.ceil(t),y(r.pT.count((0,c.A)(t),t)+(4===(0,c.A)(t).getUTCDay()),e,2)}function gt(t){return t.getUTCDay()}function yt(t,e){return y(r.rt.count((0,c.A)(t)-1,t),e,2)}function mt(t,e){return y(t.getUTCFullYear()%100,e,2)}function bt(t,e){return y(t.getUTCFullYear()%1e4,e,4)}function wt(){return"+0000"}function xt(){return"%"}function At(t){return+t}function _t(t){return Math.floor(+t/1e3)}},293:function(t,e,n){"use strict";var r=n(2834),i=n(9551),a=(0,r.A)((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())*i.rR)/i.Nm}),(function(t){return t.getDate()-1}));e.A=a;a.range},9551:function(t,e,n){"use strict";n.d(e,{Fq:function(){return u},JJ:function(){return a},Nm:function(){return o},Tt:function(){return r},rR:function(){return i}});var r=1e3,i=6e4,a=36e5,o=864e5,u=6048e5},9017:function(t,e,n){"use strict";var r=n(2834),i=n(9551),a=(0,r.A)((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*i.Tt-t.getMinutes()*i.rR)}),(function(t,e){t.setTime(+t+e*i.JJ)}),(function(t,e){return(e-t)/i.JJ}),(function(t){return t.getHours()}));e.A=a;a.range},2834:function(t,e,n){"use strict";n.d(e,{A:function(){return a}});var r=new Date,i=new Date;function a(t,e,n,o){function u(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return u.floor=function(e){return t(e=new Date(+e)),e},u.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},u.round=function(t){var e=u(t),n=u.ceil(t);return t-e<n-t?e:n},u.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},u.range=function(n,r,i){var a,o=[];if(n=u.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return o;do{o.push(a=new Date(+n)),e(n,i),t(n)}while(a<n&&n<r);return o},u.filter=function(n){return a((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&&(u.count=function(e,a){return r.setTime(+e),i.setTime(+a),t(r),t(i),Math.floor(n(r,i))},u.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?u.filter(o?function(e){return o(e)%t==0}:function(e){return u.count(0,e)%t==0}):u:null}),u}},6530:function(t,e,n){"use strict";var r=n(2834),i=(0,r.A)((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?(0,r.A)((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):i:null},e.A=i;i.range},3383:function(t,e,n){"use strict";var r=n(2834),i=n(9551),a=(0,r.A)((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*i.Tt)}),(function(t,e){t.setTime(+t+e*i.rR)}),(function(t,e){return(e-t)/i.rR}),(function(t){return t.getMinutes()}));e.A=a;a.range},7849:function(t,e,n){"use strict";var r=(0,n(2834).A)((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()}));e.A=r;r.range},1147:function(t,e,n){"use strict";var r=n(2834),i=n(9551),a=(0,r.A)((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+e*i.Tt)}),(function(t,e){return(e-t)/i.Tt}),(function(t){return t.getUTCSeconds()}));e.A=a;a.range},3675:function(t,e,n){"use strict";var r=n(2834),i=n(9551),a=(0,r.A)((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/i.Nm}),(function(t){return t.getUTCDate()-1}));e.A=a;a.range},6453:function(t,e,n){"use strict";n.d(e,{Hl:function(){return o},pT:function(){return l},rt:function(){return u}});var r=n(2834),i=n(9551);function a(t){return(0,r.A)((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)/i.Fq}))}var o=a(0),u=a(1),c=a(2),s=a(3),l=a(4),f=a(5),h=a(6);o.range,u.range,c.range,s.range,l.range,f.range,h.range},5768:function(t,e,n){"use strict";var r=n(2834),i=(0,r.A)((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()}));i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?(0,r.A)((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},e.A=i;i.range},1779:function(t,e,n){"use strict";n.d(e,{By:function(){return u},dt:function(){return l},fz:function(){return o}});var r=n(2834),i=n(9551);function a(t){return(0,r.A)((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())*i.rR)/i.Fq}))}var o=a(0),u=a(1),c=a(2),s=a(3),l=a(4),f=a(5),h=a(6);o.range,u.range,c.range,s.range,l.range,f.range,h.range},2706:function(t,e,n){"use strict";var r=n(2834),i=(0,r.A)((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()}));i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?(0,r.A)((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},e.A=i;i.range},359:function(t,e,n){"use strict";n.r(e),n.d(e,{active:function(){return Pt},interrupt:function(){return F},transition:function(){return _t}});var r,i,a=n(2906),o=n(2996),u=0,c=0,s=0,l=1e3,f=0,h=0,d=0,p="object"==typeof performance&&performance.now?performance:Date,v="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function g(){return h||(v(y),h=p.now()+d)}function y(){h=0}function m(){this._call=this._time=this._next=null}function b(t,e,n){var r=new m;return r.restart(t,e,n),r}function w(){h=(f=p.now())+d,u=c=0;try{!function(){g(),++u;for(var t,e=r;e;)(t=h-e._time)>=0&&e._call.call(null,t),e=e._next;--u}()}finally{u=0,function(){var t,e,n=r,a=1/0;for(;n;)n._call?(a>n._time&&(a=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:r=e);i=t,A(a)}(),h=0}}function x(){var t=p.now(),e=t-f;e>l&&(d-=e,f=t)}function A(t){u||(c&&(c=clearTimeout(c)),t-h>24?(t<1/0&&(c=setTimeout(w,t-p.now()-d)),s&&(s=clearInterval(s))):(s||(f=p.now(),s=setInterval(x,l)),u=1,v(w)))}function _(t,e,n){var r=new m;return e=null==e?0:+e,r.restart((function(n){r.stop(),t(n+e)}),e,n),r}m.prototype=b.prototype={constructor:m,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?g():+n)+(null==e?0:+e),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=n,A()},stop:function(){this._call&&(this._call=null,this._time=1/0,A())}};var M=(0,o.A)("start","end","cancel","interrupt"),k=[],T=0,O=1,S=2,P=3,C=4,D=5,E=6;function N(t,e,n,r,i,a){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function a(t){n.state=O,n.timer.restart(o,n.delay,n.time),n.delay<=t&&o(t-n.delay)}function o(a){var s,l,f,h;if(n.state!==O)return c();for(s in i)if((h=i[s]).name===n.name){if(h.state===P)return _(o);h.state===C?(h.state=E,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[s]):+s<e&&(h.state=E,h.timer.stop(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete i[s])}if(_((function(){n.state===P&&(n.state=C,n.timer.restart(u,n.delay,n.time),u(a))})),n.state=S,n.on.call("start",t,t.__data__,n.index,n.group),n.state===S){for(n.state=P,r=new Array(f=n.tween.length),s=0,l=-1;s<f;++s)(h=n.tween[s].value.call(t,t.__data__,n.index,n.group))&&(r[++l]=h);r.length=l+1}}function u(e){for(var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(c),n.state=D,1),a=-1,o=r.length;++a<o;)r[a].call(t,i);n.state===D&&(n.on.call("end",t,t.__data__,n.index,n.group),c())}function c(){for(var r in n.state=E,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=b(a,0,n.time)}(t,n,{name:e,index:r,group:i,on:M,tween:k,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:T})}function j(t,e){var n=R(t,e);if(n.state>T)throw new Error("too late; already scheduled");return n}function L(t,e){var n=R(t,e);if(n.state>P)throw new Error("too late; already running");return n}function R(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function F(t,e){var n,r,i,a=t.__transition,o=!0;if(a){for(i in e=null==e?null:e+"",a)(n=a[i]).name===e?(r=n.state>S&&n.state<D,n.state=E,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete a[i]):o=!1;o&&delete t.__transition}}var I,U,H,q,B=n(5566),V=180/Math.PI,z={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function W(t,e,n,r,i,a){var o,u,c;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(c=t*n+e*r)&&(n-=t*c,r-=e*c),(u=Math.sqrt(n*n+r*r))&&(n/=u,r/=u,c/=u),t*r<e*n&&(t=-t,e=-e,c=-c,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(e,t)*V,skewX:Math.atan(c)*V,scaleX:o,scaleY:u}}function Y(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}return function(a,o){var u=[],c=[];return a=t(a),o=t(o),function(t,r,i,a,o,u){if(t!==i||r!==a){var c=o.push("translate(",null,e,null,n);u.push({i:c-4,x:(0,B.A)(t,i)},{i:c-2,x:(0,B.A)(r,a)})}else(i||a)&&o.push("translate("+i+e+a+n)}(a.translateX,a.translateY,o.translateX,o.translateY,u,c),function(t,e,n,a){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),a.push({i:n.push(i(n)+"rotate(",null,r)-2,x:(0,B.A)(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(a.rotate,o.rotate,u,c),function(t,e,n,a){t!==e?a.push({i:n.push(i(n)+"skewX(",null,r)-2,x:(0,B.A)(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(a.skewX,o.skewX,u,c),function(t,e,n,r,a,o){if(t!==n||e!==r){var u=a.push(i(a)+"scale(",null,",",null,")");o.push({i:u-4,x:(0,B.A)(t,n)},{i:u-2,x:(0,B.A)(e,r)})}else 1===n&&1===r||a.push(i(a)+"scale("+n+","+r+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,u,c),a=o=null,function(t){for(var e,n=-1,r=c.length;++n<r;)u[(e=c[n]).i]=e.x(t);return u.join("")}}}var G=Y((function(t){return"none"===t?z:(I||(I=document.createElement("DIV"),U=document.documentElement,H=document.defaultView),I.style.transform=t,t=H.getComputedStyle(U.appendChild(I),null).getPropertyValue("transform"),U.removeChild(I),W(+(t=t.slice(7,-1).split(","))[0],+t[1],+t[2],+t[3],+t[4],+t[5]))}),"px, ","px)","deg)"),J=Y((function(t){return null==t?z:(q||(q=document.createElementNS("http://www.w3.org/2000/svg","g")),q.setAttribute("transform",t),(t=q.transform.baseVal.consolidate())?W((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):z)}),", ",")",")"),X=n(6357);function $(t,e){var n,r;return function(){var i=L(this,t),a=i.tween;if(a!==n)for(var o=0,u=(r=n=a).length;o<u;++o)if(r[o].name===e){(r=r.slice()).splice(o,1);break}i.tween=r}}function Z(t,e,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var a=L(this,t),o=a.tween;if(o!==r){i=(r=o).slice();for(var u={name:e,value:n},c=0,s=i.length;c<s;++c)if(i[c].name===e){i[c]=u;break}c===s&&i.push(u)}a.tween=i}}function Q(t,e,n){var r=t._id;return t.each((function(){var t=L(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)})),function(t){return R(t,r).value[e]}}var K=n(3844),tt=n(5587),et=n(3318);function nt(t,e){var n;return("number"==typeof e?B.A:e instanceof K.Ay?tt.Ay:(n=(0,K.Ay)(e))?(e=n,tt.Ay):et.A)(t,e)}function rt(t){return function(){this.removeAttribute(t)}}function it(t){return function(){this.removeAttributeNS(t.space,t.local)}}function at(t,e,n){var r,i,a=n+"";return function(){var o=this.getAttribute(t);return o===a?null:o===r?i:i=e(r=o,n)}}function ot(t,e,n){var r,i,a=n+"";return function(){var o=this.getAttributeNS(t.space,t.local);return o===a?null:o===r?i:i=e(r=o,n)}}function ut(t,e,n){var r,i,a;return function(){var o,u,c=n(this);if(null!=c)return(o=this.getAttribute(t))===(u=c+"")?null:o===r&&u===i?a:(i=u,a=e(r=o,c));this.removeAttribute(t)}}function ct(t,e,n){var r,i,a;return function(){var o,u,c=n(this);if(null!=c)return(o=this.getAttributeNS(t.space,t.local))===(u=c+"")?null:o===r&&u===i?a:(i=u,a=e(r=o,c));this.removeAttributeNS(t.space,t.local)}}function st(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}(t,i)),n}return i._value=e,i}function lt(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}(t,i)),n}return i._value=e,i}function ft(t,e){return function(){j(this,t).delay=+e.apply(this,arguments)}}function ht(t,e){return e=+e,function(){j(this,t).delay=e}}function dt(t,e){return function(){L(this,t).duration=+e.apply(this,arguments)}}function pt(t,e){return e=+e,function(){L(this,t).duration=e}}var vt=n(4692);var gt=n(9729);var yt=n(1118);var mt=a.Ay.prototype.constructor;var bt=n(7626);function wt(t){return function(){this.style.removeProperty(t)}}var xt=0;function At(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function _t(t){return(0,a.Ay)().transition(t)}function Mt(){return++xt}var kt=a.Ay.prototype;At.prototype=_t.prototype={constructor:At,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=(0,gt.A)(t));for(var r=this._groups,i=r.length,a=new Array(i),o=0;o<i;++o)for(var u,c,s=r[o],l=s.length,f=a[o]=new Array(l),h=0;h<l;++h)(u=s[h])&&(c=t.call(u,u.__data__,h,s))&&("__data__"in u&&(c.__data__=u.__data__),f[h]=c,N(f[h],e,n,h,f,R(u,n)));return new At(a,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=(0,yt.A)(t));for(var r=this._groups,i=r.length,a=[],o=[],u=0;u<i;++u)for(var c,s=r[u],l=s.length,f=0;f<l;++f)if(c=s[f]){for(var h,d=t.call(c,c.__data__,f,s),p=R(c,n),v=0,g=d.length;v<g;++v)(h=d[v])&&N(h,e,n,v,d,p);a.push(d),o.push(c)}return new At(a,o,e,n)},filter:function(t){"function"!=typeof t&&(t=(0,vt.A)(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var a,o=e[i],u=o.length,c=r[i]=[],s=0;s<u;++s)(a=o[s])&&t.call(a,a.__data__,s,o)&&c.push(a);return new At(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,a=Math.min(r,i),o=new Array(r),u=0;u<a;++u)for(var c,s=e[u],l=n[u],f=s.length,h=o[u]=new Array(f),d=0;d<f;++d)(c=s[d]||l[d])&&(h[d]=c);for(;u<r;++u)o[u]=e[u];return new At(o,this._parents,this._name,this._id)},selection:function(){return new mt(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=Mt(),r=this._groups,i=r.length,a=0;a<i;++a)for(var o,u=r[a],c=u.length,s=0;s<c;++s)if(o=u[s]){var l=R(o,e);N(o,t,n,s,u,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new At(r,this._parents,t,n)},call:kt.call,nodes:kt.nodes,node:kt.node,size:kt.size,empty:kt.empty,each:kt.each,on:function(t,e){var n=this._id;return arguments.length<2?R(this.node(),n).on.on(t):this.each(function(t,e,n){var r,i,a=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)?j:L;return function(){var o=a(this,t),u=o.on;u!==r&&(i=(r=u).copy()).on(e,n),o.on=i}}(n,t,e))},attr:function(t,e){var n=(0,X.A)(t),r="transform"===n?J:nt;return this.attrTween(t,"function"==typeof e?(n.local?ct:ut)(n,r,Q(this,"attr."+t,e)):null==e?(n.local?it:rt)(n):(n.local?ot:at)(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=(0,X.A)(t);return this.tween(n,(r.local?st:lt)(r,e))},style:function(t,e,n){var r="transform"==(t+="")?G:nt;return null==e?this.styleTween(t,function(t,e){var n,r,i;return function(){var a=(0,bt.j)(this,t),o=(this.style.removeProperty(t),(0,bt.j)(this,t));return a===o?null:a===n&&o===r?i:i=e(n=a,r=o)}}(t,r)).on("end.style."+t,wt(t)):"function"==typeof e?this.styleTween(t,function(t,e,n){var r,i,a;return function(){var o=(0,bt.j)(this,t),u=n(this),c=u+"";return null==u&&(this.style.removeProperty(t),c=u=(0,bt.j)(this,t)),o===c?null:o===r&&c===i?a:(i=c,a=e(r=o,u))}}(t,r,Q(this,"style."+t,e))).each(function(t,e){var n,r,i,a,o="style."+e,u="end."+o;return function(){var c=L(this,t),s=c.on,l=null==c.value[o]?a||(a=wt(e)):void 0;s===n&&i===l||(r=(n=s).copy()).on(u,i=l),c.on=r}}(this._id,t)):this.styleTween(t,function(t,e,n){var r,i,a=n+"";return function(){var o=(0,bt.j)(this,t);return o===a?null:o===r?i:i=e(r=o,n)}}(t,r,e),n).on("end.style."+t,null)},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){var r,i;function a(){var a=e.apply(this,arguments);return a!==i&&(r=(i=a)&&function(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}(t,a,n)),r}return a._value=e,a}(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}}(Q(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw new Error;return this.tween(e,function(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&function(t){return function(e){this.textContent=t.call(this,e)}}(r)),e}return r._value=t,r}(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=R(this.node(),n).tween,a=0,o=i.length;a<o;++a)if((r=i[a]).name===t)return r.value;return null}return this.each((null==e?$:Z)(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?ft:ht)(e,t)):R(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?dt:pt)(e,t)):R(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(){L(this,t).ease=e}}(e,t)):R(this.node(),e).ease},end:function(){var t,e,n=this,r=n._id,i=n.size();return new Promise((function(a,o){var u={value:o},c={value:function(){0==--i&&a()}};n.each((function(){var n=L(this,r),i=n.on;i!==t&&((e=(t=i).copy())._.cancel.push(u),e._.interrupt.push(u),e._.end.push(c)),n.on=e}))}))}};var Tt={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function Ot(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))return Tt.time=g(),Tt;return n}a.Ay.prototype.interrupt=function(t){return this.each((function(){F(this,t)}))},a.Ay.prototype.transition=function(t){var e,n;t instanceof At?(e=t._id,t=t._name):(e=Mt(),(n=Tt).time=g(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,a=0;a<i;++a)for(var o,u=r[a],c=u.length,s=0;s<c;++s)(o=u[s])&&N(o,t,e,s,u,n||Ot(o,e));return new At(r,this._parents,t,e)};var St=[null];function Pt(t,e){var n,r,i=t.__transition;if(i)for(r in e=null==e?null:e+"",i)if((n=i[r]).state>O&&n.name===e)return new At([[t]],St,e,+r);return null}},5626:function(t,e,n){var r,i,a,o,u,c;"undefined"!=typeof self&&self,t.exports=(r=n(7865),i=n(5783),a=n(359),o=n(6914),u=n(8116),c=n(8100),function(t){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}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get: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,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),u=(n.n(o),n(3)),c=(n.n(u),n(4)),s=(n.n(c),n(5)),l=(n.n(s),n(6)),f=(n.n(l),n(7)),h=n.n(f),d=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),p=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},v=function(t){return t.w},g=function(t){return t.h},y=function(t){return t},m=function(t){function e(t,n){r(this,e);var a=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.layers.create(["dummy",{main:["axis","link","label","dot"]}]),a.layers.get("main/axis").classed("axis",!0),a.force=new h.a.Force(n.labella),a.updateLabelText=a.updateLabelText.bind(a),a.visualize=a.visualize.bind(a),a.on("data",a.visualize),a.on("options",a.visualize),a.on("resize",a.visualize),a}return a(e,t),d(e,null,[{key:"getDefaultOptions",value:function(){return l.helper.deepExtend(p(e.__proto__||Object.getPrototypeOf(e),"getDefaultOptions",this).call(this),{margin:{left:40,right:20,top:20,bottom:20},initialWidth:400,initialHeight:400,scale:Object(u.scaleTime)(),domain:void 0,direction:"right",dotRadius:3,formatAxis:y,layerGap:60,labella:{},keyFn:void 0,timeFn:function(t){return t.time},textFn:function(t){return t.text},dotColor:"#222",labelBgColor:"#222",labelTextColor:"#fff",linkColor:"#222",labelPadding:{left:4,right:4,top:3,bottom:2},textYOffset:"0.85em"})}},{key:"getCustomEventNames",value:function(){return["dotClick","dotMouseover","dotMousemove","dotMouseout","dotMouseenter","dotMouseleave","labelClick","labelMouseover","labelMousemove","labelMouseenter","labelMouseleave","labelMouseout"]}}]),d(e,[{key:"resizeToFit",value:function(){var t=this.options(),e=void 0,n=this.force.nodes();switch(t.direction){case"up":e=Object(s.max)(n,(function(t){return Math.abs(t.y)}))||0,this.height(e+t.margin.top+t.margin.bottom);break;case"down":e=Object(s.max)(n,(function(t){return Math.abs(t.y+t.dy)}))||0,this.height(e+t.margin.top+t.margin.bottom);break;case"left":e=Object(s.max)(n,(function(t){return Math.abs(t.x)}))||0,this.width(e+t.margin.left+t.margin.right);break;case"right":e=Object(s.max)(n,(function(t){return Math.abs(t.x+t.dx)}))||0,this.width(e+t.margin.left+t.margin.right)}return this}},{key:"updateLabelText",value:function(t,e,n){var r=this.options();return n=n?l.helper.functor(n):y,t.text((function(t){return r.textFn(n(t))})).attr("dy",r.textYOffset).attr("x",r.labelPadding.left).attr("y",r.labelPadding.top),Object.keys(e).forEach((function(r){var i=e[r];t.style(r,(function(t,e){return i(n(t),e)}))})),t}},{key:"drawAxes",value:function(){var t=this.options(),e=void 0;switch(t.direction){case"right":this.axis=Object(o.axisLeft)(),e="translate(0,0)";break;case"left":this.axis=Object(o.axisRight)(),e="translate("+this.getInnerWidth()+",0)";break;case"up":this.axis=Object(o.axisBottom)(),e="translate(0,"+this.getInnerHeight()+")";break;case"down":this.axis=Object(o.axisTop)(),e="translate(0,0)"}return this.layers.get("main").attr("transform",e),(t.formatAxis||y)(this.axis.scale(t.scale)),this.layers.get("main/axis").call(this.axis),this}},{key:"drawDots",value:function(t){var e=this.options(),n=function(t){return e.scale(e.timeFn(t))},r=this.layers.get("main/dot").selectAll("circle.dot").data(t,e.keyFn),i="left"===e.direction||"right"===e.direction?"cy":"cx";return r.enter().append("circle").classed("dot",!0).on("click",this.dispatchAs("dotClick")).on("mouseover",this.dispatchAs("dotMouseover")).on("mousemove",this.dispatchAs("dotMousemove")).on("mouseout",this.dispatchAs("dotMouseout")).on("mouseenter",this.dispatchAs("dotMouseenter")).on("mouseleave",this.dispatchAs("dotMouseleave")).style("fill",e.dotColor).attr("r",e.dotRadius).attr(i,n),r.transition().style("fill",e.dotColor).attr("r",e.dotRadius).attr(i,n),r.exit().remove(),this}},{key:"drawLabels",value:function(t,e){function n(t){switch(r.direction){case"right":return"translate("+t.x+","+(t.y-t.dy/2)+")";case"left":return"translate("+(t.x+i-t.w)+","+(t.y-t.dy/2)+")";case"up":case"down":return"translate("+(t.x-t.dx/2)+","+t.y+")"}}var r=this.options(),i=void 0;i="left"===r.direction||"right"===r.direction?Object(s.max)(t,v):Object(s.max)(t,g);var a=new h.a.Renderer({nodeHeight:i,layerGap:r.layerGap,direction:r.direction});a.layout(t);var o=l.helper.functor(r.labelBgColor),u=l.helper.functor(r.linkColor),c=this.layers.get("main/label").selectAll("g.label-g").data(t,r.keyFn?function(t){return r.keyFn(t.data)}:void 0),f=c.enter().append("g").classed("label-g",!0).on("click",this.dispatchAs("labelClick")).on("mouseover",this.dispatchAs("labelMouseover")).on("mousemove",this.dispatchAs("labelMousemove")).on("mouseenter",this.dispatchAs("labelMouseenter")).on("mouseleave",this.dispatchAs("labelMouseleave")).on("mouseout",this.dispatchAs("labelMouseout")).attr("transform",n);f.append("rect").classed("label-bg",!0).attr("rx",2).attr("ry",2).attr("width",v).attr("height",g).style("fill",(function(t){return o(t.data)})),f.append("text").classed("label-text",!0).call(this.updateLabelText,e,(function(t){return t.data}));var d=c.transition().attr("transform",n);d.select("rect").attr("width",v).attr("height",g).style("fill",(function(t){return o(t.data)})),d.select("text.label-text").call(this.updateLabelText,e,(function(t){return t.data})),c.exit().remove();var p=this.layers.get("main/link").selectAll("path.link").data(t,r.keyFn?function(t){return r.keyFn(t.data)}:void 0);return p.enter().append("path").classed("link",!0).attr("d",(function(t){return a.generatePath(t)})).style("stroke",(function(t){return u(t.data)})).style("fill","none"),p.transition().attr("d",(function(t){return a.generatePath(t)})).style("stroke",(function(t){return u(t.data)})),p.exit().remove(),this}},{key:"visualize",value:function(){var t=this;if(this.hasData()&&this.hasNonZeroArea()){var e=this.data()||[],n=this.options();this.force=new h.a.Force(n.labella),n.domain?n.scale.domain(n.domain):n.scale.domain(Object(s.extent)(e,n.timeFn)).nice(),n.scale.range([0,"left"===n.direction||"right"===n.direction?this.getInnerHeight():this.getInnerWidth()]);var r=l.helper.extend({},n.textStyle);Object.keys(r).forEach((function(t){r[t]=l.helper.functor(r[t])})),r.fill=r.fill||l.helper.functor(n.labelTextColor);var i=this.layers.get("dummy").append("text").classed("label-text",!0),a=function(t){return n.scale(n.timeFn(t))},o=e.map((function(e){var o=i.call(t.updateLabelText,r,e).node().getBBox(),u=o.width+n.labelPadding.left+n.labelPadding.right,c=o.height+n.labelPadding.top+n.labelPadding.bottom,s=new h.a.Node(a(e),"left"===n.direction||"right"===n.direction?c:u,e);return s.w=u,s.h=c,s}));return i.remove(),this.force.options(n.labella).nodes(o).compute(),this.drawAxes(),this.drawDots(e),this.drawLabels(this.force.nodes(),r),this}}}]),e}(l.SvgChart);e.default=m},function(t,e){t.exports=r},function(t,e){t.exports=i},function(t,e){t.exports=a},function(t,e){t.exports=o},function(t,e){t.exports=u},function(t,e){t.exports=c}]).default)},5783:function(t,e,n){"use strict";n.r(e),n.d(e,{interpolateCool:function(){return Jt},interpolateCubehelixDefault:function(){return Yt},interpolateInferno:function(){return te},interpolateMagma:function(){return Kt},interpolatePlasma:function(){return ee},interpolateRainbow:function(){return $t},interpolateViridis:function(){return Qt},interpolateWarm:function(){return Gt},scaleBand:function(){return l},scaleIdentity:function(){return D},scaleImplicit:function(){return c},scaleLinear:function(){return C},scaleLog:function(){return U},scaleOrdinal:function(){return s},scalePoint:function(){return h},scalePow:function(){return q},scaleQuantile:function(){return V},scaleQuantize:function(){return z},scaleSequential:function(){return ne},scaleSqrt:function(){return B},scaleThreshold:function(){return W},scaleTime:function(){return ft},scaleUtc:function(){return _t},schemeCategory10:function(){return kt},schemeCategory20:function(){return St},schemeCategory20b:function(){return Tt},schemeCategory20c:function(){return Ot}});var r=n(6914),i=n(1918),a=Array.prototype,o=a.map,u=a.slice,c={name:"implicit"};function s(t){var e=(0,i.Tj)(),n=[],r=c;function a(i){var a=i+"",o=e.get(a);if(!o){if(r!==c)return r;e.set(a,o=n.push(i))}return t[(o-1)%t.length]}return t=null==t?[]:u.call(t),a.domain=function(t){if(!arguments.length)return n.slice();n=[],e=(0,i.Tj)();for(var r,o,u=-1,c=t.length;++u<c;)e.has(o=(r=t[u])+"")||e.set(o,n.push(r));return a},a.range=function(e){return arguments.length?(t=u.call(e),a):t.slice()},a.unknown=function(t){return arguments.length?(r=t,a):r},a.copy=function(){return s().domain(n).range(t).unknown(r)},a}function l(){var t,e,n=s().unknown(void 0),i=n.domain,a=n.range,o=[0,1],u=!1,c=0,f=0,h=.5;function d(){var n=i().length,s=o[1]<o[0],l=o[s-0],d=o[1-s];t=(d-l)/Math.max(1,n-c+2*f),u&&(t=Math.floor(t)),l+=(d-l-t*(n-c))*h,e=t*(1-c),u&&(l=Math.round(l),e=Math.round(e));var p=(0,r.range)(n).map((function(e){return l+t*e}));return a(s?p.reverse():p)}return delete n.unknown,n.domain=function(t){return arguments.length?(i(t),d()):i()},n.range=function(t){return arguments.length?(o=[+t[0],+t[1]],d()):o.slice()},n.rangeRound=function(t){return o=[+t[0],+t[1]],u=!0,d()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(u=!!t,d()):u},n.padding=function(t){return arguments.length?(c=f=Math.max(0,Math.min(1,t)),d()):c},n.paddingInner=function(t){return arguments.length?(c=Math.max(0,Math.min(1,t)),d()):c},n.paddingOuter=function(t){return arguments.length?(f=Math.max(0,Math.min(1,t)),d()):f},n.align=function(t){return arguments.length?(h=Math.max(0,Math.min(1,t)),d()):h},n.copy=function(){return l().domain(i()).range(o).round(u).paddingInner(c).paddingOuter(f).align(h)},d()}function f(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return f(e())},t}function h(){return f(l().paddingInner(1))}var d=n(5566),p=n(7331),v=n(5307);function g(t){return function(){return t}}function y(t){return+t}var m=[0,1];function b(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:g(e)}function w(t,e,n,r){var i=t[0],a=t[1],o=e[0],u=e[1];return a<i?(i=n(a,i),o=r(u,o)):(i=n(i,a),o=r(o,u)),function(t){return o(i(t))}}function x(t,e,n,i){var a=Math.min(t.length,e.length)-1,o=new Array(a),u=new Array(a),c=-1;for(t[a]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++c<a;)o[c]=n(t[c],t[c+1]),u[c]=i(e[c],e[c+1]);return function(e){var n=(0,r.bisect)(t,e,1,a)-1;return u[n](o[n](e))}}function A(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp())}function _(t,e){var n,r,i,a=m,c=m,s=p.A,l=!1;function f(){return n=Math.min(a.length,c.length)>2?x:w,r=i=null,h}function h(e){return(r||(r=n(a,c,l?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 h.invert=function(t){return(i||(i=n(c,a,b,l?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)},h.domain=function(t){return arguments.length?(a=o.call(t,y),f()):a.slice()},h.range=function(t){return arguments.length?(c=u.call(t),f()):c.slice()},h.rangeRound=function(t){return c=u.call(t),s=v.A,f()},h.clamp=function(t){return arguments.length?(l=!!t,f()):l},h.interpolate=function(t){return arguments.length?(s=t,f()):s},f()}var M=n(1688),k=n(6093),T=n(4626),O=n(8209),S=n(3391);function P(t){var e=t.domain;return t.ticks=function(t){var n=e();return(0,r.ticks)(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){return function(t,e,n){var i,a=t[0],o=t[t.length-1],u=(0,r.tickStep)(a,o,null==e?10:e);switch((n=(0,M.A)(null==n?",f":n)).type){case"s":var c=Math.max(Math.abs(a),Math.abs(o));return null!=n.precision||isNaN(i=(0,k.A)(u,c))||(n.precision=i),(0,T.s)(n,c);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(i=(0,O.A)(u,Math.max(Math.abs(a),Math.abs(o))))||(n.precision=i-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(i=(0,S.A)(u))||(n.precision=i-2*("%"===n.type))}return(0,T.GP)(n)}(e(),t,n)},t.nice=function(n){null==n&&(n=10);var i,a=e(),o=0,u=a.length-1,c=a[o],s=a[u];return s<c&&(i=c,c=s,s=i,i=o,o=u,u=i),(i=(0,r.tickIncrement)(c,s,n))>0?(c=Math.floor(c/i)*i,s=Math.ceil(s/i)*i,i=(0,r.tickIncrement)(c,s,n)):i<0&&(c=Math.ceil(c*i)/i,s=Math.floor(s*i)/i,i=(0,r.tickIncrement)(c,s,n)),i>0?(a[o]=Math.floor(c/i)*i,a[u]=Math.ceil(s/i)*i,e(a)):i<0&&(a[o]=Math.ceil(c*i)/i,a[u]=Math.floor(s*i)/i,e(a)),t},t}function C(){var t=_(b,d.A);return t.copy=function(){return A(t,C())},P(t)}function D(){var t=[0,1];function e(t){return+t}return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=o.call(n,y),e):t.slice()},e.copy=function(){return D().domain(t)},P(e)}function E(t,e){var n,r=0,i=(t=t.slice()).length-1,a=t[r],o=t[i];return o<a&&(n=r,r=i,i=n,n=a,a=o,o=n),t[r]=e.floor(a),t[i]=e.ceil(o),t}function N(t,e){return(e=Math.log(e/t))?function(n){return Math.log(n/t)/e}:g(e)}function j(t,e){return t<0?function(n){return-Math.pow(-e,n)*Math.pow(-t,1-n)}:function(n){return Math.pow(e,n)*Math.pow(t,1-n)}}function L(t){return isFinite(t)?+("1e"+t):t<0?0:t}function R(t){return 10===t?L:t===Math.E?Math.exp:function(e){return Math.pow(t,e)}}function F(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(e){return Math.log(e)/t})}function I(t){return function(e){return-t(-e)}}function U(){var t=_(N,j).domain([1,10]),e=t.domain,n=10,i=F(10),a=R(10);function o(){return i=F(n),a=R(n),e()[0]<0&&(i=I(i),a=I(a)),t}return t.base=function(t){return arguments.length?(n=+t,o()):n},t.domain=function(t){return arguments.length?(e(t),o()):e()},t.ticks=function(t){var o,u=e(),c=u[0],s=u[u.length-1];(o=s<c)&&(d=c,c=s,s=d);var l,f,h,d=i(c),p=i(s),v=null==t?10:+t,g=[];if(!(n%1)&&p-d<v){if(d=Math.round(d)-1,p=Math.round(p)+1,c>0){for(;d<p;++d)for(f=1,l=a(d);f<n;++f)if(!((h=l*f)<c)){if(h>s)break;g.push(h)}}else for(;d<p;++d)for(f=n-1,l=a(d);f>=1;--f)if(!((h=l*f)<c)){if(h>s)break;g.push(h)}}else g=(0,r.ticks)(d,p,Math.min(p-d,v)).map(a);return o?g.reverse():g},t.tickFormat=function(e,r){if(null==r&&(r=10===n?".0e":","),"function"!=typeof r&&(r=(0,T.GP)(r)),e===1/0)return r;null==e&&(e=10);var o=Math.max(1,n*e/t.ticks().length);return function(t){var e=t/a(Math.round(i(t)));return e*n<n-.5&&(e*=n),e<=o?r(t):""}},t.nice=function(){return e(E(e(),{floor:function(t){return a(Math.floor(i(t)))},ceil:function(t){return a(Math.ceil(i(t)))}}))},t.copy=function(){return A(t,U().base(n))},t}function H(t,e){return t<0?-Math.pow(-t,e):Math.pow(t,e)}function q(){var t=1,e=_((function(e,n){return(n=H(n,t)-(e=H(e,t)))?function(r){return(H(r,t)-e)/n}:g(n)}),(function(e,n){return n=H(n,t)-(e=H(e,t)),function(r){return H(e+n*r,1/t)}})),n=e.domain;return e.exponent=function(e){return arguments.length?(t=+e,n(n())):t},e.copy=function(){return A(e,q().exponent(t))},P(e)}function B(){return q().exponent(.5)}function V(){var t=[],e=[],n=[];function i(){var i=0,o=Math.max(1,e.length);for(n=new Array(o-1);++i<o;)n[i-1]=(0,r.quantile)(t,i/o);return a}function a(t){if(!isNaN(t=+t))return e[(0,r.bisect)(n,t)]}return a.invertExtent=function(r){var i=e.indexOf(r);return i<0?[NaN,NaN]:[i>0?n[i-1]:t[0],i<n.length?n[i]:t[t.length-1]]},a.domain=function(e){if(!arguments.length)return t.slice();t=[];for(var n,a=0,o=e.length;a<o;++a)null==(n=e[a])||isNaN(n=+n)||t.push(n);return t.sort(r.ascending),i()},a.range=function(t){return arguments.length?(e=u.call(t),i()):e.slice()},a.quantiles=function(){return n.slice()},a.copy=function(){return V().domain(t).range(e)},a}function z(){var t=0,e=1,n=1,i=[.5],a=[0,1];function o(t){if(t<=t)return a[(0,r.bisect)(i,t,0,n)]}function c(){var r=-1;for(i=new Array(n);++r<n;)i[r]=((r+1)*e-(r-n)*t)/(n+1);return o}return o.domain=function(n){return arguments.length?(t=+n[0],e=+n[1],c()):[t,e]},o.range=function(t){return arguments.length?(n=(a=u.call(t)).length-1,c()):a.slice()},o.invertExtent=function(r){var o=a.indexOf(r);return o<0?[NaN,NaN]:o<1?[t,i[0]]:o>=n?[i[n-1],e]:[i[o-1],i[o]]},o.copy=function(){return z().domain([t,e]).range(a)},P(o)}function W(){var t=[.5],e=[0,1],n=1;function i(i){if(i<=i)return e[(0,r.bisect)(t,i,0,n)]}return i.domain=function(r){return arguments.length?(t=u.call(r),n=Math.min(t.length,e.length-1),i):t.slice()},i.range=function(r){return arguments.length?(e=u.call(r),n=Math.min(t.length,e.length-1),i):e.slice()},i.invertExtent=function(n){var r=e.indexOf(n);return[t[r-1],t[r]]},i.copy=function(){return W().domain(t).range(e)},i}var Y=n(2706),G=n(7849),J=n(1779),X=n(293),$=n(9017),Z=n(3383),Q=n(1147),K=n(6530),tt=n(2692),et=1e3,nt=60*et,rt=60*nt,it=24*rt,at=7*it,ot=30*it,ut=365*it;function ct(t){return new Date(t)}function st(t){return t instanceof Date?+t:+new Date(+t)}function lt(t,e,n,i,a,u,c,s,l){var f=_(b,d.A),h=f.invert,p=f.domain,v=l(".%L"),g=l(":%S"),y=l("%I:%M"),m=l("%I %p"),w=l("%a %d"),x=l("%b %d"),M=l("%B"),k=l("%Y"),T=[[c,1,et],[c,5,5*et],[c,15,15*et],[c,30,30*et],[u,1,nt],[u,5,5*nt],[u,15,15*nt],[u,30,30*nt],[a,1,rt],[a,3,3*rt],[a,6,6*rt],[a,12,12*rt],[i,1,it],[i,2,2*it],[n,1,at],[e,1,ot],[e,3,3*ot],[t,1,ut]];function O(r){return(c(r)<r?v:u(r)<r?g:a(r)<r?y:i(r)<r?m:e(r)<r?n(r)<r?w:x:t(r)<r?M:k)(r)}function S(e,n,i,a){if(null==e&&(e=10),"number"==typeof e){var o=Math.abs(i-n)/e,u=(0,r.bisector)((function(t){return t[2]})).right(T,o);u===T.length?(a=(0,r.tickStep)(n/ut,i/ut,e),e=t):u?(a=(u=T[o/T[u-1][2]<T[u][2]/o?u-1:u])[1],e=u[0]):(a=Math.max((0,r.tickStep)(n,i,e),1),e=s)}return null==a?e:e.every(a)}return f.invert=function(t){return new Date(h(t))},f.domain=function(t){return arguments.length?p(o.call(t,st)):p().map(ct)},f.ticks=function(t,e){var n,r=p(),i=r[0],a=r[r.length-1],o=a<i;return o&&(n=i,i=a,a=n),n=(n=S(t,i,a,e))?n.range(i,a+1):[],o?n.reverse():n},f.tickFormat=function(t,e){return null==e?O:l(e)},f.nice=function(t,e){var n=p();return(t=S(t,n[0],n[n.length-1],e))?p(E(n,t)):f},f.copy=function(){return A(f,lt(t,e,n,i,a,u,c,s,l))},f}function ft(){return lt(Y.A,G.A,J.fz,X.A,$.A,Z.A,Q.A,K.A,tt.DC).domain([new Date(2e3,0,1),new Date(2e3,0,2)])}var ht=n(5768),dt=n(2834),pt=(0,dt.A)((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()})),vt=pt,gt=(pt.range,n(6453)),yt=n(3675),mt=n(9551),bt=(0,dt.A)((function(t){t.setUTCMinutes(0,0,0)}),(function(t,e){t.setTime(+t+e*mt.JJ)}),(function(t,e){return(e-t)/mt.JJ}),(function(t){return t.getUTCHours()})),wt=bt,xt=(bt.range,(0,dt.A)((function(t){t.setUTCSeconds(0,0)}),(function(t,e){t.setTime(+t+e*mt.rR)}),(function(t,e){return(e-t)/mt.rR}),(function(t){return t.getUTCMinutes()}))),At=xt;xt.range;function _t(){return lt(ht.A,vt,gt.Hl,yt.A,wt,At,Q.A,K.A,tt.aL).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}function Mt(t){return t.match(/.{6}/g).map((function(t){return"#"+t}))}var kt=Mt("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),Tt=Mt("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),Ot=Mt("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),St=Mt("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),Pt=n(7592),Ct=n(3844),Dt=Math.PI/180,Et=180/Math.PI,Nt=-.14861,jt=1.78277,Lt=-.29227,Rt=-.90649,Ft=1.97294,It=Ft*Rt,Ut=Ft*jt,Ht=jt*Lt-Rt*Nt;function qt(t,e,n,r){return 1===arguments.length?function(t){if(t instanceof Bt)return new Bt(t.h,t.s,t.l,t.opacity);t instanceof Ct.Gw||(t=(0,Ct.b)(t));var e=t.r/255,n=t.g/255,r=t.b/255,i=(Ht*r+It*e-Ut*n)/(Ht+It-Ut),a=r-i,o=(Ft*(n-i)-Lt*a)/Rt,u=Math.sqrt(o*o+a*a)/(Ft*i*(1-i)),c=u?Math.atan2(o,a)*Et-120:NaN;return new Bt(c<0?c+360:c,u,i,t.opacity)}(t):new Bt(t,e,n,null==r?1:r)}function Bt(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}(0,Pt.A)(Bt,qt,(0,Pt.X)(Ct.Q1,{brighter:function(t){return t=null==t?Ct.Uw:Math.pow(Ct.Uw,t),new Bt(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Ct.ef:Math.pow(Ct.ef,t),new Bt(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*Dt,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t);return new Ct.Gw(255*(e+n*(Nt*r+jt*i)),255*(e+n*(Lt*r+Rt*i)),255*(e+n*(Ft*r)),this.opacity)}}));var Vt=n(6504);function zt(t){return function e(n){function r(e,r){var i=t((e=qt(e)).h,(r=qt(r)).h),a=(0,Vt.Ay)(e.s,r.s),o=(0,Vt.Ay)(e.l,r.l),u=(0,Vt.Ay)(e.opacity,r.opacity);return function(t){return e.h=i(t),e.s=a(t),e.l=o(Math.pow(t,n)),e.opacity=u(t),e+""}}return n=+n,r.gamma=e,r}(1)}zt(Vt.lG);var Wt=zt(Vt.Ay),Yt=Wt(qt(300,.5,0),qt(-240,.5,1)),Gt=Wt(qt(-100,.75,.35),qt(80,1.5,.8)),Jt=Wt(qt(260,.75,.35),qt(80,1.5,.8)),Xt=qt();function $t(t){(t<0||t>1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return Xt.h=360*t-100,Xt.s=1.5-1.5*e,Xt.l=.8-.9*e,Xt+""}function Zt(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}var Qt=Zt(Mt("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),Kt=Zt(Mt("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),te=Zt(Mt("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),ee=Zt(Mt("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function ne(t){var e=0,n=1,r=!1;function i(i){var a=(i-e)/(n-e);return t(r?Math.max(0,Math.min(1,a)):a)}return i.domain=function(t){return arguments.length?(e=+t[0],n=+t[1],i):[e,n]},i.clamp=function(t){return arguments.length?(r=!!t,i):r},i.interpolator=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return ne(t).domain([e,n]).clamp(r)},P(i)}},8116:function(t,e,n){!function(t,e,r){"use strict";function i(t){var e=void 0===t?"undefined":T(t);return null!=t&&("object"==e||"function"==e)}function a(t){var e=i(t)?L.call(t):"";return e==E||e==N||e==j}function o(t){return null!=t&&"object"==(void 0===t?"undefined":T(t))}function u(t){return"symbol"==(void 0===t?"undefined":T(t))||o(t)&&q.call(t)==H}function c(t){if("number"==typeof t)return t;if(u(t))return B;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(V,"");var n=W.test(t);return n||Y.test(t)?G(t.slice(2),n?2:8):z.test(t)?B:+t}function s(t,e,n){function r(e){var n=p,r=v;return p=v=void 0,w=e,y=t.apply(r,n)}function a(t){return w=t,m=setTimeout(s,e),x?r(t):y}function o(t){var n=e-(t-b);return A?$(n,g-(t-w)):n}function u(t){var n=t-b;return void 0===b||n>=e||0>n||A&&t-w>=g}function s(){var t=U();return u(t)?l(t):void(m=setTimeout(s,o(t)))}function l(t){return m=void 0,_&&p?r(t):(p=v=void 0,y)}function f(){void 0!==m&&clearTimeout(m),w=0,p=b=v=m=void 0}function h(){return void 0===m?y:l(U())}function d(){var t=U(),n=u(t);if(p=arguments,v=this,b=t,n){if(void 0===m)return a(b);if(A)return m=setTimeout(s,e),r(b)}return void 0===m&&(m=setTimeout(s,e)),y}var p,v,g,y,m,b,w=0,x=!1,A=!1,_=!0;if("function"!=typeof t)throw new TypeError(J);return e=c(e)||0,i(n)&&(x=!!n.leading,g=(A="maxWait"in n)?X(c(n.maxWait)||0,e):g,_="trailing"in n?!!n.trailing:_),d.cancel=f,d.flush=h,d}function l(t,e,n){var r=!0,a=!0;if("function"!=typeof t)throw new TypeError(Z);return i(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),s(t,e,{leading:r,maxWait:e,trailing:a})}function f(t){return null==t?"":String(t).replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function h(t){return null==t?"\\s":t.source?t.source:"["+f(t)+"]"}function d(t,e){if(null==t)return"";if(!e&&Q)return Q.call(t);var n=h(e),r=new RegExp("^"+n+"+|"+n+"+$","g");return String(t).replace(r,"")}function p(t){return d(t).replace(/([A-Z])/g,"-$1").replace(/[-_\s]+/g,"-").toLowerCase()}function v(t){t=t||{};for(var e=1;e<arguments.length;e++){var n=arguments[e];if(n)for(var r in n)if(n.hasOwnProperty(r)){var o=n[r];t[r]=!i(o)||Array.isArray(o)||a(o)?o:v(t[r],o)}}return t}function g(t){t=t||{};for(var e=1;e<arguments.length;e++)if(arguments[e])for(var n in arguments[e])arguments[e].hasOwnProperty(n)&&(t[n]=arguments[e][n]);return t}function y(t,e,n){return function(){var r=n.apply(e,arguments);return r===e?t:r}}function m(t,e){for(var n=1,r=arguments.length,i=void 0;++n<r;)t[i=arguments[n]]=y(t,e,e[i]);return t}function b(t){return a(t)?t:function(){return t}}function w(t){throw new Error("Missing parameter "+t)}function x(t){return null!=t}function A(t){return null==t}function _(t){return!(!t||1!==t.nodeType)}function M(t){if(A(t))return function(t,e){return Math.min(t,e)};var e=(""+t).trim().toLowerCase();if(e.indexOf("%")>-1){var n=function(){var t=+e.replace("%","")/100;return{v:function(e,n){return n*t}}}();if("object"===(void 0===n?"undefined":T(n)))return n.v}return function(){return+e.replace("px","")}}function k(t){function e(t,e){var n=arguments.length<=2||void 0===arguments[2]?"":arguments[2],r=e.split("."),i=void 0,a=void 0;r.length>1?(a=r[0].length>0?r[0]:c,i=r[1]):(a=c,i=r[0]);var o=""+n+i;if(s.hasOwnProperty(o))throw new Error("invalid or duplicate layer id: "+o);var u=p(i)+"-layer",l=t.append(a).classed(u,!0);return s[o]=l,l}function n(t,r){var a=arguments.length<=2||void 0===arguments[2]?"":arguments[2];if(Array.isArray(r))return r.map((function(e){return n(t,e,a)}));if(i(r)){var o=Object.keys(r),u=D(o,1)[0],c=e(t,u,a);return n(c,r[u],""+a+u+"/"),c}return e(t,r,a)}function r(e){return n(t,e)}function a(t){return Array.isArray(t)?t.map(r):r(t)}function o(t){return s[t]}function u(t){return!!s[t]}var c=arguments.length<=1||void 0===arguments[1]?"g":arguments[1],s={};return{create:a,get:o,has:u}}var T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},O=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},S=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),P=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},C=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},D=function(){function t(t,e){var n=[],r=!0,i=!1,a=void 0;try{for(var o,u=t[Symbol.iterator]();!(r=(o=u.next()).done)&&(n.push(o.value),!e||n.length!==e);r=!0);}catch(t){i=!0,a=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw a}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),E="[object Function]",N="[object GeneratorFunction]",j="[object Proxy]",L=Object.prototype.toString,R="object"==(void 0===n.g?"undefined":T(n.g))&&n.g&&n.g.Object===Object&&n.g,F="object"==("undefined"==typeof self?"undefined":T(self))&&self&&self.Object===Object&&self,I=R||F||Function("return this")(),U=function(){return I.Date.now()},H="[object Symbol]",q=Object.prototype.toString,B=NaN,V=/^\s+|\s+$/g,z=/^[-+]0x[0-9a-f]+$/i,W=/^0b[01]+$/i,Y=/^0o[0-7]+$/i,G=parseInt,J="Expected a function",X=Math.max,$=Math.min,Z="Expected a function",Q=String.prototype.trim,K=Object.freeze({isObject:i,isFunction:a,kebabCase:p,deepExtend:v,extend:g,rebind:m,functor:b,debounce:s,throttle:l}),tt=function(){function t(){O(this,t);for(var e=arguments.length,n=Array(e),r=0;e>r;r++)n[r]=arguments[r];if(1===n.length){var i=n[0],o=a(i)?i():i;if(o instanceof t)this.width=o.width,this.height=o.height;else if(_(o))this.width=o.clientWidth,this.height=o.clientHeight;else if(Array.isArray(o))this.width=o[0],this.height=o[1];else{if(!(x(o)&&x(o.width)&&x(o.height))){var u=new Error("Unsupported input. Must be either\n DOMNode, Array or Object with field width and height,\n or a function that returns any of the above.");throw u.value=i,u}this.width=o.width,this.height=o.height}}else{var c=n[0],s=n[1];this.width=c,this.height=s}}return S(t,[{key:"isEqual",value:function(e){if(e instanceof t)return this.width===e.width&&this.height===e.height;var n=new t(e);return this.width===n.width&&this.height===n.height}},{key:"toArray",value:function(){return[this.width,this.height]}},{key:"toObject",value:function(){return{width:this.width,height:this.height}}}]),t}(),et=function(){function t(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];O(this,t);var n=e||{},r=n.mode,i=void 0===r?t.MODE_BASIC:r,a=n.width,o=void 0===a?"100%":a,u=n.height,c=void 0===u?null:u,s=n.ratio,l=void 0===s?1:s,f=n.maxWidth,h=void 0===f?null:f,d=n.maxHeight,p=void 0===d?null:d;i===t.MODE_ASPECT_RATIO?(this.wFn=M(h),this.hFn=M(p),this.options={mode:i,ratio:l,maxWidth:h,maxHeight:p}):(this.wFn=M(o),this.hFn=M(c),this.options={mode:i,width:o,height:c})}return S(t,[{key:"fit",value:function(){var e=arguments.length<=0||void 0===arguments[0]?w("box"):arguments[0],n=arguments.length<=1||void 0===arguments[1]?w("container"):arguments[1],r=new tt(e),i=r.width,a=r.height,o=new tt(n),u=o.width,c=o.height,s=void 0;if(this.options.mode===t.MODE_ASPECT_RATIO){var l=this.options.ratio,f=this.wFn(u,u),h=this.hFn(c,c),d=Math.floor(l*h);s=f>=d?new tt(d,h):new tt(f,Math.floor(f/l))}else s=new tt(this.wFn(i,u),this.hFn(a,c));return{dimension:s,changed:!s.isEqual(r)}}}]),t}();et.MODE_BASIC="basic",et.MODE_ASPECT_RATIO="aspectRatio";var nt=function(){function t(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];O(this,t);var n=e||{},r=n.mode,i=void 0===r?t.MODE_WINDOW:r,a=n.target,o=void 0===a?null:a,u=n.interval,c=void 0===u?200:u;i!==t.MODE_POLLING||o||w("options.target"),this.mode=i,this.target=o,this.interval=c,this.check=this.check.bind(this),this.throttledCheck=l(this.check,this.interval),this.isWatching=!1,this.listeners={change:[]}}return S(t,[{key:"hasTargetChanged",value:function(){if(!this.target)return!0;var t=new tt(this.target);return!(this.currentDim&&t.isEqual(this.currentDim)||(this.currentDim=t,0))}},{key:"check",value:function(){return this.hasTargetChanged()&&this.dispatch("change",this.currentDim),this}},{key:"dispatch",value:function(t){for(var e=this,n=arguments.length,r=Array(n>1?n-1:0),i=1;n>i;i++)r[i-1]=arguments[i];return this.listeners[t].forEach((function(t){return t.apply(e,r)})),this}},{key:"on",value:function(t,e){return-1===this.listeners[t].indexOf(e)&&this.listeners[t].push(e),this}},{key:"off",value:function(t,e){return this.listeners[t]=this.listeners[t].filter((function(t){return t!==e})),this}},{key:"start",value:function(){return this.isWatching||(this.target&&(this.currentDim=new tt(this.target)),this.mode===t.MODE_WINDOW?window.addEventListener("resize",this.throttledCheck):this.mode===t.MODE_POLLING&&(this.intervalId=window.setInterval(this.check,this.interval)),this.isWatching=!0),this}},{key:"stop",value:function(){return this.isWatching&&(this.mode===t.MODE_WINDOW?window.removeEventListener("resize",this.throttledCheck):this.mode===t.MODE_POLLING&&this.intervalId&&(window.clearInterval(this.intervalId),this.intervalId=null),this.isWatching=!1),this}},{key:"destroy",value:function(){return this.stop(),this.listeners.change=[],this}}]),t}();nt.MODE_WINDOW="window",nt.MODE_POLLING="polling";var rt=function(t){function e(){var t=arguments.length<=0||void 0===arguments[0]?w("box"):arguments[0],n=arguments.length<=1||void 0===arguments[1]?w("container"):arguments[1],r=arguments[2],i=arguments[3];O(this,e);var a=C(this,Object.getPrototypeOf(e).call(this,i)),o=new et(r);return a.fit=function(){return o.fit(t,n)},a}return P(e,t),S(e,[{key:"check",value:function(){if(this.hasTargetChanged()){var t=this.fit(),e=t.changed,n=t.dimension;e&&this.dispatch("change",n)}return this}}]),e}(nt),it=function(){function t(){O(this,t);for(var e=arguments.length,n=Array(e),r=0;e>r;r++)n[r]=arguments[r];var i=v.apply(void 0,[this.constructor.getDefaultOptions()].concat(n));this._state={width:i.initialWidth,height:i.initialHeight,options:i},this._updateDimension=s(this._updateDimension.bind(this),1)}return S(t,null,[{key:"getDefaultOptions",value:function(){for(var t=arguments.length,e=Array(t),n=0;t>n;n++)e[n]=arguments[n];return v.apply(void 0,[{initialWidth:720,initialHeight:500,margin:{top:30,right:30,bottom:30,left:30},offset:[.5,.5],pixelRatio:window.devicePixelRatio||1}].concat(e))}}]),S(t,[{key:"copyDimension",value:function(t){if(t){var e=t._state,n=e.width,r=e.height,i=t._state.options,a=i.offset,o=i.margin,u=i.pixelRatio;v(this._state,{width:n,height:r,options:{offset:a.concat(),margin:o,pixelRatio:u}}),this._updateDimension()}return this}},{key:"width",value:function(){if(0===arguments.length)return this._state.width;var t=Math.floor(+(arguments.length<=0?void 0:arguments[0]));return t!==this._state.width&&(this._state.width=t,this._updateDimension()),this}},{key:"height",value:function(){if(0===arguments.length)return this._state.height;var t=Math.floor(+(arguments.length<=0?void 0:arguments[0]));return t!==this._state.height&&(this._state.height=t,this._updateDimension()),this}},{key:"dimension",value:function(){if(0===arguments.length)return[this._state.width,this._state.height];var t=D(arguments.length<=0?void 0:arguments[0],2),e=t[0],n=t[1];return this.width(e).height(n),this}},{key:"margin",value:function(){if(0===arguments.length)return this._state.options.margin;var t=this._state.options.margin,e=g({},this._state.options.margin,arguments.length<=0?void 0:arguments[0]);return Object.keys(e).some((function(n){return t[n]!==e[n]}))&&(this._state.options.margin=e,this._updateDimension()),this}},{key:"offset",value:function(){if(0===arguments.length)return this._state.options.offset;var t=arguments.length<=0?void 0:arguments[0],e=D(this._state.options.offset,2),n=e[0],r=e[1],i=D(t,2),a=i[0],o=i[1];return(n!==a||r!==o)&&(this._state.options.offset=t,this._updateDimension()),this}},{key:"pixelRatio",value:function(){if(0===arguments.length)return this._state.options.pixelRatio;var t=+(arguments.length<=0?void 0:arguments[0]);return t!==this._state.options.pixelRatio&&(this._state.options.pixelRatio=t,this._updateDimension()),this}},{key:"_updateDimension",value:function(){return this}},{key:"updateDimensionNow",value:function(){return this._updateDimension(),this._updateDimension.flush(),this}}]),t}(),at=function(t){function n(t){var r;O(this,n);for(var i=arguments.length,a=Array(i>1?i-1:0),o=1;i>o;o++)a[o-1]=arguments[o];var u=C(this,(r=Object.getPrototypeOf(n)).call.apply(r,[this].concat(a)));g(u._state,{innerWidth:0,innerHeight:0,fitOptions:null,data:null,plates:[]}),u.container=e.select(t),u.container.style("line-height",0),u.chartRoot=u.container.append("div").classed("d3kit-chart-root",!0).style("display","inline-block").style("position","relative").style("line-height",0),u.plates={};var c=u.constructor.getCustomEventNames();return u.setupDispatcher(c),u._dispatchData=s(u._dispatchData.bind(u),1),u._dispatchOptions=s(u._dispatchOptions.bind(u),1),u}return P(n,t),S(n,null,[{key:"getCustomEventNames",value:function(){return[]}}]),S(n,[{key:"addPlate",value:function(t,e,n){if(this.plates[t])throw new Error("Plate with this name already exists",t);return this._state.plates.push(e),this.plates[t]=e,n?e:(e.getSelection().classed("d3kit-plate",!0).style("position","absolute").style("top",0).style("left",0),this.chartRoot.append((function(){return e.getNode()})),this)}},{key:"removePlate",value:function(t){var e=this.plates[t];if(e){var n=this._state.plates.indexOf(e);n>-1&&this._state.plates.splice(n,1),e.getNode().parentNode===this.chartRoot.node()&&this.chartRoot.node().removeChild(e.getNode()),delete this.plates[t]}return this}},{key:"setupDispatcher",value:function(){var t=arguments.length<=0||void 0===arguments[0]?[]:arguments[0];return this._customEventNames=t,this._eventNames=n.DEFAULT_EVENTS.concat(t),this.dispatcher=r.dispatch.apply(this,this._eventNames),this}},{key:"getCustomEventNames",value:function(){return this._customEventNames}},{key:"getInnerWidth",value:function(){return this._state.innerWidth}},{key:"getInnerHeight",value:function(){return this._state.innerHeight}},{key:"data",value:function(){for(var t=arguments.length,e=Array(t),n=0;t>n;n++)e[n]=arguments[n];if(0===e.length)return this._state.data;var r=e[0];return this._state.data=r,this._dispatchData(),this}},{key:"options",value:function(){for(var t=arguments.length,e=Array(t),n=0;t>n;n++)e[n]=arguments[n];if(0===e.length)return this._state.options;var r=e[0],i=g({},r);return r.margin&&(this.margin(r.margin),delete i.margin),r.offset&&(this.offset(r.offset),delete i.offset),r.pixelRatio&&(this.pixelRatio(r.pixelRatio),delete i.pixelRatio),this._state.options=v(this._state.options,i),this._dispatchOptions(),this}},{key:"_updateDimension",value:function(){var t=this,e=this._state,n=e.width,r=e.height,i=e.plates,a=this._state.options.margin,o=a.top,u=a.right,c=a.bottom,s=a.left;this._state.innerWidth=n-s-u,this._state.innerHeight=r-o-c,this.chartRoot.style("width",n+"px").style("height",r+"px"),i.forEach((function(e){e.copyDimension(t).updateDimensionNow()}));var l=this._state,f=l.innerWidth,h=l.innerHeight;return this.dispatcher.apply("resize",this,[n,r,f,h]),this}},{key:"hasData",value:function(){var t=this._state.data;return null!=t}},{key:"hasNonZeroArea",value:function(){var t=this._state,e=t.innerWidth,n=t.innerHeight;return e>0&&n>0}},{key:"fit",value:function(t){var e=this,n=!(arguments.length<=1||void 0===arguments[1])&&arguments[1];t&&(this._state.fitOptions=t);var r=new et(this._state.fitOptions).fit(this.dimension(),this.container.node()),a=r.changed,o=r.dimension;return a&&this.dimension([o.width,o.height]),!!n&&(this.fitWatcher&&this.fitWatcher.destroy(),this.fitWatcher=new rt((function(){return e.dimension()}),this.container.node(),this._state.fitOptions,i(n)?n:null).on("change",(function(t){return e.dimension([t.width,t.height])})).start()),this}},{key:"stopFitWatcher",value:function(){return this.fitWatcher&&(this.fitWatcher.destroy(),this.fitWatcher=null),this}},{key:"_dispatchData",value:function(){return this.dispatcher.call("data",this,this._state.data),this}},{key:"_dispatchOptions",value:function(){return this.dispatcher.call("options",this,this._state.options),this}},{key:"on",value:function(t,e){return this.dispatcher.on(t,e),this}},{key:"off",value:function(t){return this.dispatcher.on(t,null),this}},{key:"dispatchAs",value:function(t){var e=this;return function(){for(var n=arguments.length,r=Array(n),i=0;n>i;i++)r[i]=arguments[i];e.dispatcher.apply(t,e,r)}}},{key:"destroy",value:function(){var t=this;return this._eventNames.forEach((function(e){t.off(e)})),this.stopFitWatcher(),this}}]),n}(it);at.DEFAULT_EVENTS=["data","options","resize"];var ot=function(t){function n(t){var r;O(this,n);for(var i=arguments.length,a=Array(i>1?i-1:0),o=1;i>o;o++)a[o-1]=arguments[o];var u=C(this,(r=Object.getPrototypeOf(n)).call.apply(r,[this].concat(a)));return u.node=t,u.selection=e.select(u.node),u}return P(n,t),S(n,[{key:"getNode",value:function(){return this.node}},{key:"getSelection",value:function(){return this.selection}}]),n}(it),ut=function(t){function e(){var t;O(this,e);for(var n=arguments.length,r=Array(n),i=0;n>i;i++)r[i]=arguments[i];return C(this,(t=Object.getPrototypeOf(e)).call.apply(t,[this,document.createElement("canvas")].concat(r)))}return P(e,t),S(e,[{key:"getContext2d",value:function(){var t=(this.width(),this.height(),this.pixelRatio()),e=this.margin(),n=e.top,r=e.left,i=this.offset(),a=D(i,2),o=a[0],u=a[1],c=this.node.getContext("2d");return c.setTransform(1,0,0,1,0,0),c.scale(t,t),c.translate(r+o,n+u),c}},{key:"clear",value:function(){var t=this.width(),e=this.height(),n=this.pixelRatio(),r=this.node.getContext("2d");return r.setTransform(1,0,0,1,0,0),r.scale(n,n),r.clearRect(0,0,t,e),this}},{key:"_updateDimension",value:function(){var t=this.width(),e=this.height(),n=this.pixelRatio();return this.node.setAttribute("width",t*n),this.node.setAttribute("height",e*n),this.node.style.width=t+"px",this.node.style.height=e+"px",this}}]),e}(ot),ct=function(t){function e(t){var n;O(this,e);for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;r>a;a++)i[a-1]=arguments[a];var o=C(this,(n=Object.getPrototypeOf(e)).call.apply(n,[this,t].concat(i)));return o.addPlate("canvas",new ut),o.canvas=o.plates.canvas.getSelection(),o.updateDimensionNow(),o}return P(e,t),S(e,[{key:"getContext2d",value:function(){return this.plates.canvas.getContext2d()}},{key:"clear",value:function(){return this.plates.canvas.clear(),this}}]),e}(at),st=function(t){function e(){var t;O(this,e);for(var n=arguments.length,r=Array(n),i=0;n>i;i++)r[i]=arguments[i];var a=C(this,(t=Object.getPrototypeOf(e)).call.apply(t,[this,document.createElementNS("http://www.w3.org/2000/svg","svg")].concat(r)));return a.rootG=a.selection.append("g"),a.layers=new k(a.rootG),a}return P(e,t),S(e,[{key:"_updateDimension",value:function(){var t=this.width(),e=this.height(),n=this.margin(),r=n.top,i=n.left,a=this.offset(),o=D(a,2),u=o[0],c=o[1];return this.selection.attr("width",t).attr("height",e),this.rootG.attr("transform","translate("+(i+u)+","+(r+c)+")"),this}}]),e}(ot),lt=function(t){function e(t){var n;O(this,e);for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;r>a;a++)i[a-1]=arguments[a];var o=C(this,(n=Object.getPrototypeOf(e)).call.apply(n,[this,t].concat(i)));o.addPlate("svg",new st);var u=o.plates.svg;return o.svg=u.getSelection(),o.rootG=u.rootG,o.layers=u.layers,o.updateDimensionNow(),o}return P(e,t),e}(ct),ft=function(t){function e(t){var n;O(this,e);for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;r>a;a++)i[a-1]=arguments[a];var o=C(this,(n=Object.getPrototypeOf(e)).call.apply(n,[this,t].concat(i)));o.addPlate("svg",new st);var u=o.plates.svg;return o.svg=u.getSelection(),o.rootG=u.rootG,o.layers=u.layers,o.updateDimensionNow(),o}return P(e,t),e}(at),ht=function(t){function e(){var t;O(this,e);for(var n=arguments.length,r=Array(n),i=0;n>i;i++)r[i]=arguments[i];return C(this,(t=Object.getPrototypeOf(e)).call.apply(t,[this,document.createElement("div")].concat(r)))}return P(e,t),S(e,[{key:"_updateDimension",value:function(){var t=this.width(),e=this.height(),n=this.margin();return this.node.style.width=t-n.left-n.right+"px",this.node.style.height=e-n.top-n.bottom+"px",this.node.style.marginLeft=n.left+"px",this.node.style.marginRight=n.right+"px",this.node.style.marginTop=n.top+"px",this.node.style.marginBottom=n.bottom+"px",this}}]),e}(ot);t.helper=K,t.AbstractChart=at,t.CanvasChart=ct,t.HybridChart=lt,t.SvgChart=ft,t.AbstractPlate=ot,t.CanvasPlate=ut,t.DivPlate=ht,t.SvgPlate=st,t.LayerOrganizer=k,Object.defineProperty(t,"__esModule",{value:!0})}(e,n(2539),n(2260))},8100:function(t){t.exports=function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";t.exports={Node:n(1),Force:n(2),Distributor:n(3),Renderer:n(10)}},function(t,e){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function(){function t(e,r,i){n(this,t),this.idealPos=e,this.currentPos=e,this.width=r,this.data=i,this.layerIndex=0}return r(t,[{key:"distanceFrom",value:function(t){var e=this.width/2,n=t.width/2;return Math.max(this.currentPos-e,t.currentPos-n)-Math.min(this.currentPos+e,t.currentPos+n)}},{key:"moveToIdealPosition",value:function(){return this.currentPos=this.idealPos,this}},{key:"displacement",value:function(){return this.idealPos-this.currentPos}},{key:"overlapWithNode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.distanceFrom(t)-e<0}},{key:"overlapWithPoint",value:function(t){var e=this.width/2;return t>=this.currentPos-e&&t<=this.currentPos+e}},{key:"positionBefore",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.currentLeft()-this.width/2-e}},{key:"positionAfter",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.currentRight()+this.width/2+e}},{key:"currentRight",value:function(){return this.currentPos+this.width/2}},{key:"currentLeft",value:function(){return this.currentPos-this.width/2}},{key:"idealRight",value:function(){return this.idealPos+this.width/2}},{key:"idealLeft",value:function(){return this.idealPos-this.width/2}},{key:"createStub",value:function(e){var n=new t(this.idealPos,e,this.data);return n.currentPos=this.currentPos,n.child=this,this.parent=n,n}},{key:"removeStub",value:function(){return this.parent&&(this.parent.child=null,this.parent=null),this}},{key:"isStub",value:function(){return!!this.child}},{key:"getPathToRoot",value:function(){for(var t=[],e=this;e;)t.push(e),e=e.parent;return t}},{key:"getPathFromRoot",value:function(){return this.getPathToRoot().reverse()}},{key:"getPathToRootLength",value:function(){for(var t=0,e=this;e;){var n=e.parent?e.parent.currentPos:e.idealPos;t+=Math.abs(e.currentPos-n),e=e.parent}return t}},{key:"getRoot",value:function(){for(var t=this,e=this;e;)t=e,e=e.parent;return t}},{key:"getLayerIndex",value:function(){return this.layerIndex}},{key:"clone",value:function(){var e=new t(this.idealPos,this.width,this.data);return e.currentPos=this.currentPos,e.layerIndex=this.layerIndex,e}}]),t}();t.exports=i},function(t,e,n){"use strict";var r=n(3),i=n(4),a=n(8),o={nodeSpacing:3,minPos:0,maxPos:null,algorithm:"overlap",removeOverlap:!0,density:.85,stubWidth:1},u=function(t){var e={},n=i.extend({},o),u=new r,c=[],s=null;return e.nodes=function(t){return arguments.length?(c=t,s=[t.concat()],e):c},e.getLayers=function(){return s},e.options=function(t){if(!arguments.length)return n;n=i.extend(n,t);var a=i.pick(n,Object.keys(r.DEFAULT_OPTIONS));return i.isDefined(n.minPos)&&i.isDefined(n.maxPos)?a.layerWidth=n.maxPos-n.minPos:a.layerWidth=null,u.options(a),e},e.options(t),e.compute=function(){var t=i.pick(n,Object.keys(a.DEFAULT_OPTIONS));return c.forEach((function(t){t.removeStub()})),(s=u.distribute(c)).map((function(e,r){e.forEach((function(t){t.layerIndex=r})),n.removeOverlap&&a(e,t)})),e},e.start=function(){console.log("[warning] force.start() is deprecated. Please use force.compute() instead.")},e};u.DEFAULT_OPTIONS=o,t.exports=u},function(t,e,n){"use strict";var r=n(4),i=n(6),a={algorithm:"overlap",layerWidth:1e3,density:.75,nodeSpacing:3,stubWidth:1},o=function(t){var e={};t=r.extend({},a,t),e.options=function(n){return arguments.length?(t=r.extend(t,n),e):t},e.computeRequiredWidth=function(e){return r.sum(e,(function(e){return e.width+t.nodeSpacing}))-t.nodeSpacing},e.maxWidthPerLayer=function(){return t.density*t.layerWidth},e.needToSplit=function(t){return e.estimateRequiredLayers(t)>1},e.estimateRequiredLayers=function(n){return t.layerWidth?Math.ceil(e.computeRequiredWidth(n)/e.maxWidthPerLayer()):1};var n={simple:function(n){for(var r=e.estimateRequiredLayers(n),i=[],a=0;a<r;a++)i.push([]);return n.forEach((function(e,n){var a=n%r;i[a].push(e);for(var o=e,u=a-1;u>=0;u--)o=o.createStub(t.stubWidth),i[u].push(o)})),i},roundRobin:function(t){return[]},overlap:function(n){for(var r=[],i=e.maxWidthPerLayer(),a=n.concat(),o=e.computeRequiredWidth(a);o>i;){e.countIdealOverlaps(a);var u=a.concat(),c=o;for(a=[];u.length>2&&c>i;){u.sort((function(t,e){return e.overlapCount-t.overlapCount}));var s=u.shift();c-=s.width,c+=t.stubWidth,s.overlaps.forEach((function(t){t.overlapCount--})),a.push(s)}r.push(u),o=e.computeRequiredWidth(a)}a.length>0&&r.push(a);for(var l=r.length-1;l>=1;l--)for(var f=r[l],h=0;h<f.length;h++){var d=f[h];if(!d.isStub())for(var p=d,v=l-1;v>=0;v--)p=p.createStub(t.stubWidth),r[v].push(p)}return r}};return e.countIdealOverlaps=function(e){var n=new i(t.layerWidth/2);return e.forEach((function(t){n.add([t.idealLeft(),t.idealRight(),t])})),e.forEach((function(t){var e=n.search(t.idealLeft(),t.idealRight());t.overlaps=e.map((function(t){return t.data[2]})),t.overlapCount=e.length})),e},e.distribute=function(i){if(!i||0===i.length)return[];if("none"==t.algorithm||!r.isDefined(t.algorithm))return[i];if(!e.needToSplit(i))return[i];var a=i.concat().sort((function(t,e){return t.idealPos-e.idealPos}));if("function"==typeof t.algorithm)return t.algorithm(a,t);if(n.hasOwnProperty(t.algorithm))return n[t.algorithm](a);throw"Unknown algorithm: "+t.algorithm},e};o.DEFAULT_OPTIONS=a,t.exports=o},function(t,e,n){"use strict";var r={isDefined:function(t){return null!=t},last:function(t){return t.length>0?t[t.length-1]:null},pick:function(t,e){return e.reduce((function(e,n){return e[n]=t[n],e}),{})},sum:function(t,e){return t.map(e).reduce((function(t,e){return t+e}),0)}};r.extend=n(5),t.exports=r},function(t,e){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=function(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===i.call(t)},o=function(t){if(!t||"[object Object]"!==i.call(t))return!1;var e,n=r.call(t,"constructor"),a=t.constructor&&t.constructor.prototype&&r.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!a)return!1;for(e in t);return void 0===e||r.call(t,e)};t.exports=function t(){var e,r,i,u,c,s,l=arguments[0],f=1,h=arguments.length,d=!1;for("boolean"==typeof l?(d=l,l=arguments[1]||{},f=2):("object"!==(void 0===l?"undefined":n(l))&&"function"!=typeof l||null==l)&&(l={});f<h;++f)if(null!=(e=arguments[f]))for(r in e)i=l[r],l!==(u=e[r])&&(d&&u&&(o(u)||(c=a(u)))?(c?(c=!1,s=i&&a(i)?i:[]):s=i&&o(i)?i:{},l[r]=t(d,s,u)):void 0!==u&&(l[r]=u));return l}},function(t,e,n){"use strict";function r(t,e){if(e||(e={}),this.startKey=e.startKey||0,this.endKey=e.endKey||1,this.intervalHash={},this.pointTree=new s({compare:function(t,e){if(null==t)return-1;if(null==e)return 1;var n=t[0]-e[0];return n>0?1:0==n?0:-1}}),this._autoIncrement=0,!t||"number"!=typeof t)throw new Error("you must specify center index as the 2nd argument.");this.root=new u(t,this)}function i(t,e){return e.end<t.idx?(t.left||(t.left=new u(e.start+e.end>>1,this)),i.call(this,t.left,e)):t.idx<e.start?(t.right||(t.right=new u(e.start+e.end>>1,this)),i.call(this,t.right,e)):t.insert(e)}function a(t,e,n){if(t)return e<t.idx?(t.starts.every((function(t){var r=t.start<=e;return r&&n.push(t.result()),r})),a.call(this,t.left,e,n)):e>t.idx?(t.ends.every((function(t){var r=t.end>=e;return r&&n.push(t.result()),r})),a.call(this,t.right,e,n)):void t.starts.map((function(t){n.push(t.result())}))}function o(t,e,n){if(e-t<=0)throw new Error("end must be greater than start. start: "+t+", end: "+e);var r={},i=[];a.call(this,this.root,t+e>>1,i,!0),i.forEach((function(t){r[t.id]=!0}));for(var o=this.pointTree.bsearch([t,null]),u=this.pointTree;o>=0&&u[o][0]==t;)o--;var c=this.pointTree.bsearch([e,null]);if(c>=0){for(var s=u.length-1;c<=s&&u[c][0]<=e;)c++;u.slice(o+1,c).forEach((function(t){var e=t[1];r[e]=!0}),this),Object.keys(r).forEach((function(r){var i=this.intervalHash[r];n.push(i.result(t,e))}),this)}}function u(t){this.idx=t,this.starts=new s({compare:function(t,e){if(null==t)return-1;if(null==e)return 1;var n=t.start-e.start;return n>0?1:0==n?0:-1}}),this.ends=new s({compare:function(t,e){if(null==t)return-1;if(null==e)return 1;var n=t.end-e.end;return n<0?1:0==n?0:-1}})}function c(t,e,n,r){if(this.id=e,this.start=t[n],this.end=t[r],this.data=t,"number"!=typeof this.start||"number"!=typeof this.end)throw new Error("start, end must be number. start: "+this.start+", end: "+this.end);if(this.start>=this.end)throw new Error("start must be smaller than end. start: "+this.start+", end: "+this.end)}var s=n(7);r.prototype.add=function(t,e){if(this.intervalHash[e])throw new Error("id "+e+" is already registered.");if(null==e){for(;this.intervalHash[this._autoIncrement];)this._autoIncrement++;e=this._autoIncrement}var n=new c(t,e,this.startKey,this.endKey);this.pointTree.insert([n.start,e]),this.pointTree.insert([n.end,e]),this.intervalHash[e]=n,this._autoIncrement++,i.call(this,this.root,n)},r.prototype.search=function(t,e){var n=[];if("number"!=typeof t)throw new Error(t+": invalid input");if(null==e)a.call(this,this.root,t,n);else{if("number"!=typeof e)throw new Error(t+","+e+": invalid input");o.call(this,t,e,n)}return n},r.prototype.remove=function(t){},u.prototype.insert=function(t){this.starts.insert(t),this.ends.insert(t)},c.prototype.result=function(t,e){var n={id:this.id,data:this.data};if("number"==typeof t&&"number"==typeof e){var r=Math.max(this.start,t),i=Math.min(this.end,e)-r;n.rate1=i/(e-t),n.rate2=i/(this.end-this.start)}return n},t.exports=r},function(t,e){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function t(){var e=null,r={},i=arguments;["0","1"].forEach((function(t){var a=i[t];Array.isArray(a)?e=a:a&&"object"==(void 0===a?"undefined":n(a))&&(r=a)})),"function"==typeof r.filter&&(this._filter=r.filter),"function"==typeof r.compare?this._compare=r.compare:"string"==typeof r.compare&&t.compares[r.compare]&&(this._compare=t.compares[r.compare]),this._unique=!!r.unique,r.resume&&e?e.forEach((function(t,e){this.push(t)}),this):e&&this.insert.apply(this,e)};r.create=function(t,e){return new r(t,e)},r.prototype=new Array,r.prototype.constructor=Array.prototype.constructor,r.prototype.insertOne=function(t){var e=this.bsearch(t);return(!this._unique||null==this.key(t,e))&&!!this._filter(t,e)&&(this.splice(e+1,0,t),e+1)},r.prototype.insert=function(){return Array.prototype.map.call(arguments,(function(t){return this.insertOne(t)}),this)},r.prototype.remove=function(t){return this.splice(t,1),this},r.prototype.bsearch=function(t){if(!this.length)return-1;for(var e,n=0,r=this.length;r-n>1;){var i=this[e=Math.floor((n+r)/2)],a=this._compare(t,i);if(0==a)return e;a>0?n=e:r=e}return 0==n&&this._compare(this[0],t)>0?-1:n},r.prototype.key=function(t,e){null==e&&(e=this.bsearch(t));var n=e;if(-1==n||this._compare(this[n],t)<0)return n+1<this.length&&0==this._compare(this[n+1],t)?n+1:null;for(;n>=1&&0==this._compare(this[n-1],t);)n--;return n},r.prototype.keys=function(t,e){var n=[];null==e&&(e=this.bsearch(t));for(var r=e;r>=0&&0==this._compare(this[r],t);)n.push(r),r--;var i=this.length;for(r=e+1;r<i&&0==this._compare(this[r],t);)n.push(r),r++;return n.length?n:null},r.prototype.unique=function(t){if(t)return this.filter((function(t,e){return 0==e||0!=this._compare(this[e-1],t)}),this);var e=0;return this.map((function(t,n){return 0==n||0!=this._compare(this[n-1],t)?null:n-e++}),this).forEach((function(t){null!=t&&this.remove(t)}),this),this},r.prototype.toArray=function(){return this.slice()},r.prototype._filter=function(t,e){return!0},r.compares={number:function(t,e){var n=t-e;return n>0?1:0==n?0:-1},string:function(t,e){return t>e?1:t==e?0:-1}},r.prototype._compare=r.compares.string,t.exports=r},function(t,e,n){"use strict";function r(t){var e=new o.Variable(t.targetPos);return e.node=t,e}function i(t,e){if(t.length>0){e=a.extend(u,e),t.forEach((function(t,e){t.targetPos=t.parent?t.parent.currentPos:t.idealPos,t.index=e}));for(var n=t.concat().sort((function(t,e){var n=t.targetPos-e.targetPos;if(0!==n)return n;var r=t.isStub()-e.isStub();return 0!==r?r:t.index-e.index})).map(r),i=[],c=1;c<n.length;c++){var s=n[c-1],l=n[c],f=void 0;f=s.node.isStub()&&l.node.isStub()?(s.node.width+l.node.width)/2+e.lineSpacing:(s.node.width+l.node.width)/2+e.nodeSpacing,i.push(new o.Constraint(s,l,f))}if(a.isDefined(e.minPos)){var h=new o.Variable(e.minPos,1e10),d=n[0];i.push(new o.Constraint(h,d,d.node.width/2)),n.unshift(h)}if(a.isDefined(e.maxPos)){var p=new o.Variable(e.maxPos,1e10),v=a.last(n);i.push(new o.Constraint(v,p,v.node.width/2)),n.push(p)}new o.Solver(n,i).solve(),n.filter((function(t){return t.node})).map((function(t){return t.node.currentPos=Math.round(t.position()),t}))}return t}var a=n(4),o=n(9),u={lineSpacing:2,nodeSpacing:3,minPos:0,maxPos:null};i.DEFAULT_OPTIONS=u,t.exports=i},function(t,e){"use strict";var n={},r=function(){function t(t){this.scale=t,this.AB=0,this.AD=0,this.A2=0}return t.prototype.addVariable=function(t){var e=this.scale/t.scale,n=t.offset/t.scale,r=t.weight;this.AB+=r*e*n,this.AD+=r*e*t.desiredPosition,this.A2+=r*e*e},t.prototype.getPosn=function(){return(this.AD-this.AB)/this.A2},t}();n.PositionStats=r;var i=function(){function t(t,e,n,r){void 0===r&&(r=!1),this.left=t,this.right=e,this.gap=n,this.equality=r,this.active=!1,this.unsatisfiable=!1,this.left=t,this.right=e,this.gap=n,this.equality=r}return t.prototype.slack=function(){return this.unsatisfiable?Number.MAX_VALUE:this.right.scale*this.right.position()-this.gap-this.left.scale*this.left.position()},t}();n.Constraint=i;var a=function(){function t(t,e,n){void 0===e&&(e=1),void 0===n&&(n=1),this.desiredPosition=t,this.weight=e,this.scale=n,this.offset=0}return t.prototype.dfdv=function(){return 2*this.weight*(this.position()-this.desiredPosition)},t.prototype.position=function(){return(this.block.ps.scale*this.block.posn+this.offset)/this.scale},t.prototype.visitNeighbours=function(t,e){var n=function(n,r){return n.active&&t!==r&&e(n,r)};this.cOut.forEach((function(t){return n(t,t.right)})),this.cIn.forEach((function(t){return n(t,t.left)}))},t}();n.Variable=a;var o=function(){function t(t){this.vars=[],t.offset=0,this.ps=new r(t.scale),this.addVariable(t)}return t.prototype.addVariable=function(t){t.block=this,this.vars.push(t),this.ps.addVariable(t),this.posn=this.ps.getPosn()},t.prototype.updateWeightedPosition=function(){this.ps.AB=this.ps.AD=this.ps.A2=0;for(var t=0,e=this.vars.length;t<e;++t)this.ps.addVariable(this.vars[t]);this.posn=this.ps.getPosn()},t.prototype.compute_lm=function(t,e,n){var r=this,i=t.dfdv();return t.visitNeighbours(e,(function(e,a){var o=r.compute_lm(a,t,n);a===e.right?(i+=o*e.left.scale,e.lm=o):(i+=o*e.right.scale,e.lm=-o),n(e)})),i/t.scale},t.prototype.populateSplitBlock=function(t,e){var n=this;t.visitNeighbours(e,(function(e,r){r.offset=t.offset+(r===e.right?e.gap:-e.gap),n.addVariable(r),n.populateSplitBlock(r,t)}))},t.prototype.traverse=function(t,e,n,r){var i=this;void 0===n&&(n=this.vars[0]),void 0===r&&(r=null),n.visitNeighbours(r,(function(r,a){e.push(t(r)),i.traverse(t,e,a,n)}))},t.prototype.findMinLM=function(){var t=null;return this.compute_lm(this.vars[0],null,(function(e){!e.equality&&(null===t||e.lm<t.lm)&&(t=e)})),t},t.prototype.findMinLMBetween=function(t,e){this.compute_lm(t,null,(function(){}));var n=null;return this.findPath(t,null,e,(function(t,e){!t.equality&&t.right===e&&(null===n||t.lm<n.lm)&&(n=t)})),n},t.prototype.findPath=function(t,e,n,r){var i=this,a=!1;return t.visitNeighbours(e,(function(e,o){a||o!==n&&!i.findPath(o,t,n,r)||(a=!0,r(e,o))})),a},t.prototype.isActiveDirectedPathBetween=function(t,e){if(t===e)return!0;for(var n=t.cOut.length;n--;){var r=t.cOut[n];if(r.active&&this.isActiveDirectedPathBetween(r.right,e))return!0}return!1},t.split=function(e){return e.active=!1,[t.createSplitBlock(e.left),t.createSplitBlock(e.right)]},t.createSplitBlock=function(e){var n=new t(e);return n.populateSplitBlock(e,null),n},t.prototype.splitBetween=function(e,n){var r=this.findMinLMBetween(e,n);if(null!==r){var i=t.split(r);return{constraint:r,lb:i[0],rb:i[1]}}return null},t.prototype.mergeAcross=function(t,e,n){e.active=!0;for(var r=0,i=t.vars.length;r<i;++r){var a=t.vars[r];a.offset+=n,this.addVariable(a)}this.posn=this.ps.getPosn()},t.prototype.cost=function(){for(var t=0,e=this.vars.length;e--;){var n=this.vars[e],r=n.position()-n.desiredPosition;t+=r*r*n.weight}return t},t}();n.Block=o;var u=function(){function t(t){this.vs=t;var e=t.length;for(this.list=new Array(e);e--;){var n=new o(t[e]);this.list[e]=n,n.blockInd=e}}return t.prototype.cost=function(){for(var t=0,e=this.list.length;e--;)t+=this.list[e].cost();return t},t.prototype.insert=function(t){t.blockInd=this.list.length,this.list.push(t)},t.prototype.remove=function(t){var e=this.list.length-1,n=this.list[e];this.list.length=e,t!==n&&(this.list[t.blockInd]=n,n.blockInd=t.blockInd)},t.prototype.merge=function(t){var e=t.left.block,n=t.right.block,r=t.right.offset-t.left.offset-t.gap;e.vars.length<n.vars.length?(n.mergeAcross(e,t,r),this.remove(e)):(e.mergeAcross(n,t,-r),this.remove(n))},t.prototype.forEach=function(t){this.list.forEach(t)},t.prototype.updateBlockPositions=function(){this.list.forEach((function(t){return t.updateWeightedPosition()}))},t.prototype.split=function(t){var e=this;this.updateBlockPositions(),this.list.forEach((function(n){var r=n.findMinLM();null!==r&&r.lm<c.LAGRANGIAN_TOLERANCE&&(n=r.left.block,o.split(r).forEach((function(t){return e.insert(t)})),e.remove(n),t.push(r))}))},t}();n.Blocks=u;var c=function(){function t(t,e){this.vs=t,this.cs=e,this.vs=t,t.forEach((function(t){t.cIn=[],t.cOut=[]})),this.cs=e,e.forEach((function(t){t.left.cOut.push(t),t.right.cIn.push(t)})),this.inactive=e.map((function(t){return t.active=!1,t})),this.bs=null}return t.prototype.cost=function(){return this.bs.cost()},t.prototype.setStartingPositions=function(t){this.inactive=this.cs.map((function(t){return t.active=!1,t})),this.bs=new u(this.vs),this.bs.forEach((function(e,n){return e.posn=t[n]}))},t.prototype.setDesiredPositions=function(t){this.vs.forEach((function(e,n){return e.desiredPosition=t[n]}))},t.prototype.mostViolated=function(){for(var e=Number.MAX_VALUE,n=null,r=this.inactive,i=r.length,a=i,o=0;o<i;++o){var u=r[o];if(!u.unsatisfiable){var c=u.slack();if((u.equality||c<e)&&(e=c,n=u,a=o,u.equality))break}}return a!==i&&(e<t.ZERO_UPPERBOUND&&!n.active||n.equality)&&(r[a]=r[i-1],r.length=i-1),n},t.prototype.satisfy=function(){null==this.bs&&(this.bs=new u(this.vs)),this.bs.split(this.inactive);for(var e=null;(e=this.mostViolated())&&(e.equality||e.slack()<t.ZERO_UPPERBOUND&&!e.active);){var n=e.left.block;if(n!==e.right.block)this.bs.merge(e);else{if(n.isActiveDirectedPathBetween(e.right,e.left)){e.unsatisfiable=!0;continue}var r=n.splitBetween(e.left,e.right);if(null===r){e.unsatisfiable=!0;continue}this.bs.insert(r.lb),this.bs.insert(r.rb),this.bs.remove(n),this.inactive.push(r.constraint),e.slack()>=0?this.inactive.push(e):this.bs.merge(e)}}},t.prototype.solve=function(){this.satisfy();for(var t=Number.MAX_VALUE,e=this.bs.cost();Math.abs(t-e)>1e-4;)this.satisfy(),t=e,e=this.bs.cost();return e},t.LAGRANGIAN_TOLERANCE=-1e-4,t.ZERO_UPPERBOUND=-1e-10,t}();n.Solver=c,t.exports=n},function(t,e,n){"use strict";function r(t){this.options=s.extend({layerGap:60,nodeHeight:10,direction:"down"},t)}function i(t){return"L "+t.join(" ")}function a(t){return"M "+t.join(" ")}function o(t,e,n){return"C "+t.join(" ")+" "+e.join(" ")+" "+n.join(" ")}function u(t,e){var n=(t[1]+e[1])/2;return o([t[0],n],[e[0],n],e)}function c(t,e){var n=(t[0]+e[0])/2;return o([n,t[1]],[n,e[1]],e)}var s=n(4);r.lineTo=i,r.moveTo=a,r.curveTo=o,r.vCurveBetween=u,r.hCurveBetween=c,r.prototype.getWaypoints=function(t){var e=this.options,n=e.direction,r=t.getPathFromRoot(),i=e.nodeHeight+e.layerGap;return"left"===n?[[[0,r[0].idealPos]]].concat(r.map((function(t,n){var r=i*(n+1)*-1;return[[r+e.nodeHeight,t.currentPos],[r,t.currentPos]]}))):"right"===n?[[[0,r[0].idealPos]]].concat(r.map((function(t,n){var r=i*(n+1);return[[r-e.nodeHeight,t.currentPos],[r,t.currentPos]]}))):"up"===n?[[[r[0].idealPos,0]]].concat(r.map((function(t,n){var r=i*(n+1)*-1;return[[t.currentPos,r+e.nodeHeight],[t.currentPos,r]]}))):[[[r[0].idealPos,0]]].concat(r.map((function(t,n){var r=i*(n+1);return[[t.currentPos,r-e.nodeHeight],[t.currentPos,r]]})))},r.prototype.layout=function(t){var e=this.options,n=e.layerGap+e.nodeHeight;switch(e.direction){case"left":t.forEach((function(t){var r=t.getLayerIndex()*n+e.layerGap;t.x=-r-e.nodeHeight,t.y=t.currentPos,t.dx=e.nodeHeight,t.dy=t.width}));break;case"right":t.forEach((function(t){var r=t.getLayerIndex()*n+e.layerGap;t.x=r,t.y=t.currentPos,t.dx=e.nodeHeight,t.dy=t.width}));break;case"up":t.forEach((function(t){var r=t.getLayerIndex()*n+e.layerGap;t.x=t.currentPos,t.y=-r-e.nodeHeight,t.dx=t.width,t.dy=e.nodeHeight}));break;default:t.forEach((function(t){var r=t.getLayerIndex()*n+e.layerGap;t.x=t.currentPos,t.y=r,t.dx=t.width,t.dy=e.nodeHeight}))}return t},r.prototype.generatePath=function(t){var e=this.options.direction,n=this.getWaypoints(t,e),r=[a(n[0][0])];return"left"===e||"right"===e?n.reduce((function(t,e,a){return r.push(c(t[t.length-1],e[0])),a<n.length-1&&r.push(i(e[1])),e})):n.reduce((function(t,e,a){return r.push(u(t[t.length-1],e[0])),a<n.length-1&&r.push(i(e[1])),e})),r.join(" ")},t.exports=r}])},3389:function(){"use strict";"function"!=typeof Object.assign&&(Object.assign=function(t){if(console.info("installing Object.assign polyfill"),null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e}),String.prototype.includes||(console.info("installing String.includes polyfill"),String.prototype.includes=function(t,e){return"number"!=typeof e&&(e=0),!(e+t.length>this.length)&&-1!==this.indexOf(t,e)}),String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return this.substr(!e||e<0?0:+e,t.length)===t})},5828:function(){self.fetch||(self.fetch=function(t,e){return e=e||{},new Promise((function(n,r){var i=new XMLHttpRequest,a=[],o=[],u={},c=function(){return{ok:2==(i.status/100|0),statusText:i.statusText,status:i.status,url:i.responseURL,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(i.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([i.response]))},clone:c,headers:{keys:function(){return a},entries:function(){return o},get:function(t){return u[t.toLowerCase()]},has:function(t){return t.toLowerCase()in u}}}};for(var s in i.open(e.method||"get",t,!0),i.onload=function(){i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(t,e,n){a.push(e=e.toLowerCase()),o.push([e,n]),u[e]=u[e]?u[e]+","+n:n})),n(c())},i.onerror=r,i.withCredentials="include"==e.credentials,e.headers)i.setRequestHeader(s,e.headers[s]);i.send(e.body||null)}))})}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var a=e[r]={exports:{}};return t[r].call(a.exports,a,a.exports,n),a.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};return function(){"use strict";n.d(r,{default:function(){return an}});n(3389);var t=function(t){var e=this.constructor;return this.then((function(n){return e.resolve(t()).then((function(){return n}))}),(function(n){return e.resolve(t()).then((function(){return e.reject(n)}))}))};var e=function(t){return new this((function(e,n){if(!t||void 0===t.length)return n(new TypeError(typeof t+" "+t+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var r=Array.prototype.slice.call(t);if(0===r.length)return e([]);var i=r.length;function a(t,n){if(n&&("object"==typeof n||"function"==typeof n)){var o=n.then;if("function"==typeof o)return void o.call(n,(function(e){a(t,e)}),(function(n){r[t]={status:"rejected",reason:n},0==--i&&e(r)}))}r[t]={status:"fulfilled",value:n},0==--i&&e(r)}for(var o=0;o<r.length;o++)a(o,r[o])}))},i=setTimeout;function a(t){return Boolean(t&&void 0!==t.length)}function o(){}function u(t){if(!(this instanceof u))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(t,this)}function c(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,u._immediateFn((function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null!==n){var r;try{r=n(t._value)}catch(t){return void l(e.promise,t)}s(e.promise,r)}else(1===t._state?s:l)(e.promise,t._value)}))):t._deferreds.push(e)}function s(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof u)return t._state=3,t._value=e,void f(t);if("function"==typeof n)return void d((r=n,i=e,function(){r.apply(i,arguments)}),t)}t._state=1,t._value=e,f(t)}catch(e){l(t,e)}var r,i}function l(t,e){t._state=2,t._value=e,f(t)}function f(t){2===t._state&&0===t._deferreds.length&&u._immediateFn((function(){t._handled||u._unhandledRejectionFn(t._value)}));for(var e=0,n=t._deferreds.length;e<n;e++)c(t,t._deferreds[e]);t._deferreds=null}function h(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function d(t,e){var n=!1;try{t((function(t){n||(n=!0,s(e,t))}),(function(t){n||(n=!0,l(e,t))}))}catch(t){if(n)return;n=!0,l(e,t)}}u.prototype.catch=function(t){return this.then(null,t)},u.prototype.then=function(t,e){var n=new this.constructor(o);return c(this,new h(t,e,n)),n},u.prototype.finally=t,u.all=function(t){return new u((function(e,n){if(!a(t))return n(new TypeError("Promise.all accepts an array"));var r=Array.prototype.slice.call(t);if(0===r.length)return e([]);var i=r.length;function o(t,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var u=a.then;if("function"==typeof u)return void u.call(a,(function(e){o(t,e)}),n)}r[t]=a,0==--i&&e(r)}catch(t){n(t)}}for(var u=0;u<r.length;u++)o(u,r[u])}))},u.allSettled=e,u.resolve=function(t){return t&&"object"==typeof t&&t.constructor===u?t:new u((function(e){e(t)}))},u.reject=function(t){return new u((function(e,n){n(t)}))},u.race=function(t){return new u((function(e,n){if(!a(t))return n(new TypeError("Promise.race accepts an array"));for(var r=0,i=t.length;r<i;r++)u.resolve(t[r]).then(e,n)}))},u._immediateFn="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){i(t,0)},u._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var p=u,v=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n.g)return n.g;throw new Error("unable to locate global object")}();"function"!=typeof v.Promise?v.Promise=p:v.Promise.prototype.finally?v.Promise.allSettled||(v.Promise.allSettled=e):v.Promise.prototype.finally=t;n(5828),n(6152);function g(t,e){return Object.assign(t,e),t}var y={draw:function(){}},m={};var b=n(2454),w=n(3844),x=n(7204),A=n(9181);function _(t){return[t.width,t.height]}function M(t,e){(0,x.A)(t).style("height",e+"px")}function k(t,e){var n=void 0,r=[];return t.each((function(){for(var t=this;"function"==typeof t.parentNode.matches&&!n;)(t=t.parentNode).matches(e)&&(n=t,r.push(n));n=void 0})),(0,A.A)(r)}function T(t,e,n,r){(0,x.A)(e).on(t,(function(){try{var t=b.f0;("string"==typeof n?(0,x.A)(e).selectAll(n):n).each((function(){var e=this;(function(t,e){for(;;){if(!t||!e)return!1;if(t.isSameNode(e))return!0;t=t.parentNode}})(t.target,e)&&r.bind(e)((0,x.A)(e).data()[0])}))}catch(t){throw console.error(t),t}}))}function O(t){return t&&(t=encodeURIComponent(t).replace(/%20/g,"+")),t}function S(t){var e=[];for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];"object"==typeof r&&(r=JSON.stringify(r)),"string"!=typeof r&&"number"!=typeof r||e.push(O(n)+"="+O(r))}return e.join("&")}function P(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);if(204!==t.status&&205!==t.status)return t.json()}var C=function(){return C=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},C.apply(this,arguments)},D=function(){var t=[];function e(t,e,n){var r,i,a=nn.options.detectDataDomain?function(){for(var t=document.scripts,e=0;e<t.length;++e){var n=t[e].src;if(n&&n.indexOf("/viz.")>=0){var r=n.indexOf("/",9);if(r>=0)return n.substring(0,r)}}return""}():void 0,o=a||nn.options.dataDomain,u=(window.dataDomain||o)+"/data.json",c=C({"Content-Type":"application/json; charset=UTF-8"},t&&{"X-Api-Key":t});(r=u,i={headers:c,method:"POST",body:JSON.stringify(e)},fetch(r,i).then(P)).then((function(t){return n(null,t)})).catch((function(t){return n(t,void 0)}))}function n(t){for(var n=[],r={},i=void 0,a=0,o=t;a<o.length;a++){var u=o[a];n.push(u.options),i=null!=i?i:u.options.apiKey}n.length>0&&(r.options=n,r.origin=document.location.hostname,r.v=nn.version,e(i,r,(function(e,n){if(e)for(var r=0,i=t;r<i.length;r++){i[r].error(e.message)}else{var a=n.result;t.forEach((function(t,e){var n=a[e].error;n?t.error(n.message):t.success(a[e])}))}})))}function r(){n(t),t=[]}return{requestData:function(e,i,a){var o={options:e,success:i,error:a};e.immediate?n([o]):(t.push(o),window.setTimeout(r))}}}(),E=n(7613),N=n(1147),j=n(3383),L=n(9017),R=n(293),F=n(7849),I=n(1779),U=n(2706),H=n(6746),q=JSON.parse('{"dateTime":"%A, der %e. %B %Y, %X","date":"%d.%m.%Y","time":"%H:%M:%S","periods":["AM","PM"],"days":["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],"shortDays":["So","Mo","Di","Mi","Do","Fr","Sa"],"months":["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],"shortMonths":["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"]}'),B=JSON.parse('{"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"]}'),V=JSON.parse('{"dateTime":"%A, le %e %B %Y, %X","date":"%d/%m/%Y","time":"%H:%M:%S","periods":["AM","PM"],"days":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],"shortDays":["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],"months":["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],"shortMonths":["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."]}'),z=JSON.parse('{"decimal":",","thousands":".","grouping":[3],"currency":[""," €"]}'),W=JSON.parse('{"decimal":".","thousands":",","grouping":[3],"currency":["$",""]}'),Y=JSON.parse('{"decimal":",","thousands":" ","grouping":[3],"currency":[""," €"],"percent":" %"}'),G="en"===document.documentElement.lang?"en":"fr"===document.documentElement.lang?"fr":"de";function J(){return G}var X=function(){return X=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},X.apply(this,arguments)};function $(t,e,n){return void 0===n&&(n=""),"de"===J()?e:"fr"===J()?n:t}function Z(t){var e=t.format(".%L"),n=t.format(":%S"),r=t.format("%I:%M"),i=t.format("%I %p"),a=t.format("%a %d"),o=t.format("%b %d"),u=t.format("%B"),c=t.format("%Y");return function(t){return((0,N.A)(t)<t?e:(0,j.A)(t)<t?n:(0,L.A)(t)<t?r:(0,R.A)(t)<t?i:(0,F.A)(t)<t?(0,I.fz)(t)<t?a:o:(0,U.A)(t)<t?u:c)(t)}}function Q(t,e){var n=(0,E.A)(t),r=(0,H.A)(e),i=r.format(",.2f"),a=r.format(",.0f"),o=n.format(t.date);return{timeFormatLocaleDefinition:t,numberFormatLocaleDefinition:e,createNumberFormatter:function(t,e){var n=t.accuracy,i=r.format(e);return function(e){return t.prefix+i(e/n)+t.postfix}},decimalFormatter:function(t){return i(function(t){return Math.round(100*t)/100}(t))},numberFormatter:function(t){return a(Math.round(t))},dateFormatter:function(t){return t?("string"==typeof t&&(t=new Date(t)),o(t)):""},timeScaleFormatter:Z(n)}}var K=Q(q,X(X({},z),{currency:["€",""]})),tt=Q(X(X({},B),{date:"%Y-%m-%d"}),X(X({},W),{currency:["€",""]})),et=Q(V,X(X({},Y),{currency:["€",""]})),nt=function(){function t(t,e){this.items=[];var n="string"==typeof t?document.getElementById(t):t;if(!n)throw new Error("container node undefined or null");this.container=n,this.options=rt(e,this.container);var r=this.stringValue("type")||this.stringValue("layout");if(!r)throw new Error("no widget type specified");this.widgetType=r,this.options.type=r,"graph"!=r&&"contact"!=r||(this.options.immediate=!0);var i=this.load.bind(this);this.data=this.objectValue("data"),this.data?window.setTimeout(i):D.requestData(this.options,i,this.fail.bind(this))}return t.prototype.getType=function(){return this.widgetType},t.prototype.fail=function(t){var e=this.handlerValue("error");e?e(t):nn.log("error",t)},t.prototype.load=function(t){this.data=this.data||t;try{var e=(n=this.widgetType,m[n]);if(!e)throw new Error("invalid widget type: "+this.widgetType);this.chart=e(this,this.data),this.container.setAttribute("data-layout",this.widgetType),this.draw()}catch(t){return void this.fail(t)}var n,r=this.handlerValue("success");r&&r()},t.prototype.showItem=function(t,e){var n=this,r=this.handlerValue("handleItem")||function(t,e){if(!!n.stringValue("subject"))return e;var r=document.createElement("div"),i=document.createElement("h2");return i.textContent=t,r.appendChild(i),r.appendChild(e),r},i=r(t,e);i&&(this.container.appendChild(i),this.items.push(i))},t.prototype.adjustSize=function(t){var e=t.getBoundingClientRect(),n=this.numberValue("width")||e.width,r=this.numberValue("height")||e.height,i=this.numberValue("ratio"),a=this.numberValue("minHeight"),o=this.numberValue("maxHeight"),u=r;i&&(u=n*i),a&&(u=Math.max(u,a)),o&&(u=Math.min(u,o)),r!=u&&M(t,u)},t.prototype.draw=function(){this.adjustSize(this.container),this.chart&&(this.chart.draw(),(0,x.A)(this.container).selectAll("*").each((function(){var t=this.getAttribute("transform");t||(t=getComputedStyle(this).getPropertyValue("transform"))&&"none"!=t&&this.setAttribute("transform",t)})))},t.prototype.markup=function(t){var e=this.handlerValue("companyClick");e&&t.selectAll(".company").attr("data-clickable",!0);var n=this.handlerValue("personClick");n&&t.selectAll(".person").attr("data-clickable",!0);var r=this.handlerValue("addressClick");r&&t.selectAll("address").attr("data-clickable",!0);var i=this.handlerValue("registerClick");i&&t.selectAll(".register").attr("data-clickable",!0);var a=this.handlerValue("filingClick");a&&t.selectAll(".filing").attr("data-clickable",!0),t.on("click",(function(){var t,o=b.f0,u=o.target,c=rt({},u);e&&u.classList.contains("company")&&(e(c),t=!0),n&&u.classList.contains("person")&&(n(c),t=!0),r&&"ADDRESS"==u.tagName&&(r({query:u.textContent}),t=!0),i&&u.classList.contains("register")&&(i({query:u.textContent}),t=!0),a&&u.classList.contains("filing")&&(a({query:u.textContent}),t=!0),t&&o.preventDefault()}))},t.prototype.invokeClickHandler=function(t,e){var n=this.getClickHandler(e);return!!n&&(n(t),!0)},t.prototype.getClickHandler=function(t){if(t)switch(t.toString().toLowerCase()[0]){case"c":return this.handlerValue("companyClick");case"p":return this.handlerValue("personClick");case"h":return this.handlerValue("publicationClick")}},t.prototype.getLinkifier=function(){return this.handlerValue("linkify")||it},t.prototype.getRootColor=function(){return(0,w.KI)(this.stringValue("rootColor")||"#00dddd")},t.prototype.isReverseChronology=function(){return"reverse"===this.stringValue("chronology")},t.prototype.getLanguage=function(){return this.stringValue("language")||"de"},t.prototype.i18n=function(){return"de"==this.getLanguage()?K:"fr"==this.getLanguage()?et:tt},t.prototype.trilingual=function(t,e,n){return"de"==this.getLanguage()?e:"fr"==this.getLanguage()?n:t},t.prototype.isPrint=function(){return document.documentElement.classList&&document.documentElement.classList.contains("print")},t.prototype.numberValue=function(t){var e=this.options[t];return"function"==typeof e?e():"number"==typeof e?e:"string"==typeof e?Number(e):void 0},t.prototype.stringValue=function(t){var e=this.options[t];return"function"==typeof e?e():"string"==typeof e?e:void 0},t.prototype.nodeValue=function(t){var e=this.options[t];return"object"==typeof e?e:"function"==typeof e?e():"string"==typeof e?(0,x.A)(this.container).select(e).node():void 0},t.prototype.objectValue=function(t){var e=this.options[t];if("function"==typeof e)return e();if("object"==typeof e){if(null===e)return;return e}return"string"==typeof e?JSON.parse(e):void 0},t.prototype.handlerValue=function(t){var e=this.options[t];if("function"==typeof e)return e.bind(this)},t}();function rt(t,e){var n={};Object.assign(n,t);for(var r=0;r<e.attributes.length;++r){var i=e.attributes[r],a=i.name;if(0===a.indexOf("data-")){var o=a.substring(5).replace(/-([a-z])/g,(function(t){return t[1].toUpperCase()}));n[o]=n[o]||i.value}}return n}var it=function(){return null},at=n(916),ot=n(6914);function ut(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}var ct=n(1918),st=Array.prototype,lt=st.map,ft=st.slice,ht={name:"implicit"};function dt(){var t=(0,ct.Tj)(),e=[],n=[],r=ht;function i(i){var a=i+"",o=t.get(a);if(!o){if(r!==ht)return r;t.set(a,o=e.push(i))}return n[(o-1)%n.length]}return i.domain=function(n){if(!arguments.length)return e.slice();e=[],t=(0,ct.Tj)();for(var r,a,o=-1,u=n.length;++o<u;)t.has(a=(r=n[o])+"")||t.set(a,e.push(r));return i},i.range=function(t){return arguments.length?(n=ft.call(t),i):n.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return dt(e,n).unknown(r)},ut.apply(i,arguments),i}function pt(){var t,e,n=dt().unknown(void 0),r=n.domain,i=n.range,a=[0,1],o=!1,u=0,c=0,s=.5;function l(){var n=r().length,l=a[1]<a[0],f=a[l-0],h=a[1-l];t=(h-f)/Math.max(1,n-u+2*c),o&&(t=Math.floor(t)),f+=(h-f-t*(n-u))*s,e=t*(1-u),o&&(f=Math.round(f),e=Math.round(e));var d=(0,ot.range)(n).map((function(e){return f+t*e}));return i(l?d.reverse():d)}return delete n.unknown,n.domain=function(t){return arguments.length?(r(t),l()):r()},n.range=function(t){return arguments.length?(a=[+t[0],+t[1]],l()):a.slice()},n.rangeRound=function(t){return a=[+t[0],+t[1]],o=!0,l()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(o=!!t,l()):o},n.padding=function(t){return arguments.length?(u=Math.min(1,c=+t),l()):u},n.paddingInner=function(t){return arguments.length?(u=Math.min(1,t),l()):u},n.paddingOuter=function(t){return arguments.length?(c=+t,l()):c},n.align=function(t){return arguments.length?(s=Math.max(0,Math.min(1,t)),l()):s},n.copy=function(){return pt(r(),a).round(o).paddingInner(u).paddingOuter(c).align(s)},ut.apply(l(),arguments)}var vt=n(7331),gt=n(5566),yt=n(5307);function mt(t){return+t}var bt=[0,1];function wt(t){return t}function xt(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n});var n}function At(t){var e,n=t[0],r=t[t.length-1];return n>r&&(e=n,n=r,r=e),function(t){return Math.max(n,Math.min(r,t))}}function _t(t,e,n){var r=t[0],i=t[1],a=e[0],o=e[1];return i<r?(r=xt(i,r),a=n(o,a)):(r=xt(r,i),a=n(a,o)),function(t){return a(r(t))}}function Mt(t,e,n){var r=Math.min(t.length,e.length)-1,i=new Array(r),a=new Array(r),o=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++o<r;)i[o]=xt(t[o],t[o+1]),a[o]=n(e[o],e[o+1]);return function(e){var n=(0,ot.bisect)(t,e,1,r)-1;return a[n](i[n](e))}}function kt(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Tt(t,e){return function(){var t,e,n,r,i,a,o=bt,u=bt,c=vt.A,s=wt;function l(){return r=Math.min(o.length,u.length)>2?Mt:_t,i=a=null,f}function f(e){return isNaN(e=+e)?n:(i||(i=r(o.map(t),u,c)))(t(s(e)))}return f.invert=function(n){return s(e((a||(a=r(u,o.map(t),gt.A)))(n)))},f.domain=function(t){return arguments.length?(o=lt.call(t,mt),s===wt||(s=At(o)),l()):o.slice()},f.range=function(t){return arguments.length?(u=ft.call(t),l()):u.slice()},f.rangeRound=function(t){return u=ft.call(t),c=yt.A,l()},f.clamp=function(t){return arguments.length?(s=t?At(o):wt,f):s!==wt},f.interpolate=function(t){return arguments.length?(c=t,l()):c},f.unknown=function(t){return arguments.length?(n=t,f):n},function(n,r){return t=n,e=r,l()}}()(t,e)}var Ot=n(1688),St=n(6093),Pt=n(4626),Ct=n(8209),Dt=n(3391);function Et(t){var e=t.domain;return t.ticks=function(t){var n=e();return(0,ot.ticks)(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return function(t,e,n,r){var i,a=(0,ot.tickStep)(t,e,n);switch((r=(0,Ot.A)(null==r?",f":r)).type){case"s":var o=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(i=(0,St.A)(a,o))||(r.precision=i),(0,Pt.s)(r,o);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=(0,Ct.A)(a,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=(0,Dt.A)(a))||(r.precision=i-2*("%"===r.type))}return(0,Pt.GP)(r)}(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,i=e(),a=0,o=i.length-1,u=i[a],c=i[o];return c<u&&(r=u,u=c,c=r,r=a,a=o,o=r),(r=(0,ot.tickIncrement)(u,c,n))>0?(u=Math.floor(u/r)*r,c=Math.ceil(c/r)*r,r=(0,ot.tickIncrement)(u,c,n)):r<0&&(u=Math.ceil(u*r)/r,c=Math.floor(c*r)/r,r=(0,ot.tickIncrement)(u,c,n)),r>0?(i[a]=Math.floor(u/r)*r,i[o]=Math.ceil(c/r)*r,e(i)):r<0&&(i[a]=Math.ceil(u*r)/r,i[o]=Math.floor(c*r)/r,e(i)),t},t}function Nt(){var t=Tt(wt,wt);return t.copy=function(){return kt(t,Nt())},ut.apply(t,arguments),Et(t)}var jt=n(6530),Lt=n(2692);var Rt=1e3,Ft=60*Rt,It=60*Ft,Ut=24*It,Ht=7*Ut,qt=30*Ut,Bt=365*Ut;function Vt(t){return new Date(t)}function zt(t){return t instanceof Date?+t:+new Date(+t)}function Wt(t,e,n,r,i,a,o,u,c){var s=Tt(wt,wt),l=s.invert,f=s.domain,h=c(".%L"),d=c(":%S"),p=c("%I:%M"),v=c("%I %p"),g=c("%a %d"),y=c("%b %d"),m=c("%B"),b=c("%Y"),w=[[o,1,Rt],[o,5,5*Rt],[o,15,15*Rt],[o,30,30*Rt],[a,1,Ft],[a,5,5*Ft],[a,15,15*Ft],[a,30,30*Ft],[i,1,It],[i,3,3*It],[i,6,6*It],[i,12,12*It],[r,1,Ut],[r,2,2*Ut],[n,1,Ht],[e,1,qt],[e,3,3*qt],[t,1,Bt]];function x(u){return(o(u)<u?h:a(u)<u?d:i(u)<u?p:r(u)<u?v:e(u)<u?n(u)<u?g:y:t(u)<u?m:b)(u)}function A(e,n,r,i){if(null==e&&(e=10),"number"==typeof e){var a=Math.abs(r-n)/e,o=(0,ot.bisector)((function(t){return t[2]})).right(w,a);o===w.length?(i=(0,ot.tickStep)(n/Bt,r/Bt,e),e=t):o?(i=(o=w[a/w[o-1][2]<w[o][2]/a?o-1:o])[1],e=o[0]):(i=Math.max((0,ot.tickStep)(n,r,e),1),e=u)}return null==i?e:e.every(i)}return s.invert=function(t){return new Date(l(t))},s.domain=function(t){return arguments.length?f(lt.call(t,zt)):f().map(Vt)},s.ticks=function(t,e){var n,r=f(),i=r[0],a=r[r.length-1],o=a<i;return o&&(n=i,i=a,a=n),n=(n=A(t,i,a,e))?n.range(i,a+1):[],o?n.reverse():n},s.tickFormat=function(t,e){return null==e?x:c(e)},s.nice=function(t,e){var n=f();return(t=A(t,n[0],n[n.length-1],e))?f(function(t,e){var n,r=0,i=(t=t.slice()).length-1,a=t[r],o=t[i];return o<a&&(n=r,r=i,i=n,n=a,a=o,o=n),t[r]=e.floor(a),t[i]=e.ceil(o),t}(n,t)):s},s.copy=function(){return kt(s,Wt(t,e,n,r,i,a,o,u,c))},s}function Yt(){return ut.apply(Wt(U.A,F.A,I.fz,R.A,L.A,j.A,N.A,jt.A,Lt.DC).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var Gt=n(7865);var Jt=function(t,e){var n=[],r=e.note;if(!(e.item&&0!=e.item.length||r))throw new Error("no data");var i=15,a=10,o=50,u=15,c=function(){var t=(0,x.A)("body").append("div").attr("class","tooltip ui basic black label").style("position","fixed").style("top",0).style("left",0).style("pointer-events","none").style("visibility","hidden");return{position:function(e,n){var r=document.documentElement.clientWidth,i=t.node().offsetWidth,a=e+i+16<r,o=a?e+16:e-i-16,u=n-t.node().offsetHeight/2;return t.style("transform","translate("+o+"px, "+u+"px)").classed("left right pointing",!1).classed(a?"left":"right",!0).classed("pointing",!0),this},visible:function(e){return t.interrupt().transition().delay(e?0:100).duration(0).style("visibility",(function(){return e?null:"hidden"})),this},content:function(e){return t.html(e),this}}}();for(var s=function(e){var r=e.data;if(!r)return"continue";var s=t.options.colors,l="string"==typeof s?s.split("|"):s;l=null!=l?l:r.colors;for(var f=r.title.substring(0,3),h=[],d=r.colorIndexes,p=0;p<d.length;++p){var v=d[p],g=r.estimate[p]?"url(#diag"+f+v+")":l[v];h.push(g)}var y=(0,at.A)("svg:defs");y.selectAll("pattern").data(l).join("svg:pattern").attr("id",(function(t,e){return"diag"+f+e})).attr("width",10).attr("height",10).attr("patternTransform","rotate(45 0 0)").attr("patternUnits","userSpaceOnUse").attr("transform","matrix(0.707107, 0.707107, -0.707107, 0.707107, 0, 0)").append("svg:line").attr("x1",0).attr("y1",0).attr("x2",0).attr("y2",10).style("stroke",(function(t){return t})).style("stroke-width",15);var m=(0,ot.extent)(r.data,(function(t){return t.value0})),w=m[0],A=m[1];A=Math.max(A,1),w=Math.min(w,0);var _=Math.min(5,Math.ceil(A)),M=document.createElement("div");M.setAttribute("data-item",e.item),t.showItem(e.title,M);var k=(0,x.A)(M).style("height","100%").append("svg").attr("width","100%").attr("height","100%");k.attr("aria-label",e.title),k.append((function(){return y.node()}));var T=pt().domain(r.data.map((function(t){return t.year}))).padding(.2),O=(0,Gt.axisBottom)(T),S=k.append("g").classed("x-axis",!0),P=Nt().domain([w,A]),C=(0,Gt.axisLeft)(P).tickSizeInner(0).tickSizeOuter(0).ticks(_).tickFormat(t.i18n().createNumberFormatter(r.numberFormat,",.0f")),D=k.append("g").classed("y-axis",!0),E=k.append("g"),N=k.append("g");n.push((function(){var n=M.getBoundingClientRect(),s=n.width,l=n.height;k.attr("viewBox","0 0 "+s+" "+l),P.range([l-o,i]),D.call(C).attr("font-size",null).attr("font-family",null).call((function(t){return t.selectAll(".tick").classed("zero",(function(t){return 0===t}))}));var f=45;D.selectAll(".tick > text").each((function(){f=Math.max(f,this.getBBox().width)}));var d=u+f;D.attr("transform","translate("+d+",0)").selectAll(".tick > line").attr("x2",s-d-a),T.range([d,s-a]),O.tickSizeInner(-(l-i-o)),S.attr("transform","translate(0,"+(l-o)+")").call(O).call((function(t){return t.select(".domain").remove()})).attr("font-size",null).attr("font-family",null);var p=function(t){return Math.abs(P(0)-P(t))};N.selectAll("rect").data(r.data).join("rect").attr("x",(function(t){return T(t.year)})).attr("y",(function(t){return P(Math.max(t.value0,0))})).attr("height",(function(t){return Math.max(p(t.value0),1)})).attr("width",T.bandwidth()).attr("fill",(function(t,e){return h[e]}));E.selectAll("rect").data(r.data.filter((function(t){return p(t.value0)<45}))).join("rect").attr("x",(function(t){return T(t.year)})).attr("y",(function(t){var e=t.value0>0?45:0;return P(0)-e})).attr("height",45).attr("width",T.bandwidth()).attr("fill","transparent"),k.selectAll("g > rect").on("mousemove",(function(){var t=b.f0;c.position(t.clientX,t.clientY)})).on("mouseover",(function(n){var r,i,a,o;c.content((r=n,i=e.title,a=r.note?"<span class='note'>"+r.note+"</span>":"",o=r.source&&r.source.publicationTitle?"<span class='source'>"+t.trilingual("Source: ","Quelle: ","Source: ")+r.source.publicationTitle+"</span>":"","<span class='name'>"+i+" "+r.year+"</span><span class='value'>"+r.formattedValue+"</span>"+a+o)).visible(!0)})).on("mouseout",(function(){c.visible(!1)}))}))},l=0,f=e.item;l<f.length;l++){s(f[l])}if(r){var h=document.createElement("div"),d=(0,x.A)(h).classed("note",!0).html(r);t.markup(d),t.container.appendChild(h)}return{draw:function(){for(var t=0,e=n;t<e.length;t++){(0,e[t])()}}}},Xt=function(t,e){if(e){var n=t.handlerValue("load");n&&n(e)}return y};function $t(t,e){return t.parent===e.parent?1:2}function Zt(t,e){return t+e.x}function Qt(t,e){return Math.max(t,e.y)}function Kt(){var t=$t,e=1,n=1,r=!1;function i(i){var a,o=0;i.eachAfter((function(e){var n=e.children;n?(e.x=function(t){return t.reduce(Zt,0)/t.length}(n),e.y=function(t){return 1+t.reduce(Qt,0)}(n)):(e.x=a?o+=t(e,a):0,e.y=0,a=e)}));var u=function(t){for(var e;e=t.children;)t=e[0];return t}(i),c=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(i),s=u.x-t(u,c)/2,l=c.x+t(c,u)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*e,t.y=(i.y-t.y)*n}:function(t){t.x=(t.x-s)/(l-s)*e,t.y=(1-(i.y?t.y/i.y:1))*n})}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i}function te(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}function ee(t,e){var n,r,i,a,o,u=new ae(t),c=+t.value&&(u.value=t.value),s=[u];for(null==e&&(e=ne);n=s.pop();)if(c&&(n.value=+n.data.value),(i=e(n.data))&&(o=i.length))for(n.children=new Array(o),a=o-1;a>=0;--a)s.push(r=n.children[a]=new ae(i[a])),r.parent=n,r.depth=n.depth+1;return u.eachBefore(ie)}function ne(t){return t.children}function re(t){t.data=t.data.data}function ie(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function ae(t){this.data=t,this.depth=this.height=0,this.parent=null}ae.prototype=ee.prototype={constructor:ae,count:function(){return this.eachAfter(te)},each:function(t){var e,n,r,i,a=this,o=[a];do{for(e=o.reverse(),o=[];a=e.pop();)if(t(a),n=a.children)for(r=0,i=n.length;r<i;++r)o.push(n[r])}while(o.length);return this},eachAfter:function(t){for(var e,n,r,i=this,a=[i],o=[];i=a.pop();)if(o.push(i),e=i.children)for(n=0,r=e.length;n<r;++n)a.push(e[n]);for(;i=o.pop();)t(i);return this},eachBefore:function(t){for(var e,n,r=this,i=[r];r=i.pop();)if(t(r),e=r.children)for(n=e.length-1;n>=0;--n)i.push(e[n]);return this},sum:function(t){return this.eachAfter((function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n}))},sort:function(t){return this.eachBefore((function(e){e.children&&e.children.sort(t)}))},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;t=n.pop(),e=r.pop();for(;t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)e=e.parent,r.push(e);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each((function(e){t.push(e)})),t},leaves:function(){var t=[];return this.eachBefore((function(e){e.children||t.push(e)})),t},links:function(){var t=this,e=[];return t.each((function(n){n!==t&&e.push({source:n.parent,target:n})})),e},copy:function(){return ee(this).eachBefore(re)}};var oe=Math.PI,ue=2*oe,ce=1e-6,se=ue-ce;function le(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function fe(){return new le}le.prototype=fe.prototype={constructor:le,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,a){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+a)},arcTo:function(t,e,n,r,i){t=+t,e=+e,n=+n,r=+r,i=+i;var a=this._x1,o=this._y1,u=n-t,c=r-e,s=a-t,l=o-e,f=s*s+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>ce)if(Math.abs(l*u-c*s)>ce&&i){var h=n-a,d=r-o,p=u*u+c*c,v=h*h+d*d,g=Math.sqrt(p),y=Math.sqrt(f),m=i*Math.tan((oe-Math.acos((p+f-v)/(2*g*y)))/2),b=m/y,w=m/g;Math.abs(b-1)>ce&&(this._+="L"+(t+b*s)+","+(e+b*l)),this._+="A"+i+","+i+",0,0,"+ +(l*h>s*d)+","+(this._x1=t+w*u)+","+(this._y1=e+w*c)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,r,i,a){t=+t,e=+e,a=!!a;var o=(n=+n)*Math.cos(r),u=n*Math.sin(r),c=t+o,s=e+u,l=1^a,f=a?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+c+","+s:(Math.abs(this._x1-c)>ce||Math.abs(this._y1-s)>ce)&&(this._+="L"+c+","+s),n&&(f<0&&(f=f%ue+ue),f>se?this._+="A"+n+","+n+",0,1,"+l+","+(t-o)+","+(e-u)+"A"+n+","+n+",0,1,"+l+","+(this._x1=c)+","+(this._y1=s):f>ce&&(this._+="A"+n+","+n+",0,"+ +(f>=oe)+","+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 he=fe,de=Array.prototype.slice;function pe(t){return function(){return t}}function ve(t){return t[0]}function ge(t){return t[1]}function ye(t){return t.source}function me(t){return t.target}function be(t){var e=ye,n=me,r=ve,i=ge,a=null;function o(){var o,u=de.call(arguments),c=e.apply(this,u),s=n.apply(this,u);if(a||(a=o=he()),t(a,+r.apply(this,(u[0]=c,u)),+i.apply(this,u),+r.apply(this,(u[0]=s,u)),+i.apply(this,u)),o)return a=null,o+""||null}return o.source=function(t){return arguments.length?(e=t,o):e},o.target=function(t){return arguments.length?(n=t,o):n},o.x=function(t){return arguments.length?(r="function"==typeof t?t:pe(+t),o):r},o.y=function(t){return arguments.length?(i="function"==typeof t?t:pe(+t),o):i},o.context=function(t){return arguments.length?(a=null==t?null:t,o):a},o}function we(t,e,n,r,i){t.moveTo(e,n),t.bezierCurveTo(e=(e+r)/2,n,e,i,r,i)}function xe(t){this._context=t}function Ae(t){return new xe(t)}xe.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 _e=20;function Me(t){var e=[{x:0,y:0},{x:1,y:.5},{x:1,y:-.5},{x:0,y:0}],n=function(){var t=ve,e=ge,n=pe(!0),r=null,i=Ae,a=null;function o(o){var u,c,s,l=o.length,f=!1;for(null==r&&(a=i(s=he())),u=0;u<=l;++u)!(u<l&&n(c=o[u],u,o))===f&&((f=!f)?a.lineStart():a.lineEnd()),f&&a.point(+t(c,u,o),+e(c,u,o));if(s)return a=null,s+""||null}return o.x=function(e){return arguments.length?(t="function"==typeof e?e:pe(+e),o):t},o.y=function(t){return arguments.length?(e="function"==typeof t?t:pe(+t),o):e},o.defined=function(t){return arguments.length?(n="function"==typeof t?t:pe(!!t),o):n},o.curve=function(t){return arguments.length?(i=t,null!=r&&(a=i(r)),o):i},o.context=function(t){return arguments.length?(null==t?r=a=null:a=i(r=t),o):r},o}().x((function(e){return t*e.x})).y((function(e){return t*e.y})).curve(Ae);return n(e)}function ke(t,e,n,r,i,a,o){void 0===o&&(o=0),t.each((function(){var t=(0,x.A)(this),u=t.select(e).node(),c=t.select(n).node();if(u&&c&&u.textContent){var s=u.getBBox(),l=Number(t.attr("data-dx"));if(0!=l){var f=s.x,h=-l+r,d=a-r-s.width-l;f<h?(s.x=h,(0,x.A)(u).attr("x",h-f)):f>d&&(s.x=d,(0,x.A)(u).attr("x",d-f))}(0,x.A)(c).attr("width",s.width+2*r).attr("height",s.height+2*i).attr("x",s.x-r).attr("y",s.y-i).attr("rx",o).attr("ry",o)}}))}function Te(t){t.reverse();for(var e=[],n=0,r=t;n<r.length;n++){var i=r[n];e.indexOf(i)<0&&e.push(i)}e.reverse();var a,o=e.length;if(o>0&&!((a=window.navigator.userAgent).indexOf("MSIE ")>=0||a.indexOf("Edge ")>=0||a.indexOf("Trident")>=0)){for(var u=e[0].parentNode,c=null==u?[]:u.childNodes,s=!0,l=0;l<o;++l)if(c[c.length-o+l]!=e[l]){s=!1;break}if(!s)for(var f=0,h=e;f<h.length;f++){var d=(i=h[f]).parentNode;null==d||d.appendChild(i)}}}function Oe(t,e,n,r,i){var a,o=t.container.getBoundingClientRect().width;function u(t){return e.select(".node[data-id='"+t+"']")}function c(){var t=[];e.select(".node").each((function(){t.push(this)})),t.push(e.select("[data-root]").node()),Te(t)}var s=e.select("g.nodes");s.empty()&&(s=e.append("g").attr("class","nodes")),s.style("pointer-events","all");var l=s.selectAll(".node").data(n),f=function(t){return t.clickable||!t.root},h=l.enter().append("svg:a").attr("class","node").attr("data-leaf",(function(t){return!t.children||0==t.children.length})).attr("data-id",(function(t){return t.id})).attr("data-root",(function(t){return t.root})).attr("data-old",(function(t){var e;return null!==(e=t.old)&&void 0!==e?e:null})).attr("data-warning",(function(t){var e;return null!==(e=t.warning)&&void 0!==e?e:null})).attr("data-d",(function(t){var e;return null!==(e=t.distance)&&void 0!==e?e:null})).attr("xlink:href",(function(t){return t.url||""})).attr("data-clickable",(function(e){return!(!f(e)||!t.getClickHandler(e.type))||null})).on("click",(function(e){var n=b.f0;f(e)&&t.invokeClickHandler(e.query,e.type)&&n.preventDefault()}));return T("mouseover",s.node(),h,(function(t){var n=t.id,c=n==r?"root":"node",s=u(n).attr("data-highlight",c);s.select(".text").text(t.desc),ke(s,".text",".text-bg",i?2:5,2,o);var l=e.selectAll("[data-source-id='"+n+"'],[data-target-id='"+n+"']").attr("data-highlight",c);ke(l,".desc",".desc-bg",3,2,o),window.clearTimeout(a);var f=[];l.each((function(t){function e(t){t!=n&&f.push(u(t).node())}f.push(this),e(t.source.id),e(t.target.id)})),f.push(s.node()),Te(f)})),T("mouseout",s.node(),h,(function(t){e.selectAll("[data-highlight]").attr("data-highlight","false"),e.select(".node[data-id='"+t.id+"']").select(".text").text(t.text).attr("x",0),a=window.setTimeout(c,1e3)})),h.append("circle").attr("r",_e),h.append("text").attr("class","icon").text((function(t){return t.icon})),h.append("rect").attr("class","text-bg"),h.append("text").attr("class","text").text((function(t){return t.text})),h.filter("[data-warning]").append("circle").attr("r",7).attr("data-warn",!0).attr("transform","translate(20, -20)"),h.filter("[data-warning]").append("text").attr("r",8).attr("class","icon").text("").attr("data-warn",!0).append("title").text((function(t){var e;return null!==(e=t.warning)&&void 0!==e?e:""})),c(),h}function Se(t,e,n){var r,i=t.container.getBoundingClientRect().width;function a(t){var a=t.getAttribute("data-id"),o="true"==t.getAttribute("data-root")?"root":"node";t.setAttribute("data-highlight",o);var u=t.querySelector(".text");u&&(u.textContent=t.getAttribute("data-description")),ke((0,x.A)(t),".text",".text-bg",n?2:5,2,i);var c=e.selectAll(".link[data-source-id='"+a+"'],.link[data-target-id='"+a+"']").attr("data-highlight",o);ke(c,".desc",".desc-bg",3,2,i),window.clearTimeout(r);var s=[];c.each((function(t){var n=this;function r(t){t!=a&&s.push(function(t){return e.select(".node[data-id='"+t+"']")}(t).node())}s.push(n),r(n.getAttribute("data-source-id")||""),r(n.getAttribute("data-target-id")||"")})),s.push(t),Te(s)}function o(){var t=[];e.select(".node").each((function(){t.push(this)})),t.push(e.select("[data-root]").node()),Te(t)}var u=e.select("g.nodes");u.selectAll(".node").each((function(){var e=this,n="true"==e.getAttribute("data-root"),r=t.getLinkifier();if(!n){var i=e.getAttribute("data-type")||"",a=e.getAttribute("data-query")||"";nn.debug(e.getAttribute("data-url")+" -> "+r(e)),(0,x.A)(e).attr("xlink:href",r(e)).attr("data-clickable",t.getClickHandler(i)?"true":"false").on("click",(function(){var e=b.f0;t.invokeClickHandler(a,i)&&e.preventDefault()}))}}));u.selectAll(".node").on("mouseover",(function(){a(this)})).on("mouseout",(function(){!function(t){e.selectAll("[data-highlight]").attr("data-highlight","false");var n=t.getAttribute("data-id");e.select(".node[data-id='"+n+"']").select(".text").text(t.getAttribute("data-text")||"").attr("x",0),r=window.setTimeout(o,1e3)}(this)})),o(),nn.debug("successfully completed v12")}var Pe=function(){return Pe=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},Pe.apply(this,arguments)},Ce=function(t,e){var n=t.container;(0,x.A)(n).selectAll(".shake").style("display","none");var r=e.size>=10,i=e.scope,a=(0,x.A)(n).append("svg").attr("data-dense",r).attr("aria-label",e.desc);return{draw:function(){for(var o,u=n.getBoundingClientRect().width,c={left:-u/6,right:u/6,top:-20,bottom:38},s={left:-8,right:u/3-8,top:-8,bottom:8},l=r?s:c,f=c,h=r?[s.bottom-s.top,s.right-s.left]:[c.bottom-c.top,c.right-c.left],d=r?7:12,p=Kt().nodeSize(h).separation((function(t,e){var n=t.parent==e.parent;if(r){if(n)return 1;var i=1*(t.parent.children.length+e.parent.children.length)/2+1.5;return i<5?1.5+(5-i):1.5}return n?1:1.4}))(ee(e)),v=function(t){return Pe(Pe({},t.data),{x:t.x,y:t.y,depth:t.depth})},g=p.descendants().map(v),y=p.links().map((function(t){return{target:v(t.target),source:v(t.source)}})),m=0,b=0,w=g;b<w.length;b++){var x=w[b];x.root&&(o=x,"publication"===i&&(x.clickable=!0)),m=Math.max(m,x.depth)}a.select("g").remove();var A=a.append("g"),_=A.append("g").selectAll(".link").data(y),k=function(t){return t.target.edge},T=_.enter().append("g").attr("class","link").attr("data-source-id",(function(t){return t.source.id})).attr("data-target-id",(function(t){return t.target.id})).attr("data-old",(function(t){var e,n;return null!==(n=null===(e=k(t))||void 0===e?void 0:e.old)&&void 0!==n?n:null})).attr("data-warn",(function(t){var e,n;return null!==(n=null===(e=k(t))||void 0===e?void 0:e.warn)&&void 0!==n?n:null})).attr("data-head",(function(t){var e,n;return null!==(n=null===(e=k(t))||void 0===e?void 0:e.head)&&void 0!==n?n:null})).attr("data-tail",(function(t){var e,n;return null!==(n=null===(e=k(t))||void 0===e?void 0:e.tail)&&void 0!==n?n:null}));T.append("path").attr("class","line"),T.append("path").attr("class","head").attr("d",Me(d)),T.append("path").attr("class","tail").attr("d",Me(d));var O=Oe(t,A,g,o?o.id:void 0,r),S=function(t,e){return"translate("+t+","+e+")"},P=function(t){var e=function(t){return!t.children||0===t.children.length},n=function(t){return e(t)?l:f},i=function(t){return t.y+n(t).left},a=(0,ot.min)(g,i),o=(0,ot.max)(g,(function(t){return t.y+n(t).right})),u=[a,o],c=(0,ot.min)(g,(function(t){return t.x+n(t).top})),s=(0,ot.max)(g,(function(t){return t.x+n(t).bottom})),h=(0,ot.extent)(g,(function(t){return t.x})),d=h[1]-h[0],p=Nt().domain(u).range([0,t]),v=Nt().domain(h).range([0,d]),y=function(t){return p(r&&e(t)?i(t):t.y)},m=function(t){return v(t.x)},b=function(t){return S(y(t),m(t))},w=be(we).x((function(t){return y(t)})).y((function(t){return m(t)})),x=Math.max(10,(150-(s-c))/2),A=s-h[1]+x,_=h[0]-c+x;return{height:d+A+_,diagonal:w,nodeTransform:b,headTransform:function(t){return b(t.target)+" "+S(r&&e(t.target)?0:-20,0)+" rotate(180)"},tailTransform:function(t){return b(t.source)+" "+S(_e,0)},canvasTransform:S(0,_)}}(u);M(n,P.height),a.attr("width","100%").attr("height","100%").attr("viewBox","0 0 "+u+" "+P.height),A.attr("transform",P.canvasTransform),O.attr("transform",P.nodeTransform),T.select(".line").attr("d",P.diagonal),T.select(".head").attr("transform",P.headTransform),T.select(".tail").attr("transform",P.tailTransform)}}};function De(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function Ee(t,e,n,r,i){for(var a,o=t.children,u=-1,c=o.length,s=t.value&&(r-e)/t.value;++u<c;)(a=o[u]).y0=n,a.y1=i,a.x0=e,a.x1=e+=a.value*s}function Ne(t,e,n,r,i){for(var a,o=t.children,u=-1,c=o.length,s=t.value&&(i-n)/t.value;++u<c;)(a=o[u]).x0=e,a.x1=r,a.y0=n,a.y1=n+=a.value*s}var je=function t(e){function n(t,n,r,i,a){!function(t,e,n,r,i,a){for(var o,u,c,s,l,f,h,d,p,v,g,y=[],m=e.children,b=0,w=0,x=m.length,A=e.value;b<x;){c=i-n,s=a-r;do{l=m[w++].value}while(!l&&w<x);for(f=h=l,g=l*l*(v=Math.max(s/c,c/s)/(A*t)),p=Math.max(h/g,g/f);w<x;++w){if(l+=u=m[w].value,u<f&&(f=u),u>h&&(h=u),g=l*l*v,(d=Math.max(h/g,g/f))>p){l-=u;break}p=d}y.push(o={value:l,dice:c<s,children:m.slice(b,w)}),o.dice?Ee(o,n,r,i,A?r+=s*l/A:a):Ne(o,n,r,A?n+=c*l/A:i,a),A-=l,b=w}}(e,t,n,r,i,a)}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}((1+Math.sqrt(5))/2);function Le(t){if("function"!=typeof t)throw new Error;return t}function Re(){return 0}function Fe(t){return function(){return t}}var Ie=function(t,e){var n,r,i;if(!e.item||0==e.item.length)throw new Error("no data");for(var a=[],o=function(e){var o=e.data,u=document.createElement("div"),c=(0,x.A)(u).attr("data-item",e.item).attr("class","root"),s=c.append("div").attr("class","box-parent");t.showItem(e.title,u);var l=(0,x.A)(null!==(n=t.nodeValue("legend1"))&&void 0!==n?n:null);l.empty()&&(l=c.selectAll(".legend1"));var f=(0,x.A)(null!==(r=t.nodeValue("legend2"))&&void 0!==r?r:null);f.empty()&&(f=c.selectAll(".legend2"));var h=(0,x.A)(null!==(i=t.nodeValue("legend3"))&&void 0!==i?i:null);if(h.empty()&&(h=c.selectAll(".legend3")),l.empty()||f.empty()||h.empty()){var d=c.selectAll(".legends");d.empty()&&(d=c.append("div").attr("class","legends")),l.empty()&&(l=d.append("span").attr("class","legend1")),f.empty()&&(f=d.append("span").attr("class","legend2")),h.empty()&&(h=d.append("span").attr("class","legend3"))}h.text($("As of: ","Stand: ","Date de ")+e.date);var p,v,g=t.i18n().createNumberFormatter(o.numberFormat,",.3r"),y=null,m=function(t,e){e.children||y&&y!=e||(s.classed("highlighting",!0),(0,A.A)(".highlighted").classed("highlighted",!1),(0,x.A)(t).classed("highlighted",!0),w(e))},b=function(){var t;y||(s.classed("highlighting",!1),(0,A.A)(".highlighted").classed("highlighted",!1),w(null!==(t=o.default)&&void 0!==t?t:o.root))},w=function(t){var e;l.text((null!==(e=t.formattedValue)&&void 0!==e?e:g(t.raw))+" "),f.text(t.name)};b(),p=o.root,v=t.getRootColor(),function t(e,n,r,i){e.color=n.toString();var a=r;if(e.children){var o=e.children.length+1;if(o>0)for(var u=(i-r)/o,c=0,s=e.children;c<s.length;c++){var l=s[c];n.h=a%360,t(l,n,a,a+u),a+=u}}}(p,v,v.h,v.h+360);a.push((function(){var t=s.node().getBoundingClientRect();if(0!=t.width&&0!=t.height){var e=ee(o.root).sum((function(t){return t.children?0:Math.abs(t.raw)})).sort((function(t,e){return(0,ot.ascending)(t.value,e.value)})),n=function(){var t=je,e=!1,n=1,r=1,i=[0],a=Re,o=Re,u=Re,c=Re,s=Re;function l(t){return t.x0=t.y0=0,t.x1=n,t.y1=r,t.eachBefore(f),i=[0],e&&t.eachBefore(De),t}function f(e){var n=i[e.depth],r=e.x0+n,l=e.y0+n,f=e.x1-n,h=e.y1-n;f<r&&(r=f=(r+f)/2),h<l&&(l=h=(l+h)/2),e.x0=r,e.y0=l,e.x1=f,e.y1=h,e.children&&(n=i[e.depth+1]=a(e)/2,r+=s(e)-n,l+=o(e)-n,(f-=u(e)-n)<r&&(r=f=(r+f)/2),(h-=c(e)-n)<l&&(l=h=(l+h)/2),t(e,r,l,f,h))}return l.round=function(t){return arguments.length?(e=!!t,l):e},l.size=function(t){return arguments.length?(n=+t[0],r=+t[1],l):[n,r]},l.tile=function(e){return arguments.length?(t=Le(e),l):t},l.padding=function(t){return arguments.length?l.paddingInner(t).paddingOuter(t):l.paddingInner()},l.paddingInner=function(t){return arguments.length?(a="function"==typeof t?t:Fe(+t),l):a},l.paddingOuter=function(t){return arguments.length?l.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):l.paddingTop()},l.paddingTop=function(t){return arguments.length?(o="function"==typeof t?t:Fe(+t),l):o},l.paddingRight=function(t){return arguments.length?(u="function"==typeof t?t:Fe(+t),l):u},l.paddingBottom=function(t){return arguments.length?(c="function"==typeof t?t:Fe(+t),l):c},l.paddingLeft=function(t){return arguments.length?(s="function"==typeof t?t:Fe(+t),l):s},l}().size(_(t)).round(!0)(e),r=function(t){return t.x1-t.x0},i=function(t){return t.y1-t.y0},a=s.selectAll(".box").data(n.descendants()),u=a.enter().append("div").attr("class","box").on("mouseenter",(function(t){m(this,t.data)})).on("mouseleave",b).on("click",(function(t){!function(t,e){y==e?(y=null,b()):(y=e,m(t,e))}(this,t.data)})).attr("data-neg",(function(t){return!!(t.data.raw<0||(e=t.data.name,e&&e.indexOf("Fehlbetrag")>=0));var e}));u.append("div").attr("class","value").text((function(t){var e,n;return t.children?null:null!==(n=null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.formattedValue)&&void 0!==n?n:g(t.value)})),u.append("div").attr("class","desc").text((function(t){return t.children?null:t.data.name})),u.merge(a).attr("data-small",(function(t){return r(t)<40||i(t)<32||null})).style("left",(function(t){return t.x0+"px"})).style("top",(function(t){return t.y0+"px"})).style("width",(function(t){return Math.max(0,r(t)-1)+"px"})).style("height",(function(t){return Math.max(0,i(t)-1)+"px"})).style("background",(function(t){return t.children?"white":t.data.color}))}}))},u=0,c=e.item;u<c.length;u++){o(c[u])}return{draw:function(){for(var t=0,e=a;t<e.length;t++){(0,e[t])()}}}},Ue=function(t,e){var n=e&&e.financials&&e.financials.filter((function(t){return t.items.length>0})),r=t.isReverseChronology();if(!(n&&n.length>0&&n[0].items.length>0))throw new Error("no data available");for(var i=(0,x.A)(t.container).append("table").attr("class","ui bizq very compact celled small unstackable striped selectable table"),a=i.append("thead").append("tr"),o=i.append("tbody"),u=i.append("tfoot").append("tr"),c={},s=0,l=n;s<l.length;s++){var f=l[s];f.itemsById={};for(var h=0,d=f.items;h<d.length;h++){var p=d[h];f.itemsById[p.id]=p,c[p.id]=p}}var v=n[n.length-1];r&&n.reverse(),a.append("th").attr("class","first").text(t.stringValue("title")).append("a").attr("href",e.csvUrl).attr("download","download").attr("title","CSV/Excel Download").classed("screen-only",!0).append("i").attr("class","download icon");for(var g=0,m=n;g<m.length;g++){var w=m[g];a.append("th").text(w.formattedDate)}for(var A in c){var _=o.append("tr").attr("class","active-on-hover"),M=c[A];_.append("td").text(M.name);for(var k=0,T=n;k<T.length;k++){var O=T[k].itemsById[A],S=_.append("td");if(O){var P=O.value>=0?"pos":"neg",C=O.formattedValue;S.append("span").attr("class",P+" value").text(C),O.estimate&&S.append("a").attr("href","javascript:void()").attr("title",t.trilingual("Unsafe value (estimation or indirect determination)","Indirekte oder unsichere Bestimmungsmethode","Valeur non sûre (estimation ou détermination indirecte)")).html(" *&nbsp;"),O.note&&S.append("span").attr("class","note").text(O.note)}else S.append("span").text("N/A")}}if(v.source){if(v.source.auditorName){(_=o.append("tr").attr("class","active-on-hover")).append("td").text(t.trilingual("Auditor","Prüfer","Auditeur"));for(var D=0,E=n;D<E.length;D++){var N=E[D],j=N.source&&N.source.auditorName;(S=_.append("td")).append("span").attr("class","auditor value").text(j||"N/A")}}if(v.source&&v.source.publicationDate){(_=o.append("tr").attr("class","active-on-hover")).append("td").text(t.trilingual("Publication date","Veröffentlichungs­datum","Date de publication"));for(var L=0,R=n;L<R.length;L++){var F=R[L],I=F.source&&F.source.publicationDate;(S=_.append("td")).append("span").attr("class","date value").text(I?t.i18n().dateFormatter(new Date(I)):"N/A")}}u.append("th").text(t.trilingual("Source","Quelle","Source"));for(var U=t.handlerValue("sourceClick"),H=function(t){var e=u.append("th");e.html(t.note.html),U&&e.select("a").attr("href","javascript:void(0);").on("click",(function(){b.f0.preventDefault(),U(t.source)}))},q=0,B=n;q<B.length;q++){H(B[q])}}return y},He=function(t,e){if(e.children)return Ce(t,e);var n,r="orgchart"==e.type,i=t.container;if(e.html)return i.innerHTML=e.html,ke((0,x.A)(i).selectAll(".link"),".desc",".desc-bg",3,3,1e3),Se(t,(0,x.A)(i).select("svg"),!1),{draw:function(){}};if(!e.nodes||e.nodes.length<2)throw new Error("graph empty or single node");for(var a={},o=e.nodes.length,u=!1,c=0,s=e.nodes;c<s.length;c++){var l=s[c];l.root&&(n=l),l.warning&&(u=!0),a[l.id]=l}for(var f=0,h=e.links;f<h.length;f++){var d=h[f];d.source=a[d.source],d.target=a[d.target],d.source&&d.target||nn.log("error","broken link: ",d)}var p=(0,x.A)(i).append("svg").attr("width","100%").attr("height","100%").attr("aria-label",$("Network","Netzwerk","Réseau")),v=p.append("g").attr("class","nodes").selectAll(".link").data(e.links),g=p.append("g").attr("class","legend");r||(g.append("line").attr("data-old",!1),g.append("line").attr("data-old",!0)),u&&g.append("line").attr("data-warn",!0),g.append("text").attr("data-old",!1).text(t.trilingual("currently","aktuell","actuel")),g.append("text").attr("data-old",!0).text(t.trilingual("previously","vormals","auparavant")),u&&g.append("text").attr("data-warn",!0).text(t.trilingual("politically exposed","politisch exponiert","politiquement exposé"));var y=v.enter().append("g").attr("class","link").attr("data-source-id",(function(t){return t.source.id})).attr("data-target-id",(function(t){return t.target.id})).attr("data-head",(function(t){return t.head})).attr("data-tail",(function(t){return t.tail})).attr("data-old",(function(t){return t.old})).attr("data-warn",(function(t){return t.warn})).attr("data-length",(function(t){return t.length})).attr("data-helper",(function(t){return t.helper}));if(r)for(var m=0;m<3;++m)y.append("line").attr("class","line").attr("class","segment"+m).attr("stroke-width",1).attr("stroke","#000000");else y.append("line").attr("class","line").attr("stroke-width",1).attr("stroke","#000000").attr("stroke-dasharray",(function(t){return function(t){return"SameAddress"==t.type?"3, 3":"CommonFiling"==t.type?"6, 6":void 0}(t)}));y.append("rect").attr("class","desc-bg"),y.append("text").attr("class","desc").attr("text-anchor","middle").text((function(t){return t.text})),y.append("path").attr("class","head").attr("d",Me(12)),y.append("path").attr("class","tail").attr("d",Me(12));var b=Oe(t,p,e.nodes,n.id,!1),w=0,A=!0,k=function(){if(!A&&w++%3==0){var t=i.getBoundingClientRect(),n=t.width,a=t.height,u=(0,ot.extent)(e.nodes,(function(t){return t.x})),c=(0,ot.extent)(e.nodes,(function(t){return t.y})),s=[100,n-100],l=r?c:[40,(2==o?120:a)-60],f=H(u),h=H(s),d=H(c),v=H(l),g=U(u,s),m=U(c,l),x=2==o?2:1.1*e.diameter;g=Math.min(g,m*x),2==o&&(m=0,g*=2,M(i,120));var _=function(t){return(t-f)*g+h},k=function(t){return(t-d)*m+v},T=function(t){return _(t.source.x)},O=function(t){return _(t.target.x)},S=function(t){return k(t.source.y)},P=function(t){return k(t.target.y)},C=function(t){return O(t)-T(t)},D=function(t){return P(t)-S(t)},E=function(t){return(O(t)-T(t))/2},N=function(t){return(P(t)-S(t))/2},j=function(t){return 180/Math.PI*Math.atan2(D(t),C(t))};y.attr("transform",(function(t){return"translate("+T(t)+" "+S(t)+")"})),y.select("line").attr("x1",0).attr("y1",0).attr("x2",C).attr("y2",D),y.select(".segment0").attr("x1",0).attr("y1",0).attr("x2",0).attr("y2",N),y.select(".segment1").attr("x1",0).attr("y1",N).attr("x2",C).attr("y2",N),y.select(".segment2").attr("x1",C).attr("y1",N).attr("x2",C).attr("y2",D);var L=function(t){return"rotate("+function(t){var e=180/Math.PI*Math.atan2(D(t),C(t));return e>90&&e<270?e-=180:e<-90&&e>-270&&(e+=180),e}(t)+" "+E(t)+" "+N(t)+" ) translate(0 -7)"};if(y.select(".desc").attr("x",E).attr("y",N).attr("transform",L),y.select(".desc-bg").attr("x",E).attr("y",N).attr("transform",L),!r){y.select(".tail").attr("transform",(function(t){return"rotate("+j(t)+") translate("+"20 0)"})),y.select(".head").attr("transform",(function(t){return"translate("+function(t){return C(t)+0}(t)+" "+function(t){return D(t)+0}(t)+") rotate("+(180+j(t))+") translate("+"20 0)"}))}var R=l[1]+20,F=R-18,I=R+18;p.selectAll(".legend line").attr("x1",50).attr("x2",90),p.selectAll(".legend line[data-old='false'").attr("y1",F).attr("y2",F),p.selectAll(".legend line[data-old='true'").attr("y1",R).attr("y2",R),p.selectAll(".legend line[data-warn='true'").attr("y1",I).attr("y2",I),p.selectAll(".legend text").attr("x",95);p.selectAll(".legend text[data-old='false'").attr("y",F+3),p.selectAll(".legend text[data-old='true'").attr("y",R+3),p.selectAll(".legend text[data-warn='true'").attr("y",I+3),ke(y,".desc",".desc-bg",3,3,1e3),b.attr("data-dx",(function(t){return _(t.x)})).attr("transform",(function(t){return"translate("+_(t.x)+","+k(t.y)+")"}))}function U(t,e){return(e[1]-e[0])/(t[1]-t[0])}function H(t){return(t[1]+t[0])/2}};return{draw:function(){var t=_(i.getBoundingClientRect()),e=t[0],n=t[1];p.attr("viewBox","0 0 "+e+" "+n),A=!1,k()}}};function qe(t){return{standard:t.toString(),light:t.brighter(1.15).toString(),bright:(0,w.KI)(t.h,1.3*t.s,.9*t.l).toString()}}var Be,Ve=n(5626),ze=n.n(Ve),We=function(t,e){for(var n=t.container,r=(t.getLinkifier(),1),i=0,a=e.event;i<a.length;i++){a[i].id=r++}var o=new Date(e.minDate),u=new Date(e.maxDate);if(!ze())throw new Error("d3kit-timeline not found in global context which is ");var c=12,s=function(t,e){for(var n=[],r=360/e+1,i=t.h,a=0;a<e;++a)t.h=(i+a*r)%360,n.push(qe(t));return n}(t.getRootColor(),c),l=qe((0,w.KI)("#888888"));function f(t){return t.old?l:s[t.cat%c]}var h=function(t){return f(t).standard},d={left:12,right:15,top:5,bottom:35};return{draw:function(){n.innerHTML="";var r=new(ze())(n,{margin:d,offset:[0,0],initialHeight:50,direction:"up",domain:[o,u],dotRadius:5,linkColor:h,dotColor:h,labelBgColor:h,layerGap:20,timeFn:function(t){return new Date(t.date)},textFn:function(t){return t.text},formatAxis:function(e){var n=u.getFullYear()-o.getFullYear();return e.tickFormat(t.i18n().timeScaleFormatter).tickSizeInner(8).tickSizeOuter(10).ticks(n<=4?2*n:void 0)}});function i(){r.fit().options({labella:{maxPos:r.width()-(d.left+d.right)}}).updateDimensionNow().resizeToFit().updateDimensionNow();var t=r.layers.get("main/axis").selectAll("g.tick");r.width()/t.size()<=32&&t.each((function(t,e){if(e%2==0){var n=(0,x.A)(this),r=n.select("text"),i=n.select("line");r.attr("y",Number(r.attr("y"))+10),i.attr("y2",Number(i.attr("y2"))+10)}}))}r.off("data").off("options"),r.chartRoot.style("line-height",null),r.container.style("line-height",null),r.svg.insert("title",":first-child").text(e.title),r.data(e.event),i(),r.layers.get("main/axis").attr("font-family",null).attr("font-size",null),r.layers.get("main/label").selectAll("g.label-g").each((function(){var t=(0,x.A)(this).selectAll(".label-g > *").remove(),e=(0,x.A)(this).append("svg:a").attr("class",(function(t){return t.data.class})).attr("xlink:href",(function(t){return t.data.href})).attr("xlink:title",(function(t){return t.data.desc}));e.append("title").text((function(t){return t.data.desc})),t.each((function(){var t=this;e.append((function(){return t}))}))}));var a=t.handlerValue("publicationClick"),c="function"==typeof a;(0,x.A)(n).selectAll(".label-g").attr("data-clickable",(function(e){return!(!c&&!t.getClickHandler("h"))||null})).on("click",(function(e){t.invokeClickHandler(e.data)?b.f0.preventDefault():a&&(a(e.data.query),b.f0.preventDefault())})).on("mouseenter touchstart",(function(t){if(b.f0.target){var e=f(t.data);(0,x.A)(b.f0.target).select("rect").style("fill",e.bright);var r=t.data.id;(0,x.A)(n).selectAll(".link-layer path").filter((function(t){return t.data.id===r})).attr("data-highlighted",!0);var i=t.data.query&&t.data.query.id;i&&(0,A.A)("[data-publication-id='"+i+"']").style("background-color",e.light)}})).on("mouseleave touchend",(function(t){if(b.f0.target){var e=f(t.data);(0,x.A)(b.f0.target).select("rect").style("fill",e.standard),(0,x.A)(n).selectAll(".link-layer path").attr("data-highlighted",!1);var r=t.data.query&&t.data.query.id;r&&(0,A.A)("[data-publication-id='"+r+"']").style("background-color",null)}}));var s=!0;return function(){s||i(),s=!1}}()}},Ye=function(t,e){if(e){var n=t.handlerValue("load");n&&n(e)}return y},Ge=function(t,e){var n=function(t){var e;return null===(e=function(t){return t?new Date(t):null}(t))||void 0===e?void 0:e.toLocaleDateString()},r=(0,x.A)(t.container).append("table").attr("class","ui bizq very compact celled small unstackable striped table"),i=r.append("tbody");nn.debug("data",e);for(var a=0,o=["current","former"];a<o.length;a++){"former"==o[a]&&i.append("tr").append("td").attr("class","first").attr("colspan",2).text("Vormals");for(var u=0,c=e.current;u<c.length;u++){var s=c[u];nn.debug("group",s);var l=s.name,f=s.entries;i.append("tr").append("td").attr("class","first").attr("colspan",2).text(l);for(var h=0,d=f;h<d.length;h++){var p=d[h];nn.debug("entry",p);var v=i.append("tr"),g=p.person,m=v.append("td").append("span").text(g.name).attr("class","person");for(var b in g.query)m.attr(b,g.query[b]);for(var w=v.append("td"),A=0,_=p.chunks;A<_.length;A++){var M=_[A],k=void 0;!M.start&&M.end?k="bis "+n(M.end):M.start&&!M.end?k="seit "+n(M.start):M.start&&M.end&&(k=n(M.start)+" – "+n(M.end)),w.append("span").text(k)}}}}return t.markup(r),y};function Je(t){if(t){Be=document.querySelectorAll("button:not([disabled])");for(var e=0;e<Be.length;++e)Be[e].disabled=!0}else if(Be)for(e=0;e<Be.length;++e)Be[e].disabled=!1;document.body.classList.toggle("waiting",t)}var Xe=function(t,e){return T("click",t.container,"*",(function(){Je(!0);var e=new XMLHttpRequest;function n(t){nn.log("error","cannot list pubs",t)}return e.open("POST","/_api/shop/v1/products"),e.setRequestHeader("Content-Type","application/json"),e.onerror=function(t){Je(!1),n(t)},e.onload=function(){Je(!1),nn.debug(e.status),e.status>=400&&n(e.responseText||e.statusText),nn.debug("ok",e.responseText);var t=JSON.parse(e.responseText);nn.debug("data",t)},e.send(JSON.stringify(t.options)),!1})),y},$e=function(t,e){var n=(0,x.A)(t.container).selectAll(".publication").data(e.publications).enter().append("div").attr("class","pub").attr("data-publication-id",(function(t){return t.id})),r=n.append("h2");return r.append("span").attr("class","icon").text((function(t){return t.internal.icon})),r.append("span").attr("class","date").text((function(t){return t.internal.formattedDate})),r.append("a").attr("href","#").html((function(t){return t.internal.htmlTitle})).on("click",(function(){var t,e,n,r=b.f0,i=r.target;null===(n=null===(e=null===(t=null==i?void 0:i.parentElement)||void 0===t?void 0:t.parentElement)||void 0===e?void 0:e.classList)||void 0===n||n.toggle("expanded"),r.preventDefault()})),n.append("div").attr("class","text").html((function(t){return t.html})),t.markup(n),y},Ze=function(t,e){var n=(0,x.A)(t.container),r=n.append("ul").attr("class","search-results"),i=e.cursor;function a(t){var e,n={},r=t.subject,i=r.name[0].name,a=r.address&&r.address[0],o=a&&a.city,u={query:n,address:a,name:i,details:t.formattedDetails},c=r.tag;switch(c&&c.terminated&&(u.terminated=!0),t.targetType){case"Company":u.type="c",n.address=o,n.name=i;var s=r.register&&r.register[0];s&&s.id&&(s.city&&(n.registerCity=s.city),n.registerId=s.id);break;case"Person":u.type="p";var l=i.split(",");n.lastName=l[0],n.firstName=(e=l[1])?e.trim():e,n.birthDate=r.birthDate,n.address=o,n.address&&n.birthDate||(n.id=t.targetId)}return u}var o=n.append("div").attr("class","more"),u=o.append("p"),c=o.append("a").attr("href","#").on("click",(function(){var e=b.f0,n=g(t.options,{offset:c.attr("data-offset"),position:c.attr("data-position")});D.requestData(n,(function(t){h(t)}),t.fail.bind(t)),e.preventDefault()})),s=0==i.items.length,l=t.handlerValue("noResults"),f=t.handlerValue("oneResult");function h(e){for(var n=e.cursor,i=0,s=n.items;i<s.length;i++){var l=s[i],f=a(l),h=f.query,d=h.address,p=h.name;p||(p=h.lastName+", "+h.firstName),d&&(p+=", "+d);var v=r.append("li").attr("class","search-result");v.append("span").attr("class","icon").text("Company"==l.targetType?"":"");var g=v.append("div").attr("class","body"),y=g.append("a").attr("href",document.location.pathname+"?"+S(h)).text(p).on("click",(function(){var n=b.f0;t.invokeClickHandler(e)&&n.preventDefault()}));if(f.terminated){y.append("sup").attr("title","erloschen").text("✝︎")}g.append("div").attr("class","detail").text(f.detail);for(var m=0,w=l.formattedDetails;m<w.length;m++){var x=w[m];g.append("div").attr("class","detail").text(x)}}o.attr("data-total",n.total);var A=Number(n.offset+n.items.length).toLocaleString();n.total?A+=" Resultate von "+Number(n.total).toLocaleString()+" insgesamt.":A+=" Resultate.",u.text(A),c.text(n.lastPage?"":"Weitere Resultate anzeigen").attr("data-offset",n.offset+n.limit).attr("data-position",e.properties.nextPosition)}return s?l?l():n.append("p").text("Keine Resultate zu dieser Suche."):1==i.items.length&&f?f(a(i.items[0])):h(e),y};var Qe,Ke=function(t,e){if(!e.sheet)throw new Error("no data");for(var n=function(e){if(!e){var n=t.stringValue("subject")||"assets";throw new Error("no data for subject '"+n+"'")}var r=e.column,i=e.row,l=t.isReverseChronology(),f=t.numberValue("maxYears")||5;l&&r.reverse();var h=function(t){return l?t<f:t>=r.length-f};if(r.length<=0)return"break";var d,p=r[0].currency,v=1,g=p.unit,y=t.i18n().numberFormatter;if(p){for(var m=0,w=0,A=0,_=0,M=i;_<M.length;_++)for(var k=0,T=M[_].cell;k<T.length;k++){var O=T[k];if(d=O.value,!isNaN(parseFloat(d))&&isFinite(d)){var S=Math.abs(O.value);S>1e5&&(++A,S>1e7&&(++w,S>1e10&&++m))}}var P=m>=5,C=w>=5;if(A<5&&(y=t.i18n().decimalFormatter),C){"EUR"==g&&(g="€"),"USD"==g&&(g="$"),"GBP"==g&&(g="£");var D=$("K","Tsd. ","K");if(v=1e3,P){v=1e6;$("M","Mio. ","M")}1==D.length&&1==g.length&&(g=" "+g),g=D+g}}var E=document.createElement("table"),N=(0,x.A)(E).attr("class","ui bizq very compact celled small unstackable selectable table"),j=N.append("thead").append("tr"),L=j.append("th").attr("class","first");L.text(g),L.append("a").attr("href",e.info.csvUrl).attr("download","download").attr("title","CSV/Excel Download").classed("screen-only",!0).append("i").attr("class","download icon"),r.forEach((function(e,n){h(n)&&j.append("th").text(e.date?t.i18n().dateFormatter(e.date):"").attr("data-col",r.length-n).attr("data-source-title",e.info.publication.title).attr("data-source-date",e.info.publication.date)}));var R=function(t,e){return t&&t.semantics&&t.semantics.indexOf(e)>=0},F=N.append("tbody");i.forEach((function(e){var n,i;if(!R(e,"HELPER")){var f=0,d=t.isPrint()?2:1,p=e.level&&e.level.value,g=p<d?"expanded":"closed";p>d&&(g+=" hidden");var m=(0,x.A)(document.createElement("tr")).attr("class",g+" active-on-hover").attr("data-row",e.info&&e.info.id).attr("data-level",p).attr("data-parent-row",e.info?e.info.parentId:null).attr("data-child-count",(function(){return e.info&&"number"==typeof e.info.childCount&&e.info.childCount>0?e.info.childCount:null})).attr("data-summary",function(t){return R(t,"SUMMARY")}(e)).attr("data-custom",function(t){return R(t,"CUSTOM")}(e)).on("click",(function(){var t=b.f0;!function(t){var e=u(t);e.classed(a)?s(t):function(t){var e=u(t);e.classed(o,!1).classed(a,!0),c(e).classed("hidden",!1)}(t)}(t&&t.target),t.preventDefault()}));m.append("td").attr("class","first").text(null!==(n=e.text)&&void 0!==n?n:e.name),l&&e.cell.reverse(),e.cell.forEach((function(t,e){if(h(e)){var n=void 0===t.value?"":y(t.value/v);n&&f++,m.append("td").attr("data-col",r.length-e).text(n)}})),f>0?F.node().appendChild(m.node()):(null===(i=e.info)||void 0===i?void 0:i.parentId)&&F.select('tr[data-row="'+e.info.parentId+'"][data-child-count]').attr("data-child-count",(function(){var t=parseInt((0,x.A)(this).attr("data-child-count"))-1;return t>0?t:null}))}}));var I=N.append("tfoot").append("tr");I.append("th").attr("class","first").text(t.trilingual("Source","Quelle","Source"));var U=t.handlerValue("sourceClick");r.forEach((function(t,e){if(h(e)){var n=I.append("th").attr("data-col",r.length-e);if(n.html(t.info.noteHtml),U){var i=t.info.publication,a="string"==typeof t.info.source?[t.info.source]:t.info.source;n.select("a").attr("href","javascript:void(0);").on("click",(function(){b.f0.preventDefault(),U({publication:i,source:a})}))}}})),E.setAttribute("data-item",e.info.item),t.showItem(void 0,E)},r=0,i=e.sheet;r<i.length;r++){if("break"===n(i[r]))break}var a="expanded",o="closed";function u(t){var e=(0,x.A)(t);return t.matches("tr")?e:k(e,"tr")}function c(t){var e=0==t.size()?"?":t.attr("data-row");return k(t,"table").selectAll("[data-parent-row='"+e+"']")}function s(t){var e=u(t);e.classed(o,!0).classed(a,!1),c(e).classed("hidden",!0).each((function(){s(this)}))}return y},tn=function(t,e){var n=t.container,r=t.i18n().timeScaleFormatter,i=12,a=15,o=0,u=18,c=12.78,s=e.lines;if(!s||!s.length)throw new Error("vita empty");var l=s.length,f=o+23*l+5,h=new Date(e.startDate).getTime(),d=new Date(e.endDate).getTime(),p=function(t){return t?new Date(t):null},v=(0,x.A)(t.container).append("svg");v.append("title").text($("History","Historie","Historique"));t.getLinkifier();return{draw:function(){v.select("g").remove();var e=v.append("g"),l=n.getBoundingClientRect().width;v.attr("width",l);var g=function(){for(var t=[],n=0,r=s;n<r.length;n++)for(var i=r[n],a=0,o=i.bars;a<o.length;a++){var u=o[a];t.push(u.role.abbr),t.push(u.role.abbr+" "+i.text)}var c={};return e.selectAll(".textWidthDummy").data(t).enter().append("text").text((function(t){return t})).each((function(t){c[t]=this.getComputedTextLength(),this.remove()})),c}(),y=function(t,e,n){if(e){var r=t+" "+e,i=g[r];if(void 0!==i&&n-8>i)return{text:r,width:i,containsSuffix:!0}}var a=g[t];return void 0!==a&&n>a?{text:t,width:a}:{text:"…",width:0}},m=Yt().domain([h,d]).range([i,l-a]);(function(){if(l>=600)return!0;for(var t=2592e6,e=0,n=s;e<n.length;e++)for(var r=0,i=n[e].bars;r<i.length;r++){var a=i[r],o=p(a.assumedStart),u=p(a.end)||new Date;if(!o)return!0;if(Math.abs(o.getTime()-h)<t||Math.abs(d-u.getTime())<t)return!0}return!1})()&&(m=m.nice());var w=(0,Gt.axisBottom)(m).tickFormat(r).tickSizeInner(8).tickSizeOuter(10).ticks(Math.min(l/100,10));e.append("g").attr("class","axis").attr("transform","translate(0,"+f+")").call(w).attr("font-size",null).attr("font-family",null),e.append("g").attr("class","axis grid").attr("transform","translate(0,"+f+")").call(w.tickSizeInner(-f).tickSizeOuter(0)).call((function(t){return t.selectAll(".tick text").remove()}));for(var x=i,A=l-a,_=0,M=0,k=s;M<k.length;M++){var T=k[M],O=o+23*_+5,S=O+13.5-1,P=(O+(O+u))/2;e.append("line").attr("x1",x).attr("x2",A).attr("y1",P).attr("y2",P).attr("class","grid");for(var C=T.bars.length,D=0,E=!1,N=0,j=0,L=function(n){var r=p(n.assumedStart),a=p(n.end)||new Date,o=r?m(r):i+c,s=!n.start;s&&(o+=c);var l=m(a);n.openEnded&&n.end&&(l=Math.max(o,l-c));var f=l-o,h=o+f/2;f<10&&(s&&!n.openEnded?h-=3:n.openEnded&&!s&&(h+=3));var d=y(n.role.abbr,E?void 0:T.text,f);if(d.containsSuffix&&(E=!0),0==D){var v=s?o-c:o,g=d.width?Math.min(h-d.width/2,v):v;N=g-x-2}if(D==C-1){var w=n.openEnded?l+c:l;g=d.width?Math.max(h+d.width/2,w):w;j=A-g-2}var _=e.append("svg:a").attr("xlink:href",n.url||"").attr("xlink:title",n.title).attr("data-old",!!n.end||null).attr("data-clickable",(function(){return!!t.getClickHandler("p")||null})).on("click",(function(){var e=b.f0;t.invokeClickHandler(n)&&e.preventDefault()}));if(_.append("title").text(n.title),s){var M=[(R=o)+","+(k=O),R+","+(P=O+u),(L=o-c)+","+(k+P)/2];_.append("polygon").attr("points",M.join(" ")).attr("class","in c"+n.role.cat)}if(n.openEnded){var k,P,L=l,R=Math.min(c+L,A);M=[L+","+(k=O),L+","+(P=O+u),R+","+(k+P)/2];_.append("polygon").attr("points",M.join(" ")).attr("class","out c"+n.role.cat)}_.append("rect").attr("x",o).attr("y",O).attr("width",f).attr("height",u).attr("class","c"+n.role.cat),_.append("text").attr("x",h).attr("y",S).attr("class","label-text c"+n.role.cat).text(d.text),++D},R=0,F=T.bars;R<F.length;R++){L(F[R])}E||(N>j?N>200&&e.append("text").attr("x",x+N).attr("y",S).attr("class","left extra").text(T.text):j>200&&e.append("text").attr("x",A-j).attr("y",S).attr("class","right extra").text(T.text)),++_}var I=new Date,U="Heute, "+function(t){return t?t.toLocaleDateString():""}(I),H=m(I),q=e.append("svg:a").attr("xlink:title",U);q.append("title").text(U),q.append("line").attr("class","today").attr("x1",H).attr("y1",0).attr("x2",H).attr("y2",f+15),v.attr("height",f+30)}}},en=function(t,e,n){if(n||2===arguments.length)for(var r,i=0,a=e.length;i<a;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))};!function(t){function e(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];t.options.__debug&&console[e].apply(console,n)}t.Widget=nt,t.version="1.213.10",t.options={dataDomain:"",detectDataDomain:!0,__debug:!0},t.initialize=function(e){var n,r;t.options.__debug=!1,void 0===e?(t.options.dataDomain="https://www.northdata.de",t.options.detectDataDomain=!1):(t.options.dataDomain=null!==(n=e.dataDomain)&&void 0!==n?n:t.options.dataDomain,t.options.detectDataDomain=null!==(r=e.detectDataDomain)&&void 0!==r?r:t.options.detectDataDomain)},t.debug=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.apply(void 0,en(["info"],t,!1))},t.log=e,g(m,{barChart:Jt,drillDown:Ie,graph:He,dendrogram:Ce,history:We,vita:tn,pubTable:$e,pubShop:Xe,personTable:Ge,sheet:Ke,financials:Ue,contact:Xt,overview:Ye,searchResults:Ze})}(Qe||(Qe={}));var nn=Qe,rn={Widget:Qe.Widget,version:Qe.version,initialize:Qe.initialize},an={NorthData:rn,Bizq:rn}}(),r=r.default}()}));
1
+ /*! northdata-viz V1.214.10 */
2
+ !function(t,e){if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n=e();for(var r in n)("object"==typeof exports?exports:t)[r]=n[r]}}(self,(function(){return function(){var t={6152:function(t,e,n){var r,i;r=function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function r(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}function a(t){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},a(t)}function o(t,e){return o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},o(t,e)}function u(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function s(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?c(t):e}function l(t){var e=u();return function(){var n,r=a(t);if(e){var i=a(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return s(this,n)}}function f(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=a(t)););return t}function h(t,e,n){return h="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=f(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}},h(t,e,n||t)}var d=function(){function e(){t(this,e),Object.defineProperty(this,"listeners",{value:{},writable:!0,configurable:!0})}return r(e,[{key:"addEventListener",value:function(t,e,n){t in this.listeners||(this.listeners[t]=[]),this.listeners[t].push({callback:e,options:n})}},{key:"removeEventListener",value:function(t,e){if(t in this.listeners)for(var n=this.listeners[t],r=0,i=n.length;r<i;r++)if(n[r].callback===e)return void n.splice(r,1)}},{key:"dispatchEvent",value:function(t){if(t.type in this.listeners){for(var e=this.listeners[t.type].slice(),n=0,r=e.length;n<r;n++){var i=e[n];try{i.callback.call(this,t)}catch(t){Promise.resolve().then((function(){throw t}))}i.options&&i.options.once&&this.removeEventListener(t.type,i.callback)}return!t.defaultPrevented}}}]),e}(),p=function(e){i(o,e);var n=l(o);function o(){var e;return t(this,o),(e=n.call(this)).listeners||d.call(c(e)),Object.defineProperty(c(e),"aborted",{value:!1,writable:!0,configurable:!0}),Object.defineProperty(c(e),"onabort",{value:null,writable:!0,configurable:!0}),e}return r(o,[{key:"toString",value:function(){return"[object AbortSignal]"}},{key:"dispatchEvent",value:function(t){"abort"===t.type&&(this.aborted=!0,"function"==typeof this.onabort&&this.onabort.call(this,t)),h(a(o.prototype),"dispatchEvent",this).call(this,t)}}]),o}(d),v=function(){function e(){t(this,e),Object.defineProperty(this,"signal",{value:new p,writable:!0,configurable:!0})}return r(e,[{key:"abort",value:function(){var t;try{t=new Event("abort")}catch(e){"undefined"!=typeof document?document.createEvent?(t=document.createEvent("Event")).initEvent("abort",!1,!1):(t=document.createEventObject()).type="abort":t={type:"abort",bubbles:!1,cancelable:!1}}this.signal.dispatchEvent(t)}},{key:"toString",value:function(){return"[object AbortController]"}}]),e}();function g(t){return t.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL?(console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"),!0):"function"==typeof t.Request&&!t.Request.prototype.hasOwnProperty("signal")||!t.AbortController}function y(t){"function"==typeof t&&(t={fetch:t});var e=t,n=e.fetch,r=e.Request,i=void 0===r?n.Request:r,a=e.AbortController,o=e.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL,u=void 0!==o&&o;if(!g({fetch:n,Request:i,AbortController:a,__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL:u}))return{fetch:n,Request:c};var c=i;(c&&!c.prototype.hasOwnProperty("signal")||u)&&((c=function(t,e){var n;e&&e.signal&&(n=e.signal,delete e.signal);var r=new i(t,e);return n&&Object.defineProperty(r,"signal",{writable:!1,enumerable:!1,configurable:!0,value:n}),r}).prototype=i.prototype);var s=n;return{fetch:function(t,e){var n=c&&c.prototype.isPrototypeOf(t)?t.signal:e?e.signal:void 0;if(n){var r;try{r=new DOMException("Aborted","AbortError")}catch(t){(r=new Error("Aborted")).name="AbortError"}if(n.aborted)return Promise.reject(r);var i=new Promise((function(t,e){n.addEventListener("abort",(function(){return e(r)}),{once:!0})}));return e&&e.signal&&delete e.signal,Promise.race([i,s(t,e)])}return s(t,e)},Request:c}}"undefined"!=typeof Symbol&&Symbol.toStringTag&&(v.prototype[Symbol.toStringTag]="AbortController",p.prototype[Symbol.toStringTag]="AbortSignal"),function(t){if(g(t))if(t.fetch){var e=y(t),n=e.fetch,r=e.Request;t.fetch=n,t.Request=r,Object.defineProperty(t,"AbortController",{writable:!0,enumerable:!1,configurable:!0,value:v}),Object.defineProperty(t,"AbortSignal",{writable:!0,enumerable:!1,configurable:!0,value:p})}else console.warn("fetch() is not available, cannot install abortcontroller-polyfill")}("undefined"!=typeof self?self:n.g)},void 0===(i="function"==typeof r?r.call(e,n,e,t):r)||(t.exports=i)},6914:function(t,e,n){"use strict";function r(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function i(t){var e;return 1===t.length&&(e=t,t=function(t,n){return r(e(t),n)}),{left:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){var a=r+i>>>1;t(e[a],n)<0?r=a+1:i=a}return r},right:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r<i;){var a=r+i>>>1;t(e[a],n)>0?i=a:r=a+1}return r}}}n.r(e),n.d(e,{ascending:function(){return r},bisect:function(){return c},bisectLeft:function(){return u},bisectRight:function(){return o},bisector:function(){return i},cross:function(){return f},descending:function(){return h},deviation:function(){return v},extent:function(){return g},histogram:function(){return C},max:function(){return j},mean:function(){return L},median:function(){return R},merge:function(){return F},min:function(){return I},pairs:function(){return s},permute:function(){return U},quantile:function(){return D},range:function(){return A},scan:function(){return H},shuffle:function(){return q},sum:function(){return B},thresholdFreedmanDiaconis:function(){return E},thresholdScott:function(){return N},thresholdSturges:function(){return P},tickIncrement:function(){return O},tickStep:function(){return S},ticks:function(){return T},transpose:function(){return V},variance:function(){return p},zip:function(){return W}});var a=i(r),o=a.right,u=a.left,c=o;function s(t,e){null==e&&(e=l);for(var n=0,r=t.length-1,i=t[0],a=new Array(r<0?0:r);n<r;)a[n]=e(i,i=t[++n]);return a}function l(t,e){return[t,e]}function f(t,e,n){var r,i,a,o,u=t.length,c=e.length,s=new Array(u*c);for(null==n&&(n=l),r=a=0;r<u;++r)for(o=t[r],i=0;i<c;++i,++a)s[a]=n(o,e[i]);return s}function h(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function d(t){return null===t?NaN:+t}function p(t,e){var n,r,i=t.length,a=0,o=-1,u=0,c=0;if(null==e)for(;++o<i;)isNaN(n=d(t[o]))||(c+=(r=n-u)*(n-(u+=r/++a)));else for(;++o<i;)isNaN(n=d(e(t[o],o,t)))||(c+=(r=n-u)*(n-(u+=r/++a)));if(a>1)return c/(a-1)}function v(t,e){var n=p(t,e);return n?Math.sqrt(n):n}function g(t,e){var n,r,i,a=t.length,o=-1;if(null==e){for(;++o<a;)if(null!=(n=t[o])&&n>=n)for(r=i=n;++o<a;)null!=(n=t[o])&&(r>n&&(r=n),i<n&&(i=n))}else for(;++o<a;)if(null!=(n=e(t[o],o,t))&&n>=n)for(r=i=n;++o<a;)null!=(n=e(t[o],o,t))&&(r>n&&(r=n),i<n&&(i=n));return[r,i]}var y=Array.prototype,m=y.slice,b=y.map;function w(t){return function(){return t}}function x(t){return t}function A(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)),a=new Array(i);++r<i;)a[r]=t+r*n;return a}var _=Math.sqrt(50),M=Math.sqrt(10),k=Math.sqrt(2);function T(t,e,n){var r,i,a,o,u=-1;if(n=+n,(t=+t)===(e=+e)&&n>0)return[t];if((r=e<t)&&(i=t,t=e,e=i),0===(o=O(t,e,n))||!isFinite(o))return[];if(o>0)for(t=Math.ceil(t/o),e=Math.floor(e/o),a=new Array(i=Math.ceil(e-t+1));++u<i;)a[u]=(t+u)*o;else for(t=Math.floor(t*o),e=Math.ceil(e*o),a=new Array(i=Math.ceil(t-e+1));++u<i;)a[u]=(t-u)/o;return r&&a.reverse(),a}function O(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),a=r/Math.pow(10,i);return i>=0?(a>=_?10:a>=M?5:a>=k?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(a>=_?10:a>=M?5:a>=k?2:1)}function S(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),a=r/i;return a>=_?i*=10:a>=M?i*=5:a>=k&&(i*=2),e<t?-i:i}function P(t){return Math.ceil(Math.log(t.length)/Math.LN2)+1}function C(){var t=x,e=g,n=P;function r(r){var i,a,o=r.length,u=new Array(o);for(i=0;i<o;++i)u[i]=t(r[i],i,r);var s=e(u),l=s[0],f=s[1],h=n(u,l,f);Array.isArray(h)||(h=S(l,f,h),h=A(Math.ceil(l/h)*h,f,h));for(var d=h.length;h[0]<=l;)h.shift(),--d;for(;h[d-1]>f;)h.pop(),--d;var p,v=new Array(d+1);for(i=0;i<=d;++i)(p=v[i]=[]).x0=i>0?h[i-1]:l,p.x1=i<d?h[i]:f;for(i=0;i<o;++i)l<=(a=u[i])&&a<=f&&v[c(h,a,0,d)].push(r[i]);return v}return r.value=function(e){return arguments.length?(t="function"==typeof e?e:w(e),r):t},r.domain=function(t){return arguments.length?(e="function"==typeof t?t:w([t[0],t[1]]),r):e},r.thresholds=function(t){return arguments.length?(n="function"==typeof t?t:Array.isArray(t)?w(m.call(t)):w(t),r):n},r}function D(t,e,n){if(null==n&&(n=d),r=t.length){if((e=+e)<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,a=Math.floor(i),o=+n(t[a],a,t);return o+(+n(t[a+1],a+1,t)-o)*(i-a)}}function E(t,e,n){return t=b.call(t,d).sort(r),Math.ceil((n-e)/(2*(D(t,.75)-D(t,.25))*Math.pow(t.length,-1/3)))}function N(t,e,n){return Math.ceil((n-e)/(3.5*v(t)*Math.pow(t.length,-1/3)))}function j(t,e){var n,r,i=t.length,a=-1;if(null==e){for(;++a<i;)if(null!=(n=t[a])&&n>=n)for(r=n;++a<i;)null!=(n=t[a])&&n>r&&(r=n)}else for(;++a<i;)if(null!=(n=e(t[a],a,t))&&n>=n)for(r=n;++a<i;)null!=(n=e(t[a],a,t))&&n>r&&(r=n);return r}function L(t,e){var n,r=t.length,i=r,a=-1,o=0;if(null==e)for(;++a<r;)isNaN(n=d(t[a]))?--i:o+=n;else for(;++a<r;)isNaN(n=d(e(t[a],a,t)))?--i:o+=n;if(i)return o/i}function R(t,e){var n,i=t.length,a=-1,o=[];if(null==e)for(;++a<i;)isNaN(n=d(t[a]))||o.push(n);else for(;++a<i;)isNaN(n=d(e(t[a],a,t)))||o.push(n);return D(o.sort(r),.5)}function F(t){for(var e,n,r,i=t.length,a=-1,o=0;++a<i;)o+=t[a].length;for(n=new Array(o);--i>=0;)for(e=(r=t[i]).length;--e>=0;)n[--o]=r[e];return n}function I(t,e){var n,r,i=t.length,a=-1;if(null==e){for(;++a<i;)if(null!=(n=t[a])&&n>=n)for(r=n;++a<i;)null!=(n=t[a])&&r>n&&(r=n)}else for(;++a<i;)if(null!=(n=e(t[a],a,t))&&n>=n)for(r=n;++a<i;)null!=(n=e(t[a],a,t))&&r>n&&(r=n);return r}function U(t,e){for(var n=e.length,r=new Array(n);n--;)r[n]=t[e[n]];return r}function H(t,e){if(n=t.length){var n,i,a=0,o=0,u=t[o];for(null==e&&(e=r);++a<n;)(e(i=t[a],u)<0||0!==e(u,u))&&(u=i,o=a);return 0===e(u,u)?o:void 0}}function q(t,e,n){for(var r,i,a=(null==n?t.length:n)-(e=null==e?0:+e);a;)i=Math.random()*a--|0,r=t[a+e],t[a+e]=t[i+e],t[i+e]=r;return t}function B(t,e){var n,r=t.length,i=-1,a=0;if(null==e)for(;++i<r;)(n=+t[i])&&(a+=n);else for(;++i<r;)(n=+e(t[i],i,t))&&(a+=n);return a}function V(t){if(!(i=t.length))return[];for(var e=-1,n=I(t,z),r=new Array(n);++e<n;)for(var i,a=-1,o=r[e]=new Array(i);++a<i;)o[a]=t[a][e];return r}function z(t){return t.length}function W(){return V(arguments)}},7865:function(t,e,n){"use strict";n.r(e),n.d(e,{axisBottom:function(){return m},axisLeft:function(){return b},axisRight:function(){return y},axisTop:function(){return g}});var r=Array.prototype.slice;function i(t){return t}var a=1,o=2,u=3,c=4,s=1e-6;function l(t){return"translate("+(t+.5)+",0)"}function f(t){return"translate(0,"+(t+.5)+")"}function h(t){return function(e){return+t(e)}}function d(t){var e=Math.max(0,t.bandwidth()-1)/2;return t.round()&&(e=Math.round(e)),function(n){return+t(n)+e}}function p(){return!this.__axis}function v(t,e){var n=[],v=null,g=null,y=6,m=6,b=3,w=t===a||t===c?-1:1,x=t===c||t===o?"x":"y",A=t===a||t===u?l:f;function _(r){var l=null==v?e.ticks?e.ticks.apply(e,n):e.domain():v,f=null==g?e.tickFormat?e.tickFormat.apply(e,n):i:g,_=Math.max(y,0)+b,M=e.range(),k=+M[0]+.5,T=+M[M.length-1]+.5,O=(e.bandwidth?d:h)(e.copy()),S=r.selection?r.selection():r,P=S.selectAll(".domain").data([null]),C=S.selectAll(".tick").data(l,e).order(),D=C.exit(),E=C.enter().append("g").attr("class","tick"),N=C.select("line"),j=C.select("text");P=P.merge(P.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),C=C.merge(E),N=N.merge(E.append("line").attr("stroke","currentColor").attr(x+"2",w*y)),j=j.merge(E.append("text").attr("fill","currentColor").attr(x,w*_).attr("dy",t===a?"0em":t===u?"0.71em":"0.32em")),r!==S&&(P=P.transition(r),C=C.transition(r),N=N.transition(r),j=j.transition(r),D=D.transition(r).attr("opacity",s).attr("transform",(function(t){return isFinite(t=O(t))?A(t):this.getAttribute("transform")})),E.attr("opacity",s).attr("transform",(function(t){var e=this.parentNode.__axis;return A(e&&isFinite(e=e(t))?e:O(t))}))),D.remove(),P.attr("d",t===c||t==o?m?"M"+w*m+","+k+"H0.5V"+T+"H"+w*m:"M0.5,"+k+"V"+T:m?"M"+k+","+w*m+"V0.5H"+T+"V"+w*m:"M"+k+",0.5H"+T),C.attr("opacity",1).attr("transform",(function(t){return A(O(t))})),N.attr(x+"2",w*y),j.attr(x,w*_).text(f),S.filter(p).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===o?"start":t===c?"end":"middle"),S.each((function(){this.__axis=O}))}return _.scale=function(t){return arguments.length?(e=t,_):e},_.ticks=function(){return n=r.call(arguments),_},_.tickArguments=function(t){return arguments.length?(n=null==t?[]:r.call(t),_):n.slice()},_.tickValues=function(t){return arguments.length?(v=null==t?null:r.call(t),_):v&&v.slice()},_.tickFormat=function(t){return arguments.length?(g=t,_):g},_.tickSize=function(t){return arguments.length?(y=m=+t,_):y},_.tickSizeInner=function(t){return arguments.length?(y=+t,_):y},_.tickSizeOuter=function(t){return arguments.length?(m=+t,_):m},_.tickPadding=function(t){return arguments.length?(b=+t,_):b},_}function g(t){return v(a,t)}function y(t){return v(o,t)}function m(t){return v(u,t)}function b(t){return v(c,t)}},1918:function(t,e,n){"use strict";n.d(e,{Tj:function(){return o}});var r="$";function i(){}function a(t,e){var n=new i;if(t instanceof i)t.each((function(t,e){n.set(e,t)}));else if(Array.isArray(t)){var r,a=-1,o=t.length;if(null==e)for(;++a<o;)n.set(a,t[a]);else for(;++a<o;)n.set(e(r=t[a],a,t),r)}else if(t)for(var u in t)n.set(u,t[u]);return n}i.prototype=a.prototype={constructor:i,has:function(t){return r+t in this},get:function(t){return this[r+t]},set:function(t,e){return this[r+t]=e,this},remove:function(t){var e=r+t;return e in this&&delete this[e]},clear:function(){for(var t in this)t[0]===r&&delete this[t]},keys:function(){var t=[];for(var e in this)e[0]===r&&t.push(e.slice(1));return t},values:function(){var t=[];for(var e in this)e[0]===r&&t.push(this[e]);return t},entries:function(){var t=[];for(var e in this)e[0]===r&&t.push({key:e.slice(1),value:this[e]});return t},size:function(){var t=0;for(var e in this)e[0]===r&&++t;return t},empty:function(){for(var t in this)if(t[0]===r)return!1;return!0},each:function(t){for(var e in this)e[0]===r&&t(this[e],e.slice(1),this)}};var o=a;function u(){}var c=o.prototype;function s(t,e){var n=new u;if(t instanceof u)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}u.prototype=s.prototype={constructor:u,has:c.has,add:function(t){return this[r+(t+="")]=t,this},remove:c.remove,clear:c.clear,values:c.keys,size:c.size,empty:c.empty,each:c.each}},3844:function(t,e,n){"use strict";n.d(e,{Ay:function(){return w},Gw:function(){return k},KI:function(){return D},Q1:function(){return i},Qh:function(){return M},Uw:function(){return o},b:function(){return _},ef:function(){return a}});var r=n(7592);function i(){}var a=.7,o=1/a,u="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",s="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",l=/^#([0-9a-f]{3,8})$/,f=new RegExp("^rgb\\("+[u,u,u]+"\\)$"),h=new RegExp("^rgb\\("+[s,s,s]+"\\)$"),d=new RegExp("^rgba\\("+[u,u,u,c]+"\\)$"),p=new RegExp("^rgba\\("+[s,s,s,c]+"\\)$"),v=new RegExp("^hsl\\("+[c,s,s]+"\\)$"),g=new RegExp("^hsla\\("+[c,s,s,c]+"\\)$"),y={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 m(){return this.rgb().formatHex()}function b(){return this.rgb().formatRgb()}function w(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=l.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?x(e):3===n?new k(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?A(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?A(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=f.exec(t))?new k(e[1],e[2],e[3],1):(e=h.exec(t))?new k(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=d.exec(t))?A(e[1],e[2],e[3],e[4]):(e=p.exec(t))?A(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=v.exec(t))?P(e[1],e[2]/100,e[3]/100,1):(e=g.exec(t))?P(e[1],e[2]/100,e[3]/100,e[4]):y.hasOwnProperty(t)?x(y[t]):"transparent"===t?new k(NaN,NaN,NaN,0):null}function x(t){return new k(t>>16&255,t>>8&255,255&t,1)}function A(t,e,n,r){return r<=0&&(t=e=n=NaN),new k(t,e,n,r)}function _(t){return t instanceof i||(t=w(t)),t?new k((t=t.rgb()).r,t.g,t.b,t.opacity):new k}function M(t,e,n,r){return 1===arguments.length?_(t):new k(t,e,n,null==r?1:r)}function k(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function T(){return"#"+S(this.r)+S(this.g)+S(this.b)}function O(){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+")")}function S(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function P(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new E(t,e,n,r)}function C(t){if(t instanceof E)return new E(t.h,t.s,t.l,t.opacity);if(t instanceof i||(t=w(t)),!t)return new E;if(t instanceof E)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,a=Math.min(e,n,r),o=Math.max(e,n,r),u=NaN,c=o-a,s=(o+a)/2;return c?(u=e===o?(n-r)/c+6*(n<r):n===o?(r-e)/c+2:(e-n)/c+4,c/=s<.5?o+a:2-o-a,u*=60):c=s>0&&s<1?0:u,new E(u,c,s,t.opacity)}function D(t,e,n,r){return 1===arguments.length?C(t):new E(t,e,n,null==r?1:r)}function E(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function N(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}(0,r.A)(i,w,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:m,formatHex:m,formatHsl:function(){return C(this).formatHsl()},formatRgb:b,toString:b}),(0,r.A)(k,M,(0,r.X)(i,{brighter:function(t){return t=null==t?o:Math.pow(o,t),new k(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?a:Math.pow(a,t),new k(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:T,formatHex:T,formatRgb:O,toString:O})),(0,r.A)(E,D,(0,r.X)(i,{brighter:function(t){return t=null==t?o:Math.pow(o,t),new E(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?a:Math.pow(a,t),new E(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 k(N(t>=240?t-240:t+120,i,r),N(t,i,r),N(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},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}))},7592:function(t,e,n){"use strict";function r(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function i(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}n.d(e,{A:function(){return r},X:function(){return i}})},2996:function(t,e){"use strict";var n={value:function(){}};function r(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r||/[\s.]/.test(t))throw new Error("illegal type: "+t);r[t]=[]}return new i(r)}function i(t){this._=t}function a(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}function o(t,e,r){for(var i=0,a=t.length;i<a;++i)if(t[i].name===e){t[i]=n,t=t.slice(0,i).concat(t.slice(i+1));break}return null!=r&&t.push({name:e,value:r}),t}i.prototype=r.prototype={constructor:i,on:function(t,e){var n,r,i=this._,u=(r=i,(t+"").trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");if(n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}}))),c=-1,s=u.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++c<s;)if(n=(t=u[c]).type)i[n]=o(i[n],t.name,e);else if(null==e)for(n in i)i[n]=o(i[n],t.name,null);return this}for(;++c<s;)if((n=(t=u[c]).type)&&(n=a(i[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new i(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),a=0;a<n;++a)i[a]=arguments[a+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(a=0,n=(r=this._[t]).length;a<n;++a)r[a].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,a=r.length;i<a;++i)r[i].value.apply(e,n)}},e.A=r},2260:function(t,e,n){"use strict";n.r(e),n.d(e,{dispatch:function(){return r.A}});var r=n(2996)},4626:function(t,e,n){"use strict";n.d(e,{GP:function(){return i},s:function(){return a}});var r,i,a,o,u=n(6746);o={decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"},r=(0,u.A)(o),i=r.format,a=r.formatPrefix},886:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(3735);function i(t){return(t=(0,r.A)(Math.abs(t)))?t[1]:NaN}},3735:function(t,e,n){"use strict";function r(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)]}n.d(e,{A:function(){return r}})},1688:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function i(t){if(!(e=r.exec(t)))throw new Error("invalid format: "+t);var e;return new a({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function a(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}i.prototype=a.prototype,a.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},6746:function(t,e,n){"use strict";n.d(e,{A:function(){return h}});var r=n(886);var i=n(1688);var a,o=n(3735);function u(t,e){var n=(0,o.A)(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")}var c={"%":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 u(100*t,e)},r:u,s:function(t,e){var n=(0,o.A)(t,e);if(!n)return t+"";var r=n[0],i=n[1],u=i-(a=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,c=r.length;return u===c?r:u>c?r+new Array(u-c+1).join("0"):u>0?r.slice(0,u)+"."+r.slice(u):"0."+new Array(1-u).join("0")+(0,o.A)(t,Math.max(0,e+u-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}};function s(t){return t}var l=Array.prototype.map,f=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function h(t){var e,n,o=void 0===t.grouping||void 0===t.thousands?s:(e=l.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,a=[],o=0,u=e[0],c=0;i>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),a.push(t.substring(i-=u,i+u)),!((c+=u+1)>r));)u=e[o=(o+1)%e.length];return a.reverse().join(n)}),u=void 0===t.currency?"":t.currency[0]+"",h=void 0===t.currency?"":t.currency[1]+"",d=void 0===t.decimal?".":t.decimal+"",p=void 0===t.numerals?s:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(l.call(t.numerals,String)),v=void 0===t.percent?"%":t.percent+"",g=void 0===t.minus?"-":t.minus+"",y=void 0===t.nan?"NaN":t.nan+"";function m(t){var e=(t=(0,i.A)(t)).fill,n=t.align,r=t.sign,s=t.symbol,l=t.zero,m=t.width,b=t.comma,w=t.precision,x=t.trim,A=t.type;"n"===A?(b=!0,A="g"):c[A]||(void 0===w&&(w=12),x=!0,A="g"),(l||"0"===e&&"="===n)&&(l=!0,e="0",n="=");var _="$"===s?u:"#"===s&&/[boxX]/.test(A)?"0"+A.toLowerCase():"",M="$"===s?h:/[%p]/.test(A)?v:"",k=c[A],T=/[defgprs%]/.test(A);function O(t){var i,u,c,s=_,h=M;if("c"===A)h=k(t)+h,t="";else{var v=(t=+t)<0||1/t<0;if(t=isNaN(t)?y:k(Math.abs(t),w),x&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),v&&0==+t&&"+"!==r&&(v=!1),s=(v?"("===r?r:g:"-"===r||"("===r?"":r)+s,h=("s"===A?f[8+a/3]:"")+h+(v&&"("===r?")":""),T)for(i=-1,u=t.length;++i<u;)if(48>(c=t.charCodeAt(i))||c>57){h=(46===c?d+t.slice(i+1):t.slice(i))+h,t=t.slice(0,i);break}}b&&!l&&(t=o(t,1/0));var O=s.length+t.length+h.length,S=O<m?new Array(m-O+1).join(e):"";switch(b&&l&&(t=o(S+t,S.length?m-h.length:1/0),S=""),n){case"<":t=s+t+h+S;break;case"=":t=s+S+t+h;break;case"^":t=S.slice(0,O=S.length>>1)+s+t+h+S.slice(O);break;default:t=S+s+t+h}return p(t)}return w=void 0===w?6:/[gprs]/.test(A)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w)),O.toString=function(){return t+""},O}return{format:m,formatPrefix:function(t,e){var n=m(((t=(0,i.A)(t)).type="f",t)),a=3*Math.max(-8,Math.min(8,Math.floor((0,r.A)(e)/3))),o=Math.pow(10,-a),u=f[8+a/3];return function(t){return n(o*t)+u}}}}},3391:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(886);function i(t){return Math.max(0,-(0,r.A)(Math.abs(t)))}},6093:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(886);function i(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor((0,r.A)(e)/3)))-(0,r.A)(Math.abs(t)))}},8209:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(886);function i(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,(0,r.A)(e)-(0,r.A)(t))+1}},6504:function(t,e,n){"use strict";n.d(e,{Ay:function(){return u},lG:function(){return a},uN:function(){return o}});var r=n(319);function i(t,e){return function(n){return t+n*e}}function a(t,e){var n=e-t;return n?i(t,n>180||n<-180?n-360*Math.round(n/360):n):(0,r.A)(isNaN(t)?e:t)}function o(t){return 1==(t=+t)?u: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):(0,r.A)(isNaN(e)?n:e)}}function u(t,e){var n=e-t;return n?i(t,n):(0,r.A)(isNaN(t)?e:t)}},319:function(t,e,n){"use strict";function r(t){return function(){return t}}n.d(e,{A:function(){return r}})},5566:function(t,e,n){"use strict";function r(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}n.d(e,{A:function(){return r}})},5587:function(t,e,n){"use strict";n.d(e,{Ay:function(){return o}});var r=n(3844);function i(t,e,n,r,i){var a=t*t,o=a*t;return((1-3*t+3*a-o)*e+(4-6*a+3*o)*n+(1+3*t+3*a-3*o)*r+o*i)/6}var a=n(6504),o=function t(e){var n=(0,a.uN)(e);function i(t,e){var i=n((t=(0,r.Qh)(t)).r,(e=(0,r.Qh)(e)).r),o=n(t.g,e.g),u=n(t.b,e.b),c=(0,a.Ay)(t.opacity,e.opacity);return function(e){return t.r=i(e),t.g=o(e),t.b=u(e),t.opacity=c(e),t+""}}return i.gamma=t,i}(1);function u(t){return function(e){var n,i,a=e.length,o=new Array(a),u=new Array(a),c=new Array(a);for(n=0;n<a;++n)i=(0,r.Qh)(e[n]),o[n]=i.r||0,u[n]=i.g||0,c[n]=i.b||0;return o=t(o),u=t(u),c=t(c),i.opacity=1,function(t){return i.r=o(t),i.g=u(t),i.b=c(t),i+""}}}u((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),a=t[r],o=t[r+1],u=r>0?t[r-1]:2*a-o,c=r<e-1?t[r+2]:2*o-a;return i((n-r/e)*e,u,a,o,c)}})),u((function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),a=t[(r+e-1)%e],o=t[r%e],u=t[(r+1)%e],c=t[(r+2)%e];return i((n-r/e)*e,a,o,u,c)}}))},5307:function(t,e,n){"use strict";function r(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}n.d(e,{A:function(){return r}})},3318:function(t,e,n){"use strict";n.d(e,{A:function(){return o}});var r=n(5566),i=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,a=new RegExp(i.source,"g");function o(t,e){var n,o,u,c=i.lastIndex=a.lastIndex=0,s=-1,l=[],f=[];for(t+="",e+="";(n=i.exec(t))&&(o=a.exec(e));)(u=o.index)>c&&(u=e.slice(c,u),l[s]?l[s]+=u:l[++s]=u),(n=n[0])===(o=o[0])?l[s]?l[s]+=o:l[++s]=o:(l[++s]=null,f.push({i:s,x:(0,r.A)(n,o)})),c=a.lastIndex;return c<e.length&&(u=e.slice(c),l[s]?l[s]+=u:l[++s]=u),l.length<2?f[0]?function(t){return function(e){return t(e)+""}}(f[0].x):function(t){return function(){return t}}(e):(e=f.length,function(t){for(var n,r=0;r<e;++r)l[(n=f[r]).i]=n.x(t);return l.join("")})}},7331:function(t,e,n){"use strict";n.d(e,{A:function(){return h}});var r=n(3844),i=n(5587);function a(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,a=new Array(i),o=new Array(r);for(n=0;n<i;++n)a[n]=h(t[n],e[n]);for(;n<r;++n)o[n]=e[n];return function(t){for(n=0;n<i;++n)o[n]=a[n](t);return o}}function o(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}var u=n(5566);function c(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]=h(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}}var s=n(3318),l=n(319);function f(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(a){for(n=0;n<r;++n)i[n]=t[n]*(1-a)+e[n]*a;return i}}function h(t,e){var n,h,d=typeof e;return null==e||"boolean"===d?(0,l.A)(e):("number"===d?u.A:"string"===d?(n=(0,r.Ay)(e))?(e=n,i.Ay):s.A:e instanceof r.Ay?i.Ay:e instanceof Date?o:(h=e,!ArrayBuffer.isView(h)||h instanceof DataView?Array.isArray(e)?a:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?c:u.A:f))(t,e)}},916:function(t,e,n){"use strict";n.d(e,{A:function(){return a}});var r=n(9134),i=n(7204);function a(t){return(0,i.A)((0,r.A)(t).call(document.documentElement))}},9134:function(t,e,n){"use strict";n.d(e,{A:function(){return u}});var r=n(6357),i=n(8176);function a(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===i.g&&e.documentElement.namespaceURI===i.g?e.createElement(t):e.createElementNS(n,t)}}function o(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function u(t){var e=(0,r.A)(t);return(e.local?o:a)(e)}},2539:function(t,e,n){"use strict";n.r(e),n.d(e,{clientPoint:function(){return f},create:function(){return r.A},creator:function(){return i.A},customEvent:function(){return s.ex},event:function(){return s.f0},local:function(){return o},matcher:function(){return c.A},mouse:function(){return h},namespace:function(){return d.A},namespaces:function(){return p.A},select:function(){return v.A},selectAll:function(){return g.A},selection:function(){return y.Ay},selector:function(){return m.A},selectorAll:function(){return b.A},style:function(){return w.j},touch:function(){return x},touches:function(){return A},window:function(){return _.A}});var r=n(916),i=n(9134),a=0;function o(){return new u}function u(){this._="@"+(++a).toString(36)}u.prototype=o.prototype={constructor:u,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 c=n(4692),s=n(2454);function l(){for(var t,e=s.f0;t=e.sourceEvent;)e=t;return e}function f(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]}function h(t){var e=l();return e.changedTouches&&(e=e.changedTouches[0]),f(t,e)}var d=n(6357),p=n(8176),v=n(7204),g=n(9181),y=n(2906),m=n(9729),b=n(1118),w=n(7626);function x(t,e,n){arguments.length<3&&(n=e,e=l().changedTouches);for(var r,i=0,a=e?e.length:0;i<a;++i)if((r=e[i]).identifier===n)return f(t,r);return null}function A(t,e){null==e&&(e=l().touches);for(var n=0,r=e?e.length:0,i=new Array(r);n<r;++n)i[n]=f(t,e[n]);return i}var _=n(2684)},4692:function(t,e,n){"use strict";function r(t){return function(){return this.matches(t)}}n.d(e,{A:function(){return r}})},6357:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(8176);function i(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),r.A.hasOwnProperty(e)?{space:r.A[e],local:t}:t}},8176:function(t,e,n){"use strict";n.d(e,{g:function(){return r}});var r="http://www.w3.org/1999/xhtml";e.A={svg:"http://www.w3.org/2000/svg",xhtml:r,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},7204:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(2906);function i(t){return"string"==typeof t?new r.LN([[document.querySelector(t)]],[document.documentElement]):new r.LN([[t]],r.zr)}},9181:function(t,e,n){"use strict";n.d(e,{A:function(){return i}});var r=n(2906);function i(t){return"string"==typeof t?new r.LN([document.querySelectorAll(t)],[document.documentElement]):new r.LN([null==t?[]:t],r.zr)}},2906:function(t,e,n){"use strict";n.d(e,{LN:function(){return $},Ay:function(){return Q},zr:function(){return X}});var r=n(9729);var i=n(1118);var a=n(4692);function o(t){return new Array(t.length)}function u(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}u.prototype={constructor:u,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 c="$";function s(t,e,n,r,i,a){for(var o,c=0,s=e.length,l=a.length;c<l;++c)(o=e[c])?(o.__data__=a[c],r[c]=o):n[c]=new u(t,a[c]);for(;c<s;++c)(o=e[c])&&(i[c]=o)}function l(t,e,n,r,i,a,o){var s,l,f,h={},d=e.length,p=a.length,v=new Array(d);for(s=0;s<d;++s)(l=e[s])&&(v[s]=f=c+o.call(l,l.__data__,s,e),f in h?i[s]=l:h[f]=l);for(s=0;s<p;++s)(l=h[f=c+o.call(t,a[s],s,a)])?(r[s]=l,l.__data__=a[s],h[f]=null):n[s]=new u(t,a[s]);for(s=0;s<d;++s)(l=e[s])&&h[v[s]]===l&&(i[s]=l)}function f(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}var h=n(6357);function d(t){return function(){this.removeAttribute(t)}}function p(t){return function(){this.removeAttributeNS(t.space,t.local)}}function v(t,e){return function(){this.setAttribute(t,e)}}function g(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function y(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function m(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)}}var b=n(7626);function w(t){return function(){delete this[t]}}function x(t,e){return function(){this[t]=e}}function A(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function _(t){return t.trim().split(/^|\s+/)}function M(t){return t.classList||new k(t)}function k(t){this._node=t,this._names=_(t.getAttribute("class")||"")}function T(t,e){for(var n=M(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function O(t,e){for(var n=M(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function S(t){return function(){T(this,t)}}function P(t){return function(){O(this,t)}}function C(t,e){return function(){(e.apply(this,arguments)?T:O)(this,t)}}function D(){this.textContent=""}function E(t){return function(){this.textContent=t}}function N(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function j(){this.innerHTML=""}function L(t){return function(){this.innerHTML=t}}function R(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function F(){this.nextSibling&&this.parentNode.appendChild(this)}function I(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}k.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}};var U=n(9134);function H(){return null}function q(){var t=this.parentNode;t&&t.removeChild(this)}function B(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function V(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}var z=n(2454),W=n(2684);function Y(t,e,n){var r=(0,W.A)(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)}function G(t,e){return function(){return Y(this,t,e)}}function J(t,e){return function(){return Y(this,t,e.apply(this,arguments))}}var X=[null];function $(t,e){this._groups=t,this._parents=e}function Z(){return new $([[document.documentElement]],X)}$.prototype=Z.prototype={constructor:$,select:function(t){"function"!=typeof t&&(t=(0,r.A)(t));for(var e=this._groups,n=e.length,i=new Array(n),a=0;a<n;++a)for(var o,u,c=e[a],s=c.length,l=i[a]=new Array(s),f=0;f<s;++f)(o=c[f])&&(u=t.call(o,o.__data__,f,c))&&("__data__"in o&&(u.__data__=o.__data__),l[f]=u);return new $(i,this._parents)},selectAll:function(t){"function"!=typeof t&&(t=(0,i.A)(t));for(var e=this._groups,n=e.length,r=[],a=[],o=0;o<n;++o)for(var u,c=e[o],s=c.length,l=0;l<s;++l)(u=c[l])&&(r.push(t.call(u,u.__data__,l,c)),a.push(u));return new $(r,a)},filter:function(t){"function"!=typeof t&&(t=(0,a.A)(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,u=e[i],c=u.length,s=r[i]=[],l=0;l<c;++l)(o=u[l])&&t.call(o,o.__data__,l,u)&&s.push(o);return new $(r,this._parents)},data:function(t,e){if(!t)return g=new Array(this.size()),h=-1,this.each((function(t){g[++h]=t})),g;var n,r=e?l:s,i=this._parents,a=this._groups;"function"!=typeof t&&(n=t,t=function(){return n});for(var o=a.length,u=new Array(o),c=new Array(o),f=new Array(o),h=0;h<o;++h){var d=i[h],p=a[h],v=p.length,g=t.call(d,d&&d.__data__,h,i),y=g.length,m=c[h]=new Array(y),b=u[h]=new Array(y);r(d,p,m,b,f[h]=new Array(v),g,e);for(var w,x,A=0,_=0;A<y;++A)if(w=m[A]){for(A>=_&&(_=A+1);!(x=b[_])&&++_<y;);w._next=x||null}}return(u=new $(u,i))._enter=c,u._exit=f,u},enter:function(){return new $(this._enter||this._groups.map(o),this._parents)},exit:function(){return new $(this._exit||this._groups.map(o),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,a=this.exit();return r="function"==typeof t?t(r):r.append(t+""),null!=e&&(i=e(i)),null==n?a.remove():n(a),r&&i?r.merge(i).order():i},merge:function(t){for(var e=this._groups,n=t._groups,r=e.length,i=n.length,a=Math.min(r,i),o=new Array(r),u=0;u<a;++u)for(var c,s=e[u],l=n[u],f=s.length,h=o[u]=new Array(f),d=0;d<f;++d)(c=s[d]||l[d])&&(h[d]=c);for(;u<r;++u)o[u]=e[u];return new $(o,this._parents)},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],a=i.length-1,o=i[a];--a>=0;)(r=i[a])&&(o&&4^r.compareDocumentPosition(o)&&o.parentNode.insertBefore(r,o),o=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=f);for(var n=this._groups,r=n.length,i=new Array(r),a=0;a<r;++a){for(var o,u=n[a],c=u.length,s=i[a]=new Array(c),l=0;l<c;++l)(o=u[l])&&(s[l]=o);s.sort(e)}return new $(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,a=r.length;i<a;++i){var o=r[i];if(o)return o}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,a=e[n],o=0,u=a.length;o<u;++o)(i=a[o])&&t.call(i,i.__data__,o,a);return this},attr:function(t,e){var n=(0,h.A)(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?p:d:"function"==typeof e?n.local?m:y:n.local?g:v)(n,e))},style:b.A,property:function(t,e){return arguments.length>1?this.each((null==e?w:"function"==typeof e?A:x)(t,e)):this.node()[t]},classed:function(t,e){var n=_(t+"");if(arguments.length<2){for(var r=M(this.node()),i=-1,a=n.length;++i<a;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?C:e?S:P)(n,e))},text:function(t){return arguments.length?this.each(null==t?D:("function"==typeof t?N:E)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?j:("function"==typeof t?R:L)(t)):this.node().innerHTML},raise:function(){return this.each(F)},lower:function(){return this.each(I)},append:function(t){var e="function"==typeof t?t:(0,U.A)(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var n="function"==typeof t?t:(0,U.A)(t),i=null==e?H:"function"==typeof e?e:(0,r.A)(e);return this.select((function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)}))},remove:function(){return this.each(q)},clone:function(t){return this.select(t?V:B)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:z.Ay,dispatch:function(t,e){return this.each(("function"==typeof e?J:G)(t,e))}};var Q=Z},2454:function(t,e,n){"use strict";n.d(e,{Ay:function(){return s},ex:function(){return l},f0:function(){return i}});var r={},i=null;"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(r={mouseenter:"mouseover",mouseleave:"mouseout"}));function a(t,e,n){return t=o(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function o(t,e,n){return function(r){var a=i;i=r;try{t.call(this,this.__data__,e,n)}finally{i=a}}}function u(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,a=e.length;r<a;++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 c(t,e,n){var i=r.hasOwnProperty(t.type)?a:o;return function(r,a,o){var u,c=this.__on,s=i(e,a,o);if(c)for(var l=0,f=c.length;l<f;++l)if((u=c[l]).type===t.type&&u.name===t.name)return this.removeEventListener(u.type,u.listener,u.capture),this.addEventListener(u.type,u.listener=s,u.capture=n),void(u.value=e);this.addEventListener(t.type,s,n),u={type:t.type,name:t.name,value:e,listener:s,capture:n},c?c.push(u):this.__on=[u]}}function s(t,e,n){var r,i,a=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+""),o=a.length;if(!(arguments.length<2)){for(s=e?c:u,null==n&&(n=!1),r=0;r<o;++r)this.each(s(a[r],e,n));return this}var s=this.node().__on;if(s)for(var l,f=0,h=s.length;f<h;++f)for(r=0,l=s[f];r<o;++r)if((i=a[r]).type===l.type&&i.name===l.name)return l.value}function l(t,e,n,r){var a=i;t.sourceEvent=i,i=t;try{return e.apply(n,r)}finally{i=a}}},7626:function(t,e,n){"use strict";n.d(e,{A:function(){return u},j:function(){return c}});var r=n(2684);function i(t){return function(){this.style.removeProperty(t)}}function a(t,e,n){return function(){this.style.setProperty(t,e,n)}}function o(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function u(t,e,n){return arguments.length>1?this.each((null==e?i:"function"==typeof e?o:a)(t,e,null==n?"":n)):c(this.node(),t)}function c(t,e){return t.style.getPropertyValue(e)||(0,r.A)(t).getComputedStyle(t,null).getPropertyValue(e)}},9729:function(t,e,n){"use strict";function r(){}function i(t){return null==t?r:function(){return this.querySelector(t)}}n.d(e,{A:function(){return i}})},1118:function(t,e,n){"use strict";function r(){return[]}function i(t){return null==t?r:function(){return this.querySelectorAll(t)}}n.d(e,{A:function(){return i}})},2684:function(t,e,n){"use strict";function r(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}n.d(e,{A:function(){return r}})},2692:function(t,e,n){"use strict";n.d(e,{DC:function(){return i},aL:function(){return a}});var r,i,a,o,u=n(7613);o={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"]},r=(0,u.A)(o),i=r.format,r.parse,a=r.utcFormat,r.utcParse},7613:function(t,e,n){"use strict";n.d(e,{A:function(){return h}});var r=n(6453),i=n(3675),a=n(1779),o=n(293),u=n(2706),c=n(5768);function s(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 l(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 f(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function h(t){var e=t.dateTime,n=t.date,u=t.time,c=t.periods,h=t.days,p=t.shortDays,v=t.months,g=t.shortMonths,y=b(c),m=w(c),Mt=b(h),kt=w(h),Tt=b(p),Ot=w(p),St=b(v),Pt=w(v),Ct=b(g),Dt=w(g),Et={a:function(t){return p[t.getDay()]},A:function(t){return h[t.getDay()]},b:function(t){return g[t.getMonth()]},B:function(t){return v[t.getMonth()]},c:null,d:q,e:q,f:Y,H:B,I:V,j:z,L:W,m:G,M:J,p:function(t){return c[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:At,s:_t,S:X,u:$,U:Z,V:Q,w:K,W:tt,x:null,X:null,y:et,Y:nt,Z:rt,"%":xt},Nt={a:function(t){return p[t.getUTCDay()]},A:function(t){return h[t.getUTCDay()]},b:function(t){return g[t.getUTCMonth()]},B:function(t){return v[t.getUTCMonth()]},c:null,d:it,e:it,f:st,H:at,I:ot,j:ut,L:ct,m:lt,M:ft,p:function(t){return c[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:At,s:_t,S:ht,u:dt,U:pt,V:vt,w:gt,W:yt,x:null,X:null,y:mt,Y:bt,Z:wt,"%":xt},jt={a:function(t,e,n){var r=Tt.exec(e.slice(n));return r?(t.w=Ot[r[0].toLowerCase()],n+r[0].length):-1},A:function(t,e,n){var r=Mt.exec(e.slice(n));return r?(t.w=kt[r[0].toLowerCase()],n+r[0].length):-1},b:function(t,e,n){var r=Ct.exec(e.slice(n));return r?(t.m=Dt[r[0].toLowerCase()],n+r[0].length):-1},B:function(t,e,n){var r=St.exec(e.slice(n));return r?(t.m=Pt[r[0].toLowerCase()],n+r[0].length):-1},c:function(t,n,r){return Ft(t,e,n,r)},d:D,e:D,f:F,H:N,I:N,j:E,L:R,m:C,M:j,p:function(t,e,n){var r=y.exec(e.slice(n));return r?(t.p=m[r[0].toLowerCase()],n+r[0].length):-1},q:P,Q:U,s:H,S:L,u:A,U:_,V:M,w:x,W:k,x:function(t,e,r){return Ft(t,n,e,r)},X:function(t,e,n){return Ft(t,u,e,n)},y:O,Y:T,Z:S,"%":I};function Lt(t,e){return function(n){var r,i,a,o=[],u=-1,c=0,s=t.length;for(n instanceof Date||(n=new Date(+n));++u<s;)37===t.charCodeAt(u)&&(o.push(t.slice(c,u)),null!=(i=d[r=t.charAt(++u)])?r=t.charAt(++u):i="e"===r?" ":"0",(a=e[r])&&(r=a(n,i)),o.push(r),c=u+1);return o.push(t.slice(c,u)),o.join("")}}function Rt(t,e){return function(n){var u,c,h=f(1900,void 0,1);if(Ft(h,t,n+="",0)!=n.length)return null;if("Q"in h)return new Date(h.Q);if("s"in h)return new Date(1e3*h.s+("L"in h?h.L:0));if(e&&!("Z"in h)&&(h.Z=0),"p"in h&&(h.H=h.H%12+12*h.p),void 0===h.m&&(h.m="q"in h?h.q:0),"V"in h){if(h.V<1||h.V>53)return null;"w"in h||(h.w=1),"Z"in h?(c=(u=l(f(h.y,0,1))).getUTCDay(),u=c>4||0===c?r.rt.ceil(u):(0,r.rt)(u),u=i.A.offset(u,7*(h.V-1)),h.y=u.getUTCFullYear(),h.m=u.getUTCMonth(),h.d=u.getUTCDate()+(h.w+6)%7):(c=(u=s(f(h.y,0,1))).getDay(),u=c>4||0===c?a.By.ceil(u):(0,a.By)(u),u=o.A.offset(u,7*(h.V-1)),h.y=u.getFullYear(),h.m=u.getMonth(),h.d=u.getDate()+(h.w+6)%7)}else("W"in h||"U"in h)&&("w"in h||(h.w="u"in h?h.u%7:"W"in h?1:0),c="Z"in h?l(f(h.y,0,1)).getUTCDay():s(f(h.y,0,1)).getDay(),h.m=0,h.d="W"in h?(h.w+6)%7+7*h.W-(c+5)%7:h.w+7*h.U-(c+6)%7);return"Z"in h?(h.H+=h.Z/100|0,h.M+=h.Z%100,l(h)):s(h)}}function Ft(t,e,n,r){for(var i,a,o=0,u=e.length,c=n.length;o<u;){if(r>=c)return-1;if(37===(i=e.charCodeAt(o++))){if(i=e.charAt(o++),!(a=jt[i in d?e.charAt(o++):i])||(r=a(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return Et.x=Lt(n,Et),Et.X=Lt(u,Et),Et.c=Lt(e,Et),Nt.x=Lt(n,Nt),Nt.X=Lt(u,Nt),Nt.c=Lt(e,Nt),{format:function(t){var e=Lt(t+="",Et);return e.toString=function(){return t},e},parse:function(t){var e=Rt(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=Lt(t+="",Nt);return e.toString=function(){return t},e},utcParse:function(t){var e=Rt(t+="",!0);return e.toString=function(){return t},e}}}var d={"-":"",_:" ",0:"0"},p=/^\s*\d+/,v=/^%/,g=/[\\^$*+?|[\]().{}]/g;function y(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",a=i.length;return r+(a<n?new Array(n-a+1).join(e)+i:i)}function m(t){return t.replace(g,"\\$&")}function b(t){return new RegExp("^(?:"+t.map(m).join("|")+")","i")}function w(t){for(var e={},n=-1,r=t.length;++n<r;)e[t[n].toLowerCase()]=n;return e}function x(t,e,n){var r=p.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function A(t,e,n){var r=p.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function _(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function M(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function k(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function T(t,e,n){var r=p.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function O(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function S(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 P(t,e,n){var r=p.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function C(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function D(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function E(t,e,n){var r=p.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function N(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function j(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function L(t,e,n){var r=p.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function R(t,e,n){var r=p.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function F(t,e,n){var r=p.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function I(t,e,n){var r=v.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function U(t,e,n){var r=p.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function H(t,e,n){var r=p.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function q(t,e){return y(t.getDate(),e,2)}function B(t,e){return y(t.getHours(),e,2)}function V(t,e){return y(t.getHours()%12||12,e,2)}function z(t,e){return y(1+o.A.count((0,u.A)(t),t),e,3)}function W(t,e){return y(t.getMilliseconds(),e,3)}function Y(t,e){return W(t,e)+"000"}function G(t,e){return y(t.getMonth()+1,e,2)}function J(t,e){return y(t.getMinutes(),e,2)}function X(t,e){return y(t.getSeconds(),e,2)}function $(t){var e=t.getDay();return 0===e?7:e}function Z(t,e){return y(a.fz.count((0,u.A)(t)-1,t),e,2)}function Q(t,e){var n=t.getDay();return t=n>=4||0===n?(0,a.dt)(t):a.dt.ceil(t),y(a.dt.count((0,u.A)(t),t)+(4===(0,u.A)(t).getDay()),e,2)}function K(t){return t.getDay()}function tt(t,e){return y(a.By.count((0,u.A)(t)-1,t),e,2)}function et(t,e){return y(t.getFullYear()%100,e,2)}function nt(t,e){return y(t.getFullYear()%1e4,e,4)}function rt(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+y(e/60|0,"0",2)+y(e%60,"0",2)}function it(t,e){return y(t.getUTCDate(),e,2)}function at(t,e){return y(t.getUTCHours(),e,2)}function ot(t,e){return y(t.getUTCHours()%12||12,e,2)}function ut(t,e){return y(1+i.A.count((0,c.A)(t),t),e,3)}function ct(t,e){return y(t.getUTCMilliseconds(),e,3)}function st(t,e){return ct(t,e)+"000"}function lt(t,e){return y(t.getUTCMonth()+1,e,2)}function ft(t,e){return y(t.getUTCMinutes(),e,2)}function ht(t,e){return y(t.getUTCSeconds(),e,2)}function dt(t){var e=t.getUTCDay();return 0===e?7:e}function pt(t,e){return y(r.Hl.count((0,c.A)(t)-1,t),e,2)}function vt(t,e){var n=t.getUTCDay();return t=n>=4||0===n?(0,r.pT)(t):r.pT.ceil(t),y(r.pT.count((0,c.A)(t),t)+(4===(0,c.A)(t).getUTCDay()),e,2)}function gt(t){return t.getUTCDay()}function yt(t,e){return y(r.rt.count((0,c.A)(t)-1,t),e,2)}function mt(t,e){return y(t.getUTCFullYear()%100,e,2)}function bt(t,e){return y(t.getUTCFullYear()%1e4,e,4)}function wt(){return"+0000"}function xt(){return"%"}function At(t){return+t}function _t(t){return Math.floor(+t/1e3)}},293:function(t,e,n){"use strict";var r=n(2834),i=n(9551),a=(0,r.A)((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())*i.rR)/i.Nm}),(function(t){return t.getDate()-1}));e.A=a;a.range},9551:function(t,e,n){"use strict";n.d(e,{Fq:function(){return u},JJ:function(){return a},Nm:function(){return o},Tt:function(){return r},rR:function(){return i}});var r=1e3,i=6e4,a=36e5,o=864e5,u=6048e5},9017:function(t,e,n){"use strict";var r=n(2834),i=n(9551),a=(0,r.A)((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*i.Tt-t.getMinutes()*i.rR)}),(function(t,e){t.setTime(+t+e*i.JJ)}),(function(t,e){return(e-t)/i.JJ}),(function(t){return t.getHours()}));e.A=a;a.range},2834:function(t,e,n){"use strict";n.d(e,{A:function(){return a}});var r=new Date,i=new Date;function a(t,e,n,o){function u(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return u.floor=function(e){return t(e=new Date(+e)),e},u.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},u.round=function(t){var e=u(t),n=u.ceil(t);return t-e<n-t?e:n},u.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},u.range=function(n,r,i){var a,o=[];if(n=u.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return o;do{o.push(a=new Date(+n)),e(n,i),t(n)}while(a<n&&n<r);return o},u.filter=function(n){return a((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&&(u.count=function(e,a){return r.setTime(+e),i.setTime(+a),t(r),t(i),Math.floor(n(r,i))},u.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?u.filter(o?function(e){return o(e)%t==0}:function(e){return u.count(0,e)%t==0}):u:null}),u}},6530:function(t,e,n){"use strict";var r=n(2834),i=(0,r.A)((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?(0,r.A)((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):i:null},e.A=i;i.range},3383:function(t,e,n){"use strict";var r=n(2834),i=n(9551),a=(0,r.A)((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*i.Tt)}),(function(t,e){t.setTime(+t+e*i.rR)}),(function(t,e){return(e-t)/i.rR}),(function(t){return t.getMinutes()}));e.A=a;a.range},7849:function(t,e,n){"use strict";var r=(0,n(2834).A)((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()}));e.A=r;r.range},1147:function(t,e,n){"use strict";var r=n(2834),i=n(9551),a=(0,r.A)((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+e*i.Tt)}),(function(t,e){return(e-t)/i.Tt}),(function(t){return t.getUTCSeconds()}));e.A=a;a.range},3675:function(t,e,n){"use strict";var r=n(2834),i=n(9551),a=(0,r.A)((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/i.Nm}),(function(t){return t.getUTCDate()-1}));e.A=a;a.range},6453:function(t,e,n){"use strict";n.d(e,{Hl:function(){return o},pT:function(){return l},rt:function(){return u}});var r=n(2834),i=n(9551);function a(t){return(0,r.A)((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)/i.Fq}))}var o=a(0),u=a(1),c=a(2),s=a(3),l=a(4),f=a(5),h=a(6);o.range,u.range,c.range,s.range,l.range,f.range,h.range},5768:function(t,e,n){"use strict";var r=n(2834),i=(0,r.A)((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()}));i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?(0,r.A)((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},e.A=i;i.range},1779:function(t,e,n){"use strict";n.d(e,{By:function(){return u},dt:function(){return l},fz:function(){return o}});var r=n(2834),i=n(9551);function a(t){return(0,r.A)((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())*i.rR)/i.Fq}))}var o=a(0),u=a(1),c=a(2),s=a(3),l=a(4),f=a(5),h=a(6);o.range,u.range,c.range,s.range,l.range,f.range,h.range},2706:function(t,e,n){"use strict";var r=n(2834),i=(0,r.A)((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()}));i.every=function(t){return isFinite(t=Math.floor(t))&&t>0?(0,r.A)((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},e.A=i;i.range},359:function(t,e,n){"use strict";n.r(e),n.d(e,{active:function(){return Pt},interrupt:function(){return F},transition:function(){return _t}});var r,i,a=n(2906),o=n(2996),u=0,c=0,s=0,l=1e3,f=0,h=0,d=0,p="object"==typeof performance&&performance.now?performance:Date,v="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function g(){return h||(v(y),h=p.now()+d)}function y(){h=0}function m(){this._call=this._time=this._next=null}function b(t,e,n){var r=new m;return r.restart(t,e,n),r}function w(){h=(f=p.now())+d,u=c=0;try{!function(){g(),++u;for(var t,e=r;e;)(t=h-e._time)>=0&&e._call.call(null,t),e=e._next;--u}()}finally{u=0,function(){var t,e,n=r,a=1/0;for(;n;)n._call?(a>n._time&&(a=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:r=e);i=t,A(a)}(),h=0}}function x(){var t=p.now(),e=t-f;e>l&&(d-=e,f=t)}function A(t){u||(c&&(c=clearTimeout(c)),t-h>24?(t<1/0&&(c=setTimeout(w,t-p.now()-d)),s&&(s=clearInterval(s))):(s||(f=p.now(),s=setInterval(x,l)),u=1,v(w)))}function _(t,e,n){var r=new m;return e=null==e?0:+e,r.restart((function(n){r.stop(),t(n+e)}),e,n),r}m.prototype=b.prototype={constructor:m,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?g():+n)+(null==e?0:+e),this._next||i===this||(i?i._next=this:r=this,i=this),this._call=t,this._time=n,A()},stop:function(){this._call&&(this._call=null,this._time=1/0,A())}};var M=(0,o.A)("start","end","cancel","interrupt"),k=[],T=0,O=1,S=2,P=3,C=4,D=5,E=6;function N(t,e,n,r,i,a){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function a(t){n.state=O,n.timer.restart(o,n.delay,n.time),n.delay<=t&&o(t-n.delay)}function o(a){var s,l,f,h;if(n.state!==O)return c();for(s in i)if((h=i[s]).name===n.name){if(h.state===P)return _(o);h.state===C?(h.state=E,h.timer.stop(),h.on.call("interrupt",t,t.__data__,h.index,h.group),delete i[s]):+s<e&&(h.state=E,h.timer.stop(),h.on.call("cancel",t,t.__data__,h.index,h.group),delete i[s])}if(_((function(){n.state===P&&(n.state=C,n.timer.restart(u,n.delay,n.time),u(a))})),n.state=S,n.on.call("start",t,t.__data__,n.index,n.group),n.state===S){for(n.state=P,r=new Array(f=n.tween.length),s=0,l=-1;s<f;++s)(h=n.tween[s].value.call(t,t.__data__,n.index,n.group))&&(r[++l]=h);r.length=l+1}}function u(e){for(var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(c),n.state=D,1),a=-1,o=r.length;++a<o;)r[a].call(t,i);n.state===D&&(n.on.call("end",t,t.__data__,n.index,n.group),c())}function c(){for(var r in n.state=E,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=b(a,0,n.time)}(t,n,{name:e,index:r,group:i,on:M,tween:k,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:T})}function j(t,e){var n=R(t,e);if(n.state>T)throw new Error("too late; already scheduled");return n}function L(t,e){var n=R(t,e);if(n.state>P)throw new Error("too late; already running");return n}function R(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function F(t,e){var n,r,i,a=t.__transition,o=!0;if(a){for(i in e=null==e?null:e+"",a)(n=a[i]).name===e?(r=n.state>S&&n.state<D,n.state=E,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete a[i]):o=!1;o&&delete t.__transition}}var I,U,H,q,B=n(5566),V=180/Math.PI,z={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function W(t,e,n,r,i,a){var o,u,c;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(c=t*n+e*r)&&(n-=t*c,r-=e*c),(u=Math.sqrt(n*n+r*r))&&(n/=u,r/=u,c/=u),t*r<e*n&&(t=-t,e=-e,c=-c,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(e,t)*V,skewX:Math.atan(c)*V,scaleX:o,scaleY:u}}function Y(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}return function(a,o){var u=[],c=[];return a=t(a),o=t(o),function(t,r,i,a,o,u){if(t!==i||r!==a){var c=o.push("translate(",null,e,null,n);u.push({i:c-4,x:(0,B.A)(t,i)},{i:c-2,x:(0,B.A)(r,a)})}else(i||a)&&o.push("translate("+i+e+a+n)}(a.translateX,a.translateY,o.translateX,o.translateY,u,c),function(t,e,n,a){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),a.push({i:n.push(i(n)+"rotate(",null,r)-2,x:(0,B.A)(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(a.rotate,o.rotate,u,c),function(t,e,n,a){t!==e?a.push({i:n.push(i(n)+"skewX(",null,r)-2,x:(0,B.A)(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(a.skewX,o.skewX,u,c),function(t,e,n,r,a,o){if(t!==n||e!==r){var u=a.push(i(a)+"scale(",null,",",null,")");o.push({i:u-4,x:(0,B.A)(t,n)},{i:u-2,x:(0,B.A)(e,r)})}else 1===n&&1===r||a.push(i(a)+"scale("+n+","+r+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,u,c),a=o=null,function(t){for(var e,n=-1,r=c.length;++n<r;)u[(e=c[n]).i]=e.x(t);return u.join("")}}}var G=Y((function(t){return"none"===t?z:(I||(I=document.createElement("DIV"),U=document.documentElement,H=document.defaultView),I.style.transform=t,t=H.getComputedStyle(U.appendChild(I),null).getPropertyValue("transform"),U.removeChild(I),W(+(t=t.slice(7,-1).split(","))[0],+t[1],+t[2],+t[3],+t[4],+t[5]))}),"px, ","px)","deg)"),J=Y((function(t){return null==t?z:(q||(q=document.createElementNS("http://www.w3.org/2000/svg","g")),q.setAttribute("transform",t),(t=q.transform.baseVal.consolidate())?W((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):z)}),", ",")",")"),X=n(6357);function $(t,e){var n,r;return function(){var i=L(this,t),a=i.tween;if(a!==n)for(var o=0,u=(r=n=a).length;o<u;++o)if(r[o].name===e){(r=r.slice()).splice(o,1);break}i.tween=r}}function Z(t,e,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var a=L(this,t),o=a.tween;if(o!==r){i=(r=o).slice();for(var u={name:e,value:n},c=0,s=i.length;c<s;++c)if(i[c].name===e){i[c]=u;break}c===s&&i.push(u)}a.tween=i}}function Q(t,e,n){var r=t._id;return t.each((function(){var t=L(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)})),function(t){return R(t,r).value[e]}}var K=n(3844),tt=n(5587),et=n(3318);function nt(t,e){var n;return("number"==typeof e?B.A:e instanceof K.Ay?tt.Ay:(n=(0,K.Ay)(e))?(e=n,tt.Ay):et.A)(t,e)}function rt(t){return function(){this.removeAttribute(t)}}function it(t){return function(){this.removeAttributeNS(t.space,t.local)}}function at(t,e,n){var r,i,a=n+"";return function(){var o=this.getAttribute(t);return o===a?null:o===r?i:i=e(r=o,n)}}function ot(t,e,n){var r,i,a=n+"";return function(){var o=this.getAttributeNS(t.space,t.local);return o===a?null:o===r?i:i=e(r=o,n)}}function ut(t,e,n){var r,i,a;return function(){var o,u,c=n(this);if(null!=c)return(o=this.getAttribute(t))===(u=c+"")?null:o===r&&u===i?a:(i=u,a=e(r=o,c));this.removeAttribute(t)}}function ct(t,e,n){var r,i,a;return function(){var o,u,c=n(this);if(null!=c)return(o=this.getAttributeNS(t.space,t.local))===(u=c+"")?null:o===r&&u===i?a:(i=u,a=e(r=o,c));this.removeAttributeNS(t.space,t.local)}}function st(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}(t,i)),n}return i._value=e,i}function lt(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}(t,i)),n}return i._value=e,i}function ft(t,e){return function(){j(this,t).delay=+e.apply(this,arguments)}}function ht(t,e){return e=+e,function(){j(this,t).delay=e}}function dt(t,e){return function(){L(this,t).duration=+e.apply(this,arguments)}}function pt(t,e){return e=+e,function(){L(this,t).duration=e}}var vt=n(4692);var gt=n(9729);var yt=n(1118);var mt=a.Ay.prototype.constructor;var bt=n(7626);function wt(t){return function(){this.style.removeProperty(t)}}var xt=0;function At(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function _t(t){return(0,a.Ay)().transition(t)}function Mt(){return++xt}var kt=a.Ay.prototype;At.prototype=_t.prototype={constructor:At,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=(0,gt.A)(t));for(var r=this._groups,i=r.length,a=new Array(i),o=0;o<i;++o)for(var u,c,s=r[o],l=s.length,f=a[o]=new Array(l),h=0;h<l;++h)(u=s[h])&&(c=t.call(u,u.__data__,h,s))&&("__data__"in u&&(c.__data__=u.__data__),f[h]=c,N(f[h],e,n,h,f,R(u,n)));return new At(a,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=(0,yt.A)(t));for(var r=this._groups,i=r.length,a=[],o=[],u=0;u<i;++u)for(var c,s=r[u],l=s.length,f=0;f<l;++f)if(c=s[f]){for(var h,d=t.call(c,c.__data__,f,s),p=R(c,n),v=0,g=d.length;v<g;++v)(h=d[v])&&N(h,e,n,v,d,p);a.push(d),o.push(c)}return new At(a,o,e,n)},filter:function(t){"function"!=typeof t&&(t=(0,vt.A)(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var a,o=e[i],u=o.length,c=r[i]=[],s=0;s<u;++s)(a=o[s])&&t.call(a,a.__data__,s,o)&&c.push(a);return new At(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,a=Math.min(r,i),o=new Array(r),u=0;u<a;++u)for(var c,s=e[u],l=n[u],f=s.length,h=o[u]=new Array(f),d=0;d<f;++d)(c=s[d]||l[d])&&(h[d]=c);for(;u<r;++u)o[u]=e[u];return new At(o,this._parents,this._name,this._id)},selection:function(){return new mt(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=Mt(),r=this._groups,i=r.length,a=0;a<i;++a)for(var o,u=r[a],c=u.length,s=0;s<c;++s)if(o=u[s]){var l=R(o,e);N(o,t,n,s,u,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new At(r,this._parents,t,n)},call:kt.call,nodes:kt.nodes,node:kt.node,size:kt.size,empty:kt.empty,each:kt.each,on:function(t,e){var n=this._id;return arguments.length<2?R(this.node(),n).on.on(t):this.each(function(t,e,n){var r,i,a=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)?j:L;return function(){var o=a(this,t),u=o.on;u!==r&&(i=(r=u).copy()).on(e,n),o.on=i}}(n,t,e))},attr:function(t,e){var n=(0,X.A)(t),r="transform"===n?J:nt;return this.attrTween(t,"function"==typeof e?(n.local?ct:ut)(n,r,Q(this,"attr."+t,e)):null==e?(n.local?it:rt)(n):(n.local?ot:at)(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=(0,X.A)(t);return this.tween(n,(r.local?st:lt)(r,e))},style:function(t,e,n){var r="transform"==(t+="")?G:nt;return null==e?this.styleTween(t,function(t,e){var n,r,i;return function(){var a=(0,bt.j)(this,t),o=(this.style.removeProperty(t),(0,bt.j)(this,t));return a===o?null:a===n&&o===r?i:i=e(n=a,r=o)}}(t,r)).on("end.style."+t,wt(t)):"function"==typeof e?this.styleTween(t,function(t,e,n){var r,i,a;return function(){var o=(0,bt.j)(this,t),u=n(this),c=u+"";return null==u&&(this.style.removeProperty(t),c=u=(0,bt.j)(this,t)),o===c?null:o===r&&c===i?a:(i=c,a=e(r=o,u))}}(t,r,Q(this,"style."+t,e))).each(function(t,e){var n,r,i,a,o="style."+e,u="end."+o;return function(){var c=L(this,t),s=c.on,l=null==c.value[o]?a||(a=wt(e)):void 0;s===n&&i===l||(r=(n=s).copy()).on(u,i=l),c.on=r}}(this._id,t)):this.styleTween(t,function(t,e,n){var r,i,a=n+"";return function(){var o=(0,bt.j)(this,t);return o===a?null:o===r?i:i=e(r=o,n)}}(t,r,e),n).on("end.style."+t,null)},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){var r,i;function a(){var a=e.apply(this,arguments);return a!==i&&(r=(i=a)&&function(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}(t,a,n)),r}return a._value=e,a}(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}}(Q(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw new Error;return this.tween(e,function(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&function(t){return function(e){this.textContent=t.call(this,e)}}(r)),e}return r._value=t,r}(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=R(this.node(),n).tween,a=0,o=i.length;a<o;++a)if((r=i[a]).name===t)return r.value;return null}return this.each((null==e?$:Z)(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?ft:ht)(e,t)):R(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?dt:pt)(e,t)):R(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(){L(this,t).ease=e}}(e,t)):R(this.node(),e).ease},end:function(){var t,e,n=this,r=n._id,i=n.size();return new Promise((function(a,o){var u={value:o},c={value:function(){0==--i&&a()}};n.each((function(){var n=L(this,r),i=n.on;i!==t&&((e=(t=i).copy())._.cancel.push(u),e._.interrupt.push(u),e._.end.push(c)),n.on=e}))}))}};var Tt={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function Ot(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))return Tt.time=g(),Tt;return n}a.Ay.prototype.interrupt=function(t){return this.each((function(){F(this,t)}))},a.Ay.prototype.transition=function(t){var e,n;t instanceof At?(e=t._id,t=t._name):(e=Mt(),(n=Tt).time=g(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,a=0;a<i;++a)for(var o,u=r[a],c=u.length,s=0;s<c;++s)(o=u[s])&&N(o,t,e,s,u,n||Ot(o,e));return new At(r,this._parents,t,e)};var St=[null];function Pt(t,e){var n,r,i=t.__transition;if(i)for(r in e=null==e?null:e+"",i)if((n=i[r]).state>O&&n.name===e)return new At([[t]],St,e,+r);return null}},5626:function(t,e,n){var r,i,a,o,u,c;"undefined"!=typeof self&&self,t.exports=(r=n(7865),i=n(5783),a=n(359),o=n(6914),u=n(8116),c=n(8100),function(t){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}var n={};return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get: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,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),u=(n.n(o),n(3)),c=(n.n(u),n(4)),s=(n.n(c),n(5)),l=(n.n(s),n(6)),f=(n.n(l),n(7)),h=n.n(f),d=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),p=function t(e,n,r){null===e&&(e=Function.prototype);var i=Object.getOwnPropertyDescriptor(e,n);if(void 0===i){var a=Object.getPrototypeOf(e);return null===a?void 0:t(a,n,r)}if("value"in i)return i.value;var o=i.get;return void 0!==o?o.call(r):void 0},v=function(t){return t.w},g=function(t){return t.h},y=function(t){return t},m=function(t){function e(t,n){r(this,e);var a=i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return a.layers.create(["dummy",{main:["axis","link","label","dot"]}]),a.layers.get("main/axis").classed("axis",!0),a.force=new h.a.Force(n.labella),a.updateLabelText=a.updateLabelText.bind(a),a.visualize=a.visualize.bind(a),a.on("data",a.visualize),a.on("options",a.visualize),a.on("resize",a.visualize),a}return a(e,t),d(e,null,[{key:"getDefaultOptions",value:function(){return l.helper.deepExtend(p(e.__proto__||Object.getPrototypeOf(e),"getDefaultOptions",this).call(this),{margin:{left:40,right:20,top:20,bottom:20},initialWidth:400,initialHeight:400,scale:Object(u.scaleTime)(),domain:void 0,direction:"right",dotRadius:3,formatAxis:y,layerGap:60,labella:{},keyFn:void 0,timeFn:function(t){return t.time},textFn:function(t){return t.text},dotColor:"#222",labelBgColor:"#222",labelTextColor:"#fff",linkColor:"#222",labelPadding:{left:4,right:4,top:3,bottom:2},textYOffset:"0.85em"})}},{key:"getCustomEventNames",value:function(){return["dotClick","dotMouseover","dotMousemove","dotMouseout","dotMouseenter","dotMouseleave","labelClick","labelMouseover","labelMousemove","labelMouseenter","labelMouseleave","labelMouseout"]}}]),d(e,[{key:"resizeToFit",value:function(){var t=this.options(),e=void 0,n=this.force.nodes();switch(t.direction){case"up":e=Object(s.max)(n,(function(t){return Math.abs(t.y)}))||0,this.height(e+t.margin.top+t.margin.bottom);break;case"down":e=Object(s.max)(n,(function(t){return Math.abs(t.y+t.dy)}))||0,this.height(e+t.margin.top+t.margin.bottom);break;case"left":e=Object(s.max)(n,(function(t){return Math.abs(t.x)}))||0,this.width(e+t.margin.left+t.margin.right);break;case"right":e=Object(s.max)(n,(function(t){return Math.abs(t.x+t.dx)}))||0,this.width(e+t.margin.left+t.margin.right)}return this}},{key:"updateLabelText",value:function(t,e,n){var r=this.options();return n=n?l.helper.functor(n):y,t.text((function(t){return r.textFn(n(t))})).attr("dy",r.textYOffset).attr("x",r.labelPadding.left).attr("y",r.labelPadding.top),Object.keys(e).forEach((function(r){var i=e[r];t.style(r,(function(t,e){return i(n(t),e)}))})),t}},{key:"drawAxes",value:function(){var t=this.options(),e=void 0;switch(t.direction){case"right":this.axis=Object(o.axisLeft)(),e="translate(0,0)";break;case"left":this.axis=Object(o.axisRight)(),e="translate("+this.getInnerWidth()+",0)";break;case"up":this.axis=Object(o.axisBottom)(),e="translate(0,"+this.getInnerHeight()+")";break;case"down":this.axis=Object(o.axisTop)(),e="translate(0,0)"}return this.layers.get("main").attr("transform",e),(t.formatAxis||y)(this.axis.scale(t.scale)),this.layers.get("main/axis").call(this.axis),this}},{key:"drawDots",value:function(t){var e=this.options(),n=function(t){return e.scale(e.timeFn(t))},r=this.layers.get("main/dot").selectAll("circle.dot").data(t,e.keyFn),i="left"===e.direction||"right"===e.direction?"cy":"cx";return r.enter().append("circle").classed("dot",!0).on("click",this.dispatchAs("dotClick")).on("mouseover",this.dispatchAs("dotMouseover")).on("mousemove",this.dispatchAs("dotMousemove")).on("mouseout",this.dispatchAs("dotMouseout")).on("mouseenter",this.dispatchAs("dotMouseenter")).on("mouseleave",this.dispatchAs("dotMouseleave")).style("fill",e.dotColor).attr("r",e.dotRadius).attr(i,n),r.transition().style("fill",e.dotColor).attr("r",e.dotRadius).attr(i,n),r.exit().remove(),this}},{key:"drawLabels",value:function(t,e){function n(t){switch(r.direction){case"right":return"translate("+t.x+","+(t.y-t.dy/2)+")";case"left":return"translate("+(t.x+i-t.w)+","+(t.y-t.dy/2)+")";case"up":case"down":return"translate("+(t.x-t.dx/2)+","+t.y+")"}}var r=this.options(),i=void 0;i="left"===r.direction||"right"===r.direction?Object(s.max)(t,v):Object(s.max)(t,g);var a=new h.a.Renderer({nodeHeight:i,layerGap:r.layerGap,direction:r.direction});a.layout(t);var o=l.helper.functor(r.labelBgColor),u=l.helper.functor(r.linkColor),c=this.layers.get("main/label").selectAll("g.label-g").data(t,r.keyFn?function(t){return r.keyFn(t.data)}:void 0),f=c.enter().append("g").classed("label-g",!0).on("click",this.dispatchAs("labelClick")).on("mouseover",this.dispatchAs("labelMouseover")).on("mousemove",this.dispatchAs("labelMousemove")).on("mouseenter",this.dispatchAs("labelMouseenter")).on("mouseleave",this.dispatchAs("labelMouseleave")).on("mouseout",this.dispatchAs("labelMouseout")).attr("transform",n);f.append("rect").classed("label-bg",!0).attr("rx",2).attr("ry",2).attr("width",v).attr("height",g).style("fill",(function(t){return o(t.data)})),f.append("text").classed("label-text",!0).call(this.updateLabelText,e,(function(t){return t.data}));var d=c.transition().attr("transform",n);d.select("rect").attr("width",v).attr("height",g).style("fill",(function(t){return o(t.data)})),d.select("text.label-text").call(this.updateLabelText,e,(function(t){return t.data})),c.exit().remove();var p=this.layers.get("main/link").selectAll("path.link").data(t,r.keyFn?function(t){return r.keyFn(t.data)}:void 0);return p.enter().append("path").classed("link",!0).attr("d",(function(t){return a.generatePath(t)})).style("stroke",(function(t){return u(t.data)})).style("fill","none"),p.transition().attr("d",(function(t){return a.generatePath(t)})).style("stroke",(function(t){return u(t.data)})),p.exit().remove(),this}},{key:"visualize",value:function(){var t=this;if(this.hasData()&&this.hasNonZeroArea()){var e=this.data()||[],n=this.options();this.force=new h.a.Force(n.labella),n.domain?n.scale.domain(n.domain):n.scale.domain(Object(s.extent)(e,n.timeFn)).nice(),n.scale.range([0,"left"===n.direction||"right"===n.direction?this.getInnerHeight():this.getInnerWidth()]);var r=l.helper.extend({},n.textStyle);Object.keys(r).forEach((function(t){r[t]=l.helper.functor(r[t])})),r.fill=r.fill||l.helper.functor(n.labelTextColor);var i=this.layers.get("dummy").append("text").classed("label-text",!0),a=function(t){return n.scale(n.timeFn(t))},o=e.map((function(e){var o=i.call(t.updateLabelText,r,e).node().getBBox(),u=o.width+n.labelPadding.left+n.labelPadding.right,c=o.height+n.labelPadding.top+n.labelPadding.bottom,s=new h.a.Node(a(e),"left"===n.direction||"right"===n.direction?c:u,e);return s.w=u,s.h=c,s}));return i.remove(),this.force.options(n.labella).nodes(o).compute(),this.drawAxes(),this.drawDots(e),this.drawLabels(this.force.nodes(),r),this}}}]),e}(l.SvgChart);e.default=m},function(t,e){t.exports=r},function(t,e){t.exports=i},function(t,e){t.exports=a},function(t,e){t.exports=o},function(t,e){t.exports=u},function(t,e){t.exports=c}]).default)},5783:function(t,e,n){"use strict";n.r(e),n.d(e,{interpolateCool:function(){return Jt},interpolateCubehelixDefault:function(){return Yt},interpolateInferno:function(){return te},interpolateMagma:function(){return Kt},interpolatePlasma:function(){return ee},interpolateRainbow:function(){return $t},interpolateViridis:function(){return Qt},interpolateWarm:function(){return Gt},scaleBand:function(){return l},scaleIdentity:function(){return D},scaleImplicit:function(){return c},scaleLinear:function(){return C},scaleLog:function(){return U},scaleOrdinal:function(){return s},scalePoint:function(){return h},scalePow:function(){return q},scaleQuantile:function(){return V},scaleQuantize:function(){return z},scaleSequential:function(){return ne},scaleSqrt:function(){return B},scaleThreshold:function(){return W},scaleTime:function(){return ft},scaleUtc:function(){return _t},schemeCategory10:function(){return kt},schemeCategory20:function(){return St},schemeCategory20b:function(){return Tt},schemeCategory20c:function(){return Ot}});var r=n(6914),i=n(1918),a=Array.prototype,o=a.map,u=a.slice,c={name:"implicit"};function s(t){var e=(0,i.Tj)(),n=[],r=c;function a(i){var a=i+"",o=e.get(a);if(!o){if(r!==c)return r;e.set(a,o=n.push(i))}return t[(o-1)%t.length]}return t=null==t?[]:u.call(t),a.domain=function(t){if(!arguments.length)return n.slice();n=[],e=(0,i.Tj)();for(var r,o,u=-1,c=t.length;++u<c;)e.has(o=(r=t[u])+"")||e.set(o,n.push(r));return a},a.range=function(e){return arguments.length?(t=u.call(e),a):t.slice()},a.unknown=function(t){return arguments.length?(r=t,a):r},a.copy=function(){return s().domain(n).range(t).unknown(r)},a}function l(){var t,e,n=s().unknown(void 0),i=n.domain,a=n.range,o=[0,1],u=!1,c=0,f=0,h=.5;function d(){var n=i().length,s=o[1]<o[0],l=o[s-0],d=o[1-s];t=(d-l)/Math.max(1,n-c+2*f),u&&(t=Math.floor(t)),l+=(d-l-t*(n-c))*h,e=t*(1-c),u&&(l=Math.round(l),e=Math.round(e));var p=(0,r.range)(n).map((function(e){return l+t*e}));return a(s?p.reverse():p)}return delete n.unknown,n.domain=function(t){return arguments.length?(i(t),d()):i()},n.range=function(t){return arguments.length?(o=[+t[0],+t[1]],d()):o.slice()},n.rangeRound=function(t){return o=[+t[0],+t[1]],u=!0,d()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(u=!!t,d()):u},n.padding=function(t){return arguments.length?(c=f=Math.max(0,Math.min(1,t)),d()):c},n.paddingInner=function(t){return arguments.length?(c=Math.max(0,Math.min(1,t)),d()):c},n.paddingOuter=function(t){return arguments.length?(f=Math.max(0,Math.min(1,t)),d()):f},n.align=function(t){return arguments.length?(h=Math.max(0,Math.min(1,t)),d()):h},n.copy=function(){return l().domain(i()).range(o).round(u).paddingInner(c).paddingOuter(f).align(h)},d()}function f(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return f(e())},t}function h(){return f(l().paddingInner(1))}var d=n(5566),p=n(7331),v=n(5307);function g(t){return function(){return t}}function y(t){return+t}var m=[0,1];function b(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:g(e)}function w(t,e,n,r){var i=t[0],a=t[1],o=e[0],u=e[1];return a<i?(i=n(a,i),o=r(u,o)):(i=n(i,a),o=r(o,u)),function(t){return o(i(t))}}function x(t,e,n,i){var a=Math.min(t.length,e.length)-1,o=new Array(a),u=new Array(a),c=-1;for(t[a]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++c<a;)o[c]=n(t[c],t[c+1]),u[c]=i(e[c],e[c+1]);return function(e){var n=(0,r.bisect)(t,e,1,a)-1;return u[n](o[n](e))}}function A(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp())}function _(t,e){var n,r,i,a=m,c=m,s=p.A,l=!1;function f(){return n=Math.min(a.length,c.length)>2?x:w,r=i=null,h}function h(e){return(r||(r=n(a,c,l?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 h.invert=function(t){return(i||(i=n(c,a,b,l?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)},h.domain=function(t){return arguments.length?(a=o.call(t,y),f()):a.slice()},h.range=function(t){return arguments.length?(c=u.call(t),f()):c.slice()},h.rangeRound=function(t){return c=u.call(t),s=v.A,f()},h.clamp=function(t){return arguments.length?(l=!!t,f()):l},h.interpolate=function(t){return arguments.length?(s=t,f()):s},f()}var M=n(1688),k=n(6093),T=n(4626),O=n(8209),S=n(3391);function P(t){var e=t.domain;return t.ticks=function(t){var n=e();return(0,r.ticks)(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){return function(t,e,n){var i,a=t[0],o=t[t.length-1],u=(0,r.tickStep)(a,o,null==e?10:e);switch((n=(0,M.A)(null==n?",f":n)).type){case"s":var c=Math.max(Math.abs(a),Math.abs(o));return null!=n.precision||isNaN(i=(0,k.A)(u,c))||(n.precision=i),(0,T.s)(n,c);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(i=(0,O.A)(u,Math.max(Math.abs(a),Math.abs(o))))||(n.precision=i-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(i=(0,S.A)(u))||(n.precision=i-2*("%"===n.type))}return(0,T.GP)(n)}(e(),t,n)},t.nice=function(n){null==n&&(n=10);var i,a=e(),o=0,u=a.length-1,c=a[o],s=a[u];return s<c&&(i=c,c=s,s=i,i=o,o=u,u=i),(i=(0,r.tickIncrement)(c,s,n))>0?(c=Math.floor(c/i)*i,s=Math.ceil(s/i)*i,i=(0,r.tickIncrement)(c,s,n)):i<0&&(c=Math.ceil(c*i)/i,s=Math.floor(s*i)/i,i=(0,r.tickIncrement)(c,s,n)),i>0?(a[o]=Math.floor(c/i)*i,a[u]=Math.ceil(s/i)*i,e(a)):i<0&&(a[o]=Math.ceil(c*i)/i,a[u]=Math.floor(s*i)/i,e(a)),t},t}function C(){var t=_(b,d.A);return t.copy=function(){return A(t,C())},P(t)}function D(){var t=[0,1];function e(t){return+t}return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=o.call(n,y),e):t.slice()},e.copy=function(){return D().domain(t)},P(e)}function E(t,e){var n,r=0,i=(t=t.slice()).length-1,a=t[r],o=t[i];return o<a&&(n=r,r=i,i=n,n=a,a=o,o=n),t[r]=e.floor(a),t[i]=e.ceil(o),t}function N(t,e){return(e=Math.log(e/t))?function(n){return Math.log(n/t)/e}:g(e)}function j(t,e){return t<0?function(n){return-Math.pow(-e,n)*Math.pow(-t,1-n)}:function(n){return Math.pow(e,n)*Math.pow(t,1-n)}}function L(t){return isFinite(t)?+("1e"+t):t<0?0:t}function R(t){return 10===t?L:t===Math.E?Math.exp:function(e){return Math.pow(t,e)}}function F(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(e){return Math.log(e)/t})}function I(t){return function(e){return-t(-e)}}function U(){var t=_(N,j).domain([1,10]),e=t.domain,n=10,i=F(10),a=R(10);function o(){return i=F(n),a=R(n),e()[0]<0&&(i=I(i),a=I(a)),t}return t.base=function(t){return arguments.length?(n=+t,o()):n},t.domain=function(t){return arguments.length?(e(t),o()):e()},t.ticks=function(t){var o,u=e(),c=u[0],s=u[u.length-1];(o=s<c)&&(d=c,c=s,s=d);var l,f,h,d=i(c),p=i(s),v=null==t?10:+t,g=[];if(!(n%1)&&p-d<v){if(d=Math.round(d)-1,p=Math.round(p)+1,c>0){for(;d<p;++d)for(f=1,l=a(d);f<n;++f)if(!((h=l*f)<c)){if(h>s)break;g.push(h)}}else for(;d<p;++d)for(f=n-1,l=a(d);f>=1;--f)if(!((h=l*f)<c)){if(h>s)break;g.push(h)}}else g=(0,r.ticks)(d,p,Math.min(p-d,v)).map(a);return o?g.reverse():g},t.tickFormat=function(e,r){if(null==r&&(r=10===n?".0e":","),"function"!=typeof r&&(r=(0,T.GP)(r)),e===1/0)return r;null==e&&(e=10);var o=Math.max(1,n*e/t.ticks().length);return function(t){var e=t/a(Math.round(i(t)));return e*n<n-.5&&(e*=n),e<=o?r(t):""}},t.nice=function(){return e(E(e(),{floor:function(t){return a(Math.floor(i(t)))},ceil:function(t){return a(Math.ceil(i(t)))}}))},t.copy=function(){return A(t,U().base(n))},t}function H(t,e){return t<0?-Math.pow(-t,e):Math.pow(t,e)}function q(){var t=1,e=_((function(e,n){return(n=H(n,t)-(e=H(e,t)))?function(r){return(H(r,t)-e)/n}:g(n)}),(function(e,n){return n=H(n,t)-(e=H(e,t)),function(r){return H(e+n*r,1/t)}})),n=e.domain;return e.exponent=function(e){return arguments.length?(t=+e,n(n())):t},e.copy=function(){return A(e,q().exponent(t))},P(e)}function B(){return q().exponent(.5)}function V(){var t=[],e=[],n=[];function i(){var i=0,o=Math.max(1,e.length);for(n=new Array(o-1);++i<o;)n[i-1]=(0,r.quantile)(t,i/o);return a}function a(t){if(!isNaN(t=+t))return e[(0,r.bisect)(n,t)]}return a.invertExtent=function(r){var i=e.indexOf(r);return i<0?[NaN,NaN]:[i>0?n[i-1]:t[0],i<n.length?n[i]:t[t.length-1]]},a.domain=function(e){if(!arguments.length)return t.slice();t=[];for(var n,a=0,o=e.length;a<o;++a)null==(n=e[a])||isNaN(n=+n)||t.push(n);return t.sort(r.ascending),i()},a.range=function(t){return arguments.length?(e=u.call(t),i()):e.slice()},a.quantiles=function(){return n.slice()},a.copy=function(){return V().domain(t).range(e)},a}function z(){var t=0,e=1,n=1,i=[.5],a=[0,1];function o(t){if(t<=t)return a[(0,r.bisect)(i,t,0,n)]}function c(){var r=-1;for(i=new Array(n);++r<n;)i[r]=((r+1)*e-(r-n)*t)/(n+1);return o}return o.domain=function(n){return arguments.length?(t=+n[0],e=+n[1],c()):[t,e]},o.range=function(t){return arguments.length?(n=(a=u.call(t)).length-1,c()):a.slice()},o.invertExtent=function(r){var o=a.indexOf(r);return o<0?[NaN,NaN]:o<1?[t,i[0]]:o>=n?[i[n-1],e]:[i[o-1],i[o]]},o.copy=function(){return z().domain([t,e]).range(a)},P(o)}function W(){var t=[.5],e=[0,1],n=1;function i(i){if(i<=i)return e[(0,r.bisect)(t,i,0,n)]}return i.domain=function(r){return arguments.length?(t=u.call(r),n=Math.min(t.length,e.length-1),i):t.slice()},i.range=function(r){return arguments.length?(e=u.call(r),n=Math.min(t.length,e.length-1),i):e.slice()},i.invertExtent=function(n){var r=e.indexOf(n);return[t[r-1],t[r]]},i.copy=function(){return W().domain(t).range(e)},i}var Y=n(2706),G=n(7849),J=n(1779),X=n(293),$=n(9017),Z=n(3383),Q=n(1147),K=n(6530),tt=n(2692),et=1e3,nt=60*et,rt=60*nt,it=24*rt,at=7*it,ot=30*it,ut=365*it;function ct(t){return new Date(t)}function st(t){return t instanceof Date?+t:+new Date(+t)}function lt(t,e,n,i,a,u,c,s,l){var f=_(b,d.A),h=f.invert,p=f.domain,v=l(".%L"),g=l(":%S"),y=l("%I:%M"),m=l("%I %p"),w=l("%a %d"),x=l("%b %d"),M=l("%B"),k=l("%Y"),T=[[c,1,et],[c,5,5*et],[c,15,15*et],[c,30,30*et],[u,1,nt],[u,5,5*nt],[u,15,15*nt],[u,30,30*nt],[a,1,rt],[a,3,3*rt],[a,6,6*rt],[a,12,12*rt],[i,1,it],[i,2,2*it],[n,1,at],[e,1,ot],[e,3,3*ot],[t,1,ut]];function O(r){return(c(r)<r?v:u(r)<r?g:a(r)<r?y:i(r)<r?m:e(r)<r?n(r)<r?w:x:t(r)<r?M:k)(r)}function S(e,n,i,a){if(null==e&&(e=10),"number"==typeof e){var o=Math.abs(i-n)/e,u=(0,r.bisector)((function(t){return t[2]})).right(T,o);u===T.length?(a=(0,r.tickStep)(n/ut,i/ut,e),e=t):u?(a=(u=T[o/T[u-1][2]<T[u][2]/o?u-1:u])[1],e=u[0]):(a=Math.max((0,r.tickStep)(n,i,e),1),e=s)}return null==a?e:e.every(a)}return f.invert=function(t){return new Date(h(t))},f.domain=function(t){return arguments.length?p(o.call(t,st)):p().map(ct)},f.ticks=function(t,e){var n,r=p(),i=r[0],a=r[r.length-1],o=a<i;return o&&(n=i,i=a,a=n),n=(n=S(t,i,a,e))?n.range(i,a+1):[],o?n.reverse():n},f.tickFormat=function(t,e){return null==e?O:l(e)},f.nice=function(t,e){var n=p();return(t=S(t,n[0],n[n.length-1],e))?p(E(n,t)):f},f.copy=function(){return A(f,lt(t,e,n,i,a,u,c,s,l))},f}function ft(){return lt(Y.A,G.A,J.fz,X.A,$.A,Z.A,Q.A,K.A,tt.DC).domain([new Date(2e3,0,1),new Date(2e3,0,2)])}var ht=n(5768),dt=n(2834),pt=(0,dt.A)((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()})),vt=pt,gt=(pt.range,n(6453)),yt=n(3675),mt=n(9551),bt=(0,dt.A)((function(t){t.setUTCMinutes(0,0,0)}),(function(t,e){t.setTime(+t+e*mt.JJ)}),(function(t,e){return(e-t)/mt.JJ}),(function(t){return t.getUTCHours()})),wt=bt,xt=(bt.range,(0,dt.A)((function(t){t.setUTCSeconds(0,0)}),(function(t,e){t.setTime(+t+e*mt.rR)}),(function(t,e){return(e-t)/mt.rR}),(function(t){return t.getUTCMinutes()}))),At=xt;xt.range;function _t(){return lt(ht.A,vt,gt.Hl,yt.A,wt,At,Q.A,K.A,tt.aL).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])}function Mt(t){return t.match(/.{6}/g).map((function(t){return"#"+t}))}var kt=Mt("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),Tt=Mt("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),Ot=Mt("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),St=Mt("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),Pt=n(7592),Ct=n(3844),Dt=Math.PI/180,Et=180/Math.PI,Nt=-.14861,jt=1.78277,Lt=-.29227,Rt=-.90649,Ft=1.97294,It=Ft*Rt,Ut=Ft*jt,Ht=jt*Lt-Rt*Nt;function qt(t,e,n,r){return 1===arguments.length?function(t){if(t instanceof Bt)return new Bt(t.h,t.s,t.l,t.opacity);t instanceof Ct.Gw||(t=(0,Ct.b)(t));var e=t.r/255,n=t.g/255,r=t.b/255,i=(Ht*r+It*e-Ut*n)/(Ht+It-Ut),a=r-i,o=(Ft*(n-i)-Lt*a)/Rt,u=Math.sqrt(o*o+a*a)/(Ft*i*(1-i)),c=u?Math.atan2(o,a)*Et-120:NaN;return new Bt(c<0?c+360:c,u,i,t.opacity)}(t):new Bt(t,e,n,null==r?1:r)}function Bt(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}(0,Pt.A)(Bt,qt,(0,Pt.X)(Ct.Q1,{brighter:function(t){return t=null==t?Ct.Uw:Math.pow(Ct.Uw,t),new Bt(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Ct.ef:Math.pow(Ct.ef,t),new Bt(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*Dt,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),i=Math.sin(t);return new Ct.Gw(255*(e+n*(Nt*r+jt*i)),255*(e+n*(Lt*r+Rt*i)),255*(e+n*(Ft*r)),this.opacity)}}));var Vt=n(6504);function zt(t){return function e(n){function r(e,r){var i=t((e=qt(e)).h,(r=qt(r)).h),a=(0,Vt.Ay)(e.s,r.s),o=(0,Vt.Ay)(e.l,r.l),u=(0,Vt.Ay)(e.opacity,r.opacity);return function(t){return e.h=i(t),e.s=a(t),e.l=o(Math.pow(t,n)),e.opacity=u(t),e+""}}return n=+n,r.gamma=e,r}(1)}zt(Vt.lG);var Wt=zt(Vt.Ay),Yt=Wt(qt(300,.5,0),qt(-240,.5,1)),Gt=Wt(qt(-100,.75,.35),qt(80,1.5,.8)),Jt=Wt(qt(260,.75,.35),qt(80,1.5,.8)),Xt=qt();function $t(t){(t<0||t>1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return Xt.h=360*t-100,Xt.s=1.5-1.5*e,Xt.l=.8-.9*e,Xt+""}function Zt(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}var Qt=Zt(Mt("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),Kt=Zt(Mt("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),te=Zt(Mt("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),ee=Zt(Mt("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));function ne(t){var e=0,n=1,r=!1;function i(i){var a=(i-e)/(n-e);return t(r?Math.max(0,Math.min(1,a)):a)}return i.domain=function(t){return arguments.length?(e=+t[0],n=+t[1],i):[e,n]},i.clamp=function(t){return arguments.length?(r=!!t,i):r},i.interpolator=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return ne(t).domain([e,n]).clamp(r)},P(i)}},8116:function(t,e,n){!function(t,e,r){"use strict";function i(t){var e=void 0===t?"undefined":T(t);return null!=t&&("object"==e||"function"==e)}function a(t){var e=i(t)?L.call(t):"";return e==E||e==N||e==j}function o(t){return null!=t&&"object"==(void 0===t?"undefined":T(t))}function u(t){return"symbol"==(void 0===t?"undefined":T(t))||o(t)&&q.call(t)==H}function c(t){if("number"==typeof t)return t;if(u(t))return B;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(V,"");var n=W.test(t);return n||Y.test(t)?G(t.slice(2),n?2:8):z.test(t)?B:+t}function s(t,e,n){function r(e){var n=p,r=v;return p=v=void 0,w=e,y=t.apply(r,n)}function a(t){return w=t,m=setTimeout(s,e),x?r(t):y}function o(t){var n=e-(t-b);return A?$(n,g-(t-w)):n}function u(t){var n=t-b;return void 0===b||n>=e||0>n||A&&t-w>=g}function s(){var t=U();return u(t)?l(t):void(m=setTimeout(s,o(t)))}function l(t){return m=void 0,_&&p?r(t):(p=v=void 0,y)}function f(){void 0!==m&&clearTimeout(m),w=0,p=b=v=m=void 0}function h(){return void 0===m?y:l(U())}function d(){var t=U(),n=u(t);if(p=arguments,v=this,b=t,n){if(void 0===m)return a(b);if(A)return m=setTimeout(s,e),r(b)}return void 0===m&&(m=setTimeout(s,e)),y}var p,v,g,y,m,b,w=0,x=!1,A=!1,_=!0;if("function"!=typeof t)throw new TypeError(J);return e=c(e)||0,i(n)&&(x=!!n.leading,g=(A="maxWait"in n)?X(c(n.maxWait)||0,e):g,_="trailing"in n?!!n.trailing:_),d.cancel=f,d.flush=h,d}function l(t,e,n){var r=!0,a=!0;if("function"!=typeof t)throw new TypeError(Z);return i(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),s(t,e,{leading:r,maxWait:e,trailing:a})}function f(t){return null==t?"":String(t).replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function h(t){return null==t?"\\s":t.source?t.source:"["+f(t)+"]"}function d(t,e){if(null==t)return"";if(!e&&Q)return Q.call(t);var n=h(e),r=new RegExp("^"+n+"+|"+n+"+$","g");return String(t).replace(r,"")}function p(t){return d(t).replace(/([A-Z])/g,"-$1").replace(/[-_\s]+/g,"-").toLowerCase()}function v(t){t=t||{};for(var e=1;e<arguments.length;e++){var n=arguments[e];if(n)for(var r in n)if(n.hasOwnProperty(r)){var o=n[r];t[r]=!i(o)||Array.isArray(o)||a(o)?o:v(t[r],o)}}return t}function g(t){t=t||{};for(var e=1;e<arguments.length;e++)if(arguments[e])for(var n in arguments[e])arguments[e].hasOwnProperty(n)&&(t[n]=arguments[e][n]);return t}function y(t,e,n){return function(){var r=n.apply(e,arguments);return r===e?t:r}}function m(t,e){for(var n=1,r=arguments.length,i=void 0;++n<r;)t[i=arguments[n]]=y(t,e,e[i]);return t}function b(t){return a(t)?t:function(){return t}}function w(t){throw new Error("Missing parameter "+t)}function x(t){return null!=t}function A(t){return null==t}function _(t){return!(!t||1!==t.nodeType)}function M(t){if(A(t))return function(t,e){return Math.min(t,e)};var e=(""+t).trim().toLowerCase();if(e.indexOf("%")>-1){var n=function(){var t=+e.replace("%","")/100;return{v:function(e,n){return n*t}}}();if("object"===(void 0===n?"undefined":T(n)))return n.v}return function(){return+e.replace("px","")}}function k(t){function e(t,e){var n=arguments.length<=2||void 0===arguments[2]?"":arguments[2],r=e.split("."),i=void 0,a=void 0;r.length>1?(a=r[0].length>0?r[0]:c,i=r[1]):(a=c,i=r[0]);var o=""+n+i;if(s.hasOwnProperty(o))throw new Error("invalid or duplicate layer id: "+o);var u=p(i)+"-layer",l=t.append(a).classed(u,!0);return s[o]=l,l}function n(t,r){var a=arguments.length<=2||void 0===arguments[2]?"":arguments[2];if(Array.isArray(r))return r.map((function(e){return n(t,e,a)}));if(i(r)){var o=Object.keys(r),u=D(o,1)[0],c=e(t,u,a);return n(c,r[u],""+a+u+"/"),c}return e(t,r,a)}function r(e){return n(t,e)}function a(t){return Array.isArray(t)?t.map(r):r(t)}function o(t){return s[t]}function u(t){return!!s[t]}var c=arguments.length<=1||void 0===arguments[1]?"g":arguments[1],s={};return{create:a,get:o,has:u}}var T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},O=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},S=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),P=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},C=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},D=function(){function t(t,e){var n=[],r=!0,i=!1,a=void 0;try{for(var o,u=t[Symbol.iterator]();!(r=(o=u.next()).done)&&(n.push(o.value),!e||n.length!==e);r=!0);}catch(t){i=!0,a=t}finally{try{!r&&u.return&&u.return()}finally{if(i)throw a}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),E="[object Function]",N="[object GeneratorFunction]",j="[object Proxy]",L=Object.prototype.toString,R="object"==(void 0===n.g?"undefined":T(n.g))&&n.g&&n.g.Object===Object&&n.g,F="object"==("undefined"==typeof self?"undefined":T(self))&&self&&self.Object===Object&&self,I=R||F||Function("return this")(),U=function(){return I.Date.now()},H="[object Symbol]",q=Object.prototype.toString,B=NaN,V=/^\s+|\s+$/g,z=/^[-+]0x[0-9a-f]+$/i,W=/^0b[01]+$/i,Y=/^0o[0-7]+$/i,G=parseInt,J="Expected a function",X=Math.max,$=Math.min,Z="Expected a function",Q=String.prototype.trim,K=Object.freeze({isObject:i,isFunction:a,kebabCase:p,deepExtend:v,extend:g,rebind:m,functor:b,debounce:s,throttle:l}),tt=function(){function t(){O(this,t);for(var e=arguments.length,n=Array(e),r=0;e>r;r++)n[r]=arguments[r];if(1===n.length){var i=n[0],o=a(i)?i():i;if(o instanceof t)this.width=o.width,this.height=o.height;else if(_(o))this.width=o.clientWidth,this.height=o.clientHeight;else if(Array.isArray(o))this.width=o[0],this.height=o[1];else{if(!(x(o)&&x(o.width)&&x(o.height))){var u=new Error("Unsupported input. Must be either\n DOMNode, Array or Object with field width and height,\n or a function that returns any of the above.");throw u.value=i,u}this.width=o.width,this.height=o.height}}else{var c=n[0],s=n[1];this.width=c,this.height=s}}return S(t,[{key:"isEqual",value:function(e){if(e instanceof t)return this.width===e.width&&this.height===e.height;var n=new t(e);return this.width===n.width&&this.height===n.height}},{key:"toArray",value:function(){return[this.width,this.height]}},{key:"toObject",value:function(){return{width:this.width,height:this.height}}}]),t}(),et=function(){function t(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];O(this,t);var n=e||{},r=n.mode,i=void 0===r?t.MODE_BASIC:r,a=n.width,o=void 0===a?"100%":a,u=n.height,c=void 0===u?null:u,s=n.ratio,l=void 0===s?1:s,f=n.maxWidth,h=void 0===f?null:f,d=n.maxHeight,p=void 0===d?null:d;i===t.MODE_ASPECT_RATIO?(this.wFn=M(h),this.hFn=M(p),this.options={mode:i,ratio:l,maxWidth:h,maxHeight:p}):(this.wFn=M(o),this.hFn=M(c),this.options={mode:i,width:o,height:c})}return S(t,[{key:"fit",value:function(){var e=arguments.length<=0||void 0===arguments[0]?w("box"):arguments[0],n=arguments.length<=1||void 0===arguments[1]?w("container"):arguments[1],r=new tt(e),i=r.width,a=r.height,o=new tt(n),u=o.width,c=o.height,s=void 0;if(this.options.mode===t.MODE_ASPECT_RATIO){var l=this.options.ratio,f=this.wFn(u,u),h=this.hFn(c,c),d=Math.floor(l*h);s=f>=d?new tt(d,h):new tt(f,Math.floor(f/l))}else s=new tt(this.wFn(i,u),this.hFn(a,c));return{dimension:s,changed:!s.isEqual(r)}}}]),t}();et.MODE_BASIC="basic",et.MODE_ASPECT_RATIO="aspectRatio";var nt=function(){function t(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];O(this,t);var n=e||{},r=n.mode,i=void 0===r?t.MODE_WINDOW:r,a=n.target,o=void 0===a?null:a,u=n.interval,c=void 0===u?200:u;i!==t.MODE_POLLING||o||w("options.target"),this.mode=i,this.target=o,this.interval=c,this.check=this.check.bind(this),this.throttledCheck=l(this.check,this.interval),this.isWatching=!1,this.listeners={change:[]}}return S(t,[{key:"hasTargetChanged",value:function(){if(!this.target)return!0;var t=new tt(this.target);return!(this.currentDim&&t.isEqual(this.currentDim)||(this.currentDim=t,0))}},{key:"check",value:function(){return this.hasTargetChanged()&&this.dispatch("change",this.currentDim),this}},{key:"dispatch",value:function(t){for(var e=this,n=arguments.length,r=Array(n>1?n-1:0),i=1;n>i;i++)r[i-1]=arguments[i];return this.listeners[t].forEach((function(t){return t.apply(e,r)})),this}},{key:"on",value:function(t,e){return-1===this.listeners[t].indexOf(e)&&this.listeners[t].push(e),this}},{key:"off",value:function(t,e){return this.listeners[t]=this.listeners[t].filter((function(t){return t!==e})),this}},{key:"start",value:function(){return this.isWatching||(this.target&&(this.currentDim=new tt(this.target)),this.mode===t.MODE_WINDOW?window.addEventListener("resize",this.throttledCheck):this.mode===t.MODE_POLLING&&(this.intervalId=window.setInterval(this.check,this.interval)),this.isWatching=!0),this}},{key:"stop",value:function(){return this.isWatching&&(this.mode===t.MODE_WINDOW?window.removeEventListener("resize",this.throttledCheck):this.mode===t.MODE_POLLING&&this.intervalId&&(window.clearInterval(this.intervalId),this.intervalId=null),this.isWatching=!1),this}},{key:"destroy",value:function(){return this.stop(),this.listeners.change=[],this}}]),t}();nt.MODE_WINDOW="window",nt.MODE_POLLING="polling";var rt=function(t){function e(){var t=arguments.length<=0||void 0===arguments[0]?w("box"):arguments[0],n=arguments.length<=1||void 0===arguments[1]?w("container"):arguments[1],r=arguments[2],i=arguments[3];O(this,e);var a=C(this,Object.getPrototypeOf(e).call(this,i)),o=new et(r);return a.fit=function(){return o.fit(t,n)},a}return P(e,t),S(e,[{key:"check",value:function(){if(this.hasTargetChanged()){var t=this.fit(),e=t.changed,n=t.dimension;e&&this.dispatch("change",n)}return this}}]),e}(nt),it=function(){function t(){O(this,t);for(var e=arguments.length,n=Array(e),r=0;e>r;r++)n[r]=arguments[r];var i=v.apply(void 0,[this.constructor.getDefaultOptions()].concat(n));this._state={width:i.initialWidth,height:i.initialHeight,options:i},this._updateDimension=s(this._updateDimension.bind(this),1)}return S(t,null,[{key:"getDefaultOptions",value:function(){for(var t=arguments.length,e=Array(t),n=0;t>n;n++)e[n]=arguments[n];return v.apply(void 0,[{initialWidth:720,initialHeight:500,margin:{top:30,right:30,bottom:30,left:30},offset:[.5,.5],pixelRatio:window.devicePixelRatio||1}].concat(e))}}]),S(t,[{key:"copyDimension",value:function(t){if(t){var e=t._state,n=e.width,r=e.height,i=t._state.options,a=i.offset,o=i.margin,u=i.pixelRatio;v(this._state,{width:n,height:r,options:{offset:a.concat(),margin:o,pixelRatio:u}}),this._updateDimension()}return this}},{key:"width",value:function(){if(0===arguments.length)return this._state.width;var t=Math.floor(+(arguments.length<=0?void 0:arguments[0]));return t!==this._state.width&&(this._state.width=t,this._updateDimension()),this}},{key:"height",value:function(){if(0===arguments.length)return this._state.height;var t=Math.floor(+(arguments.length<=0?void 0:arguments[0]));return t!==this._state.height&&(this._state.height=t,this._updateDimension()),this}},{key:"dimension",value:function(){if(0===arguments.length)return[this._state.width,this._state.height];var t=D(arguments.length<=0?void 0:arguments[0],2),e=t[0],n=t[1];return this.width(e).height(n),this}},{key:"margin",value:function(){if(0===arguments.length)return this._state.options.margin;var t=this._state.options.margin,e=g({},this._state.options.margin,arguments.length<=0?void 0:arguments[0]);return Object.keys(e).some((function(n){return t[n]!==e[n]}))&&(this._state.options.margin=e,this._updateDimension()),this}},{key:"offset",value:function(){if(0===arguments.length)return this._state.options.offset;var t=arguments.length<=0?void 0:arguments[0],e=D(this._state.options.offset,2),n=e[0],r=e[1],i=D(t,2),a=i[0],o=i[1];return(n!==a||r!==o)&&(this._state.options.offset=t,this._updateDimension()),this}},{key:"pixelRatio",value:function(){if(0===arguments.length)return this._state.options.pixelRatio;var t=+(arguments.length<=0?void 0:arguments[0]);return t!==this._state.options.pixelRatio&&(this._state.options.pixelRatio=t,this._updateDimension()),this}},{key:"_updateDimension",value:function(){return this}},{key:"updateDimensionNow",value:function(){return this._updateDimension(),this._updateDimension.flush(),this}}]),t}(),at=function(t){function n(t){var r;O(this,n);for(var i=arguments.length,a=Array(i>1?i-1:0),o=1;i>o;o++)a[o-1]=arguments[o];var u=C(this,(r=Object.getPrototypeOf(n)).call.apply(r,[this].concat(a)));g(u._state,{innerWidth:0,innerHeight:0,fitOptions:null,data:null,plates:[]}),u.container=e.select(t),u.container.style("line-height",0),u.chartRoot=u.container.append("div").classed("d3kit-chart-root",!0).style("display","inline-block").style("position","relative").style("line-height",0),u.plates={};var c=u.constructor.getCustomEventNames();return u.setupDispatcher(c),u._dispatchData=s(u._dispatchData.bind(u),1),u._dispatchOptions=s(u._dispatchOptions.bind(u),1),u}return P(n,t),S(n,null,[{key:"getCustomEventNames",value:function(){return[]}}]),S(n,[{key:"addPlate",value:function(t,e,n){if(this.plates[t])throw new Error("Plate with this name already exists",t);return this._state.plates.push(e),this.plates[t]=e,n?e:(e.getSelection().classed("d3kit-plate",!0).style("position","absolute").style("top",0).style("left",0),this.chartRoot.append((function(){return e.getNode()})),this)}},{key:"removePlate",value:function(t){var e=this.plates[t];if(e){var n=this._state.plates.indexOf(e);n>-1&&this._state.plates.splice(n,1),e.getNode().parentNode===this.chartRoot.node()&&this.chartRoot.node().removeChild(e.getNode()),delete this.plates[t]}return this}},{key:"setupDispatcher",value:function(){var t=arguments.length<=0||void 0===arguments[0]?[]:arguments[0];return this._customEventNames=t,this._eventNames=n.DEFAULT_EVENTS.concat(t),this.dispatcher=r.dispatch.apply(this,this._eventNames),this}},{key:"getCustomEventNames",value:function(){return this._customEventNames}},{key:"getInnerWidth",value:function(){return this._state.innerWidth}},{key:"getInnerHeight",value:function(){return this._state.innerHeight}},{key:"data",value:function(){for(var t=arguments.length,e=Array(t),n=0;t>n;n++)e[n]=arguments[n];if(0===e.length)return this._state.data;var r=e[0];return this._state.data=r,this._dispatchData(),this}},{key:"options",value:function(){for(var t=arguments.length,e=Array(t),n=0;t>n;n++)e[n]=arguments[n];if(0===e.length)return this._state.options;var r=e[0],i=g({},r);return r.margin&&(this.margin(r.margin),delete i.margin),r.offset&&(this.offset(r.offset),delete i.offset),r.pixelRatio&&(this.pixelRatio(r.pixelRatio),delete i.pixelRatio),this._state.options=v(this._state.options,i),this._dispatchOptions(),this}},{key:"_updateDimension",value:function(){var t=this,e=this._state,n=e.width,r=e.height,i=e.plates,a=this._state.options.margin,o=a.top,u=a.right,c=a.bottom,s=a.left;this._state.innerWidth=n-s-u,this._state.innerHeight=r-o-c,this.chartRoot.style("width",n+"px").style("height",r+"px"),i.forEach((function(e){e.copyDimension(t).updateDimensionNow()}));var l=this._state,f=l.innerWidth,h=l.innerHeight;return this.dispatcher.apply("resize",this,[n,r,f,h]),this}},{key:"hasData",value:function(){var t=this._state.data;return null!=t}},{key:"hasNonZeroArea",value:function(){var t=this._state,e=t.innerWidth,n=t.innerHeight;return e>0&&n>0}},{key:"fit",value:function(t){var e=this,n=!(arguments.length<=1||void 0===arguments[1])&&arguments[1];t&&(this._state.fitOptions=t);var r=new et(this._state.fitOptions).fit(this.dimension(),this.container.node()),a=r.changed,o=r.dimension;return a&&this.dimension([o.width,o.height]),!!n&&(this.fitWatcher&&this.fitWatcher.destroy(),this.fitWatcher=new rt((function(){return e.dimension()}),this.container.node(),this._state.fitOptions,i(n)?n:null).on("change",(function(t){return e.dimension([t.width,t.height])})).start()),this}},{key:"stopFitWatcher",value:function(){return this.fitWatcher&&(this.fitWatcher.destroy(),this.fitWatcher=null),this}},{key:"_dispatchData",value:function(){return this.dispatcher.call("data",this,this._state.data),this}},{key:"_dispatchOptions",value:function(){return this.dispatcher.call("options",this,this._state.options),this}},{key:"on",value:function(t,e){return this.dispatcher.on(t,e),this}},{key:"off",value:function(t){return this.dispatcher.on(t,null),this}},{key:"dispatchAs",value:function(t){var e=this;return function(){for(var n=arguments.length,r=Array(n),i=0;n>i;i++)r[i]=arguments[i];e.dispatcher.apply(t,e,r)}}},{key:"destroy",value:function(){var t=this;return this._eventNames.forEach((function(e){t.off(e)})),this.stopFitWatcher(),this}}]),n}(it);at.DEFAULT_EVENTS=["data","options","resize"];var ot=function(t){function n(t){var r;O(this,n);for(var i=arguments.length,a=Array(i>1?i-1:0),o=1;i>o;o++)a[o-1]=arguments[o];var u=C(this,(r=Object.getPrototypeOf(n)).call.apply(r,[this].concat(a)));return u.node=t,u.selection=e.select(u.node),u}return P(n,t),S(n,[{key:"getNode",value:function(){return this.node}},{key:"getSelection",value:function(){return this.selection}}]),n}(it),ut=function(t){function e(){var t;O(this,e);for(var n=arguments.length,r=Array(n),i=0;n>i;i++)r[i]=arguments[i];return C(this,(t=Object.getPrototypeOf(e)).call.apply(t,[this,document.createElement("canvas")].concat(r)))}return P(e,t),S(e,[{key:"getContext2d",value:function(){var t=(this.width(),this.height(),this.pixelRatio()),e=this.margin(),n=e.top,r=e.left,i=this.offset(),a=D(i,2),o=a[0],u=a[1],c=this.node.getContext("2d");return c.setTransform(1,0,0,1,0,0),c.scale(t,t),c.translate(r+o,n+u),c}},{key:"clear",value:function(){var t=this.width(),e=this.height(),n=this.pixelRatio(),r=this.node.getContext("2d");return r.setTransform(1,0,0,1,0,0),r.scale(n,n),r.clearRect(0,0,t,e),this}},{key:"_updateDimension",value:function(){var t=this.width(),e=this.height(),n=this.pixelRatio();return this.node.setAttribute("width",t*n),this.node.setAttribute("height",e*n),this.node.style.width=t+"px",this.node.style.height=e+"px",this}}]),e}(ot),ct=function(t){function e(t){var n;O(this,e);for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;r>a;a++)i[a-1]=arguments[a];var o=C(this,(n=Object.getPrototypeOf(e)).call.apply(n,[this,t].concat(i)));return o.addPlate("canvas",new ut),o.canvas=o.plates.canvas.getSelection(),o.updateDimensionNow(),o}return P(e,t),S(e,[{key:"getContext2d",value:function(){return this.plates.canvas.getContext2d()}},{key:"clear",value:function(){return this.plates.canvas.clear(),this}}]),e}(at),st=function(t){function e(){var t;O(this,e);for(var n=arguments.length,r=Array(n),i=0;n>i;i++)r[i]=arguments[i];var a=C(this,(t=Object.getPrototypeOf(e)).call.apply(t,[this,document.createElementNS("http://www.w3.org/2000/svg","svg")].concat(r)));return a.rootG=a.selection.append("g"),a.layers=new k(a.rootG),a}return P(e,t),S(e,[{key:"_updateDimension",value:function(){var t=this.width(),e=this.height(),n=this.margin(),r=n.top,i=n.left,a=this.offset(),o=D(a,2),u=o[0],c=o[1];return this.selection.attr("width",t).attr("height",e),this.rootG.attr("transform","translate("+(i+u)+","+(r+c)+")"),this}}]),e}(ot),lt=function(t){function e(t){var n;O(this,e);for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;r>a;a++)i[a-1]=arguments[a];var o=C(this,(n=Object.getPrototypeOf(e)).call.apply(n,[this,t].concat(i)));o.addPlate("svg",new st);var u=o.plates.svg;return o.svg=u.getSelection(),o.rootG=u.rootG,o.layers=u.layers,o.updateDimensionNow(),o}return P(e,t),e}(ct),ft=function(t){function e(t){var n;O(this,e);for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;r>a;a++)i[a-1]=arguments[a];var o=C(this,(n=Object.getPrototypeOf(e)).call.apply(n,[this,t].concat(i)));o.addPlate("svg",new st);var u=o.plates.svg;return o.svg=u.getSelection(),o.rootG=u.rootG,o.layers=u.layers,o.updateDimensionNow(),o}return P(e,t),e}(at),ht=function(t){function e(){var t;O(this,e);for(var n=arguments.length,r=Array(n),i=0;n>i;i++)r[i]=arguments[i];return C(this,(t=Object.getPrototypeOf(e)).call.apply(t,[this,document.createElement("div")].concat(r)))}return P(e,t),S(e,[{key:"_updateDimension",value:function(){var t=this.width(),e=this.height(),n=this.margin();return this.node.style.width=t-n.left-n.right+"px",this.node.style.height=e-n.top-n.bottom+"px",this.node.style.marginLeft=n.left+"px",this.node.style.marginRight=n.right+"px",this.node.style.marginTop=n.top+"px",this.node.style.marginBottom=n.bottom+"px",this}}]),e}(ot);t.helper=K,t.AbstractChart=at,t.CanvasChart=ct,t.HybridChart=lt,t.SvgChart=ft,t.AbstractPlate=ot,t.CanvasPlate=ut,t.DivPlate=ht,t.SvgPlate=st,t.LayerOrganizer=k,Object.defineProperty(t,"__esModule",{value:!0})}(e,n(2539),n(2260))},8100:function(t){t.exports=function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return t[r].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";t.exports={Node:n(1),Force:n(2),Distributor:n(3),Renderer:n(10)}},function(t,e){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function(){function t(e,r,i){n(this,t),this.idealPos=e,this.currentPos=e,this.width=r,this.data=i,this.layerIndex=0}return r(t,[{key:"distanceFrom",value:function(t){var e=this.width/2,n=t.width/2;return Math.max(this.currentPos-e,t.currentPos-n)-Math.min(this.currentPos+e,t.currentPos+n)}},{key:"moveToIdealPosition",value:function(){return this.currentPos=this.idealPos,this}},{key:"displacement",value:function(){return this.idealPos-this.currentPos}},{key:"overlapWithNode",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this.distanceFrom(t)-e<0}},{key:"overlapWithPoint",value:function(t){var e=this.width/2;return t>=this.currentPos-e&&t<=this.currentPos+e}},{key:"positionBefore",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.currentLeft()-this.width/2-e}},{key:"positionAfter",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.currentRight()+this.width/2+e}},{key:"currentRight",value:function(){return this.currentPos+this.width/2}},{key:"currentLeft",value:function(){return this.currentPos-this.width/2}},{key:"idealRight",value:function(){return this.idealPos+this.width/2}},{key:"idealLeft",value:function(){return this.idealPos-this.width/2}},{key:"createStub",value:function(e){var n=new t(this.idealPos,e,this.data);return n.currentPos=this.currentPos,n.child=this,this.parent=n,n}},{key:"removeStub",value:function(){return this.parent&&(this.parent.child=null,this.parent=null),this}},{key:"isStub",value:function(){return!!this.child}},{key:"getPathToRoot",value:function(){for(var t=[],e=this;e;)t.push(e),e=e.parent;return t}},{key:"getPathFromRoot",value:function(){return this.getPathToRoot().reverse()}},{key:"getPathToRootLength",value:function(){for(var t=0,e=this;e;){var n=e.parent?e.parent.currentPos:e.idealPos;t+=Math.abs(e.currentPos-n),e=e.parent}return t}},{key:"getRoot",value:function(){for(var t=this,e=this;e;)t=e,e=e.parent;return t}},{key:"getLayerIndex",value:function(){return this.layerIndex}},{key:"clone",value:function(){var e=new t(this.idealPos,this.width,this.data);return e.currentPos=this.currentPos,e.layerIndex=this.layerIndex,e}}]),t}();t.exports=i},function(t,e,n){"use strict";var r=n(3),i=n(4),a=n(8),o={nodeSpacing:3,minPos:0,maxPos:null,algorithm:"overlap",removeOverlap:!0,density:.85,stubWidth:1},u=function(t){var e={},n=i.extend({},o),u=new r,c=[],s=null;return e.nodes=function(t){return arguments.length?(c=t,s=[t.concat()],e):c},e.getLayers=function(){return s},e.options=function(t){if(!arguments.length)return n;n=i.extend(n,t);var a=i.pick(n,Object.keys(r.DEFAULT_OPTIONS));return i.isDefined(n.minPos)&&i.isDefined(n.maxPos)?a.layerWidth=n.maxPos-n.minPos:a.layerWidth=null,u.options(a),e},e.options(t),e.compute=function(){var t=i.pick(n,Object.keys(a.DEFAULT_OPTIONS));return c.forEach((function(t){t.removeStub()})),(s=u.distribute(c)).map((function(e,r){e.forEach((function(t){t.layerIndex=r})),n.removeOverlap&&a(e,t)})),e},e.start=function(){console.log("[warning] force.start() is deprecated. Please use force.compute() instead.")},e};u.DEFAULT_OPTIONS=o,t.exports=u},function(t,e,n){"use strict";var r=n(4),i=n(6),a={algorithm:"overlap",layerWidth:1e3,density:.75,nodeSpacing:3,stubWidth:1},o=function(t){var e={};t=r.extend({},a,t),e.options=function(n){return arguments.length?(t=r.extend(t,n),e):t},e.computeRequiredWidth=function(e){return r.sum(e,(function(e){return e.width+t.nodeSpacing}))-t.nodeSpacing},e.maxWidthPerLayer=function(){return t.density*t.layerWidth},e.needToSplit=function(t){return e.estimateRequiredLayers(t)>1},e.estimateRequiredLayers=function(n){return t.layerWidth?Math.ceil(e.computeRequiredWidth(n)/e.maxWidthPerLayer()):1};var n={simple:function(n){for(var r=e.estimateRequiredLayers(n),i=[],a=0;a<r;a++)i.push([]);return n.forEach((function(e,n){var a=n%r;i[a].push(e);for(var o=e,u=a-1;u>=0;u--)o=o.createStub(t.stubWidth),i[u].push(o)})),i},roundRobin:function(t){return[]},overlap:function(n){for(var r=[],i=e.maxWidthPerLayer(),a=n.concat(),o=e.computeRequiredWidth(a);o>i;){e.countIdealOverlaps(a);var u=a.concat(),c=o;for(a=[];u.length>2&&c>i;){u.sort((function(t,e){return e.overlapCount-t.overlapCount}));var s=u.shift();c-=s.width,c+=t.stubWidth,s.overlaps.forEach((function(t){t.overlapCount--})),a.push(s)}r.push(u),o=e.computeRequiredWidth(a)}a.length>0&&r.push(a);for(var l=r.length-1;l>=1;l--)for(var f=r[l],h=0;h<f.length;h++){var d=f[h];if(!d.isStub())for(var p=d,v=l-1;v>=0;v--)p=p.createStub(t.stubWidth),r[v].push(p)}return r}};return e.countIdealOverlaps=function(e){var n=new i(t.layerWidth/2);return e.forEach((function(t){n.add([t.idealLeft(),t.idealRight(),t])})),e.forEach((function(t){var e=n.search(t.idealLeft(),t.idealRight());t.overlaps=e.map((function(t){return t.data[2]})),t.overlapCount=e.length})),e},e.distribute=function(i){if(!i||0===i.length)return[];if("none"==t.algorithm||!r.isDefined(t.algorithm))return[i];if(!e.needToSplit(i))return[i];var a=i.concat().sort((function(t,e){return t.idealPos-e.idealPos}));if("function"==typeof t.algorithm)return t.algorithm(a,t);if(n.hasOwnProperty(t.algorithm))return n[t.algorithm](a);throw"Unknown algorithm: "+t.algorithm},e};o.DEFAULT_OPTIONS=a,t.exports=o},function(t,e,n){"use strict";var r={isDefined:function(t){return null!=t},last:function(t){return t.length>0?t[t.length-1]:null},pick:function(t,e){return e.reduce((function(e,n){return e[n]=t[n],e}),{})},sum:function(t,e){return t.map(e).reduce((function(t,e){return t+e}),0)}};r.extend=n(5),t.exports=r},function(t,e){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=function(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===i.call(t)},o=function(t){if(!t||"[object Object]"!==i.call(t))return!1;var e,n=r.call(t,"constructor"),a=t.constructor&&t.constructor.prototype&&r.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!a)return!1;for(e in t);return void 0===e||r.call(t,e)};t.exports=function t(){var e,r,i,u,c,s,l=arguments[0],f=1,h=arguments.length,d=!1;for("boolean"==typeof l?(d=l,l=arguments[1]||{},f=2):("object"!==(void 0===l?"undefined":n(l))&&"function"!=typeof l||null==l)&&(l={});f<h;++f)if(null!=(e=arguments[f]))for(r in e)i=l[r],l!==(u=e[r])&&(d&&u&&(o(u)||(c=a(u)))?(c?(c=!1,s=i&&a(i)?i:[]):s=i&&o(i)?i:{},l[r]=t(d,s,u)):void 0!==u&&(l[r]=u));return l}},function(t,e,n){"use strict";function r(t,e){if(e||(e={}),this.startKey=e.startKey||0,this.endKey=e.endKey||1,this.intervalHash={},this.pointTree=new s({compare:function(t,e){if(null==t)return-1;if(null==e)return 1;var n=t[0]-e[0];return n>0?1:0==n?0:-1}}),this._autoIncrement=0,!t||"number"!=typeof t)throw new Error("you must specify center index as the 2nd argument.");this.root=new u(t,this)}function i(t,e){return e.end<t.idx?(t.left||(t.left=new u(e.start+e.end>>1,this)),i.call(this,t.left,e)):t.idx<e.start?(t.right||(t.right=new u(e.start+e.end>>1,this)),i.call(this,t.right,e)):t.insert(e)}function a(t,e,n){if(t)return e<t.idx?(t.starts.every((function(t){var r=t.start<=e;return r&&n.push(t.result()),r})),a.call(this,t.left,e,n)):e>t.idx?(t.ends.every((function(t){var r=t.end>=e;return r&&n.push(t.result()),r})),a.call(this,t.right,e,n)):void t.starts.map((function(t){n.push(t.result())}))}function o(t,e,n){if(e-t<=0)throw new Error("end must be greater than start. start: "+t+", end: "+e);var r={},i=[];a.call(this,this.root,t+e>>1,i,!0),i.forEach((function(t){r[t.id]=!0}));for(var o=this.pointTree.bsearch([t,null]),u=this.pointTree;o>=0&&u[o][0]==t;)o--;var c=this.pointTree.bsearch([e,null]);if(c>=0){for(var s=u.length-1;c<=s&&u[c][0]<=e;)c++;u.slice(o+1,c).forEach((function(t){var e=t[1];r[e]=!0}),this),Object.keys(r).forEach((function(r){var i=this.intervalHash[r];n.push(i.result(t,e))}),this)}}function u(t){this.idx=t,this.starts=new s({compare:function(t,e){if(null==t)return-1;if(null==e)return 1;var n=t.start-e.start;return n>0?1:0==n?0:-1}}),this.ends=new s({compare:function(t,e){if(null==t)return-1;if(null==e)return 1;var n=t.end-e.end;return n<0?1:0==n?0:-1}})}function c(t,e,n,r){if(this.id=e,this.start=t[n],this.end=t[r],this.data=t,"number"!=typeof this.start||"number"!=typeof this.end)throw new Error("start, end must be number. start: "+this.start+", end: "+this.end);if(this.start>=this.end)throw new Error("start must be smaller than end. start: "+this.start+", end: "+this.end)}var s=n(7);r.prototype.add=function(t,e){if(this.intervalHash[e])throw new Error("id "+e+" is already registered.");if(null==e){for(;this.intervalHash[this._autoIncrement];)this._autoIncrement++;e=this._autoIncrement}var n=new c(t,e,this.startKey,this.endKey);this.pointTree.insert([n.start,e]),this.pointTree.insert([n.end,e]),this.intervalHash[e]=n,this._autoIncrement++,i.call(this,this.root,n)},r.prototype.search=function(t,e){var n=[];if("number"!=typeof t)throw new Error(t+": invalid input");if(null==e)a.call(this,this.root,t,n);else{if("number"!=typeof e)throw new Error(t+","+e+": invalid input");o.call(this,t,e,n)}return n},r.prototype.remove=function(t){},u.prototype.insert=function(t){this.starts.insert(t),this.ends.insert(t)},c.prototype.result=function(t,e){var n={id:this.id,data:this.data};if("number"==typeof t&&"number"==typeof e){var r=Math.max(this.start,t),i=Math.min(this.end,e)-r;n.rate1=i/(e-t),n.rate2=i/(this.end-this.start)}return n},t.exports=r},function(t,e){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function t(){var e=null,r={},i=arguments;["0","1"].forEach((function(t){var a=i[t];Array.isArray(a)?e=a:a&&"object"==(void 0===a?"undefined":n(a))&&(r=a)})),"function"==typeof r.filter&&(this._filter=r.filter),"function"==typeof r.compare?this._compare=r.compare:"string"==typeof r.compare&&t.compares[r.compare]&&(this._compare=t.compares[r.compare]),this._unique=!!r.unique,r.resume&&e?e.forEach((function(t,e){this.push(t)}),this):e&&this.insert.apply(this,e)};r.create=function(t,e){return new r(t,e)},r.prototype=new Array,r.prototype.constructor=Array.prototype.constructor,r.prototype.insertOne=function(t){var e=this.bsearch(t);return(!this._unique||null==this.key(t,e))&&!!this._filter(t,e)&&(this.splice(e+1,0,t),e+1)},r.prototype.insert=function(){return Array.prototype.map.call(arguments,(function(t){return this.insertOne(t)}),this)},r.prototype.remove=function(t){return this.splice(t,1),this},r.prototype.bsearch=function(t){if(!this.length)return-1;for(var e,n=0,r=this.length;r-n>1;){var i=this[e=Math.floor((n+r)/2)],a=this._compare(t,i);if(0==a)return e;a>0?n=e:r=e}return 0==n&&this._compare(this[0],t)>0?-1:n},r.prototype.key=function(t,e){null==e&&(e=this.bsearch(t));var n=e;if(-1==n||this._compare(this[n],t)<0)return n+1<this.length&&0==this._compare(this[n+1],t)?n+1:null;for(;n>=1&&0==this._compare(this[n-1],t);)n--;return n},r.prototype.keys=function(t,e){var n=[];null==e&&(e=this.bsearch(t));for(var r=e;r>=0&&0==this._compare(this[r],t);)n.push(r),r--;var i=this.length;for(r=e+1;r<i&&0==this._compare(this[r],t);)n.push(r),r++;return n.length?n:null},r.prototype.unique=function(t){if(t)return this.filter((function(t,e){return 0==e||0!=this._compare(this[e-1],t)}),this);var e=0;return this.map((function(t,n){return 0==n||0!=this._compare(this[n-1],t)?null:n-e++}),this).forEach((function(t){null!=t&&this.remove(t)}),this),this},r.prototype.toArray=function(){return this.slice()},r.prototype._filter=function(t,e){return!0},r.compares={number:function(t,e){var n=t-e;return n>0?1:0==n?0:-1},string:function(t,e){return t>e?1:t==e?0:-1}},r.prototype._compare=r.compares.string,t.exports=r},function(t,e,n){"use strict";function r(t){var e=new o.Variable(t.targetPos);return e.node=t,e}function i(t,e){if(t.length>0){e=a.extend(u,e),t.forEach((function(t,e){t.targetPos=t.parent?t.parent.currentPos:t.idealPos,t.index=e}));for(var n=t.concat().sort((function(t,e){var n=t.targetPos-e.targetPos;if(0!==n)return n;var r=t.isStub()-e.isStub();return 0!==r?r:t.index-e.index})).map(r),i=[],c=1;c<n.length;c++){var s=n[c-1],l=n[c],f=void 0;f=s.node.isStub()&&l.node.isStub()?(s.node.width+l.node.width)/2+e.lineSpacing:(s.node.width+l.node.width)/2+e.nodeSpacing,i.push(new o.Constraint(s,l,f))}if(a.isDefined(e.minPos)){var h=new o.Variable(e.minPos,1e10),d=n[0];i.push(new o.Constraint(h,d,d.node.width/2)),n.unshift(h)}if(a.isDefined(e.maxPos)){var p=new o.Variable(e.maxPos,1e10),v=a.last(n);i.push(new o.Constraint(v,p,v.node.width/2)),n.push(p)}new o.Solver(n,i).solve(),n.filter((function(t){return t.node})).map((function(t){return t.node.currentPos=Math.round(t.position()),t}))}return t}var a=n(4),o=n(9),u={lineSpacing:2,nodeSpacing:3,minPos:0,maxPos:null};i.DEFAULT_OPTIONS=u,t.exports=i},function(t,e){"use strict";var n={},r=function(){function t(t){this.scale=t,this.AB=0,this.AD=0,this.A2=0}return t.prototype.addVariable=function(t){var e=this.scale/t.scale,n=t.offset/t.scale,r=t.weight;this.AB+=r*e*n,this.AD+=r*e*t.desiredPosition,this.A2+=r*e*e},t.prototype.getPosn=function(){return(this.AD-this.AB)/this.A2},t}();n.PositionStats=r;var i=function(){function t(t,e,n,r){void 0===r&&(r=!1),this.left=t,this.right=e,this.gap=n,this.equality=r,this.active=!1,this.unsatisfiable=!1,this.left=t,this.right=e,this.gap=n,this.equality=r}return t.prototype.slack=function(){return this.unsatisfiable?Number.MAX_VALUE:this.right.scale*this.right.position()-this.gap-this.left.scale*this.left.position()},t}();n.Constraint=i;var a=function(){function t(t,e,n){void 0===e&&(e=1),void 0===n&&(n=1),this.desiredPosition=t,this.weight=e,this.scale=n,this.offset=0}return t.prototype.dfdv=function(){return 2*this.weight*(this.position()-this.desiredPosition)},t.prototype.position=function(){return(this.block.ps.scale*this.block.posn+this.offset)/this.scale},t.prototype.visitNeighbours=function(t,e){var n=function(n,r){return n.active&&t!==r&&e(n,r)};this.cOut.forEach((function(t){return n(t,t.right)})),this.cIn.forEach((function(t){return n(t,t.left)}))},t}();n.Variable=a;var o=function(){function t(t){this.vars=[],t.offset=0,this.ps=new r(t.scale),this.addVariable(t)}return t.prototype.addVariable=function(t){t.block=this,this.vars.push(t),this.ps.addVariable(t),this.posn=this.ps.getPosn()},t.prototype.updateWeightedPosition=function(){this.ps.AB=this.ps.AD=this.ps.A2=0;for(var t=0,e=this.vars.length;t<e;++t)this.ps.addVariable(this.vars[t]);this.posn=this.ps.getPosn()},t.prototype.compute_lm=function(t,e,n){var r=this,i=t.dfdv();return t.visitNeighbours(e,(function(e,a){var o=r.compute_lm(a,t,n);a===e.right?(i+=o*e.left.scale,e.lm=o):(i+=o*e.right.scale,e.lm=-o),n(e)})),i/t.scale},t.prototype.populateSplitBlock=function(t,e){var n=this;t.visitNeighbours(e,(function(e,r){r.offset=t.offset+(r===e.right?e.gap:-e.gap),n.addVariable(r),n.populateSplitBlock(r,t)}))},t.prototype.traverse=function(t,e,n,r){var i=this;void 0===n&&(n=this.vars[0]),void 0===r&&(r=null),n.visitNeighbours(r,(function(r,a){e.push(t(r)),i.traverse(t,e,a,n)}))},t.prototype.findMinLM=function(){var t=null;return this.compute_lm(this.vars[0],null,(function(e){!e.equality&&(null===t||e.lm<t.lm)&&(t=e)})),t},t.prototype.findMinLMBetween=function(t,e){this.compute_lm(t,null,(function(){}));var n=null;return this.findPath(t,null,e,(function(t,e){!t.equality&&t.right===e&&(null===n||t.lm<n.lm)&&(n=t)})),n},t.prototype.findPath=function(t,e,n,r){var i=this,a=!1;return t.visitNeighbours(e,(function(e,o){a||o!==n&&!i.findPath(o,t,n,r)||(a=!0,r(e,o))})),a},t.prototype.isActiveDirectedPathBetween=function(t,e){if(t===e)return!0;for(var n=t.cOut.length;n--;){var r=t.cOut[n];if(r.active&&this.isActiveDirectedPathBetween(r.right,e))return!0}return!1},t.split=function(e){return e.active=!1,[t.createSplitBlock(e.left),t.createSplitBlock(e.right)]},t.createSplitBlock=function(e){var n=new t(e);return n.populateSplitBlock(e,null),n},t.prototype.splitBetween=function(e,n){var r=this.findMinLMBetween(e,n);if(null!==r){var i=t.split(r);return{constraint:r,lb:i[0],rb:i[1]}}return null},t.prototype.mergeAcross=function(t,e,n){e.active=!0;for(var r=0,i=t.vars.length;r<i;++r){var a=t.vars[r];a.offset+=n,this.addVariable(a)}this.posn=this.ps.getPosn()},t.prototype.cost=function(){for(var t=0,e=this.vars.length;e--;){var n=this.vars[e],r=n.position()-n.desiredPosition;t+=r*r*n.weight}return t},t}();n.Block=o;var u=function(){function t(t){this.vs=t;var e=t.length;for(this.list=new Array(e);e--;){var n=new o(t[e]);this.list[e]=n,n.blockInd=e}}return t.prototype.cost=function(){for(var t=0,e=this.list.length;e--;)t+=this.list[e].cost();return t},t.prototype.insert=function(t){t.blockInd=this.list.length,this.list.push(t)},t.prototype.remove=function(t){var e=this.list.length-1,n=this.list[e];this.list.length=e,t!==n&&(this.list[t.blockInd]=n,n.blockInd=t.blockInd)},t.prototype.merge=function(t){var e=t.left.block,n=t.right.block,r=t.right.offset-t.left.offset-t.gap;e.vars.length<n.vars.length?(n.mergeAcross(e,t,r),this.remove(e)):(e.mergeAcross(n,t,-r),this.remove(n))},t.prototype.forEach=function(t){this.list.forEach(t)},t.prototype.updateBlockPositions=function(){this.list.forEach((function(t){return t.updateWeightedPosition()}))},t.prototype.split=function(t){var e=this;this.updateBlockPositions(),this.list.forEach((function(n){var r=n.findMinLM();null!==r&&r.lm<c.LAGRANGIAN_TOLERANCE&&(n=r.left.block,o.split(r).forEach((function(t){return e.insert(t)})),e.remove(n),t.push(r))}))},t}();n.Blocks=u;var c=function(){function t(t,e){this.vs=t,this.cs=e,this.vs=t,t.forEach((function(t){t.cIn=[],t.cOut=[]})),this.cs=e,e.forEach((function(t){t.left.cOut.push(t),t.right.cIn.push(t)})),this.inactive=e.map((function(t){return t.active=!1,t})),this.bs=null}return t.prototype.cost=function(){return this.bs.cost()},t.prototype.setStartingPositions=function(t){this.inactive=this.cs.map((function(t){return t.active=!1,t})),this.bs=new u(this.vs),this.bs.forEach((function(e,n){return e.posn=t[n]}))},t.prototype.setDesiredPositions=function(t){this.vs.forEach((function(e,n){return e.desiredPosition=t[n]}))},t.prototype.mostViolated=function(){for(var e=Number.MAX_VALUE,n=null,r=this.inactive,i=r.length,a=i,o=0;o<i;++o){var u=r[o];if(!u.unsatisfiable){var c=u.slack();if((u.equality||c<e)&&(e=c,n=u,a=o,u.equality))break}}return a!==i&&(e<t.ZERO_UPPERBOUND&&!n.active||n.equality)&&(r[a]=r[i-1],r.length=i-1),n},t.prototype.satisfy=function(){null==this.bs&&(this.bs=new u(this.vs)),this.bs.split(this.inactive);for(var e=null;(e=this.mostViolated())&&(e.equality||e.slack()<t.ZERO_UPPERBOUND&&!e.active);){var n=e.left.block;if(n!==e.right.block)this.bs.merge(e);else{if(n.isActiveDirectedPathBetween(e.right,e.left)){e.unsatisfiable=!0;continue}var r=n.splitBetween(e.left,e.right);if(null===r){e.unsatisfiable=!0;continue}this.bs.insert(r.lb),this.bs.insert(r.rb),this.bs.remove(n),this.inactive.push(r.constraint),e.slack()>=0?this.inactive.push(e):this.bs.merge(e)}}},t.prototype.solve=function(){this.satisfy();for(var t=Number.MAX_VALUE,e=this.bs.cost();Math.abs(t-e)>1e-4;)this.satisfy(),t=e,e=this.bs.cost();return e},t.LAGRANGIAN_TOLERANCE=-1e-4,t.ZERO_UPPERBOUND=-1e-10,t}();n.Solver=c,t.exports=n},function(t,e,n){"use strict";function r(t){this.options=s.extend({layerGap:60,nodeHeight:10,direction:"down"},t)}function i(t){return"L "+t.join(" ")}function a(t){return"M "+t.join(" ")}function o(t,e,n){return"C "+t.join(" ")+" "+e.join(" ")+" "+n.join(" ")}function u(t,e){var n=(t[1]+e[1])/2;return o([t[0],n],[e[0],n],e)}function c(t,e){var n=(t[0]+e[0])/2;return o([n,t[1]],[n,e[1]],e)}var s=n(4);r.lineTo=i,r.moveTo=a,r.curveTo=o,r.vCurveBetween=u,r.hCurveBetween=c,r.prototype.getWaypoints=function(t){var e=this.options,n=e.direction,r=t.getPathFromRoot(),i=e.nodeHeight+e.layerGap;return"left"===n?[[[0,r[0].idealPos]]].concat(r.map((function(t,n){var r=i*(n+1)*-1;return[[r+e.nodeHeight,t.currentPos],[r,t.currentPos]]}))):"right"===n?[[[0,r[0].idealPos]]].concat(r.map((function(t,n){var r=i*(n+1);return[[r-e.nodeHeight,t.currentPos],[r,t.currentPos]]}))):"up"===n?[[[r[0].idealPos,0]]].concat(r.map((function(t,n){var r=i*(n+1)*-1;return[[t.currentPos,r+e.nodeHeight],[t.currentPos,r]]}))):[[[r[0].idealPos,0]]].concat(r.map((function(t,n){var r=i*(n+1);return[[t.currentPos,r-e.nodeHeight],[t.currentPos,r]]})))},r.prototype.layout=function(t){var e=this.options,n=e.layerGap+e.nodeHeight;switch(e.direction){case"left":t.forEach((function(t){var r=t.getLayerIndex()*n+e.layerGap;t.x=-r-e.nodeHeight,t.y=t.currentPos,t.dx=e.nodeHeight,t.dy=t.width}));break;case"right":t.forEach((function(t){var r=t.getLayerIndex()*n+e.layerGap;t.x=r,t.y=t.currentPos,t.dx=e.nodeHeight,t.dy=t.width}));break;case"up":t.forEach((function(t){var r=t.getLayerIndex()*n+e.layerGap;t.x=t.currentPos,t.y=-r-e.nodeHeight,t.dx=t.width,t.dy=e.nodeHeight}));break;default:t.forEach((function(t){var r=t.getLayerIndex()*n+e.layerGap;t.x=t.currentPos,t.y=r,t.dx=t.width,t.dy=e.nodeHeight}))}return t},r.prototype.generatePath=function(t){var e=this.options.direction,n=this.getWaypoints(t,e),r=[a(n[0][0])];return"left"===e||"right"===e?n.reduce((function(t,e,a){return r.push(c(t[t.length-1],e[0])),a<n.length-1&&r.push(i(e[1])),e})):n.reduce((function(t,e,a){return r.push(u(t[t.length-1],e[0])),a<n.length-1&&r.push(i(e[1])),e})),r.join(" ")},t.exports=r}])},3389:function(){"use strict";"function"!=typeof Object.assign&&(Object.assign=function(t){if(console.info("installing Object.assign polyfill"),null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e}),String.prototype.includes||(console.info("installing String.includes polyfill"),String.prototype.includes=function(t,e){return"number"!=typeof e&&(e=0),!(e+t.length>this.length)&&-1!==this.indexOf(t,e)}),String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return this.substr(!e||e<0?0:+e,t.length)===t})},5828:function(){self.fetch||(self.fetch=function(t,e){return e=e||{},new Promise((function(n,r){var i=new XMLHttpRequest,a=[],o=[],u={},c=function(){return{ok:2==(i.status/100|0),statusText:i.statusText,status:i.status,url:i.responseURL,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(i.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([i.response]))},clone:c,headers:{keys:function(){return a},entries:function(){return o},get:function(t){return u[t.toLowerCase()]},has:function(t){return t.toLowerCase()in u}}}};for(var s in i.open(e.method||"get",t,!0),i.onload=function(){i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,(function(t,e,n){a.push(e=e.toLowerCase()),o.push([e,n]),u[e]=u[e]?u[e]+","+n:n})),n(c())},i.onerror=r,i.withCredentials="include"==e.credentials,e.headers)i.setRequestHeader(s,e.headers[s]);i.send(e.body||null)}))})}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var a=e[r]={exports:{}};return t[r].call(a.exports,a,a.exports,n),a.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};return function(){"use strict";n.d(r,{default:function(){return an}});n(3389);var t=function(t){var e=this.constructor;return this.then((function(n){return e.resolve(t()).then((function(){return n}))}),(function(n){return e.resolve(t()).then((function(){return e.reject(n)}))}))};var e=function(t){return new this((function(e,n){if(!t||void 0===t.length)return n(new TypeError(typeof t+" "+t+" is not iterable(cannot read property Symbol(Symbol.iterator))"));var r=Array.prototype.slice.call(t);if(0===r.length)return e([]);var i=r.length;function a(t,n){if(n&&("object"==typeof n||"function"==typeof n)){var o=n.then;if("function"==typeof o)return void o.call(n,(function(e){a(t,e)}),(function(n){r[t]={status:"rejected",reason:n},0==--i&&e(r)}))}r[t]={status:"fulfilled",value:n},0==--i&&e(r)}for(var o=0;o<r.length;o++)a(o,r[o])}))},i=setTimeout;function a(t){return Boolean(t&&void 0!==t.length)}function o(){}function u(t){if(!(this instanceof u))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(t,this)}function c(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,u._immediateFn((function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null!==n){var r;try{r=n(t._value)}catch(t){return void l(e.promise,t)}s(e.promise,r)}else(1===t._state?s:l)(e.promise,t._value)}))):t._deferreds.push(e)}function s(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof u)return t._state=3,t._value=e,void f(t);if("function"==typeof n)return void d((r=n,i=e,function(){r.apply(i,arguments)}),t)}t._state=1,t._value=e,f(t)}catch(e){l(t,e)}var r,i}function l(t,e){t._state=2,t._value=e,f(t)}function f(t){2===t._state&&0===t._deferreds.length&&u._immediateFn((function(){t._handled||u._unhandledRejectionFn(t._value)}));for(var e=0,n=t._deferreds.length;e<n;e++)c(t,t._deferreds[e]);t._deferreds=null}function h(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function d(t,e){var n=!1;try{t((function(t){n||(n=!0,s(e,t))}),(function(t){n||(n=!0,l(e,t))}))}catch(t){if(n)return;n=!0,l(e,t)}}u.prototype.catch=function(t){return this.then(null,t)},u.prototype.then=function(t,e){var n=new this.constructor(o);return c(this,new h(t,e,n)),n},u.prototype.finally=t,u.all=function(t){return new u((function(e,n){if(!a(t))return n(new TypeError("Promise.all accepts an array"));var r=Array.prototype.slice.call(t);if(0===r.length)return e([]);var i=r.length;function o(t,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var u=a.then;if("function"==typeof u)return void u.call(a,(function(e){o(t,e)}),n)}r[t]=a,0==--i&&e(r)}catch(t){n(t)}}for(var u=0;u<r.length;u++)o(u,r[u])}))},u.allSettled=e,u.resolve=function(t){return t&&"object"==typeof t&&t.constructor===u?t:new u((function(e){e(t)}))},u.reject=function(t){return new u((function(e,n){n(t)}))},u.race=function(t){return new u((function(e,n){if(!a(t))return n(new TypeError("Promise.race accepts an array"));for(var r=0,i=t.length;r<i;r++)u.resolve(t[r]).then(e,n)}))},u._immediateFn="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){i(t,0)},u._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};var p=u,v=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n.g)return n.g;throw new Error("unable to locate global object")}();"function"!=typeof v.Promise?v.Promise=p:v.Promise.prototype.finally?v.Promise.allSettled||(v.Promise.allSettled=e):v.Promise.prototype.finally=t;n(5828),n(6152);function g(t,e){return Object.assign(t,e),t}var y={draw:function(){}},m={};var b=n(2454),w=n(3844),x=n(7204),A=n(9181);function _(t){return[t.width,t.height]}function M(t,e){(0,x.A)(t).style("height",e+"px")}function k(t,e){var n=void 0,r=[];return t.each((function(){for(var t=this;"function"==typeof t.parentNode.matches&&!n;)(t=t.parentNode).matches(e)&&(n=t,r.push(n));n=void 0})),(0,A.A)(r)}function T(t,e,n,r){(0,x.A)(e).on(t,(function(){try{var t=b.f0;("string"==typeof n?(0,x.A)(e).selectAll(n):n).each((function(){var e=this;(function(t,e){for(;;){if(!t||!e)return!1;if(t.isSameNode(e))return!0;t=t.parentNode}})(t.target,e)&&r.bind(e)((0,x.A)(e).data()[0])}))}catch(t){throw console.error(t),t}}))}function O(t){return t&&(t=encodeURIComponent(t).replace(/%20/g,"+")),t}function S(t){var e=[];for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];"object"==typeof r&&(r=JSON.stringify(r)),"string"!=typeof r&&"number"!=typeof r||e.push(O(n)+"="+O(r))}return e.join("&")}function P(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);if(204!==t.status&&205!==t.status)return t.json()}var C=function(){return C=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},C.apply(this,arguments)},D=function(){var t=[];function e(t,e,n){var r,i,a=nn.options.detectDataDomain?function(){for(var t=document.scripts,e=0;e<t.length;++e){var n=t[e].src;if(n&&n.indexOf("/viz.")>=0){var r=n.indexOf("/",9);if(r>=0)return n.substring(0,r)}}return""}():void 0,o=a||nn.options.dataDomain,u=(window.dataDomain||o)+"/data.json",c=C({"Content-Type":"application/json; charset=UTF-8"},t&&{"X-Api-Key":t});(r=u,i={headers:c,method:"POST",body:JSON.stringify(e)},fetch(r,i).then(P)).then((function(t){return n(null,t)})).catch((function(t){return n(t,void 0)}))}function n(t){for(var n=[],r={},i=void 0,a=0,o=t;a<o.length;a++){var u=o[a];n.push(u.options),i=null!=i?i:u.options.apiKey}n.length>0&&(r.options=n,r.origin=document.location.hostname,r.v=nn.version,e(i,r,(function(e,n){if(e)for(var r=0,i=t;r<i.length;r++){i[r].error(e.message)}else{var a=n.result;t.forEach((function(t,e){var n=a[e].error;n?t.error(n.message):t.success(a[e])}))}})))}function r(){n(t),t=[]}return{requestData:function(e,i,a){var o={options:e,success:i,error:a};e.immediate?n([o]):(t.push(o),window.setTimeout(r))}}}(),E=n(7613),N=n(1147),j=n(3383),L=n(9017),R=n(293),F=n(7849),I=n(1779),U=n(2706),H=n(6746),q=JSON.parse('{"dateTime":"%A, der %e. %B %Y, %X","date":"%d.%m.%Y","time":"%H:%M:%S","periods":["AM","PM"],"days":["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],"shortDays":["So","Mo","Di","Mi","Do","Fr","Sa"],"months":["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],"shortMonths":["Jan","Feb","Mrz","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"]}'),B=JSON.parse('{"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"]}'),V=JSON.parse('{"dateTime":"%A, le %e %B %Y, %X","date":"%d/%m/%Y","time":"%H:%M:%S","periods":["AM","PM"],"days":["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],"shortDays":["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],"months":["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"],"shortMonths":["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."]}'),z=JSON.parse('{"decimal":",","thousands":".","grouping":[3],"currency":[""," €"]}'),W=JSON.parse('{"decimal":".","thousands":",","grouping":[3],"currency":["$",""]}'),Y=JSON.parse('{"decimal":",","thousands":" ","grouping":[3],"currency":[""," €"],"percent":" %"}'),G="en"===document.documentElement.lang?"en":"fr"===document.documentElement.lang?"fr":"de";function J(){return G}var X=function(){return X=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},X.apply(this,arguments)};function $(t,e,n){return void 0===n&&(n=""),"de"===J()?e:"fr"===J()?n:t}function Z(t){var e=t.format(".%L"),n=t.format(":%S"),r=t.format("%I:%M"),i=t.format("%I %p"),a=t.format("%a %d"),o=t.format("%b %d"),u=t.format("%B"),c=t.format("%Y");return function(t){return((0,N.A)(t)<t?e:(0,j.A)(t)<t?n:(0,L.A)(t)<t?r:(0,R.A)(t)<t?i:(0,F.A)(t)<t?(0,I.fz)(t)<t?a:o:(0,U.A)(t)<t?u:c)(t)}}function Q(t,e){var n=(0,E.A)(t),r=(0,H.A)(e),i=r.format(",.2f"),a=r.format(",.0f"),o=n.format(t.date);return{timeFormatLocaleDefinition:t,numberFormatLocaleDefinition:e,createNumberFormatter:function(t,e){var n=t.accuracy,i=r.format(e);return function(e){return t.prefix+i(e/n)+t.postfix}},decimalFormatter:function(t){return i(function(t){return Math.round(100*t)/100}(t))},numberFormatter:function(t){return a(Math.round(t))},dateFormatter:function(t){return t?("string"==typeof t&&(t=new Date(t)),o(t)):""},timeScaleFormatter:Z(n)}}var K=Q(q,X(X({},z),{currency:["€",""]})),tt=Q(X(X({},B),{date:"%Y-%m-%d"}),X(X({},W),{currency:["€",""]})),et=Q(V,X(X({},Y),{currency:["€",""]})),nt=function(){function t(t,e){this.items=[];var n="string"==typeof t?document.getElementById(t):t;if(!n)throw new Error("container node undefined or null");this.container=n,this.options=rt(e,this.container);var r=this.stringValue("type")||this.stringValue("layout");if(!r)throw new Error("no widget type specified");this.widgetType=r,this.options.type=r,"graph"!=r&&"contact"!=r||(this.options.immediate=!0);var i=this.load.bind(this);this.data=this.objectValue("data"),this.data?window.setTimeout(i):D.requestData(this.options,i,this.fail.bind(this))}return t.prototype.getType=function(){return this.widgetType},t.prototype.fail=function(t){var e=this.handlerValue("error");e?e(t):nn.log("error",t)},t.prototype.load=function(t){this.data=this.data||t;try{var e=(n=this.widgetType,m[n]);if(!e)throw new Error("invalid widget type: "+this.widgetType);this.chart=e(this,this.data),this.container.setAttribute("data-layout",this.widgetType),this.draw()}catch(t){return void this.fail(t)}var n,r=this.handlerValue("success");r&&r()},t.prototype.showItem=function(t,e){var n=this,r=this.handlerValue("handleItem")||function(t,e){if(!!n.stringValue("subject"))return e;var r=document.createElement("div"),i=document.createElement("h2");return i.textContent=t,r.appendChild(i),r.appendChild(e),r},i=r(t,e);i&&(this.container.appendChild(i),this.items.push(i))},t.prototype.adjustSize=function(t){var e=t.getBoundingClientRect(),n=this.numberValue("width")||e.width,r=this.numberValue("height")||e.height,i=this.numberValue("ratio"),a=this.numberValue("minHeight"),o=this.numberValue("maxHeight"),u=r;i&&(u=n*i),a&&(u=Math.max(u,a)),o&&(u=Math.min(u,o)),r!=u&&M(t,u)},t.prototype.draw=function(){this.adjustSize(this.container),this.chart&&(this.chart.draw(),(0,x.A)(this.container).selectAll("*").each((function(){var t=this.getAttribute("transform");t||(t=getComputedStyle(this).getPropertyValue("transform"))&&"none"!=t&&this.setAttribute("transform",t)})))},t.prototype.markup=function(t){var e=this.handlerValue("companyClick");e&&t.selectAll(".company").attr("data-clickable",!0);var n=this.handlerValue("personClick");n&&t.selectAll(".person").attr("data-clickable",!0);var r=this.handlerValue("addressClick");r&&t.selectAll("address").attr("data-clickable",!0);var i=this.handlerValue("registerClick");i&&t.selectAll(".register").attr("data-clickable",!0);var a=this.handlerValue("filingClick");a&&t.selectAll(".filing").attr("data-clickable",!0),t.on("click",(function(){var t,o=b.f0,u=o.target,c=rt({},u);e&&u.classList.contains("company")&&(e(c),t=!0),n&&u.classList.contains("person")&&(n(c),t=!0),r&&"ADDRESS"==u.tagName&&(r({query:u.textContent}),t=!0),i&&u.classList.contains("register")&&(i({query:u.textContent}),t=!0),a&&u.classList.contains("filing")&&(a({query:u.textContent}),t=!0),t&&o.preventDefault()}))},t.prototype.invokeClickHandler=function(t,e){var n=this.getClickHandler(e);return!!n&&(n(t),!0)},t.prototype.getClickHandler=function(t){if(t)switch(t.toString().toLowerCase()[0]){case"c":return this.handlerValue("companyClick");case"p":return this.handlerValue("personClick");case"h":return this.handlerValue("publicationClick")}},t.prototype.getLinkifier=function(){return this.handlerValue("linkify")||it},t.prototype.getRootColor=function(){return(0,w.KI)(this.stringValue("rootColor")||"#00dddd")},t.prototype.isReverseChronology=function(){return"reverse"===this.stringValue("chronology")},t.prototype.getLanguage=function(){return this.stringValue("language")||"de"},t.prototype.i18n=function(){return"de"==this.getLanguage()?K:"fr"==this.getLanguage()?et:tt},t.prototype.trilingual=function(t,e,n){return"de"==this.getLanguage()?e:"fr"==this.getLanguage()?n:t},t.prototype.isPrint=function(){return document.documentElement.classList&&document.documentElement.classList.contains("print")},t.prototype.numberValue=function(t){var e=this.options[t];return"function"==typeof e?e():"number"==typeof e?e:"string"==typeof e?Number(e):void 0},t.prototype.stringValue=function(t){var e=this.options[t];return"function"==typeof e?e():"string"==typeof e?e:void 0},t.prototype.nodeValue=function(t){var e=this.options[t];return"object"==typeof e?e:"function"==typeof e?e():"string"==typeof e?(0,x.A)(this.container).select(e).node():void 0},t.prototype.objectValue=function(t){var e=this.options[t];if("function"==typeof e)return e();if("object"==typeof e){if(null===e)return;return e}return"string"==typeof e?JSON.parse(e):void 0},t.prototype.handlerValue=function(t){var e=this.options[t];if("function"==typeof e)return e.bind(this)},t}();function rt(t,e){var n={};Object.assign(n,t);for(var r=0;r<e.attributes.length;++r){var i=e.attributes[r],a=i.name;if(0===a.indexOf("data-")){var o=a.substring(5).replace(/-([a-z])/g,(function(t){return t[1].toUpperCase()}));n[o]=n[o]||i.value}}return n}var it=function(){return null},at=n(916),ot=n(6914);function ut(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}var ct=n(1918),st=Array.prototype,lt=st.map,ft=st.slice,ht={name:"implicit"};function dt(){var t=(0,ct.Tj)(),e=[],n=[],r=ht;function i(i){var a=i+"",o=t.get(a);if(!o){if(r!==ht)return r;t.set(a,o=e.push(i))}return n[(o-1)%n.length]}return i.domain=function(n){if(!arguments.length)return e.slice();e=[],t=(0,ct.Tj)();for(var r,a,o=-1,u=n.length;++o<u;)t.has(a=(r=n[o])+"")||t.set(a,e.push(r));return i},i.range=function(t){return arguments.length?(n=ft.call(t),i):n.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return dt(e,n).unknown(r)},ut.apply(i,arguments),i}function pt(){var t,e,n=dt().unknown(void 0),r=n.domain,i=n.range,a=[0,1],o=!1,u=0,c=0,s=.5;function l(){var n=r().length,l=a[1]<a[0],f=a[l-0],h=a[1-l];t=(h-f)/Math.max(1,n-u+2*c),o&&(t=Math.floor(t)),f+=(h-f-t*(n-u))*s,e=t*(1-u),o&&(f=Math.round(f),e=Math.round(e));var d=(0,ot.range)(n).map((function(e){return f+t*e}));return i(l?d.reverse():d)}return delete n.unknown,n.domain=function(t){return arguments.length?(r(t),l()):r()},n.range=function(t){return arguments.length?(a=[+t[0],+t[1]],l()):a.slice()},n.rangeRound=function(t){return a=[+t[0],+t[1]],o=!0,l()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(o=!!t,l()):o},n.padding=function(t){return arguments.length?(u=Math.min(1,c=+t),l()):u},n.paddingInner=function(t){return arguments.length?(u=Math.min(1,t),l()):u},n.paddingOuter=function(t){return arguments.length?(c=+t,l()):c},n.align=function(t){return arguments.length?(s=Math.max(0,Math.min(1,t)),l()):s},n.copy=function(){return pt(r(),a).round(o).paddingInner(u).paddingOuter(c).align(s)},ut.apply(l(),arguments)}var vt=n(7331),gt=n(5566),yt=n(5307);function mt(t){return+t}var bt=[0,1];function wt(t){return t}function xt(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n});var n}function At(t){var e,n=t[0],r=t[t.length-1];return n>r&&(e=n,n=r,r=e),function(t){return Math.max(n,Math.min(r,t))}}function _t(t,e,n){var r=t[0],i=t[1],a=e[0],o=e[1];return i<r?(r=xt(i,r),a=n(o,a)):(r=xt(r,i),a=n(a,o)),function(t){return a(r(t))}}function Mt(t,e,n){var r=Math.min(t.length,e.length)-1,i=new Array(r),a=new Array(r),o=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++o<r;)i[o]=xt(t[o],t[o+1]),a[o]=n(e[o],e[o+1]);return function(e){var n=(0,ot.bisect)(t,e,1,r)-1;return a[n](i[n](e))}}function kt(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Tt(t,e){return function(){var t,e,n,r,i,a,o=bt,u=bt,c=vt.A,s=wt;function l(){return r=Math.min(o.length,u.length)>2?Mt:_t,i=a=null,f}function f(e){return isNaN(e=+e)?n:(i||(i=r(o.map(t),u,c)))(t(s(e)))}return f.invert=function(n){return s(e((a||(a=r(u,o.map(t),gt.A)))(n)))},f.domain=function(t){return arguments.length?(o=lt.call(t,mt),s===wt||(s=At(o)),l()):o.slice()},f.range=function(t){return arguments.length?(u=ft.call(t),l()):u.slice()},f.rangeRound=function(t){return u=ft.call(t),c=yt.A,l()},f.clamp=function(t){return arguments.length?(s=t?At(o):wt,f):s!==wt},f.interpolate=function(t){return arguments.length?(c=t,l()):c},f.unknown=function(t){return arguments.length?(n=t,f):n},function(n,r){return t=n,e=r,l()}}()(t,e)}var Ot=n(1688),St=n(6093),Pt=n(4626),Ct=n(8209),Dt=n(3391);function Et(t){var e=t.domain;return t.ticks=function(t){var n=e();return(0,ot.ticks)(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return function(t,e,n,r){var i,a=(0,ot.tickStep)(t,e,n);switch((r=(0,Ot.A)(null==r?",f":r)).type){case"s":var o=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(i=(0,St.A)(a,o))||(r.precision=i),(0,Pt.s)(r,o);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=(0,Ct.A)(a,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=(0,Dt.A)(a))||(r.precision=i-2*("%"===r.type))}return(0,Pt.GP)(r)}(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,i=e(),a=0,o=i.length-1,u=i[a],c=i[o];return c<u&&(r=u,u=c,c=r,r=a,a=o,o=r),(r=(0,ot.tickIncrement)(u,c,n))>0?(u=Math.floor(u/r)*r,c=Math.ceil(c/r)*r,r=(0,ot.tickIncrement)(u,c,n)):r<0&&(u=Math.ceil(u*r)/r,c=Math.floor(c*r)/r,r=(0,ot.tickIncrement)(u,c,n)),r>0?(i[a]=Math.floor(u/r)*r,i[o]=Math.ceil(c/r)*r,e(i)):r<0&&(i[a]=Math.ceil(u*r)/r,i[o]=Math.floor(c*r)/r,e(i)),t},t}function Nt(){var t=Tt(wt,wt);return t.copy=function(){return kt(t,Nt())},ut.apply(t,arguments),Et(t)}var jt=n(6530),Lt=n(2692);var Rt=1e3,Ft=60*Rt,It=60*Ft,Ut=24*It,Ht=7*Ut,qt=30*Ut,Bt=365*Ut;function Vt(t){return new Date(t)}function zt(t){return t instanceof Date?+t:+new Date(+t)}function Wt(t,e,n,r,i,a,o,u,c){var s=Tt(wt,wt),l=s.invert,f=s.domain,h=c(".%L"),d=c(":%S"),p=c("%I:%M"),v=c("%I %p"),g=c("%a %d"),y=c("%b %d"),m=c("%B"),b=c("%Y"),w=[[o,1,Rt],[o,5,5*Rt],[o,15,15*Rt],[o,30,30*Rt],[a,1,Ft],[a,5,5*Ft],[a,15,15*Ft],[a,30,30*Ft],[i,1,It],[i,3,3*It],[i,6,6*It],[i,12,12*It],[r,1,Ut],[r,2,2*Ut],[n,1,Ht],[e,1,qt],[e,3,3*qt],[t,1,Bt]];function x(u){return(o(u)<u?h:a(u)<u?d:i(u)<u?p:r(u)<u?v:e(u)<u?n(u)<u?g:y:t(u)<u?m:b)(u)}function A(e,n,r,i){if(null==e&&(e=10),"number"==typeof e){var a=Math.abs(r-n)/e,o=(0,ot.bisector)((function(t){return t[2]})).right(w,a);o===w.length?(i=(0,ot.tickStep)(n/Bt,r/Bt,e),e=t):o?(i=(o=w[a/w[o-1][2]<w[o][2]/a?o-1:o])[1],e=o[0]):(i=Math.max((0,ot.tickStep)(n,r,e),1),e=u)}return null==i?e:e.every(i)}return s.invert=function(t){return new Date(l(t))},s.domain=function(t){return arguments.length?f(lt.call(t,zt)):f().map(Vt)},s.ticks=function(t,e){var n,r=f(),i=r[0],a=r[r.length-1],o=a<i;return o&&(n=i,i=a,a=n),n=(n=A(t,i,a,e))?n.range(i,a+1):[],o?n.reverse():n},s.tickFormat=function(t,e){return null==e?x:c(e)},s.nice=function(t,e){var n=f();return(t=A(t,n[0],n[n.length-1],e))?f(function(t,e){var n,r=0,i=(t=t.slice()).length-1,a=t[r],o=t[i];return o<a&&(n=r,r=i,i=n,n=a,a=o,o=n),t[r]=e.floor(a),t[i]=e.ceil(o),t}(n,t)):s},s.copy=function(){return kt(s,Wt(t,e,n,r,i,a,o,u,c))},s}function Yt(){return ut.apply(Wt(U.A,F.A,I.fz,R.A,L.A,j.A,N.A,jt.A,Lt.DC).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var Gt=n(7865);var Jt=function(t,e){var n=[],r=e.note;if(!(e.item&&0!=e.item.length||r))throw new Error("no data");var i=15,a=10,o=50,u=15,c=function(){var t=(0,x.A)("body").append("div").attr("class","tooltip ui basic black label").style("position","fixed").style("top",0).style("left",0).style("pointer-events","none").style("visibility","hidden");return{position:function(e,n){var r=document.documentElement.clientWidth,i=t.node().offsetWidth,a=e+i+16<r,o=a?e+16:e-i-16,u=n-t.node().offsetHeight/2;return t.style("transform","translate("+o+"px, "+u+"px)").classed("left right pointing",!1).classed(a?"left":"right",!0).classed("pointing",!0),this},visible:function(e){return t.interrupt().transition().delay(e?0:100).duration(0).style("visibility",(function(){return e?null:"hidden"})),this},content:function(e){return t.html(e),this}}}();for(var s=function(e){var r=e.data;if(!r)return"continue";var s=t.options.colors,l="string"==typeof s?s.split("|"):s;l=null!=l?l:r.colors;for(var f=r.title.substring(0,3),h=[],d=r.colorIndexes,p=0;p<d.length;++p){var v=d[p],g=r.estimate[p]?"url(#diag"+f+v+")":l[v];h.push(g)}var y=(0,at.A)("svg:defs");y.selectAll("pattern").data(l).join("svg:pattern").attr("id",(function(t,e){return"diag"+f+e})).attr("width",10).attr("height",10).attr("patternTransform","rotate(45 0 0)").attr("patternUnits","userSpaceOnUse").attr("transform","matrix(0.707107, 0.707107, -0.707107, 0.707107, 0, 0)").append("svg:line").attr("x1",0).attr("y1",0).attr("x2",0).attr("y2",10).style("stroke",(function(t){return t})).style("stroke-width",15);var m=(0,ot.extent)(r.data,(function(t){return t.value0})),w=m[0],A=m[1];A=Math.max(A,1),w=Math.min(w,0);var _=Math.min(5,Math.ceil(A)),M=document.createElement("div");M.setAttribute("data-item",e.item),t.showItem(e.title,M);var k=(0,x.A)(M).style("height","100%").append("svg").attr("width","100%").attr("height","100%");k.attr("aria-label",e.title),k.append((function(){return y.node()}));var T=pt().domain(r.data.map((function(t){return t.year}))).padding(.2),O=(0,Gt.axisBottom)(T),S=k.append("g").classed("x-axis",!0),P=Nt().domain([w,A]),C=(0,Gt.axisLeft)(P).tickSizeInner(0).tickSizeOuter(0).ticks(_).tickFormat(t.i18n().createNumberFormatter(r.numberFormat,",.0f")),D=k.append("g").classed("y-axis",!0),E=k.append("g"),N=k.append("g");n.push((function(){var n=M.getBoundingClientRect(),s=n.width,l=n.height;k.attr("viewBox","0 0 "+s+" "+l),P.range([l-o,i]),D.call(C).attr("font-size",null).attr("font-family",null).call((function(t){return t.selectAll(".tick").classed("zero",(function(t){return 0===t}))}));var f=45;D.selectAll(".tick > text").each((function(){f=Math.max(f,this.getBBox().width)}));var d=u+f;D.attr("transform","translate("+d+",0)").selectAll(".tick > line").attr("x2",s-d-a),T.range([d,s-a]),O.tickSizeInner(-(l-i-o)),S.attr("transform","translate(0,"+(l-o)+")").call(O).call((function(t){return t.select(".domain").remove()})).attr("font-size",null).attr("font-family",null);var p=function(t){return Math.abs(P(0)-P(t))};N.selectAll("rect").data(r.data).join("rect").attr("x",(function(t){return T(t.year)})).attr("y",(function(t){return P(Math.max(t.value0,0))})).attr("height",(function(t){return Math.max(p(t.value0),1)})).attr("width",T.bandwidth()).attr("fill",(function(t,e){return h[e]}));E.selectAll("rect").data(r.data.filter((function(t){return p(t.value0)<45}))).join("rect").attr("x",(function(t){return T(t.year)})).attr("y",(function(t){var e=t.value0>0?45:0;return P(0)-e})).attr("height",45).attr("width",T.bandwidth()).attr("fill","transparent"),k.selectAll("g > rect").on("mousemove",(function(){var t=b.f0;c.position(t.clientX,t.clientY)})).on("mouseover",(function(n){var r,i,a,o;c.content((r=n,i=e.title,a=r.note?"<span class='note'>"+r.note+"</span>":"",o=r.source&&r.source.publicationTitle?"<span class='source'>"+t.trilingual("Source: ","Quelle: ","Source: ")+r.source.publicationTitle+"</span>":"","<span class='name'>"+i+" "+r.year+"</span><span class='value'>"+r.formattedValue+"</span>"+a+o)).visible(!0)})).on("mouseout",(function(){c.visible(!1)}))}))},l=0,f=e.item;l<f.length;l++){s(f[l])}if(r){var h=document.createElement("div"),d=(0,x.A)(h).classed("note",!0).html(r);t.markup(d),t.container.appendChild(h)}return{draw:function(){for(var t=0,e=n;t<e.length;t++){(0,e[t])()}}}},Xt=function(t,e){if(e){var n=t.handlerValue("load");n&&n(e)}return y};function $t(t,e){return t.parent===e.parent?1:2}function Zt(t,e){return t+e.x}function Qt(t,e){return Math.max(t,e.y)}function Kt(){var t=$t,e=1,n=1,r=!1;function i(i){var a,o=0;i.eachAfter((function(e){var n=e.children;n?(e.x=function(t){return t.reduce(Zt,0)/t.length}(n),e.y=function(t){return 1+t.reduce(Qt,0)}(n)):(e.x=a?o+=t(e,a):0,e.y=0,a=e)}));var u=function(t){for(var e;e=t.children;)t=e[0];return t}(i),c=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(i),s=u.x-t(u,c)/2,l=c.x+t(c,u)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*e,t.y=(i.y-t.y)*n}:function(t){t.x=(t.x-s)/(l-s)*e,t.y=(1-(i.y?t.y/i.y:1))*n})}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i}function te(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}function ee(t,e){var n,r,i,a,o,u=new ae(t),c=+t.value&&(u.value=t.value),s=[u];for(null==e&&(e=ne);n=s.pop();)if(c&&(n.value=+n.data.value),(i=e(n.data))&&(o=i.length))for(n.children=new Array(o),a=o-1;a>=0;--a)s.push(r=n.children[a]=new ae(i[a])),r.parent=n,r.depth=n.depth+1;return u.eachBefore(ie)}function ne(t){return t.children}function re(t){t.data=t.data.data}function ie(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function ae(t){this.data=t,this.depth=this.height=0,this.parent=null}ae.prototype=ee.prototype={constructor:ae,count:function(){return this.eachAfter(te)},each:function(t){var e,n,r,i,a=this,o=[a];do{for(e=o.reverse(),o=[];a=e.pop();)if(t(a),n=a.children)for(r=0,i=n.length;r<i;++r)o.push(n[r])}while(o.length);return this},eachAfter:function(t){for(var e,n,r,i=this,a=[i],o=[];i=a.pop();)if(o.push(i),e=i.children)for(n=0,r=e.length;n<r;++n)a.push(e[n]);for(;i=o.pop();)t(i);return this},eachBefore:function(t){for(var e,n,r=this,i=[r];r=i.pop();)if(t(r),e=r.children)for(n=e.length-1;n>=0;--n)i.push(e[n]);return this},sum:function(t){return this.eachAfter((function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n}))},sort:function(t){return this.eachBefore((function(e){e.children&&e.children.sort(t)}))},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;t=n.pop(),e=r.pop();for(;t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)e=e.parent,r.push(e);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each((function(e){t.push(e)})),t},leaves:function(){var t=[];return this.eachBefore((function(e){e.children||t.push(e)})),t},links:function(){var t=this,e=[];return t.each((function(n){n!==t&&e.push({source:n.parent,target:n})})),e},copy:function(){return ee(this).eachBefore(re)}};var oe=Math.PI,ue=2*oe,ce=1e-6,se=ue-ce;function le(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function fe(){return new le}le.prototype=fe.prototype={constructor:le,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,a){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+a)},arcTo:function(t,e,n,r,i){t=+t,e=+e,n=+n,r=+r,i=+i;var a=this._x1,o=this._y1,u=n-t,c=r-e,s=a-t,l=o-e,f=s*s+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>ce)if(Math.abs(l*u-c*s)>ce&&i){var h=n-a,d=r-o,p=u*u+c*c,v=h*h+d*d,g=Math.sqrt(p),y=Math.sqrt(f),m=i*Math.tan((oe-Math.acos((p+f-v)/(2*g*y)))/2),b=m/y,w=m/g;Math.abs(b-1)>ce&&(this._+="L"+(t+b*s)+","+(e+b*l)),this._+="A"+i+","+i+",0,0,"+ +(l*h>s*d)+","+(this._x1=t+w*u)+","+(this._y1=e+w*c)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,r,i,a){t=+t,e=+e,a=!!a;var o=(n=+n)*Math.cos(r),u=n*Math.sin(r),c=t+o,s=e+u,l=1^a,f=a?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+c+","+s:(Math.abs(this._x1-c)>ce||Math.abs(this._y1-s)>ce)&&(this._+="L"+c+","+s),n&&(f<0&&(f=f%ue+ue),f>se?this._+="A"+n+","+n+",0,1,"+l+","+(t-o)+","+(e-u)+"A"+n+","+n+",0,1,"+l+","+(this._x1=c)+","+(this._y1=s):f>ce&&(this._+="A"+n+","+n+",0,"+ +(f>=oe)+","+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 he=fe,de=Array.prototype.slice;function pe(t){return function(){return t}}function ve(t){return t[0]}function ge(t){return t[1]}function ye(t){return t.source}function me(t){return t.target}function be(t){var e=ye,n=me,r=ve,i=ge,a=null;function o(){var o,u=de.call(arguments),c=e.apply(this,u),s=n.apply(this,u);if(a||(a=o=he()),t(a,+r.apply(this,(u[0]=c,u)),+i.apply(this,u),+r.apply(this,(u[0]=s,u)),+i.apply(this,u)),o)return a=null,o+""||null}return o.source=function(t){return arguments.length?(e=t,o):e},o.target=function(t){return arguments.length?(n=t,o):n},o.x=function(t){return arguments.length?(r="function"==typeof t?t:pe(+t),o):r},o.y=function(t){return arguments.length?(i="function"==typeof t?t:pe(+t),o):i},o.context=function(t){return arguments.length?(a=null==t?null:t,o):a},o}function we(t,e,n,r,i){t.moveTo(e,n),t.bezierCurveTo(e=(e+r)/2,n,e,i,r,i)}function xe(t){this._context=t}function Ae(t){return new xe(t)}xe.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 _e=20;function Me(t){var e=[{x:0,y:0},{x:1,y:.5},{x:1,y:-.5},{x:0,y:0}],n=function(){var t=ve,e=ge,n=pe(!0),r=null,i=Ae,a=null;function o(o){var u,c,s,l=o.length,f=!1;for(null==r&&(a=i(s=he())),u=0;u<=l;++u)!(u<l&&n(c=o[u],u,o))===f&&((f=!f)?a.lineStart():a.lineEnd()),f&&a.point(+t(c,u,o),+e(c,u,o));if(s)return a=null,s+""||null}return o.x=function(e){return arguments.length?(t="function"==typeof e?e:pe(+e),o):t},o.y=function(t){return arguments.length?(e="function"==typeof t?t:pe(+t),o):e},o.defined=function(t){return arguments.length?(n="function"==typeof t?t:pe(!!t),o):n},o.curve=function(t){return arguments.length?(i=t,null!=r&&(a=i(r)),o):i},o.context=function(t){return arguments.length?(null==t?r=a=null:a=i(r=t),o):r},o}().x((function(e){return t*e.x})).y((function(e){return t*e.y})).curve(Ae);return n(e)}function ke(t,e,n,r,i,a,o){void 0===o&&(o=0),t.each((function(){var t=(0,x.A)(this),u=t.select(e).node(),c=t.select(n).node();if(u&&c&&u.textContent){var s=u.getBBox(),l=Number(t.attr("data-dx"));if(0!=l){var f=s.x,h=-l+r,d=a-r-s.width-l;f<h?(s.x=h,(0,x.A)(u).attr("x",h-f)):f>d&&(s.x=d,(0,x.A)(u).attr("x",d-f))}(0,x.A)(c).attr("width",s.width+2*r).attr("height",s.height+2*i).attr("x",s.x-r).attr("y",s.y-i).attr("rx",o).attr("ry",o)}}))}function Te(t){t.reverse();for(var e=[],n=0,r=t;n<r.length;n++){var i=r[n];e.indexOf(i)<0&&e.push(i)}e.reverse();var a,o=e.length;if(o>0&&!((a=window.navigator.userAgent).indexOf("MSIE ")>=0||a.indexOf("Edge ")>=0||a.indexOf("Trident")>=0)){for(var u=e[0].parentNode,c=null==u?[]:u.childNodes,s=!0,l=0;l<o;++l)if(c[c.length-o+l]!=e[l]){s=!1;break}if(!s)for(var f=0,h=e;f<h.length;f++){var d=(i=h[f]).parentNode;null==d||d.appendChild(i)}}}function Oe(t,e,n,r,i){var a,o=t.container.getBoundingClientRect().width;function u(t){return e.select(".node[data-id='"+t+"']")}function c(){var t=[];e.select(".node").each((function(){t.push(this)})),t.push(e.select("[data-root]").node()),Te(t)}var s=e.select("g.nodes");s.empty()&&(s=e.append("g").attr("class","nodes")),s.style("pointer-events","all");var l=s.selectAll(".node").data(n),f=function(t){return t.clickable||!t.root},h=l.enter().append("svg:a").attr("class","node").attr("data-leaf",(function(t){return!t.children||0==t.children.length})).attr("data-id",(function(t){return t.id})).attr("data-root",(function(t){return t.root})).attr("data-old",(function(t){var e;return null!==(e=t.old)&&void 0!==e?e:null})).attr("data-warning",(function(t){var e;return null!==(e=t.warning)&&void 0!==e?e:null})).attr("data-d",(function(t){var e;return null!==(e=t.distance)&&void 0!==e?e:null})).attr("xlink:href",(function(t){return t.url||""})).attr("data-clickable",(function(e){return!(!f(e)||!t.getClickHandler(e.type))||null})).on("click",(function(e){var n=b.f0;f(e)&&t.invokeClickHandler(e.query,e.type)&&n.preventDefault()}));return T("mouseover",s.node(),h,(function(t){var n=t.id,c=n==r?"root":"node",s=u(n).attr("data-highlight",c);s.select(".text").text(t.desc),ke(s,".text",".text-bg",i?2:5,2,o);var l=e.selectAll("[data-source-id='"+n+"'],[data-target-id='"+n+"']").attr("data-highlight",c);ke(l,".desc",".desc-bg",3,2,o),window.clearTimeout(a);var f=[];l.each((function(t){function e(t){t!=n&&f.push(u(t).node())}f.push(this),e(t.source.id),e(t.target.id)})),f.push(s.node()),Te(f)})),T("mouseout",s.node(),h,(function(t){e.selectAll("[data-highlight]").attr("data-highlight","false"),e.select(".node[data-id='"+t.id+"']").select(".text").text(t.text).attr("x",0),a=window.setTimeout(c,1e3)})),h.append("circle").attr("r",_e),h.append("text").attr("class","icon").text((function(t){return t.icon})),h.append("rect").attr("class","text-bg"),h.append("text").attr("class","text").text((function(t){return t.text})),h.filter("[data-warning]").append("circle").attr("r",7).attr("data-warn",!0).attr("transform","translate(20, -20)"),h.filter("[data-warning]").append("text").attr("r",8).attr("class","icon").text("").attr("data-warn",!0).append("title").text((function(t){var e;return null!==(e=t.warning)&&void 0!==e?e:""})),c(),h}function Se(t,e,n){var r,i=t.container.getBoundingClientRect().width;function a(t){var a=t.getAttribute("data-id"),o="true"==t.getAttribute("data-root")?"root":"node";t.setAttribute("data-highlight",o);var u=t.querySelector(".text");u&&(u.textContent=t.getAttribute("data-description")),ke((0,x.A)(t),".text",".text-bg",n?2:5,2,i);var c=e.selectAll(".link[data-source-id='"+a+"'],.link[data-target-id='"+a+"']").attr("data-highlight",o);ke(c,".desc",".desc-bg",3,2,i),window.clearTimeout(r);var s=[];c.each((function(t){var n=this;function r(t){t!=a&&s.push(function(t){return e.select(".node[data-id='"+t+"']")}(t).node())}s.push(n),r(n.getAttribute("data-source-id")||""),r(n.getAttribute("data-target-id")||"")})),s.push(t),Te(s)}function o(){var t=[];e.select(".node").each((function(){t.push(this)})),t.push(e.select("[data-root]").node()),Te(t)}var u=e.select("g.nodes");u.selectAll(".node").each((function(){var e=this,n="true"==e.getAttribute("data-root"),r=t.getLinkifier();if(!n){var i=e.getAttribute("data-type")||"",a=e.getAttribute("data-query")||"";nn.debug(e.getAttribute("data-url")+" -> "+r(e)),(0,x.A)(e).attr("xlink:href",r(e)).attr("data-clickable",t.getClickHandler(i)?"true":"false").on("click",(function(){var e=b.f0;t.invokeClickHandler(a,i)&&e.preventDefault()}))}}));u.selectAll(".node").on("mouseover",(function(){a(this)})).on("mouseout",(function(){!function(t){e.selectAll("[data-highlight]").attr("data-highlight","false");var n=t.getAttribute("data-id");e.select(".node[data-id='"+n+"']").select(".text").text(t.getAttribute("data-text")||"").attr("x",0),r=window.setTimeout(o,1e3)}(this)})),o(),nn.debug("successfully completed v12")}var Pe=function(){return Pe=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},Pe.apply(this,arguments)},Ce=function(t,e){var n=t.container;(0,x.A)(n).selectAll(".shake").style("display","none");var r=e.size>=10,i=e.scope,a=(0,x.A)(n).append("svg").attr("data-dense",r).attr("aria-label",e.desc);return{draw:function(){for(var o,u=n.getBoundingClientRect().width,c={left:-u/6,right:u/6,top:-20,bottom:38},s={left:-8,right:u/3-8,top:-8,bottom:8},l=r?s:c,f=c,h=r?[s.bottom-s.top,s.right-s.left]:[c.bottom-c.top,c.right-c.left],d=r?7:12,p=Kt().nodeSize(h).separation((function(t,e){var n=t.parent==e.parent;if(r){if(n)return 1;var i=1*(t.parent.children.length+e.parent.children.length)/2+1.5;return i<5?1.5+(5-i):1.5}return n?1:1.4}))(ee(e)),v=function(t){return Pe(Pe({},t.data),{x:t.x,y:t.y,depth:t.depth})},g=p.descendants().map(v),y=p.links().map((function(t){return{target:v(t.target),source:v(t.source)}})),m=0,b=0,w=g;b<w.length;b++){var x=w[b];x.root&&(o=x,"publication"===i&&(x.clickable=!0)),m=Math.max(m,x.depth)}a.select("g").remove();var A=a.append("g"),_=A.append("g").selectAll(".link").data(y),k=function(t){return t.target.edge},T=_.enter().append("g").attr("class","link").attr("data-source-id",(function(t){return t.source.id})).attr("data-target-id",(function(t){return t.target.id})).attr("data-old",(function(t){var e,n;return null!==(n=null===(e=k(t))||void 0===e?void 0:e.old)&&void 0!==n?n:null})).attr("data-warn",(function(t){var e,n;return null!==(n=null===(e=k(t))||void 0===e?void 0:e.warn)&&void 0!==n?n:null})).attr("data-head",(function(t){var e,n;return null!==(n=null===(e=k(t))||void 0===e?void 0:e.head)&&void 0!==n?n:null})).attr("data-tail",(function(t){var e,n;return null!==(n=null===(e=k(t))||void 0===e?void 0:e.tail)&&void 0!==n?n:null}));T.append("path").attr("class","line"),T.append("path").attr("class","head").attr("d",Me(d)),T.append("path").attr("class","tail").attr("d",Me(d));var O=Oe(t,A,g,o?o.id:void 0,r),S=function(t,e){return"translate("+t+","+e+")"},P=function(t){var e=function(t){return!t.children||0===t.children.length},n=function(t){return e(t)?l:f},i=function(t){return t.y+n(t).left},a=(0,ot.min)(g,i),o=(0,ot.max)(g,(function(t){return t.y+n(t).right})),u=[a,o],c=(0,ot.min)(g,(function(t){return t.x+n(t).top})),s=(0,ot.max)(g,(function(t){return t.x+n(t).bottom})),h=(0,ot.extent)(g,(function(t){return t.x})),d=h[1]-h[0],p=Nt().domain(u).range([0,t]),v=Nt().domain(h).range([0,d]),y=function(t){return p(r&&e(t)?i(t):t.y)},m=function(t){return v(t.x)},b=function(t){return S(y(t),m(t))},w=be(we).x((function(t){return y(t)})).y((function(t){return m(t)})),x=Math.max(10,(150-(s-c))/2),A=s-h[1]+x,_=h[0]-c+x;return{height:d+A+_,diagonal:w,nodeTransform:b,headTransform:function(t){return b(t.target)+" "+S(r&&e(t.target)?0:-20,0)+" rotate(180)"},tailTransform:function(t){return b(t.source)+" "+S(_e,0)},canvasTransform:S(0,_)}}(u);M(n,P.height),a.attr("width","100%").attr("height","100%").attr("viewBox","0 0 "+u+" "+P.height),A.attr("transform",P.canvasTransform),O.attr("transform",P.nodeTransform),T.select(".line").attr("d",P.diagonal),T.select(".head").attr("transform",P.headTransform),T.select(".tail").attr("transform",P.tailTransform)}}};function De(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}function Ee(t,e,n,r,i){for(var a,o=t.children,u=-1,c=o.length,s=t.value&&(r-e)/t.value;++u<c;)(a=o[u]).y0=n,a.y1=i,a.x0=e,a.x1=e+=a.value*s}function Ne(t,e,n,r,i){for(var a,o=t.children,u=-1,c=o.length,s=t.value&&(i-n)/t.value;++u<c;)(a=o[u]).x0=e,a.x1=r,a.y0=n,a.y1=n+=a.value*s}var je=function t(e){function n(t,n,r,i,a){!function(t,e,n,r,i,a){for(var o,u,c,s,l,f,h,d,p,v,g,y=[],m=e.children,b=0,w=0,x=m.length,A=e.value;b<x;){c=i-n,s=a-r;do{l=m[w++].value}while(!l&&w<x);for(f=h=l,g=l*l*(v=Math.max(s/c,c/s)/(A*t)),p=Math.max(h/g,g/f);w<x;++w){if(l+=u=m[w].value,u<f&&(f=u),u>h&&(h=u),g=l*l*v,(d=Math.max(h/g,g/f))>p){l-=u;break}p=d}y.push(o={value:l,dice:c<s,children:m.slice(b,w)}),o.dice?Ee(o,n,r,i,A?r+=s*l/A:a):Ne(o,n,r,A?n+=c*l/A:i,a),A-=l,b=w}}(e,t,n,r,i,a)}return n.ratio=function(e){return t((e=+e)>1?e:1)},n}((1+Math.sqrt(5))/2);function Le(t){if("function"!=typeof t)throw new Error;return t}function Re(){return 0}function Fe(t){return function(){return t}}var Ie=function(t,e){var n,r,i;if(!e.item||0==e.item.length)throw new Error("no data");for(var a=[],o=function(e){var o=e.data,u=document.createElement("div"),c=(0,x.A)(u).attr("data-item",e.item).attr("class","root"),s=c.append("div").attr("class","box-parent");t.showItem(e.title,u);var l=(0,x.A)(null!==(n=t.nodeValue("legend1"))&&void 0!==n?n:null);l.empty()&&(l=c.selectAll(".legend1"));var f=(0,x.A)(null!==(r=t.nodeValue("legend2"))&&void 0!==r?r:null);f.empty()&&(f=c.selectAll(".legend2"));var h=(0,x.A)(null!==(i=t.nodeValue("legend3"))&&void 0!==i?i:null);if(h.empty()&&(h=c.selectAll(".legend3")),l.empty()||f.empty()||h.empty()){var d=c.selectAll(".legends");d.empty()&&(d=c.append("div").attr("class","legends")),l.empty()&&(l=d.append("span").attr("class","legend1")),f.empty()&&(f=d.append("span").attr("class","legend2")),h.empty()&&(h=d.append("span").attr("class","legend3"))}h.text($("As of: ","Stand: ","Date de ")+e.date);var p,v,g=t.i18n().createNumberFormatter(o.numberFormat,",.3r"),y=null,m=function(t,e){e.children||y&&y!=e||(s.classed("highlighting",!0),(0,A.A)(".highlighted").classed("highlighted",!1),(0,x.A)(t).classed("highlighted",!0),w(e))},b=function(){var t;y||(s.classed("highlighting",!1),(0,A.A)(".highlighted").classed("highlighted",!1),w(null!==(t=o.default)&&void 0!==t?t:o.root))},w=function(t){var e;l.text((null!==(e=t.formattedValue)&&void 0!==e?e:g(t.raw))+" "),f.text(t.name)};b(),p=o.root,v=t.getRootColor(),function t(e,n,r,i){e.color=n.toString();var a=r;if(e.children){var o=e.children.length+1;if(o>0)for(var u=(i-r)/o,c=0,s=e.children;c<s.length;c++){var l=s[c];n.h=a%360,t(l,n,a,a+u),a+=u}}}(p,v,v.h,v.h+360);a.push((function(){var t=s.node().getBoundingClientRect();if(0!=t.width&&0!=t.height){var e=ee(o.root).sum((function(t){return t.children?0:Math.abs(t.raw)})).sort((function(t,e){return(0,ot.ascending)(t.value,e.value)})),n=function(){var t=je,e=!1,n=1,r=1,i=[0],a=Re,o=Re,u=Re,c=Re,s=Re;function l(t){return t.x0=t.y0=0,t.x1=n,t.y1=r,t.eachBefore(f),i=[0],e&&t.eachBefore(De),t}function f(e){var n=i[e.depth],r=e.x0+n,l=e.y0+n,f=e.x1-n,h=e.y1-n;f<r&&(r=f=(r+f)/2),h<l&&(l=h=(l+h)/2),e.x0=r,e.y0=l,e.x1=f,e.y1=h,e.children&&(n=i[e.depth+1]=a(e)/2,r+=s(e)-n,l+=o(e)-n,(f-=u(e)-n)<r&&(r=f=(r+f)/2),(h-=c(e)-n)<l&&(l=h=(l+h)/2),t(e,r,l,f,h))}return l.round=function(t){return arguments.length?(e=!!t,l):e},l.size=function(t){return arguments.length?(n=+t[0],r=+t[1],l):[n,r]},l.tile=function(e){return arguments.length?(t=Le(e),l):t},l.padding=function(t){return arguments.length?l.paddingInner(t).paddingOuter(t):l.paddingInner()},l.paddingInner=function(t){return arguments.length?(a="function"==typeof t?t:Fe(+t),l):a},l.paddingOuter=function(t){return arguments.length?l.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):l.paddingTop()},l.paddingTop=function(t){return arguments.length?(o="function"==typeof t?t:Fe(+t),l):o},l.paddingRight=function(t){return arguments.length?(u="function"==typeof t?t:Fe(+t),l):u},l.paddingBottom=function(t){return arguments.length?(c="function"==typeof t?t:Fe(+t),l):c},l.paddingLeft=function(t){return arguments.length?(s="function"==typeof t?t:Fe(+t),l):s},l}().size(_(t)).round(!0)(e),r=function(t){return t.x1-t.x0},i=function(t){return t.y1-t.y0},a=s.selectAll(".box").data(n.descendants()),u=a.enter().append("div").attr("class","box").on("mouseenter",(function(t){m(this,t.data)})).on("mouseleave",b).on("click",(function(t){!function(t,e){y==e?(y=null,b()):(y=e,m(t,e))}(this,t.data)})).attr("data-neg",(function(t){return!!(t.data.raw<0||(e=t.data.name,e&&e.indexOf("Fehlbetrag")>=0));var e}));u.append("div").attr("class","value").text((function(t){var e,n;return t.children?null:null!==(n=null===(e=null==t?void 0:t.data)||void 0===e?void 0:e.formattedValue)&&void 0!==n?n:g(t.value)})),u.append("div").attr("class","desc").text((function(t){return t.children?null:t.data.name})),u.merge(a).attr("data-small",(function(t){return r(t)<40||i(t)<32||null})).style("left",(function(t){return t.x0+"px"})).style("top",(function(t){return t.y0+"px"})).style("width",(function(t){return Math.max(0,r(t)-1)+"px"})).style("height",(function(t){return Math.max(0,i(t)-1)+"px"})).style("background",(function(t){return t.children?"white":t.data.color}))}}))},u=0,c=e.item;u<c.length;u++){o(c[u])}return{draw:function(){for(var t=0,e=a;t<e.length;t++){(0,e[t])()}}}},Ue=function(t,e){var n=e&&e.financials&&e.financials.filter((function(t){return t.items.length>0})),r=t.isReverseChronology();if(!(n&&n.length>0&&n[0].items.length>0))throw new Error("no data available");for(var i=(0,x.A)(t.container).append("table").attr("class","ui bizq very compact celled small unstackable striped selectable table"),a=i.append("thead").append("tr"),o=i.append("tbody"),u=i.append("tfoot").append("tr"),c={},s=0,l=n;s<l.length;s++){var f=l[s];f.itemsById={};for(var h=0,d=f.items;h<d.length;h++){var p=d[h];f.itemsById[p.id]=p,c[p.id]=p}}var v=n[n.length-1];r&&n.reverse(),a.append("th").attr("class","first").text(t.stringValue("title")).append("a").attr("href",e.csvUrl).attr("download","download").attr("title","CSV/Excel Download").classed("screen-only",!0).append("i").attr("class","download icon");for(var g=0,m=n;g<m.length;g++){var w=m[g];a.append("th").text(w.formattedDate)}for(var A in c){var _=o.append("tr").attr("class","active-on-hover"),M=c[A];_.append("td").text(M.name);for(var k=0,T=n;k<T.length;k++){var O=T[k].itemsById[A],S=_.append("td");if(O){var P=O.value>=0?"pos":"neg",C=O.formattedValue;S.append("span").attr("class",P+" value").text(C),O.estimate&&S.append("a").attr("href","javascript:void()").attr("title",t.trilingual("Unsafe value (estimation or indirect determination)","Indirekte oder unsichere Bestimmungsmethode","Valeur non sûre (estimation ou détermination indirecte)")).html(" *&nbsp;"),O.note&&S.append("span").attr("class","note").text(O.note)}else S.append("span").text("N/A")}}if(v.source){if(v.source.auditorName){(_=o.append("tr").attr("class","active-on-hover")).append("td").text(t.trilingual("Auditor","Prüfer","Auditeur"));for(var D=0,E=n;D<E.length;D++){var N=E[D],j=N.source&&N.source.auditorName;(S=_.append("td")).append("span").attr("class","auditor value").text(j||"N/A")}}if(v.source&&v.source.publicationDate){(_=o.append("tr").attr("class","active-on-hover")).append("td").text(t.trilingual("Publication date","Veröffentlichungs­datum","Date de publication"));for(var L=0,R=n;L<R.length;L++){var F=R[L],I=F.source&&F.source.publicationDate;(S=_.append("td")).append("span").attr("class","date value").text(I?t.i18n().dateFormatter(new Date(I)):"N/A")}}u.append("th").text(t.trilingual("Source","Quelle","Source"));for(var U=t.handlerValue("sourceClick"),H=function(t){var e=u.append("th");e.html(t.note.html),U&&e.select("a").attr("href","javascript:void(0);").on("click",(function(){b.f0.preventDefault(),U(t.source)}))},q=0,B=n;q<B.length;q++){H(B[q])}}return y},He=function(t,e){if(e.children)return Ce(t,e);var n,r="orgchart"==e.type,i=t.container;if(e.html)return i.innerHTML=e.html,ke((0,x.A)(i).selectAll(".link"),".desc",".desc-bg",3,3,1e3),Se(t,(0,x.A)(i).select("svg"),!1),{draw:function(){}};if(!e.nodes||e.nodes.length<2)throw new Error("graph empty or single node");for(var a={},o=e.nodes.length,u=!1,c=0,s=e.nodes;c<s.length;c++){var l=s[c];l.root&&(n=l),l.warning&&(u=!0),a[l.id]=l}for(var f=0,h=e.links;f<h.length;f++){var d=h[f];d.source=a[d.source],d.target=a[d.target],d.source&&d.target||nn.log("error","broken link: ",d)}var p=(0,x.A)(i).append("svg").attr("width","100%").attr("height","100%").attr("aria-label",$("Network","Netzwerk","Réseau")),v=p.append("g").attr("class","nodes").selectAll(".link").data(e.links),g=p.append("g").attr("class","legend");r||(g.append("line").attr("data-old",!1),g.append("line").attr("data-old",!0)),u&&g.append("line").attr("data-warn",!0),g.append("text").attr("data-old",!1).text(t.trilingual("currently","aktuell","actuel")),g.append("text").attr("data-old",!0).text(t.trilingual("previously","vormals","auparavant")),u&&g.append("text").attr("data-warn",!0).text(t.trilingual("politically exposed","politisch exponiert","politiquement exposé"));var y=v.enter().append("g").attr("class","link").attr("data-source-id",(function(t){return t.source.id})).attr("data-target-id",(function(t){return t.target.id})).attr("data-head",(function(t){return t.head})).attr("data-tail",(function(t){return t.tail})).attr("data-old",(function(t){return t.old})).attr("data-warn",(function(t){return t.warn})).attr("data-length",(function(t){return t.length})).attr("data-helper",(function(t){return t.helper}));if(r)for(var m=0;m<3;++m)y.append("line").attr("class","line").attr("class","segment"+m).attr("stroke-width",1).attr("stroke","#000000");else y.append("line").attr("class","line").attr("stroke-width",1).attr("stroke","#000000").attr("stroke-dasharray",(function(t){return function(t){return"SameAddress"==t.type?"3, 3":"CommonFiling"==t.type?"6, 6":void 0}(t)}));y.append("rect").attr("class","desc-bg"),y.append("text").attr("class","desc").attr("text-anchor","middle").text((function(t){return t.text})),y.append("path").attr("class","head").attr("d",Me(12)),y.append("path").attr("class","tail").attr("d",Me(12));var b=Oe(t,p,e.nodes,n.id,!1),w=0,A=!0,k=function(){if(!A&&w++%3==0){var t=i.getBoundingClientRect(),n=t.width,a=t.height,u=(0,ot.extent)(e.nodes,(function(t){return t.x})),c=(0,ot.extent)(e.nodes,(function(t){return t.y})),s=[100,n-100],l=r?c:[40,(2==o?120:a)-60],f=H(u),h=H(s),d=H(c),v=H(l),g=U(u,s),m=U(c,l),x=2==o?2:1.1*e.diameter;g=Math.min(g,m*x),2==o&&(m=0,g*=2,M(i,120));var _=function(t){return(t-f)*g+h},k=function(t){return(t-d)*m+v},T=function(t){return _(t.source.x)},O=function(t){return _(t.target.x)},S=function(t){return k(t.source.y)},P=function(t){return k(t.target.y)},C=function(t){return O(t)-T(t)},D=function(t){return P(t)-S(t)},E=function(t){return(O(t)-T(t))/2},N=function(t){return(P(t)-S(t))/2},j=function(t){return 180/Math.PI*Math.atan2(D(t),C(t))};y.attr("transform",(function(t){return"translate("+T(t)+" "+S(t)+")"})),y.select("line").attr("x1",0).attr("y1",0).attr("x2",C).attr("y2",D),y.select(".segment0").attr("x1",0).attr("y1",0).attr("x2",0).attr("y2",N),y.select(".segment1").attr("x1",0).attr("y1",N).attr("x2",C).attr("y2",N),y.select(".segment2").attr("x1",C).attr("y1",N).attr("x2",C).attr("y2",D);var L=function(t){return"rotate("+function(t){var e=180/Math.PI*Math.atan2(D(t),C(t));return e>90&&e<270?e-=180:e<-90&&e>-270&&(e+=180),e}(t)+" "+E(t)+" "+N(t)+" ) translate(0 -7)"};if(y.select(".desc").attr("x",E).attr("y",N).attr("transform",L),y.select(".desc-bg").attr("x",E).attr("y",N).attr("transform",L),!r){y.select(".tail").attr("transform",(function(t){return"rotate("+j(t)+") translate("+"20 0)"})),y.select(".head").attr("transform",(function(t){return"translate("+function(t){return C(t)+0}(t)+" "+function(t){return D(t)+0}(t)+") rotate("+(180+j(t))+") translate("+"20 0)"}))}var R=l[1]+20,F=R-18,I=R+18;p.selectAll(".legend line").attr("x1",50).attr("x2",90),p.selectAll(".legend line[data-old='false'").attr("y1",F).attr("y2",F),p.selectAll(".legend line[data-old='true'").attr("y1",R).attr("y2",R),p.selectAll(".legend line[data-warn='true'").attr("y1",I).attr("y2",I),p.selectAll(".legend text").attr("x",95);p.selectAll(".legend text[data-old='false'").attr("y",F+3),p.selectAll(".legend text[data-old='true'").attr("y",R+3),p.selectAll(".legend text[data-warn='true'").attr("y",I+3),ke(y,".desc",".desc-bg",3,3,1e3),b.attr("data-dx",(function(t){return _(t.x)})).attr("transform",(function(t){return"translate("+_(t.x)+","+k(t.y)+")"}))}function U(t,e){return(e[1]-e[0])/(t[1]-t[0])}function H(t){return(t[1]+t[0])/2}};return{draw:function(){var t=_(i.getBoundingClientRect()),e=t[0],n=t[1];p.attr("viewBox","0 0 "+e+" "+n),A=!1,k()}}};function qe(t){return{standard:t.toString(),light:t.brighter(1.15).toString(),bright:(0,w.KI)(t.h,1.3*t.s,.9*t.l).toString()}}var Be,Ve=n(5626),ze=n.n(Ve),We=function(t,e){for(var n=t.container,r=(t.getLinkifier(),1),i=0,a=e.event;i<a.length;i++){a[i].id=r++}var o=new Date(e.minDate),u=new Date(e.maxDate);if(!ze())throw new Error("d3kit-timeline not found in global context which is ");var c=12,s=function(t,e){for(var n=[],r=360/e+1,i=t.h,a=0;a<e;++a)t.h=(i+a*r)%360,n.push(qe(t));return n}(t.getRootColor(),c),l=qe((0,w.KI)("#888888"));function f(t){return t.old?l:s[t.cat%c]}var h=function(t){return f(t).standard},d={left:12,right:15,top:5,bottom:35};return{draw:function(){n.innerHTML="";var r=new(ze())(n,{margin:d,offset:[0,0],initialHeight:50,direction:"up",domain:[o,u],dotRadius:5,linkColor:h,dotColor:h,labelBgColor:h,layerGap:20,timeFn:function(t){return new Date(t.date)},textFn:function(t){return t.text},formatAxis:function(e){var n=u.getFullYear()-o.getFullYear();return e.tickFormat(t.i18n().timeScaleFormatter).tickSizeInner(8).tickSizeOuter(10).ticks(n<=4?2*n:void 0)}});function i(){r.fit().options({labella:{maxPos:r.width()-(d.left+d.right)}}).updateDimensionNow().resizeToFit().updateDimensionNow();var t=r.layers.get("main/axis").selectAll("g.tick");r.width()/t.size()<=32&&t.each((function(t,e){if(e%2==0){var n=(0,x.A)(this),r=n.select("text"),i=n.select("line");r.attr("y",Number(r.attr("y"))+10),i.attr("y2",Number(i.attr("y2"))+10)}}))}r.off("data").off("options"),r.chartRoot.style("line-height",null),r.container.style("line-height",null),r.svg.insert("title",":first-child").text(e.title),r.data(e.event),i(),r.layers.get("main/axis").attr("font-family",null).attr("font-size",null),r.layers.get("main/label").selectAll("g.label-g").each((function(){var t=(0,x.A)(this).selectAll(".label-g > *").remove(),e=(0,x.A)(this).append("svg:a").attr("class",(function(t){return t.data.class})).attr("xlink:href",(function(t){return t.data.href})).attr("xlink:title",(function(t){return t.data.desc}));e.append("title").text((function(t){return t.data.desc})),t.each((function(){var t=this;e.append((function(){return t}))}))}));var a=t.handlerValue("publicationClick"),c="function"==typeof a;(0,x.A)(n).selectAll(".label-g").attr("data-clickable",(function(e){return!(!c&&!t.getClickHandler("h"))||null})).on("click",(function(e){t.invokeClickHandler(e.data)?b.f0.preventDefault():a&&(a(e.data.query),b.f0.preventDefault())})).on("mouseenter touchstart",(function(t){if(b.f0.target){var e=f(t.data);(0,x.A)(b.f0.target).select("rect").style("fill",e.bright);var r=t.data.id;(0,x.A)(n).selectAll(".link-layer path").filter((function(t){return t.data.id===r})).attr("data-highlighted",!0);var i=t.data.query&&t.data.query.id;i&&(0,A.A)("[data-publication-id='"+i+"']").style("background-color",e.light)}})).on("mouseleave touchend",(function(t){if(b.f0.target){var e=f(t.data);(0,x.A)(b.f0.target).select("rect").style("fill",e.standard),(0,x.A)(n).selectAll(".link-layer path").attr("data-highlighted",!1);var r=t.data.query&&t.data.query.id;r&&(0,A.A)("[data-publication-id='"+r+"']").style("background-color",null)}}));var s=!0;return function(){s||i(),s=!1}}()}},Ye=function(t,e){if(e){var n=t.handlerValue("load");n&&n(e)}return y},Ge=function(t,e){var n=function(t){var e;return null===(e=function(t){return t?new Date(t):null}(t))||void 0===e?void 0:e.toLocaleDateString()},r=(0,x.A)(t.container).append("table").attr("class","ui bizq very compact celled small unstackable striped table"),i=r.append("tbody");nn.debug("data",e);for(var a=0,o=["current","former"];a<o.length;a++){"former"==o[a]&&i.append("tr").append("td").attr("class","first").attr("colspan",2).text("Vormals");for(var u=0,c=e.current;u<c.length;u++){var s=c[u];nn.debug("group",s);var l=s.name,f=s.entries;i.append("tr").append("td").attr("class","first").attr("colspan",2).text(l);for(var h=0,d=f;h<d.length;h++){var p=d[h];nn.debug("entry",p);var v=i.append("tr"),g=p.person,m=v.append("td").append("span").text(g.name).attr("class","person");for(var b in g.query)m.attr(b,g.query[b]);for(var w=v.append("td"),A=0,_=p.chunks;A<_.length;A++){var M=_[A],k=void 0;!M.start&&M.end?k="bis "+n(M.end):M.start&&!M.end?k="seit "+n(M.start):M.start&&M.end&&(k=n(M.start)+" – "+n(M.end)),w.append("span").text(k)}}}}return t.markup(r),y};function Je(t){if(t){Be=document.querySelectorAll("button:not([disabled])");for(var e=0;e<Be.length;++e)Be[e].disabled=!0}else if(Be)for(e=0;e<Be.length;++e)Be[e].disabled=!1;document.body.classList.toggle("waiting",t)}var Xe=function(t,e){return T("click",t.container,"*",(function(){Je(!0);var e=new XMLHttpRequest;function n(t){nn.log("error","cannot list pubs",t)}return e.open("POST","/_api/shop/v1/products"),e.setRequestHeader("Content-Type","application/json"),e.onerror=function(t){Je(!1),n(t)},e.onload=function(){Je(!1),nn.debug(e.status),e.status>=400&&n(e.responseText||e.statusText),nn.debug("ok",e.responseText);var t=JSON.parse(e.responseText);nn.debug("data",t)},e.send(JSON.stringify(t.options)),!1})),y},$e=function(t,e){var n=(0,x.A)(t.container).selectAll(".publication").data(e.publications).enter().append("div").attr("class","pub").attr("data-publication-id",(function(t){return t.id})),r=n.append("h2");return r.append("span").attr("class","icon").text((function(t){return t.internal.icon})),r.append("span").attr("class","date").text((function(t){return t.internal.formattedDate})),r.append("a").attr("href","#").html((function(t){return t.internal.htmlTitle})).on("click",(function(){var t,e,n,r=b.f0,i=r.target;null===(n=null===(e=null===(t=null==i?void 0:i.parentElement)||void 0===t?void 0:t.parentElement)||void 0===e?void 0:e.classList)||void 0===n||n.toggle("expanded"),r.preventDefault()})),n.append("div").attr("class","text").html((function(t){return t.html})),t.markup(n),y},Ze=function(t,e){var n=(0,x.A)(t.container),r=n.append("ul").attr("class","search-results"),i=e.cursor;function a(t){var e,n={},r=t.subject,i=r.name[0].name,a=r.address&&r.address[0],o=a&&a.city,u={query:n,address:a,name:i,details:t.formattedDetails},c=r.tag;switch(c&&c.terminated&&(u.terminated=!0),t.targetType){case"Company":u.type="c",n.address=o,n.name=i;var s=r.register&&r.register[0];s&&s.id&&(s.city&&(n.registerCity=s.city),n.registerId=s.id);break;case"Person":u.type="p";var l=i.split(",");n.lastName=l[0],n.firstName=(e=l[1])?e.trim():e,n.birthDate=r.birthDate,n.address=o,n.address&&n.birthDate||(n.id=t.targetId)}return u}var o=n.append("div").attr("class","more"),u=o.append("p"),c=o.append("a").attr("href","#").on("click",(function(){var e=b.f0,n=g(t.options,{offset:c.attr("data-offset"),position:c.attr("data-position")});D.requestData(n,(function(t){h(t)}),t.fail.bind(t)),e.preventDefault()})),s=0==i.items.length,l=t.handlerValue("noResults"),f=t.handlerValue("oneResult");function h(e){for(var n=e.cursor,i=0,s=n.items;i<s.length;i++){var l=s[i],f=a(l),h=f.query,d=h.address,p=h.name;p||(p=h.lastName+", "+h.firstName),d&&(p+=", "+d);var v=r.append("li").attr("class","search-result");v.append("span").attr("class","icon").text("Company"==l.targetType?"":"");var g=v.append("div").attr("class","body"),y=g.append("a").attr("href",document.location.pathname+"?"+S(h)).text(p).on("click",(function(){var n=b.f0;t.invokeClickHandler(e)&&n.preventDefault()}));if(f.terminated){y.append("sup").attr("title","erloschen").text("✝︎")}g.append("div").attr("class","detail").text(f.detail);for(var m=0,w=l.formattedDetails;m<w.length;m++){var x=w[m];g.append("div").attr("class","detail").text(x)}}o.attr("data-total",n.total);var A=Number(n.offset+n.items.length).toLocaleString();n.total?A+=" Resultate von "+Number(n.total).toLocaleString()+" insgesamt.":A+=" Resultate.",u.text(A),c.text(n.lastPage?"":"Weitere Resultate anzeigen").attr("data-offset",n.offset+n.limit).attr("data-position",e.properties.nextPosition)}return s?l?l():n.append("p").text("Keine Resultate zu dieser Suche."):1==i.items.length&&f?f(a(i.items[0])):h(e),y};var Qe,Ke=function(t,e){if(!e.sheet)throw new Error("no data");for(var n=function(e){if(!e){var n=t.stringValue("subject")||"assets";throw new Error("no data for subject '"+n+"'")}var r=e.column,i=e.row,l=t.isReverseChronology(),f=t.numberValue("maxYears")||5;l&&r.reverse();var h=function(t){return l?t<f:t>=r.length-f};if(r.length<=0)return"break";var d,p=r[0].currency,v=1,g=p.unit,y=t.i18n().numberFormatter;if(p){for(var m=0,w=0,A=0,_=0,M=i;_<M.length;_++)for(var k=0,T=M[_].cell;k<T.length;k++){var O=T[k];if(d=O.value,!isNaN(parseFloat(d))&&isFinite(d)){var S=Math.abs(O.value);S>1e5&&(++A,S>1e7&&(++w,S>1e10&&++m))}}var P=m>=5,C=w>=5;if(A<5&&(y=t.i18n().decimalFormatter),C){"EUR"==g&&(g="€"),"USD"==g&&(g="$"),"GBP"==g&&(g="£");var D=$("K","Tsd. ","K");if(v=1e3,P){v=1e6;$("M","Mio. ","M")}1==D.length&&1==g.length&&(g=" "+g),g=D+g}}var E=document.createElement("table"),N=(0,x.A)(E).attr("class","ui bizq very compact celled small unstackable selectable table"),j=N.append("thead").append("tr"),L=j.append("th").attr("class","first");L.text(g),L.append("a").attr("href",e.info.csvUrl).attr("download","download").attr("title","CSV/Excel Download").classed("screen-only",!0).append("i").attr("class","download icon"),r.forEach((function(e,n){h(n)&&j.append("th").text(e.date?t.i18n().dateFormatter(e.date):"").attr("data-col",r.length-n).attr("data-source-title",e.info.publication.title).attr("data-source-date",e.info.publication.date)}));var R=function(t,e){return t&&t.semantics&&t.semantics.indexOf(e)>=0},F=N.append("tbody");i.forEach((function(e){var n,i;if(!R(e,"HELPER")){var f=0,d=t.isPrint()?2:1,p=e.level&&e.level.value,g=p<d?"expanded":"closed";p>d&&(g+=" hidden");var m=(0,x.A)(document.createElement("tr")).attr("class",g+" active-on-hover").attr("data-row",e.info&&e.info.id).attr("data-level",p).attr("data-parent-row",e.info?e.info.parentId:null).attr("data-child-count",(function(){return e.info&&"number"==typeof e.info.childCount&&e.info.childCount>0?e.info.childCount:null})).attr("data-summary",function(t){return R(t,"SUMMARY")}(e)).attr("data-custom",function(t){return R(t,"CUSTOM")}(e)).on("click",(function(){var t=b.f0;!function(t){var e=u(t);e.classed(a)?s(t):function(t){var e=u(t);e.classed(o,!1).classed(a,!0),c(e).classed("hidden",!1)}(t)}(t&&t.target),t.preventDefault()}));m.append("td").attr("class","first").text(null!==(n=e.text)&&void 0!==n?n:e.name),l&&e.cell.reverse(),e.cell.forEach((function(t,e){if(h(e)){var n=void 0===t.value?"":y(t.value/v);n&&f++,m.append("td").attr("data-col",r.length-e).text(n)}})),f>0?F.node().appendChild(m.node()):(null===(i=e.info)||void 0===i?void 0:i.parentId)&&F.select('tr[data-row="'+e.info.parentId+'"][data-child-count]').attr("data-child-count",(function(){var t=parseInt((0,x.A)(this).attr("data-child-count"))-1;return t>0?t:null}))}}));var I=N.append("tfoot").append("tr");I.append("th").attr("class","first").text(t.trilingual("Source","Quelle","Source"));var U=t.handlerValue("sourceClick");r.forEach((function(t,e){if(h(e)){var n=I.append("th").attr("data-col",r.length-e);if(n.html(t.info.noteHtml),U){var i=t.info.publication,a="string"==typeof t.info.source?[t.info.source]:t.info.source;n.select("a").attr("href","javascript:void(0);").on("click",(function(){b.f0.preventDefault(),U({publication:i,source:a})}))}}})),E.setAttribute("data-item",e.info.item),t.showItem(void 0,E)},r=0,i=e.sheet;r<i.length;r++){if("break"===n(i[r]))break}var a="expanded",o="closed";function u(t){var e=(0,x.A)(t);return t.matches("tr")?e:k(e,"tr")}function c(t){var e=0==t.size()?"?":t.attr("data-row");return k(t,"table").selectAll("[data-parent-row='"+e+"']")}function s(t){var e=u(t);e.classed(o,!0).classed(a,!1),c(e).classed("hidden",!0).each((function(){s(this)}))}return y},tn=function(t,e){var n=t.container,r=t.i18n().timeScaleFormatter,i=12,a=15,o=0,u=18,c=12.78,s=e.lines;if(!s||!s.length)throw new Error("vita empty");var l=s.length,f=o+23*l+5,h=new Date(e.startDate).getTime(),d=new Date(e.endDate).getTime(),p=function(t){return t?new Date(t):null},v=(0,x.A)(t.container).append("svg");v.append("title").text($("History","Historie","Historique"));t.getLinkifier();return{draw:function(){v.select("g").remove();var e=v.append("g"),l=n.getBoundingClientRect().width;v.attr("width",l);var g=function(){for(var t=[],n=0,r=s;n<r.length;n++)for(var i=r[n],a=0,o=i.bars;a<o.length;a++){var u=o[a];t.push(u.role.abbr),t.push(u.role.abbr+" "+i.text)}var c={};return e.selectAll(".textWidthDummy").data(t).enter().append("text").text((function(t){return t})).each((function(t){c[t]=this.getComputedTextLength(),this.remove()})),c}(),y=function(t,e,n){if(e){var r=t+" "+e,i=g[r];if(void 0!==i&&n-8>i)return{text:r,width:i,containsSuffix:!0}}var a=g[t];return void 0!==a&&n>a?{text:t,width:a}:{text:"…",width:0}},m=Yt().domain([h,d]).range([i,l-a]);(function(){if(l>=600)return!0;for(var t=2592e6,e=0,n=s;e<n.length;e++)for(var r=0,i=n[e].bars;r<i.length;r++){var a=i[r],o=p(a.assumedStart),u=p(a.end)||new Date;if(!o)return!0;if(Math.abs(o.getTime()-h)<t||Math.abs(d-u.getTime())<t)return!0}return!1})()&&(m=m.nice());var w=(0,Gt.axisBottom)(m).tickFormat(r).tickSizeInner(8).tickSizeOuter(10).ticks(Math.min(l/100,10));e.append("g").attr("class","axis").attr("transform","translate(0,"+f+")").call(w).attr("font-size",null).attr("font-family",null),e.append("g").attr("class","axis grid").attr("transform","translate(0,"+f+")").call(w.tickSizeInner(-f).tickSizeOuter(0)).call((function(t){return t.selectAll(".tick text").remove()}));for(var x=i,A=l-a,_=0,M=0,k=s;M<k.length;M++){var T=k[M],O=o+23*_+5,S=O+13.5-1,P=(O+(O+u))/2;e.append("line").attr("x1",x).attr("x2",A).attr("y1",P).attr("y2",P).attr("class","grid");for(var C=T.bars.length,D=0,E=!1,N=0,j=0,L=function(n){var r=p(n.assumedStart),a=p(n.end)||new Date,o=r?m(r):i+c,s=!n.start;s&&(o+=c);var l=m(a);n.openEnded&&n.end&&(l=Math.max(o,l-c));var f=l-o,h=o+f/2;f<10&&(s&&!n.openEnded?h-=3:n.openEnded&&!s&&(h+=3));var d=y(n.role.abbr,E?void 0:T.text,f);if(d.containsSuffix&&(E=!0),0==D){var v=s?o-c:o,g=d.width?Math.min(h-d.width/2,v):v;N=g-x-2}if(D==C-1){var w=n.openEnded?l+c:l;g=d.width?Math.max(h+d.width/2,w):w;j=A-g-2}var _=e.append("svg:a").attr("xlink:href",n.url||"").attr("xlink:title",n.title).attr("data-old",!!n.end||null).attr("data-clickable",(function(){return!!t.getClickHandler("p")||null})).on("click",(function(){var e=b.f0;t.invokeClickHandler(n)&&e.preventDefault()}));if(_.append("title").text(n.title),s){var M=[(R=o)+","+(k=O),R+","+(P=O+u),(L=o-c)+","+(k+P)/2];_.append("polygon").attr("points",M.join(" ")).attr("class","in c"+n.role.cat)}if(n.openEnded){var k,P,L=l,R=Math.min(c+L,A);M=[L+","+(k=O),L+","+(P=O+u),R+","+(k+P)/2];_.append("polygon").attr("points",M.join(" ")).attr("class","out c"+n.role.cat)}_.append("rect").attr("x",o).attr("y",O).attr("width",f).attr("height",u).attr("class","c"+n.role.cat),_.append("text").attr("x",h).attr("y",S).attr("class","label-text c"+n.role.cat).text(d.text),++D},R=0,F=T.bars;R<F.length;R++){L(F[R])}E||(N>j?N>200&&e.append("text").attr("x",x+N).attr("y",S).attr("class","left extra").text(T.text):j>200&&e.append("text").attr("x",A-j).attr("y",S).attr("class","right extra").text(T.text)),++_}var I=new Date,U="Heute, "+function(t){return t?t.toLocaleDateString():""}(I),H=m(I),q=e.append("svg:a").attr("xlink:title",U);q.append("title").text(U),q.append("line").attr("class","today").attr("x1",H).attr("y1",0).attr("x2",H).attr("y2",f+15),v.attr("height",f+30)}}},en=function(t,e,n){if(n||2===arguments.length)for(var r,i=0,a=e.length;i<a;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))};!function(t){function e(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];t.options.__debug&&console[e].apply(console,n)}t.Widget=nt,t.version="1.214.10",t.options={dataDomain:"",detectDataDomain:!0,__debug:!0},t.initialize=function(e){var n,r;t.options.__debug=!1,void 0===e?(t.options.dataDomain="https://www.northdata.de",t.options.detectDataDomain=!1):(t.options.dataDomain=null!==(n=e.dataDomain)&&void 0!==n?n:t.options.dataDomain,t.options.detectDataDomain=null!==(r=e.detectDataDomain)&&void 0!==r?r:t.options.detectDataDomain)},t.debug=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];e.apply(void 0,en(["info"],t,!1))},t.log=e,g(m,{barChart:Jt,drillDown:Ie,graph:He,dendrogram:Ce,history:We,vita:tn,pubTable:$e,pubShop:Xe,personTable:Ge,sheet:Ke,financials:Ue,contact:Xt,overview:Ye,searchResults:Ze})}(Qe||(Qe={}));var nn=Qe,rn={Widget:Qe.Widget,version:Qe.version,initialize:Qe.initialize},an={NorthData:rn,Bizq:rn}}(),r=r.default}()}));
3
3
  //# sourceMappingURL=viz.min.js.map