!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("mitchTree",[],e):"object"==typeof exports?exports.mitchTree=e():(t.d3=t.d3||{},t.d3.mitchTree=e())}(this,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="./dist",n(n.s="./src/index.js")}({"./node_modules/d3-array/src/array.js": /*!********************************************!*\ !*** ./node_modules/d3-array/src/array.js ***! \********************************************/ /*! exports provided: slice, map */function(t,e,n){"use strict";n.r(e),n.d(e,"slice",function(){return o}),n.d(e,"map",function(){return i});var r=Array.prototype,o=r.slice,i=r.map},"./node_modules/d3-array/src/ascending.js": /*!************************************************!*\ !*** ./node_modules/d3-array/src/ascending.js ***! \************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t,e){return te?1:t>=e?0:NaN}},"./node_modules/d3-array/src/bisect.js": /*!*********************************************!*\ !*** ./node_modules/d3-array/src/bisect.js ***! \*********************************************/ /*! exports provided: bisectRight, bisectLeft, default */function(t,e,n){"use strict";n.r(e),n.d(e,"bisectRight",function(){return u}),n.d(e,"bisectLeft",function(){return s});var r=n(/*! ./ascending */"./node_modules/d3-array/src/ascending.js"),o=n(/*! ./bisector */"./node_modules/d3-array/src/bisector.js"),i=Object(o.default)(r.default),u=i.right,s=i.left;e.default=u},"./node_modules/d3-array/src/bisector.js": /*!***********************************************!*\ !*** ./node_modules/d3-array/src/bisector.js ***! \***********************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./ascending */"./node_modules/d3-array/src/ascending.js");e.default=function(t){var e;return 1===t.length&&(e=t,t=function(t,n){return Object(r.default)(e(t),n)}),{left:function(e,n,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r>>1;t(e[i],n)<0?r=i+1:o=i}return r},right:function(e,n,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r>>1;t(e[i],n)>0?o=i:r=i+1}return r}}}},"./node_modules/d3-array/src/constant.js": /*!***********************************************!*\ !*** ./node_modules/d3-array/src/constant.js ***! \***********************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t){return function(){return t}}},"./node_modules/d3-array/src/cross.js": /*!********************************************!*\ !*** ./node_modules/d3-array/src/cross.js ***! \********************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./pairs */"./node_modules/d3-array/src/pairs.js");e.default=function(t,e,n){var o,i,u,s,c=t.length,a=e.length,l=new Array(c*a);for(null==n&&(n=r.pair),o=u=0;ot?1:e>=t?0:NaN}},"./node_modules/d3-array/src/deviation.js": /*!************************************************!*\ !*** ./node_modules/d3-array/src/deviation.js ***! \************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./variance */"./node_modules/d3-array/src/variance.js");e.default=function(t,e){var n=Object(r.default)(t,e);return n?Math.sqrt(n):n}},"./node_modules/d3-array/src/extent.js": /*!*********************************************!*\ !*** ./node_modules/d3-array/src/extent.js ***! \*********************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t,e){var n,r,o,i=t.length,u=-1;if(null==e){for(;++u=n)for(r=o=n;++un&&(r=n),o=n)for(r=o=n;++un&&(r=n),oh;)p.pop(),--m;var y,v=new Array(m+1);for(i=0;i<=m;++i)(y=v[i]=[]).x0=i>0?p[i-1]:f,y.x1=i=n)for(r=n;++ir&&(r=n)}else for(;++i=n)for(r=n;++ir&&(r=n);return r}},"./node_modules/d3-array/src/mean.js": /*!*******************************************!*\ !*** ./node_modules/d3-array/src/mean.js ***! \*******************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./number */"./node_modules/d3-array/src/number.js");e.default=function(t,e){var n,o=t.length,i=o,u=-1,s=0;if(null==e)for(;++u=0;)for(e=(r=t[o]).length;--e>=0;)n[--u]=r[e];return n}},"./node_modules/d3-array/src/min.js": /*!******************************************!*\ !*** ./node_modules/d3-array/src/min.js ***! \******************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t,e){var n,r,o=t.length,i=-1;if(null==e){for(;++i=n)for(r=n;++in&&(r=n)}else for(;++i=n)for(r=n;++in&&(r=n);return r}},"./node_modules/d3-array/src/number.js": /*!*********************************************!*\ !*** ./node_modules/d3-array/src/number.js ***! \*********************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t){return null===t?NaN:+t}},"./node_modules/d3-array/src/pairs.js": /*!********************************************!*\ !*** ./node_modules/d3-array/src/pairs.js ***! \********************************************/ /*! exports provided: default, pair */function(t,e,n){"use strict";function r(t,e){return[t,e]}n.r(e),n.d(e,"pair",function(){return r}),e.default=function(t,e){null==e&&(e=r);for(var n=0,o=t.length-1,i=t[0],u=new Array(o<0?0:o);n=1)return+n(t[o-1],o-1,t);var o,i=(o-1)*e,u=Math.floor(i),s=+n(t[u],u,t);return s+(+n(t[u+1],u+1,t)-s)*(i-u)}}},"./node_modules/d3-array/src/range.js": /*!********************************************!*\ !*** ./node_modules/d3-array/src/range.js ***! \********************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t,e,n){t=+t,e=+e,n=(o=arguments.length)<2?(e=t,t=0,1):o<3?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((e-t)/n)),i=new Array(o);++r=0?(c>=r?10:c>=o?5:c>=i?2:1)*Math.pow(10,s):-Math.pow(10,-s)/(c>=r?10:c>=o?5:c>=i?2:1)}function s(t,e,n){var u=Math.abs(e-t)/Math.max(0,n),s=Math.pow(10,Math.floor(Math.log(u)/Math.LN10)),c=u/s;return c>=r?s*=10:c>=o?s*=5:c>=i&&(s*=2),e0)return[t];if((r=e0)for(t=Math.ceil(t/s),e=Math.floor(e/s),i=new Array(o=Math.ceil(e-t+1));++c1)return a/(u-1)}},"./node_modules/d3-array/src/zip.js": /*!******************************************!*\ !*** ./node_modules/d3-array/src/zip.js ***! \******************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./transpose */"./node_modules/d3-array/src/transpose.js");e.default=function(){return Object(r.default)(arguments)}},"./node_modules/d3-collection/src/entries.js": /*!***************************************************!*\ !*** ./node_modules/d3-collection/src/entries.js ***! \***************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t){var e=[];for(var n in t)e.push({key:n,value:t[n]});return e}},"./node_modules/d3-collection/src/index.js": /*!*************************************************!*\ !*** ./node_modules/d3-collection/src/index.js ***! \*************************************************/ /*! exports provided: nest, set, map, keys, values, entries */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./nest */"./node_modules/d3-collection/src/nest.js");n.d(e,"nest",function(){return r.default});var o=n(/*! ./set */"./node_modules/d3-collection/src/set.js");n.d(e,"set",function(){return o.default});var i=n(/*! ./map */"./node_modules/d3-collection/src/map.js");n.d(e,"map",function(){return i.default});var u=n(/*! ./keys */"./node_modules/d3-collection/src/keys.js");n.d(e,"keys",function(){return u.default});var s=n(/*! ./values */"./node_modules/d3-collection/src/values.js");n.d(e,"values",function(){return s.default});var c=n(/*! ./entries */"./node_modules/d3-collection/src/entries.js");n.d(e,"entries",function(){return c.default})},"./node_modules/d3-collection/src/keys.js": /*!************************************************!*\ !*** ./node_modules/d3-collection/src/keys.js ***! \************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t){var e=[];for(var n in t)e.push(n);return e}},"./node_modules/d3-collection/src/map.js": /*!***********************************************!*\ !*** ./node_modules/d3-collection/src/map.js ***! \***********************************************/ /*! exports provided: prefix, default */function(t,e,n){"use strict";n.r(e),n.d(e,"prefix",function(){return r});var r="$";function o(){}function i(t,e){var n=new o;if(t instanceof o)t.each(function(t,e){n.set(e,t)});else if(Array.isArray(t)){var r,i=-1,u=t.length;if(null==e)for(;++i=c.length)return null!=t&&n.sort(t),null!=e?e(n):n;for(var s,a,d,f=-1,h=n.length,p=c[o++],m=Object(r.default)(),y=i();++fc.length)return n;var o,i=a[r-1];return null!=e&&r>=c.length?o=n.entries():(o=[],n.each(function(e,n){o.push({key:n,values:t(e,r)})})),null!=i?o.sort(function(t,e){return i(t.key,e.key)}):o}(l(t,0,u,s),0)},key:function(t){return c.push(t),n},sortKeys:function(t){return a[c.length-1]=t,n},sortValues:function(e){return t=e,n},rollup:function(t){return e=t,n}}}},"./node_modules/d3-collection/src/set.js": /*!***********************************************!*\ !*** ./node_modules/d3-collection/src/set.js ***! \***********************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./map */"./node_modules/d3-collection/src/map.js");function o(){}var i=r.default.prototype;function u(t,e){var n=new o;if(t instanceof o)t.each(function(t){n.add(t)});else if(t){var r=-1,i=t.length;if(null==e)for(;++r>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):(e=d.exec(t))?b(parseInt(e[1],16)):(e=f.exec(t))?new A(e[1],e[2],e[3],1):(e=h.exec(t))?new A(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=p.exec(t))?_(e[1],e[2],e[3],e[4]):(e=m.exec(t))?_(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=y.exec(t))?k(e[1],e[2]/100,e[3]/100,1):(e=v.exec(t))?k(e[1],e[2]/100,e[3]/100,e[4]):g.hasOwnProperty(t)?b(g[t]):"transparent"===t?new A(NaN,NaN,NaN,0):null}function b(t){return new A(t>>16&255,t>>8&255,255&t,1)}function _(t,e,n,r){return r<=0&&(t=e=n=NaN),new A(t,e,n,r)}function x(t){return t instanceof o||(t=j(t)),t?new A((t=t.rgb()).r,t.g,t.b,t.opacity):new A}function w(t,e,n,r){return 1===arguments.length?x(t):new A(t,e,n,null==r?1:r)}function A(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function O(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function k(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new B(t,e,n,r)}function S(t){if(t instanceof B)return new B(t.h,t.s,t.l,t.opacity);if(t instanceof o||(t=j(t)),!t)return new B;if(t instanceof B)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),u=Math.max(e,n,r),s=NaN,c=u-i,a=(u+i)/2;return c?(s=e===u?(n-r)/c+6*(n0&&a<1?0:s,new B(s,c,a,t.opacity)}function C(t,e,n,r){return 1===arguments.length?S(t):new B(t,e,n,null==r?1:r)}function B(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function F(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}Object(r.default)(o,j,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),Object(r.default)(A,w,Object(r.extend)(o,{brighter:function(t){return t=null==t?u:Math.pow(u,t),new A(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?i:Math.pow(i,t),new A(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},hex:function(){return"#"+O(this.r)+O(this.g)+O(this.b)},toString:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}})),Object(r.default)(B,C,Object(r.extend)(o,{brighter:function(t){return t=null==t?u:Math.pow(u,t),new B(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?i:Math.pow(i,t),new B(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,o=2*n-r;return new A(F(t>=240?t-240:t+120,o,r),F(t,o,r),F(t<120?t+240:t-120,o,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}}))},"./node_modules/d3-color/src/cubehelix.js": /*!************************************************!*\ !*** ./node_modules/d3-color/src/cubehelix.js ***! \************************************************/ /*! exports provided: default, Cubehelix */function(t,e,n){"use strict";n.r(e),n.d(e,"default",function(){return p}),n.d(e,"Cubehelix",function(){return m});var r=n(/*! ./define */"./node_modules/d3-color/src/define.js"),o=n(/*! ./color */"./node_modules/d3-color/src/color.js"),i=n(/*! ./math */"./node_modules/d3-color/src/math.js"),u=-.14861,s=1.78277,c=-.29227,a=-.90649,l=1.97294,d=l*a,f=l*s,h=s*c-a*u;function p(t,e,n,r){return 1===arguments.length?function(t){if(t instanceof m)return new m(t.h,t.s,t.l,t.opacity);t instanceof o.Rgb||(t=Object(o.rgbConvert)(t));var e=t.r/255,n=t.g/255,r=t.b/255,u=(h*r+d*e-f*n)/(h+d-f),s=r-u,p=(l*(n-u)-c*s)/a,y=Math.sqrt(p*p+s*s)/(l*u*(1-u)),v=y?Math.atan2(p,s)*i.rad2deg-120:NaN;return new m(v<0?v+360:v,y,u,t.opacity)}(t):new m(t,e,n,null==r?1:r)}function m(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}Object(r.default)(m,p,Object(r.extend)(o.Color,{brighter:function(t){return t=null==t?o.brighter:Math.pow(o.brighter,t),new m(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?o.darker:Math.pow(o.darker,t),new m(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=isNaN(this.h)?0:(this.h+120)*i.deg2rad,e=+this.l,n=isNaN(this.s)?0:this.s*e*(1-e),r=Math.cos(t),d=Math.sin(t);return new o.Rgb(255*(e+n*(u*r+s*d)),255*(e+n*(c*r+a*d)),255*(e+n*(l*r)),this.opacity)}}))},"./node_modules/d3-color/src/define.js": /*!*********************************************!*\ !*** ./node_modules/d3-color/src/define.js ***! \*********************************************/ /*! exports provided: default, extend */function(t,e,n){"use strict";function r(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}n.r(e),n.d(e,"extend",function(){return r}),e.default=function(t,e,n){t.prototype=e.prototype=n,n.constructor=t}},"./node_modules/d3-color/src/index.js": /*!********************************************!*\ !*** ./node_modules/d3-color/src/index.js ***! \********************************************/ /*! exports provided: color, rgb, hsl, lab, hcl, lch, gray, cubehelix */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./color */"./node_modules/d3-color/src/color.js");n.d(e,"color",function(){return r.default}),n.d(e,"rgb",function(){return r.rgb}),n.d(e,"hsl",function(){return r.hsl});var o=n(/*! ./lab */"./node_modules/d3-color/src/lab.js");n.d(e,"lab",function(){return o.default}),n.d(e,"hcl",function(){return o.hcl}),n.d(e,"lch",function(){return o.lch}),n.d(e,"gray",function(){return o.gray});var i=n(/*! ./cubehelix */"./node_modules/d3-color/src/cubehelix.js");n.d(e,"cubehelix",function(){return i.default})},"./node_modules/d3-color/src/lab.js": /*!******************************************!*\ !*** ./node_modules/d3-color/src/lab.js ***! \******************************************/ /*! exports provided: gray, default, Lab, lch, hcl, Hcl */function(t,e,n){"use strict";n.r(e),n.d(e,"gray",function(){return p}),n.d(e,"default",function(){return m}),n.d(e,"Lab",function(){return y}),n.d(e,"lch",function(){return x}),n.d(e,"hcl",function(){return w}),n.d(e,"Hcl",function(){return A});var r=n(/*! ./define */"./node_modules/d3-color/src/define.js"),o=n(/*! ./color */"./node_modules/d3-color/src/color.js"),i=n(/*! ./math */"./node_modules/d3-color/src/math.js"),u=.96422,s=1,c=.82521,a=4/29,l=6/29,d=3*l*l,f=l*l*l;function h(t){if(t instanceof y)return new y(t.l,t.a,t.b,t.opacity);if(t instanceof A){if(isNaN(t.h))return new y(t.l,0,0,t.opacity);var e=t.h*i.deg2rad;return new y(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}t instanceof o.Rgb||(t=Object(o.rgbConvert)(t));var n,r,a=b(t.r),l=b(t.g),d=b(t.b),f=v((.2225045*a+.7168786*l+.0606169*d)/s);return a===l&&l===d?n=r=f:(n=v((.4360747*a+.3850649*l+.1430804*d)/u),r=v((.0139322*a+.0971045*l+.7141733*d)/c)),new y(116*f-16,500*(n-f),200*(f-r),t.opacity)}function p(t,e){return new y(t,0,0,null==e?1:e)}function m(t,e,n,r){return 1===arguments.length?h(t):new y(t,e,n,null==r?1:r)}function y(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}function v(t){return t>f?Math.pow(t,1/3):t/d+a}function g(t){return t>l?t*t*t:d*(t-a)}function j(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function b(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function _(t){if(t instanceof A)return new A(t.h,t.c,t.l,t.opacity);if(t instanceof y||(t=h(t)),0===t.a&&0===t.b)return new A(NaN,0,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*i.rad2deg;return new A(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function x(t,e,n,r){return 1===arguments.length?_(t):new A(n,e,t,null==r?1:r)}function w(t,e,n,r){return 1===arguments.length?_(t):new A(t,e,n,null==r?1:r)}function A(t,e,n,r){this.h=+t,this.c=+e,this.l=+n,this.opacity=+r}Object(r.default)(y,m,Object(r.extend)(o.Color,{brighter:function(t){return new y(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker:function(t){return new y(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb:function(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=u*g(e),t=s*g(t),n=c*g(n),new o.Rgb(j(3.1338561*e-1.6168667*t-.4906146*n),j(-.9787684*e+1.9161415*t+.033454*n),j(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),Object(r.default)(A,w,Object(r.extend)(o.Color,{brighter:function(t){return new A(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker:function(t){return new A(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb:function(){return h(this).rgb()}}))},"./node_modules/d3-color/src/math.js": /*!*******************************************!*\ !*** ./node_modules/d3-color/src/math.js ***! \*******************************************/ /*! exports provided: deg2rad, rad2deg */function(t,e,n){"use strict";n.r(e),n.d(e,"deg2rad",function(){return r}),n.d(e,"rad2deg",function(){return o});var r=Math.PI/180,o=180/Math.PI},"./node_modules/d3-dispatch/src/dispatch.js": /*!**************************************************!*\ !*** ./node_modules/d3-dispatch/src/dispatch.js ***! \**************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r={value:function(){}};function o(){for(var t,e=0,n=arguments.length,r={};e=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,a=i.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++c0)for(var n,r,o=new Array(n),i=0;i_}g.mouse("drag")}function O(){Object(o.select)(o.event.view).on("mousemove.drag mouseup.drag",null),Object(i.yesdrag)(o.event.view,n),Object(u.default)(),g.mouse("end")}function k(){if(p.apply(this,arguments)){var t,e,n=o.event.changedTouches,r=m.apply(this,arguments),i=n.length;for(t=0;t=0;)e+=n[r].value;else e=1;t.value=e}n.r(e),e.default=function(){return this.eachAfter(r)}},"./node_modules/d3-hierarchy/src/hierarchy/descendants.js": /*!****************************************************************!*\ !*** ./node_modules/d3-hierarchy/src/hierarchy/descendants.js ***! \****************************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(){var t=[];return this.each(function(e){t.push(e)}),t}},"./node_modules/d3-hierarchy/src/hierarchy/each.js": /*!*********************************************************!*\ !*** ./node_modules/d3-hierarchy/src/hierarchy/each.js ***! \*********************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t){var e,n,r,o,i=this,u=[i];do{for(e=u.reverse(),u=[];i=e.pop();)if(t(i),n=i.children)for(r=0,o=n.length;r=0;--n)o.push(e[n]);return this}},"./node_modules/d3-hierarchy/src/hierarchy/index.js": /*!**********************************************************!*\ !*** ./node_modules/d3-hierarchy/src/hierarchy/index.js ***! \**********************************************************/ /*! exports provided: default, computeHeight, Node */function(t,e,n){"use strict";n.r(e),n.d(e,"default",function(){return p}),n.d(e,"computeHeight",function(){return v}),n.d(e,"Node",function(){return g});var r=n(/*! ./count */"./node_modules/d3-hierarchy/src/hierarchy/count.js"),o=n(/*! ./each */"./node_modules/d3-hierarchy/src/hierarchy/each.js"),i=n(/*! ./eachBefore */"./node_modules/d3-hierarchy/src/hierarchy/eachBefore.js"),u=n(/*! ./eachAfter */"./node_modules/d3-hierarchy/src/hierarchy/eachAfter.js"),s=n(/*! ./sum */"./node_modules/d3-hierarchy/src/hierarchy/sum.js"),c=n(/*! ./sort */"./node_modules/d3-hierarchy/src/hierarchy/sort.js"),a=n(/*! ./path */"./node_modules/d3-hierarchy/src/hierarchy/path.js"),l=n(/*! ./ancestors */"./node_modules/d3-hierarchy/src/hierarchy/ancestors.js"),d=n(/*! ./descendants */"./node_modules/d3-hierarchy/src/hierarchy/descendants.js"),f=n(/*! ./leaves */"./node_modules/d3-hierarchy/src/hierarchy/leaves.js"),h=n(/*! ./links */"./node_modules/d3-hierarchy/src/hierarchy/links.js");function p(t,e){var n,r,o,i,u,s=new g(t),c=+t.value&&(s.value=t.value),a=[s];for(null==e&&(e=m);n=a.pop();)if(c&&(n.value=+n.data.value),(o=e(n.data))&&(u=o.length))for(n.children=new Array(u),i=u-1;i>=0;--i)a.push(r=n.children[i]=new g(o[i])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(v)}function m(t){return t.children}function y(t){t.data=t.data.data}function v(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function g(t){this.data=t,this.depth=this.height=0,this.parent=null}g.prototype=p.prototype={constructor:g,count:r.default,each:o.default,eachAfter:u.default,eachBefore:i.default,sum:s.default,sort:c.default,path:a.default,ancestors:l.default,descendants:d.default,leaves:f.default,links:h.default,copy:function(){return p(this).eachBefore(y)}}},"./node_modules/d3-hierarchy/src/hierarchy/leaves.js": /*!***********************************************************!*\ !*** ./node_modules/d3-hierarchy/src/hierarchy/leaves.js ***! \***********************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t}},"./node_modules/d3-hierarchy/src/hierarchy/links.js": /*!**********************************************************!*\ !*** ./node_modules/d3-hierarchy/src/hierarchy/links.js ***! \**********************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e}},"./node_modules/d3-hierarchy/src/hierarchy/path.js": /*!*********************************************************!*\ !*** ./node_modules/d3-hierarchy/src/hierarchy/path.js ***! \*********************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),o=null;t=n.pop(),e=r.pop();for(;t===e;)o=t,t=n.pop(),e=r.pop();return o}(e,t),r=[e];e!==n;)e=e.parent,r.push(e);for(var o=r.length;t!==n;)r.splice(o,0,t),t=t.parent;return r}},"./node_modules/d3-hierarchy/src/hierarchy/sort.js": /*!*********************************************************!*\ !*** ./node_modules/d3-hierarchy/src/hierarchy/sort.js ***! \*********************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})}},"./node_modules/d3-hierarchy/src/hierarchy/sum.js": /*!********************************************************!*\ !*** ./node_modules/d3-hierarchy/src/hierarchy/sum.js ***! \********************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,o=r&&r.length;--o>=0;)n+=r[o].value;e.value=n})}},"./node_modules/d3-hierarchy/src/index.js": /*!************************************************!*\ !*** ./node_modules/d3-hierarchy/src/index.js ***! \************************************************/ /*! exports provided: cluster, hierarchy, pack, packSiblings, packEnclose, partition, stratify, tree, treemap, treemapBinary, treemapDice, treemapSlice, treemapSliceDice, treemapSquarify, treemapResquarify */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./cluster */"./node_modules/d3-hierarchy/src/cluster.js");n.d(e,"cluster",function(){return r.default});var o=n(/*! ./hierarchy/index */"./node_modules/d3-hierarchy/src/hierarchy/index.js");n.d(e,"hierarchy",function(){return o.default});var i=n(/*! ./pack/index */"./node_modules/d3-hierarchy/src/pack/index.js");n.d(e,"pack",function(){return i.default});var u=n(/*! ./pack/siblings */"./node_modules/d3-hierarchy/src/pack/siblings.js");n.d(e,"packSiblings",function(){return u.default});var s=n(/*! ./pack/enclose */"./node_modules/d3-hierarchy/src/pack/enclose.js");n.d(e,"packEnclose",function(){return s.default});var c=n(/*! ./partition */"./node_modules/d3-hierarchy/src/partition.js");n.d(e,"partition",function(){return c.default});var a=n(/*! ./stratify */"./node_modules/d3-hierarchy/src/stratify.js");n.d(e,"stratify",function(){return a.default});var l=n(/*! ./tree */"./node_modules/d3-hierarchy/src/tree.js");n.d(e,"tree",function(){return l.default});var d=n(/*! ./treemap/index */"./node_modules/d3-hierarchy/src/treemap/index.js");n.d(e,"treemap",function(){return d.default});var f=n(/*! ./treemap/binary */"./node_modules/d3-hierarchy/src/treemap/binary.js");n.d(e,"treemapBinary",function(){return f.default});var h=n(/*! ./treemap/dice */"./node_modules/d3-hierarchy/src/treemap/dice.js");n.d(e,"treemapDice",function(){return h.default});var p=n(/*! ./treemap/slice */"./node_modules/d3-hierarchy/src/treemap/slice.js");n.d(e,"treemapSlice",function(){return p.default});var m=n(/*! ./treemap/sliceDice */"./node_modules/d3-hierarchy/src/treemap/sliceDice.js");n.d(e,"treemapSliceDice",function(){return m.default});var y=n(/*! ./treemap/squarify */"./node_modules/d3-hierarchy/src/treemap/squarify.js");n.d(e,"treemapSquarify",function(){return y.default});var v=n(/*! ./treemap/resquarify */"./node_modules/d3-hierarchy/src/treemap/resquarify.js");n.d(e,"treemapResquarify",function(){return v.default})},"./node_modules/d3-hierarchy/src/pack/enclose.js": /*!*******************************************************!*\ !*** ./node_modules/d3-hierarchy/src/pack/enclose.js ***! \*******************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ../array */"./node_modules/d3-hierarchy/src/array.js");function o(t,e){var n,r;if(s(e,t))return[e];for(n=0;n0&&n*n>r*r+o*o}function s(t,e){for(var n=0;n(u*=u)?(r=(a+u-o)/(2*a),i=Math.sqrt(Math.max(0,u/a-r*r)),n.x=t.x-r*s-i*c,n.y=t.y-r*c+i*s):(r=(a+o-u)/(2*a),i=Math.sqrt(Math.max(0,o/a-r*r)),n.x=e.x+r*s-i*c,n.y=e.y+r*c+i*s)):(n.x=e.x+n.r,n.y=e.y)}function i(t,e){var n=t.r+e.r-1e-6,r=e.x-t.x,o=e.y-t.y;return n>0&&n*n>r*r+o*o}function u(t){var e=t._,n=t.next._,r=e.r+n.r,o=(e.x*n.r+n.x*e.r)/r,i=(e.y*n.r+n.y*e.r)/r;return o*o+i*i}function s(t){this._=t,this.next=null,this.previous=null}function c(t){if(!(a=t.length))return 0;var e,n,c,a,l,d,f,h,p,m,y;if((e=t[0]).x=0,e.y=0,!(a>1))return e.r;if(n=t[1],e.x=-n.r,n.x=e.r,n.y=0,!(a>2))return e.r+n.r;o(n,e,c=t[2]),e=new s(e),n=new s(n),c=new s(c),e.next=c.previous=n,n.next=e.previous=c,c.next=n.previous=e;t:for(f=3;f0)throw new Error("cycle");return a}return n.id=function(e){return arguments.length?(t=Object(r.required)(e),n):t},n.parentId=function(t){return arguments.length?(e=Object(r.required)(t),n):e},n}},"./node_modules/d3-hierarchy/src/tree.js": /*!***********************************************!*\ !*** ./node_modules/d3-hierarchy/src/tree.js ***! \***********************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./hierarchy/index */"./node_modules/d3-hierarchy/src/hierarchy/index.js");function o(t,e){return t.parent===e.parent?1:2}function i(t){var e=t.children;return e?e[0]:t.t}function u(t){var e=t.children;return e?e[e.length-1]:t.t}function s(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}function c(t,e,n){return t.a.parent===e.parent?t.a:n}function a(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}a.prototype=Object.create(r.Node.prototype),e.default=function(){var t=o,e=1,n=1,r=null;function l(o){var i=function(t){for(var e,n,r,o,i,u=new a(t,0),s=[u];e=s.pop();)if(r=e._.children)for(e.children=new Array(i=r.length),o=i-1;o>=0;--o)s.push(n=e.children[o]=new a(r[o],o)),n.parent=e;return(u.parent=new a(null,0)).children=[u],u}(o);if(i.eachAfter(d),i.parent.m=-i.z,i.eachBefore(f),r)o.eachBefore(h);else{var u=o,s=o,c=o;o.eachBefore(function(t){t.xs.x&&(s=t),t.depth>c.depth&&(c=t)});var l=u===s?1:t(u,s)/2,p=l-u.x,m=e/(s.x+l+p),y=n/(c.depth||1);o.eachBefore(function(t){t.x=(t.x+p)*m,t.y=t.depth*y})}return o}function d(e){var n=e.children,r=e.parent.children,o=e.i?r[e.i-1]:null;if(n){!function(t){for(var e,n=0,r=0,o=t.children,i=o.length;--i>=0;)(e=o[i]).z+=n,e.m+=n,n+=e.s+(r+=e.c)}(e);var a=(n[0].z+n[n.length-1].z)/2;o?(e.z=o.z+t(e._,o._),e.m=e.z-a):e.z=a}else o&&(e.z=o.z+t(e._,o._));e.parent.A=function(e,n,r){if(n){for(var o,a=e,l=e,d=n,f=a.parent.children[0],h=a.m,p=l.m,m=d.m,y=f.m;d=u(d),a=i(a),d&&a;)f=i(f),(l=u(l)).a=e,(o=d.z+m-a.z-h+t(d._,a._))>0&&(s(c(d,e,r),e,o),h+=o,p+=o),m+=d.m,h+=a.m,y+=f.m,p+=l.m;d&&!u(l)&&(l.t=d,l.m+=m-p),a&&!i(f)&&(f.t=a,f.m+=h-y,r=e)}return r}(e,o,e.parent.A||r[0])}function f(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function h(t){t.x*=e,t.y=t.depth*n}return l.separation=function(e){return arguments.length?(t=e,l):t},l.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],l):r?null:[e,n]},l.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],l):r?[e,n]:null},l}},"./node_modules/d3-hierarchy/src/treemap/binary.js": /*!*********************************************************!*\ !*** ./node_modules/d3-hierarchy/src/treemap/binary.js ***! \*********************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t,e,n,r,o){var i,u,s=t.children,c=s.length,a=new Array(c+1);for(a[0]=u=i=0;i=n-1){var l=s[e];return l.x0=o,l.y0=i,l.x1=u,void(l.y1=c)}var d=a[e],f=r/2+d,h=e+1,p=n-1;for(;h>>1;a[m]c-i){var g=(o*v+u*y)/r;t(e,h,y,o,i,g,c),t(h,n,v,g,i,u,c)}else{var j=(i*v+c*y)/r;t(e,h,y,o,i,u,j),t(h,n,v,o,j,u,c)}}(0,c,t.value,e,n,r,o)}},"./node_modules/d3-hierarchy/src/treemap/dice.js": /*!*******************************************************!*\ !*** ./node_modules/d3-hierarchy/src/treemap/dice.js ***! \*******************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t,e,n,r,o){for(var i,u=t.children,s=-1,c=u.length,a=t.value&&(r-e)/t.value;++s1?e:1)},n}(i.phi)},"./node_modules/d3-hierarchy/src/treemap/round.js": /*!********************************************************!*\ !*** ./node_modules/d3-hierarchy/src/treemap/round.js ***! \********************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(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)}},"./node_modules/d3-hierarchy/src/treemap/slice.js": /*!********************************************************!*\ !*** ./node_modules/d3-hierarchy/src/treemap/slice.js ***! \********************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t,e,n,r,o){for(var i,u=t.children,s=-1,c=u.length,a=t.value&&(o-n)/t.value;++sp&&(p=a),g=f*f*v,(m=Math.max(p/g,g/h))>y){f-=a;break}y=m}j.push(c={value:f,dice:l1?e:1)},n}(i)},"./node_modules/d3-interpolate/src/array.js": /*!**************************************************!*\ !*** ./node_modules/d3-interpolate/src/array.js ***! \**************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./value */"./node_modules/d3-interpolate/src/value.js");e.default=function(t,e){var n,o=e?e.length:0,i=t?Math.min(o,t.length):0,u=new Array(i),s=new Array(o);for(n=0;n=1?(n=1,e-1):Math.floor(n*e),i=t[o],u=t[o+1],s=o>0?t[o-1]:2*i-u,c=o180||n<-180?n-360*Math.round(n/360):n):Object(r.default)(isNaN(t)?e:t)}function u(t){return 1==(t=+t)?s: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):Object(r.default)(isNaN(e)?n:e)}}function s(t,e){var n=e-t;return n?o(t,n):Object(r.default)(isNaN(t)?e:t)}},"./node_modules/d3-interpolate/src/constant.js": /*!*****************************************************!*\ !*** ./node_modules/d3-interpolate/src/constant.js ***! \*****************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t){return function(){return t}}},"./node_modules/d3-interpolate/src/cubehelix.js": /*!******************************************************!*\ !*** ./node_modules/d3-interpolate/src/cubehelix.js ***! \******************************************************/ /*! exports provided: default, cubehelixLong */function(t,e,n){"use strict";n.r(e),n.d(e,"cubehelixLong",function(){return u});var r=n(/*! d3-color */"./node_modules/d3-color/src/index.js"),o=n(/*! ./color */"./node_modules/d3-interpolate/src/color.js");function i(t){return function e(n){function i(e,i){var u=t((e=Object(r.cubehelix)(e)).h,(i=Object(r.cubehelix)(i)).h),s=Object(o.default)(e.s,i.s),c=Object(o.default)(e.l,i.l),a=Object(o.default)(e.opacity,i.opacity);return function(t){return e.h=u(t),e.s=s(t),e.l=c(Math.pow(t,n)),e.opacity=a(t),e+""}}return n=+n,i.gamma=e,i}(1)}e.default=i(o.hue);var u=i(o.default)},"./node_modules/d3-interpolate/src/date.js": /*!*************************************************!*\ !*** ./node_modules/d3-interpolate/src/date.js ***! \*************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t,e){var n=new Date;return e-=t=+t,function(r){return n.setTime(t+e*r),n}}},"./node_modules/d3-interpolate/src/discrete.js": /*!*****************************************************!*\ !*** ./node_modules/d3-interpolate/src/discrete.js ***! \*****************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}},"./node_modules/d3-interpolate/src/hcl.js": /*!************************************************!*\ !*** ./node_modules/d3-interpolate/src/hcl.js ***! \************************************************/ /*! exports provided: default, hclLong */function(t,e,n){"use strict";n.r(e),n.d(e,"hclLong",function(){return u});var r=n(/*! d3-color */"./node_modules/d3-color/src/index.js"),o=n(/*! ./color */"./node_modules/d3-interpolate/src/color.js");function i(t){return function(e,n){var i=t((e=Object(r.hcl)(e)).h,(n=Object(r.hcl)(n)).h),u=Object(o.default)(e.c,n.c),s=Object(o.default)(e.l,n.l),c=Object(o.default)(e.opacity,n.opacity);return function(t){return e.h=i(t),e.c=u(t),e.l=s(t),e.opacity=c(t),e+""}}}e.default=i(o.hue);var u=i(o.default)},"./node_modules/d3-interpolate/src/hsl.js": /*!************************************************!*\ !*** ./node_modules/d3-interpolate/src/hsl.js ***! \************************************************/ /*! exports provided: default, hslLong */function(t,e,n){"use strict";n.r(e),n.d(e,"hslLong",function(){return u});var r=n(/*! d3-color */"./node_modules/d3-color/src/index.js"),o=n(/*! ./color */"./node_modules/d3-interpolate/src/color.js");function i(t){return function(e,n){var i=t((e=Object(r.hsl)(e)).h,(n=Object(r.hsl)(n)).h),u=Object(o.default)(e.s,n.s),s=Object(o.default)(e.l,n.l),c=Object(o.default)(e.opacity,n.opacity);return function(t){return e.h=i(t),e.s=u(t),e.l=s(t),e.opacity=c(t),e+""}}}e.default=i(o.hue);var u=i(o.default)},"./node_modules/d3-interpolate/src/hue.js": /*!************************************************!*\ !*** ./node_modules/d3-interpolate/src/hue.js ***! \************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./color */"./node_modules/d3-interpolate/src/color.js");e.default=function(t,e){var n=Object(r.hue)(+t,+e);return function(t){var e=n(t);return e-360*Math.floor(e/360)}}},"./node_modules/d3-interpolate/src/index.js": /*!**************************************************!*\ !*** ./node_modules/d3-interpolate/src/index.js ***! \**************************************************/ /*! exports provided: interpolate, interpolateArray, interpolateBasis, interpolateBasisClosed, interpolateDate, interpolateDiscrete, interpolateHue, interpolateNumber, interpolateObject, interpolateRound, interpolateString, interpolateTransformCss, interpolateTransformSvg, interpolateZoom, interpolateRgb, interpolateRgbBasis, interpolateRgbBasisClosed, interpolateHsl, interpolateHslLong, interpolateLab, interpolateHcl, interpolateHclLong, interpolateCubehelix, interpolateCubehelixLong, piecewise, quantize */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./value */"./node_modules/d3-interpolate/src/value.js");n.d(e,"interpolate",function(){return r.default});var o=n(/*! ./array */"./node_modules/d3-interpolate/src/array.js");n.d(e,"interpolateArray",function(){return o.default});var i=n(/*! ./basis */"./node_modules/d3-interpolate/src/basis.js");n.d(e,"interpolateBasis",function(){return i.default});var u=n(/*! ./basisClosed */"./node_modules/d3-interpolate/src/basisClosed.js");n.d(e,"interpolateBasisClosed",function(){return u.default});var s=n(/*! ./date */"./node_modules/d3-interpolate/src/date.js");n.d(e,"interpolateDate",function(){return s.default});var c=n(/*! ./discrete */"./node_modules/d3-interpolate/src/discrete.js");n.d(e,"interpolateDiscrete",function(){return c.default});var a=n(/*! ./hue */"./node_modules/d3-interpolate/src/hue.js");n.d(e,"interpolateHue",function(){return a.default});var l=n(/*! ./number */"./node_modules/d3-interpolate/src/number.js");n.d(e,"interpolateNumber",function(){return l.default});var d=n(/*! ./object */"./node_modules/d3-interpolate/src/object.js");n.d(e,"interpolateObject",function(){return d.default});var f=n(/*! ./round */"./node_modules/d3-interpolate/src/round.js");n.d(e,"interpolateRound",function(){return f.default});var h=n(/*! ./string */"./node_modules/d3-interpolate/src/string.js");n.d(e,"interpolateString",function(){return h.default});var p=n(/*! ./transform/index */"./node_modules/d3-interpolate/src/transform/index.js");n.d(e,"interpolateTransformCss",function(){return p.interpolateTransformCss}),n.d(e,"interpolateTransformSvg",function(){return p.interpolateTransformSvg});var m=n(/*! ./zoom */"./node_modules/d3-interpolate/src/zoom.js");n.d(e,"interpolateZoom",function(){return m.default});var y=n(/*! ./rgb */"./node_modules/d3-interpolate/src/rgb.js");n.d(e,"interpolateRgb",function(){return y.default}),n.d(e,"interpolateRgbBasis",function(){return y.rgbBasis}),n.d(e,"interpolateRgbBasisClosed",function(){return y.rgbBasisClosed});var v=n(/*! ./hsl */"./node_modules/d3-interpolate/src/hsl.js");n.d(e,"interpolateHsl",function(){return v.default}),n.d(e,"interpolateHslLong",function(){return v.hslLong});var g=n(/*! ./lab */"./node_modules/d3-interpolate/src/lab.js");n.d(e,"interpolateLab",function(){return g.default});var j=n(/*! ./hcl */"./node_modules/d3-interpolate/src/hcl.js");n.d(e,"interpolateHcl",function(){return j.default}),n.d(e,"interpolateHclLong",function(){return j.hclLong});var b=n(/*! ./cubehelix */"./node_modules/d3-interpolate/src/cubehelix.js");n.d(e,"interpolateCubehelix",function(){return b.default}),n.d(e,"interpolateCubehelixLong",function(){return b.cubehelixLong});var _=n(/*! ./piecewise */"./node_modules/d3-interpolate/src/piecewise.js");n.d(e,"piecewise",function(){return _.default});var x=n(/*! ./quantize */"./node_modules/d3-interpolate/src/quantize.js");n.d(e,"quantize",function(){return x.default})},"./node_modules/d3-interpolate/src/lab.js": /*!************************************************!*\ !*** ./node_modules/d3-interpolate/src/lab.js ***! \************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),n.d(e,"default",function(){return i});var r=n(/*! d3-color */"./node_modules/d3-color/src/index.js"),o=n(/*! ./color */"./node_modules/d3-interpolate/src/color.js");function i(t,e){var n=Object(o.default)((t=Object(r.lab)(t)).l,(e=Object(r.lab)(e)).l),i=Object(o.default)(t.a,e.a),u=Object(o.default)(t.b,e.b),s=Object(o.default)(t.opacity,e.opacity);return function(e){return t.l=n(e),t.a=i(e),t.b=u(e),t.opacity=s(e),t+""}}},"./node_modules/d3-interpolate/src/number.js": /*!***************************************************!*\ !*** ./node_modules/d3-interpolate/src/number.js ***! \***************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t,e){return e-=t=+t,function(n){return t+e*n}}},"./node_modules/d3-interpolate/src/object.js": /*!***************************************************!*\ !*** ./node_modules/d3-interpolate/src/object.js ***! \***************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./value */"./node_modules/d3-interpolate/src/value.js");e.default=function(t,e){var n,o={},i={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?o[n]=Object(r.default)(t[n],e[n]):i[n]=e[n];return function(t){for(n in o)i[n]=o[n](t);return i}}},"./node_modules/d3-interpolate/src/piecewise.js": /*!******************************************************!*\ !*** ./node_modules/d3-interpolate/src/piecewise.js ***! \******************************************************/ /*! exports provided: default */function(t,e,n){"use strict";function r(t,e){for(var n=0,r=e.length-1,o=e[0],i=new Array(r<0?0:r);nc&&(s=e.slice(c,s),l[a]?l[a]+=s:l[++a]=s),(n=n[0])===(u=u[0])?l[a]?l[a]+=u:l[++a]=u:(l[++a]=null,d.push({i:a,x:Object(r.default)(n,u)})),c=i.lastIndex;return c180?e+=360:e-t>180&&(t+=360),u.push({i:n.push(i(n)+"rotate(",null,o)-2,x:Object(r.default)(t,e)})):e&&n.push(i(n)+"rotate("+e+o)}(u.rotate,s.rotate,c,a),function(t,e,n,u){t!==e?u.push({i:n.push(i(n)+"skewX(",null,o)-2,x:Object(r.default)(t,e)}):e&&n.push(i(n)+"skewX("+e+o)}(u.skewX,s.skewX,c,a),function(t,e,n,o,u,s){if(t!==n||e!==o){var c=u.push(i(u)+"scale(",null,",",null,")");s.push({i:c-4,x:Object(r.default)(t,n)},{i:c-2,x:Object(r.default)(e,o)})}else 1===n&&1===o||u.push(i(u)+"scale("+n+","+o+")")}(u.scaleX,u.scaleY,s.scaleX,s.scaleY,c,a),u=s=null,function(t){for(var e,n=-1,r=a.length;++n1e-6)if(Math.abs(d*c-a*l)>1e-6&&i){var h=n-u,p=o-s,m=c*c+a*a,y=h*h+p*p,v=Math.sqrt(m),g=Math.sqrt(f),j=i*Math.tan((r-Math.acos((m+f-y)/(2*v*g)))/2),b=j/g,_=j/v;Math.abs(b-1)>1e-6&&(this._+="L"+(t+b*l)+","+(e+b*d)),this._+="A"+i+","+i+",0,0,"+ +(d*h>l*p)+","+(this._x1=t+_*c)+","+(this._y1=e+_*a)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,u,s,c){t=+t,e=+e;var a=(n=+n)*Math.cos(u),l=n*Math.sin(u),d=t+a,f=e+l,h=1^c,p=c?u-s:s-u;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+d+","+f:(Math.abs(this._x1-d)>1e-6||Math.abs(this._y1-f)>1e-6)&&(this._+="L"+d+","+f),n&&(p<0&&(p=p%o+o),p>i?this._+="A"+n+","+n+",0,1,"+h+","+(t-a)+","+(e-l)+"A"+n+","+n+",0,1,"+h+","+(this._x1=d)+","+(this._y1=f):p>1e-6&&(this._+="A"+n+","+n+",0,"+ +(p>=r)+","+h+","+(this._x1=t+n*Math.cos(s))+","+(this._y1=e+n*Math.sin(s))))},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._}},e.default=s},"./node_modules/d3-selection/src/constant.js": /*!***************************************************!*\ !*** ./node_modules/d3-selection/src/constant.js ***! \***************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t){return function(){return t}}},"./node_modules/d3-selection/src/create.js": /*!*************************************************!*\ !*** ./node_modules/d3-selection/src/create.js ***! \*************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./creator */"./node_modules/d3-selection/src/creator.js"),o=n(/*! ./select */"./node_modules/d3-selection/src/select.js");e.default=function(t){return Object(o.default)(Object(r.default)(t).call(document.documentElement))}},"./node_modules/d3-selection/src/creator.js": /*!**************************************************!*\ !*** ./node_modules/d3-selection/src/creator.js ***! \**************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./namespace */"./node_modules/d3-selection/src/namespace.js"),o=n(/*! ./namespaces */"./node_modules/d3-selection/src/namespaces.js");e.default=function(t){var e=Object(r.default)(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===o.xhtml&&e.documentElement.namespaceURI===o.xhtml?e.createElement(t):e.createElementNS(n,t)}})(e)}},"./node_modules/d3-selection/src/index.js": /*!************************************************!*\ !*** ./node_modules/d3-selection/src/index.js ***! \************************************************/ /*! exports provided: create, creator, local, matcher, mouse, namespace, namespaces, clientPoint, select, selectAll, selection, selector, selectorAll, style, touch, touches, window, event, customEvent */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./create */"./node_modules/d3-selection/src/create.js");n.d(e,"create",function(){return r.default});var o=n(/*! ./creator */"./node_modules/d3-selection/src/creator.js");n.d(e,"creator",function(){return o.default});var i=n(/*! ./local */"./node_modules/d3-selection/src/local.js");n.d(e,"local",function(){return i.default});var u=n(/*! ./matcher */"./node_modules/d3-selection/src/matcher.js");n.d(e,"matcher",function(){return u.default});var s=n(/*! ./mouse */"./node_modules/d3-selection/src/mouse.js");n.d(e,"mouse",function(){return s.default});var c=n(/*! ./namespace */"./node_modules/d3-selection/src/namespace.js");n.d(e,"namespace",function(){return c.default});var a=n(/*! ./namespaces */"./node_modules/d3-selection/src/namespaces.js");n.d(e,"namespaces",function(){return a.default});var l=n(/*! ./point */"./node_modules/d3-selection/src/point.js");n.d(e,"clientPoint",function(){return l.default});var d=n(/*! ./select */"./node_modules/d3-selection/src/select.js");n.d(e,"select",function(){return d.default});var f=n(/*! ./selectAll */"./node_modules/d3-selection/src/selectAll.js");n.d(e,"selectAll",function(){return f.default});var h=n(/*! ./selection/index */"./node_modules/d3-selection/src/selection/index.js");n.d(e,"selection",function(){return h.default});var p=n(/*! ./selector */"./node_modules/d3-selection/src/selector.js");n.d(e,"selector",function(){return p.default});var m=n(/*! ./selectorAll */"./node_modules/d3-selection/src/selectorAll.js");n.d(e,"selectorAll",function(){return m.default});var y=n(/*! ./selection/style */"./node_modules/d3-selection/src/selection/style.js");n.d(e,"style",function(){return y.styleValue});var v=n(/*! ./touch */"./node_modules/d3-selection/src/touch.js");n.d(e,"touch",function(){return v.default});var g=n(/*! ./touches */"./node_modules/d3-selection/src/touches.js");n.d(e,"touches",function(){return g.default});var j=n(/*! ./window */"./node_modules/d3-selection/src/window.js");n.d(e,"window",function(){return j.default});var b=n(/*! ./selection/on */"./node_modules/d3-selection/src/selection/on.js");n.d(e,"event",function(){return b.event}),n.d(e,"customEvent",function(){return b.customEvent})},"./node_modules/d3-selection/src/local.js": /*!************************************************!*\ !*** ./node_modules/d3-selection/src/local.js ***! \************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),n.d(e,"default",function(){return o});var r=0;function o(){return new i}function i(){this._="@"+(++r).toString(36)}i.prototype=o.prototype={constructor:i,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._}}},"./node_modules/d3-selection/src/matcher.js": /*!**************************************************!*\ !*** ./node_modules/d3-selection/src/matcher.js ***! \**************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t){return function(){return this.matches(t)}}},"./node_modules/d3-selection/src/mouse.js": /*!************************************************!*\ !*** ./node_modules/d3-selection/src/mouse.js ***! \************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./sourceEvent */"./node_modules/d3-selection/src/sourceEvent.js"),o=n(/*! ./point */"./node_modules/d3-selection/src/point.js");e.default=function(t){var e=Object(r.default)();return e.changedTouches&&(e=e.changedTouches[0]),Object(o.default)(t,e)}},"./node_modules/d3-selection/src/namespace.js": /*!****************************************************!*\ !*** ./node_modules/d3-selection/src/namespace.js ***! \****************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./namespaces */"./node_modules/d3-selection/src/namespaces.js");e.default=function(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),r.default.hasOwnProperty(e)?{space:r.default[e],local:t}:t}},"./node_modules/d3-selection/src/namespaces.js": /*!*****************************************************!*\ !*** ./node_modules/d3-selection/src/namespaces.js ***! \*****************************************************/ /*! exports provided: xhtml, default */function(t,e,n){"use strict";n.r(e),n.d(e,"xhtml",function(){return r});var r="http://www.w3.org/1999/xhtml";e.default={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/"}},"./node_modules/d3-selection/src/point.js": /*!************************************************!*\ !*** ./node_modules/d3-selection/src/point.js ***! \************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t,e){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}var o=t.getBoundingClientRect();return[e.clientX-o.left-t.clientLeft,e.clientY-o.top-t.clientTop]}},"./node_modules/d3-selection/src/select.js": /*!*************************************************!*\ !*** ./node_modules/d3-selection/src/select.js ***! \*************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./selection/index */"./node_modules/d3-selection/src/selection/index.js");e.default=function(t){return"string"==typeof t?new r.Selection([[document.querySelector(t)]],[document.documentElement]):new r.Selection([[t]],r.root)}},"./node_modules/d3-selection/src/selectAll.js": /*!****************************************************!*\ !*** ./node_modules/d3-selection/src/selectAll.js ***! \****************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./selection/index */"./node_modules/d3-selection/src/selection/index.js");e.default=function(t){return"string"==typeof t?new r.Selection([document.querySelectorAll(t)],[document.documentElement]):new r.Selection([null==t?[]:t],r.root)}},"./node_modules/d3-selection/src/selection/append.js": /*!***********************************************************!*\ !*** ./node_modules/d3-selection/src/selection/append.js ***! \***********************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ../creator */"./node_modules/d3-selection/src/creator.js");e.default=function(t){var e="function"==typeof t?t:Object(r.default)(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}},"./node_modules/d3-selection/src/selection/attr.js": /*!*********************************************************!*\ !*** ./node_modules/d3-selection/src/selection/attr.js ***! \*********************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ../namespace */"./node_modules/d3-selection/src/namespace.js");e.default=function(t,e){var n=Object(r.default)(t);if(arguments.length<2){var o=this.node();return n.local?o.getAttributeNS(n.space,n.local):o.getAttribute(n)}return this.each((null==e?n.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof e?n.local?function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}:function(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}:n.local?function(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}:function(t,e){return function(){this.setAttribute(t,e)}})(n,e))}},"./node_modules/d3-selection/src/selection/call.js": /*!*********************************************************!*\ !*** ./node_modules/d3-selection/src/selection/call.js ***! \*********************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}},"./node_modules/d3-selection/src/selection/classed.js": /*!************************************************************!*\ !*** ./node_modules/d3-selection/src/selection/classed.js ***! \************************************************************/ /*! exports provided: default */function(t,e,n){"use strict";function r(t){return t.trim().split(/^|\s+/)}function o(t){return t.classList||new i(t)}function i(t){this._node=t,this._names=r(t.getAttribute("class")||"")}function u(t,e){for(var n=o(t),r=-1,i=e.length;++r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}},e.default=function(t,e){var n=r(t+"");if(arguments.length<2){for(var i=o(this.node()),c=-1,a=n.length;++c=A&&(A=w+1);!(x=b[A])&&++A=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}})}(t+""),u=i.length;if(!(arguments.length<2)){for(a=e?c:s,null==n&&(n=!1),r=0;r=0;)(r=o[i])&&(u&&4^r.compareDocumentPosition(u)&&u.parentNode.insertBefore(r,u),u=r);return this}},"./node_modules/d3-selection/src/selection/property.js": /*!*************************************************************!*\ !*** ./node_modules/d3-selection/src/selection/property.js ***! \*************************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]}},"./node_modules/d3-selection/src/selection/raise.js": /*!**********************************************************!*\ !*** ./node_modules/d3-selection/src/selection/raise.js ***! \**********************************************************/ /*! exports provided: default */function(t,e,n){"use strict";function r(){this.nextSibling&&this.parentNode.appendChild(this)}n.r(e),e.default=function(){return this.each(r)}},"./node_modules/d3-selection/src/selection/remove.js": /*!***********************************************************!*\ !*** ./node_modules/d3-selection/src/selection/remove.js ***! \***********************************************************/ /*! exports provided: default */function(t,e,n){"use strict";function r(){var t=this.parentNode;t&&t.removeChild(this)}n.r(e),e.default=function(){return this.each(r)}},"./node_modules/d3-selection/src/selection/select.js": /*!***********************************************************!*\ !*** ./node_modules/d3-selection/src/selection/select.js ***! \***********************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./index */"./node_modules/d3-selection/src/selection/index.js"),o=n(/*! ../selector */"./node_modules/d3-selection/src/selector.js");e.default=function(t){"function"!=typeof t&&(t=Object(o.default)(t));for(var e=this._groups,n=e.length,i=new Array(n),u=0;ue?1:t>=e?0:NaN}e.default=function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=o);for(var n=this._groups,i=n.length,u=new Array(i),s=0;s1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}:function(t,e,n){return function(){this.style.setProperty(t,e,n)}})(t,e,null==n?"":n)):o(this.node(),t)}},"./node_modules/d3-selection/src/selection/text.js": /*!*********************************************************!*\ !*** ./node_modules/d3-selection/src/selection/text.js ***! \*********************************************************/ /*! exports provided: default */function(t,e,n){"use strict";function r(){this.textContent=""}n.r(e),e.default=function(t){return arguments.length?this.each(null==t?r:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}:function(t){return function(){this.textContent=t}})(t)):this.node().textContent}},"./node_modules/d3-selection/src/selector.js": /*!***************************************************!*\ !*** ./node_modules/d3-selection/src/selector.js ***! \***************************************************/ /*! exports provided: default */function(t,e,n){"use strict";function r(){}n.r(e),e.default=function(t){return null==t?r:function(){return this.querySelector(t)}}},"./node_modules/d3-selection/src/selectorAll.js": /*!******************************************************!*\ !*** ./node_modules/d3-selection/src/selectorAll.js ***! \******************************************************/ /*! exports provided: default */function(t,e,n){"use strict";function r(){return[]}n.r(e),e.default=function(t){return null==t?r:function(){return this.querySelectorAll(t)}}},"./node_modules/d3-selection/src/sourceEvent.js": /*!******************************************************!*\ !*** ./node_modules/d3-selection/src/sourceEvent.js ***! \******************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./selection/on */"./node_modules/d3-selection/src/selection/on.js");e.default=function(){for(var t,e=r.event;t=e.sourceEvent;)e=t;return e}},"./node_modules/d3-selection/src/touch.js": /*!************************************************!*\ !*** ./node_modules/d3-selection/src/touch.js ***! \************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./sourceEvent */"./node_modules/d3-selection/src/sourceEvent.js"),o=n(/*! ./point */"./node_modules/d3-selection/src/point.js");e.default=function(t,e,n){arguments.length<3&&(n=e,e=Object(r.default)().changedTouches);for(var i,u=0,s=e?e.length:0;uN*N+z*z&&(O=S,k=C),{cx:O,cy:k,x01:-d,y01:-f,x11:O*(o/x-1),y11:k*(o/x-1)}}e.default=function(){var t=u,e=s,n=Object(o.default)(0),f=null,h=c,p=a,m=l,y=null;function v(){var o,u,s=+t.apply(this,arguments),c=+e.apply(this,arguments),a=h.apply(this,arguments)-i.halfPi,l=p.apply(this,arguments)-i.halfPi,v=Object(i.abs)(l-a),g=l>a;if(y||(y=o=Object(r.path)()),ci.epsilon)if(v>i.tau-i.epsilon)y.moveTo(c*Object(i.cos)(a),c*Object(i.sin)(a)),y.arc(0,0,c,a,l,!g),s>i.epsilon&&(y.moveTo(s*Object(i.cos)(l),s*Object(i.sin)(l)),y.arc(0,0,s,l,a,g));else{var j,b,_=a,x=l,w=a,A=l,O=v,k=v,S=m.apply(this,arguments)/2,C=S>i.epsilon&&(f?+f.apply(this,arguments):Object(i.sqrt)(s*s+c*c)),B=Object(i.min)(Object(i.abs)(c-s)/2,+n.apply(this,arguments)),F=B,N=B;if(C>i.epsilon){var z=Object(i.asin)(C/s*Object(i.sin)(S)),T=Object(i.asin)(C/c*Object(i.sin)(S));(O-=2*z)>i.epsilon?(w+=z*=g?1:-1,A-=z):(O=0,w=A=(a+l)/2),(k-=2*T)>i.epsilon?(_+=T*=g?1:-1,x-=T):(k=0,_=x=(a+l)/2)}var q=c*Object(i.cos)(_),H=c*Object(i.sin)(_),D=s*Object(i.cos)(A),V=s*Object(i.sin)(A);if(B>i.epsilon){var X,Y=c*Object(i.cos)(x),Z=c*Object(i.sin)(x),G=s*Object(i.cos)(w),$=s*Object(i.sin)(w);if(v<=i.tau-i.epsilon&&(X=function(t,e,n,r,o,u,s,c){var a=n-t,l=r-e,d=s-o,f=c-u,h=f*a-d*l;if(!(h*hi.epsilon?N>i.epsilon?(j=d(G,$,q,H,c,N,g),b=d(Y,Z,D,V,c,N,g),y.moveTo(j.cx+j.x01,j.cy+j.y01),Ni.epsilon&&O>i.epsilon?F>i.epsilon?(j=d(D,V,Y,Z,s,-F,g),b=d(q,H,G,$,s,-F,g),y.lineTo(j.cx+j.x01,j.cy+j.y01),F=u;--s)f.point(v[s],g[s]);f.lineEnd(),f.areaEnd()}y&&(v[i]=+t(h,i,o),g[i]=+n(h,i,o),f.point(e?+e(h,i,o):v[i],c?+c(h,i,o):g[i]))}if(p)return f=null,p+""||null}function p(){return Object(u.default)().defined(a).curve(d).context(l)}return h.x=function(n){return arguments.length?(t="function"==typeof n?n:Object(o.default)(+n),e=null,h):t},h.x0=function(e){return arguments.length?(t="function"==typeof e?e:Object(o.default)(+e),h):t},h.x1=function(t){return arguments.length?(e=null==t?null:"function"==typeof t?t:Object(o.default)(+t),h):e},h.y=function(t){return arguments.length?(n="function"==typeof t?t:Object(o.default)(+t),c=null,h):n},h.y0=function(t){return arguments.length?(n="function"==typeof t?t:Object(o.default)(+t),h):n},h.y1=function(t){return arguments.length?(c=null==t?null:"function"==typeof t?t:Object(o.default)(+t),h):c},h.lineX0=h.lineY0=function(){return p().x(t).y(n)},h.lineY1=function(){return p().x(t).y(c)},h.lineX1=function(){return p().x(e).y(n)},h.defined=function(t){return arguments.length?(a="function"==typeof t?t:Object(o.default)(!!t),h):a},h.curve=function(t){return arguments.length?(d=t,null!=l&&(f=d(l)),h):d},h.context=function(t){return arguments.length?(null==t?l=f=null:f=d(l=t),h):l},h}},"./node_modules/d3-shape/src/areaRadial.js": /*!*************************************************!*\ !*** ./node_modules/d3-shape/src/areaRadial.js ***! \*************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./curve/radial */"./node_modules/d3-shape/src/curve/radial.js"),o=n(/*! ./area */"./node_modules/d3-shape/src/area.js"),i=n(/*! ./lineRadial */"./node_modules/d3-shape/src/lineRadial.js");e.default=function(){var t=Object(o.default)().curve(r.curveRadialLinear),e=t.curve,n=t.lineX0,u=t.lineX1,s=t.lineY0,c=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Object(i.lineRadial)(n())},delete t.lineX0,t.lineEndAngle=function(){return Object(i.lineRadial)(u())},delete t.lineX1,t.lineInnerRadius=function(){return Object(i.lineRadial)(s())},delete t.lineY0,t.lineOuterRadius=function(){return Object(i.lineRadial)(c())},delete t.lineY1,t.curve=function(t){return arguments.length?e(Object(r.default)(t)):e()._curve},t}},"./node_modules/d3-shape/src/array.js": /*!********************************************!*\ !*** ./node_modules/d3-shape/src/array.js ***! \********************************************/ /*! exports provided: slice */function(t,e,n){"use strict";n.r(e),n.d(e,"slice",function(){return r});var r=Array.prototype.slice},"./node_modules/d3-shape/src/constant.js": /*!***********************************************!*\ !*** ./node_modules/d3-shape/src/constant.js ***! \***********************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t){return function(){return t}}},"./node_modules/d3-shape/src/curve/basis.js": /*!**************************************************!*\ !*** ./node_modules/d3-shape/src/curve/basis.js ***! \**************************************************/ /*! exports provided: point, Basis, default */function(t,e,n){"use strict";function r(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function o(t){this._context=t}n.r(e),n.d(e,"point",function(){return r}),n.d(e,"Basis",function(){return o}),o.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:r(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:r(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},e.default=function(t){return new o(t)}},"./node_modules/d3-shape/src/curve/basisClosed.js": /*!********************************************************!*\ !*** ./node_modules/d3-shape/src/curve/basisClosed.js ***! \********************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ../noop */"./node_modules/d3-shape/src/noop.js"),o=n(/*! ./basis */"./node_modules/d3-shape/src/curve/basis.js");function i(t){this._context=t}i.prototype={areaStart:r.default,areaEnd:r.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:Object(o.point)(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},e.default=function(t){return new i(t)}},"./node_modules/d3-shape/src/curve/basisOpen.js": /*!******************************************************!*\ !*** ./node_modules/d3-shape/src/curve/basisOpen.js ***! \******************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./basis */"./node_modules/d3-shape/src/curve/basis.js");function o(t){this._context=t}o.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,o=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,o):this._context.moveTo(n,o);break;case 3:this._point=4;default:Object(r.point)(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},e.default=function(t){return new o(t)}},"./node_modules/d3-shape/src/curve/bundle.js": /*!***************************************************!*\ !*** ./node_modules/d3-shape/src/curve/bundle.js ***! \***************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./basis */"./node_modules/d3-shape/src/curve/basis.js");function o(t,e){this._basis=new r.Basis(t),this._beta=e}o.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,o=t[0],i=e[0],u=t[n]-o,s=e[n]-i,c=-1;++c<=n;)r=c/n,this._basis.point(this._beta*t[c]+(1-this._beta)*(o+r*u),this._beta*e[c]+(1-this._beta)*(i+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}},e.default=function t(e){function n(t){return 1===e?new r.Basis(t):new o(t,e)}return n.beta=function(e){return t(+e)},n}(.85)},"./node_modules/d3-shape/src/curve/cardinal.js": /*!*****************************************************!*\ !*** ./node_modules/d3-shape/src/curve/cardinal.js ***! \*****************************************************/ /*! exports provided: point, Cardinal, default */function(t,e,n){"use strict";function r(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function o(t,e){this._context=t,this._k=(1-e)/6}n.r(e),n.d(e,"point",function(){return r}),n.d(e,"Cardinal",function(){return o}),o.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:r(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:r(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},e.default=function t(e){function n(t){return new o(t,e)}return n.tension=function(e){return t(+e)},n}(0)},"./node_modules/d3-shape/src/curve/cardinalClosed.js": /*!***********************************************************!*\ !*** ./node_modules/d3-shape/src/curve/cardinalClosed.js ***! \***********************************************************/ /*! exports provided: CardinalClosed, default */function(t,e,n){"use strict";n.r(e),n.d(e,"CardinalClosed",function(){return i});var r=n(/*! ../noop */"./node_modules/d3-shape/src/noop.js"),o=n(/*! ./cardinal */"./node_modules/d3-shape/src/curve/cardinal.js");function i(t,e){this._context=t,this._k=(1-e)/6}i.prototype={areaStart:r.default,areaEnd:r.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Object(o.point)(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},e.default=function t(e){function n(t){return new i(t,e)}return n.tension=function(e){return t(+e)},n}(0)},"./node_modules/d3-shape/src/curve/cardinalOpen.js": /*!*********************************************************!*\ !*** ./node_modules/d3-shape/src/curve/cardinalOpen.js ***! \*********************************************************/ /*! exports provided: CardinalOpen, default */function(t,e,n){"use strict";n.r(e),n.d(e,"CardinalOpen",function(){return o});var r=n(/*! ./cardinal */"./node_modules/d3-shape/src/curve/cardinal.js");function o(t,e){this._context=t,this._k=(1-e)/6}o.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Object(r.point)(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},e.default=function t(e){function n(t){return new o(t,e)}return n.tension=function(e){return t(+e)},n}(0)},"./node_modules/d3-shape/src/curve/catmullRom.js": /*!*******************************************************!*\ !*** ./node_modules/d3-shape/src/curve/catmullRom.js ***! \*******************************************************/ /*! exports provided: point, default */function(t,e,n){"use strict";n.r(e),n.d(e,"point",function(){return i});var r=n(/*! ../math */"./node_modules/d3-shape/src/math.js"),o=n(/*! ./cardinal */"./node_modules/d3-shape/src/curve/cardinal.js");function i(t,e,n){var o=t._x1,i=t._y1,u=t._x2,s=t._y2;if(t._l01_a>r.epsilon){var c=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,a=3*t._l01_a*(t._l01_a+t._l12_a);o=(o*c-t._x0*t._l12_2a+t._x2*t._l01_2a)/a,i=(i*c-t._y0*t._l12_2a+t._y2*t._l01_2a)/a}if(t._l23_a>r.epsilon){var l=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,d=3*t._l23_a*(t._l23_a+t._l12_a);u=(u*l+t._x1*t._l23_2a-e*t._l12_2a)/d,s=(s*l+t._y1*t._l23_2a-n*t._l12_2a)/d}t._context.bezierCurveTo(o,i,u,s,t._x2,t._y2)}function u(t,e){this._context=t,this._alpha=e}u.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:i(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},e.default=function t(e){function n(t){return e?new u(t,e):new o.Cardinal(t,0)}return n.alpha=function(e){return t(+e)},n}(.5)},"./node_modules/d3-shape/src/curve/catmullRomClosed.js": /*!*************************************************************!*\ !*** ./node_modules/d3-shape/src/curve/catmullRomClosed.js ***! \*************************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./cardinalClosed */"./node_modules/d3-shape/src/curve/cardinalClosed.js"),o=n(/*! ../noop */"./node_modules/d3-shape/src/noop.js"),i=n(/*! ./catmullRom */"./node_modules/d3-shape/src/curve/catmullRom.js");function u(t,e){this._context=t,this._alpha=e}u.prototype={areaStart:o.default,areaEnd:o.default,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Object(i.point)(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},e.default=function t(e){function n(t){return e?new u(t,e):new r.CardinalClosed(t,0)}return n.alpha=function(e){return t(+e)},n}(.5)},"./node_modules/d3-shape/src/curve/catmullRomOpen.js": /*!***********************************************************!*\ !*** ./node_modules/d3-shape/src/curve/catmullRomOpen.js ***! \***********************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./cardinalOpen */"./node_modules/d3-shape/src/curve/cardinalOpen.js"),o=n(/*! ./catmullRom */"./node_modules/d3-shape/src/curve/catmullRom.js");function i(t,e){this._context=t,this._alpha=e}i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Object(o.point)(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}},e.default=function t(e){function n(t){return e?new i(t,e):new r.CardinalOpen(t,0)}return n.alpha=function(e){return t(+e)},n}(.5)},"./node_modules/d3-shape/src/curve/linear.js": /*!***************************************************!*\ !*** ./node_modules/d3-shape/src/curve/linear.js ***! \***************************************************/ /*! exports provided: default */function(t,e,n){"use strict";function r(t){this._context=t}n.r(e),r.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)}}},e.default=function(t){return new r(t)}},"./node_modules/d3-shape/src/curve/linearClosed.js": /*!*********************************************************!*\ !*** ./node_modules/d3-shape/src/curve/linearClosed.js ***! \*********************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ../noop */"./node_modules/d3-shape/src/noop.js");function o(t){this._context=t}o.prototype={areaStart:r.default,areaEnd:r.default,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},e.default=function(t){return new o(t)}},"./node_modules/d3-shape/src/curve/monotone.js": /*!*****************************************************!*\ !*** ./node_modules/d3-shape/src/curve/monotone.js ***! \*****************************************************/ /*! exports provided: monotoneX, monotoneY */function(t,e,n){"use strict";function r(t){return t<0?-1:1}function o(t,e,n){var o=t._x1-t._x0,i=e-t._x1,u=(t._y1-t._y0)/(o||i<0&&-0),s=(n-t._y1)/(i||o<0&&-0),c=(u*i+s*o)/(o+i);return(r(u)+r(s))*Math.min(Math.abs(u),Math.abs(s),.5*Math.abs(c))||0}function i(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function u(t,e,n){var r=t._x0,o=t._y0,i=t._x1,u=t._y1,s=(i-r)/3;t._context.bezierCurveTo(r+s,o+s*e,i-s,u-s*n,i,u)}function s(t){this._context=t}function c(t){this._context=new a(t)}function a(t){this._context=t}function l(t){return new s(t)}function d(t){return new c(t)}n.r(e),n.d(e,"monotoneX",function(){return l}),n.d(e,"monotoneY",function(){return d}),s.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:u(this,this._t0,i(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,u(this,i(this,n=o(this,t,e)),n);break;default:u(this,this._t0,n=o(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(c.prototype=Object.create(s.prototype)).point=function(t,e){s.prototype.point.call(this,e,t)},a.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,o,i){this._context.bezierCurveTo(e,t,r,n,i,o)}}},"./node_modules/d3-shape/src/curve/natural.js": /*!****************************************************!*\ !*** ./node_modules/d3-shape/src/curve/natural.js ***! \****************************************************/ /*! exports provided: default */function(t,e,n){"use strict";function r(t){this._context=t}function o(t){var e,n,r=t.length-1,o=new Array(r),i=new Array(r),u=new Array(r);for(o[0]=0,i[0]=2,u[0]=t[0]+2*t[1],e=1;e=0;--e)o[e]=(u[e]-o[e+1])/i[e];for(i[r-1]=(t[r]+o[r-1])/2,e=0;e=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}},e.default=function(t){return new r(t,.5)}},"./node_modules/d3-shape/src/descending.js": /*!*************************************************!*\ !*** ./node_modules/d3-shape/src/descending.js ***! \*************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t,e){return et?1:e>=t?0:NaN}},"./node_modules/d3-shape/src/identity.js": /*!***********************************************!*\ !*** ./node_modules/d3-shape/src/identity.js ***! \***********************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t){return t}},"./node_modules/d3-shape/src/index.js": /*!********************************************!*\ !*** ./node_modules/d3-shape/src/index.js ***! \********************************************/ /*! exports provided: arc, area, line, pie, areaRadial, radialArea, lineRadial, radialLine, pointRadial, linkHorizontal, linkVertical, linkRadial, symbol, symbols, symbolCircle, symbolCross, symbolDiamond, symbolSquare, symbolStar, symbolTriangle, symbolWye, curveBasisClosed, curveBasisOpen, curveBasis, curveBundle, curveCardinalClosed, curveCardinalOpen, curveCardinal, curveCatmullRomClosed, curveCatmullRomOpen, curveCatmullRom, curveLinearClosed, curveLinear, curveMonotoneX, curveMonotoneY, curveNatural, curveStep, curveStepAfter, curveStepBefore, stack, stackOffsetExpand, stackOffsetDiverging, stackOffsetNone, stackOffsetSilhouette, stackOffsetWiggle, stackOrderAppearance, stackOrderAscending, stackOrderDescending, stackOrderInsideOut, stackOrderNone, stackOrderReverse */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./arc */"./node_modules/d3-shape/src/arc.js");n.d(e,"arc",function(){return r.default});var o=n(/*! ./area */"./node_modules/d3-shape/src/area.js");n.d(e,"area",function(){return o.default});var i=n(/*! ./line */"./node_modules/d3-shape/src/line.js");n.d(e,"line",function(){return i.default});var u=n(/*! ./pie */"./node_modules/d3-shape/src/pie.js");n.d(e,"pie",function(){return u.default});var s=n(/*! ./areaRadial */"./node_modules/d3-shape/src/areaRadial.js");n.d(e,"areaRadial",function(){return s.default}),n.d(e,"radialArea",function(){return s.default});var c=n(/*! ./lineRadial */"./node_modules/d3-shape/src/lineRadial.js");n.d(e,"lineRadial",function(){return c.default}),n.d(e,"radialLine",function(){return c.default});var a=n(/*! ./pointRadial */"./node_modules/d3-shape/src/pointRadial.js");n.d(e,"pointRadial",function(){return a.default});var l=n(/*! ./link/index */"./node_modules/d3-shape/src/link/index.js");n.d(e,"linkHorizontal",function(){return l.linkHorizontal}),n.d(e,"linkVertical",function(){return l.linkVertical}),n.d(e,"linkRadial",function(){return l.linkRadial});var d=n(/*! ./symbol */"./node_modules/d3-shape/src/symbol.js");n.d(e,"symbol",function(){return d.default}),n.d(e,"symbols",function(){return d.symbols});var f=n(/*! ./symbol/circle */"./node_modules/d3-shape/src/symbol/circle.js");n.d(e,"symbolCircle",function(){return f.default});var h=n(/*! ./symbol/cross */"./node_modules/d3-shape/src/symbol/cross.js");n.d(e,"symbolCross",function(){return h.default});var p=n(/*! ./symbol/diamond */"./node_modules/d3-shape/src/symbol/diamond.js");n.d(e,"symbolDiamond",function(){return p.default});var m=n(/*! ./symbol/square */"./node_modules/d3-shape/src/symbol/square.js");n.d(e,"symbolSquare",function(){return m.default});var y=n(/*! ./symbol/star */"./node_modules/d3-shape/src/symbol/star.js");n.d(e,"symbolStar",function(){return y.default});var v=n(/*! ./symbol/triangle */"./node_modules/d3-shape/src/symbol/triangle.js");n.d(e,"symbolTriangle",function(){return v.default});var g=n(/*! ./symbol/wye */"./node_modules/d3-shape/src/symbol/wye.js");n.d(e,"symbolWye",function(){return g.default});var j=n(/*! ./curve/basisClosed */"./node_modules/d3-shape/src/curve/basisClosed.js");n.d(e,"curveBasisClosed",function(){return j.default});var b=n(/*! ./curve/basisOpen */"./node_modules/d3-shape/src/curve/basisOpen.js");n.d(e,"curveBasisOpen",function(){return b.default});var _=n(/*! ./curve/basis */"./node_modules/d3-shape/src/curve/basis.js");n.d(e,"curveBasis",function(){return _.default});var x=n(/*! ./curve/bundle */"./node_modules/d3-shape/src/curve/bundle.js");n.d(e,"curveBundle",function(){return x.default});var w=n(/*! ./curve/cardinalClosed */"./node_modules/d3-shape/src/curve/cardinalClosed.js");n.d(e,"curveCardinalClosed",function(){return w.default});var A=n(/*! ./curve/cardinalOpen */"./node_modules/d3-shape/src/curve/cardinalOpen.js");n.d(e,"curveCardinalOpen",function(){return A.default});var O=n(/*! ./curve/cardinal */"./node_modules/d3-shape/src/curve/cardinal.js");n.d(e,"curveCardinal",function(){return O.default});var k=n(/*! ./curve/catmullRomClosed */"./node_modules/d3-shape/src/curve/catmullRomClosed.js");n.d(e,"curveCatmullRomClosed",function(){return k.default});var S=n(/*! ./curve/catmullRomOpen */"./node_modules/d3-shape/src/curve/catmullRomOpen.js");n.d(e,"curveCatmullRomOpen",function(){return S.default});var C=n(/*! ./curve/catmullRom */"./node_modules/d3-shape/src/curve/catmullRom.js");n.d(e,"curveCatmullRom",function(){return C.default});var B=n(/*! ./curve/linearClosed */"./node_modules/d3-shape/src/curve/linearClosed.js");n.d(e,"curveLinearClosed",function(){return B.default});var F=n(/*! ./curve/linear */"./node_modules/d3-shape/src/curve/linear.js");n.d(e,"curveLinear",function(){return F.default});var N=n(/*! ./curve/monotone */"./node_modules/d3-shape/src/curve/monotone.js");n.d(e,"curveMonotoneX",function(){return N.monotoneX}),n.d(e,"curveMonotoneY",function(){return N.monotoneY});var z=n(/*! ./curve/natural */"./node_modules/d3-shape/src/curve/natural.js");n.d(e,"curveNatural",function(){return z.default});var T=n(/*! ./curve/step */"./node_modules/d3-shape/src/curve/step.js");n.d(e,"curveStep",function(){return T.default}),n.d(e,"curveStepAfter",function(){return T.stepAfter}),n.d(e,"curveStepBefore",function(){return T.stepBefore});var q=n(/*! ./stack */"./node_modules/d3-shape/src/stack.js");n.d(e,"stack",function(){return q.default});var H=n(/*! ./offset/expand */"./node_modules/d3-shape/src/offset/expand.js");n.d(e,"stackOffsetExpand",function(){return H.default});var D=n(/*! ./offset/diverging */"./node_modules/d3-shape/src/offset/diverging.js");n.d(e,"stackOffsetDiverging",function(){return D.default});var V=n(/*! ./offset/none */"./node_modules/d3-shape/src/offset/none.js");n.d(e,"stackOffsetNone",function(){return V.default});var X=n(/*! ./offset/silhouette */"./node_modules/d3-shape/src/offset/silhouette.js");n.d(e,"stackOffsetSilhouette",function(){return X.default});var Y=n(/*! ./offset/wiggle */"./node_modules/d3-shape/src/offset/wiggle.js");n.d(e,"stackOffsetWiggle",function(){return Y.default});var Z=n(/*! ./order/appearance */"./node_modules/d3-shape/src/order/appearance.js");n.d(e,"stackOrderAppearance",function(){return Z.default});var G=n(/*! ./order/ascending */"./node_modules/d3-shape/src/order/ascending.js");n.d(e,"stackOrderAscending",function(){return G.default});var $=n(/*! ./order/descending */"./node_modules/d3-shape/src/order/descending.js");n.d(e,"stackOrderDescending",function(){return $.default});var E=n(/*! ./order/insideOut */"./node_modules/d3-shape/src/order/insideOut.js");n.d(e,"stackOrderInsideOut",function(){return E.default});var Q=n(/*! ./order/none */"./node_modules/d3-shape/src/order/none.js");n.d(e,"stackOrderNone",function(){return Q.default});var J=n(/*! ./order/reverse */"./node_modules/d3-shape/src/order/reverse.js");n.d(e,"stackOrderReverse",function(){return J.default})},"./node_modules/d3-shape/src/line.js": /*!*******************************************!*\ !*** ./node_modules/d3-shape/src/line.js ***! \*******************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! d3-path */"./node_modules/d3-path/src/index.js"),o=n(/*! ./constant */"./node_modules/d3-shape/src/constant.js"),i=n(/*! ./curve/linear */"./node_modules/d3-shape/src/curve/linear.js"),u=n(/*! ./point */"./node_modules/d3-shape/src/point.js");e.default=function(){var t=u.x,e=u.y,n=Object(o.default)(!0),s=null,c=i.default,a=null;function l(o){var i,u,l,d=o.length,f=!1;for(null==s&&(a=c(l=Object(r.path)())),i=0;i<=d;++i)!(i1?0:t<-1?d:Math.acos(t)}function m(t){return t>=1?f:t<=-1?-f:Math.asin(t)}},"./node_modules/d3-shape/src/noop.js": /*!*******************************************!*\ !*** ./node_modules/d3-shape/src/noop.js ***! \*******************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(){}},"./node_modules/d3-shape/src/offset/diverging.js": /*!*******************************************************!*\ !*** ./node_modules/d3-shape/src/offset/diverging.js ***! \*******************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t,e){if((s=t.length)>1)for(var n,r,o,i,u,s,c=0,a=t[e[0]].length;c=0?(r[0]=i,r[1]=i+=o):o<0?(r[1]=u,r[0]=u+=o):r[0]=i}},"./node_modules/d3-shape/src/offset/expand.js": /*!****************************************************!*\ !*** ./node_modules/d3-shape/src/offset/expand.js ***! \****************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./none */"./node_modules/d3-shape/src/offset/none.js");e.default=function(t,e){if((o=t.length)>0){for(var n,o,i,u=0,s=t[0].length;u1)for(var n,r,o,i=1,u=t[e[0]],s=u.length;i0){for(var n,o=0,i=t[e[0]],u=i.length;o0&&(o=(n=t[e[0]]).length)>0){for(var n,o,i,u=0,s=1;si&&(i=e,r=n);return r}e.default=function(t){var e=t.map(o);return Object(r.default)(t).sort(function(t,n){return e[t]-e[n]})}},"./node_modules/d3-shape/src/order/ascending.js": /*!******************************************************!*\ !*** ./node_modules/d3-shape/src/order/ascending.js ***! \******************************************************/ /*! exports provided: default, sum */function(t,e,n){"use strict";n.r(e),n.d(e,"sum",function(){return o});var r=n(/*! ./none */"./node_modules/d3-shape/src/order/none.js");function o(t){for(var e,n=0,r=-1,o=t.length;++r=0;)n[e]=e;return n}},"./node_modules/d3-shape/src/order/reverse.js": /*!****************************************************!*\ !*** ./node_modules/d3-shape/src/order/reverse.js ***! \****************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./none */"./node_modules/d3-shape/src/order/none.js");e.default=function(t){return Object(r.default)(t).reverse()}},"./node_modules/d3-shape/src/pie.js": /*!******************************************!*\ !*** ./node_modules/d3-shape/src/pie.js ***! \******************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./constant */"./node_modules/d3-shape/src/constant.js"),o=n(/*! ./descending */"./node_modules/d3-shape/src/descending.js"),i=n(/*! ./identity */"./node_modules/d3-shape/src/identity.js"),u=n(/*! ./math */"./node_modules/d3-shape/src/math.js");e.default=function(){var t=i.default,e=o.default,n=null,s=Object(r.default)(0),c=Object(r.default)(u.tau),a=Object(r.default)(0);function l(r){var o,i,l,d,f,h=r.length,p=0,m=new Array(h),y=new Array(h),v=+s.apply(this,arguments),g=Math.min(u.tau,Math.max(-u.tau,c.apply(this,arguments)-v)),j=Math.min(Math.abs(g)/h,a.apply(this,arguments)),b=j*(g<0?-1:1);for(o=0;o0&&(p+=f);for(null!=e?m.sort(function(t,n){return e(y[t],y[n])}):null!=n&&m.sort(function(t,e){return n(r[t],r[e])}),o=0,l=p?(g-h*b)/p:0;o0?f*l:0)+b,y[i]={data:r[i],index:o,value:f,startAngle:v,endAngle:d,padAngle:j};return y}return l.value=function(e){return arguments.length?(t="function"==typeof e?e:Object(r.default)(+e),l):t},l.sortValues=function(t){return arguments.length?(e=t,n=null,l):e},l.sort=function(t){return arguments.length?(n=t,e=null,l):n},l.startAngle=function(t){return arguments.length?(s="function"==typeof t?t:Object(r.default)(+t),l):s},l.endAngle=function(t){return arguments.length?(c="function"==typeof t?t:Object(r.default)(+t),l):c},l.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:Object(r.default)(+t),l):a},l}},"./node_modules/d3-shape/src/point.js": /*!********************************************!*\ !*** ./node_modules/d3-shape/src/point.js ***! \********************************************/ /*! exports provided: x, y */function(t,e,n){"use strict";function r(t){return t[0]}function o(t){return t[1]}n.r(e),n.d(e,"x",function(){return r}),n.d(e,"y",function(){return o})},"./node_modules/d3-shape/src/pointRadial.js": /*!**************************************************!*\ !*** ./node_modules/d3-shape/src/pointRadial.js ***! \**************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]}},"./node_modules/d3-shape/src/stack.js": /*!********************************************!*\ !*** ./node_modules/d3-shape/src/stack.js ***! \********************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./array */"./node_modules/d3-shape/src/array.js"),o=n(/*! ./constant */"./node_modules/d3-shape/src/constant.js"),i=n(/*! ./offset/none */"./node_modules/d3-shape/src/offset/none.js"),u=n(/*! ./order/none */"./node_modules/d3-shape/src/order/none.js");function s(t,e){return t[e]}e.default=function(){var t=Object(o.default)([]),e=u.default,n=i.default,c=s;function a(r){var o,i,u=t.apply(this,arguments),s=r.length,a=u.length,l=new Array(a);for(o=0;o=0&&e._call.call(null,t),e=e._next;--i}function j(){l=(a=f.now())+d,i=u=0;try{g()}finally{i=0,function(){var t,e,n=r,i=1/0;for(;n;)n._call?(i>n._time&&(i=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:r=e);o=t,_(i)}(),l=0}}function b(){var t=f.now(),e=t-a;e>c&&(d-=e,a=t)}function _(t){i||(u&&(u=clearTimeout(u)),t-l>24?(t<1/0&&(u=setTimeout(j,t-f.now()-d)),s&&(s=clearInterval(s))):(s||(a=f.now(),s=setInterval(b,c)),i=1,h(j)))}y.prototype=v.prototype={constructor:y,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?p():+n)+(null==e?0:+e),this._next||o===this||(o?o._next=this:r=this,o=this),this._call=t,this._time=n,_()},stop:function(){this._call&&(this._call=null,this._time=1/0,_())}}},"./node_modules/d3-transition/src/active.js": /*!**************************************************!*\ !*** ./node_modules/d3-transition/src/active.js ***! \**************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./transition/index */"./node_modules/d3-transition/src/transition/index.js"),o=n(/*! ./transition/schedule */"./node_modules/d3-transition/src/transition/schedule.js"),i=[null];e.default=function(t,e){var n,u,s=t.__transition;if(s)for(u in e=null==e?null:e+"",s)if((n=s[u]).state>o.SCHEDULED&&n.name===e)return new r.Transition([[t]],i,e,+u);return null}},"./node_modules/d3-transition/src/index.js": /*!*************************************************!*\ !*** ./node_modules/d3-transition/src/index.js ***! \*************************************************/ /*! exports provided: transition, active, interrupt */function(t,e,n){"use strict";n.r(e);n(/*! ./selection/index */"./node_modules/d3-transition/src/selection/index.js");var r=n(/*! ./transition/index */"./node_modules/d3-transition/src/transition/index.js");n.d(e,"transition",function(){return r.default});var o=n(/*! ./active */"./node_modules/d3-transition/src/active.js");n.d(e,"active",function(){return o.default});var i=n(/*! ./interrupt */"./node_modules/d3-transition/src/interrupt.js");n.d(e,"interrupt",function(){return i.default})},"./node_modules/d3-transition/src/interrupt.js": /*!*****************************************************!*\ !*** ./node_modules/d3-transition/src/interrupt.js ***! \*****************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./transition/schedule */"./node_modules/d3-transition/src/transition/schedule.js");e.default=function(t,e){var n,o,i,u=t.__transition,s=!0;if(u){for(i in e=null==e?null:e+"",u)(n=u[i]).name===e?(o=n.state>r.STARTING&&n.state=0&&(t=t.slice(0,e)),!t||"start"===t})}(e)?r.init:r.set;return function(){var r=u(this,t),s=r.on;s!==o&&(i=(o=s).copy()).on(e,n),r.on=i}}(n,t,e))}},"./node_modules/d3-transition/src/transition/remove.js": /*!*************************************************************!*\ !*** ./node_modules/d3-transition/src/transition/remove.js ***! \*************************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(){return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}));var t}},"./node_modules/d3-transition/src/transition/schedule.js": /*!***************************************************************!*\ !*** ./node_modules/d3-transition/src/transition/schedule.js ***! \***************************************************************/ /*! exports provided: CREATED, SCHEDULED, STARTING, STARTED, RUNNING, ENDING, ENDED, default, init, set, get */function(t,e,n){"use strict";n.r(e),n.d(e,"CREATED",function(){return s}),n.d(e,"SCHEDULED",function(){return c}),n.d(e,"STARTING",function(){return a}),n.d(e,"STARTED",function(){return l}),n.d(e,"RUNNING",function(){return d}),n.d(e,"ENDING",function(){return f}),n.d(e,"ENDED",function(){return h}),n.d(e,"init",function(){return p}),n.d(e,"set",function(){return m}),n.d(e,"get",function(){return y});var r=n(/*! d3-dispatch */"./node_modules/d3-dispatch/src/index.js"),o=n(/*! d3-timer */"./node_modules/d3-timer/src/index.js"),i=Object(r.dispatch)("start","end","interrupt"),u=[],s=0,c=1,a=2,l=3,d=4,f=5,h=6;function p(t,e){var n=y(t,e);if(n.state>s)throw new Error("too late; already scheduled");return n}function m(t,e){var n=y(t,e);if(n.state>a)throw new Error("too late; already started");return n}function y(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}e.default=function(t,e,n,r,p,m){var y=t.__transition;if(y){if(n in y)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function u(f){var m,y,v,g;if(n.state!==c)return p();for(m in i)if((g=i[m]).name===n.name){if(g.state===l)return Object(o.timeout)(u);g.state===d?(g.state=h,g.timer.stop(),g.on.call("interrupt",t,t.__data__,g.index,g.group),delete i[m]):+mr?(r+o)/2:Math.min(0,r)||Math.max(0,o),u>i?(i+u)/2:Math.min(0,i)||Math.max(0,u))}e.default=function(){var t,e,n=f,g=h,j=v,b=m,_=y,x=[0,1/0],w=[[-1/0,-1/0],[1/0,1/0]],A=250,O=i.interpolateZoom,k=[],S=Object(r.dispatch)("start","zoom","end"),C=500,B=150,F=0;function N(t){t.property("__zoom",p).on("wheel.zoom",X).on("mousedown.zoom",Y).on("dblclick.zoom",Z).filter(_).on("touchstart.zoom",G).on("touchmove.zoom",$).on("touchend.zoom touchcancel.zoom",E).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function z(t,e){return(e=Math.max(x[0],Math.min(x[1],e)))===t.k?t:new l.Transform(e,t.x,t.y)}function T(t,e,n){var r=e[0]-n[0]*t.k,o=e[1]-n[1]*t.k;return r===t.x&&o===t.y?t:new l.Transform(t.k,r,o)}function q(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function H(t,e,n){t.on("start.zoom",function(){D(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){D(this,arguments).end()}).tween("zoom",function(){var t=arguments,r=D(this,t),o=g.apply(this,t),i=n||q(o),u=Math.max(o[1][0]-o[0][0],o[1][1]-o[0][1]),s=this.__zoom,c="function"==typeof e?e.apply(this,t):e,a=O(s.invert(i).concat(u/s.k),c.invert(i).concat(u/c.k));return function(t){if(1===t)t=c;else{var e=a(t),n=u/e[2];t=new l.Transform(n,i[0]-e[0]*n,i[1]-e[1]*n)}r.zoom(null,t)}})}function D(t,e){for(var n,r=0,o=k.length;rF}t.zoom("mouse",j(T(t.that.__zoom,t.mouse[0]=Object(u.mouse)(t.that),t.mouse[1]),t.extent,w))},!0).on("mouseup.zoom",function(){r.on("mousemove.zoom mouseup.zoom",null),Object(o.dragEnable)(u.event.view,t.moved),Object(d.default)(),t.end()},!0),i=Object(u.mouse)(this),c=u.event.clientX,a=u.event.clientY;Object(o.dragDisable)(u.event.view),Object(d.nopropagation)(),t.mouse=[i,this.__zoom.invert(i)],Object(s.interrupt)(this),t.start()}}function Z(){if(n.apply(this,arguments)){var t=this.__zoom,e=Object(u.mouse)(this),r=t.invert(e),o=t.k*(u.event.shiftKey?.5:2),i=j(T(z(t,o),e,r),g.apply(this,arguments),w);Object(d.default)(),A>0?Object(u.select)(this).transition().duration(A).call(H,i,e):Object(u.select)(this).call(N.transform,i)}}function G(){if(n.apply(this,arguments)){var e,r,o,i,c=D(this,arguments),a=u.event.changedTouches,l=a.length;for(Object(d.nopropagation)(),r=0;r=0?(i=Object(r.merge)(s.map(function(t){return t instanceof Array?t:[t]})),1===(i=Array.from(new Set(i))).length&&(i=i[0])):c.indexOf(String)>=0?1===(i=Array.from(new Set(s))).length&&(i=i[0]):c.indexOf(Number)>=0?i=Object(r.sum)(s):c.indexOf(Object)>=0?i=t(s.filter(function(t){return t})):1===(i=Array.from(new Set(s.filter(function(t){return void 0!==t})))).length&&(i=i[0]):i=void 0}u[o]=i}),u}},"./node_modules/d3plus-common/es/src/parseSides.js": /*!*********************************************************!*\ !*** ./node_modules/d3plus-common/es/src/parseSides.js ***! \*********************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t){var e;return 1===(e="number"==typeof t?[t]:t.split(/\s+/)).length?e=[e[0],e[0],e[0],e[0]]:2===e.length?e=e.concat(e):3===e.length&&e.push(e[1]),["top","right","bottom","left"].reduce(function(t,n,r){var o=parseFloat(e[r]);return t[n]=o||0,t},{})}},"./node_modules/d3plus-common/es/src/prefix.js": /*!*****************************************************!*\ !*** ./node_modules/d3plus-common/es/src/prefix.js ***! \*****************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(){return"-webkit-transform"in document.body.style?"-webkit-":"-moz-transform"in document.body.style?"-moz-":"-ms-transform"in document.body.style?"-ms-":"-o-transform"in document.body.style?"-o-":""}},"./node_modules/d3plus-common/es/src/stylize.js": /*!******************************************************!*\ !*** ./node_modules/d3plus-common/es/src/stylize.js ***! \******************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t,e){for(var n in void 0===e&&(e={}),e)({}).hasOwnProperty.call(e,n)&&t.style(n,e[n])}},"./node_modules/d3plus-common/es/src/uuid.js": /*!***************************************************!*\ !*** ./node_modules/d3plus-common/es/src/uuid.js ***! \***************************************************/ /*! exports provided: default */function(t,e,n){"use strict";function r(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}n.r(e),e.default=function(){return""+r()+r()+"-"+r()+"-"+r()+"-"+r()+"-"+r()+r()+r()}},"./node_modules/d3plus-text/es/index.js": /*!**********************************************!*\ !*** ./node_modules/d3plus-text/es/index.js ***! \**********************************************/ /*! exports provided: fontExists, rtl, stringify, strip, TextBox, textSplit, textWidth, textWrap, titleCase, trim, trimLeft, trimRight */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./src/fontExists */"./node_modules/d3plus-text/es/src/fontExists.js");n.d(e,"fontExists",function(){return r.default});var o=n(/*! ./src/rtl */"./node_modules/d3plus-text/es/src/rtl.js");n.d(e,"rtl",function(){return o.default});var i=n(/*! ./src/stringify */"./node_modules/d3plus-text/es/src/stringify.js");n.d(e,"stringify",function(){return i.default});var u=n(/*! ./src/strip */"./node_modules/d3plus-text/es/src/strip.js");n.d(e,"strip",function(){return u.default});var s=n(/*! ./src/TextBox */"./node_modules/d3plus-text/es/src/TextBox.js");n.d(e,"TextBox",function(){return s.default});var c=n(/*! ./src/textSplit */"./node_modules/d3plus-text/es/src/textSplit.js");n.d(e,"textSplit",function(){return c.default});var a=n(/*! ./src/textWidth */"./node_modules/d3plus-text/es/src/textWidth.js");n.d(e,"textWidth",function(){return a.default});var l=n(/*! ./src/textWrap */"./node_modules/d3plus-text/es/src/textWrap.js");n.d(e,"textWrap",function(){return l.default});var d=n(/*! ./src/titleCase */"./node_modules/d3plus-text/es/src/titleCase.js");n.d(e,"titleCase",function(){return d.default});var f=n(/*! ./src/trim */"./node_modules/d3plus-text/es/src/trim.js");n.d(e,"trim",function(){return f.trim}),n.d(e,"trimLeft",function(){return f.trimLeft}),n.d(e,"trimRight",function(){return f.trimRight})},"./node_modules/d3plus-text/es/src/TextBox.js": /*!****************************************************!*\ !*** ./node_modules/d3plus-text/es/src/TextBox.js ***! \****************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! d3-selection */"./node_modules/d3-selection/src/index.js"),o=n(/*! d3-transition */"./node_modules/d3-transition/src/index.js"),i=n(/*! d3-array */"./node_modules/d3-array/src/index.js"),u=n(/*! d3plus-common */"./node_modules/d3plus-common/es/index.js"),s=n(/*! ./fontExists */"./node_modules/d3plus-text/es/src/fontExists.js"),c=n(/*! ./rtl */"./node_modules/d3plus-text/es/src/rtl.js"),a=n(/*! ./strip */"./node_modules/d3plus-text/es/src/strip.js"),l=n(/*! ./textSplit */"./node_modules/d3plus-text/es/src/textSplit.js"),d=n(/*! ./textWidth */"./node_modules/d3plus-text/es/src/textWidth.js"),f=n(/*! ./textWrap */"./node_modules/d3plus-text/es/src/textWrap.js"),h=n(/*! ./trim */"./node_modules/d3plus-text/es/src/trim.js"),p=function(t){function e(){var e=this;t.call(this),this._ariaHidden=Object(u.constant)("false"),this._delay=0,this._duration=0,this._ellipsis=function(t,e){return e?t.replace(/\.|,$/g,"")+"...":""},this._fontColor=Object(u.constant)("black"),this._fontFamily=Object(u.constant)(["Roboto","Helvetica Neue","HelveticaNeue","Helvetica","Arial","sans-serif"]),this._fontMax=Object(u.constant)(50),this._fontMin=Object(u.constant)(8),this._fontOpacity=Object(u.constant)(1),this._fontResize=Object(u.constant)(!1),this._fontSize=Object(u.constant)(10),this._fontWeight=Object(u.constant)(400),this._height=Object(u.accessor)("height",200),this._id=function(t,e){return t.id||""+e},this._lineHeight=function(t,n){return 1.2*e._fontSize(t,n)},this._maxLines=Object(u.constant)(null),this._on={},this._overflow=Object(u.constant)(!1),this._padding=Object(u.constant)(0),this._pointerEvents=Object(u.constant)("auto"),this._rotate=Object(u.constant)(0),this._rotateAnchor=function(t){return[t.w/2,t.h/2]},this._split=l.default,this._text=Object(u.accessor)("text"),this._textAnchor=Object(u.constant)("start"),this._verticalAlign=Object(u.constant)("top"),this._width=Object(u.accessor)("width",200),this._x=Object(u.accessor)("x",0),this._y=Object(u.accessor)("y",0)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.render=function(t){var e=this;void 0===this._select&&this.select(Object(r.select)("body").append("svg").style("width",window.innerWidth+"px").style("height",window.innerHeight+"px").node());var n=this,l=this._select.selectAll(".d3plus-textBox").data(this._data.reduce(function(t,r,o){var c=e._text(r,o);if(void 0===c)return t;var a,l,h=e._fontResize(r,o),p=e._lineHeight(r,o)/e._fontSize(r,o),m=h?e._fontMax(r,o):e._fontSize(r,o),y=h?m*p:e._lineHeight(r,o),v=1,g=[],j={"font-family":Object(s.default)(e._fontFamily(r,o)),"font-size":m,"font-weight":e._fontWeight(r,o),"line-height":y},b=Object(u.parseSides)(e._padding(r,o)),_=e._height(r,o)-(b.top+b.bottom),x=e._width(r,o)-(b.left+b.right),w=Object(f.default)().fontFamily(j["font-family"]).fontSize(m).fontWeight(j["font-weight"]).lineHeight(y).maxLines(e._maxLines(r,o)).height(_).overflow(e._overflow(r,o)).width(x),A=e._fontMax(r,o),O=e._fontMin(r,o),k=e._verticalAlign(r,o),S=e._split(c,o);if(x>O&&(_>y||h&&_>O*p)){if(h){a=Object(d.default)(S,j);var C=1.165+x/_*.1,B=x*_,F=Object(i.max)(a),N=Object(i.sum)(a,function(t){return t*y})*C;if(F>x||N>B){var z=Math.sqrt(B/N),T=x/F,q=Object(i.min)([z,T]);m=Math.floor(m*q)}var H=Math.floor(.8*_);m>H&&(m=H)}!function t(){var e=function(){v<1?g=[n._ellipsis("",v)]:g[v-1]=n._ellipsis(g[v-1],v)};if(m=Object(i.max)([m,O]),m=Object(i.min)([m,A]),h&&(y=m*p,w.fontSize(m).lineHeight(y),j["font-size"]=m,j["line-height"]=y),l=w(c),g=l.lines.filter(function(t){return""!==t}),v=g.length,l.truncated)if(h){if(--m",")","}","]",".","!","?","u00BB","u300B","u3009"].concat(u),a="က-ဪဿ-၉ၐ-ၕ㐀-龿぀-ゟ゠-ヿ＀-+--}⦅-゚㐀-䶿ກ-ຮະ-ໄ່-໋ໍ-ໝ",l=new RegExp("(\\"+u.join("|\\")+")*[^\\s|\\"+u.join("|\\")+"]*(\\"+u.join("|\\")+")*","g"),d=new RegExp("["+a+"]"),f=new RegExp("(\\"+s.join("|\\")+")*["+a+"](\\"+c.join("|\\")+"|\\"+o.default.join("|\\")+")*|[a-z0-9]+","gi");e.default=function(t){return d.test(t)?Object(i.merge)(Object(r.default)(t).match(l).map(function(t){return d.test(t)?t.match(f):[t]})):Object(r.default)(t).match(l).filter(function(t){return t.length})}},"./node_modules/d3plus-text/es/src/textWidth.js": /*!******************************************************!*\ !*** ./node_modules/d3plus-text/es/src/textWidth.js ***! \******************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e),e.default=function(t,e){e=Object.assign({"font-size":10,"font-family":"sans-serif","font-style":"normal","font-weight":400,"font-variant":"normal"},e);var n=document.createElement("canvas").getContext("2d"),r=[];return r.push(e["font-style"]),r.push(e["font-variant"]),r.push(e["font-weight"]),r.push("string"==typeof e["font-size"]?e["font-size"]:e["font-size"]+"px"),r.push(e["font-family"]),n.font=r.join(" "),t instanceof Array?t.map(function(t){return n.measureText(t).width}):n.measureText(t).width}},"./node_modules/d3plus-text/es/src/textWrap.js": /*!*****************************************************!*\ !*** ./node_modules/d3plus-text/es/src/textWrap.js ***! \*****************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./textWidth */"./node_modules/d3plus-text/es/src/textWidth.js"),o=n(/*! ./textSplit */"./node_modules/d3plus-text/es/src/textSplit.js"),i=n(/*! ./stringify */"./node_modules/d3plus-text/es/src/stringify.js"),u=n(/*! ./trim */"./node_modules/d3plus-text/es/src/trim.js");e.default=function(){var t,e="sans-serif",n=10,s=400,c=200,a=null,l=!1,d=o.default,f=200;function h(o){o=Object(i.default)(o),void 0===t&&(t=Math.ceil(1.4*n));for(var h=d(o),p={"font-family":e,"font-size":n,"font-weight":s,"line-height":t},m=1,y="",v=!1,g=0,j=[],b=Object(r.default)(h,p),_=Object(r.default)(" ",p),x=0;xf){if(!x&&!l){v=!0;break}if(j[m-1]=Object(u.trimRight)(j[m-1]),t*++m>c||A>f&&!l||a&&m>a){v=!0;break}g=0,j.push(w)}else x?j[m-1]+=w:j[0]=w;y+=w,g+=A,g+=w.match(/[\s]*$/g)[0].length*_}return{lines:j,sentence:o,truncated:v,widths:Object(r.default)(j,p),words:h}}return h.fontFamily=function(t){return arguments.length?(e=t,h):e},h.fontSize=function(t){return arguments.length?(n=t,h):n},h.fontWeight=function(t){return arguments.length?(s=t,h):s},h.height=function(t){return arguments.length?(c=t,h):c},h.lineHeight=function(e){return arguments.length?(t=e,h):t},h.maxLines=function(t){return arguments.length?(a=t,h):a},h.overflow=function(t){return arguments.length?(l=t,h):l},h.split=function(t){return arguments.length?(d=t,h):d},h.width=function(t){return arguments.length?(f=t,h):f},h}},"./node_modules/d3plus-text/es/src/titleCase.js": /*!******************************************************!*\ !*** ./node_modules/d3plus-text/es/src/titleCase.js ***! \******************************************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./textSplit */"./node_modules/d3plus-text/es/src/textSplit.js"),o=["a","an","and","as","at","but","by","for","from","if","in","into","near","nor","of","on","onto","or","per","that","the","to","with","via","vs","vs."],i=["CEO","CFO","CNC","COO","CPU","GDP","HVAC","ID","IT","R&D","TV","UI"];e.default=function(t){if(void 0===t)return"";var e=o.map(function(t){return t.toLowerCase()}),n=i.slice(),u=(n=n.concat(n.map(function(t){return t+"s"}))).map(function(t){return t.toLowerCase()}),s=Object(r.default)(t);return s.map(function(t,o){if(t){var i=t.toLowerCase(),c=r.suffixChars.includes(i.charAt(i.length-1))?i.slice(0,-1):i,a=u.indexOf(c);return a>=0?n[a]:e.includes(c)&&0!==o&&o!==s.length-1?i:t.charAt(0).toUpperCase()+t.substr(1).toLowerCase()}return""}).reduce(function(e,n,r){return r&&" "===t.charAt(e.length)&&(e+=" "),e+=n},"")}},"./node_modules/d3plus-text/es/src/trim.js": /*!*************************************************!*\ !*** ./node_modules/d3plus-text/es/src/trim.js ***! \*************************************************/ /*! exports provided: trim, trimLeft, trimRight */function(t,e,n){"use strict";function r(t){return t.replace(/^\s+|\s+$/g,"")}function o(t){return t.replace(/^\s+/,"")}function i(t){return t.replace(/\s+$/,"")}n.r(e),n.d(e,"trim",function(){return r}),n.d(e,"trimLeft",function(){return o}),n.d(e,"trimRight",function(){return i})},"./node_modules/events/events.js": /*!***************************************!*\ !*** ./node_modules/events/events.js ***! \***************************************/ /*! no static exports found */function(t,e){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(t){return"function"==typeof t}function o(t){return"object"==typeof t&&null!==t}function i(t){return void 0===t}t.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},n.prototype.emit=function(t){var e,n,u,s,c,a;if(this._events||(this._events={}),"error"===t&&(!this._events.error||o(this._events.error)&&!this._events.error.length)){if((e=arguments[1])instanceof Error)throw e;var l=new Error('Uncaught, unspecified "error" event. ('+e+")");throw l.context=e,l}if(i(n=this._events[t]))return!1;if(r(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),n.apply(this,s)}else if(o(n))for(s=Array.prototype.slice.call(arguments,1),u=(a=n.slice()).length,c=0;c0&&this._events[t].length>u&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(t,e){if(!r(e))throw TypeError("listener must be a function");var n=!1;function o(){this.removeListener(t,o),n||(n=!0,e.apply(this,arguments))}return o.listener=e,this.on(t,o),this},n.prototype.removeListener=function(t,e){var n,i,u,s;if(!r(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(u=(n=this._events[t]).length,i=-1,n===e||r(n.listener)&&n.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(o(n)){for(s=u;s-- >0;)if(n[s]===e||n[s].listener&&n[s].listener===e){i=s;break}if(i<0)return this;1===n.length?(n.length=0,delete this._events[t]):n.splice(i,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},n.prototype.removeAllListeners=function(t){var e,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(e in this._events)"removeListener"!==e&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(r(n=this._events[t]))this.removeListener(t,n);else if(n)for(;n.length;)this.removeListener(t,n[n.length-1]);return delete this._events[t],this},n.prototype.listeners=function(t){return this._events&&this._events[t]?r(this._events[t])?[this._events[t]]:this._events[t].slice():[]},n.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(r(e))return 1;if(e)return e.length}return 0},n.listenerCount=function(t,e){return t.listenerCount(e)}},"./src/index.js": /*!**********************!*\ !*** ./src/index.js ***! \**********************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./js/BoxedTree */"./src/js/BoxedTree.js"),o=n(/*! ./js/CircleTree */"./src/js/CircleTree.js");e.default={boxedTree:r.default,circleTree:o.default}},"./src/js/BaseTree.js": /*!****************************!*\ !*** ./src/js/BaseTree.js ***! \****************************/ /*! exports provided: default */function(t,e,n){"use strict";n.r(e);var r=n(/*! ./CustomD3 */"./src/js/CustomD3.js"),o=n(/*! ./NodeSettings */"./src/js/NodeSettings.js"),i=n(/*! ./LoadOnDemandSettings */"./src/js/LoadOnDemandSettings.js"),u=n(/*! events */"./node_modules/events/events.js"),s=n.n(u);function c(t){return(c="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})(t)}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t,e){for(var n=0;n