!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.DataSet=n():t.DataSet=n()}("undefined"!=typeof self?self:this,function(){return function(t){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}var e={};return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get: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,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=273)}([function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(146);e.d(n,"geoArea",function(){return r.c});var o=e(294);e.d(n,"geoBounds",function(){return o.a});var i=e(295);e.d(n,"geoCentroid",function(){return i.a});var c=e(147);e.d(n,"geoCircle",function(){return c.b});var u=e(86);e.d(n,"geoClipExtent",function(){return u.b});var a=e(314);e.d(n,"geoContains",function(){return a.a});var f=e(165);e.d(n,"geoDistance",function(){return f.a});var s=e(315);e.d(n,"geoGraticule",function(){return s.a}),e.d(n,"geoGraticule10",function(){return s.b});var l=e(316);e.d(n,"geoInterpolate",function(){return l.a});var h=e(166);e.d(n,"geoLength",function(){return h.a});var p=e(317);e.d(n,"geoPath",function(){return p.a});var v=e(168);e.d(n,"geoAlbers",function(){return v.a});var b=e(327);e.d(n,"geoAlbersUsa",function(){return b.a});var g=e(328);e.d(n,"geoAzimuthalEqualArea",function(){return g.b}),e.d(n,"geoAzimuthalEqualAreaRaw",function(){return g.a});var d=e(329);e.d(n,"geoAzimuthalEquidistant",function(){return d.b}),e.d(n,"geoAzimuthalEquidistantRaw",function(){return d.a});var j=e(330);e.d(n,"geoConicConformal",function(){return j.b}),e.d(n,"geoConicConformalRaw",function(){return j.a});var O=e(89);e.d(n,"geoConicEqualArea",function(){return O.b}),e.d(n,"geoConicEqualAreaRaw",function(){return O.a});var y=e(331);e.d(n,"geoConicEquidistant",function(){return y.b}),e.d(n,"geoConicEquidistantRaw",function(){return y.a});var m=e(170);e.d(n,"geoEquirectangular",function(){return m.a}),e.d(n,"geoEquirectangularRaw",function(){return m.b});var x=e(332);e.d(n,"geoGnomonic",function(){return x.a}),e.d(n,"geoGnomonicRaw",function(){return x.b});var _=e(333);e.d(n,"geoIdentity",function(){return _.a});var w=e(17);e.d(n,"geoProjection",function(){return w.a}),e.d(n,"geoProjectionMutator",function(){return w.b});var E=e(92);e.d(n,"geoMercator",function(){return E.a}),e.d(n,"geoMercatorRaw",function(){return E.c});var M=e(334);e.d(n,"geoOrthographic",function(){return M.a}),e.d(n,"geoOrthographicRaw",function(){return M.b});var S=e(335);e.d(n,"geoStereographic",function(){return S.a}),e.d(n,"geoStereographicRaw",function(){return S.b});var T=e(336);e.d(n,"geoTransverseMercator",function(){return T.a}),e.d(n,"geoTransverseMercatorRaw",function(){return T.b});var k=e(61);e.d(n,"geoRotation",function(){return k.a});var P=e(26);e.d(n,"geoStream",function(){return P.a});var C=e(62);e.d(n,"geoTransform",function(){return C.a})},function(t,n,e){"use strict";function r(t){return t>0?Math.sqrt(t):0}e.d(n,"a",function(){return o}),e.d(n,"f",function(){return i}),e.d(n,"g",function(){return c}),e.d(n,"h",function(){return u}),e.d(n,"m",function(){return a}),e.d(n,"n",function(){return f}),e.d(n,"p",function(){return s}),e.d(n,"q",function(){return l}),e.d(n,"r",function(){return h}),e.d(n,"t",function(){return p}),e.d(n,"w",function(){return v}),e.d(n,"x",function(){return b}),e.d(n,"y",function(){return g}),e.d(n,"F",function(){return d}),e.d(n,"k",function(){return j}),e.d(n,"l",function(){return O}),e.d(n,"s",function(){return y}),e.d(n,"o",function(){return m}),e.d(n,"u",function(){return x}),e.d(n,"C",function(){return _}),e.d(n,"D",function(){return w}),e.d(n,"E",function(){return E}),e.d(n,"H",function(){return M}),e.d(n,"j",function(){return S}),e.d(n,"v",function(){return T}),n.z=function(t){return t?t/Math.sin(t):1},n.e=function(t){return t>1?m:t<-1?-m:Math.asin(t)},n.b=function(t){return t>1?0:t<-1?y:Math.acos(t)},n.B=r,n.G=function(t){return((t=a(2*t))-1)/(t+1)},n.A=function(t){return(a(t)-a(-t))/2},n.i=function(t){return(a(t)+a(-t))/2},n.d=function(t){return s(t+r(t*t+1))},n.c=function(t){return s(t+r(t*t-1))};var o=Math.abs,i=Math.atan,c=Math.atan2,u=(Math.ceil,Math.cos),a=Math.exp,f=Math.floor,s=Math.log,l=Math.max,h=Math.min,p=Math.pow,v=Math.round,b=Math.sign||function(t){return t>0?1:t<0?-1:0},g=Math.sin,d=Math.tan,j=1e-6,O=1e-12,y=Math.PI,m=y/2,x=y/4,_=Math.SQRT1_2,w=r(2),E=r(y),M=2*y,S=180/y,T=y/180},function(t,n,e){var r=e(5),o=e(240),i=e(13),c=e(581),u=e(182),a=e(43),f=e(120),s=function(t){function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{state:{}};!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n);var o=function(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!=typeof n&&"function"!=typeof n?t:n}(this,t.call(this));return r(o,{_onChangeTimer:null,DataSet:n,isDataSet:!0,views:{}},e),o}return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}(n,t),n.prototype._getUniqueViewName=function(){for(var t=c("view_");this.views[t];)t=c("view_");return t},n.prototype.createView=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=this;if(o(t)&&(t=e._getUniqueViewName()),i(t)&&(n=t,t=e._getUniqueViewName()),e.views[t])throw new Error("data view exists: "+t);var r=new a(e,n);return e.views[t]=r,r},n.prototype.getView=function(t){return this.views[t]},n.prototype.setView=function(t,n){this.views[t]=n},n.prototype.setState=function(t,n){var e=this;e.state[t]=n,e._onChangeTimer&&(clearTimeout(e._onChangeTimer),e._onChangeTimer=null),e._onChangeTimer=setTimeout(function(){e.emit("statechange",t,n)},16)},n}(u);r(s,{CONSTANTS:f,DataSet:s,DataView:a,View:a,connectors:{},transforms:{},registerConnector:function(t,n){s.connectors[t]=n},getConnector:function(t){return s.connectors[t]||s.connectors.default},registerTransform:function(t,n){s.transforms[t]=n},getTransform:function(t){return s.transforms[t]||s.transforms.default}},f),a.DataSet=s,r(s.prototype,{view:s.prototype.createView}),t.exports=s},function(t,n){var e=Array.isArray;t.exports=e},function(t,n,e){"use strict";e.d(n,"i",function(){return r}),e.d(n,"j",function(){return o}),e.d(n,"o",function(){return i}),e.d(n,"l",function(){return c}),e.d(n,"q",function(){return u}),e.d(n,"w",function(){return a}),e.d(n,"h",function(){return f}),e.d(n,"r",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"d",function(){return h}),e.d(n,"e",function(){return p}),e.d(n,"g",function(){return v}),e.d(n,"f",function(){return b}),e.d(n,"k",function(){return g}),e.d(n,"n",function(){return d}),e.d(n,"p",function(){return j}),e.d(n,"t",function(){return O}),e.d(n,"s",function(){return y}),e.d(n,"u",function(){return m}),e.d(n,"v",function(){return x}),n.b=function(t){return t>1?0:t<-1?i:Math.acos(t)},n.c=function(t){return t>1?c:t<-1?-c:Math.asin(t)},n.m=function(t){return(t=O(t/2))*t};var r=1e-6,o=1e-12,i=Math.PI,c=i/2,u=i/4,a=2*i,f=180/i,s=i/180,l=Math.abs,h=Math.atan,p=Math.atan2,v=Math.cos,b=Math.ceil,g=Math.exp,d=(Math.floor,Math.log),j=Math.pow,O=Math.sin,y=Math.sign||function(t){return t>0?1:t<0?-1:0},m=Math.sqrt,x=Math.tan},function(t,n,e){var r=e(57),o=e(37),i=e(282),c=e(20),u=e(60),a=e(9),f=Object.prototype.hasOwnProperty,s=i(function(t,n){if(u(n)||c(n))o(n,a(n),t);else for(var e in n)f.call(n,e)&&r(t,e,n[e])});t.exports=s},function(t,n,e){"use strict";e.d(n,"i",function(){return r}),e.d(n,"j",function(){return o}),e.d(n,"o",function(){return i}),e.d(n,"l",function(){return c}),e.d(n,"q",function(){return u}),e.d(n,"w",function(){return a}),e.d(n,"h",function(){return f}),e.d(n,"r",function(){return s}),e.d(n,"a",function(){return l}),e.d(n,"d",function(){return h}),e.d(n,"e",function(){return p}),e.d(n,"g",function(){return v}),e.d(n,"f",function(){return b}),e.d(n,"k",function(){return g}),e.d(n,"n",function(){return d}),e.d(n,"p",function(){return j}),e.d(n,"t",function(){return O}),e.d(n,"s",function(){return y}),e.d(n,"u",function(){return m}),e.d(n,"v",function(){return x}),n.b=function(t){return t>1?0:t<-1?i:Math.acos(t)},n.c=function(t){return t>1?c:t<-1?-c:Math.asin(t)},n.m=function(t){return(t=O(t/2))*t};var r=1e-6,o=1e-12,i=Math.PI,c=i/2,u=i/4,a=2*i,f=180/i,s=i/180,l=Math.abs,h=Math.atan,p=Math.atan2,v=Math.cos,b=Math.ceil,g=Math.exp,d=(Math.floor,Math.log),j=Math.pow,O=Math.sin,y=Math.sign||function(t){return t>0?1:t<0?-1:0},m=Math.sqrt,x=Math.tan},function(t,n,e){var r=e(3),o=e(8),i="Invalid fields: it must be an array!";t.exports={getField:function(t,n){var e=t.field,i=t.fields;if(o(e))return e;if(r(e))return console.warn("Invalid field: it must be a string!"),e[0];if(console.warn("Invalid field: it must be a string! will try to get fields instead."),o(i))return i;if(r(i)&&i.length)return i[0];if(n)return n;throw new TypeError("Invalid field: it must be a string!")},getFields:function(t,n){var e=t.field,c=t.fields;if(r(c))return c;if(o(c))return console.warn(i),[c];if(console.warn(i+" will try to get field instead."),o(e))return console.warn(i),[e];if(r(e)&&e.length)return console.warn(i),e;if(n)return n;throw new TypeError(i)}}},function(t,n,e){var r=e(19),o=e(3),i=e(16),c="[object String]";t.exports=function(t){return"string"==typeof t||!o(t)&&i(t)&&r(t)==c}},function(t,n,e){var r=e(143),o=e(292),i=e(20);t.exports=function(t){return i(t)?r(t):o(t)}},function(t,n,e){var r=e(204),o=e(205),i=e(100);t.exports=function(t,n){return null==t?t:r(t,o(n),i)}},function(t,n,e){var r=e(19),o=e(13),i="[object AsyncFunction]",c="[object Function]",u="[object GeneratorFunction]",a="[object Proxy]";t.exports=function(t){if(!o(t))return!1;var n=r(t);return n==c||n==u||n==i||n==a}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(152);e.d(n,"bisect",function(){return r.c}),e.d(n,"bisectRight",function(){return r.b}),e.d(n,"bisectLeft",function(){return r.a});var o=e(34);e.d(n,"ascending",function(){return o.a});var i=e(153);e.d(n,"bisector",function(){return i.a});var c=e(298);e.d(n,"cross",function(){return c.a});var u=e(299);e.d(n,"descending",function(){return u.a});var a=e(155);e.d(n,"deviation",function(){return a.a});var f=e(157);e.d(n,"extent",function(){return f.a});var s=e(300);e.d(n,"histogram",function(){return s.a});var l=e(303);e.d(n,"thresholdFreedmanDiaconis",function(){return l.a});var h=e(304);e.d(n,"thresholdScott",function(){return h.a});var p=e(161);e.d(n,"thresholdSturges",function(){return p.a});var v=e(305);e.d(n,"max",function(){return v.a});var b=e(306);e.d(n,"mean",function(){return b.a});var g=e(307);e.d(n,"median",function(){return g.a});var d=e(308);e.d(n,"merge",function(){return d.a});var j=e(162);e.d(n,"min",function(){return j.a});var O=e(154);e.d(n,"pairs",function(){return O.a});var y=e(309);e.d(n,"permute",function(){return y.a});var m=e(87);e.d(n,"quantile",function(){return m.a});var x=e(159);e.d(n,"range",function(){return x.a});var _=e(310);e.d(n,"scan",function(){return _.a});var w=e(311);e.d(n,"shuffle",function(){return w.a});var E=e(312);e.d(n,"sum",function(){return E.a});var M=e(160);e.d(n,"ticks",function(){return M.a}),e.d(n,"tickIncrement",function(){return M.b}),e.d(n,"tickStep",function(){return M.c});var S=e(163);e.d(n,"transpose",function(){return S.a});var T=e(156);e.d(n,"variance",function(){return T.a});var k=e(313);e.d(n,"zip",function(){return k.a})},function(t,n){var e="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.exports=function(t){var n=void 0===t?"undefined":e(t);return null!=t&&("object"==n||"function"==n)}},function(t,n,e){var r="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},o=e(138),i="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,c=o||i||Function("return this")();t.exports=c},function(t,n,e){var r=e(3),o=e(11),i=e(8),c=e(526),u=e(532);t.exports=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=t;e&&e.length&&(a=u(t,e));var f=void 0;o(n)?f=n:r(n)?f=function(t){return"_"+n.map(function(n){return t[n]}).join("-")}:i(n)&&(f=function(t){return"_"+t[n]});return c(a,f)}},function(t,n){var e="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.exports=function(t){return null!=t&&"object"==(void 0===t?"undefined":e(t))}},function(t,n,e){"use strict";function r(t){function n(t){return t=O(t[0]*f.r,t[1]*f.r),[t[0]*E+g,d-t[1]*E]}function e(t,n){return t=b(t,n),[t[0]*E+g,d-t[1]*E]}function r(){O=Object(u.a)(j=Object(s.b)(P,C,A),b);var t=b(T,k);return g=M-t[0]*E,d=S+t[1]*E,l()}function l(){return _=w=null,n}var b,g,d,j,O,y,m,x,_,w,E=150,M=480,S=250,T=0,k=0,P=0,C=0,A=0,B=null,R=o.a,N=null,q=a.a,z=.5,L=Object(p.a)(e,z);return n.stream=function(t){return _&&w===t?_:_=v(R(j,L(q(w=t))))},n.clipAngle=function(t){return arguments.length?(R=+t?Object(i.a)(B=t*f.r,6*f.r):(B=null,o.a),l()):B*f.h},n.clipExtent=function(t){return arguments.length?(q=null==t?(N=y=m=x=null,a.a):Object(c.a)(N=+t[0][0],y=+t[0][1],m=+t[1][0],x=+t[1][1]),l()):null==N?null:[[N,y],[m,x]]},n.scale=function(t){return arguments.length?(E=+t,r()):E},n.translate=function(t){return arguments.length?(M=+t[0],S=+t[1],r()):[M,S]},n.center=function(t){return arguments.length?(T=t[0]%360*f.r,k=t[1]%360*f.r,r()):[T*f.h,k*f.h]},n.rotate=function(t){return arguments.length?(P=t[0]%360*f.r,C=t[1]%360*f.r,A=t.length>2?t[2]%360*f.r:0,r()):[P*f.h,C*f.h,A*f.h]},n.precision=function(t){return arguments.length?(L=Object(p.a)(e,z=t*t),l()):Object(f.u)(z)},n.fitExtent=function(t,e){return Object(h.a)(n,t,e)},n.fitSize=function(t,e){return Object(h.b)(n,t,e)},function(){return b=t.apply(this,arguments),n.invert=b.invert&&function(t){return(t=O.invert((t[0]-g)/E,(d-t[1])/E))&&[t[0]*f.h,t[1]*f.h]},r()}}n.a=function(t){return r(function(){return t})()},n.b=r;var o=e(323),i=e(324),c=e(86),u=e(148),a=e(88),f=e(4),s=e(61),l=e(62),h=e(91),p=e(325),v=Object(l.b)({point:function(t,n){this.stream.point(t*f.r,n*f.r)}})},function(t,n,e){"use strict";function r(t){function n(t){return t=O(t[0]*f.r,t[1]*f.r),[t[0]*E+g,d-t[1]*E]}function e(t,n){return t=b(t,n),[t[0]*E+g,d-t[1]*E]}function r(){O=Object(u.a)(j=Object(s.b)(P,C,A),b);var t=b(T,k);return g=M-t[0]*E,d=S+t[1]*E,l()}function l(){return _=w=null,n}var b,g,d,j,O,y,m,x,_,w,E=150,M=480,S=250,T=0,k=0,P=0,C=0,A=0,B=null,R=o.a,N=null,q=a.a,z=.5,L=Object(p.a)(e,z);return n.stream=function(t){return _&&w===t?_:_=v(R(j,L(q(w=t))))},n.clipAngle=function(t){return arguments.length?(R=+t?Object(i.a)(B=t*f.r,6*f.r):(B=null,o.a),l()):B*f.h},n.clipExtent=function(t){return arguments.length?(q=null==t?(N=y=m=x=null,a.a):Object(c.a)(N=+t[0][0],y=+t[0][1],m=+t[1][0],x=+t[1][1]),l()):null==N?null:[[N,y],[m,x]]},n.scale=function(t){return arguments.length?(E=+t,r()):E},n.translate=function(t){return arguments.length?(M=+t[0],S=+t[1],r()):[M,S]},n.center=function(t){return arguments.length?(T=t[0]%360*f.r,k=t[1]%360*f.r,r()):[T*f.h,k*f.h]},n.rotate=function(t){return arguments.length?(P=t[0]%360*f.r,C=t[1]%360*f.r,A=t.length>2?t[2]%360*f.r:0,r()):[P*f.h,C*f.h,A*f.h]},n.precision=function(t){return arguments.length?(L=Object(p.a)(e,z=t*t),l()):Object(f.u)(z)},n.fitExtent=Object(h.a)(n),n.fitSize=Object(h.b)(n),function(){return b=t.apply(this,arguments),n.invert=b.invert&&function(t){return(t=O.invert((t[0]-g)/E,(d-t[1])/E))&&[t[0]*f.h,t[1]*f.h]},r()}}n.a=function(t){return r(function(){return t})()},n.b=r;var o=e(509),i=e(511),c=e(211),u=e(210),a=e(216),f=e(6),s=e(109),l=e(112),h=e(220),p=e(512),v=Object(l.b)({point:function(t,n){this.stream.point(t*f.r,n*f.r)}})},function(t,n,e){var r=e(32),o=e(277),i=e(278),c="[object Null]",u="[object Undefined]",a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?u:c:a&&a in Object(t)?o(t):i(t)}},function(t,n,e){var r=e(11),o=e(81);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},function(t,n,e){"use strict";n.a=function(){}},function(t,n,e){"use strict";function r(t,n){var e,r=t*Object(c.y)(n),o=30;do{n-=e=(n+Object(c.y)(n)-r)/(1+Object(c.h)(n))}while(Object(c.a)(e)>c.k&&--o>0);return n/2}function o(t,n,e){function o(o,i){return[t*o*Object(c.h)(i=r(e,i)),n*Object(c.y)(i)]}return o.invert=function(r,o){return o=Object(c.e)(o/n),[r/(t*Object(c.h)(o)),Object(c.e)((2*o+Object(c.y)(2*o))/e)]},o}n.c=r,n.b=o,e.d(n,"d",function(){return u});var i=e(0),c=e(1),u=o(c.D/c.o,c.D,c.s);n.a=function(){return Object(i.geoProjection)(u).scale(169.529)}},function(t,n,e){var r=t.exports={};r.linearRegression=e(534),r.linearRegressionLine=e(535),r.standardDeviation=e(223),r.rSquared=e(536),r.mode=e(537),r.modeFast=e(538),r.modeSorted=e(227),r.min=e(228),r.max=e(229),r.minSorted=e(539),r.maxSorted=e(540),r.sum=e(225),r.sumSimple=e(541),r.product=e(542),r.quantile=e(117),r.quantileSorted=e(118),r.interquartileRange=r.iqr=e(544),r.medianAbsoluteDeviation=r.mad=e(545),r.chunk=e(546),r.sampleWithReplacement=e(547),r.shuffle=e(231),r.shuffleInPlace=e(232),r.sample=e(548),r.ckmeans=e(549),r.uniqueCountSorted=e(233),r.sumNthPowerDeviations=e(116),r.equalIntervalBreaks=e(550),r.sampleCovariance=e(234),r.sampleCorrelation=e(551),r.sampleVariance=e(119),r.sampleStandardDeviation=e(235),r.sampleSkewness=e(552),r.sampleKurtosis=e(553),r.permutationsHeap=e(554),r.combinations=e(555),r.combinationsReplacement=e(556),r.addToMean=e(557),r.combineMeans=e(236),r.combineVariances=e(558),r.geometricMean=e(559),r.harmonicMean=e(560),r.mean=r.average=e(24),r.median=e(230),r.medianSorted=e(561),r.subtractFromMean=e(562),r.rootMeanSquare=r.rms=e(563),r.variance=e(224),r.tTest=e(564),r.tTestTwoSample=e(565),r.BayesianClassifier=r.bayesian=e(566),r.PerceptronModel=r.perceptron=e(567),r.epsilon=e(73),r.factorial=e(568),r.bernoulliDistribution=e(569),r.binomialDistribution=e(570),r.poissonDistribution=e(571),r.chiSquaredGoodnessOfFit=e(572),r.zScore=e(574),r.cumulativeStdNormalProbability=e(575),r.standardNormalTable=e(237),r.errorFunction=r.erf=e(576),r.inverseErrorFunction=e(238),r.probit=e(577),r.bisect=e(578)},function(t,n,e){var r=e(225);t.exports=function(t){if(0===t.length)throw new Error("mean requires at least one data point");return r(t)/t.length}},function(t,n,e){var r=e(275),o=e(281);t.exports=function(t,n){var e=o(t,n);return r(e)?e:void 0}},function(t,n,e){"use strict";function r(t,n){t&&u.hasOwnProperty(t.type)&&u[t.type](t,n)}function o(t,n,e){var r,o=-1,i=t.length-e;for(n.lineStart();++oi[c][2][0];++c);var a=t(e-i[c][1][0],r);return a[0]+=t(i[c][1][0],o*r>o*i[c][0][1]?i[c][0][1]:r)[0],a}var a=function(t){var n,e,r,c,a,f,s,l=[],h=t[0].length;for(s=0;s=0;--s)e=(n=t[1][s])[0][0],r=n[0][1],c=n[1][1],a=n[2][0],f=n[2][1],l.push(o([[a-u.k,f-u.k],[a-u.k,c+u.k],[e+u.k,c+u.k],[e+u.k,r-u.k]],30));return{type:"Polygon",coordinates:[Object(i.merge)(l)]}}(n),f=(n=n.map(function(t){return t.map(function(t){return[[t[0][0]*u.v,t[0][1]*u.v],[t[1][0]*u.v,t[1][1]*u.v],[t[2][0]*u.v,t[2][1]*u.v]]})})).map(function(n){return n.map(function(n){var e,r=t(n[0][0],n[0][1])[0],o=t(n[2][0],n[2][1])[0],i=t(n[1][0],n[0][1])[1],c=t(n[1][0],n[1][1])[1];return i>c&&(e=i,i=c,c=e),[[r,i],[o,c]]})});t.invert&&(e.invert=function(o,i){for(var c=f[+(i<0)],u=n[+(i<0)],a=0,s=c.length;an?1:t>=n?0:NaN}},function(t,n,e){"use strict";var r=e(0),o=e(1);n.a=function(t){var n=0,e=Object(r.geoProjectionMutator)(t),i=e(n);return i.parallel=function(t){return arguments.length?e(n=t*o.v):n*o.j},i}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(594);e.d(n,"cluster",function(){return r.a});var o=e(122);e.d(n,"hierarchy",function(){return o.c});var i=e(606);e.d(n,"pack",function(){return i.a});var c=e(243);e.d(n,"packSiblings",function(){return c.a});var u=e(244);e.d(n,"packEnclose",function(){return u.a});var a=e(608);e.d(n,"partition",function(){return a.a});var f=e(609);e.d(n,"stratify",function(){return f.a});var s=e(610);e.d(n,"tree",function(){return s.a});var l=e(611);e.d(n,"treemap",function(){return l.a});var h=e(612);e.d(n,"treemapBinary",function(){return h.a});var p=e(52);e.d(n,"treemapDice",function(){return p.a});var v=e(74);e.d(n,"treemapSlice",function(){return v.a});var b=e(613);e.d(n,"treemapSliceDice",function(){return b.a});var g=e(124);e.d(n,"treemapSquarify",function(){return g.a});var d=e(614);e.d(n,"treemapResquarify",function(){return d.a})},function(t,n,e){var r=e(57),o=e(79);t.exports=function(t,n,e,i){var c=!e;e||(e={});for(var u=-1,a=n.length;++u-1&&c._reExecute():c._reExecute()})}return i}return function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+typeof n);t.prototype=Object.create(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(t,n):t.__proto__=n)}(n,t),n.prototype._parseStateExpression=function(t){var n=this.dataSet,e=/^\$state\.(\w+)/.exec(t);return e?n.state[e[1]]:t},n.prototype._preparseOptions=function(t){var n=this,e=i(t);return n.loose?e:(a(e,function(t,r){h(t)&&/^\$state\./.test(t)&&(e[r]=n._parseStateExpression(t))}),e)},n.prototype._prepareSource=function(t,e){var r=this,o=n.DataSet;if(r._source={source:t,options:e},e)e=r._preparseOptions(e),r.origin=o.getConnector(e.type)(t,e,r);else if(t instanceof n||h(t))r.origin=o.getConnector("default")(t,r.dataSet);else if(f(t))r.origin=t;else{if(!l(t)||!t.type)throw new TypeError("Invalid source");e=r._preparseOptions(t),r.origin=o.getConnector(e.type)(e,r)}return r.rows=c(r.origin),r},n.prototype.source=function(t,n){return this._prepareSource(t,n),this._reExecuteTransforms(),this.trigger("change"),this},n.prototype.transform=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.transforms.push(t),this._executeTransform(t),this},n.prototype._executeTransform=function(t){t=this._preparseOptions(t);n.DataSet.getTransform(t.type)(this,t)},n.prototype._reExecuteTransforms=function(){var t=this;t.transforms.forEach(function(n){t._executeTransform(n)})},n.prototype.addRow=function(t){this.rows.push(t)},n.prototype.removeRow=function(t){this.rows.splice(t,1)},n.prototype.updateRow=function(t,n){o(this.rows[t],n)},n.prototype.findRows=function(t){return this.rows.filter(function(n){return s(n,t)})},n.prototype.findRow=function(t){return u(this.rows,t)},n.prototype.getColumnNames=function(){var t=this.rows[0];return t?p(t):[]},n.prototype.getColumnName=function(t){return this.getColumnNames()[t]},n.prototype.getColumnIndex=function(t){return this.getColumnNames().indexOf(t)},n.prototype.getColumn=function(t){return this.rows.map(function(n){return n[t]})},n.prototype.getColumnData=function(t){return this.getColumn(t)},n.prototype.getSubset=function(t,n,e){for(var r=[],o=t;o<=n;o++)r.push(v(this.rows[o],e));return r},n.prototype.toString=function(t){return t?JSON.stringify(this.rows,null,2):JSON.stringify(this.rows)},n.prototype._reExecute=function(){var t=this._source,n=t.source,e=t.options;this._prepareSource(n,e),this._reExecuteTransforms(),this.trigger("change")},n}(r);t.exports=b},function(t,n,e){var r="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},o=e(467),i=e(474),c=e(38),u=e(3),a=e(481);t.exports=function(t){return"function"==typeof t?t:null==t?c:"object"==(void 0===t?"undefined":r(t))?u(t)?i(t[0],t[1]):o(t):a(t)}},function(t,n,e){var r="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},o=e(19),i=e(16),c="[object Symbol]";t.exports=function(t){return"symbol"==(void 0===t?"undefined":r(t))||i(t)&&o(t)==c}},function(t,n){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length,o=Array(r);++e1?0:t<-1?l:Math.acos(t)},n.c=function(t){return t>=1?h:t<=-1?-h:Math.asin(t)};var r=Math.abs,o=Math.atan2,i=Math.cos,c=Math.max,u=Math.min,a=Math.sin,f=Math.sqrt,s=1e-12,l=Math.PI,h=l/2,p=2*l},function(t,n,e){"use strict";n.a=function(t,n){if((o=t.length)>1)for(var e,r,o,i=1,c=t[n[0]],u=c.length;i=0;)e[n]=n;return e}},function(t,n,e){"use strict";function r(t,n,e){return(t[0]-e[0])*(n[1]-t[1])-(t[0]-n[0])*(e[1]-t[1])}function o(t,n){return n[1]-t[1]||n[0]-t[0]}function i(t,n){var e,r,i,b=t.sort(o).pop();for(f=[],u=new Array(t.length),c=new v.b,a=new v.b;;)if(i=h.c,b&&(!i||b[1]=u)return null;var a=t-o.site[0],f=n-o.site[1],s=a*a+f*f;do{o=i.cells[r=c],c=null,o.halfedges.forEach(function(e){var r=i.edges[e],u=r.left;if(u!==o.site&&u||(u=r.right)){var a=t-u[0],f=n-u[1],l=a*a+f*f;l-1&&t%1==0&&tf.o?t-f.w:t<-f.o?t+f.w:t,n]}function o(t,n,e){return(t%=f.w)?n||e?Object(a.a)(c(t),u(n,e)):c(t):n||e?u(n,e):r}function i(t){return function(n,e){return n+=t,[n>f.o?n-f.w:n<-f.o?n+f.w:n,e]}}function c(t){var n=i(t);return n.invert=i(-t),n}function u(t,n){function e(t,n){var e=Object(f.g)(n),u=Object(f.g)(t)*e,a=Object(f.t)(t)*e,s=Object(f.t)(n),l=s*r+u*o;return[Object(f.e)(a*i-l*c,u*r-s*o),Object(f.c)(l*i+a*c)]}var r=Object(f.g)(t),o=Object(f.t)(t),i=Object(f.g)(n),c=Object(f.t)(n);return e.invert=function(t,n){var e=Object(f.g)(n),u=Object(f.g)(t)*e,a=Object(f.t)(t)*e,s=Object(f.t)(n),l=s*i-a*c;return[Object(f.e)(a*i+s*c,u*r+l*o),Object(f.c)(l*r-u*o)]},e}n.b=o;var a=e(148),f=e(4);r.invert=r,n.a=function(t){function n(n){return n=t(n[0]*f.r,n[1]*f.r),n[0]*=f.h,n[1]*=f.h,n}return t=o(t[0]*f.r,t[1]*f.r,t.length>2?t[2]*f.r:0),n.invert=function(n){return n=t.invert(n[0]*f.r,n[1]*f.r),n[0]*=f.h,n[1]*=f.h,n},n}},function(t,n,e){"use strict";function r(t){return function(n){var e=new o;for(var r in t)e[r]=t[r];return e.stream=n,e}}function o(){}n.b=r,n.a=function(t){return{stream:r(t)}},o.prototype={constructor:o,point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}}},function(t,n,e){"use strict";var r=e(1);n.a=function(t,n,e,o,i,c,u,a){function f(f,s){if(!s)return[t*f/r.s,0];var l=s*s,h=t+l*(n+l*(e+l*o)),p=s*(i-1+l*(c-a+l*u)),v=(h*h+p*p)/(2*p),b=f*Object(r.e)(h/v)/r.s;return[v*Object(r.y)(b),s*(1+l*a)+v*(1-Object(r.h)(b))]}return arguments.length<8&&(a=0),f.invert=function(f,s){var l,h,p=r.s*f/t,v=s,b=50;do{var g=v*v,d=t+g*(n+g*(e+g*o)),j=v*(i-1+g*(c-a+g*u)),O=d*d+j*j,y=2*j,m=O/y,x=m*m,_=Object(r.e)(d/m)/r.s,w=p*_,E=d*d,M=(2*n+g*(4*e+6*g*o))*v,S=i+g*(3*c+5*g*u),T=(2*(d*M+j*(S-1))*y-O*(2*(S-1)))/(y*y),k=Object(r.h)(w),P=Object(r.y)(w),C=m*k,A=m*P,B=p/r.s*(1/Object(r.B)(1-E/x))*(M*m-d*T)/x,R=A-f,N=v*(1+g*a)+m-C-s,q=T*P+C*B,z=C*_,L=1+T-(T*k-A*B),F=A*_,I=q*F-L*z;if(!I)break;p-=l=(N*q-R*L)/I,v-=h=(R*F-N*z)/I}while((Object(r.a)(l)>r.k||Object(r.a)(h)>r.k)&&--b>0);return[p,v]},f}},function(t,n,e){"use strict";function r(t,n,e){var o,i,a=n.edges,f=a.length,s={type:"MultiPoint",coordinates:n.face},l=n.face.filter(function(t){return 90!==Object(u.a)(t[1])}),h=Object(c.geoBounds)({type:"MultiPoint",coordinates:l}),p=!1,v=-1,b=h[1][0]-h[0][0],g=180===b||360===b?[(h[0][0]+h[1][0])/2,(h[0][1]+h[1][1])/2]:Object(c.geoCentroid)(s);if(e)for(;++v=0;)if(r=n[u],e[0]===r[0]&&e[1]===r[1]){if(i)return[i,e];i=e}}}(t.face,n.face),r=Object(a.a)(e.map(n.project),e.map(t.project));t.transform=n.transform?Object(a.c)(n.transform,r):r;for(var i=n.edges,c=0,u=i.length;c0&&e(s)?n>1?r(s,n-1,e,c,u):o(u,s):c||(u[u.length]=s)}return u}var o=e(102),i=e(495);t.exports=r},function(t,n){t.exports=1e-4},function(t,n,e){"use strict";n.a=function(t,n,e,r,o){for(var i,c=t.children,u=-1,a=c.length,f=t.value&&(o-e)/t.value;++u-1&&t%1==0&&t<=e}},function(t,n,e){var r=e(288),o=e(16),i=Object.prototype,c=i.hasOwnProperty,u=i.propertyIsEnumerable,a=r(function(){return arguments}())?r:function(t){return o(t)&&c.call(t,"callee")&&!u.call(t,"callee")};t.exports=a},function(t,n,e){(function(t){var r="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},o=e(14),i=e(289),c="object"==r(n)&&n&&!n.nodeType&&n,u=c&&"object"==r(t)&&t&&!t.nodeType&&t,a=u&&u.exports===c?o.Buffer:void 0,f=(a?a.isBuffer:void 0)||i;t.exports=f}).call(n,e(84)(t))},function(t,n){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,n){t.exports=function(t){return function(n){return t(n)}}},function(t,n,e){"use strict";function r(t,n,e,r){function l(o,i){return t<=o&&o<=e&&n<=i&&i<=r}function h(o,i,c,u){var a=0,f=0;if(null==o||(a=p(o,c))!==(f=p(i,c))||b(o,i)<0^c>0)do{u.point(0===a||3===a?t:e,a>1?r:n)}while((a=(a+c+4)%4)!==f);else u.point(i[0],i[1])}function p(r,i){return Object(o.a)(r[0]-t)0?0:3:Object(o.a)(r[0]-e)0?2:1:Object(o.a)(r[1]-n)0?1:0:i>0?3:2}function v(t,n){return b(t.x,n.x)}function b(t,n){var e=p(t,1),r=p(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(o){function p(t,n){l(t,n)&&S.point(t,n)}function b(o,i){var u=l(o,i);if(d&&j.push([o,i]),E)O=o,y=i,m=u,E=!1,u&&(S.lineStart(),S.point(o,i));else if(u&&w)S.point(o,i);else{var a=[x=Math.max(s,Math.min(f,x)),_=Math.max(s,Math.min(f,_))],h=[o=Math.max(s,Math.min(f,o)),i=Math.max(s,Math.min(f,i))];Object(c.a)(a,h,t,n,e,r)?(w||(S.lineStart(),S.point(a[0],a[1])),S.point(h[0],h[1]),u||S.lineEnd(),M=!1):u&&(S.lineStart(),S.point(o,i),M=!1)}x=o,_=i,w=u}var g,d,j,O,y,m,x,_,w,E,M,S=o,T=Object(i.a)(),k={point:p,lineStart:function(){k.point=b,d&&d.push(j=[]),E=!0,w=!1,x=_=NaN},lineEnd:function(){g&&(b(O,y),m&&w&&T.rejoin(),g.push(T.result())),k.point=p,w&&S.lineEnd()},polygonStart:function(){S=T,g=[],d=[],M=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,o=d.length;er&&(l-i)*(r-c)>(h-c)*(t-i)&&++n:h<=r&&(l-i)*(r-c)<(h-c)*(t-i)&&--n;return n}(),e=M&&n,i=(g=Object(a.merge)(g)).length;(e||i)&&(o.polygonStart(),e&&(o.lineStart(),h(null,null,1,o),o.lineEnd()),i&&Object(u.a)(g,v,n,h,o),o.polygonEnd()),S=o,g=d=j=null}};return k}}n.a=r;var o=e(4),i=e(149),c=e(297),u=e(150),a=e(12),f=1e9,s=-f;n.b=function(){var t,n,e,o=0,i=0,c=960,u=500;return e={stream:function(e){return t&&n===e?t:t=r(o,i,c,u)(n=e)},extent:function(r){return arguments.length?(o=+r[0][0],i=+r[0][1],c=+r[1][0],u=+r[1][1],t=n=null,e):[[o,i],[c,u]]}}}},function(t,n,e){"use strict";var r=e(40);n.a=function(t,n,e){if(null==e&&(e=r.a),o=t.length){if((n=+n)<=0||o<2)return+e(t[0],0,t);if(n>=1)return+e(t[o-1],o-1,t);var o,i=(o-1)*n,c=Math.floor(i),u=+e(t[c],c,t);return u+(+e(t[c+1],c+1,t)-u)*(i-c)}}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";function r(t,n){function e(t,n){var e=Object(o.u)(u-2*i*Object(o.t)(n))/i;return[e*Object(o.t)(t*=i),a-e*Object(o.g)(t)]}var r=Object(o.t)(t),i=(r+Object(o.t)(n))/2;if(Object(o.a)(i)0?t*Object(i.B)(i.s/e)/2:0,Object(i.e)(1-e)]},n.b=function(){return Object(o.geoProjection)(r).scale(95.6464).center([0,30])}},function(t,n,e){"use strict";function r(t,n){return n>-u?(t=Object(i.d)(t,n),t[1]+=a,t):Object(c.b)(t,n)}e.d(n,"b",function(){return u}),e.d(n,"d",function(){return a}),n.c=r;var o=e(0),i=e(22),c=e(42),u=.7109889596207567,a=.0528035274542;r.invert=function(t,n){return n>-u?i.d.invert(t,n-a):c.b.invert(t,n)},n.a=function(){return Object(o.geoProjection)(r).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}},function(t,n,e){"use strict";var r=[[0,90],[-90,0],[0,0],[90,0],[180,0],[0,-90]];n.a=[[0,2,1],[0,3,2],[5,1,2],[5,2,3],[0,1,4],[0,4,3],[5,4,1],[5,3,4]].map(function(t){return t.map(function(t){return r[t]})})},function(t,n,e){"use strict";var r=e(0),o=e(1);n.a=function(t){function n(n,r){var i=Object(o.a)(n)0?n-o.s:n+o.s,r),u=(c[0]-c[1])*o.C,a=(c[0]+c[1])*o.C;if(i)return[u,a];var f=e*o.C,s=u>0^a>0?-1:1;return[s*u-Object(o.x)(a)*f,s*a-Object(o.x)(u)*f]}var e=t(o.o,0)[0]-t(-o.o,0)[0];return t.invert&&(n.invert=function(n,r){var i=(n+r)*o.C,c=(r-n)*o.C,u=Object(o.a)(i)<.5*e&&Object(o.a)(c)<.5*e;if(!u){var a=e*o.C,f=i>0^c>0?-1:1,s=-f*n+(c>0?1:-1)*a,l=-f*r+(i>0?1:-1)*a;i=(-s-l)*o.C,c=(s-l)*o.C}var h=t.invert(i,c);return u||(h[0]+=i>0?o.s:-o.s),h}),Object(r.geoProjection)(n).rotate([-90,-90,45]).clipAngle(179.999)}},function(t,n,e){function r(t){var n=this.__data__=new o(t);this.size=n.size}var o=e(65),i=e(423),c=e(424),u=e(425),a=e(426),f=e(427);r.prototype.clear=i,r.prototype.delete=c,r.prototype.get=u,r.prototype.has=a,r.prototype.set=f,t.exports=r},function(t,n,e){var r=e(25)(e(14),"Map");t.exports=r},function(t,n,e){function r(t){var n=-1,e=null==t?0:t.length;for(this.clear();++nf.o?t-f.w:t<-f.o?t+f.w:t,n]}function o(t,n,e){return(t%=f.w)?n||e?Object(a.a)(c(t),u(n,e)):c(t):n||e?u(n,e):r}function i(t){return function(n,e){return n+=t,[n>f.o?n-f.w:n<-f.o?n+f.w:n,e]}}function c(t){var n=i(t);return n.invert=i(-t),n}function u(t,n){function e(t,n){var e=Object(f.g)(n),u=Object(f.g)(t)*e,a=Object(f.t)(t)*e,s=Object(f.t)(n),l=s*r+u*o;return[Object(f.e)(a*i-l*c,u*r-s*o),Object(f.c)(l*i+a*c)]}var r=Object(f.g)(t),o=Object(f.t)(t),i=Object(f.g)(n),c=Object(f.t)(n);return e.invert=function(t,n){var e=Object(f.g)(n),u=Object(f.g)(t)*e,a=Object(f.t)(t)*e,s=Object(f.t)(n),l=s*i-a*c;return[Object(f.e)(a*i+s*c,u*r+l*o),Object(f.c)(l*r-u*o)]},e}n.b=o;var a=e(210),f=e(6);r.invert=r,n.a=function(t){function n(n){return n=t(n[0]*f.r,n[1]*f.r),n[0]*=f.h,n[1]*=f.h,n}return t=o(t[0]*f.r,t[1]*f.r,t.length>2?t[2]*f.r:0),n.invert=function(n){return n=t.invert(n[0]*f.r,n[1]*f.r),n[0]*=f.h,n[1]*=f.h,n},n}},function(t,n,e){"use strict";function r(t,n){function e(t,n){var e=Object(o.u)(c-2*i*Object(o.t)(n))/i;return[e*Object(o.t)(t*=i),u-e*Object(o.g)(t)]}var r=Object(o.t)(t),i=(r+Object(o.t)(n))/2,c=1+r*(2*i-r),u=Object(o.u)(c)/i;return e.invert=function(t,n){var e=u-n;return[Object(o.e)(t,e)/i,Object(o.c)((c-(t*t+e*e)*i*i)/(2*i))]},e}n.a=r;var o=e(6),i=e(111);n.b=function(){return Object(i.a)(r).scale(155.424).center([0,33.6442])}},function(t,n,e){"use strict";n.a=function(t){var n=0,e=r.o/3,i=Object(o.b)(t),c=i(n,e);return c.parallels=function(t){return arguments.length?i(n=t[0]*r.r,e=t[1]*r.r):[n*r.h,e*r.h]},c};var r=e(6),o=e(18)},function(t,n,e){"use strict";function r(t){function n(){}var e=n.prototype=Object.create(o.prototype);for(var r in t)e[r]=t[r];return function(t){var e=new n;return e.stream=t,e}}function o(){}n.b=r,n.a=function(t){return{stream:r(t)}},o.prototype={point:function(t,n){this.stream.point(t,n)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}}},function(t,n,e){"use strict";function r(t,n){return[t,Object(c.n)(Object(c.v)((c.l+n)/2))]}function o(t){var n,e=Object(i.a)(t),r=e.scale,o=e.translate,u=e.clipExtent;return e.scale=function(t){return arguments.length?(r(t),n&&e.clipExtent(null),e):r()},e.translate=function(t){return arguments.length?(o(t),n&&e.clipExtent(null),e):o()},e.clipExtent=function(t){if(!arguments.length)return n?null:u();if(n=null==t){var i=c.o*r(),a=o();t=[[a[0]-i,a[1]-i],[a[0]+i,a[1]+i]]}return u(t),e},e.clipExtent(null)}n.c=r,n.b=o;var i=e(18),c=e(6);r.invert=function(t,n){return[t,2*Object(c.d)(Object(c.k)(n))-c.l]},n.a=function(){return o(r).scale(961/c.w)}},function(t,n,e){var r=e(525),o=e(9);t.exports=function(t){return null==t?[]:r(t,o(t))}},function(t,n,e){var r=e(530),o=e(531)(r);t.exports=o},function(t,n,e){var r=e(24);t.exports=function(t,n){var e,o,i=r(t),c=0;if(2===n)for(o=0;o1)throw new Error("quantiles must be between 0 and 1");return 1===n?t[t.length-1]:0===n?t[0]:e%1!=0?t[Math.ceil(e)-1]:t.length%2==0?(t[e-1]+t[e])/2:t[e]}},function(t,n,e){var r=e(116);t.exports=function(t){if(t.length<2)throw new Error("sampleVariance requires at least two data points");return r(t,2)/(t.length-1)}},function(t,n){t.exports={HIERARCHY:"hierarchy",GEO:"geo",HEX:"hex",GRAPH:"graph",TABLE:"table",GEO_GRATICULE:"geo-graticule",STATISTICS_METHODS:["max","mean","median","min","mode","product","standardDeviation","sum","sumSimple","variance"]}},function(t,n,e){"use strict";function r(t){return new Function("d","return {"+t.map(function(t,n){return JSON.stringify(t)+": d["+n+"]"}).join(",")+"}")}var o={},i={},c=34,u=10,a=13;n.a=function(t){function n(t,n){function e(){if(v)return i;if(b)return b=!1,o;var n,e,r=h;if(t.charCodeAt(r)===c){for(;h++=s?v=!0:(e=t.charCodeAt(h++))===u?b=!0:e===a&&(b=!0,t.charCodeAt(h)===u&&++h),t.slice(r+1,n-1).replace(/""/g,'"')}for(;h=0;--a)h.push(r=e.children[a]=new u(i[a])),r.parent=e,r.depth=e.depth+1;return s.eachBefore(c)}function o(t){return t.children}function i(t){t.data=t.data.data}function c(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function u(t){this.data=t,this.depth=this.height=0,this.parent=null}n.c=r,n.b=c,n.a=u;var a=e(595),f=e(596),s=e(597),l=e(598),h=e(599),p=e(600),v=e(601),b=e(602),g=e(603),d=e(604),j=e(605);u.prototype=r.prototype={constructor:u,count:a.a,each:f.a,eachAfter:l.a,eachBefore:s.a,sum:h.a,sort:p.a,path:v.a,ancestors:b.a,descendants:g.a,leaves:d.a,links:j.a,copy:function(){return r(this).eachBefore(i)}}},function(t,n,e){"use strict";function r(t){if("function"!=typeof t)throw new Error;return t}n.a=function(t){return null==t?null:r(t)},n.b=r},function(t,n,e){"use strict";function r(t,n,e,r,c,u){for(var a,f,s,l,h,p,v,b,g,d,j,O=[],y=n.children,m=0,x=0,_=y.length,w=n.value;m<_;){s=c-e,l=u-r;do{h=y[x++].value}while(!h&&x<_);for(p=v=h,j=h*h*(d=Math.max(l/s,s/l)/(w*t)),g=Math.max(v/j,j/p);x<_;++x){if(h+=f=y[x].value,fv&&(v=f),j=h*h*d,(b=Math.max(v/j,j/p))>g){h-=f;break}g=b}O.push(a={value:h,dice:s1?n:1)},e}(c)},function(t,n,e){"use strict";var r=e(248);n.a=function(t){if(null==t)return r.a;var n,e,o=t.scale[0],i=t.scale[1],c=t.translate[0],u=t.translate[1];return function(t,r){r||(n=e=0);var a=2,f=t.length,s=new Array(f);for(s[0]=(n+=t[0])*o+c,s[1]=(e+=t[1])*i+u;a1&&void 0!==arguments[1]?arguments[1]:1,e=t[0],r=t[1],o=[],i=e;ii.f){var a=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,f=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*a-t._x0*t._l12_2a+t._x2*t._l01_2a)/f,o=(o*a-t._y0*t._l12_2a+t._y2*t._l01_2a)/f}if(t._l23_a>i.f){var s=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);c=(c*s+t._x1*t._l23_2a-n*t._l12_2a)/l,u=(u*s+t._y1*t._l23_2a-e*t._l12_2a)/l}t._context.bezierCurveTo(r,o,c,u,t._x2,t._y2)}function o(t,n){this._context=t,this._alpha=n}e.d(n,"a",function(){return r});var i=e(53),c=e(78);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._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,o=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+o*o,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3;default:r(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};(function t(n){function e(t){return n?new o(t,n):new c.a(t,0)}return e.alpha=function(n){return t(+n)},e})(.5)},function(t,n,e){"use strict";function r(t){for(var n,e=0,r=-1,o=t.length;++r0)){if(i/=h,h<0){if(i0){if(i>l)return;i>s&&(s=i)}if(i=r-a,h||!(i<0)){if(i/=h,h<0){if(i>l)return;i>s&&(s=i)}else if(h>0){if(i0)){if(i/=p,p<0){if(i0){if(i>l)return;i>s&&(s=i)}if(i=o-f,p||!(i<0)){if(i/=p,p<0){if(i>l)return;i>s&&(s=i)}else if(p>0){if(i0||l<1)||(s>0&&(t[0]=[a+s*h,f+s*p]),l<1&&(t[1]=[a+l*h,f+l*p]),!0)}}}}}function i(t,n,e,r,o){var i=t[1];if(i)return!0;var c,u,a=t[0],f=t.left,s=t.right,l=f[0],h=f[1],p=s[0],v=s[1],b=(l+p)/2,g=(h+v)/2;if(v===h){if(b=r)return;if(l>p){if(a){if(a[1]>=o)return}else a=[b,e];i=[b,o]}else{if(a){if(a[1]1)if(l>p){if(a){if(a[1]>=o)return}else a=[(e-u)/c,e];i=[(o-u)/c,o]}else{if(a){if(a[1]=r)return}else a=[n,c*n+u];i=[r,c*r+u]}else{if(a){if(a[0]c.f||Math.abs(u[0][1]-u[1][1])>c.f)||delete c.e[a]};var c=e(56)},function(t,n,e){var r=e(25),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},function(t,n,e){(function(n){var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r="object"==(void 0===n?"undefined":e(n))&&n&&n.Object===Object&&n;t.exports=r}).call(n,e(276))},function(t,n){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},function(t,n,e){var r=e(283),o=Math.max;t.exports=function(t,n,e){return n=o(void 0===n?t.length-1:n,0),function(){for(var i=arguments,c=-1,u=o(i.length-n,0),a=Array(u);++c=0?1:-1,o=r*e,i=Object(p.g)(n),c=Object(p.t)(n),u=l*c,a=s*i+u*Object(p.g)(o),h=u*r*Object(p.t)(o);g.add(Object(p.e)(h,a)),f=t,s=i,l=c}e.d(n,"a",function(){return g}),e.d(n,"b",function(){return j});var u,a,f,s,l,h=e(33),p=e(4),v=e(21),b=e(26),g=Object(h.a)(),d=Object(h.a)(),j={point:v.a,lineStart:v.a,lineEnd:v.a,polygonStart:function(){g.reset(),j.lineStart=r,j.lineEnd=o},polygonEnd:function(){var t=+g;d.add(t<0?p.w+t:t),this.lineStart=this.lineEnd=this.point=v.a},sphere:function(){d.add(p.w)}};n.c=function(t){return d.reset(),Object(b.a)(t,j),2*d}},function(t,n,e){"use strict";function r(t,n,e,r,c,a){if(e){var f=Object(u.g)(n),s=Object(u.t)(n),l=r*e;null==c?(c=n+r*u.w,a=n-l/2):(c=o(f,c),a=o(f,a),(r>0?ca)&&(c+=r*u.w));for(var h,p=c;r>0?p>a:p1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}},function(t,n,e){"use strict";function r(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function o(t){if(n=t.length){for(var n,e,r=0,o=t[0];++r=0;--a)u.point((p=h[a])[0],p[1]);else c(b.x,b.p.x,-1,u);b=b.p}h=(b=b.o).z,g=!g}while(!b.v);u.lineEnd()}}}},function(t,n,e){"use strict";var r=e(4);n.a=function(t,n){return Object(r.a)(t[0]-n[0])>>1;t(n[i],e)<0?r=i+1:o=i}return r},right:function(n,e,r,o){for(null==r&&(r=0),null==o&&(o=n.length);r>>1;t(n[i],e)>0?o=i:r=i+1}return r}}}},function(t,n,e){"use strict";function r(t,n){return[t,n]}n.b=r,n.a=function(t,n){null==n&&(n=r);for(var e=0,o=t.length-1,i=t[0],c=new Array(o<0?0:o);e1)return f/(c-1)}},function(t,n,e){"use strict";n.a=function(t,n){var e,r,o,i=t.length,c=-1;if(null==n){for(;++c=e)for(r=o=e;++ce&&(r=e),o=e)for(r=o=e;++ce&&(r=e),o=0?(a>=o?10:a>=i?5:a>=c?2:1)*Math.pow(10,u):-Math.pow(10,-u)/(a>=o?10:a>=i?5:a>=c?2:1)}n.b=r,n.c=function(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),u=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),a=r/u;return a>=o?u*=10:a>=i?u*=5:a>=c&&(u*=2),n0)return[t];if((o=n0)for(t=Math.ceil(t/u),n=Math.floor(n/u),c=new Array(i=Math.ceil(n-t+1));++a=e)for(r=e;++ie&&(r=e)}else for(;++i=e)for(r=e;++ie&&(r=e);return r}},function(t,n,e){"use strict";function r(t){return t.length}var o=e(162);n.a=function(t){if(!(c=t.length))return[];for(var n=-1,e=Object(o.a)(t,r),i=new Array(e);++n=0?1:-1,S=M*E,T=S>i.o,k=d*_;if(c.add(Object(i.e)(k*M*Object(i.t)(S),j*w+k*Object(i.g)(S))),a+=T?E+M*i.w:E,T^b>=e^m>=e){var P=Object(o.c)(Object(o.a)(v),Object(o.a)(y));Object(o.e)(P);var C=Object(o.c)(u,P);Object(o.e)(C);var A=(T^E>=0?-1:1)*Object(i.c)(C[2]);(r>A||r===A&&(P[0]||P[1]))&&(f+=T^E>=0?1:-1)}}return(a<-i.i||ac&&(c=t),nu&&(u=n)},lineStart:r.a,lineEnd:r.a,polygonStart:r.a,polygonEnd:r.a,result:function(){var t=[[o,i],[c,u]];return c=u=-(i=o=1/0),t}};n.a=a},function(t,n,e){"use strict";var r=e(89);n.a=function(){return Object(r.b)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}},function(t,n,e){"use strict";function r(t){return t.length>1}function o(t,n){return((t=t.x)[0]<0?t[1]-u.l-u.i:u.l-t[1])-((n=n.x)[0]<0?n[1]-u.l-u.i:u.l-n[1])}var i=e(149),c=e(150),u=e(4),a=e(164),f=e(12);n.a=function(t,n,e,u){return function(s,l){function h(n,e){var r=s(n,e);t(n=r[0],e=r[1])&&l.point(n,e)}function p(t,n){var e=s(t,n);x.point(e[0],e[1])}function v(){S.point=p,x.lineStart()}function b(){S.point=h,x.lineEnd()}function g(t,n){m.push([t,n]);var e=s(t,n);E.point(e[0],e[1])}function d(){E.lineStart(),m=[]}function j(){g(m[0][0],m[0][1]),E.lineEnd();var t,n,e,o,i=E.clean(),c=w.result(),u=c.length;if(m.pop(),O.push(m),m=null,u)if(1&i){if(e=c[0],(n=e.length-1)>0){for(M||(l.polygonStart(),M=!0),l.lineStart(),t=0;t1&&2&i&&c.push(c.pop().concat(c.shift())),y.push(c.filter(r))}var O,y,m,x=n(l),_=s.invert(u[0],u[1]),w=Object(i.a)(),E=n(w),M=!1,S={point:h,lineStart:v,lineEnd:b,polygonStart:function(){S.point=g,S.lineStart=d,S.lineEnd=j,y=[],O=[]},polygonEnd:function(){S.point=h,S.lineStart=v,S.lineEnd=b,y=Object(f.merge)(y);var t=Object(a.a)(O,_);y.length?(M||(l.polygonStart(),M=!0),Object(c.a)(y,o,t,e,l)):t&&(M||(l.polygonStart(),M=!0),l.lineStart(),e(null,null,1,l),l.lineEnd()),M&&(l.polygonEnd(),M=!1),y=O=null},sphere:function(){l.polygonStart(),l.lineStart(),e(null,null,1,l),l.lineEnd(),l.polygonEnd()}};return S}}},function(t,n,e){"use strict";function r(t,n){return[t,n]}n.b=r;var o=e(17);r.invert=r,n.a=function(){return Object(o.a)(r).scale(152.63)}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(337);e.d(n,"geoAiry",function(){return r.b}),e.d(n,"geoAiryRaw",function(){return r.a});var o=e(172);e.d(n,"geoAitoff",function(){return o.b}),e.d(n,"geoAitoffRaw",function(){return o.a});var i=e(338);e.d(n,"geoArmadillo",function(){return i.b}),e.d(n,"geoArmadilloRaw",function(){return i.a});var c=e(173);e.d(n,"geoAugust",function(){return c.b}),e.d(n,"geoAugustRaw",function(){return c.a});var u=e(339);e.d(n,"geoBaker",function(){return u.b}),e.d(n,"geoBakerRaw",function(){return u.a});var a=e(340);e.d(n,"geoBerghaus",function(){return a.b}),e.d(n,"geoBerghausRaw",function(){return a.a});var f=e(174);e.d(n,"geoBoggs",function(){return f.b}),e.d(n,"geoBoggsRaw",function(){return f.a});var s=e(341);e.d(n,"geoBonne",function(){return s.b}),e.d(n,"geoBonneRaw",function(){return s.a});var l=e(342);e.d(n,"geoBottomley",function(){return l.b}),e.d(n,"geoBottomleyRaw",function(){return l.a});var h=e(343);e.d(n,"geoBromley",function(){return h.b}),e.d(n,"geoBromleyRaw",function(){return h.a});var p=e(344);e.d(n,"geoChamberlin",function(){return p.c}),e.d(n,"geoChamberlinRaw",function(){return p.b}),e.d(n,"geoChamberlinAfrica",function(){return p.a});var v=e(93);e.d(n,"geoCollignon",function(){return v.b}),e.d(n,"geoCollignonRaw",function(){return v.a});var b=e(345);e.d(n,"geoCraig",function(){return b.b}),e.d(n,"geoCraigRaw",function(){return b.a});var g=e(346);e.d(n,"geoCraster",function(){return g.b}),e.d(n,"geoCrasterRaw",function(){return g.a});var d=e(175);e.d(n,"geoCylindricalEqualArea",function(){return d.b}),e.d(n,"geoCylindricalEqualAreaRaw",function(){return d.a});var j=e(347);e.d(n,"geoCylindricalStereographic",function(){return j.b}),e.d(n,"geoCylindricalStereographicRaw",function(){return j.a});var O=e(348);e.d(n,"geoEckert1",function(){return O.a}),e.d(n,"geoEckert1Raw",function(){return O.b});var y=e(349);e.d(n,"geoEckert2",function(){return y.a}),e.d(n,"geoEckert2Raw",function(){return y.b});var m=e(350);e.d(n,"geoEckert3",function(){return m.a}),e.d(n,"geoEckert3Raw",function(){return m.b});var x=e(351);e.d(n,"geoEckert4",function(){return x.a}),e.d(n,"geoEckert4Raw",function(){return x.b});var _=e(352);e.d(n,"geoEckert5",function(){return _.a}),e.d(n,"geoEckert5Raw",function(){return _.b});var w=e(353);e.d(n,"geoEckert6",function(){return w.a}),e.d(n,"geoEckert6Raw",function(){return w.b});var E=e(354);e.d(n,"geoEisenlohr",function(){return E.a}),e.d(n,"geoEisenlohrRaw",function(){return E.b});var M=e(355);e.d(n,"geoFahey",function(){return M.a}),e.d(n,"geoFaheyRaw",function(){return M.b});var S=e(356);e.d(n,"geoFoucaut",function(){return S.a}),e.d(n,"geoFoucautRaw",function(){return S.b});var T=e(357);e.d(n,"geoGilbert",function(){return T.a});var k=e(358);e.d(n,"geoGingery",function(){return k.a}),e.d(n,"geoGingeryRaw",function(){return k.b});var P=e(359);e.d(n,"geoGinzburg4",function(){return P.a}),e.d(n,"geoGinzburg4Raw",function(){return P.b});var C=e(360);e.d(n,"geoGinzburg5",function(){return C.a}),e.d(n,"geoGinzburg5Raw",function(){return C.b});var A=e(361);e.d(n,"geoGinzburg6",function(){return A.a}),e.d(n,"geoGinzburg6Raw",function(){return A.b});var B=e(362);e.d(n,"geoGinzburg8",function(){return B.a}),e.d(n,"geoGinzburg8Raw",function(){return B.b});var R=e(363);e.d(n,"geoGinzburg9",function(){return R.a}),e.d(n,"geoGinzburg9Raw",function(){return R.b});var N=e(176);e.d(n,"geoGringorten",function(){return N.a}),e.d(n,"geoGringortenRaw",function(){return N.b});var q=e(178);e.d(n,"geoGuyou",function(){return q.a}),e.d(n,"geoGuyouRaw",function(){return q.b});var z=e(365);e.d(n,"geoHammer",function(){return z.a}),e.d(n,"geoHammerRaw",function(){return z.b});var L=e(366);e.d(n,"geoHammerRetroazimuthal",function(){return L.a}),e.d(n,"geoHammerRetroazimuthalRaw",function(){return L.b});var F=e(367);e.d(n,"geoHealpix",function(){return F.a}),e.d(n,"geoHealpixRaw",function(){return F.b});var I=e(368);e.d(n,"geoHill",function(){return I.a}),e.d(n,"geoHillRaw",function(){return I.b});var D=e(179);e.d(n,"geoHomolosine",function(){return D.a}),e.d(n,"geoHomolosineRaw",function(){return D.b});var G=e(27);e.d(n,"geoInterrupt",function(){return G.a});var H=e(369);e.d(n,"geoInterruptedBoggs",function(){return H.a});var V=e(370);e.d(n,"geoInterruptedHomolosine",function(){return V.a});var U=e(371);e.d(n,"geoInterruptedMollweide",function(){return U.a});var W=e(372);e.d(n,"geoInterruptedMollweideHemispheres",function(){return W.a});var $=e(373);e.d(n,"geoInterruptedSinuMollweide",function(){return $.a});var J=e(374);e.d(n,"geoInterruptedSinusoidal",function(){return J.a});var Y=e(375);e.d(n,"geoKavrayskiy7",function(){return Y.a}),e.d(n,"geoKavrayskiy7Raw",function(){return Y.b});var X=e(376);e.d(n,"geoLagrange",function(){return X.a}),e.d(n,"geoLagrangeRaw",function(){return X.b});var Q=e(377);e.d(n,"geoLarrivee",function(){return Q.a}),e.d(n,"geoLarriveeRaw",function(){return Q.b});var K=e(378);e.d(n,"geoLaskowski",function(){return K.a}),e.d(n,"geoLaskowskiRaw",function(){return K.b});var Z=e(379);e.d(n,"geoLittrow",function(){return Z.a}),e.d(n,"geoLittrowRaw",function(){return Z.b});var tt=e(380);e.d(n,"geoLoximuthal",function(){return tt.a}),e.d(n,"geoLoximuthalRaw",function(){return tt.b});var nt=e(381);e.d(n,"geoMiller",function(){return nt.a}),e.d(n,"geoMillerRaw",function(){return nt.b});var et=e(382);e.d(n,"geoModifiedStereographic",function(){return et.a}),e.d(n,"geoModifiedStereographicRaw",function(){return et.g}),e.d(n,"geoModifiedStereographicAlaska",function(){return et.b}),e.d(n,"geoModifiedStereographicGs48",function(){return et.c}),e.d(n,"geoModifiedStereographicGs50",function(){return et.d}),e.d(n,"geoModifiedStereographicMiller",function(){return et.f}),e.d(n,"geoModifiedStereographicLee",function(){return et.e});var rt=e(22);e.d(n,"geoMollweide",function(){return rt.a}),e.d(n,"geoMollweideRaw",function(){return rt.d});var ot=e(383);e.d(n,"geoMtFlatPolarParabolic",function(){return ot.a}),e.d(n,"geoMtFlatPolarParabolicRaw",function(){return ot.b});var it=e(384);e.d(n,"geoMtFlatPolarQuartic",function(){return it.a}),e.d(n,"geoMtFlatPolarQuarticRaw",function(){return it.b});var ct=e(385);e.d(n,"geoMtFlatPolarSinusoidal",function(){return ct.a}),e.d(n,"geoMtFlatPolarSinusoidalRaw",function(){return ct.b});var ut=e(386);e.d(n,"geoNaturalEarth",function(){return ut.a}),e.d(n,"geoNaturalEarthRaw",function(){return ut.b});var at=e(387);e.d(n,"geoNaturalEarth2",function(){return at.a}),e.d(n,"geoNaturalEarth2Raw",function(){return at.b});var ft=e(388);e.d(n,"geoNellHammer",function(){return ft.a}),e.d(n,"geoNellHammerRaw",function(){return ft.b});var st=e(389);e.d(n,"geoPatterson",function(){return st.a}),e.d(n,"geoPattersonRaw",function(){return st.b});var lt=e(390);e.d(n,"geoPolyconic",function(){return lt.a}),e.d(n,"geoPolyconicRaw",function(){return lt.b});var ht=e(64);e.d(n,"geoPolyhedral",function(){return ht.a});var pt=e(392);e.d(n,"geoPolyhedralButterfly",function(){return pt.a});var vt=e(393);e.d(n,"geoPolyhedralCollignon",function(){return vt.a});var bt=e(394);e.d(n,"geoPolyhedralWaterman",function(){return bt.a});var gt=e(395);e.d(n,"geoProject",function(){return gt.a});var dt=e(399);e.d(n,"geoGringortenQuincuncial",function(){return dt.a});var jt=e(180);e.d(n,"geoPeirceQuincuncial",function(){return jt.a}),e.d(n,"geoPierceQuincuncial",function(){return jt.a});var Ot=e(400);e.d(n,"geoQuantize",function(){return Ot.a});var yt=e(96);e.d(n,"geoQuincuncial",function(){return yt.a});var mt=e(401);e.d(n,"geoRectangularPolyconic",function(){return mt.a}),e.d(n,"geoRectangularPolyconicRaw",function(){return mt.b});var xt=e(402);e.d(n,"geoRobinson",function(){return xt.a}),e.d(n,"geoRobinsonRaw",function(){return xt.b});var _t=e(403);e.d(n,"geoSatellite",function(){return _t.a}),e.d(n,"geoSatelliteRaw",function(){return _t.b});var wt=e(94);e.d(n,"geoSinuMollweide",function(){return wt.a}),e.d(n,"geoSinuMollweideRaw",function(){return wt.c});var Et=e(42);e.d(n,"geoSinusoidal",function(){return Et.a}),e.d(n,"geoSinusoidalRaw",function(){return Et.b});var Mt=e(404);e.d(n,"geoStitch",function(){return Mt.a});var St=e(405);e.d(n,"geoTimes",function(){return St.a}),e.d(n,"geoTimesRaw",function(){return St.b});var Tt=e(406);e.d(n,"geoTwoPointAzimuthal",function(){return Tt.a}),e.d(n,"geoTwoPointAzimuthalRaw",function(){return Tt.b}),e.d(n,"geoTwoPointAzimuthalUsa",function(){return Tt.c});var kt=e(407);e.d(n,"geoTwoPointEquidistant",function(){return kt.a}),e.d(n,"geoTwoPointEquidistantRaw",function(){return kt.b}),e.d(n,"geoTwoPointEquidistantUsa",function(){return kt.c});var Pt=e(408);e.d(n,"geoVanDerGrinten",function(){return Pt.a}),e.d(n,"geoVanDerGrintenRaw",function(){return Pt.b});var Ct=e(409);e.d(n,"geoVanDerGrinten2",function(){return Ct.a}),e.d(n,"geoVanDerGrinten2Raw",function(){return Ct.b});var At=e(410);e.d(n,"geoVanDerGrinten3",function(){return At.a}),e.d(n,"geoVanDerGrinten3Raw",function(){return At.b});var Bt=e(411);e.d(n,"geoVanDerGrinten4",function(){return Bt.a}),e.d(n,"geoVanDerGrinten4Raw",function(){return Bt.b});var Rt=e(412);e.d(n,"geoWagner4",function(){return Rt.a}),e.d(n,"geoWagner4Raw",function(){return Rt.b});var Nt=e(413);e.d(n,"geoWagner6",function(){return Nt.a}),e.d(n,"geoWagner6Raw",function(){return Nt.b});var qt=e(414);e.d(n,"geoWagner7",function(){return qt.a}),e.d(n,"geoWagner7Raw",function(){return qt.b});var zt=e(415);e.d(n,"geoWiechel",function(){return zt.a}),e.d(n,"geoWiechelRaw",function(){return zt.b});var Lt=e(416);e.d(n,"geoWinkel3",function(){return Lt.a}),e.d(n,"geoWinkel3Raw",function(){return Lt.b})},function(t,n,e){"use strict";function r(t,n){var e=Object(i.h)(n),r=Object(i.z)(Object(i.b)(e*Object(i.h)(t/=2)));return[2*e*Object(i.y)(t)*r,Object(i.y)(n)*r]}n.a=r;var o=e(0),i=e(1);r.invert=function(t,n){if(!(t*t+4*n*n>i.s*i.s+i.k)){var e=t,r=n,o=25;do{var c,u=Object(i.y)(e),a=Object(i.y)(e/2),f=Object(i.h)(e/2),s=Object(i.y)(r),l=Object(i.h)(r),h=Object(i.y)(2*r),p=s*s,v=l*l,b=a*a,g=1-v*f*f,d=g?Object(i.b)(l*f)*Object(i.B)(c=1/g):c=0,j=2*d*l*a-t,O=d*s-n,y=c*(v*b+d*l*f*p),m=c*(.5*u*h-2*d*s*a),x=.25*c*(h*a-d*s*v*u),_=c*(p*f+d*b*l),w=m*x-_*y;if(!w)break;var E=(O*m-j*_)/w,M=(j*x-O*y)/w;e-=E,r-=M}while((Object(i.a)(E)>i.k||Object(i.a)(M)>i.k)&&--o>0);return[e,r]}},n.b=function(){return Object(o.geoProjection)(r).scale(152.63)}},function(t,n,e){"use strict";function r(t,n){var e=Object(i.F)(n/2),r=Object(i.B)(1-e*e),o=1+r*Object(i.h)(t/=2),c=Object(i.y)(t)*r/o,u=e/o,a=c*c,f=u*u;return[4/3*c*(3+a-3*f),4/3*u*(3+3*a-f)]}n.a=r;var o=e(0),i=e(1);r.invert=function(t,n){if(t*=3/8,n*=3/8,!t&&Object(i.a)(n)>1)return null;var e=1+t*t+n*n,r=Object(i.B)((e-Object(i.B)(e*e-4*n*n))/2),o=Object(i.e)(r)/3,c=r?Object(i.c)(Object(i.a)(n/r))/3:Object(i.d)(Object(i.a)(t))/3,u=Object(i.h)(o),a=Object(i.i)(c),f=a*a-u*u;return[2*Object(i.x)(t)*Object(i.g)(Object(i.A)(c)*u,.25-f),2*Object(i.x)(n)*Object(i.g)(a*Object(i.y)(o),.25+f)]},n.b=function(){return Object(o.geoProjection)(r).scale(66.1603)}},function(t,n,e){"use strict";function r(t,n){var e=Object(i.c)(c.s,n);return[u*t/(1/Object(c.h)(n)+a/Object(c.h)(e)),(n+c.D*Object(c.y)(e))/u]}n.a=r;var o=e(0),i=e(22),c=e(1),u=2.00276,a=1.11072;r.invert=function(t,n){var e,r,o=u*n,i=n<0?-c.u:c.u,f=25;do{r=o-c.D*Object(c.y)(i),i-=e=(Object(c.y)(2*i)+2*i-c.s*Object(c.y)(r))/(2*Object(c.h)(2*i)+2+c.s*Object(c.h)(r)*c.D*Object(c.h)(i))}while(Object(c.a)(e)>c.k&&--f>0);return r=o-c.D*Object(c.y)(i),[t*(1/Object(c.h)(r)+a/Object(c.h)(i))/u,r]},n.b=function(){return Object(o.geoProjection)(r).scale(160.857)}},function(t,n,e){"use strict";function r(t){function n(t,n){return[t*e,Object(o.y)(n)/e]}var e=Object(o.h)(t);return n.invert=function(t,n){return[t/e,Object(o.e)(n*e)]},n}n.a=r;var o=e(1),i=e(35);n.b=function(){return Object(i.a)(r).parallel(38.58).scale(195.044)}},function(t,n,e){"use strict";function r(t,n){var e=Object(i.x)(t),r=Object(i.x)(n),o=Object(i.h)(n),c=Object(i.h)(t)*o,u=Object(i.y)(t)*o,a=Object(i.y)(r*n);t=Object(i.a)(Object(i.g)(u,a)),n=Object(i.e)(c),Object(i.a)(t-i.o)>i.k&&(t%=i.o);var f=function(t,n){if(n===i.o)return[0,0];var e,r,o=Object(i.y)(n),c=o*o,u=c*c,a=1+u,f=1+3*u,s=1-u,l=Object(i.e)(1/Object(i.B)(a)),h=s+c*a*l,p=(1-o)/h,v=Object(i.B)(p),b=p*a,g=Object(i.B)(b),d=v*s;if(0===t)return[0,-(d+c*g)];var j,O=Object(i.h)(n),y=1/O,m=2*o*O,x=(-h*O-(-3*c+l*f)*m*(1-o))/(h*h),_=-y*m,w=-y*(c*a*x+p*f*m),E=-2*y*(s*(.5*x/v)-2*c*v*m),M=4*t/i.s;if(t>.222*i.s||n.175*i.s){if(e=(d+c*Object(i.B)(b*(1+u)-d*d))/(1+u),t>i.s/4)return[e,e];var S=e,T=.5*e;e=.5*(T+S),r=50;do{var k=Object(i.B)(b-e*e),P=e*(E+_*k)+w*Object(i.e)(e/g)-M;if(!P)break;P<0?T=e:S=e,e=.5*(T+S)}while(Object(i.a)(S-T)>i.k&&--r>0)}else{e=i.k,r=25;do{var C=e*e,A=Object(i.B)(b-C),B=E+_*A,R=e*B+w*Object(i.e)(e/g)-M;e-=j=A?R/(B+(w-_*C)/A):0}while(Object(i.a)(j)>i.k&&--r>0)}return[e,-d-c*Object(i.B)(b-e*e)]}(t>i.s/4?i.o-t:t,n);return t>i.s/4&&(a=f[0],f[0]=-f[1],f[1]=-a),f[0]*=e,f[1]*=-r,f}n.b=r;var o=e(0),i=e(1),c=e(177);r.invert=function(t,n){Object(i.a)(t)>1&&(t=2*Object(i.x)(t)-t),Object(i.a)(n)>1&&(n=2*Object(i.x)(n)-n);var e=Object(i.x)(t),r=Object(i.x)(n),o=-e*t,c=-r*n,u=c/o<1,a=function(t,n){for(var e=0,r=1,o=.5,c=50;;){var u=o*o,a=Object(i.B)(o),f=Object(i.e)(1/Object(i.B)(1+u)),s=1-u+o*(1+u)*f,l=(1-a)/s,h=Object(i.B)(l),p=l*(1+u),v=h*(1-u),b=p-t*t,g=Object(i.B)(b),d=n+v+o*g;if(Object(i.a)(r-e)0?e=o:r=o,o=.5*(e+r)}if(!c)return null;var j=Object(i.e)(a),O=Object(i.h)(j),y=1/O,m=2*a*O,x=(-s*O-(-3*o+f*(1+3*u))*m*(1-a))/(s*s),_=-2*y*(.5*x/h*(1-u)-2*o*h*m),w=-y*m,E=-y*(o*(1+u)*x+l*(1+3*u)*m);return[i.s/4*(t*(_+w*g)+E*Object(i.e)(t/Object(i.B)(p))),j]}(u?c:o,u?o:c),f=a[0],s=a[1],l=Object(i.h)(s);return u&&(f=-i.o-f),[e*(Object(i.g)(Object(i.y)(f)*l,-Object(i.y)(s))+i.s),r*Object(i.e)(Object(i.h)(f)*l)]},n.a=function(){return Object(o.geoProjection)(Object(c.a)(r)).scale(239.75)}},function(t,n,e){"use strict";var r=e(1);n.a=function(t){function n(n,o){var i=n>0?-.5:.5,c=t(n+i*r.s,o);return c[0]-=i*e,c}var e=t(r.o,0)[0]-t(-r.o,0)[0];return t.invert&&(n.invert=function(n,o){var i=n>0?-.5:.5,c=t.invert(n+i*e,o),u=c[0]-i*r.s;return u<-r.s?u+=2*r.s:u>r.s&&(u-=2*r.s),c[0]=u,c}),n}},function(t,n,e){"use strict";function r(t,n){var e=(c.D-1)/(c.D+1),r=Object(c.B)(1-e*e),o=Object(i.a)(c.o,r*r),u=Object(c.p)(Object(c.F)(c.s/4+Object(c.a)(n)/2)),a=Object(c.m)(-1*u)/Object(c.B)(e),f=function(t,n){var e=t*t,r=n+1,o=1-e-n*n;return[.5*((t>=0?c.o:-c.o)-Object(c.g)(o,2*t)),-.25*Object(c.p)(o*o+4*e)+.5*Object(c.p)(r*r+e)]}(a*Object(c.h)(-1*t),a*Object(c.y)(-1*t)),s=Object(i.b)(f[0],f[1],r*r);return[-s[1],(n>=0?1:-1)*(.5*o-s[0])]}n.b=r;var o=e(0),i=e(364),c=e(1),u=e(177);r.invert=function(t,n){var e=(c.D-1)/(c.D+1),r=Object(c.B)(1-e*e),o=Object(i.a)(c.o,r*r),u=Object(i.c)(.5*o-n,-t,r*r),a=function(t,n){var e=n[0]*n[0]+n[1]*n[1];return[(t[0]*n[0]+t[1]*n[1])/e,(t[1]*n[0]-t[0]*n[1])/e]}(u[0],u[1]);return[Object(c.g)(a[1],a[0])/-1,2*Object(c.f)(Object(c.m)(-.5*Object(c.p)(e*a[0]*a[0]+e*a[1]*a[1])))-c.o]},n.a=function(){return Object(o.geoProjection)(Object(u.a)(r)).scale(151.496)}},function(t,n,e){"use strict";function r(t,n){return Object(i.a)(n)>a.b?(t=Object(c.d)(t,n),t[1]-=n>0?a.d:-a.d,t):Object(u.b)(t,n)}n.b=r;var o=e(0),i=e(1),c=e(22),u=e(42),a=e(94);r.invert=function(t,n){return Object(i.a)(n)>a.b?c.d.invert(t,n+(n>0?a.d:-a.d)):u.b.invert(t,n)},n.a=function(){return Object(o.geoProjection)(r).scale(152.63)}},function(t,n,e){"use strict";var r=e(178),o=e(96);n.a=function(){return Object(o.a)(r.b).scale(111.48)}},function(t,n,e){"use strict";var r=e(0),o=e(1);n.a=function(t,n,e){var i=Object(r.geoInterpolate)(n,e),c=i(.5),u=Object(r.geoRotation)([-c[0],-c[1]])(n),a=i.distance/2,f=-Object(o.e)(Object(o.y)(u[1]*o.v)/Object(o.y)(a)),s=[-c[0],-c[1],-(u[0]>0?o.s-f:f)*o.j],l=Object(r.geoProjection)(t(a)).rotate(s),h=Object(r.geoRotation)(s),p=l.center;return delete l.rotate,l.center=function(t){return arguments.length?p(h(t)):h.invert(p())},l.clipAngle(90)}},function(t,n,e){var r,o="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};!function(n){"use strict";function i(){}function c(t,n){for(var e=t.length;e--;)if(t[e].listener===n)return e;return-1}function u(t){return function(){return this[t].apply(this,arguments)}}function a(t){return"function"==typeof t||t instanceof RegExp||!(!t||"object"!==(void 0===t?"undefined":o(t)))&&a(t.listener)}var f=i.prototype,s=n.EventEmitter;f.getListeners=function(t){var n,e,r=this._getEvents();if(t instanceof RegExp){n={};for(e in r)r.hasOwnProperty(e)&&t.test(e)&&(n[e]=r[e])}else n=r[t]||(r[t]=[]);return n},f.flattenListeners=function(t){var n,e=[];for(n=0;nh))return!1;var v=s.get(t);if(v&&s.get(n))return v==n;var b=-1,g=!0,d=e&u?new r:void 0;for(s.set(t,n),s.set(n,t);++b=0?1:-1,o=r*e,i=Object(p.g)(n),c=Object(p.t)(n),u=l*c,a=s*i+u*Object(p.g)(o),h=u*r*Object(p.t)(o);g.add(Object(p.e)(h,a)),f=t,s=i,l=c}e.d(n,"a",function(){return g}),e.d(n,"b",function(){return j});var u,a,f,s,l,h=e(49),p=e(6),v=e(28),b=e(29),g=Object(h.a)(),d=Object(h.a)(),j={point:v.a,lineStart:v.a,lineEnd:v.a,polygonStart:function(){g.reset(),j.lineStart=r,j.lineEnd=o},polygonEnd:function(){var t=+g;d.add(t<0?p.w+t:t),this.lineStart=this.lineEnd=this.point=v.a},sphere:function(){d.add(p.w)}};n.c=function(t){return d.reset(),Object(b.a)(t,j),2*d}},function(t,n,e){"use strict";function r(t,n,e,r,c,a){if(e){var f=Object(u.g)(n),s=Object(u.t)(n),l=r*e;null==c?(c=n+r*u.w,a=n-l/2):(c=o(f,c),a=o(f,a),(r>0?ca)&&(c+=r*u.w));for(var h,p=c;r>0?p>a:p0)do{u.point(0===a||3===a?t:e,a>1?r:n)}while((a=(a+c+4)%4)!==f);else u.point(i[0],i[1])}function p(r,i){return Object(o.a)(r[0]-t)0?0:3:Object(o.a)(r[0]-e)0?2:1:Object(o.a)(r[1]-n)0?1:0:i>0?3:2}function v(t,n){return b(t.x,n.x)}function b(t,n){var e=p(t,1),r=p(n,1);return e!==r?e-r:0===e?n[1]-t[1]:1===e?t[0]-n[0]:2===e?t[1]-n[1]:n[0]-t[0]}return function(o){function p(t,n){l(t,n)&&S.point(t,n)}function b(o,i){var u=l(o,i);if(d&&j.push([o,i]),E)O=o,y=i,m=u,E=!1,u&&(S.lineStart(),S.point(o,i));else if(u&&w)S.point(o,i);else{var a=[x=Math.max(s,Math.min(f,x)),_=Math.max(s,Math.min(f,_))],h=[o=Math.max(s,Math.min(f,o)),i=Math.max(s,Math.min(f,i))];Object(c.a)(a,h,t,n,e,r)?(w||(S.lineStart(),S.point(a[0],a[1])),S.point(h[0],h[1]),u||S.lineEnd(),M=!1):u&&(S.lineStart(),S.point(o,i),M=!1)}x=o,_=i,w=u}var g,d,j,O,y,m,x,_,w,E,M,S=o,T=Object(i.a)(),k={point:p,lineStart:function(){k.point=b,d&&d.push(j=[]),E=!0,w=!1,x=_=NaN},lineEnd:function(){g&&(b(O,y),m&&w&&T.rejoin(),g.push(T.result())),k.point=p,w&&S.lineEnd()},polygonStart:function(){S=T,g=[],d=[],M=!0},polygonEnd:function(){var n=function(){for(var n=0,e=0,o=d.length;er&&(l-i)*(r-c)>(h-c)*(t-i)&&++n:h<=r&&(l-i)*(r-c)<(h-c)*(t-i)&&--n;return n}(),e=M&&n,i=(g=Object(a.merge)(g)).length;(e||i)&&(o.polygonStart(),e&&(o.lineStart(),h(null,null,1,o),o.lineEnd()),i&&Object(u.a)(g,v,n,h,o),o.polygonEnd()),S=o,g=d=j=null}};return k}}n.a=r;var o=e(6),i=e(212),c=e(500),u=e(213),a=e(12),f=1e9,s=-f;n.b=function(){var t,n,e,o=0,i=0,c=960,u=500;return e={stream:function(e){return t&&n===e?t:t=r(o,i,c,u)(n=e)},extent:function(r){return arguments.length?(o=+r[0][0],i=+r[0][1],c=+r[1][0],u=+r[1][1],t=n=null,e):[[o,i],[c,u]]}}}},function(t,n,e){"use strict";var r=e(28);n.a=function(){var t,n=[];return{point:function(n,e){t.push([n,e])},lineStart:function(){n.push(t=[])},lineEnd:r.a,rejoin:function(){n.length>1&&n.push(n.pop().concat(n.shift()))},result:function(){var e=n;return n=[],t=null,e}}}},function(t,n,e){"use strict";function r(t,n,e,r){this.x=t,this.z=n,this.o=e,this.e=r,this.v=!1,this.n=this.p=null}function o(t){if(n=t.length){for(var n,e,r=0,o=t[0];++r=0;--a)u.point((p=h[a])[0],p[1]);else c(b.x,b.p.x,-1,u);b=b.p}h=(b=b.o).z,g=!g}while(!b.v);u.lineEnd()}}}},function(t,n,e){"use strict";var r=e(6);n.a=function(t,n){return Object(r.a)(t[0]-n[0])c&&(c=t),nu&&(u=n)},lineStart:r.a,lineEnd:r.a,polygonStart:r.a,polygonEnd:r.a,result:function(){var t=[[o,i],[c,u]];return c=u=-(i=o=1/0),t}};n.a=a},function(t,n,e){"use strict";var r=e(110);n.a=function(){return Object(r.b)().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])}},function(t,n,e){"use strict";function r(t){return t.length>1}function o(t,n){return((t=t.x)[0]<0?t[1]-u.l-u.i:u.l-t[1])-((n=n.x)[0]<0?n[1]-u.l-u.i:u.l-n[1])}var i=e(212),c=e(213),u=e(6),a=e(510),f=e(12);n.a=function(t,n,e,u){return function(s,l){function h(n,e){var r=s(n,e);t(n=r[0],e=r[1])&&l.point(n,e)}function p(t,n){var e=s(t,n);x.point(e[0],e[1])}function v(){S.point=p,x.lineStart()}function b(){S.point=h,x.lineEnd()}function g(t,n){m.push([t,n]);var e=s(t,n);E.point(e[0],e[1])}function d(){E.lineStart(),m=[]}function j(){g(m[0][0],m[0][1]),E.lineEnd();var t,n,e,o,i=E.clean(),c=w.result(),u=c.length;if(m.pop(),O.push(m),m=null,u)if(1&i){if(e=c[0],(n=e.length-1)>0){for(M||(l.polygonStart(),M=!0),l.lineStart(),t=0;t1&&2&i&&c.push(c.pop().concat(c.shift())),y.push(c.filter(r))}var O,y,m,x=n(l),_=s.invert(u[0],u[1]),w=Object(i.a)(),E=n(w),M=!1,S={point:h,lineStart:v,lineEnd:b,polygonStart:function(){S.point=g,S.lineStart=d,S.lineEnd=j,y=[],O=[]},polygonEnd:function(){S.point=h,S.lineStart=v,S.lineEnd=b,y=Object(f.merge)(y);var t=Object(a.a)(O,_);y.length?(M||(l.polygonStart(),M=!0),Object(c.a)(y,o,t,e,l)):t&&(M||(l.polygonStart(),M=!0),l.lineStart(),e(null,null,1,l),l.lineEnd()),M&&(l.polygonEnd(),M=!1),y=O=null},sphere:function(){l.polygonStart(),l.lineStart(),e(null,null,1,l),l.lineEnd(),l.polygonEnd()}};return S}}},function(t,n,e){"use strict";function r(t,n,e){var r=n[1][0]-n[0][0],c=n[1][1]-n[0][1],u=t.clipExtent&&t.clipExtent();t.scale(150).translate([0,0]),null!=u&&t.clipExtent(null),Object(o.a)(e,t.stream(i.a));var a=i.a.result(),f=Math.min(r/(a[1][0]-a[0][0]),c/(a[1][1]-a[0][1])),s=+n[0][0]+(r-f*(a[1][0]+a[0][0]))/2,l=+n[0][1]+(c-f*(a[1][1]+a[0][1]))/2;return null!=u&&t.clipExtent(u),t.scale(150*f).translate([s,l])}n.b=function(t){return function(n,e){return r(t,[[0,0],n],e)}},n.a=function(t){return function(n,e){return r(t,n,e)}};var o=e(29),i=e(217)},function(t,n,e){"use strict";function r(t,n){return[t,n]}n.b=r;var o=e(18);r.invert=r,n.a=function(){return Object(o.a)(r).scale(152.63)}},function(t,n,e){var r=e(72),o=1/0;t.exports=function(t){return(null==t?0:t.length)?r(t,o):[]}},function(t,n,e){var r=e(224);t.exports=function(t){if(1===t.length)return 0;var n=r(t);return Math.sqrt(n)}},function(t,n,e){var r=e(116);t.exports=function(t){if(0===t.length)throw new Error("variance requires at least one data point");return r(t,2)/t.length}},function(t,n){t.exports=function(t){if(0===t.length)return 0;for(var n,e=t[0],r=0,o=1;o=Math.abs(t[o])?r+=e-n+t[o]:r+=t[o]-n+e,e=n;return e+r}},function(t,n){t.exports=function(t){return t.slice().sort(function(t,n){return t-n})}},function(t,n){t.exports=function(t){if(0===t.length)throw new Error("mode requires at least one data point");if(1===t.length)return t[0];for(var n=t[0],e=NaN,r=0,o=1,i=1;ir&&(r=o,e=n),o=1,n=t[i]):o++;return e}},function(t,n){t.exports=function(t){if(0===t.length)throw new Error("min requires at least one data point");for(var n=t[0],e=1;en&&(n=t[e]);return n}},function(t,n,e){var r=e(117);t.exports=function(t){return+r(t,.5)}},function(t,n,e){var r=e(232);t.exports=function(t,n){var e=t.slice();return r(e.slice(),n)}},function(t,n){t.exports=function(t,n){n=n||Math.random;for(var e,r,o=t.length;o>0;)r=Math.floor(n()*o--),e=t[o],t[o]=t[r],t[r]=e;return t}},function(t,n){t.exports=function(t){for(var n,e=0,r=0;r=0?e:-e}},function(t,n){t.exports=function(t){for(var n=1/t,e=[],r=0;r<=1;r+=n)e.push(r);return e}},function(t,n){t.exports=function(t){return null==t}},function(t,n,e){function r(t,n,e){e.dataType=a;var r=i(t.features);return r.forEach(function(t){t.name=t.properties.name,t.longitude=[],t.latitude=[];var n=t.pathData=s(t);o(n)._path.forEach(function(n){t.longitude.push(n[1]),t.latitude.push(n[2])});var e=s.centroid(t);t.centroidX=e[0],t.centroidY=e[1]}),r}var o=e(242),i=e(70),c=e(0).geoPath,u=e(2),a=u.GEO,f=u.registerConnector,s=c();f("geo",r),f("geojson",r),f("GeoJSON",r),t.exports=r},function(t,n,e){function r(t){if(!(this instanceof r))return new r(t);this._path=c(t)?t:i(t),this._path=u(this._path),this._path=function(t){for(var n=[],e=["L",0,0],r=0,o=t.length;r=t){p=(i-t)/(i-r[2]);return{length:i,pos:v=[e[0]*(1-p)+r[0]*p,e[1]*(1-p)+r[1]*p]}}r[0]=e[0],r[1]=e[1],r[2]=i}}else if("Q"===u[0]){r[0]=e[0],r[1]=e[1],r[2]=i;for(var a=100,f=0;f<=a;f++){var h=f/a,s=function(t,n){return Math.pow(1-n,2)*e[0]+2*(1-n)*n*t[1]+Math.pow(n,2)*t[3]}(u,h),l=function(t,n){return Math.pow(1-n,2)*e[1]+2*(1-n)*n*t[2]+Math.pow(n,2)*t[4]}(u,h);if(i+=o(e[0],e[1],s,l),e[0]=s,e[1]=l,"number"==typeof t&&i>=t){p=(i-t)/(i-r[2]);return{length:i,pos:v=[e[0]*(1-p)+r[0]*p,e[1]*(1-p)+r[1]*p]}}r[0]=e[0],r[1]=e[1],r[2]=i}}else if("L"===u[0]){if(r[0]=e[0],r[1]=e[1],r[2]=i,i+=o(e[0],e[1],u[1],u[2]),e[0]=u[1],e[1]=u[2],"number"==typeof t&&i>=t){var p=(i-t)/(i-r[2]),v=[e[0]*(1-p)+r[0]*p,e[1]*(1-p)+r[1]*p];return{length:i,pos:v}}r[0]=e[0],r[1]=e[1],r[2]=i}}return{length:i/1.045,pos:e}}},function(t,n,e){"use strict";function r(t,n,e){var r=t.x,o=t.y,i=n.r+e.r,c=t.r+e.r,u=n.x-r,a=n.y-o,f=u*u+a*a;if(f){var s=.5+((c*=c)-(i*=i))/(2*f),l=Math.sqrt(Math.max(0,2*i*(c+f)-(c-=f)*c-i*i))/(2*f);e.x=r+s*u+l*a,e.y=o+s*a-l*u}else e.x=r+c,e.y=o}function o(t,n){var e=n.x-t.x,r=n.y-t.y,o=t.r+n.r;return o*o-1e-6>e*e+r*r}function i(t){var n=t._,e=t.next._,r=n.r+e.r,o=(n.x*e.r+e.x*n.r)/r,i=(n.y*e.r+e.y*n.r)/r;return o*o+i*i}function c(t){this._=t,this.next=null,this.previous=null}function u(t){if(!(f=t.length))return 0;var n,e,u,f,s,l,h,p,v,b,g;if(n=t[0],n.x=0,n.y=0,!(f>1))return n.r;if(e=t[1],n.x=-e.r,e.x=n.r,e.y=0,!(f>2))return n.r+e.r;r(e,n,u=t[2]),n=new c(n),e=new c(e),u=new c(u),n.next=u.previous=e,e.next=n.previous=u,u.next=e.previous=n;t:for(h=3;h0&&e*e>r*r+o*o}function i(t,n){for(var e=0;ea&&(a=t[0]),t[1]f&&(f=t[1])}function e(t){switch(t.type){case"GeometryCollection":t.geometries.forEach(e);break;case"Point":n(t.coordinates);break;case"MultiPoint":t.coordinates.forEach(n)}}var o,i=Object(r.a)(t.transform),c=1/0,u=c,a=-c,f=-c;t.arcs.forEach(function(t){for(var n,e=-1,r=t.length;++ea&&(a=n[0]),n[1]f&&(f=n[1])});for(o in t.objects)e(t.objects[o]);return[c,u,a,f]}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";n.a=function(t,n){function e(t,n){for(var e in t){var o=t[e];delete n[o.start],delete o.start,delete o.end,o.forEach(function(t){r[t<0?~t:t]=1}),c.push(o)}}var r={},o={},i={},c=[],u=-1;return n.forEach(function(e,r){var o,i=t.arcs[e<0?~e:e];i.length<3&&!i[1][0]&&!i[1][1]&&(o=n[++u],n[u]=e,n[r]=o)}),n.forEach(function(n){var e,r,c=function(n){var e,r=t.arcs[n<0?~n:n],o=r[0];return t.transform?(e=[0,0],r.forEach(function(t){e[0]+=t[0],e[1]+=t[1]})):e=r[r.length-1],n<0?[e,o]:[o,e]}(n),u=c[0],a=c[1];if(e=i[u])if(delete i[e.end],e.push(n),e.end=a,r=o[a]){delete o[r.start];var f=r===e?e:e.concat(r);o[f.start=e.start]=i[f.end=r.end]=f}else o[e.start]=i[e.end]=e;else if(e=o[a])if(delete o[e.start],e.unshift(n),e.start=u,r=i[u]){delete i[r.end];var s=r===e?e:r.concat(e);o[s.start=r.start]=i[s.end=e.end]=s}else o[e.start]=i[e.end]=e;else o[(e=[n]).start=u]=i[e.end=a]=e}),e(i,o),e(o,i),n.forEach(function(t){r[t<0?~t:t]||c.push([t])}),c}},function(t,n,e){"use strict";var r=e(248);n.a=function(t){if(null==t)return r.a;var n,e,o=t.scale[0],i=t.scale[1],c=t.translate[0],u=t.translate[1];return function(t,r){r||(n=e=0);var a=2,f=t.length,s=new Array(f),l=Math.round((t[0]-c)/o),h=Math.round((t[1]-u)/i);for(s[0]=l-n,n=l,s[1]=h-e,e=h;a-1}},function(t,n){t.exports=function(t,n,e){for(var r=-1,o=null==t?0:t.length;++r=o;--i)v.point(d[i],j[i]);v.lineEnd(),v.areaEnd()}g&&(d[n]=+e(c,n,t),j[n]=+f(c,n,t),v.point(a?+a(c,n,t):d[n],s?+s(c,n,t):j[n]))}if(u)return v=null,u+""||null}function n(){return Object(c.a)().defined(l).curve(p).context(h)}var e=u.a,a=null,f=Object(o.a)(0),s=u.b,l=Object(o.a)(!0),h=null,p=i.a,v=null;return t.x=function(n){return arguments.length?(e="function"==typeof n?n:Object(o.a)(+n),a=null,t):e},t.x0=function(n){return arguments.length?(e="function"==typeof n?n:Object(o.a)(+n),t):e},t.x1=function(n){return arguments.length?(a=null==n?null:"function"==typeof n?n:Object(o.a)(+n),t):a},t.y=function(n){return arguments.length?(f="function"==typeof n?n:Object(o.a)(+n),s=null,t):f},t.y0=function(n){return arguments.length?(f="function"==typeof n?n:Object(o.a)(+n),t):f},t.y1=function(n){return arguments.length?(s=null==n?null:"function"==typeof n?n:Object(o.a)(+n),t):s},t.lineX0=t.lineY0=function(){return n().x(e).y(f)},t.lineY1=function(){return n().x(e).y(s)},t.lineX1=function(){return n().x(a).y(f)},t.defined=function(n){return arguments.length?(l="function"==typeof n?n:Object(o.a)(!!n),t):l},t.curve=function(n){return arguments.length?(p=n,null!=h&&(v=p(h)),t):p},t.context=function(n){return arguments.length?(null==n?h=v=null:v=p(h=n),t):h},t}},function(t,n,e){"use strict";function r(t){this._curve=t}function o(t){function n(n){return new r(t(n))}return n._curve=t,n}e.d(n,"a",function(){return i}),n.b=o;var i=o(e(75).a);r.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,n){this._curve.point(n*Math.sin(t),n*-Math.cos(t))}}},function(t,n,e){"use strict";function r(t){var n=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?n(Object(o.b)(t)):n()._curve},t}n.a=r;var o=e(257);e(131)},function(t,n,e){"use strict";n.a=function(t,n){return[(n=+n)*Math.cos(t-=Math.PI/2),n*Math.sin(t)]}},function(t,n,e){"use strict";e.d(n,"a",function(){return r});var r=Array.prototype.slice},function(t,n,e){"use strict";var r=e(53);n.a={draw:function(t,n){var e=Math.sqrt(n/r.j);t.moveTo(e,0),t.arc(0,0,e,0,r.m)}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n/5)/2;t.moveTo(-3*e,-e),t.lineTo(-e,-e),t.lineTo(-e,-3*e),t.lineTo(e,-3*e),t.lineTo(e,-e),t.lineTo(3*e,-e),t.lineTo(3*e,e),t.lineTo(e,e),t.lineTo(e,3*e),t.lineTo(-e,3*e),t.lineTo(-e,e),t.lineTo(-3*e,e),t.closePath()}}},function(t,n,e){"use strict";var r=Math.sqrt(1/3),o=2*r;n.a={draw:function(t,n){var e=Math.sqrt(n/o),i=e*r;t.moveTo(0,-e),t.lineTo(i,0),t.lineTo(0,e),t.lineTo(-i,0),t.closePath()}}},function(t,n,e){"use strict";var r=e(53),o=Math.sin(r.j/10)/Math.sin(7*r.j/10),i=Math.sin(r.m/10)*o,c=-Math.cos(r.m/10)*o;n.a={draw:function(t,n){var e=Math.sqrt(.8908130915292852*n),o=i*e,u=c*e;t.moveTo(0,-e),t.lineTo(o,u);for(var a=1;a<5;++a){var f=r.m*a/5,s=Math.cos(f),l=Math.sin(f);t.lineTo(l*e,-s*e),t.lineTo(s*o-l*u,l*o+s*u)}t.closePath()}}},function(t,n,e){"use strict";n.a={draw:function(t,n){var e=Math.sqrt(n),r=-e/2;t.rect(r,r,e,e)}}},function(t,n,e){"use strict";var r=Math.sqrt(3);n.a={draw:function(t,n){var e=-Math.sqrt(n/(3*r));t.moveTo(0,2*e),t.lineTo(-r*e,-e),t.lineTo(r*e,-e),t.closePath()}}},function(t,n,e){"use strict";var r=-.5,o=Math.sqrt(3)/2,i=1/Math.sqrt(12),c=3*(i/2+1);n.a={draw:function(t,n){var e=Math.sqrt(n/c),u=e/2,a=e*i,f=u,s=e*i+e,l=-f,h=s;t.moveTo(u,a),t.lineTo(f,s),t.lineTo(l,h),t.lineTo(r*u-o*a,o*u+r*a),t.lineTo(r*f-o*s,o*f+r*s),t.lineTo(r*l-o*h,o*l+r*h),t.lineTo(r*u+o*a,r*a-o*u),t.lineTo(r*f+o*s,r*s-o*f),t.lineTo(r*l+o*h,r*h-o*l),t.closePath()}}},function(t,n,e){"use strict";function r(t,n){this._context=t,this._k=(1-n)/6}n.a=r;var o=e(76),i=e(78);r.prototype={areaStart:o.a,areaEnd:o.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Object(i.b)(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};(function t(n){function e(t){return new r(t,n)}return e.tension=function(n){return t(+n)},e})(0)},function(t,n,e){"use strict";function r(t,n){this._context=t,this._k=(1-n)/6}n.a=r;var o=e(78);r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Object(o.b)(this,t,n)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};(function t(n){function e(t){return new r(t,n)}return e.tension=function(n){return t(+n)},e})(0)},function(t,n,e){"use strict";function r(t,n){var e=t.site,r=n.left,o=n.right;return e===o&&(o=r,r=e),o?Math.atan2(o[1]-r[1],o[0]-r[0]):(e===r?(r=n[1],o=n[0]):(r=n[0],o=n[1]),Math.atan2(r[0]-o[0],o[1]-r[1]))}function o(t,n){return n[+(n.left!==t.site)]}function i(t,n){return n[+(n.left===t.site)]}n.c=function(t){return u.b[t.index]={site:t,halfedges:[]}},n.a=o,n.d=function(){for(var t,n,e,o,i=0,c=u.b.length;iu.f||Math.abs(O-g)>u.f)&&(h.splice(l,0,u.e.push(Object(c.b)(s,d,Math.abs(j-t)u.f?[t,Math.abs(b-t)u.f?[Math.abs(g-r)u.f?[e,Math.abs(b-e)u.f?[Math.abs(g-n)=-i.g)){var d=h*h+p*p,j=v*v+b*b,O=(b*d-p*j)/g,y=(h*j-v*d)/g,m=c.pop()||new function(){Object(o.a)(this),this.x=this.y=this.arc=this.site=this.cy=null};m.arc=t,m.site=a,m.x=O+s,m.y=(m.cy=y+l)+Math.sqrt(O*O+y*y),t.circle=m;for(var x=null,_=i.c._;_;)if(m.y<_.y||m.y===_.y&&m.x<=_.x){if(!_.L){x=_.P;break}_=_.L}else{if(!_.R){x=_;break}_=_.R}i.c.insert(x,m),x||(r=m)}}}},n.b=function(t){var n=t.circle;n&&(n.P||(r=n.N),i.c.remove(n),c.push(n),Object(o.a)(n),t.circle=null)};var r,o=e(135),i=e(56),c=[]},function(t,n){function e(t){return Math.abs(t)<=1?.5:0}t.exports={boxcar:e,cosine:function(t){return Math.abs(t)<=1?Math.PI/4*Math.cos(Math.PI/2*t):0},epanechnikov:function(t){return Math.abs(t)<1?.75*(1-t*t):0},gaussian:function(t){return.3989422804*Math.exp(-.5*t*t)},quartic:function(t){if(Math.abs(t)<1){var n=1-t*t;return.9375*n*n}return 0},triangular:function(t){var n=Math.abs(t);return n<1?1-n:0},tricube:function(t){return Math.abs(t)<1?70/81*function(t){var n=1-Math.pow(Math.abs(t),3);return Math.pow(n,3)}(t):0},triweight:function(t){if(Math.abs(t)<1){var n=1-t*t;return 35/32*n*n*n}return 0},uniform:e}},function(t,n,e){e(274),e(523),e(524),e(533),e(580),e(582),e(586),e(241),e(590),e(591),e(593),e(615),e(623),e(624),e(625),e(632),e(633),e(634),e(635),e(636),e(637),e(639),e(640),e(641),e(647),e(648),e(649),e(653),e(658),e(660),e(661),e(662),e(663),e(664),e(665),e(666),e(667),e(668),e(704),e(710),e(711),e(712),e(713),e(714),e(715),e(717),e(721),e(722),t.exports=e(2)},function(t,n,e){var r=e(5),o=e(0),i=o.geoArea,c=o.geoCentroid,u=o.geoContains,a=o.geoDistance,f=o.geoLength,s=e(171).geoProject,l=e(43),h=e(206);r(l.prototype,{geoArea:function(t){return i(t)},geoAreaByName:function(t){return i(this.geoFeatureByName(t))},geoCentroid:function(t){return c(t)},geoCentroidByName:function(t){return c(this.geoFeatureByName(t))},geoDistance:function(t,n){return a(t,n)},geoLength:function(t){return f(t)},geoLengthByName:function(t){return f(this.geoFeatureByName(t))},geoContains:function(t,n){return u(t,n)},geoFeatureByName:function(t){var n=void 0;return this.rows.some(function(e){return e.name===t&&(n=e,!0)}),n},geoFeatureByPosition:function(t){var n=void 0;return this.rows.some(function(e){return!!u(e,t)&&(n=e,!0)}),n},geoNameByPosition:function(t){var n=this.geoFeatureByPosition(t);if(n)return n.name},geoProject:function(t,n){return n=h(n),s(t,n)},geoProjectByName:function(t,n){return n=h(n),s(this.geoFeatureByName(t),n)},geoProjectPosition:function(t,n){return(n=h(n))(t)},geoProjectInvert:function(t,n){return(n=h(n)).invert(t)}})},function(t,n,e){var r=e(11),o=e(279),i=e(13),c=e(139),u=/^\[object .+?Constructor\]$/,a=Function.prototype,f=Object.prototype,s=a.toString,l=f.hasOwnProperty,h=RegExp("^"+s.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(r(t)?h:u).test(c(t))}},function(t,n){var e,r="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};e=function(){return this}();try{e=e||Function("return this")()||(0,eval)("this")}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(e=window)}t.exports=e},function(t,n,e){var r=e(32),o=Object.prototype,i=o.hasOwnProperty,c=o.toString,u=r?r.toStringTag:void 0;t.exports=function(t){var n=i.call(t,u),e=t[u];try{t[u]=void 0;var r=!0}catch(t){}var o=c.call(t);return r&&(n?t[u]=e:delete t[u]),o}},function(t,n){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},function(t,n,e){var r=e(280),o=function(){var t=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=function(t){return!!o&&o in t}},function(t,n,e){var r=e(14)["__core-js_shared__"];t.exports=r},function(t,n){t.exports=function(t,n){return null==t?void 0:t[n]}},function(t,n,e){var r=e(80),o=e(142);t.exports=function(t){return r(function(n,e){var r=-1,i=e.length,c=i>1?e[i-1]:void 0,u=i>2?e[2]:void 0;for(c=t.length>3&&"function"==typeof c?(i--,c):void 0,u&&o(e[0],e[1],u)&&(c=i<3?void 0:c,i=1),n=Object(n);++r0){if(++n>=e)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}},function(t,n){t.exports=function(t,n){for(var e=-1,r=Array(t);++eg&&(g=n)}function o(t,n){var e=Object(E.a)([t*M.r,n*M.r]);if(y){var r=Object(E.c)(y,e),o=[r[1],-r[0],0],i=Object(E.c)(o,r);Object(E.e)(i),i=Object(E.g)(i);var c,u=t-d,a=u>0?1:-1,f=i[0]*M.h*a,l=Object(M.a)(u)>180;l^(a*dg&&(g=c):(f=(f+360)%360-180,l^(a*dg&&(g=n))),l?ts(p,b)&&(b=t):s(t,b)>s(p,b)&&(p=t):b>=p?(tb&&(b=t)):t>d?s(p,t)>s(p,b)&&(b=t):s(t,b)>s(p,b)&&(p=t)}else m.push(x=[p=t,b=t]);ng&&(g=n),y=e,d=t}function i(){k.point=o}function c(){x[0]=p,x[1]=b,k.point=r,y=null}function u(t,n){if(y){var e=t-d;T.add(Object(M.a)(e)>180?e+(e>0?360:-360):e)}else j=t,O=n;w.b.point(t,n),o(t,n)}function a(){w.b.lineStart()}function f(){u(j,O),w.b.lineEnd(),Object(M.a)(T)>M.i&&(p=-(b=180)),x[0]=p,x[1]=b,y=null}function s(t,n){return(n-=t)<0?n+360:n}function l(t,n){return t[0]-n[0]}function h(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nM.i?g=90:T<-M.i&&(v=-90),x[0]=p,x[1]=b}};n.a=function(t){var n,e,r,o,i,c,u;if(g=b=-(p=v=1/0),m=[],Object(S.a)(t,k),e=m.length){for(m.sort(l),n=1,i=[r=m[0]];ns(r[0],r[1])&&(r[1]=o[1]),s(o[0],r[1])>s(r[0],r[1])&&(r[0]=o[0])):i.push(r=o);for(c=-1/0,n=0,r=i[e=i.length-1];n<=e;r=o,++n)o=i[n],(u=s(r[1],o[0]))>c&&(c=u,p=o[0],b=r[1])}return m=x=null,p===1/0||v===1/0?[[NaN,NaN],[NaN,NaN]]:[[p,v],[b,g]]}},function(t,n,e){"use strict";function r(t,n){t*=k.r,n*=k.r;var e=Object(k.g)(n);o(e*Object(k.g)(t),e*Object(k.t)(t),Object(k.t)(n))}function o(t,n,e){b+=(t-b)/++p,g+=(n-g)/p,d+=(e-d)/p}function i(){A.point=c}function c(t,n){t*=k.r,n*=k.r;var e=Object(k.g)(n);M=e*Object(k.g)(t),S=e*Object(k.t)(t),T=Object(k.t)(n),A.point=u,o(M,S,T)}function u(t,n){t*=k.r,n*=k.r;var e=Object(k.g)(n),r=e*Object(k.g)(t),i=e*Object(k.t)(t),c=Object(k.t)(n),u=Object(k.e)(Object(k.u)((u=S*c-T*i)*u+(u=T*r-M*c)*u+(u=M*i-S*r)*u),M*r+S*i+T*c);v+=u,j+=u*(M+(M=r)),O+=u*(S+(S=i)),y+=u*(T+(T=c)),o(M,S,T)}function a(){A.point=r}function f(){A.point=l}function s(){h(w,E),A.point=r}function l(t,n){w=t,E=n,t*=k.r,n*=k.r,A.point=h;var e=Object(k.g)(n);M=e*Object(k.g)(t),S=e*Object(k.t)(t),T=Object(k.t)(n),o(M,S,T)}function h(t,n){t*=k.r,n*=k.r;var e=Object(k.g)(n),r=e*Object(k.g)(t),i=e*Object(k.t)(t),c=Object(k.t)(n),u=S*c-T*i,a=T*r-M*c,f=M*i-S*r,s=Object(k.u)(u*u+a*a+f*f),l=Object(k.c)(s),h=s&&-l/s;m+=h*u,x+=h*a,_+=h*f,v+=l,j+=l*(M+(M=r)),O+=l*(S+(S=i)),y+=l*(T+(T=c)),o(M,S,T)}var p,v,b,g,d,j,O,y,m,x,_,w,E,M,S,T,k=e(4),P=e(21),C=e(26),A={sphere:P.a,point:r,lineStart:i,lineEnd:a,polygonStart:function(){A.lineStart=f,A.lineEnd=s},polygonEnd:function(){A.lineStart=i,A.lineEnd=a}};n.a=function(t){p=v=b=g=d=j=O=y=m=x=_=0,Object(C.a)(t,A);var n=m,e=x,r=_,o=n*n+e*e+r*r;return o0)){if(c/=l,l<0){if(c0){if(c>s)return;c>f&&(f=c)}if(c=o-u,l||!(c<0)){if(c/=l,l<0){if(c>s)return;c>f&&(f=c)}else if(l>0){if(c0)){if(c/=h,h<0){if(c0){if(c>s)return;c>f&&(f=c)}if(c=i-a,h||!(c<0)){if(c/=h,h<0){if(c>s)return;c>f&&(f=c)}else if(h>0){if(c0&&(t[0]=u+f*l,t[1]=a+f*h),s<1&&(n[0]=u+s*l,n[1]=a+s*h),!0}}}}}},function(t,n,e){"use strict";var r=e(154);n.a=function(t,n,e){var o,i,c,u,a=t.length,f=n.length,s=new Array(a*f);for(null==e&&(e=r.b),o=c=0;ot?1:n>=t?0:NaN}},function(t,n,e){"use strict";var r=e(158),o=e(152),i=e(301),c=e(157),u=e(302),a=e(159),f=e(160),s=e(161);n.a=function(){function t(t){var r,i,c=t.length,u=new Array(c);for(r=0;rp;)v.pop(),--b;var g,d=new Array(b+1);for(r=0;r<=b;++r)(g=d[r]=[]).x0=r>0?v[r-1]:h,g.x1=r=e)for(r=e;++ir&&(r=e)}else for(;++i=e)for(r=e;++ir&&(r=e);return r}},function(t,n,e){"use strict";var r=e(40);n.a=function(t,n){var e,o=t.length,i=o,c=-1,u=0;if(null==n)for(;++c=0;)for(n=(r=t[o]).length;--n>=0;)e[--c]=r[n];return e}},function(t,n,e){"use strict";n.a=function(t,n){for(var e=n.length,r=new Array(e);e--;)r[e]=t[n[e]];return r}},function(t,n,e){"use strict";var r=e(34);n.a=function(t,n){if(e=t.length){var e,o,i=0,c=0,u=t[c];for(null==n&&(n=r.a);++iu.i}).map(v)).concat(Object(c.range)(Object(u.f)(l/O)*O,s,O).filter(function(t){return Object(u.a)(t%m)>u.i}).map(b))}var e,i,a,f,s,l,h,p,v,b,g,d,j=10,O=j,y=90,m=360,x=2.5;return t.lines=function(){return n().map(function(t){return{type:"LineString",coordinates:t}})},t.outline=function(){return{type:"Polygon",coordinates:[g(f).concat(d(h).slice(1),g(a).reverse().slice(1),d(p).reverse().slice(1))]}},t.extent=function(n){return arguments.length?t.extentMajor(n).extentMinor(n):t.extentMinor()},t.extentMajor=function(n){return arguments.length?(f=+n[0][0],a=+n[1][0],p=+n[0][1],h=+n[1][1],f>a&&(n=f,f=a,a=n),p>h&&(n=p,p=h,h=n),t.precision(x)):[[f,p],[a,h]]},t.extentMinor=function(n){return arguments.length?(i=+n[0][0],e=+n[1][0],l=+n[0][1],s=+n[1][1],i>e&&(n=i,i=e,e=n),l>s&&(n=l,l=s,s=n),t.precision(x)):[[i,l],[e,s]]},t.step=function(n){return arguments.length?t.stepMajor(n).stepMinor(n):t.stepMinor()},t.stepMajor=function(n){return arguments.length?(y=+n[0],m=+n[1],t):[y,m]},t.stepMinor=function(n){return arguments.length?(j=+n[0],O=+n[1],t):[j,O]},t.precision=function(n){return arguments.length?(x=+n,v=r(l,s,90),b=o(i,e,x),g=r(p,h,90),d=o(f,a,x),t):x},t.extentMajor([[-180,-90+u.i],[180,90-u.i]]).extentMinor([[-180,-80-u.i],[180,80+u.i]])}n.a=i,n.b=function(){return i()()};var c=e(12),u=e(4)},function(t,n,e){"use strict";var r=e(4);n.a=function(t,n){var e=t[0]*r.r,o=t[1]*r.r,i=n[0]*r.r,c=n[1]*r.r,u=Object(r.g)(o),a=Object(r.t)(o),f=Object(r.g)(c),s=Object(r.t)(c),l=u*Object(r.g)(e),h=u*Object(r.t)(e),p=f*Object(r.g)(i),v=f*Object(r.t)(i),b=2*Object(r.c)(Object(r.u)(Object(r.m)(c-o)+u*f*Object(r.m)(i-e))),g=Object(r.t)(b),d=b?function(t){var n=Object(r.t)(t*=b)/g,e=Object(r.t)(b-t)/g,o=e*l+n*p,i=e*h+n*v,c=e*a+n*s;return[Object(r.e)(i,o)*r.h,Object(r.e)(c,Object(r.u)(o*o+i*i))*r.h]}:function(){return[e*r.h,o*r.h]};return d.distance=b,d}},function(t,n,e){"use strict";var r=e(88),o=e(26),i=e(318),c=e(167),u=e(319),a=e(320),f=e(321),s=e(322);n.a=function(t,n){function e(t){return t&&("function"==typeof p&&h.pointRadius(+p.apply(this,arguments)),Object(o.a)(t,l(h))),h.result()}var l,h,p=4.5;return e.area=function(t){return Object(o.a)(t,l(i.a)),i.a.result()},e.measure=function(t){return Object(o.a)(t,l(f.a)),f.a.result()},e.bounds=function(t){return Object(o.a)(t,l(c.a)),c.a.result()},e.centroid=function(t){return Object(o.a)(t,l(u.a)),u.a.result()},e.projection=function(n){return arguments.length?(l=null==n?(t=null,r.a):(t=n).stream,e):t},e.context=function(t){return arguments.length?(h=null==t?(n=null,new s.a):new a.a(n=t),"function"!=typeof p&&h.pointRadius(p),e):n},e.pointRadius=function(t){return arguments.length?(p="function"==typeof t?t:(h.pointRadius(+t),+t),e):p},e.projection(t).context(n)}},function(t,n,e){"use strict";function r(){g.point=o}function o(t,n){g.point=i,u=f=t,a=s=n}function i(t,n){b.add(s*t-f*n),f=t,s=n}function c(){i(u,a)}var u,a,f,s,l=e(33),h=e(4),p=e(21),v=Object(l.a)(),b=Object(l.a)(),g={point:p.a,lineStart:p.a,lineEnd:p.a,polygonStart:function(){g.lineStart=r,g.lineEnd=c},polygonEnd:function(){g.lineStart=g.lineEnd=g.point=p.a,v.add(Object(h.a)(b)),b.reset()},result:function(){var t=v/2;return v.reset(),t}};n.a=g},function(t,n,e){"use strict";function r(t,n){d+=t,j+=n,++O}function o(){M.point=i}function i(t,n){M.point=c,r(v=t,b=n)}function c(t,n){var e=t-v,o=n-b,i=Object(g.u)(e*e+o*o);y+=i*(v+t)/2,m+=i*(b+n)/2,x+=i,r(v=t,b=n)}function u(){M.point=r}function a(){M.point=s}function f(){l(h,p)}function s(t,n){M.point=l,r(h=v=t,p=b=n)}function l(t,n){var e=t-v,o=n-b,i=Object(g.u)(e*e+o*o);y+=i*(v+t)/2,m+=i*(b+n)/2,x+=i,_+=(i=b*t-v*n)*(v+t),w+=i*(b+n),E+=3*i,r(v=t,b=n)}var h,p,v,b,g=e(4),d=0,j=0,O=0,y=0,m=0,x=0,_=0,w=0,E=0,M={point:r,lineStart:o,lineEnd:u,polygonStart:function(){M.lineStart=a,M.lineEnd=f},polygonEnd:function(){M.point=r,M.lineStart=o,M.lineEnd=u},result:function(){var t=E?[_/E,w/E]:x?[y/x,m/x]:O?[d/O,j/O]:[NaN,NaN];return d=j=O=y=m=x=_=w=E=0,t}};n.a=M},function(t,n,e){"use strict";function r(t){this._context=t}n.a=r;var o=e(4),i=e(21);r.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,o.w)}},result:i.a}},function(t,n,e){"use strict";function r(t,n){v.point=o,c=a=t,u=f=n}function o(t,n){a-=t,f-=n,p.add(Object(l.u)(a*a+f*f)),a=t,f=n}var i,c,u,a,f,s=e(33),l=e(4),h=e(21),p=Object(s.a)(),v={point:h.a,lineStart:function(){v.point=r},lineEnd:function(){i&&o(c,u),v.point=h.a},polygonStart:function(){i=!0},polygonEnd:function(){i=null},result:function(){var t=+p;return p.reset(),t}};n.a=v},function(t,n,e){"use strict";function r(){this._string=[]}function o(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}n.a=r,r.prototype={_radius:4.5,_circle:o(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:null==this._circle&&(this._circle=o(this._radius)),this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}}},function(t,n,e){"use strict";var r=e(169),o=e(4);n.a=Object(r.a)(function(){return!0},function(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(c,u){var a=c>0?o.o:-o.o,f=Object(o.a)(c-e);Object(o.a)(f-o.o)0?o.l:-o.l),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(c,r),n=0):i!==a&&f>=o.o&&(Object(o.a)(e-i)o.i?Object(o.d)((Object(o.t)(n)*(c=Object(o.g)(r))*Object(o.t)(e)-Object(o.t)(r)*(i=Object(o.g)(n))*Object(o.t)(t))/(i*c*u)):(n+r)/2}(e,r,c,u),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),n=0),t.point(e=c,r=u),i=a},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}},function(t,n,e,r){var i;if(null==t)i=e*o.l,r.point(-o.o,i),r.point(0,i),r.point(o.o,i),r.point(o.o,0),r.point(o.o,-i),r.point(0,-i),r.point(-o.o,-i),r.point(-o.o,0),r.point(-o.o,i);else if(Object(o.a)(t[0]-n[0])>o.i){var c=t[0]s}function a(t,n,e){var o=Object(r.a)(t),c=Object(r.a)(n),u=[1,0,0],a=Object(r.c)(o,c),f=Object(r.d)(a,a),l=a[0],h=f-l*l;if(!h)return!e&&t;var p=s*f/h,v=-s*l/h,b=Object(r.c)(u,a),g=Object(r.f)(u,p),d=Object(r.f)(a,v);Object(r.b)(g,d);var j=b,O=Object(r.d)(g,j),y=Object(r.d)(j,j),m=O*O-y*(Object(r.d)(g,g)-1);if(!(m<0)){var x=Object(i.u)(m),_=Object(r.f)(j,(-O-x)/y);if(Object(r.b)(_,g),_=Object(r.g)(_),!e)return _;var w,E=t[0],M=n[0],S=t[1],T=n[1];M0^_[1]<(Object(i.a)(_[0]-E)i.o^(E<=_[0]&&_[0]<=M)){var A=Object(r.f)(j,(-O+x)/y);return Object(r.b)(A,g),[_,Object(r.g)(A)]}}}function f(n,e){var r=l?t:i.o-t,o=0;return n<-r?o|=1:n>r&&(o|=2),e<-r?o|=4:e>r&&(o|=8),o}var s=Object(i.g)(t),l=s>0,h=Object(i.a)(s)>i.i;return Object(u.a)(e,function(t){var n,r,o,u,s;return{lineStart:function(){u=o=!1,s=1},point:function(p,v){var b,g=[p,v],d=e(p,v),j=l?d?0:f(p,v):d?f(p+(p<0?i.o:-i.o),v):0;if(!n&&(u=o=d)&&t.lineStart(),d!==o&&(!(b=a(n,g))||Object(c.a)(n,b)||Object(c.a)(g,b))&&(g[0]+=i.i,g[1]+=i.i,d=e(g[0],g[1])),d!==o)s=0,d?(t.lineStart(),b=a(g,n),t.point(b[0],b[1])):(b=a(n,g),t.point(b[0],b[1]),t.lineEnd()),n=b;else if(h&&n&&l^d){var O;j&r||!(O=a(g,n,!0))||(s=0,l?(t.lineStart(),t.point(O[0][0],O[0][1]),t.point(O[1][0],O[1][1]),t.lineEnd()):(t.point(O[1][0],O[1][1]),t.lineEnd(),t.lineStart(),t.point(O[0][0],O[0][1])))}!d||n&&Object(c.a)(n,g)||t.point(g[0],g[1]),n=g,o=d,r=j},lineEnd:function(){o&&t.lineEnd(),n=null},clean:function(){return s|(u&&o)<<1}}},function(e,r,i,c){Object(o.a)(c,t,n,i,e,r)},l?[0,-t]:[-i.o,t-i.o])}},function(t,n,e){"use strict";var r=e(39),o=e(4),i=e(62),c=16,u=Object(o.g)(30*o.r);n.a=function(t,n){return+n?function(t,n){function e(r,i,c,a,f,s,l,h,p,v,b,g,d,j){var O=l-r,y=h-i,m=O*O+y*y;if(m>4*n&&d--){var x=a+v,_=f+b,w=s+g,E=Object(o.u)(x*x+_*_+w*w),M=Object(o.c)(w/=E),S=Object(o.a)(Object(o.a)(w)-1)n||Object(o.a)((O*C+y*A)/m-.5)>.3||a*v+f*b+s*g=.12&&o<.234&&r>=-.425&&r<-.214?p:o>=.166&&o<.234&&r>=-.214&&r<-.115?v:h).invert(t)},t.stream=function(t){return e&&u===t?e:e=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++o0?n<-i.l+i.i&&(n=-i.l+i.i):n>i.l-i.i&&(n=i.l-i.i);var e=a/Object(i.p)(r(n),c);return[e*Object(i.t)(c*t),a-e*Object(i.g)(c*t)]}var o=Object(i.g)(t),c=t===n?Object(i.t)(t):Object(i.n)(o/Object(i.g)(n))/Object(i.n)(r(n)/r(t)),a=o*Object(i.p)(r(t),c)/c;return c?(e.invert=function(t,n){var e=a-n,r=Object(i.s)(c)*Object(i.u)(t*t+e*e);return[Object(i.e)(t,Object(i.a)(e))/c*Object(i.s)(e),2*Object(i.d)(Object(i.p)(a/r,1/c))-i.l]},e):u.c}n.a=o;var i=e(4),c=e(90),u=e(92);n.b=function(){return Object(c.a)(o).scale(109.5).parallels([30,30])}},function(t,n,e){"use strict";function r(t,n){function e(t,n){var e=u-n,r=i*t;return[e*Object(o.t)(r),u-e*Object(o.g)(r)]}var r=Object(o.g)(t),i=t===n?Object(o.t)(t):(r-Object(o.g)(n))/(n-t),u=r/i+t;return Object(o.a)(i)2?t[2]+90:90]):(t=e(),[t[0],t[1],t[2]-90])},e([0,0,90]).scale(159.155)}},function(t,n,e){"use strict";function r(t){function n(t,n){var e=Object(i.h)(t),o=Object(i.h)(n),c=Object(i.y)(n),u=o*e,a=-((1-u?Object(i.p)((1+u)/2)/(1-u):-.5)+r/(1+u));return[a*o*Object(i.y)(t),a*c]}var e=Object(i.F)(t/2),r=2*Object(i.p)(Object(i.h)(t/2))/(e*e);return n.invert=function(n,e){var o,c=Object(i.B)(n*n+e*e),u=-t/2,a=50;if(!c)return[0,0];do{var f=u/2,s=Object(i.h)(f),l=Object(i.y)(f),h=Object(i.F)(f),p=Object(i.p)(1/s);u-=o=(2/h*p-r*h-c)/(-p/(l*l)+1-r/(2*s*s))}while(Object(i.a)(o)>i.k&&--a>0);var v=Object(i.y)(u);return[Object(i.g)(n*v,c*Object(i.h)(u)),Object(i.e)(e*v/c)]},n}n.a=r;var o=e(0),i=e(1);n.b=function(){var t=i.o,n=Object(o.geoProjectionMutator)(r),e=n(t);return e.radius=function(e){return arguments.length?n(t=e*i.v):t*i.j},e.scale(179.976).clipAngle(147)}},function(t,n,e){"use strict";function r(t){function n(t,n){var a=Object(i.h)(n),f=Object(i.h)(t/=2);return[(1+a)*Object(i.y)(t),(o*n>-Object(i.g)(f,c)-.001?0:10*-o)+u+Object(i.y)(n)*r-(1+a)*e*f]}var e=Object(i.y)(t),r=Object(i.h)(t),o=t>=0?1:-1,c=Object(i.F)(o*t),u=(1+e-r)/2;return n.invert=function(t,n){var a=0,f=0,s=50;do{var l=Object(i.h)(a),h=Object(i.y)(a),p=Object(i.h)(f),v=Object(i.y)(f),b=1+p,g=b*h-t,d=u+v*r-b*e*l-n,j=b*l/2,O=-h*v,y=e*b*h/2,m=r*p+e*l*v,x=O*y-m*j,_=(d*O-g*m)/x/2,w=(g*y-d*j)/x;a-=_,f-=w}while((Object(i.a)(_)>i.k||Object(i.a)(w)>i.k)&&--s>0);return o*f>-Object(i.g)(Object(i.h)(a),c)-.001?[2*a,f]:null},n}n.a=r;var o=e(0),i=e(1);n.b=function(){var t=20*i.v,n=t>=0?1:-1,e=Object(i.F)(n*t),c=Object(o.geoProjectionMutator)(r),u=c(t),a=u.stream;return u.parallel=function(r){return arguments.length?(e=Object(i.F)((n=(t=r*i.v)>=0?1:-1)*t),c(t)):t*i.j},u.stream=function(r){var o=u.rotate(),c=a(r),f=(u.rotate([0,0]),a(r));return u.rotate(o),c.sphere=function(){f.polygonStart(),f.lineStart();for(var r=-180*n;n*r<180;r+=90*n)f.point(r,90*n);for(;n*(r-=t)>=-180;)f.point(r,n*-Object(i.g)(Object(i.h)(r*i.v/2),e)*i.j);f.lineEnd(),f.polygonEnd()},c},u.scale(218.695).center([0,28.0974])}},function(t,n,e){"use strict";function r(t,n){var e=Object(i.a)(n);return ei.l&&--a>0);return[t/(Object(i.h)(o)*(c-1/Object(i.y)(o))),Object(i.x)(n)*o]},n.b=function(){return Object(o.geoProjection)(r).scale(112.314)}},function(t,n,e){"use strict";function r(t){function n(t,n){var r=Object(o.geoAzimuthalEquidistantRaw)(t,n);if(Object(i.a)(t)>i.o){var c=Object(i.g)(r[1],r[0]),u=Object(i.B)(r[0]*r[0]+r[1]*r[1]),a=e*Object(i.w)((c-i.o)/e)+i.o,f=Object(i.g)(Object(i.y)(c-=a),2-Object(i.h)(c));c=a+Object(i.e)(i.s/u*Object(i.y)(f))-f,r[0]=u*Object(i.h)(c),r[1]=u*Object(i.y)(c)}return r}var e=2*i.s/t;return n.invert=function(t,n){var r=Object(i.B)(t*t+n*n);if(r>i.o){var c=Object(i.g)(n,t),u=e*Object(i.w)((c-i.o)/e)+i.o,a=c>u?-1:1,f=r*Object(i.h)(u-c),s=1/Object(i.F)(a*Object(i.b)((f-i.s)/Object(i.B)(i.s*(i.s-2*f)+r*r)));c=u+2*Object(i.f)((s+a*Object(i.B)(s*s-3))/3),t=r*Object(i.h)(c),n=r*Object(i.y)(c)}return o.geoAzimuthalEquidistantRaw.invert(t,n)},n}n.a=r;var o=e(0),i=e(1);n.b=function(){var t=5,n=Object(o.geoProjectionMutator)(r),e=n(t),c=e.stream,u=-Object(i.h)(.01*i.v),a=Object(i.y)(.01*i.v);return e.lobes=function(e){return arguments.length?n(t=+e):t},e.stream=function(n){var r=e.rotate(),o=c(n),f=(e.rotate([0,0]),c(n));return e.rotate(r),o.sphere=function(){f.polygonStart(),f.lineStart();for(var n=0,e=360/t,r=2*i.s/t,o=90-180/t,c=i.o;n1||Object(s.a)(i)>1)c=Object(s.b)(e*o+n*r*u);else{var a=Object(s.y)(t/2),f=Object(s.y)(i/2);c=2*Object(s.e)(Object(s.B)(a*a+n*r*f*f))}return Object(s.a)(c)>s.k?[c,Object(s.g)(r*Object(s.y)(i),n*o-e*r*u)]:[0,0]}function o(t,n,e){return Object(s.b)((t*t+n*n-e*e)/(2*t*n))}function i(t){return t-2*s.s*Object(s.n)((t+s.s)/(2*s.s))}function c(t,n,e){for(var c,u=[[t[0],t[1],Object(s.y)(t[1]),Object(s.h)(t[1])],[n[0],n[1],Object(s.y)(n[1]),Object(s.h)(n[1])],[e[0],e[1],Object(s.y)(e[1]),Object(s.h)(e[1])]],a=u[2],f=0;f<3;++f,a=c)c=u[f],a.v=r(c[1]-a[1],a[3],a[2],c[3],c[2],c[0]-a[0]),a.point=[0,0];var l=o(u[0].v[0],u[2].v[0],u[1].v[0]),h=o(u[0].v[0],u[1].v[0],u[2].v[0]),p=s.s-l;u[2].point[1]=0,u[0].point[0]=-(u[1].point[0]=u[0].v[0]/2);var v=[u[2].point[0]=u[0].point[0]+u[2].v[0]*Object(s.h)(l),2*(u[0].point[1]=u[1].point[1]=u[2].v[0]*Object(s.y)(l))];return function(t,n){var e,c=Object(s.y)(n),a=Object(s.h)(n),f=new Array(3);for(e=0;e<3;++e){var l=u[e];if(f[e]=r(n-l[1],l[3],l[2],a,c,t-l[0]),!f[e][0])return l.point;f[e][1]=i(f[e][1]-l.v[1])}var b=v.slice();for(e=0;e<3;++e){var g=2==e?0:e+1,d=o(u[e].v[0],f[e][0],f[g][0]);f[e][1]<0&&(d=-d),e?1==e?(d=h-d,b[0]-=f[e][0]*Object(s.h)(d),b[1]-=f[e][0]*Object(s.y)(d)):(d=p-d,b[0]+=f[e][0]*Object(s.h)(d),b[1]+=f[e][0]*Object(s.y)(d)):(b[0]+=f[e][0]*Object(s.h)(d),b[1]-=f[e][0]*Object(s.y)(d))}return b[0]/=3,b[1]/=3,b}}function u(t){return t[0]*=s.v,t[1]*=s.v,t}function a(t,n,e){var r=Object(f.geoCentroid)({type:"MultiPoint",coordinates:[t,n,e]}),o=[-r[0],-r[1]],i=Object(f.geoRotation)(o),a=Object(f.geoProjection)(c(u(i(t)),u(i(n)),u(i(e)))).rotate(o),s=a.center;return delete a.rotate,a.center=function(t){return arguments.length?s(i(t)):i.invert(s())},a.clipAngle(90)}n.b=c,n.a=function(){return a([0,22],[45,22],[22.5,-22]).scale(380).center([22.5,2])},n.c=a;var f=e(0),s=e(1)},function(t,n,e){"use strict";function r(t){function n(t,n){return[t,(t?t/Object(o.y)(t):1)*(Object(o.y)(n)*Object(o.h)(t)-e*Object(o.h)(n))]}var e=Object(o.F)(t);return n.invert=e?function(t,n){t&&(n*=Object(o.y)(t)/t);var r=Object(o.h)(t);return[t,2*Object(o.g)(Object(o.B)(r*r+e*e-n*n)-r,e-n)]}:function(t,n){return[t,Object(o.e)(t?n*Object(o.F)(t)/t:n)]},n}n.a=r;var o=e(1),i=e(35);n.b=function(){return Object(i.a)(r).scale(249.828).clipAngle(90)}},function(t,n,e){"use strict";function r(t,n){return[c*t*(2*Object(i.h)(2*n/3)-1)/i.E,c*i.E*Object(i.y)(n/3)]}n.a=r;var o=e(0),i=e(1),c=Object(i.B)(3);r.invert=function(t,n){var e=3*Object(i.e)(n/(c*i.E));return[i.E*t/(c*(2*Object(i.h)(2*e/3)-1)),e]},n.b=function(){return Object(o.geoProjection)(r).scale(156.19)}},function(t,n,e){"use strict";function r(t){function n(t,n){return[t*e,(1+e)*Object(o.F)(n/2)]}var e=Object(o.h)(t);return n.invert=function(t,n){return[t/e,2*Object(o.f)(n/(1+e))]},n}n.a=r;var o=e(1),i=e(35);n.b=function(){return Object(i.a)(r).scale(124.75)}},function(t,n,e){"use strict";function r(t,n){var e=Object(i.B)(8/(3*i.s));return[e*t*(1-Object(i.a)(n)/i.s),e*n]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){var e=Object(i.B)(8/(3*i.s)),r=n/e;return[t/(e*(1-Object(i.a)(r)/i.s)),r]},n.a=function(){return Object(o.geoProjection)(r).scale(165.664)}},function(t,n,e){"use strict";function r(t,n){var e=Object(i.B)(4-3*Object(i.y)(Object(i.a)(n)));return[2/Object(i.B)(6*i.s)*t*e,Object(i.x)(n)*Object(i.B)(2*i.s/3)*(2-e)]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){var e=2-Object(i.a)(n)/Object(i.B)(2*i.s/3);return[t*Object(i.B)(6*i.s)/(2*e),Object(i.x)(n)*Object(i.e)((4-e*e)/3)]},n.a=function(){return Object(o.geoProjection)(r).scale(165.664)}},function(t,n,e){"use strict";function r(t,n){var e=Object(i.B)(i.s*(4+i.s));return[2/e*t*(1+Object(i.B)(1-4*n*n/(i.s*i.s))),4/e*n]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){var e=Object(i.B)(i.s*(4+i.s))/2;return[t*e/(1+Object(i.B)(1-n*n*(4+i.s)/(4*i.s))),n*e/2]},n.a=function(){return Object(o.geoProjection)(r).scale(180.739)}},function(t,n,e){"use strict";function r(t,n){var e=(2+i.o)*Object(i.y)(n);n/=2;for(var r=0,o=1/0;r<10&&Object(i.a)(o)>i.k;r++){var c=Object(i.h)(n);n-=o=(n+Object(i.y)(n)*(c+2)-e)/(2*c*(1+c))}return[2/Object(i.B)(i.s*(4+i.s))*t*(1+Object(i.h)(n)),2*Object(i.B)(i.s/(4+i.s))*Object(i.y)(n)]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){var e=n*Object(i.B)((4+i.s)/i.s)/2,r=Object(i.e)(e),o=Object(i.h)(r);return[t/(2/Object(i.B)(i.s*(4+i.s))*(1+o)),Object(i.e)((r+e*(o+2))/(2+i.o))]},n.a=function(){return Object(o.geoProjection)(r).scale(180.739)}},function(t,n,e){"use strict";function r(t,n){return[t*(1+Object(i.h)(n))/Object(i.B)(2+i.s),2*n/Object(i.B)(2+i.s)]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){var e=Object(i.B)(2+i.s),r=n*e/2;return[e*t/(1+Object(i.h)(r)),r]},n.a=function(){return Object(o.geoProjection)(r).scale(173.044)}},function(t,n,e){"use strict";function r(t,n){for(var e=(1+i.o)*Object(i.y)(n),r=0,o=1/0;r<10&&Object(i.a)(o)>i.k;r++)n-=o=(n+Object(i.y)(n)-e)/(1+Object(i.h)(n));return e=Object(i.B)(2+i.s),[t*(1+Object(i.h)(n))/e,2*n/e]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){var e=1+i.o,r=Object(i.B)(e/2);return[2*t*r/(1+Object(i.h)(n*=r)),Object(i.e)((n+Object(i.y)(n))/e)]},n.a=function(){return Object(o.geoProjection)(r).scale(173.044)}},function(t,n,e){"use strict";function r(t,n){var e=Object(c.y)(t/=2),r=Object(c.h)(t),o=Object(c.B)(Object(c.h)(n)),i=Object(c.h)(n/=2),a=Object(c.y)(n)/(i+c.D*r*o),f=Object(c.B)(2/(1+a*a)),s=Object(c.B)((c.D*i+(r+e)*o)/(c.D*i+(r-e)*o));return[u*(f*(s-1/s)-2*Object(c.p)(s)),u*(f*a*(s+1/s)-2*Object(c.f)(a))]}n.b=r;var o=e(0),i=e(173),c=e(1),u=3+2*c.D;r.invert=function(t,n){if(!(e=i.a.invert(t/1.2,1.065*n)))return null;var e,r=e[0],o=e[1],a=20;t/=u,n/=u;do{var f=r/2,s=o/2,l=Object(c.y)(f),h=Object(c.h)(f),p=Object(c.y)(s),v=Object(c.h)(s),b=Object(c.h)(o),g=Object(c.B)(b),d=p/(v+c.D*h*g),j=d*d,O=Object(c.B)(2/(1+j)),y=(c.D*v+(h+l)*g)/(c.D*v+(h-l)*g),m=Object(c.B)(y),x=m-1/m,_=m+1/m,w=O*x-2*Object(c.p)(m)-t,E=O*d*_-2*Object(c.f)(d)-n,M=p&&c.C*g*l*j/p,S=(c.D*h*v+g)/(2*(v+c.D*h*g)*(v+c.D*h*g)*g),T=-.5*d*O*O*O,k=T*M,P=T*S,C=(C=2*v+c.D*g*(h-l))*C*m,A=(c.D*h*v*g+b)/C,B=-c.D*l*p/(g*C),R=x*k-2*A/m+O*(A+A/y),N=x*P-2*B/m+O*(B+B/y),q=d*_*k-2*M/(1+j)+O*_*M+O*d*(A-A/y),z=d*_*P-2*S/(1+j)+O*_*S+O*d*(B-B/y),L=N*q-z*R;if(!L)break;var F=(E*N-w*z)/L,I=(w*q-E*R)/L;r-=F,o=Object(c.q)(-c.o,Object(c.r)(c.o,o-I))}while((Object(c.a)(F)>c.k||Object(c.a)(I)>c.k)&&--a>0);return Object(c.a)(Object(c.a)(o)-c.o)a){var p=Object(u.B)(h),v=Object(u.g)(l,s),b=r*Object(u.w)(v/r),g=v-b,d=t*Object(u.h)(g),j=(t*Object(u.y)(g)-g*Object(u.y)(d))/(u.o-d),O=o(g,j),y=(u.s-t)/i(O,d,u.s);s=p;var m,x=50;do{s-=m=(t+i(O,d,s)*y-p)/(O(s)*y)}while(Object(u.a)(m)>u.k&&--x>0);l=g*Object(u.y)(s),sa){var s=Object(u.B)(f),l=Object(u.g)(e,n),h=r*Object(u.w)(l/r),p=l-h;n=s*Object(u.h)(p),e=s*Object(u.y)(p);for(var v=n-u.o,b=Object(u.y)(n),g=e/b,d=ni.k&&--c>0);c=50,t/=1-.162388*u;do{var a=(a=r*r)*a;r-=e=(r*(.87-952426e-9*a)-t)/(.87-.00476213*a)}while(Object(i.a)(e)>i.k&&--c>0);return[r,o]},n.a=function(){return Object(o.geoProjection)(r).scale(131.747)}},function(t,n,e){"use strict";e.d(n,"b",function(){return i});var r=e(0),o=e(63),i=Object(o.a)(2.6516,-.76534,.19123,-.047094,1.36289,-.13965,.031762);n.a=function(){return Object(r.geoProjection)(i).scale(131.087)}},function(t,n,e){"use strict";function r(t,n){var e,r,o,c,u;if(n=1-i.k)return e=(1-n)/4,r=Object(i.i)(t),c=Object(i.G)(t),o=1/r,u=r*Object(i.A)(t),[c+e*(u-t)/(r*r),o-e*c*o*(u-t),o+e*c*o*(u+t),2*Object(i.f)(Object(i.m)(t))-i.o+e*(u-t)/r];var a=[1,0,0,0,0,0,0,0,0],f=[Object(i.B)(n),0,0,0,0,0,0,0,0],s=0;for(r=Object(i.B)(1-n),u=1;Object(i.a)(f[s]/a[s])>i.k&&s<8;)e=a[s++],f[s]=(e-r)/2,a[s]=(e+r)/2,r=Object(i.B)(e*r),u*=2;o=u*a[s]*t;do{c=f[s]*Object(i.y)(r=o)/a[s],o=(Object(i.e)(c)+o)/2}while(--s);return[Object(i.y)(o),c=Object(i.h)(o),c/Object(i.h)(o-r),o]}function o(t,n){if(!n)return t;if(1===n)return Object(i.p)(Object(i.F)(t/2+i.u));for(var e=1,r=Object(i.B)(1-n),o=Object(i.B)(n),c=0;Object(i.a)(o)>i.k;c++){if(t%i.s){var u=Object(i.f)(r*Object(i.F)(t)/e);u<0&&(u+=i.s),t+=u+~~(t/i.s)*i.s}else t+=t;o=(e+r)/2,r=Object(i.B)(e*r),o=((e=o)-r)/2}return t/(Object(i.t)(2,c)*e)}n.c=function(t,n,e){var o,i,c;return t?(o=r(t,e),n?(i=r(n,1-e),c=i[1]*i[1]+e*o[0]*o[0]*i[0]*i[0],[[o[0]*i[2]/c,o[1]*o[2]*i[0]*i[1]/c],[o[1]*i[1]/c,-o[0]*o[2]*i[0]*i[2]/c],[o[2]*i[1]*i[2]/c,-e*o[0]*o[1]*i[0]/c]]):[[o[0],0],[o[1],0],[o[2],0]]):(i=r(n,1-e),[[0,i[0]/i[1]],[1/i[1],0],[i[2]/i[1],0]])},n.b=function(t,n,e){var r=Object(i.a)(t),c=Object(i.a)(n),u=Object(i.A)(c);if(r){var a=1/Object(i.y)(r),f=1/(Object(i.F)(r)*Object(i.F)(r)),s=-(f+e*(u*u*a*a)-1+e),l=(e-1)*f,h=(-s+Object(i.B)(s*s-4*l))/2;return[o(Object(i.f)(1/Object(i.B)(h)),e)*Object(i.x)(t),o(Object(i.f)(Object(i.B)((h/f-1)/e)),1-e)*Object(i.x)(n)]}return[0,o(Object(i.f)(u),1-e)*Object(i.x)(n)]},n.a=o;var i=e(1)},function(t,n,e){"use strict";function r(t,n){function e(e,r){var o=Object(i.geoAzimuthalEqualAreaRaw)(e/n,r);return o[0]*=t,o}return arguments.length<2&&(n=t),1===n?i.geoAzimuthalEqualAreaRaw:n===1/0?o:(e.invert=function(e,r){var o=i.geoAzimuthalEqualAreaRaw.invert(e/t,r);return o[0]*=n,o},e)}function o(t,n){return[t*Object(c.h)(n)/Object(c.h)(n/=2),2*Object(c.y)(n)]}n.b=r;var i=e(0),c=e(1);o.invert=function(t,n){var e=2*Object(c.e)(n/2);return[t*Object(c.h)(e/2)/Object(c.h)(e),e]},n.a=function(){var t=2,n=Object(i.geoProjectionMutator)(r),e=n(t);return e.coefficient=function(e){return arguments.length?n(t=+e):t},e.scale(169.529)}},function(t,n,e){"use strict";function r(t){function n(t,n){var o=i(t,n);t=o[0],n=o[1];var u=Object(c.y)(n),a=Object(c.h)(n),f=Object(c.h)(t),s=Object(c.b)(e*u+r*a*f),l=Object(c.y)(s),h=Object(c.a)(l)>c.k?s/l:1;return[h*r*Object(c.y)(t),(Object(c.a)(t)>c.o?h:-h)*(e*a-r*u*f)]}var e=Object(c.y)(t),r=Object(c.h)(t),i=o(t);return i.invert=o(-t),n.invert=function(t,n){var r=Object(c.B)(t*t+n*n),o=-Object(c.y)(r),u=Object(c.h)(r),a=r*u,f=-n*o,s=r*e,l=Object(c.B)(a*a+f*f-s*s),h=Object(c.g)(a*s+f*l,f*s-a*l),p=(r>c.o?-1:1)*Object(c.g)(t*o,r*Object(c.h)(h)*u+n*Object(c.y)(h)*o);return i.invert(p,h)},n}function o(t){var n=Object(c.y)(t),e=Object(c.h)(t);return function(t,r){var o=Object(c.h)(r),i=Object(c.h)(t)*o,u=Object(c.y)(t)*o,a=Object(c.y)(r);return[Object(c.g)(u,i*e-a*n),Object(c.e)(a*e+i*n)]}}n.b=r;var i=e(0),c=e(1);n.a=function(){var t=0,n=Object(i.geoProjectionMutator)(r),e=n(t),o=e.rotate,u=e.stream,a=Object(i.geoCircle)();return e.parallel=function(r){if(!arguments.length)return t*c.j;var o=e.rotate();return n(t=r*c.v).rotate(o)},e.rotate=function(n){return arguments.length?(o.call(e,[n[0],n[1]-t*c.j]),a.center([-n[0],-n[1]]),e):(n=o.call(e),n[1]+=t*c.j,n)},e.stream=function(t){return t=u(t),t.sphere=function(){t.polygonStart();var n,e=a.radius(89.99)().coordinates[0],r=e.length-1,o=-1;for(t.lineStart();++o=0;)t.point((n=e[o])[0],n[1]);t.lineEnd(),t.polygonEnd()},t},e.scale(79.4187).parallel(45).clipAngle(179.999)}},function(t,n,e){"use strict";function r(t){function n(n,f){var v,b=Object(a.a)(f);if(b>e){var g=Object(a.r)(t-1,Object(a.q)(0,Object(a.n)((n+a.s)/l)));n+=a.s*(t-1)/t-g*l,(v=Object(c.a)(n,b))[0]=v[0]*a.H/r-a.H*(t-1)/(2*t)+g*a.H/t,v[1]=o+4*(v[1]-i)*u/a.H,f<0&&(v[1]=-v[1])}else v=s(n,f);return v[0]*=h,v[1]/=p,v}var e=f*a.v,r=Object(c.a)(a.s,e)[0]-Object(c.a)(-a.s,e)[0],o=s(0,e)[1],i=Object(c.a)(0,e)[1],u=a.E-i,l=a.H/t,h=4/a.H,p=o+u*u*4/a.H;return n.invert=function(n,e){n/=h,e*=p;var f=Object(a.a)(e);if(f>o){var v=Object(a.r)(t-1,Object(a.q)(0,Object(a.n)((n+a.s)/l)));n=(n+a.s*(t-1)/t-v*l)*r/a.H;var b=c.a.invert(n,.25*(f-o)*a.H/u+i);return b[0]-=a.s*(t-1)/t-v*l,e<0&&(b[1]=-b[1]),b}return s.invert(n,e)},n}n.b=r;var o=e(12),i=e(0),c=e(93),u=e(175),a=e(1),f=41+48/36+37/3600,s=Object(u.a)(0);n.a=function(){var t=4,n=Object(i.geoProjectionMutator)(r),e=n(t),c=e.stream;return e.lobes=function(e){return arguments.length?n(t=+e):t},e.stream=function(n){var r=e.rotate(),u=c(n),a=(e.rotate([0,0]),c(n));return e.rotate(r),u.sphere=function(){Object(i.geoStream)(function(t){return{type:"Polygon",coordinates:[Object(o.range)(-180,180+t/2,t).map(function(t,n){return[t,1&n?90-1e-6:f]}).concat(Object(o.range)(180,-180-t/2,-t).map(function(t,n){return[t,1&n?1e-6-90:-f]}))]}}(180/t),a)},u},e.scale(239.75)}},function(t,n,e){"use strict";function r(t){function n(n,o){var l,h,p=1-Object(i.y)(o);if(p&&p<2){var v,b=i.o-o,g=25;do{var d=Object(i.y)(b),j=Object(i.h)(b),O=c+Object(i.g)(d,r-j),y=1+s-2*r*j;b-=v=(b-f*c-r*d+y*O-.5*p*e)/(2*r*d*O)}while(Object(i.a)(v)>i.l&&--g>0);l=u*Object(i.B)(y),h=n*O/i.s}else l=u*(t+p),h=n*c/i.s;return[l*Object(i.y)(h),a-l*Object(i.h)(h)]}var e,r=1+t,o=Object(i.y)(1/r),c=Object(i.e)(o),u=2*Object(i.B)(i.s/(e=i.s+4*c*r)),a=.5*u*(r+Object(i.B)(t*(2+t))),f=t*t,s=r*r;return n.invert=function(t,n){var o=t*t+(n-=a)*n,l=(1+s-o/(u*u))/(2*r),h=Object(i.b)(l),p=Object(i.y)(h),v=c+Object(i.g)(p,r-l);return[Object(i.e)(t/Object(i.B)(o))*i.s/v,Object(i.e)(1-2*(h-f*c-r*p+(1+s-2*r*l)*v)/e)]},n}n.b=r;var o=e(0),i=e(1);n.a=function(){var t=1,n=Object(o.geoProjectionMutator)(r),e=n(t);return e.ratio=function(e){return arguments.length?n(t=+e):t},e.scale(167.774).center([0,18.67])}},function(t,n,e){"use strict";var r=e(174),o=e(27),i=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];n.a=function(){return Object(o.a)(r.a,i).scale(160.857)}},function(t,n,e){"use strict";var r=e(179),o=e(27),i=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];n.a=function(){return Object(o.a)(r.b,i).scale(152.63)}},function(t,n,e){"use strict";var r=e(22),o=e(27),i=[[[[-180,0],[-100,90],[-40,0]],[[-40,0],[30,90],[180,0]]],[[[-180,0],[-160,-90],[-100,0]],[[-100,0],[-60,-90],[-20,0]],[[-20,0],[20,-90],[80,0]],[[80,0],[140,-90],[180,0]]]];n.a=function(){return Object(o.a)(r.d,i).scale(169.529)}},function(t,n,e){"use strict";var r=e(22),o=e(27),i=[[[[-180,0],[-90,90],[0,0]],[[0,0],[90,90],[180,0]]],[[[-180,0],[-90,-90],[0,0]],[[0,0],[90,-90],[180,0]]]];n.a=function(){return Object(o.a)(r.d,i).scale(169.529).rotate([20,0])}},function(t,n,e){"use strict";var r=e(94),o=e(27),i=[[[[-180,35],[-30,90],[0,35]],[[0,35],[30,90],[180,35]]],[[[-180,-10],[-102,-90],[-65,-10]],[[-65,-10],[5,-90],[77,-10]],[[77,-10],[103,-90],[180,-10]]]];n.a=function(){return Object(o.a)(r.c,i).rotate([-20,-55]).scale(164.263).center([0,-5.4036])}},function(t,n,e){"use strict";var r=e(42),o=e(27),i=[[[[-180,0],[-110,90],[-40,0]],[[-40,0],[0,90],[40,0]],[[40,0],[110,90],[180,0]]],[[[-180,0],[-110,-90],[-40,0]],[[-40,0],[0,-90],[40,0]],[[40,0],[110,-90],[180,0]]]];n.a=function(){return Object(o.a)(r.b,i).scale(152.63).rotate([-20,0])}},function(t,n,e){"use strict";function r(t,n){return[3/i.H*t*Object(i.B)(i.s*i.s/3-n*n),n]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){return[i.H/3*t/Object(i.B)(i.s*i.s/3-n*n),n]},n.a=function(){return Object(o.geoProjection)(r).scale(158.837)}},function(t,n,e){"use strict";function r(t){function n(n,e){if(Object(i.a)(Object(i.a)(e)-i.o)2)return null;var o=(n/=2)*n,c=(e/=2)*e,u=2*e/(1+o+c);return u=Object(i.t)((1+u)/(1-u),1/t),[Object(i.g)(2*n,1-o-c)/t,Object(i.e)((u-1)/(u+1))]},n}n.b=r;var o=e(0),i=e(1);n.a=function(){var t=.5,n=Object(o.geoProjectionMutator)(r),e=n(t);return e.spacing=function(e){return arguments.length?n(t=+e):t},e.scale(124.75)}},function(t,n,e){"use strict";function r(t,n){return[t*(1+Object(i.B)(Object(i.h)(n)))/2,n/(Object(i.h)(n/2)*Object(i.h)(t/6))]}n.b=r;var o=e(0),i=e(1),c=i.s/i.D;r.invert=function(t,n){var e=Object(i.a)(t),r=Object(i.a)(n),o=i.k,u=i.o;ri.k||Object(i.a)(d)>i.k)&&--o>0);return o&&[e,r]},n.a=function(){return Object(o.geoProjection)(r).scale(139.98)}},function(t,n,e){"use strict";function r(t,n){return[Object(i.y)(t)/Object(i.h)(n),Object(i.F)(n)*Object(i.h)(t)]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){var e=t*t,r=n*n,o=r+1,c=t?i.C*Object(i.B)((o-Object(i.B)(e*e+2*e*(r-1)+o*o))/e+1):1/Object(i.B)(o);return[Object(i.e)(t*c),Object(i.x)(n)*Object(i.b)(c)]},n.a=function(){return Object(o.geoProjection)(r).scale(144.049).clipAngle(89.999)}},function(t,n,e){"use strict";function r(t){function n(n,o){var c=o-t,u=Object(i.a)(c)=0;)h=(l=t[s])[0]+a*(o=h)-f*p,p=l[1]+a*p+f*o;return h=a*(o=h)-f*p,p=a*p+f*o,[h,p]}var e=t.length-1;return n.invert=function(n,r){var o=20,i=n,u=r;do{for(var a,f=e,s=t[f],l=s[0],h=s[1],p=0,v=0;--f>=0;)p=l+i*(a=p)-u*v,v=h+i*v+u*a,l=(s=t[f])[0]+i*(a=l)-u*h,h=s[1]+i*h+u*a;var b,g,d=(p=l+i*(a=p)-u*v)*p+(v=h+i*v+u*a)*v;i-=b=((l=i*(a=l)-u*h-n)*p+(h=i*h+u*a-r)*v)/d,u-=g=(h*p-l*v)/d}while(Object(c.a)(b)+Object(c.a)(g)>c.k*c.k&&--o>0);if(o){var j=Object(c.B)(i*i+u*u),O=2*Object(c.f)(.5*j),y=Object(c.y)(O);return[Object(c.g)(i*y,j*Object(c.h)(O)),j?Object(c.e)(u*y/j):0]}},n}function o(t,n){var e=Object(i.geoProjection)(r(t)).rotate(n).clipAngle(90),o=Object(i.geoRotation)(n),c=e.center;return delete e.rotate,e.center=function(t){return arguments.length?c(o(t)):o.invert(c())},e}n.g=r,n.b=function(){return o(u,[152,-64]).scale(1500).center([-160.908,62.4864]).clipAngle(25)},n.c=function(){return o(a,[95,-38]).scale(1e3).clipAngle(55).center([-96.5563,38.8675])},n.d=function(){return o(f,[120,-45]).scale(359.513).clipAngle(55).center([-117.474,53.0628])},n.f=function(){return o(s,[-20,-18]).scale(209.091).center([20,16.7214]).clipAngle(82)},n.e=function(){return o(l,[165,10]).scale(250).clipAngle(130).center([-165,-10])},n.a=o;var i=e(0),c=e(1),u=[[.9972523,0],[.0052513,-.0041175],[.0074606,.0048125],[-.0153783,-.1968253],[.0636871,-.1408027],[.3660976,-.2937382]],a=[[.98879,0],[0,0],[-.050909,0],[0,0],[.075528,0]],f=[[.984299,0],[.0211642,.0037608],[-.1036018,-.0575102],[-.0329095,-.0320119],[.0499471,.1223335],[.026046,.0899805],[7388e-7,-.1435792],[.0075848,-.1334108],[-.0216473,.0776645],[-.0225161,.0853673]],s=[[.9245,0],[0,0],[.01943,0]],l=[[.721316,0],[0,0],[-.00881625,-.00617325]]},function(t,n,e){"use strict";function r(t,n){var e=Object(i.e)(7*Object(i.y)(n)/(3*c));return[c*t*(2*Object(i.h)(2*e/3)-1)/u,9*Object(i.y)(e/3)/u]}n.b=r;var o=e(0),i=e(1),c=Object(i.B)(6),u=Object(i.B)(7);r.invert=function(t,n){var e=3*Object(i.e)(n*u/9);return[t*u/(c*(2*Object(i.h)(2*e/3)-1)),Object(i.e)(3*Object(i.y)(e)*c/7)]},n.a=function(){return Object(o.geoProjection)(r).scale(164.859)}},function(t,n,e){"use strict";function r(t,n){for(var e,r=(1+i.C)*Object(i.y)(n),o=n,c=0;c<25&&(o-=e=(Object(i.y)(o/2)+Object(i.y)(o)-r)/(.5*Object(i.h)(o/2)+Object(i.h)(o)),!(Object(i.a)(e)i.k&&--o>0);return[t/(.8707+(c=r*r)*(c*(c*c*c*(.003971-.001529*c)-.013791)-.131979)),r]},n.a=function(){return Object(o.geoProjection)(r).scale(175.295)}},function(t,n,e){"use strict";function r(t,n){var e=n*n,r=e*e,o=e*r;return[t*(.84719-.13063*e+o*o*(.05494*e-.04515-.02326*r+.00331*o)),n*(1.01183+r*r*(.01926*e-.02625-.00396*r))]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){var e,r,o,c,u=n,a=25;do{u-=e=(u*(1.01183+(o=(r=u*u)*r)*o*(.01926*r-.02625-.00396*o))-n)/(1.01183+o*o*(.21186*r-.23625+-.05148*o))}while(Object(i.a)(e)>i.l&&--a>0);return r=u*u,o=r*r,c=r*o,[t/(.84719-.13063*r+c*c*(.05494*r-.04515-.02326*o+.00331*c)),u]},n.a=function(){return Object(o.geoProjection)(r).scale(175.295)}},function(t,n,e){"use strict";function r(t,n){return[t*(1+Object(i.h)(n))/2,2*(n-Object(i.F)(n/2))]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){for(var e=n/2,r=0,o=1/0;r<10&&Object(i.a)(o)>i.k;++r){var c=Object(i.h)(n/2);n-=o=(n-Object(i.F)(n/2)-e)/(1-.5/(c*c))}return[2*t/(1+Object(i.h)(n)),n]},n.a=function(){return Object(o.geoProjection)(r).scale(152.63)}},function(t,n,e){"use strict";function r(t,n){var e=n*n;return[t,n*(c+e*e*(u+e*(a+f*e)))]}n.b=r;var o=e(0),i=e(1),c=1.0148,u=.23185,a=-.14499,f=.02406,s=c,l=5*u,h=7*a,p=9*f;r.invert=function(t,n){n>1.790857183?n=1.790857183:n<-1.790857183&&(n=-1.790857183);var e,r=n;do{var o=r*r;r-=e=(r*(c+o*o*(u+o*(a+f*o)))-n)/(s+o*o*(l+o*(h+p*o)))}while(Object(i.a)(e)>i.k);return[t,r]},n.a=function(){return Object(o.geoProjection)(r).scale(139.319)}},function(t,n,e){"use strict";function r(t,n){if(Object(i.a)(n)i.k&&--c>0);return u=Object(i.F)(o),[(Object(i.a)(n)0?[-n[0],0]:[180-n[0],180])};var n=a.a.map(function(n){return{face:n,project:t(n)}});return[-1,0,0,1,0,1,4,5].forEach(function(t,e){var r=n[t];r&&(r.children||(r.children=[])).push(n[e])}),Object(u.a)(n[0],function(t,e){return n[t<-c.s/2?e<0?6:4:t<0?e<0?2:0:t1?{type:"MultiPolygon",coordinates:t}:{type:"Polygon",coordinates:t[0]}:null}}},function(t,n,e){"use strict";n.a=function(){}},function(t,n,e){"use strict";n.a=function(t){if((n=t.length)<4)return!1;for(var n,e=0,r=t[n-1][1]*t[0][0]-t[n-1][0]*t[0][1];++er^p>r&&e<(h-f)*(r-s)/(p-s)+f&&(o=!o)}return o}},function(t,n,e){"use strict";var r=e(176),o=e(96);n.a=function(){return Object(o.a)(r.b).scale(176.423)}},function(t,n,e){"use strict";n.a=function(t,n){function e(t){var e=t.length,r=2,o=new Array(e);for(o[0]=+t[0].toFixed(n),o[1]=+t[1].toFixed(n);ro.k&&--a>0);var h=n*(f=Object(o.F)(u)),p=Object(o.F)(Object(o.a)(r)0?i.o:-i.o)*(l+u*(p-f)/2+u*u*(p-2*l+f)/2)]}n.b=r;var o=e(0),i=e(1),c=[[.9986,-.062],[1,0],[.9986,.062],[.9954,.124],[.99,.186],[.9822,.248],[.973,.31],[.96,.372],[.9427,.434],[.9216,.4958],[.8962,.5571],[.8679,.6176],[.835,.6769],[.7986,.7346],[.7597,.7903],[.7186,.8435],[.6732,.8936],[.6213,.9394],[.5722,.9761],[.5322,1]];c.forEach(function(t){t[1]*=1.0144}),r.invert=function(t,n){var e=n/i.o,r=90*e,o=Object(i.r)(18,Object(i.a)(r/5)),u=Object(i.q)(0,Object(i.n)(o));do{var a=c[u][1],f=c[u+1][1],s=c[Object(i.r)(19,u+2)][1],l=s-a,h=s-2*f+a,p=2*(Object(i.a)(e)-f)/l,v=h/l,b=p*(1-v*p*(1-2*v*p));if(b>=0||1===u){r=(n>=0?5:-5)*(b+o);var g,d=50;do{b=(o=Object(i.r)(18,Object(i.a)(r)/5))-(u=Object(i.n)(o)),a=c[u][1],f=c[u+1][1],s=c[Object(i.r)(19,u+2)][1],r-=(g=(n>=0?i.o:-i.o)*(f+b*(s-a)/2+b*b*(s-2*f+a)/2)-n)*i.j}while(Object(i.a)(g)>i.l&&--d>0);break}}while(--u>=0);var j=c[u][0],O=c[u+1][0],y=c[Object(i.r)(19,u+2)][0];return[t/(O+b*(y-j)/2+b*b*(y-2*O+j)/2),r*i.v]},n.a=function(){return Object(o.geoProjection)(r).scale(152.63)}},function(t,n,e){"use strict";function r(t,n){function e(n,e){var i=r(n,e),u=i[1],a=u*c/(t-1)+o;return[i[0]*o/a,u/a]}var r=function(t){function n(n,e){var r=Object(i.h)(e),o=(t-1)/(t-r*Object(i.h)(n));return[o*r*Object(i.y)(n),o*Object(i.y)(e)]}return n.invert=function(n,e){var r=n*n+e*e,o=Object(i.B)(r),c=(t-Object(i.B)(1-r*(t+1)/(t-1)))/((t-1)/o+o/(t-1));return[Object(i.g)(n*c,o*Object(i.B)(1-c*c)),o?Object(i.e)(e*c/o):0]},n}(t);if(!n)return r;var o=Object(i.h)(n),c=Object(i.y)(n);return e.invert=function(n,e){var i=(t-1)/(t-1-e*c);return r.invert(i*n,i*e*o)},e}n.b=r;var o=e(0),i=e(1);n.a=function(){var t=2,n=0,e=Object(o.geoProjectionMutator)(r),c=e(t,n);return c.distance=function(r){return arguments.length?e(t=+r,n):t},c.tilt=function(r){return arguments.length?e(t,n=r*i.v):n*i.j},c.scale(432.147).clipAngle(Object(i.b)(1/t)*i.j-1e-6)}},function(t,n,e){"use strict";function r(t){return t.length>0}function o(t){return t===g||t===j?[0,t]:[h,function(t){return Math.floor(t*l)/l}(t)]}function i(t){var n=t[0],e=t[1],r=!1;return n<=p?(n=h,r=!0):n>=b&&(n=v,r=!0),e<=d?(e=g,r=!0):e>=O&&(e=j,r=!0),r?[n,e]:t}function c(t){return t.map(i)}function u(t,n,e){for(var r=0,c=t.length;r=b||h<=d||h>=O){u[a]=i(s);for(var v=a+1;vp&&jd&&y=f)break;e.push({index:-1,polygon:n,ring:u=u.slice(v-1)}),u[0]=o(u[0][1]),a=-1,f=u.length}}}}function a(t){var n,e,r,o,i,c,u=t.length,a={},f={};for(n=0;ni.k&&--a>0);return[Object(i.x)(t)*(Object(i.B)(o*o+4)+o)*i.s/4,i.o*u]},n.a=function(){return Object(o.geoProjection)(r).scale(127.16)}},function(t,n,e){"use strict";e.d(n,"b",function(){return a});var r=e(0),o=e(1),i=e(22),c=4*o.s+3*Object(o.B)(3),u=2*Object(o.B)(2*o.s*Object(o.B)(3)/c),a=Object(i.b)(u*Object(o.B)(3)/o.s,u,c/6);n.a=function(){return Object(r.geoProjection)(a).scale(176.84)}},function(t,n,e){"use strict";function r(t,n){return[t*Object(i.B)(1-3*n*n/(i.s*i.s)),n]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){return[t/Object(i.B)(1-3*n*n/(i.s*i.s)),n]},n.a=function(){return Object(o.geoProjection)(r).scale(152.63)}},function(t,n,e){"use strict";function r(t,n){var e=.90631*Object(i.y)(n),r=Object(i.B)(1-e*e),o=Object(i.B)(2/(1+r*Object(i.h)(t/=3)));return[2.66723*r*o*Object(i.y)(t),1.24104*e*o]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){var e=t/2.66723,r=n/1.24104,o=Object(i.B)(e*e+r*r),c=2*Object(i.e)(o/2);return[3*Object(i.g)(t*Object(i.F)(c),2.66723*o),o&&Object(i.e)(n*Object(i.y)(c)/(1.24104*.90631*o))]},n.a=function(){return Object(o.geoProjection)(r).scale(172.632)}},function(t,n,e){"use strict";function r(t,n){var e=Object(i.h)(n),r=Object(i.h)(t)*e,o=1-r,c=Object(i.h)(t=Object(i.g)(Object(i.y)(t)*e,-Object(i.y)(n))),u=Object(i.y)(t);return e=Object(i.B)(1-r*r),[u*e-c*o,-c*e-u*o]}n.b=r;var o=e(0),i=e(1);r.invert=function(t,n){var e=(t*t+n*n)/-2,r=Object(i.B)(-e*(2+e)),o=n*e+t*r,c=t*e-n*r,u=Object(i.B)(c*c+o*o);return[Object(i.g)(r*o,u*(1+e)),u?-Object(i.e)(r*c/u):0]},n.a=function(){return Object(o.geoProjection)(r).rotate([0,-90,45]).scale(124.75).clipAngle(179.999)}},function(t,n,e){"use strict";function r(t,n){var e=Object(i.a)(t,n);return[(e[0]+t/c.o)/2,(e[1]+n)/2]}n.b=r;var o=e(0),i=e(172),c=e(1);r.invert=function(t,n){var e=t,r=n,o=25;do{var i,u=Object(c.h)(r),a=Object(c.y)(r),f=Object(c.y)(2*r),s=a*a,l=u*u,h=Object(c.y)(e),p=Object(c.h)(e/2),v=Object(c.y)(e/2),b=v*v,g=1-l*p*p,d=g?Object(c.b)(u*p)*Object(c.B)(i=1/g):i=0,j=.5*(2*d*u*v+e/c.o)-t,O=.5*(d*a+r)-n,y=.5*i*(l*b+d*u*p*s)+.5/c.o,m=i*(h*f/4-d*a*v),x=.125*i*(f*v-d*a*l*h),_=.5*i*(s*p+d*b*u)+.5,w=m*x-_*y,E=(O*m-j*_)/w,M=(j*x-O*y)/w;e-=E,r-=M}while((Object(c.a)(E)>c.k||Object(c.a)(M)>c.k)&&--o>0);return[e,r]},n.a=function(){return Object(o.geoProjection)(r).scale(158.837)}},function(t,n,e){var r=e(183),o=4;t.exports=function(t){return r(t,o)}},function(t,n){t.exports=function(){this.__data__=[],this.size=0}},function(t,n,e){var r=e(66),o=Array.prototype.splice;t.exports=function(t){var n=this.__data__,e=r(n,t);return!(e<0||(e==n.length-1?n.pop():o.call(n,e,1),--this.size,0))}},function(t,n,e){var r=e(66);t.exports=function(t){var n=this.__data__,e=r(n,t);return e<0?void 0:n[e][1]}},function(t,n,e){var r=e(66);t.exports=function(t){return r(this.__data__,t)>-1}},function(t,n,e){var r=e(66);t.exports=function(t,n){var e=this.__data__,o=r(e,t);return o<0?(++this.size,e.push([t,n])):e[o][1]=n,this}},function(t,n,e){var r=e(65);t.exports=function(){this.__data__=new r,this.size=0}},function(t,n){t.exports=function(t){var n=this.__data__,e=n.delete(t);return this.size=n.size,e}},function(t,n){t.exports=function(t){return this.__data__.get(t)}},function(t,n){t.exports=function(t){return this.__data__.has(t)}},function(t,n,e){var r=e(65),o=e(98),i=e(99),c=200;t.exports=function(t,n){var e=this.__data__;if(e instanceof r){var u=e.__data__;if(!o||u.length-1?u[a?n[f]:f]:void 0}}},function(t,n,e){var r=e(194),o=e(197),i=e(199);t.exports=function(t){var n=o(t);return 1==n.length&&n[0][2]?i(n[0][0],n[0][1]):function(e){return e===t||r(e,t,n)}}},function(t,n,e){var r=e(97),o=e(196),i=e(472),c=e(473),u=e(189),a=e(3),f=e(83),s=e(144),l=1,h="[object Arguments]",p="[object Array]",v="[object Object]",b=Object.prototype.hasOwnProperty;t.exports=function(t,n,e,g,d,j){var O=a(t),y=a(n),m=O?p:u(t),x=y?p:u(n),_=(m=m==h?v:m)==v,w=(x=x==h?v:x)==v,E=m==x;if(E&&f(t)){if(!f(n))return!1;O=!0,_=!1}if(E&&!_)return j||(j=new r),O||s(t)?o(t,n,e,g,d,j):i(t,n,m,e,g,d,j);if(!(e&l)){var M=_&&b.call(t,"__wrapped__"),S=w&&b.call(n,"__wrapped__");if(M||S){var T=M?t.value():t,k=S?n.value():n;return j||(j=new r),d(T,k,e,g,j)}}return!!E&&(j||(j=new r),c(t,n,e,g,d,j))}},function(t,n){var e="__lodash_hash_undefined__";t.exports=function(t){return this.__data__.set(t,e),this}},function(t,n){t.exports=function(t){return this.__data__.has(t)}},function(t,n){t.exports=function(t,n){for(var e=-1,r=null==t?0:t.length;++ef&&(f=t),ns&&(s=n)},lineStart:r,lineEnd:r,polygonStart:r,polygonEnd:r,result:function(){var t=[[u,a],[f,s]];return f=s=-(a=u=1/0),t}};t.geoAlbersUsa=function(){function t(t){var n=t[0],e=t[1];return h=null,f.point(n,e),h||(s.point(n,e),h)||(l.point(n,e),h)}function r(){return u=a=null,t}var u,a,f,s,l,h,p=n.geoAlbers(),v=n.geoConicEqualArea().rotate([154,0]).center([-2,58.5]).parallels([55,65]),b=n.geoConicEqualArea().rotate([157,0]).center([-3,19.9]).parallels([8,18]),g={point:function(t,n){h=[t,n]}};return t.invert=function(t){var n=p.scale(),e=p.translate(),r=(t[0]-e[0])/n,o=(t[1]-e[1])/n;return(o>=.12&&o<.234&&r>=-.425&&r<-.214?v:o>=.166&&o<.234&&r>=-.214&&r<-.115?b:p).invert(t)},t.stream=function(t){return u&&a===t?u:u=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++o=.12&&o<.234&&r>=-.425&&r<-.214?d:o>=.166&&o<.234&&r>=-.214&&r<-.115?j:o>=.2064&&o<.2413&&r>=.312&&r<.385?O:o>=.09&&o<.1197&&r>=-.4243&&r<-.3232?y:o>=-.0518&&o<.0895&&r>=-.4243&&r<-.3824?m:g).invert(t)},t.stream=function(t){return u&&a===t?u:u=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++o=.05346&&o<.0897&&r>=-.13388&&r<-.0322?p:h).invert(t)},t.stream=function(t){return u&&a===t?u:u=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++o=.0093&&o<.03678&&r>=-.03875&&r<-.0116?v:o>=-.0412&&o<.0091&&r>=-.07782&&r<-.01166?b:p).invert(t)},t.stream=function(t){return u&&a===t?u:u=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++o=-.0676&&o<-.026&&r>=-.0857&&r<-.0263?p:h).invert(t)},t.stream=function(t){return u&&a===t?u:u=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++o=.2582&&o<.32&&r>=-.1036&&r<-.087?b:o>=-.01298&&o<.0133&&r>=-.11396&&r<-.05944?g:o>=.01539&&o<.03911&&r>=-.089&&r<-.0588?d:v).invert(t)},t.stream=function(t){return u&&a===t?u:u=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++o=-.10925&&o<-.02701&&r>=-.135&&r<-.0397?v:o>=.04713&&o<.11138&&r>=-.03986&&r<.051?b:p).invert(t)},t.stream=function(t){return u&&a===t?u:u=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++o=.029&&o<.0864&&r>=-.14&&r<-.0996?_:o>=0&&o<.029&&r>=-.14&&r<-.0996?w:o>=-.032&&o<0&&r>=-.14&&r<-.0996?E:o>=-.052&&o<-.032&&r>=-.14&&r<-.0996?M:o>=-.076&&o<.052&&r>=-.14&&r<-.0996?S:o>=-.076&&o<-.052&&r>=.0967&&r<.1371?T:o>=-.052&&o<-.02&&r>=.0967&&r<.1371?k:o>=-.02&&o<.012&&r>=.0967&&r<.1371?P:o>=.012&&o<.033&&r>=.0967&&r<.1371?C:o>=.033&&o<.0864&&r>=.0967&&r<.1371?A:x).invert(t)},t.stream=function(t){return u&&a===t?u:u=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++o=-.31&&o<-.24&&r>=.14&&r<.24?_:o>=-.24&&o<-.17&&r>=.14&&r<.24?w:o>=-.17&&o<-.12&&r>=.21&&r<.24?M:o>=-.17&&o<-.14&&r>=.14&&r<.165?S:o>=-.17&&o<-.1&&r>=.14&&r<.24?E:o>=-.1&&o<-.03&&r>=.14&&r<.24?T:o>=-.03&&o<.04&&r>=.14&&r<.24?k:o>=-.31&&o<-.24&&r>=.24&&r<.34?P:o>=-.24&&o<-.17&&r>=.24&&r<.34?C:o>=-.17&&o<-.1&&r>=.24&&r<.34?A:o>=-.1&&o<-.03&&r>=.24&&r<.34?B:x).invert(t)},t.stream=function(t){return u&&a===t?u:u=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++o=-.0521&&o<.0229&&r>=-.0111&&r<.1?p:h).invert(t)},t.stream=function(t){return u&&a===t?u:u=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++o=-.02&&o<0&&r>=-.038&&r<-.005?v:o>=0&&o<.02&&r>=-.038&&r<-.005?b:p).invert(t)},t.stream=function(t){return u&&a===t?u:u=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++og&&(g=n)}function o(t,n){var e=Object(E.a)([t*M.r,n*M.r]);if(y){var o=Object(E.c)(y,e),i=[o[1],-o[0],0],c=Object(E.c)(i,o);Object(E.e)(c),c=Object(E.g)(c);var u,a=t-d,f=a>0?1:-1,l=c[0]*M.h*f,h=Object(M.a)(a)>180;h^(f*dg&&(g=u):(l=(l+360)%360-180,h^(f*dg&&(g=n))),h?ts(p,b)&&(b=t):s(t,b)>s(p,b)&&(p=t):b>=p?(tb&&(b=t)):t>d?s(p,t)>s(p,b)&&(b=t):s(t,b)>s(p,b)&&(p=t)}else r(t,n);y=e,d=t}function i(){k.point=o}function c(){x[0]=p,x[1]=b,k.point=r,y=null}function u(t,n){if(y){var e=t-d;T.add(Object(M.a)(e)>180?e+(e>0?360:-360):e)}else j=t,O=n;w.b.point(t,n),o(t,n)}function a(){w.b.lineStart()}function f(){u(j,O),w.b.lineEnd(),Object(M.a)(T)>M.i&&(p=-(b=180)),x[0]=p,x[1]=b,y=null}function s(t,n){return(n-=t)<0?n+360:n}function l(t,n){return t[0]-n[0]}function h(t,n){return t[0]<=t[1]?t[0]<=n&&n<=t[1]:nM.i?g=90:T<-M.i&&(v=-90),x[0]=p,x[1]=b}};n.a=function(t){var n,e,r,o,i,c,u;if(g=b=-(p=v=1/0),m=[],Object(S.a)(t,k),e=m.length){for(m.sort(l),n=1,i=[r=m[0]];ns(r[0],r[1])&&(r[1]=o[1]),s(o[0],r[1])>s(r[0],r[1])&&(r[0]=o[0])):i.push(r=o);for(c=-1/0,n=0,r=i[e=i.length-1];n<=e;r=o,++n)o=i[n],(u=s(r[1],o[0]))>c&&(c=u,p=o[0],b=r[1])}return m=x=null,p===1/0||v===1/0?[[NaN,NaN],[NaN,NaN]]:[[p,v],[b,g]]}},function(t,n,e){"use strict";function r(t,n){t*=k.r,n*=k.r;var e=Object(k.g)(n);o(e*Object(k.g)(t),e*Object(k.t)(t),Object(k.t)(n))}function o(t,n,e){b+=(t-b)/++p,g+=(n-g)/p,d+=(e-d)/p}function i(){A.point=c}function c(t,n){t*=k.r,n*=k.r;var e=Object(k.g)(n);M=e*Object(k.g)(t),S=e*Object(k.t)(t),T=Object(k.t)(n),A.point=u,o(M,S,T)}function u(t,n){t*=k.r,n*=k.r;var e=Object(k.g)(n),r=e*Object(k.g)(t),i=e*Object(k.t)(t),c=Object(k.t)(n),u=Object(k.e)(Object(k.u)((u=S*c-T*i)*u+(u=T*r-M*c)*u+(u=M*i-S*r)*u),M*r+S*i+T*c);v+=u,j+=u*(M+(M=r)),O+=u*(S+(S=i)),y+=u*(T+(T=c)),o(M,S,T)}function a(){A.point=r}function f(){A.point=l}function s(){h(w,E),A.point=r}function l(t,n){w=t,E=n,t*=k.r,n*=k.r,A.point=h;var e=Object(k.g)(n);M=e*Object(k.g)(t),S=e*Object(k.t)(t),T=Object(k.t)(n),o(M,S,T)}function h(t,n){t*=k.r,n*=k.r;var e=Object(k.g)(n),r=e*Object(k.g)(t),i=e*Object(k.t)(t),c=Object(k.t)(n),u=S*c-T*i,a=T*r-M*c,f=M*i-S*r,s=Object(k.u)(u*u+a*a+f*f),l=M*r+S*i+T*c,h=s&&-Object(k.b)(l)/s,p=Object(k.e)(s,l);m+=h*u,x+=h*a,_+=h*f,v+=p,j+=p*(M+(M=r)),O+=p*(S+(S=i)),y+=p*(T+(T=c)),o(M,S,T)}var p,v,b,g,d,j,O,y,m,x,_,w,E,M,S,T,k=e(6),P=e(28),C=e(29),A={sphere:P.a,point:r,lineStart:i,lineEnd:a,polygonStart:function(){A.lineStart=f,A.lineEnd=s},polygonEnd:function(){A.lineStart=i,A.lineEnd=a}};n.a=function(t){p=v=b=g=d=j=O=y=m=x=_=0,Object(C.a)(t,A);var n=m,e=x,r=_,o=n*n+e*e+r*r;return o0)){if(c/=l,l<0){if(c0){if(c>s)return;c>f&&(f=c)}if(c=o-u,l||!(c<0)){if(c/=l,l<0){if(c>s)return;c>f&&(f=c)}else if(l>0){if(c0)){if(c/=h,h<0){if(c0){if(c>s)return;c>f&&(f=c)}if(c=i-a,h||!(c<0)){if(c/=h,h<0){if(c>s)return;c>f&&(f=c)}else if(h>0){if(c0&&(t[0]=u+f*l,t[1]=a+f*h),s<1&&(n[0]=u+s*l,n[1]=a+s*h),!0}}}}}},function(t,n,e){"use strict";var r=e(215),o=[null,null],i={type:"LineString",coordinates:o};n.a=function(t,n){return o[0]=t,o[1]=n,Object(r.a)(i)}},function(t,n,e){"use strict";function r(t,n,e){var r=Object(i.range)(t,n-c.i,e).concat(n);return function(t){return r.map(function(n){return[t,n]})}}function o(t,n,e){var r=Object(i.range)(t,n-c.i,e).concat(n);return function(t){return r.map(function(n){return[n,t]})}}var i=e(12),c=e(6);n.a=function(){function t(){return{type:"MultiLineString",coordinates:n()}}function n(){return Object(i.range)(Object(c.f)(f/y)*y,a,y).map(g).concat(Object(i.range)(Object(c.f)(p/m)*m,h,m).map(d)).concat(Object(i.range)(Object(c.f)(u/j)*j,e,j).filter(function(t){return Object(c.a)(t%y)>c.i}).map(v)).concat(Object(i.range)(Object(c.f)(l/O)*O,s,O).filter(function(t){return Object(c.a)(t%m)>c.i}).map(b))}var e,u,a,f,s,l,h,p,v,b,g,d,j=10,O=j,y=90,m=360,x=2.5;return t.lines=function(){return n().map(function(t){return{type:"LineString",coordinates:t}})},t.outline=function(){return{type:"Polygon",coordinates:[g(f).concat(d(h).slice(1),g(a).reverse().slice(1),d(p).reverse().slice(1))]}},t.extent=function(n){return arguments.length?t.extentMajor(n).extentMinor(n):t.extentMinor()},t.extentMajor=function(n){return arguments.length?(f=+n[0][0],a=+n[1][0],p=+n[0][1],h=+n[1][1],f>a&&(n=f,f=a,a=n),p>h&&(n=p,p=h,h=n),t.precision(x)):[[f,p],[a,h]]},t.extentMinor=function(n){return arguments.length?(u=+n[0][0],e=+n[1][0],l=+n[0][1],s=+n[1][1],u>e&&(n=u,u=e,e=n),l>s&&(n=l,l=s,s=n),t.precision(x)):[[u,l],[e,s]]},t.step=function(n){return arguments.length?t.stepMajor(n).stepMinor(n):t.stepMinor()},t.stepMajor=function(n){return arguments.length?(y=+n[0],m=+n[1],t):[y,m]},t.stepMinor=function(n){return arguments.length?(j=+n[0],O=+n[1],t):[j,O]},t.precision=function(n){return arguments.length?(x=+n,v=r(l,s,90),b=o(u,e,x),g=r(p,h,90),d=o(f,a,x),t):x},t.extentMajor([[-180,-90+c.i],[180,90-c.i]]).extentMinor([[-180,-80-c.i],[180,80+c.i]])}},function(t,n,e){"use strict";var r=e(6);n.a=function(t,n){var e=t[0]*r.r,o=t[1]*r.r,i=n[0]*r.r,c=n[1]*r.r,u=Object(r.g)(o),a=Object(r.t)(o),f=Object(r.g)(c),s=Object(r.t)(c),l=u*Object(r.g)(e),h=u*Object(r.t)(e),p=f*Object(r.g)(i),v=f*Object(r.t)(i),b=2*Object(r.c)(Object(r.u)(Object(r.m)(c-o)+u*f*Object(r.m)(i-e))),g=Object(r.t)(b),d=b?function(t){var n=Object(r.t)(t*=b)/g,e=Object(r.t)(b-t)/g,o=e*l+n*p,i=e*h+n*v,c=e*a+n*s;return[Object(r.e)(i,o)*r.h,Object(r.e)(c,Object(r.u)(o*o+i*i))*r.h]}:function(){return[e*r.h,o*r.h]};return d.distance=b,d}},function(t,n,e){"use strict";var r=e(216),o=e(29),i=e(505),c=e(217),u=e(506),a=e(507),f=e(508);n.a=function(){function t(t){return t&&("function"==typeof h&&l.pointRadius(+h.apply(this,arguments)),Object(o.a)(t,e(l))),l.result()}var n,e,s,l,h=4.5;return t.area=function(t){return Object(o.a)(t,e(i.a)),i.a.result()},t.bounds=function(t){return Object(o.a)(t,e(c.a)),c.a.result()},t.centroid=function(t){return Object(o.a)(t,e(u.a)),u.a.result()},t.projection=function(o){return arguments.length?(e=null==(n=o)?r.a:o.stream,t):n},t.context=function(n){return arguments.length?(l=null==(s=n)?new f.a:new a.a(n),"function"!=typeof h&&l.pointRadius(h),t):s},t.pointRadius=function(n){return arguments.length?(h="function"==typeof n?n:(l.pointRadius(+n),+n),t):h},t.projection(null).context(null)}},function(t,n,e){"use strict";function r(){g.point=o}function o(t,n){g.point=i,u=f=t,a=s=n}function i(t,n){b.add(s*t-f*n),f=t,s=n}function c(){i(u,a)}var u,a,f,s,l=e(49),h=e(6),p=e(28),v=Object(l.a)(),b=Object(l.a)(),g={point:p.a,lineStart:p.a,lineEnd:p.a,polygonStart:function(){g.lineStart=r,g.lineEnd=c},polygonEnd:function(){g.lineStart=g.lineEnd=g.point=p.a,v.add(Object(h.a)(b)),b.reset()},result:function(){var t=v/2;return v.reset(),t}};n.a=g},function(t,n,e){"use strict";function r(t,n){d+=t,j+=n,++O}function o(){M.point=i}function i(t,n){M.point=c,r(v=t,b=n)}function c(t,n){var e=t-v,o=n-b,i=Object(g.u)(e*e+o*o);y+=i*(v+t)/2,m+=i*(b+n)/2,x+=i,r(v=t,b=n)}function u(){M.point=r}function a(){M.point=s}function f(){l(h,p)}function s(t,n){M.point=l,r(h=v=t,p=b=n)}function l(t,n){var e=t-v,o=n-b,i=Object(g.u)(e*e+o*o);y+=i*(v+t)/2,m+=i*(b+n)/2,x+=i,_+=(i=b*t-v*n)*(v+t),w+=i*(b+n),E+=3*i,r(v=t,b=n)}var h,p,v,b,g=e(6),d=0,j=0,O=0,y=0,m=0,x=0,_=0,w=0,E=0,M={point:r,lineStart:o,lineEnd:u,polygonStart:function(){M.lineStart=a,M.lineEnd=f},polygonEnd:function(){M.point=r,M.lineStart=o,M.lineEnd=u},result:function(){var t=E?[_/E,w/E]:x?[y/x,m/x]:O?[d/O,j/O]:[NaN,NaN];return d=j=O=y=m=x=_=w=E=0,t}};n.a=M},function(t,n,e){"use strict";function r(t){this._context=t}n.a=r;var o=e(6),i=e(28);r.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._context.moveTo(t,n),this._point=1;break;case 1:this._context.lineTo(t,n);break;default:this._context.moveTo(t+this._radius,n),this._context.arc(t,n,this._radius,0,o.w)}},result:i.a}},function(t,n,e){"use strict";function r(){this._string=[]}function o(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}n.a=r,r.prototype={_circle:o(4.5),pointRadius:function(t){return this._circle=o(t),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,n){switch(this._point){case 0:this._string.push("M",t,",",n),this._point=1;break;case 1:this._string.push("L",t,",",n);break;default:this._string.push("M",t,",",n,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}}}},function(t,n,e){"use strict";var r=e(219),o=e(6);n.a=Object(r.a)(function(){return!0},function(t){var n,e=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),n=1},point:function(c,u){var a=c>0?o.o:-o.o,f=Object(o.a)(c-e);Object(o.a)(f-o.o)0?o.l:-o.l),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),t.point(c,r),n=0):i!==a&&f>=o.o&&(Object(o.a)(e-i)o.i?Object(o.d)((Object(o.t)(n)*(c=Object(o.g)(r))*Object(o.t)(e)-Object(o.t)(r)*(i=Object(o.g)(n))*Object(o.t)(t))/(i*c*u)):(n+r)/2}(e,r,c,u),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(a,r),n=0),t.point(e=c,r=u),i=a},lineEnd:function(){t.lineEnd(),e=r=NaN},clean:function(){return 2-n}}},function(t,n,e,r){var i;if(null==t)i=e*o.l,r.point(-o.o,i),r.point(0,i),r.point(o.o,i),r.point(o.o,0),r.point(o.o,-i),r.point(0,-i),r.point(-o.o,-i),r.point(-o.o,0),r.point(-o.o,i);else if(Object(o.a)(t[0]-n[0])>o.i){var c=t[0]=0?1:-1,S=M*E,T=S>i.o,k=d*_;if(c.add(Object(i.e)(k*M*Object(i.t)(S),j*w+k*Object(i.g)(S))),a+=T?E+M*i.w:E,T^b>=e^m>=e){var P=Object(o.c)(Object(o.a)(v),Object(o.a)(y));Object(o.e)(P);var C=Object(o.c)(u,P);Object(o.e)(C);var A=(T^E>=0?-1:1)*Object(i.c)(C[2]);(r>A||r===A&&(P[0]||P[1]))&&(f+=T^E>=0?1:-1)}}return(a<-i.i||as}function a(t,n,e){var o=Object(r.a)(t),c=Object(r.a)(n),u=[1,0,0],a=Object(r.c)(o,c),f=Object(r.d)(a,a),l=a[0],h=f-l*l;if(!h)return!e&&t;var p=s*f/h,v=-s*l/h,b=Object(r.c)(u,a),g=Object(r.f)(u,p),d=Object(r.f)(a,v);Object(r.b)(g,d);var j=b,O=Object(r.d)(g,j),y=Object(r.d)(j,j),m=O*O-y*(Object(r.d)(g,g)-1);if(!(m<0)){var x=Object(i.u)(m),_=Object(r.f)(j,(-O-x)/y);if(Object(r.b)(_,g),_=Object(r.g)(_),!e)return _;var w,E=t[0],M=n[0],S=t[1],T=n[1];M0^_[1]<(Object(i.a)(_[0]-E)i.o^(E<=_[0]&&_[0]<=M)){var A=Object(r.f)(j,(-O+x)/y);return Object(r.b)(A,g),[_,Object(r.g)(A)]}}}function f(n,e){var r=l?t:i.o-t,o=0;return n<-r?o|=1:n>r&&(o|=2),e<-r?o|=4:e>r&&(o|=8),o}var s=Object(i.g)(t),l=s>0,h=Object(i.a)(s)>i.i;return Object(u.a)(e,function(t){var n,r,o,u,s;return{lineStart:function(){u=o=!1,s=1},point:function(p,v){var b,g=[p,v],d=e(p,v),j=l?d?0:f(p,v):d?f(p+(p<0?i.o:-i.o),v):0;if(!n&&(u=o=d)&&t.lineStart(),d!==o&&(b=a(n,g),(Object(c.a)(n,b)||Object(c.a)(g,b))&&(g[0]+=i.i,g[1]+=i.i,d=e(g[0],g[1]))),d!==o)s=0,d?(t.lineStart(),b=a(g,n),t.point(b[0],b[1])):(b=a(n,g),t.point(b[0],b[1]),t.lineEnd()),n=b;else if(h&&n&&l^d){var O;j&r||!(O=a(g,n,!0))||(s=0,l?(t.lineStart(),t.point(O[0][0],O[0][1]),t.point(O[1][0],O[1][1]),t.lineEnd()):(t.point(O[1][0],O[1][1]),t.lineEnd(),t.lineStart(),t.point(O[0][0],O[0][1])))}!d||n&&Object(c.a)(n,g)||t.point(g[0],g[1]),n=g,o=d,r=j},lineEnd:function(){o&&t.lineEnd(),n=null},clean:function(){return s|(u&&o)<<1}}},function(e,r,i,c){Object(o.a)(c,t,n,i,e,r)},l?[0,-t]:[-i.o,t-i.o])}},function(t,n,e){"use strict";var r=e(50),o=e(6),i=e(112),c=16,u=Object(o.g)(30*o.r);n.a=function(t,n){return+n?function(t,n){function e(r,i,c,a,f,s,l,h,p,v,b,g,d,j){var O=l-r,y=h-i,m=O*O+y*y;if(m>4*n&&d--){var x=a+v,_=f+b,w=s+g,E=Object(o.u)(x*x+_*_+w*w),M=Object(o.c)(w/=E),S=Object(o.a)(Object(o.a)(w)-1)n||Object(o.a)((O*C+y*A)/m-.5)>.3||a*v+f*b+s*g=.12&&o<.234&&r>=-.425&&r<-.214?h:o>=.166&&o<.234&&r>=-.214&&r<-.115?p:l).invert(t)},t.stream=function(t){return n&&e===t?n:n=function(t){var n=t.length;return{point:function(e,r){for(var o=-1;++o0?n<-i.l+i.i&&(n=-i.l+i.i):n>i.l-i.i&&(n=i.l-i.i);var e=a/Object(i.p)(r(n),c);return[e*Object(i.t)(c*t),a-e*Object(i.g)(c*t)]}var o=Object(i.g)(t),c=t===n?Object(i.t)(t):Object(i.n)(o/Object(i.g)(n))/Object(i.n)(r(n)/r(t)),a=o*Object(i.p)(r(t),c)/c;return c?(e.invert=function(t,n){var e=a-n,r=Object(i.s)(c)*Object(i.u)(t*t+e*e);return[Object(i.e)(t,e)/c,2*Object(i.d)(Object(i.p)(a/r,1/c))-i.l]},e):u.c}n.a=o;var i=e(6),c=e(111),u=e(113);n.b=function(){return Object(c.a)(o).scale(109.5).parallels([30,30])}},function(t,n,e){"use strict";function r(t,n){function e(t,n){var e=u-n,r=i*t;return[e*Object(o.t)(r),u-e*Object(o.g)(r)]}var r=Object(o.g)(t),i=t===n?Object(o.t)(t):(r-Object(o.g)(n))/(n-t),u=r/i+t;return Object(o.a)(i)2?t[2]+90:90]):(t=e(),[t[0],t[1],t[2]-90])},e([0,0,90]).scale(159.155)}},function(t,n,e){"use strict";function r(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function o(){return new r}var i=Math.PI,c=2*i,u=c-1e-6;r.prototype=o.prototype={constructor:r,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,r){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+r)},bezierCurveTo:function(t,n,e,r,o,i){this._+="C"+ +t+","+ +n+","+ +e+","+ +r+","+(this._x1=+o)+","+(this._y1=+i)},arcTo:function(t,n,e,r,o){t=+t,n=+n,e=+e,r=+r,o=+o;var c=this._x1,u=this._y1,a=e-t,f=r-n,s=c-t,l=u-n,h=s*s+l*l;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(h>1e-6)if(Math.abs(l*a-f*s)>1e-6&&o){var p=e-c,v=r-u,b=a*a+f*f,g=p*p+v*v,d=Math.sqrt(b),j=Math.sqrt(h),O=o*Math.tan((i-Math.acos((b+h-g)/(2*d*j)))/2),y=O/j,m=O/d;Math.abs(y-1)>1e-6&&(this._+="L"+(t+y*s)+","+(n+y*l)),this._+="A"+o+","+o+",0,0,"+ +(l*p>s*v)+","+(this._x1=t+m*a)+","+(this._y1=n+m*f)}else this._+="L"+(this._x1=t)+","+(this._y1=n);else;},arc:function(t,n,e,r,o,a){t=+t,n=+n;var f=(e=+e)*Math.cos(r),s=e*Math.sin(r),l=t+f,h=n+s,p=1^a,v=a?r-o:o-r;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+l+","+h:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-h)>1e-6)&&(this._+="L"+l+","+h),e&&(v<0&&(v=v%c+c),v>u?this._+="A"+e+","+e+",0,1,"+p+","+(t-f)+","+(n-s)+"A"+e+","+e+",0,1,"+p+","+(this._x1=l)+","+(this._y1=h):v>1e-6&&(this._+="A"+e+","+e+",0,"+ +(v>=i)+","+p+","+(this._x1=t+e*Math.cos(o))+","+(this._y1=n+e*Math.sin(o))))},rect:function(t,n,e,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +r+"h"+-e+"Z"},toString:function(){return this._}},n.a=o},function(t,n,e){var r=e(5),o=e(43);r(o.prototype,{getAllNodes:function(){var t=[];return this.root.each(function(n){t.push(n)}),t},getAllLinks:function(){for(var t=[],n=[this.root],e=void 0;e=n.pop();){var r=e.children;r&&r.forEach(function(r){t.push({source:e,target:r}),n.push(r)})}return t}}),r(o.prototype,{getAllEdges:o.prototype.getAllLinks})},function(t,n,e){var r=e(5),o=e(114),i=e(15);r(e(43).prototype,{partition:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return i(this.rows,t,n)},group:function(t,n){var e=this.partition(t,n);return o(e)},groups:function(t,n){return this.group(t,n)}})},function(t,n,e){var r=e(46);t.exports=function(t,n){return r(n,function(n){return t[n]})}},function(t,n,e){var r=e(79),o=e(527),i=Object.prototype.hasOwnProperty,c=o(function(t,n,e){i.call(t,e)?t[e].push(n):r(t,e,[n])});t.exports=c},function(t,n,e){var r=e(528),o=e(529),i=e(44),c=e(3);t.exports=function(t,n){return function(e,u){var a=c(e)?r:o,f=n?n():{};return a(e,t,i(u,2),f)}}},function(t,n){t.exports=function(t,n,e,r){for(var o=-1,i=null==t?0:t.length;++o1&&void 0!==arguments[1]?arguments[1]:[],e=void 0;return o(n)?e=n:r(n)?e=function(t,e){for(var r=0;re[o])return 1}return 0}:i(n)&&(e=function(t,e){return t[n]e[n]?1:0}),t.sort(e)}},function(t,n,e){function r(t,n){var e=t.getColumn(n);return c(e)&&c(e[0])&&(e=i(e)),e}var o=e(5),i=e(222),c=e(3),u=e(23),a=e(43),f=e(239);e(120).STATISTICS_METHODS.forEach(function(t){a.prototype[t]=function(n){return u[t](r(this,n))}});var s=u.quantile;o(a.prototype,{average:a.prototype.mean,quantile:function(t,n){return s(r(this,t),n)},quantiles:function(t,n){var e=r(this,t);return n.map(function(t){return s(e,t)})},quantilesByFraction:function(t,n){return this.quantiles(t,f(n))},range:function(t){return[this.min(t),this.max(t)]},extent:function(t){return this.range(t)}})},function(t,n){t.exports=function(t){var n,e,r=t.length;if(1===r)n=0,e=t[0][1];else{for(var o,i,c,u=0,a=0,f=0,s=0,l=0;lr&&(n=t[o],r=i),e.set(t[o],i)}if(0===r)throw new Error("mode requires at last one data point");return n}},function(t,n){t.exports=function(t){return t[0]}},function(t,n){t.exports=function(t){return t[t.length-1]}},function(t,n){t.exports=function(t){for(var n=0,e=0;eo;){if(i-o>600){var c=i-o+1,u=n-o+1,a=Math.log(c),f=.5*Math.exp(2*a/3),s=.5*Math.sqrt(a*f*(c-f)/c);u-c/2<0&&(s*=-1);e(t,n,Math.max(o,Math.floor(n-u*f/c+s)),Math.min(i,Math.floor(n+(c-u)*f/c+s)))}var l=t[n],h=o,p=i;for(r(t,o,n),t[i]>l&&r(t,o,i);hl;)p--}t[o]===l?r(t,o,p):r(t,++p,i),p<=n&&(o=p+1),n<=p&&(i=p-1)}}function r(t,n,e){var r=t[n];t[n]=t[e],t[e]=r}t.exports=e},function(t,n,e){var r=e(117);t.exports=function(t){var n=r(t,.75),e=r(t,.25);if("number"==typeof n&&"number"==typeof e)return n-e}},function(t,n,e){var r=e(230);t.exports=function(t){for(var n=r(t),e=[],o=0;o0){var i=(e[n]-e[t-1])/(n-t+1);o=r[n]-r[t-1]-(n-t+1)*i*i}else o=r[n]-e[n]*e[n]/(n+1);return o<0?0:o}function i(t,n,e,r,c,u,a){if(!(t>n)){var f=Math.floor((t+n)/2);r[e][f]=r[e-1][f-1],c[e][f]=f;var s=e;t>e&&(s=Math.max(s,c[e][t-1]||0)),s=Math.max(s,c[e-1][f]||0);var l=f-1;n=s&&!((h=o(b,f,u,a))+r[e-1][s-1]>=r[e][f]);--b)(p=o(s,f,u,a)+r[e-1][s-1])t.length)throw new Error("cannot generate more classes than there are data values");var e=u(t);if(1===c(e))return[e];var a=r(n,e.length),f=r(n,e.length);!function(t,n,e){for(var r,c=n[0].length,u=t[Math.floor(c/2)],a=[],f=[],s=0;s=0;h--){var p=f[h][l];s[h]=e.slice(p,l+1),h>0&&(l=p-1)}return s}},function(t,n,e){var r=e(229),o=e(228);t.exports=function(t,n){if(t.length<2)return t;for(var e=o(t),i=r(t),c=[e],u=(i-e)/n,a=1;a0?1:0},e.prototype.train=function(t,n){if(0!==n&&1!==n)return null;t.length!==this.weights.length&&(this.weights=t,this.bias=1);var e=this.predict(t);if(e!==n){for(var r=n-e,o=0;o1)throw new Error("bernoulliDistribution requires probability to be between 0 and 1 inclusive");return[1-t,t]}},function(t,n,e){var r=e(73);t.exports=function(t,n){if(!(n<0||n>1||t<=0||t%1!=0)){var e=0,o=0,i=[],c=1;do{i[e]=c*Math.pow(n,e)*Math.pow(1-n,t-e),o+=i[e],c=c*(t-++e+1)/e}while(o<1-r);return i}}},function(t,n,e){var r=e(73);t.exports=function(t){if(!(t<=0)){var n=0,e=0,o=[],i=1;do{o[n]=Math.exp(-t)*Math.pow(t,n)/i,e+=o[n],i*=++n}while(e<1-r);return o}}},function(t,n,e){var r=e(24),o=e(573);t.exports=function(t,n,e){for(var i,c,u=0,a=n(r(t)),f=[],s=[],l=0;l=0;c--)s[c]<3&&(s[c-1]+=s[c],s.pop(),f[c-1]+=f[c],f.pop());for(c=0;c=0?r[e]:+(1-r[e]).toFixed(4)}},function(t,n){t.exports=function(t){var n=1/(1+.5*Math.abs(t)),e=n*Math.exp(-Math.pow(t,2)-1.26551223+1.00002368*n+.37409196*Math.pow(n,2)+.09678418*Math.pow(n,3)-.18628806*Math.pow(n,4)+.27886807*Math.pow(n,5)-1.13520398*Math.pow(n,6)+1.48851587*Math.pow(n,7)-.82215223*Math.pow(n,8)+.17087277*Math.pow(n,9));return t>=0?1-e:e-1}},function(t,n,e){var r=e(73),o=e(238);t.exports=function(t){return 0===t?t=r:t>=1&&(t=1-r),Math.sqrt(2)*o(2*t-1)}},function(t,n,e){var r=e(579);t.exports=function(t,n,e,o,i){if("function"!=typeof t)throw new TypeError("func must be a function");for(var c=0;c1&&void 0!==arguments[1]?arguments[1]:{}).delimiter||",";if(!r(n))throw new TypeError("Invalid delimiter: must be a string!");return i(n).parse(t)}),a("csv",function(t){return c(t)}),a("tsv",function(t){return u(t)})},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(121);e.d(n,"dsvFormat",function(){return r.a});var o=e(584);e.d(n,"csvParse",function(){return o.c}),e.d(n,"csvParseRows",function(){return o.d}),e.d(n,"csvFormat",function(){return o.a}),e.d(n,"csvFormatRows",function(){return o.b});var i=e(585);e.d(n,"tsvParse",function(){return i.c}),e.d(n,"tsvParseRows",function(){return i.d}),e.d(n,"tsvFormat",function(){return i.a}),e.d(n,"tsvFormatRows",function(){return i.b})},function(t,n,e){"use strict";e.d(n,"c",function(){return i}),e.d(n,"d",function(){return c}),e.d(n,"a",function(){return u}),e.d(n,"b",function(){return a});var r=e(121),o=Object(r.a)(","),i=o.parse,c=o.parseRows,u=o.format,a=o.formatRows},function(t,n,e){"use strict";e.d(n,"c",function(){return i}),e.d(n,"d",function(){return c}),e.d(n,"a",function(){return u}),e.d(n,"b",function(){return a});var r=e(121),o=Object(r.a)("\t"),i=o.parse,c=o.parseRows,u=o.format,a=o.formatRows},function(t,n,e){function r(t,n){n.dataType="geo-graticule";var e=o().lines();return e.map(function(t,n){return t.index=""+n,t}),n.rows=e,e}var o=e(0).geoGraticule;(0,e(2).registerConnector)("geo-graticule",r),t.exports=r},function(t,n){t.exports=function(t){var n=[];return t.replace(r,function(t,r,i){var c=r.toLowerCase();for(i=function(t){var n=t.match(o);return n?n.map(Number):[]}(i),"m"==c&&i.length>2&&(n.push([r].concat(i.splice(0,2))),c="l",r="m"==r?"l":"L");;){if(i.length==e[c])return i.unshift(r),n.push(i);if(i.length=0;)n+=e[r].value;else n=1;t.value=n}n.a=function(){return this.eachAfter(r)}},function(t,n,e){"use strict";n.a=function(t){var n,e,r,o,i=this,c=[i];do{for(n=c.reverse(),c=[];i=n.pop();)if(t(i),e=i.children)for(r=0,o=e.length;r=0;--e)o.push(n[e]);return this}},function(t,n,e){"use strict";n.a=function(t){for(var n,e,r,o=this,i=[o],c=[];o=i.pop();)if(c.push(o),n=o.children)for(e=0,r=n.length;e=0;)e+=r[o].value;n.value=e})}},function(t,n,e){"use strict";n.a=function(t){return this.eachBefore(function(n){n.children&&n.children.sort(t)})}},function(t,n,e){"use strict";n.a=function(t){for(var n=this,e=function(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),o=null;for(t=e.pop(),n=r.pop();t===n;)o=t,t=e.pop(),n=r.pop();return o}(n,t),r=[n];n!==e;)n=n.parent,r.push(n);for(var o=r.length;t!==e;)r.splice(o,0,t),t=t.parent;return r}},function(t,n,e){"use strict";n.a=function(){for(var t=this,n=[t];t=t.parent;)n.push(t);return n}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.each(function(n){t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=[];return this.eachBefore(function(n){n.children||t.push(n)}),t}},function(t,n,e){"use strict";n.a=function(){var t=this,n=[];return t.each(function(e){e!==t&&n.push({source:e.parent,target:e})}),n}},function(t,n,e){"use strict";function r(t){return Math.sqrt(t.value)}function o(t){return function(n){n.children||(n.r=Math.max(0,+t(n)||0))}}function i(t,n){return function(e){if(r=e.children){var r,o,i,c=r.length,a=t(e)*n||0;if(a)for(o=0;o0)throw new Error("cycle");return i}var n=r,e=o;return t.id=function(e){return arguments.length?(n=Object(i.b)(e),t):n},t.parentId=function(n){return arguments.length?(e=Object(i.b)(n),t):e},t}},function(t,n,e){"use strict";function r(t,n){return t.parent===n.parent?1:2}function o(t){var n=t.children;return n?n[0]:t.t}function i(t){var n=t.children;return n?n[n.length-1]:t.t}function c(t,n,e){var r=e/(n.i-t.i);n.c-=r,n.s+=e,t.c+=r,n.z+=e,n.m+=e}function u(t,n,e){return t.a.parent===n.parent?t.a:e}function a(t,n){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=n}var f=e(122);a.prototype=Object.create(f.a.prototype),n.a=function(){function t(t){var r=function(t){for(var n,e,r,o,i,c=new a(t,0),u=[c];n=u.pop();)if(r=n._.children)for(n.children=new Array(i=r.length),o=i-1;o>=0;--o)u.push(e=n.children[o]=new a(r[o],o)),e.parent=n;return(c.parent=new a(null,0)).children=[c],c}(t);if(r.eachAfter(n),r.parent.m=-r.z,r.eachBefore(e),p)t.eachBefore(f);else{var o=t,i=t,c=t;t.eachBefore(function(t){t.xi.x&&(i=t),t.depth>c.depth&&(c=t)});var u=o===i?1:s(o,i)/2,v=u-o.x,b=l/(i.x+u+v),g=h/(c.depth||1);t.eachBefore(function(t){t.x=(t.x+v)*b,t.y=t.depth*g})}return t}function n(t){var n=t.children,e=t.parent.children,r=t.i?e[t.i-1]:null;if(n){!function(t){for(var n,e=0,r=0,o=t.children,i=o.length;--i>=0;)(n=o[i]).z+=e,n.m+=e,e+=n.s+(r+=n.c)}(t);var a=(n[0].z+n[n.length-1].z)/2;r?(t.z=r.z+s(t._,r._),t.m=t.z-a):t.z=a}else r&&(t.z=r.z+s(t._,r._));t.parent.A=function(t,n,e){if(n){for(var r,a=t,f=t,l=n,h=a.parent.children[0],p=a.m,v=f.m,b=l.m,g=h.m;l=i(l),a=o(a),l&&a;)h=o(h),(f=i(f)).a=t,(r=l.z+b-a.z-p+s(l._,a._))>0&&(c(u(l,t,e),t,r),p+=r,v+=r),b+=l.m,p+=a.m,g+=h.m,v+=f.m;l&&!i(f)&&(f.t=l,f.m+=b-v),a&&!o(h)&&(h.t=a,h.m+=p-g,e=t)}return e}(t,r,t.parent.A||e[0])}function e(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function f(t){t.x*=l,t.y=t.depth*h}var s=r,l=1,h=1,p=null;return t.separation=function(n){return arguments.length?(s=n,t):s},t.size=function(n){return arguments.length?(p=!1,l=+n[0],h=+n[1],t):p?null:[l,h]},t.nodeSize=function(n){return arguments.length?(p=!0,l=+n[0],h=+n[1],t):p?[l,h]:null},t}},function(t,n,e){"use strict";var r=e(246),o=e(124),i=e(123),c=e(245);n.a=function(){function t(t){return t.x0=t.y0=0,t.x1=a,t.y1=f,t.eachBefore(n),s=[0],u&&t.eachBefore(r.a),t}function n(t){var n=s[t.depth],r=t.x0+n,o=t.y0+n,i=t.x1-n,c=t.y1-n;i=n-1){var f=a[t];return f.x0=r,f.y0=o,f.x1=c,void(f.y1=u)}for(var l=s[t],h=e/2+l,p=t+1,v=n-1;p>>1;s[b]u-o){var j=(r*d+c*g)/e;i(t,p,g,r,o,j,u),i(p,n,d,j,o,c,u)}else{var O=(o*d+u*g)/e;i(t,p,g,r,o,c,O),i(p,n,d,r,O,c,u)}}var c,u,a=t.children,f=a.length,s=new Array(f+1);for(s[0]=u=c=0;c1?n:1)},e}(i.b)},function(t,n,e){function r(t,n,e){var r=n.object;if(!o(r))throw new TypeError("Invalid object: must be a string!");var u=i(t,t.objects[r]);return c(u,n,e)}var o=e(8),i=e(616).feature,c=e(241),u=e(2).registerConnector;u("topojson",r),u("TopoJSON",r)},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(247);e.d(n,"bbox",function(){return r.a});var o=e(126);e.d(n,"feature",function(){return o.a});var i=e(618);e.d(n,"mesh",function(){return i.a}),e.d(n,"meshArcs",function(){return i.b});var c=e(619);e.d(n,"merge",function(){return c.a}),e.d(n,"mergeArcs",function(){return c.b});var u=e(620);e.d(n,"neighbors",function(){return u.a});var a=e(622);e.d(n,"quantize",function(){return a.a});var f=e(125);e.d(n,"transform",function(){return f.a});var s=e(250);e.d(n,"untransform",function(){return s.a})},function(t,n,e){"use strict";n.a=function(t,n){for(var e,r=t.length,o=r-n;o<--r;)e=t[o],t[o++]=t[r],t[r]=e}},function(t,n,e){"use strict";function r(t,n,e){var r,o,c;if(arguments.length>1)r=function(t,n,e){function r(t){var n=t<0?~t:t;(f[n]||(f[n]=[])).push({i:t,g:u})}function o(t){t.forEach(r)}function i(t){t.forEach(o)}function c(t){switch(u=t,t.type){case"GeometryCollection":t.geometries.forEach(c);break;case"LineString":o(t.arcs);break;case"MultiLineString":case"Polygon":i(t.arcs);break;case"MultiPolygon":!function(t){t.forEach(i)}(t.arcs)}}var u,a=[],f=[];return c(n),f.forEach(null==e?function(t){a.push(t[0].i)}:function(t){e(t[0].g,t[t.length-1].g)&&a.push(t[0].i)}),a}(0,n,e);else for(o=0,r=new Array(c=t.arcs.length);o1)for(var o,a,f=1,s=c(r[0]);fs&&(a=r[0],r[0]=r[f],r[f]=a,s=o);return r})}}n.b=r;var o=e(126),i=e(249);n.a=function(t){return Object(o.b)(t,r.apply(this,arguments))}},function(t,n,e){"use strict";var r=e(621);n.a=function(t){function n(t,n){t.forEach(function(t){t<0&&(t=~t);var e=i[t];e?e.push(n):i[t]=[n]})}function e(t,e){t.forEach(function(t){n(t,e)})}function o(t,n){"GeometryCollection"===t.type?t.geometries.forEach(function(t){o(t,n)}):t.type in u&&u[t.type](t.arcs,n)}var i={},c=t.map(function(){return[]}),u={LineString:n,MultiLineString:e,Polygon:e,MultiPolygon:function(t,n){t.forEach(function(t){e(t,n)})}};t.forEach(o);for(var a in i)for(var f=i[a],s=f.length,l=0;l>>1;t[o]=2))throw new Error("n must be ≥2");var c,u=(l=t.bbox||Object(r.a)(t))[0],a=l[1],f=l[2],s=l[3];n={scale:[f-u?(f-u)/(c-1):1,s-a?(s-a)/(c-1):1],translate:[u,a]}}var l,h,p=Object(o.a)(n),v=t.objects,b={};for(h in v)b[h]=i(v[h]);return{type:"Topology",bbox:l,transform:n,objects:b,arcs:t.arcs.map(function(t){var n,e=0,r=1,o=t.length,i=new Array(o);for(i[0]=p(t[0],0);++e1&&void 0!==arguments[1]?arguments[1]:{};t.rows=t.rows.filter(n.callback||function(t){return!!t})})},function(t,n,e){var r=e(5),o=e(626),i=e(48),c=e(2).registerTransform,u=e(7).getFields,a={fields:[],key:"key",retains:[],value:"value"};c("fold",function(t,n){var e=t.getColumnNames();n=r({},a,n);var c=u(n);0===c.length&&(console.warn("warning: option fields is not specified, will fold all columns."),c=e);var f=n.key,s=n.value,l=n.retains;0===l.length&&(l=o(e,c));var h=[];t.rows.forEach(function(t){c.forEach(function(n){var e=i(t,l);e[f]=n,e[s]=t[n],h.push(e)})}),t.rows=h})},function(t,n,e){var r=e(627),o=e(72),i=e(80),c=e(631),u=i(function(t,n){return c(t)?r(t,o(n,1,c,!0)):[]});t.exports=u},function(t,n,e){var r=e(105),o=e(251),i=e(252),c=e(46),u=e(85),a=e(106),f=200;t.exports=function(t,n,e,s){var l=-1,h=o,p=!0,v=t.length,b=[],g=n.length;if(!v)return b;e&&(n=c(n,u(e))),s?(h=i,p=!1):n.length>=f&&(h=a,p=!1,n=new r(n));t:for(;++l1&&void 0!==arguments[1]?arguments[1]:{};t.rows=t.rows.map(n.callback||function(t){return t})})},function(t,n,e){function r(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n=o({},a,n),t.rows=i(c(t.rows,n.groupBy,n.orderBy))}var o=e(5),i=e(114),c=e(15),u=e(2).registerTransform,a={groupBy:[],orderBy:[]};u("partition",function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n=o({},a,n),t.rows=c(t.rows,n.groupBy,n.orderBy)}),u("group",r),u("groups",r)},function(t,n,e){var r=e(5),o=e(10),i=e(3),c=e(8),u=e(23).sum,a=e(15),f=e(2).registerTransform,s=e(7).getField,l={groupBy:[],as:"_percent"};f("percent",function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n=r({},l,n);var e=s(n),f=n.dimension,h=n.groupBy,p=n.as;if(!c(f))throw new TypeError("Invalid dimension: must be a string!");if(i(p)&&(console.warn("Invalid as: must be a string, will use the first element of the array specified."),p=p[0]),!c(p))throw new TypeError("Invalid as: must be a string!");var v=t.rows,b=[],g=a(v,h);o(g,function(t){var n=u(t.map(function(t){return t[e]}));0===n&&console.warn("Invalid data: total sum of field "+e+" is 0!");var r=a(t,[f]);o(r,function(t){var r=u(t.map(function(t){return t[e]})),o=t[0],i=o[f];o[e]=r,o[f]=i,o[p]=0===n?0:r/n,b.push(o)})}),t.rows=b})},function(t,n,e){var r=e(48),o=e(2).registerTransform,i=e(7).getFields;o("pick",function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=i(n,t.getColumnNames());t.rows=t.rows.map(function(t){return r(t,e)})})},function(t,n,e){var r=e(5),o=e(10),i=e(3),c=e(8),u=e(15),a=e(2).registerTransform,f=e(7).getField,s={groupBy:[],as:"_proportion"};a("proportion",function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n=r({},s,n);var e=f(n),a=n.dimension,l=n.groupBy,h=n.as;if(!c(a))throw new TypeError("Invalid dimension: must be a string!");if(i(h)&&(console.warn("Invalid as: must be a string, will use the first element of the array specified."),h=h[0]),!c(h))throw new TypeError("Invalid as: must be a string!");var p=t.rows,v=[],b=u(p,l);o(b,function(t){var n=t.length,r=u(t,[a]);o(r,function(t){var r=t.length,o=t[0],i=o[a];o[e]=r,o[a]=i,o[h]=r/n,v.push(o)})}),t.rows=v})},function(t,n,e){function r(t){var n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).map||{},e={};i(n)&&o(n,function(t,n){c(t)&&c(n)&&(e[n]=t)}),t.rows.forEach(function(t){o(n,function(n,e){var r=t[e];delete t[e],t[n]=r})})}var o=e(10),i=e(638),c=e(8),u=e(2).registerTransform;u("rename",r),u("rename-fields",r)},function(t,n,e){var r=e(19),o=e(103),i=e(16),c="[object Object]",u=Function.prototype,a=Object.prototype,f=u.toString,s=a.hasOwnProperty,l=f.call(Object);t.exports=function(t){if(!i(t)||r(t)!=c)return!1;var n=o(t);if(null===n)return!0;var e=s.call(n,"constructor")&&n.constructor;return"function"==typeof e&&e instanceof e&&f.call(e)==l}},function(t,n,e){var r=e(253);(0,e(2).registerTransform)("reverse",function(t){t.rows=r(t.rows)})},function(t,n,e){(0,e(2).registerTransform)("sort",function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.getColumnName(0);t.rows.sort(n.callback||function(t,n){return t[e]-n[e]})})},function(t,n,e){function r(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=a(n,[t.getColumnName(0)]);if(!o(e))throw new TypeError("Invalid fields: must be an array with strings!");t.rows=c(t.rows,e);var r=n.order;if(r&&-1===f.indexOf(r))throw new TypeError("Invalid order: "+r+" must be one of "+f.join(", "));"DESC"===r&&(t.rows=i(t.rows))}var o=e(3),i=e(253),c=e(642),u=e(2).registerTransform,a=e(7).getFields,f=["ASC","DESC"];u("sort-by",r),u("sortBy",r)},function(t,n,e){var r=e(72),o=e(643),i=e(80),c=e(142),u=i(function(t,n){if(null==t)return[];var e=n.length;return e>1&&c(t,n[0],n[1])?n=[]:e>2&&c(n[0],n[1],n[2])&&(n=[n[0]]),o(t,r(n,1),[])});t.exports=u},function(t,n,e){var r=e(46),o=e(44),i=e(254),c=e(644),u=e(85),a=e(645),f=e(38);t.exports=function(t,n,e){var s=-1;n=r(n.length?n:[f],u(o));var l=i(t,function(t,e,o){return{criteria:r(n,function(n){return n(t)}),index:++s,value:t}});return c(l,function(t,n){return a(t,n,e)})}},function(t,n){t.exports=function(t,n){var e=t.length;for(t.sort(n);e--;)t[e]=t[e].value;return t}},function(t,n,e){var r=e(646);t.exports=function(t,n,e){for(var o=-1,i=t.criteria,c=n.criteria,u=i.length,a=e.length;++o=a?f:f*("desc"==e[o]?-1:1)}return t.index-n.index}},function(t,n,e){var r=e(45);t.exports=function(t,n){if(t!==n){var e=void 0!==t,o=null===t,i=t==t,c=r(t),u=void 0!==n,a=null===n,f=n==n,s=r(n);if(!a&&!s&&!c&&t>n||c&&u&&f&&!a&&!s||o&&u&&f||!e&&f||!i)return 1;if(!o&&!c&&!s&&t1&&void 0!==arguments[1]?arguments[1]:{},e=n.startRowIndex||0,r=n.endRowIndex||t.rows.length-1,i=o(n,t.getColumnNames());t.rows=t.getSubset(e,r,i)})},function(t,n,e){function r(t,n){var e=t.map(function(t){return t});return n.forEach(function(t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}),e}function o(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n=i({},f,n);var e=t.rows,o=n.groupBy,a=n.orderBy,s=u(e,o,a),l=0,h=[];c(s,function(t){t.length>l&&(l=t.length,h=t)});var p=[],v={};if(h.forEach(function(t){var n=a.map(function(n){return t[n]}).join("-");p.push(n),v[n]=t}),"order"===n.fillBy){var b=h[0],g=[],d={};e.forEach(function(t){var n=a.map(function(n){return t[n]}).join("-");-1===g.indexOf(n)&&(g.push(n),d[n]=t)});r(g,p).forEach(function(t){var n={};o.forEach(function(t){n[t]=b[t]}),a.forEach(function(e){n[e]=d[t][e]}),e.push(n),h.push(n),p.push(t),v[t]=n}),l=h.length}c(s,function(t){if(t!==h&&t.length=l-t.length)return!0;var c=v[r],u={};return o.forEach(function(t){u[t]=n[t]}),a.forEach(function(t){u[t]=c[t]}),e.push(u),!1})}})}var i=e(5),c=e(10),u=e(15),a=e(2).registerTransform,f={fillBy:"group",groupBy:[],orderBy:[]};a("fill-rows",o),a("fillRows",o)},function(t,n,e){function r(t){return t.filter(function(t){return!a(t)})}var o=e(5),i=e(10),c=e(650),u=e(11),a=e(652),f=e(8),s=e(23),l=e(15),h=e(2).registerTransform,p=e(7).getField,v={groupBy:[]},b=["mean","median","max","min"],g={};b.forEach(function(t){g[t]=function(n,e){return s[t](e)}}),g.value=function(t,n,e){return e},h("impute",function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.rows;n=o({},v,n);var s=p(n),h=n.method,d=n.groupBy;if(!h)throw new TypeError("Invalid method!");if("value"===h&&!c(n,"value"))throw new TypeError("Invalid value: it is nil.");var j=r(t.getColumn(s)),O=l(e,d);i(O,function(t){var e=r(t.map(function(t){return t[s]}));0===e.length&&(e=j),t.forEach(function(r){if(a(r[s]))if(u(h))r[s]=h(r,e,n.value,t);else{if(!f(h))throw new TypeError("Invalid method: must be a function or one of "+b.join(", "));r[s]=g[h](r,e,n.value)}})})})},function(t,n,e){var r=e(651),o=e(202);t.exports=function(t,n){return null!=t&&o(t,n,r)}},function(t,n){var e=Object.prototype.hasOwnProperty;t.exports=function(t,n){return null!=t&&e.call(t,n)}},function(t,n){t.exports=function(t){return void 0===t}},function(t,n,e){function r(t,n){n=o({},g,n);var e=t.rows,r=n.groupBy,i=b(n);if(!u(i))throw new TypeError("Invalid fields: it must be an array with one or more strings!");var f=n.as||[];a(f)&&(f=[f]);var s=n.operations;a(s)&&(s=[s]);var l=[d];if(u(s)&&s.length||(console.warn('operations is not defined, will use [ "count" ] directly.'),f=s=l),1!==s.length||s[0]!==d){if(s.length!==i.length)throw new TypeError("Invalid operations: it's length must be the same as fields!");if(f.length!==i.length)throw new TypeError("Invalid as: it's length must be the same as fields!")}var p=h(e,r),v=[];c(p,function(t){var n=t[0];s.forEach(function(e,r){var o=f[r],c=i[r];n[o]=j[e](t,c)}),v.push(n)}),t.rows=v}var o=e(5),i=e(222),c=e(10),u=e(3),a=e(8),f=e(9),s=e(654),l=e(23),h=e(15),p=e(2).registerTransform,v=e(120).STATISTICS_METHODS,b=e(7).getFields,g={as:[],fields:[],groupBy:[],operations:[]},d="count",j={count:function(t){return t.length},distinct:function(t,n){return s(t.map(function(t){return t[n]})).length}};v.forEach(function(t){j[t]=function(n,e){var r=n.map(function(t){return t[e]});return u(r)&&u(r[0])&&(r=i(r)),l[t](r)}}),j.average=j.mean,p("aggregate",r),p("summary",r),t.exports={VALID_AGGREGATES:f(j)}},function(t,n,e){var r=e(655);t.exports=function(t){return t&&t.length?r(t):[]}},function(t,n,e){var r=e(105),o=e(251),i=e(252),c=e(106),u=e(656),a=e(69),f=200;t.exports=function(t,n,e){var s=-1,l=o,h=t.length,p=!0,v=[],b=v;if(e)p=!1,l=i;else if(h>=f){var g=n?null:u(t);if(g)return a(g);p=!1,l=c,b=new r}else b=n?[]:v;t:for(;++sMath.abs(e[i][c])&&(c=u);for(var a=i;a=i;l--)e[l][s]-=e[l][i]*e[i][s]/e[i][i]}for(var h=r-1;h>=0;h--){for(var p=0,v=h+1;v=0;O--)j+=O>1?b[O]+"x^"+O+" + ":1===O?b[O]+"x + ":b[O];return{string:j,points:d,predict:g,equation:[].concat(function(t){if(Array.isArray(t)){for(var n=0,e=Array(t.length);n1&&void 0!==arguments[1]?arguments[1]:[1,1],e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[0,0],i={},c=n[0],u=n[1],a=e[0],f=e[1];return t.forEach(function(t){var n=t[0],e=t[1],s=o(n,c,a),l=s[0],h=s[1],p=o(e,u,f),v=p[0],b=p[1],g=void 0,d=void 0,j=void 0;r(n,e,l,v)R&&(R=t.count)}),u(M,function(t){var e=t.x,r=t.y,o=t.count,i={};i[P]=o,n.sizeByCount?(i[T]=A.map(function(n){return e+t.count/R*n[0]}),i[k]=A.map(function(n){return(r+t.count/R*n[1])/E})):(i[T]=A.map(function(t){return e+t[0]}),i[k]=A.map(function(t){return(r+t[1])/E})),B.push(i)}),t.rows=B}var c=e(5),u=e(10),a=e(3),f=e(2).registerTransform,s=e(7).getFields,l={as:["x","y","count"],bins:[30,30],offset:[0,0],sizeByCount:!1},h=Math.sqrt(3),p=Math.PI/3,v=[0,p,2*p,3*p,4*p,5*p];f("bin.hexagon",i),f("bin.hex",i),f("hexbin",i)},function(t,n,e){function r(t,n){n=o({},s,n);var e=f(n);if(0!==t.rows.length){var r=t.range(e),a=r[1]-r[0],l=n.binWidth;if(!l){var h=n.bins;if(h<=0)throw new TypeError("Invalid bins: it must be a positive number!");l=a/h}var p=n.offset%l,v=[],b=n.groupBy,g=u(t.rows,b);i(g,function(t){var r={};t.map(function(t){return t[e]}).forEach(function(t){var n=function(t,n,e){var r=t-e,o=Math.floor(r/n);return[o*n+e,(o+1)*n+e]}(t,l,p),e=n[0],o=n[1],i=e+"-"+o;r[i]=r[i]||{x0:e,x1:o,count:0},r[i].count++});var u=n.as,a=u[0],f=u[1];if(!a||!f)throw new TypeError('Invalid as: it must be an array with 2 elements (e.g. [ "x", "count" ])!');var s=c(t[0],b);i(r,function(t){var n=o({},s);n[a]=[t.x0,t.x1],n[f]=t.count,v.push(n)})}),t.rows=v}}var o=e(5),i=e(10),c=e(48),u=e(15),a=e(2).registerTransform,f=e(7).getField,s={as:["x","count"],bins:30,offset:0,groupBy:[]};a("bin.histogram",r),a("bin.dot",r)},function(t,n,e){var r=e(5),o=e(10),i=e(3),c=e(8),u=e(23).quantile,a=e(15),f=e(239),s=e(2).registerTransform,l=e(7).getField,h={as:"_bin",groupBy:[],fraction:4};s("bin.quantile",function(t,n){n=r({},h,n);var e=l(n),s=n.as;if(!c(s))throw new TypeError('Invalid as: it must be a string (e.g. "_bin")!');var p=n.p,v=n.fraction;i(p)&&0!==p.length||(p=f(v));var b=t.rows,g=n.groupBy,d=a(b,g),j=[];o(d,function(t){var n=t[0],r=t.map(function(t){return t[e]}),o=p.map(function(t){return u(r,t)});n[s]=o,j.push(n)}),t.rows=j})},function(t,n,e){function r(t,n,e){var r=t-e,o=Math.floor(r/n);return[o*n+e,(o+1)*n+e]}function o(t,n){n=i({},f,n);var e=a(n),o=e[0],u=e[1];if(!o||!u)throw new TypeError("Invalid fields: must be an array with 2 strings!");var s=t.range(o),l=t.range(u),h=s[1]-s[0],p=l[1]-l[0],v=n.binWidth||[];if(2!==v.length){var b=n.bins,g=b[0],d=b[1];if(g<=0||d<=0)throw new TypeError("Invalid bins: must be an array with 2 positive numbers (e.g. [ 30, 30 ])!");v=[h/g,p/d]}var j=t.rows.map(function(t){return[t[o],t[u]]}),O={},y=n.offset,m=y[0],x=y[1];j.forEach(function(t){var n=r(t[0],v[0],m),e=n[0],o=n[1],i=r(t[1],v[1],x),c=i[0],u=i[1],a=e+"-"+o+"-"+c+"-"+u;O[a]=O[a]||{x0:e,x1:o,y0:c,y1:u,count:0},O[a].count++});var _=[],w=n.as,E=w[0],M=w[1],S=w[2];if(!E||!M||!S)throw new TypeError('Invalid as: it must be an array with 3 strings (e.g. [ "x", "y", "count" ])!');if(n.sizeByCount){var T=0;c(O,function(t){t.count>T&&(T=t.count)}),c(O,function(t){var n=t.x0,e=t.x1,r=t.y0,o=t.y1,i=t.count,c=i/T,u=(n+e)/2,a=(r+o)/2,f=(e-n)*c/2,s=(o-r)*c/2,l=u-f,h=u+f,p=a-s,v=a+s,b={};b[E]=[l,h,h,l],b[M]=[p,p,v,v],b[S]=i,_.push(b)})}else c(O,function(t){var n={};n[E]=[t.x0,t.x1,t.x1,t.x0],n[M]=[t.y0,t.y0,t.y1,t.y1],n[S]=t.count,_.push(n)});t.rows=_}var i=e(5),c=e(10),u=e(2).registerTransform,a=e(7).getFields,f={as:["x","y","count"],bins:[30,30],offset:[0,0],sizeByCount:!1};u("bin.rectangle",o),u("bin.rect",o)},function(t,n,e){var r=e(5),o=e(3),i=e(8),c=e(2).registerTransform,u=e(7).getField,a={as:["_centroid_x","_centroid_y"]};c("geo.centroid",function(t,n){n=r({},a,n);var e=u(n),c=n.geoView||n.geoDataView;if(i(c)&&(c=t.dataSet.getView(c)),!c||"geo"!==c.dataType)throw new TypeError("Invalid geoView: must be a DataView of GEO dataType!");var f=n.as;if(!o(f)||2!==f.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "cX", "cY" ])!');var s=f[0],l=f[1];t.rows.forEach(function(t){var n=c.geoFeatureByName(t[e]);n&&(c._projectedAs?(t[s]=n[c._projectedAs[2]],t[l]=n[c._projectedAs[3]]):(t[s]=n.centroidX,t[l]=n.centroidY))})})},function(t,n,e){var r=e(5),o=e(0),i=e(242),c=e(3),u=e(2).registerTransform,a=e(206),f=o.geoPath,s={as:["_x","_y","_centroid_x","_centroid_y"]};u("geo.projection",function(t,n){if("geo"!==t.dataType&&"geo-graticule"!==t.dataType)throw new TypeError("Invalid dataView: this transform is for Geo data only!");var e=(n=r({},s,n)).projection;if(!e)throw new TypeError("Invalid projection!");e=a(e);var o=f(e),u=n.as;if(!c(u)||4!==u.length)throw new TypeError('Invalid as: it must be an array with 4 strings (e.g. [ "x", "y", "cX", "cY" ])!');t._projectedAs=u;var l=u[0],h=u[1],p=u[2],v=u[3];t.rows.forEach(function(t){t[l]=[],t[h]=[];var n=o(t);if(n){i(n)._path.forEach(function(n){t[l].push(n[1]),t[h].push(n[2])});var e=o.centroid(t);t[p]=e[0],t[v]=e[1]}}),t.rows=t.rows.filter(function(t){return 0!==t[l].length})})},function(t,n,e){var r=e(5),o=e(3),i=e(8),c=e(2).registerTransform,u=e(7).getField,a={as:["_x","_y"]};c("geo.region",function(t,n){n=r({},a,n);var e=u(n),c=n.geoView||n.geoDataView;if(i(c)&&(c=t.dataSet.getView(c)),!c||"geo"!==c.dataType)throw new TypeError("Invalid geoView: must be a DataView of GEO dataType!");var f=n.as;if(!o(f)||2!==f.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var s=f[0],l=f[1];t.rows.forEach(function(t){var n=c.geoFeatureByName(t[e]);n&&(c._projectedAs?(t[s]=n[c._projectedAs[0]],t[l]=n[c._projectedAs[1]]):(t[s]=n.longitude,t[l]=n.latitude))})})},function(t,n,e){function r(t,n){n=o({},s,n);var e={},r=t.nodes,f=t.edges;c(r)&&0!==r.length||(r=function(t,n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.forEach(function(t){var r=n.edgeSource(t),o=n.edgeTarget(t);e[r]||(e[r]={id:r}),e[o]||(e[o]={id:o})}),u(e)}(f,n,e)),r.forEach(function(t){var r=n.id(t);e[r]=t}),function(t,n,e){i(t,function(t,r){t.inEdges=n.filter(function(t){return""+e.target(t)==""+r}),t.outEdges=n.filter(function(t){return""+e.source(t)==""+r}),t.edges=t.outEdges.concat(t.inEdges),t.frequency=t.edges.length,t.value=0,t.inEdges.forEach(function(n){t.value+=e.targetWeight(n)}),t.outEdges.forEach(function(n){t.value+=e.sourceWeight(n)})})}(e,f,n),function(t,n){var e={weight:function(t,n){return n.value-t.value},frequency:function(t,n){return n.frequency-t.frequency},id:function(t,e){return(""+n.id(t)).localeCompare(""+n.id(e))}}[n.sortBy];!e&&a(n.sortBy)&&(e=n.sortBy),e&&t.sort(e)}(r,n),function(t,n){var e=t.length;if(!e)throw new TypeError("Invalid nodes: it's empty!");if(n.weight){var r=n.marginRatio;if(r<0||r>=1)throw new TypeError("Invalid marginRatio: it must be in range [0, 1)!");var o=r/(2*e),i=n.thickness;if(i<=0||i>=1)throw new TypeError("Invalid thickness: it must be in range (0, 1)!");var c=0;t.forEach(function(t){c+=t.value}),t.forEach(function(t){t.weight=t.value/c,t.width=t.weight*(1-r),t.height=i}),t.forEach(function(e,r){for(var c=0,u=r-1;u>=0;u--)c+=t[u].width+2*o;var a=e.minX=o+c,f=e.maxX=e.minX+e.width,s=e.minY=n.y-i/2,l=e.maxY=s+i;e.x=[a,f,f,a],e.y=[s,s,l,l]})}else{var u=1/e;t.forEach(function(t,e){t.x=(e+.5)*u,t.y=n.y})}}(r,n),function(t,n,e){if(e.weight){var r={};i(t,function(t,n){r[n]=t.value}),n.forEach(function(n){var o=e.source(n),i=e.target(n),c=t[o],u=t[i];if(c&&u){var a=r[o],f=e.sourceWeight(n),s=c.minX+(c.value-a)/c.value*c.width,l=s+f/c.value*c.width;r[o]-=f;var h=r[i],p=e.targetWeight(n),v=u.minX+(u.value-h)/u.value*u.width,b=v+p/u.value*u.width;r[i]-=p;var g=e.y;n.x=[s,l,v,b],n.y=[g,g,g,g]}})}else n.forEach(function(n){var r=t[e.source(n)],o=t[e.target(n)];r&&o&&(n.x=[r.x,o.x],n.y=[r.y,o.y])})}(e,f,n),t.nodes=r,t.edges=f}var o=e(5),i=e(10),c=e(3),u=e(114),a=e(11),f=e(2).registerTransform,s={y:0,thickness:.05,weight:!1,marginRatio:.1,id:function(t){return t.id},source:function(t){return t.source},target:function(t){return t.target},sourceWeight:function(t){return t.value||1},targetWeight:function(t){return t.value||1},sortBy:null};f("diagram.arc",r),f("arc",r)},function(t,n,e){function r(t,n){n=o({},b,n);var e=null;i(n.nodeAlign)?e=v[n.nodeAlign]:c(n.nodeAlign)&&(e=n.nodeAlign);var r=a().links(function(t){return t.edges}).nodeWidth(n.nodeWidth).nodePadding(n.nodePadding).extent([[0,0],[1,1]]);c(n.nodeId)&&r.nodeId(n.nodeId),e&&r.nodeAlign(e),r(t),t.nodes.forEach(function(t){var n=t.x0,e=t.x1,r=t.y0,o=t.y1;t.x=[n,e,e,n],t.y=[r,r,o,o]}),t.edges.forEach(function(t){var n=t.source,e=t.target,r=n.x1,o=e.x0;t.x=[r,r,o,o];var i=t.width/2;t.y=[t.y0+i,t.y0-i,t.y1+i,t.y1-i]})}var o=e(5),i=e(8),c=e(11),u=e(669),a=u.sankey,f=u.sankeyLeft,s=u.sankeyRight,l=u.sankeyCenter,h=u.sankeyJustify,p=e(2).registerTransform,v={sankeyLeft:f,sankeyRight:s,sankeyCenter:l,sankeyJustify:h},b={value:function(t){return t.value},source:function(t){return t.source},target:function(t){return t.target},nodeAlign:"sankeyJustify",nodeWidth:.02,nodePadding:.02};p("diagram.sankey",r),p("sankey",r)},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(670);e.d(n,"sankey",function(){return r.a});var o=e(255);e.d(n,"sankeyCenter",function(){return o.a}),e.d(n,"sankeyLeft",function(){return o.c}),e.d(n,"sankeyRight",function(){return o.d}),e.d(n,"sankeyJustify",function(){return o.b});var i=e(678);e.d(n,"sankeyLinkHorizontal",function(){return i.a})},function(t,n,e){"use strict";function r(t,n){return i(t.source,n.source)||t.index-n.index}function o(t,n){return i(t.target,n.target)||t.index-n.index}function i(t,n){return t.y0-n.y0}function c(t){return t.value}function u(t){return(t.y0+t.y1)/2}function a(t){return u(t.source)*t.value}function f(t){return u(t.target)*t.value}function s(t){return t.index}function l(t){return t.nodes}function h(t){return t.links}function p(t,n){var e=t.get(n);if(!e)throw new Error("missing: "+n);return e}var v=e(12),b=e(671),g=e(255),d=e(677),j="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};n.a=function(){function t(){var t={nodes:M.apply(null,arguments),links:S.apply(null,arguments)};return function(t){t.nodes.forEach(function(t,n){t.index=n,t.sourceLinks=[],t.targetLinks=[]});var n=Object(b.a)(t.nodes,w);t.links.forEach(function(t,e){t.index=e;var r=t.source,o=t.target;"object"!==(void 0===r?"undefined":j(r))&&(r=t.source=p(n,r)),"object"!==(void 0===o?"undefined":j(o))&&(o=t.target=p(n,o)),r.sourceLinks.push(t),o.targetLinks.push(t)})}(t),function(t){t.nodes.forEach(function(t){t.value=Math.max(Object(v.sum)(t.sourceLinks,c),Object(v.sum)(t.targetLinks,c))})}(t),function(t){var n,r,o;for(n=t.nodes,r=[],o=0;n.length;++o,n=r,r=[])n.forEach(function(t){t.depth=o,t.sourceLinks.forEach(function(t){r.indexOf(t.target)<0&&r.push(t.target)})});for(n=t.nodes,r=[],o=0;n.length;++o,n=r,r=[])n.forEach(function(t){t.height=o,t.targetLinks.forEach(function(t){r.indexOf(t.source)<0&&r.push(t.source)})});var i=(y-e-x)/(o-1);t.nodes.forEach(function(t){t.x1=(t.x0=e+Math.max(0,Math.min(o-1,Math.floor(E.call(null,t,o))))*i)+x})}(t),function(t){function n(){e.forEach(function(t){var n,e,r,o=O,c=t.length;for(t.sort(i),r=0;r0&&(n.y0+=e,n.y1+=e),o=n.y1+_;if((e=o-_-m)>0)for(o=n.y0-=e,n.y1-=e,r=c-2;r>=0;--r)n=t[r],(e=n.y1+_-o)>0&&(n.y0-=e,n.y1-=e),o=n.y0})}var e=Object(b.b)().key(function(t){return t.x0}).sortKeys(v.ascending).entries(t.nodes).map(function(t){return t.values});(function(){var n=Object(v.min)(e,function(t){return(m-O-(t.length-1)*_)/Object(v.sum)(t,c)});e.forEach(function(t){t.forEach(function(t,e){t.y1=(t.y0=e)+t.value*n})}),t.links.forEach(function(t){t.width=t.value*n})})(),n();for(var r=1,o=T;o>0;--o)!function(t){e.slice().reverse().forEach(function(n){n.forEach(function(n){if(n.sourceLinks.length){var e=(Object(v.sum)(n.sourceLinks,f)/Object(v.sum)(n.sourceLinks,c)-u(n))*t;n.y0+=e,n.y1+=e}})})}(r*=.99),n(),function(t){e.forEach(function(n){n.forEach(function(n){if(n.targetLinks.length){var e=(Object(v.sum)(n.targetLinks,a)/Object(v.sum)(n.targetLinks,c)-u(n))*t;n.y0+=e,n.y1+=e}})})}(r),n()}(t),n(t),t}function n(t){t.nodes.forEach(function(t){t.sourceLinks.sort(o),t.targetLinks.sort(r)}),t.nodes.forEach(function(t){var n=t.y0,e=n;t.sourceLinks.forEach(function(t){t.y0=n+t.width/2,n+=t.width}),t.targetLinks.forEach(function(t){t.y1=e+t.width/2,e+=t.width})})}var e=0,O=0,y=1,m=1,x=24,_=8,w=s,E=g.b,M=l,S=h,T=32;return t.update=function(t){return n(t),t},t.nodeId=function(n){return arguments.length?(w="function"==typeof n?n:Object(d.a)(n),t):w},t.nodeAlign=function(n){return arguments.length?(E="function"==typeof n?n:Object(d.a)(n),t):E},t.nodeWidth=function(n){return arguments.length?(x=+n,t):x},t.nodePadding=function(n){return arguments.length?(_=+n,t):_},t.nodes=function(n){return arguments.length?(M="function"==typeof n?n:Object(d.a)(n),t):M},t.links=function(n){return arguments.length?(S="function"==typeof n?n:Object(d.a)(n),t):S},t.size=function(n){return arguments.length?(e=O=0,y=+n[0],m=+n[1],t):[y-e,m-O]},t.extent=function(n){return arguments.length?(e=+n[0][0],y=+n[1][0],O=+n[0][1],m=+n[1][1],t):[[e,O],[y,m]]},t.iterations=function(n){return arguments.length?(T=+n,t):T},t}},function(t,n,e){"use strict";var r=e(672);e.d(n,"b",function(){return r.a});e(673);var o=e(130);e.d(n,"a",function(){return o.a});e(674),e(675),e(676)},function(t,n,e){"use strict";function r(){return{}}function o(t,n,e){t[n]=e}function i(){return Object(u.a)()}function c(t,n,e){t.set(n,e)}var u=e(130);n.a=function(){function t(n,r,o,i){if(r>=s.length)return null!=e&&n.sort(e),null!=a?a(n):n;for(var c,f,l,h=-1,p=n.length,v=s[r++],b=Object(u.a)(),g=o();++hs.length)return t;var r,o=l[e-1];return null!=a&&e>=s.length?r=t.entries():(r=[],t.each(function(t,o){r.push({key:o,values:n(t,e)})})),null!=o?r.sort(function(t,n){return o(t.key,n.key)}):r}var e,a,f,s=[],l=[];return f={object:function(n){return t(n,0,r,o)},map:function(n){return t(n,0,i,c)},entries:function(e){return n(t(e,0,i,c),0)},key:function(t){return s.push(t),f},sortKeys:function(t){return l[s.length-1]=t,f},sortValues:function(t){return e=t,f},rollup:function(t){return a=t,f}}}},function(t,n,e){"use strict";function r(){}function o(t,n){var e=new r;if(t instanceof r)t.each(function(t){e.add(t)});else if(t){var o=-1,i=t.length;if(null==n)for(;++ot?1:n>=t?0:NaN}},function(t,n,e){"use strict";n.a=function(t){return t}},function(t,n,e){"use strict";e(257),e(256),e(258)},function(t,n,e){"use strict";function r(t){return t.source}function o(t){return t.target}function i(t){function n(){var n,r=a.a.call(arguments),o=e.apply(this,r),f=i.apply(this,r);if(h||(h=n=Object(u.path)()),t(h,+c.apply(this,(r[0]=o,r)),+l.apply(this,r),+c.apply(this,(r[0]=f,r)),+l.apply(this,r)),n)return h=null,n+""||null}var e=r,i=o,c=s.a,l=s.b,h=null;return n.source=function(t){return arguments.length?(e=t,n):e},n.target=function(t){return arguments.length?(i=t,n):i},n.x=function(t){return arguments.length?(c="function"==typeof t?t:Object(f.a)(+t),n):c},n.y=function(t){return arguments.length?(l="function"==typeof t?t:Object(f.a)(+t),n):l},n.context=function(t){return arguments.length?(h=null==t?null:t,n):h},n}function c(t,n,e,r,o){t.moveTo(n,e),t.bezierCurveTo(n=(n+r)/2,e,n,o,r,o)}n.a=function(){return i(c)};var u=e(30),a=e(260),f=e(31),s=e(132);e(259)},function(t,n,e){"use strict";e(30);var r=e(261),o=e(262),i=e(263),c=e(264),u=e(265),a=e(266),f=e(267);e(31),r.a,o.a,i.a,u.a,c.a,a.a,f.a},function(t,n,e){"use strict";function r(t){this._context=t}var o=e(76),i=e(77);r.prototype={areaStart:o.a,areaEnd:o.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._x2=t,this._y2=n;break;case 1:this._point=2,this._x3=t,this._y3=n;break;case 2:this._point=3,this._x4=t,this._y4=n,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+n)/6);break;default:Object(i.b)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}}},function(t,n,e){"use strict";function r(t){this._context=t}var o=e(77);r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var e=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+n)/6;this._line?this._context.lineTo(e,r):this._context.moveTo(e,r);break;case 3:this._point=4;default:Object(o.b)(this,t,n)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n}}},function(t,n,e){"use strict";function r(t,n){this._basis=new o.a(t),this._beta=n}var o=e(77);r.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,n=this._y,e=t.length-1;if(e>0)for(var r,o=t[0],i=n[0],c=t[e]-o,u=n[e]-i,a=-1;++a<=e;)r=a/e,this._basis.point(this._beta*t[a]+(1-this._beta)*(o+r*c),this._beta*n[a]+(1-this._beta)*(i+r*u));this._x=this._y=null,this._basis.lineEnd()},point:function(t,n){this._x.push(+t),this._y.push(+n)}};(function t(n){function e(t){return 1===n?new o.a(t):new r(t,n)}return e.beta=function(n){return t(+n)},e})(.85)},function(t,n,e){"use strict";function r(t,n){this._context=t,this._alpha=n}var o=e(268),i=e(76),c=e(133);r.prototype={areaStart:i.a,areaEnd:i.a,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=n;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=n);break;case 2:this._point=3,this._x5=t,this._y5=n;break;default:Object(c.a)(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};(function t(n){function e(t){return n?new r(t,n):new o.a(t,0)}return e.alpha=function(n){return t(+n)},e})(.5)},function(t,n,e){"use strict";function r(t,n){this._context=t,this._alpha=n}var o=e(269),i=e(133);r.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,n){if(t=+t,n=+n,this._point){var e=this._x2-t,r=this._y2-n;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(e*e+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Object(i.a)(this,t,n)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=n}};(function t(n){function e(t){return n?new r(t,n):new o.a(t,0)}return e.alpha=function(n){return t(+n)},e})(.5)},function(t,n,e){"use strict";function r(t){this._context=t}var o=e(76);r.prototype={areaStart:o.a,areaEnd:o.a,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,n){t=+t,n=+n,this._point?this._context.lineTo(t,n):(this._point=1,this._context.moveTo(t,n))}}},function(t,n,e){"use strict";function r(t){return t<0?-1:1}function o(t,n,e){var o=t._x1-t._x0,i=n-t._x1,c=(t._y1-t._y0)/(o||i<0&&-0),u=(e-t._y1)/(i||o<0&&-0),a=(c*i+u*o)/(o+i);return(r(c)+r(u))*Math.min(Math.abs(c),Math.abs(u),.5*Math.abs(a))||0}function i(t,n){var e=t._x1-t._x0;return e?(3*(t._y1-t._y0)/e-n)/2:n}function c(t,n,e){var r=t._x0,o=t._y0,i=t._x1,c=t._y1,u=(i-r)/3;t._context.bezierCurveTo(r+u,o+u*n,i-u,c-u*e,i,c)}function u(t){this._context=t}function a(t){this._context=new f(t)}function f(t){this._context=t}u.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:c(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,n){var e=NaN;if(t=+t,n=+n,t!==this._x1||n!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;break;case 2:this._point=3,c(this,i(this,e=o(this,t,n)),e);break;default:c(this,this._t0,e=o(this,t,n))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=n,this._t0=e}}},(a.prototype=Object.create(u.prototype)).point=function(t,n){u.prototype.point.call(this,n,t)},f.prototype={moveTo:function(t,n){this._context.moveTo(n,t)},closePath:function(){this._context.closePath()},lineTo:function(t,n){this._context.lineTo(n,t)},bezierCurveTo:function(t,n,e,r,o,i){this._context.bezierCurveTo(n,t,r,e,i,o)}}},function(t,n,e){"use strict";function r(t){this._context=t}function o(t){var n,e,r=t.length-1,o=new Array(r),i=new Array(r),c=new Array(r);for(o[0]=0,i[0]=2,c[0]=t[0]+2*t[1],n=1;n=0;--n)o[n]=(c[n]-o[n+1])/i[n];for(i[r-1]=(t[r]+o[r-1])/2,n=0;n=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,n){switch(t=+t,n=+n,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,n):this._context.moveTo(t,n);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,n),this._context.lineTo(t,n);else{var e=this._x*(1-this._t)+t*this._t;this._context.lineTo(e,this._y),this._context.lineTo(e,n)}}this._x=t,this._y=n}}},function(t,n,e){"use strict";e(260),e(31),e(54),e(55)},function(t,n,e){"use strict";e(54)},function(t,n,e){"use strict"},function(t,n,e){"use strict";e(54)},function(t,n,e){"use strict";e(54)},function(t,n,e){"use strict";e(134)},function(t,n,e){"use strict";e(55),e(134)},function(t,n,e){"use strict";e(55)},function(t,n,e){function r(t,n){var e=(n=o({},f,n)).as;if(!c(e)||2!==e.length)throw new TypeError("Invalid as: must be an array with two strings!");var r=e[0],u=e[1],s=a(n);if(!c(s)&&2!==s.length)throw new TypeError("Invalid fields: must be an array with two strings!");var l=s[0],h=s[1],p=t.rows,v=p.map(function(t){return[t[l],t[h]]}),b=i.voronoi();n.extend&&b.extent(n.extend),n.size&&b.size(n.size);var g=b(v).polygons();p.forEach(function(t,n){var e=g[n].filter(function(t){return!!t});t[r]=e.map(function(t){return t[0]}),t[u]=e.map(function(t){return t[1]})})}var o=e(5),i=e(705),c=e(3),u=e(2).registerTransform,a=e(7).getFields,f={as:["_x","_y"]};u("diagram.voronoi",r),u("voronoi",r)},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(706);e.d(n,"voronoi",function(){return r.a})},function(t,n,e){"use strict";var r=e(707),o=e(708),i=e(56);n.a=function(){function t(t){return new i.d(t.map(function(r,o){var c=[Math.round(n(r,o,t)/i.f)*i.f,Math.round(e(r,o,t)/i.f)*i.f];return c.index=o,c.data=r,c}),c)}var n=o.a,e=o.b,c=null;return t.polygons=function(n){return t(n).polygons()},t.links=function(n){return t(n).links()},t.triangles=function(n){return t(n).triangles()},t.x=function(e){return arguments.length?(n="function"==typeof e?e:Object(r.a)(+e),t):n},t.y=function(n){return arguments.length?(e="function"==typeof n?n:Object(r.a)(+n),t):e},t.extent=function(n){return arguments.length?(c=null==n?null:[[+n[0][0],+n[0][1]],[+n[1][0],+n[1][1]]],t):c&&[[c[0][0],c[0][1]],[c[1][0],c[1][1]]]},t.size=function(n){return arguments.length?(c=null==n?null:[[0,0],[+n[0],+n[1]]],t):c&&[c[1][0]-c[0][0],c[1][1]-c[0][1]]},t}},function(t,n,e){"use strict";n.a=function(t){return function(){return t}}},function(t,n,e){"use strict";n.a=function(t){return t[0]},n.b=function(t){return t[1]}},function(t,n,e){"use strict";function r(t){var n=l.pop()||new function(){Object(c.a)(this),this.edge=this.site=this.circle=null};return n.site=t,n}function o(t){Object(a.b)(t),s.a.remove(t),l.push(t),Object(c.a)(t)}function i(t,n){var e=t.site,r=e[0],o=e[1],i=o-n;if(!i)return r;var c=t.P;if(!c)return-1/0;var u=(e=c.site)[0],a=e[1],f=a-n;if(!f)return u;var s=u-r,l=1/i-1/f,h=s/f;return l?(-h+Math.sqrt(h*h-2*l*(s*s/(-2*f)-a+f/2+o-i/2)))/l+r:(r+u)/2}n.b=function(t){var n=t.circle,e=n.x,r=n.cy,i=[e,r],c=t.P,u=t.N,l=[t];o(t);for(var h=c;h.circle&&Math.abs(e-h.circle.x)s.f)p=p.L;else{if(!((c=l-function(t,n){var e=t.N;if(e)return i(e,n);var r=t.site;return r[1]===n?r[0]:1/0}(p,h))>s.f)){o>-s.f?(n=p.P,e=p):c>-s.f?(n=p,e=p.N):n=e=p;break}if(!p.R){n=p;break}p=p.R}Object(u.c)(t);var v=r(t);if(s.a.insert(n,v),n||e){if(n===e)return Object(a.b)(n),e=r(n.site),s.a.insert(v,e),v.edge=e.edge=Object(f.c)(n.site,v.site),Object(a.a)(n),void Object(a.a)(e);if(e){Object(a.b)(n),Object(a.b)(e);var b=n.site,g=b[0],d=b[1],j=t[0]-g,O=t[1]-d,y=e.site,m=y[0]-g,x=y[1]-d,_=2*(j*x-O*m),w=j*j+O*O,E=m*m+x*x,M=[(x*w-O*E)/_+g,(j*E-m*w)/_+d];Object(f.d)(e.edge,b,y,M),v.edge=Object(f.c)(b,t,null,M),e.edge=Object(f.c)(t,y,null,M),Object(a.a)(n),Object(a.a)(e)}else v.edge=Object(f.c)(n.site,v.site)}};var c=e(135),u=e(270),a=e(271),f=e(136),s=e(56),l=[]},function(t,n,e){function r(t,n){if(t.dataType!==a)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var e=t.root,r=(n=o({},l,n)).as;if(!c(r)||2!==r.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var u=void 0;try{u=s(n)}catch(t){console.warn(t)}u&&e.sum(function(t){return t[u]});var f=i.cluster();f.size(n.size),n.nodeSize&&f.nodeSize(n.nodeSize),n.separation&&f.separation(n.separation),f(e);var h=r[0],p=r[1];e.each(function(t){t[h]=t.x,t[p]=t.y})}var o=e(5),i=e(36),c=e(3),u=e(2),a=u.HIERARCHY,f=u.registerTransform,s=e(7).getField,l={field:"value",size:[1,1],nodeSize:null,separation:null,as:["x","y"]};f("hierarchy.cluster",r),f("dendrogram",r)},function(t,n,e){function r(t,n){if(t.dataType!==a)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var e=t.root,r=(n=o({},l,n)).as;if(!c(r)||3!==r.length)throw new TypeError('Invalid as: it must be an array with 3 strings (e.g. [ "x", "y", "r" ])!');var u=void 0;try{u=s(n)}catch(t){console.warn(t)}u&&e.sum(function(t){return t[u]}).sort(function(t,n){return n[u]-t[u]});var f=i.pack();f.size(n.size),n.padding&&f.padding(n.padding),f(e);var h=r[0],p=r[1],v=r[2];e.each(function(t){t[h]=t.x,t[p]=t.y,t[v]=t.r})}var o=e(5),i=e(36),c=e(3),u=e(2),a=u.HIERARCHY,f=u.registerTransform,s=e(7).getField,l={field:"value",size:[1,1],padding:0,as:["x","y","r"]};f("hierarchy.pack",r),f("hierarchy.circle-packing",r),f("circle-packing",r)},function(t,n,e){function r(t,n){if(t.dataType!==a)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var e=t.root,r=(n=o({},l,n)).as;if(!c(r)||2!==r.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var u=void 0;try{u=s(n)}catch(t){console.warn(t)}u&&e.sum(function(t){return t[u]});var f=i.partition();f.size(n.size).round(n.round).padding(n.padding),f(e);var h=r[0],p=r[1];e.each(function(t){t[h]=[t.x0,t.x1,t.x1,t.x0],t[p]=[t.y1,t.y1,t.y0,t.y0],["x0","x1","y0","y1"].forEach(function(n){-1===r.indexOf(n)&&delete t[n]})})}var o=e(5),i=e(36),c=e(3),u=e(2),a=u.HIERARCHY,f=u.registerTransform,s=e(7).getField,l={field:"value",size:[1,1],round:!1,padding:0,sort:!0,as:["x","y"]};f("hierarchy.partition",r),f("adjacency",r)},function(t,n,e){function r(t,n){if(t.dataType!==a)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var e=t.root,r=(n=o({},l,n)).as;if(!c(r)||2!==r.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var u=void 0;try{u=s(n)}catch(t){console.warn(t)}u&&e.sum(function(t){return t[u]});var f=i.tree();f.size(n.size),n.nodeSize&&f.nodeSize(n.nodeSize),n.separation&&f.separation(n.separation),f(e);var h=r[0],p=r[1];e.each(function(t){t[h]=t.x,t[p]=t.y})}var o=e(5),i=e(36),c=e(3),u=e(2),a=u.HIERARCHY,f=u.registerTransform,s=e(7).getField,l={field:"value",size:[1,1],nodeSize:null,separation:null,as:["x","y"]};f("hierarchy.tree",r),f("tree",r)},function(t,n,e){function r(t,n){if(t.dataType!==a)throw new TypeError("Invalid DataView: This transform is for Hierarchy data only!");var e=t.root,r=(n=o({},l,n)).as;if(!c(r)||2!==r.length)throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ "x", "y" ])!');var u=void 0;try{u=s(n)}catch(t){console.warn(t)}u&&e.sum(function(t){return t[u]});var f=i.treemap();f.tile(i[n.tile]).size(n.size).round(n.round).padding(n.padding).paddingInner(n.paddingInner).paddingOuter(n.paddingOuter).paddingTop(n.paddingTop).paddingRight(n.paddingRight).paddingBottom(n.paddingBottom).paddingLeft(n.paddingLeft),f(e);var h=r[0],p=r[1];e.each(function(t){t[h]=[t.x0,t.x1,t.x1,t.x0],t[p]=[t.y1,t.y1,t.y0,t.y0],["x0","x1","y0","y1"].forEach(function(n){-1===r.indexOf(n)&&delete t[n]})})}var o=e(5),i=e(36),c=e(3),u=e(2),a=u.HIERARCHY,f=u.registerTransform,s=e(7).getField,l={field:"value",tile:"treemapSquarify",size:[1,1],round:!1,padding:0,paddingInner:0,paddingOuter:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,as:["x","y"]};f("hierarchy.treemap",r),f("treemap",r)},function(t,n,e){function r(t,n){n=o({},f,n);var e=u();["font","fontSize","padding","rotate","size","spiral","timeInterval"].forEach(function(t){n[t]&&e[t](n[t])});var r=a(n),c=r[0],s=r[1];if(!i(c)||!i(s))throw new TypeError('Invalid fields: must be an array with 2 strings (e.g. [ "text", "value" ])!');var l=t.rows.map(function(t){return t.text=t[c],t.value=t[s],t});e.words(l),n.imageMask&&e.createMask(n.imageMask);var h=e.start(),p=h._tags,v=h._bounds;p.forEach(function(t){t.x+=n.size[0]/2,t.y+=n.size[1]/2});var b=n.size,g=b[0],d=b[1],j=h.hasImage;p.push({text:"",value:0,x:j?0:v[0].x,y:j?0:v[0].y,opacity:0}),p.push({text:"",value:0,x:j?g:v[1].x,y:j?d:v[1].y,opacity:0}),t.rows=p,t._tagCloud=h}var o=e(5),i=e(8),c=e(2).registerTransform,u=e(716),a=e(7).getFields,f={fields:["text","value"],font:function(){return"serif"},padding:1,size:[500,500],spiral:"archimedean",timeInterval:500};c("tag-cloud",r),c("word-cloud",r)},function(t,n){function e(t){return t.text}function r(){return"serif"}function o(){return"normal"}function i(t){return t.value}function c(){return 90*~~(2*Math.random())}function u(){return 1}function a(t,n,e,r){if(!n.sprite){var o=t.context,i=t.ratio;o.clearRect(0,0,(d<<5)/i,j/i);var c=0,u=0,a=0,f=e.length;for(--r;++r>5<<5,l=~~Math.max(Math.abs(b+O),Math.abs(b-O))}else s=s+31>>5<<5;if(l>a&&(a=l),c+s>=d<<5&&(c=0,u+=a,a=0),u+l>=j)break;o.translate((c+(s>>1))/i,(u+(l>>1))/i),n.rotate&&o.rotate(n.rotate*g),o.fillText(n.text,0,0),n.padding&&(o.lineWidth=2*n.padding,o.strokeText(n.text,0,0)),o.restore(),n.width=s,n.height=l,n.xoff=c,n.yoff=u,n.x1=s>>1,n.y1=l>>1,n.x0=-n.x1,n.y0=-n.y1,n.hasText=!0,c+=s}for(var m=o.getImageData(0,0,(d<<5)/i,j/i).data,x=[];--r>=0;)if((n=e[r]).hasText){for(var _=n.width,w=_>>5,E=n.y1-n.y0,M=0;M>5),A=m[(u+k)*(d<<5)+(c+P)<<2]?1<<31-P%32:0;x[C]|=A,S|=A}S?T=k:(n.y0++,E--,k--,u++)}n.y1=n.y0+T,n.sprite=x.slice(0,(n.y1-n.y0)*w)}}}function f(t,n,e){e>>=5;for(var r=t.sprite,o=t.width>>5,i=t.x-(o<<4),c=127&i,u=32-c,a=t.y1-t.y0,f=(t.y+t.y0)*e+(i>>5),s=void 0,l=0;l>>c:0))&n[f+h])return!0;f+=e}return!1}function s(t,n){var e=t[0],r=t[1];n.x+n.x0r.x&&(r.x=n.x+n.x1),n.y+n.y1>r.y&&(r.y=n.y+n.y1)}function l(t,n){return t.x+t.x1>n[0].x&&t.x+t.x0n[0].y&&t.y+t.y0>2);t.width=(d<<5)/n,t.height=j/n;var e=t.getContext("2d");return e.fillStyle=e.strokeStyle="red",e.textAlign="center",{context:e,ratio:n}}(k()),c=P.board?P.board:p((t[0]>>5)*t[1]),u=M.length,h=[],v=M.map(function(t,e){return t.text=n.call(this,t,e),t.font=g.call(this,t,e),t.style=m.call(this,t,e),t.weight=x.call(this,t,e),t.rotate=_.call(this,t,e),t.size=~~y.call(this,t,e),t.padding=w.call(this,t,e),t}).sort(function(t,n){return n.size-t.size}),b=-1,O=P.board?[{x:0,y:0},{x:r,y:o}]:null;return function(){for(var n=Date.now();Date.now()-n>1,e.y=o*(T()+.5)>>1,a(i,e,v,b),e.hasText&&function(n,e,r){for(var o=e.x,i=e.y,c=Math.sqrt(t[0]*t[0]+t[1]*t[1]),u=E(t),a=T()<.5?1:-1,s=void 0,h=-a,p=void 0,v=void 0;(s=u(h+=a))&&(p=~~s[0],v=~~s[1],!(Math.min(Math.abs(p),Math.abs(v))>=c));)if(e.x=o+p,e.y=i+v,!(e.x+e.x0<0||e.y+e.y0<0||e.x+e.x1>t[0]||e.y+e.y1>t[1])&&(!r||!f(e,n,t[0]))&&(!r||l(e,r))){for(var b=e.sprite,g=e.width>>5,d=t[0]>>5,j=e.x-(g<<4),O=127&j,y=32-O,m=e.y1-e.y0,x=void 0,_=(e.y+e.y0)*d+(j>>5),w=0;w>>O:0);_+=d}return delete e.sprite,!0}return!1}(c,e,O)&&(h.push(e),O?P.hasImage||s(O,e):O=[{x:e.x+e.x0,y:e.y+e.y0},{x:e.x+e.x1,y:e.y+e.y1}],e.x-=t[0]>>1,e.y-=t[1]>>1)}P._tags=h,P._bounds=O}(),P},P.createMask=function(n){var e=document.createElement("canvas"),r=t,o=r[0],i=r[1],c=o>>5,u=p((o>>5)*i);e.width=o,e.height=i;var a=e.getContext("2d");a.drawImage(n,0,0,n.width,n.height,0,0,o,i);for(var f=a.getImageData(0,0,o,i).data,s=0;s>5),v=s*o+l<<2,b=f[v]>=250&&f[v+1]>=250&&f[v+2]>=250?1<<31-l%32:0;u[h]|=b}P.board=u,P.hasImage=!0},P.timeInterval=function(t){return arguments.length?(S=null==t?1/0:t,P):S},P.words=function(t){return arguments.length?(M=t,P):M},P.size=function(n){return arguments.length?(t=[+n[0],+n[1]],P):t},P.font=function(t){return arguments.length?(g=b(t),P):g},P.fontStyle=function(t){return arguments.length?(m=b(t),P):m},P.fontWeight=function(t){return arguments.length?(x=b(t),P):x},P.rotate=function(t){return arguments.length?(_=b(t),P):_},P.text=function(t){return arguments.length?(n=b(t),P):n},P.spiral=function(t){return arguments.length?(E=O[t]||t,P):E},P.fontSize=function(t){return arguments.length?(y=b(t),P):y},P.padding=function(t){return arguments.length?(w=b(t),P):w},P.random=function(t){return arguments.length?(T=t,P):T},P}},function(t,n,e){var r=e(5),o=e(718),i=e(10),c=e(9),u=e(720),a=e(48),f=e(23).sum,s=e(15),l=e(2).registerTransform,h=e(7).getFields,p={fields:["name","value"],rows:5,size:[1,1],scale:1,groupBy:[],maxCount:1e3,gapRatio:.1,as:["x","y"]};l("waffle",function(t,n){n=r({},p,n);var e=h(n),l=e[0],v=e[1],b=n.as,g=b[0],d=b[1],j=n.groupBy,O=s(t.rows,j),y=c(O),m=n.size,x=m[0],_=m[1],w=n.maxCount,E=_/y.length,M=n.rows,S=n.gapRatio,T=[],k=n.scale,P=0,C=0;i(O,function(t){var n=f(u(t,function(t){return t[v]})),e=Math.ceil(n*k/M);n*k>w&&(k=w/n,e=Math.ceil(n*k/M)),C=x/e}),i(O,function(t){var n=[P*E,(P+1)*E],e=(n[1]-n[0])*(1-S)/M,r=0,i=0;o(t,function(t){for(var o=t[v],c=Math.round(o*k),u=0;u